diff --git a/css/dist/MaterialSymbolsOutlined.ttf b/css/dist/MaterialSymbolsOutlined.ttf new file mode 100644 index 0000000000..257b9c361a Binary files /dev/null and b/css/dist/MaterialSymbolsOutlined.ttf differ diff --git a/css/dist/MaterialSymbolsRounded.ttf b/css/dist/MaterialSymbolsRounded.ttf new file mode 100644 index 0000000000..b41eb3b5fc Binary files /dev/null and b/css/dist/MaterialSymbolsRounded.ttf differ diff --git a/css/dist/index.css b/css/dist/index.css new file mode 100644 index 0000000000..04b4f6c9e2 --- /dev/null +++ b/css/dist/index.css @@ -0,0 +1,9215 @@ +/**** Colors ****/ +:root { + --haldi: #ffc208; + --haldi-dark: #b78707; + --haldi-darker: #6b4a06; + --haldi-light: #ffd462; + --haldi-lighter: #ffe597; + --haldi-lightest: #fff5c7; + --jal: #0070dd; + --jal-dark: #00509f; + --jal-darker: #003365; + --jal-light: #4f9de7; + --jal-lighter: #97c5f0; + --jal-lightest: #dcecf9; + --jamun: #7a53b2; + --jamun-dark: #644491; + --jamun-darker: #4e3572; + --jamun-light: #9d7ec6; + --jamun-lighter: #bfaada; + --jamun-lightest: #e0d8ee; + --mirch: #d93737; + --mirch-dark: #9c2828; + --mirch-darker: #631919; + --mirch-light: #eb776c; + --mirch-lighter: #f7ada5; + --mirch-lightest: #f9e2e2; + --neel: #3d51d4; + --neel-dark: #2c3a98; + --neel-darker: #1c2561; + --neel-light: #7583e1; + --neel-lighter: #abb4ed; + --neel-lightest: #e2e5f9; + --neem: #2ea843; + --neem-dark: #227934; + --neem-darker: #154d26; + --neem-light: #71c077; + --neem-lighter: #a5d8aa; + --neem-lightest: #d7efdf; + --night: #2f2f2f; + --night-light: #595959; + --night-lighter: #868686; + --night-lightest: #a6a6a6; + --nimbu: #82c91e; + --nimbu-dark: #578715; + --nimbu-darker: #304a0b; + --nimbu-light: #a6d763; + --nimbu-lighter: #c6e599; + --nimbu-lightest: #e3f3ce; + --shadow-0: #ffffff; + --shadow-10: #ffffff; + --shadow-20: #ffffff; + --shadow-30: #ffffff; + --stone: #d5d5d5; + --stone-dark: #c5c5c5; + --stone-light: #e5e5e5; + --stone-lighter: #ececec; + --stone-lightest: #f4f4f4; + --tawak: #f07d00; + --tawak-dark: #b35f13; + --tawak-darker: #743208; + --tawak-light: #feac5f; + --tawak-lighter: #ffc998; + --tawak-lightest: #fde6ce; + --white: #ffffff; + + /**** Fonts ****/ +} /* close :root */ + +:root { + /* Colors */ + + /* default */ + --primary: var(--jal); + --secondary: var(--stone); + --success: var(--neem); + --alert: var(--mirch); + --warning: var(--haldi); + --accent1: var(--tawak); + --accent2: var(--jamun); + --accent3: var(--neel); + --accent4: var(--nimbu); + --inverse: var(--night); + + /* dark */ + --primary-dark: var(--jal-dark); + --secondary-dark: var(--stone-dark); + --success-dark: var(--neem-dark); + --alert-dark: var(--mirch-dark); + --warning-dark: var(--haldi-dark); + --accent1-dark: var(--tawak-dark); + --accent2-dark: var(--jamun-dark); + --accent3-dark: var(--neel-dark); + --accent4-dark: var(--nimbu-dark); + + /* darker */ + --primary-darker: var(--jal-darker); + --success-darker: var(--neem-darker); + --alert-darker: var(--mirch-darker); + --warning-darker: var(--haldi-darker); + --accent1-darker: var(--tawak-darker); + --accent2-darker: var(--jamun-darker); + --accent3-darker: var(--neel-darker); + --accent4-darker: var(--nimbu-darker); + + /* light */ + --primary-light: var(--jal-light); + --secondary-light: var(--stone-light); + --success-light: var(--neem-light); + --alert-light: var(--mirch-light); + --warning-light: var(--haldi-light); + --accent1-light: var(--tawak-light); + --accent2-light: var(--jamun-light); + --accent3-light: var(--neel-light); + --accent4-light: var(--nimbu-light); + --inverse-light: var(--night-light); + + /* lighter */ + --primary-lighter: var(--jal-lighter); + --secondary-lighter: var(--stone-lighter); + --success-lighter: var(--neem-lighter); + --alert-lighter: var(--mirch-lighter); + --warning-lighter: var(--haldi-lighter); + --accent1-lighter: var(--tawak-lighter); + --accent2-lighter: var(--jamun-lighter); + --accent3-lighter: var(--neel-lighter); + --accent4-lighter: var(--nimbu-lighter); + --inverse-lighter: var(--night-lighter); + + /* lightest */ + --primary-lightest: var(--jal-lightest); + --secondary-lightest: var(--stone-lightest); + --success-lightest: var(--neem-lightest); + --alert-lightest: var(--mirch-lightest); + --warning-lightest: var(--haldi-lightest); + --accent1-lightest: var(--tawak-lightest); + --accent2-lightest: var(--jamun-lightest); + --accent3-lightest: var(--neel-lightest); + --accent4-lightest: var(--nimbu-lightest); + --inverse-lightest: var(--night-lightest); + + /* shadow */ + --primary-shadow: rgba(0, 112, 221, 0.16); + --secondary-shadow: rgba(213, 213, 213, 0.16); + --success-shadow: rgba(46, 168, 67, 0.16); + --alert-shadow: rgba(217, 55, 55, 0.16); + --warning-shadow: rgba(255, 194, 8, 0.16); + --accent1-shadow: rgba(240, 125, 0, 0.16); + --accent2-shadow: rgba(122, 83, 178, 0.16); + --accent3-shadow: rgba(61, 81, 212, 0.16); + --accent4-shadow: rgba(130, 201, 30, 0.16); + --inverse-shadow: rgba(47, 47, 47, 0.16); + + /* Text colors */ + --text: var(--night); + --text-subtle: var(--night-lighter); + --text-link: var(--primary); + --text-disabled: var(--inverse-lightest); + --text-destructive: var(--alert); + --text-white: var(--white); + --text-success: var(--success); + + /* spacing */ + --spacing-xs: 1px; + --spacing-s: 2px; + --spacing-m: 4px; + --spacing: 8px; + --spacing-l: 12px; + /* 8 * 2 */ + --spacing-2: 16px; + /* 8 * 3 */ + --spacing-xl: 24px; + /* 8 * 4 */ + --spacing-3: 32px; + /* 8 * 6 */ + --spacing-4: 48px; + /* 8 * 8 */ + --spacing-5: 64px; + /* 8 * 12 */ + --spacing-6: 96px; + /* 8 * 16 */ + --spacing-7: 128px; + /* 8 * 22 */ + --spacing-8: 176px; + /* 8 * 32 */ + --spacing-9: 256px; + + /* Fonts */ + --font-family: 'Nunito Sans'; + + /* Font size */ + --font-size-xxs: 4px; + --font-size-xs: 8px; + --font-size-s: 12px; + --font-size: 14px; + --font-size-m: 16px; + --font-size-l: 20px; + --font-size-xl: 28px; + --font-size-xxl: 32px; + --font-size-xxxl: 40px; + + /* Font weight */ + --font-weight-normal: 400; + --font-weight-medium: 600; + --font-weight-bold: 700; + --font-weight-bolder: 800; + + /* Line height or Font height */ + --font-height-normal: normal; + --font-height-s: 16px; + --font-height: 20px; + --font-height-m: 24px; + --font-height-l: 32px; + --font-height-xl: 40px; + --font-height-xxl: 48px; + + /* Letter spacing */ + --letter-spacing: 0.5px; + + /* body settings */ + + /* border */ + --border: var(--spacing-xs) solid var(--secondary); + --border-s: var(--spacing-s) solid var(--secondary); + + /* padding */ + + /* shadow */ + --shadow-s: 0 1px 4px 0 rgba(0, 0, 0, 0.16); + --shadow-m: 0 2px 8px 0 rgba(0, 0, 0, 0.16); + --shadow-l: 0 4px 16px 0 rgba(0, 0, 0, 0.16); + --shadow-spread: 0 0 0 3px; + + /* + Grid breakpoints + Define the minimum dimensions at which your layout will change, + adapting to different screen sizes, for use in media queries. + */ + + --grid-s-breakpoint: 576px; + --grid-m-breakpoint: 768px; + --grid-l-breakpoint: 992px; + --grid-xl-breakpoint: 1200px; + + /* + Grid columns + Set the number of columns and specify the width of the gutters. + */ + + --grid-columns: 12; + + /* Undefined colors */ + --card-subdued-bg: #fcfafa; + + /* Transparancy (Opacity) */ + --transparent-58: 0.58; + + /* Transition curve timing function */ + /* Use standard-easing when an element is visible from the beginning to the end of a motion. Ex-Expanding cards. */ + --standard-productive-curve: cubic-bezier(0.2, 0, 0.38, 0.9); + --standard-expressive-curve: cubic-bezier(0.4, 0.14, 0.3, 1); + /* Use entrance-easing when an element quickly appears and slows down to a stop. Ex-when adding elements to the view, such as a modal appearing. */ + --entrance-productive-curve: cubic-bezier(0, 0, 0.38, 0.9); + --entrance-expressive-curve: cubic-bezier(0, 0, 0.3, 1); + /* Use exit-easing when removing elements from view, such as closing a modal or toaster. */ + --exit-productive-curve: cubic-bezier(0.2, 0, 1, 0.9); + --exit-expressive-curve: cubic-bezier(0.4, 0.14, 1, 1); + + /* Transition duration */ + --duration--fast-01: 80ms; + --duration--fast-02: 120ms; + --duration--moderate-01: 160ms; + --duration--moderate-02: 240ms; + --duration--slow-01: 400ms; + --duration--slow-02: 720ms; +} + +@font-face { + font-family: 'Material Symbols Outlined'; + font-style: normal; + src: url(MaterialSymbolsOutlined.ttf); +} + +@font-face { + font-family: 'Material Symbols Rounded'; + font-style: normal; + src: url(MaterialSymbolsRounded.ttf); +} + +.material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 16px; /* preferred icon size */ + line-height: 1; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + -webkit-font-feature-settings: 'liga'; + -webkit-font-smoothing: antialiased; +} + +.material-icons-outlined { + font-family: 'Material Symbols Outlined'; + font-size: 24px; /* Preferred icon size */ +} + +.material-icons-rounded { + font-family: 'Material Symbols Rounded'; + font-size: 24px; /* Preferred icon size */ +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fade-in { + -webkit-animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve); + animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve); +} + +.fade-out { + -webkit-animation: fadeOut var(--duration--fast-02) var(--standard-expressive-curve); + animation: fadeOut var(--duration--fast-02) var(--standard-expressive-curve); +} + +.opacity-0 { + opacity: 0; +} + +.opacity-1 { + opacity: 1; +} + +@-webkit-keyframes exitLeftCurve { + from { + opacity: 1; + left: 0; + } + + to { + opacity: 0; + left: calc(-1 * var(--spacing-2)); + } +} + +@keyframes exitLeftCurve { + from { + opacity: 1; + left: 0; + } + + to { + opacity: 0; + left: calc(-1 * var(--spacing-2)); + } +} + +@-webkit-keyframes entryLeftCurve { + from { + left: var(--spacing-2); + } + + to { + left: 0; + } +} + +@keyframes entryLeftCurve { + from { + left: var(--spacing-2); + } + + to { + left: 0; + } +} + +@-webkit-keyframes exitRightCurve { + from { + opacity: 1; + left: 0; + } + + to { + opacity: 0; + left: var(--spacing-2); + } +} + +@keyframes exitRightCurve { + from { + opacity: 1; + left: 0; + } + + to { + opacity: 0; + left: var(--spacing-2); + } +} + +@-webkit-keyframes entryRightCurve { + from { + left: calc(-1 * var(--spacing-2)); + } + + to { + left: 0; + } +} + +@keyframes entryRightCurve { + from { + left: calc(-1 * var(--spacing-2)); + } + + to { + left: 0; + } +} + +.slideOut-left { + -webkit-animation: exitLeftCurve var(--duration--moderate-02) var(--exit-expressive-curve); + animation: exitLeftCurve var(--duration--moderate-02) var(--exit-expressive-curve); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} + +.slideIn-left { + -webkit-animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve), + entryLeftCurve var(--duration--moderate-02) var(--entrance-expressive-curve); + animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve), + entryLeftCurve var(--duration--moderate-02) var(--entrance-expressive-curve); +} + +.slideOut-right { + -webkit-animation: exitRightCurve var(--duration--moderate-02) var(--exit-expressive-curve); + animation: exitRightCurve var(--duration--moderate-02) var(--exit-expressive-curve); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} + +.slideIn-right { + -webkit-animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve), + entryRightCurve var(--duration--moderate-02) var(--entrance-expressive-curve); + animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve), + entryRightCurve var(--duration--moderate-02) var(--entrance-expressive-curve); +} + +.ss { + background: red; +} + +body { + font-family: var(--font-family); + color: var(--text); + line-height: var(--font-height); + margin: 0; + padding: 0; + font-size: var(--font-size); +} + +/* Text */ +.Text { + margin: 0; + line-height: var(--font-height); +} + +.Text--small { + font-size: var(--font-size-s); + line-height: var(--font-height-normal); +} + +.Text--regular { + font-size: var(--font-size); + line-height: var(--font-height); +} + +.Text--large { + font-size: var(--font-size-m); + line-height: var(--font-height-m); +} + +.Text--default { + color: var(--text); +} + +.Text--subtle { + color: var(--text-subtle); +} + +.Text--disabled { + color: var(--text-disabled); +} + +.Text--destructive { + color: var(--text-destructive); +} + +.Text--white { + color: var(--text-white); +} + +.Text--success { + color: var(--text-success); +} + +.Text--link { + color: var(--text-link); +} + +.Text--medium { + font-weight: var(--font-weight-medium); +} + +.Text--strong { + font-weight: var(--font-weight-bold); +} + +/* Heading */ +.Heading { + margin: 0; +} + +.Heading--s { + font-weight: var(--font-weight-bold); + font-size: var(--font-size-m); + line-height: var(--font-height-m); +} + +.Heading--m { + font-weight: var(--font-weight-medium); + font-size: var(--font-size-l); + line-height: var(--font-height-l); +} + +.Heading--l { + font-weight: var(--font-weight-normal); + font-size: var(--font-size-xl); + line-height: var(--font-height-xl); +} + +.Heading--xl { + font-weight: var(--font-weight-medium); + font-size: var(--font-size-xxl); + line-height: var(--font-height-xxl); +} + +.Heading--xxl { + font-weight: var(--font-weight-normal); + font-size: var(--font-size-xxxl); + line-height: var(--font-height-xxl); +} + +.Heading--default { + color: var(--text); +} + +.Heading--subtle { + color: var(--text-subtle); +} + +.Heading--disabled { + color: var(--text-disabled); +} + +.Heading--white { + color: var(--text-white); +} + +/* Label */ +.Label { + display: inline-flex; +} + +.Label--withInput { + margin-bottom: var(--spacing-m); +} + +.Label--optional { + align-items: center; +} + +.Label-text { + line-height: var(--font-height-s); + font-weight: var(--font-weight-medium); + word-break: break-all; +} + +.Label-optionalText { + line-height: var(--font-height-s); + margin-left: var(--spacing-m); +} + +.Label--disabled { + color: var(--text-disabled); +} + +.Label-requiredIndicator { + height: 6px; + width: 6px; + border-radius: 50%; + background: var(--alert); + margin-left: var(--spacing-m); + margin-bottom: 6px; + display: inline-flex; +} + +/* Caption */ +.Caption { + display: flex; + align-items: center; + box-sizing: border-box; +} + +.Caption--withInput { + margin-top: var(--spacing-m); +} + +.Caption-icon { + display: flex; + align-content: center; + margin-right: var(--spacing-m); +} + +.Caption--hidden { + display: none; +} + +/* Subheading */ +.Subheading { + margin: 0; + font-weight: var(--font-weight-bolder); + font-size: var(--spacing-l); + line-height: var(--font-height-m); + letter-spacing: var(--letter-spacing); + text-transform: uppercase; +} + +.Subheading--default { + color: var(--text); +} + +.Subheading--subtle { + color: var(--text-subtle); +} + +.Subheading--disabled { + color: var(--text-disabled); +} + +.Subheading--white { + color: var(--text-white); +} + +.PopperWrapper-trigger { + display: inline-flex; + flex-grow: 1; +} + +.Overlay-container { + display: flex; + position: relative; + flex-direction: row; + justify-content: center; + z-index: 1500; +} + +.Overlay-container--open { + -webkit-animation-timing-function: cubic-bezier(0, 0, 0.3, 1); + animation-timing-function: cubic-bezier(0, 0, 0.3, 1); +} + +.Overlay-container--close { + -webkit-animation-timing-function: cubic-bezier(0.4, 0.14, 1, 1); + animation-timing-function: cubic-bezier(0.4, 0.14, 1, 1); +} + +::-webkit-scrollbar { + width: var(--spacing-2); +} + +::-webkit-scrollbar-thumb { + border: var(--spacing-s) solid rgba(0, 0, 0, 0); + background-clip: padding-box; + border-radius: var(--spacing); + background-color: var(--secondary); +} + +.Legend { + display: flex; + flex-direction: row; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.Legend-icon { + border-radius: var(--spacing-s); + margin-right: var(--spacing); +} + +.ProgressBar { + width: 100%; + border-radius: var(--spacing-m); + background: var(--secondary-lighter); +} + +.ProgressBar-indicator { + background-color: var(--primary); + border-radius: var(--spacing-m); + transition: var(--duration--slow-01) var(--standard-expressive-curve); +} + +.ProgressBar-indicator--small { + height: var(--spacing-s); +} + +.ProgressBar-indicator--regular { + height: var(--spacing); +} + +.ActionButton { + display: flex; + flex-shrink: 0; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + color: var(--inverse-lighter); + border-radius: 50%; + padding: var(--spacing-s); +} + +.ActionButton:focus-visible, +.ActionButton:focus { + outline: var(--spacing-s) solid var(--secondary-shadow); +} + +.ActionButton:hover { + background-color: var(--secondary); +} + +.ActionButton:active { + background-color: var(--secondary-dark); +} + +.ActionCard { + cursor: pointer; + border-radius: var(--spacing-m); + width: 100%; + border: var(--spacing-xs) solid var(--secondary-dark); +} + +.ActionCard:hover { + box-shadow: var(--shadow-m); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.ActionCard:focus, +.ActionCard:focus-visible { + outline: none; + border: var(--spacing-xs) solid var(--secondary-light); + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.ActionCard:active { + box-shadow: var(--shadow-l); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.ActionCard--disabled { + pointer-events: none; + position: relative; + border: var(--spacing-xs) solid var(--secondary-lighter); +} + +.ActionCard-overlay--disabled { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 2; + opacity: 50%; + background: var(--secondary-light); +} + +/* badge */ + +.Avatar { + display: flex; + flex-grow: 0; + flex-shrink: 0; + justify-content: center; + align-items: center; + overflow: hidden; + text-transform: uppercase; + border-radius: 50%; + cursor: default; +} + +.Avatar--regular { + height: var(--spacing-3); + width: var(--spacing-3); +} + +.Avatar--tiny { + height: var(--spacing-xl); + width: var(--spacing-xl); +} + +.Avatar--disabled { + cursor: default; +} + +.Avatar--primary { + background: var(--primary); +} + +.Avatar--secondary { + background: var(--secondary-light); +} + +.Avatar--success { + background: var(--success); +} + +.Avatar--alert { + background: var(--alert); +} + +.Avatar--warning { + background: var(--warning); +} + +.Avatar--accent1 { + background: var(--accent1); +} + +.Avatar--accent2 { + background: var(--accent2); +} + +.Avatar--accent3 { + background: var(--accent3); +} + +.Avatar--accent4 { + background: var(--accent4); +} + +.Avatar-content--tiny { + line-height: var(--font-height-s) !important; + font-size: 10px !important; +} + +.Avatar-content--secondary { + color: var(--inverse) !important; +} + +.Avatar-content--success { + color: var(--success-darker) !important; +} + +.Avatar-content--warning { + color: var(--warning-darker) !important; +} + +.Avatar-content--accent1 { + color: var(--accent1-darker) !important; +} + +.Avatar-content--accent4 { + color: var(--accent4-darker) !important; +} + +.AvatarGroup-item { + border-radius: 50%; +} + +.AvatarGroup-item--regular { + margin-right: calc(var(--spacing-m) * -1); +} + +.AvatarGroup-item--tiny { + margin-right: calc(var(--spacing-s) * -1); +} + +.AvatarGroup-Popper { + max-width: var(--spacing-9); + overflow: hidden; + box-sizing: border-box; + word-break: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; +} + +.AvatarGroup-TextWrapper { + padding-right: var(--spacing); + display: flex; + flex-direction: column; + align-items: flex-end; + overflow-y: auto; +} + +.AvatarCount-wrapper { + border-radius: 50%; +} + +@-webkit-keyframes backdrop-open { + from { + opacity: 0; + } + to { + opacity: 60; + } +} + +@keyframes backdrop-open { + from { + opacity: 0; + } + to { + opacity: 60; + } +} + +@-webkit-keyframes backdrop-close { + from { + opacity: 60; + } + to { + opacity: 0; + } +} + +@keyframes backdrop-close { + from { + opacity: 60; + } + to { + opacity: 0; + } +} + +.Backdrop { + background-color: rgba(47, 47, 47, 0.6); + height: 100vh; + width: 100vw; + position: fixed; + left: 0; + top: 0; + display: none; + align-items: center; + z-index: 1000; + overflow: auto; + flex-direction: column; + justify-content: center; + touch-action: none; + visibility: hidden; +} + +.Backdrop--open { + display: flex; + visibility: visible; +} + +.Backdrop-animation--open { + -webkit-animation: backdrop-open var(--duration--fast-02) var(--entrance-expressive-curve); + animation: backdrop-open var(--duration--fast-02) var(--entrance-expressive-curve); +} + +.Backdrop-animation--close { + -webkit-animation: backdrop-close var(--duration--fast-02) var(--exit-expressive-curve); + animation: backdrop-close var(--duration--fast-02) var(--exit-expressive-curve); +} + +/* badge */ + +.Badge { + /* 160px */ + max-width: calc(var(--spacing-2) * 10); + /* truncate */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: var(--font-size-s); + line-height: var(--font-height-s); + text-transform: uppercase; + padding-right: var(--spacing-m); + padding-left: var(--spacing-m); + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + border-radius: var(--spacing-m); + display: inline-block; + box-sizing: border-box; + font-weight: var(--font-weight-bold); + cursor: default; +} + +.Badge--primary { + background: var(--primary); + color: var(--white); +} + +.Badge--secondary { + background: var(--secondary-light); + color: var(--inverse); +} + +.Badge--success { + background: var(--success); + color: var(--white); +} + +.Badge--alert { + background: var(--alert); + color: var(--white); +} + +.Badge--warning { + background: var(--warning); + color: var(--warning-darker); +} + +.Badge--accent1 { + background: var(--accent1); + color: var(--white); +} + +.Badge--accent2 { + background: var(--accent2); + color: var(--white); +} + +.Badge--accent3 { + background: var(--accent3); + color: var(--white); +} + +.Badge--accent4 { + background: var(--accent4); + color: var(--accent4-darker); +} + +.Badge--subtle-primary { + color: var(--primary-darker); + background: var(--primary-lightest); +} + +.Badge--subtle-secondary { + color: var(--text); + background: var(--secondary-light); +} + +.Badge--subtle-success { + color: var(--success-darker); + background: var(--success-lightest); +} + +.Badge--subtle-alert { + color: var(--alert-darker); + background: var(--alert-lightest); +} + +.Badge--subtle-warning { + color: var(--warning-darker); + background: var(--warning-lightest); +} + +.Badge--subtle-accent1 { + color: var(--accent1-darker); + background: var(--accent1-lightest); +} + +.Badge--subtle-accent2 { + color: var(--accent2-darker); + background: var(--accent2-lightest); +} + +.Badge--subtle-accent3 { + color: var(--accent3-darker); + background: var(--accent3-lightest); +} + +.Badge--subtle-accent4 { + color: var(--accent4-darker); + background: var(--accent4-lightest); +} + +/* breadcrumbs */ + +.Breadcrumbs { + display: flex; + align-items: center; +} + +.Breadcrumbs-item { + display: flex; + align-items: center; +} + +.Breadcrumbs-link { + /* 160px */ + max-width: calc(var(--spacing-2) * 10); + margin: var(--spacing-m) 0; +} + +.Breadcrumbs-link:active { + color: var(--inverse); +} + +.Breadcrumbs-item:first-child .Breadcrumbs-link { + margin-left: 0; +} + +.Breadcrumbs-itemSeparator { + color: var(--secondary); + font-size: var(--font-size-s); + line-height: var(--font-height-s); + width: var(--spacing-m); + margin: 0 var(--spacing-m); +} + +.Breadcrumbs-dropdown { + height: var(--font-height-m); +} + +.Breadcrumbs-Button:focus { + background: var(--secondary) !important; +} + +.Button { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + box-sizing: border-box; + position: relative; + vertical-align: middle; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 0; + border-radius: var(--spacing-m); + + padding-top: var(--spacing); + padding-bottom: var(--spacing); + + text-align: center; + font-family: var(--font-family); + font-weight: var(--font-weight-normal); + font-size: var(--font-size); + line-height: var(--font-height-s); + color: var(--text-white); + + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Button:disabled { + cursor: not-allowed; + pointer-events: none; +} + +.Button:focus { + outline: 0; +} + +.Button--iconAlign-right { + flex-direction: row-reverse; +} + +.Button--tiny { + height: var(--spacing-xl); + padding-right: var(--spacing); + padding-left: var(--spacing); + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); +} + +.Button--tinySquare { + width: var(--spacing-xl); +} + +.Button--regular { + height: var(--spacing-3); + padding-right: var(--spacing-l); + padding-left: var(--spacing-l); +} + +.Button--regularSquare { + width: var(--spacing-3); +} + +.Button--large { + height: 40px; + padding-right: var(--spacing-2); + padding-left: var(--spacing-2); + + line-height: var(--font-height-m); + font-size: var(--font-size-m); +} + +.Button--largeSquare { + width: 40px; +} + +.Button--tinySquare .Button-icon, +.Button--largeSquare .Button-icon, +.Button--tinySquare .Spinner, +.Button--largeSquare .Spinner { + padding-left: var(--spacing-s); + padding-right: var(--spacing-s); +} + +.Button--expanded { + width: 100%; +} + +.Button-icon { + line-height: inherit; + display: flex; + align-items: center; +} + +.Button-icon--left { + margin-right: var(--spacing); +} + +.Button-icon--right { + margin-left: var(--spacing); +} + +.Button--tiny .Button-icon--left { + margin-right: var(--spacing-m); +} +.Button--tiny .Button-icon--right { + margin-left: var(--spacing-m); +} + +.Button--basic { + background: var(--secondary-light); + color: var(--inverse); +} + +.Button--basic:hover { + background: var(--secondary); +} + +.Button--basic:active { + background: var(--secondary-dark); +} + +.Button--basic:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.Button--basic:disabled { + background: var(--secondary-lighter); + color: var(--inverse-lightest); +} + +.Button--primary { + background: var(--primary); +} + +.Button--primary:hover { + background: var(--primary-dark); +} + +.Button--primary:active { + background: var(--primary-darker); +} + +.Button--primary:focus { + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Button--primary:disabled { + background: var(--primary-lighter); +} + +.Button--success { + background: var(--primary); +} + +.Button--success:hover { + background: var(--primary-dark); +} + +.Button--success:active { + background: var(--primary-darker); +} + +.Button--success:focus { + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Button--success:disabled { + background: var(--primary-lighter); +} + +.Button--alert { + background: var(--alert); +} + +.Button--alert:hover { + background: var(--alert-dark); +} + +.Button--alert:active { + background: var(--alert-darker); +} + +.Button--alert:focus { + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.Button--alert:disabled { + background: var(--alert-lighter); +} + +.Button--transparent { + background: transparent; + color: var(--inverse); +} + +.Button--transparent:hover { + background: var(--secondary); +} + +.Button--transparent:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.Button--transparent:active { + background: var(--secondary-dark); +} + +.Button--transparent:focus:active { + background: var(--secondary-dark); +} + +.Button--transparent:disabled { + background: transparent; + color: var(--inverse-lightest); +} + +.Button-spinner { + display: flex; + position: absolute; + z-index: 1; +} + +.Button--tiny .Spinner--small { + height: var(--font-size-s); + width: var(--font-size-s); +} + +.Button--large .Spinner--small { + height: var(--font-size-l); + width: var(--font-size-l); +} + +.Button--selected { + background: var(--primary-lightest); + color: var(--primary-dark); +} + +.Button--selected:hover { + background: var(--primary-lighter); +} + +.Button--selected:active { + background: var(--primary-lighter); + color: var(--primary-darker); +} + +.Button--selected:focus { + background: var(--primary-lightest); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Button--selected:focus:active { + background: var(--primary-lighter); +} + +.Button--selected:disabled { + background: var(--primary-lightest); + color: var(--primary-lighter); +} + +.Button-text--hidden { + visibility: hidden; +} + +.Button-text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +/* calendar */ + +.Calendar-wrapper { + display: flex; + flex-wrap: wrap; +} + +.Calendar { + display: flex; + flex-direction: column; + box-sizing: border-box; +} + +.Calendar--small { + padding: var(--spacing-l); + padding-bottom: var(--spacing); + width: 212px; +} + +.Calendar-date--small { + height: 248px; +} + +.Calendar-month--small { + height: 200px; +} + +.Calendar-year--small { + height: 200px; +} + +.Calendar--large { + padding-top: var(--spacing-2); + padding-left: var(--spacing-2); + padding-right: var(--spacing-2); + padding-bottom: var(--spacing-l); + width: 316px; +} + +.Calendar-date--large { + height: 324px; +} + +.Calendar-month--large { + height: 276px; +} + +.Calendar-year--large { + height: 272px; +} + +.Calendar-header--large { + position: relative; + display: flex; + justify-content: center; + align-items: center; + padding-bottom: var(--spacing-l); +} + +.Calendar-header--small { + position: relative; + display: flex; + justify-content: center; + align-items: center; + padding-bottom: var(--spacing); +} + +.Calendar-headerIcon { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.Calendar-headerIcon--prev { + left: 0; +} + +.Calendar-headerIcon--next { + right: 0; +} + +.Calendar-headerContent { + display: flex; + white-space: nowrap; + cursor: pointer; + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.Calendar-body { + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: space-between; +} + +.Calendar-valueRow { + display: flex; + justify-content: space-between; + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); +} + +.Calendar-valueWrapper { + display: inline-flex; + flex: 1 0 0; + justify-content: center; + position: relative; +} + +.Calendar-valueWrapper--inRange { + background: var(--primary-lightest); +} + +.Calendar-valueWrapper--inRange .Calendar-inRangeValue:hover { + background: var(--primary-lighter); +} + +.Calendar-valueWrapper--inRange .Calendar-inRangeValue:active { + background: var(--primary-light); +} + +.Calendar-valueWrapper--inRangeError { + background: var(--alert-lightest); +} + +.Calendar-valueWrapper--start { + background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%); + border-radius: var(--spacing-m) 0 0 var(--spacing-m); +} + +.Calendar-valueWrapper--startError { + background: linear-gradient(90deg, white 50%, var(--alert-lightest) 50%); +} + +.Calendar-valueWrapper--end { + background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%); + border-radius: 0 var(--spacing-m) var(--spacing-m) 0; +} + +.Calendar-valueWrapper--hoverDate { + background: linear-gradient(90deg, var(--primary-lightest) 10%, white 50%); + border-radius: 0 var(--spacing-m) var(--spacing-m) 0; +} + +.Calendar-valueWrapper--endError { + background: linear-gradient(90deg, var(--alert-lightest) 50%, white 50%); +} + +.Calendar-valueWrapper--startEnd { + background: transparent; +} + +.Calendar-value { + display: inline-flex; + align-items: center; + justify-content: center; + text-align: center; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border-radius: var(--spacing-m); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Calendar-value:hover { + background: var(--secondary-light); +} + +.Calendar-value:active { + background: var(--secondary); +} + +.Calendar-value:active .Calendar-value--currDate { + color: var(--primary-dark); +} + +.Calendar-value--start:hover, +.Calendar-value--end:hover { + background: var(--primary-lightest); +} + +.Calendar-value--startError:hover, +.Calendar-value--endError:hover { + background: var(--alert-lightest); +} + +.Calendar-value--start, +.Calendar-value--end { + background: var(--primary-lightest); +} + +.Calendar-value--startError, +.Calendar-value--endError { + background: var(--alert-lightest); +} + +.Calendar-value--currDateMonthYear { + background: var(--primary-lightest); +} + +.Calendar-value--currDateMonthYear:hover { + background: var(--primary-lighter); +} + +.Calendar-value--currDateMonthYear:active { + background: var(--primary-lighter); +} + +.Calendar-value--currDate:active { + color: var(--primary-dark); +} + +.Calendar-value--active { + background: var(--primary); + font-weight: var(--font-weight-bold); +} + +.Calendar-value--active:hover { + background: var(--primary-dark); +} + +.Calendar-value--active:active { + background: var(--primary-darker); +} + +.Calendar-yearValue--small, +.Calendar-monthValue--small { + height: var(--spacing-xl); + width: var(--spacing-4); +} + +.Calendar-yearValue--large, +.Calendar-monthValue--large { + height: var(--spacing-3); + width: var(--spacing-5); +} + +.Calendar-dateValue--small { + height: var(--spacing-xl); + width: var(--spacing-xl); +} + +.Calendar-dateValue--large { + height: var(--spacing-3); + width: var(--spacing-3); +} + +.Calendar-valueWrapper--dummy { + opacity: var(--transparent-58); +} + +.Calendar-value--disabled { + pointer-events: none; +} + +.Calendar-dayValues { + display: flex; + justify-content: center; + padding-top: var(--spacing); + padding-bottom: var(--spacing); +} + +.Calendar-dateValues { + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: space-around; +} + +.Calendar-dayValues .Calendar-value { + padding: 0; +} + +.Calendar-eventsIndicator { + position: absolute; + bottom: var(--spacing-s); + width: var(--spacing-m); + height: var(--spacing-m); + background-color: var(--alert); + border-radius: 50%; +} +.Calendar-eventsIndicator--small { + width: 3px; + height: 3px; +} +.Calendar-eventsIndicator--active { + background-color: var(--white); +} + +.Calendar-valueWrapper--inStartRange { + background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%); +} + +.Calendar-valueWrapper--inEndRange { + background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%); +} + +.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue { + background: var(--primary-lightest); +} + +.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:hover { + background: var(--primary-lighter); +} + +.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:active { + background: var(--primary-light); +} + +/* badge */ + +.Card { + border-radius: var(--spacing-m); + border: var(--spacing-xs) solid var(--secondary-light); + position: relative; + overflow: hidden; + background-color: var(--white); +} + +.Card--default, +.Card--light, +.Card--medium, +.Card--dark { + border: none; + box-shadow: var(--shadow-s); +} + +.Card--shadow10 { + border: none; + box-shadow: var(--shadow-s); +} + +.Card--shadow20 { + border: none; + box-shadow: var(--shadow-m); +} + +.Card--shadow30 { + border: none; + box-shadow: var(--shadow-l); +} + +.Card-header { + padding: var(--spacing-2) var(--spacing-2) var(--spacing-l) var(--spacing-2); +} + +.Card-body { + padding-left: var(--spacing-2); + padding-right: var(--spacing-2); +} + +.Card-footer { + display: flex; + align-items: center; + box-sizing: border-box; + position: absolute; + bottom: 0; + width: 100%; + padding: var(--spacing-2); +} + +.Card-footer--withSeperator { + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.CardSubdued { + background: var(--card-subdued-bg); + padding: var(--spacing-2); +} + +.CardSubdued--top { + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.CardSubdued--left { + border-left: var(--spacing-xs) solid var(--secondary-light); +} + +.CardSubdued--right { + border-right: var(--spacing-xs) solid var(--secondary-light); +} + +.CardSubdued--bottom { + border-bottom: var(--spacing-xs) solid var(--secondary-light); +} + +.Box { + width: 100%; + border-radius: var(--spacing); + padding: var(--spacing-l); +} + +.Box--typing { + padding-top: var(--spacing); + padding-bottom: var(--spacing); +} + +.Box--incoming { + border: var(--spacing-xs) solid var(--secondary-light); + background-color: var(--white); +} + +.Box--outgoing { + background-color: var(--secondary-lightest); +} + +.Box-incoming--withStatus { + border-bottom-left-radius: 0px; +} + +.Box-outgoing--withStatus { + border-bottom-right-radius: 0px; +} + +.Box--urgent { + border-color: var(--alert); +} + +.ChatMessage-status { + margin-top: var(--spacing-m); + display: block; +} + +.Checkbox { + display: flex; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + line-height: initial; + box-sizing: border-box; + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); +} + +.Checkbox-input { + position: absolute; + z-index: 2; + opacity: 0; + cursor: pointer; + height: 100%; + width: 100%; + margin: 0; +} + +.Checkbox-labelWrapper { + padding-left: var(--spacing); + display: flex; + flex-direction: column; + min-width: 0; +} + +.Checkbox-label { + display: flex; + cursor: pointer; +} + +.Checkbox-label--tiny { + font-weight: var(--font-weight-bold); +} + +.Checkbox-outerWrapper { + position: relative; + margin-top: var(--spacing-s); +} + +.Checkbox-outerWrapper--regular { + height: var(--spacing-2); + min-width: var(--spacing-2); +} + +.Checkbox-outerWrapper--tiny { + height: var(--spacing-l); + min-width: var(--spacing-l); +} + +/* Type: Unchecked */ + +.Checkbox-wrapper { + top: 0; + left: 0; + border-radius: var(--spacing-s); + display: flex; + align-items: center; + box-sizing: border-box; + height: 100%; + width: 100%; + justify-content: center; + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Checkbox-input:focus { + outline: 0; +} + +.Checkbox-input ~ .Checkbox-wrapper--default { + border: var(--spacing-xs) solid var(--secondary-dark); + background-color: var(--shadow-0); +} + +.Checkbox-input:focus ~ .Checkbox-wrapper--default { + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.Checkbox-input:hover ~ .Checkbox-wrapper--default { + border: var(--spacing-xs) solid var(--inverse-lightest); + background-color: var(--shadow-0); +} + +.Checkbox-input:active ~ .Checkbox-wrapper--default { + border: var(--spacing-xs) solid var(--inverse-lightest); + background-color: var(--secondary-light); +} + +.Checkbox--disabled { + pointer-events: none; +} + +.Checkbox--disabled .Checkbox-wrapper--default { + border: var(--spacing-xs) solid var(--secondary-light); + background-color: var(--secondary-lightest); +} + +/* Type: checked && Type: indeterminate */ + +.Checkbox-input--checked ~ .Checkbox-wrapper, +.Checkbox-input--indeterminate ~ .Checkbox-wrapper { + background-color: var(--primary); + border: 0; +} + +.Checkbox-input--checked:focus ~ .Checkbox-wrapper, +.Checkbox-input--indeterminate:focus ~ .Checkbox-wrapper { + box-shadow: var(--shadow-spread) var(--primary-shadow); + background-color: var(--primary); + border: 0; +} + +.Checkbox-input--checked:hover ~ .Checkbox-wrapper, +.Checkbox-input--indeterminate:hover ~ .Checkbox-wrapper { + background-color: var(--primary-dark); + border: 0; +} + +.Checkbox-input--checked:active ~ .Checkbox-wrapper, +.Checkbox-input--indeterminate:active ~ .Checkbox-wrapper { + background-color: var(--primary-darker); + border: 0; +} + +.Checkbox--disabled .Checkbox-input--checked ~ .Checkbox-wrapper, +.Checkbox--disabled .Checkbox-input--indeterminate ~ .Checkbox-wrapper { + background-color: var(--primary-lighter); + border: 0; +} + +/* Error State -> Default */ + +.Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert); +} + +.Checkbox-input:focus ~ .Checkbox-wrapper--error { + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.Checkbox-input:hover ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert-dark); +} + +.Checkbox-input:active ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert-darker); + background-color: var(--secondary-light); +} + +.Checkbox--disabled .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert-lighter); + background-color: var(--secondary-lightest); +} + +/* Error State -> Checked & Indeterminate */ + +.Checkbox-input--checked ~ .Checkbox-wrapper--error, +.Checkbox-input--indeterminate ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert); +} + +.Checkbox-input--checked:focus ~ .Checkbox-wrapper--error, +.Checkbox-input--indeterminate:focus ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Checkbox-input--checked:hover ~ .Checkbox-wrapper--error, +.Checkbox-input--indeterminate:hover ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert-dark); +} + +.Checkbox-input--checked:active ~ .Checkbox-wrapper--error, +.Checkbox-input--indeterminate:active ~ .Checkbox-wrapper--error { + background-color: var(--primary-darker); + border: var(--spacing-xs) solid var(--alert-darker); +} + +.Checkbox--disabled .Checkbox-input--checked ~ .Checkbox-wrapper--error, +.Checkbox--disabled .Checkbox-input--indeterminate ~ .Checkbox-wrapper--error { + border: var(--spacing-xs) solid var(--alert-lighter); +} + +.Chip { + display: flex; + box-sizing: border-box; + border-radius: var(--spacing-l); + padding-right: var(--spacing); + padding-left: var(--spacing); + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + justify-content: space-between; + border-style: solid; + border-width: var(--spacing-xs); + align-items: center; + flex-direction: row; + cursor: default; + height: var(--spacing-xl); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Chip-wrapper { + display: inline-flex; + align-items: center; +} + +.Chip-icon--left { + margin-right: var(--spacing-m); + display: flex; + align-items: center; +} + +.Chip-icon--right { + display: flex; + align-items: center; + border-radius: 10px; + margin-left: var(--spacing-s); +} + +.Chip--action { + background: var(--secondary-light); + border: 0px; + cursor: pointer; +} + +.Chip--action:hover { + background: var(--secondary); +} + +.Chip--action:focus-visible { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +.Chip--action:active { + background: var(--secondary-dark); +} + +.Chip-action--disabled { + background: var(--secondary-lighter); + border: 0px; + outline: none; + cursor: default; +} + +.Chip--selection { + background: var(--shadow-0); + border-color: var(--stone); + cursor: pointer; +} + +.Chip--selection:hover { + background: var(--secondary-lighter); + border-color: var(--secondary-dark); +} + +.Chip--selection:focus-visible { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +.Chip--selection:active { + background: var(--secondary-light); + border-color: var(--inverse-lightest); +} + +.Chip-selection--disabled { + background: var(--secondary-lightest); + border-color: var(--secondary-lighter); +} + +.Chip-selection--selected { + background: var(--primary-lightest); + border-color: var(--primary-lighter); +} + +.Chip-selection--selected:hover { + background: var(--primary-lighter); + border-color: var(--primary-light); +} + +.Chip-selection--selected:focus-visible { + box-shadow: var(--shadow-spread) var(--primary-shadow); + outline: none; +} + +.Chip-selection--selected:active { + background: var(--primary-lighter); + border-color: var(--primary-dark); +} + +.Chip-selection--selected:active .Chip-icon, +.Chip-selection--selected:active .Chip-text { + color: var(--primary-darker); +} + +.Chip-selection--selectedDisabled { + background: var(--primary-lightest); + border-color: var(--primary-lighter); +} + +.Chip--input { + background: var(--secondary-light); + font-weight: var(--font-weight-normal); + border: 0px; +} + +.Chip--input:hover { + background: var(--secondary); +} + +.Chip--input:focus-visible, +.Chip--input:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +.Chip--input:active { + background: var(--secondary-dark); +} + +.Chip-input--disabled { + background: var(--secondary-lighter); + border: 0px; +} + +.Chip-icon--right:focus-visible { + outline: var(--spacing-s) solid var(--secondary-shadow); +} + +.Chip-icon--right:hover { + background-color: var(--secondary); +} + +.Chip-icon--right:active { + background-color: var(--secondary-dark); +} + +.Chip-icon-disabled--right { + pointer-events: none; +} + +.Chip-icon--selected { + border-radius: 10px; +} + +.Chip-icon--selected:focus-visible { + outline: var(--spacing-s) solid var(--primary-shadow); +} + +.Chip-icon--selected:hover { + background-color: var(--primary-lighter); +} + +.Chip-icon--selected:active { + background-color: var(--primary-light); +} + +.Chip-selection--disabled:focus-visible, +.Chip-icon-disabled--right:focus-visible, +.Chip-selection--selectedDisabled:focus-visible, +.Chip-input--disabled:focus-visible { + outline: none; +} + +.Chip-icon--clear { + padding-right: var(--spacing-s); +} + +.ChipGroup { + display: inline-flex; +} + +.ChipGroup-item { + margin: 0 var(--spacing-m); +} + +.ChipGroup-item:first-child { + margin-left: 0; +} + +.ChipGroup-item:last-child { + margin-right: 0; +} + +.ChipInput { + display: flex; + border-radius: var(--spacing-m); + box-shadow: inset 0 0 0 var(--spacing-xs) var(--secondary); + padding-left: 10px; + padding-right: 10px; + background: var(--white); + cursor: text; + flex: 100%; +} + +.ChipInput:focus, +.ChipInput:focus-visible { + outline: var(--spacing-xs) var(--primary); +} + +.ChipInput:hover { + background: var(--secondary-lighter); + border-color: var(--secondary-dark); +} + +.ChipInput:focus-within { + box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary); + background: var(--white); +} + +.ChipInput--disabled { + background: var(--secondary-lightest); + border-color: var(--secondary-light); + pointer-events: none; +} + +.ChipInput--withChips { + padding-right: var(--spacing); +} + +.ChipInput--error, +.ChipInput--error:focus-within { + box-shadow: inset 0 0 0 var(--spacing-xs) var(--alert); +} + +.ChipInput-wrapper { + display: flex; + flex: 100%; + align-items: center; + flex-wrap: wrap; +} + +.ChipInput-border:focus-within { + border-radius: var(--spacing-m); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.ChipInput-border--error:focus-within { + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.ChipInput-input { + border: none; + outline: none; + display: flex; + width: 100%; + min-width: 30%; + flex: 0px; + box-sizing: border-box; + height: var(--spacing-xl); + margin-top: var(--spacing-m); + margin-bottom: var(--spacing-m); + font-family: var(--font-family); + font-size: var(--font-size); +} + +.ChipInput:hover .ChipInput-input { + background: var(--secondary-lighter); +} + +.ChipInput:focus-within .ChipInput-input { + background: var(--white); +} + +.ChipInput-icon { + height: var(--spacing-2); + padding: var(--spacing-s); + margin-left: var(--spacing); + margin-top: 6px; + cursor: pointer; + border-radius: 10px; +} + +.ChipInput-icon:hover { + background-color: var(--secondary); +} + +.ChipInput-icon:active { + background-color: var(--secondary-dark); +} + +.ChipInput-icon:focus, +.ChipInput-icon:focus-visible { + outline: var(--spacing-s) solid var(--secondary-shadow); +} + +.ChoiceList { + margin: 0; + padding: 0; + border: none; +} + +.ChoiceList-checkbox--vertical { + margin-top: var(--spacing-m); +} + +.ChoiceList-radio--vertical { + margin-top: var(--spacing-m); +} + +.ChoiceList--alignHorizontal { + display: flex; +} + +.ChoiceList-checkbox--horizontal { + margin-left: var(--spacing-xl); +} + +.ChoiceList-radio--horizontal { + margin-left: var(--spacing-xl); +} + +.Collapsible-wrapper { + position: relative; + z-index: 600; +} + +.Collapsible-wrapper--overlay { + margin-right: 40px; +} + +.Collapsible { + display: inline-flex; + flex-direction: column; + background-color: var(--secondary-lightest); + width: var(--spacing-4); + height: 100%; + transition: width 240ms; + transition-timing-function: cubic-bezier(0.4, 0.14, 0.3, 1); +} + +.Collapsible--overlay { + position: absolute; +} + +.Collapsible--shadow { + box-shadow: var(--shadow-l); + -webkit-clip-path: inset(0px -16px 0px 0px); + clip-path: inset(0px -16px 0px 0px); +} + +.Collapsible-body { + flex-grow: 1; + overflow-y: auto; + overflow-x: hidden; +} + +.Collapsible-footer { + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); + box-sizing: border-box; + cursor: pointer; + display: flex; +} + +.Collapsible-footer:hover { + background-color: var(--secondary-lighter); +} + +.Collapsible-footer:focus, +.Collapsible-footer:focus-visible { + outline: none; + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.Collapsible-footer:active { + background-color: var(--secondary-light); +} + +.Collapsible-footer--seperator { + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.DateRangePicker { + display: flex; +} + +.DateRangePicker--left { + flex-direction: row; +} + +.DateRangePicker--right { + flex-direction: row-reverse; +} + +.DateRangePicker-input { + box-sizing: border-box; +} + +.DateRangePicker-input--startDate { + padding-right: var(--spacing-m); +} + +.DateRangePicker-input--endDate { + padding-left: var(--spacing-m); +} + +@media (max-width: 576px) { + .DateRangePicker-input { + padding: 0; + } + + .DateRangePicker-input--endDate { + padding-top: var(--spacing); + } +} + +.Divider { + border: none; + margin: 0; +} + +.Divider--vertical { + width: 1px; + background: var(--secondary-light); +} + +.Divider--horizontal { + height: 1px; +} + +.Divider--basic { + background: var(--secondary-light); +} + +.Divider--header { + background: var(--secondary-dark); +} + +.Dropdown { + width: 100%; + position: relative; +} + +.Dropdown-wrapper { + margin-top: var(--spacing-m); + margin-bottom: var(--spacing-m); +} + +.Dropdown-inputWrapper { + border-bottom: var(--spacing-xs) solid var(--secondary-dark); +} + +.Dropdown-inputWrapper:focus-within { + border-bottom: var(--spacing-xs) solid var(--primary); +} + +.Dropdown-input { + min-width: unset !important; +} + +.Dropdown-input, +.Dropdown-input:focus-within { + border: unset !important; + box-shadow: none !important; +} + +.Dropdown-section { + display: flex; + justify-content: space-between; + align-items: center; + margin-left: var(--spacing-l); + margin-top: var(--spacing-l); + margin-bottom: 6px; +} + +.Dropdown-section--withClear { + margin-top: var(--spacing); + margin-bottom: var(--spacing-s); +} + +.Dropdown-buttonWrapper { + display: flex; + justify-content: flex-end; + padding-top: var(--spacing); + padding-right: var(--spacing); + padding-bottom: var(--spacing); + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.Dropdown-footer { + padding-left: var(--spacing-l); + padding-bottom: var(--spacing-m); + padding-top: var(--spacing); + box-sizing: border-box; +} + +.Option { + display: flex; + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Option, +.Option-loading { + padding-top: 6px; + padding-bottom: 6px; + padding-left: var(--spacing-l); + padding-right: var(--spacing); +} + +.Option-checkbox .Checkbox-outerWrapper { + background-color: var(--shadow-0); +} + +.Option-checkboxWrapper { + display: block; +} + +.OptionCheckbox { + width: 100%; + padding-left: var(--spacing-l); + padding-top: 6px; + padding-bottom: 6px; +} + +.Option--active, +.Option-checkbox--active { + background-color: var(--secondary-lightest); + cursor: pointer; +} + +.Option--active:hover, +.Option-checkbox--active:hover { + background-color: var(--secondary-lighter); +} + +.Option--active:active, +.Option-checkbox--active:active { + background-color: var(--secondary-light); + cursor: pointer; +} + +.Option--active { + transition: var(--standard-productive-curve); +} + +.Option-loading { + pointer-events: none; +} + +.Option--selected { + background-color: var(--primary-lightest); +} + +.Option--selected:hover { + background-color: var(--primary-lighter); +} + +.Option--selected:active { + background-color: var(--primary-lighter); + color: var(--primary-darker); +} + +.Option--selected:active .Option-text, +.Option--selected:active .Option-subInfo { + color: var(--primary-darker); +} + +.Option--disabled, +.OptionWrapper--disabled { + pointer-events: auto; + cursor: default; +} + +.Option-label { + overflow: hidden; + display: flex; + flex-direction: column; +} + +.OptionCheckbox .Checkbox-label { + padding-right: var(--spacing-l); + width: 100%; + display: flex; + overflow: hidden; +} + +.Option-text, +.OptionCheckbox .Text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.Option-text--wrap, +.Dropdown-wrapper--wrap .OptionCheckbox .Text { + white-space: unset; +} + +.Option--icon { + padding-left: var(--spacing); +} + +.Option-icon { + display: flex; +} + +.Option-icon { + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + line-height: var(--font-height); +} + +.DropdownButton { + width: 100%; + justify-content: space-between; + padding-top: unset; + padding-bottom: unset; + background: var(--secondary-light); + color: var(--text); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.DropdownButton-wrapper { + width: 100%; + display: flex; + flex-direction: row; + overflow: hidden; + align-items: center; +} + +.DropdownButton-text { + text-align: left; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.DropdownButton--tiny { + height: var(--spacing-xl); + padding-right: var(--spacing); + padding-left: var(--spacing); +} + +.DropdownButton--regular { + height: var(--spacing-3); + padding-right: var(--spacing); + padding-left: var(--spacing-l); +} + +.DropdownButton--tinySquare { + padding-left: var(--spacing-m); + padding-right: var(--spacing-m); +} + +.DropdownButton--regularSquare { + padding-left: var(--spacing); + padding-right: var(--spacing); +} + +.DropdownButton--placeholder { + color: var(--text-subtle); +} + +.DropdownButton:hover { + background: var(--secondary); + color: var(--text); +} + +.DropdownButton:focus { + background-color: var(--secondary-light); + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.DropdownButton:active, +.DropdownButton--open { + background-color: var(--secondary-dark) !important; + color: var(--text) !important; + -webkit-animation-timing-function: cubic-bezier(0, 0, 0.38, 0.9); + animation-timing-function: cubic-bezier(0, 0, 0.38, 0.9); + -webkit-animation-duration: 120ms; + animation-duration: 120ms; +} + +.DropdownButton:disabled { + background: var(--secondary-lighter); + color: var(--text-disabled); + pointer-events: none; +} + +.DropdownButton--icon { + padding-left: var(--spacing); +} + +.DropdownButton--error { + border: var(--spacing-xs) solid var(--alert); +} + +.Dropzone { + display: flex; + align-items: center; + justify-content: center; + background-color: var(--white); + border-radius: var(--spacing-m); + width: 100%; + background-image: linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%); + background-position: top, right, bottom, left; + background-repeat: repeat-x, repeat-y; + background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2); + transition: background-color var(--duration--moderate-01) var(--standard-productive-curve); + box-sizing: border-box; +} + +.Dropzone--active { + background-color: var(--primary-lightest); + background-image: linear-gradient(to right, var(--primary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--primary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(to right, var(--primary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--primary) 50%, rgba(255, 255, 255, 0) 0%); + background-position: top, right, bottom, left; + background-repeat: repeat-x, repeat-y; + background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2); + transition: background-color var(--duration--moderate-01) var(--standard-productive-curve); + box-sizing: border-box; +} + +.Dropzone-animation { + -webkit-animation-delay: var(--duration--fast-02); + animation-delay: var(--duration--fast-02); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} + +.Dropzone-animation--default { + -webkit-animation: dropzoneDefault var(--duration--moderate-01) var(--entrance-productive-curve); + animation: dropzoneDefault var(--duration--moderate-01) var(--entrance-productive-curve); +} + +.Dropzone-animation--active { + -webkit-animation: dropzoneActive var(--duration--moderate-01) var(--entrance-productive-curve); + animation: dropzoneActive var(--duration--moderate-01) var(--entrance-productive-curve); +} + +@-webkit-keyframes dropzoneDefault { + from { + opacity: 0; + padding-top: 20px; + } + + to { + opacity: 1; + padding-top: var(--spacing-l); + } +} + +@keyframes dropzoneDefault { + from { + opacity: 0; + padding-top: 20px; + } + + to { + opacity: 1; + padding-top: var(--spacing-l); + } +} + +@-webkit-keyframes dropzoneActive { + from { + opacity: 0; + padding-top: 20px; + } + + to { + opacity: 1; + padding-top: var(--spacing-l); + } +} + +@keyframes dropzoneActive { + from { + opacity: 0; + padding-top: 20px; + } + + to { + opacity: 1; + padding-top: var(--spacing-l); + } +} + +.Dropzone-standard--default { + -webkit-animation: dropzoneStandardDefault var(--duration--moderate-01) var(--entrance-productive-curve); + animation: dropzoneStandardDefault var(--duration--moderate-01) var(--entrance-productive-curve); +} + +.Dropzone-standard--active { + -webkit-animation: dropzoneStandardActive var(--duration--moderate-01) var(--entrance-productive-curve); + animation: dropzoneStandardActive var(--duration--moderate-01) var(--entrance-productive-curve); +} + +@-webkit-keyframes dropzoneStandardDefault { + from { + opacity: 0; + padding-top: var(--spacing-2); + } + + to { + opacity: 1; + padding-top: var(--spacing); + } +} + +@keyframes dropzoneStandardDefault { + from { + opacity: 0; + padding-top: var(--spacing-2); + } + + to { + opacity: 1; + padding-top: var(--spacing); + } +} + +@-webkit-keyframes dropzoneStandardActive { + from { + opacity: 0; + padding-top: var(--spacing-2); + } + + to { + opacity: 1; + padding-top: var(--spacing); + } +} + +@keyframes dropzoneStandardActive { + from { + opacity: 0; + padding-top: var(--spacing-2); + } + + to { + opacity: 1; + padding-top: var(--spacing); + } +} + +.Dropzone--error { + background: var(--alert-lightest); + background-image: linear-gradient(to right, var(--alert) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--alert) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(to right, var(--alert) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--alert) 50%, rgba(255, 255, 255, 0) 0%); + background-position: top, right, bottom, left; + background-repeat: repeat-x, repeat-y; + background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2); +} + +.Dropzone--disabled { + background-image: linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%), + linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%); + background-position: top, right, bottom, left; + background-repeat: repeat-x, repeat-y; + background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2); +} + +.Dropzone--standard { + flex-direction: column; + height: 196px; + min-width: 480px; + padding: var(--spacing) var(--spacing-xl) var(--spacing-2) var(--spacing-xl); +} + +.Dropzone--compressed { + flex-direction: row; + height: 124px; + min-width: 400px; + padding: var(--spacing-l) var(--spacing-xl) var(--spacing-2) var(--spacing-xl); +} + +.Dropzone--tight { + height: 124px; + min-width: 320px; + padding: var(--spacing-l) var(--spacing-xl) var(--spacing-2) var(--spacing-xl); +} + +.DropzoneWrapper { + display: flex; + flex-direction: column; + justify-content: center; +} + +.DropzoneWrapper--standard, +.DropzoneWrapper--tight { + align-items: center; +} + +.DropzoneWrapper--compressed { + align-items: start; +} + +.Dropzone-icon--standard { + margin-bottom: var(--spacing-l); +} + +.Dropzone-icon--compressed { + margin-right: var(--spacing-xl); +} + +.Dropzone-icon--disabled { + fill: var(--inverse-lightest); +} + +.Dropzone-icon--default { + fill: var(--inverse-lighter); +} + +.Dropzone-icon--active { + fill: var(--primary); +} + +.Dropzone-icon--error { + fill: var(--alert); +} + +.EditableChipInput { + position: relative; + width: 100%; +} +.EditableChipInput-default { + display: flex; + align-items: center; + padding-left: var(--spacing-l); + border-left: var(--spacing-xs) solid transparent; + min-height: var(--spacing-3); + flex-wrap: wrap; +} + +.EditableChipInput-defaultWithChips { + display: flex; + align-items: center; + padding-left: var(--spacing); + border: var(--spacing-xs) solid transparent; + padding-top: var(--spacing-xs); + padding-bottom: var(--spacing-xs); + max-width: calc(100% - 28px); + flex-wrap: wrap; +} + +.EditableChipInput-defaultWithChips:hover, +.EditableChipInput-default:hover { + background-color: var(--secondary-lightest); +} + +.EditableChipInput-chipInput { + padding-left: var(--spacing); +} + +.EditableChipInput-actions { + position: absolute; + display: flex; + justify-content: flex-end; + margin-top: var(--spacing-m); + width: 100%; +} + +.EditableDropdown { + width: 100%; +} + +.EditableDropdown-default { + display: flex; + align-items: center; + box-sizing: border-box; + height: var(--spacing-3); + padding-left: var(--spacing-l); +} + +.EditableInput { + position: relative; + display: inline-flex; + flex-direction: column; + width: 100%; +} + +.EditableInput-actions { + position: absolute; + display: flex; + justify-content: flex-end; + margin-top: var(--spacing-m); + width: 100%; +} + +.EditableInput-actions--regular { + top: var(--spacing-3); +} + +.EditableInput-actions--tiny { + top: var(--spacing-xl); +} + +.EditableInput-default { + border: var(--spacing-xs) solid transparent; + box-sizing: border-box; + white-space: nowrap; + padding-left: var(--spacing-l); + padding-right: var(--spacing-l); + display: flex; + align-items: center; +} + +.EditableInput-default--regular { + min-width: var(--spacing-9); + height: var(--spacing-3); +} + +.EditableInput-default--tiny { + min-width: var(--spacing-6); + height: var(--spacing-xl); +} + +.EditableInput-Input--tiny { + min-width: var(--spacing-6) !important; + width: 100%; +} + +.EmptyState { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + background: transparent; +} + +.EmptyState-title { + text-align: center; + max-width: 480px; +} + +.EmptyState-description { + text-align: center; + margin-top: var(--spacing-m); + max-width: 360px; +} + +.EmptyState-title--large { + margin-top: var(--spacing-4); +} + +.EmptyState-title--small { + margin-top: var(--spacing-xl); +} + +.EmptyState-description--large { + margin-bottom: var(--spacing-xl); +} + +.EmptyState-description--small { + margin-bottom: var(--spacing-2); +} + +.FileIcon { + padding: var(--spacing); + border-radius: 50%; +} +.FileItem:not(:last-child) { + border-bottom: var(--border); + width: 100%; + box-sizing: border-box; +} +.FileItem { + padding-top: var(--spacing); + padding-bottom: var(--spacing); + padding-left: var(--spacing-l); + padding-right: var(--spacing); +} +.FileItem-fileContent { + display: flex; + justify-content: center; + align-items: center; + min-width: 0; +} +.FileItem-actions { + display: flex; + justify-content: center; + align-items: center; +} +.FileItem-file { + display: flex; + align-items: center; + justify-content: space-between; +} +.FileItem-size { + margin-right: var(--spacing); + margin-left: var(--spacing); + flex-shrink: 0; +} +.FileItem-text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-left: var(--spacing-l); +} +.FileItem-error { + margin-left: 40px; +} + +.FileIcon--image { + background: var(--alert-lightest); + color: var(--alert); +} +.FileIcon--audio { + background: var(--accent1-lightest); + color: var(--accent1); +} +.FileIcon--video { + background: var(--accent2-lightest); + color: var(--accent2); +} +.FileIcon--application { + background: var(--accent3-lightest); + color: var(--accent3); +} +.FileIcon--others { + background: var(--success-lightest); + color: var(--success); +} +.FileIcon--animate { + -webkit-animation: fadeIn var(--duration--moderate-01) var(--entrance-productive-curve); + animation: fadeIn var(--duration--moderate-01) var(--entrance-productive-curve); +} + +@keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.FileUploader { + display: flex; + flex-direction: column; +} + +.FileUploaderButton { + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + position: relative; +} + +.FileUploaderButton-input { + height: 100%; + width: 100%; + top: 0; + position: absolute; + opacity: 0; + font-size: 0; + z-index: 2; + cursor: pointer; +} + +.FileUploaderItem { + width: var(--spacing-9); +} + +.FileUploaderItem-text { + width: var(--spacing-8); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.FileUploaderItem-file { + display: flex; + align-items: center; + justify-content: space-between; + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); +} + +@-webkit-keyframes fullscreenModal-open { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 100; + transform: translateY(0px); + } +} + +@keyframes fullscreenModal-open { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 100; + transform: translateY(0px); + } +} + +@-webkit-keyframes fullscreenModal-close { + from { + opacity: 100; + transform: translateY(0px); + } + to { + opacity: 0; + transform: translateY(20px); + } +} + +@keyframes fullscreenModal-close { + from { + opacity: 100; + transform: translateY(0px); + } + to { + opacity: 0; + transform: translateY(20px); + } +} + +.FullscreenModal { + position: fixed !important; + top: 0; + left: 0; + height: 100%; + width: 100%; + box-sizing: border-box; + padding-top: var(--spacing-4); + background-color: var(--white); + overflow: auto; + display: flex; + flex-direction: column; +} + +.FullscreenModal-animation--open { + -webkit-animation: fullscreenModal-open 240ms cubic-bezier(0, 0, 0.3, 1); + animation: fullscreenModal-open 240ms cubic-bezier(0, 0, 0.3, 1); +} + +.FullscreenModal-animation--close { + -webkit-animation: fullscreenModal-close 120ms cubic-bezier(0.4, 0.14, 1, 1); + animation: fullscreenModal-close 120ms cubic-bezier(0.4, 0.14, 1, 1); +} + +.FullscreenModal-header { + display: flex; + justify-content: flex-start; + padding-top: var(--spacing-l); + padding-bottom: var(--spacing-l); + padding-right: var(--spacing-l); +} + +.FullscreenModal-footer { + justify-content: flex-end; + padding-top: var(--spacing-2); + padding-bottom: var(--spacing-2); +} + +.FullscreenModal-body { + padding: var(--spacing-2) var(--spacing-xl); +} + +/** Grid **/ + +.Grid-wrapper { + display: flex; + position: relative; + overflow: hidden; + height: 100%; +} + +.Grid { + display: flex; + flex-direction: column; + flex-grow: 1; + height: 100%; + overflow: hidden; + background: var(--white); +} + +.Grid--resource .Grid-row--body:hover, +.Grid--resource .Grid-row--body:hover .Grid-cellGroup { + cursor: pointer; + background: var(--secondary-lightest); +} + +.Grid--resource .Grid-row--body:active, +.Grid--resource .Grid-row--body:active .Grid-cellGroup { + background: var(--warning-lightest) !important; +} + +.Grid--resource .Grid-row--body:focus { + outline-color: var(--warning); +} + +.Grid--pinned { + position: absolute; + height: 100%; + z-index: 5; + overflow-x: hidden; + -ms-overflow-style: none; + border-right: 3px solid var(--secondary); +} + +.Grid-pinned::-webkit-scrollbar { + display: none; +} + +.Grid--main { + flex-grow: 1; +} + +.Grid--comfortable .Grid-cell--head { + min-height: 40px; +} + +.Grid--comfortable .Grid-cell--body { + padding-top: var(--spacing-l); + padding-bottom: var(--spacing-l); +} + +.Grid--standard .Grid-cell--head { + min-height: 40px; +} + +.Grid--standard .Grid-cell--body { + padding-top: var(--spacing-l); + padding-bottom: var(--spacing-l); +} + +.Grid--compressed .Grid-cell--head { + min-height: 40px; +} + +.Grid--compressed .Grid-cell--body { + padding-top: var(--spacing); + padding-bottom: var(--spacing); +} + +.Grid--tight .Grid-cell--head { + min-height: var(--spacing-3); +} + +.Grid--tight .Grid-cell--body { + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); +} + +.Grid-head { + display: flex; + flex: 0 0 auto; + overflow-x: auto; + border-bottom: var(--border); +} + +.Grid-head::-webkit-scrollbar { + display: none; +} + +.Grid-headCell { + display: flex; + height: 100%; + flex-direction: row; + align-items: center; +} + +.Grid-headCell--draggable { + cursor: -webkit-grab; + cursor: grab; +} + +.Grid-headCell--draggable:active { + cursor: -webkit-grabbing; + cursor: grabbing; + z-index: 3; + opacity: 1; + background-color: inherit; + color: inherit; +} + +.Grid-body { + display: flex; + flex-direction: column; + flex-grow: 1; + overflow-x: auto; + overflow-y: overlay; +} + +.Grid-rowWrapper { + display: inline-flex; + flex-direction: column; + min-width: -webkit-fit-content; + min-width: -moz-fit-content; + min-width: fit-content; + flex-shrink: 0; + border-bottom: var(--border); +} + +.Grid-row { + display: flex; + flex-grow: 1; + flex-shrink: 0; + box-sizing: border-box; + background: var(--white); +} + +.Grid-row--body { + border-color: var(--secondary-light); +} + +.Grid-row--selected, +.Grid-row--selected .Grid-cellGroup { + background: var(--warning-lightest) !important; +} + +.Grid-rowWrapper:last-child .Grid-row--body { + border-bottom: 0; +} + +.GridBody-padding { + flex-shrink: 0; +} + +.Grid-nestedRow { + width: 100%; + overflow: hidden; +} + +.Grid-nestedRowTrigger { + margin-right: var(--spacing-l); + cursor: pointer; +} + +.Grid-nestedRow .Grid-rowWrapper { + border-bottom: 0; +} + +.Grid-nestedRow .Grid-cell:first-child { + padding-left: calc(var(--spacing-3) + var(--spacing)); +} + +.Grid-nestedRowPlaceholder { + width: var(--spacing-xl); + margin-right: var(--spacing-l); +} + +.Grid-cell { + position: relative; + box-sizing: border-box; + padding-left: var(--spacing-l); + padding-right: var(--spacing-l); +} + +.Grid-cell--body { + padding-right: var(--spacing-l); +} + +.Grid-cell--head { + overflow: hidden; + padding-right: var(--spacing-m); +} + +.Grid-cell--dragged { + z-index: 3; + opacity: 1; + background-color: inherit; + color: inherit; +} + +.Grid-cell--separator { + border-left: var(--border); + border-color: var(--secondary-light); +} + +.Grid-cell--selected { + background: var(--primary-lightest); +} + +.Grid-cell--nestedRow { + padding-left: var(--spacing); +} + +.Grid-cell--head.Grid-cell:first-of-type { + border-left: none; +} + +/* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child { + border-right: var(--border); +} */ + +.Grid-row--disabled { + opacity: 0.4; + pointer-events: none; +} + +.Grid-cell--head.Grid-cell--selected { + background: var(--primary-light); +} + +.Grid-cell--checkbox { + width: unset; + min-width: unset; + display: flex; + align-items: center; + z-index: 1; + padding-right: 0 !important; + overflow: visible !important; +} + +.Grid-sortingIcons { + display: flex; + align-items: center; + padding-left: var(--spacing-m); +} + +.Grid-cellReorder { + display: flex; + align-items: center; + cursor: -webkit-grab; + cursor: grab; +} + +.Grid-cellReorder:active { + cursor: -webkit-grabbing; + cursor: grabbing; +} + +.Grid-cellContent { + display: flex; + align-items: center; + flex-grow: 1; + height: 100%; + box-sizing: border-box; + z-index: inherit; +} + +.Grid-cell--head .Grid-cellContent { + overflow: hidden; +} + +.Grid-cellResize { + position: absolute; + right: 0; + width: var(--spacing-m); + cursor: ew-resize; + height: 100%; +} + +.Grid-cellSortIcon { + display: flex; + align-items: center; + cursor: pointer; +} + +.Grid-cellSortIcon:hover { + background: var(--secondary); +} + +.Grid-cellResize:hover { + background: var(--primary); +} + +.Grid-reorderHighlighter { + position: absolute; + height: 100%; + border: 3px solid var(--primary-light); + z-index: 10; +} + +.Grid-cellGroup { + display: flex; + box-sizing: border-box; + background: var(--white); +} + +.Grid-cellGroup--pinned { + position: -webkit-sticky; + position: sticky; + z-index: 4; +} + +.Grid-cellGroup--pinned-left { + left: 0; + border-right: var(--border); + border-right-width: 4px; + -o-border-image: linear-gradient( + to right, + var(--secondary), + var(--secondary) 25%, + rgba(213, 213, 213, 0.1) 25%, + rgba(213, 213, 213, 0.1) + ) + 1 100%; + border-image: linear-gradient( + to right, + var(--secondary), + var(--secondary) 25%, + rgba(213, 213, 213, 0.1) 25%, + rgba(213, 213, 213, 0.1) + ) + 1 100%; +} + +.Grid-cellGroup--pinned-right { + right: 0; + border-left: var(--border); + border-left-width: 4px; + -o-border-image: linear-gradient( + to left, + var(--secondary), + var(--secondary) 25%, + rgba(213, 213, 213, 0.1) 25%, + rgba(213, 213, 213, 0.1) + ) + 1 100%; + border-image: linear-gradient( + to left, + var(--secondary), + var(--secondary) 25%, + rgba(213, 213, 213, 0.1) 25%, + rgba(213, 213, 213, 0.1) + ) + 1 100%; +} + +.Grid .Checkbox-wrapper { + margin-right: 0; +} + +/** Grid Cell **/ + +.GridCell { + display: flex; + align-items: center; + width: 100%; + box-sizing: border-box; +} + +.GridCell--align-left { + /* flex-direction: row; */ + justify-content: flex-start; + text-align: left; +} + +.GridCell--align-right { + /* flex-direction: row-reverse; */ + justify-content: flex-end; + text-align: right; +} + +.GridCell--align-center { + justify-content: center; + text-align: center; +} + +.GridCell--default { +} + +.GridCell--metaList { + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + overflow: hidden; +} + +.GridCell--statusHint .StatusHint { + overflow: hidden; +} + +.GridCell--statusHint .StatusHint .Text { + overflow: hidden; + text-overflow: ellipsis; +} + +.GridCell--avatar .Avatar { + margin: 0; +} + +.GridCell-metaListWrapper { + display: flex; + flex-direction: column; + justify-content: center; + width: 100%; + overflow: hidden; +} + +.GridCell-metaList { + display: flex; +} + +.GridCell-metaList .Text { + display: flex; + align-items: center; +} + +.GridCell-metaList .Text::before { + content: ''; + display: inline-flex; + align-items: center; + justify-content: center; + width: var(--spacing-m); + height: var(--spacing-m); + border-radius: 50%; + background: var(--secondary); + margin: 0 var(--spacing); +} + +.GridCell-metaList .Text:first-child::before { + display: none; +} + +.GridCell--metaList ul li:first-child { + margin-left: 0; +} + +/* .GridCell-image { + position: relative; + display: flex; + align-items: center; + justify-content: center; + margin-right: var(--spacing); +} + +.Image { + z-index: 0; + height: 100%; + width: 100%; +} */ + +/** Header **/ + +/** Table-header **/ + +.Header { + background: var(--white); + padding: var(--spacing-l); + border-bottom: var(--border); +} + +.Header-content { + display: flex; +} + +.Header-content--bottom { + align-items: center; + justify-content: space-between; +} + +.Header-search { + width: var(--spacing-9); + margin-bottom: var(--spacing-2); +} + +.Header-label { + display: flex; + flex-grow: 1; + align-items: center; +} + +.Header-label .Checkbox { + margin-right: var(--spacing); +} + +.Header-dropdown { + display: flex; + margin-left: var(--spacing-m); + margin-bottom: var(--spacing-2); +} + +.Header-dropdown .Dropdown { + margin: 0 var(--spacing-m); +} + +.Header-draggableDropdown .Dropdown-wrapper { + max-height: 200px; + overflow-y: auto; +} + +.Header-filters { + display: flex; +} + +.Header-sorting { + display: flex; +} + +.Header-actions { + margin-bottom: var(--spacing-2); +} + +.HorizontalNav { + display: flex; +} + +.HorizontalNav-menu { + box-sizing: border-box; + display: flex; + align-items: center; + cursor: pointer; + height: var(--spacing-3); + padding-right: var(--spacing-l); + padding-left: var(--spacing-l); + border-radius: var(--spacing-2); + margin: 0 var(--spacing-xs); +} + +.HorizontalNav-menu--disabled { + pointer-events: none; +} + +.HorizontalNav-menu--disabled:focus-visible, +.HorizontalNav-menu--disabled:focus { + outline: none; +} + +.HorizontalNav-menu--default:focus-visible, +.HorizontalNav-menu--default:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +.HorizontalNav-menu--default:hover { + background-color: var(--secondary); +} + +.HorizontalNav-menu--default:active { + background-color: var(--secondary-dark); +} + +.HorizontalNav-menu--active { + background-color: var(--primary-lightest); +} + +.HorizontalNav-menu--active:focus-visible, +.HorizontalNav-menu--active:focus { + background-color: var(--primary-lightest); + box-shadow: var(--shadow-spread) var(--primary-shadow); + outline: none; +} + +.HorizontalNav-menu--active:hover { + background-color: var(--primary-lighter); +} + +.HorizontalNav-menu--active:active { + background-color: var(--primary-lighter); + color: var(--primary-darker); +} + +.HorizontalNav-menu--active:active .HorizontalNav-menuText { + color: var(--primary-darker); +} + +.HorizontalNav-menuText { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.HorizontalNav-menu--active, +.HorizontalNav-animate { + transition-delay: var(--duration--fast-02); +} + +.HorizontalNav-animate { + transition: var(--duration--fast-02) var(--standard-productive-curve); +} + +.HorizontalNav-pills { + margin-right: var(--spacing-m); +} + +.HorizontalNav-pills--disabled { + opacity: 0.6; +} + +/* Although the icons in the font can be scaled to any size, in accordance with material design icons guidelines, + * we recommend them to be shown in either 18, 24, 36 or 48px. The default being 24px. + * https://google.github.io/material-design-icons/ + */ + +/* Rules for sizing the icon. */ + +/* .material-icons.md-18 { font-size: 18px; } +.material-icons.md-24 { font-size: 24px; } +.material-icons.md-36 { font-size: 36px; } +.material-icons.md-48 { font-size: 48px; } */ + +/* Rules for using icons as black on a light background. */ + +/* .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } +.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } */ + +/* Rules for using icons as white on a dark background. */ + +/* .material-icons.md-light { color: rgba(255, 255, 255, 1); } +.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } */ +.Icon { + flex-shrink: 0; + overflow: hidden; + flex-shrink: 0; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.Icon--subtle { + color: var(--text-subtle); +} + +.Icon--disabled { + color: var(--text-disabled); +} + +.Icon--destructive { + color: var(--text-destructive); +} + +.Icon--white { + color: var(--text-white); +} + +.Icon--default { + color: var(--text); +} + +.Icon--info { + color: var(--primary); +} + +.Icon--success { + color: var(--success); +} + +.Icon--warning { + color: var(--warning); +} + +.Icon--alert { + color: var(--alert); +} + +.Icon--primary { + color: var(--primary); +} + +.Icon--primaryLighter { + color: var(--primary-lighter); +} + +.Icon--primaryDark { + color: var(--primary-dark); +} + +.Icon--alertLighter { + color: var(--alert-lighter); +} + +.Icon--alertDark { + color: var(--alert-dark); +} + +.Icon--successLighter { + color: var(--success-lighter); +} + +.Icon--successDark { + color: var(--success-dark); +} + +.Icon--warningLighter { + color: var(--warning-lighter); +} + +.Icon--warningDark { + color: var(--warning-dark); +} + +.Icon--accent1 { + color: var(--accent1); +} + +.Icon--accent1Lighter { + color: var(--accent1-lighter); +} + +.Icon--accent1Dark { + color: var(--accent1-dark); +} + +.Icon--accent2 { + color: var(--accent2); +} + +.Icon--accent2Lighter { + color: var(--accent2-lighter); +} + +.Icon--accent2Dark { + color: var(--accent2-dark); +} + +.Icon--accent3 { + color: var(--accent3); +} + +.Icon--accent3Lighter { + color: var(--accent3-lighter); +} + +.Icon--accent3Dark { + color: var(--accent3-dark); +} + +.Icon--accent4 { + color: var(--accent4); +} + +.Icon--accent4Lighter { + color: var(--accent4-lighter); +} + +.Icon--accent4Dark { + color: var(--accent4-dark); +} + +.Icon--inverse { + color: var(--inverse); +} + +.InlineMessage { + display: flex; + flex-direction: row; + overflow: hidden; + border-radius: var(--spacing-m); + background-color: var(--white); + align-items: flex-start; +} + +.InlineMessage-icon--regular { + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + margin-right: var(--spacing); +} + +.InlineMessage-icon--small { + padding-top: var(--spacing-xs); + padding-bottom: var(--spacing-xs); + margin-right: var(--spacing-m); +} + +.InlineMessage-text--warning, +.InlineMessage-icon--warning { + color: var(--accent1); +} + +.InlineMessage-text--alert { + color: var(--alert); +} + +.InlineMessage-text--info { + color: var(--primary); +} + +.InlineMessage-text--success { + color: var(--success); +} + +/* input */ + +.Input-input::-ms-clear { + display: none; +} + +.Input { + display: flex; + flex-grow: 1; + flex-direction: row; + align-items: center; + box-sizing: border-box; + border-radius: var(--spacing-m); + border: var(--border); + padding-right: var(--spacing-l); + padding-left: var(--spacing-l); + background: var(--white); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Input--tiny { + height: var(--font-height-m); + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); +} + +.Input--regular { + height: var(--font-height-l); + padding-top: 6px; + padding-bottom: 6px; +} + +.Input--large { + height: 40px; + padding-top: var(--spacing); + padding-bottom: var(--spacing); +} + +.Input:hover { + background: var(--secondary-lighter); + border-color: var(--secondary-dark); + cursor: text; +} + +.Input:focus-within { + background: var(--white); + border-color: var(--primary); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Input:focus-within .Input-icon--left { + color: var(--primary); +} + +.Input--error:focus-within { + border-color: var(--alert); + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.Input--error:focus-within .Input-icon--left { + color: var(--alert); +} + +.Input--disabled { + background: var(--secondary-lightest); + border-color: var(--secondary-lighter); + pointer-events: none; +} + +.Input--disabled .Input-icon--left { + color: var(--inverse-lightest); +} + +.Input--error, +.Input--error:hover { + background: var(--white); + border-color: var(--alert); +} + +.Input-input { + display: flex; + width: 100%; + font-family: var(--font-family); + font-weight: var(--font-weight-normal); + font-size: var(--font-size); + line-height: var(--font-height-s); + color: var(--night); + padding: 0; + border: none; + background: transparent; +} + +.Input-input::-moz-placeholder { + color: var(--inverse-lighter); +} + +.Input-input:-ms-input-placeholder { + color: var(--inverse-lighter); +} + +.Input-input::placeholder { + color: var(--inverse-lighter); +} + +.Input-input:focus { + outline: 0; +} + +.Input-input:disabled .Input-input::-moz-placeholder { + color: var(--inverse-lighter); +} + +.Input-input:disabled .Input-input:-ms-input-placeholder { + color: var(--inverse-lighter); +} + +.Input-input:disabled .Input-input::placeholder { + color: var(--inverse-lighter); +} + +.Input-input--regular { + line-height: var(--font-height); +} + +.Input-input--large { + line-height: var(--font-height-m); + font-size: var(--font-size-m); +} + +.Input-icon { + display: flex; + align-content: center; + font-size: var(--font-size-m); +} + +.Input-icon--left { + margin-right: var(--spacing); + color: var(--inverse); +} + +.Input-icon--inputBlank { + color: var(--inverse-lighter); +} + +.Input-icon--error { + color: var(--alert); +} + +.Input-icon--right { + cursor: pointer; + color: var(--inverse-lighter); + border-radius: 10px; +} + +.Input-iconWrapper--right:focus-visible .Input-icon--right { + outline: var(--spacing-s) solid var(--secondary-shadow); +} + +.Input-icon--right:focus-visible { + outline: var(--spacing-s) solid var(--secondary-shadow); + border-radius: 10px; +} + +.Input-iconWrapper--right:hover .Input-icon--right { + background-color: var(--secondary); +} + +.Input-iconWrapper--right:active .Input-icon--right { + background-color: var(--secondary-dark); +} + +.Input-inlineLabel { + margin-right: var(--spacing); +} + +.Input-iconWrapper--right:focus-visible { + outline: none; +} + +.Link { + text-decoration: none; + font-weight: var(--font-weight-medium); + transition: var(--duration--fast-01) var(--standard-productive-curve); + box-sizing: border-box; +} + +.Link:focus-visible { + outline: none; +} + +.Link--regular { + font-size: var(--font-size); + height: var(--font-height); +} + +.Link--tiny { + font-size: var(--font-size-s); + height: var(--font-height-s); + line-height: var(--font-height-s); +} + +.Link--default { + color: var(--text-link); +} + +.Link--subtle { + color: var(--inverse-lighter); +} + +.Link--default:hover { + border-bottom: var(--spacing-xs) solid var(--primary-dark); + color: var(--primary-dark); +} + +.Link--subtle:hover { + border-bottom: var(--spacing-xs) solid var(--inverse-light); + color: var(--inverse-light); +} + +.Link--default:active { + color: var(--primary-darker); + border: none; +} + +.Link--subtle:active { + color: var(--inverse); + border: none; +} + +.Link--default:focus { + box-shadow: var(--shadow-spread) var(--primary-shadow); + border-radius: var(--spacing-m); +} + +.Link--subtle:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + border-radius: var(--spacing-m); +} + +.Link--default-disabled { + color: var(--primary-lighter); + pointer-events: none; +} + +.Link--subtle-disabled { + color: var(--inverse-lightest); + pointer-events: none; +} + +.LinkButton { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + box-sizing: border-box; + position: relative; + vertical-align: middle; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border: 0; + text-align: center; + padding: 0; + background: transparent; + font-weight: var(--font-weight-medium); + font-family: var(--font-family); + border-radius: var(--spacing-m); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.LinkButton--iconAlign-right { + flex-direction: row-reverse; +} + +.LinkButton-icon { + line-height: inherit; + display: flex; + align-items: center; +} + +.LinkButton-icon--left { + margin-right: var(--spacing-m); +} + +.LinkButton-icon--right { + margin-left: var(--spacing-m); +} + +.LinkButton--regular { + line-height: var(--font-height); + font-size: var(--font-size); +} + +.LinkButton--tiny { + line-height: var(--font-height-s); + font-size: var(--font-size-s); +} + +.LinkButton--default { + color: var(--primary); +} + +.LinkButton--default:hover { + color: var(--primary-dark); +} + +.LinkButton--default:active { + color: var(--primary-darker); +} + +.LinkButton--default:focus, +.LinkButton--default:focus-visible { + outline: 0; + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.LinkButton--default:disabled { + cursor: not-allowed; + pointer-events: none; + color: var(--primary-lighter); +} + +/* Subtle Appearance */ + +.LinkButton--subtle { + color: var(--inverse-lighter); +} + +.LinkButton--subtle:hover { + color: var(--inverse-light); +} + +.LinkButton--subtle:active { + color: var(--inverse); +} + +.LinkButton--subtle:focus, +.LinkButton--subtle:focus-visible { + outline: 0; + box-shadow: var(--shadow-spread) var(--secondary-shadow); +} + +.LinkButton--subtle:disabled { + cursor: not-allowed; + pointer-events: none; + color: var(--inverse-lightest); +} + +.List { + display: flex; + flex-grow: 1; + flex-direction: column; + /* flex-grow: 0; */ + height: 100%; + z-index: 1; +} + +.List-grid { + height: 100%; + overflow: hidden; + height: 100%; +} + +.Message { + display: flex; + flex-direction: row; + overflow: hidden; + padding: var(--spacing-l) var(--spacing-xl) var(--spacing-l) var(--spacing-2); + border: var(--spacing-xs) solid; + width: 100%; + border-radius: var(--spacing-m); + box-sizing: border-box; +} + +.Message--alert { + border-color: var(--alert); + background-color: rgba(249, 226, 226, 0.4); +} + +.Message--success { + border-color: var(--success); + background-color: rgba(215, 239, 223, 0.4); +} + +.Message--info { + border-color: var(--primary); + background-color: rgba(220, 236, 249, 0.4); +} + +.Message--warning { + border-color: var(--accent1); + background-color: rgba(255, 245, 199, 0.4); +} + +.Message-icon { + margin-right: var(--spacing-2); + padding-top: var(--spacing-s); +} + +.Message-icon--withTitle { + padding-top: var(--spacing-m); +} + +.Message-icon--warning { + color: var(--accent1); +} + +.Message-heading { + margin-bottom: var(--spacing-m); +} + +.Message-heading--alert, +.Message-text--alert { + color: var(--alert-darker) !important; +} + +.Message-heading--info, +.Message-text--info { + color: var(--primary-darker) !important; +} + +.Message-heading--success, +.Message-text--success { + color: var(--success-darker) !important; +} + +.Message-heading--warning, +.Message-text--warning { + color: var(--accent1-darker) !important; +} + +.Message-actions { + display: flex; + align-items: center; + margin-top: var(--spacing-l); +} + +.Meta { + display: flex; + flex-direction: row; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + font-size: var(--font-size); +} + +.MetaList-seperator { + margin-left: var(--spacing); +} +.MetaList-seperator--left { + margin-right: var(--spacing-m); +} +.Meta-icon { + padding-right: var(--spacing-m); + display: flex; + align-items: center; +} +.MetaList { + display: flex; + flex-direction: row; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + font-size: var(--font-size); +} +.MetaList-item { + margin: 0 var(--spacing-m); + display: flex; + flex-direction: row; + align-items: center; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + font-size: var(--font-size); +} + +.MetaList-item:first-child { + margin-left: 0; +} + +.MetaList-item:last-child { + margin-right: 0; +} + +.MetricInput-input::-ms-clear { + display: none; +} + +.MetricInput { + display: flex; + width: 100%; + flex-direction: row; + align-items: center; + box-sizing: border-box; + border-radius: var(--spacing-m); + border: var(--border); + padding-right: var(--spacing-m); + background: var(--white); + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.MetricInput--regular { + height: var(--spacing-3); + padding-left: var(--spacing-l); +} + +.MetricInput--large { + height: 40px; + padding-left: var(--spacing-2); +} + +.MetricInput:hover { + background: var(--secondary-lightest); + cursor: text; +} + +.MetricInput:focus-within { + background: var(--white); + border-color: var(--primary); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.MetricInput:focus-within .MetricInput-icon { + color: var(--primary); +} + +.MetricInput--disabled { + background: var(--secondary-lightest); + border-color: var(--secondary-light); + pointer-events: none; +} + +.MetricInput--disabled .MetricInput-icon { + color: var(--inverse-lightest); +} + +.MetricInput--error, +.MetricInput--error:hover { + background: var(--white); + border-color: var(--alert); +} + +.MetricInput--error:focus-within { + border-color: var(--alert); + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.MetricInput--error:focus-within .MetricInput-icon { + color: var(--alert); +} + +.MetricInput-input { + display: flex; + width: 100%; + font-family: var(--font-family); + font-weight: var(--font-weight-normal); + font-size: var(--font-size); + line-height: var(--font-height-s); + color: var(--night); + padding: 0; + border: none; + background: transparent; +} + +.MetricInput-input--large { + line-height: var(--font-height-m); + font-size: var(--font-size-m); +} + +.MetricInput-input::-moz-placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-input:-ms-input-placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-input::placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-input:focus { + outline: 0; +} + +.MetricInput-input:disabled .MetricInput-input::-moz-placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-input:disabled .MetricInput-input:-ms-input-placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-input:disabled .MetricInput-input::placeholder { + color: var(--inverse-lighter); +} + +.MetricInput-icon--regular { + margin-right: var(--spacing); + line-height: var(--font-height-s); +} + +.MetricInput-icon--large { + margin-right: var(--spacing-l); + line-height: var(--font-height-m); +} + +.MetricInput-input::-webkit-inner-spin-button, +.MetricInput-input::-webkit-outer-spin-button { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + margin: 0; +} + +.MetricInput-arrowIcon--large { + height: var(--spacing-2); + width: var(--spacing-2); + border-radius: var(--spacing-s); +} + +.MetricInput-arrowIcon--regular { + height: var(--spacing-l); + width: var(--spacing-l); + border-radius: var(--spacing-s); +} + +@-webkit-keyframes modal-open { + from { + top: 20px; + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes modal-open { + from { + top: 20px; + opacity: 0; + } + to { + opacity: 1; + } +} + +@-webkit-keyframes modal-close { + from { + top: 104px; + opacity: 1; + } + to { + top: 124px; + opacity: 0; + } +} + +@keyframes modal-close { + from { + top: 104px; + opacity: 1; + } + to { + top: 124px; + opacity: 0; + } +} + +.Modal { + position: fixed !important; + max-height: calc(100vh - 128px); + box-shadow: var(--shadow-m); + background-color: var(--white); + border-radius: var(--spacing); + overflow: auto; + flex-direction: column; + display: none; + margin: auto; + top: 0; + right: 0; + left: 0; + bottom: 0; + height: -webkit-min-content; + height: -moz-min-content; + height: min-content; +} + +.Modal--open { + display: flex; +} + +.Modal-animation--open { + -webkit-animation: modal-open var(--duration--moderate-02) var(--entrance-expressive-curve); + animation: modal-open var(--duration--moderate-02) var(--entrance-expressive-curve); +} + +.Modal-animation--close { + -webkit-animation: modal-close var(--duration--fast-02) var(--exit-expressive-curve); + animation: modal-close var(--duration--fast-02) var(--exit-expressive-curve); +} + +.Modal-header { + display: flex; + justify-content: flex-start; + padding-top: var(--spacing-2); + padding-bottom: var(--spacing-l); + padding-right: var(--spacing-2); +} + +.Modal-header--withSeperator { + border-bottom: var(--border); +} + +.Modal-description { + padding: var(--spacing) 0; +} + +.Modal-footer { + padding-top: var(--spacing-xl); + padding-bottom: var(--spacing-xl); + justify-content: flex-end; + position: absolute; + bottom: 0; +} + +.Modal-footer--withSeperator { + border-top: var(--border); +} + +.Modal-body { + padding: 0 var(--spacing-xl); +} + +.Modal-body--withMargin { + margin-bottom: 80px; +} + +.Modal-body--withPadding { + padding-bottom: var(--spacing-2); +} + +/* Navigation */ + +.Navigation { + display: flex; +} + +.Navigation--horizontal { + flex-grow: 1; + justify-content: center; +} + +.Navigation--vertical { + flex-direction: column; + height: 100%; + width: var(--spacing-9); +} + +.Navigation--collapsed { + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.Navigation-body { + height: 100%; + overflow-y: auto; + overflow-x: hidden; + padding-right: var(--spacing); +} + +.Navigation-menu { + box-sizing: border-box; + display: flex; + align-items: center; + cursor: pointer; +} + +.Navigation-menu--horizontal { + height: var(--spacing-3); + padding-right: var(--spacing-l); + padding-left: var(--spacing-l); + border-radius: var(--spacing-2); + margin: 0 var(--spacing-xs); +} + +.Navigation-menu--disabled { + pointer-events: none; +} + +.Navigation-menu:hover { + background-color: var(--secondary-light); +} + +.Navigation-menu--active, +.Navigation-menu--active:hover { + background: var(--primary-lightest); +} + +.Navigation-menu--vertical { + /* padding-top: var(--spacing-m); */ + /* padding-bottom: var(--spacing-m); */ + padding-left: var(--spacing); + margin-top: var(--spacing-m); + margin-bottom: var(--spacing-m); + /* margin-right: var(--spacing); */ + border-radius: 0px var(--spacing-2) var(--spacing-2) 0px; +} + +.Navigation-menu--rounded { + border-radius: var(--spacing-2); +} + +.Navigation-menu--subMenu { + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + padding-left: 40px; + margin-top: 0; +} + +.Navigation-menuIcon { + padding: 8px; + border-radius: 50%; + cursor: pointer; +} + +.Navigation-menuIcon--active { + background: var(--primary-lightest); +} + +.Navigation-menuLabel { + display: flex; + flex-grow: 1; + overflow: hidden; +} + +.Navigation-menu .Text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.Navigation-horizontalPills { + margin-right: var(--spacing-m); +} + +.Navigation-horizontalPills--disabled { + opacity: 0.6; +} + +.Navigation-footer { + display: flex; + align-items: center; + padding: var(--spacing-m) var(--spacing); +} + +.Navigation-footer--border { + border-top: var(--border); +} + +.Navigation--collapsed .Navigation-menuIcon--footer { + transform: rotate(180deg); +} + +.OverlayHeader { + box-sizing: border-box; + margin-left: var(--spacing-xl); +} + +.OverlayHeader--withBackButton { + margin-left: var(--spacing-2); +} + +.OverlayHeader-headerWrapper { + display: flex; + align-items: center; +} + +.OverlayHeader-subheading { + margin-top: var(--spacing-s); +} + +.OverlayHeader-subheading--withBackButton { + margin-left: var(--spacing); +} + +.OverlayBody { + overflow-y: auto; +} + +.Overlay-body--stickFooter { + margin-bottom: 80px; +} + +.OverlayFooter { + display: flex; + align-items: center; + width: 100%; + box-sizing: border-box; + padding-left: var(--spacing-xl); + padding-right: var(--spacing-xl); +} + +.PageHeader-wrapper { + padding: var(--spacing) var(--spacing-2); +} + +.PageHeader-wrapper--separator { + border-bottom: var(--border); +} + +.PageHeader-wrapper--withTabs { + padding-bottom: 0; +} + +.PageHeader-wrapper--withTabs .TabsWrapper-header { + border-bottom: none; +} + +.PageHeader .Row { + width: 100%; +} + +.PageHeader-titleWrapper { + display: flex; + justify-content: flex-start; + align-items: center; + padding-right: var(--spacing); +} + +.PageHeader-titleWrapper .Badge { + margin-left: var(--spacing-l); + flex-shrink: 0; +} + +.PageHeader-statusWrapper { + display: flex; + justify-content: flex-start; + align-items: center; +} + +.PageHeader-statusWrapper .StatusHints { + margin-right: var(--spacing); +} + +.PageHeader-navigationWrapper { + margin-top: var(--spacing-l); +} + +.PageHeader .PageHeader-navigationWrapper { + justify-content: center; + align-items: center; + margin-top: 0 !important; + padding-right: var(--spacing); + padding-left: var(--spacing); +} + +.PageHeader-title { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.PageHeader-actionsWrapper { + display: flex; + justify-content: flex-end; + padding-left: var(--spacing); +} + +/* pagination */ + +.Pagination { + display: flex; + vertical-align: middle; + flex-direction: row; + flex-wrap: wrap; +} + +.Pagination .Button { + padding-left: var(--spacing); + padding-right: var(--spacing); +} + +.Pagination-buttonWrapper { + display: flex; + flex-direction: row; +} + +.Pagination-pageIndex { + display: flex; + align-items: center; + justify-content: center; + padding-left: var(--spacing-l); + padding-right: var(--spacing-l); +} + +.Pagination-MetricInput { + width: var(--spacing-4); + margin-right: var(--spacing); + padding-left: var(--spacing); + padding-right: var(--spacing); +} + +.Pagination-MetricInput .MetricInput-input { + text-align: center; +} +.Pagination-MetricInput .MetricInput-arrowIcons { + display: none; +} + +@media (max-width: 575px) { + .Pagination-pageIndex { + order: -1; + flex-basis: 100%; + } + .Pagination-buttonWrapper { + margin-top: var(--spacing); + width: 50%; + } + .Pagination-buttonWrapper--next { + justify-content: flex-start; + } + .Pagination-buttonWrapper--previous { + justify-content: flex-end; + } +} + +.Pills { + /* 160px */ + max-width: calc(var(--spacing-2) * 10); + /* truncate */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-size: var(--font-size-s); + line-height: var(--font-height-s); + text-transform: uppercase; + padding-right: 6px; + padding-left: 6px; + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + border-radius: 20px; + display: inline-block; + box-sizing: border-box; + font-weight: var(--font-weight-bold); + cursor: default; +} + +@-webkit-keyframes shimmer { + 0% { + background-position: -500px 0; + } + 100% { + background-position: 500px 0; + } +} + +@keyframes shimmer { + 0% { + background-position: -500px 0; + } + 100% { + background-position: 500px 0; + } +} + +.Placeholder--animation { + border-radius: var(--spacing-s); + -webkit-animation-duration: 1.5s; + animation-duration: 1.5s; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; + -webkit-animation-name: shimmer; + animation-name: shimmer; + -webkit-animation-timing-function: linear; + animation-timing-function: linear; + background: var(--secondary-lightest); + background: linear-gradient( + to right, + var(--secondary-lighter) 8%, + var(--secondary-dark) 18%, + var(--secondary-lighter) 33% + ); + background-size: 1000px 104px; +} + +.Placeholder { + display: flex; + flex-grow: 1; + flex-shrink: 0; + align-items: center; +} + +.Placeholder--withImage { + display: flex; + justify-content: flex-start; +} + +.Placeholder-paragraph { + display: flex; + flex-direction: column; + flex: 1 0; +} + +.Placeholder-paragraph--withImage { + margin-left: var(--spacing); +} + +.PlaceholderParagraph { + display: flex; + flex-grow: 1; + height: var(--font-size); +} + +.PlaceholderParagraph-wrapper { + display: flex; + align-items: center; + height: var(--font-height); +} + +.PlaceholderParagraph-wrapper--length-small { + width: 33%; +} + +.PlaceholderParagraph-wrapper--length-medium { + width: 66%; +} + +.PlaceholderParagraph-wrapper--length-large { + width: 100%; +} + +.PlaceholderParagraph-wrapper--size-xxs { + height: var(--font-height-s); +} + +.PlaceholderParagraph-wrapper--size-xs { + height: var(--font-height-m); +} + +.PlaceholderParagraph-wrapper--size-s { + height: var(--font-height-s); +} + +.PlaceholderParagraph-wrapper--size-m { + height: var(--font-height-m); +} + +.PlaceholderParagraph-wrapper--size-l { + height: var(--font-height-l); +} + +.PlaceholderParagraph-wrapper--size-xl { + height: var(--font-height-xl); +} + +.PlaceholderParagraph-wrapper--size-xxl { + height: var(--font-height-xxl); +} + +.PlaceholderParagraph-wrapper--size-xxxl { + height: var(--font-height-xxl); +} + +.PlaceholderParagraph--xxs { + height: var(--font-size-s); +} + +.PlaceholderParagraph--xs { + height: var(--font-size-s); +} + +.PlaceholderParagraph--s { + height: var(--font-size); +} + +.PlaceholderParagraph--m { + height: var(--font-size-m); +} + +.PlaceholderParagraph--l { + height: var(--font-size-l); +} + +.PlaceholderParagraph--xl { + height: var(--font-size-xl); +} + +.PlaceholderParagraph--xxl { + height: var(--font-size-xxl); +} + +.PlaceholderParagraph--xxxl { + height: var(--font-size-xxxl); +} + +.PlaceholderImage { + display: flex; + flex-shrink: 0; + width: 16px; + height: 16px; +} + +.PlaceholderImage--small { + width: 16px; + height: 16px; +} + +.PlaceholderImage--medium { + width: 32px; + height: 32px; +} + +.PlaceholderImage--large { + width: 48px; + height: 48px; +} + +.PlaceholderImage--round { + border-radius: 50%; +} + +.Popover { + border-radius: var(--spacing-m); + position: absolute; + z-index: 500; + background: var(--white); + box-shadow: var(--shadow-l); +} + +.Popover--dark { + background: var(--inverse); + color: var(--white); +} + +.Popover[data-hide='true'] { + visibility: hidden; + pointer-events: none; +} + +@-webkit-keyframes popper-fade-in { + 0% { + opacity: 0; + } + 80% { + opacity: 0.2; + } + 100% { + opacity: 1; + } +} + +@keyframes popper-fade-in { + 0% { + opacity: 0; + } + 80% { + opacity: 0.2; + } + 100% { + opacity: 1; + } +} + +.Ring { + transform: rotate(-90deg); +} + +.Ring--regular { + height: var(--spacing-3); + width: var(--spacing-3); +} + +.Ring--small { + height: var(--spacing-2); + width: var(--spacing-2); +} + +.Ring Circle { + fill: none; +} + +.Ring-background { + stroke: var(--secondary-lightest); +} + +.Ring-indicator { + stroke: var(--primary); + transition: var(--duration--slow-01) var(--standard-expressive-curve); +} + +/* Radio */ + +.Radio { + display: flex; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + padding-top: var(--spacing-s); + padding-bottom: var(--spacing-s); + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.Radio-outerWrapper { + position: relative; + flex-shrink: 0; + margin-top: var(--spacing-s); +} + +.Radio-defaultWrapper { + border: var(--border); +} + +.Radio-errorWrapper { + border: var(--border); + border-color: var(--alert); +} + +.Radio-outerWrapper--regular { + height: var(--spacing-2); + width: var(--spacing-2); +} + +.Radio-outerWrapper--tiny { + height: var(--spacing-l); + width: var(--spacing-l); +} + +.Radio-input { + opacity: 0; + position: absolute; + height: 100%; + width: 100%; + z-index: 2; + margin: 0; + cursor: pointer; +} + +.Radio-labelWrapper { + padding-left: var(--spacing); + display: flex; + flex-direction: column; +} + +.Radio-Label { + display: flex; + cursor: pointer; +} + +.Radio-wrapper { + top: 0; + left: 0; + height: 100%; + width: 100%; + position: absolute; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + z-index: 1; + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Radio--disabled { + pointer-events: none; +} + +.Radio:hover .Radio-wrapper { + border: var(--spacing-xs) solid var(--secondary-dark); + background-color: var(--secondary-lighter); +} + +.Radio:active .Radio-wrapper { + background-color: var(--secondary-light); + border: var(--spacing-xs) solid var(--inverse-lightest); +} + +.Radio:hover .Radio-errorWrapper { + border: var(--border); + background-color: var(--secondary-lighter); + border-color: var(--alert-dark); +} + +.Radio:active .Radio-errorWrapper { + border: var(--border); + background-color: var(--secondary-light); + border-color: var(--alert-darker); +} + +.Radio:focus-within .Radio-wrapper { + outline: 0; + box-shadow: var(--shadow-spread) var(--secondary-shadow); + border-radius: 50%; +} + +.Radio:focus-within .Radio-errorWrapper { + outline: 0; + box-shadow: var(--shadow-spread) var(--alert-shadow); + border-radius: 50%; +} + +.Radio:focus-within .Radio-input:checked ~ .Radio-wrapper { + outline: 0; + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Radio:focus-within .Radio-input:checked ~ .Radio-errorWrapper { + outline: 0; + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Radio--disabled .Radio-wrapper { + border: var(--spacing-xs) solid var(--secondary-light); + background-color: var(--secondary-lightest); +} + +.Radio--disabled .Radio-errorWrapper { + border: var(--spacing-xs) solid var(--alert-lighter); + background-color: var(--secondary-lightest); +} + +.Radio-input:checked ~ .Radio-wrapper { + border: var(--spacing-xs) solid var(--primary); +} + +.Radio-input:checked ~ .Radio-errorWrapper { + border: var(--spacing-xs) solid var(--alert); +} + +.Radio-input:checked ~ .Radio-wrapper:after { + display: block; + transition: var(--duration--fast-01) var(--standard-productive-curve); +} + +.Radio-wrapper:after { + content: ''; + display: none; + border-radius: 50%; + background: var(--primary); +} + +.Radio-wrapper--regular:after { + width: var(--spacing); + height: var(--spacing); +} + +.Radio-wrapper--tiny:after { + width: var(--spacing-m); + height: var(--spacing-m); + border: var(--spacing-xs) solid var(--primary); +} + +.Radio:hover .Radio-input:checked ~ .Radio-wrapper { + border: var(--spacing-xs) solid var(--primary-dark); +} + +.Radio:hover .Radio-input:checked ~ .Radio-wrapper:after { + background: var(--primary-dark); +} + +.Radio:hover .Radio-input:checked ~ .Radio-wrapper--tiny:after { + border: var(--spacing-xs) solid var(--primary-dark); +} + +.Radio:active .Radio-input:checked ~ .Radio-wrapper { + background-color: var(--secondary-light); + border: var(--spacing-xs) solid var(--primary-darker); +} + +.Radio:hover .Radio-input:checked ~ .Radio-errorWrapper { + background-color: var(--secondary-lighter); + border: var(--spacing-xs) solid var(--alert-dark); +} + +.Radio:active .Radio-input:checked ~ .Radio-errorWrapper { + background-color: var(--secondary-light); + border: var(--spacing-xs) solid var(--alert-darker); +} + +.Radio:active .Radio-input:checked ~ .Radio-wrapper:after { + background: var(--primary-darker); +} + +.Radio:active .Radio-input:checked ~ .Radio-wrapper--tiny:after { + border: var(--spacing-xs) solid var(--primary-darker); +} + +.Radio--disabled .Radio-input:checked ~ .Radio-wrapper { + border: var(--spacing-xs) solid var(--primary-lighter); + background-color: var(--secondary-lightest); +} + +.Radio--disabled .Radio-input:checked ~ .Radio-errorWrapper { + border: var(--spacing-xs) solid var(--alert-lighter); + background-color: var(--secondary-lightest); +} + +.Radio--disabled .Radio-input:checked ~ .Radio-wrapper:after { + background: var(--primary-lighter); +} + +.Radio--disabled .Radio-input ~ .Radio-wrapper:focus { + box-shadow: none; +} + +.Radio--disabled .Radio-input ~ .Radio-errorWrapper:focus { + box-shadow: none; +} + +@-webkit-keyframes sidesheet-open { + from { + right: -100%; + } + to { + right: 0; + } +} + +@keyframes sidesheet-open { + from { + right: -100%; + } + to { + right: 0; + } +} + +@-webkit-keyframes sidesheet-close { + from { + right: 0; + } + to { + right: -100%; + } +} + +@keyframes sidesheet-close { + from { + right: 0; + } + to { + right: -100%; + } +} + +@-webkit-keyframes shift-right-spacing-3 { + from { + transform: translateX(calc(-1 * var(--spacing-3))); + } + to { + transform: translateX(0); + } +} + +@keyframes shift-right-spacing-3 { + from { + transform: translateX(calc(-1 * var(--spacing-3))); + } + to { + transform: translateX(0); + } +} + +@-webkit-keyframes shift-left-spacing-3 { + from { + transform: translateX(var(--spacing-3)); + } + to { + transform: translateX(0); + } +} + +@keyframes shift-left-spacing-3 { + from { + transform: translateX(var(--spacing-3)); + } + to { + transform: translateX(0); + } +} + +.Sidesheet { + position: fixed !important; + top: 0; + right: 0; + height: 100vh; + box-shadow: var(--shadow-l); + background-color: var(--white); + display: flex; + flex-direction: column; + visibility: hidden; +} + +.Sidesheet--open { + visibility: visible; +} + +.Sidesheet-animation--open { + -webkit-animation: sidesheet-open 240ms cubic-bezier(0, 0, 0.3, 1); + animation: sidesheet-open 240ms cubic-bezier(0, 0, 0.3, 1); +} + +.Sidesheet-animation--close { + -webkit-animation: sidesheet-close 120ms cubic-bezier(0.4, 0.14, 1, 1); + animation: sidesheet-close 120ms cubic-bezier(0.4, 0.14, 1, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} + +.Sidesheet-header { + display: flex; + justify-content: flex-start; + padding-top: var(--spacing-2); + padding-bottom: var(--spacing-l); + padding-right: var(--spacing-2); +} + +.Sidesheet-header--withSeperator { + border-bottom: var(--spacing-xs) solid var(--secondary-light); +} + +.Sidesheet-body { + padding: 0 var(--spacing-xl); +} + +.Sidesheet-body--withMargin { + margin-bottom: 80px; +} + +.Sidesheet-footer { + padding-top: var(--spacing-xl); + padding-bottom: var(--spacing-xl); +} + +.Sidesheet-footer--withSeperator { + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.Sidesheet-footer--stickToBottom { + position: absolute; + bottom: 0; +} + +.Sidesheet-header--shiftRight { + -webkit-animation: shift-right-spacing-3 var(--duration--fast-01) var(--standard-productive-curve); + animation: shift-right-spacing-3 var(--duration--fast-01) var(--standard-productive-curve); +} + +.Sidesheet-header--shiftLeft { + -webkit-animation: shift-left-spacing-3 var(--duration--fast-01) var(--standard-productive-curve); + animation: shift-left-spacing-3 var(--duration--fast-01) var(--standard-productive-curve); +} + +.Sidesheet-body--nextPage { + -webkit-animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve); + animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve); +} + +.Sidesheet-body--firstPage { + -webkit-animation: fadeIn var(--duration--fast-02) var(--standard-expressive-curve); + animation: fadeIn var(--duration--fast-02) var(--standard-expressive-curve); +} + +.Slider { + width: 100%; +} + +.Slider-wrapper { + position: relative; + outline: none; + cursor: pointer; +} + +.Slider-wrapper--disabled { + cursor: not-allowed; +} + +.Slider-track { + border-radius: var(--spacing-m); + height: var(--spacing-2); + display: flex; + align-items: center; + overflow: hidden; +} + +.Slider-progress { + background: var(--secondary-lighter); + height: var(--spacing-s); + box-sizing: border-box; + border-radius: var(--spacing-s); +} + +.Slider-progress--inRange { + background: var(--primary); +} + +.Slider-progress--inRangeDisabled { + border: var(--border); +} + +.Slider-label { + margin-top: var(--spacing-m); + transform: translate(-50%, 0px); + display: flex; + align-items: center; + flex-direction: column; + position: absolute; + -webkit-user-select: none; + user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} + +.Slider-ticks { + width: var(--spacing-s); + height: var(--spacing-m); + border-radius: var(--spacing-xs); + background-color: var(--secondary-dark); +} + +.Slider-tooltip--visible { + visibility: visible; +} + +.Slider-tooltip--hidden { + visibility: hidden; +} + +.Slider-tooltip { + position: absolute; + color: var(--white); + outline: none; + bottom: calc(100% + 4px); + transform: translateX(calc(-50% + 8px)); +} + +.Slider-handle { + height: var(--spacing-2); + width: var(--spacing-2); + position: absolute; + left: 0; + top: 0; + border-radius: 50%; + background-color: var(--white); + border: var(--spacing-s) solid var(--primary); + box-shadow: var(--shadow-s); + cursor: pointer; + box-sizing: border-box; + outline: none; + display: flex; + transition: border var(--duration--fast-01) var(--standard-productive-curve), + background-color var(--duration--fast-01) var(--standard-productive-curve); +} + +.Slider-handle:hover { + background-color: var(--primary-lightest); +} + +.Slider-handle:active { + background-color: var(--primary); +} + +.Slider-handle:focus { + box-shadow: var(--shadow-spread) var(--primary-shadow); + outline: none; +} + +.Slider-handle--disabled { + pointer-events: none; + background-color: var(--secondary-lighter); + box-shadow: none; +} + +.Slider-handle--disabled:focus { + box-shadow: none; +} + +@-webkit-keyframes rotate { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +@keyframes rotate { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +@-webkit-keyframes spin { + 0% { + stroke-dasharray: 1, 200; + stroke-dashoffset: 0; + } + 50% { + stroke-dasharray: 89, 200; + stroke-dashoffset: -35px; + } + 100% { + stroke-dasharray: 89, 200; + stroke-dashoffset: -124px; + } +} + +@keyframes spin { + 0% { + stroke-dasharray: 1, 200; + stroke-dashoffset: 0; + } + 50% { + stroke-dasharray: 89, 200; + stroke-dashoffset: -35px; + } + 100% { + stroke-dasharray: 89, 200; + stroke-dashoffset: -124px; + } +} + +.Spinner { + -webkit-animation: rotate 2s linear infinite; + animation: rotate 2s linear infinite; +} + +.Spinner--small { + height: var(--spacing-2); + width: var(--spacing-2); +} + +.Spinner--medium { + height: var(--spacing-3); + width: var(--spacing-3); +} + +.Spinner--large { + height: var(--spacing-4); + width: var(--spacing-4); +} + +.Circle { + stroke-linecap: round; + stroke-dasharray: 1 200; + stroke-dashoffset: 0; + -webkit-animation: spin 1.5s ease-in-out infinite; + animation: spin 1.5s ease-in-out infinite; +} + +.Circle--primary { + stroke: var(--primary); +} + +.Circle--secondary { + stroke: var(--primary); +} + +.Circle--white { + stroke: var(--primary); +} + +.StatusHint { + display: flex; + flex-direction: row; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.StatusHint-icon { + flex-shrink: 0; + border-radius: 50%; + height: var(--spacing); + width: var(--spacing); + margin-right: var(--spacing); + margin-top: 6px; +} + +.StatusHint--alert { + background: var(--alert); +} + +.StatusHint--success { + background: var(--success); +} + +.StatusHint--warning { + background: var(--warning); +} + +.StatusHint--info { + background: var(--primary); +} + +.StatusHint--default { + background: var(--secondary); +} + +.Stepper { + display: flex; +} + +.Step { + display: flex; + align-items: center; + padding-left: var(--spacing-l); + padding-right: var(--spacing-l); + margin-left: var(--spacing-xs); + margin-right: var(--spacing-xs); + border-radius: var(--spacing-2); + cursor: pointer; +} + +.Step:hover { + background-color: var(--secondary); +} + +.Step:active { + background-color: var(--secondary-dark); +} + +.Step:focus, +.Step:focus-visible { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +/* Completed State */ + +.Step--completed { + color: var(--primary-dark); +} + +.Step--completed:hover { + background-color: var(--secondary); +} + +.Step--completed:active { + background-color: var(--secondary-dark); +} + +.Step--completed:focus, +.Step--completed:focus-visible { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +/* Active State */ + +.Step--active { + background-color: var(--primary-lightest); + color: var(--primary-dark); + transition-delay: var(--duration--fast-02); +} + +.Step--active:hover { + background-color: var(--primary-lighter); +} + +.Step--active:focus, +.Step--active:focus-visible { + background-color: var(--primary-lightest); + box-shadow: var(--shadow-spread) var(--primary-shadow); + outline: none; +} + +.Step--active:active { + background-color: var(--primary-lighter); + color: var(--primary-darker); +} + +.Step--active:active .Stepper-text { + color: var(--primary-darker); +} + +/* Disabled State */ + +.Step--disabled { + cursor: not-allowed; + color: var(--inverse-lightest); + pointer-events: none; +} + +.Stepper-animate { + transition-delay: var(--duration--fast-02); + transition: var(--duration--fast-02) var(--standard-productive-curve); +} + +.Switch { + display: inline-flex; + position: relative; +} + +.Switch--tiny { + height: var(--spacing-2); + width: var(--spacing-3); +} + +.Switch--regular { + height: var(--spacing-xl); + width: var(--spacing-4); +} + +.Switch--large { + height: var(--spacing-xl); + width: var(--spacing-4); +} + +.Switch-input { + position: absolute; + cursor: pointer; + z-index: 10; + opacity: 0; + width: 100%; + height: 100%; + margin: 0; +} + +.Switch-wrapper { + display: flex; + align-items: center; + line-height: 100%; + padding: var(--spacing-s); + top: 0; + left: 0; + width: 100%; + background-color: var(--secondary-light); + transition: background 120ms ease; + padding-right: 6px; +} + +.Switch-input:focus ~ .Switch-wrapper { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + background-color: var(--secondary-light); +} + +.Switch-input:focus ~ .Switch-wrapper--checked { + box-shadow: var(--shadow-spread) var(--primary-shadow); + background-color: var(--primary); +} + +.Switch-input:hover ~ .Switch-wrapper { + background-color: var(--secondary); +} + +.Switch-input:hover ~ .Switch-wrapper--checked { + background-color: var(--primary-dark); +} + +.Switch-input:active ~ .Switch-wrapper { + background-color: var(--secondary-dark); +} + +.Switch-input:active ~ .Switch-wrapper--checked { + background-color: var(--primary-darker); +} + +.Switch-wrapper--tiny { + border-radius: 10px; +} + +.Switch-wrapper--regular { + border-radius: 34px; +} + +.Switch-wrapper--large { + border-radius: 34px; +} + +.Switch-wrapper:before { + content: ''; + height: 100%; + width: 50%; + background-color: var(--shadow-0); + box-shadow: var(--shadow-m); + border-radius: 50%; + box-sizing: border-box; + transition-duration: 80ms; +} + +.Switch-wrapper--checked { + background-color: var(--primary); + transition: background 120ms ease; + padding-left: 6px; + padding-right: 2px !important; +} + +.Switch-wrapper--checked:before { + transform: translateX(100%); + transition-duration: 80ms; +} + +.Switch--disabled { + pointer-events: none; +} + +.Switch-wrapper--disabled { + background-color: var(--secondary-lighter); +} + +.Switch-wrapper--checkedDisabled { + background-color: var(--primary-lighter); +} + +.Table { + display: flex; + flex-grow: 1; + flex-direction: column; + height: 100%; + width: 100%; + z-index: 1; +} + +.Table-grid { + height: 100%; + overflow: hidden; + z-index: 1; +} + +.Table-pagination { + display: flex; + justify-content: center; + background: var(--white); + padding: var(--spacing) 0; + border-top: var(--border); +} + +/* tabs */ + +.TabsWrapper { + display: flex; + flex-grow: 1; + flex-direction: column; +} + +.TabsWrapper-header { + box-sizing: border-box; + display: flex; + align-items: center; + flex-direction: row; +} + +.TabsWrapper-header--withSeparator { + border-bottom: var(--border); +} + +.Tab { + position: relative; + display: flex; + flex-direction: row; + cursor: pointer; + min-width: 40px; + padding: var(--spacing-l) var(--spacing-l) var(--spacing-2); + margin-bottom: calc(-1 * var(--spacing-xs)); + text-align: center; +} + +.Tab:last-child { + margin-right: 0; +} + +.Tab::after { + position: absolute; + left: 0; + bottom: 0; + content: ''; + width: calc(100% - 2 * var(--spacing-l)); + height: var(--spacing-s); + background-color: transparent; + margin-left: var(--spacing-l); + border-top-left-radius: var(--spacing-xs); + border-top-right-radius: var(--spacing-xs); +} + +.Tab:hover::after { + background-color: var(--inverse-lighter); +} + +.Tab:active::after { + background-color: var(--inverse-light); +} + +.Tab--active::after { + background-color: var(--primary); +} + +.Tab:focus { + outline: none; + border-radius: 4px; + /* Using box shadow instead of border as border shifts the div down which cuts the Icon & Text of label. */ + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Tab--active:hover .Tab-selected { + color: var(--primary-dark); +} + +.Tab-selected:hover::after { + background-color: var(--primary-dark); +} + +.Tab:active:focus { + box-shadow: none; +} + +.Tab--disabled { + cursor: not-allowed; +} + +.Tab--disabled:focus { + box-shadow: none; +} + +.Tab--disabled:hover::after { + background-color: transparent; +} + +.Tab-count { + display: flex; + margin-right: var(--spacing-l); +} + +.Tab-count .Badge { + margin-left: 0; + margin-right: 0; +} + +.Tab-icon { + display: flex; + min-width: inherit; + justify-content: space-between; +} + +.Tabs { + display: flex; + box-sizing: border-box; + flex-direction: row; +} + +.Tabs--withSeparator { + border-bottom: var(--border); +} + +.Tab-pills { + cursor: pointer; + margin-right: var(--spacing); +} + +.Tab-pills--disabled { + opacity: 60%; + cursor: not-allowed; +} + +.DismissibleTab-icon--right { + padding: var(--spacing-s); + margin-left: var(--spacing-s); + outline: none; + border-radius: 10px; +} + +.DismissibleTab-icon--default:focus-visible { + outline: var(--spacing-s) solid var(--secondary-shadow); +} + +.DismissibleTab-icon--default:hover { + background-color: var(--secondary); +} + +.DismissibleTab-icon--default:active { + background-color: var(--secondary-dark); +} + +.DismissibleTab-icon--selected:focus-visible { + outline: var(--spacing-s) solid var(--primary-shadow); +} + +.DismissibleTab-icon--selected:hover { + background-color: var(--primary-lighter); +} + +.DismissibleTab-icon--selected:active { + background-color: var(--primary-light); +} + +/* Textarea */ + +.Textarea { + min-height: var(--spacing-3); + width: 100%; + display: block; + font-family: var(--font-family); + font-weight: var(--font-weight-normal); + line-height: var(--font-height); + font-size: var(--font-size); + box-sizing: border-box; + border-radius: var(--spacing-m); + border: var(--border); + color: var(--inverse); + padding: var(--spacing) var(--spacing-l); + resize: none; + cursor: auto; /* this ensures text cursor over text, and pointer cursor over scroll*/ +} + +.Textarea::-moz-placeholder { + color: var(--inverse-lighter); +} + +.Textarea:-ms-input-placeholder { + color: var(--inverse-lighter); +} + +.Textarea::placeholder { + color: var(--inverse-lighter); +} + +.Textarea::-ms-clear { + display: none; +} + +.Textarea:focus-within { + outline: none; + border: var(--spacing-xs) solid var(--primary); + box-shadow: var(--shadow-spread) var(--primary-shadow); +} + +.Textarea:disabled { + color: var(--inverse-lightest); + background: var(--secondary-lightest); + border-color: var(--secondary-light); +} + +.Textarea--error { + border: var(--spacing-xs) solid var(--alert); +} + +.Textarea--error:focus-within { + border: var(--spacing-xs) solid var(--alert); + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.Textarea--resize { + resize: auto; +} + +/* toast */ + +.Toast { + display: flex; + flex-direction: row; + box-sizing: border-box; + word-break: break-word; + width: 360px; + border-radius: var(--spacing-m); + padding-left: var(--spacing-2); + padding-right: var(--spacing-l); + padding-top: var(--spacing-l); + padding-bottom: var(--spacing-l); +} + +.Toast--withMessage { + padding-bottom: var(--spacing-2); +} + +.Toast--info { + background-color: var(--primary); +} + +.Toast--alert { + background-color: var(--alert); +} + +.Toast--success { + background-color: var(--success); +} + +.Toast--warning { + background-color: var(--warning); +} + +.Toast--warning { + color: var(--text); +} + +.Toast-icon { + line-height: var(--font-height-m); +} + +.Toast-icon--left { + margin-right: var(--spacing-2); +} + +.Toast-icon--right { + cursor: pointer; + margin-left: var(--spacing-l); + border-radius: 50%; + display: flex; + align-items: center; + padding-right: var(--spacing-m); + padding-left: var(--spacing-m); + height: var(--spacing-xl); + box-sizing: initial; +} + +.Toast-icon--info, +.Toast-icon--success, +.Toast-icon--alert, +.Toast-icon--default { + color: var(--text-white); +} + +.Toast-icon--warning { + color: var(--warning-darker); +} + +.Toast-close-icon--warning:focus, +.Toast-close-icon--warning:focus-visible { + outline: none; + box-shadow: var(--shadow-spread) rgba(183, 135, 7, 0.16); +} + +.Toast-close-icon--warning:hover, +.Toast-close-icon--warning:active { + background: var(--warning-dark); +} + +.Toast-close-icon--success:focus, +.Toast-close-icon--success:focus-visible { + outline: none; + box-shadow: var(--shadow-spread) rgba(34, 121, 52, 0.16); +} + +.Toast-close-icon--success:hover, +.Toast-close-icon--success:active { + background: var(--success-dark); +} + +.Toast-close-icon--info:focus, +.Toast-close-icon--info:focus-visible { + outline: none; + box-shadow: var(--shadow-spread) rgba(0, 80, 159, 0.16); +} + +.Toast-close-icon--info:hover, +.Toast-close-icon--info:active { + background: var(--primary-dark); +} + +.Toast-close-icon--alert:focus, +.Toast-close-icon--alert:focus-visible { + outline: none; + box-shadow: var(--shadow-spread) rgba(156, 40, 40, 0.16); +} + +.Toast-close-icon--alert:hover, +.Toast-close-icon--alert:active { + background: var(--alert-dark); +} + +.Toast-body { + display: flex; + flex-direction: column; + flex-grow: 1; +} + +.Toast-title { + display: flex; +} + +.Toast-heading { + flex-grow: 1; +} + +.Toast-text { + padding-top: var(--spacing); +} + +.Toast-text--warning, +.Toast-heading--warning { + color: var(--warning-darker) !important; +} + +.Toast-actions { + display: flex; + padding-top: var(--spacing-l); +} + +.Toast-actionButton { + color: var(--text-white); + border-radius: var(--spacing-m); + margin-right: var(--spacing); +} + +.Toast-actionButton:last-child { + margin-right: 0; +} + +.Toast-actionButton--default { + background: var(--inverse-light); +} + +.Toast-actionButton--default:hover, +.Toast-actionButton--default:active { + background: var(--inverse); +} + +.Toast-actionButton--default:focus { + box-shadow: var(--shadow-spread) rgba(134, 134, 134, 0.16); +} + +.Toast-actionButton--info { + background: var(--primary-dark); +} + +.Toast-actionButton--info:hover, +.Toast-actionButton--info:active { + background: var(--primary-darker); +} + +.Toast-actionButton--info:focus { + box-shadow: var(--shadow-spread) rgba(0, 80, 159, 0.16); +} + +.Toast-actionButton--success { + background: var(--success-dark); +} + +.Toast-actionButton--success:hover, +.Toast-actionButton--success:active { + background: var(--success-darker); +} + +.Toast-actionButton--success:focus { + box-shadow: var(--shadow-spread) rgba(34, 121, 52, 0.16); +} + +.Toast-actionButton--alert { + background: var(--alert-dark); +} + +.Toast-actionButton--alert:hover, +.Toast-actionButton--alert:active { + background: var(--alert-darker); +} + +.Toast-actionButton--alert:focus { + box-shadow: var(--shadow-spread) var(--alert-shadow); +} + +.Toast-actionButton--warning { + background: var(--warning-dark); +} + +.Toast-actionButton--warning:hover, +.Toast-actionButton--warning:active { + background: var(--warning-darker); +} + +.Toast-actionButton--warning:focus { + box-shadow: var(--shadow-spread) var(--warning-shadow); +} + +.Tooltip { + max-width: var(--spacing-9); + padding: var(--spacing-m) var(--spacing); + border-radius: var(--spacing-m); + z-index: 500; + background: rgba(47, 47, 47, 0.88); + overflow: hidden; + box-sizing: border-box; + transition: opacity 120ms; + transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9); +} + +.Tooltip-text { + word-break: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; +} + +@-webkit-keyframes tooltip-open-top { + from { + top: 0px; + opacity: 0; + } + to { + top: -4px; + opacity: 1; + } +} + +@keyframes tooltip-open-top { + from { + top: 0px; + opacity: 0; + } + to { + top: -4px; + opacity: 1; + } +} +@-webkit-keyframes tooltip-close-top { + from { + top: -4px; + opacity: 1; + } + to { + top: 0px; + opacity: 0; + } +} +@keyframes tooltip-close-top { + from { + top: -4px; + opacity: 1; + } + to { + top: 0px; + opacity: 0; + } +} + +.Tooltip-animation-open-top { + -webkit-animation: tooltip-open-top 120ms cubic-bezier(0, 0, 0.3, 1); + animation: tooltip-open-top 120ms cubic-bezier(0, 0, 0.3, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} +.Tooltip-animation-close-top { + -webkit-animation: tooltip-close-top 80ms cubic-bezier(0.4, 0.14, 1, 1); + animation: tooltip-close-top 80ms cubic-bezier(0.4, 0.14, 1, 1); +} +@-webkit-keyframes tooltip-open-bottom { + from { + top: -4px; + opacity: 0; + } + to { + top: 0px; + opacity: 1; + } +} +@keyframes tooltip-open-bottom { + from { + top: -4px; + opacity: 0; + } + to { + top: 0px; + opacity: 1; + } +} +@-webkit-keyframes tooltip-close-bottom { + from { + top: 0px; + opacity: 1; + } + to { + top: -4px; + opacity: 0; + } +} +@keyframes tooltip-close-bottom { + from { + top: 0px; + opacity: 1; + } + to { + top: -4px; + opacity: 0; + } +} + +.Tooltip-animation-open-bottom { + -webkit-animation: tooltip-open-bottom 120ms cubic-bezier(0, 0, 0.3, 1); + animation: tooltip-open-bottom 120ms cubic-bezier(0, 0, 0.3, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} +.Tooltip-animation-close-bottom { + -webkit-animation: tooltip-close-bottom 80ms cubic-bezier(0.4, 0.14, 1, 1); + animation: tooltip-close-bottom 80ms cubic-bezier(0.4, 0.14, 1, 1); +} + +@-webkit-keyframes tooltip-open-left { + from { + left: 1px; + opacity: 0; + } + to { + left: -3px; + opacity: 1; + } +} + +@keyframes tooltip-open-left { + from { + left: 1px; + opacity: 0; + } + to { + left: -3px; + opacity: 1; + } +} +@-webkit-keyframes tooltip-close-left { + from { + left: -3px; + opacity: 1; + } + to { + left: 1px; + opacity: 0; + } +} +@keyframes tooltip-close-left { + from { + left: -3px; + opacity: 1; + } + to { + left: 1px; + opacity: 0; + } +} + +.Tooltip-animation-open-left { + -webkit-animation: tooltip-open-left 120ms cubic-bezier(0, 0, 0.3, 1); + animation: tooltip-open-left 120ms cubic-bezier(0, 0, 0.3, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} +.Tooltip-animation-close-left { + -webkit-animation: tooltip-close-left 80ms cubic-bezier(0.4, 0.14, 1, 1); + animation: tooltip-close-left 80ms cubic-bezier(0.4, 0.14, 1, 1); +} + +@-webkit-keyframes tooltip-open-right { + from { + left: -3px; + opacity: 0; + } + to { + left: 1px; + opacity: 1; + } +} + +@keyframes tooltip-open-right { + from { + left: -3px; + opacity: 0; + } + to { + left: 1px; + opacity: 1; + } +} +@-webkit-keyframes tooltip-close-right { + from { + left: 1px; + opacity: 1; + } + to { + left: -3px; + opacity: 0; + } +} +@keyframes tooltip-close-right { + from { + left: 1px; + opacity: 1; + } + to { + left: -3px; + opacity: 0; + } +} + +.Tooltip-animation-open-right { + -webkit-animation: tooltip-open-right 120ms cubic-bezier(0, 0, 0.3, 1); + animation: tooltip-open-right 120ms cubic-bezier(0, 0, 0.3, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} +.Tooltip-animation-close-right { + -webkit-animation: tooltip-close-right 80ms cubic-bezier(0.4, 0.14, 1, 1); + animation: tooltip-close-right 80ms cubic-bezier(0.4, 0.14, 1, 1); +} + +.Tooltip-container { + transition-delay: 400ms; + -webkit-animation-delay: 400ms; + animation-delay: 400ms; +} + +.VerificationCodeInput-Input { + display: inline-flex; + width: 40px; +} + +.VerificationCodeInput-Input .Input-input { + text-align: center; +} + +.VerificationCodeInput-Input .Input-input::-webkit-inner-spin-button, +.VerificationCodeInput-Input .Input-input::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.VerticalNav { + display: inline-flex; + flex-direction: column; +} + +.VerticalNav--expanded { + width: 240px; +} + +.VerticalNav-section { + text-transform: uppercase; + padding-left: var(--spacing-2); + padding-top: var(--spacing-l); + padding-bottom: 6px; + margin-top: var(--spacing); +} + +.VerticalNav-section--border { + border-top: var(--spacing-xs) solid var(--secondary-light); +} + +.MenuItem { + text-decoration: none; + box-sizing: border-box; + display: flex; + align-items: center; + cursor: pointer; + transition: var(--duration--fast-01) var(--standard-productive-curve); + width: 232px; +} + +.MenuItem--horizontal { + height: var(--spacing-3); + padding-right: var(--spacing-l); + padding-left: var(--spacing-l); + border-radius: var(--spacing-2); + margin: 0 var(--spacing-xs); +} + +.MenuItem--vertical { + margin-top: var(--spacing-m); + margin-bottom: var(--spacing-m); +} + +.MenuItem--collapsed { + height: 28px; + width: 28px; + margin-left: 10px; + margin-right: 10px; + justify-content: center; + border-radius: 50%; + cursor: pointer; +} + +.MenuItem--expanded { + padding-left: var(--spacing-2); + padding-top: var(--spacing-m); + padding-bottom: var(--spacing-m); + margin-right: var(--spacing); + justify-content: space-between; + border-radius: 0px var(--spacing-2) var(--spacing-2) 0px; +} + +.MenuItem--disabled { + pointer-events: none; +} + +.MenuItem:hover { + background: var(--secondary); + text-decoration: none; +} + +.MenuItem:active { + background: var(--secondary-dark); +} + +.MenuItem:focus { + box-shadow: var(--shadow-spread) var(--secondary-shadow); + outline: none; +} + +.MenuItem--disabled:focus { + box-shadow: none; +} + +.MenuItem--active { + background: var(--primary-lightest); +} + +.MenuItem--active:hover { + background: var(--primary-lighter); +} + +.MenuItem--active:active { + background: var(--primary-lighter); + color: var(--primary-darker); +} + +.MenuItem--active:active .MenuItem-Text { + color: var(--primary-darker); +} + +.MenuItem--active:focus { + box-shadow: var(--shadow-spread) var(--primary-shadow); + outline: none; +} + +.MenuItem--rounded { + border-radius: var(--spacing-2); +} + +.MenuItem--subMenu { + padding-left: 40px; +} + +.MenuItem .Text { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.MenuItem-count { + margin-right: var(--spacing-m); +} + +.MenuItem-count--disabled { + opacity: 0.6; + color: var(--text); +} + +.align-baseline { + vertical-align: baseline !important; +} + +.align-top { + vertical-align: top !important; +} + +.align-middle { + vertical-align: middle !important; +} + +.align-bottom { + vertical-align: bottom !important; +} + +.align-text-bottom { + vertical-align: text-bottom !important; +} + +.align-text-top { + vertical-align: text-top !important; +} + +.bg-primary { + background-color: var(--primary) !important; +} + +.bg-secondary { + background-color: var(--secondary) !important; +} + +.bg-secondary-lighter { + background-color: var(--secondary-lighter) !important; +} + +.bg-secondary-lightest { + background-color: var(--secondary-lightest) !important; +} + +.bg-success { + background-color: var(--success) !important; +} + +.bg-warning { + background-color: var(--warning) !important; +} + +.bg-danger { + background-color: var(--alert) !important; +} + +.bg-light { + background-color: var(--white) !important; +} + +.bg-dark { + background-color: var(--inverse) !important; +} + +.bg-transparent { + background-color: transparent !important; +} + +.border { + border: var(--border) !important; +} + +.border-top { + border-top: var(--border) !important; +} + +.border-bottom { + border-bottom: var(--border) !important; +} + +.border-right { + border-right: var(--border) !important; +} + +.border-left { + border-left: var(--border) !important; +} + +.border-0 { + border: 0 !important; +} + +.border-top-0 { + border-top: 0 !important; +} + +.border-right-0 { + border-right: 0 !important; +} + +.border-bottom-0 { + border-bottom: 0 !important; +} + +.border-left-0 { + border-left: 0 !important; +} + +.cursor-pointer { + cursor: pointer; +} + +.d-none { + display: none !important; +} + +.d-inline { + display: inline !important; +} + +.d-inline-block { + display: inline-block !important; +} + +.d-block { + display: block !important; +} + +.d-table { + display: table !important; +} + +.d-table-row { + display: table-row !important; +} + +.d-table-cell { + display: table-cell !important; +} + +.d-flex { + display: flex !important; +} + +.d-inline-flex { + display: inline-flex !important; +} + +.flex-fill { + flex: 1 1 auto !important; +} + +.flex-row { + flex-direction: row !important; +} + +.flex-column { + flex-direction: column !important; +} + +.flex-row-reverse { + flex-direction: row-reverse !important; +} + +.flex-column-reverse { + flex-direction: column-reverse !important; +} + +.flex-grow-0 { + flex-grow: 0 !important; +} + +.flex-grow-1 { + flex-grow: 1 !important; +} + +.flex-shrink-0 { + flex-shrink: 0 !important; +} + +.flex-shrink-1 { + flex-shrink: 1 !important; +} + +.flex-wrap { + flex-wrap: wrap !important; +} + +.flex-nowrap { + flex-wrap: nowrap !important; +} + +.flex-wrap-reverse { + flex-wrap: wrap-reverse !important; +} + +.justify-content-start { + justify-content: flex-start !important; +} + +.justify-content-end { + justify-content: flex-end !important; +} + +.justify-content-center { + justify-content: center !important; +} + +.justify-content-between { + justify-content: space-between !important; +} + +.justify-content-around { + justify-content: space-around !important; +} + +.justify-content-evenly { + justify-content: space-evenly !important; +} + +.align-items-start { + align-items: flex-start !important; +} + +.align-items-end { + align-items: flex-end !important; +} + +.align-items-center { + align-items: center !important; +} + +.align-items-baseline { + align-items: baseline !important; +} + +.align-items-stretch { + align-items: stretch !important; +} + +.align-content-start { + align-content: flex-start !important; +} + +.align-content-end { + align-content: flex-end !important; +} + +.align-content-center { + align-content: center !important; +} + +.align-content-between { + align-content: space-between !important; +} + +.align-content-around { + align-content: space-around !important; +} + +.align-content-stretch { + align-content: stretch !important; +} + +.align-self-auto { + align-self: auto !important; +} + +.align-self-start { + align-self: flex-start !important; +} + +.align-self-end { + align-self: flex-end !important; +} + +.align-self-center { + align-self: center !important; +} + +.align-self-baseline { + align-self: baseline !important; +} + +.align-self-stretch { + align-self: stretch !important; +} + +.order-first { + order: -1 !important; +} + +.order-0 { + order: 0 !important; +} + +.order-1 { + order: 1 !important; +} + +.order-2 { + order: 2 !important; +} + +.order-3 { + order: 3 !important; +} + +.order-4 { + order: 4 !important; +} + +.order-5 { + order: 5 !important; +} + +.order-last { + order: 6 !important; +} + +.Row { + display: flex; + flex-wrap: wrap; + flex: 1 100%; +} + +.Col { + position: relative; + box-sizing: border-box; + flex: 1 0 0%; +} + +.Col--auto { + flex: 0 0 auto; + width: auto; +} + +.Col--1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); +} + +.Col--2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); +} + +.Col--3 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 3); +} + +.Col--4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); +} + +.Col--5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); +} + +.Col--6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); +} + +.Col--7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); +} + +.Col--8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); +} + +.Col--9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); +} + +.Col--10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); +} + +.Col--11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); +} + +.Col--12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); +} + +/* if the viewport is between 0 to 575 pixels wide. */ + +@media (max-width: 575px) { + .Col--xs-auto { + flex: 0 0 auto; + width: auto; + } + .Col--xs-1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); + } + .Col--xs-2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); + } + .Col--xs-3 { + flex: 0 0 auto; + } + .Col--xs-4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); + } + .Col--xs-5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); + } + .Col--xs-6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); + } + .Col--xs-7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); + } + .Col--xs-8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); + } + .Col--xs-9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); + } + .Col--xs-10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); + } + .Col--xs-11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); + } + .Col--xs-12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); + } +} + +/* if the viewport is between 576 and 767 pixels wide. */ + +@media (min-width: 576px) and (max-width: 767px) { + .Col--s-auto { + flex: 0 0 auto; + width: auto; + } + .Col--s-1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); + } + .Col--s-2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); + } + .Col--s-3 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 3); + } + .Col--s-4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); + } + .Col--s-5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); + } + .Col--s-6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); + } + .Col--s-7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); + } + .Col--s-8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); + } + .Col--s-9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); + } + .Col--s-10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); + } + .Col--s-11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); + } + .Col--s-12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); + } +} + +/* if the viewport is between 768 and 991 pixels wide. */ + +@media (min-width: 768px) and (max-width: 991px) { + .Col--m-auto { + flex: 0 0 auto; + width: auto; + } + .Col--m-1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); + } + .Col--m-2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); + } + .Col--m-3 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 3); + } + .Col--m-4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); + } + .Col--m-5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); + } + .Col--m-6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); + } + .Col--m-7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); + } + .Col--m-8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); + } + .Col--m-9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); + } + .Col--m-10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); + } + .Col--m-11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); + } + .Col--m-12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); + } +} + +/* if the viewport is between 992 and 1199 pixels wide. */ + +@media (min-width: 992px) and (max-width: 1199px) { + .Col--l-auto { + flex: 0 0 auto; + width: auto; + } + .Col--l-1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); + } + .Col--l-2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); + } + .Col--l-3 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 3); + } + .Col--l-4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); + } + .Col--l-5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); + } + .Col--l-6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); + } + .Col--l-7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); + } + .Col--l-8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); + } + .Col--l-9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); + } + .Col--l-10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); + } + .Col--l-11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); + } + .Col--l-12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); + } +} + +/* if the viewport is 1200 pixels wide or wider. */ + +@media (min-width: 1200px) { + .Col--xl-auto { + flex: 0 0 auto; + width: auto; + } + .Col--xl-1 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 1); + } + .Col--xl-2 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 2); + } + .Col--xl-3 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 3); + } + .Col--xl-4 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 4); + } + .Col--xl-5 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 5); + } + .Col--xl-6 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 6); + } + .Col--xl-7 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 7); + } + .Col--xl-8 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 8); + } + .Col--xl-9 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 9); + } + .Col--xl-10 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 10); + } + .Col--xl-11 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 11); + } + .Col--xl-12 { + flex: 0 0 auto; + width: calc(100% / var(--grid-columns) * 12); + } +} + +.overflow-auto { + overflow: auto !important; +} + +.overflow-hidden { + overflow: hidden !important; +} + +.position-static { + position: static !important; +} + +.position-relative { + position: relative !important; +} + +.position-absolute { + position: absolute !important; +} + +.position-fixed { + position: fixed !important; +} + +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} + +.w-25 { + width: 25% !important; +} + +.w-50 { + width: 50% !important; +} + +.w-75 { + width: 75% !important; +} + +.w-100 { + width: 100% !important; +} + +.w-auto { + width: auto !important; +} + +.mw-100 { + max-width: 100% !important; +} + +.vw-25 { + width: 25vw !important; +} + +.vw-50 { + width: 50vw !important; +} + +.vw-75 { + width: 75vw !important; +} + +.vw-100 { + width: 100vw !important; +} + +.min-vw-100 { + min-width: 100vw !important; +} + +.h-25 { + height: 25% !important; +} + +.h-50 { + height: 50% !important; +} + +.h-75 { + height: 75% !important; +} + +.h-100 { + height: 100% !important; +} + +.h-auto { + height: auto !important; +} + +.mh-100 { + max-height: 100% !important; +} + +.vh-25 { + height: 25vh !important; +} + +.vh-50 { + height: 50vh !important; +} + +.vh-75 { + height: 75vh !important; +} + +.vh-100 { + height: 100vh !important; +} + +.min-vh-100 { + min-height: 100vh !important; +} + +.m-0 { + margin: 0 !important; +} + +.m-1 { + margin: var(--spacing-xs) !important; +} + +.m-2 { + margin: var(--spacing-s) !important; +} + +.m-3 { + margin: var(--spacing-m) !important; +} + +.m-4 { + margin: var(--spacing) !important; +} + +.m-5 { + margin: var(--spacing-l) !important; +} + +.m-6 { + margin: var(--spacing-2) !important; +} + +.m-7 { + margin: var(--spacing-xl) !important; +} + +.m-8 { + margin: var(--spacing-3) !important; +} + +.m-9 { + margin: var(--spacing-4) !important; +} + +.m-10 { + margin: var(--spacing-5) !important; +} + +.m-11 { + margin: var(--spacing-6) !important; +} + +.m-12 { + margin: var(--spacing-7) !important; +} + +.m-13 { + margin: var(--spacing-8) !important; +} + +.m-14 { + margin: var(--spacing-9) !important; +} + +.m-auto { + margin: auto !important; +} + +.mx-0 { + margin-right: 0 !important; + margin-left: 0 !important; +} + +.mx-1 { + margin-right: var(--spacing-xs) !important; + margin-left: var(--spacing-xs) !important; +} + +.mx-2 { + margin-right: var(--spacing-s) !important; + margin-left: var(--spacing-s) !important; +} + +.mx-3 { + margin-right: var(--spacing-m) !important; + margin-left: var(--spacing-m) !important; +} + +.mx-4 { + margin-right: var(--spacing) !important; + margin-left: var(--spacing) !important; +} + +.mx-5 { + margin-right: var(--spacing-l) !important; + margin-left: var(--spacing-l) !important; +} + +.mx-6 { + margin-right: var(--spacing-2) !important; + margin-left: var(--spacing-2) !important; +} + +.mx-7 { + margin-right: var(--spacing-xl) !important; + margin-left: var(--spacing-xl) !important; +} + +.mx-8 { + margin-right: var(--spacing-3) !important; + margin-left: var(--spacing-3) !important; +} + +.mx-9 { + margin-right: var(--spacing-4) !important; + margin-left: var(--spacing-4) !important; +} + +.mx-10 { + margin-right: var(--spacing-5) !important; + margin-left: var(--spacing-5) !important; +} + +.mx-11 { + margin-right: var(--spacing-6) !important; + margin-left: var(--spacing-6) !important; +} + +.mx-12 { + margin-right: var(--spacing-7) !important; + margin-left: var(--spacing-7) !important; +} + +.mx-13 { + margin-right: var(--spacing-8) !important; + margin-left: var(--spacing-8) !important; +} + +.mx-14 { + margin-right: var(--spacing-9) !important; + margin-left: var(--spacing-9) !important; +} + +.mx-auto { + margin-right: auto !important; + margin-left: auto !important; +} + +.my-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + +.my-1 { + margin-top: var(--spacing-xs) !important; + margin-bottom: var(--spacing-xs) !important; +} + +.my-2 { + margin-top: var(--spacing-s) !important; + margin-bottom: var(--spacing-s) !important; +} + +.my-3 { + margin-top: var(--spacing-m) !important; + margin-bottom: var(--spacing-m) !important; +} + +.my-4 { + margin-top: var(--spacing) !important; + margin-bottom: var(--spacing) !important; +} + +.my-5 { + margin-top: var(--spacing-l) !important; + margin-bottom: var(--spacing-l) !important; +} + +.my-6 { + margin-top: var(--spacing-2) !important; + margin-bottom: var(--spacing-2) !important; +} + +.my-7 { + margin-top: var(--spacing-xl) !important; + margin-bottom: var(--spacing-xl) !important; +} + +.my-8 { + margin-top: var(--spacing-3) !important; + margin-bottom: var(--spacing-3) !important; +} + +.my-9 { + margin-top: var(--spacing-4) !important; + margin-bottom: var(--spacing-4) !important; +} + +.my-10 { + margin-top: var(--spacing-5) !important; + margin-bottom: var(--spacing-5) !important; +} + +.my-11 { + margin-top: var(--spacing-6) !important; + margin-bottom: var(--spacing-6) !important; +} + +.my-12 { + margin-top: var(--spacing-7) !important; + margin-bottom: var(--spacing-7) !important; +} + +.my-13 { + margin-top: var(--spacing-8) !important; + margin-bottom: var(--spacing-8) !important; +} + +.my-14 { + margin-top: var(--spacing-9) !important; + margin-bottom: var(--spacing-9) !important; +} + +.my-auto { + margin-top: auto !important; + margin-bottom: auto !important; +} + +.mt-0 { + margin-top: 0 !important; +} + +.mt-1 { + margin-top: var(--spacing-xs) !important; +} + +.mt-2 { + margin-top: var(--spacing-s) !important; +} + +.mt-3 { + margin-top: var(--spacing-m) !important; +} + +.mt-4 { + margin-top: var(--spacing) !important; +} + +.mt-5 { + margin-top: var(--spacing-l) !important; +} + +.mt-6 { + margin-top: var(--spacing-2) !important; +} + +.mt-7 { + margin-top: var(--spacing-xl) !important; +} + +.mt-8 { + margin-top: var(--spacing-3) !important; +} + +.mt-9 { + margin-top: var(--spacing-4) !important; +} + +.mt-10 { + margin-top: var(--spacing-5) !important; +} + +.mt-11 { + margin-top: var(--spacing-6) !important; +} + +.mt-12 { + margin-top: var(--spacing-7) !important; +} + +.mt-13 { + margin-top: var(--spacing-8) !important; +} + +.mt-14 { + margin-top: var(--spacing-9) !important; +} + +.mt-auto { + margin-top: auto !important; +} + +.mb-0 { + margin-bottom: 0 !important; +} + +.mb-1 { + margin-bottom: var(--spacing-xs) !important; +} + +.mb-2 { + margin-bottom: var(--spacing-s) !important; +} + +.mb-3 { + margin-bottom: var(--spacing-m) !important; +} + +.mb-4 { + margin-bottom: var(--spacing) !important; +} + +.mb-5 { + margin-bottom: var(--spacing-l) !important; +} + +.mb-6 { + margin-bottom: var(--spacing-2) !important; +} + +.mb-7 { + margin-bottom: var(--spacing-xl) !important; +} + +.mb-8 { + margin-bottom: var(--spacing-3) !important; +} + +.mb-9 { + margin-bottom: var(--spacing-4) !important; +} + +.mb-10 { + margin-bottom: var(--spacing-5) !important; +} + +.mb-11 { + margin-bottom: var(--spacing-6) !important; +} + +.mb-12 { + margin-bottom: var(--spacing-7) !important; +} + +.mb-13 { + margin-bottom: var(--spacing-8) !important; +} + +.mb-14 { + margin-bottom: var(--spacing-9) !important; +} + +.mb-auto { + margin-bottom: auto !important; +} + +.mr-0 { + margin-right: 0 !important; +} + +.mr-1 { + margin-right: var(--spacing-xs) !important; +} + +.mr-2 { + margin-right: var(--spacing-s) !important; +} + +.mr-3 { + margin-right: var(--spacing-m) !important; +} + +.mr-4 { + margin-right: var(--spacing) !important; +} + +.mr-5 { + margin-right: var(--spacing-l) !important; +} + +.mr-6 { + margin-right: var(--spacing-2) !important; +} + +.mr-7 { + margin-right: var(--spacing-xl) !important; +} + +.mr-8 { + margin-right: var(--spacing-3) !important; +} + +.mr-9 { + margin-right: var(--spacing-4) !important; +} + +.mr-10 { + margin-right: var(--spacing-5) !important; +} + +.mr-11 { + margin-right: var(--spacing-6) !important; +} + +.mr-12 { + margin-right: var(--spacing-7) !important; +} + +.mr-13 { + margin-right: var(--spacing-8) !important; +} + +.mr-14 { + margin-right: var(--spacing-9) !important; +} + +.mr-auto { + margin-right: auto !important; +} + +.ml-0 { + margin-left: 0 !important; +} + +.ml-1 { + margin-left: var(--spacing-xs) !important; +} + +.ml-2 { + margin-left: var(--spacing-s) !important; +} + +.ml-3 { + margin-left: var(--spacing-m) !important; +} + +.ml-4 { + margin-left: var(--spacing) !important; +} + +.ml-5 { + margin-left: var(--spacing-l) !important; +} + +.ml-6 { + margin-left: var(--spacing-2) !important; +} + +.ml-7 { + margin-left: var(--spacing-xl) !important; +} + +.ml-8 { + margin-left: var(--spacing-3) !important; +} + +.ml-9 { + margin-left: var(--spacing-4) !important; +} + +.ml-10 { + margin-left: var(--spacing-5) !important; +} + +.ml-11 { + margin-left: var(--spacing-6) !important; +} + +.ml-12 { + margin-left: var(--spacing-7) !important; +} + +.ml-13 { + margin-left: var(--spacing-8) !important; +} + +.ml-14 { + margin-left: var(--spacing-9) !important; +} + +.ml-auto { + margin-left: auto !important; +} + +.p-0 { + padding: 0 !important; +} + +.p-1 { + padding: var(--spacing-xs) !important; +} + +.p-2 { + padding: var(--spacing-s) !important; +} + +.p-3 { + padding: var(--spacing-m) !important; +} + +.p-4 { + padding: var(--spacing) !important; +} + +.p-5 { + padding: var(--spacing-l) !important; +} + +.p-6 { + padding: var(--spacing-2) !important; +} + +.p-7 { + padding: var(--spacing-xl) !important; +} + +.p-8 { + padding: var(--spacing-3) !important; +} + +.p-9 { + padding: var(--spacing-4) !important; +} + +.p-10 { + padding: var(--spacing-5) !important; +} + +.p-11 { + padding: var(--spacing-6) !important; +} + +.p-12 { + padding: var(--spacing-7) !important; +} + +.p-13 { + padding: var(--spacing-8) !important; +} + +.p-14 { + padding: var(--spacing-9) !important; +} + +.p-auto { + padding: auto !important; +} + +.px-0 { + padding-right: 0 !important; + padding-left: 0 !important; +} + +.px-1 { + padding-right: var(--spacing-xs) !important; + padding-left: var(--spacing-xs) !important; +} + +.px-2 { + padding-right: var(--spacing-s) !important; + padding-left: var(--spacing-s) !important; +} + +.px-3 { + padding-right: var(--spacing-m) !important; + padding-left: var(--spacing-m) !important; +} + +.px-4 { + padding-right: var(--spacing) !important; + padding-left: var(--spacing) !important; +} + +.px-5 { + padding-right: var(--spacing-l) !important; + padding-left: var(--spacing-l) !important; +} + +.px-6 { + padding-right: var(--spacing-2) !important; + padding-left: var(--spacing-2) !important; +} + +.px-7 { + padding-right: var(--spacing-xl) !important; + padding-left: var(--spacing-xl) !important; +} + +.px-8 { + padding-right: var(--spacing-3) !important; + padding-left: var(--spacing-3) !important; +} + +.px-9 { + padding-right: var(--spacing-4) !important; + padding-left: var(--spacing-4) !important; +} + +.px-10 { + padding-right: var(--spacing-5) !important; + padding-left: var(--spacing-5) !important; +} + +.px-11 { + padding-right: var(--spacing-6) !important; + padding-left: var(--spacing-6) !important; +} + +.px-12 { + padding-right: var(--spacing-7) !important; + padding-left: var(--spacing-7) !important; +} + +.px-13 { + padding-right: var(--spacing-8) !important; + padding-left: var(--spacing-8) !important; +} + +.px-14 { + padding-right: var(--spacing-9) !important; + padding-left: var(--spacing-9) !important; +} + +.px-auto { + padding-right: auto !important; + padding-left: auto !important; +} + +.py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +.py-1 { + padding-top: var(--spacing-xs) !important; + padding-bottom: var(--spacing-xs) !important; +} + +.py-2 { + padding-top: var(--spacing-s) !important; + padding-bottom: var(--spacing-s) !important; +} + +.py-3 { + padding-top: var(--spacing-m) !important; + padding-bottom: var(--spacing-m) !important; +} + +.py-4 { + padding-top: var(--spacing) !important; + padding-bottom: var(--spacing) !important; +} + +.py-5 { + padding-top: var(--spacing-l) !important; + padding-bottom: var(--spacing-l) !important; +} + +.py-6 { + padding-top: var(--spacing-2) !important; + padding-bottom: var(--spacing-2) !important; +} + +.py-7 { + padding-top: var(--spacing-xl) !important; + padding-bottom: var(--spacing-xl) !important; +} + +.py-8 { + padding-top: var(--spacing-3) !important; + padding-bottom: var(--spacing-3) !important; +} + +.py-9 { + padding-top: var(--spacing-4) !important; + padding-bottom: var(--spacing-4) !important; +} + +.py-10 { + padding-top: var(--spacing-5) !important; + padding-bottom: var(--spacing-5) !important; +} + +.py-11 { + padding-top: var(--spacing-6) !important; + padding-bottom: var(--spacing-6) !important; +} + +.py-12 { + padding-top: var(--spacing-7) !important; + padding-bottom: var(--spacing-7) !important; +} + +.py-13 { + padding-top: var(--spacing-8) !important; + padding-bottom: var(--spacing-8) !important; +} + +.py-14 { + padding-top: var(--spacing-9) !important; + padding-bottom: var(--spacing-9) !important; +} + +.py-auto { + padding-top: auto !important; + padding-bottom: auto !important; +} + +.pt-0 { + padding-top: 0 !important; +} + +.pt-1 { + padding-top: var(--spacing-xs) !important; +} + +.pt-2 { + padding-top: var(--spacing-s) !important; +} + +.pt-3 { + padding-top: var(--spacing-m) !important; +} + +.pt-4 { + padding-top: var(--spacing) !important; +} + +.pt-5 { + padding-top: var(--spacing-l) !important; +} + +.pt-6 { + padding-top: var(--spacing-2) !important; +} + +.pt-7 { + padding-top: var(--spacing-xl) !important; +} + +.pt-8 { + padding-top: var(--spacing-3) !important; +} + +.pt-9 { + padding-top: var(--spacing-4) !important; +} + +.pt-10 { + padding-top: var(--spacing-5) !important; +} + +.pt-11 { + padding-top: var(--spacing-6) !important; +} + +.pt-12 { + padding-top: var(--spacing-7) !important; +} + +.pt-13 { + padding-top: var(--spacing-8) !important; +} + +.pt-14 { + padding-top: var(--spacing-9) !important; +} + +.pt-auto { + padding-top: auto !important; +} + +.pb-0 { + padding-bottom: 0 !important; +} + +.pb-1 { + padding-bottom: var(--spacing-xs) !important; +} + +.pb-2 { + padding-bottom: var(--spacing-s) !important; +} + +.pb-3 { + padding-bottom: var(--spacing-m) !important; +} + +.pb-4 { + padding-bottom: var(--spacing) !important; +} + +.pb-5 { + padding-bottom: var(--spacing-l) !important; +} + +.pb-6 { + padding-bottom: var(--spacing-2) !important; +} + +.pb-7 { + padding-bottom: var(--spacing-xl) !important; +} + +.pb-8 { + padding-bottom: var(--spacing-3) !important; +} + +.pb-9 { + padding-bottom: var(--spacing-4) !important; +} + +.pb-10 { + padding-bottom: var(--spacing-5) !important; +} + +.pb-11 { + padding-bottom: var(--spacing-6) !important; +} + +.pb-12 { + padding-bottom: var(--spacing-7) !important; +} + +.pb-13 { + padding-bottom: var(--spacing-8) !important; +} + +.pb-14 { + padding-bottom: var(--spacing-9) !important; +} + +.pb-auto { + padding-bottom: auto !important; +} + +.pr-0 { + padding-right: 0 !important; +} + +.pr-1 { + padding-right: var(--spacing-xs) !important; +} + +.pr-2 { + padding-right: var(--spacing-s) !important; +} + +.pr-3 { + padding-right: var(--spacing-m) !important; +} + +.pr-4 { + padding-right: var(--spacing) !important; +} + +.pr-5 { + padding-right: var(--spacing-l) !important; +} + +.pr-6 { + padding-right: var(--spacing-2) !important; +} + +.pr-7 { + padding-right: var(--spacing-xl) !important; +} + +.pr-8 { + padding-right: var(--spacing-3) !important; +} + +.pr-9 { + padding-right: var(--spacing-4) !important; +} + +.pr-10 { + padding-right: var(--spacing-5) !important; +} + +.pr-11 { + padding-right: var(--spacing-6) !important; +} + +.pr-12 { + padding-right: var(--spacing-7) !important; +} + +.pr-13 { + padding-right: var(--spacing-8) !important; +} + +.pr-14 { + padding-right: var(--spacing-9) !important; +} + +.pr-auto { + padding-right: auto !important; +} + +.pl-0 { + padding-left: 0 !important; +} + +.pl-1 { + padding-left: var(--spacing-xs) !important; +} + +.pl-2 { + padding-left: var(--spacing-s) !important; +} + +.pl-3 { + padding-left: var(--spacing-m) !important; +} + +.pl-4 { + padding-left: var(--spacing) !important; +} + +.pl-5 { + padding-left: var(--spacing-l) !important; +} + +.pl-6 { + padding-left: var(--spacing-2) !important; +} + +.pl-7 { + padding-left: var(--spacing-xl) !important; +} + +.pl-8 { + padding-left: var(--spacing-3) !important; +} + +.pl-9 { + padding-left: var(--spacing-4) !important; +} + +.pl-10 { + padding-left: var(--spacing-5) !important; +} + +.pl-11 { + padding-left: var(--spacing-6) !important; +} + +.pl-12 { + padding-left: var(--spacing-7) !important; +} + +.pl-13 { + padding-left: var(--spacing-8) !important; +} + +.pl-14 { + padding-left: var(--spacing-9) !important; +} + +.pl-auto { + padding-left: auto !important; +} + +.text-align-start { + text-align: start !important; +} + +.text-align-end { + text-align: end !important; +} + +.text-align-center { + text-align: center !important; +} + +.text-align-justify { + text-align: justify !important; +} + +.text-align-left { + text-align: left !important; +} + +.text-align-right { + text-align: right !important; +} + +.color-white { + color: var(--white); +} + +.color-primary { + color: var(--primary); +} + +.color-secondary { + color: var(--secondary); +} + +.color-success { + color: var(--success); +} + +.color-alert { + color: var(--alert); +} + +.color-warning { + color: var(--warning); +} + +.color-accent1 { + color: var(--accent1); +} + +.color-accent2 { + color: var(--accent2); +} + +.color-accent3 { + color: var(--accent3); +} + +.color-accent4 { + color: var(--accent4); +} + +.color-inverse { + color: var(--inverse); +} + +/* dark */ + +.color-primary-dark { + color: var(--primary-dark); +} + +.color-secondary-dark { + color: var(--secondary-dark); +} + +.color-success-dark { + color: var(--success-dark); +} + +.color-alert-dark { + color: var(--alert-dark); +} + +.color-warning-dark { + color: var(--warning-dark); +} + +.color-accent1-dark { + color: var(--accent1-dark); +} + +.color-accent2-dark { + color: var(--accent2-dark); +} + +.color-accent3-dark { + color: var(--accent3-dark); +} + +.color-accent4-dark { + color: var(--accent4-dark); +} + +/* darker */ + +.color-primary-darker { + color: var(--primary-darker); +} + +.color-success-darker { + color: var(--success-darker); +} + +.color-alert-darker { + color: var(--alert-darker); +} + +.color-warning-darker { + color: var(--warning-darker); +} + +.color-accent1-darker { + color: var(--accent1-darker); +} + +.color-accent2-darker { + color: var(--accent2-darker); +} + +.color-accent3-darker { + color: var(--accent3-darker); +} + +.color-accent4-darker { + color: var(--accent4-darker); +} + +/* light */ + +.color-primary-light { + color: var(--primary-light); +} + +.color-secondary-light { + color: var(--secondary-light); +} + +.color-success-light { + color: var(--success-light); +} + +.color-alert-light { + color: var(--alert-light); +} + +.color-warning-light { + color: var(--warning-light); +} + +.color-accent1-light { + color: var(--accent1-light); +} + +.color-accent2-light { + color: var(--accent2-light); +} + +.color-accent3-light { + color: var(--accent3-light); +} + +.color-accent4-light { + color: var(--accent4-light); +} + +.color-inverse-light { + color: var(--inverse-light); +} + +/* lighter */ +.color-primary-lighter { + color: var(--primary-lighter); +} + +.color-secondary-lighter { + color: var(--secondary-lighter); +} + +.color-success-lighter { + color: var(--success-lighter); +} + +.color-alert-lighter { + color: var(--alert-lighter); +} + +.color-warning-lighter { + color: var(--warning-lighter); +} + +.color-accent1-lighter { + color: var(--accent1-lighter); +} + +.color-accent2-lighter { + color: var(--accent2-lighter); +} + +.color-accent3-lighter { + color: var(--accent3-lighter); +} + +.color-accent4-lighter { + color: var(--accent4-lighter); +} + +.color-inverse-lighter { + color: var(--inverse-lighter); +} + +/* lightest */ +.color-primary-lightest { + color: var(--primary-lightest); +} + +.color-secondary-lightest { + color: var(--secondary-lightest); +} + +.color-success-lightest { + color: var(--success-lightest); +} + +.color-alert-lightest { + color: var(--alert-lightest); +} + +.color-warning-lightest { + color: var(--warning-lightest); +} + +.color-accent1-lightest { + color: var(--accent1-lightest); +} + +.color-accent2-lightest { + color: var(--accent2-lightest); +} + +.color-accent3-lightest { + color: var(--accent3-lightest); +} + +.color-accent4-lightest { + color: var(--accent4-lightest); +} + +.color-inverse-lightest { + color: var(--inverse-lightest); +} + +/* shadow */ +.color-primary-shadow { + color: var(--primary-shadow); +} + +.color-secondary-shadow { + color: var(--secondary-shadow); +} + +.color-success-shadow { + color: var(--success-shadow); +} + +.color-alert-shadow { + color: var(--alert-shadow); +} + +.color-warning-shadow { + color: var(--warning-shadow); +} + +.color-accent1-shadow { + color: var(--accent1-shadow); +} + +.color-accent2-shadow { + color: var(--accent2-shadow); +} + +.color-accent3-shadow { + color: var(--accent3-shadow); +} + +.color-accent4-shadow { + color: var(--accent4-shadow); +} + +.color-inverse-shadow { + color: var(--inverse-shadow); +} + +/** utility **/ + +.hide-scroll-bar::-webkit-scrollbar { + height: 0px; + /* Remove scrollbar space */ + background: transparent; + /* Optional: just make scrollbar invisible */ +} + +.hide-scroll-bar { + -ms-overflow-style: none; + scrollbar-width: none; +} + +.ellipsis { + overflow: hidden; + text-overflow: ellipsis; +} + +.ellipsis--noWrap { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.cursor-pointer { + cursor: pointer; +} + +.white-space-nowrap { + white-space: nowrap; +} + +/*# sourceMappingURL=index.css.map */ diff --git a/css/dist/index.css.map b/css/dist/index.css.map new file mode 100644 index 0000000000..ea85207cf5 --- /dev/null +++ b/css/dist/index.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.css"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;EACE,gBAAgB;EAChB,qBAAqB;EACrB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,cAAc;EACd,mBAAmB;EACnB,qBAAqB;EACrB,oBAAoB;EACpB,sBAAsB;EACtB,uBAAuB;EACvB,gBAAgB;EAChB,qBAAqB;EACrB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,gBAAgB;EAChB,qBAAqB;EACrB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,eAAe;EACf,oBAAoB;EACpB,sBAAsB;EACtB,qBAAqB;EACrB,uBAAuB;EACvB,wBAAwB;EACxB,eAAe;EACf,oBAAoB;EACpB,sBAAsB;EACtB,qBAAqB;EACrB,uBAAuB;EACvB,wBAAwB;EACxB,gBAAgB;EAChB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,gBAAgB;EAChB,qBAAqB;EACrB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,oBAAoB;EACpB,gBAAgB;EAChB,qBAAqB;EACrB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,gBAAgB;EAChB,qBAAqB;EACrB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,yBAAyB;EACzB,gBAAgB;;EAEhB,gBAAgB;AAClB,EAAE,gBAAgB;;AAElB;EACE,WAAW;;EAEX,YAAY;EACZ,qBAAqB;EACrB,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,uBAAuB;EACvB,uBAAuB;EACvB,uBAAuB;EACvB,sBAAsB;EACtB,uBAAuB;EACvB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;EAC7C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;AACF;;AAEA,wDAAwD;;AAExD;EACE;IACE,cAAc;IACd,WAAW;EACb;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;AACF;;AAEA,yDAAyD;;AAEzD;EACE;IACE,cAAc;IACd,WAAW;EACb;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;EACA;IACE,cAAc;IACd,4CAA4C;EAC9C;AACF;;AAEA,kDAAkD;;AAElD;EACE;IACE,cAAc;IACd,WAAW;EACb;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C;EACA;IACE,cAAc;IACd,2CAA2C;EAC7C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8B;AAChC;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,8BAA8B;AAChC;;AAEA,WAAW;AACX;EACE,4BAA4B;AAC9B;;AAEA;EACE,8BAA8B;AAChC;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,4BAA4B;AAC9B;;AAEA,cAAc;;AAEd;EACE,WAAW;EACX,2BAA2B;EAC3B,uBAAuB;EACvB,4CAA4C;AAC9C;;AAEA;EACE,wBAAwB;EACxB,qBAAqB;AACvB;;AAEA;EACE,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,mBAAmB;AACrB","file":"index.css","sourcesContent":["/**** Colors ****/\n:root {\n --haldi: #ffc208;\n --haldi-dark: #b78707;\n --haldi-darker: #6b4a06;\n --haldi-light: #ffd462;\n --haldi-lighter: #ffe597;\n --haldi-lightest: #fff5c7;\n --jal: #0070dd;\n --jal-dark: #00509f;\n --jal-darker: #003365;\n --jal-light: #4f9de7;\n --jal-lighter: #97c5f0;\n --jal-lightest: #dcecf9;\n --jamun: #7a53b2;\n --jamun-dark: #644491;\n --jamun-darker: #4e3572;\n --jamun-light: #9d7ec6;\n --jamun-lighter: #bfaada;\n --jamun-lightest: #e0d8ee;\n --mirch: #d93737;\n --mirch-dark: #9c2828;\n --mirch-darker: #631919;\n --mirch-light: #eb776c;\n --mirch-lighter: #f7ada5;\n --mirch-lightest: #f9e2e2;\n --neel: #3d51d4;\n --neel-dark: #2c3a98;\n --neel-darker: #1c2561;\n --neel-light: #7583e1;\n --neel-lighter: #abb4ed;\n --neel-lightest: #e2e5f9;\n --neem: #2ea843;\n --neem-dark: #227934;\n --neem-darker: #154d26;\n --neem-light: #71c077;\n --neem-lighter: #a5d8aa;\n --neem-lightest: #d7efdf;\n --night: #2f2f2f;\n --night-light: #595959;\n --night-lighter: #868686;\n --night-lightest: #a6a6a6;\n --nimbu: #82c91e;\n --nimbu-dark: #578715;\n --nimbu-darker: #304a0b;\n --nimbu-light: #a6d763;\n --nimbu-lighter: #c6e599;\n --nimbu-lightest: #e3f3ce;\n --shadow-0: #ffffff;\n --shadow-10: #ffffff;\n --shadow-20: #ffffff;\n --shadow-30: #ffffff;\n --stone: #d5d5d5;\n --stone-dark: #c5c5c5;\n --stone-light: #e5e5e5;\n --stone-lighter: #ececec;\n --stone-lightest: #f4f4f4;\n --tawak: #f07d00;\n --tawak-dark: #b35f13;\n --tawak-darker: #743208;\n --tawak-light: #feac5f;\n --tawak-lighter: #ffc998;\n --tawak-lightest: #fde6ce;\n --white: #ffffff;\n\n /**** Fonts ****/\n} /* close :root */\n\n:root {\n /* Colors */\n\n /* default */\n --primary: var(--jal);\n --secondary: var(--stone);\n --success: var(--neem);\n --alert: var(--mirch);\n --warning: var(--haldi);\n --accent1: var(--tawak);\n --accent2: var(--jamun);\n --accent3: var(--neel);\n --accent4: var(--nimbu);\n --inverse: var(--night);\n\n /* dark */\n --primary-dark: var(--jal-dark);\n --secondary-dark: var(--stone-dark);\n --success-dark: var(--neem-dark);\n --alert-dark: var(--mirch-dark);\n --warning-dark: var(--haldi-dark);\n --accent1-dark: var(--tawak-dark);\n --accent2-dark: var(--jamun-dark);\n --accent3-dark: var(--neel-dark);\n --accent4-dark: var(--nimbu-dark);\n\n /* darker */\n --primary-darker: var(--jal-darker);\n --success-darker: var(--neem-darker);\n --alert-darker: var(--mirch-darker);\n --warning-darker: var(--haldi-darker);\n --accent1-darker: var(--tawak-darker);\n --accent2-darker: var(--jamun-darker);\n --accent3-darker: var(--neel-darker);\n --accent4-darker: var(--nimbu-darker);\n\n /* light */\n --primary-light: var(--jal-light);\n --secondary-light: var(--stone-light);\n --success-light: var(--neem-light);\n --alert-light: var(--mirch-light);\n --warning-light: var(--haldi-light);\n --accent1-light: var(--tawak-light);\n --accent2-light: var(--jamun-light);\n --accent3-light: var(--neel-light);\n --accent4-light: var(--nimbu-light);\n --inverse-light: var(--night-light);\n\n /* lighter */\n --primary-lighter: var(--jal-lighter);\n --secondary-lighter: var(--stone-lighter);\n --success-lighter: var(--neem-lighter);\n --alert-lighter: var(--mirch-lighter);\n --warning-lighter: var(--haldi-lighter);\n --accent1-lighter: var(--tawak-lighter);\n --accent2-lighter: var(--jamun-lighter);\n --accent3-lighter: var(--neel-lighter);\n --accent4-lighter: var(--nimbu-lighter);\n --inverse-lighter: var(--night-lighter);\n\n /* lightest */\n --primary-lightest: var(--jal-lightest);\n --secondary-lightest: var(--stone-lightest);\n --success-lightest: var(--neem-lightest);\n --alert-lightest: var(--mirch-lightest);\n --warning-lightest: var(--haldi-lightest);\n --accent1-lightest: var(--tawak-lightest);\n --accent2-lightest: var(--jamun-lightest);\n --accent3-lightest: var(--neel-lightest);\n --accent4-lightest: var(--nimbu-lightest);\n --inverse-lightest: var(--night-lightest);\n\n /* shadow */\n --primary-shadow: color-mod(var(--primary) a(0.16));\n --secondary-shadow: color-mod(var(--secondary) a(0.16));\n --success-shadow: color-mod(var(--success) a(0.16));\n --alert-shadow: color-mod(var(--alert) a(0.16));\n --warning-shadow: color-mod(var(--warning) a(0.16));\n --accent1-shadow: color-mod(var(--accent1) a(0.16));\n --accent2-shadow: color-mod(var(--accent2) a(0.16));\n --accent3-shadow: color-mod(var(--accent3) a(0.16));\n --accent4-shadow: color-mod(var(--accent4) a(0.16));\n --inverse-shadow: color-mod(var(--inverse) a(0.16));\n\n /* Text colors */\n --text: var(--night);\n --text-subtle: var(--night-lighter);\n --text-link: var(--primary);\n --text-disabled: var(--inverse-lightest);\n --text-destructive: var(--alert);\n --text-white: var(--white);\n --text-success: var(--success);\n\n /* spacing */\n --spacing-xs: 1px;\n --spacing-s: 2px;\n --spacing-m: 4px;\n --spacing: 8px;\n --spacing-l: 12px;\n /* 8 * 2 */\n --spacing-2: 16px;\n /* 8 * 3 */\n --spacing-xl: 24px;\n /* 8 * 4 */\n --spacing-3: 32px;\n /* 8 * 6 */\n --spacing-4: 48px;\n /* 8 * 8 */\n --spacing-5: 64px;\n /* 8 * 12 */\n --spacing-6: 96px;\n /* 8 * 16 */\n --spacing-7: 128px;\n /* 8 * 22 */\n --spacing-8: 176px;\n /* 8 * 32 */\n --spacing-9: 256px;\n\n /* Fonts */\n --font-family: 'Nunito Sans';\n\n /* Font size */\n --font-size-xxs: 4px;\n --font-size-xs: 8px;\n --font-size-s: 12px;\n --font-size: 14px;\n --font-size-m: 16px;\n --font-size-l: 20px;\n --font-size-xl: 28px;\n --font-size-xxl: 32px;\n --font-size-xxxl: 40px;\n\n /* Font weight */\n --font-weight-normal: 400;\n --font-weight-medium: 600;\n --font-weight-bold: 700;\n --font-weight-bolder: 800;\n\n /* Line height or Font height */\n --font-height-normal: normal;\n --font-height-s: 16px;\n --font-height: 20px;\n --font-height-m: 24px;\n --font-height-l: 32px;\n --font-height-xl: 40px;\n --font-height-xxl: 48px;\n\n /* Letter spacing */\n --letter-spacing: 0.5px;\n\n /* body settings */\n\n /* border */\n --border: var(--spacing-xs) solid var(--secondary);\n --border-s: var(--spacing-s) solid var(--secondary);\n\n /* padding */\n\n /* shadow */\n --shadow-s: 0 1px 4px 0 rgba(0, 0, 0, 0.16);\n --shadow-m: 0 2px 8px 0 rgba(0, 0, 0, 0.16);\n --shadow-l: 0 4px 16px 0 rgba(0, 0, 0, 0.16);\n --shadow-spread: 0 0 0 3px;\n\n /* \n Grid breakpoints\n Define the minimum dimensions at which your layout will change,\n adapting to different screen sizes, for use in media queries. \n */\n\n --grid-s-breakpoint: 576px;\n --grid-m-breakpoint: 768px;\n --grid-l-breakpoint: 992px;\n --grid-xl-breakpoint: 1200px;\n\n /* \n Grid columns\n Set the number of columns and specify the width of the gutters. \n */\n\n --grid-columns: 12;\n\n /* Undefined colors */\n --card-subdued-bg: #fcfafa;\n\n /* Transparancy (Opacity) */\n --transparent-58: 0.58;\n\n /* Transition curve timing function */\n /* Use standard-easing when an element is visible from the beginning to the end of a motion. Ex-Expanding cards. */\n --standard-productive-curve: cubic-bezier(0.2, 0, 0.38, 0.9);\n --standard-expressive-curve: cubic-bezier(0.4, 0.14, 0.3, 1);\n /* Use entrance-easing when an element quickly appears and slows down to a stop. Ex-when adding elements to the view, such as a modal appearing. */\n --entrance-productive-curve: cubic-bezier(0, 0, 0.38, 0.9);\n --entrance-expressive-curve: cubic-bezier(0, 0, 0.3, 1);\n /* Use exit-easing when removing elements from view, such as closing a modal or toaster. */\n --exit-productive-curve: cubic-bezier(0.2, 0, 1, 0.9);\n --exit-expressive-curve: cubic-bezier(0.4, 0.14, 1, 1);\n\n /* Transition duration */\n --duration--fast-01: 80ms;\n --duration--fast-02: 120ms;\n --duration--moderate-01: 160ms;\n --duration--moderate-02: 240ms;\n --duration--slow-01: 400ms;\n --duration--slow-02: 720ms;\n}\n\n@font-face {\n font-family: 'Material Symbols Outlined';\n font-style: normal;\n src: url(MaterialSymbolsOutlined.ttf);\n}\n\n@font-face {\n font-family: 'Material Symbols Rounded';\n font-style: normal;\n src: url(MaterialSymbolsRounded.ttf);\n}\n\n.material-icons {\n font-family: 'Material Icons';\n font-weight: normal;\n font-style: normal;\n font-size: 16px; /* preferred icon size */\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-feature-settings: 'liga';\n -webkit-font-smoothing: antialiased;\n}\n\n.material-icons-outlined {\n font-family: 'Material Symbols Outlined';\n font-size: 24px; /* Preferred icon size */\n}\n\n.material-icons-rounded {\n font-family: 'Material Symbols Rounded';\n font-size: 24px; /* Preferred icon size */\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n\n.fade-in {\n animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve);\n}\n\n.fade-out {\n animation: fadeOut var(--duration--fast-02) var(--standard-expressive-curve);\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-1 {\n opacity: 1;\n}\n\n@keyframes exitLeftCurve {\n from {\n opacity: 1;\n left: 0;\n }\n\n to {\n opacity: 0;\n left: calc(-1 * var(--spacing-2));\n }\n}\n\n@keyframes entryLeftCurve {\n from {\n left: var(--spacing-2);\n }\n\n to {\n left: 0;\n }\n}\n\n@keyframes exitRightCurve {\n from {\n opacity: 1;\n left: 0;\n }\n\n to {\n opacity: 0;\n left: var(--spacing-2);\n }\n}\n\n@keyframes entryRightCurve {\n from {\n left: calc(-1 * var(--spacing-2));\n }\n\n to {\n left: 0;\n }\n}\n\n.slideOut-left {\n animation: exitLeftCurve var(--duration--moderate-02) var(--exit-expressive-curve);\n animation-fill-mode: forwards;\n}\n\n.slideIn-left {\n animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve),\n entryLeftCurve var(--duration--moderate-02) var(--entrance-expressive-curve);\n}\n\n.slideOut-right {\n animation: exitRightCurve var(--duration--moderate-02) var(--exit-expressive-curve);\n animation-fill-mode: forwards;\n}\n\n.slideIn-right {\n animation: fadeIn var(--duration--moderate-01) var(--entrance-expressive-curve),\n entryRightCurve var(--duration--moderate-02) var(--entrance-expressive-curve);\n}\n\n.ss {\n background: red;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text);\n line-height: var(--font-height);\n margin: 0;\n padding: 0;\n font-size: var(--font-size);\n}\n\n/* Text */\n.Text {\n margin: 0;\n line-height: var(--font-height);\n}\n\n.Text--small {\n font-size: var(--font-size-s);\n line-height: var(--font-height-normal);\n}\n\n.Text--regular {\n font-size: var(--font-size);\n line-height: var(--font-height);\n}\n\n.Text--large {\n font-size: var(--font-size-m);\n line-height: var(--font-height-m);\n}\n\n.Text--default {\n color: var(--text);\n}\n\n.Text--subtle {\n color: var(--text-subtle);\n}\n\n.Text--disabled {\n color: var(--text-disabled);\n}\n\n.Text--destructive {\n color: var(--text-destructive);\n}\n\n.Text--white {\n color: var(--text-white);\n}\n\n.Text--success {\n color: var(--text-success);\n}\n\n.Text--link {\n color: var(--text-link);\n}\n\n.Text--medium {\n font-weight: var(--font-weight-medium);\n}\n\n.Text--strong {\n font-weight: var(--font-weight-bold);\n}\n\n/* Heading */\n.Heading {\n margin: 0;\n}\n\n.Heading--s {\n font-weight: var(--font-weight-bold);\n font-size: var(--font-size-m);\n line-height: var(--font-height-m);\n}\n\n.Heading--m {\n font-weight: var(--font-weight-medium);\n font-size: var(--font-size-l);\n line-height: var(--font-height-l);\n}\n\n.Heading--l {\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size-xl);\n line-height: var(--font-height-xl);\n}\n\n.Heading--xl {\n font-weight: var(--font-weight-medium);\n font-size: var(--font-size-xxl);\n line-height: var(--font-height-xxl);\n}\n\n.Heading--xxl {\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size-xxxl);\n line-height: var(--font-height-xxl);\n}\n\n.Heading--default {\n color: var(--text);\n}\n\n.Heading--subtle {\n color: var(--text-subtle);\n}\n\n.Heading--disabled {\n color: var(--text-disabled);\n}\n\n.Heading--white {\n color: var(--text-white);\n}\n\n/* Label */\n.Label {\n display: inline-flex;\n}\n\n.Label--withInput {\n margin-bottom: var(--spacing-m);\n}\n\n.Label--optional {\n align-items: center;\n}\n\n.Label-text {\n line-height: var(--font-height-s);\n font-weight: var(--font-weight-medium);\n word-break: break-all;\n}\n\n.Label-optionalText {\n line-height: var(--font-height-s);\n margin-left: var(--spacing-m);\n}\n\n.Label--disabled {\n color: var(--text-disabled);\n}\n\n.Label-requiredIndicator {\n height: 6px;\n width: 6px;\n border-radius: 50%;\n background: var(--alert);\n margin-left: var(--spacing-m);\n margin-bottom: 6px;\n display: inline-flex;\n}\n\n/* Caption */\n.Caption {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n}\n\n.Caption--withInput {\n margin-top: var(--spacing-m);\n}\n\n.Caption-icon {\n display: flex;\n align-content: center;\n margin-right: var(--spacing-m);\n}\n\n.Caption--hidden {\n display: none;\n}\n\n/* Subheading */\n.Subheading {\n margin: 0;\n font-weight: var(--font-weight-bolder);\n font-size: var(--spacing-l);\n line-height: var(--font-height-m);\n letter-spacing: var(--letter-spacing);\n text-transform: uppercase;\n}\n\n.Subheading--default {\n color: var(--text);\n}\n\n.Subheading--subtle {\n color: var(--text-subtle);\n}\n\n.Subheading--disabled {\n color: var(--text-disabled);\n}\n\n.Subheading--white {\n color: var(--text-white);\n}\n\n.PopperWrapper-trigger {\n display: inline-flex;\n flex-grow: 1;\n}\n\n.Overlay-container {\n display: flex;\n position: relative;\n flex-direction: row;\n justify-content: center;\n z-index: 1500;\n}\n\n.Overlay-container--open {\n animation-timing-function: cubic-bezier(0, 0, 0.3, 1);\n}\n\n.Overlay-container--close {\n animation-timing-function: cubic-bezier(0.4, 0.14, 1, 1);\n}\n\n::-webkit-scrollbar {\n width: var(--spacing-2);\n}\n\n::-webkit-scrollbar-thumb {\n border: var(--spacing-s) solid rgba(0, 0, 0, 0);\n background-clip: padding-box;\n border-radius: var(--spacing);\n background-color: var(--secondary);\n}\n\n.Legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n width: fit-content;\n}\n\n.Legend-icon {\n border-radius: var(--spacing-s);\n margin-right: var(--spacing);\n}\n\n.ProgressBar {\n width: 100%;\n border-radius: var(--spacing-m);\n background: var(--secondary-lighter);\n}\n\n.ProgressBar-indicator {\n background-color: var(--primary);\n border-radius: var(--spacing-m);\n transition: var(--duration--slow-01) var(--standard-expressive-curve);\n}\n\n.ProgressBar-indicator--small {\n height: var(--spacing-s);\n}\n\n.ProgressBar-indicator--regular {\n height: var(--spacing);\n}\n\n.ActionButton {\n display: flex;\n flex-shrink: 0;\n overflow: hidden;\n user-select: none;\n cursor: pointer;\n color: var(--inverse-lighter);\n border-radius: 50%;\n padding: var(--spacing-s);\n}\n\n.ActionButton:focus-visible,\n.ActionButton:focus {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n}\n\n.ActionButton:hover {\n background-color: var(--secondary);\n}\n\n.ActionButton:active {\n background-color: var(--secondary-dark);\n}\n\n.ActionCard {\n cursor: pointer;\n border-radius: var(--spacing-m);\n width: 100%;\n border: var(--spacing-xs) solid var(--secondary-dark);\n}\n\n.ActionCard:hover {\n box-shadow: var(--shadow-m);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.ActionCard:focus,\n.ActionCard:focus-visible {\n outline: none;\n border: var(--spacing-xs) solid var(--secondary-light);\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.ActionCard:active {\n box-shadow: var(--shadow-l);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.ActionCard--disabled {\n pointer-events: none;\n position: relative;\n border: var(--spacing-xs) solid var(--secondary-lighter);\n}\n\n.ActionCard-overlay--disabled {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n opacity: 50%;\n background: var(--secondary-light);\n}\n\n/* badge */\n\n.Avatar {\n display: flex;\n flex-grow: 0;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n text-transform: uppercase;\n border-radius: 50%;\n cursor: default;\n}\n\n.Avatar--regular {\n height: var(--spacing-3);\n width: var(--spacing-3);\n}\n\n.Avatar--tiny {\n height: var(--spacing-xl);\n width: var(--spacing-xl);\n}\n\n.Avatar--disabled {\n cursor: default;\n}\n\n.Avatar--primary {\n background: var(--primary);\n}\n\n.Avatar--secondary {\n background: var(--secondary-light);\n}\n\n.Avatar--success {\n background: var(--success);\n}\n\n.Avatar--alert {\n background: var(--alert);\n}\n\n.Avatar--warning {\n background: var(--warning);\n}\n\n.Avatar--accent1 {\n background: var(--accent1);\n}\n\n.Avatar--accent2 {\n background: var(--accent2);\n}\n\n.Avatar--accent3 {\n background: var(--accent3);\n}\n\n.Avatar--accent4 {\n background: var(--accent4);\n}\n\n.Avatar-content--tiny {\n line-height: var(--font-height-s) !important;\n font-size: 10px !important;\n}\n\n.Avatar-content--secondary {\n color: var(--inverse) !important;\n}\n\n.Avatar-content--success {\n color: var(--success-darker) !important;\n}\n\n.Avatar-content--warning {\n color: var(--warning-darker) !important;\n}\n\n.Avatar-content--accent1 {\n color: var(--accent1-darker) !important;\n}\n\n.Avatar-content--accent4 {\n color: var(--accent4-darker) !important;\n}\n\n.AvatarGroup-item {\n border-radius: 50%;\n}\n\n.AvatarGroup-item--regular {\n margin-right: calc(var(--spacing-m) * -1);\n}\n\n.AvatarGroup-item--tiny {\n margin-right: calc(var(--spacing-s) * -1);\n}\n\n.AvatarGroup-Popper {\n max-width: var(--spacing-9);\n overflow: hidden;\n box-sizing: border-box;\n word-break: break-word;\n hyphens: auto;\n}\n\n.AvatarGroup-TextWrapper {\n padding-right: var(--spacing);\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n overflow-y: auto;\n}\n\n.AvatarCount-wrapper {\n border-radius: 50%;\n}\n\n@keyframes backdrop-open {\n from {\n opacity: 0;\n }\n to {\n opacity: 60;\n }\n}\n\n@keyframes backdrop-close {\n from {\n opacity: 60;\n }\n to {\n opacity: 0;\n }\n}\n\n.Backdrop {\n background-color: color-mod(var(--inverse) a(0.6));\n height: 100vh;\n width: 100vw;\n position: fixed;\n left: 0;\n top: 0;\n display: none;\n align-items: center;\n z-index: 1000;\n overflow: auto;\n flex-direction: column;\n justify-content: center;\n touch-action: none;\n visibility: hidden;\n}\n\n.Backdrop--open {\n display: flex;\n visibility: visible;\n}\n\n.Backdrop-animation--open {\n animation: backdrop-open var(--duration--fast-02) var(--entrance-expressive-curve);\n}\n\n.Backdrop-animation--close {\n animation: backdrop-close var(--duration--fast-02) var(--exit-expressive-curve);\n}\n\n/* badge */\n\n.Badge {\n /* 160px */\n max-width: calc(var(--spacing-2) * 10);\n /* truncate */\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: var(--font-size-s);\n line-height: var(--font-height-s);\n text-transform: uppercase;\n padding-right: var(--spacing-m);\n padding-left: var(--spacing-m);\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n border-radius: var(--spacing-m);\n display: inline-block;\n box-sizing: border-box;\n font-weight: var(--font-weight-bold);\n cursor: default;\n}\n\n.Badge--primary {\n background: var(--primary);\n color: var(--white);\n}\n\n.Badge--secondary {\n background: var(--secondary-light);\n color: var(--inverse);\n}\n\n.Badge--success {\n background: var(--success);\n color: var(--white);\n}\n\n.Badge--alert {\n background: var(--alert);\n color: var(--white);\n}\n\n.Badge--warning {\n background: var(--warning);\n color: var(--warning-darker);\n}\n\n.Badge--accent1 {\n background: var(--accent1);\n color: var(--white);\n}\n\n.Badge--accent2 {\n background: var(--accent2);\n color: var(--white);\n}\n\n.Badge--accent3 {\n background: var(--accent3);\n color: var(--white);\n}\n\n.Badge--accent4 {\n background: var(--accent4);\n color: var(--accent4-darker);\n}\n\n.Badge--subtle-primary {\n color: var(--primary-darker);\n background: var(--primary-lightest);\n}\n\n.Badge--subtle-secondary {\n color: var(--text);\n background: var(--secondary-light);\n}\n\n.Badge--subtle-success {\n color: var(--success-darker);\n background: var(--success-lightest);\n}\n\n.Badge--subtle-alert {\n color: var(--alert-darker);\n background: var(--alert-lightest);\n}\n\n.Badge--subtle-warning {\n color: var(--warning-darker);\n background: var(--warning-lightest);\n}\n\n.Badge--subtle-accent1 {\n color: var(--accent1-darker);\n background: var(--accent1-lightest);\n}\n\n.Badge--subtle-accent2 {\n color: var(--accent2-darker);\n background: var(--accent2-lightest);\n}\n\n.Badge--subtle-accent3 {\n color: var(--accent3-darker);\n background: var(--accent3-lightest);\n}\n\n.Badge--subtle-accent4 {\n color: var(--accent4-darker);\n background: var(--accent4-lightest);\n}\n\n/* breadcrumbs */\n\n.Breadcrumbs {\n display: flex;\n align-items: center;\n}\n\n.Breadcrumbs-item {\n display: flex;\n align-items: center;\n}\n\n.Breadcrumbs-link {\n /* 160px */\n max-width: calc(var(--spacing-2) * 10);\n margin: var(--spacing-m) 0;\n}\n\n.Breadcrumbs-link:active {\n color: var(--inverse);\n}\n\n.Breadcrumbs-item:first-child .Breadcrumbs-link {\n margin-left: 0;\n}\n\n.Breadcrumbs-itemSeparator {\n color: var(--secondary);\n font-size: var(--font-size-s);\n line-height: var(--font-height-s);\n width: var(--spacing-m);\n margin: 0 var(--spacing-m);\n}\n\n.Breadcrumbs-dropdown {\n height: var(--font-height-m);\n}\n\n.Breadcrumbs-Button:focus {\n background: var(--secondary) !important;\n}\n\n.Button {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n position: relative;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: 0;\n border-radius: var(--spacing-m);\n\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n\n text-align: center;\n font-family: var(--font-family);\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size);\n line-height: var(--font-height-s);\n color: var(--text-white);\n\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Button:disabled {\n cursor: not-allowed;\n pointer-events: none;\n}\n\n.Button:focus {\n outline: 0;\n}\n\n.Button--iconAlign-right {\n flex-direction: row-reverse;\n}\n\n.Button--tiny {\n height: var(--spacing-xl);\n padding-right: var(--spacing);\n padding-left: var(--spacing);\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n\n.Button--tinySquare {\n width: var(--spacing-xl);\n}\n\n.Button--regular {\n height: var(--spacing-3);\n padding-right: var(--spacing-l);\n padding-left: var(--spacing-l);\n}\n\n.Button--regularSquare {\n width: var(--spacing-3);\n}\n\n.Button--large {\n height: 40px;\n padding-right: var(--spacing-2);\n padding-left: var(--spacing-2);\n\n line-height: var(--font-height-m);\n font-size: var(--font-size-m);\n}\n\n.Button--largeSquare {\n width: 40px;\n}\n\n.Button--tinySquare .Button-icon,\n.Button--largeSquare .Button-icon,\n.Button--tinySquare .Spinner,\n.Button--largeSquare .Spinner {\n padding-left: var(--spacing-s);\n padding-right: var(--spacing-s);\n}\n\n.Button--expanded {\n width: 100%;\n}\n\n.Button-icon {\n line-height: inherit;\n display: flex;\n align-items: center;\n}\n\n.Button-icon--left {\n margin-right: var(--spacing);\n}\n\n.Button-icon--right {\n margin-left: var(--spacing);\n}\n\n.Button--tiny .Button-icon--left {\n margin-right: var(--spacing-m);\n}\n.Button--tiny .Button-icon--right {\n margin-left: var(--spacing-m);\n}\n\n.Button--basic {\n background: var(--secondary-light);\n color: var(--inverse);\n}\n\n.Button--basic:hover {\n background: var(--secondary);\n}\n\n.Button--basic:active {\n background: var(--secondary-dark);\n}\n\n.Button--basic:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.Button--basic:disabled {\n background: var(--secondary-lighter);\n color: var(--inverse-lightest);\n}\n\n.Button--primary {\n background: var(--primary);\n}\n\n.Button--primary:hover {\n background: var(--primary-dark);\n}\n\n.Button--primary:active {\n background: var(--primary-darker);\n}\n\n.Button--primary:focus {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Button--primary:disabled {\n background: var(--primary-lighter);\n}\n\n.Button--success {\n background: var(--primary);\n}\n\n.Button--success:hover {\n background: var(--primary-dark);\n}\n\n.Button--success:active {\n background: var(--primary-darker);\n}\n\n.Button--success:focus {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Button--success:disabled {\n background: var(--primary-lighter);\n}\n\n.Button--alert {\n background: var(--alert);\n}\n\n.Button--alert:hover {\n background: var(--alert-dark);\n}\n\n.Button--alert:active {\n background: var(--alert-darker);\n}\n\n.Button--alert:focus {\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.Button--alert:disabled {\n background: var(--alert-lighter);\n}\n\n.Button--transparent {\n background: transparent;\n color: var(--inverse);\n}\n\n.Button--transparent:hover {\n background: var(--secondary);\n}\n\n.Button--transparent:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.Button--transparent:active {\n background: var(--secondary-dark);\n}\n\n.Button--transparent:focus:active {\n background: var(--secondary-dark);\n}\n\n.Button--transparent:disabled {\n background: transparent;\n color: var(--inverse-lightest);\n}\n\n.Button-spinner {\n display: flex;\n position: absolute;\n z-index: 1;\n}\n\n.Button--tiny .Spinner--small {\n height: var(--font-size-s);\n width: var(--font-size-s);\n}\n\n.Button--large .Spinner--small {\n height: var(--font-size-l);\n width: var(--font-size-l);\n}\n\n.Button--selected {\n background: var(--primary-lightest);\n color: var(--primary-dark);\n}\n\n.Button--selected:hover {\n background: var(--primary-lighter);\n}\n\n.Button--selected:active {\n background: var(--primary-lighter);\n color: var(--primary-darker);\n}\n\n.Button--selected:focus {\n background: var(--primary-lightest);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Button--selected:focus:active {\n background: var(--primary-lighter);\n}\n\n.Button--selected:disabled {\n background: var(--primary-lightest);\n color: var(--primary-lighter);\n}\n\n.Button-text--hidden {\n visibility: hidden;\n}\n\n.Button-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n/* calendar */\n\n.Calendar-wrapper {\n display: flex;\n flex-wrap: wrap;\n}\n\n.Calendar {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n}\n\n.Calendar--small {\n padding: var(--spacing-l);\n padding-bottom: var(--spacing);\n width: 212px;\n}\n\n.Calendar-date--small {\n height: 248px;\n}\n\n.Calendar-month--small {\n height: 200px;\n}\n\n.Calendar-year--small {\n height: 200px;\n}\n\n.Calendar--large {\n padding-top: var(--spacing-2);\n padding-left: var(--spacing-2);\n padding-right: var(--spacing-2);\n padding-bottom: var(--spacing-l);\n width: 316px;\n}\n\n.Calendar-date--large {\n height: 324px;\n}\n\n.Calendar-month--large {\n height: 276px;\n}\n\n.Calendar-year--large {\n height: 272px;\n}\n\n.Calendar-header--large {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-bottom: var(--spacing-l);\n}\n\n.Calendar-header--small {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-bottom: var(--spacing);\n}\n\n.Calendar-headerIcon {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n user-select: none;\n}\n\n.Calendar-headerIcon--prev {\n left: 0;\n}\n\n.Calendar-headerIcon--next {\n right: 0;\n}\n\n.Calendar-headerContent {\n display: flex;\n white-space: nowrap;\n cursor: pointer;\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n user-select: none;\n}\n\n.Calendar-body {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n justify-content: space-between;\n}\n\n.Calendar-valueRow {\n display: flex;\n justify-content: space-between;\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n}\n\n.Calendar-valueWrapper {\n display: inline-flex;\n flex: 1 0 0;\n justify-content: center;\n position: relative;\n}\n\n.Calendar-valueWrapper--inRange {\n background: var(--primary-lightest);\n}\n\n.Calendar-valueWrapper--inRange .Calendar-inRangeValue:hover {\n background: var(--primary-lighter);\n}\n\n.Calendar-valueWrapper--inRange .Calendar-inRangeValue:active {\n background: var(--primary-light);\n}\n\n.Calendar-valueWrapper--inRangeError {\n background: var(--alert-lightest);\n}\n\n.Calendar-valueWrapper--start {\n background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%);\n border-radius: var(--spacing-m) 0 0 var(--spacing-m);\n}\n\n.Calendar-valueWrapper--startError {\n background: linear-gradient(90deg, white 50%, var(--alert-lightest) 50%);\n}\n\n.Calendar-valueWrapper--end {\n background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%);\n border-radius: 0 var(--spacing-m) var(--spacing-m) 0;\n}\n\n.Calendar-valueWrapper--hoverDate {\n background: linear-gradient(90deg, var(--primary-lightest) 10%, white 50%);\n border-radius: 0 var(--spacing-m) var(--spacing-m) 0;\n}\n\n.Calendar-valueWrapper--endError {\n background: linear-gradient(90deg, var(--alert-lightest) 50%, white 50%);\n}\n\n.Calendar-valueWrapper--startEnd {\n background: transparent;\n}\n\n.Calendar-value {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n user-select: none;\n border-radius: var(--spacing-m);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Calendar-value:hover {\n background: var(--secondary-light);\n}\n\n.Calendar-value:active {\n background: var(--secondary);\n}\n\n.Calendar-value:active .Calendar-value--currDate {\n color: var(--primary-dark);\n}\n\n.Calendar-value--start:hover,\n.Calendar-value--end:hover {\n background: var(--primary-lightest);\n}\n\n.Calendar-value--startError:hover,\n.Calendar-value--endError:hover {\n background: var(--alert-lightest);\n}\n\n.Calendar-value--start,\n.Calendar-value--end {\n background: var(--primary-lightest);\n}\n\n.Calendar-value--startError,\n.Calendar-value--endError {\n background: var(--alert-lightest);\n}\n\n.Calendar-value--currDateMonthYear {\n background: var(--primary-lightest);\n}\n\n.Calendar-value--currDateMonthYear:hover {\n background: var(--primary-lighter);\n}\n\n.Calendar-value--currDateMonthYear:active {\n background: var(--primary-lighter);\n}\n\n.Calendar-value--currDate:active {\n color: var(--primary-dark);\n}\n\n.Calendar-value--active {\n background: var(--primary);\n font-weight: var(--font-weight-bold);\n}\n\n.Calendar-value--active:hover {\n background: var(--primary-dark);\n}\n\n.Calendar-value--active:active {\n background: var(--primary-darker);\n}\n\n.Calendar-yearValue--small,\n.Calendar-monthValue--small {\n height: var(--spacing-xl);\n width: var(--spacing-4);\n}\n\n.Calendar-yearValue--large,\n.Calendar-monthValue--large {\n height: var(--spacing-3);\n width: var(--spacing-5);\n}\n\n.Calendar-dateValue--small {\n height: var(--spacing-xl);\n width: var(--spacing-xl);\n}\n\n.Calendar-dateValue--large {\n height: var(--spacing-3);\n width: var(--spacing-3);\n}\n\n.Calendar-valueWrapper--dummy {\n opacity: var(--transparent-58);\n}\n\n.Calendar-value--disabled {\n pointer-events: none;\n}\n\n.Calendar-dayValues {\n display: flex;\n justify-content: center;\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n}\n\n.Calendar-dateValues {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n justify-content: space-around;\n}\n\n.Calendar-dayValues .Calendar-value {\n padding: 0;\n}\n\n.Calendar-eventsIndicator {\n position: absolute;\n bottom: var(--spacing-s);\n width: var(--spacing-m);\n height: var(--spacing-m);\n background-color: var(--alert);\n border-radius: 50%;\n}\n.Calendar-eventsIndicator--small {\n width: 3px;\n height: 3px;\n}\n.Calendar-eventsIndicator--active {\n background-color: var(--white);\n}\n\n.Calendar-valueWrapper--inStartRange {\n background: linear-gradient(90deg, white 50%, var(--primary-lightest) 50%);\n}\n\n.Calendar-valueWrapper--inEndRange {\n background: linear-gradient(90deg, var(--primary-lightest) 50%, white 50%);\n}\n\n.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue {\n background: var(--primary-lightest);\n}\n\n.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:hover {\n background: var(--primary-lighter);\n}\n\n.Calendar-valueWrapper--inEdgeRange .Calendar-inRangeValue:active {\n background: var(--primary-light);\n}\n\n/* badge */\n\n.Card {\n border-radius: var(--spacing-m);\n border: var(--spacing-xs) solid var(--secondary-light);\n position: relative;\n overflow: hidden;\n background-color: var(--white);\n}\n\n.Card--default,\n.Card--light,\n.Card--medium,\n.Card--dark {\n border: none;\n box-shadow: var(--shadow-s);\n}\n\n.Card--shadow10 {\n border: none;\n box-shadow: var(--shadow-s);\n}\n\n.Card--shadow20 {\n border: none;\n box-shadow: var(--shadow-m);\n}\n\n.Card--shadow30 {\n border: none;\n box-shadow: var(--shadow-l);\n}\n\n.Card-header {\n padding: var(--spacing-2) var(--spacing-2) var(--spacing-l) var(--spacing-2);\n}\n\n.Card-body {\n padding-left: var(--spacing-2);\n padding-right: var(--spacing-2);\n}\n\n.Card-footer {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n position: absolute;\n bottom: 0;\n width: 100%;\n padding: var(--spacing-2);\n}\n\n.Card-footer--withSeperator {\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.CardSubdued {\n background: var(--card-subdued-bg);\n padding: var(--spacing-2);\n}\n\n.CardSubdued--top {\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.CardSubdued--left {\n border-left: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.CardSubdued--right {\n border-right: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.CardSubdued--bottom {\n border-bottom: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.Box {\n width: 100%;\n border-radius: var(--spacing);\n padding: var(--spacing-l);\n}\n\n.Box--typing {\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n}\n\n.Box--incoming {\n border: var(--spacing-xs) solid var(--secondary-light);\n background-color: var(--white);\n}\n\n.Box--outgoing {\n background-color: var(--secondary-lightest);\n}\n\n.Box-incoming--withStatus {\n border-bottom-left-radius: 0px;\n}\n\n.Box-outgoing--withStatus {\n border-bottom-right-radius: 0px;\n}\n\n.Box--urgent {\n border-color: var(--alert);\n}\n\n.ChatMessage-status {\n margin-top: var(--spacing-m);\n display: block;\n}\n\n.Checkbox {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: initial;\n box-sizing: border-box;\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n}\n\n.Checkbox-input {\n position: absolute;\n z-index: 2;\n opacity: 0;\n cursor: pointer;\n height: 100%;\n width: 100%;\n margin: 0;\n}\n\n.Checkbox-labelWrapper {\n padding-left: var(--spacing);\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.Checkbox-label {\n display: flex;\n cursor: pointer;\n}\n\n.Checkbox-label--tiny {\n font-weight: var(--font-weight-bold);\n}\n\n.Checkbox-outerWrapper {\n position: relative;\n margin-top: var(--spacing-s);\n}\n\n.Checkbox-outerWrapper--regular {\n height: var(--spacing-2);\n min-width: var(--spacing-2);\n}\n\n.Checkbox-outerWrapper--tiny {\n height: var(--spacing-l);\n min-width: var(--spacing-l);\n}\n\n/* Type: Unchecked */\n\n.Checkbox-wrapper {\n top: 0;\n left: 0;\n border-radius: var(--spacing-s);\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n justify-content: center;\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Checkbox-input:focus {\n outline: 0;\n}\n\n.Checkbox-input ~ .Checkbox-wrapper--default {\n border: var(--spacing-xs) solid var(--secondary-dark);\n background-color: var(--shadow-0);\n}\n\n.Checkbox-input:focus ~ .Checkbox-wrapper--default {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.Checkbox-input:hover ~ .Checkbox-wrapper--default {\n border: var(--spacing-xs) solid var(--inverse-lightest);\n background-color: var(--shadow-0);\n}\n\n.Checkbox-input:active ~ .Checkbox-wrapper--default {\n border: var(--spacing-xs) solid var(--inverse-lightest);\n background-color: var(--secondary-light);\n}\n\n.Checkbox--disabled {\n pointer-events: none;\n}\n\n.Checkbox--disabled .Checkbox-wrapper--default {\n border: var(--spacing-xs) solid var(--secondary-light);\n background-color: var(--secondary-lightest);\n}\n\n/* Type: checked && Type: indeterminate */\n\n.Checkbox-input--checked ~ .Checkbox-wrapper,\n.Checkbox-input--indeterminate ~ .Checkbox-wrapper {\n background-color: var(--primary);\n border: 0;\n}\n\n.Checkbox-input--checked:focus ~ .Checkbox-wrapper,\n.Checkbox-input--indeterminate:focus ~ .Checkbox-wrapper {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n background-color: var(--primary);\n border: 0;\n}\n\n.Checkbox-input--checked:hover ~ .Checkbox-wrapper,\n.Checkbox-input--indeterminate:hover ~ .Checkbox-wrapper {\n background-color: var(--primary-dark);\n border: 0;\n}\n\n.Checkbox-input--checked:active ~ .Checkbox-wrapper,\n.Checkbox-input--indeterminate:active ~ .Checkbox-wrapper {\n background-color: var(--primary-darker);\n border: 0;\n}\n\n.Checkbox--disabled .Checkbox-input--checked ~ .Checkbox-wrapper,\n.Checkbox--disabled .Checkbox-input--indeterminate ~ .Checkbox-wrapper {\n background-color: var(--primary-lighter);\n border: 0;\n}\n\n/* Error State -> Default */\n\n.Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert);\n}\n\n.Checkbox-input:focus ~ .Checkbox-wrapper--error {\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.Checkbox-input:hover ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert-dark);\n}\n\n.Checkbox-input:active ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert-darker);\n background-color: var(--secondary-light);\n}\n\n.Checkbox--disabled .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert-lighter);\n background-color: var(--secondary-lightest);\n}\n\n/* Error State -> Checked & Indeterminate */\n\n.Checkbox-input--checked ~ .Checkbox-wrapper--error,\n.Checkbox-input--indeterminate ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert);\n}\n\n.Checkbox-input--checked:focus ~ .Checkbox-wrapper--error,\n.Checkbox-input--indeterminate:focus ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Checkbox-input--checked:hover ~ .Checkbox-wrapper--error,\n.Checkbox-input--indeterminate:hover ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert-dark);\n}\n\n.Checkbox-input--checked:active ~ .Checkbox-wrapper--error,\n.Checkbox-input--indeterminate:active ~ .Checkbox-wrapper--error {\n background-color: var(--primary-darker);\n border: var(--spacing-xs) solid var(--alert-darker);\n}\n\n.Checkbox--disabled .Checkbox-input--checked ~ .Checkbox-wrapper--error,\n.Checkbox--disabled .Checkbox-input--indeterminate ~ .Checkbox-wrapper--error {\n border: var(--spacing-xs) solid var(--alert-lighter);\n}\n\n.Chip {\n display: flex;\n box-sizing: border-box;\n border-radius: var(--spacing-l);\n padding-right: var(--spacing);\n padding-left: var(--spacing);\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n width: fit-content;\n justify-content: space-between;\n border-style: solid;\n border-width: var(--spacing-xs);\n align-items: center;\n flex-direction: row;\n cursor: default;\n height: var(--spacing-xl);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Chip-wrapper {\n display: inline-flex;\n align-items: center;\n}\n\n.Chip-icon--left {\n margin-right: var(--spacing-m);\n display: flex;\n align-items: center;\n}\n\n.Chip-icon--right {\n display: flex;\n align-items: center;\n border-radius: 10px;\n margin-left: var(--spacing-s);\n}\n\n.Chip--action {\n background: var(--secondary-light);\n border: 0px;\n cursor: pointer;\n}\n\n.Chip--action:hover {\n background: var(--secondary);\n}\n\n.Chip--action:focus-visible {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n.Chip--action:active {\n background: var(--secondary-dark);\n}\n\n.Chip-action--disabled {\n background: var(--secondary-lighter);\n border: 0px;\n outline: none;\n cursor: default;\n}\n\n.Chip--selection {\n background: var(--shadow-0);\n border-color: var(--stone);\n cursor: pointer;\n}\n\n.Chip--selection:hover {\n background: var(--secondary-lighter);\n border-color: var(--secondary-dark);\n}\n\n.Chip--selection:focus-visible {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n.Chip--selection:active {\n background: var(--secondary-light);\n border-color: var(--inverse-lightest);\n}\n\n.Chip-selection--disabled {\n background: var(--secondary-lightest);\n border-color: var(--secondary-lighter);\n}\n\n.Chip-selection--selected {\n background: var(--primary-lightest);\n border-color: var(--primary-lighter);\n}\n\n.Chip-selection--selected:hover {\n background: var(--primary-lighter);\n border-color: var(--primary-light);\n}\n\n.Chip-selection--selected:focus-visible {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n outline: none;\n}\n\n.Chip-selection--selected:active {\n background: var(--primary-lighter);\n border-color: var(--primary-dark);\n}\n\n.Chip-selection--selected:active .Chip-icon,\n.Chip-selection--selected:active .Chip-text {\n color: var(--primary-darker);\n}\n\n.Chip-selection--selectedDisabled {\n background: var(--primary-lightest);\n border-color: var(--primary-lighter);\n}\n\n.Chip--input {\n background: var(--secondary-light);\n font-weight: var(--font-weight-normal);\n border: 0px;\n}\n\n.Chip--input:hover {\n background: var(--secondary);\n}\n\n.Chip--input:focus-visible,\n.Chip--input:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n.Chip--input:active {\n background: var(--secondary-dark);\n}\n\n.Chip-input--disabled {\n background: var(--secondary-lighter);\n border: 0px;\n}\n\n.Chip-icon--right:focus-visible {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n}\n\n.Chip-icon--right:hover {\n background-color: var(--secondary);\n}\n\n.Chip-icon--right:active {\n background-color: var(--secondary-dark);\n}\n\n.Chip-icon-disabled--right {\n pointer-events: none;\n}\n\n.Chip-icon--selected {\n border-radius: 10px;\n}\n\n.Chip-icon--selected:focus-visible {\n outline: var(--spacing-s) solid var(--primary-shadow);\n}\n\n.Chip-icon--selected:hover {\n background-color: var(--primary-lighter);\n}\n\n.Chip-icon--selected:active {\n background-color: var(--primary-light);\n}\n\n.Chip-selection--disabled:focus-visible,\n.Chip-icon-disabled--right:focus-visible,\n.Chip-selection--selectedDisabled:focus-visible,\n.Chip-input--disabled:focus-visible {\n outline: none;\n}\n\n.Chip-icon--clear {\n padding-right: var(--spacing-s);\n}\n\n.ChipGroup {\n display: inline-flex;\n}\n\n.ChipGroup-item {\n margin: 0 var(--spacing-m);\n}\n\n.ChipGroup-item:first-child {\n margin-left: 0;\n}\n\n.ChipGroup-item:last-child {\n margin-right: 0;\n}\n\n.ChipInput {\n display: flex;\n border-radius: var(--spacing-m);\n box-shadow: inset 0 0 0 var(--spacing-xs) var(--secondary);\n padding-left: 10px;\n padding-right: 10px;\n background: var(--white);\n cursor: text;\n flex: 100%;\n}\n\n.ChipInput:focus,\n.ChipInput:focus-visible {\n outline: var(--spacing-xs) var(--primary);\n}\n\n.ChipInput:hover {\n background: var(--secondary-lighter);\n border-color: var(--secondary-dark);\n}\n\n.ChipInput:focus-within {\n box-shadow: inset 0 0 0 var(--spacing-xs) var(--primary);\n background: var(--white);\n}\n\n.ChipInput--disabled {\n background: var(--secondary-lightest);\n border-color: var(--secondary-light);\n pointer-events: none;\n}\n\n.ChipInput--withChips {\n padding-right: var(--spacing);\n}\n\n.ChipInput--error,\n.ChipInput--error:focus-within {\n box-shadow: inset 0 0 0 var(--spacing-xs) var(--alert);\n}\n\n.ChipInput-wrapper {\n display: flex;\n flex: 100%;\n align-items: center;\n flex-wrap: wrap;\n}\n\n.ChipInput-border:focus-within {\n border-radius: var(--spacing-m);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.ChipInput-border--error:focus-within {\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.ChipInput-input {\n border: none;\n outline: none;\n display: flex;\n width: 100%;\n min-width: 30%;\n flex: 0px;\n box-sizing: border-box;\n height: var(--spacing-xl);\n margin-top: var(--spacing-m);\n margin-bottom: var(--spacing-m);\n font-family: var(--font-family);\n font-size: var(--font-size);\n}\n\n.ChipInput:hover .ChipInput-input {\n background: var(--secondary-lighter);\n}\n\n.ChipInput:focus-within .ChipInput-input {\n background: var(--white);\n}\n\n.ChipInput-icon {\n height: var(--spacing-2);\n padding: var(--spacing-s);\n margin-left: var(--spacing);\n margin-top: 6px;\n cursor: pointer;\n border-radius: 10px;\n}\n\n.ChipInput-icon:hover {\n background-color: var(--secondary);\n}\n\n.ChipInput-icon:active {\n background-color: var(--secondary-dark);\n}\n\n.ChipInput-icon:focus,\n.ChipInput-icon:focus-visible {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n}\n\n.ChoiceList {\n margin: 0;\n padding: 0;\n border: none;\n}\n\n.ChoiceList-checkbox--vertical {\n margin-top: var(--spacing-m);\n}\n\n.ChoiceList-radio--vertical {\n margin-top: var(--spacing-m);\n}\n\n.ChoiceList--alignHorizontal {\n display: flex;\n}\n\n.ChoiceList-checkbox--horizontal {\n margin-left: var(--spacing-xl);\n}\n\n.ChoiceList-radio--horizontal {\n margin-left: var(--spacing-xl);\n}\n\n.Collapsible-wrapper {\n position: relative;\n z-index: 600;\n}\n\n.Collapsible-wrapper--overlay {\n margin-right: 40px;\n}\n\n.Collapsible {\n display: inline-flex;\n flex-direction: column;\n background-color: var(--secondary-lightest);\n width: var(--spacing-4);\n height: 100%;\n transition: width 240ms;\n transition-timing-function: cubic-bezier(0.4, 0.14, 0.3, 1);\n}\n\n.Collapsible--overlay {\n position: absolute;\n}\n\n.Collapsible--shadow {\n box-shadow: var(--shadow-l);\n clip-path: inset(0px -16px 0px 0px);\n}\n\n.Collapsible-body {\n flex-grow: 1;\n overflow-y: auto;\n overflow-x: hidden;\n}\n\n.Collapsible-footer {\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n box-sizing: border-box;\n cursor: pointer;\n display: flex;\n}\n\n.Collapsible-footer:hover {\n background-color: var(--secondary-lighter);\n}\n\n.Collapsible-footer:focus,\n.Collapsible-footer:focus-visible {\n outline: none;\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.Collapsible-footer:active {\n background-color: var(--secondary-light);\n}\n\n.Collapsible-footer--seperator {\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.DateRangePicker {\n display: flex;\n}\n\n.DateRangePicker--left {\n flex-direction: row;\n}\n\n.DateRangePicker--right {\n flex-direction: row-reverse;\n}\n\n.DateRangePicker-input {\n box-sizing: border-box;\n}\n\n.DateRangePicker-input--startDate {\n padding-right: var(--spacing-m);\n}\n\n.DateRangePicker-input--endDate {\n padding-left: var(--spacing-m);\n}\n\n@media (max-width: 576px) {\n .DateRangePicker-input {\n padding: 0;\n }\n\n .DateRangePicker-input--endDate {\n padding-top: var(--spacing);\n }\n}\n\n.Divider {\n border: none;\n margin: 0;\n}\n\n.Divider--vertical {\n width: 1px;\n background: var(--secondary-light);\n}\n\n.Divider--horizontal {\n height: 1px;\n}\n\n.Divider--basic {\n background: var(--secondary-light);\n}\n\n.Divider--header {\n background: var(--secondary-dark);\n}\n\n.Dropdown {\n width: 100%;\n position: relative;\n}\n\n.Dropdown-wrapper {\n margin-top: var(--spacing-m);\n margin-bottom: var(--spacing-m);\n}\n\n.Dropdown-inputWrapper {\n border-bottom: var(--spacing-xs) solid var(--secondary-dark);\n}\n\n.Dropdown-inputWrapper:focus-within {\n border-bottom: var(--spacing-xs) solid var(--primary);\n}\n\n.Dropdown-input {\n min-width: unset !important;\n}\n\n.Dropdown-input,\n.Dropdown-input:focus-within {\n border: unset !important;\n box-shadow: none !important;\n}\n\n.Dropdown-section {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-left: var(--spacing-l);\n margin-top: var(--spacing-l);\n margin-bottom: 6px;\n}\n\n.Dropdown-section--withClear {\n margin-top: var(--spacing);\n margin-bottom: var(--spacing-s);\n}\n\n.Dropdown-buttonWrapper {\n display: flex;\n justify-content: flex-end;\n padding-top: var(--spacing);\n padding-right: var(--spacing);\n padding-bottom: var(--spacing);\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.Dropdown-footer {\n padding-left: var(--spacing-l);\n padding-bottom: var(--spacing-m);\n padding-top: var(--spacing);\n box-sizing: border-box;\n}\n\n.Option {\n display: flex;\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Option,\n.Option-loading {\n padding-top: 6px;\n padding-bottom: 6px;\n padding-left: var(--spacing-l);\n padding-right: var(--spacing);\n}\n\n.Option-checkbox .Checkbox-outerWrapper {\n background-color: var(--shadow-0);\n}\n\n.Option-checkboxWrapper {\n display: block;\n}\n\n.OptionCheckbox {\n width: 100%;\n padding-left: var(--spacing-l);\n padding-top: 6px;\n padding-bottom: 6px;\n}\n\n.Option--active,\n.Option-checkbox--active {\n background-color: var(--secondary-lightest);\n cursor: pointer;\n}\n\n.Option--active:hover,\n.Option-checkbox--active:hover {\n background-color: var(--secondary-lighter);\n}\n\n.Option--active:active,\n.Option-checkbox--active:active {\n background-color: var(--secondary-light);\n cursor: pointer;\n}\n\n.Option--active {\n transition: var(--standard-productive-curve);\n}\n\n.Option-loading {\n pointer-events: none;\n}\n\n.Option--selected {\n background-color: var(--primary-lightest);\n}\n\n.Option--selected:hover {\n background-color: var(--primary-lighter);\n}\n\n.Option--selected:active {\n background-color: var(--primary-lighter);\n color: var(--primary-darker);\n}\n\n.Option--selected:active .Option-text,\n.Option--selected:active .Option-subInfo {\n color: var(--primary-darker);\n}\n\n.Option--disabled,\n.OptionWrapper--disabled {\n pointer-events: auto;\n cursor: default;\n}\n\n.Option-label {\n overflow: hidden;\n display: flex;\n flex-direction: column;\n}\n\n.OptionCheckbox .Checkbox-label {\n padding-right: var(--spacing-l);\n width: 100%;\n display: flex;\n overflow: hidden;\n}\n\n.Option-text,\n.OptionCheckbox .Text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.Option-text--wrap,\n.Dropdown-wrapper--wrap .OptionCheckbox .Text {\n white-space: unset;\n}\n\n.Option--icon {\n padding-left: var(--spacing);\n}\n\n.Option-icon {\n display: flex;\n}\n\n.Option-icon {\n height: fit-content;\n line-height: var(--font-height);\n}\n\n.DropdownButton {\n width: 100%;\n justify-content: space-between;\n padding-top: unset;\n padding-bottom: unset;\n background: var(--secondary-light);\n color: var(--text);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.DropdownButton-wrapper {\n width: 100%;\n display: flex;\n flex-direction: row;\n overflow: hidden;\n align-items: center;\n}\n\n.DropdownButton-text {\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.DropdownButton--tiny {\n height: var(--spacing-xl);\n padding-right: var(--spacing);\n padding-left: var(--spacing);\n}\n\n.DropdownButton--regular {\n height: var(--spacing-3);\n padding-right: var(--spacing);\n padding-left: var(--spacing-l);\n}\n\n.DropdownButton--tinySquare {\n padding-left: var(--spacing-m);\n padding-right: var(--spacing-m);\n}\n\n.DropdownButton--regularSquare {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n}\n\n.DropdownButton--placeholder {\n color: var(--text-subtle);\n}\n\n.DropdownButton:hover {\n background: var(--secondary);\n color: var(--text);\n}\n\n.DropdownButton:focus {\n background-color: var(--secondary-light);\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.DropdownButton:active,\n.DropdownButton--open {\n background-color: var(--secondary-dark) !important;\n color: var(--text) !important;\n animation-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n animation-duration: 120ms;\n}\n\n.DropdownButton:disabled {\n background: var(--secondary-lighter);\n color: var(--text-disabled);\n pointer-events: none;\n}\n\n.DropdownButton--icon {\n padding-left: var(--spacing);\n}\n\n.DropdownButton--error {\n border: var(--spacing-xs) solid var(--alert);\n}\n\n.Dropzone {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--white);\n border-radius: var(--spacing-m);\n width: 100%;\n background-image: linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2);\n transition: background-color var(--duration--moderate-01) var(--standard-productive-curve);\n box-sizing: border-box;\n}\n\n.Dropzone--active {\n background-color: var(--primary-lightest);\n background-image: linear-gradient(to right, var(--primary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--primary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, var(--primary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--primary) 50%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2);\n transition: background-color var(--duration--moderate-01) var(--standard-productive-curve);\n box-sizing: border-box;\n}\n\n.Dropzone-animation {\n animation-delay: var(--duration--fast-02);\n animation-fill-mode: forwards;\n}\n\n.Dropzone-animation--default {\n animation: dropzoneDefault var(--duration--moderate-01) var(--entrance-productive-curve);\n}\n\n.Dropzone-animation--active {\n animation: dropzoneActive var(--duration--moderate-01) var(--entrance-productive-curve);\n}\n\n@keyframes dropzoneDefault {\n from {\n opacity: 0;\n padding-top: 20px;\n }\n\n to {\n opacity: 1;\n padding-top: var(--spacing-l);\n }\n}\n\n@keyframes dropzoneActive {\n from {\n opacity: 0;\n padding-top: 20px;\n }\n\n to {\n opacity: 1;\n padding-top: var(--spacing-l);\n }\n}\n\n.Dropzone-standard--default {\n animation: dropzoneStandardDefault var(--duration--moderate-01) var(--entrance-productive-curve);\n}\n\n.Dropzone-standard--active {\n animation: dropzoneStandardActive var(--duration--moderate-01) var(--entrance-productive-curve);\n}\n\n@keyframes dropzoneStandardDefault {\n from {\n opacity: 0;\n padding-top: var(--spacing-2);\n }\n\n to {\n opacity: 1;\n padding-top: var(--spacing);\n }\n}\n\n@keyframes dropzoneStandardActive {\n from {\n opacity: 0;\n padding-top: var(--spacing-2);\n }\n\n to {\n opacity: 1;\n padding-top: var(--spacing);\n }\n}\n\n.Dropzone--error {\n background: var(--alert-lightest);\n background-image: linear-gradient(to right, var(--alert) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--alert) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, var(--alert) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--alert) 50%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2);\n}\n\n.Dropzone--disabled {\n background-image: linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, var(--secondary) 50%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(var(--secondary) 50%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: var(--spacing-2) var(--spacing-xs), var(--spacing-xs) var(--spacing-2);\n}\n\n.Dropzone--standard {\n flex-direction: column;\n height: 196px;\n min-width: 480px;\n padding: var(--spacing) var(--spacing-xl) var(--spacing-2) var(--spacing-xl);\n}\n\n.Dropzone--compressed {\n flex-direction: row;\n height: 124px;\n min-width: 400px;\n padding: var(--spacing-l) var(--spacing-xl) var(--spacing-2) var(--spacing-xl);\n}\n\n.Dropzone--tight {\n height: 124px;\n min-width: 320px;\n padding: var(--spacing-l) var(--spacing-xl) var(--spacing-2) var(--spacing-xl);\n}\n\n.DropzoneWrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.DropzoneWrapper--standard,\n.DropzoneWrapper--tight {\n align-items: center;\n}\n\n.DropzoneWrapper--compressed {\n align-items: start;\n}\n\n.Dropzone-icon--standard {\n margin-bottom: var(--spacing-l);\n}\n\n.Dropzone-icon--compressed {\n margin-right: var(--spacing-xl);\n}\n\n.Dropzone-icon--disabled {\n fill: var(--inverse-lightest);\n}\n\n.Dropzone-icon--default {\n fill: var(--inverse-lighter);\n}\n\n.Dropzone-icon--active {\n fill: var(--primary);\n}\n\n.Dropzone-icon--error {\n fill: var(--alert);\n}\n\n.EditableChipInput {\n position: relative;\n width: 100%;\n}\n.EditableChipInput-default {\n display: flex;\n align-items: center;\n padding-left: var(--spacing-l);\n border-left: var(--spacing-xs) solid transparent;\n min-height: var(--spacing-3);\n flex-wrap: wrap;\n}\n\n.EditableChipInput-defaultWithChips {\n display: flex;\n align-items: center;\n padding-left: var(--spacing);\n border: var(--spacing-xs) solid transparent;\n padding-top: var(--spacing-xs);\n padding-bottom: var(--spacing-xs);\n max-width: calc(100% - 28px);\n flex-wrap: wrap;\n}\n\n.EditableChipInput-defaultWithChips:hover,\n.EditableChipInput-default:hover {\n background-color: var(--secondary-lightest);\n}\n\n.EditableChipInput-chipInput {\n padding-left: var(--spacing);\n}\n\n.EditableChipInput-actions {\n position: absolute;\n display: flex;\n justify-content: flex-end;\n margin-top: var(--spacing-m);\n width: 100%;\n}\n\n.EditableDropdown {\n width: 100%;\n}\n\n.EditableDropdown-default {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: var(--spacing-3);\n padding-left: var(--spacing-l);\n}\n\n.EditableInput {\n position: relative;\n display: inline-flex;\n flex-direction: column;\n width: 100%;\n}\n\n.EditableInput-actions {\n position: absolute;\n display: flex;\n justify-content: flex-end;\n margin-top: var(--spacing-m);\n width: 100%;\n}\n\n.EditableInput-actions--regular {\n top: var(--spacing-3);\n}\n\n.EditableInput-actions--tiny {\n top: var(--spacing-xl);\n}\n\n.EditableInput-default {\n border: var(--spacing-xs) solid transparent;\n box-sizing: border-box;\n white-space: nowrap;\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n display: flex;\n align-items: center;\n}\n\n.EditableInput-default--regular {\n min-width: var(--spacing-9);\n height: var(--spacing-3);\n}\n\n.EditableInput-default--tiny {\n min-width: var(--spacing-6);\n height: var(--spacing-xl);\n}\n\n.EditableInput-Input--tiny {\n min-width: var(--spacing-6) !important;\n width: 100%;\n}\n\n.EmptyState {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background: transparent;\n}\n\n.EmptyState-title {\n text-align: center;\n max-width: 480px;\n}\n\n.EmptyState-description {\n text-align: center;\n margin-top: var(--spacing-m);\n max-width: 360px;\n}\n\n.EmptyState-title--large {\n margin-top: var(--spacing-4);\n}\n\n.EmptyState-title--small {\n margin-top: var(--spacing-xl);\n}\n\n.EmptyState-description--large {\n margin-bottom: var(--spacing-xl);\n}\n\n.EmptyState-description--small {\n margin-bottom: var(--spacing-2);\n}\n\n.FileIcon {\n padding: var(--spacing);\n border-radius: 50%;\n}\n.FileItem:not(:last-child) {\n border-bottom: var(--border);\n width: 100%;\n box-sizing: border-box;\n}\n.FileItem {\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n padding-left: var(--spacing-l);\n padding-right: var(--spacing);\n}\n.FileItem-fileContent {\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 0;\n}\n.FileItem-actions {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.FileItem-file {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.FileItem-size {\n margin-right: var(--spacing);\n margin-left: var(--spacing);\n flex-shrink: 0;\n}\n.FileItem-text {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-left: var(--spacing-l);\n}\n.FileItem-error {\n margin-left: 40px;\n}\n\n.FileIcon--image {\n background: var(--alert-lightest);\n color: var(--alert);\n}\n.FileIcon--audio {\n background: var(--accent1-lightest);\n color: var(--accent1);\n}\n.FileIcon--video {\n background: var(--accent2-lightest);\n color: var(--accent2);\n}\n.FileIcon--application {\n background: var(--accent3-lightest);\n color: var(--accent3);\n}\n.FileIcon--others {\n background: var(--success-lightest);\n color: var(--success);\n}\n.FileIcon--animate {\n animation: fadeIn var(--duration--moderate-01) var(--entrance-productive-curve);\n}\n\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.FileUploader {\n display: flex;\n flex-direction: column;\n}\n\n.FileUploaderButton {\n width: fit-content;\n position: relative;\n}\n\n.FileUploaderButton-input {\n height: 100%;\n width: 100%;\n top: 0;\n position: absolute;\n opacity: 0;\n font-size: 0;\n z-index: 2;\n cursor: pointer;\n}\n\n.FileUploaderItem {\n width: var(--spacing-9);\n}\n\n.FileUploaderItem-text {\n width: var(--spacing-8);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.FileUploaderItem-file {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n}\n\n@keyframes fullscreenModal-open {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 100;\n transform: translateY(0px);\n }\n}\n\n@keyframes fullscreenModal-close {\n from {\n opacity: 100;\n transform: translateY(0px);\n }\n to {\n opacity: 0;\n transform: translateY(20px);\n }\n}\n\n.FullscreenModal {\n position: fixed !important;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n padding-top: var(--spacing-4);\n background-color: var(--white);\n overflow: auto;\n display: flex;\n flex-direction: column;\n}\n\n.FullscreenModal-animation--open {\n animation: fullscreenModal-open 240ms cubic-bezier(0, 0, 0.3, 1);\n}\n\n.FullscreenModal-animation--close {\n animation: fullscreenModal-close 120ms cubic-bezier(0.4, 0.14, 1, 1);\n}\n\n.FullscreenModal-header {\n display: flex;\n justify-content: flex-start;\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n padding-right: var(--spacing-l);\n}\n\n.FullscreenModal-footer {\n justify-content: flex-end;\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-2);\n}\n\n.FullscreenModal-body {\n padding: var(--spacing-2) var(--spacing-xl);\n}\n\n/** Grid **/\n\n.Grid-wrapper {\n display: flex;\n position: relative;\n overflow: hidden;\n height: 100%;\n}\n\n.Grid {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n height: 100%;\n overflow: hidden;\n background: var(--white);\n}\n\n.Grid--resource .Grid-row--body:hover,\n.Grid--resource .Grid-row--body:hover .Grid-cellGroup {\n cursor: pointer;\n background: var(--secondary-lightest);\n}\n\n.Grid--resource .Grid-row--body:active,\n.Grid--resource .Grid-row--body:active .Grid-cellGroup {\n background: var(--warning-lightest) !important;\n}\n\n.Grid--resource .Grid-row--body:focus {\n outline-color: var(--warning);\n}\n\n.Grid--pinned {\n position: absolute;\n height: 100%;\n z-index: 5;\n overflow-x: hidden;\n -ms-overflow-style: none;\n border-right: 3px solid var(--secondary);\n}\n\n.Grid-pinned::-webkit-scrollbar {\n display: none;\n}\n\n.Grid--main {\n flex-grow: 1;\n}\n\n.Grid--comfortable .Grid-cell--head {\n min-height: 40px;\n}\n\n.Grid--comfortable .Grid-cell--body {\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n}\n\n.Grid--standard .Grid-cell--head {\n min-height: 40px;\n}\n\n.Grid--standard .Grid-cell--body {\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n}\n\n.Grid--compressed .Grid-cell--head {\n min-height: 40px;\n}\n\n.Grid--compressed .Grid-cell--body {\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n}\n\n.Grid--tight .Grid-cell--head {\n min-height: var(--spacing-3);\n}\n\n.Grid--tight .Grid-cell--body {\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n\n.Grid-head {\n display: flex;\n flex: 0 0 auto;\n overflow-x: auto;\n border-bottom: var(--border);\n}\n\n.Grid-head::-webkit-scrollbar {\n display: none;\n}\n\n.Grid-headCell {\n display: flex;\n height: 100%;\n flex-direction: row;\n align-items: center;\n}\n\n.Grid-headCell--draggable {\n cursor: grab;\n}\n\n.Grid-headCell--draggable:active {\n cursor: grabbing;\n z-index: 3;\n opacity: 1;\n background-color: inherit;\n color: inherit;\n}\n\n.Grid-body {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow-x: auto;\n overflow-y: overlay;\n}\n\n.Grid-rowWrapper {\n display: inline-flex;\n flex-direction: column;\n min-width: fit-content;\n flex-shrink: 0;\n border-bottom: var(--border);\n}\n\n.Grid-row {\n display: flex;\n flex-grow: 1;\n flex-shrink: 0;\n box-sizing: border-box;\n background: var(--white);\n}\n\n.Grid-row--body {\n border-color: var(--secondary-light);\n}\n\n.Grid-row--selected,\n.Grid-row--selected .Grid-cellGroup {\n background: var(--warning-lightest) !important;\n}\n\n.Grid-rowWrapper:last-child .Grid-row--body {\n border-bottom: 0;\n}\n\n.GridBody-padding {\n flex-shrink: 0;\n}\n\n.Grid-nestedRow {\n width: 100%;\n overflow: hidden;\n}\n\n.Grid-nestedRowTrigger {\n margin-right: var(--spacing-l);\n cursor: pointer;\n}\n\n.Grid-nestedRow .Grid-rowWrapper {\n border-bottom: 0;\n}\n\n.Grid-nestedRow .Grid-cell:first-child {\n padding-left: calc(var(--spacing-3) + var(--spacing));\n}\n\n.Grid-nestedRowPlaceholder {\n width: var(--spacing-xl);\n margin-right: var(--spacing-l);\n}\n\n.Grid-cell {\n position: relative;\n box-sizing: border-box;\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n}\n\n.Grid-cell--body {\n padding-right: var(--spacing-l);\n}\n\n.Grid-cell--head {\n overflow: hidden;\n padding-right: var(--spacing-m);\n}\n\n.Grid-cell--dragged {\n z-index: 3;\n opacity: 1;\n background-color: inherit;\n color: inherit;\n}\n\n.Grid-cell--separator {\n border-left: var(--border);\n border-color: var(--secondary-light);\n}\n\n.Grid-cell--selected {\n background: var(--primary-lightest);\n}\n\n.Grid-cell--nestedRow {\n padding-left: var(--spacing);\n}\n\n.Grid-cell--head.Grid-cell:first-of-type {\n border-left: none;\n}\n\n/* .Grid .Grid-cellGroup--main .Grid-cell--head.Grid-cell:last-child {\n border-right: var(--border);\n} */\n\n.Grid-row--disabled {\n opacity: 0.4;\n pointer-events: none;\n}\n\n.Grid-cell--head.Grid-cell--selected {\n background: var(--primary-light);\n}\n\n.Grid-cell--checkbox {\n width: unset;\n min-width: unset;\n display: flex;\n align-items: center;\n z-index: 1;\n padding-right: 0 !important;\n overflow: visible !important;\n}\n\n.Grid-sortingIcons {\n display: flex;\n align-items: center;\n padding-left: var(--spacing-m);\n}\n\n.Grid-cellReorder {\n display: flex;\n align-items: center;\n cursor: grab;\n}\n\n.Grid-cellReorder:active {\n cursor: grabbing;\n}\n\n.Grid-cellContent {\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n box-sizing: border-box;\n z-index: inherit;\n}\n\n.Grid-cell--head .Grid-cellContent {\n overflow: hidden;\n}\n\n.Grid-cellResize {\n position: absolute;\n right: 0;\n width: var(--spacing-m);\n cursor: ew-resize;\n height: 100%;\n}\n\n.Grid-cellSortIcon {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n\n.Grid-cellSortIcon:hover {\n background: var(--secondary);\n}\n\n.Grid-cellResize:hover {\n background: var(--primary);\n}\n\n.Grid-reorderHighlighter {\n position: absolute;\n height: 100%;\n border: 3px solid var(--primary-light);\n z-index: 10;\n}\n\n.Grid-cellGroup {\n display: flex;\n box-sizing: border-box;\n background: var(--white);\n}\n\n.Grid-cellGroup--pinned {\n position: sticky;\n z-index: 4;\n}\n\n.Grid-cellGroup--pinned-left {\n left: 0;\n border-right: var(--border);\n border-right-width: 4px;\n border-image: linear-gradient(\n to right,\n var(--secondary),\n var(--secondary) 25%,\n color-mod(var(--secondary) a(0.1)) 25%,\n color-mod(var(--secondary) a(0.1))\n )\n 1 100%;\n}\n\n.Grid-cellGroup--pinned-right {\n right: 0;\n border-left: var(--border);\n border-left-width: 4px;\n border-image: linear-gradient(\n to left,\n var(--secondary),\n var(--secondary) 25%,\n color-mod(var(--secondary) a(0.1)) 25%,\n color-mod(var(--secondary) a(0.1))\n )\n 1 100%;\n}\n\n.Grid .Checkbox-wrapper {\n margin-right: 0;\n}\n\n/** Grid Cell **/\n\n.GridCell {\n display: flex;\n align-items: center;\n width: 100%;\n box-sizing: border-box;\n}\n\n.GridCell--align-left {\n /* flex-direction: row; */\n justify-content: flex-start;\n text-align: left;\n}\n\n.GridCell--align-right {\n /* flex-direction: row-reverse; */\n justify-content: flex-end;\n text-align: right;\n}\n\n.GridCell--align-center {\n justify-content: center;\n text-align: center;\n}\n\n.GridCell--default {\n}\n\n.GridCell--metaList {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n overflow: hidden;\n}\n\n.GridCell--statusHint .StatusHint {\n overflow: hidden;\n}\n\n.GridCell--statusHint .StatusHint .Text {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.GridCell--avatar .Avatar {\n margin: 0;\n}\n\n.GridCell-metaListWrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n overflow: hidden;\n}\n\n.GridCell-metaList {\n display: flex;\n}\n\n.GridCell-metaList .Text {\n display: flex;\n align-items: center;\n}\n\n.GridCell-metaList .Text::before {\n content: '';\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: var(--spacing-m);\n height: var(--spacing-m);\n border-radius: 50%;\n background: var(--secondary);\n margin: 0 var(--spacing);\n}\n\n.GridCell-metaList .Text:first-child::before {\n display: none;\n}\n\n.GridCell--metaList ul li:first-child {\n margin-left: 0;\n}\n\n/* .GridCell-image {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: var(--spacing);\n}\n\n.Image {\n z-index: 0;\n height: 100%;\n width: 100%;\n} */\n\n/** Header **/\n\n/** Table-header **/\n\n.Header {\n background: var(--white);\n padding: var(--spacing-l);\n border-bottom: var(--border);\n}\n\n.Header-content {\n display: flex;\n}\n\n.Header-content--bottom {\n align-items: center;\n justify-content: space-between;\n}\n\n.Header-search {\n width: var(--spacing-9);\n margin-bottom: var(--spacing-2);\n}\n\n.Header-label {\n display: flex;\n flex-grow: 1;\n align-items: center;\n}\n\n.Header-label .Checkbox {\n margin-right: var(--spacing);\n}\n\n.Header-dropdown {\n display: flex;\n margin-left: var(--spacing-m);\n margin-bottom: var(--spacing-2);\n}\n\n.Header-dropdown .Dropdown {\n margin: 0 var(--spacing-m);\n}\n\n.Header-draggableDropdown .Dropdown-wrapper {\n max-height: 200px;\n overflow-y: auto;\n}\n\n.Header-filters {\n display: flex;\n}\n\n.Header-sorting {\n display: flex;\n}\n\n.Header-actions {\n margin-bottom: var(--spacing-2);\n}\n\n.HorizontalNav {\n display: flex;\n}\n\n.HorizontalNav-menu {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n cursor: pointer;\n height: var(--spacing-3);\n padding-right: var(--spacing-l);\n padding-left: var(--spacing-l);\n border-radius: var(--spacing-2);\n margin: 0 var(--spacing-xs);\n}\n\n.HorizontalNav-menu--disabled {\n pointer-events: none;\n}\n\n.HorizontalNav-menu--disabled:focus-visible,\n.HorizontalNav-menu--disabled:focus {\n outline: none;\n}\n\n.HorizontalNav-menu--default:focus-visible,\n.HorizontalNav-menu--default:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n.HorizontalNav-menu--default:hover {\n background-color: var(--secondary);\n}\n\n.HorizontalNav-menu--default:active {\n background-color: var(--secondary-dark);\n}\n\n.HorizontalNav-menu--active {\n background-color: var(--primary-lightest);\n}\n\n.HorizontalNav-menu--active:focus-visible,\n.HorizontalNav-menu--active:focus {\n background-color: var(--primary-lightest);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n outline: none;\n}\n\n.HorizontalNav-menu--active:hover {\n background-color: var(--primary-lighter);\n}\n\n.HorizontalNav-menu--active:active {\n background-color: var(--primary-lighter);\n color: var(--primary-darker);\n}\n\n.HorizontalNav-menu--active:active .HorizontalNav-menuText {\n color: var(--primary-darker);\n}\n\n.HorizontalNav-menuText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.HorizontalNav-menu--active,\n.HorizontalNav-animate {\n transition-delay: var(--duration--fast-02);\n}\n\n.HorizontalNav-animate {\n transition: var(--duration--fast-02) var(--standard-productive-curve);\n}\n\n.HorizontalNav-pills {\n margin-right: var(--spacing-m);\n}\n\n.HorizontalNav-pills--disabled {\n opacity: 0.6;\n}\n\n/* Although the icons in the font can be scaled to any size, in accordance with material design icons guidelines, \n * we recommend them to be shown in either 18, 24, 36 or 48px. The default being 24px. \n * https://google.github.io/material-design-icons/\n */\n\n/* Rules for sizing the icon. */\n\n/* .material-icons.md-18 { font-size: 18px; }\n.material-icons.md-24 { font-size: 24px; }\n.material-icons.md-36 { font-size: 36px; }\n.material-icons.md-48 { font-size: 48px; } */\n\n/* Rules for using icons as black on a light background. */\n\n/* .material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }\n.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } */\n\n/* Rules for using icons as white on a dark background. */\n\n/* .material-icons.md-light { color: rgba(255, 255, 255, 1); }\n.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } */\n.Icon {\n flex-shrink: 0;\n overflow: hidden;\n flex-shrink: 0;\n user-select: none;\n}\n\n.Icon--subtle {\n color: var(--text-subtle);\n}\n\n.Icon--disabled {\n color: var(--text-disabled);\n}\n\n.Icon--destructive {\n color: var(--text-destructive);\n}\n\n.Icon--white {\n color: var(--text-white);\n}\n\n.Icon--default {\n color: var(--text);\n}\n\n.Icon--info {\n color: var(--primary);\n}\n\n.Icon--success {\n color: var(--success);\n}\n\n.Icon--warning {\n color: var(--warning);\n}\n\n.Icon--alert {\n color: var(--alert);\n}\n\n.Icon--primary {\n color: var(--primary);\n}\n\n.Icon--primaryLighter {\n color: var(--primary-lighter);\n}\n\n.Icon--primaryDark {\n color: var(--primary-dark);\n}\n\n.Icon--alertLighter {\n color: var(--alert-lighter);\n}\n\n.Icon--alertDark {\n color: var(--alert-dark);\n}\n\n.Icon--successLighter {\n color: var(--success-lighter);\n}\n\n.Icon--successDark {\n color: var(--success-dark);\n}\n\n.Icon--warningLighter {\n color: var(--warning-lighter);\n}\n\n.Icon--warningDark {\n color: var(--warning-dark);\n}\n\n.Icon--accent1 {\n color: var(--accent1);\n}\n\n.Icon--accent1Lighter {\n color: var(--accent1-lighter);\n}\n\n.Icon--accent1Dark {\n color: var(--accent1-dark);\n}\n\n.Icon--accent2 {\n color: var(--accent2);\n}\n\n.Icon--accent2Lighter {\n color: var(--accent2-lighter);\n}\n\n.Icon--accent2Dark {\n color: var(--accent2-dark);\n}\n\n.Icon--accent3 {\n color: var(--accent3);\n}\n\n.Icon--accent3Lighter {\n color: var(--accent3-lighter);\n}\n\n.Icon--accent3Dark {\n color: var(--accent3-dark);\n}\n\n.Icon--accent4 {\n color: var(--accent4);\n}\n\n.Icon--accent4Lighter {\n color: var(--accent4-lighter);\n}\n\n.Icon--accent4Dark {\n color: var(--accent4-dark);\n}\n\n.Icon--inverse {\n color: var(--inverse);\n}\n\n.InlineMessage {\n display: flex;\n flex-direction: row;\n overflow: hidden;\n border-radius: var(--spacing-m);\n background-color: var(--white);\n align-items: flex-start;\n}\n\n.InlineMessage-icon--regular {\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n margin-right: var(--spacing);\n}\n\n.InlineMessage-icon--small {\n padding-top: var(--spacing-xs);\n padding-bottom: var(--spacing-xs);\n margin-right: var(--spacing-m);\n}\n\n.InlineMessage-text--warning,\n.InlineMessage-icon--warning {\n color: var(--accent1);\n}\n\n.InlineMessage-text--alert {\n color: var(--alert);\n}\n\n.InlineMessage-text--info {\n color: var(--primary);\n}\n\n.InlineMessage-text--success {\n color: var(--success);\n}\n\n/* input */\n\n.Input-input::-ms-clear {\n display: none;\n}\n\n.Input {\n display: flex;\n flex-grow: 1;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n border-radius: var(--spacing-m);\n border: var(--border);\n padding-right: var(--spacing-l);\n padding-left: var(--spacing-l);\n background: var(--white);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Input--tiny {\n height: var(--font-height-m);\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n\n.Input--regular {\n height: var(--font-height-l);\n padding-top: 6px;\n padding-bottom: 6px;\n}\n\n.Input--large {\n height: 40px;\n padding-top: var(--spacing);\n padding-bottom: var(--spacing);\n}\n\n.Input:hover {\n background: var(--secondary-lighter);\n border-color: var(--secondary-dark);\n cursor: text;\n}\n\n.Input:focus-within {\n background: var(--white);\n border-color: var(--primary);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Input:focus-within .Input-icon--left {\n color: var(--primary);\n}\n\n.Input--error:focus-within {\n border-color: var(--alert);\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.Input--error:focus-within .Input-icon--left {\n color: var(--alert);\n}\n\n.Input--disabled {\n background: var(--secondary-lightest);\n border-color: var(--secondary-lighter);\n pointer-events: none;\n}\n\n.Input--disabled .Input-icon--left {\n color: var(--inverse-lightest);\n}\n\n.Input--error,\n.Input--error:hover {\n background: var(--white);\n border-color: var(--alert);\n}\n\n.Input-input {\n display: flex;\n width: 100%;\n font-family: var(--font-family);\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size);\n line-height: var(--font-height-s);\n color: var(--night);\n padding: 0;\n border: none;\n background: transparent;\n}\n\n.Input-input::placeholder {\n color: var(--inverse-lighter);\n}\n\n.Input-input:focus {\n outline: 0;\n}\n\n.Input-input:disabled .Input-input::placeholder {\n color: var(--inverse-lighter);\n}\n\n.Input-input--regular {\n line-height: var(--font-height);\n}\n\n.Input-input--large {\n line-height: var(--font-height-m);\n font-size: var(--font-size-m);\n}\n\n.Input-icon {\n display: flex;\n align-content: center;\n font-size: var(--font-size-m);\n}\n\n.Input-icon--left {\n margin-right: var(--spacing);\n color: var(--inverse);\n}\n\n.Input-icon--inputBlank {\n color: var(--inverse-lighter);\n}\n\n.Input-icon--error {\n color: var(--alert);\n}\n\n.Input-icon--right {\n cursor: pointer;\n color: var(--inverse-lighter);\n border-radius: 10px;\n}\n\n.Input-iconWrapper--right:focus-visible .Input-icon--right {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n}\n\n.Input-icon--right:focus-visible {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n border-radius: 10px;\n}\n\n.Input-iconWrapper--right:hover .Input-icon--right {\n background-color: var(--secondary);\n}\n\n.Input-iconWrapper--right:active .Input-icon--right {\n background-color: var(--secondary-dark);\n}\n\n.Input-inlineLabel {\n margin-right: var(--spacing);\n}\n\n.Input-iconWrapper--right:focus-visible {\n outline: none;\n}\n\n.Link {\n text-decoration: none;\n font-weight: var(--font-weight-medium);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n box-sizing: border-box;\n}\n\n.Link:focus-visible {\n outline: none;\n}\n\n.Link--regular {\n font-size: var(--font-size);\n height: var(--font-height);\n}\n\n.Link--tiny {\n font-size: var(--font-size-s);\n height: var(--font-height-s);\n line-height: var(--font-height-s);\n}\n\n.Link--default {\n color: var(--text-link);\n}\n\n.Link--subtle {\n color: var(--inverse-lighter);\n}\n\n.Link--default:hover {\n border-bottom: var(--spacing-xs) solid var(--primary-dark);\n color: var(--primary-dark);\n}\n\n.Link--subtle:hover {\n border-bottom: var(--spacing-xs) solid var(--inverse-light);\n color: var(--inverse-light);\n}\n\n.Link--default:active {\n color: var(--primary-darker);\n border: none;\n}\n\n.Link--subtle:active {\n color: var(--inverse);\n border: none;\n}\n\n.Link--default:focus {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n border-radius: var(--spacing-m);\n}\n\n.Link--subtle:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n border-radius: var(--spacing-m);\n}\n\n.Link--default-disabled {\n color: var(--primary-lighter);\n pointer-events: none;\n}\n\n.Link--subtle-disabled {\n color: var(--inverse-lightest);\n pointer-events: none;\n}\n\n.LinkButton {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n position: relative;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: 0;\n text-align: center;\n padding: 0;\n background: transparent;\n font-weight: var(--font-weight-medium);\n font-family: var(--font-family);\n border-radius: var(--spacing-m);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.LinkButton--iconAlign-right {\n flex-direction: row-reverse;\n}\n\n.LinkButton-icon {\n line-height: inherit;\n display: flex;\n align-items: center;\n}\n\n.LinkButton-icon--left {\n margin-right: var(--spacing-m);\n}\n\n.LinkButton-icon--right {\n margin-left: var(--spacing-m);\n}\n\n.LinkButton--regular {\n line-height: var(--font-height);\n font-size: var(--font-size);\n}\n\n.LinkButton--tiny {\n line-height: var(--font-height-s);\n font-size: var(--font-size-s);\n}\n\n.LinkButton--default {\n color: var(--primary);\n}\n\n.LinkButton--default:hover {\n color: var(--primary-dark);\n}\n\n.LinkButton--default:active {\n color: var(--primary-darker);\n}\n\n.LinkButton--default:focus,\n.LinkButton--default:focus-visible {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.LinkButton--default:disabled {\n cursor: not-allowed;\n pointer-events: none;\n color: var(--primary-lighter);\n}\n\n/* Subtle Appearance */\n\n.LinkButton--subtle {\n color: var(--inverse-lighter);\n}\n\n.LinkButton--subtle:hover {\n color: var(--inverse-light);\n}\n\n.LinkButton--subtle:active {\n color: var(--inverse);\n}\n\n.LinkButton--subtle:focus,\n.LinkButton--subtle:focus-visible {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n}\n\n.LinkButton--subtle:disabled {\n cursor: not-allowed;\n pointer-events: none;\n color: var(--inverse-lightest);\n}\n\n.List {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n /* flex-grow: 0; */\n height: 100%;\n z-index: 1;\n}\n\n.List-grid {\n height: 100%;\n overflow: hidden;\n height: 100%;\n}\n\n.Message {\n display: flex;\n flex-direction: row;\n overflow: hidden;\n padding: var(--spacing-l) var(--spacing-xl) var(--spacing-l) var(--spacing-2);\n border: var(--spacing-xs) solid;\n width: 100%;\n border-radius: var(--spacing-m);\n box-sizing: border-box;\n}\n\n.Message--alert {\n border-color: var(--alert);\n background-color: color-mod(var(--alert-lightest) a(0.4));\n}\n\n.Message--success {\n border-color: var(--success);\n background-color: color-mod(var(--success-lightest) a(0.4));\n}\n\n.Message--info {\n border-color: var(--primary);\n background-color: color-mod(var(--primary-lightest) a(0.4));\n}\n\n.Message--warning {\n border-color: var(--accent1);\n background-color: color-mod(var(--warning-lightest) a(0.4));\n}\n\n.Message-icon {\n margin-right: var(--spacing-2);\n padding-top: var(--spacing-s);\n}\n\n.Message-icon--withTitle {\n padding-top: var(--spacing-m);\n}\n\n.Message-icon--warning {\n color: var(--accent1);\n}\n\n.Message-heading {\n margin-bottom: var(--spacing-m);\n}\n\n.Message-heading--alert,\n.Message-text--alert {\n color: var(--alert-darker) !important;\n}\n\n.Message-heading--info,\n.Message-text--info {\n color: var(--primary-darker) !important;\n}\n\n.Message-heading--success,\n.Message-text--success {\n color: var(--success-darker) !important;\n}\n\n.Message-heading--warning,\n.Message-text--warning {\n color: var(--accent1-darker) !important;\n}\n\n.Message-actions {\n display: flex;\n align-items: center;\n margin-top: var(--spacing-l);\n}\n\n.Meta {\n display: flex;\n flex-direction: row;\n align-items: center;\n width: fit-content;\n font-size: var(--font-size);\n}\n\n.MetaList-seperator {\n margin-left: var(--spacing);\n}\n.MetaList-seperator--left {\n margin-right: var(--spacing-m);\n}\n.Meta-icon {\n padding-right: var(--spacing-m);\n display: flex;\n align-items: center;\n}\n.MetaList {\n display: flex;\n flex-direction: row;\n align-items: center;\n width: fit-content;\n font-size: var(--font-size);\n}\n.MetaList-item {\n margin: 0 var(--spacing-m);\n display: flex;\n flex-direction: row;\n align-items: center;\n width: fit-content;\n font-size: var(--font-size);\n}\n\n.MetaList-item:first-child {\n margin-left: 0;\n}\n\n.MetaList-item:last-child {\n margin-right: 0;\n}\n\n.MetricInput-input::-ms-clear {\n display: none;\n}\n\n.MetricInput {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n box-sizing: border-box;\n border-radius: var(--spacing-m);\n border: var(--border);\n padding-right: var(--spacing-m);\n background: var(--white);\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.MetricInput--regular {\n height: var(--spacing-3);\n padding-left: var(--spacing-l);\n}\n\n.MetricInput--large {\n height: 40px;\n padding-left: var(--spacing-2);\n}\n\n.MetricInput:hover {\n background: var(--secondary-lightest);\n cursor: text;\n}\n\n.MetricInput:focus-within {\n background: var(--white);\n border-color: var(--primary);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.MetricInput:focus-within .MetricInput-icon {\n color: var(--primary);\n}\n\n.MetricInput--disabled {\n background: var(--secondary-lightest);\n border-color: var(--secondary-light);\n pointer-events: none;\n}\n\n.MetricInput--disabled .MetricInput-icon {\n color: var(--inverse-lightest);\n}\n\n.MetricInput--error,\n.MetricInput--error:hover {\n background: var(--white);\n border-color: var(--alert);\n}\n\n.MetricInput--error:focus-within {\n border-color: var(--alert);\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.MetricInput--error:focus-within .MetricInput-icon {\n color: var(--alert);\n}\n\n.MetricInput-input {\n display: flex;\n width: 100%;\n font-family: var(--font-family);\n font-weight: var(--font-weight-normal);\n font-size: var(--font-size);\n line-height: var(--font-height-s);\n color: var(--night);\n padding: 0;\n border: none;\n background: transparent;\n}\n\n.MetricInput-input--large {\n line-height: var(--font-height-m);\n font-size: var(--font-size-m);\n}\n\n.MetricInput-input::placeholder {\n color: var(--inverse-lighter);\n}\n\n.MetricInput-input:focus {\n outline: 0;\n}\n\n.MetricInput-input:disabled .MetricInput-input::placeholder {\n color: var(--inverse-lighter);\n}\n\n.MetricInput-icon--regular {\n margin-right: var(--spacing);\n line-height: var(--font-height-s);\n}\n\n.MetricInput-icon--large {\n margin-right: var(--spacing-l);\n line-height: var(--font-height-m);\n}\n\n.MetricInput-input::-webkit-inner-spin-button,\n.MetricInput-input::-webkit-outer-spin-button {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n margin: 0;\n}\n\n.MetricInput-arrowIcon--large {\n height: var(--spacing-2);\n width: var(--spacing-2);\n border-radius: var(--spacing-s);\n}\n\n.MetricInput-arrowIcon--regular {\n height: var(--spacing-l);\n width: var(--spacing-l);\n border-radius: var(--spacing-s);\n}\n\n@keyframes modal-open {\n from {\n top: 20px;\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes modal-close {\n from {\n top: 104px;\n opacity: 1;\n }\n to {\n top: 124px;\n opacity: 0;\n }\n}\n\n.Modal {\n position: fixed !important;\n max-height: calc(100vh - 128px);\n box-shadow: var(--shadow-m);\n background-color: var(--white);\n border-radius: var(--spacing);\n overflow: auto;\n flex-direction: column;\n display: none;\n margin: auto;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: min-content;\n}\n\n.Modal--open {\n display: flex;\n}\n\n.Modal-animation--open {\n animation: modal-open var(--duration--moderate-02) var(--entrance-expressive-curve);\n}\n\n.Modal-animation--close {\n animation: modal-close var(--duration--fast-02) var(--exit-expressive-curve);\n}\n\n.Modal-header {\n display: flex;\n justify-content: flex-start;\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-l);\n padding-right: var(--spacing-2);\n}\n\n.Modal-header--withSeperator {\n border-bottom: var(--border);\n}\n\n.Modal-description {\n padding: var(--spacing) 0;\n}\n\n.Modal-footer {\n padding-top: var(--spacing-xl);\n padding-bottom: var(--spacing-xl);\n justify-content: flex-end;\n position: absolute;\n bottom: 0;\n}\n\n.Modal-footer--withSeperator {\n border-top: var(--border);\n}\n\n.Modal-body {\n padding: 0 var(--spacing-xl);\n}\n\n.Modal-body--withMargin {\n margin-bottom: 80px;\n}\n\n.Modal-body--withPadding {\n padding-bottom: var(--spacing-2);\n}\n\n/* Navigation */\n\n.Navigation {\n display: flex;\n}\n\n.Navigation--horizontal {\n flex-grow: 1;\n justify-content: center;\n}\n\n.Navigation--vertical {\n flex-direction: column;\n height: 100%;\n width: var(--spacing-9);\n}\n\n.Navigation--collapsed {\n width: fit-content;\n}\n\n.Navigation-body {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n padding-right: var(--spacing);\n}\n\n.Navigation-menu {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n\n.Navigation-menu--horizontal {\n height: var(--spacing-3);\n padding-right: var(--spacing-l);\n padding-left: var(--spacing-l);\n border-radius: var(--spacing-2);\n margin: 0 var(--spacing-xs);\n}\n\n.Navigation-menu--disabled {\n pointer-events: none;\n}\n\n.Navigation-menu:hover {\n background-color: var(--secondary-light);\n}\n\n.Navigation-menu--active,\n.Navigation-menu--active:hover {\n background: var(--primary-lightest);\n}\n\n.Navigation-menu--vertical {\n /* padding-top: var(--spacing-m); */\n /* padding-bottom: var(--spacing-m); */\n padding-left: var(--spacing);\n margin-top: var(--spacing-m);\n margin-bottom: var(--spacing-m);\n /* margin-right: var(--spacing); */\n border-radius: 0px var(--spacing-2) var(--spacing-2) 0px;\n}\n\n.Navigation-menu--rounded {\n border-radius: var(--spacing-2);\n}\n\n.Navigation-menu--subMenu {\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n padding-left: 40px;\n margin-top: 0;\n}\n\n.Navigation-menuIcon {\n padding: 8px;\n border-radius: 50%;\n cursor: pointer;\n}\n\n.Navigation-menuIcon--active {\n background: var(--primary-lightest);\n}\n\n.Navigation-menuLabel {\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n}\n\n.Navigation-menu .Text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.Navigation-horizontalPills {\n margin-right: var(--spacing-m);\n}\n\n.Navigation-horizontalPills--disabled {\n opacity: 0.6;\n}\n\n.Navigation-footer {\n display: flex;\n align-items: center;\n padding: var(--spacing-m) var(--spacing);\n}\n\n.Navigation-footer--border {\n border-top: var(--border);\n}\n\n.Navigation--collapsed .Navigation-menuIcon--footer {\n transform: rotate(180deg);\n}\n\n.OverlayHeader {\n box-sizing: border-box;\n margin-left: var(--spacing-xl);\n}\n\n.OverlayHeader--withBackButton {\n margin-left: var(--spacing-2);\n}\n\n.OverlayHeader-headerWrapper {\n display: flex;\n align-items: center;\n}\n\n.OverlayHeader-subheading {\n margin-top: var(--spacing-s);\n}\n\n.OverlayHeader-subheading--withBackButton {\n margin-left: var(--spacing);\n}\n\n.OverlayBody {\n overflow-y: auto;\n}\n\n.Overlay-body--stickFooter {\n margin-bottom: 80px;\n}\n\n.OverlayFooter {\n display: flex;\n align-items: center;\n width: 100%;\n box-sizing: border-box;\n padding-left: var(--spacing-xl);\n padding-right: var(--spacing-xl);\n}\n\n.PageHeader-wrapper {\n padding: var(--spacing) var(--spacing-2);\n}\n\n.PageHeader-wrapper--separator {\n border-bottom: var(--border);\n}\n\n.PageHeader-wrapper--withTabs {\n padding-bottom: 0;\n}\n\n.PageHeader-wrapper--withTabs .TabsWrapper-header {\n border-bottom: none;\n}\n\n.PageHeader .Row {\n width: 100%;\n}\n\n.PageHeader-titleWrapper {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n padding-right: var(--spacing);\n}\n\n.PageHeader-titleWrapper .Badge {\n margin-left: var(--spacing-l);\n flex-shrink: 0;\n}\n\n.PageHeader-statusWrapper {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n}\n\n.PageHeader-statusWrapper .StatusHints {\n margin-right: var(--spacing);\n}\n\n.PageHeader-navigationWrapper {\n margin-top: var(--spacing-l);\n}\n\n.PageHeader .PageHeader-navigationWrapper {\n justify-content: center;\n align-items: center;\n margin-top: 0 !important;\n padding-right: var(--spacing);\n padding-left: var(--spacing);\n}\n\n.PageHeader-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.PageHeader-actionsWrapper {\n display: flex;\n justify-content: flex-end;\n padding-left: var(--spacing);\n}\n\n/* pagination */\n\n.Pagination {\n display: flex;\n vertical-align: middle;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.Pagination .Button {\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n}\n\n.Pagination-buttonWrapper {\n display: flex;\n flex-direction: row;\n}\n\n.Pagination-pageIndex {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n}\n\n.Pagination-MetricInput {\n width: var(--spacing-4);\n margin-right: var(--spacing);\n padding-left: var(--spacing);\n padding-right: var(--spacing);\n}\n\n.Pagination-MetricInput .MetricInput-input {\n text-align: center;\n}\n.Pagination-MetricInput .MetricInput-arrowIcons {\n display: none;\n}\n\n@media (max-width: 575px) {\n .Pagination-pageIndex {\n order: -1;\n flex-basis: 100%;\n }\n .Pagination-buttonWrapper {\n margin-top: var(--spacing);\n width: 50%;\n }\n .Pagination-buttonWrapper--next {\n justify-content: flex-start;\n }\n .Pagination-buttonWrapper--previous {\n justify-content: flex-end;\n }\n}\n\n.Pills {\n /* 160px */\n max-width: calc(var(--spacing-2) * 10);\n /* truncate */\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: var(--font-size-s);\n line-height: var(--font-height-s);\n text-transform: uppercase;\n padding-right: 6px;\n padding-left: 6px;\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n border-radius: 20px;\n display: inline-block;\n box-sizing: border-box;\n font-weight: var(--font-weight-bold);\n cursor: default;\n}\n\n@keyframes shimmer {\n 0% {\n background-position: -500px 0;\n }\n 100% {\n background-position: 500px 0;\n }\n}\n\n.Placeholder--animation {\n border-radius: var(--spacing-s);\n animation-duration: 1.5s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: shimmer;\n animation-timing-function: linear;\n background: var(--secondary-lightest);\n background: linear-gradient(\n to right,\n var(--secondary-lighter) 8%,\n var(--secondary-dark) 18%,\n var(--secondary-lighter) 33%\n );\n background-size: 1000px 104px;\n}\n\n.Placeholder {\n display: flex;\n flex-grow: 1;\n flex-shrink: 0;\n align-items: center;\n}\n\n.Placeholder--withImage {\n display: flex;\n justify-content: flex-start;\n}\n\n.Placeholder-paragraph {\n display: flex;\n flex-direction: column;\n flex: 1 0;\n}\n\n.Placeholder-paragraph--withImage {\n margin-left: var(--spacing);\n}\n\n.PlaceholderParagraph {\n display: flex;\n flex-grow: 1;\n height: var(--font-size);\n}\n\n.PlaceholderParagraph-wrapper {\n display: flex;\n align-items: center;\n height: var(--font-height);\n}\n\n.PlaceholderParagraph-wrapper--length-small {\n width: 33%;\n}\n\n.PlaceholderParagraph-wrapper--length-medium {\n width: 66%;\n}\n\n.PlaceholderParagraph-wrapper--length-large {\n width: 100%;\n}\n\n.PlaceholderParagraph-wrapper--size-xxs {\n height: var(--font-height-s);\n}\n\n.PlaceholderParagraph-wrapper--size-xs {\n height: var(--font-height-m);\n}\n\n.PlaceholderParagraph-wrapper--size-s {\n height: var(--font-height-s);\n}\n\n.PlaceholderParagraph-wrapper--size-m {\n height: var(--font-height-m);\n}\n\n.PlaceholderParagraph-wrapper--size-l {\n height: var(--font-height-l);\n}\n\n.PlaceholderParagraph-wrapper--size-xl {\n height: var(--font-height-xl);\n}\n\n.PlaceholderParagraph-wrapper--size-xxl {\n height: var(--font-height-xxl);\n}\n\n.PlaceholderParagraph-wrapper--size-xxxl {\n height: var(--font-height-xxl);\n}\n\n.PlaceholderParagraph--xxs {\n height: var(--font-size-s);\n}\n\n.PlaceholderParagraph--xs {\n height: var(--font-size-s);\n}\n\n.PlaceholderParagraph--s {\n height: var(--font-size);\n}\n\n.PlaceholderParagraph--m {\n height: var(--font-size-m);\n}\n\n.PlaceholderParagraph--l {\n height: var(--font-size-l);\n}\n\n.PlaceholderParagraph--xl {\n height: var(--font-size-xl);\n}\n\n.PlaceholderParagraph--xxl {\n height: var(--font-size-xxl);\n}\n\n.PlaceholderParagraph--xxxl {\n height: var(--font-size-xxxl);\n}\n\n.PlaceholderImage {\n display: flex;\n flex-shrink: 0;\n width: 16px;\n height: 16px;\n}\n\n.PlaceholderImage--small {\n width: 16px;\n height: 16px;\n}\n\n.PlaceholderImage--medium {\n width: 32px;\n height: 32px;\n}\n\n.PlaceholderImage--large {\n width: 48px;\n height: 48px;\n}\n\n.PlaceholderImage--round {\n border-radius: 50%;\n}\n\n.Popover {\n border-radius: var(--spacing-m);\n position: absolute;\n z-index: 500;\n background: var(--white);\n box-shadow: var(--shadow-l);\n}\n\n.Popover--dark {\n background: var(--inverse);\n color: var(--white);\n}\n\n.Popover[data-hide='true'] {\n visibility: hidden;\n pointer-events: none;\n}\n\n@keyframes popper-fade-in {\n 0% {\n opacity: 0;\n }\n 80% {\n opacity: 0.2;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.Ring {\n transform: rotate(-90deg);\n}\n\n.Ring--regular {\n height: var(--spacing-3);\n width: var(--spacing-3);\n}\n\n.Ring--small {\n height: var(--spacing-2);\n width: var(--spacing-2);\n}\n\n.Ring Circle {\n fill: none;\n}\n\n.Ring-background {\n stroke: var(--secondary-lightest);\n}\n\n.Ring-indicator {\n stroke: var(--primary);\n transition: var(--duration--slow-01) var(--standard-expressive-curve);\n}\n\n/* Radio */\n\n.Radio {\n display: flex;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n padding-top: var(--spacing-s);\n padding-bottom: var(--spacing-s);\n width: fit-content;\n}\n\n.Radio-outerWrapper {\n position: relative;\n flex-shrink: 0;\n margin-top: var(--spacing-s);\n}\n\n.Radio-defaultWrapper {\n border: var(--border);\n}\n\n.Radio-errorWrapper {\n border: var(--border);\n border-color: var(--alert);\n}\n\n.Radio-outerWrapper--regular {\n height: var(--spacing-2);\n width: var(--spacing-2);\n}\n\n.Radio-outerWrapper--tiny {\n height: var(--spacing-l);\n width: var(--spacing-l);\n}\n\n.Radio-input {\n opacity: 0;\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 2;\n margin: 0;\n cursor: pointer;\n}\n\n.Radio-labelWrapper {\n padding-left: var(--spacing);\n display: flex;\n flex-direction: column;\n}\n\n.Radio-Label {\n display: flex;\n cursor: pointer;\n}\n\n.Radio-wrapper {\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n position: absolute;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n z-index: 1;\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Radio--disabled {\n pointer-events: none;\n}\n\n.Radio:hover .Radio-wrapper {\n border: var(--spacing-xs) solid var(--secondary-dark);\n background-color: var(--secondary-lighter);\n}\n\n.Radio:active .Radio-wrapper {\n background-color: var(--secondary-light);\n border: var(--spacing-xs) solid var(--inverse-lightest);\n}\n\n.Radio:hover .Radio-errorWrapper {\n border: var(--border);\n background-color: var(--secondary-lighter);\n border-color: var(--alert-dark);\n}\n\n.Radio:active .Radio-errorWrapper {\n border: var(--border);\n background-color: var(--secondary-light);\n border-color: var(--alert-darker);\n}\n\n.Radio:focus-within .Radio-wrapper {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n border-radius: 50%;\n}\n\n.Radio:focus-within .Radio-errorWrapper {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n border-radius: 50%;\n}\n\n.Radio:focus-within .Radio-input:checked ~ .Radio-wrapper {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Radio:focus-within .Radio-input:checked ~ .Radio-errorWrapper {\n outline: 0;\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Radio--disabled .Radio-wrapper {\n border: var(--spacing-xs) solid var(--secondary-light);\n background-color: var(--secondary-lightest);\n}\n\n.Radio--disabled .Radio-errorWrapper {\n border: var(--spacing-xs) solid var(--alert-lighter);\n background-color: var(--secondary-lightest);\n}\n\n.Radio-input:checked ~ .Radio-wrapper {\n border: var(--spacing-xs) solid var(--primary);\n}\n\n.Radio-input:checked ~ .Radio-errorWrapper {\n border: var(--spacing-xs) solid var(--alert);\n}\n\n.Radio-input:checked ~ .Radio-wrapper:after {\n display: block;\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Radio-wrapper:after {\n content: '';\n display: none;\n border-radius: 50%;\n background: var(--primary);\n}\n\n.Radio-wrapper--regular:after {\n width: var(--spacing);\n height: var(--spacing);\n}\n\n.Radio-wrapper--tiny:after {\n width: var(--spacing-m);\n height: var(--spacing-m);\n border: var(--spacing-xs) solid var(--primary);\n}\n\n.Radio:hover .Radio-input:checked ~ .Radio-wrapper {\n border: var(--spacing-xs) solid var(--primary-dark);\n}\n\n.Radio:hover .Radio-input:checked ~ .Radio-wrapper:after {\n background: var(--primary-dark);\n}\n\n.Radio:hover .Radio-input:checked ~ .Radio-wrapper--tiny:after {\n border: var(--spacing-xs) solid var(--primary-dark);\n}\n\n.Radio:active .Radio-input:checked ~ .Radio-wrapper {\n background-color: var(--secondary-light);\n border: var(--spacing-xs) solid var(--primary-darker);\n}\n\n.Radio:hover .Radio-input:checked ~ .Radio-errorWrapper {\n background-color: var(--secondary-lighter);\n border: var(--spacing-xs) solid var(--alert-dark);\n}\n\n.Radio:active .Radio-input:checked ~ .Radio-errorWrapper {\n background-color: var(--secondary-light);\n border: var(--spacing-xs) solid var(--alert-darker);\n}\n\n.Radio:active .Radio-input:checked ~ .Radio-wrapper:after {\n background: var(--primary-darker);\n}\n\n.Radio:active .Radio-input:checked ~ .Radio-wrapper--tiny:after {\n border: var(--spacing-xs) solid var(--primary-darker);\n}\n\n.Radio--disabled .Radio-input:checked ~ .Radio-wrapper {\n border: var(--spacing-xs) solid var(--primary-lighter);\n background-color: var(--secondary-lightest);\n}\n\n.Radio--disabled .Radio-input:checked ~ .Radio-errorWrapper {\n border: var(--spacing-xs) solid var(--alert-lighter);\n background-color: var(--secondary-lightest);\n}\n\n.Radio--disabled .Radio-input:checked ~ .Radio-wrapper:after {\n background: var(--primary-lighter);\n}\n\n.Radio--disabled .Radio-input ~ .Radio-wrapper:focus {\n box-shadow: none;\n}\n\n.Radio--disabled .Radio-input ~ .Radio-errorWrapper:focus {\n box-shadow: none;\n}\n\n@keyframes sidesheet-open {\n from {\n right: -100%;\n }\n to {\n right: 0;\n }\n}\n\n@keyframes sidesheet-close {\n from {\n right: 0;\n }\n to {\n right: -100%;\n }\n}\n\n@keyframes shift-right-spacing-3 {\n from {\n transform: translateX(calc(-1 * var(--spacing-3)));\n }\n to {\n transform: translateX(0);\n }\n}\n\n@keyframes shift-left-spacing-3 {\n from {\n transform: translateX(var(--spacing-3));\n }\n to {\n transform: translateX(0);\n }\n}\n\n.Sidesheet {\n position: fixed !important;\n top: 0;\n right: 0;\n height: 100vh;\n box-shadow: var(--shadow-l);\n background-color: var(--white);\n display: flex;\n flex-direction: column;\n visibility: hidden;\n}\n\n.Sidesheet--open {\n visibility: visible;\n}\n\n.Sidesheet-animation--open {\n animation: sidesheet-open 240ms cubic-bezier(0, 0, 0.3, 1);\n}\n\n.Sidesheet-animation--close {\n animation: sidesheet-close 120ms cubic-bezier(0.4, 0.14, 1, 1);\n animation-fill-mode: forwards;\n}\n\n.Sidesheet-header {\n display: flex;\n justify-content: flex-start;\n padding-top: var(--spacing-2);\n padding-bottom: var(--spacing-l);\n padding-right: var(--spacing-2);\n}\n\n.Sidesheet-header--withSeperator {\n border-bottom: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.Sidesheet-body {\n padding: 0 var(--spacing-xl);\n}\n\n.Sidesheet-body--withMargin {\n margin-bottom: 80px;\n}\n\n.Sidesheet-footer {\n padding-top: var(--spacing-xl);\n padding-bottom: var(--spacing-xl);\n}\n\n.Sidesheet-footer--withSeperator {\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.Sidesheet-footer--stickToBottom {\n position: absolute;\n bottom: 0;\n}\n\n.Sidesheet-header--shiftRight {\n animation: shift-right-spacing-3 var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Sidesheet-header--shiftLeft {\n animation: shift-left-spacing-3 var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Sidesheet-body--nextPage {\n animation: fadeIn var(--duration--fast-02) var(--standard-productive-curve);\n}\n\n.Sidesheet-body--firstPage {\n animation: fadeIn var(--duration--fast-02) var(--standard-expressive-curve);\n}\n\n.Slider {\n width: 100%;\n}\n\n.Slider-wrapper {\n position: relative;\n outline: none;\n cursor: pointer;\n}\n\n.Slider-wrapper--disabled {\n cursor: not-allowed;\n}\n\n.Slider-track {\n border-radius: var(--spacing-m);\n height: var(--spacing-2);\n display: flex;\n align-items: center;\n overflow: hidden;\n}\n\n.Slider-progress {\n background: var(--secondary-lighter);\n height: var(--spacing-s);\n box-sizing: border-box;\n border-radius: var(--spacing-s);\n}\n\n.Slider-progress--inRange {\n background: var(--primary);\n}\n\n.Slider-progress--inRangeDisabled {\n border: var(--border);\n}\n\n.Slider-label {\n margin-top: var(--spacing-m);\n -webkit-transform: translate(-50%, 0px);\n transform: translate(-50%, 0px);\n display: flex;\n align-items: center;\n flex-direction: column;\n position: absolute;\n user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n}\n\n.Slider-ticks {\n width: var(--spacing-s);\n height: var(--spacing-m);\n border-radius: var(--spacing-xs);\n background-color: var(--secondary-dark);\n}\n\n.Slider-tooltip--visible {\n visibility: visible;\n}\n\n.Slider-tooltip--hidden {\n visibility: hidden;\n}\n\n.Slider-tooltip {\n position: absolute;\n color: var(--white);\n outline: none;\n bottom: calc(100% + 4px);\n transform: translateX(calc(-50% + 8px));\n}\n\n.Slider-handle {\n height: var(--spacing-2);\n width: var(--spacing-2);\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 50%;\n background-color: var(--white);\n border: var(--spacing-s) solid var(--primary);\n box-shadow: var(--shadow-s);\n cursor: pointer;\n box-sizing: border-box;\n outline: none;\n display: flex;\n transition: border var(--duration--fast-01) var(--standard-productive-curve),\n background-color var(--duration--fast-01) var(--standard-productive-curve);\n}\n\n.Slider-handle:hover {\n background-color: var(--primary-lightest);\n}\n\n.Slider-handle:active {\n background-color: var(--primary);\n}\n\n.Slider-handle:focus {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n outline: none;\n}\n\n.Slider-handle--disabled {\n pointer-events: none;\n background-color: var(--secondary-lighter);\n box-shadow: none;\n}\n\n.Slider-handle--disabled:focus {\n box-shadow: none;\n}\n\n@keyframes rotate {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n\n.Spinner {\n animation: rotate 2s linear infinite;\n}\n\n.Spinner--small {\n height: var(--spacing-2);\n width: var(--spacing-2);\n}\n\n.Spinner--medium {\n height: var(--spacing-3);\n width: var(--spacing-3);\n}\n\n.Spinner--large {\n height: var(--spacing-4);\n width: var(--spacing-4);\n}\n\n.Circle {\n stroke-linecap: round;\n stroke-dasharray: 1 200;\n stroke-dashoffset: 0;\n animation: spin 1.5s ease-in-out infinite;\n}\n\n.Circle--primary {\n stroke: var(--primary);\n}\n\n.Circle--secondary {\n stroke: var(--primary);\n}\n\n.Circle--white {\n stroke: var(--primary);\n}\n\n.StatusHint {\n display: flex;\n flex-direction: row;\n width: fit-content;\n}\n\n.StatusHint-icon {\n flex-shrink: 0;\n border-radius: 50%;\n height: var(--spacing);\n width: var(--spacing);\n margin-right: var(--spacing);\n margin-top: 6px;\n}\n\n.StatusHint--alert {\n background: var(--alert);\n}\n\n.StatusHint--success {\n background: var(--success);\n}\n\n.StatusHint--warning {\n background: var(--warning);\n}\n\n.StatusHint--info {\n background: var(--primary);\n}\n\n.StatusHint--default {\n background: var(--secondary);\n}\n\n.Stepper {\n display: flex;\n}\n\n.Step {\n display: flex;\n align-items: center;\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n margin-left: var(--spacing-xs);\n margin-right: var(--spacing-xs);\n border-radius: var(--spacing-2);\n cursor: pointer;\n}\n\n.Step:hover {\n background-color: var(--secondary);\n}\n\n.Step:active {\n background-color: var(--secondary-dark);\n}\n\n.Step:focus,\n.Step:focus-visible {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n/* Completed State */\n\n.Step--completed {\n color: var(--primary-dark);\n}\n\n.Step--completed:hover {\n background-color: var(--secondary);\n}\n\n.Step--completed:active {\n background-color: var(--secondary-dark);\n}\n\n.Step--completed:focus,\n.Step--completed:focus-visible {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n/* Active State */\n\n.Step--active {\n background-color: var(--primary-lightest);\n color: var(--primary-dark);\n transition-delay: var(--duration--fast-02);\n}\n\n.Step--active:hover {\n background-color: var(--primary-lighter);\n}\n\n.Step--active:focus,\n.Step--active:focus-visible {\n background-color: var(--primary-lightest);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n outline: none;\n}\n\n.Step--active:active {\n background-color: var(--primary-lighter);\n color: var(--primary-darker);\n}\n\n.Step--active:active .Stepper-text {\n color: var(--primary-darker);\n}\n\n/* Disabled State */\n\n.Step--disabled {\n cursor: not-allowed;\n color: var(--inverse-lightest);\n pointer-events: none;\n}\n\n.Stepper-animate {\n transition-delay: var(--duration--fast-02);\n transition: var(--duration--fast-02) var(--standard-productive-curve);\n}\n\n.Switch {\n display: inline-flex;\n position: relative;\n}\n\n.Switch--tiny {\n height: var(--spacing-2);\n width: var(--spacing-3);\n}\n\n.Switch--regular {\n height: var(--spacing-xl);\n width: var(--spacing-4);\n}\n\n.Switch--large {\n height: var(--spacing-xl);\n width: var(--spacing-4);\n}\n\n.Switch-input {\n position: absolute;\n cursor: pointer;\n z-index: 10;\n opacity: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n}\n\n.Switch-wrapper {\n display: flex;\n align-items: center;\n line-height: 100%;\n padding: var(--spacing-s);\n top: 0;\n left: 0;\n width: 100%;\n background-color: var(--secondary-light);\n transition: background 120ms ease;\n padding-right: 6px;\n}\n\n.Switch-input:focus ~ .Switch-wrapper {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n background-color: var(--secondary-light);\n}\n\n.Switch-input:focus ~ .Switch-wrapper--checked {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n background-color: var(--primary);\n}\n\n.Switch-input:hover ~ .Switch-wrapper {\n background-color: var(--secondary);\n}\n\n.Switch-input:hover ~ .Switch-wrapper--checked {\n background-color: var(--primary-dark);\n}\n\n.Switch-input:active ~ .Switch-wrapper {\n background-color: var(--secondary-dark);\n}\n\n.Switch-input:active ~ .Switch-wrapper--checked {\n background-color: var(--primary-darker);\n}\n\n.Switch-wrapper--tiny {\n border-radius: 10px;\n}\n\n.Switch-wrapper--regular {\n border-radius: 34px;\n}\n\n.Switch-wrapper--large {\n border-radius: 34px;\n}\n\n.Switch-wrapper:before {\n content: '';\n height: 100%;\n width: 50%;\n background-color: var(--shadow-0);\n box-shadow: var(--shadow-m);\n border-radius: 50%;\n box-sizing: border-box;\n transition-duration: 80ms;\n}\n\n.Switch-wrapper--checked {\n background-color: var(--primary);\n transition: background 120ms ease;\n padding-left: 6px;\n padding-right: 2px !important;\n}\n\n.Switch-wrapper--checked:before {\n -webkit-transform: translateX(100%);\n -ms-transform: translateX(100%);\n transform: translateX(100%);\n transition-duration: 80ms;\n}\n\n.Switch--disabled {\n pointer-events: none;\n}\n\n.Switch-wrapper--disabled {\n background-color: var(--secondary-lighter);\n}\n\n.Switch-wrapper--checkedDisabled {\n background-color: var(--primary-lighter);\n}\n\n.Table {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n height: 100%;\n width: 100%;\n z-index: 1;\n}\n\n.Table-grid {\n height: 100%;\n overflow: hidden;\n z-index: 1;\n}\n\n.Table-pagination {\n display: flex;\n justify-content: center;\n background: var(--white);\n padding: var(--spacing) 0;\n border-top: var(--border);\n}\n\n/* tabs */\n\n.TabsWrapper {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n}\n\n.TabsWrapper-header {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n flex-direction: row;\n}\n\n.TabsWrapper-header--withSeparator {\n border-bottom: var(--border);\n}\n\n.Tab {\n position: relative;\n display: flex;\n flex-direction: row;\n cursor: pointer;\n min-width: 40px;\n padding: var(--spacing-l) var(--spacing-l) var(--spacing-2);\n margin-bottom: calc(-1 * var(--spacing-xs));\n text-align: center;\n}\n\n.Tab:last-child {\n margin-right: 0;\n}\n\n.Tab::after {\n position: absolute;\n left: 0;\n bottom: 0;\n content: '';\n width: calc(100% - 2 * var(--spacing-l));\n height: var(--spacing-s);\n background-color: transparent;\n margin-left: var(--spacing-l);\n border-top-left-radius: var(--spacing-xs);\n border-top-right-radius: var(--spacing-xs);\n}\n\n.Tab:hover::after {\n background-color: var(--inverse-lighter);\n}\n\n.Tab:active::after {\n background-color: var(--inverse-light);\n}\n\n.Tab--active::after {\n background-color: var(--primary);\n}\n\n.Tab:focus {\n outline: none;\n border-radius: 4px;\n /* Using box shadow instead of border as border shifts the div down which cuts the Icon & Text of label. */\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Tab--active:hover .Tab-selected {\n color: var(--primary-dark);\n}\n\n.Tab-selected:hover::after {\n background-color: var(--primary-dark);\n}\n\n.Tab:active:focus {\n box-shadow: none;\n}\n\n.Tab--disabled {\n cursor: not-allowed;\n}\n\n.Tab--disabled:focus {\n box-shadow: none;\n}\n\n.Tab--disabled:hover::after {\n background-color: transparent;\n}\n\n.Tab-count {\n display: flex;\n margin-right: var(--spacing-l);\n}\n\n.Tab-count .Badge {\n margin-left: 0;\n margin-right: 0;\n}\n\n.Tab-icon {\n display: flex;\n min-width: inherit;\n justify-content: space-between;\n}\n\n.Tabs {\n display: flex;\n box-sizing: border-box;\n flex-direction: row;\n}\n\n.Tabs--withSeparator {\n border-bottom: var(--border);\n}\n\n.Tab-pills {\n cursor: pointer;\n margin-right: var(--spacing);\n}\n\n.Tab-pills--disabled {\n opacity: 60%;\n cursor: not-allowed;\n}\n\n.DismissibleTab-icon--right {\n padding: var(--spacing-s);\n margin-left: var(--spacing-s);\n outline: none;\n border-radius: 10px;\n}\n\n.DismissibleTab-icon--default:focus-visible {\n outline: var(--spacing-s) solid var(--secondary-shadow);\n}\n\n.DismissibleTab-icon--default:hover {\n background-color: var(--secondary);\n}\n\n.DismissibleTab-icon--default:active {\n background-color: var(--secondary-dark);\n}\n\n.DismissibleTab-icon--selected:focus-visible {\n outline: var(--spacing-s) solid var(--primary-shadow);\n}\n\n.DismissibleTab-icon--selected:hover {\n background-color: var(--primary-lighter);\n}\n\n.DismissibleTab-icon--selected:active {\n background-color: var(--primary-light);\n}\n\n/* Textarea */\n\n.Textarea {\n min-height: var(--spacing-3);\n width: 100%;\n display: block;\n font-family: var(--font-family);\n font-weight: var(--font-weight-normal);\n line-height: var(--font-height);\n font-size: var(--font-size);\n box-sizing: border-box;\n border-radius: var(--spacing-m);\n border: var(--border);\n color: var(--inverse);\n padding: var(--spacing) var(--spacing-l);\n resize: none;\n cursor: auto; /* this ensures text cursor over text, and pointer cursor over scroll*/\n}\n\n.Textarea::placeholder {\n color: var(--inverse-lighter);\n}\n\n.Textarea::-ms-clear {\n display: none;\n}\n\n.Textarea:focus-within {\n outline: none;\n border: var(--spacing-xs) solid var(--primary);\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n}\n\n.Textarea:disabled {\n color: var(--inverse-lightest);\n background: var(--secondary-lightest);\n border-color: var(--secondary-light);\n}\n\n.Textarea--error {\n border: var(--spacing-xs) solid var(--alert);\n}\n\n.Textarea--error:focus-within {\n border: var(--spacing-xs) solid var(--alert);\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.Textarea--resize {\n resize: auto;\n}\n\n/* toast */\n\n.Toast {\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n word-break: break-word;\n width: 360px;\n border-radius: var(--spacing-m);\n padding-left: var(--spacing-2);\n padding-right: var(--spacing-l);\n padding-top: var(--spacing-l);\n padding-bottom: var(--spacing-l);\n}\n\n.Toast--withMessage {\n padding-bottom: var(--spacing-2);\n}\n\n.Toast--info {\n background-color: var(--primary);\n}\n\n.Toast--alert {\n background-color: var(--alert);\n}\n\n.Toast--success {\n background-color: var(--success);\n}\n\n.Toast--warning {\n background-color: var(--warning);\n}\n\n.Toast--warning {\n color: var(--text);\n}\n\n.Toast-icon {\n line-height: var(--font-height-m);\n}\n\n.Toast-icon--left {\n margin-right: var(--spacing-2);\n}\n\n.Toast-icon--right {\n cursor: pointer;\n margin-left: var(--spacing-l);\n border-radius: 50%;\n display: flex;\n align-items: center;\n padding-right: var(--spacing-m);\n padding-left: var(--spacing-m);\n height: var(--spacing-xl);\n box-sizing: initial;\n}\n\n.Toast-icon--info,\n.Toast-icon--success,\n.Toast-icon--alert,\n.Toast-icon--default {\n color: var(--text-white);\n}\n\n.Toast-icon--warning {\n color: var(--warning-darker);\n}\n\n.Toast-close-icon--warning:focus,\n.Toast-close-icon--warning:focus-visible {\n outline: none;\n box-shadow: var(--shadow-spread) color-mod(var(--warning-dark) a(0.16));\n}\n\n.Toast-close-icon--warning:hover,\n.Toast-close-icon--warning:active {\n background: var(--warning-dark);\n}\n\n.Toast-close-icon--success:focus,\n.Toast-close-icon--success:focus-visible {\n outline: none;\n box-shadow: var(--shadow-spread) color-mod(var(--success-dark) a(0.16));\n}\n\n.Toast-close-icon--success:hover,\n.Toast-close-icon--success:active {\n background: var(--success-dark);\n}\n\n.Toast-close-icon--info:focus,\n.Toast-close-icon--info:focus-visible {\n outline: none;\n box-shadow: var(--shadow-spread) color-mod(var(--primary-dark) a(0.16));\n}\n\n.Toast-close-icon--info:hover,\n.Toast-close-icon--info:active {\n background: var(--primary-dark);\n}\n\n.Toast-close-icon--alert:focus,\n.Toast-close-icon--alert:focus-visible {\n outline: none;\n box-shadow: var(--shadow-spread) color-mod(var(--alert-dark) a(0.16));\n}\n\n.Toast-close-icon--alert:hover,\n.Toast-close-icon--alert:active {\n background: var(--alert-dark);\n}\n\n.Toast-body {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.Toast-title {\n display: flex;\n}\n\n.Toast-heading {\n flex-grow: 1;\n}\n\n.Toast-text {\n padding-top: var(--spacing);\n}\n\n.Toast-text--warning,\n.Toast-heading--warning {\n color: var(--warning-darker) !important;\n}\n\n.Toast-actions {\n display: flex;\n padding-top: var(--spacing-l);\n}\n\n.Toast-actionButton {\n color: var(--text-white);\n border-radius: var(--spacing-m);\n margin-right: var(--spacing);\n}\n\n.Toast-actionButton:last-child {\n margin-right: 0;\n}\n\n.Toast-actionButton--default {\n background: var(--inverse-light);\n}\n\n.Toast-actionButton--default:hover,\n.Toast-actionButton--default:active {\n background: var(--inverse);\n}\n\n.Toast-actionButton--default:focus {\n box-shadow: var(--shadow-spread) color-mod(var(--inverse-lighter) a(0.16));\n}\n\n.Toast-actionButton--info {\n background: var(--primary-dark);\n}\n\n.Toast-actionButton--info:hover,\n.Toast-actionButton--info:active {\n background: var(--primary-darker);\n}\n\n.Toast-actionButton--info:focus {\n box-shadow: var(--shadow-spread) color-mod(var(--primary-dark) a(0.16));\n}\n\n.Toast-actionButton--success {\n background: var(--success-dark);\n}\n\n.Toast-actionButton--success:hover,\n.Toast-actionButton--success:active {\n background: var(--success-darker);\n}\n\n.Toast-actionButton--success:focus {\n box-shadow: var(--shadow-spread) color-mod(var(--success-dark) a(0.16));\n}\n\n.Toast-actionButton--alert {\n background: var(--alert-dark);\n}\n\n.Toast-actionButton--alert:hover,\n.Toast-actionButton--alert:active {\n background: var(--alert-darker);\n}\n\n.Toast-actionButton--alert:focus {\n box-shadow: var(--shadow-spread) var(--alert-shadow);\n}\n\n.Toast-actionButton--warning {\n background: var(--warning-dark);\n}\n\n.Toast-actionButton--warning:hover,\n.Toast-actionButton--warning:active {\n background: var(--warning-darker);\n}\n\n.Toast-actionButton--warning:focus {\n box-shadow: var(--shadow-spread) var(--warning-shadow);\n}\n\n.Tooltip {\n max-width: var(--spacing-9);\n padding: var(--spacing-m) var(--spacing);\n border-radius: var(--spacing-m);\n z-index: 500;\n background: color-mod(var(--inverse) a(0.88));\n overflow: hidden;\n box-sizing: border-box;\n transition: opacity 120ms;\n transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);\n}\n\n.Tooltip-text {\n word-break: break-word;\n hyphens: auto;\n}\n\n@keyframes tooltip-open-top {\n from {\n top: 0px;\n opacity: 0;\n }\n to {\n top: -4px;\n opacity: 1;\n }\n}\n@keyframes tooltip-close-top {\n from {\n top: -4px;\n opacity: 1;\n }\n to {\n top: 0px;\n opacity: 0;\n }\n}\n\n.Tooltip-animation-open-top {\n animation: tooltip-open-top 120ms cubic-bezier(0, 0, 0.3, 1);\n animation-fill-mode: forwards;\n}\n.Tooltip-animation-close-top {\n animation: tooltip-close-top 80ms cubic-bezier(0.4, 0.14, 1, 1);\n}\n@keyframes tooltip-open-bottom {\n from {\n top: -4px;\n opacity: 0;\n }\n to {\n top: 0px;\n opacity: 1;\n }\n}\n@keyframes tooltip-close-bottom {\n from {\n top: 0px;\n opacity: 1;\n }\n to {\n top: -4px;\n opacity: 0;\n }\n}\n\n.Tooltip-animation-open-bottom {\n animation: tooltip-open-bottom 120ms cubic-bezier(0, 0, 0.3, 1);\n animation-fill-mode: forwards;\n}\n.Tooltip-animation-close-bottom {\n animation: tooltip-close-bottom 80ms cubic-bezier(0.4, 0.14, 1, 1);\n}\n\n@keyframes tooltip-open-left {\n from {\n left: 1px;\n opacity: 0;\n }\n to {\n left: -3px;\n opacity: 1;\n }\n}\n@keyframes tooltip-close-left {\n from {\n left: -3px;\n opacity: 1;\n }\n to {\n left: 1px;\n opacity: 0;\n }\n}\n\n.Tooltip-animation-open-left {\n animation: tooltip-open-left 120ms cubic-bezier(0, 0, 0.3, 1);\n animation-fill-mode: forwards;\n}\n.Tooltip-animation-close-left {\n animation: tooltip-close-left 80ms cubic-bezier(0.4, 0.14, 1, 1);\n}\n\n@keyframes tooltip-open-right {\n from {\n left: -3px;\n opacity: 0;\n }\n to {\n left: 1px;\n opacity: 1;\n }\n}\n@keyframes tooltip-close-right {\n from {\n left: 1px;\n opacity: 1;\n }\n to {\n left: -3px;\n opacity: 0;\n }\n}\n\n.Tooltip-animation-open-right {\n animation: tooltip-open-right 120ms cubic-bezier(0, 0, 0.3, 1);\n animation-fill-mode: forwards;\n}\n.Tooltip-animation-close-right {\n animation: tooltip-close-right 80ms cubic-bezier(0.4, 0.14, 1, 1);\n}\n\n.Tooltip-container {\n transition-delay: 400ms;\n animation-delay: 400ms;\n}\n\n.VerificationCodeInput-Input {\n display: inline-flex;\n width: 40px;\n}\n\n.VerificationCodeInput-Input .Input-input {\n text-align: center;\n}\n\n.VerificationCodeInput-Input .Input-input::-webkit-inner-spin-button,\n.VerificationCodeInput-Input .Input-input::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.VerticalNav {\n display: inline-flex;\n flex-direction: column;\n}\n\n.VerticalNav--expanded {\n width: 240px;\n}\n\n.VerticalNav-section {\n text-transform: uppercase;\n padding-left: var(--spacing-2);\n padding-top: var(--spacing-l);\n padding-bottom: 6px;\n margin-top: var(--spacing);\n}\n\n.VerticalNav-section--border {\n border-top: var(--spacing-xs) solid var(--secondary-light);\n}\n\n.MenuItem {\n text-decoration: none;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n cursor: pointer;\n transition: var(--duration--fast-01) var(--standard-productive-curve);\n width: 232px;\n}\n\n.MenuItem--horizontal {\n height: var(--spacing-3);\n padding-right: var(--spacing-l);\n padding-left: var(--spacing-l);\n border-radius: var(--spacing-2);\n margin: 0 var(--spacing-xs);\n}\n\n.MenuItem--vertical {\n margin-top: var(--spacing-m);\n margin-bottom: var(--spacing-m);\n}\n\n.MenuItem--collapsed {\n height: 28px;\n width: 28px;\n margin-left: 10px;\n margin-right: 10px;\n justify-content: center;\n border-radius: 50%;\n cursor: pointer;\n}\n\n.MenuItem--expanded {\n padding-left: var(--spacing-2);\n padding-top: var(--spacing-m);\n padding-bottom: var(--spacing-m);\n margin-right: var(--spacing);\n justify-content: space-between;\n border-radius: 0px var(--spacing-2) var(--spacing-2) 0px;\n}\n\n.MenuItem--disabled {\n pointer-events: none;\n}\n\n.MenuItem:hover {\n background: var(--secondary);\n text-decoration: none;\n}\n\n.MenuItem:active {\n background: var(--secondary-dark);\n}\n\n.MenuItem:focus {\n box-shadow: var(--shadow-spread) var(--secondary-shadow);\n outline: none;\n}\n\n.MenuItem--disabled:focus {\n box-shadow: none;\n}\n\n.MenuItem--active {\n background: var(--primary-lightest);\n}\n\n.MenuItem--active:hover {\n background: var(--primary-lighter);\n}\n\n.MenuItem--active:active {\n background: var(--primary-lighter);\n color: var(--primary-darker);\n}\n\n.MenuItem--active:active .MenuItem-Text {\n color: var(--primary-darker);\n}\n\n.MenuItem--active:focus {\n box-shadow: var(--shadow-spread) var(--primary-shadow);\n outline: none;\n}\n\n.MenuItem--rounded {\n border-radius: var(--spacing-2);\n}\n\n.MenuItem--subMenu {\n padding-left: 40px;\n}\n\n.MenuItem .Text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.MenuItem-count {\n margin-right: var(--spacing-m);\n}\n\n.MenuItem-count--disabled {\n opacity: 0.6;\n color: var(--text);\n}\n\n.align-baseline {\n vertical-align: baseline !important;\n}\n\n.align-top {\n vertical-align: top !important;\n}\n\n.align-middle {\n vertical-align: middle !important;\n}\n\n.align-bottom {\n vertical-align: bottom !important;\n}\n\n.align-text-bottom {\n vertical-align: text-bottom !important;\n}\n\n.align-text-top {\n vertical-align: text-top !important;\n}\n\n.bg-primary {\n background-color: var(--primary) !important;\n}\n\n.bg-secondary {\n background-color: var(--secondary) !important;\n}\n\n.bg-secondary-lighter {\n background-color: var(--secondary-lighter) !important;\n}\n\n.bg-secondary-lightest {\n background-color: var(--secondary-lightest) !important;\n}\n\n.bg-success {\n background-color: var(--success) !important;\n}\n\n.bg-warning {\n background-color: var(--warning) !important;\n}\n\n.bg-danger {\n background-color: var(--alert) !important;\n}\n\n.bg-light {\n background-color: var(--white) !important;\n}\n\n.bg-dark {\n background-color: var(--inverse) !important;\n}\n\n.bg-transparent {\n background-color: transparent !important;\n}\n\n.border {\n border: var(--border) !important;\n}\n\n.border-top {\n border-top: var(--border) !important;\n}\n\n.border-bottom {\n border-bottom: var(--border) !important;\n}\n\n.border-right {\n border-right: var(--border) !important;\n}\n\n.border-left {\n border-left: var(--border) !important;\n}\n\n.border-0 {\n border: 0 !important;\n}\n\n.border-top-0 {\n border-top: 0 !important;\n}\n\n.border-right-0 {\n border-right: 0 !important;\n}\n\n.border-bottom-0 {\n border-bottom: 0 !important;\n}\n\n.border-left-0 {\n border-left: 0 !important;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.d-none {\n display: none !important;\n}\n\n.d-inline {\n display: inline !important;\n}\n\n.d-inline-block {\n display: inline-block !important;\n}\n\n.d-block {\n display: block !important;\n}\n\n.d-table {\n display: table !important;\n}\n\n.d-table-row {\n display: table-row !important;\n}\n\n.d-table-cell {\n display: table-cell !important;\n}\n\n.d-flex {\n display: flex !important;\n}\n\n.d-inline-flex {\n display: inline-flex !important;\n}\n\n.flex-fill {\n flex: 1 1 auto !important;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-stretch {\n align-content: stretch !important;\n}\n\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n.order-first {\n order: -1 !important;\n}\n\n.order-0 {\n order: 0 !important;\n}\n\n.order-1 {\n order: 1 !important;\n}\n\n.order-2 {\n order: 2 !important;\n}\n\n.order-3 {\n order: 3 !important;\n}\n\n.order-4 {\n order: 4 !important;\n}\n\n.order-5 {\n order: 5 !important;\n}\n\n.order-last {\n order: 6 !important;\n}\n\n.Row {\n display: flex;\n flex-wrap: wrap;\n flex: 1 100%;\n}\n\n.Col {\n position: relative;\n box-sizing: border-box;\n flex: 1 0 0%;\n}\n\n.Col--auto {\n flex: 0 0 auto;\n width: auto;\n}\n\n.Col--1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n}\n\n.Col--2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n}\n\n.Col--3 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 3);\n}\n\n.Col--4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n}\n\n.Col--5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n}\n\n.Col--6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n}\n\n.Col--7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n}\n\n.Col--8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n}\n\n.Col--9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n}\n\n.Col--10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n}\n\n.Col--11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n}\n\n.Col--12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n}\n\n/* if the viewport is between 0 to 575 pixels wide. */\n\n@media (max-width: 575px) {\n .Col--xs-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .Col--xs-1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n }\n .Col--xs-2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n }\n .Col--xs-3 {\n flex: 0 0 auto;\n }\n .Col--xs-4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n }\n .Col--xs-5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n }\n .Col--xs-6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n }\n .Col--xs-7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n }\n .Col--xs-8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n }\n .Col--xs-9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n }\n .Col--xs-10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n }\n .Col--xs-11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n }\n .Col--xs-12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n }\n}\n\n/* if the viewport is between 576 and 767 pixels wide. */\n\n@media (min-width: 576px) and (max-width: 767px) {\n .Col--s-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .Col--s-1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n }\n .Col--s-2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n }\n .Col--s-3 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 3);\n }\n .Col--s-4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n }\n .Col--s-5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n }\n .Col--s-6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n }\n .Col--s-7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n }\n .Col--s-8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n }\n .Col--s-9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n }\n .Col--s-10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n }\n .Col--s-11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n }\n .Col--s-12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n }\n}\n\n/* if the viewport is between 768 and 991 pixels wide. */\n\n@media (min-width: 768px) and (max-width: 991px) {\n .Col--m-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .Col--m-1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n }\n .Col--m-2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n }\n .Col--m-3 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 3);\n }\n .Col--m-4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n }\n .Col--m-5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n }\n .Col--m-6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n }\n .Col--m-7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n }\n .Col--m-8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n }\n .Col--m-9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n }\n .Col--m-10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n }\n .Col--m-11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n }\n .Col--m-12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n }\n}\n\n/* if the viewport is between 992 and 1199 pixels wide. */\n\n@media (min-width: 992px) and (max-width: 1199px) {\n .Col--l-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .Col--l-1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n }\n .Col--l-2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n }\n .Col--l-3 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 3);\n }\n .Col--l-4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n }\n .Col--l-5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n }\n .Col--l-6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n }\n .Col--l-7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n }\n .Col--l-8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n }\n .Col--l-9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n }\n .Col--l-10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n }\n .Col--l-11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n }\n .Col--l-12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n }\n}\n\n/* if the viewport is 1200 pixels wide or wider. */\n\n@media (min-width: 1200px) {\n .Col--xl-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .Col--xl-1 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 1);\n }\n .Col--xl-2 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 2);\n }\n .Col--xl-3 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 3);\n }\n .Col--xl-4 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 4);\n }\n .Col--xl-5 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 5);\n }\n .Col--xl-6 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 6);\n }\n .Col--xl-7 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 7);\n }\n .Col--xl-8 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 8);\n }\n .Col--xl-9 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 9);\n }\n .Col--xl-10 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 10);\n }\n .Col--xl-11 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 11);\n }\n .Col--xl-12 {\n flex: 0 0 auto;\n width: calc(100% / var(--grid-columns) * 12);\n }\n}\n\n.overflow-auto {\n overflow: auto !important;\n}\n\n.overflow-hidden {\n overflow: hidden !important;\n}\n\n.position-static {\n position: static !important;\n}\n\n.position-relative {\n position: relative !important;\n}\n\n.position-absolute {\n position: absolute !important;\n}\n\n.position-fixed {\n position: fixed !important;\n}\n\n.position-sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n}\n\n.w-25 {\n width: 25% !important;\n}\n\n.w-50 {\n width: 50% !important;\n}\n\n.w-75 {\n width: 75% !important;\n}\n\n.w-100 {\n width: 100% !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.mw-100 {\n max-width: 100% !important;\n}\n\n.vw-25 {\n width: 25vw !important;\n}\n\n.vw-50 {\n width: 50vw !important;\n}\n\n.vw-75 {\n width: 75vw !important;\n}\n\n.vw-100 {\n width: 100vw !important;\n}\n\n.min-vw-100 {\n min-width: 100vw !important;\n}\n\n.h-25 {\n height: 25% !important;\n}\n\n.h-50 {\n height: 50% !important;\n}\n\n.h-75 {\n height: 75% !important;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.mh-100 {\n max-height: 100% !important;\n}\n\n.vh-25 {\n height: 25vh !important;\n}\n\n.vh-50 {\n height: 50vh !important;\n}\n\n.vh-75 {\n height: 75vh !important;\n}\n\n.vh-100 {\n height: 100vh !important;\n}\n\n.min-vh-100 {\n min-height: 100vh !important;\n}\n\n.m-0 {\n margin: 0 !important;\n}\n\n.m-1 {\n margin: var(--spacing-xs) !important;\n}\n\n.m-2 {\n margin: var(--spacing-s) !important;\n}\n\n.m-3 {\n margin: var(--spacing-m) !important;\n}\n\n.m-4 {\n margin: var(--spacing) !important;\n}\n\n.m-5 {\n margin: var(--spacing-l) !important;\n}\n\n.m-6 {\n margin: var(--spacing-2) !important;\n}\n\n.m-7 {\n margin: var(--spacing-xl) !important;\n}\n\n.m-8 {\n margin: var(--spacing-3) !important;\n}\n\n.m-9 {\n margin: var(--spacing-4) !important;\n}\n\n.m-10 {\n margin: var(--spacing-5) !important;\n}\n\n.m-11 {\n margin: var(--spacing-6) !important;\n}\n\n.m-12 {\n margin: var(--spacing-7) !important;\n}\n\n.m-13 {\n margin: var(--spacing-8) !important;\n}\n\n.m-14 {\n margin: var(--spacing-9) !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mx-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n}\n\n.mx-1 {\n margin-right: var(--spacing-xs) !important;\n margin-left: var(--spacing-xs) !important;\n}\n\n.mx-2 {\n margin-right: var(--spacing-s) !important;\n margin-left: var(--spacing-s) !important;\n}\n\n.mx-3 {\n margin-right: var(--spacing-m) !important;\n margin-left: var(--spacing-m) !important;\n}\n\n.mx-4 {\n margin-right: var(--spacing) !important;\n margin-left: var(--spacing) !important;\n}\n\n.mx-5 {\n margin-right: var(--spacing-l) !important;\n margin-left: var(--spacing-l) !important;\n}\n\n.mx-6 {\n margin-right: var(--spacing-2) !important;\n margin-left: var(--spacing-2) !important;\n}\n\n.mx-7 {\n margin-right: var(--spacing-xl) !important;\n margin-left: var(--spacing-xl) !important;\n}\n\n.mx-8 {\n margin-right: var(--spacing-3) !important;\n margin-left: var(--spacing-3) !important;\n}\n\n.mx-9 {\n margin-right: var(--spacing-4) !important;\n margin-left: var(--spacing-4) !important;\n}\n\n.mx-10 {\n margin-right: var(--spacing-5) !important;\n margin-left: var(--spacing-5) !important;\n}\n\n.mx-11 {\n margin-right: var(--spacing-6) !important;\n margin-left: var(--spacing-6) !important;\n}\n\n.mx-12 {\n margin-right: var(--spacing-7) !important;\n margin-left: var(--spacing-7) !important;\n}\n\n.mx-13 {\n margin-right: var(--spacing-8) !important;\n margin-left: var(--spacing-8) !important;\n}\n\n.mx-14 {\n margin-right: var(--spacing-9) !important;\n margin-left: var(--spacing-9) !important;\n}\n\n.mx-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n}\n\n.my-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n}\n\n.my-1 {\n margin-top: var(--spacing-xs) !important;\n margin-bottom: var(--spacing-xs) !important;\n}\n\n.my-2 {\n margin-top: var(--spacing-s) !important;\n margin-bottom: var(--spacing-s) !important;\n}\n\n.my-3 {\n margin-top: var(--spacing-m) !important;\n margin-bottom: var(--spacing-m) !important;\n}\n\n.my-4 {\n margin-top: var(--spacing) !important;\n margin-bottom: var(--spacing) !important;\n}\n\n.my-5 {\n margin-top: var(--spacing-l) !important;\n margin-bottom: var(--spacing-l) !important;\n}\n\n.my-6 {\n margin-top: var(--spacing-2) !important;\n margin-bottom: var(--spacing-2) !important;\n}\n\n.my-7 {\n margin-top: var(--spacing-xl) !important;\n margin-bottom: var(--spacing-xl) !important;\n}\n\n.my-8 {\n margin-top: var(--spacing-3) !important;\n margin-bottom: var(--spacing-3) !important;\n}\n\n.my-9 {\n margin-top: var(--spacing-4) !important;\n margin-bottom: var(--spacing-4) !important;\n}\n\n.my-10 {\n margin-top: var(--spacing-5) !important;\n margin-bottom: var(--spacing-5) !important;\n}\n\n.my-11 {\n margin-top: var(--spacing-6) !important;\n margin-bottom: var(--spacing-6) !important;\n}\n\n.my-12 {\n margin-top: var(--spacing-7) !important;\n margin-bottom: var(--spacing-7) !important;\n}\n\n.my-13 {\n margin-top: var(--spacing-8) !important;\n margin-bottom: var(--spacing-8) !important;\n}\n\n.my-14 {\n margin-top: var(--spacing-9) !important;\n margin-bottom: var(--spacing-9) !important;\n}\n\n.my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n}\n\n.mt-0 {\n margin-top: 0 !important;\n}\n\n.mt-1 {\n margin-top: var(--spacing-xs) !important;\n}\n\n.mt-2 {\n margin-top: var(--spacing-s) !important;\n}\n\n.mt-3 {\n margin-top: var(--spacing-m) !important;\n}\n\n.mt-4 {\n margin-top: var(--spacing) !important;\n}\n\n.mt-5 {\n margin-top: var(--spacing-l) !important;\n}\n\n.mt-6 {\n margin-top: var(--spacing-2) !important;\n}\n\n.mt-7 {\n margin-top: var(--spacing-xl) !important;\n}\n\n.mt-8 {\n margin-top: var(--spacing-3) !important;\n}\n\n.mt-9 {\n margin-top: var(--spacing-4) !important;\n}\n\n.mt-10 {\n margin-top: var(--spacing-5) !important;\n}\n\n.mt-11 {\n margin-top: var(--spacing-6) !important;\n}\n\n.mt-12 {\n margin-top: var(--spacing-7) !important;\n}\n\n.mt-13 {\n margin-top: var(--spacing-8) !important;\n}\n\n.mt-14 {\n margin-top: var(--spacing-9) !important;\n}\n\n.mt-auto {\n margin-top: auto !important;\n}\n\n.mb-0 {\n margin-bottom: 0 !important;\n}\n\n.mb-1 {\n margin-bottom: var(--spacing-xs) !important;\n}\n\n.mb-2 {\n margin-bottom: var(--spacing-s) !important;\n}\n\n.mb-3 {\n margin-bottom: var(--spacing-m) !important;\n}\n\n.mb-4 {\n margin-bottom: var(--spacing) !important;\n}\n\n.mb-5 {\n margin-bottom: var(--spacing-l) !important;\n}\n\n.mb-6 {\n margin-bottom: var(--spacing-2) !important;\n}\n\n.mb-7 {\n margin-bottom: var(--spacing-xl) !important;\n}\n\n.mb-8 {\n margin-bottom: var(--spacing-3) !important;\n}\n\n.mb-9 {\n margin-bottom: var(--spacing-4) !important;\n}\n\n.mb-10 {\n margin-bottom: var(--spacing-5) !important;\n}\n\n.mb-11 {\n margin-bottom: var(--spacing-6) !important;\n}\n\n.mb-12 {\n margin-bottom: var(--spacing-7) !important;\n}\n\n.mb-13 {\n margin-bottom: var(--spacing-8) !important;\n}\n\n.mb-14 {\n margin-bottom: var(--spacing-9) !important;\n}\n\n.mb-auto {\n margin-bottom: auto !important;\n}\n\n.mr-0 {\n margin-right: 0 !important;\n}\n\n.mr-1 {\n margin-right: var(--spacing-xs) !important;\n}\n\n.mr-2 {\n margin-right: var(--spacing-s) !important;\n}\n\n.mr-3 {\n margin-right: var(--spacing-m) !important;\n}\n\n.mr-4 {\n margin-right: var(--spacing) !important;\n}\n\n.mr-5 {\n margin-right: var(--spacing-l) !important;\n}\n\n.mr-6 {\n margin-right: var(--spacing-2) !important;\n}\n\n.mr-7 {\n margin-right: var(--spacing-xl) !important;\n}\n\n.mr-8 {\n margin-right: var(--spacing-3) !important;\n}\n\n.mr-9 {\n margin-right: var(--spacing-4) !important;\n}\n\n.mr-10 {\n margin-right: var(--spacing-5) !important;\n}\n\n.mr-11 {\n margin-right: var(--spacing-6) !important;\n}\n\n.mr-12 {\n margin-right: var(--spacing-7) !important;\n}\n\n.mr-13 {\n margin-right: var(--spacing-8) !important;\n}\n\n.mr-14 {\n margin-right: var(--spacing-9) !important;\n}\n\n.mr-auto {\n margin-right: auto !important;\n}\n\n.ml-0 {\n margin-left: 0 !important;\n}\n\n.ml-1 {\n margin-left: var(--spacing-xs) !important;\n}\n\n.ml-2 {\n margin-left: var(--spacing-s) !important;\n}\n\n.ml-3 {\n margin-left: var(--spacing-m) !important;\n}\n\n.ml-4 {\n margin-left: var(--spacing) !important;\n}\n\n.ml-5 {\n margin-left: var(--spacing-l) !important;\n}\n\n.ml-6 {\n margin-left: var(--spacing-2) !important;\n}\n\n.ml-7 {\n margin-left: var(--spacing-xl) !important;\n}\n\n.ml-8 {\n margin-left: var(--spacing-3) !important;\n}\n\n.ml-9 {\n margin-left: var(--spacing-4) !important;\n}\n\n.ml-10 {\n margin-left: var(--spacing-5) !important;\n}\n\n.ml-11 {\n margin-left: var(--spacing-6) !important;\n}\n\n.ml-12 {\n margin-left: var(--spacing-7) !important;\n}\n\n.ml-13 {\n margin-left: var(--spacing-8) !important;\n}\n\n.ml-14 {\n margin-left: var(--spacing-9) !important;\n}\n\n.ml-auto {\n margin-left: auto !important;\n}\n\n.p-0 {\n padding: 0 !important;\n}\n\n.p-1 {\n padding: var(--spacing-xs) !important;\n}\n\n.p-2 {\n padding: var(--spacing-s) !important;\n}\n\n.p-3 {\n padding: var(--spacing-m) !important;\n}\n\n.p-4 {\n padding: var(--spacing) !important;\n}\n\n.p-5 {\n padding: var(--spacing-l) !important;\n}\n\n.p-6 {\n padding: var(--spacing-2) !important;\n}\n\n.p-7 {\n padding: var(--spacing-xl) !important;\n}\n\n.p-8 {\n padding: var(--spacing-3) !important;\n}\n\n.p-9 {\n padding: var(--spacing-4) !important;\n}\n\n.p-10 {\n padding: var(--spacing-5) !important;\n}\n\n.p-11 {\n padding: var(--spacing-6) !important;\n}\n\n.p-12 {\n padding: var(--spacing-7) !important;\n}\n\n.p-13 {\n padding: var(--spacing-8) !important;\n}\n\n.p-14 {\n padding: var(--spacing-9) !important;\n}\n\n.p-auto {\n padding: auto !important;\n}\n\n.px-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n}\n\n.px-1 {\n padding-right: var(--spacing-xs) !important;\n padding-left: var(--spacing-xs) !important;\n}\n\n.px-2 {\n padding-right: var(--spacing-s) !important;\n padding-left: var(--spacing-s) !important;\n}\n\n.px-3 {\n padding-right: var(--spacing-m) !important;\n padding-left: var(--spacing-m) !important;\n}\n\n.px-4 {\n padding-right: var(--spacing) !important;\n padding-left: var(--spacing) !important;\n}\n\n.px-5 {\n padding-right: var(--spacing-l) !important;\n padding-left: var(--spacing-l) !important;\n}\n\n.px-6 {\n padding-right: var(--spacing-2) !important;\n padding-left: var(--spacing-2) !important;\n}\n\n.px-7 {\n padding-right: var(--spacing-xl) !important;\n padding-left: var(--spacing-xl) !important;\n}\n\n.px-8 {\n padding-right: var(--spacing-3) !important;\n padding-left: var(--spacing-3) !important;\n}\n\n.px-9 {\n padding-right: var(--spacing-4) !important;\n padding-left: var(--spacing-4) !important;\n}\n\n.px-10 {\n padding-right: var(--spacing-5) !important;\n padding-left: var(--spacing-5) !important;\n}\n\n.px-11 {\n padding-right: var(--spacing-6) !important;\n padding-left: var(--spacing-6) !important;\n}\n\n.px-12 {\n padding-right: var(--spacing-7) !important;\n padding-left: var(--spacing-7) !important;\n}\n\n.px-13 {\n padding-right: var(--spacing-8) !important;\n padding-left: var(--spacing-8) !important;\n}\n\n.px-14 {\n padding-right: var(--spacing-9) !important;\n padding-left: var(--spacing-9) !important;\n}\n\n.px-auto {\n padding-right: auto !important;\n padding-left: auto !important;\n}\n\n.py-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n\n.py-1 {\n padding-top: var(--spacing-xs) !important;\n padding-bottom: var(--spacing-xs) !important;\n}\n\n.py-2 {\n padding-top: var(--spacing-s) !important;\n padding-bottom: var(--spacing-s) !important;\n}\n\n.py-3 {\n padding-top: var(--spacing-m) !important;\n padding-bottom: var(--spacing-m) !important;\n}\n\n.py-4 {\n padding-top: var(--spacing) !important;\n padding-bottom: var(--spacing) !important;\n}\n\n.py-5 {\n padding-top: var(--spacing-l) !important;\n padding-bottom: var(--spacing-l) !important;\n}\n\n.py-6 {\n padding-top: var(--spacing-2) !important;\n padding-bottom: var(--spacing-2) !important;\n}\n\n.py-7 {\n padding-top: var(--spacing-xl) !important;\n padding-bottom: var(--spacing-xl) !important;\n}\n\n.py-8 {\n padding-top: var(--spacing-3) !important;\n padding-bottom: var(--spacing-3) !important;\n}\n\n.py-9 {\n padding-top: var(--spacing-4) !important;\n padding-bottom: var(--spacing-4) !important;\n}\n\n.py-10 {\n padding-top: var(--spacing-5) !important;\n padding-bottom: var(--spacing-5) !important;\n}\n\n.py-11 {\n padding-top: var(--spacing-6) !important;\n padding-bottom: var(--spacing-6) !important;\n}\n\n.py-12 {\n padding-top: var(--spacing-7) !important;\n padding-bottom: var(--spacing-7) !important;\n}\n\n.py-13 {\n padding-top: var(--spacing-8) !important;\n padding-bottom: var(--spacing-8) !important;\n}\n\n.py-14 {\n padding-top: var(--spacing-9) !important;\n padding-bottom: var(--spacing-9) !important;\n}\n\n.py-auto {\n padding-top: auto !important;\n padding-bottom: auto !important;\n}\n\n.pt-0 {\n padding-top: 0 !important;\n}\n\n.pt-1 {\n padding-top: var(--spacing-xs) !important;\n}\n\n.pt-2 {\n padding-top: var(--spacing-s) !important;\n}\n\n.pt-3 {\n padding-top: var(--spacing-m) !important;\n}\n\n.pt-4 {\n padding-top: var(--spacing) !important;\n}\n\n.pt-5 {\n padding-top: var(--spacing-l) !important;\n}\n\n.pt-6 {\n padding-top: var(--spacing-2) !important;\n}\n\n.pt-7 {\n padding-top: var(--spacing-xl) !important;\n}\n\n.pt-8 {\n padding-top: var(--spacing-3) !important;\n}\n\n.pt-9 {\n padding-top: var(--spacing-4) !important;\n}\n\n.pt-10 {\n padding-top: var(--spacing-5) !important;\n}\n\n.pt-11 {\n padding-top: var(--spacing-6) !important;\n}\n\n.pt-12 {\n padding-top: var(--spacing-7) !important;\n}\n\n.pt-13 {\n padding-top: var(--spacing-8) !important;\n}\n\n.pt-14 {\n padding-top: var(--spacing-9) !important;\n}\n\n.pt-auto {\n padding-top: auto !important;\n}\n\n.pb-0 {\n padding-bottom: 0 !important;\n}\n\n.pb-1 {\n padding-bottom: var(--spacing-xs) !important;\n}\n\n.pb-2 {\n padding-bottom: var(--spacing-s) !important;\n}\n\n.pb-3 {\n padding-bottom: var(--spacing-m) !important;\n}\n\n.pb-4 {\n padding-bottom: var(--spacing) !important;\n}\n\n.pb-5 {\n padding-bottom: var(--spacing-l) !important;\n}\n\n.pb-6 {\n padding-bottom: var(--spacing-2) !important;\n}\n\n.pb-7 {\n padding-bottom: var(--spacing-xl) !important;\n}\n\n.pb-8 {\n padding-bottom: var(--spacing-3) !important;\n}\n\n.pb-9 {\n padding-bottom: var(--spacing-4) !important;\n}\n\n.pb-10 {\n padding-bottom: var(--spacing-5) !important;\n}\n\n.pb-11 {\n padding-bottom: var(--spacing-6) !important;\n}\n\n.pb-12 {\n padding-bottom: var(--spacing-7) !important;\n}\n\n.pb-13 {\n padding-bottom: var(--spacing-8) !important;\n}\n\n.pb-14 {\n padding-bottom: var(--spacing-9) !important;\n}\n\n.pb-auto {\n padding-bottom: auto !important;\n}\n\n.pr-0 {\n padding-right: 0 !important;\n}\n\n.pr-1 {\n padding-right: var(--spacing-xs) !important;\n}\n\n.pr-2 {\n padding-right: var(--spacing-s) !important;\n}\n\n.pr-3 {\n padding-right: var(--spacing-m) !important;\n}\n\n.pr-4 {\n padding-right: var(--spacing) !important;\n}\n\n.pr-5 {\n padding-right: var(--spacing-l) !important;\n}\n\n.pr-6 {\n padding-right: var(--spacing-2) !important;\n}\n\n.pr-7 {\n padding-right: var(--spacing-xl) !important;\n}\n\n.pr-8 {\n padding-right: var(--spacing-3) !important;\n}\n\n.pr-9 {\n padding-right: var(--spacing-4) !important;\n}\n\n.pr-10 {\n padding-right: var(--spacing-5) !important;\n}\n\n.pr-11 {\n padding-right: var(--spacing-6) !important;\n}\n\n.pr-12 {\n padding-right: var(--spacing-7) !important;\n}\n\n.pr-13 {\n padding-right: var(--spacing-8) !important;\n}\n\n.pr-14 {\n padding-right: var(--spacing-9) !important;\n}\n\n.pr-auto {\n padding-right: auto !important;\n}\n\n.pl-0 {\n padding-left: 0 !important;\n}\n\n.pl-1 {\n padding-left: var(--spacing-xs) !important;\n}\n\n.pl-2 {\n padding-left: var(--spacing-s) !important;\n}\n\n.pl-3 {\n padding-left: var(--spacing-m) !important;\n}\n\n.pl-4 {\n padding-left: var(--spacing) !important;\n}\n\n.pl-5 {\n padding-left: var(--spacing-l) !important;\n}\n\n.pl-6 {\n padding-left: var(--spacing-2) !important;\n}\n\n.pl-7 {\n padding-left: var(--spacing-xl) !important;\n}\n\n.pl-8 {\n padding-left: var(--spacing-3) !important;\n}\n\n.pl-9 {\n padding-left: var(--spacing-4) !important;\n}\n\n.pl-10 {\n padding-left: var(--spacing-5) !important;\n}\n\n.pl-11 {\n padding-left: var(--spacing-6) !important;\n}\n\n.pl-12 {\n padding-left: var(--spacing-7) !important;\n}\n\n.pl-13 {\n padding-left: var(--spacing-8) !important;\n}\n\n.pl-14 {\n padding-left: var(--spacing-9) !important;\n}\n\n.pl-auto {\n padding-left: auto !important;\n}\n\n.text-align-start {\n text-align: start !important;\n}\n\n.text-align-end {\n text-align: end !important;\n}\n\n.text-align-center {\n text-align: center !important;\n}\n\n.text-align-justify {\n text-align: justify !important;\n}\n\n.text-align-left {\n text-align: left !important;\n}\n\n.text-align-right {\n text-align: right !important;\n}\n\n.color-white {\n color: var(--white);\n}\n\n.color-primary {\n color: var(--primary);\n}\n\n.color-secondary {\n color: var(--secondary);\n}\n\n.color-success {\n color: var(--success);\n}\n\n.color-alert {\n color: var(--alert);\n}\n\n.color-warning {\n color: var(--warning);\n}\n\n.color-accent1 {\n color: var(--accent1);\n}\n\n.color-accent2 {\n color: var(--accent2);\n}\n\n.color-accent3 {\n color: var(--accent3);\n}\n\n.color-accent4 {\n color: var(--accent4);\n}\n\n.color-inverse {\n color: var(--inverse);\n}\n\n/* dark */\n\n.color-primary-dark {\n color: var(--primary-dark);\n}\n\n.color-secondary-dark {\n color: var(--secondary-dark);\n}\n\n.color-success-dark {\n color: var(--success-dark);\n}\n\n.color-alert-dark {\n color: var(--alert-dark);\n}\n\n.color-warning-dark {\n color: var(--warning-dark);\n}\n\n.color-accent1-dark {\n color: var(--accent1-dark);\n}\n\n.color-accent2-dark {\n color: var(--accent2-dark);\n}\n\n.color-accent3-dark {\n color: var(--accent3-dark);\n}\n\n.color-accent4-dark {\n color: var(--accent4-dark);\n}\n\n/* darker */\n\n.color-primary-darker {\n color: var(--primary-darker);\n}\n\n.color-success-darker {\n color: var(--success-darker);\n}\n\n.color-alert-darker {\n color: var(--alert-darker);\n}\n\n.color-warning-darker {\n color: var(--warning-darker);\n}\n\n.color-accent1-darker {\n color: var(--accent1-darker);\n}\n\n.color-accent2-darker {\n color: var(--accent2-darker);\n}\n\n.color-accent3-darker {\n color: var(--accent3-darker);\n}\n\n.color-accent4-darker {\n color: var(--accent4-darker);\n}\n\n/* light */\n\n.color-primary-light {\n color: var(--primary-light);\n}\n\n.color-secondary-light {\n color: var(--secondary-light);\n}\n\n.color-success-light {\n color: var(--success-light);\n}\n\n.color-alert-light {\n color: var(--alert-light);\n}\n\n.color-warning-light {\n color: var(--warning-light);\n}\n\n.color-accent1-light {\n color: var(--accent1-light);\n}\n\n.color-accent2-light {\n color: var(--accent2-light);\n}\n\n.color-accent3-light {\n color: var(--accent3-light);\n}\n\n.color-accent4-light {\n color: var(--accent4-light);\n}\n\n.color-inverse-light {\n color: var(--inverse-light);\n}\n\n/* lighter */\n.color-primary-lighter {\n color: var(--primary-lighter);\n}\n\n.color-secondary-lighter {\n color: var(--secondary-lighter);\n}\n\n.color-success-lighter {\n color: var(--success-lighter);\n}\n\n.color-alert-lighter {\n color: var(--alert-lighter);\n}\n\n.color-warning-lighter {\n color: var(--warning-lighter);\n}\n\n.color-accent1-lighter {\n color: var(--accent1-lighter);\n}\n\n.color-accent2-lighter {\n color: var(--accent2-lighter);\n}\n\n.color-accent3-lighter {\n color: var(--accent3-lighter);\n}\n\n.color-accent4-lighter {\n color: var(--accent4-lighter);\n}\n\n.color-inverse-lighter {\n color: var(--inverse-lighter);\n}\n\n/* lightest */\n.color-primary-lightest {\n color: var(--primary-lightest);\n}\n\n.color-secondary-lightest {\n color: var(--secondary-lightest);\n}\n\n.color-success-lightest {\n color: var(--success-lightest);\n}\n\n.color-alert-lightest {\n color: var(--alert-lightest);\n}\n\n.color-warning-lightest {\n color: var(--warning-lightest);\n}\n\n.color-accent1-lightest {\n color: var(--accent1-lightest);\n}\n\n.color-accent2-lightest {\n color: var(--accent2-lightest);\n}\n\n.color-accent3-lightest {\n color: var(--accent3-lightest);\n}\n\n.color-accent4-lightest {\n color: var(--accent4-lightest);\n}\n\n.color-inverse-lightest {\n color: var(--inverse-lightest);\n}\n\n/* shadow */\n.color-primary-shadow {\n color: var(--primary-shadow);\n}\n\n.color-secondary-shadow {\n color: var(--secondary-shadow);\n}\n\n.color-success-shadow {\n color: var(--success-shadow);\n}\n\n.color-alert-shadow {\n color: var(--alert-shadow);\n}\n\n.color-warning-shadow {\n color: var(--warning-shadow);\n}\n\n.color-accent1-shadow {\n color: var(--accent1-shadow);\n}\n\n.color-accent2-shadow {\n color: var(--accent2-shadow);\n}\n\n.color-accent3-shadow {\n color: var(--accent3-shadow);\n}\n\n.color-accent4-shadow {\n color: var(--accent4-shadow);\n}\n\n.color-inverse-shadow {\n color: var(--inverse-shadow);\n}\n\n/** utility **/\n\n.hide-scroll-bar::-webkit-scrollbar {\n height: 0px;\n /* Remove scrollbar space */\n background: transparent;\n /* Optional: just make scrollbar invisible */\n}\n\n.hide-scroll-bar {\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ellipsis--noWrap {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.white-space-nowrap {\n white-space: nowrap;\n}\n"]} \ No newline at end of file diff --git a/dist/.lib/tsconfig.type.tsbuildinfo b/dist/.lib/tsconfig.type.tsbuildinfo index d4fdd5afcd..029a013d51 100644 --- a/dist/.lib/tsconfig.type.tsbuildinfo +++ b/dist/.lib/tsconfig.type.tsbuildinfo @@ -26,6 +26,16 @@ "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", "affectsGlobalScope": false }, + "../../node_modules/typescript/lib/lib.es2019.d.ts": { + "version": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "signature": "e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84", + "affectsGlobalScope": false + }, + "../../node_modules/typescript/lib/lib.es2020.d.ts": { + "version": "94b4108552f078722078d7c4a010ca4851063882f6c0c51a1468aa7a39aed4b3", + "signature": "94b4108552f078722078d7c4a010ca4851063882f6c0c51a1468aa7a39aed4b3", + "affectsGlobalScope": false + }, "../../node_modules/typescript/lib/lib.dom.d.ts": { "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", @@ -131,29 +141,54 @@ "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", "affectsGlobalScope": true }, + "../../node_modules/typescript/lib/lib.es2019.array.d.ts": { + "version": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "signature": "9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.es2019.object.d.ts": { + "version": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "signature": "6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.es2019.string.d.ts": { + "version": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "signature": "93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": { + "version": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "signature": "2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993", + "affectsGlobalScope": true + }, "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { "version": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", "signature": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", "affectsGlobalScope": true }, + "../../node_modules/typescript/lib/lib.es2020.promise.d.ts": { + "version": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "signature": "7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.es2020.string.d.ts": { + "version": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "signature": "faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e", + "affectsGlobalScope": true + }, + "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": { + "version": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "signature": "936d7d2e8851af9ccfa5333b15e877a824417d352b1d7fd06388639dc69ef80a", + "affectsGlobalScope": true + }, "../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", "affectsGlobalScope": true }, "../../node_modules/tslib/tslib.d.ts": { - "version": "12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75", - "signature": "12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75", - "affectsGlobalScope": false - }, - "../../core/utils/css.ts": { - "version": "c61ffa4f2600befae5f5fb6654f41ea15ad061f6e3c429b7c3c1f2c571ca3e9a", - "signature": "6e0c7d47c7fc8fdd5b11186cfb595099643d345d006575db6dccd11f60187459", - "affectsGlobalScope": false - }, - "../../core/utils/types.tsx": { - "version": "46080b05bf85af49787e3090538f823d8ffa44213b474f96445ab3b140202195", - "signature": "af052fa508b4382ae49186d7699bb9987d3cebde9125b38b5e414e4e737bb098", + "version": "14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e", + "signature": "14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e", "affectsGlobalScope": false }, "../../node_modules/@types/react/global.d.ts": { @@ -161,9 +196,9 @@ "signature": "ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6", "affectsGlobalScope": true }, - "../../node_modules/csstype/index.d.ts": { - "version": "4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94", - "signature": "4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94", + "../../node_modules/@types/react/node_modules/csstype/index.d.ts": { + "version": "381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d", + "signature": "381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d", "affectsGlobalScope": false }, "../../node_modules/@types/prop-types/index.d.ts": { @@ -177,8 +212,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/react/index.d.ts": { - "version": "7288cf81ca60c193ded5c5ea1303a7334a08a7b66ff5d775860c3403806249ff", - "signature": "7288cf81ca60c193ded5c5ea1303a7334a08a7b66ff5d775860c3403806249ff", + "version": "1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720", + "signature": "1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720", "affectsGlobalScope": true }, "../../node_modules/classnames/index.d.ts": { @@ -186,9 +221,19 @@ "signature": "d153cbce75b7e1621eda0a4148748f44edd71ff44cc5351bac1c7787da4d5b05", "affectsGlobalScope": false }, + "../../core/utils/css.ts": { + "version": "d3bb5b748724119f60db83c1b9ee463b44f699aced0d85a865c9831ccd5e44f3", + "signature": "6e0c7d47c7fc8fdd5b11186cfb595099643d345d006575db6dccd11f60187459", + "affectsGlobalScope": false + }, + "../../core/utils/types.tsx": { + "version": "144995e7607ca011002ba51f4c9d6c321d76c237c7d1cff9fd1eeb13818ce070", + "signature": "3c8301f5d7b2e4f3c1f1b1334949f532bcb881f175fc49b391a01bf11bb61b04", + "affectsGlobalScope": false + }, "../../core/components/atoms/avatar/Avatar.tsx": { - "version": "12545a5fcdccac41a09002f1332469ab3623cc0810005a63eb5cb0e7f3b893e7", - "signature": "988091324f292096ad7a3634f86cd0768e49fe10a3be5c1b50dff106ebdc0040", + "version": "b047a2d2d3524645a492a130d43b8ebac4e44a0e566fce7ac0cdae0676aec70c", + "signature": "5b8cab30364e8daa0afadd8c184c45e1e44757bb1d7fa53df4d64be299a03b51", "affectsGlobalScope": false }, "../../core/components/atoms/avatar/index.tsx": { @@ -196,9 +241,24 @@ "signature": "2625c60e362d6cb9d5676fc3d3f6948cedc95bec9865b597e25f61e684c11fb1", "affectsGlobalScope": false }, + "../../core/components/atoms/avatarGroup/AvatarCount.tsx": { + "version": "9988e292990f14ff0f0dca6ecaa213a5186e646630aec7a668f0c15b1c62beb4", + "signature": "28638b5b5c48afd430b5756033eefbe33a8098c1c0f56ee71b8c98c127808d1c", + "affectsGlobalScope": false + }, + "../../core/components/atoms/avatarGroup/Avatars.tsx": { + "version": "c3e28979e684787b885964e7daec3674d63ac42fecc66dc6aa86c0e22080e1a1", + "signature": "695e51eeb303f29c0263fa5c6b977153066291197a52797f11988ab8e4e7e43b", + "affectsGlobalScope": false + }, + "../../core/components/atoms/avatarGroup/AvatarPopperBody.tsx": { + "version": "d5dd0d781b118bf6c8ebc82796ecb89d79cfd89836f10d19c62df023d1a2c8ff", + "signature": "940659bdfd49091e44834ef4d58906fc661666cc467c523aa96a2155126a54f8", + "affectsGlobalScope": false + }, "../../core/components/atoms/avatarGroup/AvatarGroup.tsx": { - "version": "edfd2822058e811627165f280e889690d1d1e88e09fcee71774a1ae13c21ab34", - "signature": "1fab72619b249188a713aa3e2911a528ef11c543ae5008e8ddcf73d46c002d7b", + "version": "98ffacedf310585b5dcb23d9ac1d9d0100bd4fd6e55966a34735537599f46023", + "signature": "f1ce022850aac94e4b631f7169a974fae72bec47b9db5df00244abd1822835e9", "affectsGlobalScope": false }, "../../core/components/atoms/avatarGroup/index.tsx": { @@ -211,9 +271,14 @@ "signature": "ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6", "affectsGlobalScope": true }, + "../../node_modules/@types/react-dom/node_modules/csstype/index.d.ts": { + "version": "381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d", + "signature": "381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d", + "affectsGlobalScope": false + }, "../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts": { - "version": "2308de4bd094ed70bdc95ada3cece385c608a1eda179f8e1c71eed70a049cefc", - "signature": "2308de4bd094ed70bdc95ada3cece385c608a1eda179f8e1c71eed70a049cefc", + "version": "9e3199a1f11557e3a2d89230e811bd006c9f42730058c031212b312383c98cea", + "signature": "9e3199a1f11557e3a2d89230e811bd006c9f42730058c031212b312383c98cea", "affectsGlobalScope": true }, "../../node_modules/@types/react-dom/index.d.ts": { @@ -222,8 +287,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/backdrop/Backdrop.tsx": { - "version": "ca2923ddc09e8d29d1eab507b774d3f788e0d762fa125b38fa25e286557ca8ba", - "signature": "0f95643c9e43ef475353613ccc9790e53263219a969c75c4268d967341a4d81e", + "version": "f544f01512a07656485b77d078763d4d5b79024638b7f9c89bc5cf5dee840952", + "signature": "94d50554f952fd52d555764e38e247f9da7308ca8f3e21dff488dbfe922486a2", "affectsGlobalScope": false }, "../../core/components/atoms/backdrop/index.tsx": { @@ -232,8 +297,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/badge/Badge.tsx": { - "version": "10bef4ab87713e472f8b7e91281429911e0d1fb363c8f06f52afe578c67a1ae5", - "signature": "f8cdc421a850d9a4f84e8ea173c1fbee97173dac6b914fc58f6963e81eaf8719", + "version": "89eb5d56068737695de2fca3b23d8913f59df27d3272a703c607004bc995f925", + "signature": "1ee88f77b3f5d04f8b615ee48ee856daa455027c08db9dda6a734448360ca337", "affectsGlobalScope": false }, "../../core/components/atoms/badge/index.tsx": { @@ -241,144 +306,9 @@ "signature": "99604b649d6d5c65dd4e3bde3bcc3bcb66342a65dcb03db3d269724a70e05f2c", "affectsGlobalScope": false }, - "../../node_modules/@types/throttle-debounce/index.d.ts": { - "version": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16", - "signature": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16", - "affectsGlobalScope": false - }, - "../../core/components/atoms/_text/index.tsx": { - "version": "7179b6d4be30b5e85c9a19df92cec84205399c9aade0db6d307aeecd37f09da2", - "signature": "4495e76d274921d4b59766b405656acdd13655150397c91fa331a2a724d3d837", - "affectsGlobalScope": false - }, - "../../core/components/atoms/text/Text.tsx": { - "version": "0c4289390d387c6bdff393702195af419958c237711b6736e5425e6ca7793872", - "signature": "0de11458347c345e3b042b402198a364ad910cd32dfb1a727805324b0124017d", - "affectsGlobalScope": false - }, - "../../core/components/atoms/text/index.tsx": { - "version": "24e25b5d48ee435358f97436bbd6ddb4b27049f99784fccdd06634013e1d288b", - "signature": "7a29a272635144f3122e629d21e02a22fc95ab86cad47f32d96dce31c1f046b5", - "affectsGlobalScope": false - }, - "../../core/components/atoms/icon/Icon.tsx": { - "version": "ed690069ee054013aa6910820d2d03f08dabbb560b82022b3fedd14683a5927d", - "signature": "5e497cbbb6b0e4d2c8e1fb6c732222ca306e8381cd2ce13686c7fc6692b0bfee", - "affectsGlobalScope": false - }, - "../../core/components/atoms/icon/index.tsx": { - "version": "b37fb3563beee851955c6ea935b0c494b76d087c7473ced3472f1b6569b4a77d", - "signature": "82aa83ce17783edbb08a8b94be47e61c080ff2cbdbf58a83ed2ee344808901ec", - "affectsGlobalScope": false - }, - "../../core/utils/uidGenerator.tsx": { - "version": "bb63dc1fd8064a13779e0271186ba7aa0f28ff2b58bc0c601c213d9e22f97076", - "signature": "c6f84836d1161351fa4c6f1341109dfe045b758b470f73a8313d1d738b7cd1ef", - "affectsGlobalScope": false - }, - "../../core/components/atoms/checkbox/Checkbox.tsx": { - "version": "6ce8aefeef8ea7f2c36f01db28dee2e26f26d7838ee50ca24e034a7dc5c20a32", - "signature": "1663a21910b3f34381873387b3670bdf1d96e3b90729b2319b4f9f04ed8d24b9", - "affectsGlobalScope": false - }, - "../../core/components/atoms/checkbox/index.tsx": { - "version": "abf5cc0f57d5631b5d8de7c34466b163516d478dd4040f28feb06648c0cab307", - "signature": "25068ae67dd410a18d31b3b82ac8072a6eeb6e77709954116322049f26852745", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/CheckboxOption.tsx": { - "version": "cd6feec436a7422a291fb8efd5783c6e037032ee3121ac002f510bd46158dccd", - "signature": "98f4a0875d16803f1b276cd39be38fcb85912933c656185fe28943bc75ce3f06", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/DefaultOption.tsx": { - "version": "05f618bc978a0bff4048bc021172aaae2fba28d0ae155d9ed653be0bdbd332d8", - "signature": "6f31c22020816f53cdd8c91f1c2ffff045b89e16e392e0ab5ac159b45bcd2a1c", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/MetaOption.tsx": { - "version": "061750e5f02dca88371589995e856d34dd019d09827f6f67fd8918453ecadb89", - "signature": "c04f5541c90b30ea36c39cbcbd994504b6206c5724020c2af313e2a7d6018175", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/IconOption.tsx": { - "version": "89cad58bda7e6cbb5923eb8b30101043b31634aa6923bfa9086841006621274b", - "signature": "57606d84ad41d8005f808836fa817146dfff6a01d81eb4cc208291852e43d630", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx": { - "version": "4177e3e64ed0bbd18f6fe4d3e8ae7d52e38e8812cfad3064d9e6288f07d118e5", - "signature": "a0348067c7808796a2b9ec0ca3c26be48fafb06263d36a39066e0176621de18c", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/option/index.tsx": { - "version": "5323b8d30c0e6c11cfccab897a0ead309b88866a74ca663be99bfb256a69ba63", - "signature": "55cbadfe97466600bb643b2b518c850fe607a26bef75336dc6c525312103cf09", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/utility.tsx": { - "version": "7a17ae7b69e0add45d9cbe8d73968338efaaab01d9211c0182b0a84305ea7a72", - "signature": "b612eb3a1c21ec5dd691f409a59cf47bb77ca6220617f9ac16f90f81e40206c7", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/DropdownButton.tsx": { - "version": "23353f5f7e2ed587824a8410aa3c563279d477018fe4d2fa133933bc9ca6c9c2", - "signature": "26d301cbbadf8786ebabbee083c5558fb5b807fd8a9f8587cf8d5c144507fc9b", - "affectsGlobalScope": false - }, - "../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx": { - "version": "a0cf73e00e79b92a42fa82df937576a2bf530545084e3aa34c7404009f09a8ac", - "signature": "cbdd2c5e49ff7102c0c35b61723f8497af8185baef9198ac719116e094a650b5", - "affectsGlobalScope": false - }, - "../../core/components/atoms/placeholderParagraph/index.tsx": { - "version": "c3f3675a698ad1bc55b2ffb0945f298e60a86529e319356d63d9863c73739959", - "signature": "2a85a349f7be0dd8956084f85b0ab29bfdef1a40e8dd8fb320f7e7c56b95fea6", - "affectsGlobalScope": false - }, - "../../core/components/atoms/placeholderImage/PlaceholderImage.tsx": { - "version": "f1f64ca26e4d8b5555cbbb740b6698a3dd5e4e63220ec5928d24fc01b1c8a406", - "signature": "75d3bca83302a6b6ab608522b4a3fb3a7859ae21143e4519e380b552a4ac2d29", - "affectsGlobalScope": false - }, - "../../core/components/atoms/placeholderImage/index.tsx": { - "version": "fe09f40b8996b6b2f030b31a2e456c986c5d5be1fbbf761aeb72e072ad1c1250", - "signature": "bd89743408da8fba2fc6165a6678b1a8590265f7bb56c330360450f813652ed6", - "affectsGlobalScope": false - }, - "../../core/components/molecules/placeholder/Placeholder.tsx": { - "version": "6480204c6abfbd1c9055ea116b86d55b29ffab581aafd009b9491ef94d84e54e", - "signature": "8fc272b5d510094e0ed9ee38d846a16ff3064c6f639e2b9a75ed534034a666d9", - "affectsGlobalScope": false - }, - "../../core/components/molecules/placeholder/index.tsx": { - "version": "40df0d20a656b32ab443acb77562e6a1835c3753366758410b395ef7d121914d", - "signature": "1aed5a0f379a98c1bd002332e4f290f11352320cd49c5e0b76b8edf4138df163", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/Loading.tsx": { - "version": "413a2190957d4fe2dca685b44b2f819d1ca327274a9f0cc37b21ae863fbc385f", - "signature": "fec3cf0fcdb67e926fa4931314d138d81549539d58bb62c32c6fc184118c6cfc", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/DropdownList.tsx": { - "version": "7ad3e90b4df29709565e6e562da6885ec4135204fa6fe4481aa73505ce1eccce", - "signature": "949f8e97a6117b1dede0706409e5f088383d99369108ff6c2701077033617db3", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/Dropdown.tsx": { - "version": "58fd925d5311ec69f8eb5260d9c58c67d37b07bcf7d5e6ef64f34f587d28b42b", - "signature": "238dde67da16085df49ff451c4e89a2247270648e809ecb9945362684b2d6c7e", - "affectsGlobalScope": false - }, - "../../core/components/atoms/dropdown/index.tsx": { - "version": "e358c7c3fe588e1f640f3d12d250d96a01b0a11f7c641d937761fc51a19db0f2", - "signature": "40f70594c27bbf52364c559154aa64ecba00179ec4a548df2b751e72542f6497", - "affectsGlobalScope": false - }, "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx": { - "version": "65ceb165a3da8334d49ab5a9dd3b8a1f57582fbdcb66e1a1cc53e08d6bfe749f", - "signature": "1386549cc62d6f495546a3ed7295592da38aabd3565a63c52a1904b3dc3e29a1", + "version": "666a9f9dad5809d7e1013a22bbed417cdacbeca83bebdd7226ddd7d91f781f1f", + "signature": "b5e168473d27695a480ed3f6216a4a15b3b04d8e086b4a98458e35250ddb3571", "affectsGlobalScope": false }, "../../core/components/atoms/breadcrumbs/index.tsx": { @@ -387,8 +317,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/button/Button.tsx": { - "version": "caf22303069c15222107c0fd0307e715960be70bd4bd95a349e8524cd8e057ba", - "signature": "239b692bef68d8ba407665831cfe7e90321306f3d6366a1bde13dcad137a374f", + "version": "cbd3a7de427feb4d69686a50b4835f7b048079eba02176e8795ae86bb1e76155", + "signature": "532969f075bc72a567f0cb4bda2d3868ae099e40d506d7737bc2dc6ba99ff772", "affectsGlobalScope": false }, "../../core/components/atoms/button/index.tsx": { @@ -397,23 +327,23 @@ "affectsGlobalScope": false }, "../../core/components/organisms/calendar/config.ts": { - "version": "bc875f6caa49919ed0897b13cb039d7e1936f3b3b3149c61445a74aadc2a64fe", + "version": "58d7e5ba8610cf39a9790e6fb2bace66f6df6daf2fbd9880602fad5839e96c87", "signature": "fb386782ba87c1aef3743ee1e9cda336e878c0577de2308809385f56aa2e84a2", "affectsGlobalScope": false }, "../../core/components/organisms/calendar/types.ts": { - "version": "59b82e11772e605a6de0b6b0f703929f2f30ccdabf7440a0061cbb2c6c18c3e7", - "signature": "9fbcf5298161d2db183433f59cf8a7ab2203aa2557c4c2a056bc3ca55a27d1fb", + "version": "3ee7113b0bcc9813bcb90ac87124a50eaf6e3a4e22e07d47e509fb1c1c505a5b", + "signature": "443bf54c9b92e8ec5985ec7c4101738ec9d526aca3636d76ad8266fe9bbf855b", "affectsGlobalScope": false }, "../../core/components/organisms/calendar/utility.ts": { - "version": "851bf291ef8156e69f51e4502b6ce2e04175d034d124bde2748787b318f404c0", - "signature": "0120b6fe1425a2e00e7b870c3a42dc903097c45c4260943dfeafd62492ea87a5", + "version": "758a7aa8211b63c084efa394c68eae7965c568c4a19e7964c35ef3d953d19c29", + "signature": "42d2e48374c5c68300d54e14339e5cd5ba8af61edbe9a8da9d64e5ca826ec225", "affectsGlobalScope": false }, "../../core/components/organisms/calendar/Calendar.tsx": { - "version": "beefcb91f6096519b36591ce6120eb4a168ca8523e7123c86cab4a448cb800a3", - "signature": "d62caaef54bea27d0f876c4ce24aa34d28074b63742556b6b7a0824b85db7a24", + "version": "165e8ac85f507625b0876165cd074d67f4e5eec9b0c02be6fd081b17db8040d9", + "signature": "bd837ccd1ca55becef710a181dd2030665fc6a9d889f420e743d9bca9358e48e", "affectsGlobalScope": false }, "../../core/components/organisms/calendar/index.tsx": { @@ -422,8 +352,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/card/Card.tsx": { - "version": "38f58cb82534db3566c9e73b4f48475e09ecb2e57a098dd478b60c56846445c6", - "signature": "4161ad09a3face310376fd8d59ae93dc8a6b04dbaa0c488c28359dede6334a72", + "version": "f7589c67ee4a46152b0e6e0f4bca5e1e8f4be752e9d0c0c50a95cffbe47c8dc2", + "signature": "a8715783dded17c0a90223440558afc945d32b55103ac2fbc55007ad3c19473e", "affectsGlobalScope": false }, "../../core/components/atoms/card/index.tsx": { @@ -432,7 +362,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/cardSubdued/CardSubdued.tsx": { - "version": "c1a91730a3957635b80cb14b161cd585710027bc0ddde3c98fa875369dfed61e", + "version": "4f030d9a59d6343e443a55834b5daa747f799b29bb8755d4f391707588fe4c0b", "signature": "e70145e4c2ae3337ec0e796312612fa7f76d792eceb3c81fdddfdbcff9f39b08", "affectsGlobalScope": false }, @@ -442,7 +372,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/cardHeader/CardHeader.tsx": { - "version": "940f5393d8b168bc10fd37fa7f48e8187e705b46e271ba024b5b746f6a8c8fae", + "version": "ee26ffbfc70b03352951e11da8a3e90e9ab4ed4c9e22036664a6d6ea370fa75a", "signature": "3c055256baa745f4e924b2341682b0428a83c3376a50571bb2b061993a4bcf98", "affectsGlobalScope": false }, @@ -452,7 +382,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/cardBody/CardBody.tsx": { - "version": "ad4c08e4d9fcdcbd055719654cff07c5c1e0e4650e7e5978ac2ffd4e51b5bd03", + "version": "cbeca53ec06b8b23fafd767d637986be01b25526be96df1b156342bc99005f61", "signature": "5f420e72c7cb161fe10efcabff254a1bcfd7a0ca8d4b423c0e167c6dfc4deb98", "affectsGlobalScope": false }, @@ -462,7 +392,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/cardFooter/CardFooter.tsx": { - "version": "76e7fc6a142f7fdcdd2b23d71438f021dc7626de5b76b80ad1dc7c8a00dd47d0", + "version": "edb1a11852c23b58555fd39761db51c59c5cac373b5008b9015879e0462d732a", "signature": "781dd16535cee57e48e70007f4628515923ee1917084da965f58e4694712a001", "affectsGlobalScope": false }, @@ -471,14 +401,64 @@ "signature": "059d7b3a44c7ac251a68e7de8c15e57592c85b6228221a5ef683cf398934605d", "affectsGlobalScope": false }, + "../../core/accessibility/utils/isEnterKey.ts": { + "version": "af66522dae744a18df5876f7f8b18c9721b95b77e66e8f44dc75ee5e08b2d857", + "signature": "4c53ada96f2b2b75a91aee8c0794d478b52083fa76786176676768f2b20b4ac2", + "affectsGlobalScope": false + }, + "../../core/accessibility/utils/isSpaceKey.ts": { + "version": "28bb2a0235686fc9d89706e2823f42a2b55cf733fdf364bb5c276a0f4f2da65a", + "signature": "bd2100204d01589a25987744aad093fa839dddad21ddf8b7b832e1b750545e1e", + "affectsGlobalScope": false + }, + "../../core/accessibility/utils/useAccessibilityProps.ts": { + "version": "05105112f6557f671bdaec3224459c2ac1e74c2626fc12ecf6b62ca64212ed04", + "signature": "223d68c9ab2fa0e155cf70bf3b20a45e9011562d86cb390de713055b42afee55", + "affectsGlobalScope": false + }, + "../../core/accessibility/utils/index.ts": { + "version": "44cfff757ea872d3a8c98fe17c5e73ce966724ef270a807fe9334ead39527878", + "signature": "6427aee725c0b2c594f724f86482fe933cc3711d7ecf0bc86bd742cbf768877b", + "affectsGlobalScope": false + }, + "../../core/components/atoms/icon/utils.tsx": { + "version": "a5829212bb9353c1c67b4cd3e5d333248b10c777d64e4514ae87778829e4d033", + "signature": "68ebf8993b600a8745eb160a6af8b5a9a1576fffd6bef2f7a3d5534babb47a52", + "affectsGlobalScope": false + }, + "../../core/components/atoms/icon/Icon.tsx": { + "version": "1d9a92a76069887d29a386ee202872d7ec9a02d7ffd31888a5bd7d852e60e587", + "signature": "4ec0e5666dff4fe9b96ebefe3cfd09d56ffeea07b633ef501071ec7e558a043b", + "affectsGlobalScope": false + }, + "../../core/components/atoms/icon/index.tsx": { + "version": "b37fb3563beee851955c6ea935b0c494b76d087c7473ced3472f1b6569b4a77d", + "signature": "82aa83ce17783edbb08a8b94be47e61c080ff2cbdbf58a83ed2ee344808901ec", + "affectsGlobalScope": false + }, + "../../core/components/atoms/_text/index.tsx": { + "version": "7179b6d4be30b5e85c9a19df92cec84205399c9aade0db6d307aeecd37f09da2", + "signature": "4495e76d274921d4b59766b405656acdd13655150397c91fa331a2a724d3d837", + "affectsGlobalScope": false + }, + "../../core/components/atoms/text/Text.tsx": { + "version": "860b8fa09c7965a8a619ccb74aeb9f87b8504f9e49ecca2a816a50316d54a915", + "signature": "bee3b29528852ef0c1fcf2e2470da2e43488664145cb66f773d32920c967ba84", + "affectsGlobalScope": false + }, + "../../core/components/atoms/text/index.tsx": { + "version": "24e25b5d48ee435358f97436bbd6ddb4b27049f99784fccdd06634013e1d288b", + "signature": "7a29a272635144f3122e629d21e02a22fc95ab86cad47f32d96dce31c1f046b5", + "affectsGlobalScope": false + }, "../../core/components/atoms/_chip/index.tsx": { - "version": "22c985622590c87318b0011223bf7d77bc7b16bebb5186601563e040e1fa882a", - "signature": "477824abb6b2d49a147582720102276c459e07d1dfe5ca98cb311903aecf47b5", + "version": "36cdefb512bd319b88e809f7054666b88b82d222745832547919b4708f64a7d0", + "signature": "8c348ffb33dec860a0009e3c6f9ccd55d272ef6d0e9fa71ecc87b8c82987306c", "affectsGlobalScope": false }, "../../core/components/atoms/chip/Chip.tsx": { - "version": "16565cf254b6c1d145be8a1e8a0434184b276cf5a9d840923835b9f768f02859", - "signature": "b7e3e4ca3ebc67c8a78b6b86320677c2b07b22bede13ac54c87f930b513a0e88", + "version": "4c656b1f3e6e805b7b7f77dfa063de69a47437b764794244910f831e4b86106d", + "signature": "027f3a0b5a47e92e0bc69afa0643f29600d2f7a2dd7c3de00b785aa1dce9ff1e", "affectsGlobalScope": false }, "../../core/components/atoms/chip/index.tsx": { @@ -487,7 +467,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/chipGroup/ChipGroup.tsx": { - "version": "b250d0ef7856de253abc4cb45f9ce32b4b46926487412beed9913ed675faa920", + "version": "92c0578662602287ed6f671a02583810ed136cd36eedd26dee09dd0216325c06", "signature": "d2201bd9d17a850423f332b2e9cee897f467a30aad8be0643f8ef2ad55334d51", "affectsGlobalScope": false }, @@ -496,8 +476,28 @@ "signature": "051e1e1ed47cb5b6a0efddc101133cbf30134efabdaeada965da4e124f4a7976", "affectsGlobalScope": false }, + "../../core/utils/uidGenerator.tsx": { + "version": "9d501005944a0d31db11c9cbd778c58a2a337e1148e1c4a20e20f99bc00c26b5", + "signature": "c6f84836d1161351fa4c6f1341109dfe045b758b470f73a8313d1d738b7cd1ef", + "affectsGlobalScope": false + }, + "../../core/components/atoms/checkbox/CheckboxIcon.tsx": { + "version": "2051636f5cb59138be6497d44b918373144d93717c15f386785aa3dc88b95312", + "signature": "6da78c5022eeebd2559bbbe42c7f153e1e63dd9f4d6fbe27a90552aef60a515d", + "affectsGlobalScope": false + }, + "../../core/components/atoms/checkbox/Checkbox.tsx": { + "version": "9fa063ab463ab2648127e84eaafd611af611915cf59aea935c0d2f6c812402ff", + "signature": "a8465361acdffabca8badb5be1a772388fd94f09774d0765da4117696bd99c6e", + "affectsGlobalScope": false + }, + "../../core/components/atoms/checkbox/index.tsx": { + "version": "abf5cc0f57d5631b5d8de7c34466b163516d478dd4040f28feb06648c0cab307", + "signature": "25068ae67dd410a18d31b3b82ac8072a6eeb6e77709954116322049f26852745", + "affectsGlobalScope": false + }, "../../core/components/atoms/column/Column.tsx": { - "version": "34f6bc6d6a0589afe75e0434f27d61607b691a03f44acb4413e28e8d8d9e1c5e", + "version": "1d13670c44c3de7f3e38079f6f92fdb1fd939aa5cd62b22a44f401486a8c2069", "signature": "4951fc9e5f2bd374151b33e7765a30c2edb6475c5747bbb3b375fa93ab83314b", "affectsGlobalScope": false }, @@ -507,13 +507,13 @@ "affectsGlobalScope": false }, "../../core/components/organisms/datePicker/Trigger.tsx": { - "version": "de270b814594acc3d9e610b37a83e9bf35379bc674e2a39f5a6dbbfd48eebdd1", + "version": "a84c4b8841f4ba06e37a55ffca3300b848a0fc2b8e8cbe3cff52a38f408fe609", "signature": "772d91f645ba2cb9f7298e7cc7749a50e7df28ce240e6d6c8765d83f20bdfd32", "affectsGlobalScope": false }, "../../core/components/organisms/datePicker/DatePicker.tsx": { - "version": "4c4fb5f3c36595dea6c04f66a641526d867384da078f7ac00860e015b8d2ad2e", - "signature": "27aca7a933b4aca271476ed97a872edf847e2bbb02f04e9cbe4d1c7ecbda0811", + "version": "b1b68a5868e4d29387c601f01fcffd3a7fe2b4215884fa20043da8eaba581ef4", + "signature": "60130413fd988c89f00840e237722c22c1cb6827bc0da4d672949b9d941e2f9b", "affectsGlobalScope": false }, "../../core/components/organisms/datePicker/index.tsx": { @@ -521,98 +521,223 @@ "signature": "ac476fa69fbe4cf27ab78112c97544cfa81447d416ee3fb4a9fe17d916319ae2", "affectsGlobalScope": false }, - "../../core/components/organisms/timePicker/index.tsx": { - "version": "61e44a26477e9f24a82b1642311a5c4a31d454567e7c5663a44825eee82f05f8", - "signature": "e07b3861694d1de22de7b56ef40ce5ab57de7a7f2fd976c80494349e1721c172", + "../../core/components/organisms/timePicker/utility/timePickerUtility.tsx": { + "version": "42fa70ed3f6d6f622163b7d04e77027919124b3ef55466e026aea146da417f48", + "signature": "11f4144e92a2c11d2b5ade587059d7f28bc4066089211bf8b05a65a89647ae87", "affectsGlobalScope": false }, - "../../core/components/atoms/heading/Heading.tsx": { - "version": "835ccb0f7de83ff22fc2a86c25477c02233a301d27184d854d0a7d202d1c5ab1", - "signature": "81eb8eec8eda5d2ea06beab6602374b0c0e56f948f63e5bfaf55862f3a663c04", + "../../core/components/atoms/dropdown/option/CheckboxOption.tsx": { + "version": "4676d7420a1f2d6dcf2543694dbf25a91539f41fc5c673681804aa71dfe5dbf1", + "signature": "98f4a0875d16803f1b276cd39be38fcb85912933c656185fe28943bc75ce3f06", "affectsGlobalScope": false }, - "../../core/components/atoms/heading/index.tsx": { - "version": "eaef820e7cbb7a56bf1fec8b7132e8262258e50268c14436e822c1c3882c93d0", - "signature": "480c19fe72b950086e8c0e45b46b798590b05be70563147e4cb2df46c4002180", + "../../core/components/atoms/dropdown/option/DefaultOption.tsx": { + "version": "f877f716d3dc928e73c7629e1bf2778839d3f5bbaa5fecef903fe2231dbaac14", + "signature": "6f31c22020816f53cdd8c91f1c2ffff045b89e16e392e0ab5ac159b45bcd2a1c", "affectsGlobalScope": false }, - "../../core/components/atoms/input/Input.tsx": { - "version": "3d4149c9ecd6de7b44dcfa2ae2bb84841f73e4ab01538d1b395ba609c937b951", - "signature": "81ad67ebdc41ab965aff52eb554a688923b20c1d35a515552c3a3529aa332578", + "../../core/components/atoms/dropdown/option/MetaOption.tsx": { + "version": "14faa5512a4e7cdd4d4ef0d57f75142d2b42b01d68a75e37f3318077015fb899", + "signature": "c04f5541c90b30ea36c39cbcbd994504b6206c5724020c2af313e2a7d6018175", "affectsGlobalScope": false }, - "../../core/components/atoms/input/index.tsx": { - "version": "700d98da331e8240c0399af62962d99cd212da34ced31c147e314825b7631d18", - "signature": "a2d5b6c211cca07de6f10aea9a25e15eb904e51448e1405f8988543cf57af62f", + "../../core/components/atoms/dropdown/option/IconOption.tsx": { + "version": "6ab12421809ee6ed997b27db3cb6e7d56b3932987eec0d4aeb8fc97606d7c8f7", + "signature": "57606d84ad41d8005f808836fa817146dfff6a01d81eb4cc208291852e43d630", "affectsGlobalScope": false }, - "../../core/components/atoms/metricInput/MetricInput.tsx": { - "version": "7f175cff993eb5afd7aa5a05bc2e2312cb63da11182532efa3cdf63e07b22139", - "signature": "54e44767ddddb4d2895d72e25d20b83d7e86f2a34fe312d15eac105dc8d027f7", + "../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx": { + "version": "b00a1c060f6dc36407ac893c04a6a0937762d8f972d4f4cb0f0a5910bf40a0cf", + "signature": "a0348067c7808796a2b9ec0ca3c26be48fafb06263d36a39066e0176621de18c", "affectsGlobalScope": false }, - "../../core/components/atoms/metricInput/index.tsx": { - "version": "b593e1b518ed6658603c09b90f1a17df52c2dab4f31f1e24c6fb237f581d78b7", - "signature": "48c71fa7cc02985af142b22838dbb23d999daba9d3431f1312cc7b9129a2dae0", + "../../core/components/atoms/dropdown/utility.tsx": { + "version": "24bc3bf171f947f836b86e4dff8955b31721b56694adf7482887ef26f42e0d75", + "signature": "29ba83e516b59b9f8176471ad904f2d7b310e173b0b5f95c638f1daf96d66abc", "affectsGlobalScope": false }, - "../../core/components/molecules/inputMask/utilites.tsx": { - "version": "0c11dae0199a72d338442d63dd528e07b32c73bbc36f3f9c23f0dcf34dd46054", - "signature": "5e349fe67f144931cc302513d9ee1328310b4b62049dc32880dcbcf100219eca", + "../../core/components/atoms/dropdown/DropdownButton.tsx": { + "version": "61f417555670c39c2047c0aa0c9380f1d25a1d1fa355e9c12c174a0df06415aa", + "signature": "b9ba9951af804510e8439167b2a6ae124a2762b25992735d4f6cf72aef9a6e07", "affectsGlobalScope": false }, - "../../core/components/molecules/inputMask/InputMask.tsx": { - "version": "d090f0983ef8d113f98f1e715e98732bc6ddaf2c302de675e78be1fb7d4d3173", - "signature": "d33f3b757baff8ee90273e50bc6220b041e6ffbd07521e1fcddb009143efee6f", + "../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx": { + "version": "4c7545312411b9ed820777e15f446af6b48f2c592f53aad12d4ae28cc8e1e089", + "signature": "3166c4502edef33ad6865a8b5aa64ee7e46d0cc2983c4d2566e1552bec860443", "affectsGlobalScope": false }, - "../../core/components/molecules/inputMask/index.tsx": { - "version": "ce69a4be34e9a3da9907c665607d72a5c8699317267252ed6c712b9dc054d24b", - "signature": "0c89bc5a773baa972194f6f2a6d0f0293c7ed9f8d800ed31ffa7b7f1caba2b87", + "../../core/components/atoms/placeholderParagraph/index.tsx": { + "version": "c3f3675a698ad1bc55b2ffb0945f298e60a86529e319356d63d9863c73739959", + "signature": "2a85a349f7be0dd8956084f85b0ab29bfdef1a40e8dd8fb320f7e7c56b95fea6", "affectsGlobalScope": false }, - "../../core/components/atoms/label/Label.tsx": { - "version": "f5fc10929def0d56d93d4d0d017f8d774e8a24ba1c187e0417551de99d302ee5", - "signature": "c2bed342bb80212251349d3281615e87ec31a9c593c1b3e7cdbe733e18213856", + "../../core/components/atoms/placeholderImage/PlaceholderImage.tsx": { + "version": "90030826eac6e47dde848680f457d4a67f613cf327e15317fc87bcc8713e6e25", + "signature": "b58b9ebfdbc56213744018fc1244f790464c7d1b3e7656da16aadf530551dcb2", "affectsGlobalScope": false }, - "../../core/components/atoms/label/index.tsx": { - "version": "97ae88f7a3f0cab4b7d1664ffa7809b1008bdb04bd905c69aaa5dfb042330439", - "signature": "b7f0a457b39057fbb3c585025224ac95e2b060e5f3bd27215e7b29b3d8bb9bc6", + "../../core/components/atoms/placeholderImage/index.tsx": { + "version": "fe09f40b8996b6b2f030b31a2e456c986c5d5be1fbbf761aeb72e072ad1c1250", + "signature": "bd89743408da8fba2fc6165a6678b1a8590265f7bb56c330360450f813652ed6", "affectsGlobalScope": false }, - "../../core/components/atoms/caption/Caption.tsx": { - "version": "2ab32b34151240b1aa024d267708c22754ce59b1dce9045a9946c43f198561ec", - "signature": "d40cbd65fa058603fbb05a6531d627075986b0de4d1a111921a21c4476925fb0", + "../../core/components/molecules/placeholder/Placeholder.tsx": { + "version": "203cc24c497276b0eab07a45f12541fc246f16c5f78cd38eaeb7d066b3465ce6", + "signature": "1783c80aaaac1a212d82ffd36162b1a5f9d448a365a3cbd601b37d9719a8973d", "affectsGlobalScope": false }, - "../../core/components/atoms/caption/index.tsx": { - "version": "e2a2e42d6f17e4509d7fd2ac46c8580009079fa8a8eb865e495565f7ba6fe50a", - "signature": "5762fae5cc1601bbc027d1998ad3ad2a924763b0ae9a36ea21c3f6213dbcc363", + "../../core/components/molecules/placeholder/index.tsx": { + "version": "40df0d20a656b32ab443acb77562e6a1835c3753366758410b395ef7d121914d", + "signature": "1aed5a0f379a98c1bd002332e4f290f11352320cd49c5e0b76b8edf4138df163", "affectsGlobalScope": false }, - "../../core/utils/navigationHelper.tsx": { - "version": "061c2976b306b4a05f1fb08e763e0fa4375781c68d9d007c5ef03eb44fb6202b", - "signature": "a061829b38c05acd0c29e2af7d0914d6baf3d96029e2a44cb3728cf5b660f230", + "../../core/components/atoms/dropdown/Loading.tsx": { + "version": "9a2f9ba5d476bed446c69e39ef70173d61a493e14bcf70be5e02a5bd1bcad1ec", + "signature": "fec3cf0fcdb67e926fa4931314d138d81549539d58bb62c32c6fc184118c6cfc", "affectsGlobalScope": false }, - "../../core/components/organisms/verticalNav/MenuItem.tsx": { - "version": "71e77aa371b870999d3ce12ded29eba45cdef3730e40c9ad0399033478b693d6", - "signature": "aacfdbb4c44e59a9b59d018da5d1cdaa6297785b4f456489f6ae5097ff81606a", + "../../core/components/atoms/dropdown/DropdownList.tsx": { + "version": "f20bd7c8483bfcd902046dbf9e6cafe1787357c6bf9a5db1209774a553aec025", + "signature": "f5f7fd2712fd484caf1cfe54b35121c5216dfde74ce28557e299e3b1899e75af", "affectsGlobalScope": false }, - "../../core/components/organisms/verticalNav/VerticalNav.tsx": { - "version": "445d9c995b6ddba1dfe867fcf13460cec8d43da6d103a688a19deded39fbec4b", - "signature": "4d0dbb41238166355516729e34827b9059f921b739c7f04ef888509cfee1ded5", + "../../core/components/atoms/dropdown/option/index.tsx": { + "version": "7f8b2fefddeba75d65d0c01c11fda1ccee89747694b7e7ca1777afdf74dbb59e", + "signature": "e76f29821abde3f990dbd8da16ed0a3202bac844001dc22730cfc27a9ac971d0", "affectsGlobalScope": false }, - "../../core/components/organisms/verticalNav/index.tsx": { - "version": "e4b5f179d0ab6887dddb0092b8689355e6c2def7b35a82910f4877c7c7afe8e5", - "signature": "fb6e60cc6528097aa6d662df9d3e5d266b9f1791591fa451f43106f7a2c062d8", + "../../core/components/organisms/timePicker/utility/searchUtils.tsx": { + "version": "3b81a0da6cb2696c5cbca95dfad00aa9b1c76ef74518ed64b354c4304fb36fc8", + "signature": "c448d5e31e35bfc91f9abd38c3c32874deb172a9e67e5d622399a86047571d46", "affectsGlobalScope": false }, - "../../core/components/atoms/editable/Editable.tsx": { - "version": "faccd59eaa781e7eaf429080bb73a45df61d9962ce51bc3f5f46279e6a3d2f71", + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx": { + "version": "d421ff5bfbb43d2bcab03db80862633b0f6a9b78ee884757b45116acb430eb89", + "signature": "ddd64255a6b14edb6f7a2d3d5fca7c3b9e98dd0d42e27a242602471dacbb1e06", + "affectsGlobalScope": false + }, + "../../core/components/organisms/timePicker/TimePicker.tsx": { + "version": "a7a04f13c1814d079a90a6f6726b8efcafcad3c63eced5e0fe36dd467fb5d9f5", + "signature": "cb415689f4ff2d4f6e88c79ee1948f0add225dcb414e8305901ae28763471f2d", + "affectsGlobalScope": false + }, + "../../core/components/organisms/timePicker/index.tsx": { + "version": "8e909d065b080e26ae83953178e289a8eb107652091a83281a112e251bbd5625", + "signature": "dcf646481bd42b13800d0f095bdbe2cfd3d1260da39ec4b76891fc603ea87b11", + "affectsGlobalScope": false + }, + "../../node_modules/@types/throttle-debounce/index.d.ts": { + "version": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16", + "signature": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16", + "affectsGlobalScope": false + }, + "../../core/components/atoms/dropdown/Dropdown.tsx": { + "version": "bdf4621d19ed1ab8aa94c7befe6e7383011683ba3a1a3297a5bc87173b8e2269", + "signature": "fd7e7c7fcf71a2aeba04c61ddf7aac48617e1e2c19e1438335e1a703962beb73", + "affectsGlobalScope": false + }, + "../../core/components/atoms/dropdown/index.tsx": { + "version": "e358c7c3fe588e1f640f3d12d250d96a01b0a11f7c641d937761fc51a19db0f2", + "signature": "40f70594c27bbf52364c559154aa64ecba00179ec4a548df2b751e72542f6497", + "affectsGlobalScope": false + }, + "../../core/components/atoms/heading/Heading.tsx": { + "version": "87d534ad186a3a72fb029f90cb6640050824c7e27c78bdb38a05a2b6325b6289", + "signature": "828defaa60b3ab19cbb4d6dfc1032962d76801a8f9f5be67791e04b99cef91bf", + "affectsGlobalScope": false + }, + "../../core/components/atoms/heading/index.tsx": { + "version": "eaef820e7cbb7a56bf1fec8b7132e8262258e50268c14436e822c1c3882c93d0", + "signature": "480c19fe72b950086e8c0e45b46b798590b05be70563147e4cb2df46c4002180", + "affectsGlobalScope": false + }, + "../../core/components/atoms/input/actionButton/ActionButton.tsx": { + "version": "6f30e85be6d0d6971bf313d388941fd0c07548e9eba326b2634e3e05cf370a5d", + "signature": "32aaf80dc9d52ecab613c6b87c0acb82de9da2c0793086a207055820f938bba2", + "affectsGlobalScope": false + }, + "../../core/components/atoms/input/actionButton/index.tsx": { + "version": "000e6dc4932d6152013f7a46e3e4cd76fa8be52d0899ffc77b1411cd3b2b10c3", + "signature": "1387bf26f9973002301f3150880aefce9665ec63392a537c17805ffc78246714", + "affectsGlobalScope": false + }, + "../../core/components/atoms/input/Input.tsx": { + "version": "4e8bc1d5110bc7258c60e8e8022cb24757d21c2677c0084d5e57c65fc51d4864", + "signature": "5c8c979baf551dcbb425402a24a1f1686ffaff94cc78991d1bbb0baf68950741", + "affectsGlobalScope": false + }, + "../../core/components/atoms/input/index.tsx": { + "version": "700d98da331e8240c0399af62962d99cd212da34ced31c147e314825b7631d18", + "signature": "a2d5b6c211cca07de6f10aea9a25e15eb904e51448e1405f8988543cf57af62f", + "affectsGlobalScope": false + }, + "../../core/components/atoms/metricInput/MetricInput.tsx": { + "version": "ceca2ab78082fef267011fb7556cc2ccfd660d0dd77d04bfdc9fd082762b57a1", + "signature": "5fbf51459e145b95becb5f37a7cf0d4c926b3e444ebad825fba0cd61672d5295", + "affectsGlobalScope": false + }, + "../../core/components/atoms/metricInput/index.tsx": { + "version": "b593e1b518ed6658603c09b90f1a17df52c2dab4f31f1e24c6fb237f581d78b7", + "signature": "48c71fa7cc02985af142b22838dbb23d999daba9d3431f1312cc7b9129a2dae0", + "affectsGlobalScope": false + }, + "../../core/components/molecules/inputMask/utilites.tsx": { + "version": "0c11dae0199a72d338442d63dd528e07b32c73bbc36f3f9c23f0dcf34dd46054", + "signature": "5e349fe67f144931cc302513d9ee1328310b4b62049dc32880dcbcf100219eca", + "affectsGlobalScope": false + }, + "../../core/components/molecules/inputMask/InputMask.tsx": { + "version": "ee6a77bcd074d1dd7e7ce647b7cd0250708fcc16c46cd57a97818da06a0ddbf9", + "signature": "e262e3518d5b605bc1ccdd5b3f51bfca531d27b205ac0f9dcfb6982e6110c426", + "affectsGlobalScope": false + }, + "../../core/components/molecules/inputMask/index.tsx": { + "version": "ce69a4be34e9a3da9907c665607d72a5c8699317267252ed6c712b9dc054d24b", + "signature": "0c89bc5a773baa972194f6f2a6d0f0293c7ed9f8d800ed31ffa7b7f1caba2b87", + "affectsGlobalScope": false + }, + "../../core/components/atoms/label/Label.tsx": { + "version": "e7d34307fcb33e72682bc084f68721d6e0d33015f491a9ee30a1d26fd7078e78", + "signature": "2e10ae72a9921c270de3dcc16dd1dd163670f55cc64ec95921830b6f5dcf93e1", + "affectsGlobalScope": false + }, + "../../core/components/atoms/label/index.tsx": { + "version": "97ae88f7a3f0cab4b7d1664ffa7809b1008bdb04bd905c69aaa5dfb042330439", + "signature": "b7f0a457b39057fbb3c585025224ac95e2b060e5f3bd27215e7b29b3d8bb9bc6", + "affectsGlobalScope": false + }, + "../../core/components/atoms/caption/Caption.tsx": { + "version": "6c151dae9140ee8615c9b696a75cf7f951050a0ef5eb5861b130b33b50f4d8a6", + "signature": "d40cbd65fa058603fbb05a6531d627075986b0de4d1a111921a21c4476925fb0", + "affectsGlobalScope": false + }, + "../../core/components/atoms/caption/index.tsx": { + "version": "e2a2e42d6f17e4509d7fd2ac46c8580009079fa8a8eb865e495565f7ba6fe50a", + "signature": "5762fae5cc1601bbc027d1998ad3ad2a924763b0ae9a36ea21c3f6213dbcc363", + "affectsGlobalScope": false + }, + "../../core/utils/navigationHelper.tsx": { + "version": "ac382f144a8d7e302393c977e8fbc77a1f2932b6657df477b5d97d3b8bf9d643", + "signature": "94f7e30cfba7567ce6b8acd1f3ef3353e6fd9138a019b50c0d4fde01c26befe8", + "affectsGlobalScope": false + }, + "../../core/components/organisms/verticalNav/MenuItem.tsx": { + "version": "003f749f006ff3a466b5e03694e7d0524803b0918ad2d5443d8c0154482a8b32", + "signature": "5e37b7f569d09c007d1f438d81dbf26264baa12d49b0d34921a4233bb29dea05", + "affectsGlobalScope": false + }, + "../../core/components/organisms/verticalNav/VerticalNav.tsx": { + "version": "e769f79b0350f756616fa5076b4dd40ddeccf472aac9b49d5ebb9259a2f6ac17", + "signature": "b6a81d40026ba8bd3a2cbf23c794ebad04a3cd7ae697b1a3fcbca6f0cb11ad7f", + "affectsGlobalScope": false + }, + "../../core/components/organisms/verticalNav/index.tsx": { + "version": "e4b5f179d0ab6887dddb0092b8689355e6c2def7b35a82910f4877c7c7afe8e5", + "signature": "fb6e60cc6528097aa6d662df9d3e5d266b9f1791591fa451f43106f7a2c062d8", + "affectsGlobalScope": false + }, + "../../core/components/atoms/editable/Editable.tsx": { + "version": "a43a0a037f6db10edf037bc809344f738777fd61e582c0782eff24ec4fdb853d", "signature": "04e3b3fabd6ed0e11fcdafe0312506c9defec830b29b568f5f97d4ec4faf649c", "affectsGlobalScope": false }, @@ -622,7 +747,7 @@ "affectsGlobalScope": false }, "../../core/components/molecules/editableDropdown/EditableDropdown.tsx": { - "version": "8827abc320b4c92fb8bdde761ded2da2a94851cf48e14df78c803c503bc85d41", + "version": "b5e64ac0dbaf5e6539de81357cd14095a2988531f89566852d3bff2cc8e31608", "signature": "302fc70d29def09fc588806c4c2a49285cead7cdc4bc67b3a2a5422b1efd89af", "affectsGlobalScope": false }, @@ -632,8 +757,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/collapsible/Collapsible.tsx": { - "version": "b1b76b60e3c381dbee2c8080c4b952bd584942135ef6b6b2859df1a8267c96c4", - "signature": "0ec128931cf603ed5c188f9b6992f6104adaaaff68ca2e49549dfaddeaf78256", + "version": "8c655479a3e521d6df3cbe8e3ed97422d8c8be3195a15469b193ae857147611d", + "signature": "5018267880c04fca751d3432161211251f300dee7ca6b1a85ed245127877cd6d", "affectsGlobalScope": false }, "../../core/components/atoms/collapsible/index.tsx": { @@ -642,8 +767,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/legend/Legend.tsx": { - "version": "66ea1f296f8f246f65ddb5bf60a5df7ec1c2a40fe1bbe1fd154bdcfeaff36a18", - "signature": "c62c3db2238d087d21cc309b94c643f93d2dc6451781c216202e5f69c7a431b0", + "version": "6f10feb04992debaee259f133beb9744121fb22cba56b508cd21ed391dc1741d", + "signature": "788c15758858113f145142cf024e1c591c0b01af09c97e54b035702ff6ae1654", "affectsGlobalScope": false }, "../../core/components/atoms/legend/index.tsx": { @@ -652,8 +777,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/link/Link.tsx": { - "version": "4b7d3b4c45fa1e492a53bf0c1fff74bb6ab6cf8e4d8e312f967198c35e604105", - "signature": "f2c136759a27cb7fa05eb22b2b812ddd63be9522a2298f522e32e436defa564a", + "version": "d81e021724d1ef3344e6169ebbef55279783fc1259f363264e403d849e2f9e57", + "signature": "1d0a0353e715fda986870090fe9182f7466abe92bdfbbe410335fe803ba0e399", "affectsGlobalScope": false }, "../../core/components/atoms/link/index.tsx": { @@ -662,7 +787,7 @@ "affectsGlobalScope": false }, "../../core/components/organisms/horizontalNav/HorizontalNav.tsx": { - "version": "be99ea8af6107404e89e5ea5068f8240b63ddf1490756a905ff3732d87ad2eaa", + "version": "636152d074d8289aba2fb0308edeecdf2e882895a2a733dbbe3d6dcc3d26eb3e", "signature": "f514d24ce6074d591e449c02b591ee452010db46cf8ac4ed134508b59d168684", "affectsGlobalScope": false }, @@ -672,8 +797,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/message/Message.tsx": { - "version": "710b1ac8a41f5f51e6d3feb77110e3e91e03c1752b23950d5bd798f4c48a5b17", - "signature": "ee7b6cc563abb26efac44db5444ff18ea734ce4561a92e6a4b2354689d198ed0", + "version": "b806dbee42d9d73fb1d5789e8bd4982471d2b023d6199563580d0fec25112d8e", + "signature": "9fc020e1b93352e04547ccc85c2a217c6c971dfc3f4b0b44c78d9b3b3f3e7a88", "affectsGlobalScope": false }, "../../core/components/atoms/message/index.tsx": { @@ -682,13 +807,13 @@ "affectsGlobalScope": false }, "../../core/components/atoms/metaList/Meta.tsx": { - "version": "cf2628fff98ebf6e5fe2ccf3a09f2ecef72063225dcbf0f49d9ec46b2eead2a0", - "signature": "db7432d2237a3af82cc651685b95fd81498d8b4372464ad818a6bdbbef21bbb4", + "version": "6560d41ef3b66c88845009d799eaeb4e8a0ba7f9ebdb7c9add88932abb3a1d8c", + "signature": "79277a7a923bd14bd8ccbf8d372135b5ad8994d7391e4607b1a0f56c3f6e7e2f", "affectsGlobalScope": false }, "../../core/components/atoms/metaList/MetaList.tsx": { - "version": "9ab5dbd963f41a59e6474a2820a419c24e4fc986d3405bee315d3ff53678803a", - "signature": "b189c61153d087d90b79821d877781b599edc85916881cf180d7b459407cbe04", + "version": "cd5e9c4c465eb383683d454fa5cf4a7ccc3e901ef11078f90acf050fd31f59cb", + "signature": "2bf1748bc4d8d6967b776361ac06a6abe166cb52c49be74a50b129ac3c36846c", "affectsGlobalScope": false }, "../../core/components/atoms/metaList/index.tsx": { @@ -697,7 +822,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/outsideClick/OutsideClick.tsx": { - "version": "1f99344a3787824ccc1f97def23b68d98e4eea24aadfea23ad34dc937390a9ab", + "version": "86b47f621fde10957b59c3b9d62e67a287c74daf5f895ea28fd5b2069da24acf", "signature": "6a09258f8f7f4bc98fba0ec47e96b231b0c43934bb5fbb77692a14b9678c84e3", "affectsGlobalScope": false }, @@ -707,8 +832,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/paragraph/Paragraph.tsx": { - "version": "f0cf2627e04f0f9fc3875d337147fee8ddcda544dfc1933e4c0851f9d99a738e", - "signature": "a5a806d3371b84d748f9eec40f3503852f2da778adf12b4a5cd08d1d768073b3", + "version": "de062459cd01a96615b698afe6e88b92a2aa39987eee097b7c9b38a3a8ad304f", + "signature": "5ddd6da4aba65c1cdb4b22c665d83b50852062cd510716f83ebcefb8c8e8f624", "affectsGlobalScope": false }, "../../core/components/atoms/paragraph/index.tsx": { @@ -717,8 +842,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/radio/Radio.tsx": { - "version": "053a656629d21a58dad258e5ba6ec712de2ca22cda895c6f605bd6ad91fcf920", - "signature": "687a002a635491e279d209b9c30a1dc0ba94e74005fd4d714334b75e7a828e3f", + "version": "b51e6761bdbe91e2d303c26cef3797f61f9eee4e8ee6feaaeb5d9e70a1486d71", + "signature": "b5e6689f6b40f07a2bc0a948469389520da6061ad313f9eec96b6035f5a4962a", "affectsGlobalScope": false }, "../../core/components/atoms/radio/index.tsx": { @@ -727,7 +852,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/row/Row.tsx": { - "version": "4218a8964e4de7d3f13ba8944507e333031611de031e514591aff3af7d1e4514", + "version": "2b8fba362aa49484fea99c8de9355b758c79b88a9a7d254560e37da4d06f6fee", "signature": "46dae10643fbfc11217c4144b5d0a35b18008009cc520dd2490b2f0822b6018b", "affectsGlobalScope": false }, @@ -737,8 +862,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/spinner/Spinner.tsx": { - "version": "347d81d37ecf0f2585c6aa713acc987e037e271902905fedcb5725a4c9d18845", - "signature": "b3e8e59c18f5fe5244ea0f8e813711a5d3c4742c65c132927c58b837bb043389", + "version": "7dac93f57ad166cb6b4604261480101c21a100bb8a2354c6ebb0ddc51ab2696e", + "signature": "86f2adcc6fcd238305e0fc9cf833386d916607090c69ebe1f1430366c1b2d37a", "affectsGlobalScope": false }, "../../core/components/atoms/spinner/index.tsx": { @@ -747,27 +872,27 @@ "affectsGlobalScope": false }, "../../core/utils/Keys.ts": { - "version": "e0dcfd0fa94fd3df3a510b344e480745c1440810cab4ad25979e53963425fbbe", + "version": "5f90385176b25f7ecdd2cbd09de81e10bee5ed6b36cc357c67a7268fdf70a806", "signature": "f04214d63f7c97d5356201bdf3c5bc70dd487d4e413611e5c9e3885dd7f9a9ab", "affectsGlobalScope": false }, "../../core/components/atoms/multiSlider/SliderUtils.tsx": { - "version": "4fff8607aa97bd82d3c1f5baa3150a60b97f12c40d3b3f3c51e97b36b0a5556d", - "signature": "62e75f0ff3b9c7fa1e55591c1e71b8349ccb01dd80f2b6db1fb0dbd5ec5e6a71", + "version": "d3d02f0568c7b623ab09204a4a82749f9bb032a662787b7a8ff3b9f5392ac879", + "signature": "38e2ff72dcc8802fc99fbb18478d9dae0210abe52a04ca41524d8bcffdf90525", "affectsGlobalScope": false }, "../../core/components/atoms/multiSlider/Handle.tsx": { - "version": "56e6c50aea2ca85db3cf958f372b9c67fd40c839a119813025bec0070b2652c1", + "version": "cee8db86bdf26921b1bd864f148624b53b616c4c41d6b88457b8fbd9632f8b31", "signature": "cacadd85c8e7db3769e8125fdeeb9a80b9f52269ce3138a555e4086504ae3798", "affectsGlobalScope": false }, "../../core/components/atoms/multiSlider/index.tsx": { - "version": "6d82c5c5f749af2b63d8c5b70ace100100a909e070493a28b1fce7c9441d902d", - "signature": "e6b9fe2d3d419bb1dc943f2a8edb28ec69f45a17616897aa3cf7fde6d3e13821", + "version": "203e8189af8c84b165c3d522d63ed64fee0776bf4819efa57d37e074311a4833", + "signature": "80aaafd65bd0c56ea19e72b634c9544239fb583c6f3e194d9585f76d2f50a6fc", "affectsGlobalScope": false }, "../../core/components/atoms/slider/Slider.tsx": { - "version": "db18b15a8a819dc518632bad34337fc62267ecbe6038005bf1792963977f7728", + "version": "8c790a75b5ab612e579635434ea72cf4d2017ec0b55b0f369ce64b136a8f904a", "signature": "9512e33829a3c93f554da7693af6f27cf7d352fc95dc14e3196bc734ef0d84a1", "affectsGlobalScope": false }, @@ -777,8 +902,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/rangeSlider/RangeSlider.tsx": { - "version": "49e8de1c06740d048d3702a35dd35b63d23b132a200d07e03200852c2ce117bf", - "signature": "204c6e0acc041097a29ae15da6619b5240350b0007350293b61c4975a269e80b", + "version": "4e1b8a739719c5caca0be339c3edc730b418955aae3fceed719bc4313a395d5f", + "signature": "06b6304faddc17c30b6f32d3f87194363bdbc63491dc8217411051bc2ad72408", "affectsGlobalScope": false }, "../../core/components/atoms/rangeSlider/index.tsx": { @@ -787,8 +912,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/statusHint/StatusHint.tsx": { - "version": "e36dd763efcf75b905bfeeb5f43965bd1d86801518f5191b0a315d40de6899c1", - "signature": "9dd182a47ba1383faebeaa71e594b44da4e1fa1fa3d480056c568ca53bb4c494", + "version": "4fb65297db90de2a5ed1a13cd8deef7d2d9e48df7f4ad5f139f8f0ae6462e1e5", + "signature": "0cbb9806748ab5fec5c6ec4e80ce997e8122314867c7903f9c3019f99cbf2ad7", "affectsGlobalScope": false }, "../../core/components/atoms/statusHint/index.tsx": { @@ -797,8 +922,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/pills/Pills.tsx": { - "version": "1079cad83c01c3565b2dcbd27848712ec518860b1d1a3a2033194a6e5eb1b4ec", - "signature": "ea7e6818b36dae02e54e82eb23c988591b847c26dd545d799ece78e17de25f69", + "version": "6875b07c5a295219ca24a09e1c94095b4df0b805ff44eea2dad69874f931570c", + "signature": "65b3ec7850692917cb496bb9f8ccb4b320a2db963da8880c52f3fc8a233422f6", "affectsGlobalScope": false }, "../../core/components/atoms/pills/index.tsx": { @@ -807,8 +932,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/subheading/Subheading.tsx": { - "version": "db47bfbffd1569a19bf52adcb5ba00301f9180775cdba6bae3d4c380f9c52ca3", - "signature": "2f3182e42e26da13effd4c2157448d5d490daa398ff5857596f346fdf76509f7", + "version": "83a61ac21d47464502098ef8165f1ba38436b08eabe185831eef89e0d6679b4d", + "signature": "bc12f27521ca4cb3b8984d9e2da167ef438b28c3f2070f5b5ebec9d4c9825b82", "affectsGlobalScope": false }, "../../core/components/atoms/subheading/index.tsx": { @@ -817,8 +942,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/switchInput/Switch.tsx": { - "version": "e06013034fa2fcf5b00ea2bc4dcc683bdc0ca776dac467147d649616262d5017", - "signature": "849bc56a69273f9d6ce1ac3bbd9b0c87ff2ab0a0afdac104731866ad4de2ab2f", + "version": "7f7d1f25c47a7f28bbeec1f0dbca34485eae9bd81dc1876233ae768832177fc6", + "signature": "7c897756057c40addbbef0a04726a2e3ef43afd1592af10e91cbc05707a435b7", "affectsGlobalScope": false }, "../../core/components/atoms/switchInput/index.tsx": { @@ -827,7 +952,7 @@ "affectsGlobalScope": false }, "../../core/components/atoms/textarea/Textarea.tsx": { - "version": "896e7ef4fca526a04e911ad8a3582930b5b051929443f6158317f1c40ffdd764", + "version": "ba82a8a860ef95254d4a1ae365bb2c36d126e3b1af0f6aa93a09981a9254280e", "signature": "9bef5f78a3cf8514e8832de1bf5230e73fe21be6af8512f8b06fb3425062adb2", "affectsGlobalScope": false }, @@ -837,13 +962,13 @@ "affectsGlobalScope": false }, "../../core/components/atoms/toast/ActionButton.tsx": { - "version": "58efed12a1b83ca5bffa10d0aadd42fb1c2973d231668f28ae25e0aec90e42ba", - "signature": "1094ff9e13bb0d05e7a48e9277c1e729abdedf9c4ec8f80d8c2149cfbfd4bc74", + "version": "624c3d360755f34c6dbf92095af76857a24eb07bdfc4ac9890855a3893583c13", + "signature": "dd5e952ecf8b292d15b29f8e427c7331dc3ec7a5f2ef4927c2aea01f86f747b2", "affectsGlobalScope": false }, "../../core/components/atoms/toast/Toast.tsx": { - "version": "9ba30330d036846af3e1b74facb12f1ff6a9514fee20ef73d03c07cec6597bf5", - "signature": "1d61ac10fcc67bad1c60b7d59fff617cf038f7e0e061568a80333c30bea19652", + "version": "cf23bf7a0d94c575d43ecaa2e849069ac71ab83ef2d40fcee3597c0d35e51f78", + "signature": "adf965d2aa0e431b85aa3b7aba520aa56cb92b289d4ffb7f2727b003556438ec", "affectsGlobalScope": false }, "../../core/components/atoms/toast/index.tsx": { @@ -852,8 +977,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/tooltip/Tooltip.tsx": { - "version": "fffeaeedd8cf395cd6201b1c3202112cff5a4879f2bfb38e53f16e1d98c75218", - "signature": "f4f9c688b77e50fed648867d6fdc952ab6a0006c1edc516c11bc4f7fa1e4e79e", + "version": "e8790df75db22ac3456cd21f15cf7a549f26fad443f3b970da665f0b7bdb42da", + "signature": "ccd3eaa546cf49c24ef0d9a866cdb91294207e94ddbf35424e3cb0e0a4898849", "affectsGlobalScope": false }, "../../core/components/molecules/tooltip/index.tsx": { @@ -862,7 +987,7 @@ "affectsGlobalScope": false }, "../../core/components/molecules/dialog/Dialog.tsx": { - "version": "b0168ac134a23afbf8844bf70e79c2af80c97d4ad4d48253a59a6a458c8e95e7", + "version": "4f810118f2b9544ca72bbaf66fe6dac21323c0b0a84b6be6a6efbc55ba483c10", "signature": "bdb61ad54f812237b0a946e46700c046091f6b49f2b7c9eb5186c15d559ccbbe", "affectsGlobalScope": false }, @@ -872,22 +997,22 @@ "affectsGlobalScope": false }, "../../core/components/molecules/chatMessage/Status.tsx": { - "version": "1d0c5a870c6863132eeb98f52d2fb39988e574d498736779d3274c7b9e7bff41", + "version": "d6800989db39bf16437c93de9cb849f51d946a00ecdc1871479e3ef9f67d8a90", "signature": "96aa7e97fa42bbb8bb8178ede656fd40f42a51ce48a39ccb47a9941cebae533e", "affectsGlobalScope": false }, "../../core/components/molecules/chatMessage/Box.tsx": { - "version": "9618fb768f5ae4b767881aa0add260abfe360d5998ae683ceeb0a5ad49f18430", + "version": "1a948dcb35a6de082e28467e4a9a7e9c2a1fc84f6441c13b4ebbdf0ec57c06f4", "signature": "94d5c3d1aef918fcebabcff3e0f7cc705d17f1aaa7ee2ac8065b4c5eaeff79a5", "affectsGlobalScope": false }, "../../core/components/molecules/chatMessage/MessageText.tsx": { - "version": "71f9b05852acbf56828b49962381548741d641c6614a0a423b01ebea80a9d81d", + "version": "3b4f8f73dfce414d3ac5495ed68dddfbcded53a44ba73a0f9a5fb599e95ed482", "signature": "21944d0c0932443dfc672e4b475132235704038c6d30fe39826df323df563238", "affectsGlobalScope": false }, "../../core/components/molecules/chatMessage/ChatMessage.tsx": { - "version": "73ced846e9919e7090c6dbb69d23ed7f0d4335eee2d9b91c0b02ed76bbea3e81", + "version": "9cd3b4034fe48322a4fa038958160cf43938b068ecaba2a8fd4ea2fefaa63431", "signature": "e05a8025ec3ebb1e98018ec67d27e64eaad388f2129ec95d3ccf34516e505ac6", "affectsGlobalScope": false }, @@ -897,8 +1022,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/emptyState/EmptyState.tsx": { - "version": "53b0dd55640901ad51d16cbc1ddab221fb30300fdf8ca20b257917ca60d0b3c9", - "signature": "37b09708391d897204c352d1440459a4052651de102a6dd63688b149bc4c9921", + "version": "9e84832e1a29fc46485298bb333e9c245ab9e1f759c36449d04be517c75aee58", + "signature": "4107a8d2303a3dc2f1d9375cb4221bb4f2d7df2c24396a1650ba00559adfebd9", "affectsGlobalScope": false }, "../../core/components/molecules/emptyState/index.tsx": { @@ -906,19 +1031,9 @@ "signature": "177bdd267c09acfba8e6c3c59e0bdfc49873520e44801e30ff5380c5132dfdeb", "affectsGlobalScope": false }, - "../../core/components/molecules/overlayFooter/OverlayFooter.tsx": { - "version": "e7759769336a00416abc6a61af6cd3bf80588ca2c5ded949933952a40247bd99", - "signature": "79f12c6a6d8fa70ab572a5a262b67c1119eed6488b4f1ee423dcde62c55fffd8", - "affectsGlobalScope": false - }, - "../../core/components/molecules/overlayFooter/index.tsx": { - "version": "439a89eef207a81122381d9db8223b6f7413c54029c12c8170d380ca848aa348", - "signature": "2f4ba29d3e5dc49a68f4510d5989678974c3b9975ced76d71963e65304edef6c", - "affectsGlobalScope": false - }, "../../core/components/molecules/overlayHeader/OverlayHeader.tsx": { - "version": "02304207c8f3768e19d8c84c827927a59cb1fa36c12962c13377029c095554df", - "signature": "7faae95c74b56b1e4e654331c1ea1e7d87b74979a1f01eec1da117db41206ac3", + "version": "7a9449503b288a792f88d4199f144c9205753266ca8f910fc8a38b0fbff4a0bd", + "signature": "2cd9ea5c8e11c9e0040029f3ec2fab8df6b246357355f93a275e708be58ceece", "affectsGlobalScope": false }, "../../core/components/molecules/overlayHeader/index.tsx": { @@ -927,7 +1042,7 @@ "affectsGlobalScope": false }, "../../core/components/molecules/overlayBody/OverlayBody.tsx": { - "version": "7663a0c438a6c7953d30e1d30b38ef50c973c25a6943c684f08786492e616e5f", + "version": "12c27262f7508e8a27dea089a5d20b5e4017f81c44560884461cf3e99219247c", "signature": "c37271c24b9c311da4fea544944a56f7c2c9c59fb0a2af9217f0fe29a3f369d4", "affectsGlobalScope": false }, @@ -937,13 +1052,18 @@ "affectsGlobalScope": false }, "../../core/utils/overlayHelper.ts": { - "version": "6b9a145a9ba341510d4903c074f47fc33e43464923f8267b08e0fc6861464f54", - "signature": "8689745105fe56a18a0e70eb8126867b63470f064db4a10e4bccecc268039ad0", + "version": "0e2dc1026bd8b023f14ea0af5e584b6b1569fc8b377a80fa9c62e0b32e8b1e79", + "signature": "47c1de1aef33dfd400b27d75b157a4dd153533944c7fe2cc61914745a580edc2", + "affectsGlobalScope": false + }, + "../../core/utils/OverlayManager.tsx": { + "version": "7b72e874c8a5fecc8b7e5a57de1d37536a7225b4e5d3382efb5643ee6083476f", + "signature": "2495b576600e82176c7108c241f7bb4509c080db4780a530242d0e2d5ad190bd", "affectsGlobalScope": false }, "../../core/components/molecules/sidesheet/Sidesheet.tsx": { - "version": "3a801d268586deb40e1c70e24205e1a8d2c0edd0484ecca59e158b3e69fc9926", - "signature": "00bd96158558e071856efa9680d4ea9a1dec28ef8ba4c1e940c1bb6517588d85", + "version": "6599e8c568ea0b9064381779eaaab4126b7f4953ac65526fc8e2fbaf5f7d4232", + "signature": "e347f172382f4e8ed7f55cbfb543a8b58312908da18c8cfb5757e96be55363d2", "affectsGlobalScope": false }, "../../core/components/molecules/sidesheet/index.tsx": { @@ -952,22 +1072,22 @@ "affectsGlobalScope": false }, "../../core/components/molecules/modal/Modal.tsx": { - "version": "5ddd15016f2d68a7ee5db14a4dea75e1d1e03ee303df7fa815d50fdbd6294c55", - "signature": "ff79a4a01a5ece297536e191fdf930a87469480afc0152d01ee4c1e8dee33d40", + "version": "55ec4e0de63ba0dbd79114c09726db352f103c643643a2cd61878716b9f9d58d", + "signature": "c3d5700b02359fe54053b47b58a29ba3aefe8271a9e372907edb04a61ebe9c2f", "affectsGlobalScope": false }, "../../core/components/molecules/modal/ModalHeader.tsx": { - "version": "556fd8c023b4a14859e0484922986fc02f0abd449862c4f03b8198e398bfca5a", + "version": "7120aae5594e4adc56f2e4fd32940838c93d6d59503432e40f417a7fe975578f", "signature": "be3f60cdb43b5e1493ecad29fed039b7c49adfc9fad38e79cb6f302e5115c639", "affectsGlobalScope": false }, "../../core/components/molecules/modal/ModalBody.tsx": { - "version": "346b6f0c226fd118118eaf08918f19d0e4bbab75bdc93467cccc6b0ebd19515b", + "version": "8441e1cd0c076ef961d4d7c4a55fa8d04a338e6f41e8bf92100a706830bbe821", "signature": "24746ac7a4a44dfae8e10c8e55db43be145f99b80e773b0c80b9b1463a1c865d", "affectsGlobalScope": false }, "../../core/components/molecules/modal/ModalFooter.tsx": { - "version": "ae45b14fdb4275a9127bbbaf959f163e4201ae94979896147e5b776a06593543", + "version": "d8d6187309a01df6aa9a98ba89f20ee5cfa27bafb53aa331eff30f7dc5d55328", "signature": "a48ad2c1b077f64d89eb96f881dd7c22b049f5f6ce765b41ff9f63e2edc6e860", "affectsGlobalScope": false }, @@ -977,8 +1097,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/chipInput/ChipInput.tsx": { - "version": "6452dc1f0998eb9150a8eb7c278fd9e1dfa9bbe62889be4f6eb6e7b2ff781b07", - "signature": "7e03f5815331aceb4dcdde07a2a73a891636dae43f459ee8d91a4ecd78d6cb09", + "version": "c2d77c8a1c654245aac9502b2f50bb2748fe98f8b349fcaab4ab6241949dcac2", + "signature": "de9451cfc535d4ce54621cad7e84caab52d915746c3be021b7e335be9203f4e4", "affectsGlobalScope": false }, "../../core/components/molecules/chipInput/index.tsx": { @@ -987,8 +1107,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/fullscreenModal/FullscreenModal.tsx": { - "version": "cd6ccf4abc757b6e5c4ae2f485497a784a5ad99aab849d90ef1e64632fed9906", - "signature": "aaacc3582011c1e87cc61c3bcf6377fb6075e88ec2a78d8b93c57bfa235b11bf", + "version": "80bd7cd2a5274b8af443b78c5eaa6e655e225cfb19c8419c143ac4940d846668", + "signature": "75cd13adea58fdd4e866fddccd8ce9f459490220343db22e694ef3ea7f43c7ad", "affectsGlobalScope": false }, "../../core/components/molecules/fullscreenModal/index.tsx": { @@ -997,7 +1117,7 @@ "affectsGlobalScope": false }, "../../core/components/molecules/modalDescription/ModalDescription.tsx": { - "version": "d7fb7d5974088431520a490863fc3242daae840220f76631b48e85769a8da67a", + "version": "17d2f4c22aeb0173ec2dca6da5746c24a80aa794aa839addc035bb4b1d7d3926", "signature": "b2c258ebd79e78a89fd4fd5576322f7e7e5ea2ddb2cf70034b71e285c03c143f", "affectsGlobalScope": false }, @@ -1007,8 +1127,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/pagination/Pagination.tsx": { - "version": "14610e8496fb4f24bee08fa594924305695787cecf8abdbb208eef94a144a1a3", - "signature": "12eff4722fe853ec6816232cc744e8fda010e2a3c0b92d54d8b853a46b415383", + "version": "53cd6f264559d72d4926d01c5ba8627e18ad9d8ee495c674e0304fa469fc5f3b", + "signature": "7162d0f6243222e00261b23518f2de41f0d3c4a102eff858121f697bb2902580", "affectsGlobalScope": false }, "../../core/components/molecules/pagination/index.tsx": { @@ -1017,8 +1137,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/progressBar/ProgressBar.tsx": { - "version": "df2884764b869bfa18fe6382aaaea4cc7b263469038440de7b04b1b84c83234b", - "signature": "935b924f1e2a4f72c2133bf199a3c5926aee823ccae8ea6b15379b465d75e099", + "version": "3ddedb88699194bc1dcb359b1bec9674b6f07ab6dffa73f6fa1185fc01ae68d1", + "signature": "eb7d48a661aec52ba0854ec19e758f208c62ec52662eb0674888e3cba3ae1317", "affectsGlobalScope": false }, "../../core/components/atoms/progressBar/index.tsx": { @@ -1027,8 +1147,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/editableInput/EditableInput.tsx": { - "version": "04c0c307618d2f1bbadbd967071deae68e47362bd2a7f7b4c005dc36db883df3", - "signature": "8ac9ad0e028f9716152586e0cf67df9fdbd00e939ce0428989bfe8781e5fb8d5", + "version": "d24b5bdb12cc8080bc7f83a3f10c336f3dcfda22b16c3b947b96cb2d32ec5750", + "signature": "ecfe16f129ccf80ceeed9b9bd6d2a6656f8e04e332800cead71e5f86e1d483de", "affectsGlobalScope": false }, "../../core/components/molecules/editableInput/index.tsx": { @@ -1037,7 +1157,7 @@ "affectsGlobalScope": false }, "../../core/components/molecules/editableChipInput/EditableChipInput.tsx": { - "version": "b270ac905504c181e12a19f8ed737bb314c72a599385f3ed8e391100b20e2057", + "version": "d0065089928ee37e0cb7f802502af3e77a2e62fdf0851db0d2d123482c7d8830", "signature": "1d1196a1d3a13ba64e141972debf7d789cbcb1173a737fbd5771d421c7675b04", "affectsGlobalScope": false }, @@ -1057,8 +1177,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/popperWrapper/PopperWrapper.tsx": { - "version": "2cd2a9cff8caefbf0d8d24b0c5e482a0a9767feae97b30fc4025cfe233fe3edd", - "signature": "50325d1368fadf00a75824b09ccc0263e23629d33be574638879f61dd056ad23", + "version": "4bdc8aa961b2247499d2937c5d836e5680c2bc6c531bb77feae0a14f4a08fcc3", + "signature": "786615f97cc26af74b87459c50cf92427fe10f4a007cbfab1bc0bb472acf4ccb", "affectsGlobalScope": false }, "../../core/components/atoms/popperWrapper/index.tsx": { @@ -1067,8 +1187,8 @@ "affectsGlobalScope": false }, "../../core/components/molecules/popover/Popover.tsx": { - "version": "3046c88c1d4505821f4e3ee3d45011f637b6db0de7531a8b7d36da72ab12b320", - "signature": "eeb017ea4312735392744a19241d851d85814efa5230d043df60a3b157b1bfb5", + "version": "72747826a0633fc69fe82b76db839f3aace4b43511fd3d12407a0c01be4ae18f", + "signature": "f2623c1eac3216921aa350bd5a73bbcd88892e394c6c229c47f55a785db0e336", "affectsGlobalScope": false }, "../../core/components/molecules/popover/index.tsx": { @@ -1077,8 +1197,8 @@ "affectsGlobalScope": false }, "../../core/components/atoms/progressRing/ProgressRing.tsx": { - "version": "49069e33ded61bc3c33b2a004ce6ad06825f3788b99b1ac798fbd5b717a50dd8", - "signature": "748cf673982658e2ce3f1fcf434adadaa889fda64dd88f50a88dbf35cef7bcba", + "version": "0b548d05afc77b1b7ef317a31b512828049dc5f5ab47b582aba727e19fb1d26d", + "signature": "5a52db688bab52674d2f9474fde584776e5725da8db4f9f77a0d98ad53ecec34", "affectsGlobalScope": false }, "../../core/components/atoms/progressRing/index.tsx": { @@ -1087,12 +1207,12 @@ "affectsGlobalScope": false }, "../../core/components/molecules/stepper/Step.tsx": { - "version": "a6f563e165c0b98317435393bfc1b56961c7d8ee80d7b964bbffa7dbbd6124a5", + "version": "5de77f3470beb34ff8cd8ed788c418f24a043235925c56cf3fba705ba91749db", "signature": "272441305427b4d5b85edaff2df6af465c28fda2ff78e005056745a7e4f342dd", "affectsGlobalScope": false }, "../../core/components/molecules/stepper/Stepper.tsx": { - "version": "0870f8c762b5030063ceae57356f2f31fdd73eab324ecbe090b1585eea23a979", + "version": "1185bf606b9f3edb937fdb16007efe7be0e5790c11fef490b3914049b82bc1be", "signature": "c5df07bffb6808f65eb54e255bc028923cf58355652d3356fa80b0e2e775ce92", "affectsGlobalScope": false }, @@ -1102,23 +1222,23 @@ "affectsGlobalScope": false }, "../../core/components/organisms/dateRangePicker/Trigger.tsx": { - "version": "0527e5b04816601c12ca0824cfd5ef9ea94d54aa2d1dc2d54ef5857d1ee77651", + "version": "fba568d72c7d10f03e95d4fd134e437afd8c8bf14ff9fef0042e7c357671c240", "signature": "8fb63e48afc23facf041aca8ebad538ec833649c1cb291890b8a7edb55a9b10c", "affectsGlobalScope": false }, "../../core/components/organisms/dateRangePicker/SingleInputTrigger.tsx": { - "version": "954d9984844d494d8b07e1ca8f99f04561140e211fc3f02ce2c2254101102722", + "version": "5967e3006585a5f91f00ae85ddcd08f6e8ae7f074d1c831068323a8eacc20431", "signature": "52e4e6fe9fd5d633812a50a1d0e4f4b07a343308ae3ce85e664cf1aa38566fa5", "affectsGlobalScope": false }, "../../core/components/organisms/dateRangePicker/utilities.tsx": { - "version": "cb41ece8fdc53b23356bdce70ff1d71a2931c8507fb3656dfbf57dd162fa690d", - "signature": "169c0f477a4dbfc8fa1a8f0db48a490d0482038c0796699de06261c217def6d5", + "version": "275a5c6ea635ed5939cf024234c97b4f22a65bcfca35abcde4a75110c81db767", + "signature": "e26168f65f9f1374697f5e8a20a8b14eff0771e70570ec5c8758e25f7ca97727", "affectsGlobalScope": false }, "../../core/components/organisms/dateRangePicker/DateRangePicker.tsx": { - "version": "177a3211348b82a52b6061786be724131048d0cb212ce57e8636d47d744de718", - "signature": "da0a3962fd2112c7f7fa416814ea9def33c4e48cabd3dcb56c2d13c61f2e3fa3", + "version": "3a4f78c1ac8d6df9af2e07a98f5e0885771dc7c3629b1a248a730dc9e08d39d4", + "signature": "051ddfe71109196a0b344f0010dc22e485bc318528f2f24329d5f62740f58eef", "affectsGlobalScope": false }, "../../core/components/organisms/dateRangePicker/index.tsx": { @@ -1127,18 +1247,18 @@ "affectsGlobalScope": false }, "../../core/components/molecules/tabs/TabsWrapper.tsx": { - "version": "d7fe903fb006eb62e17613b41a4dd091eecaf3fe6d00c3d839aeb51e408d1ea8", + "version": "a073dea9d7b44af28f2460249d45535b5cd5b5043b1d98b87eee0b1c5f30bc75", "signature": "c281fb4d3d907569c2344401a8c10eaedb7202095a255e1e71f32dba0d313c1e", "affectsGlobalScope": false }, "../../core/components/molecules/tabs/Tab.tsx": { - "version": "c0ab456cbacac4ac0639570d2c5ed165e856db64cb966e89f5f2f21e433ff4a4", - "signature": "4623d64ec140a837ac398fbb16081fdb1b7762c4a8955b5ac1de2b3c83b084ca", + "version": "947ae97f8af0a4c07fd48211a8b320ed9e83a92aa0eeb9ba3e93ce2c34ef333a", + "signature": "85ae6d1d2aa8de505f7f1ff8203b2a7a8ff197ee752055e514629b0580a4b481", "affectsGlobalScope": false }, "../../core/components/molecules/tabs/Tabs.tsx": { - "version": "bdf248447c24a338c5d25b9ad9b9b0b413dc8b7645d1119739b5f0c0a9a452f8", - "signature": "ee12b7c2723cc10464097cfceafcf7fcb768df0b1ad4068db48e9afb19aa2d54", + "version": "5e137e5df3b652eca8faabf3aa37fadd610a902589da870a6d637863af28ac10", + "signature": "6d64e3056227e06442dbcc0cc2154243ee9ddbf3132baa66a136a09f54a14aab", "affectsGlobalScope": false }, "../../core/components/molecules/tabs/index.tsx": { @@ -1147,38 +1267,43 @@ "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/utils.tsx": { - "version": "cf9808b75b0f2f08cbdd036efebbd816798733ad1810043a5b159b016655ad92", - "signature": "79e29976886d0338339a197e41462c2592ec3978329f0c39c05403d1ee56f8d8", + "version": "357019f808c7ada66640c6a83c02564f0f44938e1251b6af9745e43be2d74605", + "signature": "e5f50b6a6ffe8bc3e9384f3786043d4082605598e9bd023b6e159ac612061c72", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/FileErrors.tsx": { - "version": "d8aa314e3cab9e8e23d5c8ce7d077c906692f21e6236692adac2c2444b4fc52e", + "version": "1dc2ed83f80cb3e972127132241f6c4f149e809e064781e29e2da56740078c13", "signature": "2e955901d4ca289686638d508cab1de90d6e25db8e072d5c0eda68022eeb34ed", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/FileSelectorUtils.tsx": { - "version": "221c64ed0ca5c17e7c6bee6d584ce1c3e66998230da7d36b33b25a5412cda6d0", + "version": "6fe01e90313d9647b5276bb0de4088cbbe7fef630b81b43e052005b353aae882", "signature": "a2978eca43762c593ed20df43e7b69ba889bbf076277545467a40808c4cf0043", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/DropzoneBase.tsx": { - "version": "4a8a37b9993cdb0f518c7a6a1ffe97dde29d1687b13bd6e2931e05a1c7118031", - "signature": "500188cb243295e6266970d6b2e9fcbd6d8ff9e158bebc926387e1976454b168", + "version": "e7906adcae8e9da28faaf2ee1ed109746181c64786244c46b92d7a2535af5d87", + "signature": "ca589763eb85b260bdc6da87f8dfede23394a3b2fdc1ff2e4888984a421b7f95", + "affectsGlobalScope": false + }, + "../../core/components/molecules/dropzone/DropzoneIcon.tsx": { + "version": "7d1fdfe3b5689658ef3ab98251be53ea14f0c5ae4f15ba12389082c196857439", + "signature": "7734604aac4000e5312bdc641687b581a54636aa58476cdd108968f4aea46def", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/DropzoneActive.tsx": { - "version": "9b3b44142109677209292f114bcebcd8032f483850b074132a069390d470aace", + "version": "f5907bf72202f2a7dc4f9eeacb300bec323416234c2dd694fbb91f26989abea4", "signature": "fa43f57da6926f7fcb89e05b7b2a7de2fc6fddad153e485f90b1f91b979d0ade", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/DropzoneError.tsx": { - "version": "5276a5bc7c61fe85ef636c720cc6caee3c5953c1be09d6e16e30ea453a81f70d", + "version": "ce052f68c8c295c2053e2cee9c1da0021759c5a254c0b4ff0f698578ae0d4151", "signature": "16d56587d21c7eef77e09ce9a412f598456d6bb48b1e6fb16548d13ec9b0e9a0", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/Dropzone.tsx": { - "version": "3854e94879881717225745a4403a6ace7101f5687898f41cd3da2d5f8a81b2b9", - "signature": "c145cc44acc0360e8789b15fe5cd58be030e4c2771876c834ab2f337e9815cd7", + "version": "ca620aca7c218533e94f1fd619dbdaafae524fc7fd8e055c17a99f804c91a54e", + "signature": "e52e0a178a128b965f2c3be7527fc8ed465fd388c21c5d35316dd9b0ef4dcc84", "affectsGlobalScope": false }, "../../core/components/molecules/dropzone/index.tsx": { @@ -1187,32 +1312,32 @@ "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploaderFormat.tsx": { - "version": "bf28a5129df786b83ac0143ea96ff114bdd7dd8694aa80a31e396bbe89dc05e4", + "version": "176a70da2cc68eee7ac0af287ba06afc6782b7e3cd04ddf469ec1f1a72eab929", "signature": "6832076fdd5655a53a7ea8cf07b541b2f6511fa5085d3e4a993a4f6a45497e8d", "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploaderButton.tsx": { - "version": "e865aac3eafeece8bd32d10691e4cb4ee1c0391db576f18336149b325e67244b", + "version": "d7aacc905316db9677ca3a467198c69878f8644b0ae6a23b8cc8e8fc33924e69", "signature": "5e1bdd5443610aa5e3df574ff01a90c1f98da6353fd0ae779ba68555efff7b21", "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploader.tsx": { - "version": "8f12b90acd8b898853e8fdf056be8437a5f92af0c901a98d18650a849f7b4291", + "version": "fc9e76e67cc65db0b133843c49b908dda64a2f2ebc566069d596c4c1d2bed489", "signature": "31002352deea9bad883236c2956ea4fe415f15cc8ad5db8f859e0eef9e2bf556", "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploaderStatus.tsx": { - "version": "5ca6d33b72c4a0bc8518932c9792959a4aab3d016f26d78430f96d8046b5a26c", - "signature": "ddf5e59dac53d5902cd27cc2ad5507fc101d8b3dc59d807ab275595c50f25d68", + "version": "9ae6cac05b863c06e53459855d711e1a172558ee7686d7993adb6a80a8715279", + "signature": "57f2c4d362c697d081faa678ee1006054bc3a6613290f1ee527a275106381bec", "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploaderItem.tsx": { - "version": "77f9f5be0170a9804c95f0ec6295368f5a846041b95e822347890724ca25f72a", - "signature": "1678e32b8280cc970a1c9c965af472b5cff9932b03b12d8f0d005dae74ef2d3a", + "version": "b212970db6892c380b55bc48401db9d38c6ca22bac833a212f19f6cb18174f85", + "signature": "36f7ccfc7d951a5cfcac4232ceff2078681b554658530ddbeae72ed6575c4184", "affectsGlobalScope": false }, "../../core/components/molecules/fileUploader/FileUploaderList.tsx": { - "version": "b4d0987cab94a7342278c51a2dbbea98cdd423825ef60256c703f6e6a8517956", + "version": "a1b71b581467699ec2232d3198a8146c1d2bfdba56932ef0f0ca221f266dd0ce", "signature": "b336932bd934aa1fc252d507e7ce155b9463d8288525de20626fd116cdb8cc82", "affectsGlobalScope": false }, @@ -1222,58 +1347,58 @@ "affectsGlobalScope": false }, "../../core/components/organisms/grid/columnUtility.tsx": { - "version": "1d1358df732b390bd6f5243bf6786d486c475a7c80968c532f7c1428cb38a417", + "version": "667054cf1f9428ed9dd6b75e3c16d906fa7be8251e384464ed977b8945f669ba", "signature": "e88f7b78bb8f8e252204fc64f43ab4666a7f4641d57983bb48322181315198c5", "affectsGlobalScope": false }, "../../core/components/organisms/grid/rowUtility.tsx": { - "version": "a7cd1b4d3ca648dbbd54f35c866c2d3089b5039e0f590573f4c233e02e9bb7cd", - "signature": "c0be0026ce2c76d414c1161d0dd8874e46c32031da763536b7b3894886a5d461", + "version": "628b7968b8ceb665b74e97fbc202248ddb90ea3824246a60a66f16be8e797f2d", + "signature": "63a5a7611deda70302cceb0e40369573bd105247e5dd5fc5b3bd91e6f70b95f3", "affectsGlobalScope": false }, "../../core/components/organisms/grid/utility.tsx": { - "version": "834917c97d8bc8933c1614e8b2c90f862525c001bde0a21b10e8ab011f2310d3", - "signature": "bc6f1f0ef36acf5b224b10e928f1402bd8b6e321657b2b4e925d9c2ac69ef225", + "version": "21c97e62504eed458a5d78d6400407632f4c11138562a3c55b53a51a5c113e59", + "signature": "8b1aa3bcb094b0f75fd2c6c9790e6d2de8f0a414c3859b45a27bd7135dd94be1", "affectsGlobalScope": false }, "../../core/components/organisms/grid/defaultProps.tsx": { - "version": "47fb4664f4c60175411543d20c3848537862cff255742658862d410888f77eaf", + "version": "820529944a40c42eb58ce5573b474b6c1e6637da5c25a7ffc0714108b4f48a82", "signature": "4b4c0e4cf27a146fc0aa438945081d51c1853a169254bc860acc86cb40c99030", "affectsGlobalScope": false }, "../../core/components/organisms/grid/GridContext.ts": { - "version": "b5fc598d26a0795c0061224e85d80ae6223fb60f9affde8cc740ba760568846d", - "signature": "5e6c1958a6e33f77778dce4b08039b33e9e21822902678ebe07e2479247d597e", - "affectsGlobalScope": false - }, - "../../core/components/organisms/grid/GridNestedRow.tsx": { - "version": "0c53b891e68da67a37c19d4c5f4e76caa434214137da81b4d5dff7a13da0cf86", - "signature": "386ef87ed06daefa64d1f6f8c0ca9393650091499109945f28811b9c7dee62db", + "version": "617bfd6badad51167f9b4a212f1adf7d00d4a3c46f882cf296f6d1a8a9517526", + "signature": "45b9750de5fca677d704d53b48ba6c8542e717e1c7809461edb4f1870b3b54b6", "affectsGlobalScope": false }, "../../core/components/organisms/grid/Cell.tsx": { - "version": "ac67674d2aa07aa2583f76ab34b2cdb0a7bbfcd8d00e3d34ed242dbefedbb91c", - "signature": "e276bfa6488543f31bde00368660ec9c126aebd64211bfce19b11b1b72ac100c", + "version": "73104fd491abcbca1077685c3d5503c4eb2ad681babee44e73467b0df53921b6", + "signature": "b1b23efb36cc3b1bcd7567c1b108157e79b087b39671ed9764180282d778597a", "affectsGlobalScope": false }, "../../core/components/organisms/grid/GridHead.tsx": { - "version": "7d253ac9b11f3d78ab7f9b83fa01502db88e32e223bacc3f5e2a3cdb082a9c98", + "version": "174a84487f15727545838648f849f233b14b7903b9548d7ceebf276c807747fa", "signature": "74985f2a6ea97b6d48bdbceda6d2e90fdd7ffdd17a2e8ee17e34315ba6b2d843", "affectsGlobalScope": false }, + "../../core/components/organisms/grid/GridNestedRow.tsx": { + "version": "cd9c0e29a819faed46cebf3c9d3d391ae14fdb418d739ed63d1961b9aad54558", + "signature": "0a4e9f7cc7e17a39cd24a46abb15b76074438c472dda09d1398c7547531d72cd", + "affectsGlobalScope": false + }, "../../core/components/organisms/grid/GridRow.tsx": { - "version": "6c3b235f91ef0aaea77b70177918730b709cbfeb25cdcbc10c677b2183790a77", + "version": "50371d8993c998080f957d34f5cfe2131f363209b392b435b4ee5564b3b337ea", "signature": "e896c56db3e619dd4457355c752791be2e3f267ac73a43142d2481b1cea0a79d", "affectsGlobalScope": false }, "../../core/components/organisms/grid/GridBody.tsx": { - "version": "24b7cfed1475e552ab71c34617e9a92a346d20e0be68a1877d4e6df797d3ec98", + "version": "e59c7aa24a010a4cdc582e3ff4830dec7a697c4051755478844d78440e1f2e00", "signature": "037c2480cc3f115f239789c5948817b47246502d247d811cdc1efbd18eb7ec14", "affectsGlobalScope": false }, "../../core/components/organisms/grid/Grid.tsx": { - "version": "eaeddbe010d30d6e6e94b77b875733235ee75b2c264ed0e9497efa5db6fd0591", - "signature": "995245baa7eb8c7a48681ca3b17a26d756582aca16f3ab057dcb0c49002cc1b4", + "version": "6269cf40c8e9d1658e649ddec58df0fa99b40b1c3cca6d11c41f550a9f81ca61", + "signature": "d4c931213391f40cdc4e0a9af0e5f8ef76d328f5d84a27187aa95b4490ecec47", "affectsGlobalScope": false }, "../../core/components/organisms/grid/index.tsx": { @@ -1282,23 +1407,23 @@ "affectsGlobalScope": false }, "../../core/components/organisms/grid/GridCell.tsx": { - "version": "af7b7456b01ed8105db0014e3c81052d53de6ab29160e51b6de192d11d2a7bc4", + "version": "88996119967968d72bf85d71c6909ecc0bb8a778e8372cb18f89b4b8f0c19e5d", "signature": "ecc7233dd7ca7e7a1a781ea8eccab50606e43eaeb8a3cffee6d2a0a6ad22af87", "affectsGlobalScope": false }, "../../core/components/organisms/table/DraggableDropdown.tsx": { - "version": "e66097488424b1a51731ccbb358a8208d0cbfdebb721a264cb32fac41bc7a851", + "version": "2f6284c9608820086e23d6995bdd710cffbf16393514ba1857ef0d931f6ec0d6", "signature": "6edec7d2b1a8d5b57bbfadc8187d3b29ed59c7df6c80279930c7270a1fc1ed9f", "affectsGlobalScope": false }, "../../core/components/organisms/table/Header.tsx": { - "version": "18a7061c3e750817a5e7de68dfcbacd38465d544ae7a4c394ea72c969d4e83a8", - "signature": "d917ebfa4e2718ff39cc4d5429b5950ba79c998312bb03dff1a1d860ccbe0067", + "version": "155ab486d3fd0454dabf488e0490295052ba2bf7d6d04275a9467852721a0551", + "signature": "a06c0e95559ca2c338477f2047f4d88168f3821e1ada9accc69da4a2f33af522", "affectsGlobalScope": false }, "../../core/components/organisms/table/Table.tsx": { - "version": "6959fe8ac9ff8a322739fd7f8ed2decd5fa8e956c4e853c920f0ddf9a819cba3", - "signature": "0bb05ac87171d96b82f0fdb45c54d9d1ffc4b3600309301c3fd8e2dd793d0dd0", + "version": "1ff019274d2e6008aa65272bdb08fff888d1b50f1675cd6aff1ff02e884e46cc", + "signature": "4b3dd8a0a3daee2fc4a0ec207dcd33ff8a559d7394730b36e2119d1a76a5a7fd", "affectsGlobalScope": false }, "../../core/components/organisms/table/index.tsx": { @@ -1307,8 +1432,8 @@ "affectsGlobalScope": false }, "../../core/components/organisms/list/List.tsx": { - "version": "944fdff61f50ed0d84e44b44c795d2f74136136cad7498442598ac530dd4d3d9", - "signature": "1d42d802be15ac75a29dfe0f7440dfe7c6dcb65e9214287c8bd4114b6c3d2d4a", + "version": "80b3521aaf5f9cab2366e56e6accf19db1fd12e302c95455d19f48f0cac5d16c", + "signature": "bd2c70711be8127d84658b2107e9d2167f084e278d5e2847a6e6221f6617398d", "affectsGlobalScope": false }, "../../core/components/organisms/list/index.tsx": { @@ -1317,12 +1442,12 @@ "affectsGlobalScope": false }, "../../core/components/organisms/navigation/VerticalNavigation.tsx": { - "version": "a1d89b465820776f7a8a325a5445f010cdebee4fc94cf7fe7b5d5654b2270361", + "version": "52ff980029a23c88cc90ed6c70877edd4eb5c48bc6a4fe5634c86d6290c01e39", "signature": "d464eb06c46104aa9cea07a7a44b82b9fb5347576efca9f3e94a90636b72d499", "affectsGlobalScope": false }, "../../core/components/organisms/navigation/Navigation.tsx": { - "version": "1d7580ff849da45d6187898b63ee45c828368fbfe15a19b9d56615db42943859", + "version": "01db3bf2efb368dd56ace9f3bf28ec584f845b25febadc0b6761d1a48d822f4e", "signature": "670d8e00afb20d44cf3c3dae749d127e3a051562a5a5bd3f600fd6ac3c9b5c83", "affectsGlobalScope": false }, @@ -1332,7 +1457,7 @@ "affectsGlobalScope": false }, "../../core/components/organisms/pageHeader/PageHeader.tsx": { - "version": "58695ea1bc47210d36a8c67290195dc79541012a3162318398e8d6f6803dc499", + "version": "5f019e305dfd68eded04b13c2d52a1d6bbce29abb94f87ed92e642a7a4298bd0", "signature": "68e694cbf1378c86c4ebafe68adb2cac6a17333af8bb06b31892ce5297f38a25", "affectsGlobalScope": false }, @@ -1342,17 +1467,17 @@ "affectsGlobalScope": false }, "../../core/components/molecules/fileList/FileIcon.tsx": { - "version": "644300a1aea1de4c91b127b32b758f8e98c039442b61e2534e06775f8b44a82b", + "version": "f2e8cb302b23c2aa8d278934f40fb5fde0d82d5da100cfd756f6619020d22b47", "signature": "ed3d627e19c37c9268416e18bd724b4dc0fd12abecca455e284df47539884706", "affectsGlobalScope": false }, "../../core/components/molecules/fileList/FileListItem.tsx": { - "version": "bdc12c93586994d1408cb36ebdb0fca42cad5e91b43c1b067c147fc23efc9f71", - "signature": "7eed7cebf09767167de4729c3b0db2b4c7e7ee17e1b46328c11732f922830767", + "version": "2d2ff75edf674c035eb2828f0f071eb73ab894b712974f2df2bea460e4dbf044", + "signature": "0210946614d27a667d765a6b5ca34d24ff0e7bbb943879ef1e5ba80451586260", "affectsGlobalScope": false }, "../../core/components/molecules/fileList/FileList.tsx": { - "version": "dd9bd2d82e2268cdaa8f61862faf0b757632229918a9adb2df211b897dd06f9a", + "version": "e053d5481fd88752c78e37ff8892f087fc412f801eec9a987015da7443caad44", "signature": "f8155bf1821df2346201910d0e9c063ad30a1772e1af31fb8174b39ab0dec718", "affectsGlobalScope": false }, @@ -1362,370 +1487,160 @@ "affectsGlobalScope": false }, "../../core/components/molecules/verificationCodeInput/VerificationCodeInput.tsx": { - "version": "b8b98ab4bdbd9e48570df96c70e5c278e315bb009e9adb2f1597c8a7017c2987", - "signature": "f689b6f0a6e52dbbf4027f2b0ce12b7a8b698311184defd6bc01d121efcad119", + "version": "017bb3f06276c2ea6ddcdf9dff92a2e01a4b122c1a4ef220ff515d844f6fb7dd", + "signature": "7f4cc1c56e5e7e1ae48398355423c9e2841e3a188b68ca9228099fd41a14ca15", "affectsGlobalScope": false }, "../../core/components/molecules/verificationCodeInput/index.tsx": { - "version": "6031ed8c6a7b40c6a802c78901c59b1a51550fada181d2a2b0e51228e3ec3246", + "version": "80d80e7a9fa21616619a4d4ef780f34e18e48c228135218cc2023b59dafe86d3", "signature": "27c648ef73ca46b2df398d485929f6a64170ef9adf9c4e6c35ccdf62909c6612", "affectsGlobalScope": false }, - "../../core/index.type.tsx": { - "version": "6cef1f4c7023803d3e20aa4955477782b2de70098f137e3192865b0110cb41c1", - "signature": "3882497ecda14af6b1e5ea16dd5ea22c500084ff7047086de649dcd900af2e60", - "affectsGlobalScope": false - }, - "../../core/components/organisms/timePicker/TimePicker.tsx": { - "version": "0445a63352526c339b9a2d159e32d2ffa4c632b45f6b38fb759cb3981d0100e8", - "signature": "a107e81df09a2318c2cb1c5a6386523fd0451ca5a46922afd4e54d7d89dc5923", - "affectsGlobalScope": false - }, - "../../core/components/organisms/timePicker/utils.tsx": { - "version": "b6d7ddb7acb0464b432c5a7fb94995f4023f863b4548eeb1dc94086f34ce3621", - "signature": "0977367935ba3f5bd7c6cffaf7078fb939c61d9ebe17c76aa68a372ffe113eac", - "affectsGlobalScope": false - }, - "../../core/utils/validators.ts": { - "version": "20caa0fafb2a611507d53bb88f7821844fc6e87f4c5876f718413a2225640ef5", - "signature": "f869aaae80c76d8dd252bb27085a6e1d16de0efbd9639f5a80269de1a68f73bf", - "affectsGlobalScope": false - }, - "../../core/utils/masks.ts": { - "version": "1fd1cfc5451ddc11c9775abafaea1dcdfe818f9022981b52566c644036e6b9c8", - "signature": "cf1866499032299b8faae9efa5cdde48086c6c10a11feeede3f38d6fc791451d", - "affectsGlobalScope": false - }, - "../../core/utils/index.tsx": { - "version": "16e4f6e544efaaa49c559be3f352db9652a549f05f9e9c2390214eaf4897baa4", - "signature": "a85da23da1ec8c0d6324ebe0f50df4d8956802764308b63802eb604fb3fbc8a1", - "affectsGlobalScope": false - }, - "../../core/index.tsx": { - "version": "7da42b67a0bed91c4475d6859be8b29e5124d03421ce233c71f03ffabd269e81", - "signature": "a2a16de1b09d5b1a7c400688ec3325b3064de7086be4176ec3702401d222ea60", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SolidAlert.story.tsx": { - "version": "3dc8e41138e7a7cce2f14047fe529242523abbf0be031dd89551cf833fe7b081", - "signature": "96f7680e52615546d7bcd1a563770820e65583b4e0d1869fa9b175585a5b0953", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SolidSecondary.story.tsx": { - "version": "553d679d3a80bb4f6e5cb86feacab16372ec22caf9d6290e0890fc5f3e8209c0", - "signature": "6e2b99f3003a811ef9af009834f003b2a767fe2987b4c426a019a2ff22b44c91", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SolidWarning.story.tsx": { - "version": "95ba52a1afdc8d0c25f17b4b1c788e513aa2d1ecd5fb1a6d1567a4bf08bd14b4", - "signature": "c3d292d92f52151ad8dbd49c9fb2a727ebb25c047d91748645e9e2e3737db26c", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SubtleAlert.story.tsx": { - "version": "49de1aea5879f766322bc8e3615e773867e201178324d61b4da5a37438938d9e", - "signature": "48a1596b62bccb94d4160b038223a8e31ca7177770021dc4b0898acd675c2788", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SubtleSecondary.story.tsx": { - "version": "8b2bd87a60ff1df8ad6e33b3a8695d8f54540b3ffb35fceba94f861f5248d104", - "signature": "87e53766782df520246c9361e9dc2a2d1ee057efe7a524d3a496d35582efd502", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/SubtleWarning.story.tsx": { - "version": "f07a76f9d8f94a66043ae5deda568d9d7f8e975b612f3a951eda6edde4839a5c", - "signature": "295c0b5f62c33b2763315f5a17f229d9ea3fca94c85d67181b261c61a282360d", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/Success.story.tsx": { - "version": "75e77dd71042bfe08cd63b5a4b129646084f137f5b619bb4eec2b8ffe07489f2", - "signature": "7e475957ab189fbee1a3c0dd27541bf71719646c762dcce6b4db93979bad1b02", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts": { - "version": "d15ecea2951352bdc02cd3cf10f7ab3f46694942bfd61b39aa8cdcf4bccb75dd", - "signature": "d15ecea2951352bdc02cd3cf10f7ab3f46694942bfd61b39aa8cdcf4bccb75dd", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts": { - "version": "859af67cb96dd809cce37e1c0209b35191828572292d65a898d3749cc1cd9e29", - "signature": "859af67cb96dd809cce37e1c0209b35191828572292d65a898d3749cc1cd9e29", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts": { - "version": "bb23510c907dc8cd5321a05bbb03959db8ca400555739e8160659603329333d0", - "signature": "bb23510c907dc8cd5321a05bbb03959db8ca400555739e8160659603329333d0", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts": { - "version": "eb6991a0240050bb0844796ac755dd6b047dda0fb676ba5c17463afaa4936636", - "signature": "eb6991a0240050bb0844796ac755dd6b047dda0fb676ba5c17463afaa4936636", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts": { - "version": "22cc29d8d86bd4afe4a03e2fd58a87a1b189721ed3f1e300a1d7afd99410fc81", - "signature": "22cc29d8d86bd4afe4a03e2fd58a87a1b189721ed3f1e300a1d7afd99410fc81", + "../../core/components/organisms/inlineMessage/InlineMessage.tsx": { + "version": "0ef73031d362e5862c6914559db8f2e5012ea71a416878f71dd7765b08b5be42", + "signature": "bc5caa08869460d8ca36e9cb9aac7fafa64aa786f55f613c4cc6483f3959246a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts": { - "version": "5534f80c59d00d1f44b546314a11c9f0fb26d3160266f589c144a5ba4a3b3df4", - "signature": "5534f80c59d00d1f44b546314a11c9f0fb26d3160266f589c144a5ba4a3b3df4", + "../../core/components/organisms/inlineMessage/index.tsx": { + "version": "064268ffc965e9bf01e344264b54697449a38d4ce8c497b4740184c9e3937eda", + "signature": "afb8452dbc9087e804f98549a6fa9873ef864d14b971d4ce4fbfa7cc358a30a5", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts": { - "version": "5091d50446634ae6f227c0dddc8f1122ebdf41692bb82a7f0af839060bcc3449", - "signature": "5091d50446634ae6f227c0dddc8f1122ebdf41692bb82a7f0af839060bcc3449", + "../../core/components/organisms/choiceList/ChoiceList.tsx": { + "version": "770c96e392665b34c8265a1d130b99ac3073e25936cb548e6df25efaa90d46d9", + "signature": "986b3a9d70f585fc301cc3e2e31ea10b0c00fdc31e10a6b4b5df285a4f9a3f5f", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts": { - "version": "e6c79d946c144cc65f82f460389ce38d28b42ec6da3e2c0e9d83179ff34d8eec", - "signature": "e6c79d946c144cc65f82f460389ce38d28b42ec6da3e2c0e9d83179ff34d8eec", + "../../core/components/organisms/choiceList/index.tsx": { + "version": "995e30de989280417ccc7a0f319a8fac8ff5f6941f18342835149978e599b8a9", + "signature": "3e39cdefe77ccbb29991e658738d4569107af4a0e8a7d9059d6de1dc500e0220", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts": { - "version": "a30eb712be8ea1fb34e9cdbc8f6f728912efbe267a03e7237ca1a20033ea8f05", - "signature": "a30eb712be8ea1fb34e9cdbc8f6f728912efbe267a03e7237ca1a20033ea8f05", + "../../core/components/atoms/divider/Divider.tsx": { + "version": "7c0df9ad2812986d0050382e24b1882051a7f5613dfb10de4dd1dc4dd8cc92e1", + "signature": "1ada8beb39ee6308ef13d2a040d4722874e64984afa9fd4790b2f973c06bc0d8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts": { - "version": "03de0fc48a077f6692fd2783dfcb21abf9626ba6e57638b8a725daa196ff62c4", - "signature": "03de0fc48a077f6692fd2783dfcb21abf9626ba6e57638b8a725daa196ff62c4", + "../../core/components/atoms/divider/index.tsx": { + "version": "e4aa5972ba9193d657285f619a0d9c628fb001f54816f3825efeab4fab7fab09", + "signature": "2d36a41563f2ee544c99dd6fa9214bd4393008e454fc3c859c224111990d2975", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts": { - "version": "01687fb4d918a95d29951cbb404a66195499445a2edfe065d81b6bc3b04255b9", - "signature": "01687fb4d918a95d29951cbb404a66195499445a2edfe065d81b6bc3b04255b9", + "../../core/components/atoms/helpText/HelpText.tsx": { + "version": "c047435c12cbceda9a8eceba977c9125bd92986167fba22699a10683b8fac4b5", + "signature": "50a483cee0007bc687726497cfe21c170ab6bc9f16cec6abdfd84cbd5c83331e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts": { - "version": "44b75e7681aa45530265978616546f3b955ae32c86df187b0ee52399a3d75871", - "signature": "44b75e7681aa45530265978616546f3b955ae32c86df187b0ee52399a3d75871", + "../../core/components/atoms/helpText/index.tsx": { + "version": "fcbd508f21a443a236ccd8b67f869f02668178fe0ae7eadb3eba757ff8e0cffb", + "signature": "efdc2a9d9f0ce7b3fea85a315af8c56f00e12f795c767a9b650154740be351fc", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts": { - "version": "7903e7485f476e696789268e9f5872fffb0616881bc695be7bcb1b459ce33bcf", - "signature": "7903e7485f476e696789268e9f5872fffb0616881bc695be7bcb1b459ce33bcf", + "../../core/components/atoms/linkButton/LinkButton.tsx": { + "version": "fb7a5eed74032662358213dc804a78290a9868c45783a5e5ef441a311d818c27", + "signature": "24a5ee0a847bd28b6c3d530053d6905328866f6bc543016e2371bb8a9b00ff6d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts": { - "version": "21c9ecd68c9c6a40dcd60a425a9cf9ac9e28ab3bfba13576812c70321597880b", - "signature": "21c9ecd68c9c6a40dcd60a425a9cf9ac9e28ab3bfba13576812c70321597880b", + "../../core/components/atoms/linkButton/index.tsx": { + "version": "2f1d52c24078b591f0fc93cc942dce6ace86c9866bb956d7cfad0b8f59f2fbab", + "signature": "838cceafb096677703d2d3aeca19c33295def833e0798273c9123d44fa50d115", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts": { - "version": "197340a2695e2453f3c992b87a00ffb8cac181765e9a888a9ef40d734797e8a7", - "signature": "197340a2695e2453f3c992b87a00ffb8cac181765e9a888a9ef40d734797e8a7", + "../../core/components/atoms/actionCard/ActionCard.tsx": { + "version": "c6faa704d990236e814822af97051664ad91e5aed9c59ac8dec0627042aa30b9", + "signature": "9a25f22c0c0c76eaaa779f1956315fb660a9642462f0fe6983c34de5b57afc8c", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts": { - "version": "ecc278965af7787d9228a1a15afcadba3c07f22a72549064154914e96d9e98ad", - "signature": "ecc278965af7787d9228a1a15afcadba3c07f22a72549064154914e96d9e98ad", + "../../core/components/atoms/actionCard/index.tsx": { + "version": "7c4b2e4cd033b90e478d985166dddf129a67d868a2716624b48c6384ee5acc99", + "signature": "496c1995d6c2836e353783730b0b6fda96d81ddc669254265414e40339b0d4ce", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts": { - "version": "2529831078dbfa8f0db53f28a28f0e9b7ba2be0751be76e52f9c91d8df476347", - "signature": "2529831078dbfa8f0db53f28a28f0e9b7ba2be0751be76e52f9c91d8df476347", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/index.story.tsx": { - "version": "e16da00382e9dc956464ee171e88ec22527a72dca48e03b814de8dc59ecb175e", - "signature": "3d2e6e09cd87c9b2f976b03b150ee219eb988449624a2cb111fae8a6bba4344b", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/variants/Appearance.story.tsx": { - "version": "fd4c39bb1045335438587457ccc4c6a45294f483f27b446b9bf708cf204729be", - "signature": "cd0d9ff915f9be6eb10d737b8fa381bc9bc55200f812f79ebb2469f79155a1b7", - "affectsGlobalScope": false - }, - "../../core/components/atoms/badge/_stories_/variants/Subtle.story.tsx": { - "version": "0b3ae8152c1ed158997d8b01f6bea022761931e354221c4a00078273a850bd60", - "signature": "f0bbb9da7afce1b90db618866a782822330d9294b90b80b98e379b353a58b770", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts": { - "version": "5742898e84253be8baf7ca3bbf6a0683153eef2a7e9f76ee13c06a0e7c27a425", - "signature": "5742898e84253be8baf7ca3bbf6a0683153eef2a7e9f76ee13c06a0e7c27a425", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts": { - "version": "ba6aea54601edcfe38ef85f5d22197398beb275fb7bb71e4bbd0b817cf63ffc2", - "signature": "ba6aea54601edcfe38ef85f5d22197398beb275fb7bb71e4bbd0b817cf63ffc2", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts": { - "version": "07721917d2ffe7c5d779f7cc04332ec3a16c7ac098f0a5643675184ba70f017b", - "signature": "07721917d2ffe7c5d779f7cc04332ec3a16c7ac098f0a5643675184ba70f017b", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts": { - "version": "95c4f3f372a845331e8b609cffbfdb023ce39d85a322d384cd7869221a39bfa5", - "signature": "95c4f3f372a845331e8b609cffbfdb023ce39d85a322d384cd7869221a39bfa5", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts": { - "version": "8dd9fb1325ac0e6b39eb2190e0baf6199cba98b079cba505f94dbdfecadf5d1c", - "signature": "8dd9fb1325ac0e6b39eb2190e0baf6199cba98b079cba505f94dbdfecadf5d1c", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts": { - "version": "9eb3aa86edf6c552668c965caee398609035b1d4caf4d3093368dbe4251ac16a", - "signature": "9eb3aa86edf6c552668c965caee398609035b1d4caf4d3093368dbe4251ac16a", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts": { - "version": "308a652344b4d64a3974f1392e66f816f39e78c28418a27487f5bcd62807b4ce", - "signature": "308a652344b4d64a3974f1392e66f816f39e78c28418a27487f5bcd62807b4ce", + "../../core/index.type.tsx": { + "version": "19ebf2ffaeddba2d0a0549f9150ee510a1616d6f3d0c368b13e87eeef6e1d439", + "signature": "075741cabe17b922d69f3d27d11b9220ae959096170ea644cabb89e9b14129ea", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts": { - "version": "6b30c23754b6ea51f43d3533b0744e9cb72cb8104f6897b2eac05f4647001bf7", - "signature": "6b30c23754b6ea51f43d3533b0744e9cb72cb8104f6897b2eac05f4647001bf7", + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx": { + "version": "e5a2d492d6114ca56434378335f2658f3c694996ac3159e5fd73cccb084022d7", + "signature": "2dd89773ef2b9c5b8683b329700cc37d2d7409a04d7af3d340b7c5e7e36ab059", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts": { - "version": "7ed9c49c0763fa297d07eb2aa741610b2b418848ff71ec27e02bfef7ea9953e6", - "signature": "7ed9c49c0763fa297d07eb2aa741610b2b418848ff71ec27e02bfef7ea9953e6", + "../../core/components/organisms/timePicker/utils.tsx": { + "version": "37fa28c3c1839929ed216738182ace09535451c58c37e02c5f20a3285a3cfb98", + "signature": "0977367935ba3f5bd7c6cffaf7078fb939c61d9ebe17c76aa68a372ffe113eac", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts": { - "version": "d9e5c12bab81be7525ea4d3baf2ac015ce464606b8ce166d3205e6ddb88ee381", - "signature": "d9e5c12bab81be7525ea4d3baf2ac015ce464606b8ce166d3205e6ddb88ee381", + "../../core/utils/validators.ts": { + "version": "c1b4375466f10fb04cee0e6d126383457ca7c69941dbc127aff3406f5ff2ca8d", + "signature": "eb47ed8bd033c681072a1c0dbe74e8bfe10a21970f1f2bdc61d2e3d88341d13a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts": { - "version": "cb6f0f40d51b51da33c503eaba191d407a50846abcbcd2889e2047998143e2b5", - "signature": "cb6f0f40d51b51da33c503eaba191d407a50846abcbcd2889e2047998143e2b5", + "../../core/utils/masks.ts": { + "version": "1038502eb22906b90910d252c4406fedfd2a8784022d462d268c0c5b5c47e63e", + "signature": "cf1866499032299b8faae9efa5cdde48086c6c10a11feeede3f38d6fc791451d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts": { - "version": "03c2da579d36b44b79c1d8db736e8f20cb3a73d7b352399ef4d43857b8a97d4d", - "signature": "03c2da579d36b44b79c1d8db736e8f20cb3a73d7b352399ef4d43857b8a97d4d", + "../../core/utils/index.tsx": { + "version": "16e4f6e544efaaa49c559be3f352db9652a549f05f9e9c2390214eaf4897baa4", + "signature": "a85da23da1ec8c0d6324ebe0f50df4d8956802764308b63802eb604fb3fbc8a1", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts": { - "version": "449814d0ff9febae3370014571a6a8cc3fc6b7f462cb80be2d0b00cf8c4d89dc", - "signature": "449814d0ff9febae3370014571a6a8cc3fc6b7f462cb80be2d0b00cf8c4d89dc", + "../../core/index.tsx": { + "version": "51b1ef49d53c08397a476d2666043148168ff7c3ea04ba0f79916d29891cb9c7", + "signature": "519243eda020548d41bbe6b549d5a3f8c66e5c09209c211c6faf683042261588", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts": { - "version": "7438f5c14b8738bdb37f616b7ee99421193a2f35d6474d6b3f43154d9f596f3e", - "signature": "7438f5c14b8738bdb37f616b7ee99421193a2f35d6474d6b3f43154d9f596f3e", + "../../core/components/molecules/overlayFooter/OverlayFooter.tsx": { + "version": "c3aa19c3dea2460c28b7077e42c6ac657ec79d8aaf7bec8aa2b5b98080764b97", + "signature": "79f12c6a6d8fa70ab572a5a262b67c1119eed6488b4f1ee423dcde62c55fffd8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-actions/dist/ts3.9/index.d.ts": { - "version": "a3ab74a180ca920f500dbf90275039e27200710d0ca3eed4763d8e162ddb2bee", - "signature": "a3ab74a180ca920f500dbf90275039e27200710d0ca3eed4763d8e162ddb2bee", + "../../core/components/molecules/overlayFooter/index.tsx": { + "version": "439a89eef207a81122381d9db8223b6f7413c54029c12c8170d380ca848aa348", + "signature": "2f4ba29d3e5dc49a68f4510d5989678974c3b9975ced76d71963e65304edef6c", "affectsGlobalScope": false }, - "../../core/components/atoms/chipGroup/_stories_/index.story.tsx": { - "version": "f397cce9ab3f5f9f64d313d05f0e1febcb2ee6a2cb7e2c1b0e49dfc69631c4e3", - "signature": "52cbeb0b77f3e4c00a8c93733a5fa8038175ef25f673e25cfaa213351a55ba51", + "../../core/common.type.tsx": { + "version": "047c28cbf1b4263accf142253212266a24cf2ac5174a8c4bb41245b0a425507a", + "signature": "5692e64aa77f460848d5f832ec24321ef7d890ebaf825c1a905577c8f19488c4", "affectsGlobalScope": false }, - "../../core/components/atoms/metaList/_stories_/index.story.tsx": { - "version": "01a79bfe7aa1e9a44f29b492c7eed6b7c77167ff8116bc3798cd9d287980634e", - "signature": "d90cd1c7cae54af01ba0cf683e5559f79cab7c99be925d8cda68033292847de1", - "affectsGlobalScope": false + "../../core/global.d.ts": { + "version": "689590e7995d5be1dd35543cadf687292b7a33cbb0de5481409f8315e9f0818a", + "signature": "689590e7995d5be1dd35543cadf687292b7a33cbb0de5481409f8315e9f0818a", + "affectsGlobalScope": true }, "../../core/components/css-utilities/Schema.tsx": { - "version": "3ada917fd184573d578b4c21517503fa87659be813311dbfacaa35275a1184ae", + "version": "a8448950eb4b5dfcab59e71f5912faaee81f17e48d279c7a472ab60dad32adf4", "signature": "a2d709df76447c910e20754abbc386426fa953135b554cbbcb7a40de68a03f6f", "affectsGlobalScope": false }, - "../../core/components/css-utilities/Align/Align.story.tsx": { - "version": "b7ace5f429d2f16dae9b65857ec4ae3f6e11132810257ab3c98bc2d1a4f11bf5", - "signature": "7f801ed6fc28687230e1f619f0da0e0552ce8b0ee2c22169be883c7f37a40b74", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Background/Background.story.tsx": { - "version": "6abc0faf12089f2f66cd7394d1b037e7d2977cbc440ed0133d0836601124cf7c", - "signature": "c3f951a453d3e559850a7a655c63e5af41e8ac4adc5c2f1849b31907b5bb435d", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Display/Display.story.tsx": { - "version": "5e089ef553bd5e6ba946eade4c04f19e5c9c51b3206169e464e974fe9267f755", - "signature": "d91039b79899b7a89d45d30c65668dbe119e1b075f771aa2f1c6ad3b9adf63ca", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Flex/Flex.story.tsx": { - "version": "3204163edf0223f779689135a8d2809eb1c06be3c20eafb98036d72fc32edcfb", - "signature": "8d235c20fc788744bb474bd415064c7f621aa766e0a4c0f0e643c523062eeaaf", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Miscellaneous/Miscellaneous.story.tsx": { - "version": "1213abdc06ab499aa721005f9a9500ef596c48deff08f38dbf1338965501180e", - "signature": "aa42c26e6c3aec0874b1b86dc76fa72fdf58a74fe6a7c7ce8179e70722d5520e", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Overflow/Overflow.story.tsx": { - "version": "dd139fc25e8aed9f800f8c4f64752bc609763e58b7640e7a85e65dfcfd3b01d4", - "signature": "51d6333d0d51d0c853b9517a538fb359d20447c721ba32104e5bca799b48fd47", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Position/Position.story.tsx": { - "version": "ab6cb504226e9beff365562e644f34385001e76d1a0b919edbd57531ca0fa9fd", - "signature": "99eefb34084ecb833986c14634c62aa83edf4cd87f9547b7e01f86aec5a34119", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/Sizing/Sizing.story.tsx": { - "version": "c6080f4f49391a41a8c22ec55239f31dbf9160ce1497b816ff5fb0b7905ff26d", - "signature": "8de5cc5edbfa6946982f36503c92b6cde95c21e52422cc017256a214978085e0", - "affectsGlobalScope": false - }, "../../core/components/css-utilities/Spacing/Data.tsx": { - "version": "e4f9fd913d33502db9a6e1d0a60421673b5d053aeb0b152a584877372ae68a72", + "version": "0ad5fbcf0e16bd8bb901bb8e0828cfb4bf3a4ace87257062baf92ce01c969a61", "signature": "b58336d143b58336739c5a9734a83ce78ee25852b3f3133aeff906fc364b3e09", "affectsGlobalScope": false }, "../../core/components/css-utilities/Spacing/Schema.tsx": { - "version": "5d7fe11a22e8f210f1a868db1002dcca6304b9f01cd20a1b837690bcf4c48b5f", + "version": "cfade1e6f2231e969598991fdfcf349d08fcce1a2839e9b36fa19915cd01b69b", "signature": "fb38e8c85063168d2ac414a267dbaf488b2e091b8eca22a58b6cb4065090bef1", "affectsGlobalScope": false }, - "../../core/components/css-utilities/Spacing/Spacing.story.tsx": { - "version": "4062305ab181d892452b64ed1a4b499dada2235ad326d7e7128bef2316802709", - "signature": "48a37032741671e63ca4eab9bbc9e5d02c23373bcfcc80b99de7ee46b4c000d3", + "../../core/components/css-utilities/designTokens/Data.tsx": { + "version": "6559a970f76056589a98a9c388475ee5f3b8b03cb5aa5a2bb8c9e207814d0b44", + "signature": "edb4dfb9d846f51b4e4b05b64b6d65b6b210fb44fc1fadcfebb4b8f69fafbe9a", "affectsGlobalScope": false }, "../../core/components/css-utilities/designTokens/Schema.tsx": { - "version": "aaad5dd0ddbb547cdc666f9e993116c7434cc28cf8125fe12da8b62556b2371f", + "version": "4da2a55b1c31db6ec200658a9455b438d0d3ac94c0c70b56afbccbe81e0fe36f", "signature": "16059f2389bf9f06c4fff930238472606123e371e2e797aff1349c9497448d56", "affectsGlobalScope": false }, - "../../core/components/css-utilities/designTokens/Data.tsx": { - "version": "cd46afdada564ef65e6c0fb4468265c307ef3179a84dd58224588a93e626f5d8", - "signature": "04a9eb31ecc07b9e3c9f16710be8ad46c4dc5b376ab631ab078a405beeab86c0", - "affectsGlobalScope": false - }, "../../core/components/css-utilities/designTokens/Utilities.tsx": { - "version": "0a58950c4531e7c71beaa15cabdf9acbfe1a9d74cce4633399d14a0ccb4f32fd", + "version": "773fec2dd9c2fdf9315b5ecf307281fa4b184eef4f4ac29a4353b587520126d6", "signature": "0b101b2721b0e6bfbff480c267b1e3b58f3728a42d551906abf6ccda1a0ab19a", "affectsGlobalScope": false }, - "../../core/components/css-utilities/designTokens/Colors.story.tsx": { - "version": "8650c051e65380d105110e14bdbf43f423013b53c6cb8ac65845401d7f93ae53", - "signature": "817007c8805bdffa63c2c9d851231cb06612a3e1b96cbc643e6366ac54bbb68b", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/designTokens/Miscellaneous.story.tsx": { - "version": "4baec42bed86644c88fb68513d8acff7fac7b11821550a8138f0c19f9585da6c", - "signature": "952745f88d79ec4dee4434fdff2534089aaea74b15be11cbcaea4ffd148b801c", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/designTokens/Spacing.story.tsx": { - "version": "e43742f948763b2f73cd0efad45636e558c8174d11a449c910d980b72f338bc6", - "signature": "8256f7a6b98114343d3022339c3c3287abd3894364792e44a9e14b522f6d74bd", - "affectsGlobalScope": false - }, - "../../core/components/css-utilities/designTokens/Typography.story.tsx": { - "version": "c0379f12e73c1d2ba74cc17ffdac0cd5f803cbfbcb0160f39309dcc913c3c6d1", - "signature": "42a9dbec2186535d4c8fc314fd0f484c60701f1a831c6663cecb449700af1716", - "affectsGlobalScope": false - }, - "../../core/components/molecules/Layout/index.story.tsx": { - "version": "423f1dfe179a09c1f35faddec8d78fe528f110ca38de16e92cc7d16135c3602a", - "signature": "0590faaf326a710fa3ecb3c256cc99f5d84e9eee6064ab6103a19ed81f09050c", - "affectsGlobalScope": false - }, "../../node_modules/pretty-format/build/types.d.ts": { "version": "6ed4f0568165065f03426b1333999c5b9f528d92936eee0ba432537b7cd9a88e", "signature": "6ed4f0568165065f03426b1333999c5b9f528d92936eee0ba432537b7cd9a88e", @@ -1847,158 +1762,103 @@ "affectsGlobalScope": false }, "../../core/utils/testHelper.ts": { - "version": "2d5429dcd5fbde56c7a82f2d6b9c8f5b27fbfac4f7dcd0935bfdf46d50b070e3", + "version": "a915a9e04cae47fc48716a614fb2d5169a2b4725b4b09eb8fe1c52e363ebf61c", "signature": "328bd3401d4c3ed13cf1d8dec5eff50abcfcaa27168a3c1e4722e2d312ebef0f", "affectsGlobalScope": false }, "../../core/components/molecules/emptyState/_tests_/EmptyState.test.tsx": { - "version": "a4034b75939249ab8ca1cdbbb7bc95e7b3ef3ab94bfe8d91f1ca14f53ac493b9", + "version": "22f57a226061af289efd8d2a28d000cb6122783648ae7606f1c2e9c85d6f6416", "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881", "affectsGlobalScope": false }, - "../../core/components/patterns/datePicker/dateAndTimePicker.story.tsx": { - "version": "b4901536f4fce8fa8c202bf6c86f8cc3167f5180dd72bee6b514634c87f9bd9c", - "signature": "d1d71f62d405cd49ffe4c8c5a042a74f70675653a22c3dfc1fec8184b2a78a7e", + "../../core/utils/action.ts": { + "version": "475ce5f77cf4739dfdf31ba0def5e6cc07b108f6ad875544923bfd4614db7393", + "signature": "52eff0895b53806f45cb2cd8fce432b87cee4d2e8e2858082963653c3bf8596e", "affectsGlobalScope": false }, - "../../core/components/patterns/dateRangePicker/withCustomPopover.story.tsx": { - "version": "62b67029f62106531db68dd0cb93999b7cbfd01a67783e08c7b40d1b52fcc765", - "signature": "582908329b69f7201a550a46183a72844d7f0ff2af67f01eac59a905f2fbf133", + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts": { + "version": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", + "signature": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/CreatePassword.story.tsx": { - "version": "532ff79f2f031a44aba61a1e9a17e0b40decb9672230eddc9ecb95d490bd4b82", - "signature": "c1fb850fd204c9c70b2184080ddbb71269dd6b1cd2b4288b8b77d022e1f285b3", + "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts": { + "version": "4ad348823e7c04268b38d6b2f185b194a91c7a61a75f333970bb9353be6d3c26", + "signature": "4ad348823e7c04268b38d6b2f185b194a91c7a61a75f333970bb9353be6d3c26", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/CreateUser.story.tsx": { - "version": "49bbd32e18c7aa17c7a49735ad39cd6157db1f5c253e5b24b2fd8c1602376fb9", - "signature": "0bb5abbe1dc644a507039554825127489caab855735814b69d924fb3edf5302f", + "../../node_modules/react-router/node_modules/history/index.d.ts": { + "version": "f438d15f5b9657ad0b526ff15b9a3779bd84ec68b8210de9a4cf56c2beb84a9e", + "signature": "f438d15f5b9657ad0b526ff15b9a3779bd84ec68b8210de9a4cf56c2beb84a9e", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/InlineForm.story.tsx": { - "version": "bb63b711270ffbed0bdd45c009100401090fe4f5c3082bdf290a41482d69ec51", - "signature": "d45a4ddf454e23ab86b7b653aafff029a2e508eb21cbf8549eefcf0301b51404", + "../../node_modules/react-router/index.d.ts": { + "version": "4c9571972ab57c3bc9f59bcde67997bdd32573003077b3d7d3fa0709ecf39973", + "signature": "4c9571972ab57c3bc9f59bcde67997bdd32573003077b3d7d3fa0709ecf39973", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/InlineLabelForm.story.tsx": { - "version": "18cce8af5187805dce2736e4782fe53210d133fe5256567a1755ca3899652722", - "signature": "c5b0b1bbc5bc864b7c5d084fb5272d76ac5cfe63e17f75e256ef5232b52fc060", + "../../node_modules/react-router-dom/index.d.ts": { + "version": "4bb3779a23f8d2bc00919d8178877be22b79903c71977373802e6514bc3199ee", + "signature": "4bb3779a23f8d2bc00919d8178877be22b79903c71977373802e6514bc3199ee", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/StepperForm.story.tsx": { - "version": "79762741e72537da7848e2d71cc2d63268256e4389664d7775d666144cadf4f4", - "signature": "ff0a6fe849eadf1a1c60112e12f61c4ea4ce8ef071f6e5c6b2f5b1e203e22912", + "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts": { + "version": "3860a1ec48bb13acd9bdfd3b496f644435cbb3fa5b600576294abd8c12c3b3c6", + "signature": "3860a1ec48bb13acd9bdfd3b496f644435cbb3fa5b600576294abd8c12c3b3c6", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/TimePeriodForm.story.tsx": { - "version": "62a33ae0a21c4db906297377975e54e0e992643c5959b7a7d213236762cd8a27", - "signature": "a90d036e0f61cbe18b90b7dfc2fe2b9b075f6e5cce5602325059e80cb2508603", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts": { + "version": "f321ad7076d4b945a2aff9976d2f3cb4d8f5143968aaa483b61668130ca74646", + "signature": "f321ad7076d4b945a2aff9976d2f3cb4d8f5143968aaa483b61668130ca74646", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/VerificationCodeInput.story.tsx": { - "version": "bfcb08fe3f82df00eae57aeddb1bff11583933d396c1dcaf60794de0a5f1db20", - "signature": "8e547e5e1cb0b680ae5001086b478264cd5e1e84275539a527dc9c1f7462bdf9", + "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts": { + "version": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", + "signature": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", "affectsGlobalScope": false }, - "../../core/components/patterns/forms/basicForm.story.tsx": { - "version": "b426ce9ce178700e28d02c69e072c6d1b067e9b1fba5b724c132680759f67d45", - "signature": "37a5345c0f6b493624346bb88007d46673ec12c399a5a49ff552d37d7521f71c", + "../../node_modules/@storybook/csf/dist/SBType.d.ts": { + "version": "3819fe3eacd5a1ce3dd8dfc14b81d7e558075e0b0078ecd49da69e4ba8f28d3d", + "signature": "3819fe3eacd5a1ce3dd8dfc14b81d7e558075e0b0078ecd49da69e4ba8f28d3d", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/blankTemplate.story.tsx": { - "version": "218f9a6257a0b8e1c2d3f3c19b0d14937ff1daf421dfcd5e32e738cafe39bf4e", - "signature": "4eb2cf2181844f1e98b7410f20cd2ab6ef5627f787c539a170e3fc1f782bfd2e", + "../../node_modules/@storybook/csf/dist/story.d.ts": { + "version": "a1fe88913e3b185cb7a4a323e9d41dd559853d690a22bf6c6bd39524d96ffb73", + "signature": "a1fe88913e3b185cb7a4a323e9d41dd559853d690a22bf6c6bd39524d96ffb73", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/level1HeaderTemplate.story.tsx": { - "version": "a7cbc24b82d4c29527a295cd891f385883f0491f88905d58a9e67a7fffc75b17", - "signature": "7729d0be81be669d01a633ae63f9e69fe52302ec8301d0166150b62ea8725f58", + "../../node_modules/@storybook/csf/dist/index.d.ts": { + "version": "61abe77332cae5f0ba916d7b1b293cb5cd9ea234756489a1a5672eb9609c0702", + "signature": "61abe77332cae5f0ba916d7b1b293cb5cd9ea234756489a1a5672eb9609c0702", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/miniSidebarTemplate.story.tsx": { - "version": "2a4341d2d4755129d0c0d0bb207bfb54692f8ddde33b5a5b3e3c039bbef3c450", - "signature": "598d3bdc9a3c248a6f9e46c413032b7e7f00174ae685aa5432e16f0bb2202485", + "../../node_modules/@emotion/utils/types/index.d.ts": { + "version": "b950589996caafaa1638f139de73257f6b47a3dc965c8c2a7e5b56138f427dfa", + "signature": "b950589996caafaa1638f139de73257f6b47a3dc965c8c2a7e5b56138f427dfa", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/narrowWidthContentTemplate.story.tsx": { - "version": "a5cddf7a5ddcc0ddb8a17f252f91899893a1f3a888412ff78bfba207e0a4feb3", - "signature": "42abab01aac1608f28108f378d029133ed612456319276402cc4855e7f19c8bb", + "../../node_modules/csstype/index.d.ts": { + "version": "070e7b8102575a21c0b9aabae8cf65d4d9891d8a7a8706896593ad0353c36e7a", + "signature": "070e7b8102575a21c0b9aabae8cf65d4d9891d8a7a8706896593ad0353c36e7a", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/resourceTableTemplate.story.tsx": { - "version": "719facaeb249246fd7d212af2939f59eaa1774a281b33178a8e227ff68370fe6", - "signature": "f2a08bdd745ac83b5f46dedebab8f9569e1c4cf685d41d9bff461e5d683c8faf", + "../../node_modules/@emotion/serialize/types/helper.d.ts": { + "version": "b36255d645e094a9c8c1cb954c5becdf04b7423edb7f49539ac123a4e2932613", + "signature": "b36255d645e094a9c8c1cb954c5becdf04b7423edb7f49539ac123a4e2932613", "affectsGlobalScope": false }, - "../../core/components/patterns/layouts/sidebarTemplate.story.tsx": { - "version": "eefe41a379d074109a7a92b83141b51c869dfc0002baa6fb736882816510ea4a", - "signature": "3e429df5d99756d374b6eb6bfd1d7c026c4453af23bbbccb4d09e41b9ee39dc2", + "../../node_modules/@emotion/serialize/types/index.d.ts": { + "version": "bba67c6ad655bea5737646b2cd68e760ac46e64cbe660c64f12529b6459ee7a3", + "signature": "bba67c6ad655bea5737646b2cd68e760ac46e64cbe660c64f12529b6459ee7a3", "affectsGlobalScope": false }, - "../../core/components/patterns/verticalNavigation/sideNav.story.tsx": { - "version": "ec0947b3a840905498695f4a83292308f012566d58061406483ccf6bfa661a73", - "signature": "86de2353c64682d83051ad96acbb4d2ef145448d3a3985d0963b6abfb96798a1", + "../../node_modules/@emotion/styled-base/types/helper.d.ts": { + "version": "6f2858fc93decd64fb996b1da328ebcef9fe63eda55defdc43b649b45fd9c737", + "signature": "6f2858fc93decd64fb996b1da328ebcef9fe63eda55defdc43b649b45fd9c737", "affectsGlobalScope": false }, - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts": { - "version": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", - "signature": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts": { - "version": "bb93c69cbaeb9ed5d55658ef4bc3399df48360a884dd71be72651714ee7d4c11", - "signature": "bb93c69cbaeb9ed5d55658ef4bc3399df48360a884dd71be72651714ee7d4c11", - "affectsGlobalScope": false - }, - "../../node_modules/@types/reach__router/index.d.ts": { - "version": "94a274c882504de552300fc5d6be141820041e9e2c530064ea10a0b76e2f905f", - "signature": "94a274c882504de552300fc5d6be141820041e9e2c530064ea10a0b76e2f905f", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts": { - "version": "b064e0bba4f22f438ec15122597aa13b29c050c165d4a9b4707c8ebcb689eccf", - "signature": "b064e0bba4f22f438ec15122597aa13b29c050c165d4a9b4707c8ebcb689eccf", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts": { - "version": "f321ad7076d4b945a2aff9976d2f3cb4d8f5143968aaa483b61668130ca74646", - "signature": "f321ad7076d4b945a2aff9976d2f3cb4d8f5143968aaa483b61668130ca74646", - "affectsGlobalScope": false - }, - "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts": { - "version": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", - "signature": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/utils/types/index.d.ts": { - "version": "b950589996caafaa1638f139de73257f6b47a3dc965c8c2a7e5b56138f427dfa", - "signature": "b950589996caafaa1638f139de73257f6b47a3dc965c8c2a7e5b56138f427dfa", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts": { - "version": "6868ca93b5c10a223aa7d0d8250ca301431ed31ecef2c3a1bc90f36cb9f01227", - "signature": "6868ca93b5c10a223aa7d0d8250ca301431ed31ecef2c3a1bc90f36cb9f01227", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/serialize/types/helper.d.ts": { - "version": "b36255d645e094a9c8c1cb954c5becdf04b7423edb7f49539ac123a4e2932613", - "signature": "b36255d645e094a9c8c1cb954c5becdf04b7423edb7f49539ac123a4e2932613", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/serialize/types/index.d.ts": { - "version": "bba67c6ad655bea5737646b2cd68e760ac46e64cbe660c64f12529b6459ee7a3", - "signature": "bba67c6ad655bea5737646b2cd68e760ac46e64cbe660c64f12529b6459ee7a3", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/styled-base/types/helper.d.ts": { - "version": "6f2858fc93decd64fb996b1da328ebcef9fe63eda55defdc43b649b45fd9c737", - "signature": "6f2858fc93decd64fb996b1da328ebcef9fe63eda55defdc43b649b45fd9c737", - "affectsGlobalScope": false - }, - "../../node_modules/@emotion/styled-base/types/index.d.ts": { - "version": "13b54d8a660e4f8efa8eddb5f349a0ed15011416c79676f7d4b2eca6373e0e3f", - "signature": "13b54d8a660e4f8efa8eddb5f349a0ed15011416c79676f7d4b2eca6373e0e3f", + "../../node_modules/@emotion/styled-base/types/index.d.ts": { + "version": "1e95ce7664163cee8cb4734d699ecfa2b87ed8613f62b5cd29c87c666732b5c9", + "signature": "1e95ce7664163cee8cb4734d699ecfa2b87ed8613f62b5cd29c87c666732b5c9", "affectsGlobalScope": false }, "../../node_modules/@emotion/styled/types/index.d.ts": { @@ -2037,8 +1897,8 @@ "affectsGlobalScope": false }, "../../node_modules/@emotion/core/types/index.d.ts": { - "version": "1588826621a8167206324e72114918cfa71e9d1f91ae85145dec25e4b04a21b7", - "signature": "1588826621a8167206324e72114918cfa71e9d1f91ae85145dec25e4b04a21b7", + "version": "14cb75f5fbac488e22c9a4961daf4eb406c5550daad98dd6e152af3772986f7e", + "signature": "14cb75f5fbac488e22c9a4961daf4eb406c5550daad98dd6e152af3772986f7e", "affectsGlobalScope": true }, "../../node_modules/emotion-theming/types/helper.d.ts": { @@ -2047,8 +1907,8 @@ "affectsGlobalScope": false }, "../../node_modules/emotion-theming/types/index.d.ts": { - "version": "01c33ff580322779804e1118d9e630877d0e697e3b85e99598fb0726976ec65d", - "signature": "01c33ff580322779804e1118d9e630877d0e697e3b85e99598fb0726976ec65d", + "version": "db92e98a082f389003bf3ae096d96fb1ad9c5d6993610b2b0d27447ab2a9a387", + "signature": "db92e98a082f389003bf3ae096d96fb1ad9c5d6993610b2b0d27447ab2a9a387", "affectsGlobalScope": false }, "../../node_modules/@emotion/is-prop-valid/types/index.d.ts": { @@ -2087,8 +1947,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": { - "version": "8f06e139e020d860abd9085130735c99d635c3720f6968937678350885344299", - "signature": "8f06e139e020d860abd9085130735c99d635c3720f6968937678350885344299", + "version": "2d040083050c4c256e22023474c583207be1d1daf1a1ebdb926a3d55da42466e", + "signature": "2d040083050c4c256e22023474c583207be1d1daf1a1ebdb926a3d55da42466e", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": { @@ -2097,18 +1957,18 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": { - "version": "e70965073e612b80ae193cd72d5710de58014259a4f2137be991da37eea820c8", - "signature": "e70965073e612b80ae193cd72d5710de58014259a4f2137be991da37eea820c8", + "version": "0e2796337590cbebc51742bb6c6820568690cc861c253ed3f79fec94c85de089", + "signature": "0e2796337590cbebc51742bb6c6820568690cc861c253ed3f79fec94c85de089", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": { - "version": "9000156db05b58d3dc5606ae471399550d5d1717d6aaf8c2de29275b7a33c598", - "signature": "9000156db05b58d3dc5606ae471399550d5d1717d6aaf8c2de29275b7a33c598", + "version": "81bacfecad02d28e47c74c25699de0cce3fe2edfa667c99c94ff3c0dc83beba3", + "signature": "81bacfecad02d28e47c74c25699de0cce3fe2edfa667c99c94ff3c0dc83beba3", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": { - "version": "0488eaf58f3630ebc97f63fab35e23ca18f2e77e2cd02a09b049286081e66f5d", - "signature": "0488eaf58f3630ebc97f63fab35e23ca18f2e77e2cd02a09b049286081e66f5d", + "version": "7e2bcdc0bb130df5079158154d1d2a07a298e6303889bdcbb9df2a378e65ba7b", + "signature": "7e2bcdc0bb130df5079158154d1d2a07a298e6303889bdcbb9df2a378e65ba7b", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": { @@ -2131,14 +1991,9 @@ "signature": "78804759f7c183abd4f019d4bf3edf6379b96f96b4c2d1878d326f0c90a38f5e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/csf/dist/index.d.ts": { - "version": "684b85855b7a97e7bd926b03dc14184089877cad0fcfa7cfd6a4e22de2db65df", - "signature": "684b85855b7a97e7bd926b03dc14184089877cad0fcfa7cfd6a4e22de2db65df", - "affectsGlobalScope": false - }, "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": { - "version": "aedadd82108cda1fb881a4648c260c7de16b013fcacd7fb412f5b61e94175291", - "signature": "aedadd82108cda1fb881a4648c260c7de16b013fcacd7fb412f5b61e94175291", + "version": "8670cbd4af30e0558f63034d4f0830766f796035acae9c6123b47c9fab9869b7", + "signature": "8670cbd4af30e0558f63034d4f0830766f796035acae9c6123b47c9fab9869b7", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": { @@ -2147,8 +2002,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": { - "version": "55b37e6903eaadcfc1da257ecb1b4ff762cbbbe77c11d5a9ca32269450b2bcb0", - "signature": "55b37e6903eaadcfc1da257ecb1b4ff762cbbbe77c11d5a9ca32269450b2bcb0", + "version": "ed71dce0839801ca53924ab04bcd89af607d9c0c7eeca227320ec17ba1809188", + "signature": "ed71dce0839801ca53924ab04bcd89af607d9c0c7eeca227320ec17ba1809188", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": { @@ -2157,8 +2012,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": { - "version": "da4027999f81cac26936dc264409ae2e0526393196ef8fa57bf815f7e182c65f", - "signature": "da4027999f81cac26936dc264409ae2e0526393196ef8fa57bf815f7e182c65f", + "version": "ac44f8b9241046d23be6ce684afe6669d6518d76b2ff998b0d4ed86991266363", + "signature": "ac44f8b9241046d23be6ce684afe6669d6518d76b2ff998b0d4ed86991266363", "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": { @@ -2167,28 +2022,23 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts": { - "version": "a433739b7377a51dac457d6510ee563175494b71c8c3b8713badec4d49c99b69", - "signature": "a433739b7377a51dac457d6510ee563175494b71c8c3b8713badec4d49c99b69", + "version": "74d261da2ea12ac078ca44ac5eb00e342bcf5ff28c22796867966bf1c04aac9c", + "signature": "74d261da2ea12ac078ca44ac5eb00e342bcf5ff28c22796867966bf1c04aac9c", "affectsGlobalScope": false }, "../../node_modules/@types/webpack-env/index.d.ts": { - "version": "c856e68ae3c730c5b59b0a5c0c8e951596ae79da7d29c9a1b1a8257109f3f3cc", - "signature": "c856e68ae3c730c5b59b0a5c0c8e951596ae79da7d29c9a1b1a8257109f3f3cc", + "version": "3a1e422f919c70fca66e94dc641ad8d9732b3d2533ac047b8a9aaca9eea3aa10", + "signature": "3a1e422f919c70fca66e94dc641ad8d9732b3d2533ac047b8a9aaca9eea3aa10", "affectsGlobalScope": true }, - "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": { - "version": "61eaafbbc6acf01e7bb9fdfcef24486198d8c2d34328f3af2a56cfe63ccadc42", - "signature": "61eaafbbc6acf01e7bb9fdfcef24486198d8c2d34328f3af2a56cfe63ccadc42", - "affectsGlobalScope": false - }, "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts": { - "version": "51adf07b16a858fe0d8b66dd230f923ff7aa976864a9666309e64ad968f655bd", - "signature": "51adf07b16a858fe0d8b66dd230f923ff7aa976864a9666309e64ad968f655bd", + "version": "eb3fd14c8fa81c5f0c74132db79396d9a750ed86c38e37ceb1d509078c1c3b7b", + "signature": "eb3fd14c8fa81c5f0c74132db79396d9a750ed86c38e37ceb1d509078c1c3b7b", "affectsGlobalScope": false }, "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts": { - "version": "676460526ddfe2bfa4844be81c89b56da344083f59541d83c1b4cb16bb554831", - "signature": "676460526ddfe2bfa4844be81c89b56da344083f59541d83c1b4cb16bb554831", + "version": "a0d89c4418137068ba318aa0d78f1da1757e9c5bf192e8edbac6ce4f2795af3b", + "signature": "a0d89c4418137068ba318aa0d78f1da1757e9c5bf192e8edbac6ce4f2795af3b", "affectsGlobalScope": false }, "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": { @@ -2201,484 +2051,499 @@ "signature": "cb8ab172f02fb976eba76da4b5a8a6c8295a763bd0d86b56f4f86ee1becd3b8f", "affectsGlobalScope": false }, + "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": { + "version": "9d6280f06a91911f5411b4f257baf704df5eb96989a5490a1d5319102a34ca49", + "signature": "9d6280f06a91911f5411b4f257baf704df5eb96989a5490a1d5319102a34ca49", + "affectsGlobalScope": false + }, "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": { "version": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", "signature": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", "affectsGlobalScope": false }, "../../core/utils/storybookEventEmitter.ts": { - "version": "3ff845dbbdb2b8cfecd229e0a4dc58829d5b7d1b3aad2cc04437bc9125d3d4bc", + "version": "9fb365c1351436e3252cd1864ea8b3f9e2c2d40fc44956a1a981f1776d341a7c", "signature": "781c42c8e52e550c442b676dd3f9e4665e7a78a18cc6a41aa2ba3204c6976fe0", "affectsGlobalScope": false }, "../../core/utils/docPage/generateImports.tsx": { - "version": "8c0febd9791e388c7e6003eacbae2c8ef07dfb13037502f7975d198e2a0e25ca", - "signature": "eb2056f8376c974bb61406101250e74c1e7a2d023acd768e866a5738b1316f62", + "version": "4395732704a826bc5b66e5f547999223a517d8b7855a2638abe4a9d4c52904a0", + "signature": "6db6d57f39b837947447c00fa04347188d3843349902cc12a9dc85b3a2ca659d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts": { - "version": "93cbf42e397e5f2f95a9126171a276a9ceb73b20f8a8fffc943803b9181f5063", - "signature": "93cbf42e397e5f2f95a9126171a276a9ceb73b20f8a8fffc943803b9181f5063", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts": { + "version": "3944f18d9d057addab4fe5d2fae55d6ef0401d43dc0fb0bbd402bd72a1185e49", + "signature": "3944f18d9d057addab4fe5d2fae55d6ef0401d43dc0fb0bbd402bd72a1185e49", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts": { - "version": "ea7e3c60630d24c7a9eedc092d76bac67cab26408ecd6cd7212b9ef76398b737", - "signature": "ea7e3c60630d24c7a9eedc092d76bac67cab26408ecd6cd7212b9ef76398b737", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts": { + "version": "be898d9e967c8bea255e88eecc3134f967ebd4a94bc29fd64ac8d3ab13effa4d", + "signature": "be898d9e967c8bea255e88eecc3134f967ebd4a94bc29fd64ac8d3ab13effa4d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts": { - "version": "42a35957db42743c3b9f05b18ab069e90d94e4ca946a7538aae1374d1fb76939", - "signature": "42a35957db42743c3b9f05b18ab069e90d94e4ca946a7538aae1374d1fb76939", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts": { + "version": "b8b76992d81f75104fc38f0a4e5f5027ec5fb01eb4825d11a9eec10e3adc7b77", + "signature": "b8b76992d81f75104fc38f0a4e5f5027ec5fb01eb4825d11a9eec10e3adc7b77", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts": { - "version": "f97c565259f33fb50862df856fb3f9d26154f1312bce70653eed816325116de8", - "signature": "f97c565259f33fb50862df856fb3f9d26154f1312bce70653eed816325116de8", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts": { + "version": "1ccb2f5e97324f22ee83b4229da8d81bf9b7ddfa77a0d0a2bcb9679001268f35", + "signature": "1ccb2f5e97324f22ee83b4229da8d81bf9b7ddfa77a0d0a2bcb9679001268f35", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts": { - "version": "c4efb5cddfca9550a8c9a2c4567accc5a492c13cce363af5873f7b635237abdb", - "signature": "c4efb5cddfca9550a8c9a2c4567accc5a492c13cce363af5873f7b635237abdb", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts": { + "version": "465e7ffe794e98e26074637b52dba63ce805eb3c8e3085e8afa5b41a292a5571", + "signature": "465e7ffe794e98e26074637b52dba63ce805eb3c8e3085e8afa5b41a292a5571", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts": { - "version": "4434d2fc50415456a1b277933e070659c4550f4436f0656e8bc023ba3ec6ccb5", - "signature": "4434d2fc50415456a1b277933e070659c4550f4436f0656e8bc023ba3ec6ccb5", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts": { + "version": "41b2fbd1fae71e6cf35a1f3d8b29a7f447f71ac68f4585bb7b62392b716dbf9a", + "signature": "41b2fbd1fae71e6cf35a1f3d8b29a7f447f71ac68f4585bb7b62392b716dbf9a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts": { - "version": "a8c7d890024436217c552d7ee727de94159fdd93e63754683531c9ff733cd879", - "signature": "a8c7d890024436217c552d7ee727de94159fdd93e63754683531c9ff733cd879", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts": { + "version": "bb8eea1ecf25c7d1f9c86b203e1b3899940f9ec35b2cfa33c9fdcd66062e0cdd", + "signature": "bb8eea1ecf25c7d1f9c86b203e1b3899940f9ec35b2cfa33c9fdcd66062e0cdd", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts": { - "version": "44dbafca4ba7c48457808dc1b1e5dabaf9972c905c4d2a07889810738d98ccfa", - "signature": "44dbafca4ba7c48457808dc1b1e5dabaf9972c905c4d2a07889810738d98ccfa", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts": { + "version": "301bb63485343b6267d7c821989df36dc6efa454ac4f456fb8f90e058c013d62", + "signature": "301bb63485343b6267d7c821989df36dc6efa454ac4f456fb8f90e058c013d62", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts": { - "version": "a9875a01cbc9108187a30e011c7504151d21a122ce37cb2e1799a2a58468a373", - "signature": "a9875a01cbc9108187a30e011c7504151d21a122ce37cb2e1799a2a58468a373", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts": { + "version": "f3653dd73ca43257c2c9ee69643adaa4a6e26e9c31a5502371e86bdaecca43bd", + "signature": "f3653dd73ca43257c2c9ee69643adaa4a6e26e9c31a5502371e86bdaecca43bd", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts": { - "version": "30df5615342a739cbcc22aaa2ac12d7f84d85361f692e17addca56e8c5a27399", - "signature": "30df5615342a739cbcc22aaa2ac12d7f84d85361f692e17addca56e8c5a27399", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts": { + "version": "fe77cc0c8f877ae8ff2ec613dbb14c3114647541807d122bcf6cc3445a94f7be", + "signature": "fe77cc0c8f877ae8ff2ec613dbb14c3114647541807d122bcf6cc3445a94f7be", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts": { - "version": "7b31ef8f0784839694fe5a4223d8dc47a3dc0ee2f8d3c358f55e5f4644530978", - "signature": "7b31ef8f0784839694fe5a4223d8dc47a3dc0ee2f8d3c358f55e5f4644530978", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts": { + "version": "10644ff9125d80c9bb8bb7a2ccfefe9901ece913e137e051c67d6bfe86c095f8", + "signature": "10644ff9125d80c9bb8bb7a2ccfefe9901ece913e137e051c67d6bfe86c095f8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts": { - "version": "8182035d23e884d8a1161fc44788131c10c6933006d0f674661f4aea0bc9d505", - "signature": "8182035d23e884d8a1161fc44788131c10c6933006d0f674661f4aea0bc9d505", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts": { + "version": "2b86e8fcecea2386744211221d8359392feb0c8bedad1bc47d5a9d3e2eb14f1a", + "signature": "2b86e8fcecea2386744211221d8359392feb0c8bedad1bc47d5a9d3e2eb14f1a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts": { - "version": "9005871246eccaed63b2db1e2698d64f16ff8558f2ec48d9c339f55887bb797d", - "signature": "9005871246eccaed63b2db1e2698d64f16ff8558f2ec48d9c339f55887bb797d", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts": { + "version": "315328470c8025b7526ebf7e15155eeab732e8707937a312f2d6182a3af705bf", + "signature": "315328470c8025b7526ebf7e15155eeab732e8707937a312f2d6182a3af705bf", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts": { - "version": "990197927d0a6e2c55f326c0a67d342b2e61967f5066fa19fa47c66e01150607", - "signature": "990197927d0a6e2c55f326c0a67d342b2e61967f5066fa19fa47c66e01150607", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts": { + "version": "879191bc0b64aef1da65e7c20c6053fedf5129689f1964c74c9c01ec30af068c", + "signature": "879191bc0b64aef1da65e7c20c6053fedf5129689f1964c74c9c01ec30af068c", "affectsGlobalScope": false }, - "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts": { - "version": "d4990b42f1ac9307bffb12d35f57d89dbc7cf617c7eb01a791fcaa4a4069eaa6", - "signature": "d4990b42f1ac9307bffb12d35f57d89dbc7cf617c7eb01a791fcaa4a4069eaa6", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts": { + "version": "fe64aac747822416b108d06a7ae716e1edb88f3bf60bce30b453ebf5efb16fee", + "signature": "fe64aac747822416b108d06a7ae716e1edb88f3bf60bce30b453ebf5efb16fee", "affectsGlobalScope": false }, - "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts": { - "version": "e38d5bb0f0d07c2105b55ae8845df8c8271822186005469796be48c68058ef33", - "signature": "e38d5bb0f0d07c2105b55ae8845df8c8271822186005469796be48c68058ef33", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts": { + "version": "85e88436b601e1d510bc136594d86efbf3be85829e797bac3c4a994ca4c4a4ef", + "signature": "85e88436b601e1d510bc136594d86efbf3be85829e797bac3c4a994ca4c4a4ef", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts": { + "version": "f2204949e82f2793a54401b6612481d00ceb1a210c3dd499bebce85bb2bef4d0", + "signature": "f2204949e82f2793a54401b6612481d00ceb1a210c3dd499bebce85bb2bef4d0", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts": { + "version": "4bdb1f3bdf25e7b03765b5b8bade429371e82270fc05d0f3a1f64f86ea087d46", + "signature": "4bdb1f3bdf25e7b03765b5b8bade429371e82270fc05d0f3a1f64f86ea087d46", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts": { - "version": "1ff53a8ed8cc1c0381e5164ac0223ad28db0362a378cc947bd611115d0b5840a", - "signature": "1ff53a8ed8cc1c0381e5164ac0223ad28db0362a378cc947bd611115d0b5840a", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts": { + "version": "3819fe3eacd5a1ce3dd8dfc14b81d7e558075e0b0078ecd49da69e4ba8f28d3d", + "signature": "3819fe3eacd5a1ce3dd8dfc14b81d7e558075e0b0078ecd49da69e4ba8f28d3d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts": { - "version": "38945ba4ac440cc026146fa78bb60d4e05dc2caf04a401309a141c7242cd18d9", - "signature": "38945ba4ac440cc026146fa78bb60d4e05dc2caf04a401309a141c7242cd18d9", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts": { + "version": "258b1dd7b027f299399832158c1a029fd7e28dd4626a4e36834561eacfe56179", + "signature": "258b1dd7b027f299399832158c1a029fd7e28dd4626a4e36834561eacfe56179", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts": { - "version": "09674df3bdeefc2c9c7fe088612c18e183ca7d82c329cc8d33b17278c43f3e9c", - "signature": "09674df3bdeefc2c9c7fe088612c18e183ca7d82c329cc8d33b17278c43f3e9c", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts": { + "version": "0600b53c0d4016a371a7dd9902597271c3bfccd923bb226adcfd1a8baa712167", + "signature": "0600b53c0d4016a371a7dd9902597271c3bfccd923bb226adcfd1a8baa712167", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/enums.d.ts": { - "version": "3192b54876effeb978785858ec960ba7c57f81171070b5a0054a011ca09795f2", - "signature": "3192b54876effeb978785858ec960ba7c57f81171070b5a0054a011ca09795f2", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts": { + "version": "216708d627d353eaddcafce82bbafb950f8443d7070235624d2c7db1abd465d0", + "signature": "216708d627d353eaddcafce82bbafb950f8443d7070235624d2c7db1abd465d0", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts": { - "version": "869ac759ae8f304536d609082732cb025a08dcc38237fe619caf3fcdd41dde6f", - "signature": "869ac759ae8f304536d609082732cb025a08dcc38237fe619caf3fcdd41dde6f", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts": { + "version": "d5a13a18c3a97e3f6d3f65665394e3116b118b38b2dfc9ccb39194d1d26c6e2f", + "signature": "d5a13a18c3a97e3f6d3f65665394e3116b118b38b2dfc9ccb39194d1d26c6e2f", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts": { - "version": "0ea900fe6565f9133e06bce92e3e9a4b5a69234e83d40b7df2e1752b8d2b5002", - "signature": "0ea900fe6565f9133e06bce92e3e9a4b5a69234e83d40b7df2e1752b8d2b5002", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts": { + "version": "8e2016c42ede5c734eb0a94b00d51640e30aa97a112b2d3fe59c298073fadc10", + "signature": "8e2016c42ede5c734eb0a94b00d51640e30aa97a112b2d3fe59c298073fadc10", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts": { - "version": "e5408f95ca9ac5997c0fea772d68b1bf390e16c2a8cad62858553409f2b12412", - "signature": "e5408f95ca9ac5997c0fea772d68b1bf390e16c2a8cad62858553409f2b12412", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts": { + "version": "c0baae199c9fcc1f40058571a983a489bd588b2860a6c79500e4164c06343bae", + "signature": "c0baae199c9fcc1f40058571a983a489bd588b2860a6c79500e4164c06343bae", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts": { - "version": "c512c0e8912b562194a3664dbe894a13b962b7fdc5e6467049e5776c9c573093", - "signature": "c512c0e8912b562194a3664dbe894a13b962b7fdc5e6467049e5776c9c573093", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts": { + "version": "493b5bb976698cbda433f71e1617894a1513db80a9581cd48a365dcaa2c78854", + "signature": "493b5bb976698cbda433f71e1617894a1513db80a9581cd48a365dcaa2c78854", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts": { - "version": "9260b03453970e98ce9b1ad851275acd9c7d213c26c7d86bae096e8e9db4e62b", - "signature": "9260b03453970e98ce9b1ad851275acd9c7d213c26c7d86bae096e8e9db4e62b", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts": { + "version": "7f416cb892e1bcc7f4b2380683880295bec7952c4509db9e4639ca6a57ac9e5c", + "signature": "7f416cb892e1bcc7f4b2380683880295bec7952c4509db9e4639ca6a57ac9e5c", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts": { - "version": "c47202f28798de29986d7c1fcca4be4031fb72cd1c0dab001a8c9b19eddc7e07", - "signature": "c47202f28798de29986d7c1fcca4be4031fb72cd1c0dab001a8c9b19eddc7e07", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts": { + "version": "b96c3d1818bd4bbbea0d4dc88b655fde0726c4e25396a26ecae8dad4214770c8", + "signature": "b96c3d1818bd4bbbea0d4dc88b655fde0726c4e25396a26ecae8dad4214770c8", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts": { - "version": "969132719f0f5822e669f6da7bd58ea0eb47f7899c1db854f8f06379f753b365", - "signature": "969132719f0f5822e669f6da7bd58ea0eb47f7899c1db854f8f06379f753b365", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts": { + "version": "9b5160542dfed4cc0e29c74951a4cfd7b104e747786a54e509e166a8997ae0b2", + "signature": "9b5160542dfed4cc0e29c74951a4cfd7b104e747786a54e509e166a8997ae0b2", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts": { - "version": "8854881635098c8842b5e489272fc951546b2767e4f447a88ca9ce50a6ca9d34", - "signature": "8854881635098c8842b5e489272fc951546b2767e4f447a88ca9ce50a6ca9d34", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts": { + "version": "404f351724fb0d4bbc0979382270e0ee6a34459e444c3e5a3ff54eb6e4bbbc85", + "signature": "404f351724fb0d4bbc0979382270e0ee6a34459e444c3e5a3ff54eb6e4bbbc85", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts": { - "version": "2cbc88cf54c50e74ee5642c12217e6fd5415e1b35232d5666d53418bae210b3b", - "signature": "2cbc88cf54c50e74ee5642c12217e6fd5415e1b35232d5666d53418bae210b3b", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts": { + "version": "c4bd70cb1460b734356a2f3e9e8de73dbfbc5674a5fcf81953eb2e7da92c9088", + "signature": "c4bd70cb1460b734356a2f3e9e8de73dbfbc5674a5fcf81953eb2e7da92c9088", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/types.d.ts": { - "version": "b96e8e3de3b3f500d50aefe067db5e2f3d8fdd51dc002727038c1b19c483205c", - "signature": "b96e8e3de3b3f500d50aefe067db5e2f3d8fdd51dc002727038c1b19c483205c", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts": { + "version": "45a7e51ae2a7d0f6e21bd1d578fc60dab6f86b99d487cbc10d599d6730accf40", + "signature": "45a7e51ae2a7d0f6e21bd1d578fc60dab6f86b99d487cbc10d599d6730accf40", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts": { - "version": "5ea98f44cc9de1fe05d037afe4813f3dcd3a8c5de43bdd7db24624a364fad8e6", - "signature": "5ea98f44cc9de1fe05d037afe4813f3dcd3a8c5de43bdd7db24624a364fad8e6", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts": { + "version": "d762221685a4cc2eb03742207ea5afb2eff45e25c51fb1b9cc5a0443eaa591ee", + "signature": "d762221685a4cc2eb03742207ea5afb2eff45e25c51fb1b9cc5a0443eaa591ee", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts": { - "version": "3a1e3199054ae95161fc6a8418ee28cd774f1a258d1b0ee14aa71c48a1f8448c", - "signature": "3a1e3199054ae95161fc6a8418ee28cd774f1a258d1b0ee14aa71c48a1f8448c", + "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts": { + "version": "d4990b42f1ac9307bffb12d35f57d89dbc7cf617c7eb01a791fcaa4a4069eaa6", + "signature": "d4990b42f1ac9307bffb12d35f57d89dbc7cf617c7eb01a791fcaa4a4069eaa6", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/createPopper.d.ts": { - "version": "0b3fc2d2d41ad187962c43cb38117d0aee0d3d515c8a6750aaea467da76b42aa", - "signature": "0b3fc2d2d41ad187962c43cb38117d0aee0d3d515c8a6750aaea467da76b42aa", + "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts": { + "version": "e38d5bb0f0d07c2105b55ae8845df8c8271822186005469796be48c68058ef33", + "signature": "e38d5bb0f0d07c2105b55ae8845df8c8271822186005469796be48c68058ef33", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts": { - "version": "ed219f328224100dad91505388453a8c24a97367d1bc13dcec82c72ab13012b7", - "signature": "ed219f328224100dad91505388453a8c24a97367d1bc13dcec82c72ab13012b7", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts": { + "version": "944099a919152ebdbc12d1ef3506960b773a30d82dda608fac27b34805b8a6ca", + "signature": "944099a919152ebdbc12d1ef3506960b773a30d82dda608fac27b34805b8a6ca", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/popper.d.ts": { - "version": "6847b17c96eb44634daa112849db0c9ade344fe23e6ced190b7eeb862beca9f4", - "signature": "6847b17c96eb44634daa112849db0c9ade344fe23e6ced190b7eeb862beca9f4", + "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Anchor.d.ts": { + "version": "250b248631e324bcfa82caa03d8f48ad08cb2903e659e09eb7951ec28c68ad77", + "signature": "250b248631e324bcfa82caa03d8f48ad08cb2903e659e09eb7951ec28c68ad77", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/lib/index.d.ts": { - "version": "d479a5128f27f63b58d57a61e062bd68fa43b684271449a73a4d3e3666a599a7", - "signature": "d479a5128f27f63b58d57a61e062bd68fa43b684271449a73a4d3e3666a599a7", + "../../node_modules/synchronous-promise/index.d.ts": { + "version": "aa9e4a9713ef35a17d2c37648e6bca646b94d80e8109b792c6e199f2d76803ce", + "signature": "aa9e4a9713ef35a17d2c37648e6bca646b94d80e8109b792c6e199f2d76803ce", "affectsGlobalScope": false }, - "../../node_modules/@popperjs/core/index.d.ts": { - "version": "6f308b141358ac799edc3e83e887441852205dc1348310d30b62c69438b93ca0", - "signature": "6f308b141358ac799edc3e83e887441852205dc1348310d30b62c69438b93ca0", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts": { + "version": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", + "signature": "01b6d577a343d4e23ca5a754f6a6f24da5fa3602d445d348fd1d4f873e7feed7", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts": { - "version": "f4205476566ce5a01be9767692f15cc3cd323e7979754023f86fc303dc912c2a", - "signature": "f4205476566ce5a01be9767692f15cc3cd323e7979754023f86fc303dc912c2a", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts": { + "version": "9b58062dfd12d175438e555f7f1260fc17ed16be9349b274992b3f6eb5f06f91", + "signature": "9b58062dfd12d175438e555f7f1260fc17ed16be9349b274992b3f6eb5f06f91", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts": { - "version": "f1f7f3857a41db1a188a3881bc8ce8db1b0f9d76715607e2807bbfb94285888d", - "signature": "f1f7f3857a41db1a188a3881bc8ce8db1b0f9d76715607e2807bbfb94285888d", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts": { + "version": "a1526bcc0d8e16ba995308658d87520f2fccdfa64f7c3f238cf980a451beb3d2", + "signature": "a1526bcc0d8e16ba995308658d87520f2fccdfa64f7c3f238cf980a451beb3d2", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts": { - "version": "ea26aafe49ae12b18e146cfd587c1627eb35fa6d918b7ec4d54019d512e6d530", - "signature": "ea26aafe49ae12b18e146cfd587c1627eb35fa6d918b7ec4d54019d512e6d530", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts": { + "version": "22d48ca9006891e4e3b0b4d602fa9b8fb8ff0c6928b0a84ea618887df8f63b95", + "signature": "22d48ca9006891e4e3b0b4d602fa9b8fb8ff0c6928b0a84ea618887df8f63b95", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts": { - "version": "224ae7123b17c372d05507c29b1d90ceaa004384ca7f179e1e4d60f861f869d1", - "signature": "224ae7123b17c372d05507c29b1d90ceaa004384ca7f179e1e4d60f861f869d1", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts": { + "version": "c1d2194b4578458e0484fc2a3a93149d23fbcd1d84e22731b4fe0682122a9611", + "signature": "c1d2194b4578458e0484fc2a3a93149d23fbcd1d84e22731b4fe0682122a9611", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts": { - "version": "7da3d88ad0c75495b2fd801bea91558c772141377df1d1d15aca7243624a8d88", - "signature": "7da3d88ad0c75495b2fd801bea91558c772141377df1d1d15aca7243624a8d88", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts": { + "version": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", + "signature": "686b6ae9d67f0e7e507df696ef6a4a3768bd826552b816b31ef370d2ede1a8f8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts": { - "version": "de6918d94f3a0df16fc912690290fef4ad0b76f09780da3bd24c3e6d1b0c9cd8", - "signature": "de6918d94f3a0df16fc912690290fef4ad0b76f09780da3bd24c3e6d1b0c9cd8", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": { + "version": "2d040083050c4c256e22023474c583207be1d1daf1a1ebdb926a3d55da42466e", + "signature": "2d040083050c4c256e22023474c583207be1d1daf1a1ebdb926a3d55da42466e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts": { - "version": "5da0e8489def7f04c7b0947da04b0fc0653bdf9e3739e29cd2dcfdcedd98f36c", - "signature": "5da0e8489def7f04c7b0947da04b0fc0653bdf9e3739e29cd2dcfdcedd98f36c", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": { + "version": "51aba13210f26f71049eb1f88288fb713710ff23e77ecaf53bf2204addf5549e", + "signature": "51aba13210f26f71049eb1f88288fb713710ff23e77ecaf53bf2204addf5549e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts": { - "version": "6a98254aa6ecbdf88511d9e5657210db51f58a6f06a078872e75438dbef710dd", - "signature": "6a98254aa6ecbdf88511d9e5657210db51f58a6f06a078872e75438dbef710dd", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": { + "version": "d018c0d3a749e92806dc5fab86754c75d527909cb89b3d3d60180ec19f8d2919", + "signature": "d018c0d3a749e92806dc5fab86754c75d527909cb89b3d3d60180ec19f8d2919", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts": { - "version": "2843274da43dafd1a006c3abf53027297c4f6c7a8a07ed720aa29ade5bab0b97", - "signature": "2843274da43dafd1a006c3abf53027297c4f6c7a8a07ed720aa29ade5bab0b97", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": { + "version": "81bacfecad02d28e47c74c25699de0cce3fe2edfa667c99c94ff3c0dc83beba3", + "signature": "81bacfecad02d28e47c74c25699de0cce3fe2edfa667c99c94ff3c0dc83beba3", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts": { - "version": "57a11e63068bff37cb05310cb638dad8e69a933ca4a8adf866670c482e566a10", - "signature": "57a11e63068bff37cb05310cb638dad8e69a933ca4a8adf866670c482e566a10", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": { + "version": "b14f81d8c602e5d94bf492ead26e9ffe71f99526634b64c0f5defdf055b14b5f", + "signature": "b14f81d8c602e5d94bf492ead26e9ffe71f99526634b64c0f5defdf055b14b5f", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts": { - "version": "b3ff83c15f296507e6cb9f875eb9c299f03ea1b4ab4bda70cf0fda1e786503e9", - "signature": "b3ff83c15f296507e6cb9f875eb9c299f03ea1b4ab4bda70cf0fda1e786503e9", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": { + "version": "680b439e5d9b6007a32e9b618fcd5647f3a76f5f997e138916350f148aa0aca5", + "signature": "680b439e5d9b6007a32e9b618fcd5647f3a76f5f997e138916350f148aa0aca5", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts": { - "version": "0c78968a032eaac4892518fb08fe092ab94d96f8dc3f52012382a731bfef1456", - "signature": "0c78968a032eaac4892518fb08fe092ab94d96f8dc3f52012382a731bfef1456", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts": { + "version": "e3b722a666a5b0728207649560f8634f855cd8b521ef8f6d39defdc500036212", + "signature": "e3b722a666a5b0728207649560f8634f855cd8b521ef8f6d39defdc500036212", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts": { - "version": "435ae1f04887bb884d6e0a788d7032a079e8cd0a786bbb49bf8a293112bcb61f", - "signature": "435ae1f04887bb884d6e0a788d7032a079e8cd0a786bbb49bf8a293112bcb61f", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts": { + "version": "7c5c50c6839fe85d8f422d8cb7a5e52aedd673c06d2ee786fc95054f1448db52", + "signature": "7c5c50c6839fe85d8f422d8cb7a5e52aedd673c06d2ee786fc95054f1448db52", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts": { - "version": "0f3b8aebc25f55e110865c4c31537cc61370a825aa6ccb3f10b643c9b0cac7cc", - "signature": "0f3b8aebc25f55e110865c4c31537cc61370a825aa6ccb3f10b643c9b0cac7cc", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts": { + "version": "78804759f7c183abd4f019d4bf3edf6379b96f96b4c2d1878d326f0c90a38f5e", + "signature": "78804759f7c183abd4f019d4bf3edf6379b96f96b4c2d1878d326f0c90a38f5e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts": { - "version": "8b092618c0f59fe387916c4da4a73de9ba5fe3b0859a56e12f63277097b8a10f", - "signature": "8b092618c0f59fe387916c4da4a73de9ba5fe3b0859a56e12f63277097b8a10f", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": { + "version": "12ecdacad8c21850ae87bdb1cca66d9abb7bb9134dd529e09f9ca0ba6e940113", + "signature": "12ecdacad8c21850ae87bdb1cca66d9abb7bb9134dd529e09f9ca0ba6e940113", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts": { - "version": "38e8569cc9571bbc7f54af6e35af4da8d3bd19806b7b54e5ea1f95be04bdaae0", - "signature": "38e8569cc9571bbc7f54af6e35af4da8d3bd19806b7b54e5ea1f95be04bdaae0", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": { + "version": "be0f8f1c65c7180cb2aa800ae419c5ccd210db5dfea4b6c6df24d7007735e566", + "signature": "be0f8f1c65c7180cb2aa800ae419c5ccd210db5dfea4b6c6df24d7007735e566", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts": { - "version": "504f73082e3c55dc806b318c7f2d8359f2a11882fc74326aa8355127601f5100", - "signature": "504f73082e3c55dc806b318c7f2d8359f2a11882fc74326aa8355127601f5100", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": { + "version": "ed71dce0839801ca53924ab04bcd89af607d9c0c7eeca227320ec17ba1809188", + "signature": "ed71dce0839801ca53924ab04bcd89af607d9c0c7eeca227320ec17ba1809188", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts": { - "version": "2bf19d29f8dfa21d3b1e9d02240a6ab00dfb3d9e4e0c19a6e2bae7a9cd6d55d3", - "signature": "2bf19d29f8dfa21d3b1e9d02240a6ab00dfb3d9e4e0c19a6e2bae7a9cd6d55d3", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": { + "version": "3dc46c51642f9f56f39de16d3b1284dcde63c9ab0e5e1e38e7c4529b5b622be8", + "signature": "3dc46c51642f9f56f39de16d3b1284dcde63c9ab0e5e1e38e7c4529b5b622be8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts": { - "version": "e6302abcc277710b37d987bd3ac0f4d07a8a84d4e164c38ff5c6b1d24c376667", - "signature": "e6302abcc277710b37d987bd3ac0f4d07a8a84d4e164c38ff5c6b1d24c376667", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": { + "version": "72b59c94d34c84ce052b4b24c8fa5b0d47e7ca844b6636153e3a86d2c93c8564", + "signature": "72b59c94d34c84ce052b4b24c8fa5b0d47e7ca844b6636153e3a86d2c93c8564", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts": { - "version": "59e5539e2bb1eb03de643e0d12115bb62800eb9f62872477497c965dfe67fdbb", - "signature": "59e5539e2bb1eb03de643e0d12115bb62800eb9f62872477497c965dfe67fdbb", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": { + "version": "5436e36fbe03e542893a436946c0f162e8883c4313069e1dd3cd82598499e8a7", + "signature": "5436e36fbe03e542893a436946c0f162e8883c4313069e1dd3cd82598499e8a7", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts": { - "version": "f0173b9051458c6085f2759727a13b0bf583f92eeff1c119ad4ac660ee892eba", - "signature": "f0173b9051458c6085f2759727a13b0bf583f92eeff1c119ad4ac660ee892eba", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts": { + "version": "d2083b0b7a04a627a9d42a8e082a58ae3e56d6b3f8d6f2bbbca044d3a08d44e8", + "signature": "d2083b0b7a04a627a9d42a8e082a58ae3e56d6b3f8d6f2bbbca044d3a08d44e8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts": { - "version": "1ad5d74fbdd4d8ab340e65591bd3c66236326892facfb1a747b2a6084afea213", - "signature": "1ad5d74fbdd4d8ab340e65591bd3c66236326892facfb1a747b2a6084afea213", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts": { + "version": "8ed0d9eef1896e6db07f9336324c02a37e985a367e992cdaa039da7b2a85159c", + "signature": "8ed0d9eef1896e6db07f9336324c02a37e985a367e992cdaa039da7b2a85159c", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts": { - "version": "ffc417b36bb84e55290842204f0be5eabec0daf179f019a9219ddf2d7dc3ebaa", - "signature": "ffc417b36bb84e55290842204f0be5eabec0daf179f019a9219ddf2d7dc3ebaa", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts": { + "version": "69f986e166d7243f2bd6897df34665c6c01a2488bc60f451616041571c96c9b0", + "signature": "69f986e166d7243f2bd6897df34665c6c01a2488bc60f451616041571c96c9b0", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts": { - "version": "1bd5217982b2bf7eeb6d0f87ab0ee7b090744c2c8b096cc0c3d4985081521cab", - "signature": "1bd5217982b2bf7eeb6d0f87ab0ee7b090744c2c8b096cc0c3d4985081521cab", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": { + "version": "decbbbb4e857ed0c3c15d7dc1b8426825d1609cb2f697fea8aac2d03a9f4eab2", + "signature": "decbbbb4e857ed0c3c15d7dc1b8426825d1609cb2f697fea8aac2d03a9f4eab2", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts": { - "version": "a9e5000632f6250a4267d7523948d5605d8b99cd870bef9a5c582c235e2c1a52", - "signature": "a9e5000632f6250a4267d7523948d5605d8b99cd870bef9a5c582c235e2c1a52", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts": { + "version": "cb8ab172f02fb976eba76da4b5a8a6c8295a763bd0d86b56f4f86ee1becd3b8f", + "signature": "cb8ab172f02fb976eba76da4b5a8a6c8295a763bd0d86b56f4f86ee1becd3b8f", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts": { - "version": "f99c8045abb10ed1cddc40e6642fdd1d4802bbfc2e26ad30092413a1a37dad24", - "signature": "f99c8045abb10ed1cddc40e6642fdd1d4802bbfc2e26ad30092413a1a37dad24", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": { + "version": "f4ed3dac2fdc0bc82db9e7d0b4bc8105718a028486bf298305dbbae9f722f061", + "signature": "f4ed3dac2fdc0bc82db9e7d0b4bc8105718a028486bf298305dbbae9f722f061", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts": { - "version": "16870ebef7d9d08a19a9bfaa488253f968ab4423e1d5e04f7c752f0917496ddb", - "signature": "16870ebef7d9d08a19a9bfaa488253f968ab4423e1d5e04f7c752f0917496ddb", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": { + "version": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", + "signature": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts": { - "version": "d683d2364094aadc27d87cdeee8e9df01afc55ba2cc8d7ae9cd99225e96da004", - "signature": "d683d2364094aadc27d87cdeee8e9df01afc55ba2cc8d7ae9cd99225e96da004", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts": { + "version": "c0116a9b831d5daef3fc83958e440c654510be1af0ed45c4ed91a045b05cab98", + "signature": "c0116a9b831d5daef3fc83958e440c654510be1af0ed45c4ed91a045b05cab98", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts": { - "version": "0d0a11acf058175bc7ac423fad59a490ff77eec1cb6437287b918d88baa128b1", - "signature": "0d0a11acf058175bc7ac423fad59a490ff77eec1cb6437287b918d88baa128b1", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts": { + "version": "cde3f5bb55085753c96e033163e9cdd78a2a8ff5a230fe0871759a2029434808", + "signature": "cde3f5bb55085753c96e033163e9cdd78a2a8ff5a230fe0871759a2029434808", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts": { - "version": "7e39367785f759fe002dd35c6a87cb0fe53a3f9ce228b008ad81f6c913ab27f6", - "signature": "7e39367785f759fe002dd35c6a87cb0fe53a3f9ce228b008ad81f6c913ab27f6", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts": { + "version": "2bbd82adc9cc697aaac2e90613c6335c67e4126eb178d3a74d2a1f474a2eadd9", + "signature": "2bbd82adc9cc697aaac2e90613c6335c67e4126eb178d3a74d2a1f474a2eadd9", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts": { - "version": "dbe3f9543a11118fbd6fb940939d265ef15e0d1de540661c2d9ca2e41f362dab", - "signature": "dbe3f9543a11118fbd6fb940939d265ef15e0d1de540661c2d9ca2e41f362dab", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts": { + "version": "1f6fe7edcaba89ca6f318528748c34499bde4d806e2d4fff9e8719c62072f2db", + "signature": "1f6fe7edcaba89ca6f318528748c34499bde4d806e2d4fff9e8719c62072f2db", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts": { - "version": "413a5da2ec2d57dba44a50caf28d401f1574298c38dcf61e7630f134ab661647", - "signature": "413a5da2ec2d57dba44a50caf28d401f1574298c38dcf61e7630f134ab661647", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts": { + "version": "d817eff3a51d80f26a8d36eb045b82f33c6957eb3c3095d60963b3577d8a53e6", + "signature": "d817eff3a51d80f26a8d36eb045b82f33c6957eb3c3095d60963b3577d8a53e6", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts": { - "version": "b2da7a9e821c5df34f4cff4e74fde5d869cd9cfa842cb29e8f939e4569d4a006", - "signature": "b2da7a9e821c5df34f4cff4e74fde5d869cd9cfa842cb29e8f939e4569d4a006", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts": { + "version": "ec46a356d1e0ec3ccc32292f8873f5632d4d7bcbb813c145a0ea00d69ab6f337", + "signature": "ec46a356d1e0ec3ccc32292f8873f5632d4d7bcbb813c145a0ea00d69ab6f337", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts": { - "version": "04245b669827d1b0b9e56be1e33a4a388c1287da5bbb1e0e0dbfefb7db87b227", - "signature": "04245b669827d1b0b9e56be1e33a4a388c1287da5bbb1e0e0dbfefb7db87b227", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts": { + "version": "3ef12f8e64267589e928f32c74eb607130bf9429e4524d6c2f231d3813c69e7e", + "signature": "3ef12f8e64267589e928f32c74eb607130bf9429e4524d6c2f231d3813c69e7e", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts": { - "version": "8d66c6001f9db9a8d3a732cbd97b9cfe9862ef4e530771ed074c9ffaea886546", - "signature": "8d66c6001f9db9a8d3a732cbd97b9cfe9862ef4e530771ed074c9ffaea886546", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts": { + "version": "6dbaf275aad9ca1c03cb06b2bb7c2bdfb9f1ac819a2db7d2be201fa9966d1f71", + "signature": "6dbaf275aad9ca1c03cb06b2bb7c2bdfb9f1ac819a2db7d2be201fa9966d1f71", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts": { - "version": "71c80528f0ae98b8527e89204fe6a3b45e209bef429e0d94ef2ae85c0294137d", - "signature": "71c80528f0ae98b8527e89204fe6a3b45e209bef429e0d94ef2ae85c0294137d", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts": { + "version": "8b60797bbe7bfc512f7411b4abb11a4cbcaedf40769a3e88434b31966a98918a", + "signature": "8b60797bbe7bfc512f7411b4abb11a4cbcaedf40769a3e88434b31966a98918a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts": { - "version": "a8acd8868f1f922c56ecbded384fd7e752129b46f444a8a7b7e5c5f7c8c6a43b", - "signature": "a8acd8868f1f922c56ecbded384fd7e752129b46f444a8a7b7e5c5f7c8c6a43b", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts": { + "version": "35d3d4b813d4514ddffaebf2b380eac3f9dcd9cd07470ac6a1ac2aa6997d57cb", + "signature": "35d3d4b813d4514ddffaebf2b380eac3f9dcd9cd07470ac6a1ac2aa6997d57cb", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts": { - "version": "420640664c21ee64f7923fcec4bfe7638b0533e1ce05a187c47325bcdf6f4500", - "signature": "420640664c21ee64f7923fcec4bfe7638b0533e1ce05a187c47325bcdf6f4500", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts": { + "version": "a545cb0d7261d251ff8e339d957c97d782007ec41a5363dd6904e589793609b1", + "signature": "a545cb0d7261d251ff8e339d957c97d782007ec41a5363dd6904e589793609b1", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts": { - "version": "da2780126c0088a28592d3ddfd2f997109457e41381a7a83706188c0966d61aa", - "signature": "da2780126c0088a28592d3ddfd2f997109457e41381a7a83706188c0966d61aa", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts": { + "version": "a57e8d184f65cf64f7d07a560b2d053c77844e33ec437a4b3699dbea5c5b385d", + "signature": "a57e8d184f65cf64f7d07a560b2d053c77844e33ec437a4b3699dbea5c5b385d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts": { - "version": "053120d217ea30f9748ff01d56953a0657c65bd0616be313fd73fda14b783b76", - "signature": "053120d217ea30f9748ff01d56953a0657c65bd0616be313fd73fda14b783b76", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts": { + "version": "bd3b35401eb82df8da05fa50db2908e66bcc4dc7f93e1a39037491d6e75e16b9", + "signature": "bd3b35401eb82df8da05fa50db2908e66bcc4dc7f93e1a39037491d6e75e16b9", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts": { - "version": "12f26fe06a092c14fe8aa2c58077650d7c74bdd7b38efcac2851aaf6edb38a0b", - "signature": "12f26fe06a092c14fe8aa2c58077650d7c74bdd7b38efcac2851aaf6edb38a0b", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts": { + "version": "a6203891fc766a9632cb2e305b73e01b90ddef0448beab9191d0cc49ac944f03", + "signature": "a6203891fc766a9632cb2e305b73e01b90ddef0448beab9191d0cc49ac944f03", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts": { - "version": "a7545005a8d0f65ed0307a17cdde07e636e1aa762b2d6804107ab12a62d7109c", - "signature": "a7545005a8d0f65ed0307a17cdde07e636e1aa762b2d6804107ab12a62d7109c", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts": { + "version": "5983e53eaf3966d7191211359e362d3a528168cbba4d7e59a355a19fb919baf2", + "signature": "5983e53eaf3966d7191211359e362d3a528168cbba4d7e59a355a19fb919baf2", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts": { - "version": "28f6bd0135271a7ca69011f733f217ae40a63eece5f1a682cc266c6cf45811cb", - "signature": "28f6bd0135271a7ca69011f733f217ae40a63eece5f1a682cc266c6cf45811cb", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts": { + "version": "b99311df74481d1e0a5233f3986f6e3acede615c63f59793f9fc995123b36051", + "signature": "b99311df74481d1e0a5233f3986f6e3acede615c63f59793f9fc995123b36051", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts": { - "version": "bbaf4c1ba30e4fe5c9670dbf287f75ff13072740b6d5ae2d223e256058cdd793", - "signature": "bbaf4c1ba30e4fe5c9670dbf287f75ff13072740b6d5ae2d223e256058cdd793", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts": { + "version": "4d114335033a164073e9fb2320a24c5dc44525ab4e342ec25c01baef83b1041a", + "signature": "4d114335033a164073e9fb2320a24c5dc44525ab4e342ec25c01baef83b1041a", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts": { - "version": "1eb6844708a8d94d58f145850bd718cb2acd8170f2a86354b9ecd015415314e5", - "signature": "1eb6844708a8d94d58f145850bd718cb2acd8170f2a86354b9ecd015415314e5", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts": { + "version": "4b1a4bf2a32618f74b38745710130a89ac2d955a62e133ef05111a7eddf009f5", + "signature": "4b1a4bf2a32618f74b38745710130a89ac2d955a62e133ef05111a7eddf009f5", "affectsGlobalScope": false }, - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts": { - "version": "d32a96c399fbb650a6f0e669fe6008c57a347023b2a2e53f4aa1603e15fbde57", - "signature": "d32a96c399fbb650a6f0e669fe6008c57a347023b2a2e53f4aa1603e15fbde57", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts": { + "version": "9c3d635be0246132dd76875a4bc3dac5139c644a436a488a45276c203f32b5d1", + "signature": "9c3d635be0246132dd76875a4bc3dac5139c644a436a488a45276c203f32b5d1", "affectsGlobalScope": false }, - "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Anchor.d.ts": { - "version": "250b248631e324bcfa82caa03d8f48ad08cb2903e659e09eb7951ec28c68ad77", - "signature": "250b248631e324bcfa82caa03d8f48ad08cb2903e659e09eb7951ec28c68ad77", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts": { + "version": "a60b1a5dff484334ed305ceafdaf5fd6305dadc8b0d144e733fa9432580bdfe4", + "signature": "a60b1a5dff484334ed305ceafdaf5fd6305dadc8b0d144e733fa9432580bdfe4", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts": { - "version": "210fa81aacaa89d0b09749baaf8f8297893f33c2be99da563fb73ca5c39aacfc", - "signature": "210fa81aacaa89d0b09749baaf8f8297893f33c2be99da563fb73ca5c39aacfc", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts": { + "version": "cb9812c41f87bebeb12bdfca83f30e7084f68852c32b655435598a2710c4f428", + "signature": "cb9812c41f87bebeb12bdfca83f30e7084f68852c32b655435598a2710c4f428", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts": { - "version": "b99311df74481d1e0a5233f3986f6e3acede615c63f59793f9fc995123b36051", - "signature": "b99311df74481d1e0a5233f3986f6e3acede615c63f59793f9fc995123b36051", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts": { + "version": "c6ad9dd0fe7be2239514419f35b3fd3a10acecfdc9edb2e78bb6c9d7adb26acc", + "signature": "c6ad9dd0fe7be2239514419f35b3fd3a10acecfdc9edb2e78bb6c9d7adb26acc", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts": { - "version": "1bf91d37a08ba8ec3ab782002b15ae79d1be3e9ad54c8bac6c14615e66cf9192", - "signature": "1bf91d37a08ba8ec3ab782002b15ae79d1be3e9ad54c8bac6c14615e66cf9192", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts": { + "version": "f62b7e8866a79edcdbfde99dc5df8bd69045d8d275b992b855e1d1ca5f8de15d", + "signature": "f62b7e8866a79edcdbfde99dc5df8bd69045d8d275b992b855e1d1ca5f8de15d", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts": { - "version": "20f3e8e7a5e8ec10495a9740c71304bb910785c1c2fecdb678dbc08040ba4df8", - "signature": "20f3e8e7a5e8ec10495a9740c71304bb910785c1c2fecdb678dbc08040ba4df8", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts": { + "version": "213f651eadbf5736883d63725669993618c3516567ccbd5a43f68b4319d4c3ab", + "signature": "213f651eadbf5736883d63725669993618c3516567ccbd5a43f68b4319d4c3ab", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts": { - "version": "a2ae908421a0b34adc97fdb997bf4ba5f739c1609f26afabd8cffddf75eb6b2c", - "signature": "a2ae908421a0b34adc97fdb997bf4ba5f739c1609f26afabd8cffddf75eb6b2c", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts": { + "version": "25ea2cf6abce2a6cd833d6c9f5ab298352a90d51a53d2e67fb330d77bf2a74c1", + "signature": "25ea2cf6abce2a6cd833d6c9f5ab298352a90d51a53d2e67fb330d77bf2a74c1", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts": { - "version": "f28c53db804af1a03f44796f6e6974c625f78c5b2caf48da814be789c428de39", - "signature": "f28c53db804af1a03f44796f6e6974c625f78c5b2caf48da814be789c428de39", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/store/dist/ts3.9/index.d.ts": { + "version": "25ea2cf6abce2a6cd833d6c9f5ab298352a90d51a53d2e67fb330d77bf2a74c1", + "signature": "25ea2cf6abce2a6cd833d6c9f5ab298352a90d51a53d2e67fb330d77bf2a74c1", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts": { - "version": "d757d6d448845614be09acf8d59a25bc1889d9beb6435fca5273adf5746bdc26", - "signature": "d757d6d448845614be09acf8d59a25bc1889d9beb6435fca5273adf5746bdc26", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": { + "version": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", + "signature": "f9bc5842218fde992a60794f6a5d4510c95e205b042d2bfafcd20c0fb9c7f0d8", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts": { - "version": "1deb18d0229913a06465d88e51baa9bc79a697a809fa5a402229482faec4c7d0", - "signature": "1deb18d0229913a06465d88e51baa9bc79a697a809fa5a402229482faec4c7d0", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/csf/dist/index.d.ts": { + "version": "216708d627d353eaddcafce82bbafb950f8443d7070235624d2c7db1abd465d0", + "signature": "216708d627d353eaddcafce82bbafb950f8443d7070235624d2c7db1abd465d0", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts": { - "version": "da3c50cff44e0f5753cb68ede19138f180c44ee4a014385ce1827d807c843044", - "signature": "da3c50cff44e0f5753cb68ede19138f180c44ee4a014385ce1827d807c843044", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts": { + "version": "a61589f2b3c7ec013ab1a46956717bbfe2f9b227a8f4f7332009691078149bdc", + "signature": "a61589f2b3c7ec013ab1a46956717bbfe2f9b227a8f4f7332009691078149bdc", "affectsGlobalScope": false }, "../../node_modules/@types/qs/index.d.ts": { @@ -2686,29 +2551,49 @@ "signature": "ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts": { - "version": "e33895d3b72e4279114fba73981ecefef45a592b7f973e27d841523c18b2e560", - "signature": "e33895d3b72e4279114fba73981ecefef45a592b7f973e27d841523c18b2e560", + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts": { + "version": "2094ae647e2d1b8d07963784c2c8727ff617161c1aa5fda816cf0f5c488f5176", + "signature": "2094ae647e2d1b8d07963784c2c8727ff617161c1aa5fda816cf0f5c488f5176", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts": { + "version": "bcd6303d9800e015c698ffd617911da7d87231c52c0ca884cb2c64b6ebb288dc", + "signature": "bcd6303d9800e015c698ffd617911da7d87231c52c0ca884cb2c64b6ebb288dc", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts": { + "version": "3efc36769f2ba0ae41763d3befda58d0509972c0d6c059433726b14168371b2a", + "signature": "3efc36769f2ba0ae41763d3befda58d0509972c0d6c059433726b14168371b2a", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts": { + "version": "6f106ee9ec6b5fc4f5745e574cccf9d846f1a1bb3484dfd8caade3a19c427502", + "signature": "6f106ee9ec6b5fc4f5745e574cccf9d846f1a1bb3484dfd8caade3a19c427502", + "affectsGlobalScope": false + }, + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts": { + "version": "713e20c42e54c0360d35de18aa1ca71afc7982f022bddf1c2e3c37fd8672e3d7", + "signature": "713e20c42e54c0360d35de18aa1ca71afc7982f022bddf1c2e3c37fd8672e3d7", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts": { - "version": "e6f3da6fa9db4fd4b63ad8ef9827b36b45dd1ade9763f2c3060d76403bb9b6ef", - "signature": "e6f3da6fa9db4fd4b63ad8ef9827b36b45dd1ade9763f2c3060d76403bb9b6ef", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts": { + "version": "094a15f5b6c62289c79b09f77c3f15493234d20905c76cdc8ddbadce546586cd", + "signature": "094a15f5b6c62289c79b09f77c3f15493234d20905c76cdc8ddbadce546586cd", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts": { - "version": "444c4baad232757201b2aa08546b292adf9616238184d746589f9090d859ba35", - "signature": "444c4baad232757201b2aa08546b292adf9616238184d746589f9090d859ba35", + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts": { + "version": "da3c50cff44e0f5753cb68ede19138f180c44ee4a014385ce1827d807c843044", + "signature": "da3c50cff44e0f5753cb68ede19138f180c44ee4a014385ce1827d807c843044", "affectsGlobalScope": false }, - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts": { - "version": "007e18296bea27eba18e3a9d30b386b5459ba02cba689997af7e606f42b58d46", - "signature": "007e18296bea27eba18e3a9d30b386b5459ba02cba689997af7e606f42b58d46", + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts": { + "version": "5d9009d31d2ed1aa576238e48ee1685a333825bd094c78b6db0aa98753de5860", + "signature": "5d9009d31d2ed1aa576238e48ee1685a333825bd094c78b6db0aa98753de5860", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts": { - "version": "c166ee23297ea07f0679adc5a80932db2e19b1e1a08f23370f40d35990011f26", - "signature": "c166ee23297ea07f0679adc5a80932db2e19b1e1a08f23370f40d35990011f26", + "version": "4c18a046b90fcb997ce78a17593e15e017f9b650e208e7cec51fdd8ef8257906", + "signature": "4c18a046b90fcb997ce78a17593e15e017f9b650e208e7cec51fdd8ef8257906", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts": { @@ -2717,18 +2602,18 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/ArgsTable.d.ts": { - "version": "42c448398ce0db5e77c4ed5834cfd09942461e72e0ba12a2bca547cbb90154c7", - "signature": "42c448398ce0db5e77c4ed5834cfd09942461e72e0ba12a2bca547cbb90154c7", + "version": "d284f7f538dd0771280bfdaa16f2bce265e5a4c523cb811241add7ad9c49e1d2", + "signature": "d284f7f538dd0771280bfdaa16f2bce265e5a4c523cb811241add7ad9c49e1d2", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/SourceContainer.d.ts": { - "version": "97082fd774b3ee7e4a160b98e8e3251155422254f68aa3b287281db3e890b86c", - "signature": "97082fd774b3ee7e4a160b98e8e3251155422254f68aa3b287281db3e890b86c", + "version": "7ea37701766939dad12b398b26c679a0d764b14c1c0e1d5d7eb3e35e95cb192e", + "signature": "7ea37701766939dad12b398b26c679a0d764b14c1c0e1d5d7eb3e35e95cb192e", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Source.d.ts": { - "version": "f5dd06e95182d36f40a4a74e1101fc334912202ddde5f7df6e48530c1fa39c5c", - "signature": "f5dd06e95182d36f40a4a74e1101fc334912202ddde5f7df6e48530c1fa39c5c", + "version": "822292515243dddebacf8e96da95449e882faabbf6b4ba266dc814cd9d3804f2", + "signature": "822292515243dddebacf8e96da95449e882faabbf6b4ba266dc814cd9d3804f2", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Canvas.d.ts": { @@ -2737,8 +2622,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Description.d.ts": { - "version": "d6230bc7a3ec091c57dfd19bd4a8e99da6d46b9f9acf4ac4f968130fd709b320", - "signature": "d6230bc7a3ec091c57dfd19bd4a8e99da6d46b9f9acf4ac4f968130fd709b320", + "version": "f1a5745314d2c906c76dc0ecda7331f660b9be0af48a555b1780246cc69b1569", + "signature": "f1a5745314d2c906c76dc0ecda7331f660b9be0af48a555b1780246cc69b1569", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsPage.d.ts": { @@ -2747,8 +2632,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContainer.d.ts": { - "version": "cb298cdb732f2db041567593b18557d35d16f07d152f7e2e3f9aa865a845d8ea", - "signature": "cb298cdb732f2db041567593b18557d35d16f07d152f7e2e3f9aa865a845d8ea", + "version": "0be3739571e690815667caa86a2d958059eb865fc3c3b91b4bf273db39ca5974", + "signature": "0be3739571e690815667caa86a2d958059eb865fc3c3b91b4bf273db39ca5974", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsStory.d.ts": { @@ -2762,8 +2647,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Meta.d.ts": { - "version": "b90bfb92913223bed1067c21c47d831209e691e42729cf43e1c4df3dc69a76cc", - "signature": "b90bfb92913223bed1067c21c47d831209e691e42729cf43e1c4df3dc69a76cc", + "version": "8af18e43d163770210c864cf20ca38af96a1305e9fc859ba85df22e380bd45a1", + "signature": "8af18e43d163770210c864cf20ca38af96a1305e9fc859ba85df22e380bd45a1", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Preview.d.ts": { @@ -2787,8 +2672,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Story.d.ts": { - "version": "d7632a180afe148ac9db67831b7e80c344cd3a2aa7f3ecf75930ca2fea6e8e56", - "signature": "d7632a180afe148ac9db67831b7e80c344cd3a2aa7f3ecf75930ca2fea6e8e56", + "version": "732e4524604e3d7a71cf50ec583b7ca82bd39572c235d9cf76dbccbb141dac92", + "signature": "732e4524604e3d7a71cf50ec583b7ca82bd39572c235d9cf76dbccbb141dac92", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Subheading.d.ts": { @@ -2802,8 +2687,8 @@ "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Title.d.ts": { - "version": "49ad7872d5f60faa6531a8302902378548f0bf4b74d1592116b93bab0a8a16c4", - "signature": "49ad7872d5f60faa6531a8302902378548f0bf4b74d1592116b93bab0a8a16c4", + "version": "07ab0395291d10512686216bbfe42dbccd360361b73b0b99660a83ab44298db6", + "signature": "07ab0395291d10512686216bbfe42dbccd360361b73b0b99660a83ab44298db6", "affectsGlobalScope": false }, "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Wrapper.d.ts": { @@ -2836,6 +2721,11 @@ "signature": "b617398f019ba82a097256ca24979b66757355c5a665134acb94dc7350c39077", "affectsGlobalScope": false }, + "../../node_modules/@types/js-beautify/index.d.ts": { + "version": "d1f1f5d242211b8fac9e851f81788804b5e70ccbc235f6b554c040d5b8189a9e", + "signature": "d1f1f5d242211b8fac9e851f81788804b5e70ccbc235f6b554c040d5b8189a9e", + "affectsGlobalScope": false + }, "../../node_modules/@types/react-syntax-highlighter/index.d.ts": { "version": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8", "signature": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8", @@ -2846,9 +2736,19 @@ "signature": "c049825db31784c6ac8c54a28a5eefbed58217ba48e0593cecd1d3e4a2643667", "affectsGlobalScope": false }, + "../../node_modules/magic-string/index.d.ts": { + "version": "df66dd87e5338e59ca0550af424ba22c59a8f4b30b20a214b6ed250562b7c755", + "signature": "df66dd87e5338e59ca0550af424ba22c59a8f4b30b20a214b6ed250562b7c755", + "affectsGlobalScope": false + }, + "../../node_modules/@types/buble/index.d.ts": { + "version": "4df33232578477b818eb7d40c8558ccf4afde30e920f9503cd359307a1771d8a", + "signature": "4df33232578477b818eb7d40c8558ccf4afde30e920f9503cd359307a1771d8a", + "affectsGlobalScope": false + }, "../../node_modules/react-live/typings/react-live.d.ts": { - "version": "bb57f31fbd25d406dc0235b29487ab8657a21a04243f1497583582d58ab31188", - "signature": "bb57f31fbd25d406dc0235b29487ab8657a21a04243f1497583582d58ab31188", + "version": "b013051875308e8aaff1b6f36138118d20d56df97e517d4010a3b7541a9760c0", + "signature": "b013051875308e8aaff1b6f36138118d20d56df97e517d4010a3b7541a9760c0", "affectsGlobalScope": false }, "../../node_modules/@types/lz-string/index.d.ts": { @@ -2857,12 +2757,12 @@ "affectsGlobalScope": false }, "../../core/utils/docPage/sandbox.tsx": { - "version": "6c70e10e6aa88f898b74ed02875eb1800c7708662aaf1f1d61bcba67a28f134e", + "version": "ed47c74362e4b3726d6d63f7f7475b50f14f345c1dc5f20fb660a9ec3442d09c", "signature": "ec75976cfd242c0840083d2bbb758c4799f37de71948af17eef2327c93663ec3", "affectsGlobalScope": false }, "../../core/utils/docPage/index.tsx": { - "version": "b38790a338611a5cf3e1f001f60a35813348cc937ad80d93140b18fb1aa1ff2d", + "version": "ef1324a911b4d142c8ca5d94c5c9a6e4e28b55eaef4d1cb6b188c288fa39327f", "signature": "d793df693e1f566f2a7fd586a5ba76f93009c359e9795372d49bb1dafa1d2c00", "affectsGlobalScope": false }, @@ -2887,8 +2787,8 @@ "affectsGlobalScope": true }, "../../node_modules/@types/testing-library__jest-dom/index.d.ts": { - "version": "40bbeaccf39d6ad00da30e96553f0c4aa1b8a87535393c7fdf939170b639c95d", - "signature": "40bbeaccf39d6ad00da30e96553f0c4aa1b8a87535393c7fdf939170b639c95d", + "version": "dd4d769260a2b8cf19f0d2457f3142b24f083237932b0d1edb5fd728a989c8bd", + "signature": "dd4d769260a2b8cf19f0d2457f3142b24f083237932b0d1edb5fd728a989c8bd", "affectsGlobalScope": true }, "../../scripts/setupTest.ts": { @@ -2897,8 +2797,8 @@ "affectsGlobalScope": false }, "../../node_modules/@babel/types/lib/index.d.ts": { - "version": "7bfbdf19a5d95af4976a0c32188b836f66bd190cd94643ee06321ef0024d0deb", - "signature": "7bfbdf19a5d95af4976a0c32188b836f66bd190cd94643ee06321ef0024d0deb", + "version": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54", + "signature": "272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54", "affectsGlobalScope": false }, "../../node_modules/@types/babel__generator/index.d.ts": { @@ -2907,8 +2807,8 @@ "affectsGlobalScope": false }, "../../node_modules/@babel/parser/typings/babel-parser.d.ts": { - "version": "9ed0773022bff64bccb1f4dc772d584c4bfba68bb7f6a82cd17334c925954b96", - "signature": "9ed0773022bff64bccb1f4dc772d584c4bfba68bb7f6a82cd17334c925954b96", + "version": "64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45", + "signature": "64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45", "affectsGlobalScope": false }, "../../node_modules/@types/babel__template/index.d.ts": { @@ -2922,38 +2822,13 @@ "affectsGlobalScope": false }, "../../node_modules/@types/babel__core/index.d.ts": { - "version": "71c56bdaa82d7ce75a72d3c06c04fe10becec09bd9c4ef21776a2a055d3f428e", - "signature": "71c56bdaa82d7ce75a72d3c06c04fe10becec09bd9c4ef21776a2a055d3f428e", - "affectsGlobalScope": false - }, - "../../node_modules/@types/braces/index.d.ts": { - "version": "40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281", - "signature": "40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281", - "affectsGlobalScope": false - }, - "../../node_modules/@types/color-name/index.d.ts": { - "version": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e", - "signature": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e", - "affectsGlobalScope": false - }, - "../../node_modules/@types/color-convert/conversions.d.ts": { - "version": "92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69", - "signature": "92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69", - "affectsGlobalScope": false - }, - "../../node_modules/@types/color-convert/route.d.ts": { - "version": "8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012", - "signature": "8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012", - "affectsGlobalScope": false - }, - "../../node_modules/@types/color-convert/index.d.ts": { - "version": "92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9", - "signature": "92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9", + "version": "80164ffebe1723a50e020a648e0623c026ff39be13c5cd45e6a82d0fcc06e2d0", + "signature": "80164ffebe1723a50e020a648e0623c026ff39be13c5cd45e6a82d0fcc06e2d0", "affectsGlobalScope": false }, - "../../node_modules/@types/estree/index.d.ts": { - "version": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b", - "signature": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b", + "../../node_modules/@types/node/assert.d.ts": { + "version": "0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9", + "signature": "0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9", "affectsGlobalScope": false }, "../../node_modules/@types/node/assert/strict.d.ts": { @@ -2962,33 +2837,33 @@ "affectsGlobalScope": false }, "../../node_modules/@types/node/globals.d.ts": { - "version": "bf629ebbac2c65601bcb5c032644023a2b4b3b1151c0d1bf60ced7c35cc81b5d", - "signature": "bf629ebbac2c65601bcb5c032644023a2b4b3b1151c0d1bf60ced7c35cc81b5d", + "version": "92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4", + "signature": "92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4", "affectsGlobalScope": true }, "../../node_modules/@types/node/async_hooks.d.ts": { - "version": "0ddef426964b396f57357b9e61209dd558f7652dd06af5a35893d296c29dff7a", - "signature": "0ddef426964b396f57357b9e61209dd558f7652dd06af5a35893d296c29dff7a", + "version": "ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be", + "signature": "ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be", "affectsGlobalScope": false }, "../../node_modules/@types/node/buffer.d.ts": { - "version": "b0f339dfc10ee8baac59f7d37d24d963216311b8894a776bc0ed18b77de81fe2", - "signature": "b0f339dfc10ee8baac59f7d37d24d963216311b8894a776bc0ed18b77de81fe2", + "version": "9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303", + "signature": "9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303", "affectsGlobalScope": true }, "../../node_modules/@types/node/child_process.d.ts": { - "version": "ca3b86d3300cb6817ee3d161421db0b4994d168fb5820a33c89743bc73716292", - "signature": "ca3b86d3300cb6817ee3d161421db0b4994d168fb5820a33c89743bc73716292", + "version": "95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216", + "signature": "95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216", "affectsGlobalScope": false }, "../../node_modules/@types/node/cluster.d.ts": { - "version": "3669eaf567a388a01c91df316093c2c8f565ba4c27a4ae0866e45ec932472b15", - "signature": "3669eaf567a388a01c91df316093c2c8f565ba4c27a4ae0866e45ec932472b15", + "version": "afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565", + "signature": "afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565", "affectsGlobalScope": false }, "../../node_modules/@types/node/console.d.ts": { - "version": "5012207e217a67f821855e1ce3059e089953847e1ce0adff8186a46c459e96f7", - "signature": "5012207e217a67f821855e1ce3059e089953847e1ce0adff8186a46c459e96f7", + "version": "34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e", + "signature": "34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e", "affectsGlobalScope": true }, "../../node_modules/@types/node/constants.d.ts": { @@ -2997,123 +2872,123 @@ "affectsGlobalScope": false }, "../../node_modules/@types/node/crypto.d.ts": { - "version": "c9ea3bedb7f5bfb493e375136dc70723bded041efc311c654d06ab7a7d0280d8", - "signature": "c9ea3bedb7f5bfb493e375136dc70723bded041efc311c654d06ab7a7d0280d8", + "version": "2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f", + "signature": "2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f", "affectsGlobalScope": false }, "../../node_modules/@types/node/dgram.d.ts": { - "version": "decd29e5c9dfd0159e88721a4986dff6b58d255012ade0cacba7130dc7abe3c1", - "signature": "decd29e5c9dfd0159e88721a4986dff6b58d255012ade0cacba7130dc7abe3c1", + "version": "f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf", + "signature": "f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf", "affectsGlobalScope": false }, "../../node_modules/@types/node/diagnostics_channel.d.ts": { - "version": "7ed1067f8c4acf58cdaf97c0a755445a56a61b54ef70d59da7aa73743912b189", - "signature": "7ed1067f8c4acf58cdaf97c0a755445a56a61b54ef70d59da7aa73743912b189", + "version": "2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90", + "signature": "2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90", "affectsGlobalScope": false }, "../../node_modules/@types/node/dns.d.ts": { - "version": "71e7ae0849476c298e522bc8a7b29e85a982f7b9ec90a133bf8f45a8c25d01c9", - "signature": "71e7ae0849476c298e522bc8a7b29e85a982f7b9ec90a133bf8f45a8c25d01c9", + "version": "76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409", + "signature": "76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409", "affectsGlobalScope": false }, "../../node_modules/@types/node/dns/promises.d.ts": { - "version": "95f59cb29266f9a11b4eadd67b6b96268d8a0e0ab99a933df0d9b7ec5a42806b", - "signature": "95f59cb29266f9a11b4eadd67b6b96268d8a0e0ab99a933df0d9b7ec5a42806b", + "version": "0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122", + "signature": "0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122", "affectsGlobalScope": false }, "../../node_modules/@types/node/domain.d.ts": { - "version": "9c158ac9bc84d33422b85d4f274f47790e59b9729e739d4fc3f3abff8770d270", - "signature": "9c158ac9bc84d33422b85d4f274f47790e59b9729e739d4fc3f3abff8770d270", + "version": "6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be", + "signature": "6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be", "affectsGlobalScope": false }, "../../node_modules/@types/node/events.d.ts": { - "version": "a976ad617bce5d95209068df27cb6ad69e367f2a72e193c7dbabb73dc35b533c", - "signature": "a976ad617bce5d95209068df27cb6ad69e367f2a72e193c7dbabb73dc35b533c", + "version": "4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c", + "signature": "4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c", "affectsGlobalScope": true }, "../../node_modules/@types/node/fs.d.ts": { - "version": "ae970d705be0b31839d7e773efc751ab00438f5c1ff36577cc2ac72c3156c44b", - "signature": "ae970d705be0b31839d7e773efc751ab00438f5c1ff36577cc2ac72c3156c44b", + "version": "80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00", + "signature": "80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00", "affectsGlobalScope": false }, "../../node_modules/@types/node/fs/promises.d.ts": { - "version": "252892c3bc1a3322a655e887671e4bb5dcaf7dcd5a6f5a78d210c64419733a8d", - "signature": "252892c3bc1a3322a655e887671e4bb5dcaf7dcd5a6f5a78d210c64419733a8d", + "version": "a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083", + "signature": "a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083", "affectsGlobalScope": false }, "../../node_modules/@types/node/http.d.ts": { - "version": "f7d60b8a9be58779e95cce126c4a3c985497556257c4e323aa836e419f26e3aa", - "signature": "f7d60b8a9be58779e95cce126c4a3c985497556257c4e323aa836e419f26e3aa", + "version": "b9b963043551b034abd9e7c6d859f7a81d99479fde938d983114d167d0644a78", + "signature": "b9b963043551b034abd9e7c6d859f7a81d99479fde938d983114d167d0644a78", "affectsGlobalScope": false }, "../../node_modules/@types/node/http2.d.ts": { - "version": "d421d2324434c851830535137ff327b6cc4e9eaa428745300ccb478d0113cb4b", - "signature": "d421d2324434c851830535137ff327b6cc4e9eaa428745300ccb478d0113cb4b", + "version": "b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b", + "signature": "b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b", "affectsGlobalScope": false }, "../../node_modules/@types/node/https.d.ts": { - "version": "2b8374271ab2a2fff2efa2eca782782d94157121d7a12b7ec4827c8ba1a87abb", - "signature": "2b8374271ab2a2fff2efa2eca782782d94157121d7a12b7ec4827c8ba1a87abb", + "version": "4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd", + "signature": "4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd", "affectsGlobalScope": false }, "../../node_modules/@types/node/inspector.d.ts": { - "version": "ed3129f404bfea369c236104e125d5f3885d78540f8f37d3c7e90f0c2449b50f", - "signature": "ed3129f404bfea369c236104e125d5f3885d78540f8f37d3c7e90f0c2449b50f", + "version": "a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241", + "signature": "a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241", "affectsGlobalScope": false }, "../../node_modules/@types/node/module.d.ts": { - "version": "241dce6950eeec0a86f8c8f292b0e865b710083f0e3850decec889b46914a520", - "signature": "241dce6950eeec0a86f8c8f292b0e865b710083f0e3850decec889b46914a520", + "version": "e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5", + "signature": "e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5", "affectsGlobalScope": true }, "../../node_modules/@types/node/net.d.ts": { - "version": "298ca2d6112d194797d0e2eebf54867c84ac18fd0b60eb6e001467e8b5addcf7", - "signature": "298ca2d6112d194797d0e2eebf54867c84ac18fd0b60eb6e001467e8b5addcf7", + "version": "902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2", + "signature": "902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2", "affectsGlobalScope": false }, "../../node_modules/@types/node/os.d.ts": { - "version": "8e8df21b9513f0a1de0e9bad48243f8aad8c065c7ab695074e7a6c276596cc62", - "signature": "8e8df21b9513f0a1de0e9bad48243f8aad8c065c7ab695074e7a6c276596cc62", + "version": "abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6", + "signature": "abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6", "affectsGlobalScope": false }, "../../node_modules/@types/node/path.d.ts": { - "version": "1b7690edef33f9d150a4ac170d662a9dffedc08e4c9504ece603785007ffdba1", - "signature": "1b7690edef33f9d150a4ac170d662a9dffedc08e4c9504ece603785007ffdba1", + "version": "cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939", + "signature": "cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939", "affectsGlobalScope": false }, "../../node_modules/@types/node/perf_hooks.d.ts": { - "version": "62d37937d7321b1df75292b92eb984babf32302748f200d8aabf67328b37bed0", - "signature": "62d37937d7321b1df75292b92eb984babf32302748f200d8aabf67328b37bed0", + "version": "94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99", + "signature": "94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99", "affectsGlobalScope": false }, "../../node_modules/@types/node/process.d.ts": { - "version": "e8a92400cdf00bbbcc93ec1c57f8bad21cc0723c959ebc5da165ae3aa190e5a4", - "signature": "e8a92400cdf00bbbcc93ec1c57f8bad21cc0723c959ebc5da165ae3aa190e5a4", + "version": "bd1a08e30569b0fb2f0b21035eb9b039871f68faa9b98accf847e9c878c5e0a9", + "signature": "bd1a08e30569b0fb2f0b21035eb9b039871f68faa9b98accf847e9c878c5e0a9", "affectsGlobalScope": true }, "../../node_modules/@types/node/punycode.d.ts": { - "version": "d1b323391b9604f2fa2cca0ddf206a951feb745fd36d400677447436cc7b4f8d", - "signature": "d1b323391b9604f2fa2cca0ddf206a951feb745fd36d400677447436cc7b4f8d", + "version": "9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492", + "signature": "9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492", "affectsGlobalScope": false }, "../../node_modules/@types/node/querystring.d.ts": { - "version": "760bf13f54eafb24321fdc0d74e3293e3f2030527729a351370377169fc1442c", - "signature": "760bf13f54eafb24321fdc0d74e3293e3f2030527729a351370377169fc1442c", + "version": "ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553", + "signature": "ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553", "affectsGlobalScope": false }, "../../node_modules/@types/node/readline.d.ts": { - "version": "0b28384ffe11674b35d97b9f91248d3f00f823fc4ffc67070e71206a5c7e6305", - "signature": "0b28384ffe11674b35d97b9f91248d3f00f823fc4ffc67070e71206a5c7e6305", + "version": "29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324", + "signature": "29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324", "affectsGlobalScope": false }, "../../node_modules/@types/node/repl.d.ts": { - "version": "695bfa2ca7a20a9d4e43f3b7a8af58ce76b12e094b07203bd9bf47345cba7626", - "signature": "695bfa2ca7a20a9d4e43f3b7a8af58ce76b12e094b07203bd9bf47345cba7626", + "version": "0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3", + "signature": "0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3", "affectsGlobalScope": false }, "../../node_modules/@types/node/stream.d.ts": { - "version": "187acc08c6fc060163b8df4c5103b4228b25d669efc74e31b84479a55ffa11af", - "signature": "187acc08c6fc060163b8df4c5103b4228b25d669efc74e31b84479a55ffa11af", + "version": "d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139", + "signature": "d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139", "affectsGlobalScope": false }, "../../node_modules/@types/node/stream/promises.d.ts": { @@ -3121,64 +2996,79 @@ "signature": "1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff", "affectsGlobalScope": false }, + "../../node_modules/@types/node/stream/consumers.d.ts": { + "version": "806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0", + "signature": "806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0", + "affectsGlobalScope": true + }, + "../../node_modules/@types/node/stream/web.d.ts": { + "version": "a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050", + "signature": "a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050", + "affectsGlobalScope": false + }, "../../node_modules/@types/node/string_decoder.d.ts": { - "version": "912e95aafa5d85e0636eab990cdcfe2f288310dcd9ee5b7c028d8231e179e967", - "signature": "912e95aafa5d85e0636eab990cdcfe2f288310dcd9ee5b7c028d8231e179e967", + "version": "c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637", + "signature": "c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637", "affectsGlobalScope": false }, "../../node_modules/@types/node/timers.d.ts": { - "version": "93c6f408623f52df4fd29ed34f3e9cabbe2f4041a6c58ffe9df0f565bad441df", - "signature": "93c6f408623f52df4fd29ed34f3e9cabbe2f4041a6c58ffe9df0f565bad441df", + "version": "b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc", + "signature": "b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc", "affectsGlobalScope": true }, "../../node_modules/@types/node/timers/promises.d.ts": { - "version": "009f2558b6ae78151e24cc2f1a43bac7599a0a65ddffa9707a924ca1e354d4b2", - "signature": "009f2558b6ae78151e24cc2f1a43bac7599a0a65ddffa9707a924ca1e354d4b2", + "version": "664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980", + "signature": "664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980", "affectsGlobalScope": false }, "../../node_modules/@types/node/tls.d.ts": { - "version": "21ac36b32a69c93318314047186a9ee6d69d9644dab7cd8d8dc256e1031545a6", - "signature": "21ac36b32a69c93318314047186a9ee6d69d9644dab7cd8d8dc256e1031545a6", + "version": "2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11", + "signature": "2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11", "affectsGlobalScope": false }, "../../node_modules/@types/node/trace_events.d.ts": { - "version": "4b465e7d07abea8e7cfe4e50a63b901a0a32e283f8a81eb7f569e623dc2a6a6a", - "signature": "4b465e7d07abea8e7cfe4e50a63b901a0a32e283f8a81eb7f569e623dc2a6a6a", + "version": "998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151", + "signature": "998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151", "affectsGlobalScope": false }, "../../node_modules/@types/node/tty.d.ts": { - "version": "0fe8b060f4143dcccc5e64f53cb630059304f9b52576cefd9ac5816b0e067c7f", - "signature": "0fe8b060f4143dcccc5e64f53cb630059304f9b52576cefd9ac5816b0e067c7f", + "version": "ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4", + "signature": "ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4", "affectsGlobalScope": false }, "../../node_modules/@types/node/url.d.ts": { - "version": "8e140f571d87ed63406cdb71a35790c40055f2a1b1e01269f93ba2fce6338f15", - "signature": "8e140f571d87ed63406cdb71a35790c40055f2a1b1e01269f93ba2fce6338f15", + "version": "d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21", + "signature": "d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21", "affectsGlobalScope": false }, "../../node_modules/@types/node/util.d.ts": { - "version": "1275061127b8f7878a6f745bd85a7053d17cc757037815fdceb532881d3062a6", - "signature": "1275061127b8f7878a6f745bd85a7053d17cc757037815fdceb532881d3062a6", + "version": "badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e", + "signature": "badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e", "affectsGlobalScope": false }, "../../node_modules/@types/node/v8.d.ts": { - "version": "0a8c5fb0f16e51973f22f2e01791b9e8376203514e4b72f65a451afebc29f5a0", - "signature": "0a8c5fb0f16e51973f22f2e01791b9e8376203514e4b72f65a451afebc29f5a0", + "version": "c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2", + "signature": "c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2", "affectsGlobalScope": false }, "../../node_modules/@types/node/vm.d.ts": { - "version": "c19d3a3bb01ac8c5d244c31eac930c451110a58b76ff7a2b82bdffed082e36f6", - "signature": "c19d3a3bb01ac8c5d244c31eac930c451110a58b76ff7a2b82bdffed082e36f6", + "version": "235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0", + "signature": "235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0", + "affectsGlobalScope": false + }, + "../../node_modules/@types/node/wasi.d.ts": { + "version": "bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1", + "signature": "bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1", "affectsGlobalScope": false }, "../../node_modules/@types/node/worker_threads.d.ts": { - "version": "8ca49a6223d59be5b7228ad99800f01982a1f350eb61c1a195e77547121877bb", - "signature": "8ca49a6223d59be5b7228ad99800f01982a1f350eb61c1a195e77547121877bb", + "version": "9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958", + "signature": "9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958", "affectsGlobalScope": false }, "../../node_modules/@types/node/zlib.d.ts": { - "version": "55d6f9768363cf0356f4c9fff535ed3c24c67c782a566238cd08fa11a6111940", - "signature": "55d6f9768363cf0356f4c9fff535ed3c24c67c782a566238cd08fa11a6111940", + "version": "c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c", + "signature": "c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c", "affectsGlobalScope": false }, "../../node_modules/@types/node/globals.global.d.ts": { @@ -3186,44 +3076,69 @@ "signature": "ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e", "affectsGlobalScope": true }, - "../../node_modules/@types/node/wasi.d.ts": { - "version": "437c2700eaa23c440e97dd4ba5883c75ee82fe8b64772af7bebaa99410776705", - "signature": "437c2700eaa23c440e97dd4ba5883c75ee82fe8b64772af7bebaa99410776705", + "../../node_modules/@types/node/index.d.ts": { + "version": "1cdb8f094b969dcc183745dc88404e2d8fcf2a858c6e7cc2441011476573238e", + "signature": "1cdb8f094b969dcc183745dc88404e2d8fcf2a858c6e7cc2441011476573238e", "affectsGlobalScope": false }, - "../../node_modules/@types/node/ts3.6/base.d.ts": { - "version": "de0e63feaddfdf1a7a92071f6e7897d86ca497499116433e99fe15bf4af32e01", - "signature": "de0e63feaddfdf1a7a92071f6e7897d86ca497499116433e99fe15bf4af32e01", + "../../node_modules/keyv/src/index.d.ts": { + "version": "92edb6e257fa64d3baae647490e041912684f5dc1f243d0aedd60b4b383ff50b", + "signature": "92edb6e257fa64d3baae647490e041912684f5dc1f243d0aedd60b4b383ff50b", "affectsGlobalScope": false }, - "../../node_modules/@types/node/assert.d.ts": { - "version": "6b7029d09218b4187ca45dcde322bc413561b419551e0a6c938d72af37d53817", - "signature": "6b7029d09218b4187ca45dcde322bc413561b419551e0a6c938d72af37d53817", + "../../node_modules/@types/http-cache-semantics/index.d.ts": { + "version": "cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae", + "signature": "cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae", "affectsGlobalScope": false }, - "../../node_modules/@types/node/base.d.ts": { - "version": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "signature": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", + "../../node_modules/@types/responselike/index.d.ts": { + "version": "3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971", + "signature": "3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971", "affectsGlobalScope": false }, - "../../node_modules/@types/node/index.d.ts": { - "version": "73e8de7786fd2ba696ea4fbd96f0a157b4fc148a25255b8c9199cb69423a7fce", - "signature": "73e8de7786fd2ba696ea4fbd96f0a157b4fc148a25255b8c9199cb69423a7fce", + "../../node_modules/@types/cacheable-request/index.d.ts": { + "version": "f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562", + "signature": "f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562", "affectsGlobalScope": false }, - "../../node_modules/@types/minimatch/index.d.ts": { - "version": "8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649", - "signature": "8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649", + "../../node_modules/@types/color-name/index.d.ts": { + "version": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e", + "signature": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e", "affectsGlobalScope": false }, - "../../node_modules/@types/glob/index.d.ts": { - "version": "725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45", - "signature": "725b884357ba84171341a8e4cc08edf11417854fd069842ca6d22afb2e340e45", + "../../node_modules/@types/color-convert/conversions.d.ts": { + "version": "92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69", + "signature": "92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69", + "affectsGlobalScope": false + }, + "../../node_modules/@types/color-convert/route.d.ts": { + "version": "8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012", + "signature": "8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012", + "affectsGlobalScope": false + }, + "../../node_modules/@types/color-convert/index.d.ts": { + "version": "92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9", + "signature": "92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/emscripten/index.d.ts": { + "version": "82fcf338bc21711d93d65f981a7182f9942d3ac1f268c4480537c9b62c89d10d", + "signature": "82fcf338bc21711d93d65f981a7182f9942d3ac1f268c4480537c9b62c89d10d", + "affectsGlobalScope": true + }, + "../../node_modules/@types/estree/index.d.ts": { + "version": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b", + "signature": "89ccbe04e737ce613f5f04990271cfa84901446350b8551b0555ddf19319723b", + "affectsGlobalScope": false + }, + "../../node_modules/@types/minimatch/index.d.ts": { + "version": "963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e", + "signature": "963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e", "affectsGlobalScope": false }, - "../../node_modules/@types/glob-base/index.d.ts": { - "version": "d1ae472dde31ac39e68d52e1e21dcccba3989d146b7b8472f03525d0caad1775", - "signature": "d1ae472dde31ac39e68d52e1e21dcccba3989d146b7b8472f03525d0caad1775", + "../../node_modules/@types/glob/index.d.ts": { + "version": "a55ca8b5f8c6a8535bb26fac1e10132a5338234ca3d5b9ed739fbc8ef41c8075", + "signature": "a55ca8b5f8c6a8535bb26fac1e10132a5338234ca3d5b9ed739fbc8ef41c8075", "affectsGlobalScope": false }, "../../node_modules/@types/graceful-fs/index.d.ts": { @@ -3237,8 +3152,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/hast/index.d.ts": { - "version": "ac295e0d29ca135d7dca2069a6e57943ed18800754dbe8fcb3974fb9ce497c3c", - "signature": "ac295e0d29ca135d7dca2069a6e57943ed18800754dbe8fcb3974fb9ce497c3c", + "version": "3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0", + "signature": "3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0", "affectsGlobalScope": false }, "../../node_modules/@types/html-minifier-terser/index.d.ts": { @@ -3247,8 +3162,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/is-function/index.d.ts": { - "version": "11ef35fa1e8aef8229ce6b62ac1a6a0761d1d4bb4de1538bce6d10762a919139", - "signature": "11ef35fa1e8aef8229ce6b62ac1a6a0761d1d4bb4de1538bce6d10762a919139", + "version": "de1d6e224048139baf7494237a9231be6bab9e990fb239c7825bfd38b06d8c90", + "signature": "de1d6e224048139baf7494237a9231be6bab9e990fb239c7825bfd38b06d8c90", "affectsGlobalScope": false }, "../../node_modules/@types/istanbul-lib-coverage/index.d.ts": { @@ -3267,23 +3182,83 @@ "affectsGlobalScope": false }, "../../node_modules/@types/json-schema/index.d.ts": { - "version": "a185ebc69c9f6798ebd67bfdfd72a37457dc67c23459784783c7128ae9bd5250", - "signature": "a185ebc69c9f6798ebd67bfdfd72a37457dc67c23459784783c7128ae9bd5250", + "version": "0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4", + "signature": "0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4", "affectsGlobalScope": false }, - "../../node_modules/@types/markdown-to-jsx/index.d.ts": { - "version": "9c138947e4cf970491111d971aa615db8353c7f0efc72bd84d8ad6e4743079c5", - "signature": "9c138947e4cf970491111d971aa615db8353c7f0efc72bd84d8ad6e4743079c5", + "../../node_modules/@types/keyv/index.d.ts": { + "version": "fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4", + "signature": "fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4", "affectsGlobalScope": false }, - "../../node_modules/@types/mdast/index.d.ts": { - "version": "cee164cd6c157d0ce3d3350c1df75dee40d2da203223a72890430ec6d8ccf4a1", - "signature": "cee164cd6c157d0ce3d3350c1df75dee40d2da203223a72890430ec6d8ccf4a1", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts": { + "version": "675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8", + "signature": "675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8", "affectsGlobalScope": false }, - "../../node_modules/@types/micromatch/index.d.ts": { - "version": "1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4", - "signature": "1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4", + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts": { + "version": "458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22", + "signature": "458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts": { + "version": "d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f", + "signature": "d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts": { + "version": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", + "signature": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts": { + "version": "febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6", + "signature": "febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts": { + "version": "98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3", + "signature": "98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts": { + "version": "0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e", + "signature": "0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts": { + "version": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", + "signature": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts": { + "version": "7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f", + "signature": "7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts": { + "version": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", + "signature": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts": { + "version": "3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019", + "signature": "3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts": { + "version": "df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9", + "signature": "df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/lodash/ts4.2/index.d.ts": { + "version": "6200960745bf1d8f99adecc0e7ecabf002d0bd641bd9d44ae27273988743ec56", + "signature": "6200960745bf1d8f99adecc0e7ecabf002d0bd641bd9d44ae27273988743ec56", + "affectsGlobalScope": true + }, + "../../node_modules/@types/mdast/index.d.ts": { + "version": "2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63", + "signature": "2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63", "affectsGlobalScope": false }, "../../node_modules/@types/minimist/index.d.ts": { @@ -3297,13 +3272,13 @@ "affectsGlobalScope": false }, "../../node_modules/@types/node-fetch/externals.d.ts": { - "version": "208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71", - "signature": "208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71", + "version": "3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77", + "signature": "3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77", "affectsGlobalScope": false }, "../../node_modules/@types/node-fetch/index.d.ts": { - "version": "062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b", - "signature": "062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b", + "version": "3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568", + "signature": "3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568", "affectsGlobalScope": false }, "../../node_modules/@types/normalize-package-data/index.d.ts": { @@ -3331,77 +3306,367 @@ "signature": "c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26", "affectsGlobalScope": false }, - "../../node_modules/@types/prettier/index.d.ts": { - "version": "29651525db5579157e617c77e869af8bfdc1130f5d811c1f759ad35b7bafc8ef", - "signature": "29651525db5579157e617c77e869af8bfdc1130f5d811c1f759ad35b7bafc8ef", - "affectsGlobalScope": false - }, "../../node_modules/@types/pretty-hrtime/index.d.ts": { "version": "c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f", "signature": "c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f", "affectsGlobalScope": false }, - "../../node_modules/@types/resolve/index.d.ts": { - "version": "2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761", - "signature": "2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761", + "../../node_modules/@types/reach__router/index.d.ts": { + "version": "94a274c882504de552300fc5d6be141820041e9e2c530064ea10a0b76e2f905f", + "signature": "94a274c882504de552300fc5d6be141820041e9e2c530064ea10a0b76e2f905f", "affectsGlobalScope": false }, - "../../node_modules/@types/scheduler/index.d.ts": { - "version": "74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57", - "signature": "74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57", + "../../node_modules/@types/reactcss/index.d.ts": { + "version": "ebe77545478bf39a23059a3b0ea03d2c0e502d9c8e1122015e19213cd0815097", + "signature": "ebe77545478bf39a23059a3b0ea03d2c0e502d9c8e1122015e19213cd0815097", "affectsGlobalScope": false }, - "../../node_modules/@types/source-list-map/index.d.ts": { - "version": "67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae", - "signature": "67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae", + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts": { + "version": "ad8c69f4a471cafdf093acdcdf3b444ae56b227b92024ae45f8c9c9c8be8afcc", + "signature": "ad8c69f4a471cafdf093acdcdf3b444ae56b227b92024ae45f8c9c9c8be8afcc", "affectsGlobalScope": false }, - "../../node_modules/@types/stack-utils/index.d.ts": { - "version": "41422586881bcd739b4e62d9b91cd29909f8572aa3e3cdf316b7c50f14708d49", - "signature": "41422586881bcd739b4e62d9b91cd29909f8572aa3e3cdf316b7c50f14708d49", + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts": { + "version": "71a6149f67a64b55baeddb83e5254e9e017c80c15a260d6f6b3a12deb3a575ed", + "signature": "71a6149f67a64b55baeddb83e5254e9e017c80c15a260d6f6b3a12deb3a575ed", "affectsGlobalScope": false }, - "../../node_modules/@types/tapable/index.d.ts": { - "version": "3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67", - "signature": "3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67", + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts": { + "version": "6c881abb4a0e7579a9d5b63a7e4da3d98b094adf0f1d1fa75bbe433b9f3d7c27", + "signature": "6c881abb4a0e7579a9d5b63a7e4da3d98b094adf0f1d1fa75bbe433b9f3d7c27", "affectsGlobalScope": false }, - "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts": { - "version": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", - "signature": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts": { + "version": "66d6844502d7764a8e02b632228c4c5a95f7cac7bce1a0db07f0dcc377d3755b", + "signature": "66d6844502d7764a8e02b632228c4c5a95f7cac7bce1a0db07f0dcc377d3755b", "affectsGlobalScope": false }, - "../../node_modules/@types/uglify-js/index.d.ts": { - "version": "9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36", - "signature": "9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36", + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts": { + "version": "2e1be3fee9ccef82555b2f039e8e100e0a176ee2d18b0de95e7da6a61e1e360a", + "signature": "2e1be3fee9ccef82555b2f039e8e100e0a176ee2d18b0de95e7da6a61e1e360a", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts": { - "version": "4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349", - "signature": "4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349", + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts": { + "version": "5c48fc6096e361e639c1d0a9f7f066242bf757ace84843582d29c6813563055a", + "signature": "5c48fc6096e361e639c1d0a9f7f066242bf757ace84843582d29c6813563055a", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack/node_modules/source-map/source-map.d.ts": { - "version": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", - "signature": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts": { + "version": "bebac54845e03ea36044fab99b5a51266cec2492fcd8a95bde6d5527a3174732", + "signature": "bebac54845e03ea36044fab99b5a51266cec2492fcd8a95bde6d5527a3174732", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts": { - "version": "b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9", - "signature": "b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9", + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts": { + "version": "ef141fd0ac854fc92cbc9a13cd25a0ac87b3961f70d516f191bb3e29d3b183fe", + "signature": "ef141fd0ac854fc92cbc9a13cd25a0ac87b3961f70d516f191bb3e29d3b183fe", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack-sources/lib/Source.d.ts": { - "version": "8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d", - "signature": "8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d", + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts": { + "version": "a90c6f5554bd74f63aaf03751e6b79d01a457b59339b03d308c16af8f266cf47", + "signature": "a90c6f5554bd74f63aaf03751e6b79d01a457b59339b03d308c16af8f266cf47", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack-sources/lib/CompatSource.d.ts": { - "version": "ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5", - "signature": "ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5", + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts": { + "version": "7d5d42c18c62ef137b8830b7de8432b466c8f4d93fa8476ac36d2f69114fad1e", + "signature": "7d5d42c18c62ef137b8830b7de8432b466c8f4d93fa8476ac36d2f69114fad1e", "affectsGlobalScope": false }, - "../../node_modules/@types/webpack-sources/lib/ConcatSource.d.ts": { + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts": { + "version": "484faf958ae025f8d1ce6cb9c75e12c2148190efc22151299d14d10e3601cbba", + "signature": "484faf958ae025f8d1ce6cb9c75e12c2148190efc22151299d14d10e3601cbba", + "affectsGlobalScope": false + }, + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts": { + "version": "66ddf54cc3d66cdab1b69e6879af9876bbc30030f85e51ba8a73223339e65b85", + "signature": "66ddf54cc3d66cdab1b69e6879af9876bbc30030f85e51ba8a73223339e65b85", + "affectsGlobalScope": false + }, + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts": { + "version": "734166f6ae00b52512304c153644963fd93cd152620231ea7a0560802c968d28", + "signature": "734166f6ae00b52512304c153644963fd93cd152620231ea7a0560802c968d28", + "affectsGlobalScope": false + }, + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts": { + "version": "15ce0cfa537ada25e07633617a993a8e02827939c2128d39c010739f28a0379c", + "signature": "15ce0cfa537ada25e07633617a993a8e02827939c2128d39c010739f28a0379c", + "affectsGlobalScope": false + }, + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts": { + "version": "a3868158152cc946c27c5e7b7803537c14cada9bb442c96c759c66b0d01f9eca", + "signature": "a3868158152cc946c27c5e7b7803537c14cada9bb442c96c759c66b0d01f9eca", + "affectsGlobalScope": false + }, + "../../node_modules/@types/react-color/index.d.ts": { + "version": "00ee901c4135af0d5688bee246d1e42ef7421cec93c32587e4814f744b95e2e8", + "signature": "00ee901c4135af0d5688bee246d1e42ef7421cec93c32587e4814f744b95e2e8", + "affectsGlobalScope": false + }, + "../../node_modules/@types/resolve/index.d.ts": { + "version": "2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761", + "signature": "2880728492d6a6baa55411d14cc42fa55714a24b1d1d27ff9a8a610abd47c761", + "affectsGlobalScope": false + }, + "../../node_modules/@types/scheduler/index.d.ts": { + "version": "74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57", + "signature": "74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/classes/semver.d.ts": { + "version": "2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9", + "signature": "2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/parse.d.ts": { + "version": "2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069", + "signature": "2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/valid.d.ts": { + "version": "42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff", + "signature": "42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/clean.d.ts": { + "version": "d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301", + "signature": "d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/inc.d.ts": { + "version": "77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a", + "signature": "77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/diff.d.ts": { + "version": "7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc", + "signature": "7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/major.d.ts": { + "version": "906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a", + "signature": "906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/minor.d.ts": { + "version": "5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351", + "signature": "5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/patch.d.ts": { + "version": "c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6", + "signature": "c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/prerelease.d.ts": { + "version": "e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c", + "signature": "e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/compare.d.ts": { + "version": "e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe", + "signature": "e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/rcompare.d.ts": { + "version": "9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0", + "signature": "9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/compare-loose.d.ts": { + "version": "0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6", + "signature": "0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/compare-build.d.ts": { + "version": "71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6", + "signature": "71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/sort.d.ts": { + "version": "c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d", + "signature": "c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/rsort.d.ts": { + "version": "2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af", + "signature": "2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/gt.d.ts": { + "version": "479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579", + "signature": "479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/lt.d.ts": { + "version": "ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54", + "signature": "ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/eq.d.ts": { + "version": "f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9", + "signature": "f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/neq.d.ts": { + "version": "86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8", + "signature": "86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/gte.d.ts": { + "version": "2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954", + "signature": "2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/lte.d.ts": { + "version": "a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1", + "signature": "a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/cmp.d.ts": { + "version": "b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898", + "signature": "b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/coerce.d.ts": { + "version": "61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa", + "signature": "61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/classes/comparator.d.ts": { + "version": "6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54", + "signature": "6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/classes/range.d.ts": { + "version": "c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3", + "signature": "c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/functions/satisfies.d.ts": { + "version": "38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d", + "signature": "38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts": { + "version": "d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341", + "signature": "d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts": { + "version": "3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c", + "signature": "3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/to-comparators.d.ts": { + "version": "b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1", + "signature": "b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/min-version.d.ts": { + "version": "f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17", + "signature": "f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/valid.d.ts": { + "version": "843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9", + "signature": "843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/outside.d.ts": { + "version": "f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d", + "signature": "f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/gtr.d.ts": { + "version": "6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2", + "signature": "6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/ltr.d.ts": { + "version": "e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0", + "signature": "e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/intersects.d.ts": { + "version": "a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0", + "signature": "a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/simplify.d.ts": { + "version": "a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29", + "signature": "a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/ranges/subset.d.ts": { + "version": "da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d", + "signature": "da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/internals/identifiers.d.ts": { + "version": "34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0", + "signature": "34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0", + "affectsGlobalScope": false + }, + "../../node_modules/@types/semver/index.d.ts": { + "version": "6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d", + "signature": "6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/source-list-map/index.d.ts": { + "version": "67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae", + "signature": "67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae", + "affectsGlobalScope": false + }, + "../../node_modules/@types/stack-utils/index.d.ts": { + "version": "41422586881bcd739b4e62d9b91cd29909f8572aa3e3cdf316b7c50f14708d49", + "signature": "41422586881bcd739b4e62d9b91cd29909f8572aa3e3cdf316b7c50f14708d49", + "affectsGlobalScope": false + }, + "../../node_modules/@types/tapable/index.d.ts": { + "version": "3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67", + "signature": "3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67", + "affectsGlobalScope": false + }, + "../../node_modules/@types/treeify/index.d.ts": { + "version": "e2c3fb7ba470548053dabb65521b89846fffad3a103ddc72b5115d8caa23ce8e", + "signature": "e2c3fb7ba470548053dabb65521b89846fffad3a103ddc72b5115d8caa23ce8e", + "affectsGlobalScope": false + }, + "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts": { + "version": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "signature": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "affectsGlobalScope": false + }, + "../../node_modules/@types/uglify-js/index.d.ts": { + "version": "9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab", + "signature": "9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab", + "affectsGlobalScope": false + }, + "../../node_modules/anymatch/index.d.ts": { + "version": "4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349", + "signature": "4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349", + "affectsGlobalScope": false + }, + "../../node_modules/@types/webpack/node_modules/source-map/source-map.d.ts": { + "version": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "signature": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579", + "affectsGlobalScope": false + }, + "../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts": { + "version": "b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9", + "signature": "b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9", + "affectsGlobalScope": false + }, + "../../node_modules/@types/webpack-sources/lib/Source.d.ts": { + "version": "8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d", + "signature": "8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d", + "affectsGlobalScope": false + }, + "../../node_modules/@types/webpack-sources/lib/CompatSource.d.ts": { + "version": "ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5", + "signature": "ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5", + "affectsGlobalScope": false + }, + "../../node_modules/@types/webpack-sources/lib/ConcatSource.d.ts": { "version": "083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9", "signature": "083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9", "affectsGlobalScope": false @@ -3432,8 +3697,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/webpack-sources/lib/SourceMapSource.d.ts": { - "version": "8ef5aad624890acfe0fa48230edce255f00934016d16acb8de0edac0ea5b21bb", - "signature": "8ef5aad624890acfe0fa48230edce255f00934016d16acb8de0edac0ea5b21bb", + "version": "05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538", + "signature": "05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538", "affectsGlobalScope": false }, "../../node_modules/@types/webpack-sources/lib/index.d.ts": { @@ -3447,13 +3712,13 @@ "affectsGlobalScope": false }, "../../node_modules/@types/webpack-sources/index.d.ts": { - "version": "89b42f8ee5d387a39db85ee2c7123a391c3ede266a2bcd502c85ad55626c3b2b", - "signature": "89b42f8ee5d387a39db85ee2c7123a391c3ede266a2bcd502c85ad55626c3b2b", + "version": "e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762", + "signature": "e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762", "affectsGlobalScope": false }, "../../node_modules/@types/webpack/index.d.ts": { - "version": "da297c98a5a86092b19aed23ddc61f5d0e64bc2fa83dc606a89d4e54dc6ec5a3", - "signature": "da297c98a5a86092b19aed23ddc61f5d0e64bc2fa83dc606a89d4e54dc6ec5a3", + "version": "1fc49547f60101e7fac0d9113a52c29178be082d46d7525009aebafdbb170a69", + "signature": "1fc49547f60101e7fac0d9113a52c29178be082d46d7525009aebafdbb170a69", "affectsGlobalScope": false }, "../../node_modules/@types/yargs-parser/index.d.ts": { @@ -4350,42 +4615,6 @@ "*", "*", "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", - "*", "*" ] }, @@ -4412,10 +4641,34 @@ "noResolve": false }, "referencedMap": { + "../../core/accessibility/utils/index.ts": [ + "../../core/accessibility/utils/isEnterKey.ts", + "../../core/accessibility/utils/isSpaceKey.ts", + "../../core/accessibility/utils/useAccessibilityProps.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../core/accessibility/utils/isEnterKey.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/accessibility/utils/isSpaceKey.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/accessibility/utils/useAccessibilityProps.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/common.type.tsx": [ + "../../core/components/molecules/overlayFooter/index.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/_chip/index.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/chip/Chip.tsx", "../../core/components/atoms/icon/index.tsx", "../../core/components/atoms/text/index.tsx", + "../../core/index.type.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", @@ -4425,7 +4678,18 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], + "../../core/components/atoms/actionCard/ActionCard.tsx": [ + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/atoms/actionCard/index.tsx": [ + "../../core/components/atoms/actionCard/ActionCard.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/avatar/Avatar.tsx": [ + "../../core/common.type.tsx", "../../core/index.tsx", "../../core/index.type.tsx", "../../core/utils/types.tsx", @@ -4437,7 +4701,17 @@ "../../core/components/atoms/avatar/Avatar.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/atoms/avatarGroup/AvatarCount.tsx": [ + "../../core/index.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], "../../core/components/atoms/avatarGroup/AvatarGroup.tsx": [ + "../../core/common.type.tsx", + "../../core/components/atoms/avatarGroup/AvatarCount.tsx", + "../../core/components/atoms/avatarGroup/AvatarPopperBody.tsx", + "../../core/components/atoms/avatarGroup/Avatars.tsx", "../../core/index.tsx", "../../core/index.type.tsx", "../../core/utils/types.tsx", @@ -4445,6 +4719,18 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], + "../../core/components/atoms/avatarGroup/AvatarPopperBody.tsx": [ + "../../core/index.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/atoms/avatarGroup/Avatars.tsx": [ + "../../core/index.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], "../../core/components/atoms/avatarGroup/index.tsx": [ "../../core/components/atoms/avatarGroup/AvatarGroup.tsx", "../../node_modules/@types/node/util.d.ts" @@ -4461,92 +4747,38 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/badge/Badge.tsx": [ + "../../core/common.type.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], - "../../core/components/atoms/badge/_stories_/SolidAlert.story.tsx": [ + "../../core/components/atoms/badge/index.tsx": [ "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/atoms/badge/_stories_/SolidSecondary.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", + "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx": [ + "../../core/index.tsx", + "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" ], - "../../core/components/atoms/badge/_stories_/SolidWarning.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../core/components/atoms/breadcrumbs/index.tsx": [ + "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx", + "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/atoms/badge/_stories_/SubtleAlert.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", + "../../core/components/atoms/button/Button.tsx": [ + "../../core/common.type.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" ], - "../../core/components/atoms/badge/_stories_/SubtleSecondary.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/_stories_/SubtleWarning.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/_stories_/Success.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/_stories_/index.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/_stories_/variants/Appearance.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../core/components/atoms/text/index.tsx", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/_stories_/variants/Subtle.story.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../core/components/atoms/text/index.tsx", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/atoms/badge/index.tsx": [ - "../../core/components/atoms/badge/Badge.tsx", - "../../node_modules/@types/node/util.d.ts" - ], - "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx": [ - "../../core/components/atoms/dropdown/index.tsx", - "../../core/index.tsx", - "../../core/utils/types.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/classnames/index.d.ts" - ], - "../../core/components/atoms/breadcrumbs/index.tsx": [ - "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx", - "../../node_modules/@types/node/util.d.ts" - ], - "../../core/components/atoms/button/Button.tsx": [ - "../../core/index.tsx", - "../../core/utils/types.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/classnames/index.d.ts" - ], - "../../core/components/atoms/button/index.tsx": [ - "../../core/components/atoms/button/Button.tsx", - "../../node_modules/@types/node/util.d.ts" + "../../core/components/atoms/button/index.tsx": [ + "../../core/components/atoms/button/Button.tsx", + "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/caption/Caption.tsx": [ "../../core/components/atoms/icon/index.tsx", @@ -4611,7 +4843,8 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/checkbox/Checkbox.tsx": [ - "../../core/components/atoms/icon/index.tsx", + "../../core/common.type.tsx", + "../../core/components/atoms/checkbox/CheckboxIcon.tsx", "../../core/components/atoms/text/index.tsx", "../../core/utils/types.tsx", "../../core/utils/uidGenerator.tsx", @@ -4619,11 +4852,16 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], + "../../core/components/atoms/checkbox/CheckboxIcon.tsx": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], "../../core/components/atoms/checkbox/index.tsx": [ "../../core/components/atoms/checkbox/Checkbox.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/chip/Chip.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/_chip/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -4641,13 +4879,6 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], - "../../core/components/atoms/chipGroup/_stories_/index.story.tsx": [ - "../../core/components/atoms/chip/Chip.tsx", - "../../core/components/atoms/chipGroup/ChipGroup.tsx", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/atoms/chipGroup/index.tsx": [ "../../core/components/atoms/chipGroup/ChipGroup.tsx", "../../node_modules/@types/node/util.d.ts" @@ -4673,7 +4904,18 @@ "../../core/components/atoms/column/Column.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/atoms/divider/Divider.tsx": [ + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/atoms/divider/index.tsx": [ + "../../core/components/atoms/divider/Divider.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/dropdown/Dropdown.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/dropdown/DropdownList.tsx", "../../core/components/atoms/dropdown/option/index.tsx", "../../core/components/atoms/dropdown/utility.tsx", @@ -4683,12 +4925,14 @@ "../../node_modules/@types/throttle-debounce/index.d.ts" ], "../../core/components/atoms/dropdown/DropdownButton.tsx": [ + "../../core/common.type.tsx", "../../core/index.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], "../../core/components/atoms/dropdown/DropdownList.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/dropdown/DropdownButton.tsx", "../../core/components/atoms/dropdown/Loading.tsx", "../../core/components/atoms/dropdown/option/index.tsx", @@ -4703,6 +4947,7 @@ "../../core/components/atoms/dropdown/Loading.tsx": [ "../../core/components/atoms/placeholderParagraph/index.tsx", "../../core/components/molecules/placeholder/index.tsx", + "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -4713,6 +4958,8 @@ "../../core/components/atoms/dropdown/option/CheckboxOption.tsx": [ "../../core/components/atoms/checkbox/index.tsx", "../../core/components/atoms/dropdown/option/index.tsx", + "../../core/index.tsx", + "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -4743,6 +4990,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../core/components/atoms/dropdown/option/index.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/dropdown/DropdownList.tsx", "../../core/components/atoms/dropdown/option/CheckboxOption.tsx", "../../core/components/atoms/dropdown/option/DefaultOption.tsx", @@ -4770,6 +5018,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/heading/Heading.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/_text/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -4780,7 +5029,18 @@ "../../core/components/atoms/heading/Heading.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/atoms/helpText/HelpText.tsx": [ + "../../core/index.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/components/atoms/helpText/index.tsx": [ + "../../core/components/atoms/helpText/HelpText.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/icon/Icon.tsx": [ + "../../core/accessibility/utils/index.ts", + "../../core/components/atoms/icon/utils.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", @@ -4790,7 +5050,13 @@ "../../core/components/atoms/icon/Icon.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/atoms/icon/utils.tsx": [ + "../../core/components/atoms/icon/Icon.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/input/Input.tsx": [ + "../../core/common.type.tsx", + "../../core/components/atoms/input/actionButton/index.tsx", "../../core/index.tsx", "../../core/index.type.tsx", "../../core/utils/types.tsx", @@ -4798,6 +5064,18 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], + "../../core/components/atoms/input/actionButton/ActionButton.tsx": [ + "../../core/common.type.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/atoms/input/actionButton/index.tsx": [ + "../../core/components/atoms/input/actionButton/ActionButton.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/input/index.tsx": [ "../../core/components/atoms/input/Input.tsx", "../../node_modules/@types/node/util.d.ts" @@ -4836,7 +5114,20 @@ "../../core/components/atoms/link/Link.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/atoms/linkButton/LinkButton.tsx": [ + "../../core/common.type.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/atoms/linkButton/index.tsx": [ + "../../core/components/atoms/linkButton/LinkButton.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/atoms/message/Message.tsx": [ + "../../core/common.type.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -4848,8 +5139,9 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/metaList/Meta.tsx": [ + "../../core/common.type.tsx", + "../../core/components/atoms/metaList/MetaList.tsx", "../../core/index.tsx", - "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -4862,17 +5154,12 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], - "../../core/components/atoms/metaList/_stories_/index.story.tsx": [ - "../../core/components/atoms/metaList/MetaList.tsx", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/atoms/metaList/index.tsx": [ "../../core/components/atoms/metaList/MetaList.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/metricInput/MetricInput.tsx": [ + "../../core/common.type.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -4894,6 +5181,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/multiSlider/index.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/multiSlider/Handle.tsx", "../../core/components/atoms/multiSlider/SliderUtils.tsx", "../../core/index.tsx", @@ -4905,7 +5193,6 @@ "../../core/components/atoms/outsideClick/OutsideClick.tsx": [ "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react-dom/index.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], @@ -4914,6 +5201,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/paragraph/Paragraph.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/_text/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -4925,6 +5213,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/pills/Pills.tsx": [ + "../../core/common.type.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", @@ -4987,6 +5276,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/radio/Radio.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/text/index.tsx", "../../core/utils/types.tsx", "../../core/utils/uidGenerator.tsx", @@ -4999,6 +5289,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/rangeSlider/RangeSlider.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/multiSlider/index.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" @@ -5037,6 +5328,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/statusHint/StatusHint.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/text/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5048,6 +5340,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/subheading/Subheading.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/_text/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5059,6 +5352,8 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/switchInput/Switch.tsx": [ + "../../core/accessibility/utils/index.ts", + "../../core/common.type.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", @@ -5069,6 +5364,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/text/Text.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/_text/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5090,13 +5386,14 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/atoms/toast/ActionButton.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/text/index.tsx", - "../../core/components/atoms/toast/Toast.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/classnames/index.d.ts" ], "../../core/components/atoms/toast/Toast.tsx": [ + "../../core/common.type.tsx", "../../core/components/atoms/heading/index.tsx", "../../core/components/atoms/icon/index.tsx", "../../core/components/atoms/text/index.tsx", @@ -5110,62 +5407,12 @@ "../../core/components/atoms/toast/Toast.tsx", "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/css-utilities/Align/Align.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Background/Background.story.tsx": [ - "../../core/components/atoms/paragraph/index.tsx", - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Display/Display.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Flex/Flex.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Miscellaneous/Miscellaneous.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Overflow/Overflow.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/Position/Position.story.tsx": [ - "../../core/components/atoms/paragraph/index.tsx", - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/css-utilities/Schema.tsx": [ "../../core/components/organisms/grid/index.tsx", "../../core/index.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../core/components/css-utilities/Sizing/Sizing.story.tsx": [ - "../../core/components/css-utilities/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/css-utilities/Spacing/Data.tsx": [ "../../node_modules/@types/node/util.d.ts" ], @@ -5175,63 +5422,18 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../core/components/css-utilities/Spacing/Spacing.story.tsx": [ - "../../core/components/css-utilities/Spacing/Data.tsx", - "../../core/components/css-utilities/Spacing/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/designTokens/Colors.story.tsx": [ - "../../core/components/css-utilities/designTokens/Data.tsx", - "../../core/components/css-utilities/designTokens/Schema.tsx", - "../../core/components/css-utilities/designTokens/Utilities.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/css-utilities/designTokens/Data.tsx": [ "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/css-utilities/designTokens/Miscellaneous.story.tsx": [ - "../../core/components/atoms/paragraph/index.tsx", - "../../core/components/css-utilities/designTokens/Data.tsx", - "../../core/components/css-utilities/designTokens/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/css-utilities/designTokens/Schema.tsx": [ "../../core/components/organisms/grid/index.tsx", "../../core/index.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../core/components/css-utilities/designTokens/Spacing.story.tsx": [ - "../../core/components/css-utilities/designTokens/Data.tsx", - "../../core/components/css-utilities/designTokens/Schema.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/css-utilities/designTokens/Typography.story.tsx": [ - "../../core/components/css-utilities/designTokens/Data.tsx", - "../../core/components/css-utilities/designTokens/Schema.tsx", - "../../core/components/css-utilities/designTokens/Utilities.tsx", - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/css-utilities/designTokens/Utilities.tsx": [ "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/molecules/Layout/index.story.tsx": [ - "../../core/components/atoms/column/index.tsx", - "../../core/components/atoms/row/index.tsx", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], "../../core/components/molecules/chatMessage/Box.tsx": [ "../../core/components/molecules/chatMessage/ChatMessage.tsx", "../../core/utils/types.tsx", @@ -5289,9 +5491,11 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/molecules/dropzone/Dropzone.tsx": [ + "../../core/accessibility/utils/index.ts", "../../core/components/molecules/dropzone/DropzoneActive.tsx", "../../core/components/molecules/dropzone/DropzoneBase.tsx", "../../core/components/molecules/dropzone/DropzoneError.tsx", + "../../core/components/molecules/dropzone/DropzoneIcon.tsx", "../../core/components/molecules/dropzone/FileErrors.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", @@ -5300,11 +5504,11 @@ "../../node_modules/classnames/index.d.ts" ], "../../core/components/molecules/dropzone/DropzoneActive.tsx": [ + "../../core/components/molecules/dropzone/DropzoneIcon.tsx", "../../core/index.tsx", "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/classnames/index.d.ts" + "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/dropzone/DropzoneBase.tsx": [ "../../core/components/molecules/dropzone/FileErrors.tsx", @@ -5315,11 +5519,15 @@ "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/dropzone/DropzoneError.tsx": [ + "../../core/components/molecules/dropzone/DropzoneIcon.tsx", "../../core/index.tsx", "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/classnames/index.d.ts" + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/components/molecules/dropzone/DropzoneIcon.tsx": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/dropzone/FileErrors.tsx": [ "../../core/components/molecules/dropzone/utils.tsx", @@ -5409,6 +5617,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/fileList/FileListItem.tsx": [ + "../../core/common.type.tsx", "../../core/components/molecules/fileList/FileIcon.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", @@ -5442,6 +5651,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/fileUploader/FileUploaderItem.tsx": [ + "../../core/common.type.tsx", "../../core/components/molecules/fileUploader/FileUploaderStatus.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", @@ -5457,7 +5667,7 @@ "../../node_modules/classnames/index.d.ts" ], "../../core/components/molecules/fileUploader/FileUploaderStatus.tsx": [ - "../../core/components/molecules/fileUploader/FileUploaderItem.tsx", + "../../core/common.type.tsx", "../../core/index.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" @@ -5468,11 +5678,13 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/molecules/fullscreenModal/FullscreenModal.tsx": [ + "../../core/common.type.tsx", "../../core/components/molecules/overlayBody/index.tsx", "../../core/components/molecules/overlayFooter/index.tsx", "../../core/components/molecules/overlayHeader/index.tsx", "../../core/index.tsx", "../../core/index.type.tsx", + "../../core/utils/OverlayManager.tsx", "../../core/utils/overlayHelper.ts", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5502,11 +5714,13 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/molecules/modal/Modal.tsx": [ + "../../core/common.type.tsx", "../../core/components/molecules/overlayBody/index.tsx", "../../core/components/molecules/overlayFooter/index.tsx", "../../core/components/molecules/overlayHeader/index.tsx", "../../core/index.tsx", "../../core/index.type.tsx", + "../../core/utils/OverlayManager.tsx", "../../core/utils/overlayHelper.ts", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5590,8 +5804,10 @@ "../../core/components/molecules/pagination/Pagination.tsx": [ "../../core/index.tsx", "../../core/utils/types.tsx", + "../../core/utils/validators.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/throttle-debounce/index.d.ts", "../../node_modules/classnames/index.d.ts" ], "../../core/components/molecules/pagination/index.tsx": [ @@ -5622,11 +5838,13 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/molecules/sidesheet/Sidesheet.tsx": [ + "../../core/common.type.tsx", "../../core/components/molecules/overlayBody/index.tsx", "../../core/components/molecules/overlayFooter/index.tsx", "../../core/components/molecules/overlayHeader/index.tsx", "../../core/index.tsx", "../../core/index.type.tsx", + "../../core/utils/OverlayManager.tsx", "../../core/utils/overlayHelper.ts", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5660,6 +5878,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../core/components/molecules/tabs/Tabs.tsx": [ + "../../core/common.type.tsx", "../../core/index.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", @@ -5702,6 +5921,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/organisms/calendar/Calendar.tsx": [ + "../../core/common.type.tsx", "../../core/components/organisms/calendar/config.ts", "../../core/components/organisms/calendar/types.ts", "../../core/components/organisms/calendar/utility.ts", @@ -5730,8 +5950,21 @@ "../../core/utils/validators.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/organisms/choiceList/ChoiceList.tsx": [ + "../../core/common.type.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/organisms/choiceList/index.tsx": [ + "../../core/components/organisms/choiceList/ChoiceList.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/organisms/datePicker/DatePicker.tsx": [ "../../core/components/organisms/calendar/Calendar.tsx", + "../../core/components/organisms/calendar/config.ts", "../../core/components/organisms/calendar/types.ts", "../../core/components/organisms/calendar/utility.ts", "../../core/components/organisms/datePicker/Trigger.tsx", @@ -5739,7 +5972,8 @@ "../../core/index.type.tsx", "../../core/utils/types.tsx", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" ], "../../core/components/organisms/datePicker/Trigger.tsx": [ "../../core/components/organisms/calendar/utility.ts", @@ -5791,7 +6025,6 @@ "../../core/components/organisms/grid/Grid.tsx", "../../core/components/organisms/grid/GridContext.ts", "../../core/components/organisms/grid/GridHead.tsx", - "../../core/components/organisms/grid/GridNestedRow.tsx", "../../core/components/organisms/grid/columnUtility.tsx", "../../core/components/organisms/grid/utility.tsx", "../../core/index.tsx", @@ -5801,6 +6034,7 @@ "../../node_modules/classnames/index.d.ts" ], "../../core/components/organisms/grid/Grid.tsx": [ + "../../core/components/organisms/grid/Cell.tsx", "../../core/components/organisms/grid/GridBody.tsx", "../../core/components/organisms/grid/GridContext.ts", "../../core/components/organisms/grid/GridHead.tsx", @@ -5817,7 +6051,6 @@ "../../core/components/organisms/grid/Grid.tsx", "../../core/components/organisms/grid/GridContext.ts", "../../core/components/organisms/grid/GridRow.tsx", - "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -5902,6 +6135,18 @@ "../../core/components/organisms/horizontalNav/HorizontalNav.tsx", "../../node_modules/@types/node/util.d.ts" ], + "../../core/components/organisms/inlineMessage/InlineMessage.tsx": [ + "../../core/common.type.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/classnames/index.d.ts" + ], + "../../core/components/organisms/inlineMessage/index.tsx": [ + "../../core/components/organisms/inlineMessage/InlineMessage.tsx", + "../../node_modules/@types/node/util.d.ts" + ], "../../core/components/organisms/list/List.tsx": [ "../../core/components/organisms/table/index.tsx", "../../core/index.tsx", @@ -5975,6 +6220,12 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/components/organisms/timePicker/TimePicker.tsx": [ + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx", + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx": [ "../../core/components/organisms/timePicker/utils.tsx", "../../core/index.tsx", "../../core/index.type.tsx", @@ -5982,16 +6233,39 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx": [ + "../../core/components/atoms/dropdown/option/index.tsx", + "../../core/components/atoms/dropdown/utility.tsx", + "../../core/components/organisms/timePicker/utility/searchUtils.tsx", + "../../core/components/organisms/timePicker/utility/timePickerUtility.tsx", + "../../core/index.tsx", + "../../core/utils/types.tsx", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], "../../core/components/organisms/timePicker/index.tsx": [ "../../core/components/organisms/timePicker/TimePicker.tsx", + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx", + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx", + "../../node_modules/@types/node/util.d.ts" + ], + "../../core/components/organisms/timePicker/utility/searchUtils.tsx": [ + "../../core/components/atoms/dropdown/option/index.tsx", + "../../core/components/organisms/timePicker/utility/timePickerUtility.tsx", + "../../node_modules/@types/node/util.d.ts" + ], + "../../core/components/organisms/timePicker/utility/timePickerUtility.tsx": [ + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/components/organisms/timePicker/utils.tsx": [ - "../../core/components/organisms/timePicker/TimePicker.tsx", + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx", "../../core/index.type.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/components/organisms/verticalNav/MenuItem.tsx": [ + "../../core/common.type.tsx", + "../../core/components/atoms/_text/index.tsx", "../../core/index.tsx", "../../core/utils/navigationHelper.tsx", "../../core/utils/types.tsx", @@ -6012,77 +6286,11 @@ "../../core/components/organisms/verticalNav/VerticalNav.tsx", "../../node_modules/@types/node/util.d.ts" ], - "../../core/components/patterns/datePicker/dateAndTimePicker.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/dateRangePicker/withCustomPopover.story.tsx": [ - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/CreatePassword.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/CreateUser.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/InlineForm.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/InlineLabelForm.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/StepperForm.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/TimePeriodForm.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/VerificationCodeInput.story.tsx": [ - "../../core/index.tsx", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/forms/basicForm.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/blankTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/level1HeaderTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/miniSidebarTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/narrowWidthContentTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/resourceTableTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/layouts/sidebarTemplate.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../core/components/patterns/verticalNavigation/sideNav.story.tsx": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../core/global.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], "../../core/index.tsx": [ + "../../core/components/atoms/actionCard/index.tsx", "../../core/components/atoms/avatar/index.tsx", "../../core/components/atoms/avatarGroup/index.tsx", "../../core/components/atoms/backdrop/index.tsx", @@ -6100,19 +6308,24 @@ "../../core/components/atoms/chipGroup/index.tsx", "../../core/components/atoms/collapsible/index.tsx", "../../core/components/atoms/column/index.tsx", + "../../core/components/atoms/divider/index.tsx", "../../core/components/atoms/dropdown/index.tsx", "../../core/components/atoms/heading/index.tsx", + "../../core/components/atoms/helpText/index.tsx", "../../core/components/atoms/icon/index.tsx", "../../core/components/atoms/input/index.tsx", "../../core/components/atoms/label/index.tsx", "../../core/components/atoms/legend/index.tsx", "../../core/components/atoms/link/index.tsx", + "../../core/components/atoms/linkButton/index.tsx", "../../core/components/atoms/message/index.tsx", "../../core/components/atoms/metaList/index.tsx", "../../core/components/atoms/metricInput/index.tsx", + "../../core/components/atoms/multiSlider/index.tsx", "../../core/components/atoms/outsideClick/index.tsx", "../../core/components/atoms/paragraph/index.tsx", "../../core/components/atoms/pills/index.tsx", + "../../core/components/atoms/placeholderImage/index.tsx", "../../core/components/atoms/placeholderParagraph/index.tsx", "../../core/components/atoms/progressBar/index.tsx", "../../core/components/atoms/progressRing/index.tsx", @@ -6150,21 +6363,25 @@ "../../core/components/molecules/tooltip/index.tsx", "../../core/components/molecules/verificationCodeInput/index.tsx", "../../core/components/organisms/calendar/index.tsx", + "../../core/components/organisms/choiceList/index.tsx", "../../core/components/organisms/datePicker/index.tsx", "../../core/components/organisms/dateRangePicker/index.tsx", "../../core/components/organisms/grid/GridCell.tsx", "../../core/components/organisms/grid/index.tsx", "../../core/components/organisms/horizontalNav/index.tsx", + "../../core/components/organisms/inlineMessage/index.tsx", "../../core/components/organisms/list/index.tsx", "../../core/components/organisms/navigation/index.tsx", "../../core/components/organisms/pageHeader/index.tsx", "../../core/components/organisms/table/index.tsx", "../../core/components/organisms/timePicker/index.tsx", "../../core/components/organisms/verticalNav/index.tsx", + "../../core/global.d.ts", "../../core/utils/index.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/index.type.tsx": [ + "../../core/components/atoms/actionCard/index.tsx", "../../core/components/atoms/avatar/index.tsx", "../../core/components/atoms/avatarGroup/index.tsx", "../../core/components/atoms/backdrop/index.tsx", @@ -6182,13 +6399,16 @@ "../../core/components/atoms/chipGroup/index.tsx", "../../core/components/atoms/collapsible/index.tsx", "../../core/components/atoms/column/index.tsx", + "../../core/components/atoms/divider/index.tsx", "../../core/components/atoms/dropdown/index.tsx", "../../core/components/atoms/heading/index.tsx", + "../../core/components/atoms/helpText/index.tsx", "../../core/components/atoms/icon/index.tsx", "../../core/components/atoms/input/index.tsx", "../../core/components/atoms/label/index.tsx", "../../core/components/atoms/legend/index.tsx", "../../core/components/atoms/link/index.tsx", + "../../core/components/atoms/linkButton/index.tsx", "../../core/components/atoms/message/index.tsx", "../../core/components/atoms/metaList/index.tsx", "../../core/components/atoms/metricInput/index.tsx", @@ -6232,11 +6452,13 @@ "../../core/components/molecules/tooltip/index.tsx", "../../core/components/molecules/verificationCodeInput/index.tsx", "../../core/components/organisms/calendar/index.tsx", + "../../core/components/organisms/choiceList/index.tsx", "../../core/components/organisms/datePicker/index.tsx", "../../core/components/organisms/dateRangePicker/index.tsx", "../../core/components/organisms/grid/GridCell.tsx", "../../core/components/organisms/grid/index.tsx", "../../core/components/organisms/horizontalNav/index.tsx", + "../../core/components/organisms/inlineMessage/index.tsx", "../../core/components/organisms/list/index.tsx", "../../core/components/organisms/navigation/index.tsx", "../../core/components/organisms/pageHeader/index.tsx", @@ -6249,6 +6471,12 @@ "../../core/utils/Keys.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../core/utils/OverlayManager.tsx": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../core/utils/action.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../core/utils/css.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -6256,11 +6484,12 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/utils/docPage/index.tsx": [ + "../../core/global.d.ts", "../../core/index.tsx", "../../core/utils/docPage/generateImports.tsx", "../../core/utils/docPage/sandbox.tsx", "../../node_modules/@storybook/addon-docs/blocks.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@types/js-beautify/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react-dom/server/index.d.ts", "../../node_modules/@types/react-syntax-highlighter/index.d.ts", @@ -6286,6 +6515,7 @@ "../../node_modules/@types/node/util.d.ts" ], "../../core/utils/navigationHelper.tsx": [ + "../../core/common.type.tsx", "../../node_modules/@types/node/util.d.ts" ], "../../core/utils/overlayHelper.ts": [ @@ -6336,17 +6566,14 @@ "../../node_modules/@emotion/is-prop-valid/types/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@emotion/serialize/types/helper.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@emotion/serialize/types/index.d.ts": [ - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts", "../../node_modules/@emotion/serialize/types/helper.d.ts", "../../node_modules/@emotion/utils/types/index.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/csstype/index.d.ts" ], "../../node_modules/@emotion/styled-base/types/helper.d.ts": [ "../../node_modules/@types/node/util.d.ts", @@ -6368,193 +6595,9 @@ "../../node_modules/@emotion/utils/types/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@popperjs/core/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/createPopper.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/enums.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts", - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts", - "../../node_modules/@popperjs/core/lib/popper.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/popper.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/types.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@storybook/addon-docs/blocks.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Anchor.d.ts": [ @@ -6564,30 +6607,34 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/ArgsTable.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Canvas.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Description.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContainer.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -6605,8 +6652,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Meta.d.ts": [ - "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -6627,12 +6673,13 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Source.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/SourceContainer.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/SourceContainer.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -6642,8 +6689,9 @@ ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Story.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -6689,7 +6737,7 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Wrapper.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/mdx.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/mdx.d.ts": [ @@ -6700,100 +6748,502 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/webpack-env/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/synchronous-promise/index.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/synchronous-promise/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts": [ @@ -6822,8 +7272,8 @@ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/webpack-env/index.d.ts" ], @@ -6845,27 +7295,28 @@ "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts", "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": [ "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": [ @@ -6875,6 +7326,7 @@ ], "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": [ "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": [ @@ -6916,13 +7368,14 @@ "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": [ "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": [ "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts" + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": [ "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", @@ -6935,434 +7388,99 @@ "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/webpack-env/index.d.ts" - ], - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/webpack-env/index.d.ts" - ], - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/csf/dist/SBType.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/csf/dist/story.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/csf/dist/story.d.ts": [ + "../../node_modules/@storybook/csf/dist/SBType.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts": [ + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts": [ + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/qs/index.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts": [ + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts": [ + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts": [ + "../../node_modules/@storybook/preview-web/node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts": [ - "../../node_modules/@popperjs/core/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/preview-web/node_modules/@storybook/store/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts": [ @@ -7373,8 +7491,8 @@ "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts": [ "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router-dom/index.d.ts" ], "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts": [ "../../node_modules/@types/node/util.d.ts" @@ -7543,8 +7661,19 @@ "../../node_modules/@babel/types/lib/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/braces/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/buble/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/magic-string/index.d.ts" + ], + "../../node_modules/@types/cacheable-request/index.d.ts": [ + "../../node_modules/@types/http-cache-semantics/index.d.ts", + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/index.d.ts", + "../../node_modules/@types/node/url.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/responselike/index.d.ts", + "../../node_modules/keyv/src/index.d.ts" ], "../../node_modules/@types/color-convert/conversions.d.ts": [ "../../node_modules/@types/color-name/index.d.ts", @@ -7562,15 +7691,16 @@ "../../node_modules/@types/color-name/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/estree/index.d.ts": [ + "../../node_modules/@types/emscripten/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/glob-base/index.d.ts": [ + "../../node_modules/@types/estree/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/glob/index.d.ts": [ "../../node_modules/@types/minimatch/index.d.ts", "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/fs.d.ts", "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], @@ -7586,6 +7716,9 @@ "../../node_modules/@types/html-minifier-terser/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/http-cache-semantics/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/is-function/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -7604,24 +7737,219 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/jest-diff/build/index.d.ts" ], + "../../node_modules/@types/js-beautify/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/json-schema/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/lz-string/index.d.ts": [ + "../../node_modules/@types/keyv/index.d.ts": [ + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/markdown-to-jsx/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/index.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lz-string/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/mdast/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/unist/index.d.ts" ], - "../../node_modules/@types/micromatch/index.d.ts": [ - "../../node_modules/@types/braces/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/minimatch/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -7651,11 +7979,6 @@ "../../node_modules/@types/node/async_hooks.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/node/base.d.ts": [ - "../../node_modules/@types/node/assert.d.ts", - "../../node_modules/@types/node/ts3.6/base.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/node/buffer.d.ts": [ "../../node_modules/@types/node/buffer.d.ts", "../../node_modules/@types/node/crypto.d.ts", @@ -7766,13 +8089,62 @@ "../../node_modules/@types/node/https.d.ts": [ "../../node_modules/@types/node/http.d.ts", "../../node_modules/@types/node/https.d.ts", + "../../node_modules/@types/node/stream.d.ts", "../../node_modules/@types/node/tls.d.ts", "../../node_modules/@types/node/url.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/node/index.d.ts": [ - "../../node_modules/@types/node/base.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/node/assert.d.ts", + "../../node_modules/@types/node/assert/strict.d.ts", + "../../node_modules/@types/node/async_hooks.d.ts", + "../../node_modules/@types/node/buffer.d.ts", + "../../node_modules/@types/node/child_process.d.ts", + "../../node_modules/@types/node/cluster.d.ts", + "../../node_modules/@types/node/console.d.ts", + "../../node_modules/@types/node/constants.d.ts", + "../../node_modules/@types/node/crypto.d.ts", + "../../node_modules/@types/node/dgram.d.ts", + "../../node_modules/@types/node/diagnostics_channel.d.ts", + "../../node_modules/@types/node/dns.d.ts", + "../../node_modules/@types/node/dns/promises.d.ts", + "../../node_modules/@types/node/domain.d.ts", + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/fs.d.ts", + "../../node_modules/@types/node/fs/promises.d.ts", + "../../node_modules/@types/node/globals.d.ts", + "../../node_modules/@types/node/globals.global.d.ts", + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/http2.d.ts", + "../../node_modules/@types/node/https.d.ts", + "../../node_modules/@types/node/inspector.d.ts", + "../../node_modules/@types/node/module.d.ts", + "../../node_modules/@types/node/net.d.ts", + "../../node_modules/@types/node/os.d.ts", + "../../node_modules/@types/node/path.d.ts", + "../../node_modules/@types/node/perf_hooks.d.ts", + "../../node_modules/@types/node/process.d.ts", + "../../node_modules/@types/node/punycode.d.ts", + "../../node_modules/@types/node/querystring.d.ts", + "../../node_modules/@types/node/readline.d.ts", + "../../node_modules/@types/node/repl.d.ts", + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", + "../../node_modules/@types/node/stream/promises.d.ts", + "../../node_modules/@types/node/stream/web.d.ts", + "../../node_modules/@types/node/string_decoder.d.ts", + "../../node_modules/@types/node/timers.d.ts", + "../../node_modules/@types/node/timers/promises.d.ts", + "../../node_modules/@types/node/tls.d.ts", + "../../node_modules/@types/node/trace_events.d.ts", + "../../node_modules/@types/node/tty.d.ts", + "../../node_modules/@types/node/url.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/node/v8.d.ts", + "../../node_modules/@types/node/vm.d.ts", + "../../node_modules/@types/node/wasi.d.ts", + "../../node_modules/@types/node/worker_threads.d.ts", + "../../node_modules/@types/node/zlib.d.ts" ], "../../node_modules/@types/node/inspector.d.ts": [ "../../node_modules/@types/node/events.d.ts", @@ -7832,14 +8204,24 @@ "../../node_modules/@types/node/stream.d.ts": [ "../../node_modules/@types/node/events.d.ts", "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", "../../node_modules/@types/node/stream/promises.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/node/stream/consumers.d.ts": [ + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/node/stream/promises.d.ts": [ "../../node_modules/@types/node/stream.d.ts", "../../node_modules/@types/node/stream/promises.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/node/stream/web.d.ts": [ + "../../node_modules/@types/node/stream/web.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/node/string_decoder.d.ts": [ "../../node_modules/@types/node/string_decoder.d.ts", "../../node_modules/@types/node/util.d.ts" @@ -7865,61 +8247,13 @@ "../../node_modules/@types/node/trace_events.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../node_modules/@types/node/assert/strict.d.ts", - "../../node_modules/@types/node/async_hooks.d.ts", - "../../node_modules/@types/node/buffer.d.ts", - "../../node_modules/@types/node/child_process.d.ts", - "../../node_modules/@types/node/cluster.d.ts", - "../../node_modules/@types/node/console.d.ts", - "../../node_modules/@types/node/constants.d.ts", - "../../node_modules/@types/node/crypto.d.ts", - "../../node_modules/@types/node/dgram.d.ts", - "../../node_modules/@types/node/diagnostics_channel.d.ts", - "../../node_modules/@types/node/dns.d.ts", - "../../node_modules/@types/node/dns/promises.d.ts", - "../../node_modules/@types/node/domain.d.ts", - "../../node_modules/@types/node/events.d.ts", - "../../node_modules/@types/node/fs.d.ts", - "../../node_modules/@types/node/fs/promises.d.ts", - "../../node_modules/@types/node/globals.d.ts", - "../../node_modules/@types/node/globals.global.d.ts", - "../../node_modules/@types/node/http.d.ts", - "../../node_modules/@types/node/http2.d.ts", - "../../node_modules/@types/node/https.d.ts", - "../../node_modules/@types/node/inspector.d.ts", - "../../node_modules/@types/node/module.d.ts", - "../../node_modules/@types/node/net.d.ts", - "../../node_modules/@types/node/os.d.ts", - "../../node_modules/@types/node/path.d.ts", - "../../node_modules/@types/node/perf_hooks.d.ts", - "../../node_modules/@types/node/process.d.ts", - "../../node_modules/@types/node/punycode.d.ts", - "../../node_modules/@types/node/querystring.d.ts", - "../../node_modules/@types/node/readline.d.ts", - "../../node_modules/@types/node/repl.d.ts", - "../../node_modules/@types/node/stream.d.ts", - "../../node_modules/@types/node/stream/promises.d.ts", - "../../node_modules/@types/node/string_decoder.d.ts", - "../../node_modules/@types/node/timers.d.ts", - "../../node_modules/@types/node/timers/promises.d.ts", - "../../node_modules/@types/node/tls.d.ts", - "../../node_modules/@types/node/trace_events.d.ts", - "../../node_modules/@types/node/tty.d.ts", - "../../node_modules/@types/node/url.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/node/v8.d.ts", - "../../node_modules/@types/node/vm.d.ts", - "../../node_modules/@types/node/wasi.d.ts", - "../../node_modules/@types/node/worker_threads.d.ts", - "../../node_modules/@types/node/zlib.d.ts" - ], "../../node_modules/@types/node/tty.d.ts": [ "../../node_modules/@types/node/net.d.ts", "../../node_modules/@types/node/tty.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/node/url.d.ts": [ + "../../node_modules/@types/node/buffer.d.ts", "../../node_modules/@types/node/http.d.ts", "../../node_modules/@types/node/querystring.d.ts", "../../node_modules/@types/node/url.d.ts", @@ -7975,9 +8309,6 @@ "../../node_modules/@types/parse5/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/prettier/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/pretty-hrtime/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -7991,6 +8322,113 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], + "../../node_modules/@types/react-color/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts", + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts", + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts", + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts", + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts", + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts", + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts", + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts", + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts", + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts", + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts", + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts", + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts", + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts", + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], "../../node_modules/@types/react-dom/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts" @@ -8002,8 +8440,11 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/prop-types/index.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/global.d.ts", - "../../node_modules/@types/scheduler/tracing.d.ts", - "../../node_modules/csstype/index.d.ts" + "../../node_modules/@types/react/node_modules/csstype/index.d.ts", + "../../node_modules/@types/scheduler/tracing.d.ts" + ], + "../../node_modules/@types/react-dom/node_modules/csstype/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/react-dom/server/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", @@ -8026,19 +8467,272 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/prop-types/index.d.ts", "../../node_modules/@types/react/global.d.ts", - "../../node_modules/@types/scheduler/tracing.d.ts", - "../../node_modules/csstype/index.d.ts" + "../../node_modules/@types/react/node_modules/csstype/index.d.ts", + "../../node_modules/@types/scheduler/tracing.d.ts" + ], + "../../node_modules/@types/react/node_modules/csstype/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/reactcss/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@types/resolve/index.d.ts": [ "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/responselike/index.d.ts": [ + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/index.d.ts", + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/scheduler/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/scheduler/tracing.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/semver/classes/comparator.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/classes/range.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/comparator.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/classes/semver.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/clean.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/cmp.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/coerce.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/compare-build.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/compare-loose.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts" + ], + "../../node_modules/@types/semver/functions/compare.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/diff.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/eq.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/gt.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/gte.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/inc.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/lt.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/lte.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/major.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/minor.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/neq.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/parse.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/patch.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/prerelease.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/rcompare.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/rsort.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/satisfies.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/sort.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/valid.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/comparator.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/functions/clean.d.ts", + "../../node_modules/@types/semver/functions/cmp.d.ts", + "../../node_modules/@types/semver/functions/coerce.d.ts", + "../../node_modules/@types/semver/functions/compare-build.d.ts", + "../../node_modules/@types/semver/functions/compare-loose.d.ts", + "../../node_modules/@types/semver/functions/compare.d.ts", + "../../node_modules/@types/semver/functions/diff.d.ts", + "../../node_modules/@types/semver/functions/eq.d.ts", + "../../node_modules/@types/semver/functions/gt.d.ts", + "../../node_modules/@types/semver/functions/gte.d.ts", + "../../node_modules/@types/semver/functions/inc.d.ts", + "../../node_modules/@types/semver/functions/lt.d.ts", + "../../node_modules/@types/semver/functions/lte.d.ts", + "../../node_modules/@types/semver/functions/major.d.ts", + "../../node_modules/@types/semver/functions/minor.d.ts", + "../../node_modules/@types/semver/functions/neq.d.ts", + "../../node_modules/@types/semver/functions/parse.d.ts", + "../../node_modules/@types/semver/functions/patch.d.ts", + "../../node_modules/@types/semver/functions/prerelease.d.ts", + "../../node_modules/@types/semver/functions/rcompare.d.ts", + "../../node_modules/@types/semver/functions/rsort.d.ts", + "../../node_modules/@types/semver/functions/satisfies.d.ts", + "../../node_modules/@types/semver/functions/sort.d.ts", + "../../node_modules/@types/semver/functions/valid.d.ts", + "../../node_modules/@types/semver/internals/identifiers.d.ts", + "../../node_modules/@types/semver/ranges/gtr.d.ts", + "../../node_modules/@types/semver/ranges/intersects.d.ts", + "../../node_modules/@types/semver/ranges/ltr.d.ts", + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-version.d.ts", + "../../node_modules/@types/semver/ranges/outside.d.ts", + "../../node_modules/@types/semver/ranges/simplify.d.ts", + "../../node_modules/@types/semver/ranges/subset.d.ts", + "../../node_modules/@types/semver/ranges/to-comparators.d.ts", + "../../node_modules/@types/semver/ranges/valid.d.ts" + ], + "../../node_modules/@types/semver/internals/identifiers.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/semver/ranges/gtr.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/intersects.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/ltr.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/min-version.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/outside.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/simplify.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/subset.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/to-comparators.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/valid.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], "../../node_modules/@types/source-list-map/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -8055,6 +8749,9 @@ "../../node_modules/@types/throttle-debounce/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/treeify/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/uglify-js/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts" @@ -8164,10 +8861,7 @@ "../../node_modules/@types/uglify-js/index.d.ts", "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts", "../../node_modules/@types/webpack-sources/index.d.ts", - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts" - ], - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/anymatch/index.d.ts" ], "../../node_modules/@types/webpack/node_modules/source-map/source-map.d.ts": [ "../../node_modules/@types/node/util.d.ts" @@ -8179,6 +8873,9 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/yargs-parser/index.d.ts" ], + "../../node_modules/anymatch/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/classnames/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -8207,11 +8904,18 @@ "../../node_modules/jest-diff/build/types.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/popper.js/index.d.ts": [ + "../../node_modules/keyv/src/index.d.ts": [ + "../../node_modules/@types/node/events.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/pretty-format/build/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts", + "../../node_modules/magic-string/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/popper.js/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/pretty-format/build/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", "../../node_modules/pretty-format/build/types.d.ts" ], "../../node_modules/pretty-format/build/types.d.ts": [ @@ -8227,6 +8931,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/react-live/typings/react-live.d.ts": [ + "../../node_modules/@types/buble/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/prism-react-renderer/index.d.ts" @@ -8236,6 +8941,19 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/popper.js/index.d.ts" ], + "../../node_modules/react-router-dom/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router/index.d.ts" + ], + "../../node_modules/react-router/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router/node_modules/history/index.d.ts" + ], + "../../node_modules/react-router/node_modules/history/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" @@ -8244,6 +8962,9 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts" ], + "../../node_modules/synchronous-promise/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/tslib/tslib.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -8322,9 +9043,36 @@ "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/typescript/lib/lib.es2019.array.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.object.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.string.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/typescript/lib/lib.es2020.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.promise.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.string.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/typescript/lib/lib.es5.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -8339,6 +9087,9 @@ ] }, "exportedModulesMap": { + "../../core/global.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@babel/parser/typings/babel-parser.d.ts": [ "../../node_modules/@babel/types/lib/index.d.ts", "../../node_modules/@types/node/util.d.ts" @@ -8365,17 +9116,14 @@ "../../node_modules/@emotion/is-prop-valid/types/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@emotion/serialize/types/helper.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@emotion/serialize/types/index.d.ts": [ - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts", "../../node_modules/@emotion/serialize/types/helper.d.ts", "../../node_modules/@emotion/utils/types/index.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/csstype/index.d.ts" ], "../../node_modules/@emotion/styled-base/types/helper.d.ts": [ "../../node_modules/@types/node/util.d.ts", @@ -8397,193 +9145,9 @@ "../../node_modules/@emotion/utils/types/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@popperjs/core/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/createPopper.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/enums.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts", - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts", - "../../node_modules/@popperjs/core/lib/popper.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts": [ - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts": [ - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/popper.d.ts": [ - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/types.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts": [ - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts": [ - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@storybook/addon-docs/blocks.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Anchor.d.ts": [ @@ -8593,30 +9157,34 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/ArgsTable.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Canvas.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Description.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContainer.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -8634,8 +9202,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Meta.d.ts": [ - "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -8656,12 +9223,13 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Source.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/SourceContainer.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/SourceContainer.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -8671,8 +9239,9 @@ ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Story.d.ts": [ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/DocsContext.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], @@ -8718,7 +9287,7 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Wrapper.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/mdx.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/mdx.d.ts": [ @@ -8729,669 +9298,739 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/webpack-env/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts": [ - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" - ], - "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts": [ - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/webpack-env/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", - "../../node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/webpack-env/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/webpack-env/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts": [ - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/qs/index.d.ts" + "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts": [ - "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/synchronous-promise/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/synchronous-promise/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts": [ - "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts": [ + "../../node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts": [ + "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ + "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts": [ + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/addons/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/webpack-env/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts", + "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" + "../../node_modules/@types/react/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts", - "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts": [ + "../../node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/csf/dist/SBType.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/csf/dist/story.d.ts": [ + "../../node_modules/@storybook/csf/dist/SBType.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts": [ - "../../node_modules/@popperjs/core/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts": [ - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/qs/index.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts": [ - "../../node_modules/@emotion/styled-base/types/index.d.ts", - "../../node_modules/@storybook/theming/dist/ts3.9/index.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/preview-web/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/preview-web/node_modules/@storybook/csf/dist/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@storybook/preview-web/node_modules/@storybook/store/dist/ts3.9/index.d.ts": [ + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts": [ @@ -9402,8 +10041,8 @@ "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts": [ "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts", "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/reach__router/index.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router-dom/index.d.ts" ], "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts": [ "../../node_modules/@types/node/util.d.ts" @@ -9572,8 +10211,19 @@ "../../node_modules/@babel/types/lib/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/braces/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/buble/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/magic-string/index.d.ts" + ], + "../../node_modules/@types/cacheable-request/index.d.ts": [ + "../../node_modules/@types/http-cache-semantics/index.d.ts", + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/index.d.ts", + "../../node_modules/@types/node/url.d.ts", + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/responselike/index.d.ts", + "../../node_modules/keyv/src/index.d.ts" ], "../../node_modules/@types/color-convert/conversions.d.ts": [ "../../node_modules/@types/color-name/index.d.ts", @@ -9591,15 +10241,16 @@ "../../node_modules/@types/color-name/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/estree/index.d.ts": [ + "../../node_modules/@types/emscripten/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/glob-base/index.d.ts": [ + "../../node_modules/@types/estree/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/glob/index.d.ts": [ "../../node_modules/@types/minimatch/index.d.ts", "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/fs.d.ts", "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], @@ -9615,6 +10266,9 @@ "../../node_modules/@types/html-minifier-terser/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/http-cache-semantics/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/is-function/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -9633,24 +10287,219 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/jest-diff/build/index.d.ts" ], + "../../node_modules/@types/js-beautify/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/json-schema/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/lz-string/index.d.ts": [ + "../../node_modules/@types/keyv/index.d.ts": [ + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/markdown-to-jsx/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/react/index.d.ts" + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lodash/ts4.2/index.d.ts": [ + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/lz-string/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/mdast/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/unist/index.d.ts" ], - "../../node_modules/@types/micromatch/index.d.ts": [ - "../../node_modules/@types/braces/index.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/minimatch/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -9680,11 +10529,6 @@ "../../node_modules/@types/node/async_hooks.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/node/base.d.ts": [ - "../../node_modules/@types/node/assert.d.ts", - "../../node_modules/@types/node/ts3.6/base.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/node/buffer.d.ts": [ "../../node_modules/@types/node/buffer.d.ts", "../../node_modules/@types/node/crypto.d.ts", @@ -9795,13 +10639,62 @@ "../../node_modules/@types/node/https.d.ts": [ "../../node_modules/@types/node/http.d.ts", "../../node_modules/@types/node/https.d.ts", + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/tls.d.ts", + "../../node_modules/@types/node/url.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/node/index.d.ts": [ + "../../node_modules/@types/node/assert.d.ts", + "../../node_modules/@types/node/assert/strict.d.ts", + "../../node_modules/@types/node/async_hooks.d.ts", + "../../node_modules/@types/node/buffer.d.ts", + "../../node_modules/@types/node/child_process.d.ts", + "../../node_modules/@types/node/cluster.d.ts", + "../../node_modules/@types/node/console.d.ts", + "../../node_modules/@types/node/constants.d.ts", + "../../node_modules/@types/node/crypto.d.ts", + "../../node_modules/@types/node/dgram.d.ts", + "../../node_modules/@types/node/diagnostics_channel.d.ts", + "../../node_modules/@types/node/dns.d.ts", + "../../node_modules/@types/node/dns/promises.d.ts", + "../../node_modules/@types/node/domain.d.ts", + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/fs.d.ts", + "../../node_modules/@types/node/fs/promises.d.ts", + "../../node_modules/@types/node/globals.d.ts", + "../../node_modules/@types/node/globals.global.d.ts", + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/http2.d.ts", + "../../node_modules/@types/node/https.d.ts", + "../../node_modules/@types/node/inspector.d.ts", + "../../node_modules/@types/node/module.d.ts", + "../../node_modules/@types/node/net.d.ts", + "../../node_modules/@types/node/os.d.ts", + "../../node_modules/@types/node/path.d.ts", + "../../node_modules/@types/node/perf_hooks.d.ts", + "../../node_modules/@types/node/process.d.ts", + "../../node_modules/@types/node/punycode.d.ts", + "../../node_modules/@types/node/querystring.d.ts", + "../../node_modules/@types/node/readline.d.ts", + "../../node_modules/@types/node/repl.d.ts", + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", + "../../node_modules/@types/node/stream/promises.d.ts", + "../../node_modules/@types/node/stream/web.d.ts", + "../../node_modules/@types/node/string_decoder.d.ts", + "../../node_modules/@types/node/timers.d.ts", + "../../node_modules/@types/node/timers/promises.d.ts", "../../node_modules/@types/node/tls.d.ts", + "../../node_modules/@types/node/trace_events.d.ts", + "../../node_modules/@types/node/tty.d.ts", "../../node_modules/@types/node/url.d.ts", - "../../node_modules/@types/node/util.d.ts" - ], - "../../node_modules/@types/node/index.d.ts": [ - "../../node_modules/@types/node/base.d.ts", - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/node/v8.d.ts", + "../../node_modules/@types/node/vm.d.ts", + "../../node_modules/@types/node/wasi.d.ts", + "../../node_modules/@types/node/worker_threads.d.ts", + "../../node_modules/@types/node/zlib.d.ts" ], "../../node_modules/@types/node/inspector.d.ts": [ "../../node_modules/@types/node/events.d.ts", @@ -9861,14 +10754,24 @@ "../../node_modules/@types/node/stream.d.ts": [ "../../node_modules/@types/node/events.d.ts", "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", "../../node_modules/@types/node/stream/promises.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/node/stream/consumers.d.ts": [ + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/node/stream/promises.d.ts": [ "../../node_modules/@types/node/stream.d.ts", "../../node_modules/@types/node/stream/promises.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/node/stream/web.d.ts": [ + "../../node_modules/@types/node/stream/web.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/node/string_decoder.d.ts": [ "../../node_modules/@types/node/string_decoder.d.ts", "../../node_modules/@types/node/util.d.ts" @@ -9894,61 +10797,13 @@ "../../node_modules/@types/node/trace_events.d.ts", "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../node_modules/@types/node/assert/strict.d.ts", - "../../node_modules/@types/node/async_hooks.d.ts", - "../../node_modules/@types/node/buffer.d.ts", - "../../node_modules/@types/node/child_process.d.ts", - "../../node_modules/@types/node/cluster.d.ts", - "../../node_modules/@types/node/console.d.ts", - "../../node_modules/@types/node/constants.d.ts", - "../../node_modules/@types/node/crypto.d.ts", - "../../node_modules/@types/node/dgram.d.ts", - "../../node_modules/@types/node/diagnostics_channel.d.ts", - "../../node_modules/@types/node/dns.d.ts", - "../../node_modules/@types/node/dns/promises.d.ts", - "../../node_modules/@types/node/domain.d.ts", - "../../node_modules/@types/node/events.d.ts", - "../../node_modules/@types/node/fs.d.ts", - "../../node_modules/@types/node/fs/promises.d.ts", - "../../node_modules/@types/node/globals.d.ts", - "../../node_modules/@types/node/globals.global.d.ts", - "../../node_modules/@types/node/http.d.ts", - "../../node_modules/@types/node/http2.d.ts", - "../../node_modules/@types/node/https.d.ts", - "../../node_modules/@types/node/inspector.d.ts", - "../../node_modules/@types/node/module.d.ts", - "../../node_modules/@types/node/net.d.ts", - "../../node_modules/@types/node/os.d.ts", - "../../node_modules/@types/node/path.d.ts", - "../../node_modules/@types/node/perf_hooks.d.ts", - "../../node_modules/@types/node/process.d.ts", - "../../node_modules/@types/node/punycode.d.ts", - "../../node_modules/@types/node/querystring.d.ts", - "../../node_modules/@types/node/readline.d.ts", - "../../node_modules/@types/node/repl.d.ts", - "../../node_modules/@types/node/stream.d.ts", - "../../node_modules/@types/node/stream/promises.d.ts", - "../../node_modules/@types/node/string_decoder.d.ts", - "../../node_modules/@types/node/timers.d.ts", - "../../node_modules/@types/node/timers/promises.d.ts", - "../../node_modules/@types/node/tls.d.ts", - "../../node_modules/@types/node/trace_events.d.ts", - "../../node_modules/@types/node/tty.d.ts", - "../../node_modules/@types/node/url.d.ts", - "../../node_modules/@types/node/util.d.ts", - "../../node_modules/@types/node/v8.d.ts", - "../../node_modules/@types/node/vm.d.ts", - "../../node_modules/@types/node/wasi.d.ts", - "../../node_modules/@types/node/worker_threads.d.ts", - "../../node_modules/@types/node/zlib.d.ts" - ], "../../node_modules/@types/node/tty.d.ts": [ "../../node_modules/@types/node/net.d.ts", "../../node_modules/@types/node/tty.d.ts", "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/node/url.d.ts": [ + "../../node_modules/@types/node/buffer.d.ts", "../../node_modules/@types/node/http.d.ts", "../../node_modules/@types/node/querystring.d.ts", "../../node_modules/@types/node/url.d.ts", @@ -10004,9 +10859,6 @@ "../../node_modules/@types/parse5/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], - "../../node_modules/@types/prettier/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" - ], "../../node_modules/@types/pretty-hrtime/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10020,6 +10872,113 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" ], + "../../node_modules/@types/react-color/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts", + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts", + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts", + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts", + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts", + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts", + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts", + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts", + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts", + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts", + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts", + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts", + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts", + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts", + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts" + ], "../../node_modules/@types/react-dom/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts" @@ -10031,8 +10990,11 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/prop-types/index.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/global.d.ts", - "../../node_modules/@types/scheduler/tracing.d.ts", - "../../node_modules/csstype/index.d.ts" + "../../node_modules/@types/react/node_modules/csstype/index.d.ts", + "../../node_modules/@types/scheduler/tracing.d.ts" + ], + "../../node_modules/@types/react-dom/node_modules/csstype/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/react-dom/server/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", @@ -10055,19 +11017,272 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/prop-types/index.d.ts", "../../node_modules/@types/react/global.d.ts", - "../../node_modules/@types/scheduler/tracing.d.ts", - "../../node_modules/csstype/index.d.ts" + "../../node_modules/@types/react/node_modules/csstype/index.d.ts", + "../../node_modules/@types/scheduler/tracing.d.ts" + ], + "../../node_modules/@types/react/node_modules/csstype/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/reactcss/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/@types/resolve/index.d.ts": [ "../../node_modules/@types/node/index.d.ts", "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/responselike/index.d.ts": [ + "../../node_modules/@types/node/http.d.ts", + "../../node_modules/@types/node/index.d.ts", + "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/scheduler/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], "../../node_modules/@types/scheduler/tracing.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/semver/classes/comparator.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/classes/range.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/comparator.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/classes/semver.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/clean.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/cmp.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/coerce.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/compare-build.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/compare-loose.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts" + ], + "../../node_modules/@types/semver/functions/compare.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/diff.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/eq.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/gt.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/gte.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/inc.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/lt.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/lte.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/major.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/minor.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/neq.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/parse.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/patch.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/prerelease.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/rcompare.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/rsort.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/satisfies.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/sort.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/functions/valid.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/comparator.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/functions/clean.d.ts", + "../../node_modules/@types/semver/functions/cmp.d.ts", + "../../node_modules/@types/semver/functions/coerce.d.ts", + "../../node_modules/@types/semver/functions/compare-build.d.ts", + "../../node_modules/@types/semver/functions/compare-loose.d.ts", + "../../node_modules/@types/semver/functions/compare.d.ts", + "../../node_modules/@types/semver/functions/diff.d.ts", + "../../node_modules/@types/semver/functions/eq.d.ts", + "../../node_modules/@types/semver/functions/gt.d.ts", + "../../node_modules/@types/semver/functions/gte.d.ts", + "../../node_modules/@types/semver/functions/inc.d.ts", + "../../node_modules/@types/semver/functions/lt.d.ts", + "../../node_modules/@types/semver/functions/lte.d.ts", + "../../node_modules/@types/semver/functions/major.d.ts", + "../../node_modules/@types/semver/functions/minor.d.ts", + "../../node_modules/@types/semver/functions/neq.d.ts", + "../../node_modules/@types/semver/functions/parse.d.ts", + "../../node_modules/@types/semver/functions/patch.d.ts", + "../../node_modules/@types/semver/functions/prerelease.d.ts", + "../../node_modules/@types/semver/functions/rcompare.d.ts", + "../../node_modules/@types/semver/functions/rsort.d.ts", + "../../node_modules/@types/semver/functions/satisfies.d.ts", + "../../node_modules/@types/semver/functions/sort.d.ts", + "../../node_modules/@types/semver/functions/valid.d.ts", + "../../node_modules/@types/semver/internals/identifiers.d.ts", + "../../node_modules/@types/semver/ranges/gtr.d.ts", + "../../node_modules/@types/semver/ranges/intersects.d.ts", + "../../node_modules/@types/semver/ranges/ltr.d.ts", + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-version.d.ts", + "../../node_modules/@types/semver/ranges/outside.d.ts", + "../../node_modules/@types/semver/ranges/simplify.d.ts", + "../../node_modules/@types/semver/ranges/subset.d.ts", + "../../node_modules/@types/semver/ranges/to-comparators.d.ts", + "../../node_modules/@types/semver/ranges/valid.d.ts" + ], + "../../node_modules/@types/semver/internals/identifiers.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/@types/semver/ranges/gtr.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/intersects.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/ltr.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/min-version.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/outside.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/simplify.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/subset.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/to-comparators.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], + "../../node_modules/@types/semver/ranges/valid.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/index.d.ts" + ], "../../node_modules/@types/source-list-map/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10084,6 +11299,9 @@ "../../node_modules/@types/throttle-debounce/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/@types/treeify/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/@types/uglify-js/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts" @@ -10193,10 +11411,7 @@ "../../node_modules/@types/uglify-js/index.d.ts", "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts", "../../node_modules/@types/webpack-sources/index.d.ts", - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts" - ], - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts": [ - "../../node_modules/@types/node/util.d.ts" + "../../node_modules/anymatch/index.d.ts" ], "../../node_modules/@types/webpack/node_modules/source-map/source-map.d.ts": [ "../../node_modules/@types/node/util.d.ts" @@ -10208,6 +11423,9 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/yargs-parser/index.d.ts" ], + "../../node_modules/anymatch/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/classnames/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10236,6 +11454,13 @@ "../../node_modules/jest-diff/build/types.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/keyv/src/index.d.ts": [ + "../../node_modules/@types/node/events.d.ts", + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/magic-string/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/popper.js/index.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10256,6 +11481,7 @@ "../../node_modules/@types/react/index.d.ts" ], "../../node_modules/react-live/typings/react-live.d.ts": [ + "../../node_modules/@types/buble/index.d.ts", "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts", "../../node_modules/prism-react-renderer/index.d.ts" @@ -10265,6 +11491,19 @@ "../../node_modules/@types/react/index.d.ts", "../../node_modules/popper.js/index.d.ts" ], + "../../node_modules/react-router-dom/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router/index.d.ts" + ], + "../../node_modules/react-router/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts", + "../../node_modules/@types/react/index.d.ts", + "../../node_modules/react-router/node_modules/history/index.d.ts" + ], + "../../node_modules/react-router/node_modules/history/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts": [ "../../node_modules/@types/node/util.d.ts", "../../node_modules/@types/react/index.d.ts" @@ -10273,6 +11512,9 @@ "../../node_modules/@types/node/util.d.ts", "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts" ], + "../../node_modules/synchronous-promise/index.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/tslib/tslib.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10351,9 +11593,36 @@ "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/typescript/lib/lib.es2019.array.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.object.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.string.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], + "../../node_modules/typescript/lib/lib.es2020.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.promise.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.string.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], + "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts": [ + "../../node_modules/@types/node/util.d.ts" + ], "../../node_modules/typescript/lib/lib.es5.d.ts": [ "../../node_modules/@types/node/util.d.ts" ], @@ -10362,25 +11631,25 @@ ] }, "semanticDiagnosticsPerFile": [ + "../../core/accessibility/utils/index.ts", + "../../core/accessibility/utils/isEnterKey.ts", + "../../core/accessibility/utils/isSpaceKey.ts", + "../../core/accessibility/utils/useAccessibilityProps.ts", + "../../core/common.type.tsx", "../../core/components/atoms/_chip/index.tsx", "../../core/components/atoms/_text/index.tsx", + "../../core/components/atoms/actionCard/ActionCard.tsx", + "../../core/components/atoms/actionCard/index.tsx", "../../core/components/atoms/avatar/Avatar.tsx", "../../core/components/atoms/avatar/index.tsx", + "../../core/components/atoms/avatarGroup/AvatarCount.tsx", "../../core/components/atoms/avatarGroup/AvatarGroup.tsx", + "../../core/components/atoms/avatarGroup/AvatarPopperBody.tsx", + "../../core/components/atoms/avatarGroup/Avatars.tsx", "../../core/components/atoms/avatarGroup/index.tsx", "../../core/components/atoms/backdrop/Backdrop.tsx", "../../core/components/atoms/backdrop/index.tsx", "../../core/components/atoms/badge/Badge.tsx", - "../../core/components/atoms/badge/_stories_/SolidAlert.story.tsx", - "../../core/components/atoms/badge/_stories_/SolidSecondary.story.tsx", - "../../core/components/atoms/badge/_stories_/SolidWarning.story.tsx", - "../../core/components/atoms/badge/_stories_/SubtleAlert.story.tsx", - "../../core/components/atoms/badge/_stories_/SubtleSecondary.story.tsx", - "../../core/components/atoms/badge/_stories_/SubtleWarning.story.tsx", - "../../core/components/atoms/badge/_stories_/Success.story.tsx", - "../../core/components/atoms/badge/_stories_/index.story.tsx", - "../../core/components/atoms/badge/_stories_/variants/Appearance.story.tsx", - "../../core/components/atoms/badge/_stories_/variants/Subtle.story.tsx", "../../core/components/atoms/badge/index.tsx", "../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx", "../../core/components/atoms/breadcrumbs/index.tsx", @@ -10399,16 +11668,18 @@ "../../core/components/atoms/cardSubdued/CardSubdued.tsx", "../../core/components/atoms/cardSubdued/index.tsx", "../../core/components/atoms/checkbox/Checkbox.tsx", + "../../core/components/atoms/checkbox/CheckboxIcon.tsx", "../../core/components/atoms/checkbox/index.tsx", "../../core/components/atoms/chip/Chip.tsx", "../../core/components/atoms/chip/index.tsx", "../../core/components/atoms/chipGroup/ChipGroup.tsx", - "../../core/components/atoms/chipGroup/_stories_/index.story.tsx", "../../core/components/atoms/chipGroup/index.tsx", "../../core/components/atoms/collapsible/Collapsible.tsx", "../../core/components/atoms/collapsible/index.tsx", "../../core/components/atoms/column/Column.tsx", "../../core/components/atoms/column/index.tsx", + "../../core/components/atoms/divider/Divider.tsx", + "../../core/components/atoms/divider/index.tsx", "../../core/components/atoms/dropdown/Dropdown.tsx", "../../core/components/atoms/dropdown/DropdownButton.tsx", "../../core/components/atoms/dropdown/DropdownList.tsx", @@ -10425,9 +11696,14 @@ "../../core/components/atoms/editable/index.tsx", "../../core/components/atoms/heading/Heading.tsx", "../../core/components/atoms/heading/index.tsx", + "../../core/components/atoms/helpText/HelpText.tsx", + "../../core/components/atoms/helpText/index.tsx", "../../core/components/atoms/icon/Icon.tsx", "../../core/components/atoms/icon/index.tsx", + "../../core/components/atoms/icon/utils.tsx", "../../core/components/atoms/input/Input.tsx", + "../../core/components/atoms/input/actionButton/ActionButton.tsx", + "../../core/components/atoms/input/actionButton/index.tsx", "../../core/components/atoms/input/index.tsx", "../../core/components/atoms/label/Label.tsx", "../../core/components/atoms/label/index.tsx", @@ -10435,11 +11711,12 @@ "../../core/components/atoms/legend/index.tsx", "../../core/components/atoms/link/Link.tsx", "../../core/components/atoms/link/index.tsx", + "../../core/components/atoms/linkButton/LinkButton.tsx", + "../../core/components/atoms/linkButton/index.tsx", "../../core/components/atoms/message/Message.tsx", "../../core/components/atoms/message/index.tsx", "../../core/components/atoms/metaList/Meta.tsx", "../../core/components/atoms/metaList/MetaList.tsx", - "../../core/components/atoms/metaList/_stories_/index.story.tsx", "../../core/components/atoms/metaList/index.tsx", "../../core/components/atoms/metricInput/MetricInput.tsx", "../../core/components/atoms/metricInput/index.tsx", @@ -10485,26 +11762,12 @@ "../../core/components/atoms/toast/ActionButton.tsx", "../../core/components/atoms/toast/Toast.tsx", "../../core/components/atoms/toast/index.tsx", - "../../core/components/css-utilities/Align/Align.story.tsx", - "../../core/components/css-utilities/Background/Background.story.tsx", - "../../core/components/css-utilities/Display/Display.story.tsx", - "../../core/components/css-utilities/Flex/Flex.story.tsx", - "../../core/components/css-utilities/Miscellaneous/Miscellaneous.story.tsx", - "../../core/components/css-utilities/Overflow/Overflow.story.tsx", - "../../core/components/css-utilities/Position/Position.story.tsx", "../../core/components/css-utilities/Schema.tsx", - "../../core/components/css-utilities/Sizing/Sizing.story.tsx", "../../core/components/css-utilities/Spacing/Data.tsx", "../../core/components/css-utilities/Spacing/Schema.tsx", - "../../core/components/css-utilities/Spacing/Spacing.story.tsx", - "../../core/components/css-utilities/designTokens/Colors.story.tsx", "../../core/components/css-utilities/designTokens/Data.tsx", - "../../core/components/css-utilities/designTokens/Miscellaneous.story.tsx", "../../core/components/css-utilities/designTokens/Schema.tsx", - "../../core/components/css-utilities/designTokens/Spacing.story.tsx", - "../../core/components/css-utilities/designTokens/Typography.story.tsx", "../../core/components/css-utilities/designTokens/Utilities.tsx", - "../../core/components/molecules/Layout/index.story.tsx", "../../core/components/molecules/chatMessage/Box.tsx", "../../core/components/molecules/chatMessage/ChatMessage.tsx", "../../core/components/molecules/chatMessage/MessageText.tsx", @@ -10518,6 +11781,7 @@ "../../core/components/molecules/dropzone/DropzoneActive.tsx", "../../core/components/molecules/dropzone/DropzoneBase.tsx", "../../core/components/molecules/dropzone/DropzoneError.tsx", + "../../core/components/molecules/dropzone/DropzoneIcon.tsx", "../../core/components/molecules/dropzone/FileErrors.tsx", "../../core/components/molecules/dropzone/FileSelectorUtils.tsx", "../../core/components/molecules/dropzone/index.tsx", @@ -10584,6 +11848,8 @@ "../../core/components/organisms/calendar/index.tsx", "../../core/components/organisms/calendar/types.ts", "../../core/components/organisms/calendar/utility.ts", + "../../core/components/organisms/choiceList/ChoiceList.tsx", + "../../core/components/organisms/choiceList/index.tsx", "../../core/components/organisms/datePicker/DatePicker.tsx", "../../core/components/organisms/datePicker/Trigger.tsx", "../../core/components/organisms/datePicker/index.tsx", @@ -10607,6 +11873,8 @@ "../../core/components/organisms/grid/utility.tsx", "../../core/components/organisms/horizontalNav/HorizontalNav.tsx", "../../core/components/organisms/horizontalNav/index.tsx", + "../../core/components/organisms/inlineMessage/InlineMessage.tsx", + "../../core/components/organisms/inlineMessage/index.tsx", "../../core/components/organisms/list/List.tsx", "../../core/components/organisms/list/index.tsx", "../../core/components/organisms/navigation/Navigation.tsx", @@ -10619,31 +11887,21 @@ "../../core/components/organisms/table/Table.tsx", "../../core/components/organisms/table/index.tsx", "../../core/components/organisms/timePicker/TimePicker.tsx", + "../../core/components/organisms/timePicker/TimePickerWithInput.tsx", + "../../core/components/organisms/timePicker/TimePickerWithSearch.tsx", "../../core/components/organisms/timePicker/index.tsx", + "../../core/components/organisms/timePicker/utility/searchUtils.tsx", + "../../core/components/organisms/timePicker/utility/timePickerUtility.tsx", "../../core/components/organisms/timePicker/utils.tsx", "../../core/components/organisms/verticalNav/MenuItem.tsx", "../../core/components/organisms/verticalNav/VerticalNav.tsx", "../../core/components/organisms/verticalNav/index.tsx", - "../../core/components/patterns/datePicker/dateAndTimePicker.story.tsx", - "../../core/components/patterns/dateRangePicker/withCustomPopover.story.tsx", - "../../core/components/patterns/forms/CreatePassword.story.tsx", - "../../core/components/patterns/forms/CreateUser.story.tsx", - "../../core/components/patterns/forms/InlineForm.story.tsx", - "../../core/components/patterns/forms/InlineLabelForm.story.tsx", - "../../core/components/patterns/forms/StepperForm.story.tsx", - "../../core/components/patterns/forms/TimePeriodForm.story.tsx", - "../../core/components/patterns/forms/VerificationCodeInput.story.tsx", - "../../core/components/patterns/forms/basicForm.story.tsx", - "../../core/components/patterns/layouts/blankTemplate.story.tsx", - "../../core/components/patterns/layouts/level1HeaderTemplate.story.tsx", - "../../core/components/patterns/layouts/miniSidebarTemplate.story.tsx", - "../../core/components/patterns/layouts/narrowWidthContentTemplate.story.tsx", - "../../core/components/patterns/layouts/resourceTableTemplate.story.tsx", - "../../core/components/patterns/layouts/sidebarTemplate.story.tsx", - "../../core/components/patterns/verticalNavigation/sideNav.story.tsx", + "../../core/global.d.ts", "../../core/index.tsx", "../../core/index.type.tsx", "../../core/utils/Keys.ts", + "../../core/utils/OverlayManager.tsx", + "../../core/utils/action.ts", "../../core/utils/css.ts", "../../core/utils/docPage/generateImports.tsx", "../../core/utils/docPage/index.tsx", @@ -10663,7 +11921,6 @@ "../../node_modules/@emotion/core/types/index.d.ts", "../../node_modules/@emotion/css/types/index.d.ts", "../../node_modules/@emotion/is-prop-valid/types/index.d.ts", - "../../node_modules/@emotion/serialize/node_modules/csstype/index.d.ts", "../../node_modules/@emotion/serialize/types/helper.d.ts", "../../node_modules/@emotion/serialize/types/index.d.ts", "../../node_modules/@emotion/styled-base/types/helper.d.ts", @@ -10671,39 +11928,6 @@ "../../node_modules/@emotion/styled/types/index.d.ts", "../../node_modules/@emotion/stylis/types/index.d.ts", "../../node_modules/@emotion/utils/types/index.d.ts", - "../../node_modules/@popperjs/core/index.d.ts", - "../../node_modules/@popperjs/core/lib/createPopper.d.ts", - "../../node_modules/@popperjs/core/lib/enums.d.ts", - "../../node_modules/@popperjs/core/lib/index.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/arrow.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/computeStyles.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/flip.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/hide.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/index.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/offset.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts", - "../../node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts", - "../../node_modules/@popperjs/core/lib/popper-lite.d.ts", - "../../node_modules/@popperjs/core/lib/popper.d.ts", - "../../node_modules/@popperjs/core/lib/types.d.ts", - "../../node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/constants.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionDisplay.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionOptions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/ActionsMap.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/DecoratorFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/HandlerFunction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/models/index.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/action.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/actions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/configureActions.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/decorateAction.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/index.d.ts", - "../../node_modules/@storybook/addon-actions/dist/ts3.9/preview/withActions.d.ts", "../../node_modules/@storybook/addon-docs/blocks.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/Anchor.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/ArgsTable.d.ts", @@ -10729,23 +11953,93 @@ "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/index.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/mdx.d.ts", "../../node_modules/@storybook/addon-docs/dist/ts3.9/blocks/types.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Array.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Boolean.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Button.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Color.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Date.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Files.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Number.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Object.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Options.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Radio.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Select.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/Text.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/index.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/components/types/types.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/index.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/shared.d.ts", - "../../node_modules/@storybook/addon-knobs/dist/type-defs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/storybook-channel-mock.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/addons/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/merge.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/lib/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/addons.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/channel.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/globals.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/layout.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/notifications.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/provider.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/refs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/release-notes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/settings.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/shortcuts.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/stories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/url.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/api/dist/ts3.9/store.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/channels/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/_modules/@types-prettier-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/components/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/SBType.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/includeConditionalArg.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-dom-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/_modules/react-router-node_modules-history-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/router/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/ArgsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/GlobalsStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryIndexStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/StoryStore.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/args.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/autoTitle.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/composeConfigs.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/getValuesFromArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeComponentAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeInputTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeProjectAnnotations.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/normalizeStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/prepareStory.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/processCSFFile.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/csf/testing-utils/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/decorators.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/filterArgTypes.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/hooks.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/inferControls.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/parameters.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/sortStories.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/store/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-node_modules-@emotion-utils-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-cache-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-is-prop-valid-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-@emotion-serialize-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-node_modules-csstype-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-helper.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-index.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-jsx-namespace.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/_modules/@emotion-react-types-theming.d.ts", + "../../node_modules/@storybook/addon-docs/node_modules/@storybook/theming/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/addons/dist/ts3.9/hooks.d.ts", "../../node_modules/@storybook/addons/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/addons/dist/ts3.9/make-decorator.d.ts", @@ -10770,83 +12064,21 @@ "../../node_modules/@storybook/api/dist/ts3.9/modules/versions.d.ts", "../../node_modules/@storybook/api/dist/ts3.9/store.d.ts", "../../node_modules/@storybook/channels/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/client_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/config_api.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/decorators.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/filterArgTypes.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/hooks.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/inferControls.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/parameters.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/pathToId.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/queryparams.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/simulate-pageload.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/story_store.d.ts", - "../../node_modules/@storybook/client-api/dist/ts3.9/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/ActionBar/ActionBar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Badge/Badge.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Button/Button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Loader/Loader.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/ScrollArea/ScrollArea.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/Zoom.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomElement.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/Zoom/ZoomIFrame.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/addon-panel/addon-panel.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/bar.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/button.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/bar/separator.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/ArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/NoControlsWarning.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/TabbedArgsTable.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ArgsTable/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/ColorPalette.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Description.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/DocsPage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IFrame.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/IconGallery.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Preview.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Source.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Story.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/Typeset.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/blocks/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookIcon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/brand/StorybookLogo.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Array.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Boolean.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Color.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Date.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Files.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Number.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Object.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Range.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/Text.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/Options.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/options/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/controls/types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/field/field.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/form/input/input.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/icon.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/icons.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/icon/svg.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/index.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/placeholder/placeholder.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/spaced/Spaced.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/lazy-syntaxhighlighter.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/syntaxhighlighter/syntaxhighlighter-types.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tabs/tabs.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/ListItem.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipLinkList.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipMessage.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/TooltipNote.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/WithTooltip.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/tooltip/lazy-WithTooltip.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentFormatting.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/DocumentWrapper.d.ts", - "../../node_modules/@storybook/components/dist/ts3.9/typography/link/link.d.ts", + "../../node_modules/@storybook/csf/dist/SBType.d.ts", "../../node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/csf/dist/story.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/DocsRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/Preview.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/PreviewWeb.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/StoryRender.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/UrlStore.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/WebView.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/index.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/simulate-pageload.d.ts", + "../../node_modules/@storybook/preview-web/dist/ts3.9/types.d.ts", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/addons/dist/ts3.9/public_api.d.ts", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/csf/dist/index.d.ts", + "../../node_modules/@storybook/preview-web/node_modules/@storybook/store/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/router/dist/ts3.9/index.d.ts", "../../node_modules/@storybook/router/dist/ts3.9/router.d.ts", "../../node_modules/@storybook/router/dist/ts3.9/utils.d.ts", @@ -10884,27 +12116,42 @@ "../../node_modules/@types/babel__generator/index.d.ts", "../../node_modules/@types/babel__template/index.d.ts", "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts", - "../../node_modules/@types/braces/index.d.ts", + "../../node_modules/@types/buble/index.d.ts", + "../../node_modules/@types/cacheable-request/index.d.ts", "../../node_modules/@types/color-convert/conversions.d.ts", "../../node_modules/@types/color-convert/index.d.ts", "../../node_modules/@types/color-convert/route.d.ts", "../../node_modules/@types/color-name/index.d.ts", + "../../node_modules/@types/emscripten/index.d.ts", "../../node_modules/@types/estree/index.d.ts", - "../../node_modules/@types/glob-base/index.d.ts", "../../node_modules/@types/glob/index.d.ts", "../../node_modules/@types/graceful-fs/index.d.ts", "../../node_modules/@types/hast/index.d.ts", "../../node_modules/@types/html-minifier-terser/index.d.ts", + "../../node_modules/@types/http-cache-semantics/index.d.ts", "../../node_modules/@types/is-function/index.d.ts", "../../node_modules/@types/istanbul-lib-coverage/index.d.ts", "../../node_modules/@types/istanbul-lib-report/index.d.ts", "../../node_modules/@types/istanbul-reports/index.d.ts", "../../node_modules/@types/jest/index.d.ts", + "../../node_modules/@types/js-beautify/index.d.ts", "../../node_modules/@types/json-schema/index.d.ts", + "../../node_modules/@types/keyv/index.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/array.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/collection.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/common.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/date.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/function.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/lang.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/math.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/number.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/object.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/seq.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/string.d.ts", + "../../node_modules/@types/lodash/ts4.2/common/util.d.ts", + "../../node_modules/@types/lodash/ts4.2/index.d.ts", "../../node_modules/@types/lz-string/index.d.ts", - "../../node_modules/@types/markdown-to-jsx/index.d.ts", "../../node_modules/@types/mdast/index.d.ts", - "../../node_modules/@types/micromatch/index.d.ts", "../../node_modules/@types/minimatch/index.d.ts", "../../node_modules/@types/minimist/index.d.ts", "../../node_modules/@types/node-fetch/externals.d.ts", @@ -10912,7 +12159,6 @@ "../../node_modules/@types/node/assert.d.ts", "../../node_modules/@types/node/assert/strict.d.ts", "../../node_modules/@types/node/async_hooks.d.ts", - "../../node_modules/@types/node/base.d.ts", "../../node_modules/@types/node/buffer.d.ts", "../../node_modules/@types/node/child_process.d.ts", "../../node_modules/@types/node/cluster.d.ts", @@ -10945,13 +12191,14 @@ "../../node_modules/@types/node/readline.d.ts", "../../node_modules/@types/node/repl.d.ts", "../../node_modules/@types/node/stream.d.ts", + "../../node_modules/@types/node/stream/consumers.d.ts", "../../node_modules/@types/node/stream/promises.d.ts", + "../../node_modules/@types/node/stream/web.d.ts", "../../node_modules/@types/node/string_decoder.d.ts", "../../node_modules/@types/node/timers.d.ts", "../../node_modules/@types/node/timers/promises.d.ts", "../../node_modules/@types/node/tls.d.ts", "../../node_modules/@types/node/trace_events.d.ts", - "../../node_modules/@types/node/ts3.6/base.d.ts", "../../node_modules/@types/node/tty.d.ts", "../../node_modules/@types/node/url.d.ts", "../../node_modules/@types/node/util.d.ts", @@ -10965,27 +12212,87 @@ "../../node_modules/@types/overlayscrollbars/index.d.ts", "../../node_modules/@types/parse-json/index.d.ts", "../../node_modules/@types/parse5/index.d.ts", - "../../node_modules/@types/prettier/index.d.ts", "../../node_modules/@types/pretty-hrtime/index.d.ts", "../../node_modules/@types/prop-types/index.d.ts", "../../node_modules/@types/qs/index.d.ts", "../../node_modules/@types/reach__router/index.d.ts", + "../../node_modules/@types/react-color/index.d.ts", + "../../node_modules/@types/react-color/lib/components/alpha/Alpha.d.ts", + "../../node_modules/@types/react-color/lib/components/block/Block.d.ts", + "../../node_modules/@types/react-color/lib/components/chrome/Chrome.d.ts", + "../../node_modules/@types/react-color/lib/components/circle/Circle.d.ts", + "../../node_modules/@types/react-color/lib/components/common/Checkboard.d.ts", + "../../node_modules/@types/react-color/lib/components/common/ColorWrap.d.ts", + "../../node_modules/@types/react-color/lib/components/compact/Compact.d.ts", + "../../node_modules/@types/react-color/lib/components/github/Github.d.ts", + "../../node_modules/@types/react-color/lib/components/hue/Hue.d.ts", + "../../node_modules/@types/react-color/lib/components/material/Material.d.ts", + "../../node_modules/@types/react-color/lib/components/photoshop/Photoshop.d.ts", + "../../node_modules/@types/react-color/lib/components/sketch/Sketch.d.ts", + "../../node_modules/@types/react-color/lib/components/slider/Slider.d.ts", + "../../node_modules/@types/react-color/lib/components/swatches/Swatches.d.ts", + "../../node_modules/@types/react-color/lib/components/twitter/Twitter.d.ts", "../../node_modules/@types/react-dom/index.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/global.d.ts", "../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts", + "../../node_modules/@types/react-dom/node_modules/csstype/index.d.ts", "../../node_modules/@types/react-dom/server/index.d.ts", "../../node_modules/@types/react-dom/test-utils/index.d.ts", "../../node_modules/@types/react-syntax-highlighter/index.d.ts", "../../node_modules/@types/react/global.d.ts", "../../node_modules/@types/react/index.d.ts", + "../../node_modules/@types/react/node_modules/csstype/index.d.ts", + "../../node_modules/@types/reactcss/index.d.ts", "../../node_modules/@types/resolve/index.d.ts", + "../../node_modules/@types/responselike/index.d.ts", "../../node_modules/@types/scheduler/index.d.ts", "../../node_modules/@types/scheduler/tracing.d.ts", + "../../node_modules/@types/semver/classes/comparator.d.ts", + "../../node_modules/@types/semver/classes/range.d.ts", + "../../node_modules/@types/semver/classes/semver.d.ts", + "../../node_modules/@types/semver/functions/clean.d.ts", + "../../node_modules/@types/semver/functions/cmp.d.ts", + "../../node_modules/@types/semver/functions/coerce.d.ts", + "../../node_modules/@types/semver/functions/compare-build.d.ts", + "../../node_modules/@types/semver/functions/compare-loose.d.ts", + "../../node_modules/@types/semver/functions/compare.d.ts", + "../../node_modules/@types/semver/functions/diff.d.ts", + "../../node_modules/@types/semver/functions/eq.d.ts", + "../../node_modules/@types/semver/functions/gt.d.ts", + "../../node_modules/@types/semver/functions/gte.d.ts", + "../../node_modules/@types/semver/functions/inc.d.ts", + "../../node_modules/@types/semver/functions/lt.d.ts", + "../../node_modules/@types/semver/functions/lte.d.ts", + "../../node_modules/@types/semver/functions/major.d.ts", + "../../node_modules/@types/semver/functions/minor.d.ts", + "../../node_modules/@types/semver/functions/neq.d.ts", + "../../node_modules/@types/semver/functions/parse.d.ts", + "../../node_modules/@types/semver/functions/patch.d.ts", + "../../node_modules/@types/semver/functions/prerelease.d.ts", + "../../node_modules/@types/semver/functions/rcompare.d.ts", + "../../node_modules/@types/semver/functions/rsort.d.ts", + "../../node_modules/@types/semver/functions/satisfies.d.ts", + "../../node_modules/@types/semver/functions/sort.d.ts", + "../../node_modules/@types/semver/functions/valid.d.ts", + "../../node_modules/@types/semver/index.d.ts", + "../../node_modules/@types/semver/internals/identifiers.d.ts", + "../../node_modules/@types/semver/ranges/gtr.d.ts", + "../../node_modules/@types/semver/ranges/intersects.d.ts", + "../../node_modules/@types/semver/ranges/ltr.d.ts", + "../../node_modules/@types/semver/ranges/max-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-satisfying.d.ts", + "../../node_modules/@types/semver/ranges/min-version.d.ts", + "../../node_modules/@types/semver/ranges/outside.d.ts", + "../../node_modules/@types/semver/ranges/simplify.d.ts", + "../../node_modules/@types/semver/ranges/subset.d.ts", + "../../node_modules/@types/semver/ranges/to-comparators.d.ts", + "../../node_modules/@types/semver/ranges/valid.d.ts", "../../node_modules/@types/source-list-map/index.d.ts", "../../node_modules/@types/stack-utils/index.d.ts", "../../node_modules/@types/tapable/index.d.ts", "../../node_modules/@types/testing-library__jest-dom/index.d.ts", "../../node_modules/@types/throttle-debounce/index.d.ts", + "../../node_modules/@types/treeify/index.d.ts", "../../node_modules/@types/uglify-js/index.d.ts", "../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts", "../../node_modules/@types/unist/index.d.ts", @@ -11004,10 +12311,10 @@ "../../node_modules/@types/webpack-sources/lib/index.d.ts", "../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts", "../../node_modules/@types/webpack/index.d.ts", - "../../node_modules/@types/webpack/node_modules/anymatch/index.d.ts", "../../node_modules/@types/webpack/node_modules/source-map/source-map.d.ts", "../../node_modules/@types/yargs-parser/index.d.ts", "../../node_modules/@types/yargs/index.d.ts", + "../../node_modules/anymatch/index.d.ts", "../../node_modules/classnames/index.d.ts", "../../node_modules/csstype/index.d.ts", "../../node_modules/emotion-theming/types/helper.d.ts", @@ -11015,6 +12322,8 @@ "../../node_modules/form-data/index.d.ts", "../../node_modules/jest-diff/build/index.d.ts", "../../node_modules/jest-diff/build/types.d.ts", + "../../node_modules/keyv/src/index.d.ts", + "../../node_modules/magic-string/index.d.ts", "../../node_modules/popper.js/index.d.ts", "../../node_modules/pretty-format/build/index.d.ts", "../../node_modules/pretty-format/build/types.d.ts", @@ -11022,8 +12331,12 @@ "../../node_modules/react-element-to-jsx-string/index.d.ts", "../../node_modules/react-live/typings/react-live.d.ts", "../../node_modules/react-popper/typings/react-popper.d.ts", + "../../node_modules/react-router-dom/index.d.ts", + "../../node_modules/react-router/index.d.ts", + "../../node_modules/react-router/node_modules/history/index.d.ts", "../../node_modules/react-textarea-autosize/dist/declarations/src/index.d.ts", "../../node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.d.ts", + "../../node_modules/synchronous-promise/index.d.ts", "../../node_modules/tslib/tslib.d.ts", "../../node_modules/typescript/lib/lib.dom.d.ts", "../../node_modules/typescript/lib/lib.es2015.collection.d.ts", @@ -11050,7 +12363,16 @@ "../../node_modules/typescript/lib/lib.es2018.intl.d.ts", "../../node_modules/typescript/lib/lib.es2018.promise.d.ts", "../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", + "../../node_modules/typescript/lib/lib.es2019.array.d.ts", + "../../node_modules/typescript/lib/lib.es2019.d.ts", + "../../node_modules/typescript/lib/lib.es2019.object.d.ts", + "../../node_modules/typescript/lib/lib.es2019.string.d.ts", + "../../node_modules/typescript/lib/lib.es2019.symbol.d.ts", "../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", + "../../node_modules/typescript/lib/lib.es2020.d.ts", + "../../node_modules/typescript/lib/lib.es2020.promise.d.ts", + "../../node_modules/typescript/lib/lib.es2020.string.d.ts", + "../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts", "../../node_modules/typescript/lib/lib.es5.d.ts", "../../node_modules/typescript/lib/lib.esnext.intl.d.ts", "../../scripts/setupGlobalJest.ts", diff --git a/dist/core/accessibility/utils/index.d.ts b/dist/core/accessibility/utils/index.d.ts new file mode 100644 index 0000000000..e870f3f029 --- /dev/null +++ b/dist/core/accessibility/utils/index.d.ts @@ -0,0 +1,4 @@ +import isEnterKey from "./isEnterKey"; +import isSpaceKey from "./isSpaceKey"; +import useAccessibilityProps from "./useAccessibilityProps"; +export { isEnterKey, useAccessibilityProps, isSpaceKey }; diff --git a/dist/core/accessibility/utils/isEnterKey.d.ts b/dist/core/accessibility/utils/isEnterKey.d.ts new file mode 100644 index 0000000000..994e3d87d1 --- /dev/null +++ b/dist/core/accessibility/utils/isEnterKey.d.ts @@ -0,0 +1,3 @@ +import React from 'react'; +declare const isEnterKey: (e: React.KeyboardEvent) => boolean; +export default isEnterKey; diff --git a/dist/core/accessibility/utils/isSpaceKey.d.ts b/dist/core/accessibility/utils/isSpaceKey.d.ts new file mode 100644 index 0000000000..0242192b60 --- /dev/null +++ b/dist/core/accessibility/utils/isSpaceKey.d.ts @@ -0,0 +1,3 @@ +import React from 'react'; +declare const isSpaceKey: (e: React.KeyboardEvent) => boolean; +export default isSpaceKey; diff --git a/dist/core/accessibility/utils/useAccessibilityProps.d.ts b/dist/core/accessibility/utils/useAccessibilityProps.d.ts new file mode 100644 index 0000000000..59b0b07b61 --- /dev/null +++ b/dist/core/accessibility/utils/useAccessibilityProps.d.ts @@ -0,0 +1,21 @@ +import * as React from 'react'; +declare type AriaRoleType = React.AriaRole; +interface IProps { + onClick?: (event: React.MouseEvent) => void; + onKeyDown?: (event: React.KeyboardEvent) => void; + role?: AriaRoleType; + tabIndex?: number; + 'aria-label'?: React.AriaAttributes['aria-label']; +} +declare const useAccessibilityProps: ({ onClick, onKeyDown, role, tabIndex, ...rest }: IProps) => { + onClick: (event: React.MouseEvent) => void; + role: React.AriaRole; + tabIndex: number; + 'aria-label': string | undefined; + onKeyDown: (e: React.SyntheticEvent) => void; +} | { + role: React.AriaRole; + tabIndex: number | undefined; + 'aria-label': string | undefined; +}; +export default useAccessibilityProps; diff --git a/dist/core/common.type.d.ts b/dist/core/common.type.d.ts new file mode 100644 index 0000000000..6dd4b1ff1b --- /dev/null +++ b/dist/core/common.type.d.ts @@ -0,0 +1,20 @@ +/// +import { OverlayFooterProps } from "./components/molecules/overlayFooter"; +export declare type AccentAppearance = 'primary' | 'secondary' | 'alert' | 'warning' | 'success' | 'accent1' | 'accent2' | 'accent3' | 'accent4'; +export declare type HeadingAppearance = 'default' | 'subtle' | 'disabled' | 'white'; +export declare type MessageAppearance = 'default' | 'alert' | 'info' | 'success' | 'warning'; +export declare type FileStatus = 'uploading' | 'completed' | 'error'; +export declare type FooterOptions = { + actions: OverlayFooterProps['actions']; +}; +export declare type AutoComplete = 'on' | 'off'; +export declare type NumberRange = [number, number]; +export declare type ChangeEvent = React.ChangeEvent; +export declare type TextColor = 'white' | 'primary' | 'secondary' | 'success' | 'alert' | 'warning' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'inverse' | 'primary-dark' | 'secondary-dark' | 'success-dark' | 'alert-dark' | 'warning-dark' | 'accent1-dark' | 'accent2-dark' | 'accent3-dark' | 'accent4-dark' | 'primary-darker' | 'success-darker' | 'alert-darker' | 'warning-darker' | 'accent1-darker' | 'accent2-darker' | 'accent3-darker' | 'accent4-darker' | 'primary-light' | 'secondary-light' | 'success-light' | 'alert-light' | 'warning-light' | 'accent1-light' | 'accent2-light' | 'accent3-light' | 'accent4-light' | 'inverse-light' | 'primary-lighter' | 'secondary-lighter' | 'success-lighter' | 'alert-lighter' | 'warning-lighter' | 'accent1-lighter' | 'accent2-lighter' | 'accent3-lighter' | 'accent4-lighter' | 'inverse-lighter' | 'primary-lightest' | 'secondary-lightest' | 'success-lightest' | 'alert-lightest' | 'warning-lightest' | 'accent1-lightest' | 'accent2-lightest' | 'accent3-lightest' | 'accent4-lightest' | 'inverse-lightest' | 'primary-shadow' | 'secondary-shadow' | 'success-shadow' | 'alert-shadow' | 'warning-shadow' | 'accent1-shadow' | 'accent2-shadow' | 'accent3-shadow' | 'accent4-shadow' | 'inverse-shadow'; +export declare type AvatarSize = 'regular' | 'tiny'; +export declare type FontVariationType = { + fill?: number; + weight?: number; + grade?: number; + opticalSize?: number; +}; diff --git a/dist/core/components/atoms/_chip/index.d.ts b/dist/core/components/atoms/_chip/index.d.ts new file mode 100644 index 0000000000..eb1c0b118f --- /dev/null +++ b/dist/core/components/atoms/_chip/index.d.ts @@ -0,0 +1,21 @@ +import * as React from 'react'; +import { Name } from "../chip/Chip"; +import { BaseProps } from "../../../utils/types"; +import { FontVariationType } from "../../../common.type"; +export interface GenericChipProps extends BaseProps { + label: string | React.ReactElement; + labelPrefix?: string; + icon?: string; + clearButton?: boolean; + disabled?: boolean; + selected?: boolean; + onClose?: () => void; + onClick?: () => void; + iconVariations?: FontVariationType; + name: Name; +} +export declare const GenericChip: { + (props: GenericChipProps): JSX.Element; + displayName: string; +}; +export default GenericChip; diff --git a/dist/core/components/atoms/_text/index.d.ts b/dist/core/components/atoms/_text/index.d.ts new file mode 100644 index 0000000000..9c7d66e5da --- /dev/null +++ b/dist/core/components/atoms/_text/index.d.ts @@ -0,0 +1,10 @@ +import * as React from 'react'; +interface Props { + children: React.ReactNode; + componentType: string; + className?: string; +} +declare const GenericText: ({ children, componentType, className, ...props }: Props) => React.ReactElement<{ + className: string | undefined; +}, string | ((props: any) => React.ReactElement | null) | (new (props: any) => React.Component)>; +export default GenericText; diff --git a/dist/core/components/atoms/actionCard/ActionCard.d.ts b/dist/core/components/atoms/actionCard/ActionCard.d.ts new file mode 100644 index 0000000000..15af07fac7 --- /dev/null +++ b/dist/core/components/atoms/actionCard/ActionCard.d.ts @@ -0,0 +1,13 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +export interface ActionCardProps extends BaseProps, BaseHtmlProps { + children: React.ReactNode; + disabled?: boolean; + zIndex?: number; + onClick?: (e: React.MouseEvent | React.KeyboardEvent) => void; +} +export declare const ActionCard: { + (props: ActionCardProps): JSX.Element; + displayName: string; +}; +export default ActionCard; diff --git a/dist/core/components/atoms/actionCard/index.d.ts b/dist/core/components/atoms/actionCard/index.d.ts new file mode 100644 index 0000000000..2e9b649bd5 --- /dev/null +++ b/dist/core/components/atoms/actionCard/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ActionCard"; +export * from "./ActionCard"; diff --git a/dist/core/components/atoms/avatar/Avatar.d.ts b/dist/core/components/atoms/avatar/Avatar.d.ts new file mode 100644 index 0000000000..7037b5cef5 --- /dev/null +++ b/dist/core/components/atoms/avatar/Avatar.d.ts @@ -0,0 +1,22 @@ +import { BaseProps } from "../../../utils/types"; +import { TooltipProps } from "../../../index.type"; +import { AccentAppearance, AvatarSize } from "../../../common.type"; +export interface AvatarProps extends BaseProps { + appearance?: AccentAppearance; + children?: string; + firstName?: string; + lastName?: string; + withTooltip: boolean; + tooltipPosition: TooltipProps['position']; + size: AvatarSize; +} +export declare const Avatar: { + (props: AvatarProps): JSX.Element; + displayName: string; + defaultProps: { + tooltipPosition: string; + withTooltip: boolean; + size: string; + }; +}; +export default Avatar; diff --git a/dist/core/components/atoms/avatar/index.d.ts b/dist/core/components/atoms/avatar/index.d.ts new file mode 100644 index 0000000000..e3e2d0ccbc --- /dev/null +++ b/dist/core/components/atoms/avatar/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Avatar"; +export * from "./Avatar"; diff --git a/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts b/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts new file mode 100644 index 0000000000..48b54a0bcb --- /dev/null +++ b/dist/core/components/atoms/avatarGroup/AvatarCount.d.ts @@ -0,0 +1,2 @@ +declare const AvatarCount: (props: any) => JSX.Element; +export default AvatarCount; diff --git a/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts b/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts new file mode 100644 index 0000000000..696b1a78b4 --- /dev/null +++ b/dist/core/components/atoms/avatarGroup/AvatarGroup.d.ts @@ -0,0 +1,37 @@ +import { BaseProps } from "../../../utils/types"; +import { AvatarProps, PopoverProps } from "../../../index.type"; +import { AvatarSize } from "../../../common.type"; +interface AvatarData extends Record { + firstName?: string; + lastName?: string; + appearance?: AvatarProps['appearance']; +} +interface AvatarPopoverProps { + popperRenderer?: (names: AvatarData[]) => JSX.Element; + appendToBody?: PopoverProps['appendToBody']; + dark?: PopoverProps['dark']; + position?: PopoverProps['position']; + on?: PopoverProps['on']; + maxHeight?: number; + popperClassName?: string; +} +export interface AvatarGroupProps extends BaseProps { + list: AvatarData[]; + max: number; + borderColor: string; + size: AvatarSize; + popoverOptions: AvatarPopoverProps; + tooltipPosition: PopoverProps['position']; +} +export declare const AvatarGroup: { + (props: AvatarGroupProps): JSX.Element; + displayName: string; + defaultProps: { + max: number; + tooltipPosition: string; + borderColor: string; + popoverOptions: {}; + size: string; + }; +}; +export default AvatarGroup; diff --git a/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts b/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts new file mode 100644 index 0000000000..19e363c239 --- /dev/null +++ b/dist/core/components/atoms/avatarGroup/AvatarPopperBody.d.ts @@ -0,0 +1,2 @@ +declare const AvatarPopperBody: (props: any) => any; +export default AvatarPopperBody; diff --git a/dist/core/components/atoms/avatarGroup/Avatars.d.ts b/dist/core/components/atoms/avatarGroup/Avatars.d.ts new file mode 100644 index 0000000000..6d941ac5b7 --- /dev/null +++ b/dist/core/components/atoms/avatarGroup/Avatars.d.ts @@ -0,0 +1,2 @@ +declare const Avatars: (props: any) => any; +export default Avatars; diff --git a/dist/core/components/atoms/avatarGroup/index.d.ts b/dist/core/components/atoms/avatarGroup/index.d.ts new file mode 100644 index 0000000000..32c0faceea --- /dev/null +++ b/dist/core/components/atoms/avatarGroup/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./AvatarGroup"; +export * from "./AvatarGroup"; diff --git a/dist/core/components/atoms/backdrop/Backdrop.d.ts b/dist/core/components/atoms/backdrop/Backdrop.d.ts new file mode 100644 index 0000000000..935f992b7c --- /dev/null +++ b/dist/core/components/atoms/backdrop/Backdrop.d.ts @@ -0,0 +1,8 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface BackdropProps extends BaseProps { + open: boolean; + zIndex?: number; +} +export declare const Backdrop: React.FC; +export default Backdrop; diff --git a/dist/core/components/atoms/backdrop/index.d.ts b/dist/core/components/atoms/backdrop/index.d.ts new file mode 100644 index 0000000000..09081bd96d --- /dev/null +++ b/dist/core/components/atoms/backdrop/index.d.ts @@ -0,0 +1,2 @@ +export { default, default as Backdrop } from "./Backdrop"; +export * from "./Backdrop"; diff --git a/dist/core/components/atoms/badge/Badge.d.ts b/dist/core/components/atoms/badge/Badge.d.ts new file mode 100644 index 0000000000..529802266a --- /dev/null +++ b/dist/core/components/atoms/badge/Badge.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { AccentAppearance } from "../../../common.type"; +export interface BadgeProps extends BaseProps { + appearance: AccentAppearance; + subtle?: boolean; + children: React.ReactText; +} +export declare const Badge: { + (props: BadgeProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default Badge; diff --git a/dist/core/components/atoms/badge/index.d.ts b/dist/core/components/atoms/badge/index.d.ts new file mode 100644 index 0000000000..abcef5c144 --- /dev/null +++ b/dist/core/components/atoms/badge/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Badge"; +export * from "./Badge"; diff --git a/dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts b/dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts new file mode 100644 index 0000000000..5237ebef27 --- /dev/null +++ b/dist/core/components/atoms/breadcrumbs/Breadcrumbs.d.ts @@ -0,0 +1,12 @@ +import { BaseProps } from "../../../utils/types"; +interface Breadcrumb { + label: string; + link: string; +} +export interface BreadcrumbsProps extends BaseProps { + list: Breadcrumb[]; + onClick?: (link: string) => void; + showTooltip?: boolean; +} +export declare const Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element; +export default Breadcrumbs; diff --git a/dist/core/components/atoms/breadcrumbs/index.d.ts b/dist/core/components/atoms/breadcrumbs/index.d.ts new file mode 100644 index 0000000000..99b13e97a4 --- /dev/null +++ b/dist/core/components/atoms/breadcrumbs/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Breadcrumbs"; +export * from "./Breadcrumbs"; diff --git a/dist/core/components/atoms/button/Button.d.ts b/dist/core/components/atoms/button/Button.d.ts new file mode 100644 index 0000000000..cd47cbd127 --- /dev/null +++ b/dist/core/components/atoms/button/Button.d.ts @@ -0,0 +1,29 @@ +import * as React from 'react'; +import { BaseProps, BaseHtmlProps } from "../../../utils/types"; +import { FontVariationType } from "../../../common.type"; +export declare type ButtonType = 'button' | 'submit' | 'reset'; +export declare type ButtonAppearance = 'basic' | 'primary' | 'success' | 'alert' | 'transparent'; +export declare type ButtonSize = 'tiny' | 'regular' | 'large'; +export declare type ButtonAlignment = 'left' | 'right'; +export interface ButtonProps extends BaseProps, BaseHtmlProps { + type?: ButtonType; + size?: ButtonSize; + appearance?: ButtonAppearance; + disabled?: boolean; + expanded?: boolean; + selected?: boolean; + loading?: boolean; + tooltip?: string; + icon?: string; + iconAlign?: ButtonAlignment; + largeIcon?: boolean; + iconVariations?: FontVariationType; + children?: React.ReactText; + tabIndex?: number; + autoFocus?: boolean; + onClick?: (event: React.MouseEvent) => void; + onMouseEnter?: (event: React.MouseEvent) => void; + onMouseLeave?: (event: React.MouseEvent) => void; +} +export declare const Button: React.ForwardRefExoticComponent>; +export default Button; diff --git a/dist/core/components/atoms/button/index.d.ts b/dist/core/components/atoms/button/index.d.ts new file mode 100644 index 0000000000..7023e5af1a --- /dev/null +++ b/dist/core/components/atoms/button/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Button"; +export * from "./Button"; diff --git a/dist/core/components/atoms/caption/Caption.d.ts b/dist/core/components/atoms/caption/Caption.d.ts new file mode 100644 index 0000000000..8b32c8f2db --- /dev/null +++ b/dist/core/components/atoms/caption/Caption.d.ts @@ -0,0 +1,13 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface CaptionProps extends BaseProps { + children: React.ReactNode; + error?: boolean; + hide?: boolean; + withInput?: boolean; +} +export declare const Caption: { + (props: CaptionProps): JSX.Element; + displayName: string; +}; +export default Caption; diff --git a/dist/core/components/atoms/caption/index.d.ts b/dist/core/components/atoms/caption/index.d.ts new file mode 100644 index 0000000000..909e607341 --- /dev/null +++ b/dist/core/components/atoms/caption/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Caption"; +export * from "./Caption"; diff --git a/dist/core/components/atoms/card/Card.d.ts b/dist/core/components/atoms/card/Card.d.ts new file mode 100644 index 0000000000..6efd1d2f20 --- /dev/null +++ b/dist/core/components/atoms/card/Card.d.ts @@ -0,0 +1,8 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +export declare type Shadow = 'none' | 'default' | 'light' | 'medium' | 'dark' | 'shadow10' | 'shadow20' | 'shadow30'; +export interface CardProps extends BaseProps, BaseHtmlProps { + shadow?: Shadow; +} +export declare const Card: React.ForwardRefExoticComponent>; +export default Card; diff --git a/dist/core/components/atoms/card/index.d.ts b/dist/core/components/atoms/card/index.d.ts new file mode 100644 index 0000000000..1bf89bfbf2 --- /dev/null +++ b/dist/core/components/atoms/card/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Card"; +export * from "./Card"; diff --git a/dist/core/components/atoms/cardBody/CardBody.d.ts b/dist/core/components/atoms/cardBody/CardBody.d.ts new file mode 100644 index 0000000000..3dfc48f217 --- /dev/null +++ b/dist/core/components/atoms/cardBody/CardBody.d.ts @@ -0,0 +1,10 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface CardBodyProps extends BaseProps { + children: React.ReactNode; +} +export declare const CardBody: { + (props: CardBodyProps): JSX.Element; + displayName: string; +}; +export default CardBody; diff --git a/dist/core/components/atoms/cardBody/index.d.ts b/dist/core/components/atoms/cardBody/index.d.ts new file mode 100644 index 0000000000..109e85ba23 --- /dev/null +++ b/dist/core/components/atoms/cardBody/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./CardBody"; +export * from "./CardBody"; diff --git a/dist/core/components/atoms/cardFooter/CardFooter.d.ts b/dist/core/components/atoms/cardFooter/CardFooter.d.ts new file mode 100644 index 0000000000..f9235e8b5e --- /dev/null +++ b/dist/core/components/atoms/cardFooter/CardFooter.d.ts @@ -0,0 +1,14 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface CardFooterProps extends BaseProps { + children: React.ReactNode; + withSeperator: boolean; +} +export declare const CardFooter: { + (props: CardFooterProps): JSX.Element; + displayName: string; + defaultProps: { + withSeperator: boolean; + }; +}; +export default CardFooter; diff --git a/dist/core/components/atoms/cardFooter/index.d.ts b/dist/core/components/atoms/cardFooter/index.d.ts new file mode 100644 index 0000000000..5140823717 --- /dev/null +++ b/dist/core/components/atoms/cardFooter/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./CardFooter"; +export * from "./CardFooter"; diff --git a/dist/core/components/atoms/cardHeader/CardHeader.d.ts b/dist/core/components/atoms/cardHeader/CardHeader.d.ts new file mode 100644 index 0000000000..72faca13bd --- /dev/null +++ b/dist/core/components/atoms/cardHeader/CardHeader.d.ts @@ -0,0 +1,10 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface CardHeaderProps extends BaseProps { + children: React.ReactNode; +} +export declare const CardHeader: { + (props: CardHeaderProps): JSX.Element; + displayName: string; +}; +export default CardHeader; diff --git a/dist/core/components/atoms/cardHeader/index.d.ts b/dist/core/components/atoms/cardHeader/index.d.ts new file mode 100644 index 0000000000..0ac7e489f0 --- /dev/null +++ b/dist/core/components/atoms/cardHeader/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./CardHeader"; +export * from "./CardHeader"; diff --git a/dist/core/components/atoms/cardSubdued/CardSubdued.d.ts b/dist/core/components/atoms/cardSubdued/CardSubdued.d.ts new file mode 100644 index 0000000000..6d5deef493 --- /dev/null +++ b/dist/core/components/atoms/cardSubdued/CardSubdued.d.ts @@ -0,0 +1,8 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +declare type Border = 'top' | 'left' | 'right' | 'bottom'; +export interface CardSubduedProps extends BaseProps, BaseHtmlProps { + border?: Border; +} +export declare const CardSubdued: React.ForwardRefExoticComponent>; +export default CardSubdued; diff --git a/dist/core/components/atoms/cardSubdued/index.d.ts b/dist/core/components/atoms/cardSubdued/index.d.ts new file mode 100644 index 0000000000..489427e8e4 --- /dev/null +++ b/dist/core/components/atoms/cardSubdued/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./CardSubdued"; +export * from "./CardSubdued"; diff --git a/dist/core/components/atoms/checkbox/Checkbox.d.ts b/dist/core/components/atoms/checkbox/Checkbox.d.ts new file mode 100644 index 0000000000..d3f2b25481 --- /dev/null +++ b/dist/core/components/atoms/checkbox/Checkbox.d.ts @@ -0,0 +1,21 @@ +import * as React from 'react'; +import { BaseProps, OmitNativeProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +export declare type CheckBoxSize = 'regular' | 'tiny'; +export interface CheckboxProps extends BaseProps, OmitNativeProps { + size?: CheckBoxSize; + defaultChecked?: boolean; + checked?: boolean; + indeterminate?: boolean; + disabled?: boolean; + label?: string; + helpText?: string; + name?: string; + value?: string | number; + tabIndex?: number; + onChange?: (event: ChangeEvent) => void; + error?: boolean; + id?: string; +} +export declare const Checkbox: React.ForwardRefExoticComponent>; +export default Checkbox; diff --git a/dist/core/components/atoms/checkbox/CheckboxIcon.d.ts b/dist/core/components/atoms/checkbox/CheckboxIcon.d.ts new file mode 100644 index 0000000000..ba92258b94 --- /dev/null +++ b/dist/core/components/atoms/checkbox/CheckboxIcon.d.ts @@ -0,0 +1,5 @@ +declare type CheckboxIconProp = { + name: string; +}; +declare const CheckboxIcon: (props: CheckboxIconProp) => JSX.Element | null; +export default CheckboxIcon; diff --git a/dist/core/components/atoms/checkbox/index.d.ts b/dist/core/components/atoms/checkbox/index.d.ts new file mode 100644 index 0000000000..364664ba8e --- /dev/null +++ b/dist/core/components/atoms/checkbox/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Checkbox"; +export * from "./Checkbox"; diff --git a/dist/core/components/atoms/chip/Chip.d.ts b/dist/core/components/atoms/chip/Chip.d.ts new file mode 100644 index 0000000000..c35f20469d --- /dev/null +++ b/dist/core/components/atoms/chip/Chip.d.ts @@ -0,0 +1,26 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { FontVariationType } from "../../../common.type"; +export declare type ChipType = 'action' | 'selection' | 'input'; +export declare type Name = number | string | object; +export interface ChipProps extends BaseProps { + label: string | React.ReactElement; + labelPrefix?: string; + icon?: string; + iconVariations?: FontVariationType; + clearButton?: boolean; + disabled?: boolean; + selected?: boolean; + type: ChipType; + onClose?: (name: Name) => void; + onClick?: (name: Name) => void; + name: Name; +} +export declare const Chip: { + (props: ChipProps): JSX.Element; + displayName: string; + defaultProps: { + type: string; + }; +}; +export default Chip; diff --git a/dist/core/components/atoms/chip/index.d.ts b/dist/core/components/atoms/chip/index.d.ts new file mode 100644 index 0000000000..a548b9f1ed --- /dev/null +++ b/dist/core/components/atoms/chip/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Chip"; +export * from "./Chip"; diff --git a/dist/core/components/atoms/chipGroup/ChipGroup.d.ts b/dist/core/components/atoms/chipGroup/ChipGroup.d.ts new file mode 100644 index 0000000000..92cad8e066 --- /dev/null +++ b/dist/core/components/atoms/chipGroup/ChipGroup.d.ts @@ -0,0 +1,12 @@ +import { ChipProps } from "../chip/Chip"; +import { BaseProps } from "../../../utils/types"; +export interface ChipGroupProps extends BaseProps { + onClose?: (item: ChipProps) => void; + onClick?: (item: ChipProps) => void; + list: ChipProps[]; +} +export declare const ChipGroup: { + (props: ChipGroupProps): JSX.Element; + displayName: string; +}; +export default ChipGroup; diff --git a/dist/core/components/atoms/chipGroup/index.d.ts b/dist/core/components/atoms/chipGroup/index.d.ts new file mode 100644 index 0000000000..084a6ebf40 --- /dev/null +++ b/dist/core/components/atoms/chipGroup/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ChipGroup"; +export * from "./ChipGroup"; diff --git a/dist/core/components/atoms/collapsible/Collapsible.d.ts b/dist/core/components/atoms/collapsible/Collapsible.d.ts new file mode 100644 index 0000000000..804a0eb786 --- /dev/null +++ b/dist/core/components/atoms/collapsible/Collapsible.d.ts @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface CollapsibleProps extends BaseProps { + expanded: boolean; + hoverable: boolean; + height: React.ReactText; + expandedWidth: number; + onToggle?: (expanded: boolean) => void; + children: React.ReactChild; + withTrigger: boolean; +} +export declare const Collapsible: { + (props: CollapsibleProps): JSX.Element; + displayName: string; + defaultProps: { + expanded: boolean; + hoverable: boolean; + height: string; + expandedWidth: string; + withTrigger: boolean; + }; +}; +export default Collapsible; diff --git a/dist/core/components/atoms/collapsible/index.d.ts b/dist/core/components/atoms/collapsible/index.d.ts new file mode 100644 index 0000000000..c8976f3130 --- /dev/null +++ b/dist/core/components/atoms/collapsible/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Collapsible"; +export * from "./Collapsible"; diff --git a/dist/core/components/atoms/column/Column.d.ts b/dist/core/components/atoms/column/Column.d.ts new file mode 100644 index 0000000000..66d3514fea --- /dev/null +++ b/dist/core/components/atoms/column/Column.d.ts @@ -0,0 +1,13 @@ +import * as React from 'react'; +import { BaseProps, BaseHtmlProps } from "../../../utils/types"; +declare type Columns = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; +export interface ColumnProps extends BaseProps, BaseHtmlProps { + size?: Columns; + sizeXS?: Columns; + sizeS?: Columns; + sizeM?: Columns; + sizeL?: Columns; + sizeXL?: Columns; +} +export declare const Column: React.ForwardRefExoticComponent>; +export default Column; diff --git a/dist/core/components/atoms/column/index.d.ts b/dist/core/components/atoms/column/index.d.ts new file mode 100644 index 0000000000..b2f968fedf --- /dev/null +++ b/dist/core/components/atoms/column/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Column"; +export * from "./Column"; diff --git a/dist/core/components/atoms/divider/Divider.d.ts b/dist/core/components/atoms/divider/Divider.d.ts new file mode 100644 index 0000000000..0c9c349335 --- /dev/null +++ b/dist/core/components/atoms/divider/Divider.d.ts @@ -0,0 +1,15 @@ +import { BaseProps } from "../../../utils/types"; +declare type DividerType = 'basic' | 'header'; +export interface DividerProps extends BaseProps { + vertical: boolean; + appearance: DividerType; +} +export declare const Divider: { + (props: DividerProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + vertical: boolean; + }; +}; +export default Divider; diff --git a/dist/core/components/atoms/divider/index.d.ts b/dist/core/components/atoms/divider/index.d.ts new file mode 100644 index 0000000000..4498091c01 --- /dev/null +++ b/dist/core/components/atoms/divider/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Divider"; +export * from "./Divider"; diff --git a/dist/core/components/atoms/dropdown/Dropdown.d.ts b/dist/core/components/atoms/dropdown/Dropdown.d.ts new file mode 100644 index 0000000000..b2dd07452f --- /dev/null +++ b/dist/core/components/atoms/dropdown/Dropdown.d.ts @@ -0,0 +1,99 @@ +import * as React from 'react'; +import { DropdownListProps, SelectAll, Selected } from "./DropdownList"; +import { OptionSchema } from "./option"; +import { BaseProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +declare type fetchOptionsFunction = (searchTerm: string) => Promise<{ + searchTerm?: string; + count: number; + options: OptionSchema[]; +}>; +export declare type EventType = 'select-option' | 'deselect-option' | 'select-all' | 'deselect-all' | 'clear-all' | 'apply-selected' | 'cancel-selected'; +interface ControlledProps { + selected?: OptionSchema[]; + onUpdate?: (type: EventType, options?: OptionSchema | OptionSchema[], recentSelected?: OptionSchema[]) => void; +} +interface SyncProps { + options: OptionSchema[]; + loading?: boolean; +} +interface AsyncProps { + fetchOptions?: fetchOptionsFunction; +} +interface TriggerProps { + labelLimit?: number; + customLabel?: (selected: number, totalOptions?: number, selectedOptions?: OptionSchema[]) => string; + customTrigger?: (label: string) => React.ReactElement; +} +interface SharedDropdownProps extends DropdownListProps, BaseProps { + name?: string | number; + totalOptions?: number; + closeOnSelect: boolean; + triggerOptions: TriggerProps; + open?: boolean; + staticLimit: number; + searchDebounceDuration: number; + onPopperToggle?: (open: boolean, type?: string) => void; + getLabel?: (label: string) => void; + onChange?: (selected: any[] | any, name?: string | number) => void; + onClose?: (selected: any[], name?: string | number) => void; + tabIndex?: number; +} +declare type SyncDropdownProps = SyncProps & SharedDropdownProps; +declare type AsyncDropdownProps = AsyncProps & SharedDropdownProps; +export declare type UncontrolledDropdownProps = SyncDropdownProps & AsyncDropdownProps; +export declare type ControlledDropdownProps = ControlledProps & SyncDropdownProps & AsyncDropdownProps; +export declare type DropdownProps = ControlledDropdownProps & UncontrolledDropdownProps; +interface DropdownState { + async: boolean; + searchInit: boolean; + options: OptionSchema[]; + loading?: boolean; + optionsApplied: boolean; + open?: boolean; + searchTerm: string; + optionsLength: number; + searchedOptionsLength: number; + triggerLabel: string; + selectAll: SelectAll; + selected: OptionSchema[]; + tempSelected: OptionSchema[]; + previousSelected: OptionSchema[]; + scrollIndex?: number; +} +export declare class Dropdown extends React.Component { + staticLimit: number; + static defaultProps: { + triggerOptions: {}; + options: never[]; + closeOnSelect: boolean; + staticLimit: number; + searchDebounceDuration: number; + }; + constructor(props: DropdownProps); + componentDidMount(): void; + componentDidUpdate(prevProps: DropdownProps, prevState: DropdownState): void; + getDisabledOptions: (options?: OptionSchema[]) => OptionSchema[]; + fetchOptionsFunction: (searchTerm: string) => Promise; + getUnSelectedOptions: (options: OptionSchema[], init: boolean) => OptionSchema[]; + getSelectedOptions: (options: OptionSchema[], init: boolean) => OptionSchema[]; + updateOptions: (init: boolean, async?: boolean | undefined) => void; + updateSearchTerm: (search: string) => void; + updateOnPopperToggle: () => void; + debounceOnClose: import("throttle-debounce").throttle<(values: any, name: any) => void>; + updateTriggerLabel: (selectedArray?: Selected[], totalOptions?: number | undefined) => string; + updateSelectedOptions: (selectedArray: OptionSchema[], isSingleSelect: boolean, isControlled?: boolean | undefined) => void; + isValidOption: (option: OptionSchema) => boolean; + onOptionSelect: (option: OptionSchema) => void; + onSelect: (option: OptionSchema, checked: boolean) => void; + onSelectAll: (event: ChangeEvent) => void; + debounceSearch: import("throttle-debounce").throttle<() => void>; + debounceClear: import("throttle-debounce").throttle<() => void>; + onClearOptions: () => void; + onTogglePopper: (type: string) => void; + onCancelOptions: () => void; + onApplyOptions: () => void; + onToggleDropdown: (updatedOpen: boolean, type?: string | undefined) => void; + render(): JSX.Element; +} +export default Dropdown; diff --git a/dist/core/components/atoms/dropdown/DropdownButton.d.ts b/dist/core/components/atoms/dropdown/DropdownButton.d.ts new file mode 100644 index 0000000000..2e02064ec1 --- /dev/null +++ b/dist/core/components/atoms/dropdown/DropdownButton.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { FontVariationType } from "../../../common.type"; +export declare type DropDownButtonSize = 'tiny' | 'regular'; +export interface TriggerProps { + triggerSize?: DropDownButtonSize; + icon?: string; + iconVariations?: FontVariationType; + placeholder?: string; + inlineLabel?: string; + disabled?: boolean; + menu?: boolean; + error?: boolean; +} +export interface DropdownButtonProps extends TriggerProps { + children?: React.ReactText; + open?: boolean; +} +declare const DropdownButton: React.ForwardRefExoticComponent>; +export default DropdownButton; diff --git a/dist/core/components/atoms/dropdown/DropdownList.d.ts b/dist/core/components/atoms/dropdown/DropdownList.d.ts new file mode 100644 index 0000000000..702674b114 --- /dev/null +++ b/dist/core/components/atoms/dropdown/DropdownList.d.ts @@ -0,0 +1,77 @@ +import * as React from 'react'; +import { PopoverProps } from "../../../index.type"; +import { TriggerProps } from "./DropdownButton"; +import { OptionRendererProps, OptionSchema } from "./option"; +import { BaseProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +export declare type DropdownAlign = 'left' | 'right'; +export declare type OptionType = 'DEFAULT' | 'WITH_ICON' | 'WITH_META' | 'ICON_WITH_META'; +export interface Selected { + label: OptionSchema['label']; + value: OptionSchema['value']; +} +export interface SelectAll { + indeterminate: boolean; + checked: boolean; +} +interface PopoverOptions { + appendToBody?: PopoverProps['appendToBody']; + hideOnReferenceEscape?: PopoverProps['hideOnReferenceEscape']; + boundaryElement?: PopoverProps['boundaryElement']; +} +declare type TriggerAndOptionProps = TriggerProps & OptionRendererProps; +export interface DropdownListProps extends TriggerAndOptionProps { + align?: DropdownAlign; + noResultMessage?: string; + selectAllLabel?: string; + footerLabel?: string; + selectedSectionLabel?: string; + allItemsSectionLabel?: string; + applyButtonLabel?: string; + cancelButtonLabel?: string; + withSearch?: boolean; + withCheckbox?: boolean; + withSelectAll?: boolean; + showApplyButton?: boolean; + truncateOption?: boolean; + totalOptions?: number; + maxHeight?: number; + width?: number; + maxWidth?: number; + minWidth?: number; + loadersCount?: number; + popoverOptions?: PopoverOptions; + searchPlaceholder?: string; + scrollIndex?: number; +} +interface OptionsProps extends DropdownListProps, BaseProps { + listOptions: OptionSchema[]; + searchTerm: string; + triggerLabel: string; + loadingOptions?: boolean; + searchInit?: boolean; + dropdownOpen?: boolean; + async?: boolean; + remainingOptions: number; + firstEnabledOption: number; + selected: OptionSchema[]; + tempSelected: OptionSchema[]; + previousSelected: OptionSchema[]; + selectAll: SelectAll; + inputRef: React.RefObject; + customTrigger?: (label: string) => React.ReactElement; + applyOptions: () => void; + cancelOptions: () => void; + toggleDropdown: (open: boolean, type?: string) => void; + onClearOptions: () => void; + onSelectAll: (event: ChangeEvent) => void; + onSearchChange?: (searchText: string) => void; + onOptionSelect: (selected: any[] | any) => void; + onSelect: (option: OptionSchema, checked: boolean) => void; +} +export declare const usePrevious: (value: any) => undefined; +declare const DropdownList: { + (props: OptionsProps): JSX.Element; + displayName: string; +}; +export default DropdownList; diff --git a/dist/core/components/atoms/dropdown/Loading.d.ts b/dist/core/components/atoms/dropdown/Loading.d.ts new file mode 100644 index 0000000000..3cca4efce0 --- /dev/null +++ b/dist/core/components/atoms/dropdown/Loading.d.ts @@ -0,0 +1,2 @@ +declare const Loading: (props: any) => JSX.Element | null; +export default Loading; diff --git a/dist/core/components/atoms/dropdown/index.d.ts b/dist/core/components/atoms/dropdown/index.d.ts new file mode 100644 index 0000000000..cb2d3b2d1e --- /dev/null +++ b/dist/core/components/atoms/dropdown/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Dropdown"; +export * from "./Dropdown"; diff --git a/dist/core/components/atoms/dropdown/option/CheckboxOption.d.ts b/dist/core/components/atoms/dropdown/option/CheckboxOption.d.ts new file mode 100644 index 0000000000..9ef2600f1c --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/CheckboxOption.d.ts @@ -0,0 +1,3 @@ +import { OptionTypeProps } from "./index"; +declare const CheckboxOption: (props: OptionTypeProps) => JSX.Element; +export default CheckboxOption; diff --git a/dist/core/components/atoms/dropdown/option/DefaultOption.d.ts b/dist/core/components/atoms/dropdown/option/DefaultOption.d.ts new file mode 100644 index 0000000000..bc8430c36b --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/DefaultOption.d.ts @@ -0,0 +1,3 @@ +import { OptionTypeProps } from "./index"; +declare const DefaultOption: (props: OptionTypeProps) => JSX.Element; +export default DefaultOption; diff --git a/dist/core/components/atoms/dropdown/option/IconOption.d.ts b/dist/core/components/atoms/dropdown/option/IconOption.d.ts new file mode 100644 index 0000000000..ba08ff373a --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/IconOption.d.ts @@ -0,0 +1,3 @@ +import { OptionTypeProps } from "./index"; +declare const IconOption: (props: OptionTypeProps) => JSX.Element; +export default IconOption; diff --git a/dist/core/components/atoms/dropdown/option/IconWithMetaOption.d.ts b/dist/core/components/atoms/dropdown/option/IconWithMetaOption.d.ts new file mode 100644 index 0000000000..a3f04785b6 --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/IconWithMetaOption.d.ts @@ -0,0 +1,3 @@ +import { OptionTypeProps } from "./index"; +declare const IconWithMetaOption: (props: OptionTypeProps) => JSX.Element; +export default IconWithMetaOption; diff --git a/dist/core/components/atoms/dropdown/option/MetaOption.d.ts b/dist/core/components/atoms/dropdown/option/MetaOption.d.ts new file mode 100644 index 0000000000..0c8f526853 --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/MetaOption.d.ts @@ -0,0 +1,3 @@ +import { OptionTypeProps } from "./index"; +declare const MetaOption: (props: OptionTypeProps) => JSX.Element; +export default MetaOption; diff --git a/dist/core/components/atoms/dropdown/option/index.d.ts b/dist/core/components/atoms/dropdown/option/index.d.ts new file mode 100644 index 0000000000..15978fd610 --- /dev/null +++ b/dist/core/components/atoms/dropdown/option/index.d.ts @@ -0,0 +1,50 @@ +import * as React from 'react'; +import { MetaListProps, IconProps, TextProps } from "../../../../index.type"; +import { OptionType } from "../DropdownList"; +import { ChangeEvent, FontVariationType } from "../../../../common.type"; +export declare type ClickEvent = React.MouseEvent; +export interface OptionRendererProps { + optionRenderer?: (props: OptionProps) => React.ReactElement; + optionType?: OptionType; +} +export interface OptionSchema extends Record { + label: string; + value: React.ReactText; + icon?: string; + subInfo?: string | MetaListProps; + optionType?: OptionType; + selected?: boolean; + disabled?: boolean; + group?: string; + iconVariations?: FontVariationType; +} +export interface OptionTypeProps { + className: string; + textClassName: string; + dataTest?: string; + optionData: OptionSchema; + selected: boolean; + appearance?: IconProps['appearance']; + color?: TextProps['color']; + index: number; + onUpdateActiveOption: () => void; + onClickHandler?: (event: ClickEvent) => void; + onChangeHandler?: (event: ChangeEvent) => void; + renderSubInfo: (subInfo: string | MetaListProps) => React.ReactElement; + id?: string; +} +interface OptionProps extends OptionRendererProps { + optionData: OptionSchema; + selected: boolean; + truncateOption?: boolean; + checkboxes?: boolean; + index: number; + active?: boolean; + menu?: boolean; + onClick?: () => void; + onChange?: (event: ChangeEvent) => void; + updateActiveOption?: (index: number) => void; + id?: string; +} +declare const Option: (props: OptionProps) => JSX.Element; +export default Option; diff --git a/dist/core/components/atoms/dropdown/utility.d.ts b/dist/core/components/atoms/dropdown/utility.d.ts new file mode 100644 index 0000000000..9e5d202a39 --- /dev/null +++ b/dist/core/components/atoms/dropdown/utility.d.ts @@ -0,0 +1,15 @@ +import { OptionSchema as Option } from "./option"; +export declare const getSearchedOptions: (options: any, searchTerm: string) => any; +export declare const _isEqual: (firstList: Option[], secondList: Option[]) => boolean; +export declare const _isControlled: (selected?: Option[] | undefined) => boolean; +export declare const _isOpenControlled: (open?: boolean | undefined) => boolean; +export declare const _showSelectedItems: (bulk: boolean, searchTerm: string, withCheckbox?: boolean | undefined) => boolean | undefined; +export declare const _isSelectAllPresent: (searchTerm: string, bulkOptions: number, withSelectAll: boolean, withCheckbox?: boolean | undefined) => boolean | undefined; +export declare const scrollTo: (element: Element, top: number) => void; +export declare const scrollIntoView: (menuElement: HTMLDivElement | null, focusedElement: HTMLElement) => void; +export declare const getSelectAll: (selected: Option[], optionsLength: number, disabledOptionsLength: number) => { + indeterminate: boolean; + checked: boolean; +}; +export declare const scrollToOptionIndex: (scrollIndex: number, listOptions: any) => void; +export declare const groupListOptions: (listOptions: Option[]) => Option[]; diff --git a/dist/core/components/atoms/editable/Editable.d.ts b/dist/core/components/atoms/editable/Editable.d.ts new file mode 100644 index 0000000000..87477f37b4 --- /dev/null +++ b/dist/core/components/atoms/editable/Editable.d.ts @@ -0,0 +1,12 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface EditableProps extends BaseProps { + editing?: boolean; + children: React.ReactNode; + onChange: (eventType: string) => void; +} +export declare const Editable: { + (props: EditableProps): JSX.Element; + displayName: string; +}; +export default Editable; diff --git a/dist/core/components/atoms/editable/index.d.ts b/dist/core/components/atoms/editable/index.d.ts new file mode 100644 index 0000000000..b6f283c613 --- /dev/null +++ b/dist/core/components/atoms/editable/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Editable"; +export * from "./Editable"; diff --git a/dist/core/components/atoms/heading/Heading.d.ts b/dist/core/components/atoms/heading/Heading.d.ts new file mode 100644 index 0000000000..b3719c959f --- /dev/null +++ b/dist/core/components/atoms/heading/Heading.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { HeadingAppearance, TextColor } from "../../../common.type"; +export declare type HeadingSize = 's' | 'm' | 'l' | 'xl' | 'xxl'; +export interface HeadingProps extends BaseProps, BaseHtmlProps { + children: React.ReactText; + appearance: HeadingAppearance; + size: HeadingSize; + color?: TextColor; +} +export declare const Heading: { + (props: HeadingProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + size: string; + }; +}; +export default Heading; diff --git a/dist/core/components/atoms/heading/index.d.ts b/dist/core/components/atoms/heading/index.d.ts new file mode 100644 index 0000000000..87171029bd --- /dev/null +++ b/dist/core/components/atoms/heading/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Heading"; +export * from "./Heading"; diff --git a/dist/core/components/atoms/helpText/HelpText.d.ts b/dist/core/components/atoms/helpText/HelpText.d.ts new file mode 100644 index 0000000000..3b24277400 --- /dev/null +++ b/dist/core/components/atoms/helpText/HelpText.d.ts @@ -0,0 +1,9 @@ +export interface HelpTextProps { + message?: string; + error?: boolean; +} +export declare const HelpText: { + (props: HelpTextProps): JSX.Element | null; + displayName: string; +}; +export default HelpText; diff --git a/dist/core/components/atoms/helpText/index.d.ts b/dist/core/components/atoms/helpText/index.d.ts new file mode 100644 index 0000000000..6c37c133cc --- /dev/null +++ b/dist/core/components/atoms/helpText/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./HelpText"; +export * from "./HelpText"; diff --git a/dist/core/components/atoms/icon/Icon.d.ts b/dist/core/components/atoms/icon/Icon.d.ts new file mode 100644 index 0000000000..d40cf0d160 --- /dev/null +++ b/dist/core/components/atoms/icon/Icon.d.ts @@ -0,0 +1,30 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export declare type IconAppearance = 'default' | 'destructive' | 'white' | 'subtle' | 'disabled' | 'info' | 'alert' | 'warning' | 'success' | 'primary_lighter' | 'primary' | 'primary_dark' | 'alert_lighter' | 'alert_dark' | 'warning_lighter' | 'warning_dark' | 'success_lighter' | 'success_dark' | 'accent1' | 'accent1_lighter' | 'accent1_dark' | 'accent2' | 'accent2_lighter' | 'accent2_dark' | 'accent3' | 'accent3_lighter' | 'accent3_dark' | 'accent4' | 'accent4_lighter' | 'accent4_dark' | 'inverse'; +export declare type IconType = 'filled' | 'outlined' | 'outline' | 'rounded' | 'round' | 'two-tone' | 'sharp'; +export declare type FontVariationType = { + fill?: number; + weight?: number; + grade?: number; + opticalSize?: number; +}; +export interface IconProps extends BaseProps { + name?: string; + size: number; + type?: IconType; + appearance?: IconAppearance; + variations?: FontVariationType; + onClick?: (e: React.MouseEvent) => void; + onKeyDown?: (e: React.KeyboardEvent) => void; + children?: React.ReactNode; + tabIndex?: React.DetailedHTMLProps, HTMLElement>['tabIndex']; +} +export declare const Icon: { + (props: IconProps): JSX.Element; + displayName: string; + defaultProps: { + size: number; + type: string; + }; +}; +export default Icon; diff --git a/dist/core/components/atoms/icon/index.d.ts b/dist/core/components/atoms/icon/index.d.ts new file mode 100644 index 0000000000..4e4e4857cc --- /dev/null +++ b/dist/core/components/atoms/icon/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Icon"; +export * from "./Icon"; diff --git a/dist/core/components/atoms/icon/utils.d.ts b/dist/core/components/atoms/icon/utils.d.ts new file mode 100644 index 0000000000..280f4283b1 --- /dev/null +++ b/dist/core/components/atoms/icon/utils.d.ts @@ -0,0 +1,7 @@ +import { FontVariationType } from "./Icon"; +export declare const getFontVariation: (iconName: string, variations?: FontVariationType | undefined, type?: string | undefined, size?: number | undefined) => { + fill: number; + weight: number; + grade: number; + opticalSize: number | undefined; +}; diff --git a/dist/core/components/atoms/input/Input.d.ts b/dist/core/components/atoms/input/Input.d.ts new file mode 100644 index 0000000000..f90958eb0e --- /dev/null +++ b/dist/core/components/atoms/input/Input.d.ts @@ -0,0 +1,49 @@ +import * as React from 'react'; +import { IconProps } from "../../../index.type"; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { AutoComplete, FontVariationType } from "../../../common.type"; +export declare type InputType = 'text' | 'password' | 'number' | 'email' | 'tel' | 'url'; +export declare type InputSize = 'tiny' | 'regular' | 'large'; +export interface InputProps extends BaseProps, BaseHtmlProps { + name?: string; + type?: InputType; + value?: string; + defaultValue?: string; + placeholder?: string; + size?: InputSize; + icon?: string; + iconVariations?: FontVariationType; + inlineLabel?: string; + disabled?: boolean; + required?: boolean; + autoFocus?: boolean; + autoComplete?: AutoComplete; + readOnly?: boolean; + min?: number; + max?: number; + minLength?: number; + maxLength?: number; + pattern?: string; + error?: boolean; + info?: string; + minWidth?: string; + onClear?: (e: React.MouseEvent | React.KeyboardEvent) => void; + onChange?: (e: React.ChangeEvent) => void; + onClick?: (e: React.MouseEvent) => void; + onBlur?: (e: React.FocusEvent) => void; + onFocus?: (e: React.FocusEvent) => void; + onPaste?: React.ClipboardEventHandler; + actionIcon?: React.ReactElement; +} +export declare const Input: React.ForwardRefExoticComponent>; +declare const ActionInput: React.ForwardRefExoticComponent> & { + ActionButton: { + (props: import("./actionButton").ActionButtonProps): JSX.Element; + displayName: string; + defaultProps: { + size: number; + type: string; + }; + }; +}; +export default ActionInput; diff --git a/dist/core/components/atoms/input/actionButton/ActionButton.d.ts b/dist/core/components/atoms/input/actionButton/ActionButton.d.ts new file mode 100644 index 0000000000..37a2f242eb --- /dev/null +++ b/dist/core/components/atoms/input/actionButton/ActionButton.d.ts @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { BaseProps } from "../../../../utils/types"; +import { FontVariationType } from "../../../../common.type"; +export declare type ActionButtonType = 'outlined' | 'rounded'; +export interface ActionButtonProps extends BaseProps { + name?: string; + size: number; + type?: ActionButtonType; + iconVariations?: FontVariationType; + onClick?: (e: React.MouseEvent) => void; + onKeyDown?: (e: React.KeyboardEvent) => void; + children?: React.ReactNode; + tabIndex?: React.DetailedHTMLProps, HTMLElement>['tabIndex']; +} +export declare const ActionButton: { + (props: ActionButtonProps): JSX.Element; + displayName: string; + defaultProps: { + size: number; + type: string; + }; +}; +export default ActionButton; diff --git a/dist/core/components/atoms/input/actionButton/index.d.ts b/dist/core/components/atoms/input/actionButton/index.d.ts new file mode 100644 index 0000000000..bfd92dde49 --- /dev/null +++ b/dist/core/components/atoms/input/actionButton/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ActionButton"; +export * from "./ActionButton"; diff --git a/dist/core/components/atoms/input/index.d.ts b/dist/core/components/atoms/input/index.d.ts new file mode 100644 index 0000000000..be6b33fa08 --- /dev/null +++ b/dist/core/components/atoms/input/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Input"; +export * from "./Input"; diff --git a/dist/core/components/atoms/label/Label.d.ts b/dist/core/components/atoms/label/Label.d.ts new file mode 100644 index 0000000000..c3cdac864a --- /dev/null +++ b/dist/core/components/atoms/label/Label.d.ts @@ -0,0 +1,15 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +export interface LabelProps extends BaseProps, BaseHtmlProps { + children: React.ReactNode; + disabled?: boolean; + required?: boolean; + optional?: boolean; + withInput?: boolean; + info?: string; +} +export declare const Label: { + (props: LabelProps): JSX.Element; + displayName: string; +}; +export default Label; diff --git a/dist/core/components/atoms/label/index.d.ts b/dist/core/components/atoms/label/index.d.ts new file mode 100644 index 0000000000..4ce3f05585 --- /dev/null +++ b/dist/core/components/atoms/label/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Label"; +export * from "./Label"; diff --git a/dist/core/components/atoms/legend/Legend.d.ts b/dist/core/components/atoms/legend/Legend.d.ts new file mode 100644 index 0000000000..2c4ee4c1b2 --- /dev/null +++ b/dist/core/components/atoms/legend/Legend.d.ts @@ -0,0 +1,22 @@ +import * as React from 'react'; +import { TextAppearance } from "../text"; +import { BaseProps } from "../../../utils/types"; +export interface LegendProps extends BaseProps { + children: React.ReactText; + iconAppearance: string; + labelAppearance?: TextAppearance; + iconSize: number; + labelWeight?: 'strong' | 'medium'; + onClick?: (e: React.MouseEvent) => void; + onMouseEnter?: (e: React.MouseEvent) => void; + onMouseLeave?: (e: React.MouseEvent) => void; +} +export declare const Legend: { + (props: LegendProps): JSX.Element; + displayName: string; + defaultProps: { + iconAppearance: string; + iconSize: number; + }; +}; +export default Legend; diff --git a/dist/core/components/atoms/legend/index.d.ts b/dist/core/components/atoms/legend/index.d.ts new file mode 100644 index 0000000000..af121a0a34 --- /dev/null +++ b/dist/core/components/atoms/legend/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Legend"; +export * from "./Legend"; diff --git a/dist/core/components/atoms/link/Link.d.ts b/dist/core/components/atoms/link/Link.d.ts new file mode 100644 index 0000000000..ca11cf6fbf --- /dev/null +++ b/dist/core/components/atoms/link/Link.d.ts @@ -0,0 +1,28 @@ +import * as React from 'react'; +import { BaseProps, OmitNativeProps } from "../../../utils/types"; +declare type LinkTarget = '_blank' | '_self' | '_parent' | '_top'; +declare type LinkAppearance = 'default' | 'subtle'; +declare type LinkSize = 'regular' | 'tiny'; +export interface LinkProps extends BaseProps, OmitNativeProps { + id?: string; + appearance: LinkAppearance; + size: LinkSize; + disabled: boolean; + href?: string; + target?: LinkTarget; + rel?: string; + download?: string; + hreflang?: string; + onClick?: (event: React.MouseEvent) => void; + children: React.ReactNode; +} +export declare const Link: { + (props: LinkProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + size: string; + disabled: boolean; + }; +}; +export default Link; diff --git a/dist/core/components/atoms/link/index.d.ts b/dist/core/components/atoms/link/index.d.ts new file mode 100644 index 0000000000..5954afdda2 --- /dev/null +++ b/dist/core/components/atoms/link/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Link"; +export * from "./Link"; diff --git a/dist/core/components/atoms/linkButton/LinkButton.d.ts b/dist/core/components/atoms/linkButton/LinkButton.d.ts new file mode 100644 index 0000000000..96d12be57f --- /dev/null +++ b/dist/core/components/atoms/linkButton/LinkButton.d.ts @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { BaseProps, BaseHtmlProps } from "../../../utils/types"; +import { FontVariationType } from "../../../common.type"; +export declare type ButtonType = 'button' | 'submit' | 'reset'; +export declare type LinkButtonSize = 'tiny' | 'regular'; +export declare type IconAlignment = 'left' | 'right'; +export interface LinkButtonProps extends BaseProps, BaseHtmlProps { + type?: ButtonType; + size?: LinkButtonSize; + disabled?: boolean; + icon?: string; + iconAlign?: IconAlignment; + iconVariations?: FontVariationType; + children: React.ReactText; + tabIndex?: number; + autoFocus?: boolean; + subtle?: boolean; + onClick?: (event: React.MouseEvent) => void; + onMouseEnter?: (event: React.MouseEvent) => void; + onMouseLeave?: (event: React.MouseEvent) => void; +} +export declare const LinkButton: React.ForwardRefExoticComponent>; +export default LinkButton; diff --git a/dist/core/components/atoms/linkButton/index.d.ts b/dist/core/components/atoms/linkButton/index.d.ts new file mode 100644 index 0000000000..a05bd6ca6c --- /dev/null +++ b/dist/core/components/atoms/linkButton/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./LinkButton"; +export * from "./LinkButton"; diff --git a/dist/core/components/atoms/message/Message.d.ts b/dist/core/components/atoms/message/Message.d.ts new file mode 100644 index 0000000000..3704a5424b --- /dev/null +++ b/dist/core/components/atoms/message/Message.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { MessageAppearance } from "../../../common.type"; +export interface MessageProps extends BaseProps { + appearance: MessageAppearance; + title?: string; + children?: React.ReactNode; + description: string; + actions?: React.ReactNode; +} +export declare const Message: { + (props: MessageProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + description: string; + }; +}; +export default Message; diff --git a/dist/core/components/atoms/message/index.d.ts b/dist/core/components/atoms/message/index.d.ts new file mode 100644 index 0000000000..c5419b5eae --- /dev/null +++ b/dist/core/components/atoms/message/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Message"; +export * from "./Message"; diff --git a/dist/core/components/atoms/metaList/Meta.d.ts b/dist/core/components/atoms/metaList/Meta.d.ts new file mode 100644 index 0000000000..c07093c0c3 --- /dev/null +++ b/dist/core/components/atoms/metaList/Meta.d.ts @@ -0,0 +1,13 @@ +import { MetaSize } from "./MetaList"; +import { FontVariationType } from "../../../common.type"; +export interface MetaProps { + label: string; + icon?: string; + size?: MetaSize; + iconVariations?: FontVariationType; +} +export declare const Meta: { + (props: MetaProps): JSX.Element; + displayName: string; +}; +export default Meta; diff --git a/dist/core/components/atoms/metaList/MetaList.d.ts b/dist/core/components/atoms/metaList/MetaList.d.ts new file mode 100644 index 0000000000..e79e238773 --- /dev/null +++ b/dist/core/components/atoms/metaList/MetaList.d.ts @@ -0,0 +1,23 @@ +import { MetaProps } from "./Meta"; +import { IconProps, TextProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +export declare type MetaSize = 'small' | 'regular'; +export interface MetaListProps extends BaseProps { + list: MetaProps[]; + seperator?: boolean; + seperatorAppearance: IconProps['appearance']; + iconAppearance: IconProps['appearance']; + labelAppearance: TextProps['appearance']; + size?: MetaSize; +} +export declare const MetaList: { + (props: MetaListProps): JSX.Element; + displayName: string; + defaultProps: { + seperatorAppearance: string; + iconAppearance: string; + labelAppearance: string; + size: string; + }; +}; +export default MetaList; diff --git a/dist/core/components/atoms/metaList/index.d.ts b/dist/core/components/atoms/metaList/index.d.ts new file mode 100644 index 0000000000..d57d003ec5 --- /dev/null +++ b/dist/core/components/atoms/metaList/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./MetaList"; +export * from "./MetaList"; diff --git a/dist/core/components/atoms/metricInput/MetricInput.d.ts b/dist/core/components/atoms/metricInput/MetricInput.d.ts new file mode 100644 index 0000000000..d9163a7093 --- /dev/null +++ b/dist/core/components/atoms/metricInput/MetricInput.d.ts @@ -0,0 +1,30 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { AutoComplete, FontVariationType } from "../../../common.type"; +export declare type MetricInputSize = 'regular' | 'large'; +export interface MetricInputProps extends BaseProps, BaseHtmlProps { + name?: string; + value?: React.ReactText; + defaultValue?: React.ReactText; + placeholder?: string; + size?: MetricInputSize; + icon?: string; + iconVariations?: FontVariationType; + prefix?: string; + suffix?: string; + disabled?: boolean; + autoFocus?: boolean; + autoComplete?: AutoComplete; + readOnly?: boolean; + min?: number; + max?: number; + error?: boolean; + showActionButton?: boolean; + onChange?: (e: React.ChangeEvent) => void; + onClick?: (e: React.MouseEvent) => void; + onBlur?: (e: React.FocusEvent) => void; + onFocus?: (e: React.FocusEvent) => void; + onKeyDown?: (e: React.KeyboardEvent) => void; +} +export declare const MetricInput: React.ForwardRefExoticComponent>; +export default MetricInput; diff --git a/dist/core/components/atoms/metricInput/index.d.ts b/dist/core/components/atoms/metricInput/index.d.ts new file mode 100644 index 0000000000..c834404cf0 --- /dev/null +++ b/dist/core/components/atoms/metricInput/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./MetricInput"; +export * from "./MetricInput"; diff --git a/dist/core/components/atoms/multiSlider/Handle.d.ts b/dist/core/components/atoms/multiSlider/Handle.d.ts new file mode 100644 index 0000000000..fcc99c1e78 --- /dev/null +++ b/dist/core/components/atoms/multiSlider/Handle.d.ts @@ -0,0 +1,52 @@ +import * as React from 'react'; +export interface HandleProps { + value: number; + fillAfter?: boolean; + fillBefore?: boolean; + onChange?: (newValue: number) => void; + onRelease?: (newValue: number) => void; +} +export interface InternalHandleProps extends HandleProps { + disabled?: boolean; + isCurrentLabelHovered?: boolean; + label: string; + max: number; + min: number; + stepSize: number; + tickSize: number; + tickSizeRatio: number; + zIndex?: number; +} +export interface HandleState { + isHandleMoving?: boolean; + isHandleHovered?: boolean; +} +export declare class Handle extends React.Component { + state: { + isHandleMoving: boolean; + isHandleHovered: boolean; + }; + handleElement: HTMLElement | null; + refHandlers: { + handle: (el: HTMLDivElement) => HTMLDivElement; + }; + componentWillUnmount(): void; + componentDidUpdate(_prevProps: InternalHandleProps, prevState: HandleState): void; + mouseEventClientOffset: (event: MouseEvent | React.MouseEvent) => number; + clientToValue: (clientPixel: number) => number; + changeValue: (newValue: number, callback?: ((newValue: number) => void) | undefined) => number; + endHandleMovement: (event: MouseEvent) => void; + continueHandleMovement: (event: MouseEvent) => void; + beginHandleMovement: (event: MouseEvent | React.MouseEvent) => void; + handleKeyDown: (event: React.KeyboardEvent) => void; + handleKeyUp: (event: React.KeyboardEvent) => void; + getHandleMidpointAndOffset: (handleElement: HTMLElement | null, useOppositeDimension?: boolean) => { + handleMidpoint: number; + handleOffset: number; + }; + handleMouseOver: () => void; + handleMouseLeave: () => void; + render(): JSX.Element; + removeDocumentEventListeners: () => void; +} +export default Handle; diff --git a/dist/core/components/atoms/multiSlider/SliderUtils.d.ts b/dist/core/components/atoms/multiSlider/SliderUtils.d.ts new file mode 100644 index 0000000000..37d7c672e4 --- /dev/null +++ b/dist/core/components/atoms/multiSlider/SliderUtils.d.ts @@ -0,0 +1,9 @@ +/// +export declare const formatPercentage: (ratio: number) => string; +export declare const countDecimalPlaces: (value: number) => number; +export declare const approxEqual: (a: number, b: number) => boolean; +export declare const clamp: (value: number, min: number, max: number) => number; +export declare const arraysEqual: (oldValues: number[], newValues: number[]) => boolean | undefined; +export declare function argMin(values: T[], argFn: (value: T) => any): T | undefined; +export declare function fillValues(values: T[], startIndex: number, endIndex: number, fillValue: T): void; +export declare function isElementOfType(element: React.ReactElement): boolean; diff --git a/dist/core/components/atoms/multiSlider/index.d.ts b/dist/core/components/atoms/multiSlider/index.d.ts new file mode 100644 index 0000000000..cf2d230a71 --- /dev/null +++ b/dist/core/components/atoms/multiSlider/index.d.ts @@ -0,0 +1,68 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import Handle, { HandleProps } from "./Handle"; +import { NumberRange } from "../../../common.type"; +export interface MultiSliderProps extends BaseProps { + disabled?: boolean; + labelStepSize: number; + labelPrecision?: number; + max: number; + min: number; + stepSize: number; + label?: string; + labelRenderer: boolean | ((value: number) => string); +} +interface SliderBaserProps extends MultiSliderProps { + onChange?: (values: number) => void; + onRelease?: (values: number) => void; +} +interface RangeSliderBaseProps extends MultiSliderProps { + onRangeChange?: (values: NumberRange) => void; + onRangeRelease?: (values: NumberRange) => void; +} +interface MultiSliderState { + labelPrecision: number; + tickSize: number; + tickSizeRatio: number; + hoveredLabelValue?: number; +} +declare type InternalMultiSliderProps = SliderBaserProps & RangeSliderBaseProps; +export declare class MultiSlider extends React.Component { + static defaultProps: { + labelStepSize: number; + max: number; + min: number; + stepSize: number; + labelRenderer: boolean; + }; + static Handle: React.FunctionComponent; + handleElements: Handle[]; + trackElement: HTMLElement | null; + constructor(props: InternalMultiSliderProps); + getDerivedStateFromProps(props: InternalMultiSliderProps): { + labelPrecision: number; + }; + getSnapshotBeforeUpdate(prevProps: InternalMultiSliderProps): null; + componentDidMount(): void; + getLabelPrecision: ({ labelPrecision, stepSize }: InternalMultiSliderProps) => number; + getOffsetRatio: (value: number) => number; + addHandleRef: (ref: Handle) => void; + getHandleValues: (props: React.PropsWithChildren) => any[]; + updateTickSize: () => void; + getTrackFill: (start: HandleProps, end?: HandleProps | undefined) => boolean; + nearestHandleForValue(handles: Handle[], getOffset: (handle: Handle) => number): Handle | undefined; + maybeHandleTrackClick: (event: React.MouseEvent) => void; + getLockedHandleIndex: (startIndex: number, endIndex: number) => number; + getNewHandleValues: (newValue: number, oldIndex: number) => any[]; + onReleaseHandler: (newValue: number, index: number) => void; + onChangeHandler: (newValue: number, index: number) => void; + formatLabel: (value: number) => string; + renderHandles: () => JSX.Element[] | null; + renderLabels: () => JSX.Element[]; + renderTrackFill: (index: number, start: HandleProps, end: HandleProps) => JSX.Element; + renderTracks: () => JSX.Element[]; + handleLabelMouseOver: (value: number) => void; + handleLabelMouseLeave: () => void; + render(): JSX.Element; +} +export default MultiSlider; diff --git a/dist/core/components/atoms/outsideClick/OutsideClick.d.ts b/dist/core/components/atoms/outsideClick/OutsideClick.d.ts new file mode 100644 index 0000000000..678c1f4014 --- /dev/null +++ b/dist/core/components/atoms/outsideClick/OutsideClick.d.ts @@ -0,0 +1,8 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +export interface OutsideClickProps extends BaseHtmlProps, BaseProps { + onOutsideClick: (event: Event) => void; + children: React.ReactElement; +} +export declare const OutsideClick: React.ForwardRefExoticComponent>; +export default OutsideClick; diff --git a/dist/core/components/atoms/outsideClick/index.d.ts b/dist/core/components/atoms/outsideClick/index.d.ts new file mode 100644 index 0000000000..8de23d074f --- /dev/null +++ b/dist/core/components/atoms/outsideClick/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./OutsideClick"; +export * from "./OutsideClick"; diff --git a/dist/core/components/atoms/paragraph/Paragraph.d.ts b/dist/core/components/atoms/paragraph/Paragraph.d.ts new file mode 100644 index 0000000000..acfa052a9d --- /dev/null +++ b/dist/core/components/atoms/paragraph/Paragraph.d.ts @@ -0,0 +1,17 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { TextColor } from "../../../common.type"; +export declare type ParagraphAppearance = 'default' | 'white' | 'destructive' | 'subtle' | 'disabled'; +export interface ParagraphProps extends BaseProps, BaseHtmlProps { + children: React.ReactNode; + appearance: ParagraphAppearance; + color?: TextColor; +} +export declare const Paragraph: { + (props: ParagraphProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default Paragraph; diff --git a/dist/core/components/atoms/paragraph/index.d.ts b/dist/core/components/atoms/paragraph/index.d.ts new file mode 100644 index 0000000000..98a450c08e --- /dev/null +++ b/dist/core/components/atoms/paragraph/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Paragraph"; +export * from "./Paragraph"; diff --git a/dist/core/components/atoms/pills/Pills.d.ts b/dist/core/components/atoms/pills/Pills.d.ts new file mode 100644 index 0000000000..86cc3cfddc --- /dev/null +++ b/dist/core/components/atoms/pills/Pills.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { AccentAppearance } from "../../../common.type"; +export interface PillsProps extends BaseProps { + appearance: AccentAppearance; + subtle?: boolean; + children: React.ReactText; +} +export declare const Pills: { + (props: PillsProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default Pills; diff --git a/dist/core/components/atoms/pills/index.d.ts b/dist/core/components/atoms/pills/index.d.ts new file mode 100644 index 0000000000..81e05ecd3b --- /dev/null +++ b/dist/core/components/atoms/pills/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Pills"; +export * from "./Pills"; diff --git a/dist/core/components/atoms/placeholderImage/PlaceholderImage.d.ts b/dist/core/components/atoms/placeholderImage/PlaceholderImage.d.ts new file mode 100644 index 0000000000..75f3c0b3bb --- /dev/null +++ b/dist/core/components/atoms/placeholderImage/PlaceholderImage.d.ts @@ -0,0 +1,14 @@ +import { BaseProps } from "../../../utils/types"; +export declare type PlaceholderImageSize = 'small' | 'medium' | 'large'; +export interface PlaceholderImageProps extends BaseProps { + round?: boolean; + size: PlaceholderImageSize; +} +export declare const PlaceholderImage: { + (props: PlaceholderImageProps): JSX.Element; + displayName: string; + defaultProps: { + size: string; + }; +}; +export default PlaceholderImage; diff --git a/dist/core/components/atoms/placeholderImage/index.d.ts b/dist/core/components/atoms/placeholderImage/index.d.ts new file mode 100644 index 0000000000..fcddd309ce --- /dev/null +++ b/dist/core/components/atoms/placeholderImage/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./PlaceholderImage"; +export * from "./PlaceholderImage"; diff --git a/dist/core/components/atoms/placeholderParagraph/PlaceholderParagraph.d.ts b/dist/core/components/atoms/placeholderParagraph/PlaceholderParagraph.d.ts new file mode 100644 index 0000000000..f13ac937c9 --- /dev/null +++ b/dist/core/components/atoms/placeholderParagraph/PlaceholderParagraph.d.ts @@ -0,0 +1,15 @@ +import { BaseProps } from "../../../utils/types"; +export declare type Length = 'small' | 'medium' | 'large'; +export declare type PlaceholderParagraphSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl'; +export interface PlaceholderParagraphProps extends BaseProps { + length: Length; + size?: PlaceholderParagraphSize; +} +export declare const PlaceholderParagraph: { + (props: PlaceholderParagraphProps): JSX.Element; + displayName: string; + defaultProps: { + length: string; + }; +}; +export default PlaceholderParagraph; diff --git a/dist/core/components/atoms/placeholderParagraph/index.d.ts b/dist/core/components/atoms/placeholderParagraph/index.d.ts new file mode 100644 index 0000000000..3bd46405e5 --- /dev/null +++ b/dist/core/components/atoms/placeholderParagraph/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./PlaceholderParagraph"; +export * from "./PlaceholderParagraph"; diff --git a/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts b/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts new file mode 100644 index 0000000000..7eff86c045 --- /dev/null +++ b/dist/core/components/atoms/popperWrapper/PopperWrapper.d.ts @@ -0,0 +1,860 @@ +import * as React from 'react'; +declare type PositionType = 'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start'; +declare type ActionType = 'click' | 'hover'; +declare type Offset = 'small' | 'medium' | 'large'; +declare type PopperChildrenProps = { + ref: React.Ref; + placement: PositionType; + style: React.CSSProperties; + outOfBoundaries: boolean | null; +}; +export interface PopperWrapperProps { + init?: boolean; + trigger: React.ReactElement; + boundaryElement?: Element | null; + triggerClass?: string; + placement: PositionType; + children: React.ReactElement; + style: React.CSSProperties; + appendToBody: boolean; + on: ActionType; + hoverable: boolean; + offset: Offset; + closeOnBackdropClick: boolean; + closeOnScroll?: boolean; + open?: boolean; + hide?: boolean; + onToggle: (open: boolean, type?: string) => void; + animationClass?: { + open: string; + close: string; + }; +} +interface PopperWrapperState { + zIndex?: number; + animationKeyframe: string; + isOpen: boolean; + uniqueKey: string; + showClosingAnimation: boolean; +} +export declare class PopperWrapper extends React.Component { + triggerRef: React.RefObject; + popupRef: React.RefObject; + hoverableDelay?: number; + _timer?: number; + _throttleWait?: boolean; + offsetMapping: Record; + static defaultProps: { + on: string; + offset: string; + closeOnBackdropClick: boolean; + hoverable: boolean; + appendToBody: boolean; + style: {}; + }; + constructor(props: PopperWrapperProps); + componentDidMount(): void; + componentDidUpdate(prevProps: PopperWrapperProps): void; + componentWillUnmount(): void; + boundaryScrollHandler(): void; + addBoundaryScrollHandler(): void; + removeBoundaryScrollHandler(): void; + mouseMoveHandler(): void; + handleMouseEnter(): void; + handleMouseLeave(): void; + togglePopper: (type: string, newValue?: boolean | undefined) => void; + doesEventContainsElement: (event: Event, ref: React.RefObject) => any; + getZIndexForLayer(node: Element | null): number | undefined; + getUpdatedStyle: (oldStyle: React.CSSProperties, placement: PositionType, offset: Offset) => { + accentColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + alignContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | undefined; + alignItems?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + alignSelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + alignTracks?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | undefined; + animationDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + animationDirection?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "alternate" | "alternate-reverse" | "reverse" | undefined; + animationDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + animationFillMode?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "both" | "backwards" | "forwards" | undefined; + animationIterationCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "infinite" | undefined; + animationName?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + animationPlayState?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "paused" | "running" | undefined; + animationTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + appearance?: "button" | "meter" | "textarea" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "checkbox" | "listbox" | "radio" | "menulist" | "progress-bar" | "push-button" | "searchfield" | "slider-horizontal" | "square-button" | "menulist-button" | "textfield" | undefined; + aspectRatio?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined; + backdropFilter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + backfaceVisibility?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "visible" | undefined; + backgroundAttachment?: "fixed" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "scroll" | "local" | undefined; + backgroundBlendMode?: "color" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; + backgroundClip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + backgroundColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + backgroundImage?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + backgroundOrigin?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + backgroundPositionX?: string | number | (string & {}) | undefined; + backgroundPositionY?: string | number | (string & {}) | undefined; + backgroundRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | undefined; + backgroundSize?: string | number | (string & {}) | undefined; + blockOverflow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clip" | "ellipsis" | undefined; + blockSize?: string | number | (string & {}) | undefined; + borderBlockColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderBlockEndColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderBlockEndStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderBlockEndWidth?: string | number | undefined; + borderBlockStartColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderBlockStartStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderBlockStartWidth?: string | number | undefined; + borderBlockStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderBlockWidth?: string | number | undefined; + borderBottomColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderBottomLeftRadius?: string | number | (string & {}) | undefined; + borderBottomRightRadius?: string | number | (string & {}) | undefined; + borderBottomStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderBottomWidth?: string | number | undefined; + borderCollapse?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "collapse" | "separate" | undefined; + borderEndEndRadius?: string | number | (string & {}) | undefined; + borderEndStartRadius?: string | number | (string & {}) | undefined; + borderImageOutset?: string | number | (string & {}) | (number & {}) | undefined; + borderImageRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "space" | "stretch" | undefined; + borderImageSlice?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + borderImageSource?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + borderImageWidth?: string | number | (string & {}) | (number & {}) | undefined; + borderInlineColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderInlineEndColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderInlineEndStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderInlineEndWidth?: string | number | undefined; + borderInlineStartColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderInlineStartStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderInlineStartWidth?: string | number | undefined; + borderInlineStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderInlineWidth?: string | number | undefined; + borderLeftColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderLeftStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderLeftWidth?: string | number | undefined; + borderRightColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderRightStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderRightWidth?: string | number | undefined; + borderSpacing?: string | number | (string & {}) | undefined; + borderStartEndRadius?: string | number | (string & {}) | undefined; + borderStartStartRadius?: string | number | (string & {}) | undefined; + borderTopColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderTopLeftRadius?: string | number | (string & {}) | undefined; + borderTopRightRadius?: string | number | (string & {}) | undefined; + borderTopStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderTopWidth?: string | number | undefined; + bottom?: string | number | (string & {}) | undefined; + boxDecorationBreak?: "slice" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clone" | undefined; + boxShadow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + boxSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | undefined; + breakAfter?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "region" | "page" | "all" | "always" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | "column" | "recto" | "verso" | undefined; + breakBefore?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "region" | "page" | "all" | "always" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | "column" | "recto" | "verso" | undefined; + breakInside?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "avoid" | "avoid-column" | "avoid-page" | "avoid-region" | undefined; + captionSide?: "top" | "bottom" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "block-end" | "block-start" | "inline-end" | "inline-start" | undefined; + caretColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + clear?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "both" | "inline-end" | "inline-start" | undefined; + clipPath?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined; + color?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + colorAdjust?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact" | undefined; + colorScheme?: "dark" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "light" | "normal" | undefined; + columnCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + columnFill?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "balance" | "balance-all" | undefined; + columnGap?: string | number | (string & {}) | undefined; + columnRuleColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + columnRuleStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + columnRuleWidth?: string | number | (string & {}) | undefined; + columnSpan?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + columnWidth?: string | number | undefined; + contain?: "size" | "content" | "style" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "layout" | "paint" | "strict" | undefined; + content?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "normal" | "close-quote" | "no-close-quote" | "no-open-quote" | "open-quote" | "contents" | undefined; + contentVisibility?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "visible" | undefined; + counterIncrement?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + counterReset?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + counterSet?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + cursor?: "default" | "progress" | "text" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "cell" | "copy" | "move" | "-moz-grab" | "-webkit-grab" | "alias" | "all-scroll" | "col-resize" | "context-menu" | "crosshair" | "e-resize" | "ew-resize" | "grab" | "grabbing" | "help" | "n-resize" | "ne-resize" | "nesw-resize" | "no-drop" | "not-allowed" | "ns-resize" | "nw-resize" | "nwse-resize" | "pointer" | "row-resize" | "s-resize" | "se-resize" | "sw-resize" | "vertical-text" | "w-resize" | "wait" | "zoom-in" | "zoom-out" | undefined; + direction?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ltr" | "rtl" | undefined; + display?: "ruby" | "table" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "grid" | "inline" | "contents" | "block" | "run-in" | "-ms-flexbox" | "-ms-grid" | "-webkit-flex" | "flex" | "flow" | "flow-root" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "-ms-inline-flexbox" | "-ms-inline-grid" | "-webkit-inline-flex" | "inline-block" | "inline-flex" | "inline-grid" | "inline-list-item" | "inline-table" | "list-item" | undefined; + emptyCells?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "hide" | "show" | undefined; + filter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + flexBasis?: string | number | (string & {}) | undefined; + flexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | undefined; + flexGrow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + flexShrink?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + flexWrap?: "wrap" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap-reverse" | undefined; + float?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "inline-end" | "inline-start" | undefined; + fontFamily?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "cursive" | "fantasy" | "monospace" | "sans-serif" | "serif" | undefined; + fontFeatureSettings?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + fontKerning?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "normal" | undefined; + fontLanguageOverride?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + fontOpticalSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + fontSize?: string | number | (string & {}) | undefined; + fontSizeAdjust?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "from-font" | undefined; + fontSmooth?: string | number | undefined; + fontStretch?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "expanded" | "normal" | "condensed" | "extra-condensed" | "extra-expanded" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded" | undefined; + fontStyle?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "italic" | "oblique" | undefined; + fontSynthesis?: "style" | "weight" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "small-caps" | undefined; + fontVariant?: "ruby" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "normal" | "small-caps" | "jis04" | "jis78" | "jis83" | "jis90" | "simplified" | "traditional" | "all-petite-caps" | "all-small-caps" | "common-ligatures" | "contextual" | "diagonal-fractions" | "discretionary-ligatures" | "full-width" | "historical-forms" | "historical-ligatures" | "lining-nums" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | "oldstyle-nums" | "ordinal" | "petite-caps" | "proportional-nums" | "proportional-width" | "slashed-zero" | "stacked-fractions" | "tabular-nums" | "titling-caps" | "unicase" | undefined; + fontVariantCaps?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "small-caps" | "all-petite-caps" | "all-small-caps" | "petite-caps" | "titling-caps" | "unicase" | undefined; + fontVariantEastAsian?: "ruby" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "jis04" | "jis78" | "jis83" | "jis90" | "simplified" | "traditional" | "full-width" | "proportional-width" | undefined; + fontVariantLigatures?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "normal" | "common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | undefined; + fontVariantNumeric?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "diagonal-fractions" | "lining-nums" | "oldstyle-nums" | "ordinal" | "proportional-nums" | "slashed-zero" | "stacked-fractions" | "tabular-nums" | undefined; + fontVariantPosition?: "sub" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "super" | undefined; + fontVariationSettings?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + fontWeight?: "bold" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "normal" | "bolder" | "lighter" | undefined; + forcedColorAdjust?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + gridAutoColumns?: string | number | (string & {}) | undefined; + gridAutoFlow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "dense" | undefined; + gridAutoRows?: string | number | (string & {}) | undefined; + gridColumnEnd?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridColumnStart?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridRowEnd?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridRowStart?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridTemplateAreas?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + gridTemplateColumns?: string | number | (string & {}) | undefined; + gridTemplateRows?: string | number | (string & {}) | undefined; + hangingPunctuation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "allow-end" | "first" | "force-end" | "last" | undefined; + height?: string | number | (string & {}) | undefined; + hyphens?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "manual" | undefined; + imageOrientation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "flip" | "from-image" | undefined; + imageRendering?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-crisp-edges" | "-webkit-optimize-contrast" | "crisp-edges" | "pixelated" | undefined; + imageResolution?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "from-image" | undefined; + initialLetter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "normal" | undefined; + inlineSize?: string | number | (string & {}) | undefined; + inset?: string | number | (string & {}) | undefined; + insetBlock?: string | number | (string & {}) | undefined; + insetBlockEnd?: string | number | (string & {}) | undefined; + insetBlockStart?: string | number | (string & {}) | undefined; + insetInline?: string | number | (string & {}) | undefined; + insetInlineEnd?: string | number | (string & {}) | undefined; + insetInlineStart?: string | number | (string & {}) | undefined; + isolation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "isolate" | undefined; + justifyContent?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined; + justifyItems?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | "legacy" | undefined; + justifySelf?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + justifyTracks?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined; + left?: string | number | (string & {}) | undefined; + letterSpacing?: string | number | undefined; + lineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined; + lineHeight?: string | number | (string & {}) | (number & {}) | undefined; + lineHeightStep?: string | number | undefined; + listStyleImage?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + listStylePosition?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "inside" | "outside" | undefined; + listStyleType?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + marginBlock?: string | number | (string & {}) | undefined; + marginBlockEnd?: string | number | (string & {}) | undefined; + marginBlockStart?: string | number | (string & {}) | undefined; + marginBottom?: string | number | (string & {}) | undefined; + marginInline?: string | number | (string & {}) | undefined; + marginInlineEnd?: string | number | (string & {}) | undefined; + marginInlineStart?: string | number | (string & {}) | undefined; + marginLeft?: string | number | (string & {}) | undefined; + marginRight?: string | number | (string & {}) | undefined; + marginTop?: string | number | (string & {}) | undefined; + maskBorderMode?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "alpha" | "luminance" | undefined; + maskBorderOutset?: string | number | (string & {}) | (number & {}) | undefined; + maskBorderRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "space" | "stretch" | undefined; + maskBorderSlice?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + maskBorderSource?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + maskBorderWidth?: string | number | (string & {}) | (number & {}) | undefined; + maskClip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | "no-clip" | undefined; + maskComposite?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "add" | "exclude" | "intersect" | "subtract" | undefined; + maskImage?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + maskMode?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "alpha" | "luminance" | "match-source" | undefined; + maskOrigin?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined; + maskPosition?: string | number | (string & {}) | undefined; + maskRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | undefined; + maskSize?: string | number | (string & {}) | undefined; + maskType?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "alpha" | "luminance" | undefined; + mathStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "compact" | undefined; + maxBlockSize?: string | number | (string & {}) | undefined; + maxHeight?: string | number | (string & {}) | undefined; + maxInlineSize?: string | number | (string & {}) | undefined; + maxLines?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | undefined; + maxWidth?: string | number | (string & {}) | undefined; + minBlockSize?: string | number | (string & {}) | undefined; + minHeight?: string | number | (string & {}) | undefined; + minInlineSize?: string | number | (string & {}) | undefined; + minWidth?: string | number | (string & {}) | undefined; + mixBlendMode?: "color" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined; + motionDistance?: string | number | (string & {}) | undefined; + motionPath?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined; + motionRotation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "reverse" | undefined; + objectFit?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "fill" | "contain" | "cover" | "scale-down" | undefined; + objectPosition?: string | number | (string & {}) | undefined; + offsetAnchor?: string | number | (string & {}) | undefined; + offsetDistance?: string | number | (string & {}) | undefined; + offsetPath?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined; + offsetRotate?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "reverse" | undefined; + offsetRotation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "reverse" | undefined; + opacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + order?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + orphans?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + outlineColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "invert" | undefined; + outlineOffset?: string | number | undefined; + outlineStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + outlineWidth?: string | number | undefined; + overflowAnchor?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + overflowBlock?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "clip" | "scroll" | "visible" | undefined; + overflowClipBox?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "content-box" | "padding-box" | undefined; + overflowClipMargin?: string | number | (string & {}) | undefined; + overflowInline?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "clip" | "scroll" | "visible" | undefined; + overflowWrap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "anywhere" | "break-word" | undefined; + overflowX?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-hidden-unscrollable" | "clip" | "scroll" | "visible" | undefined; + overflowY?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-hidden-unscrollable" | "clip" | "scroll" | "visible" | undefined; + overscrollBehaviorBlock?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "contain" | undefined; + overscrollBehaviorInline?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "contain" | undefined; + overscrollBehaviorX?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "contain" | undefined; + overscrollBehaviorY?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "contain" | undefined; + paddingBlock?: string | number | (string & {}) | undefined; + paddingBlockEnd?: string | number | (string & {}) | undefined; + paddingBlockStart?: string | number | (string & {}) | undefined; + paddingBottom?: string | number | (string & {}) | undefined; + paddingInline?: string | number | (string & {}) | undefined; + paddingInlineEnd?: string | number | (string & {}) | undefined; + paddingInlineStart?: string | number | (string & {}) | undefined; + paddingLeft?: string | number | (string & {}) | undefined; + paddingRight?: string | number | (string & {}) | undefined; + paddingTop?: string | number | (string & {}) | undefined; + pageBreakAfter?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "always" | "avoid" | "recto" | "verso" | undefined; + pageBreakBefore?: "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "always" | "avoid" | "recto" | "verso" | undefined; + pageBreakInside?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "avoid" | undefined; + paintOrder?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "fill" | "normal" | "markers" | "stroke" | undefined; + perspective?: string | number | undefined; + perspectiveOrigin?: string | number | (string & {}) | undefined; + placeContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | undefined; + pointerEvents?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | "fill" | "visible" | "stroke" | "painted" | "visibleFill" | "visiblePainted" | "visibleStroke" | undefined; + position?: "fixed" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "-webkit-sticky" | "absolute" | "relative" | "static" | "sticky" | undefined; + quotes?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + resize?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "inline" | "both" | "horizontal" | "vertical" | "block" | undefined; + right?: string | number | (string & {}) | undefined; + rotate?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + rowGap?: string | number | (string & {}) | undefined; + rubyAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "space-around" | "space-between" | undefined; + rubyMerge?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "collapse" | "separate" | undefined; + rubyPosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "alternate" | "inter-character" | "over" | "under" | undefined; + scale?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | undefined; + scrollBehavior?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "smooth" | undefined; + scrollMargin?: string | number | (string & {}) | undefined; + scrollMarginBlock?: string | number | (string & {}) | undefined; + scrollMarginBlockEnd?: string | number | undefined; + scrollMarginBlockStart?: string | number | undefined; + scrollMarginBottom?: string | number | undefined; + scrollMarginInline?: string | number | (string & {}) | undefined; + scrollMarginInlineEnd?: string | number | undefined; + scrollMarginInlineStart?: string | number | undefined; + scrollMarginLeft?: string | number | undefined; + scrollMarginRight?: string | number | undefined; + scrollMarginTop?: string | number | undefined; + scrollPadding?: string | number | (string & {}) | undefined; + scrollPaddingBlock?: string | number | (string & {}) | undefined; + scrollPaddingBlockEnd?: string | number | (string & {}) | undefined; + scrollPaddingBlockStart?: string | number | (string & {}) | undefined; + scrollPaddingBottom?: string | number | (string & {}) | undefined; + scrollPaddingInline?: string | number | (string & {}) | undefined; + scrollPaddingInlineEnd?: string | number | (string & {}) | undefined; + scrollPaddingInlineStart?: string | number | (string & {}) | undefined; + scrollPaddingLeft?: string | number | (string & {}) | undefined; + scrollPaddingRight?: string | number | (string & {}) | undefined; + scrollPaddingTop?: string | number | (string & {}) | undefined; + scrollSnapAlign?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "center" | "end" | undefined; + scrollSnapMargin?: string | number | (string & {}) | undefined; + scrollSnapMarginBottom?: string | number | undefined; + scrollSnapMarginLeft?: string | number | undefined; + scrollSnapMarginRight?: string | number | undefined; + scrollSnapMarginTop?: string | number | undefined; + scrollSnapStop?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "always" | undefined; + scrollSnapType?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "inline" | "both" | "x" | "block" | "y" | undefined; + scrollbarColor?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined; + scrollbarGutter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "stable" | undefined; + scrollbarWidth?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "thin" | undefined; + shapeImageThreshold?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + shapeMargin?: string | number | (string & {}) | undefined; + shapeOutside?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "border-box" | "content-box" | "padding-box" | "margin-box" | undefined; + tabSize?: string | number | (string & {}) | (number & {}) | undefined; + tableLayout?: "fixed" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined; + textAlign?: "start" | "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | "match-parent" | undefined; + textAlignLast?: "start" | "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "justify" | undefined; + textCombineUpright?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + textDecorationColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + textDecorationLine?: "blink" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "grammar-error" | "line-through" | "overline" | "spelling-error" | "underline" | undefined; + textDecorationSkip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "box-decoration" | "edges" | "leading-spaces" | "objects" | "spaces" | "trailing-spaces" | undefined; + textDecorationSkipInk?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | undefined; + textDecorationStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "solid" | "wavy" | undefined; + textDecorationThickness?: string | number | (string & {}) | undefined; + textDecorationWidth?: string | number | (string & {}) | undefined; + textEmphasisColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + textEmphasisPosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + textEmphasisStyle?: "open" | "circle" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "filled" | "dot" | "double-circle" | "sesame" | "triangle" | undefined; + textIndent?: string | number | (string & {}) | undefined; + textJustify?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "inter-character" | "inter-word" | undefined; + textOrientation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "mixed" | "sideways" | "upright" | undefined; + textOverflow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clip" | "ellipsis" | undefined; + textRendering?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed" | undefined; + textShadow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + textSizeAdjust?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase" | undefined; + textUnderlineOffset?: string | number | (string & {}) | undefined; + textUnderlinePosition?: "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "from-font" | "under" | undefined; + top?: string | number | (string & {}) | undefined; + touchAction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "-ms-manipulation" | "-ms-none" | "-ms-pinch-zoom" | "manipulation" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom" | undefined; + transform?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + transformBox?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "fill-box" | "stroke-box" | "view-box" | undefined; + transformOrigin?: string | number | (string & {}) | undefined; + transformStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "flat" | "preserve-3d" | undefined; + transitionDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + transitionDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + transitionProperty?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + transitionTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + translate?: string | number | (string & {}) | undefined; + unicodeBidi?: "embed" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "isolate" | "-moz-isolate" | "-moz-isolate-override" | "-moz-plaintext" | "-webkit-isolate" | "-webkit-isolate-override" | "-webkit-plaintext" | "bidi-override" | "isolate-override" | "plaintext" | undefined; + userSelect?: "text" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | "contain" | "-moz-none" | "element" | undefined; + verticalAlign?: string | number | (string & {}) | undefined; + visibility?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "visible" | "collapse" | undefined; + whiteSpace?: "pre" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "nowrap" | "-moz-pre-wrap" | "break-spaces" | "pre-line" | "pre-wrap" | undefined; + widows?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + width?: string | number | (string & {}) | undefined; + willChange?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "contents" | "scroll-position" | undefined; + wordBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "break-word" | "break-all" | "keep-all" | undefined; + wordSpacing?: string | number | undefined; + wordWrap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "break-word" | undefined; + writingMode?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | undefined; + zIndex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + zoom?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "reset" | "normal" | undefined; + all?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + animation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "both" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + background?: string | number | (string & {}) | undefined; + backgroundPosition?: string | number | (string & {}) | undefined; + border?: string | number | (string & {}) | undefined; + borderBlock?: string | number | (string & {}) | undefined; + borderBlockEnd?: string | number | (string & {}) | undefined; + borderBlockStart?: string | number | (string & {}) | undefined; + borderBottom?: string | number | (string & {}) | undefined; + borderColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + borderImage?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | undefined; + borderInline?: string | number | (string & {}) | undefined; + borderInlineEnd?: string | number | (string & {}) | undefined; + borderInlineStart?: string | number | (string & {}) | undefined; + borderLeft?: string | number | (string & {}) | undefined; + borderRadius?: string | number | (string & {}) | undefined; + borderRight?: string | number | (string & {}) | undefined; + borderStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + borderTop?: string | number | (string & {}) | undefined; + borderWidth?: string | number | (string & {}) | undefined; + columnRule?: string | number | (string & {}) | undefined; + columns?: string | number | (string & {}) | (number & {}) | undefined; + flex?: string | number | (string & {}) | (number & {}) | undefined; + flexFlow?: "wrap" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | "nowrap" | "wrap-reverse" | undefined; + font?: "caption" | "menu" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "icon" | "message-box" | "small-caption" | "status-bar" | undefined; + gap?: string | number | (string & {}) | undefined; + grid?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + gridArea?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridColumn?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridRow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + gridTemplate?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + lineClamp?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | undefined; + listStyle?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "inside" | "outside" | undefined; + margin?: string | number | (string & {}) | undefined; + mask?: string | number | (string & {}) | undefined; + maskBorder?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | "alpha" | "luminance" | undefined; + motion?: string | number | (string & {}) | undefined; + offset?: string | number | (string & {}) | undefined; + outline?: string | number | (string & {}) | undefined; + overflow?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-hidden-unscrollable" | "clip" | "scroll" | "visible" | undefined; + overscrollBehavior?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "contain" | undefined; + padding?: string | number | (string & {}) | undefined; + placeItems?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + placeSelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + textDecoration?: string | number | (string & {}) | undefined; + textEmphasis?: "open" | "circle" | "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "filled" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "dot" | "double-circle" | "sesame" | "triangle" | undefined; + transition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + MozAnimationDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + MozAnimationDirection?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "alternate" | "alternate-reverse" | "reverse" | undefined; + MozAnimationDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + MozAnimationFillMode?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "both" | "backwards" | "forwards" | undefined; + MozAnimationIterationCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "infinite" | undefined; + MozAnimationName?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + MozAnimationPlayState?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "paused" | "running" | undefined; + MozAnimationTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + MozAppearance?: "button" | "menuitem" | "tooltip" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "checkbox" | "listbox" | "listitem" | "menubar" | "progressbar" | "radio" | "separator" | "tab" | "tabpanel" | "toolbar" | "treeitem" | "range" | "menulist" | "searchfield" | "menulist-button" | "textfield" | "-moz-mac-unified-toolbar" | "-moz-win-borderless-glass" | "-moz-win-browsertabbar-toolbox" | "-moz-win-communications-toolbox" | "-moz-win-communicationstext" | "-moz-win-exclude-glass" | "-moz-win-glass" | "-moz-win-media-toolbox" | "-moz-win-mediatext" | "-moz-window-button-box" | "-moz-window-button-box-maximized" | "-moz-window-button-close" | "-moz-window-button-maximize" | "-moz-window-button-minimize" | "-moz-window-button-restore" | "-moz-window-frame-bottom" | "-moz-window-frame-left" | "-moz-window-frame-right" | "-moz-window-titlebar" | "-moz-window-titlebar-maximized" | "button-arrow-down" | "button-arrow-next" | "button-arrow-previous" | "button-arrow-up" | "button-bevel" | "button-focus" | "caret" | "checkbox-container" | "checkbox-label" | "checkmenuitem" | "dualbutton" | "groupbox" | "menuarrow" | "menucheckbox" | "menuimage" | "menuitemtext" | "menulist-text" | "menulist-textfield" | "menupopup" | "menuradio" | "menuseparator" | "meterbar" | "meterchunk" | "progressbar-vertical" | "progresschunk" | "progresschunk-vertical" | "radio-container" | "radio-label" | "radiomenuitem" | "range-thumb" | "resizer" | "resizerpanel" | "scale-horizontal" | "scale-vertical" | "scalethumb-horizontal" | "scalethumb-vertical" | "scalethumbend" | "scalethumbstart" | "scalethumbtick" | "scrollbarbutton-down" | "scrollbarbutton-left" | "scrollbarbutton-right" | "scrollbarbutton-up" | "scrollbarthumb-horizontal" | "scrollbarthumb-vertical" | "scrollbartrack-horizontal" | "scrollbartrack-vertical" | "sheet" | "spinner" | "spinner-downbutton" | "spinner-textfield" | "spinner-upbutton" | "splitter" | "statusbar" | "statusbarpanel" | "tab-scroll-arrow-back" | "tab-scroll-arrow-forward" | "tabpanels" | "textfield-multiline" | "toolbarbutton" | "toolbarbutton-dropdown" | "toolbargripper" | "toolbox" | "treeheader" | "treeheadercell" | "treeheadersortarrow" | "treeline" | "treetwisty" | "treetwistyopen" | "treeview" | undefined; + MozBackfaceVisibility?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "visible" | undefined; + MozBorderBottomColors?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBorderEndColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBorderEndStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + MozBorderEndWidth?: string | number | undefined; + MozBorderLeftColors?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBorderRightColors?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBorderStartColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBorderStartStyle?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + MozBorderTopColors?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozBoxSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | undefined; + MozColumnCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + MozColumnFill?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "balance" | "balance-all" | undefined; + MozColumnGap?: string | number | (string & {}) | undefined; + MozColumnRuleColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozColumnRuleStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + MozColumnRuleWidth?: string | number | (string & {}) | undefined; + MozColumnWidth?: string | number | undefined; + MozContextProperties?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "fill" | "stroke" | "fill-opacity" | "stroke-opacity" | undefined; + MozFontFeatureSettings?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + MozFontLanguageOverride?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + MozHyphens?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "manual" | undefined; + MozImageRegion?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined; + MozMarginEnd?: string | number | (string & {}) | undefined; + MozMarginStart?: string | number | (string & {}) | undefined; + MozOrient?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "inline" | "horizontal" | "vertical" | "block" | undefined; + MozOsxFontSmoothing?: string | number | undefined; + MozPaddingEnd?: string | number | (string & {}) | undefined; + MozPaddingStart?: string | number | (string & {}) | undefined; + MozPerspective?: string | number | undefined; + MozPerspectiveOrigin?: string | number | (string & {}) | undefined; + MozStackSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ignore" | "stretch-to-fit" | undefined; + MozTabSize?: string | number | (string & {}) | (number & {}) | undefined; + MozTextBlink?: "blink" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + MozTextSizeAdjust?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + MozTransformOrigin?: string | number | (string & {}) | undefined; + MozTransformStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "flat" | "preserve-3d" | undefined; + MozTransitionDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + MozTransitionDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + MozTransitionProperty?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + MozTransitionTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + MozUserFocus?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "select-all" | "normal" | "ignore" | "select-after" | "select-before" | "select-menu" | "select-same" | undefined; + MozUserModify?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "read-only" | "read-write" | "write-only" | undefined; + MozUserSelect?: "text" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | "contain" | "-moz-none" | "element" | undefined; + MozWindowDragging?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "drag" | "no-drag" | undefined; + MozWindowShadow?: "default" | "menu" | "tooltip" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "sheet" | undefined; + msAccelerator?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "true" | "false" | undefined; + msAlignSelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + msBlockProgression?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "bt" | "lr" | "rl" | "tb" | undefined; + msContentZoomChaining?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "chained" | undefined; + msContentZoomLimitMax?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msContentZoomLimitMin?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msContentZoomSnapPoints?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msContentZoomSnapType?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "mandatory" | "proximity" | undefined; + msContentZooming?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "zoom" | undefined; + msFilter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msFlexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | undefined; + msFlexPositive?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + msFlowFrom?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + msFlowInto?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + msGridColumns?: string | number | (string & {}) | undefined; + msGridRows?: string | number | (string & {}) | undefined; + msHighContrastAdjust?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + msHyphenateLimitChars?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + msHyphenateLimitLines?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "no-limit" | undefined; + msHyphenateLimitZone?: string | number | (string & {}) | undefined; + msHyphens?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "manual" | undefined; + msImeAlign?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "after" | undefined; + msJustifySelf?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + msLineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined; + msOrder?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + msOverflowStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "scrollbar" | "-ms-autohiding-scrollbar" | undefined; + msOverflowX?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-hidden-unscrollable" | "clip" | "scroll" | "visible" | undefined; + msOverflowY?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "-moz-hidden-unscrollable" | "clip" | "scroll" | "visible" | undefined; + msScrollChaining?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "chained" | undefined; + msScrollLimitXMax?: string | number | undefined; + msScrollLimitXMin?: string | number | undefined; + msScrollLimitYMax?: string | number | undefined; + msScrollLimitYMin?: string | number | undefined; + msScrollRails?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "railed" | undefined; + msScrollSnapPointsX?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msScrollSnapPointsY?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msScrollSnapType?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "mandatory" | "proximity" | undefined; + msScrollTranslation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "vertical-to-horizontal" | undefined; + msScrollbar3dlightColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarArrowColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarBaseColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarDarkshadowColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarFaceColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarHighlightColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msScrollbarShadowColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + msTextAutospace?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "ideograph-alpha" | "ideograph-numeric" | "ideograph-parenthesis" | "ideograph-space" | undefined; + msTextCombineHorizontal?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + msTextOverflow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clip" | "ellipsis" | undefined; + msTouchAction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "-ms-manipulation" | "-ms-none" | "-ms-pinch-zoom" | "manipulation" | "pan-down" | "pan-left" | "pan-right" | "pan-up" | "pan-x" | "pan-y" | "pinch-zoom" | undefined; + msTouchSelect?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "grippers" | undefined; + msTransform?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + msTransformOrigin?: string | number | (string & {}) | undefined; + msTransitionDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msTransitionDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msTransitionProperty?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + msTransitionTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + msUserSelect?: "text" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "element" | undefined; + msWordBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "break-word" | "break-all" | "keep-all" | undefined; + msWrapFlow?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "both" | "clear" | "end" | "maximum" | undefined; + msWrapMargin?: string | number | undefined; + msWrapThrough?: "wrap" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + msWritingMode?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | undefined; + WebkitAlignContent?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | undefined; + WebkitAlignItems?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + WebkitAlignSelf?: "start" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "stretch" | "flex-end" | "flex-start" | "baseline" | "normal" | "self-end" | "self-start" | undefined; + WebkitAnimationDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + WebkitAnimationDirection?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "alternate" | "alternate-reverse" | "reverse" | undefined; + WebkitAnimationDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + WebkitAnimationFillMode?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "both" | "backwards" | "forwards" | undefined; + WebkitAnimationIterationCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "infinite" | undefined; + WebkitAnimationName?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitAnimationPlayState?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "paused" | "running" | undefined; + WebkitAnimationTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + WebkitAppearance?: "button" | "meter" | "textarea" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "checkbox" | "listbox" | "listitem" | "radio" | "menulist" | "progress-bar" | "push-button" | "searchfield" | "slider-horizontal" | "square-button" | "menulist-button" | "textfield" | "button-bevel" | "caret" | "menulist-text" | "menulist-textfield" | "-apple-pay-button" | "default-button" | "inner-spin-button" | "media-controls-background" | "media-controls-fullscreen-background" | "media-current-time-display" | "media-enter-fullscreen-button" | "media-exit-fullscreen-button" | "media-fullscreen-button" | "media-mute-button" | "media-overlay-play-button" | "media-play-button" | "media-seek-back-button" | "media-seek-forward-button" | "media-slider" | "media-sliderthumb" | "media-time-remaining-display" | "media-toggle-closed-captions-button" | "media-volume-slider" | "media-volume-slider-container" | "media-volume-sliderthumb" | "progress-bar-value" | "searchfield-cancel-button" | "searchfield-decoration" | "searchfield-results-button" | "searchfield-results-decoration" | "slider-vertical" | "sliderthumb-horizontal" | "sliderthumb-vertical" | undefined; + WebkitBackdropFilter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitBackfaceVisibility?: "hidden" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "visible" | undefined; + WebkitBackgroundClip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + WebkitBackgroundOrigin?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + WebkitBackgroundSize?: string | number | (string & {}) | undefined; + WebkitBorderBeforeColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitBorderBeforeStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + WebkitBorderBeforeWidth?: string | number | (string & {}) | undefined; + WebkitBorderBottomLeftRadius?: string | number | (string & {}) | undefined; + WebkitBorderBottomRightRadius?: string | number | (string & {}) | undefined; + WebkitBorderImageSlice?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitBorderTopLeftRadius?: string | number | (string & {}) | undefined; + WebkitBorderTopRightRadius?: string | number | (string & {}) | undefined; + WebkitBoxDecorationBreak?: "slice" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clone" | undefined; + WebkitBoxReflect?: string | number | (string & {}) | undefined; + WebkitBoxShadow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitBoxSizing?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | undefined; + WebkitClipPath?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "border-box" | "content-box" | "padding-box" | "fill-box" | "margin-box" | "stroke-box" | "view-box" | undefined; + WebkitColumnCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + WebkitColumnFill?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "balance" | "balance-all" | undefined; + WebkitColumnGap?: string | number | (string & {}) | undefined; + WebkitColumnRuleColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitColumnRuleStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + WebkitColumnRuleWidth?: string | number | (string & {}) | undefined; + WebkitColumnSpan?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + WebkitColumnWidth?: string | number | undefined; + WebkitFilter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitFlexBasis?: string | number | (string & {}) | undefined; + WebkitFlexDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | undefined; + WebkitFlexGrow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitFlexShrink?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitFlexWrap?: "wrap" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap-reverse" | undefined; + WebkitFontFeatureSettings?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | undefined; + WebkitFontKerning?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "normal" | undefined; + WebkitFontSmoothing?: string | number | undefined; + WebkitFontVariantLigatures?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "normal" | "common-ligatures" | "contextual" | "discretionary-ligatures" | "historical-ligatures" | "no-common-ligatures" | "no-contextual" | "no-discretionary-ligatures" | "no-historical-ligatures" | undefined; + WebkitHyphens?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "manual" | undefined; + WebkitInitialLetter?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "normal" | undefined; + WebkitJustifyContent?: "start" | "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "normal" | undefined; + WebkitLineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined; + WebkitLineClamp?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | undefined; + WebkitMarginEnd?: string | number | (string & {}) | undefined; + WebkitMarginStart?: string | number | (string & {}) | undefined; + WebkitMaskAttachment?: "fixed" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "scroll" | "local" | undefined; + WebkitMaskBoxImageOutset?: string | number | (string & {}) | (number & {}) | undefined; + WebkitMaskBoxImageRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "space" | "stretch" | undefined; + WebkitMaskBoxImageSlice?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitMaskBoxImageSource?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitMaskBoxImageWidth?: string | number | (string & {}) | (number & {}) | undefined; + WebkitMaskClip?: "content" | "text" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border" | "border-box" | "content-box" | "padding-box" | "padding" | undefined; + WebkitMaskComposite?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "copy" | "clear" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor" | undefined; + WebkitMaskImage?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitMaskOrigin?: "content" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border" | "border-box" | "content-box" | "padding-box" | "padding" | undefined; + WebkitMaskPosition?: string | number | (string & {}) | undefined; + WebkitMaskPositionX?: string | number | (string & {}) | undefined; + WebkitMaskPositionY?: string | number | (string & {}) | undefined; + WebkitMaskRepeat?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | undefined; + WebkitMaskRepeatX?: "repeat" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "no-repeat" | "space" | undefined; + WebkitMaskRepeatY?: "repeat" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "no-repeat" | "space" | undefined; + WebkitMaskSize?: string | number | (string & {}) | undefined; + WebkitMaxInlineSize?: string | number | (string & {}) | undefined; + WebkitOrder?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitOverflowScrolling?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "touch" | undefined; + WebkitPaddingEnd?: string | number | (string & {}) | undefined; + WebkitPaddingStart?: string | number | (string & {}) | undefined; + WebkitPerspective?: string | number | undefined; + WebkitPerspectiveOrigin?: string | number | (string & {}) | undefined; + WebkitPrintColorAdjust?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact" | undefined; + WebkitRubyPosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "alternate" | "inter-character" | "over" | "under" | undefined; + WebkitScrollSnapType?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "inline" | "both" | "x" | "block" | "y" | undefined; + WebkitShapeMargin?: string | number | (string & {}) | undefined; + WebkitTapHighlightColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitTextCombine?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + WebkitTextDecorationColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitTextDecorationLine?: "blink" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "grammar-error" | "line-through" | "overline" | "spelling-error" | "underline" | undefined; + WebkitTextDecorationSkip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "box-decoration" | "edges" | "leading-spaces" | "objects" | "spaces" | "trailing-spaces" | undefined; + WebkitTextDecorationStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "solid" | "wavy" | undefined; + WebkitTextEmphasisColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitTextEmphasisPosition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + WebkitTextEmphasisStyle?: "open" | "circle" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "filled" | "dot" | "double-circle" | "sesame" | "triangle" | undefined; + WebkitTextFillColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitTextOrientation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "mixed" | "sideways" | "upright" | undefined; + WebkitTextSizeAdjust?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | undefined; + WebkitTextStrokeColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + WebkitTextStrokeWidth?: string | number | undefined; + WebkitTextUnderlinePosition?: "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "from-font" | "under" | undefined; + WebkitTouchCallout?: "default" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitTransform?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitTransformOrigin?: string | number | (string & {}) | undefined; + WebkitTransformStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "flat" | "preserve-3d" | undefined; + WebkitTransitionDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + WebkitTransitionDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + WebkitTransitionProperty?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + WebkitTransitionTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + WebkitUserModify?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "read-only" | "read-write" | "read-write-plaintext-only" | undefined; + WebkitUserSelect?: "text" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | "contain" | "-moz-none" | "element" | undefined; + WebkitWritingMode?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal-tb" | "sideways-lr" | "sideways-rl" | "vertical-lr" | "vertical-rl" | undefined; + MozAnimation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "both" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + MozBorderImage?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | undefined; + MozColumnRule?: string | number | (string & {}) | undefined; + MozColumns?: string | number | (string & {}) | (number & {}) | undefined; + MozTransition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + msContentZoomLimit?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msContentZoomSnap?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "mandatory" | "proximity" | undefined; + msFlex?: string | number | (string & {}) | (number & {}) | undefined; + msScrollLimit?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msScrollSnapX?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msScrollSnapY?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + msTransition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + WebkitAnimation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "both" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + WebkitBorderBefore?: string | number | (string & {}) | undefined; + WebkitBorderImage?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | undefined; + WebkitBorderRadius?: string | number | (string & {}) | undefined; + WebkitColumnRule?: string | number | (string & {}) | undefined; + WebkitColumns?: string | number | (string & {}) | (number & {}) | undefined; + WebkitFlex?: string | number | (string & {}) | (number & {}) | undefined; + WebkitFlexFlow?: "wrap" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | "nowrap" | "wrap-reverse" | undefined; + WebkitMask?: string | number | (string & {}) | undefined; + WebkitMaskBoxImage?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | "alpha" | "luminance" | undefined; + WebkitTextEmphasis?: "open" | "circle" | "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "filled" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "dot" | "double-circle" | "sesame" | "triangle" | undefined; + WebkitTextStroke?: string | number | (string & {}) | undefined; + WebkitTransition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + azimuth?: "left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "behind" | "center-left" | "center-right" | "far-left" | "far-right" | "left-side" | "leftwards" | "right-side" | "rightwards" | undefined; + boxAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "baseline" | undefined; + boxDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "reverse" | undefined; + boxFlex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + boxFlexGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + boxLines?: "multiple" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "single" | undefined; + boxOrdinalGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + boxOrient?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal" | "vertical" | "block-axis" | "inline-axis" | undefined; + boxPack?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | undefined; + clip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | undefined; + fontVariantAlternates?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "historical-forms" | undefined; + gridColumnGap?: string | number | (string & {}) | undefined; + gridGap?: string | number | (string & {}) | undefined; + gridRowGap?: string | number | (string & {}) | undefined; + imeMode?: "disabled" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "active" | "normal" | "inactive" | undefined; + offsetBlock?: string | number | (string & {}) | undefined; + offsetBlockEnd?: string | number | (string & {}) | undefined; + offsetBlockStart?: string | number | (string & {}) | undefined; + offsetInline?: string | number | (string & {}) | undefined; + offsetInlineEnd?: string | number | (string & {}) | undefined; + offsetInlineStart?: string | number | (string & {}) | undefined; + scrollSnapCoordinate?: string | number | (string & {}) | undefined; + scrollSnapDestination?: string | number | (string & {}) | undefined; + scrollSnapPointsX?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + scrollSnapPointsY?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + scrollSnapTypeX?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "mandatory" | "proximity" | undefined; + scrollSnapTypeY?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "mandatory" | "proximity" | undefined; + scrollbarTrackColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + KhtmlBoxAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "baseline" | undefined; + KhtmlBoxDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "reverse" | undefined; + KhtmlBoxFlex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + KhtmlBoxFlexGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + KhtmlBoxLines?: "multiple" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "single" | undefined; + KhtmlBoxOrdinalGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + KhtmlBoxOrient?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal" | "vertical" | "block-axis" | "inline-axis" | undefined; + KhtmlBoxPack?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | undefined; + KhtmlLineBreak?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "normal" | "strict" | "anywhere" | "loose" | undefined; + KhtmlOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + KhtmlUserSelect?: "text" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "all" | "contain" | "-moz-none" | "element" | undefined; + MozBackgroundClip?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + MozBackgroundInlinePolicy?: "slice" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clone" | undefined; + MozBackgroundOrigin?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | undefined; + MozBackgroundSize?: string | number | (string & {}) | undefined; + MozBinding?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + MozBorderRadius?: string | number | (string & {}) | undefined; + MozBorderRadiusBottomleft?: string | number | (string & {}) | undefined; + MozBorderRadiusBottomright?: string | number | (string & {}) | undefined; + MozBorderRadiusTopleft?: string | number | (string & {}) | undefined; + MozBorderRadiusTopright?: string | number | (string & {}) | undefined; + MozBoxAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "baseline" | undefined; + MozBoxDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "reverse" | undefined; + MozBoxFlex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + MozBoxOrdinalGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + MozBoxOrient?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal" | "vertical" | "block-axis" | "inline-axis" | undefined; + MozBoxPack?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | undefined; + MozBoxShadow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + MozFloatEdge?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "margin-box" | undefined; + MozForceBrokenImageIcon?: 0 | 1 | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + MozOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + MozOutline?: string | number | (string & {}) | undefined; + MozOutlineColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "invert" | undefined; + MozOutlineRadius?: string | number | (string & {}) | undefined; + MozOutlineRadiusBottomleft?: string | number | (string & {}) | undefined; + MozOutlineRadiusBottomright?: string | number | (string & {}) | undefined; + MozOutlineRadiusTopleft?: string | number | (string & {}) | undefined; + MozOutlineRadiusTopright?: string | number | (string & {}) | undefined; + MozOutlineStyle?: "hidden" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "outset" | "ridge" | "solid" | undefined; + MozOutlineWidth?: string | number | undefined; + MozTextAlignLast?: "start" | "left" | "right" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "center" | "end" | "justify" | undefined; + MozTextDecorationColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + MozTextDecorationLine?: "blink" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "grammar-error" | "line-through" | "overline" | "spelling-error" | "underline" | undefined; + MozTextDecorationStyle?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "solid" | "wavy" | undefined; + MozUserInput?: "disabled" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "auto" | "enabled" | undefined; + msImeMode?: "disabled" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "active" | "normal" | "inactive" | undefined; + msScrollbarTrackColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | undefined; + OAnimation?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "both" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + OAnimationDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + OAnimationDirection?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "alternate" | "alternate-reverse" | "reverse" | undefined; + OAnimationDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + OAnimationFillMode?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "both" | "backwards" | "forwards" | undefined; + OAnimationIterationCount?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | "infinite" | undefined; + OAnimationName?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + OAnimationPlayState?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "paused" | "running" | undefined; + OAnimationTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + OBackgroundSize?: string | number | (string & {}) | undefined; + OBorderImage?: "repeat" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | (number & {}) | "round" | "space" | "stretch" | undefined; + OObjectFit?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "fill" | "contain" | "cover" | "scale-down" | undefined; + OObjectPosition?: string | number | (string & {}) | undefined; + OTabSize?: string | number | (string & {}) | (number & {}) | undefined; + OTextOverflow?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "clip" | "ellipsis" | undefined; + OTransform?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + OTransformOrigin?: string | number | (string & {}) | undefined; + OTransition?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + OTransitionDelay?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + OTransitionDuration?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | undefined; + OTransitionProperty?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "all" | undefined; + OTransitionTimingFunction?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear" | undefined; + WebkitBoxAlign?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "stretch" | "baseline" | undefined; + WebkitBoxDirection?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "normal" | "reverse" | undefined; + WebkitBoxFlex?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitBoxFlexGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitBoxLines?: "multiple" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "single" | undefined; + WebkitBoxOrdinalGroup?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + WebkitBoxOrient?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "horizontal" | "vertical" | "block-axis" | "inline-axis" | undefined; + WebkitBoxPack?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | undefined; + WebkitScrollSnapPointsX?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + WebkitScrollSnapPointsY?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + alignmentBaseline?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "baseline" | "middle" | "after-edge" | "alphabetic" | "before-edge" | "central" | "hanging" | "ideographic" | "mathematical" | "text-after-edge" | "text-before-edge" | undefined; + baselineShift?: string | number | (string & {}) | undefined; + clipRule?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "evenodd" | "nonzero" | undefined; + colorInterpolation?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearRGB" | "sRGB" | undefined; + colorRendering?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "optimizeSpeed" | "optimizeQuality" | undefined; + dominantBaseline?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "middle" | "alphabetic" | "central" | "hanging" | "ideographic" | "mathematical" | "text-after-edge" | "text-before-edge" | "no-change" | "reset-size" | "use-script" | undefined; + fill?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "child" | "context-fill" | "context-stroke" | undefined; + fillOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + fillRule?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "evenodd" | "nonzero" | undefined; + floodColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "currentColor" | undefined; + floodOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + glyphOrientationVertical?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | (number & {}) | undefined; + lightingColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "currentColor" | undefined; + marker?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + markerEnd?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + markerMid?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + markerStart?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | undefined; + shapeRendering?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto" | "geometricPrecision" | "optimizeSpeed" | "crispEdges" | undefined; + stopColor?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "currentColor" | undefined; + stopOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + stroke?: "white" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "transparent" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "turquoise" | "violet" | "wheat" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor" | "child" | "context-fill" | "context-stroke" | undefined; + strokeDasharray?: string | number | (string & {}) | (number & {}) | undefined; + strokeDashoffset?: string | number | (string & {}) | undefined; + strokeLinecap?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "butt" | "square" | undefined; + strokeLinejoin?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "round" | "bevel" | "miter" | undefined; + strokeMiterlimit?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + strokeOpacity?: (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | (number & {}) | undefined; + strokeWidth?: string | number | (string & {}) | undefined; + textAnchor?: "start" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "end" | "middle" | undefined; + vectorEffect?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "non-scaling-stroke" | undefined; + }; + getTriggerElement(ref: React.Ref): JSX.Element; + getPopperChildren({ ref, style, placement, outOfBoundaries }: PopperChildrenProps): React.ReactElement React.ReactElement | null) | (new (props: any) => React.Component)>; + render(): JSX.Element; +} +export default PopperWrapper; diff --git a/dist/core/components/atoms/popperWrapper/index.d.ts b/dist/core/components/atoms/popperWrapper/index.d.ts new file mode 100644 index 0000000000..8179e742e5 --- /dev/null +++ b/dist/core/components/atoms/popperWrapper/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./PopperWrapper"; +export * from "./PopperWrapper"; diff --git a/dist/core/components/atoms/progressBar/ProgressBar.d.ts b/dist/core/components/atoms/progressBar/ProgressBar.d.ts new file mode 100644 index 0000000000..6311a285cc --- /dev/null +++ b/dist/core/components/atoms/progressBar/ProgressBar.d.ts @@ -0,0 +1,16 @@ +import { BaseProps } from "../../../utils/types"; +export declare type ProgressBarSize = 'small' | 'regular'; +export interface ProgressBarProps extends BaseProps { + value: number; + max: number; + size: ProgressBarSize; +} +export declare const ProgressBar: { + (props: ProgressBarProps): JSX.Element; + displayName: string; + defaultProps: { + max: number; + size: string; + }; +}; +export default ProgressBar; diff --git a/dist/core/components/atoms/progressBar/index.d.ts b/dist/core/components/atoms/progressBar/index.d.ts new file mode 100644 index 0000000000..4acf7136d5 --- /dev/null +++ b/dist/core/components/atoms/progressBar/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ProgressBar"; +export * from "./ProgressBar"; diff --git a/dist/core/components/atoms/progressRing/ProgressRing.d.ts b/dist/core/components/atoms/progressRing/ProgressRing.d.ts new file mode 100644 index 0000000000..61113c4820 --- /dev/null +++ b/dist/core/components/atoms/progressRing/ProgressRing.d.ts @@ -0,0 +1,16 @@ +import { BaseProps } from "../../../utils/types"; +export declare type ProgressRingSize = 'small' | 'regular'; +export interface ProgressRingProps extends BaseProps { + size: ProgressRingSize; + value: number; + max: number; +} +export declare const ProgressRing: { + (props: ProgressRingProps): JSX.Element; + displayName: string; + defaultProps: { + size: string; + max: number; + }; +}; +export default ProgressRing; diff --git a/dist/core/components/atoms/progressRing/index.d.ts b/dist/core/components/atoms/progressRing/index.d.ts new file mode 100644 index 0000000000..212fa5ffa9 --- /dev/null +++ b/dist/core/components/atoms/progressRing/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ProgressRing"; +export * from "./ProgressRing"; diff --git a/dist/core/components/atoms/radio/Radio.d.ts b/dist/core/components/atoms/radio/Radio.d.ts new file mode 100644 index 0000000000..e37773aba2 --- /dev/null +++ b/dist/core/components/atoms/radio/Radio.d.ts @@ -0,0 +1,18 @@ +import * as React from 'react'; +import { BaseProps, OmitNativeProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +export declare type RadioSize = 'regular' | 'tiny'; +export interface RadioProps extends BaseProps, OmitNativeProps { + size?: RadioSize; + disabled?: boolean; + label?: string; + helpText?: string; + name: string; + value: string; + defaultChecked?: boolean; + checked?: boolean; + error?: boolean; + onChange?: (event: ChangeEvent) => void; +} +export declare const Radio: React.ForwardRefExoticComponent>; +export default Radio; diff --git a/dist/core/components/atoms/radio/index.d.ts b/dist/core/components/atoms/radio/index.d.ts new file mode 100644 index 0000000000..4e66ae49ad --- /dev/null +++ b/dist/core/components/atoms/radio/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Radio"; +export * from "./Radio"; diff --git a/dist/core/components/atoms/rangeSlider/RangeSlider.d.ts b/dist/core/components/atoms/rangeSlider/RangeSlider.d.ts new file mode 100644 index 0000000000..e28444ea6c --- /dev/null +++ b/dist/core/components/atoms/rangeSlider/RangeSlider.d.ts @@ -0,0 +1,21 @@ +import { MultiSliderProps } from "../multiSlider"; +import { NumberRange } from "../../../common.type"; +export interface RangeSliderProps extends MultiSliderProps { + defaultValue: NumberRange; + value?: NumberRange; + onChange?: (value: NumberRange) => void; + onRelease?: (value: NumberRange) => void; +} +export declare const RangeSlider: { + (props: RangeSliderProps): JSX.Element; + displayName: string; + defaultProps: { + defaultValue: number[]; + labelStepSize: number; + max: number; + min: number; + stepSize: number; + labelRenderer: boolean; + }; +}; +export default RangeSlider; diff --git a/dist/core/components/atoms/rangeSlider/index.d.ts b/dist/core/components/atoms/rangeSlider/index.d.ts new file mode 100644 index 0000000000..0da5831bdc --- /dev/null +++ b/dist/core/components/atoms/rangeSlider/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./RangeSlider"; +export * from "./RangeSlider"; diff --git a/dist/core/components/atoms/row/Row.d.ts b/dist/core/components/atoms/row/Row.d.ts new file mode 100644 index 0000000000..f33aa78d5e --- /dev/null +++ b/dist/core/components/atoms/row/Row.d.ts @@ -0,0 +1,5 @@ +import * as React from 'react'; +import { BaseProps, BaseHtmlProps } from "../../../utils/types"; +export declare type RowProps = BaseProps & BaseHtmlProps; +export declare const Row: React.ForwardRefExoticComponent, "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "children" | "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" | "css" | "key"> & React.RefAttributes>; +export default Row; diff --git a/dist/core/components/atoms/row/index.d.ts b/dist/core/components/atoms/row/index.d.ts new file mode 100644 index 0000000000..d212463ea3 --- /dev/null +++ b/dist/core/components/atoms/row/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Row"; +export * from "./Row"; diff --git a/dist/core/components/atoms/slider/Slider.d.ts b/dist/core/components/atoms/slider/Slider.d.ts new file mode 100644 index 0000000000..ef22df7a5c --- /dev/null +++ b/dist/core/components/atoms/slider/Slider.d.ts @@ -0,0 +1,20 @@ +import { MultiSliderProps } from "../multiSlider"; +export interface SliderProps extends MultiSliderProps { + defaultValue: number; + value?: number; + onChange?: (value: number) => void; + onRelease?: (value: number) => void; +} +export declare const Slider: { + (props: SliderProps): JSX.Element; + displayName: string; + defaultProps: { + defaultValue: number; + labelStepSize: number; + max: number; + min: number; + stepSize: number; + labelRenderer: boolean; + }; +}; +export default Slider; diff --git a/dist/core/components/atoms/slider/index.d.ts b/dist/core/components/atoms/slider/index.d.ts new file mode 100644 index 0000000000..a75d081a12 --- /dev/null +++ b/dist/core/components/atoms/slider/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Slider"; +export * from "./Slider"; diff --git a/dist/core/components/atoms/spinner/Spinner.d.ts b/dist/core/components/atoms/spinner/Spinner.d.ts new file mode 100644 index 0000000000..6e791bdc14 --- /dev/null +++ b/dist/core/components/atoms/spinner/Spinner.d.ts @@ -0,0 +1,16 @@ +import { BaseProps } from "../../../utils/types"; +export declare type SpinnerAppearance = 'primary' | 'secondary' | 'white'; +export declare type SpinnerSize = 'small' | 'medium' | 'large'; +export interface SpinnerProps extends BaseProps { + appearance: SpinnerAppearance; + size: SpinnerSize; +} +export declare const Spinner: { + (props: SpinnerProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + size: string; + }; +}; +export default Spinner; diff --git a/dist/core/components/atoms/spinner/index.d.ts b/dist/core/components/atoms/spinner/index.d.ts new file mode 100644 index 0000000000..cba4366ae4 --- /dev/null +++ b/dist/core/components/atoms/spinner/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Spinner"; +export * from "./Spinner"; diff --git a/dist/core/components/atoms/statusHint/StatusHint.d.ts b/dist/core/components/atoms/statusHint/StatusHint.d.ts new file mode 100644 index 0000000000..ae49b26cb1 --- /dev/null +++ b/dist/core/components/atoms/statusHint/StatusHint.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { MessageAppearance } from "../../../common.type"; +export interface StatusHintProps extends BaseProps { + children: React.ReactText; + appearance: MessageAppearance; + truncateLabel?: boolean; + onClick?: (e: React.MouseEvent) => void; + onMouseEnter?: (e: React.MouseEvent) => void; + onMouseLeave?: (e: React.MouseEvent) => void; +} +export declare const StatusHint: { + (props: StatusHintProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default StatusHint; diff --git a/dist/core/components/atoms/statusHint/index.d.ts b/dist/core/components/atoms/statusHint/index.d.ts new file mode 100644 index 0000000000..0c10e419f1 --- /dev/null +++ b/dist/core/components/atoms/statusHint/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./StatusHint"; +export * from "./StatusHint"; diff --git a/dist/core/components/atoms/subheading/Subheading.d.ts b/dist/core/components/atoms/subheading/Subheading.d.ts new file mode 100644 index 0000000000..e5ed475cae --- /dev/null +++ b/dist/core/components/atoms/subheading/Subheading.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { HeadingAppearance, TextColor } from "../../../common.type"; +export interface SubheadingProps extends BaseProps, BaseHtmlProps { + children: React.ReactText; + appearance: HeadingAppearance; + color?: TextColor; +} +export declare const Subheading: { + (props: SubheadingProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default Subheading; diff --git a/dist/core/components/atoms/subheading/index.d.ts b/dist/core/components/atoms/subheading/index.d.ts new file mode 100644 index 0000000000..91859546af --- /dev/null +++ b/dist/core/components/atoms/subheading/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Subheading"; +export * from "./Subheading"; diff --git a/dist/core/components/atoms/switchInput/Switch.d.ts b/dist/core/components/atoms/switchInput/Switch.d.ts new file mode 100644 index 0000000000..0bed7fb2f2 --- /dev/null +++ b/dist/core/components/atoms/switchInput/Switch.d.ts @@ -0,0 +1,18 @@ +import * as React from 'react'; +import { OmitNativeProps, BaseProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +export declare type SwitchSize = 'regular' | 'tiny' | 'large'; +export declare type SwitchAppearance = 'primary' | 'alert' | 'success' | 'warning'; +declare type KeyboardEvent = React.KeyboardEvent; +export interface SwitchProps extends BaseProps, OmitNativeProps { + size?: SwitchSize; + appearance?: SwitchAppearance; + defaultChecked?: boolean; + checked?: boolean; + disabled?: boolean; + name?: string; + value?: string; + onChange?: (event: ChangeEvent | KeyboardEvent, selected: boolean) => void; +} +export declare const Switch: React.ForwardRefExoticComponent>; +export default Switch; diff --git a/dist/core/components/atoms/switchInput/index.d.ts b/dist/core/components/atoms/switchInput/index.d.ts new file mode 100644 index 0000000000..7d7e231744 --- /dev/null +++ b/dist/core/components/atoms/switchInput/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Switch"; +export * from "./Switch"; diff --git a/dist/core/components/atoms/text/Text.d.ts b/dist/core/components/atoms/text/Text.d.ts new file mode 100644 index 0000000000..367edb0fab --- /dev/null +++ b/dist/core/components/atoms/text/Text.d.ts @@ -0,0 +1,22 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +import { TextColor } from "../../../common.type"; +export declare type TextSize = 'small' | 'regular' | 'large'; +export declare type TextAppearance = 'default' | 'white' | 'destructive' | 'subtle' | 'disabled' | 'success' | 'link'; +export interface TextProps extends BaseProps, BaseHtmlProps { + children: React.ReactText; + weight?: 'strong' | 'medium'; + small?: boolean; + appearance: TextAppearance; + size: TextSize; + color?: TextColor; +} +export declare const Text: { + (props: TextProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + size: string; + }; +}; +export default Text; diff --git a/dist/core/components/atoms/text/index.d.ts b/dist/core/components/atoms/text/index.d.ts new file mode 100644 index 0000000000..aa0d431121 --- /dev/null +++ b/dist/core/components/atoms/text/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Text"; +export * from "./Text"; diff --git a/dist/core/components/atoms/textarea/Textarea.d.ts b/dist/core/components/atoms/textarea/Textarea.d.ts new file mode 100644 index 0000000000..c0869bca17 --- /dev/null +++ b/dist/core/components/atoms/textarea/Textarea.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { BaseHtmlProps, BaseProps } from "../../../utils/types"; +export interface TextareaProps extends BaseProps, BaseHtmlProps { + name?: string; + value?: string; + defaultValue?: string; + placeholder?: string; + rows?: number; + disabled?: boolean; + required?: boolean; + error?: boolean; + resize?: boolean; + onChange?: (e: React.ChangeEvent) => void; + onClick?: (e: React.MouseEvent) => void; + onBlur?: (e: React.FocusEvent) => void; + onFocus?: (e: React.FocusEvent) => void; +} +export declare const Textarea: React.ForwardRefExoticComponent>; +export default Textarea; diff --git a/dist/core/components/atoms/textarea/index.d.ts b/dist/core/components/atoms/textarea/index.d.ts new file mode 100644 index 0000000000..e0ef2a1521 --- /dev/null +++ b/dist/core/components/atoms/textarea/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Textarea"; +export * from "./Textarea"; diff --git a/dist/core/components/atoms/toast/ActionButton.d.ts b/dist/core/components/atoms/toast/ActionButton.d.ts new file mode 100644 index 0000000000..3dbc2cde5d --- /dev/null +++ b/dist/core/components/atoms/toast/ActionButton.d.ts @@ -0,0 +1,15 @@ +import * as React from 'react'; +import { MessageAppearance } from "../../../common.type"; +export interface Props { + appearance: MessageAppearance; + label: string; + onClick?: (e: React.MouseEvent) => void; +} +declare const ActionButton: { + (props: Props): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default ActionButton; diff --git a/dist/core/components/atoms/toast/Toast.d.ts b/dist/core/components/atoms/toast/Toast.d.ts new file mode 100644 index 0000000000..5fc4f87edd --- /dev/null +++ b/dist/core/components/atoms/toast/Toast.d.ts @@ -0,0 +1,22 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { MessageAppearance } from "../../../common.type"; +export declare type Action = { + label: string; + onClick: (e: React.MouseEvent) => void; +}; +export interface ToastProps extends BaseProps { + title: string; + appearance: MessageAppearance; + message?: string; + actions?: Action[]; + onClose?: () => void; +} +export declare const Toast: { + (props: ToastProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + }; +}; +export default Toast; diff --git a/dist/core/components/atoms/toast/index.d.ts b/dist/core/components/atoms/toast/index.d.ts new file mode 100644 index 0000000000..821a7a55f5 --- /dev/null +++ b/dist/core/components/atoms/toast/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Toast"; +export * from "./Toast"; diff --git a/dist/core/components/css-utilities/Schema.d.ts b/dist/core/components/css-utilities/Schema.d.ts new file mode 100644 index 0000000000..83af1a5598 --- /dev/null +++ b/dist/core/components/css-utilities/Schema.d.ts @@ -0,0 +1,3 @@ +import { Schema } from "../organisms/grid"; +declare const utilitiesSchema: Schema; +export default utilitiesSchema; diff --git a/dist/core/components/css-utilities/Spacing/Data.d.ts b/dist/core/components/css-utilities/Spacing/Data.d.ts new file mode 100644 index 0000000000..fdc279e65a --- /dev/null +++ b/dist/core/components/css-utilities/Spacing/Data.d.ts @@ -0,0 +1,10 @@ +export declare const sizeData: { + pixel: string; + value: string; + properties: string; +}[]; +export declare const classData: { + pixel: string; + marginClasses: string; + paddingClasses: string; +}[]; diff --git a/dist/core/components/css-utilities/Spacing/Schema.d.ts b/dist/core/components/css-utilities/Spacing/Schema.d.ts new file mode 100644 index 0000000000..95ace89cca --- /dev/null +++ b/dist/core/components/css-utilities/Spacing/Schema.d.ts @@ -0,0 +1,3 @@ +import { Schema } from "../../organisms/grid"; +export declare const classSchema: Schema; +export declare const sizeSchema: Schema; diff --git a/dist/core/components/css-utilities/designTokens/Data.d.ts b/dist/core/components/css-utilities/designTokens/Data.d.ts new file mode 100644 index 0000000000..9b3ec0ae0d --- /dev/null +++ b/dist/core/components/css-utilities/designTokens/Data.d.ts @@ -0,0 +1,53 @@ +export declare const tokenColors: ({ + token: string; + value: string; +}[] | { + token: string; + value: string; + setBgColor: boolean; +}[])[]; +export declare const spacingData: { + token: string; + value: string; +}[]; +export declare const textColors: ({ + token: string; + value: string; + setBgColor?: undefined; +} | { + token: string; + value: string; + setBgColor: boolean; +})[]; +export declare const fontSize: { + token: string; + value: string; +}[]; +export declare const fontWeight: { + token: string; + value: string; +}[]; +export declare const fontHeight: { + token: string; + value: string; +}[]; +export declare const borderData: { + token: string; + value: string; +}[]; +export declare const shadowData: { + token: string; + value: string; +}[]; +export declare const gridBreakpointData: { + token: string; + value: string; +}[]; +export declare const transitionsCurveData: { + token: string; + value: string; +}[]; +export declare const transitionsDurationData: { + token: string; + value: string; +}[]; diff --git a/dist/core/components/css-utilities/designTokens/Schema.d.ts b/dist/core/components/css-utilities/designTokens/Schema.d.ts new file mode 100644 index 0000000000..db45eccb06 --- /dev/null +++ b/dist/core/components/css-utilities/designTokens/Schema.d.ts @@ -0,0 +1,17 @@ +import { Schema } from "../../organisms/grid"; +export declare const spaceSchema: Schema; +export declare const getSchema: (property: string, text: string, classnames?: string | undefined, css?: object | undefined) => ({ + name: string; + displayName: string; + width: string; + resizable: boolean; + sorting: boolean; + cellRenderer: (props: any) => JSX.Element; +} | { + name: string; + displayName: string; + width: string; + resizable: boolean; + sorting: boolean; + cellRenderer?: undefined; +})[]; diff --git a/dist/core/components/css-utilities/designTokens/Utilities.d.ts b/dist/core/components/css-utilities/designTokens/Utilities.d.ts new file mode 100644 index 0000000000..169d1b6cb8 --- /dev/null +++ b/dist/core/components/css-utilities/designTokens/Utilities.d.ts @@ -0,0 +1 @@ +export declare function giveBgColor(htmlCollection: HTMLCollection): void; diff --git a/dist/core/components/molecules/chatMessage/Box.d.ts b/dist/core/components/molecules/chatMessage/Box.d.ts new file mode 100644 index 0000000000..af2e2b79cb --- /dev/null +++ b/dist/core/components/molecules/chatMessage/Box.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { SharedProps } from "./ChatMessage"; +export interface BoxProps extends BaseProps { + onClick?: (e: React.MouseEvent) => void; +} +export interface BoxBaseProps { + withStatus?: boolean; + children: React.ReactNode; +} +export declare type InternalBoxProps = BoxProps & BoxBaseProps & SharedProps; +export declare const Box: { + (props: InternalBoxProps): JSX.Element; + displayName: string; +}; +export default Box; diff --git a/dist/core/components/molecules/chatMessage/ChatMessage.d.ts b/dist/core/components/molecules/chatMessage/ChatMessage.d.ts new file mode 100644 index 0000000000..bf7480f8fb --- /dev/null +++ b/dist/core/components/molecules/chatMessage/ChatMessage.d.ts @@ -0,0 +1,21 @@ +import { BaseProps } from "../../../utils/types"; +import { StatusProps, StatusType } from "./Status"; +import { BoxProps } from "./Box"; +import { MessageTextProps } from "./MessageText"; +export declare type MessageType = 'incoming' | 'outgoing'; +export interface SharedProps { + type: MessageType; + isTyping?: boolean; + statusType?: StatusType; +} +export interface ChatMessageBaseProps extends BaseProps { + type: MessageType; + isTyping?: boolean; + statusOptions?: StatusProps; +} +export declare type ChatMessageProps = ChatMessageBaseProps & BoxProps & MessageTextProps; +export declare const ChatMessage: { + (props: ChatMessageProps): JSX.Element; + displayName: string; +}; +export default ChatMessage; diff --git a/dist/core/components/molecules/chatMessage/MessageText.d.ts b/dist/core/components/molecules/chatMessage/MessageText.d.ts new file mode 100644 index 0000000000..64382c4ce9 --- /dev/null +++ b/dist/core/components/molecules/chatMessage/MessageText.d.ts @@ -0,0 +1,16 @@ +import { BaseProps } from "../../../utils/types"; +import { SharedProps } from "./ChatMessage"; +export interface MessageTextProps extends BaseProps { + text: string; + typingText: string; +} +export declare type InternalTextProps = MessageTextProps & SharedProps; +export declare const MessageText: { + (props: InternalTextProps): JSX.Element; + defaultProps: { + text: string; + typingText: string; + }; + displayName: string; +}; +export default MessageText; diff --git a/dist/core/components/molecules/chatMessage/Status.d.ts b/dist/core/components/molecules/chatMessage/Status.d.ts new file mode 100644 index 0000000000..79f71c59a5 --- /dev/null +++ b/dist/core/components/molecules/chatMessage/Status.d.ts @@ -0,0 +1,14 @@ +import { BaseProps } from "../../../utils/types"; +export declare type StatusType = 'failed' | 'sending' | 'sent' | 'read' | 'urgent'; +export interface StatusProps extends BaseProps { + type: StatusType; + time?: string | number; + readText?: string; + failedText?: string; + sendingText?: string; +} +export declare const Status: { + (props: StatusProps): JSX.Element | null; + displayName: string; +}; +export default Status; diff --git a/dist/core/components/molecules/chatMessage/index.d.ts b/dist/core/components/molecules/chatMessage/index.d.ts new file mode 100644 index 0000000000..3a4b765156 --- /dev/null +++ b/dist/core/components/molecules/chatMessage/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ChatMessage"; +export * from "./ChatMessage"; diff --git a/dist/core/components/molecules/chipInput/ChipInput.d.ts b/dist/core/components/molecules/chipInput/ChipInput.d.ts new file mode 100644 index 0000000000..0b384f8f9d --- /dev/null +++ b/dist/core/components/molecules/chipInput/ChipInput.d.ts @@ -0,0 +1,34 @@ +import * as React from 'react'; +import { ChipProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +declare type ChipOptions = { + icon?: ChipProps['icon']; + type?: ChipProps['type']; + iconVariations?: ChipProps['iconVariations']; + clearButton?: ChipProps['clearButton']; + onClick?: (value: string, index: number) => void; +}; +export interface ChipInputProps extends BaseProps { + allowDuplicates: boolean; + chipOptions: ChipOptions; + disabled?: boolean; + error?: boolean; + placeholder?: string; + value?: string[]; + defaultValue: string[]; + autoFocus: boolean; + onChange?: (chips: string[]) => void; + onBlur?: (e: React.FocusEvent) => void; + onFocus?: (e: React.FocusEvent) => void; +} +export declare const ChipInput: { + (props: ChipInputProps): JSX.Element; + displayName: string; + defaultProps: { + chipOptions: {}; + defaultValue: never[]; + allowDuplicates: boolean; + autoFocus: boolean; + }; +}; +export default ChipInput; diff --git a/dist/core/components/molecules/chipInput/index.d.ts b/dist/core/components/molecules/chipInput/index.d.ts new file mode 100644 index 0000000000..b71e5ceb4a --- /dev/null +++ b/dist/core/components/molecules/chipInput/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ChipInput"; +export * from "./ChipInput"; diff --git a/dist/core/components/molecules/dialog/Dialog.d.ts b/dist/core/components/molecules/dialog/Dialog.d.ts new file mode 100644 index 0000000000..b3b4ca7ee5 --- /dev/null +++ b/dist/core/components/molecules/dialog/Dialog.d.ts @@ -0,0 +1,27 @@ +import * as React from 'react'; +import { ModalProps, ModalHeaderProps, ButtonProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +export interface DialogProps extends BaseProps { + onClose: (event?: Event | React.MouseEvent, reason?: string) => void; + dimension: ModalProps['dimension']; + open: boolean; + heading: ModalHeaderProps['heading']; + title?: string; + description?: string; + primaryButtonLabel: string; + primaryButtonAppearance: ButtonProps['appearance']; + primaryButtonCallback: () => void; + secondaryButtonLabel: string; + secondaryButtonAppearance: ButtonProps['appearance']; + secondaryButtonCallback: () => void; +} +declare const Dialog: { + (props: DialogProps): JSX.Element; + displayName: string; + defaultProps: { + dimension: string; + primaryButtonAppearance: string; + secondaryButtonAppearance: string; + }; +}; +export default Dialog; diff --git a/dist/core/components/molecules/dialog/index.d.ts b/dist/core/components/molecules/dialog/index.d.ts new file mode 100644 index 0000000000..ef5b1b6a84 --- /dev/null +++ b/dist/core/components/molecules/dialog/index.d.ts @@ -0,0 +1,2 @@ +export { default, default as Dialog } from "./Dialog"; +export * from "./Dialog"; diff --git a/dist/core/components/molecules/dropzone/Dropzone.d.ts b/dist/core/components/molecules/dropzone/Dropzone.d.ts new file mode 100644 index 0000000000..3d4f4ec0ac --- /dev/null +++ b/dist/core/components/molecules/dropzone/Dropzone.d.ts @@ -0,0 +1,25 @@ +import * as React from 'react'; +import { DropzoneBaseProps } from "./DropzoneBase"; +import { BaseProps } from "../../../utils/types"; +export declare type DropZoneType = 'standard' | 'compressed' | 'tight'; +export interface DropzoneProps extends BaseProps, DropzoneBaseProps { + formatLabel?: string; + type: DropZoneType; + sizeLabel?: string; + sampleFileLink?: React.ReactNode; +} +export declare const Dropzone: { + (props: DropzoneProps): JSX.Element; + displayName: string; + defaultProps: { + type: string; + disabled: boolean; + getFilesFromEvent: typeof import("./FileSelectorUtils").fromEvent; + maxSize: number; + minSize: number; + multiple: boolean; + preventDropOnDocument: boolean; + validator: () => null; + }; +}; +export default Dropzone; diff --git a/dist/core/components/molecules/dropzone/DropzoneActive.d.ts b/dist/core/components/molecules/dropzone/DropzoneActive.d.ts new file mode 100644 index 0000000000..d1db60ec83 --- /dev/null +++ b/dist/core/components/molecules/dropzone/DropzoneActive.d.ts @@ -0,0 +1,9 @@ +import { DropzoneProps } from "../../../index.type"; +export interface DropzoneActiveProps { + type: DropzoneProps['type']; +} +export declare const DropzoneActive: { + (props: DropzoneActiveProps): JSX.Element; + displayName: string; +}; +export default DropzoneActive; diff --git a/dist/core/components/molecules/dropzone/DropzoneBase.d.ts b/dist/core/components/molecules/dropzone/DropzoneBase.d.ts new file mode 100644 index 0000000000..6edc22377e --- /dev/null +++ b/dist/core/components/molecules/dropzone/DropzoneBase.d.ts @@ -0,0 +1,42 @@ +import { FileErrorTypes } from "./FileErrors"; +import { fromEvent } from "./FileSelectorUtils"; +import { BaseProps } from "../../../utils/types"; +interface FileError { + type: FileErrorTypes; + message: string; +} +export interface FileRejection { + file: File; + errors: FileError[]; +} +export interface DropzoneBaseProps extends BaseProps { + accept?: string | string[]; + multiple?: boolean; + preventDropOnDocument?: boolean; + minSize: number; + maxSize: number; + disabled: boolean; + getFilesFromEvent: (event: DragEvent | Event) => any; + onFileDialogCancel?: () => void; + onDragEnter?: (event: DragEvent) => void; + onDragLeave?: (event: DragEvent) => void; + onDragOver?: (event: DragEvent) => void; + onDrop?: (event: DragEvent | Event, acceptedFiles: File[], rejectedFiles: FileRejection[]) => void; + onDropAccepted?: (event: DragEvent | Event, files: File[]) => void; + onDropRejected?: (event: DragEvent | Event, rejectedFiles: FileRejection[]) => void; + validator?: (file: File) => FileError | FileError[]; +} +export declare const DropzoneBase: { + (props: DropzoneBaseProps): any; + displayName: string; + defaultProps: { + disabled: boolean; + getFilesFromEvent: typeof fromEvent; + maxSize: number; + minSize: number; + multiple: boolean; + preventDropOnDocument: boolean; + validator: () => null; + }; +}; +export default DropzoneBase; diff --git a/dist/core/components/molecules/dropzone/DropzoneError.d.ts b/dist/core/components/molecules/dropzone/DropzoneError.d.ts new file mode 100644 index 0000000000..394d0024b9 --- /dev/null +++ b/dist/core/components/molecules/dropzone/DropzoneError.d.ts @@ -0,0 +1,10 @@ +import { DropzoneProps } from "../../../index.type"; +export interface DropzoneErrorProps { + error: string; + type: DropzoneProps['type']; +} +export declare const DropzoneError: { + (props: DropzoneErrorProps): JSX.Element; + displayName: string; +}; +export default DropzoneError; diff --git a/dist/core/components/molecules/dropzone/DropzoneIcon.d.ts b/dist/core/components/molecules/dropzone/DropzoneIcon.d.ts new file mode 100644 index 0000000000..4d8beae112 --- /dev/null +++ b/dist/core/components/molecules/dropzone/DropzoneIcon.d.ts @@ -0,0 +1,7 @@ +declare type SVGIconProps = { + name: 'default' | 'active' | 'error'; + type: 'standard' | 'compressed' | 'tight'; + disabled?: boolean; +}; +declare const DropzoneIcon: (props: SVGIconProps) => JSX.Element; +export default DropzoneIcon; diff --git a/dist/core/components/molecules/dropzone/FileErrors.d.ts b/dist/core/components/molecules/dropzone/FileErrors.d.ts new file mode 100644 index 0000000000..2412e0a5e3 --- /dev/null +++ b/dist/core/components/molecules/dropzone/FileErrors.d.ts @@ -0,0 +1,26 @@ +export declare type FileErrorTypes = 'FILE_INVALID_TYPE' | 'FILE_TOO_LARGE' | 'FILE_TOO_SMALL' | 'TOO_MANY_FILES'; +export declare const fileErrorMessages: { + [key: string]: string; +}; +export declare const getInvalidTypeRejectionErr: (accept?: string | string[] | undefined) => { + type: string; + message: string; +}; +export declare const getTooLargeRejectionErr: (maxSize: number) => { + type: string; + message: string; +}; +export declare const getTooSmallRejectionErr: (minSize: number) => { + type: string; + message: string; +}; +export declare const fileAccepted: (file: File, accept?: string | string[] | undefined) => (boolean | { + type: string; + message: string; +} | null)[]; +export declare const fileMatchSize: (file: File, minSize: number, maxSize: number) => (boolean | { + type: string; + message: string; +})[] | (boolean | null)[]; +export declare const getFileError: (options: any) => "" | "FILE_INVALID_TYPE" | "FILE_TOO_LARGE" | "TOO_MANY_FILES"; +export declare const allFilesAccepted: (options: any) => any; diff --git a/dist/core/components/molecules/dropzone/FileSelectorUtils.d.ts b/dist/core/components/molecules/dropzone/FileSelectorUtils.d.ts new file mode 100644 index 0000000000..3cdbd9f00e --- /dev/null +++ b/dist/core/components/molecules/dropzone/FileSelectorUtils.d.ts @@ -0,0 +1,11 @@ +export declare const COMMON_MIME_TYPES: Map; +interface DOMFile extends Blob { + readonly lastModified: number; + readonly name: string; +} +export interface FileWithPath extends DOMFile { + readonly path?: string; +} +export declare function fromEvent(evt: Event): Promise<(FileWithPath | DataTransferItem)[]>; +export declare function toFileWithPath(file: FileWithPath, path?: string): FileWithPath; +export {}; diff --git a/dist/core/components/molecules/dropzone/index.d.ts b/dist/core/components/molecules/dropzone/index.d.ts new file mode 100644 index 0000000000..8190212338 --- /dev/null +++ b/dist/core/components/molecules/dropzone/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Dropzone"; +export * from "./Dropzone"; diff --git a/dist/core/components/molecules/dropzone/utils.d.ts b/dist/core/components/molecules/dropzone/utils.d.ts new file mode 100644 index 0000000000..5882b3da4c --- /dev/null +++ b/dist/core/components/molecules/dropzone/utils.d.ts @@ -0,0 +1,10 @@ +export declare const accepts: (file: File, acceptedFiles?: string | string[] | undefined) => boolean; +export declare const isPropagationStopped: (event: any) => any; +export declare const isEvtWithFiles: (event: any) => boolean; +export declare const isKindFile: (item: null | Record) => boolean; +export declare const onDocumentDragOver: (event: DragEvent) => void; +export declare const isIeOrEdge: (userAgent?: string) => boolean; +declare type functype = (event: Event, ...args: unknown[]) => void; +export declare const composeEventHandlers: (...fns: functype[]) => (event: Event, ...args: unknown[]) => boolean; +export declare const reducer: (state: any, action: any) => any; +export {}; diff --git a/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts b/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts new file mode 100644 index 0000000000..39e7564748 --- /dev/null +++ b/dist/core/components/molecules/editableChipInput/EditableChipInput.d.ts @@ -0,0 +1,17 @@ +import { BaseProps } from "../../../utils/types"; +import { ChipInputProps } from "../../../index.type"; +export interface EditableChipInputProps extends BaseProps { + placeholder: string; + value?: string[]; + onChange?: (chips: string[]) => void; + disableSaveAction?: boolean; + chipInputOptions: Omit; +} +export declare const EditableChipInput: { + (props: EditableChipInputProps): JSX.Element; + defaultProps: { + placeholder: string; + chipInputOptions: {}; + }; +}; +export default EditableChipInput; diff --git a/dist/core/components/molecules/editableChipInput/index.d.ts b/dist/core/components/molecules/editableChipInput/index.d.ts new file mode 100644 index 0000000000..964be093c6 --- /dev/null +++ b/dist/core/components/molecules/editableChipInput/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./EditableChipInput"; +export * from "./EditableChipInput"; diff --git a/dist/core/components/molecules/editableDropdown/EditableDropdown.d.ts b/dist/core/components/molecules/editableDropdown/EditableDropdown.d.ts new file mode 100644 index 0000000000..03f9d1f944 --- /dev/null +++ b/dist/core/components/molecules/editableDropdown/EditableDropdown.d.ts @@ -0,0 +1,18 @@ +import * as React from 'react'; +import { Dropdown } from "../../../index"; +import { DropdownProps } from "../../../index.type"; +import { BaseProps, MakeOptional } from "../../../utils/types"; +declare type DropdownOptions = MakeOptional; +export interface EditableDropdownProps extends BaseProps { + placeholder: string; + dropdownOptions: Omit; + customTriggerRenderer?: (label: string) => React.ReactNode; +} +export declare const EditableDropdown: { + (props: EditableDropdownProps): JSX.Element; + defaultProps: { + placeholder: string; + dropdownOptions: {}; + }; +}; +export default EditableDropdown; diff --git a/dist/core/components/molecules/editableDropdown/index.d.ts b/dist/core/components/molecules/editableDropdown/index.d.ts new file mode 100644 index 0000000000..880a303187 --- /dev/null +++ b/dist/core/components/molecules/editableDropdown/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./EditableDropdown"; +export * from "./EditableDropdown"; diff --git a/dist/core/components/molecules/editableInput/EditableInput.d.ts b/dist/core/components/molecules/editableInput/EditableInput.d.ts new file mode 100644 index 0000000000..6558b5f376 --- /dev/null +++ b/dist/core/components/molecules/editableInput/EditableInput.d.ts @@ -0,0 +1,21 @@ +import { InputProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +export interface EditableInputProps extends BaseProps { + value?: string; + placeholder?: string; + size: 'tiny' | 'regular'; + disableSaveAction?: boolean; + error?: boolean; + errorMessage?: string; + inputOptions: Omit; + onChange?: (value: string) => void; +} +export declare const EditableInput: { + (props: EditableInputProps): JSX.Element; + defaultProps: { + size: string; + placeholder: string; + inputOptions: {}; + }; +}; +export default EditableInput; diff --git a/dist/core/components/molecules/editableInput/index.d.ts b/dist/core/components/molecules/editableInput/index.d.ts new file mode 100644 index 0000000000..f475621108 --- /dev/null +++ b/dist/core/components/molecules/editableInput/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./EditableInput"; +export * from "./EditableInput"; diff --git a/dist/core/components/molecules/emptyState/EmptyState.d.ts b/dist/core/components/molecules/emptyState/EmptyState.d.ts new file mode 100644 index 0000000000..a3ad4e445e --- /dev/null +++ b/dist/core/components/molecules/emptyState/EmptyState.d.ts @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { HeadingProps, TextProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +declare type EmptyStateSize = 'large' | 'small'; +export interface EmptyStateProps extends BaseProps { + imageSrc?: string; + title: string; + description: string; + size: EmptyStateSize; + children?: React.ReactNode; + image?: React.ReactNode; +} +export declare const imageHeight: { + large: string; + small: string; +}; +export declare const HeadingSize: Record; +export declare const textSize: Record; +export declare const EmptyState: { + (props: EmptyStateProps): JSX.Element; + displayName: string; +}; +export default EmptyState; diff --git a/dist/core/components/molecules/emptyState/_tests_/EmptyState.test.d.ts b/dist/core/components/molecules/emptyState/_tests_/EmptyState.test.d.ts new file mode 100644 index 0000000000..cb0ff5c3b5 --- /dev/null +++ b/dist/core/components/molecules/emptyState/_tests_/EmptyState.test.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/dist/core/components/molecules/emptyState/index.d.ts b/dist/core/components/molecules/emptyState/index.d.ts new file mode 100644 index 0000000000..23bb10ba33 --- /dev/null +++ b/dist/core/components/molecules/emptyState/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./EmptyState"; +export * from "./EmptyState"; diff --git a/dist/core/components/molecules/fileList/FileIcon.d.ts b/dist/core/components/molecules/fileList/FileIcon.d.ts new file mode 100644 index 0000000000..3b740f0c45 --- /dev/null +++ b/dist/core/components/molecules/fileList/FileIcon.d.ts @@ -0,0 +1,15 @@ +import { FileListItemProps } from "./FileListItem"; +export interface FileIconProps { + file: FileListItemProps['file']; + progress: FileListItemProps['progress']; + status: FileListItemProps['status']; +} +export declare const FileIcon: { + (props: FileIconProps): JSX.Element; + displayName: string; + defaultProps: { + progress: number; + status: string; + }; +}; +export default FileIcon; diff --git a/dist/core/components/molecules/fileList/FileList.d.ts b/dist/core/components/molecules/fileList/FileList.d.ts new file mode 100644 index 0000000000..68de4d69c6 --- /dev/null +++ b/dist/core/components/molecules/fileList/FileList.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { FileListItemProps } from "./FileListItem"; +export interface FileListProps extends BaseProps { + fileList: Omit; + onClick?: FileListItemProps['onClick']; + actionRenderer?: React.FC; +} +export declare const FileList: { + (props: FileListProps): JSX.Element | null; + defaultProps: { + fileList: never[]; + }; + displayName: string; +}; +export default FileList; diff --git a/dist/core/components/molecules/fileList/FileListItem.d.ts b/dist/core/components/molecules/fileList/FileListItem.d.ts new file mode 100644 index 0000000000..30cc5f6423 --- /dev/null +++ b/dist/core/components/molecules/fileList/FileListItem.d.ts @@ -0,0 +1,27 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { FileStatus } from "../../../common.type"; +export interface FileObject extends BaseProps, Record { + name: string; + size: string; + type: string; +} +export interface FileListItemProps extends BaseProps, Record { + file: File | FileObject; + status: FileStatus; + progress?: number; + errorMessage?: string; + actions?: React.ReactNode; + fileItem?: any; + fileSize?: string; + onClick?: (file: FileListItemProps) => void; +} +export declare const FileListItem: { + (props: FileListItemProps): JSX.Element; + defaultProps: { + progress: number; + errorMessage: string; + }; + displayName: string; +}; +export default FileListItem; diff --git a/dist/core/components/molecules/fileList/index.d.ts b/dist/core/components/molecules/fileList/index.d.ts new file mode 100644 index 0000000000..9329650845 --- /dev/null +++ b/dist/core/components/molecules/fileList/index.d.ts @@ -0,0 +1 @@ +export * from "./FileList"; diff --git a/dist/core/components/molecules/fileUploader/FileUploader.d.ts b/dist/core/components/molecules/fileUploader/FileUploader.d.ts new file mode 100644 index 0000000000..7c0ec938ae --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploader.d.ts @@ -0,0 +1,21 @@ +import { FileUploaderFormatProps } from "./FileUploaderFormat"; +import { FileUploaderButtonProps } from "./FileUploaderButton"; +import { BaseProps } from "../../../utils/types"; +export interface FileUploaderProps extends FileUploaderButtonProps, FileUploaderFormatProps, BaseProps { + title: string; + sizeLabel: string; + sampleFileLink?: JSX.Element; +} +export declare const FileUploader: { + (props: FileUploaderProps): JSX.Element; + defaultProps: { + uploadButtonLabel: string; + disabled: boolean; + multiple: boolean; + } & { + title: string; + sizeLabel: string; + }; + displayName: string; +}; +export default FileUploader; diff --git a/dist/core/components/molecules/fileUploader/FileUploaderButton.d.ts b/dist/core/components/molecules/fileUploader/FileUploaderButton.d.ts new file mode 100644 index 0000000000..99c5d69e16 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploaderButton.d.ts @@ -0,0 +1,21 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface FileUploaderButtonProps extends BaseProps { + name?: string; + id?: string; + accept?: string[]; + multiple: boolean; + uploadButtonLabel: string; + disabled: boolean; + onChange?: (fileList: File[], event: React.ChangeEvent) => void; +} +export declare const FileUploaderButton: { + (props: FileUploaderButtonProps): JSX.Element; + defaultProps: { + uploadButtonLabel: string; + disabled: boolean; + multiple: boolean; + }; + displayName: string; +}; +export default FileUploaderButton; diff --git a/dist/core/components/molecules/fileUploader/FileUploaderFormat.d.ts b/dist/core/components/molecules/fileUploader/FileUploaderFormat.d.ts new file mode 100644 index 0000000000..f2533a9c88 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploaderFormat.d.ts @@ -0,0 +1,8 @@ +export interface FileUploaderFormatProps { + formatLabel?: string; +} +export declare const FileUploaderFormat: { + (props: FileUploaderFormatProps): JSX.Element | null; + displayName: string; +}; +export default FileUploaderFormat; diff --git a/dist/core/components/molecules/fileUploader/FileUploaderItem.d.ts b/dist/core/components/molecules/fileUploader/FileUploaderItem.d.ts new file mode 100644 index 0000000000..4f6f51a1f9 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploaderItem.d.ts @@ -0,0 +1,24 @@ +import { BaseProps } from "../../../utils/types"; +import { FileStatus } from "../../../common.type"; +export interface FileItem { + file: File; + id?: any; + status?: FileStatus; + progress?: number; + errorMessage?: string; +} +export interface FileUploaderItemProps extends BaseProps, FileItem { + onDelete?: (file: File, id?: any) => void; + onRetry?: (file: File, id?: any) => void; + onClick?: (file: File, id?: any) => void; +} +export declare const FileUploaderItem: { + (props: FileUploaderItemProps): JSX.Element; + defaultProps: { + status: string; + progress: number; + errorMessage: string; + }; + displayName: string; +}; +export default FileUploaderItem; diff --git a/dist/core/components/molecules/fileUploader/FileUploaderList.d.ts b/dist/core/components/molecules/fileUploader/FileUploaderList.d.ts new file mode 100644 index 0000000000..1e18552eb7 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploaderList.d.ts @@ -0,0 +1,16 @@ +import { FileItem } from "./FileUploaderItem"; +import { BaseProps } from "../../../utils/types"; +export interface FileUploaderListProps extends BaseProps { + fileList: FileItem[]; + onClick?: (file: File, id?: any) => void; + onDelete?: (file: File, id?: any) => void; + onRetry?: (file: File, id?: any) => void; +} +export declare const FileUploaderList: { + (props: FileUploaderListProps): JSX.Element | null; + defaultProps: { + fileList: never[]; + }; + displayName: string; +}; +export default FileUploaderList; diff --git a/dist/core/components/molecules/fileUploader/FileUploaderStatus.d.ts b/dist/core/components/molecules/fileUploader/FileUploaderStatus.d.ts new file mode 100644 index 0000000000..a1871cd1f5 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/FileUploaderStatus.d.ts @@ -0,0 +1,17 @@ +import { FileStatus } from "../../../common.type"; +export interface FileUploaderStatusProps { + file: File; + progress: number; + id?: any; + status: FileStatus; + onRetry?: () => void; +} +export declare const FileUploaderStatus: { + (props: FileUploaderStatusProps): JSX.Element | null; + displayName: string; + defaultProps: { + status: string; + progress: number; + }; +}; +export default FileUploaderStatus; diff --git a/dist/core/components/molecules/fileUploader/index.d.ts b/dist/core/components/molecules/fileUploader/index.d.ts new file mode 100644 index 0000000000..f379dd7ad7 --- /dev/null +++ b/dist/core/components/molecules/fileUploader/index.d.ts @@ -0,0 +1,2 @@ +export * from "./FileUploader"; +export * from "./FileUploaderList"; diff --git a/dist/core/components/molecules/fullscreenModal/FullscreenModal.d.ts b/dist/core/components/molecules/fullscreenModal/FullscreenModal.d.ts new file mode 100644 index 0000000000..b801c56cb3 --- /dev/null +++ b/dist/core/components/molecules/fullscreenModal/FullscreenModal.d.ts @@ -0,0 +1,36 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { OverlayHeaderProps } from "../overlayHeader"; +import { FooterOptions } from "../../../common.type"; +export declare type FullScreenDimension = 'medium' | 'large'; +export interface FullscreenModalProps extends BaseProps { + dimension: FullScreenDimension; + open: boolean; + onClose?: (event?: Event | React.MouseEvent, reason?: string) => void; + headerOptions?: OverlayHeaderProps; + header?: React.ReactNode; + footerOptions?: FooterOptions; + footer?: React.ReactNode; + children?: React.ReactNode; + closeOnEscape?: boolean; +} +interface ModalState { + open: boolean; + animate: boolean; + zIndex?: number; +} +declare class FullscreenModal extends React.Component { + modalRef: React.RefObject; + element: Element; + static defaultProps: { + dimension: string; + }; + constructor(props: FullscreenModalProps); + onOutsideClickHandler: (event: Event) => void; + onCloseHandler: (event: KeyboardEvent) => void; + componentDidMount(): void; + componentWillUnmount(): void; + componentDidUpdate(prevProps: FullscreenModalProps): void; + render(): JSX.Element; +} +export default FullscreenModal; diff --git a/dist/core/components/molecules/fullscreenModal/index.d.ts b/dist/core/components/molecules/fullscreenModal/index.d.ts new file mode 100644 index 0000000000..0a713ce0f4 --- /dev/null +++ b/dist/core/components/molecules/fullscreenModal/index.d.ts @@ -0,0 +1,2 @@ +export { default, default as FullscreenModal } from "./FullscreenModal"; +export * from "./FullscreenModal"; diff --git a/dist/core/components/molecules/inputMask/InputMask.d.ts b/dist/core/components/molecules/inputMask/InputMask.d.ts new file mode 100644 index 0000000000..8082bce17e --- /dev/null +++ b/dist/core/components/molecules/inputMask/InputMask.d.ts @@ -0,0 +1,26 @@ +import * as React from 'react'; +import { BaseProps, Validators, Mask } from "../../../utils/types"; +import { InputProps } from "../../../index.type"; +import { getDefaultValue } from "./utilites"; +export interface MaskProps extends BaseProps { + mask: Mask; + placeholderChar?: string; + caption?: string; + validators?: Validators; + onChange?: (e: React.ChangeEvent, maskedVal: string) => void; + onBlur?: (e: React.ChangeEvent, maskedVal: string) => void; + onClear?: (e: React.MouseEvent) => void; + onPaste?: (e: React.ClipboardEvent, val?: string) => void; + clearOnEmptyBlur?: boolean; + helpText?: string; +} +export declare type InputMaskProps = InputProps & MaskProps; +declare type InputMaskType = React.ForwardRefExoticComponent> & { + utils: { + getDefaultValue: typeof getDefaultValue; + }; +}; +declare const X: InputMaskType; +export { X as InputMask }; +declare const _default: InputMaskType; +export default _default; diff --git a/dist/core/components/molecules/inputMask/index.d.ts b/dist/core/components/molecules/inputMask/index.d.ts new file mode 100644 index 0000000000..934ef09086 --- /dev/null +++ b/dist/core/components/molecules/inputMask/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./InputMask"; +export * from "./InputMask"; diff --git a/dist/core/components/molecules/inputMask/utilites.d.ts b/dist/core/components/molecules/inputMask/utilites.d.ts new file mode 100644 index 0000000000..83dcc2b6b1 --- /dev/null +++ b/dist/core/components/molecules/inputMask/utilites.d.ts @@ -0,0 +1,3 @@ +import { InputMaskProps } from "../../../index.type"; +export declare const isEditable: (mask: InputMaskProps['mask'], pos: number) => boolean; +export declare const getDefaultValue: (mask: InputMaskProps['mask'], placeholderChar: InputMaskProps['placeholderChar']) => string; diff --git a/dist/core/components/molecules/modal/Modal.d.ts b/dist/core/components/molecules/modal/Modal.d.ts new file mode 100644 index 0000000000..852b051b0f --- /dev/null +++ b/dist/core/components/molecules/modal/Modal.d.ts @@ -0,0 +1,38 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { OverlayHeaderProps } from "../overlayHeader"; +import { FooterOptions } from "../../../common.type"; +export declare type ModalDimension = 'small' | 'medium' | 'large'; +export interface ModalProps extends BaseProps { + backdropClose?: boolean | ((event?: Event, reason?: string) => void); + dimension: ModalDimension; + open: boolean; + onClose?: (event?: Event | React.MouseEvent, reason?: string) => void; + headerOptions?: OverlayHeaderProps; + header?: React.ReactNode; + footer?: React.ReactNode; + footerOptions?: FooterOptions; + children?: React.ReactNode; + seperator?: boolean; + closeOnEscape?: boolean; +} +interface ModalState { + open: boolean; + animate: boolean; + zIndex?: number; +} +declare class Modal extends React.Component { + modalRef: React.RefObject; + element: Element; + static defaultProps: { + dimension: string; + }; + constructor(props: ModalProps); + onCloseHandler: (event: KeyboardEvent) => void; + componentDidMount(): void; + componentWillUnmount(): void; + componentDidUpdate(prevProps: ModalProps): void; + onOutsideClickHandler(event: Event): void; + render(): JSX.Element; +} +export default Modal; diff --git a/dist/core/components/molecules/modal/ModalBody.d.ts b/dist/core/components/molecules/modal/ModalBody.d.ts new file mode 100644 index 0000000000..bb27e5db9d --- /dev/null +++ b/dist/core/components/molecules/modal/ModalBody.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface ModalBodyProps extends BaseProps { + children: React.ReactNode; + stickFooter: boolean; + withFooter: boolean; +} +export declare const ModalBody: { + (props: ModalBodyProps): JSX.Element; + defaultProps: { + stickFooter: boolean; + withFooter: boolean; + }; + displayName: string; +}; +export default ModalBody; diff --git a/dist/core/components/molecules/modal/ModalFooter.d.ts b/dist/core/components/molecules/modal/ModalFooter.d.ts new file mode 100644 index 0000000000..b2df366168 --- /dev/null +++ b/dist/core/components/molecules/modal/ModalFooter.d.ts @@ -0,0 +1,14 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface ModalFooterProps extends BaseProps { + open?: boolean; + children: React.ReactNode; + stickToBottom?: boolean; + seperator?: boolean; + inSidesheet?: boolean; +} +export declare const ModalFooter: { + (props: ModalFooterProps): JSX.Element; + displayName: string; +}; +export default ModalFooter; diff --git a/dist/core/components/molecules/modal/ModalHeader.d.ts b/dist/core/components/molecules/modal/ModalHeader.d.ts new file mode 100644 index 0000000000..0367d54343 --- /dev/null +++ b/dist/core/components/molecules/modal/ModalHeader.d.ts @@ -0,0 +1,15 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface ModalHeaderProps extends BaseProps { + heading?: string; + onClose?: (event: React.MouseEvent, reason?: string) => void; + subHeading?: string; + seperator?: boolean; + backIcon?: boolean; + backIconCallback?: (e: React.MouseEvent) => void; +} +export declare const ModalHeader: { + (props: ModalHeaderProps): JSX.Element; + displayName: string; +}; +export default ModalHeader; diff --git a/dist/core/components/molecules/modal/index.d.ts b/dist/core/components/molecules/modal/index.d.ts new file mode 100644 index 0000000000..c37120e83d --- /dev/null +++ b/dist/core/components/molecules/modal/index.d.ts @@ -0,0 +1,5 @@ +export { default, default as Modal } from "./Modal"; +export * from "./Modal"; +export * from "./ModalHeader"; +export * from "./ModalBody"; +export * from "./ModalFooter"; diff --git a/dist/core/components/molecules/modalDescription/ModalDescription.d.ts b/dist/core/components/molecules/modalDescription/ModalDescription.d.ts new file mode 100644 index 0000000000..830e254e4d --- /dev/null +++ b/dist/core/components/molecules/modalDescription/ModalDescription.d.ts @@ -0,0 +1,10 @@ +import { BaseProps } from "../../../utils/types"; +export interface ModalDescriptionProps extends BaseProps { + title?: string; + description?: string; +} +export declare const ModalDescription: { + (props: ModalDescriptionProps): JSX.Element; + displayName: string; +}; +export default ModalDescription; diff --git a/dist/core/components/molecules/modalDescription/index.d.ts b/dist/core/components/molecules/modalDescription/index.d.ts new file mode 100644 index 0000000000..df3b9cacf1 --- /dev/null +++ b/dist/core/components/molecules/modalDescription/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ModalDescription"; +export * from "./ModalDescription"; diff --git a/dist/core/components/molecules/overlayBody/OverlayBody.d.ts b/dist/core/components/molecules/overlayBody/OverlayBody.d.ts new file mode 100644 index 0000000000..e3f6287ccb --- /dev/null +++ b/dist/core/components/molecules/overlayBody/OverlayBody.d.ts @@ -0,0 +1,14 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface OverlayBodyProps extends BaseProps { + children: React.ReactNode; +} +export declare const OverlayBody: { + (props: OverlayBodyProps): JSX.Element; + defaultProps: { + stickFooter: boolean; + withFooter: boolean; + }; + displayName: string; +}; +export default OverlayBody; diff --git a/dist/core/components/molecules/overlayBody/index.d.ts b/dist/core/components/molecules/overlayBody/index.d.ts new file mode 100644 index 0000000000..1582775ea5 --- /dev/null +++ b/dist/core/components/molecules/overlayBody/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./OverlayBody"; +export * from "./OverlayBody"; diff --git a/dist/core/components/molecules/overlayFooter/OverlayFooter.d.ts b/dist/core/components/molecules/overlayFooter/OverlayFooter.d.ts new file mode 100644 index 0000000000..864b8413f4 --- /dev/null +++ b/dist/core/components/molecules/overlayFooter/OverlayFooter.d.ts @@ -0,0 +1,13 @@ +import * as React from 'react'; +import { ButtonProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +export interface OverlayFooterProps extends BaseProps { + open?: boolean; + children?: React.ReactNode; + actions?: ButtonProps[]; +} +export declare const OverlayFooter: { + (props: OverlayFooterProps): JSX.Element; + displayName: string; +}; +export default OverlayFooter; diff --git a/dist/core/components/molecules/overlayFooter/index.d.ts b/dist/core/components/molecules/overlayFooter/index.d.ts new file mode 100644 index 0000000000..c3e9fc82e2 --- /dev/null +++ b/dist/core/components/molecules/overlayFooter/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./OverlayFooter"; +export * from "./OverlayFooter"; diff --git a/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts b/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts new file mode 100644 index 0000000000..f760e4cd01 --- /dev/null +++ b/dist/core/components/molecules/overlayHeader/OverlayHeader.d.ts @@ -0,0 +1,17 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface OverlayHeaderProps extends BaseProps { + heading?: string; + onClose?: (event: React.MouseEvent, reason?: string) => void; + subHeading?: string; + backButton?: boolean; + backButtonCallback?: (e: React.MouseEvent) => void; + backIcon?: boolean; + backIconCallback?: (e: React.MouseEvent) => void; + headingClass?: string; +} +export declare const OverlayHeader: { + (props: OverlayHeaderProps): JSX.Element; + displayName: string; +}; +export default OverlayHeader; diff --git a/dist/core/components/molecules/overlayHeader/index.d.ts b/dist/core/components/molecules/overlayHeader/index.d.ts new file mode 100644 index 0000000000..90fd8a5598 --- /dev/null +++ b/dist/core/components/molecules/overlayHeader/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./OverlayHeader"; +export * from "./OverlayHeader"; diff --git a/dist/core/components/molecules/pagination/Pagination.d.ts b/dist/core/components/molecules/pagination/Pagination.d.ts new file mode 100644 index 0000000000..150709e729 --- /dev/null +++ b/dist/core/components/molecules/pagination/Pagination.d.ts @@ -0,0 +1,20 @@ +import { BaseProps } from "../../../utils/types"; +export declare type PaginationType = 'basic' | 'jump'; +export interface PaginationProps extends BaseProps { + type: PaginationType; + totalPages: number; + page: number; + pageJumpDebounceDuration: number; + onPageChange: (page: number) => void; +} +export declare const Pagination: { + (props: PaginationProps): JSX.Element; + displayName: string; + defaultProps: { + type: string; + page: number; + totalPages: number; + pageJumpDebounceDuration: number; + }; +}; +export default Pagination; diff --git a/dist/core/components/molecules/pagination/index.d.ts b/dist/core/components/molecules/pagination/index.d.ts new file mode 100644 index 0000000000..8c0d556173 --- /dev/null +++ b/dist/core/components/molecules/pagination/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Pagination"; +export * from "./Pagination"; diff --git a/dist/core/components/molecules/placeholder/Placeholder.d.ts b/dist/core/components/molecules/placeholder/Placeholder.d.ts new file mode 100644 index 0000000000..2e5efedce1 --- /dev/null +++ b/dist/core/components/molecules/placeholder/Placeholder.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { PlaceholderImageSize } from "../../atoms/placeholderImage"; +import { PlaceholderParagraphProps } from "../../atoms/placeholderParagraph"; +export interface PlaceholderProps extends BaseProps { + withImage: boolean; + round?: boolean; + imageSize: PlaceholderImageSize; + children?: React.ReactElement | React.ReactElement[]; +} +export declare const Placeholder: { + (props: PlaceholderProps): JSX.Element; + displayName: string; + defaultProps: { + withImage: boolean; + imageSize: string; + }; +}; +export default Placeholder; diff --git a/dist/core/components/molecules/placeholder/index.d.ts b/dist/core/components/molecules/placeholder/index.d.ts new file mode 100644 index 0000000000..e42ed0eb11 --- /dev/null +++ b/dist/core/components/molecules/placeholder/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Placeholder"; +export * from "./Placeholder"; diff --git a/dist/core/components/molecules/popover/Popover.d.ts b/dist/core/components/molecules/popover/Popover.d.ts new file mode 100644 index 0000000000..6cd4bf832d --- /dev/null +++ b/dist/core/components/molecules/popover/Popover.d.ts @@ -0,0 +1,39 @@ +import * as React from 'react'; +import { PopperWrapperProps } from "../../atoms/popperWrapper"; +import { BaseProps } from "../../../utils/types"; +declare type Position = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right'; +export interface CustomStyle { + height?: number | string; + minHeight?: number | string; + maxHeight?: number | string; + width?: number | string; + minWidth?: number | string; + maxWidth?: number | string; +} +declare const propsList: readonly ["appendToBody", "trigger", "hoverable", "on", "open", "closeOnBackdropClick", "offset", "closeOnScroll"]; +declare type PopperProps = typeof propsList[number]; +export interface PopoverProps extends Pick, BaseProps { + children: React.ReactNode; + position: Position; + onToggle?: (open: boolean, type?: string) => void; + dark?: boolean; + customStyle: CustomStyle; + triggerClass?: string; + hideOnReferenceEscape?: boolean; + boundaryElement: React.RefObject | Element; + animationClass?: { + open: string; + close: string; + }; +} +export declare const Popover: { + (props: PopoverProps): JSX.Element; + displayName: string; + defaultProps: Record & { + offset: string; + position: string; + hideOnReferenceEscape: boolean; + customStyle: {}; + }; +}; +export default Popover; diff --git a/dist/core/components/molecules/popover/index.d.ts b/dist/core/components/molecules/popover/index.d.ts new file mode 100644 index 0000000000..664fd4a1da --- /dev/null +++ b/dist/core/components/molecules/popover/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Popover"; +export * from "./Popover"; diff --git a/dist/core/components/molecules/sidesheet/Sidesheet.d.ts b/dist/core/components/molecules/sidesheet/Sidesheet.d.ts new file mode 100644 index 0000000000..4edf189147 --- /dev/null +++ b/dist/core/components/molecules/sidesheet/Sidesheet.d.ts @@ -0,0 +1,42 @@ +import * as React from 'react'; +import { OverlayHeaderProps } from "../overlayHeader"; +import { BaseProps } from "../../../utils/types"; +import { FooterOptions } from "../../../common.type"; +export declare type SidesheetDimension = 'regular' | 'large'; +export interface SidesheetProps extends BaseProps { + headerOptions: Omit; + header?: React.ReactNode; + dimension: SidesheetDimension; + open: boolean; + stickFooter?: boolean; + seperator?: boolean; + children?: React.ReactNode; + footer?: React.ReactNode; + footerOptions?: FooterOptions; + backdropClose?: boolean; + closeOnEscape?: boolean; + onClose?: (event?: Event | React.MouseEvent, reason?: string) => void; +} +interface SidesheetState { + open: boolean; + animate: boolean; + zIndex?: number; +} +declare class Sidesheet extends React.Component { + sidesheetRef: React.RefObject; + element: Element; + static defaultProps: { + dimension: string; + stickFooter: boolean; + headerOptions: {}; + }; + constructor(props: SidesheetProps); + onCloseHandler: (event: KeyboardEvent) => void; + componentDidMount(): void; + componentWillUnmount(): void; + componentDidUpdate(prevProps: SidesheetProps): void; + onOutsideClickHandler(event: Event): void; + handleAnimationEnd(): void; + render(): JSX.Element; +} +export default Sidesheet; diff --git a/dist/core/components/molecules/sidesheet/index.d.ts b/dist/core/components/molecules/sidesheet/index.d.ts new file mode 100644 index 0000000000..5b6938dd53 --- /dev/null +++ b/dist/core/components/molecules/sidesheet/index.d.ts @@ -0,0 +1,2 @@ +export { default, default as Sidesheet } from "./Sidesheet"; +export * from "./Sidesheet"; diff --git a/dist/core/components/molecules/stepper/Step.d.ts b/dist/core/components/molecules/stepper/Step.d.ts new file mode 100644 index 0000000000..d6a6cd1aa4 --- /dev/null +++ b/dist/core/components/molecules/stepper/Step.d.ts @@ -0,0 +1,14 @@ +import * as React from 'react'; +export interface StepProps { + label: string; + value?: React.ReactText; + disabled: boolean; + active: boolean; + completed: boolean; + onChange?: (label: string, value?: React.ReactText) => void; +} +export declare const Step: { + (props: StepProps): JSX.Element; + displayName: string; +}; +export default Step; diff --git a/dist/core/components/molecules/stepper/Stepper.d.ts b/dist/core/components/molecules/stepper/Stepper.d.ts new file mode 100644 index 0000000000..8bf3592792 --- /dev/null +++ b/dist/core/components/molecules/stepper/Stepper.d.ts @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export interface StepProp { + label: string; + value?: React.ReactText; +} +export interface StepperProps extends BaseProps { + active: number; + completed: number; + steps: StepProp[]; + onChange?: (active: number, completed: number, label?: string, value?: React.ReactText) => void; + skipIndexes: number[]; +} +export declare const Stepper: { + (props: StepperProps): JSX.Element; + displayName: string; + defaultProps: { + completed: number; + active: number; + skipIndexes: never[]; + }; +}; +export default Stepper; diff --git a/dist/core/components/molecules/stepper/index.d.ts b/dist/core/components/molecules/stepper/index.d.ts new file mode 100644 index 0000000000..a36e16da68 --- /dev/null +++ b/dist/core/components/molecules/stepper/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Stepper"; +export * from "./Stepper"; diff --git a/dist/core/components/molecules/tabs/Tab.d.ts b/dist/core/components/molecules/tabs/Tab.d.ts new file mode 100644 index 0000000000..60ebb8d20b --- /dev/null +++ b/dist/core/components/molecules/tabs/Tab.d.ts @@ -0,0 +1,16 @@ +import * as React from 'react'; +export interface TabProps { + label: React.ReactNode | string; + disabled?: boolean; + icon?: string; + count?: number; + children?: React.ReactNode; + className?: string; + isDismissible?: boolean; + onDismiss?: (tabInfo: object) => void; +} +export declare const Tab: { + (props: TabProps): JSX.Element; + displayName: string; +}; +export default Tab; diff --git a/dist/core/components/molecules/tabs/Tabs.d.ts b/dist/core/components/molecules/tabs/Tabs.d.ts new file mode 100644 index 0000000000..70cdcfcd26 --- /dev/null +++ b/dist/core/components/molecules/tabs/Tabs.d.ts @@ -0,0 +1,35 @@ +import * as React from 'react'; +import { BaseProps, SingleOrArray } from "../../../utils/types"; +import { FontVariationType } from "../../../common.type"; +interface TabInfo { + label: string; + activeIndex: number; + currentTabIndex: number; +} +export interface TabConfig { + label: string; + count?: number; + icon?: string; + disabled?: boolean; + className?: string; + isDismissible?: boolean; + onDismiss?: (tabInfo: TabInfo) => void; + iconVariations?: FontVariationType; +} +export interface TabsProps extends BaseProps { + activeIndex?: number; + withSeparator?: boolean; + tabs: TabConfig[]; + children?: SingleOrArray; + onTabChange?: (tabIndex: number) => void; + headerClassName?: string; +} +export declare const Tabs: { + (props: TabsProps): JSX.Element; + displayName: string; + defaultProps: { + withSeparator: boolean; + tabs: never[]; + }; +}; +export default Tabs; diff --git a/dist/core/components/molecules/tabs/TabsWrapper.d.ts b/dist/core/components/molecules/tabs/TabsWrapper.d.ts new file mode 100644 index 0000000000..b6d3e07462 --- /dev/null +++ b/dist/core/components/molecules/tabs/TabsWrapper.d.ts @@ -0,0 +1,12 @@ +import * as React from 'react'; +import { BaseProps, SingleOrArray } from "../../../utils/types"; +export interface TabsWrapperProps extends BaseProps { + active?: number; + children: SingleOrArray; + onTabChange?: (tabIndex: number) => void; +} +export declare const TabsWrapper: { + (props: TabsWrapperProps): JSX.Element; + displayName: string; +}; +export default TabsWrapper; diff --git a/dist/core/components/molecules/tabs/index.d.ts b/dist/core/components/molecules/tabs/index.d.ts new file mode 100644 index 0000000000..8b3f78639e --- /dev/null +++ b/dist/core/components/molecules/tabs/index.d.ts @@ -0,0 +1,3 @@ +export * from "./TabsWrapper"; +export * from "./Tab"; +export * from "./Tabs"; diff --git a/dist/core/components/molecules/tooltip/Tooltip.d.ts b/dist/core/components/molecules/tooltip/Tooltip.d.ts new file mode 100644 index 0000000000..71a6fef3ec --- /dev/null +++ b/dist/core/components/molecules/tooltip/Tooltip.d.ts @@ -0,0 +1,15 @@ +import { PopoverProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +declare const tooltipPropsList: readonly ["trigger", "on", "open", "offset", "onToggle", "dark", "customStyle", "closeOnBackdropClick", "hideOnReferenceEscape", "closeOnScroll"]; +declare type TooltipPopperProps = typeof tooltipPropsList[number]; +export interface TooltipProps extends Omit, BaseProps { + tooltip: string; + children: PopoverProps['trigger']; +} +export declare const Tooltip: { + (props: TooltipProps): JSX.Element; + defaultProps: Record & { + hoverable: boolean; + }; +}; +export default Tooltip; diff --git a/dist/core/components/molecules/tooltip/index.d.ts b/dist/core/components/molecules/tooltip/index.d.ts new file mode 100644 index 0000000000..6d9ed84e72 --- /dev/null +++ b/dist/core/components/molecules/tooltip/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Tooltip"; +export * from "./Tooltip"; diff --git a/dist/core/components/molecules/verificationCodeInput/VerificationCodeInput.d.ts b/dist/core/components/molecules/verificationCodeInput/VerificationCodeInput.d.ts new file mode 100644 index 0000000000..cc231dbcd8 --- /dev/null +++ b/dist/core/components/molecules/verificationCodeInput/VerificationCodeInput.d.ts @@ -0,0 +1,17 @@ +import { BaseProps } from "../../../utils/types"; +import { InputProps } from "../../../index.type"; +interface VerificationProps extends BaseProps { + fields?: number; + type?: 'text' | 'number' | 'password'; + onComplete?: (value: string) => void; +} +export declare type VerificationCodeInputProps = VerificationProps & Omit; +declare const VerificationCodeInput: { + (props: VerificationCodeInputProps): JSX.Element; + displayName: string; + defaultProps: { + type: string; + fields: number; + }; +}; +export default VerificationCodeInput; diff --git a/dist/core/components/molecules/verificationCodeInput/index.d.ts b/dist/core/components/molecules/verificationCodeInput/index.d.ts new file mode 100644 index 0000000000..9d36154402 --- /dev/null +++ b/dist/core/components/molecules/verificationCodeInput/index.d.ts @@ -0,0 +1,2 @@ +export { default, default as VerificationCodeInput } from "./VerificationCodeInput"; +export * from "./VerificationCodeInput"; diff --git a/dist/core/components/organisms/calendar/Calendar.d.ts b/dist/core/components/organisms/calendar/Calendar.d.ts new file mode 100644 index 0000000000..889239d2c4 --- /dev/null +++ b/dist/core/components/organisms/calendar/Calendar.d.ts @@ -0,0 +1,102 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +import { Size, Day, View, Events } from "./types"; +declare type OnHover = React.MouseEvent | React.MouseEvent; +interface hoveredDateProps { + value: number; + isToday: boolean; + isDisabled: boolean; + todayDate?: Date; + fullDate: Date; + date: number; + month: string; + year: number; + dayName: string; +} +interface hoveredMonthProps { + value: string; + month: string; + year?: number; + isCurrentMonth: boolean; + isDisabled: boolean; +} +interface hoveredYearProps { + value: number; + year: number; + isCurrentYear: boolean; + isDisabled: boolean; +} +export interface SharedProps extends BaseProps { + size: Size; + monthsInView: number; + jumpView?: boolean; + firstDayOfWeek: Day; + view: View; + disabledBefore?: Date; + disabledAfter?: Date; + yearNav?: number; + monthNav?: number; +} +export declare type CalendarProps = { + onDateChange?: (date: Date) => void; + onRangeChange?: (startDate: Date | undefined, endDate: Date | undefined) => void; + onDateHover?: (dateData: hoveredDateProps, evnt: OnHover) => void; + onMonthHover?: (monthData: hoveredMonthProps, evnt: OnHover) => void; + onYearHover?: (yearData: hoveredYearProps, evnt: OnHover) => void; + date?: Date; + rangePicker?: boolean; + startDate?: Date; + endDate?: Date; + rangeLimit?: number; + events?: Events; +} & SharedProps; +interface CalendarState { + view: View; + year?: number; + month?: number; + date?: number; + currDate?: Date; + hoverDate?: Date; + startDate?: Date; + endDate?: Date; + yearBlockNav: number; + yearNav: number; + monthNav: number; + todayDate: number; + currMonth: number; + currYear: number; +} +export declare class Calendar extends React.Component { + static defaultProps: { + size: string; + monthsInView: number; + view: string; + firstDayOfWeek: string; + jumpView: boolean; + }; + constructor(props: CalendarProps); + componentDidUpdate(prevProps: CalendarProps, prevState: CalendarState): void; + updateState: (year: number, month?: number | undefined, date?: number | undefined) => void; + getDateValue: (year: number, month: number, date: number) => Date | undefined; + getNavDateInfo: (index: number) => Record; + getInRangeError: () => boolean; + selectYear: (year: number) => () => void; + yearMouseOverHandler: (year: number, isCurrentYear: boolean, isDisabled: boolean, ev: React.MouseEvent) => void; + selectMonth: (month: number) => () => void; + monthMouseOverHandler: (month: number, isCurrentMonth: boolean, isDisabled: boolean, ev: React.MouseEvent) => void; + selectDate: (index: number, date: number, prevMonthDayRange: number, dayRange: number) => void; + calculateDate: (index: number, date: number, prevMonthDayRange: number, dayRange: number, isDateHovered: boolean) => Date | undefined; + onNavIconClickHandler: (type: string) => () => void; + renderJumpButton: (type: string) => JSX.Element; + onNavHeadingClickHandler: (currView: View) => () => void; + renderHeaderContent: (index: number) => JSX.Element; + renderBodyYear: () => JSX.Element[]; + renderBodyMonth: () => JSX.Element[]; + onDateRowMouseLeaveHandler: () => void; + renderBodyDate: (index: number) => JSX.Element; + renderEventsIndicator(size: string, active: boolean): JSX.Element; + renderDateValues: (index: number) => JSX.Element[]; + renderCalendar: (index: number) => JSX.Element; + render(): JSX.Element; +} +export default Calendar; diff --git a/dist/core/components/organisms/calendar/config.d.ts b/dist/core/components/organisms/calendar/config.d.ts new file mode 100644 index 0000000000..24dd92aece --- /dev/null +++ b/dist/core/components/organisms/calendar/config.d.ts @@ -0,0 +1,13 @@ +declare const _default: { + yearBlockRange: number; + yearsInRow: number; + monthBlock: number; + monthsInRow: number; + daysInRow: number; + months: string[]; + days: { + small: string[]; + large: string[]; + }; +}; +export default _default; diff --git a/dist/core/components/organisms/calendar/index.d.ts b/dist/core/components/organisms/calendar/index.d.ts new file mode 100644 index 0000000000..ea9930a1ba --- /dev/null +++ b/dist/core/components/organisms/calendar/index.d.ts @@ -0,0 +1,4 @@ +export { default } from "./Calendar"; +export * from "./Calendar"; +export * from "./utility"; +export * from "./types"; diff --git a/dist/core/components/organisms/calendar/types.d.ts b/dist/core/components/organisms/calendar/types.d.ts new file mode 100644 index 0000000000..9ac8bc23de --- /dev/null +++ b/dist/core/components/organisms/calendar/types.d.ts @@ -0,0 +1,13 @@ +export declare type Size = 'small' | 'large'; +export declare type View = 'date' | 'month' | 'year'; +export declare type Day = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'; +export declare type DateFormat = 'mm/dd/yyyy' | 'dd/mm/yyyy' | 'yyyy/mm/dd' | 'mm-dd-yyyy' | 'dd-mm-yyyy' | 'yyyy-mm-dd'; +export declare type DateObject = { + year: number; + month: number; + date: number; +}; +export declare type DateType = number | Date | string; +export declare type Events = { + [key: string]: boolean; +}; diff --git a/dist/core/components/organisms/calendar/utility.d.ts b/dist/core/components/organisms/calendar/utility.d.ts new file mode 100644 index 0000000000..035b0ceb65 --- /dev/null +++ b/dist/core/components/organisms/calendar/utility.d.ts @@ -0,0 +1,15 @@ +import { DateObject, DateType, Day } from "./types"; +import { Validators } from "../../../utils/types"; +declare type Operator = 'less' | 'more' | 'equal'; +export declare const getIndexOfDay: (day: Day) => number; +export declare const getYearBlock: (year: number) => number; +export declare const getDaysInMonth: (year: number, month: number) => number; +export declare const getFirstDayOfMonth: (year: number, month: number) => number; +export declare const getDateInfo: (d?: string | number | Date | undefined) => Record; +export declare const convertToDate: (d?: string | number | DateObject | Date | undefined, format?: string | undefined, validators?: ((...values: any[]) => boolean) | ((...values: any[]) => boolean)[] | undefined) => Date | undefined; +export declare const compareYearBlock: (d: DateType | undefined, operator: Operator, currDecade: number) => boolean; +export declare const compareDate: (d: DateType | undefined, operator: Operator, currYear: number, currMonth?: number | undefined, currDate?: number | undefined) => boolean; +export declare const translateToString: (format: string, d?: Date | undefined) => string; +export declare const translateToDate: (format: string, val: string, validators?: Validators) => Date | undefined; +export declare const dateComparison: (date: Date | undefined, operator: Operator, currDate: string, currMonth: string, currYear: string) => boolean; +export {}; diff --git a/dist/core/components/organisms/choiceList/ChoiceList.d.ts b/dist/core/components/organisms/choiceList/ChoiceList.d.ts new file mode 100644 index 0000000000..fa1cda666b --- /dev/null +++ b/dist/core/components/organisms/choiceList/ChoiceList.d.ts @@ -0,0 +1,32 @@ +import { BaseProps } from "../../../utils/types"; +import { ChangeEvent } from "../../../common.type"; +export declare type ChoiceListAlignment = 'horizontal' | 'vertical'; +export declare type ChoiceListSize = 'regular' | 'tiny'; +export interface Choice { + value: string; + label?: string; + disabled?: boolean; + helpText?: string; + name: string; +} +export interface ChoiceListProps extends BaseProps { + title?: string; + choices: Choice[]; + alignment?: ChoiceListAlignment; + size?: ChoiceListSize; + allowMultiple?: boolean; + disabled?: boolean; + selected?: string[]; + onChange?: (event: ChangeEvent, selected: string[]) => void; +} +export declare const ChoiceList: { + (props: ChoiceListProps): JSX.Element; + displayName: string; + defaultProps: { + alignment: string; + size: string; + allowMultiple: boolean; + disabled: boolean; + }; +}; +export default ChoiceList; diff --git a/dist/core/components/organisms/choiceList/index.d.ts b/dist/core/components/organisms/choiceList/index.d.ts new file mode 100644 index 0000000000..16ae7adb81 --- /dev/null +++ b/dist/core/components/organisms/choiceList/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./ChoiceList"; +export * from "./ChoiceList"; diff --git a/dist/core/components/organisms/datePicker/DatePicker.d.ts b/dist/core/components/organisms/datePicker/DatePicker.d.ts new file mode 100644 index 0000000000..9ec8cefb39 --- /dev/null +++ b/dist/core/components/organisms/datePicker/DatePicker.d.ts @@ -0,0 +1,48 @@ +import * as React from 'react'; +import { SharedProps } from "../calendar/Calendar"; +import { DateType, DateFormat } from "../calendar/types"; +import { PopoverProps, InputMaskProps } from "../../../index.type"; +import { Validators } from "../../../utils/types"; +export declare type DatePickerProps = SharedProps & { + onDateChange?: (date: Date | undefined, dateVal?: string) => void; + date?: DateType; + withInput?: boolean; + open?: boolean; + position: PopoverProps['position']; + inputFormat: DateFormat; + outputFormat: DateFormat; + inputOptions: Omit; + validators: Validators; + closeOnSelect: boolean; + showTodayDate?: boolean; + children?: React.ReactNode; +}; +export interface DatePickerState { + init: boolean; + date?: Date; + error: boolean; + open: boolean; +} +export declare class DatePicker extends React.Component { + static defaultProps: { + position: string; + inputFormat: string; + outputFormat: string; + validators: ((val: string, format: string) => boolean)[]; + inputOptions: {}; + closeOnSelect: boolean; + size: string; + monthsInView: number; + view: string; + firstDayOfWeek: string; + jumpView: boolean; + }; + constructor(props: DatePickerProps); + componentDidUpdate(prevProps: DatePickerProps, prevState: DatePickerState): void; + getError: (date?: Date | undefined) => boolean; + onDateChangeHandler: (d?: Date | undefined) => void; + onToggleHandler: (o: boolean, type?: string | undefined) => void; + renderCalendar(): JSX.Element; + render(): JSX.Element; +} +export default DatePicker; diff --git a/dist/core/components/organisms/datePicker/Trigger.d.ts b/dist/core/components/organisms/datePicker/Trigger.d.ts new file mode 100644 index 0000000000..fc6c18704c --- /dev/null +++ b/dist/core/components/organisms/datePicker/Trigger.d.ts @@ -0,0 +1,10 @@ +import { DatePickerProps, DatePickerState } from "./DatePicker"; +declare type TriggerProps = { + inputFormat: DatePickerProps['inputFormat']; + inputOptions: DatePickerProps['inputOptions']; + validators: DatePickerProps['validators']; + state: DatePickerState; + setState: any; +}; +export declare const Trigger: (props: TriggerProps) => JSX.Element; +export {}; diff --git a/dist/core/components/organisms/datePicker/index.d.ts b/dist/core/components/organisms/datePicker/index.d.ts new file mode 100644 index 0000000000..386935faf3 --- /dev/null +++ b/dist/core/components/organisms/datePicker/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./DatePicker"; +export * from "./DatePicker"; diff --git a/dist/core/components/organisms/dateRangePicker/DateRangePicker.d.ts b/dist/core/components/organisms/dateRangePicker/DateRangePicker.d.ts new file mode 100644 index 0000000000..35c0ad8260 --- /dev/null +++ b/dist/core/components/organisms/dateRangePicker/DateRangePicker.d.ts @@ -0,0 +1,104 @@ +import * as React from 'react'; +import { CalendarProps, SharedProps } from "../calendar/Calendar"; +import { DateType, DateFormat } from "../calendar/types"; +import { InputMaskProps, PopoverProps } from "../../../index.type"; +import { Validators } from "../../../utils/types"; +export declare type InputOptions = Omit & { + label?: string; +}; +export declare type DateRangePickerProps = SharedProps & { + onRangeChange?: (startDate?: Date, endDate?: Date, startValue?: string, endValue?: string) => void; + children: React.ReactNode; + contentAlign?: 'left' | 'right'; + startDate?: DateType; + endDate?: DateType; + rangeLimit?: number; + withInput?: boolean; + singleInput?: boolean; + open?: boolean; + position: PopoverProps['position']; + inputFormat: DateFormat; + outputFormat: DateFormat; + inputOptions: InputOptions; + startInputOptions: InputOptions; + endInputOptions: InputOptions; + validators: Validators; + monthsInView?: CalendarProps['monthsInView']; +}; +export interface DateRangePickerState { + init: boolean; + startDate?: Date; + endDate?: Date; + startValue: string; + endValue: string; + startError: boolean; + endError: boolean; + yearNav?: number; + monthNav?: number; + open: boolean; +} +export declare class DateRangePicker extends React.Component { + static utils: { + getCurrentWeek: () => { + startDate: Date; + endDate: Date; + }; + getPreviousWeek: () => { + startDate: Date; + endDate: Date; + }; + getPreviousMonth: () => { + endDate: Date; + startDate: Date; + }; + getPrevious90Days: () => { + startDate: Date; + endDate: Date; + }; + getCustomDates: () => { + startDate: string; + endDate: string; + }; + getCurrentYear: () => number; + getCurrentMonth: () => number; + }; + static defaultProps: { + children: JSX.Element; + contentAlign: string; + monthsInView: undefined; + position: string; + inputFormat: string; + outputFormat: string; + validators: ((val: string, format: string) => boolean)[]; + inputOptions: { + label: string; + }; + startInputOptions: { + label: string; + }; + endInputOptions: { + label: string; + }; + size: string; + view: string; + firstDayOfWeek: string; + jumpView: boolean; + }; + monthsInView: number; + constructor(props: DateRangePickerProps); + componentDidUpdate(prevProps: DateRangePickerProps, prevState: DateRangePickerState): void; + getDate: (startDate?: Date | undefined, endDate?: Date | undefined) => { + startValue: string; + endValue: string; + }; + getErrors: (startDate?: Date | undefined, endDate?: Date | undefined) => { + startError: boolean; + endError: boolean; + }; + getInRangeError: () => boolean; + onRangeChangeHandler: (sDate?: Date | undefined, eDate?: Date | undefined) => void; + onToggleHandler: (o: boolean, type?: string | undefined) => void; + renderCalendar(): JSX.Element; + render(): JSX.Element; +} +export default DateRangePicker; diff --git a/dist/core/components/organisms/dateRangePicker/SingleInputTrigger.d.ts b/dist/core/components/organisms/dateRangePicker/SingleInputTrigger.d.ts new file mode 100644 index 0000000000..ef1605b0c3 --- /dev/null +++ b/dist/core/components/organisms/dateRangePicker/SingleInputTrigger.d.ts @@ -0,0 +1,10 @@ +import { DateRangePickerProps, DateRangePickerState } from "./DateRangePicker"; +declare type TriggerProps = { + inputFormat: DateRangePickerProps['inputFormat']; + inputOptions: DateRangePickerProps['startInputOptions']; + validators: DateRangePickerProps['validators']; + state: DateRangePickerState; + setState: any; +}; +export declare const SingleInputTrigger: (props: TriggerProps) => JSX.Element; +export {}; diff --git a/dist/core/components/organisms/dateRangePicker/Trigger.d.ts b/dist/core/components/organisms/dateRangePicker/Trigger.d.ts new file mode 100644 index 0000000000..8c03dc25bb --- /dev/null +++ b/dist/core/components/organisms/dateRangePicker/Trigger.d.ts @@ -0,0 +1,11 @@ +import { DateRangePickerProps, DateRangePickerState } from "./DateRangePicker"; +declare type TriggerProps = { + inputFormat: DateRangePickerProps['inputFormat']; + startInputOptions: DateRangePickerProps['startInputOptions']; + endInputOptions: DateRangePickerProps['endInputOptions']; + validators: DateRangePickerProps['validators']; + state: DateRangePickerState; + setState: any; +}; +export declare const Trigger: (props: TriggerProps) => JSX.Element; +export {}; diff --git a/dist/core/components/organisms/dateRangePicker/index.d.ts b/dist/core/components/organisms/dateRangePicker/index.d.ts new file mode 100644 index 0000000000..2f5bccea06 --- /dev/null +++ b/dist/core/components/organisms/dateRangePicker/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./DateRangePicker"; +export * from "./DateRangePicker"; diff --git a/dist/core/components/organisms/dateRangePicker/utilities.d.ts b/dist/core/components/organisms/dateRangePicker/utilities.d.ts new file mode 100644 index 0000000000..46fabcb400 --- /dev/null +++ b/dist/core/components/organisms/dateRangePicker/utilities.d.ts @@ -0,0 +1,22 @@ +export declare const getCurrentYear: () => number; +export declare const getCurrentMonth: () => number; +export declare const getCurrentWeek: () => { + startDate: Date; + endDate: Date; +}; +export declare const getPreviousWeek: () => { + startDate: Date; + endDate: Date; +}; +export declare const getPreviousMonth: () => { + endDate: Date; + startDate: Date; +}; +export declare const getPrevious90Days: () => { + startDate: Date; + endDate: Date; +}; +export declare const getCustomDates: () => { + startDate: string; + endDate: string; +}; diff --git a/dist/core/components/organisms/grid/Cell.d.ts b/dist/core/components/organisms/grid/Cell.d.ts new file mode 100644 index 0000000000..3dfd30f21d --- /dev/null +++ b/dist/core/components/organisms/grid/Cell.d.ts @@ -0,0 +1,28 @@ +import * as React from 'react'; +import { RowData, ColumnSchema } from "./Grid"; +import { GridHeadProps } from "./GridHead"; +interface SharedCellProps { + schema: ColumnSchema; + colIndex: number; + nestedRowData?: React.ReactNode; +} +declare type HeaderCellProps = SharedCellProps & { + onSelectAll: GridHeadProps['onSelectAll']; + onMenuChange: GridHeadProps['onMenuChange']; + onFilterChange: GridHeadProps['onFilterChange']; + updateColumnSchema: GridHeadProps['updateColumnSchema']; + reorderColumn: GridHeadProps['reorderColumn']; + setIsDragged: React.Dispatch>; +}; +declare type BodyCellProps = SharedCellProps & { + data: RowData; + rowIndex: number; + expandedState: [boolean, React.Dispatch>]; +}; +export declare type HeaderCellRendererProps = HeaderCellProps & SharedCellProps; +export declare type CellProps = Partial & Partial & SharedCellProps & { + isHead?: boolean; + firstCell: boolean; +}; +export declare const Cell: (props: CellProps) => JSX.Element | null; +export default Cell; diff --git a/dist/core/components/organisms/grid/Grid.d.ts b/dist/core/components/organisms/grid/Grid.d.ts new file mode 100644 index 0000000000..7cd4b8a920 --- /dev/null +++ b/dist/core/components/organisms/grid/Grid.d.ts @@ -0,0 +1,142 @@ +import * as React from 'react'; +import { DropdownProps, CheckboxProps, GridCellProps } from "../../../index.type"; +import { HeaderCellRendererProps } from "./Cell"; +import { BaseProps } from "../../../utils/types"; +import { NestedRowProps } from "./GridNestedRow"; +export declare type SortType = 'asc' | 'desc' | 'unsort'; +export declare type Pinned = 'left' | 'right' | 'unpin'; +export declare type Alignment = 'left' | 'right' | 'center'; +export declare type Comparator = (a: RowData, b: RowData) => -1 | 0 | 1; +export declare type Filter = any[]; +export declare type GridRef = HTMLDivElement | null; +export declare type PageInfo = { + page: number; + scrollTop: number; +}; +export interface FetchDataOptions { + page?: number; + pageSize?: number; + filterList?: GridProps['filterList']; + sortingList?: GridProps['sortingList']; + searchTerm?: string; +} +export declare type fetchDataFunction = (options: FetchDataOptions) => Promise<{ + searchTerm?: string; + count: number; + data: Data; + schema: Schema; +}>; +export declare type updateSortingListFunction = (newSortingList: GridProps['sortingList']) => void; +export declare type updateFilterListFunction = (newFilterList: GridProps['filterList']) => void; +export declare type updateSchemaFunction = (newSchema: Schema) => void; +export declare type updateSelectAllFunction = (attr: GridProps['selectAll']) => void; +export declare type updateColumnSchemaFunction = (name: ColumnSchema['name'], schemaUpdate: Partial) => void; +export declare type updateRowDataFunction = (rowIndexes: number[], dataUpdate: Partial) => void; +export declare type sortDataFunction = (comparator: Comparator, type: SortType) => void; +export declare type reorderColumnFunction = (from: string, to: string) => void; +export declare type onSelectFn = (rowIndex: number, selected: boolean) => void; +export declare type onFilterChangeFn = (name: ColumnSchema['name'], selected: any) => void; +export declare type onSelectAllFunction = (selected: boolean, selectAll?: boolean) => void; +export declare type onFilterChangeFunction = (data: RowData, filters: Filter) => boolean; +export declare type onRowClickFunction = (data: RowData, rowIndex?: number) => void; +export declare type onMenuChangeFn = (name: ColumnSchema['name'], selected: any) => void; +export declare type updatePrevPageInfoFunction = (value: PageInfo) => void; +export declare type CellType = 'DEFAULT' | 'WITH_META_LIST' | 'AVATAR' | 'AVATAR_WITH_TEXT' | 'AVATAR_WITH_META_LIST' | 'STATUS_HINT' | 'ICON'; +export declare type ColumnSchema = { + name: string; + displayName: string; + width?: React.ReactText; + minWidth?: React.ReactText; + maxWidth?: React.ReactText; + resizable?: boolean; + sorting?: boolean; + comparator?: Comparator; + separator?: boolean; + pinned?: Pinned; + hidden?: boolean; + filters?: DropdownProps['options']; + onFilterChange?: onFilterChangeFunction; + translate?: (data: RowData) => RowData; + cellType?: CellType; + headerCellRenderer?: React.FC; + cellRenderer?: React.FC; + align?: Alignment; + tooltip?: boolean; +}; +export declare type RowData = Record & { + _selected?: boolean; + disabled?: boolean; +}; +export declare type GridSize = 'comfortable' | 'standard' | 'compressed' | 'tight'; +export declare type GridType = 'resource' | 'data'; +export declare type Data = RowData[]; +export declare type Schema = ColumnSchema[]; +export interface GridProps extends BaseProps { + size: GridSize; + type: GridType; + onRowClick?: onRowClickFunction; + loaderSchema: Schema; + schema: Schema; + data: Data; + totalRecords: number; + loading: boolean; + error: boolean; + updateData?: () => void; + updateSchema?: updateSchemaFunction; + showHead?: boolean; + showMenu?: boolean; + draggable?: boolean; + nestedRows?: boolean; + nestedRowRenderer?: React.FC; + withPagination?: boolean; + page: number; + pageSize: number; + withCheckbox?: boolean; + onSelect?: onSelectFn; + onSelectAll?: onSelectAllFunction; + errorTemplate?: React.FunctionComponent | React.ReactNode; + sortingList: { + name: ColumnSchema['name']; + type: SortType; + }[]; + updateSortingList?: updateSortingListFunction; + filterList: Record; + updateFilterList?: updateFilterListFunction; + selectAll?: { + checked: boolean; + indeterminate: boolean; + }; + headCellTooltip?: boolean; + separator?: boolean; + showFilters: boolean; +} +export interface GridState { + init: boolean; + prevPageInfo: PageInfo; +} +export declare class Grid extends React.Component { + static defaultProps: GridProps; + gridRef: GridRef; + isHeadSyncing: boolean; + isBodySyncing: boolean; + constructor(props: GridProps); + componentDidMount(): void; + forceRerender(): void; + componentWillUnmount(): void; + componentDidUpdate(prevProps: GridProps, prevState: GridState): void; + addScrollListeners(): void; + removeScrollListeners(): void; + syncScroll: (type: string) => () => void; + updateRenderedSchema: (newSchema: Schema) => void; + updateColumnSchema: updateColumnSchemaFunction; + reorderColumn: reorderColumnFunction; + updateSortingList: (sortingList: GridProps['sortingList']) => void; + updateFilterList: (filterList: GridProps['filterList']) => void; + onMenuChange: onMenuChangeFn; + onFilterChange: onFilterChangeFn; + onSelect: onSelectFn; + onSelectAll: CheckboxProps['onChange']; + updatePrevPageInfo: updatePrevPageInfoFunction; + render(): JSX.Element; +} +export default Grid; diff --git a/dist/core/components/organisms/grid/GridBody.d.ts b/dist/core/components/organisms/grid/GridBody.d.ts new file mode 100644 index 0000000000..b6e66c1bf9 --- /dev/null +++ b/dist/core/components/organisms/grid/GridBody.d.ts @@ -0,0 +1,9 @@ +import { GridState, onSelectFn, Schema, updatePrevPageInfoFunction } from "./Grid"; +export interface GridBodyProps { + schema: Schema; + onSelect: onSelectFn; + prevPageInfo: GridState['prevPageInfo']; + updatePrevPageInfo: updatePrevPageInfoFunction; +} +export declare const GridBody: (props: GridBodyProps) => any; +export default GridBody; diff --git a/dist/core/components/organisms/grid/GridCell.d.ts b/dist/core/components/organisms/grid/GridCell.d.ts new file mode 100644 index 0000000000..5d9a48da32 --- /dev/null +++ b/dist/core/components/organisms/grid/GridCell.d.ts @@ -0,0 +1,27 @@ +import { StatusHintProps } from "../../../index.type"; +import { ColumnSchema, RowData, GridSize } from "./Grid"; +export interface CellData { + title: string; + metaList?: string[]; + icon?: string; + image?: string; + firstName?: string; + lastName?: string; + statusAppearance?: StatusHintProps['appearance']; +} +export interface PartialCellProps { + data: RowData; + schema: ColumnSchema; + loading?: boolean; + expanded?: boolean; +} +export interface GridCellProps extends PartialCellProps { + size?: GridSize; + rowIndex?: number; + colIndex?: number; +} +export declare const GridCell: { + (props: GridCellProps): JSX.Element | null; + displayName: string; +}; +export default GridCell; diff --git a/dist/core/components/organisms/grid/GridContext.d.ts b/dist/core/components/organisms/grid/GridContext.d.ts new file mode 100644 index 0000000000..318780ed2f --- /dev/null +++ b/dist/core/components/organisms/grid/GridContext.d.ts @@ -0,0 +1,9 @@ +import * as React from 'react'; +import { GridProps } from "../../../index.type"; +import { GridRef } from "./Grid"; +declare type ContextProps = GridProps & { + ref: GridRef; +}; +declare const context: React.Context; +export declare const GridProvider: React.Provider; +export default context; diff --git a/dist/core/components/organisms/grid/GridHead.d.ts b/dist/core/components/organisms/grid/GridHead.d.ts new file mode 100644 index 0000000000..81170d8fbb --- /dev/null +++ b/dist/core/components/organisms/grid/GridHead.d.ts @@ -0,0 +1,12 @@ +import { onMenuChangeFn, onFilterChangeFn, updateColumnSchemaFunction, reorderColumnFunction } from "./Grid"; +import { GridProps, CheckboxProps } from "../../../index.type"; +export interface GridHeadProps { + schema: GridProps['schema']; + onSelectAll: CheckboxProps['onChange']; + onMenuChange: onMenuChangeFn; + onFilterChange: onFilterChangeFn; + updateColumnSchema: updateColumnSchemaFunction; + reorderColumn: reorderColumnFunction; +} +export declare const GridHead: (props: GridHeadProps) => JSX.Element; +export default GridHead; diff --git a/dist/core/components/organisms/grid/GridNestedRow.d.ts b/dist/core/components/organisms/grid/GridNestedRow.d.ts new file mode 100644 index 0000000000..ba650ac1c4 --- /dev/null +++ b/dist/core/components/organisms/grid/GridNestedRow.d.ts @@ -0,0 +1,17 @@ +import * as React from 'react'; +import { GridProps } from "../../../index.type"; +import { RowData } from "./Grid"; +export interface GridNestedRowProps { + data: RowData; + rowIndex: number; + expanded?: boolean; +} +export interface NestedRowProps { + rowIndex: number; + data: RowData; + schema: GridProps['schema']; + loading: GridProps['loading']; + expanded?: boolean; +} +export declare const GridNestedRow: (props: GridNestedRowProps) => React.ReactElement | null; +export default GridNestedRow; diff --git a/dist/core/components/organisms/grid/GridRow.d.ts b/dist/core/components/organisms/grid/GridRow.d.ts new file mode 100644 index 0000000000..64751f68ae --- /dev/null +++ b/dist/core/components/organisms/grid/GridRow.d.ts @@ -0,0 +1,16 @@ +import { RowData, Schema } from "./Grid"; +import { GridBodyProps } from "./GridBody"; +export interface GridRowProps { + schema: Schema; + data: RowData; + rowIndex: number; + onSelect: GridBodyProps['onSelect']; + className?: string; +} +export declare const GridRow: { + (props: GridRowProps): JSX.Element; + defaultProps: { + data: {}; + }; +}; +export default GridRow; diff --git a/dist/core/components/organisms/grid/columnUtility.d.ts b/dist/core/components/organisms/grid/columnUtility.d.ts new file mode 100644 index 0000000000..4239dc0eec --- /dev/null +++ b/dist/core/components/organisms/grid/columnUtility.d.ts @@ -0,0 +1,26 @@ +/// +import { GridProps } from "../../../index.type"; +import { ColumnSchema, Pinned, SortType, CellType, GridRef, updateColumnSchemaFunction, updateSortingListFunction } from "./Grid"; +declare type resizeColFn = (gridInfo: { + updateColumnSchema: updateColumnSchemaFunction; +}, name: ColumnSchema['name'], el: GridRef) => void; +declare type sortColumnFn = (gridInfo: { + sortingList: GridProps['sortingList']; + updateSortingList: updateSortingListFunction; +}, name: ColumnSchema['name'], type: SortType) => void; +declare type pinColumnFn = (gridInfo: { + updateColumnSchema: updateColumnSchemaFunction; +}, name: ColumnSchema['name'], type: Pinned) => void; +declare type hideColumnFn = (gridInfo: { + updateColumnSchema: updateColumnSchemaFunction; +}, name: ColumnSchema['name'], value: boolean) => void; +export declare const resizeCol: resizeColFn; +export declare const sortColumn: sortColumnFn; +export declare const pinColumn: pinColumnFn; +export declare const hideColumn: hideColumnFn; +export declare function getWidth({ ref, withCheckbox }: { + ref: GridRef; + withCheckbox?: boolean; +}, width: React.ReactText): import("react").ReactText; +export declare function getCellSize(cellType: CellType): any; +export {}; diff --git a/dist/core/components/organisms/grid/defaultProps.d.ts b/dist/core/components/organisms/grid/defaultProps.d.ts new file mode 100644 index 0000000000..457272cc5c --- /dev/null +++ b/dist/core/components/organisms/grid/defaultProps.d.ts @@ -0,0 +1,3 @@ +import { GridProps } from "../../../index.type"; +export declare const defaultProps: GridProps; +export default defaultProps; diff --git a/dist/core/components/organisms/grid/index.d.ts b/dist/core/components/organisms/grid/index.d.ts new file mode 100644 index 0000000000..e8a8dd689f --- /dev/null +++ b/dist/core/components/organisms/grid/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Grid"; +export * from "./Grid"; diff --git a/dist/core/components/organisms/grid/rowUtility.d.ts b/dist/core/components/organisms/grid/rowUtility.d.ts new file mode 100644 index 0000000000..3d88824a09 --- /dev/null +++ b/dist/core/components/organisms/grid/rowUtility.d.ts @@ -0,0 +1,10 @@ +import { RowData, Data, ColumnSchema, Schema, FetchDataOptions } from "./Grid"; +export declare const updateBatchData: (data: Data, rowIndexes: number[], dataUpdate: Partial, selectDisabledRow?: boolean | undefined) => Data; +export declare function translateData(schema: ColumnSchema, data: RowData): { + [x: string]: any; + _selected?: boolean | undefined; + disabled?: boolean | undefined; +}; +export declare const filterData: (schema: Schema | undefined, data: Data | undefined, filterList: FetchDataOptions['filterList']) => Data; +export declare const sortData: (schema: Schema | undefined, data: Data | undefined, sortingList: FetchDataOptions['sortingList']) => Data; +export declare const paginateData: (data: Data | undefined, page: number, pageSize: number) => Data; diff --git a/dist/core/components/organisms/grid/utility.d.ts b/dist/core/components/organisms/grid/utility.d.ts new file mode 100644 index 0000000000..695c90aa62 --- /dev/null +++ b/dist/core/components/organisms/grid/utility.d.ts @@ -0,0 +1,13 @@ +import { Data, Schema } from "./Grid"; +import { GridProps } from "../../../index.type"; +export * from "./columnUtility"; +export * from "./rowUtility"; +export declare const moveToIndex: (arr: any[], from: number, to: number) => any[]; +export declare const getTotalPages: (totalRecords: number, pageSize: number) => number; +export declare const getSelectAll: (tableData: Data, selectDisabledRow?: boolean | undefined) => { + indeterminate: boolean; + checked: boolean; +}; +export declare const hasSchema: (schema: Schema) => boolean; +export declare const getSchema: (schema: GridProps['schema'], loading: GridProps['loading'], loaderSchema: GridProps['loaderSchema']) => GridProps['schema']; +export declare const getPluralSuffix: (count: number) => "" | "s"; diff --git a/dist/core/components/organisms/horizontalNav/HorizontalNav.d.ts b/dist/core/components/organisms/horizontalNav/HorizontalNav.d.ts new file mode 100644 index 0000000000..8e18e2f7ee --- /dev/null +++ b/dist/core/components/organisms/horizontalNav/HorizontalNav.d.ts @@ -0,0 +1,6 @@ +import { VerticalNavProps } from "../../../index.type"; +import { BaseProps } from "../../../utils/types"; +export declare type HorizontalNavProps = BaseProps & Pick; +export declare type Align = 'left' | 'center'; +export declare const HorizontalNav: (props: HorizontalNavProps) => JSX.Element; +export default HorizontalNav; diff --git a/dist/core/components/organisms/horizontalNav/index.d.ts b/dist/core/components/organisms/horizontalNav/index.d.ts new file mode 100644 index 0000000000..431e4c4a2c --- /dev/null +++ b/dist/core/components/organisms/horizontalNav/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./HorizontalNav"; +export * from "./HorizontalNav"; diff --git a/dist/core/components/organisms/inlineMessage/InlineMessage.d.ts b/dist/core/components/organisms/inlineMessage/InlineMessage.d.ts new file mode 100644 index 0000000000..c6a550af18 --- /dev/null +++ b/dist/core/components/organisms/inlineMessage/InlineMessage.d.ts @@ -0,0 +1,18 @@ +import { BaseProps } from "../../../utils/types"; +import { MessageAppearance } from "../../../common.type"; +export declare type MessageSize = 'regular' | 'small'; +export interface InlineMessageProps extends BaseProps { + appearance: MessageAppearance; + description: string; + size: MessageSize; +} +export declare const InlineMessage: { + (props: InlineMessageProps): JSX.Element; + displayName: string; + defaultProps: { + appearance: string; + description: string; + size: string; + }; +}; +export default InlineMessage; diff --git a/dist/core/components/organisms/inlineMessage/index.d.ts b/dist/core/components/organisms/inlineMessage/index.d.ts new file mode 100644 index 0000000000..6e9c5e30fa --- /dev/null +++ b/dist/core/components/organisms/inlineMessage/index.d.ts @@ -0,0 +1 @@ +export * from "./InlineMessage"; diff --git a/dist/core/components/organisms/list/List.d.ts b/dist/core/components/organisms/list/List.d.ts new file mode 100644 index 0000000000..ade86698d0 --- /dev/null +++ b/dist/core/components/organisms/list/List.d.ts @@ -0,0 +1,34 @@ +import { TableProps } from "../../../index.type"; +import { SyncTableProps, AsyncTableProps } from "../table"; +declare type ExcludeTypes = 'showHead' | 'draggable' | 'showMenu' | 'headCellTooltip' | 'filterPosition'; +export declare type ListProps = Omit; +export declare type SyncListProps = Omit; +export declare type AsyncListProps = Omit; +export declare const List: { + (props: ListProps): JSX.Element; + defaultProps: { + type: string; + size: string; + showHead: boolean; + showMenu: boolean; + multipleSorting: boolean; + headerOptions: {}; + withPagination: boolean; + paginationType: string; + page: number; + pageSize: number; + draggable: boolean; + data: never[]; + schema: never[]; + loading: boolean; + error: boolean; + loaderSchema: never[]; + sortingList: never[]; + filterList: {}; + filterPosition: string; + searchDebounceDuration: number; + pageJumpDebounceDuration: number; + errorTemplate: (props: import("../table").ErrorTemplateProps) => JSX.Element; + }; +}; +export default List; diff --git a/dist/core/components/organisms/list/index.d.ts b/dist/core/components/organisms/list/index.d.ts new file mode 100644 index 0000000000..0d677ba08d --- /dev/null +++ b/dist/core/components/organisms/list/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./List"; +export * from "./List"; diff --git a/dist/core/components/organisms/navigation/Navigation.d.ts b/dist/core/components/organisms/navigation/Navigation.d.ts new file mode 100644 index 0000000000..d89d1016dc --- /dev/null +++ b/dist/core/components/organisms/navigation/Navigation.d.ts @@ -0,0 +1,28 @@ +import { BaseProps } from "../../../utils/types"; +import { VerticalNavigationProps } from "./VerticalNavigation"; +export declare type LayoutType = 'vertical' | 'horizontal'; +export declare type Align = 'left' | 'center'; +export declare type Menu = { + name: string; + label: string; + link?: string; + icon?: string; + count?: number; + disabled?: boolean; + subMenu?: Menu[]; +}; +export interface NavigationProps extends BaseProps, VerticalNavigationProps { + type: LayoutType; + align: Align; +} +export declare const Navigation: { + (props: NavigationProps): JSX.Element; + defaultProps: { + type: string; + align: string; + expanded: boolean; + autoCollapse: boolean; + rounded: boolean; + }; +}; +export default Navigation; diff --git a/dist/core/components/organisms/navigation/VerticalNavigation.d.ts b/dist/core/components/organisms/navigation/VerticalNavigation.d.ts new file mode 100644 index 0000000000..1c1bf7526d --- /dev/null +++ b/dist/core/components/organisms/navigation/VerticalNavigation.d.ts @@ -0,0 +1,22 @@ +import { Menu, ActiveMenu } from "../../../utils/navigationHelper"; +export declare type LayoutType = 'vertical' | 'horizontal'; +export declare type Align = 'left' | 'center'; +export interface VerticalNavigationProps { + menus: Menu[]; + active?: ActiveMenu; + onClick?: (menu: Menu) => void; + rounded: boolean; + expanded: boolean; + footer?: boolean; + onToggle?: (expanded: boolean) => void; + autoCollapse: boolean; +} +export declare const VerticalNavigation: { + (props: VerticalNavigationProps): JSX.Element; + defaultProps: { + expanded: boolean; + autoCollapse: boolean; + rounded: boolean; + }; +}; +export default VerticalNavigation; diff --git a/dist/core/components/organisms/navigation/index.d.ts b/dist/core/components/organisms/navigation/index.d.ts new file mode 100644 index 0000000000..6873bdc793 --- /dev/null +++ b/dist/core/components/organisms/navigation/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Navigation"; +export * from "./Navigation"; diff --git a/dist/core/components/organisms/pageHeader/PageHeader.d.ts b/dist/core/components/organisms/pageHeader/PageHeader.d.ts new file mode 100644 index 0000000000..ed3f9b6cee --- /dev/null +++ b/dist/core/components/organisms/pageHeader/PageHeader.d.ts @@ -0,0 +1,24 @@ +import * as React from 'react'; +import { BaseProps } from "../../../utils/types"; +export declare type navigationPositionType = 'center' | 'bottom'; +export interface PageHeaderProps extends BaseProps { + title: string; + navigation?: React.ReactNode; + stepper?: React.ReactNode; + actions?: React.ReactNode; + tabs?: React.ReactNode; + breadcrumbs?: React.ReactNode; + badge?: React.ReactNode; + status?: React.ReactNode; + meta?: React.ReactNode; + navigationPosition: navigationPositionType; + separator: boolean; +} +export declare const PageHeader: { + (props: PageHeaderProps): JSX.Element; + defaultProps: { + navigationPosition: string; + separator: boolean; + }; +}; +export default PageHeader; diff --git a/dist/core/components/organisms/pageHeader/index.d.ts b/dist/core/components/organisms/pageHeader/index.d.ts new file mode 100644 index 0000000000..fbf397de45 --- /dev/null +++ b/dist/core/components/organisms/pageHeader/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./PageHeader"; +export * from "./PageHeader"; diff --git a/dist/core/components/organisms/table/DraggableDropdown.d.ts b/dist/core/components/organisms/table/DraggableDropdown.d.ts new file mode 100644 index 0000000000..e142e3c5f5 --- /dev/null +++ b/dist/core/components/organisms/table/DraggableDropdown.d.ts @@ -0,0 +1,7 @@ +import { DropdownProps } from "../../../index.type"; +interface DraggableDropdownProps { + options: DropdownProps['options']; + onChange: (options: DropdownProps['options']) => void; +} +export declare const DraggableDropdown: (props: DraggableDropdownProps) => JSX.Element; +export {}; diff --git a/dist/core/components/organisms/table/Header.d.ts b/dist/core/components/organisms/table/Header.d.ts new file mode 100644 index 0000000000..288b608fd6 --- /dev/null +++ b/dist/core/components/organisms/table/Header.d.ts @@ -0,0 +1,42 @@ +import * as React from 'react'; +import { updateSchemaFunction, Schema, Data, onSelectAllFunction, GridProps, updateFilterListFunction } from "../grid/Grid"; +export interface ExternalHeaderProps { + children?: React.ReactNode; + withSearch?: boolean; + searchPlaceholder?: string; + dynamicColumn?: boolean; + allowSelectAll?: boolean; + customSelectionLabel?: string; +} +export declare type updateSearchTermFunction = (newSearchTerm: string) => void; +export interface HeaderProps extends ExternalHeaderProps { + loading?: boolean; + error?: boolean; + data: Data; + schema: Schema; + selectAll?: GridProps['selectAll']; + totalRecords: number; + withPagination?: boolean; + page: number; + pageSize: number; + withCheckbox?: boolean; + showHead?: boolean; + updateSchema?: updateSchemaFunction; + filterList?: GridProps['filterList']; + showFilters: boolean; + updateFilterList?: updateFilterListFunction; + onSelectAll?: onSelectAllFunction; + searchTerm?: string; + updateSearchTerm?: updateSearchTermFunction; +} +export declare const Header: { + (props: HeaderProps): JSX.Element; + defaultProps: { + schema: never[]; + data: never[]; + searchPlaceholder: string; + dynamicColumn: boolean; + showFilters: boolean; + }; +}; +export default Header; diff --git a/dist/core/components/organisms/table/Table.d.ts b/dist/core/components/organisms/table/Table.d.ts new file mode 100644 index 0000000000..54c0dabcd9 --- /dev/null +++ b/dist/core/components/organisms/table/Table.d.ts @@ -0,0 +1,132 @@ +import * as React from 'react'; +import { ExternalHeaderProps, updateSearchTermFunction, HeaderProps } from "./Header"; +import { Data, onSelectFn, onSelectAllFunction, GridProps, fetchDataFunction, RowData, updateSchemaFunction, updateSortingListFunction, updateFilterListFunction } from "../grid"; +import { BaseProps } from "../../../utils/types"; +import { PaginationProps } from "../../molecules/pagination"; +export interface ErrorTemplateProps { + errorType?: TableProps['errorType']; +} +export declare type FilterPosition = 'GRID' | 'HEADER'; +interface TableSyncProps { + data: GridProps['data']; + schema: GridProps['schema']; + loading: GridProps['loading']; + error: GridProps['error']; + errorType?: string; + onSearch?: (data: Data, searchTerm: string) => Data; +} +interface AsyncProps { + fetchData?: fetchDataFunction; +} +interface SharedTableProps extends BaseProps { + showHead: GridProps['showHead']; + type: GridProps['type']; + size: GridProps['size']; + draggable: GridProps['draggable']; + nestedRows?: GridProps['nestedRows']; + nestedRowRenderer?: GridProps['nestedRowRenderer']; + withHeader?: boolean; + headerOptions?: ExternalHeaderProps; + withCheckbox?: GridProps['withCheckbox']; + showMenu?: GridProps['showMenu']; + withPagination: GridProps['withPagination']; + page: GridProps['page']; + pageJumpDebounceDuration: PaginationProps['pageJumpDebounceDuration']; + paginationType: PaginationProps['type']; + pageSize: GridProps['pageSize']; + loaderSchema: GridProps['loaderSchema']; + multipleSorting: boolean; + sortingList: GridProps['sortingList']; + filterList: GridProps['filterList']; + errorTemplate?: React.FunctionComponent; + searchDebounceDuration: number; + onRowClick?: GridProps['onRowClick']; + onSelect?: (rowIndexes: number[], selected: boolean, allSelected: RowData[], selectAll?: boolean) => void; + onPageChange?: PaginationProps['onPageChange']; + headCellTooltip?: GridProps['headCellTooltip']; + separator?: GridProps['headCellTooltip']; + filterPosition: FilterPosition; + selectDisabledRow?: boolean; +} +export declare type SyncTableProps = SharedTableProps & TableSyncProps; +export declare type AsyncTableProps = SharedTableProps & AsyncProps; +export declare type TableProps = AsyncTableProps & SyncTableProps; +interface TableState { + async: boolean; + data: TableProps['data']; + schema: TableProps['schema']; + sortingList: TableProps['sortingList']; + filterList: TableProps['filterList']; + page: TableProps['page']; + totalRecords: GridProps['totalRecords']; + selectAll: GridProps['selectAll']; + searchTerm: HeaderProps['searchTerm']; + loading: TableProps['loading']; + error: TableProps['error']; + errorType?: TableProps['errorType']; +} +export declare const defaultProps: { + type: string; + size: string; + showHead: boolean; + showMenu: boolean; + multipleSorting: boolean; + headerOptions: {}; + withPagination: boolean; + paginationType: string; + page: number; + pageSize: number; + draggable: boolean; + data: never[]; + schema: never[]; + loading: boolean; + error: boolean; + loaderSchema: never[]; + sortingList: never[]; + filterList: {}; + filterPosition: string; + searchDebounceDuration: number; + pageJumpDebounceDuration: number; + errorTemplate: (props: ErrorTemplateProps) => JSX.Element; +}; +export declare class Table extends React.Component { + static defaultProps: { + type: string; + size: string; + showHead: boolean; + showMenu: boolean; + multipleSorting: boolean; + headerOptions: {}; + withPagination: boolean; + paginationType: string; + page: number; + pageSize: number; + draggable: boolean; + data: never[]; + schema: never[]; + loading: boolean; + error: boolean; + loaderSchema: never[]; + sortingList: never[]; + filterList: {}; + filterPosition: string; + searchDebounceDuration: number; + pageJumpDebounceDuration: number; + errorTemplate: (props: ErrorTemplateProps) => JSX.Element; + }; + debounceUpdate: () => void; + constructor(props: TableProps); + componentDidMount(): void; + componentDidUpdate(prevProps: TableProps, prevState: TableState): void; + updateData: (searchUpdate?: boolean | undefined) => void; + updateDataFn: () => void; + onSelect: onSelectFn; + onSelectAll: onSelectAllFunction; + onPageChange: PaginationProps['onPageChange']; + updateSchema: updateSchemaFunction; + updateSortingList: updateSortingListFunction; + updateFilterList: updateFilterListFunction; + updateSearchTerm: updateSearchTermFunction; + render(): JSX.Element; +} +export default Table; diff --git a/dist/core/components/organisms/table/index.d.ts b/dist/core/components/organisms/table/index.d.ts new file mode 100644 index 0000000000..d49f931948 --- /dev/null +++ b/dist/core/components/organisms/table/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./Table"; +export * from "./Table"; diff --git a/dist/core/components/organisms/timePicker/TimePicker.d.ts b/dist/core/components/organisms/timePicker/TimePicker.d.ts new file mode 100644 index 0000000000..893a97e44a --- /dev/null +++ b/dist/core/components/organisms/timePicker/TimePicker.d.ts @@ -0,0 +1,16 @@ +import { TimePickerDropdownProps } from "./TimePickerWithSearch"; +import { TimePickerInputProps } from "./TimePickerWithInput"; +export declare type TimePickerProps = TimePickerInputProps & TimePickerDropdownProps; +export declare const TimePicker: { + (props: TimePickerProps): JSX.Element; + defaultProps: { + timeFormat: string; + interval: number; + inputFormat: string; + outputFormat: string; + inputOptions: {}; + validators: ((val: string, format: string) => boolean)[]; + }; + displayName: string; +}; +export default TimePicker; diff --git a/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts b/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts new file mode 100644 index 0000000000..919f5d8f7d --- /dev/null +++ b/dist/core/components/organisms/timePicker/TimePickerWithInput.d.ts @@ -0,0 +1,25 @@ +import { InputMaskProps } from "../../../index.type"; +import { Validators } from "../../../utils/types"; +export declare type AMPMType = 'AM' | 'PM'; +export declare type InputFormat = 'hh:mm AM' | 'hh:mm'; +export declare type TimeType = number | string; +export interface TimePickerInputProps { + time?: TimeType; + inputOptions: Omit; + inputFormat: InputFormat; + outputFormat: InputFormat; + validators: Validators; + onTimeChange?: (timeVal?: string) => void; + error?: boolean; +} +export declare const TimePickerWithInput: { + (props: TimePickerInputProps): JSX.Element; + defaultProps: { + inputFormat: string; + outputFormat: string; + inputOptions: {}; + validators: ((val: string, format: string) => boolean)[]; + }; + displayName: string; +}; +export default TimePickerWithInput; diff --git a/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts b/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts new file mode 100644 index 0000000000..1436734a26 --- /dev/null +++ b/dist/core/components/organisms/timePicker/TimePickerWithSearch.d.ts @@ -0,0 +1,33 @@ +import { BaseProps } from "../../../utils/types"; +import { OptionSchema } from "../../atoms/dropdown/option"; +declare type fetchOptionsFunction = (searchTerm: string) => Promise<{ + count: number; + searchTerm?: string; + scrollToIndex?: number; + options: OptionSchema[]; +}>; +export declare type TimeFormat = '12-Hour' | '24-Hour'; +export interface TimePickerDropdownProps extends BaseProps { + withSearch?: boolean; + startTime?: string; + endTime?: string; + interval: number; + timeFormat: TimeFormat; + open?: boolean; + noResultMessage?: string; + showDuration?: boolean; + disabledSlotList?: string[]; + onChange?: (selected: any[] | any, name?: string | number) => void; + fetchTimeOptions?: fetchOptionsFunction; + id?: string; + error?: boolean; +} +export declare const TimePickerWithSearch: { + (props: TimePickerDropdownProps): JSX.Element; + defaultProps: { + timeFormat: string; + interval: number; + }; + displayName: string; +}; +export default TimePickerWithSearch; diff --git a/dist/core/components/organisms/timePicker/index.d.ts b/dist/core/components/organisms/timePicker/index.d.ts new file mode 100644 index 0000000000..0bdf148125 --- /dev/null +++ b/dist/core/components/organisms/timePicker/index.d.ts @@ -0,0 +1,4 @@ +export { default } from "./TimePicker"; +export * from "./TimePicker"; +export * from "./TimePickerWithInput"; +export * from "./TimePickerWithSearch"; diff --git a/dist/core/components/organisms/timePicker/utility/searchUtils.d.ts b/dist/core/components/organisms/timePicker/utility/searchUtils.d.ts new file mode 100644 index 0000000000..7a14389673 --- /dev/null +++ b/dist/core/components/organisms/timePicker/utility/searchUtils.d.ts @@ -0,0 +1,7 @@ +import { OptionSchema } from "../../../atoms/dropdown/option"; +export declare const formatSearchTerm: (optionList: string[], searchTerm: string) => { + hour: string; + min: string; +}; +export declare const getSearchIndex: (optionList: string[], searchTerm: string) => number; +export declare const getScrollIndex: (dropdownOptionList: OptionSchema[], searchTerm: string) => number; diff --git a/dist/core/components/organisms/timePicker/utility/timePickerUtility.d.ts b/dist/core/components/organisms/timePicker/utility/timePickerUtility.d.ts new file mode 100644 index 0000000000..7e036eed59 --- /dev/null +++ b/dist/core/components/organisms/timePicker/utility/timePickerUtility.d.ts @@ -0,0 +1,19 @@ +import { TimePickerDropdownProps } from "../TimePickerWithSearch"; +export declare const isFormat12Hour: (format: string) => boolean; +export declare const _isTimeInAM: (time: string) => boolean; +export declare const _isTimeInPM: (time: string) => boolean; +export declare const convert12To24HourFormat: (timeStr: string) => string; +export declare const convertToTwoDigit: (val: string | number) => string; +export declare const convert24To12HourFormat: (timeStr: string) => string; +export declare const checkTimeDifference: (startTime: string, endTime: string) => boolean; +export declare const getTimeDifference: (startTime: string, endTime: string) => { + hour: number; + minute: number; +}; +export declare const getDropdownOptionList: (props: TimePickerDropdownProps) => { + label: string; + value: string; + disabled: boolean | undefined; + selected: boolean; + optionID: string; +}[]; diff --git a/dist/core/components/organisms/timePicker/utils.d.ts b/dist/core/components/organisms/timePicker/utils.d.ts new file mode 100644 index 0000000000..2aac28af8a --- /dev/null +++ b/dist/core/components/organisms/timePicker/utils.d.ts @@ -0,0 +1,13 @@ +import { InputProps } from "../../../index.type"; +export declare const placeholders: { + [key: string]: InputProps['placeholder']; +}; +export declare const isPlaceholderPresent: (placeholderChar: string, time?: string | undefined) => boolean | "" | undefined; +export declare const isFormat12hour: (format: string) => boolean; +export declare const translateToTime: (format: string, time?: string | number | undefined) => string; +export declare const getTimeObjFromStr: (format: string, time: string) => { + hours: number; + minutes: number; + am_pm: string; +}; +export declare const getOutputTimeString: (inputFormat: string, outputFormat: string, time: string) => string; diff --git a/dist/core/components/organisms/verticalNav/MenuItem.d.ts b/dist/core/components/organisms/verticalNav/MenuItem.d.ts new file mode 100644 index 0000000000..5afc510c53 --- /dev/null +++ b/dist/core/components/organisms/verticalNav/MenuItem.d.ts @@ -0,0 +1,20 @@ +import { BaseProps } from "../../../utils/types"; +import { Menu } from "../../../utils/navigationHelper"; +export interface MenuItemProps extends BaseProps { + menu: Menu; + isActive: boolean; + rounded?: boolean; + expanded?: boolean; + hasSubmenu?: boolean; + isChildren?: boolean; + isChildrenVisible?: boolean; + onClick?: (menu: Menu) => void; + customItemRenderer?: (props: MenuItemProps) => JSX.Element; +} +export declare const MenuItem: { + (props: MenuItemProps): JSX.Element | null; + defaultProps: { + isActive: boolean; + }; +}; +export default MenuItem; diff --git a/dist/core/components/organisms/verticalNav/VerticalNav.d.ts b/dist/core/components/organisms/verticalNav/VerticalNav.d.ts new file mode 100644 index 0000000000..e98d8b4840 --- /dev/null +++ b/dist/core/components/organisms/verticalNav/VerticalNav.d.ts @@ -0,0 +1,23 @@ +import { MenuItemProps } from "./MenuItem"; +import { BaseProps } from "../../../utils/types"; +import { ActiveMenu, Menu } from "../../../utils/navigationHelper"; +export interface VerticalNavProps extends BaseProps { + menus: Menu[]; + active?: ActiveMenu; + onClick?: (menu: Menu) => void; + rounded: boolean; + expanded: boolean; + autoCollapse: boolean; + customItemRenderer?: (props: MenuItemProps) => JSX.Element; + showTooltip: boolean; +} +export declare const VerticalNav: { + (props: VerticalNavProps): JSX.Element; + defaultProps: { + expanded: boolean; + autoCollapse: boolean; + rounded: boolean; + showTooltip: boolean; + }; +}; +export default VerticalNav; diff --git a/dist/core/components/organisms/verticalNav/index.d.ts b/dist/core/components/organisms/verticalNav/index.d.ts new file mode 100644 index 0000000000..1d145270c9 --- /dev/null +++ b/dist/core/components/organisms/verticalNav/index.d.ts @@ -0,0 +1,2 @@ +export { default } from "./VerticalNav"; +export * from "./VerticalNav"; diff --git a/dist/core/index.d.ts b/dist/core/index.d.ts new file mode 100644 index 0000000000..41972fb499 --- /dev/null +++ b/dist/core/index.d.ts @@ -0,0 +1,88 @@ +export * as Utils from "./utils"; +export { Avatar } from "./components/atoms/avatar"; +export { AvatarGroup } from "./components/atoms/avatarGroup"; +export { Backdrop } from "./components/atoms/backdrop"; +export { Badge } from "./components/atoms/badge"; +export { Breadcrumbs } from "./components/atoms/breadcrumbs"; +export { Button } from "./components/atoms/button"; +export { Calendar } from "./components/organisms/calendar"; +export { Card } from "./components/atoms/card"; +export { CardSubdued } from "./components/atoms/cardSubdued"; +export { CardHeader } from "./components/atoms/cardHeader"; +export { CardBody } from "./components/atoms/cardBody"; +export { CardFooter } from "./components/atoms/cardFooter"; +export { Chip } from "./components/atoms/chip"; +export { ChipGroup } from "./components/atoms/chipGroup"; +export { Checkbox } from "./components/atoms/checkbox"; +export { Column } from "./components/atoms/column"; +export { DatePicker } from "./components/organisms/datePicker"; +export { TimePicker } from "./components/organisms/timePicker"; +export { Dropdown } from "./components/atoms/dropdown"; +export { Heading } from "./components/atoms/heading"; +export { Icon } from "./components/atoms/icon"; +export { Input } from "./components/atoms/input"; +export { MetricInput } from "./components/atoms/metricInput"; +export { InputMask } from "./components/molecules/inputMask"; +export { Label } from "./components/atoms/label"; +export { Caption } from "./components/atoms/caption"; +export { Legend } from "./components/atoms/legend"; +export { EditableDropdown } from "./components/molecules/editableDropdown"; +export { Link } from "./components/atoms/link"; +export { Message } from "./components/atoms/message"; +export { MetaList } from "./components/atoms/metaList"; +export { MultiSlider } from "./components/atoms/multiSlider"; +export { OutsideClick } from "./components/atoms/outsideClick"; +export { Paragraph } from "./components/atoms/paragraph"; +export { ProgressBar } from "./components/atoms/progressBar"; +export { Radio } from "./components/atoms/radio"; +export { Row } from "./components/atoms/row"; +export { StatusHint } from "./components/atoms/statusHint"; +export { Pills } from "./components/atoms/pills"; +export { Spinner } from "./components/atoms/spinner"; +export { Slider } from "./components/atoms/slider"; +export { RangeSlider } from "./components/atoms/rangeSlider"; +export { Subheading } from "./components/atoms/subheading"; +export { Switch } from "./components/atoms/switchInput"; +export { Text } from "./components/atoms/text"; +export { Textarea } from "./components/atoms/textarea"; +export { Toast } from "./components/atoms/toast"; +export { Popover } from "./components/molecules/popover"; +export { ChipInput } from "./components/molecules/chipInput"; +export { VerticalNav } from "./components/organisms/verticalNav"; +export { HorizontalNav } from "./components/organisms/horizontalNav"; +export { Tooltip } from "./components/molecules/tooltip"; +export { Dialog } from "./components/molecules/dialog"; +export { Modal, ModalBody, ModalFooter, ModalHeader } from "./components/molecules/modal"; +export { FullscreenModal } from "./components/molecules/fullscreenModal"; +export { Sidesheet } from "./components/molecules/sidesheet"; +export { Collapsible } from "./components/atoms/collapsible"; +export { ChatMessage } from "./components/molecules/chatMessage"; +export { EmptyState } from "./components/molecules/emptyState"; +export { ModalDescription } from "./components/molecules/modalDescription"; +export { Pagination } from "./components/molecules/pagination"; +export { Placeholder } from "./components/molecules/placeholder"; +export { EditableInput } from "./components/molecules/editableInput"; +export { EditableChipInput } from "./components/molecules/editableChipInput"; +export { PlaceholderParagraph } from "./components/atoms/placeholderParagraph"; +export { PlaceholderImage } from "./components/atoms/placeholderImage"; +export { ProgressRing } from "./components/atoms/progressRing"; +export { Stepper } from "./components/molecules/stepper"; +export { DateRangePicker } from "./components/organisms/dateRangePicker"; +export { TabsWrapper, Tab, Tabs } from "./components/molecules/tabs"; +export { Dropzone } from "./components/molecules/dropzone"; +export { FileUploader, FileUploaderList } from "./components/molecules/fileUploader"; +export { Grid } from "./components/organisms/grid"; +export { GridCell } from "./components/organisms/grid/GridCell"; +export { List } from "./components/organisms/list"; +export { Table } from "./components/organisms/table"; +export { Navigation } from "./components/organisms/navigation"; +export { PageHeader } from "./components/organisms/pageHeader"; +export { FileList } from "./components/molecules/fileList"; +export { VerificationCodeInput } from "./components/molecules/verificationCodeInput"; +export { InlineMessage } from "./components/organisms/inlineMessage"; +export { ChoiceList } from "./components/organisms/choiceList"; +export { Divider } from "./components/atoms/divider"; +export { HelpText } from "./components/atoms/helpText"; +export { LinkButton } from "./components/atoms/linkButton"; +export { ActionCard } from "./components/atoms/actionCard"; +export { version } from "../package.json"; diff --git a/dist/core/index.type.d.ts b/dist/core/index.type.d.ts new file mode 100644 index 0000000000..a5e10d2324 --- /dev/null +++ b/dist/core/index.type.d.ts @@ -0,0 +1,85 @@ +export * from "./index"; +export { AvatarProps } from "./components/atoms/avatar"; +export { AvatarGroupProps } from "./components/atoms/avatarGroup"; +export { BackdropProps } from "./components/atoms/backdrop"; +export { BadgeProps } from "./components/atoms/badge"; +export { BreadcrumbsProps } from "./components/atoms/breadcrumbs"; +export { ButtonProps } from "./components/atoms/button"; +export { CalendarProps } from "./components/organisms/calendar"; +export { CardProps } from "./components/atoms/card"; +export { CardSubduedProps } from "./components/atoms/cardSubdued"; +export { CardHeaderProps } from "./components/atoms/cardHeader"; +export { CardBodyProps } from "./components/atoms/cardBody"; +export { CardFooterProps } from "./components/atoms/cardFooter"; +export { ChipProps } from "./components/atoms/chip"; +export { ChipGroupProps } from "./components/atoms/chipGroup"; +export { CheckboxProps } from "./components/atoms/checkbox"; +export { ColumnProps } from "./components/atoms/column"; +export { DatePickerProps } from "./components/organisms/datePicker"; +export { TimePickerProps } from "./components/organisms/timePicker"; +export { DropdownProps } from "./components/atoms/dropdown"; +export { HeadingProps } from "./components/atoms/heading"; +export { IconProps } from "./components/atoms/icon"; +export { InputProps } from "./components/atoms/input"; +export { MetricInputProps } from "./components/atoms/metricInput"; +export { InputMaskProps } from "./components/molecules/inputMask"; +export { LabelProps } from "./components/atoms/label"; +export { CaptionProps } from "./components/atoms/caption"; +export { VerticalNavProps } from "./components/organisms/verticalNav"; +export { EditableDropdownProps } from "./components/molecules/editableDropdown"; +export { CollapsibleProps } from "./components/atoms/collapsible"; +export { LegendProps } from "./components/atoms/legend"; +export { LinkProps } from "./components/atoms/link"; +export { HorizontalNavProps } from "./components/organisms/horizontalNav"; +export { MessageProps } from "./components/atoms/message"; +export { MetaListProps } from "./components/atoms/metaList"; +export { OutsideClickProps } from "./components/atoms/outsideClick"; +export { ParagraphProps } from "./components/atoms/paragraph"; +export { RadioProps } from "./components/atoms/radio"; +export { RowProps } from "./components/atoms/row"; +export { SpinnerProps } from "./components/atoms/spinner"; +export { SliderProps } from "./components/atoms/slider"; +export { RangeSliderProps } from "./components/atoms/rangeSlider"; +export { StatusHintProps } from "./components/atoms/statusHint"; +export { PillsProps } from "./components/atoms/pills"; +export { SubheadingProps } from "./components/atoms/subheading"; +export { SwitchProps } from "./components/atoms/switchInput"; +export { TextProps } from "./components/atoms/text"; +export { TextareaProps } from "./components/atoms/textarea"; +export { ToastProps } from "./components/atoms/toast"; +export { TooltipProps } from "./components/molecules/tooltip"; +export { DialogProps } from "./components/molecules/dialog"; +export { ChatMessageProps } from "./components/molecules/chatMessage"; +export { EmptyStateProps } from "./components/molecules/emptyState"; +export { SidesheetProps } from "./components/molecules/sidesheet"; +export { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from "./components/molecules/modal"; +export { ChipInputProps } from "./components/molecules/chipInput"; +export { FullscreenModalProps } from "./components/molecules/fullscreenModal"; +export { ModalDescriptionProps } from "./components/molecules/modalDescription"; +export { PaginationProps } from "./components/molecules/pagination"; +export { PlaceholderProps } from "./components/molecules/placeholder"; +export { PlaceholderParagraphProps } from "./components/atoms/placeholderParagraph"; +export { ProgressBarProps } from "./components/atoms/progressBar"; +export { EditableInputProps } from "./components/molecules/editableInput"; +export { EditableChipInputProps } from "./components/molecules/editableChipInput"; +export { PopoverProps } from "./components/molecules/popover"; +export { ProgressRingProps } from "./components/atoms/progressRing"; +export { StepperProps } from "./components/molecules/stepper"; +export { DateRangePickerProps } from "./components/organisms/dateRangePicker"; +export { TabsWrapperProps, TabProps, TabsProps, TabConfig } from "./components/molecules/tabs"; +export { DropzoneProps } from "./components/molecules/dropzone"; +export { FileUploaderProps, FileUploaderListProps } from "./components/molecules/fileUploader"; +export { GridProps } from "./components/organisms/grid"; +export { GridCellProps } from "./components/organisms/grid/GridCell"; +export { ListProps } from "./components/organisms/list"; +export { TableProps } from "./components/organisms/table"; +export { NavigationProps } from "./components/organisms/navigation"; +export { PageHeaderProps } from "./components/organisms/pageHeader"; +export { FileListProps } from "./components/molecules/fileList"; +export { VerificationCodeInputProps } from "./components/molecules/verificationCodeInput"; +export { InlineMessageProps } from "./components/organisms/inlineMessage"; +export { ChoiceListProps } from "./components/organisms/choiceList"; +export { DividerProps } from "./components/atoms/divider"; +export { HelpTextProps } from "./components/atoms/helpText"; +export { LinkButtonProps } from "./components/atoms/linkButton"; +export { ActionCardProps } from "./components/atoms/actionCard"; diff --git a/dist/core/utils/Keys.d.ts b/dist/core/utils/Keys.d.ts new file mode 100644 index 0000000000..899306875c --- /dev/null +++ b/dist/core/utils/Keys.d.ts @@ -0,0 +1,11 @@ +export declare const BACKSPACE = 8; +export declare const TAB = 9; +export declare const ENTER = 13; +export declare const SHIFT = 16; +export declare const ESCAPE = 27; +export declare const SPACE = 32; +export declare const ARROW_LEFT = 37; +export declare const ARROW_UP = 38; +export declare const ARROW_RIGHT = 39; +export declare const ARROW_DOWN = 40; +export declare const DELETE = 46; diff --git a/dist/core/utils/OverlayManager.d.ts b/dist/core/utils/OverlayManager.d.ts new file mode 100644 index 0000000000..4a5a50f5bc --- /dev/null +++ b/dist/core/utils/OverlayManager.d.ts @@ -0,0 +1,9 @@ +declare class OverlayManager { + overlays: HTMLDivElement[]; + constructor(); + add(overlay: HTMLDivElement | null): number | undefined; + remove(overlay: HTMLDivElement | null): void; + isTopOverlay(overlay: HTMLDivElement | null): boolean | undefined; +} +declare const instance: OverlayManager; +export default instance; diff --git a/dist/core/utils/action.d.ts b/dist/core/utils/action.d.ts new file mode 100644 index 0000000000..2053ac9875 --- /dev/null +++ b/dist/core/utils/action.d.ts @@ -0,0 +1 @@ +export declare const action: (...args: any) => (...args: any[]) => void; diff --git a/dist/core/utils/css.d.ts b/dist/core/utils/css.d.ts new file mode 100644 index 0000000000..ae8657cf6b --- /dev/null +++ b/dist/core/utils/css.d.ts @@ -0,0 +1 @@ +export declare const colorToHex: (color: string) => string; diff --git a/dist/core/utils/docPage/generateImports.d.ts b/dist/core/utils/docPage/generateImports.d.ts new file mode 100644 index 0000000000..115c615f10 --- /dev/null +++ b/dist/core/utils/docPage/generateImports.d.ts @@ -0,0 +1,2 @@ +declare const generateImports: (str: string | undefined, lib: Record | undefined, libName: string) => string; +export default generateImports; diff --git a/dist/core/utils/docPage/index.d.ts b/dist/core/utils/docPage/index.d.ts new file mode 100644 index 0000000000..5184829026 --- /dev/null +++ b/dist/core/utils/docPage/index.d.ts @@ -0,0 +1,9 @@ +import * as React from 'react'; +export interface Example { + title: string; + description?: string; + imports: string[]; + component: React.ReactNode; +} +export declare const docPage: () => JSX.Element; +export default docPage; diff --git a/dist/core/utils/docPage/sandbox.d.ts b/dist/core/utils/docPage/sandbox.d.ts new file mode 100644 index 0000000000..7b3536fdeb --- /dev/null +++ b/dist/core/utils/docPage/sandbox.d.ts @@ -0,0 +1,2 @@ +declare const _default: (jsxStoryCode: string) => Window | null; +export default _default; diff --git a/dist/core/utils/index.d.ts b/dist/core/utils/index.d.ts new file mode 100644 index 0000000000..bc82ef5104 --- /dev/null +++ b/dist/core/utils/index.d.ts @@ -0,0 +1,3 @@ +export * as css from "./css"; +export * as validators from "./validators"; +export * as masks from "./masks"; diff --git a/dist/core/utils/masks.d.ts b/dist/core/utils/masks.d.ts new file mode 100644 index 0000000000..370cbd3a6d --- /dev/null +++ b/dist/core/utils/masks.d.ts @@ -0,0 +1,9 @@ +import { Mask } from "./types"; +import { DatePickerProps, InputMaskProps } from "../index.type"; +declare type DateFormat = DatePickerProps['inputFormat']; +export declare const date: Record; +export declare const rangeDate: Record; +export declare const time: { + [key: string]: InputMaskProps['mask']; +}; +export {}; diff --git a/dist/core/utils/navigationHelper.d.ts b/dist/core/utils/navigationHelper.d.ts new file mode 100644 index 0000000000..7e5cf26fd5 --- /dev/null +++ b/dist/core/utils/navigationHelper.d.ts @@ -0,0 +1,27 @@ +import { FontVariationType } from "../common.type"; +export declare type Menu = { + name: string; + label: string; + link?: string; + icon?: string; + group?: string; + count?: number; + disabled?: boolean; + subMenu?: Menu[]; + iconVariations?: FontVariationType; +}; +export declare type ActiveMenu = ({ + name: string; +} | { + link: string; +}) & Partial; +export declare const getTextAppearance: (isActive: boolean, disabled?: boolean | undefined) => "default" | "disabled" | "link"; +export declare const getIconAppearance: (isActive: boolean, disabled?: boolean | undefined) => "default" | "disabled" | "primary_dark"; +export declare const getPillsAppearance: (isActive: boolean) => "primary" | "secondary"; +export declare const getMenu: (menus: Menu[], active: ActiveMenu) => Menu | null; +export declare const isMenuActive: (menus: Menu[], menu: Menu, active?: ({ + name: string; +} & Partial) | ({ + link: string; +} & Partial) | undefined) => boolean; +export declare const getNavItemColor: (isActive: boolean, disabled?: boolean | undefined) => "inverse" | "primary-dark" | "inverse-lightest"; diff --git a/dist/core/utils/overlayHelper.d.ts b/dist/core/utils/overlayHelper.d.ts new file mode 100644 index 0000000000..1fe0862786 --- /dev/null +++ b/dist/core/utils/overlayHelper.d.ts @@ -0,0 +1,10 @@ +/// +export declare const getWrapperElement: () => Element; +interface elementData { + element: Element; + containerClassName: string; + elementRef: React.RefObject; +} +export declare const getUpdatedZIndex: (ele: elementData) => number | undefined; +export declare const closeOnEscapeKeypress: (event: KeyboardEvent, isTopOverlay: boolean | undefined, onClose: (event: Event) => void) => void; +export {}; diff --git a/dist/core/utils/storybookEventEmitter.d.ts b/dist/core/utils/storybookEventEmitter.d.ts new file mode 100644 index 0000000000..1daa9d9442 --- /dev/null +++ b/dist/core/utils/storybookEventEmitter.d.ts @@ -0,0 +1 @@ +export declare const updateKnob: (name: any, value: any) => void; diff --git a/dist/core/utils/testHelper.d.ts b/dist/core/utils/testHelper.d.ts new file mode 100644 index 0000000000..2f32f883bb --- /dev/null +++ b/dist/core/utils/testHelper.d.ts @@ -0,0 +1,12 @@ +interface IValueHelper { + required?: boolean; + iterate?: boolean; + maxLen?: number; +} +export declare const testHelper: (Mapper: Record, testFunc: (props: Record) => void) => void; +export declare const filterUndefined: (props: Record) => Record; +export declare const valueHelper: (props: any, options?: IValueHelper) => Record; +export declare const arrayHelper: (props: any[], options?: IValueHelper) => Record; +export declare const testMessageHelper: (attr: Record) => string; +export declare const JSONStringifyHelper: (_key: string, value: any) => any; +export {}; diff --git a/dist/core/utils/types.d.ts b/dist/core/utils/types.d.ts new file mode 100644 index 0000000000..d344d4a6b0 --- /dev/null +++ b/dist/core/utils/types.d.ts @@ -0,0 +1,18 @@ +/// +export declare type SingleOrArray = T | T[]; +export declare type MakeRequired = Exclude; +export declare type MakeOptional = Omit & { + [OK in keyof T & K]?: T[OK]; +}; +declare type ValidatorFn = (...values: K) => boolean; +export declare type Validators = SingleOrArray; +export declare type Mask = (string | RegExp)[]; +export declare type BaseProps = { + className?: string; + 'data-test'?: string; +}; +export declare type BaseHtmlProps = Omit, 'ref' | 'size' | 'className'>; +export declare type OmitNativeProps = Omit, K>; +export declare const extractBaseProps: (props: Record) => {}; +export declare const filterProps: (props: Record, propsList: ReadonlyArray, include?: boolean | undefined) => Record; +export {}; diff --git a/dist/core/utils/uidGenerator.d.ts b/dist/core/utils/uidGenerator.d.ts new file mode 100644 index 0000000000..93222abcf8 --- /dev/null +++ b/dist/core/utils/uidGenerator.d.ts @@ -0,0 +1,2 @@ +export declare const uidGenerator: () => string; +export default uidGenerator; diff --git a/dist/core/utils/validators.d.ts b/dist/core/utils/validators.d.ts new file mode 100644 index 0000000000..001f2c2476 --- /dev/null +++ b/dist/core/utils/validators.d.ts @@ -0,0 +1,5 @@ +import { Validators } from "./types"; +export declare const isValid: (validators: Validators, ...value: any[]) => boolean; +export declare const date: (val: string, format: string) => boolean; +export declare const time: (val: string, format: string) => boolean; +export declare const isNaturalNumber: (val: number | string) => boolean; diff --git a/dist/index.esm.js b/dist/index.esm.js index a0dfd43506..dc22e519c7 100644 --- a/dist/index.esm.js +++ b/dist/index.esm.js @@ -1,8 +1,8 @@ /** - * Generated on: 1627478629993 + * Generated on: 1695030042653 * Package: @innovaccer/design-system - * Version: v2.2.1 + * Version: v2.21.0 * License: MIT * Docs: https://innovaccer.github.io/design-system */ @@ -45,7 +45,7 @@ function _objectSpread2(target) { if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { - _defineProperty$2(target, key, source[key]); + _defineProperty$1(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); @@ -111,13 +111,13 @@ function _asyncToGenerator(fn) { }; } -function _classCallCheck$1(instance, Constructor) { +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -function _defineProperties$1(target, props) { +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; @@ -127,13 +127,13 @@ function _defineProperties$1(target, props) { } } -function _createClass$1(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); - if (staticProps) _defineProperties$1(Constructor, staticProps); +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } -function _defineProperty$2(obj, key, value) { +function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, @@ -148,8 +148,8 @@ function _defineProperty$2(obj, key, value) { return obj; } -function _extends$3() { - _extends$3 = Object.assign || function (target) { +function _extends$2() { + _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; @@ -163,10 +163,10 @@ function _extends$3() { return target; }; - return _extends$3.apply(this, arguments); + return _extends$2.apply(this, arguments); } -function _inherits$1(subClass, superClass) { +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } @@ -178,26 +178,26 @@ function _inherits$1(subClass, superClass) { configurable: true } }); - if (superClass) _setPrototypeOf$1(subClass, superClass); + if (superClass) _setPrototypeOf(subClass, superClass); } -function _getPrototypeOf$1(o) { - _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; - return _getPrototypeOf$1(o); + return _getPrototypeOf(o); } -function _setPrototypeOf$1(o, p) { - _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; - return _setPrototypeOf$1(o, p); + return _setPrototypeOf(o, p); } -function _isNativeReflectConstruct$1() { +function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; @@ -210,7 +210,7 @@ function _isNativeReflectConstruct$1() { } } -function _objectWithoutPropertiesLoose$2(source, excluded) { +function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); @@ -225,10 +225,10 @@ function _objectWithoutPropertiesLoose$2(source, excluded) { return target; } -function _objectWithoutProperties$1(source, excluded) { +function _objectWithoutProperties(source, excluded) { if (source == null) return {}; - var target = _objectWithoutPropertiesLoose$2(source, excluded); + var target = _objectWithoutPropertiesLoose$1(source, excluded); var key, i; @@ -246,7 +246,7 @@ function _objectWithoutProperties$1(source, excluded) { return target; } -function _assertThisInitialized$2(self) { +function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } @@ -254,30 +254,32 @@ function _assertThisInitialized$2(self) { return self; } -function _possibleConstructorReturn$1(self, call) { +function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); } - return _assertThisInitialized$2(self); + return _assertThisInitialized$1(self); } -function _createSuper$1(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); +function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { - var Super = _getPrototypeOf$1(Derived), + var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf$1(this).constructor; + var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } - return _possibleConstructorReturn$1(this, result); + return _possibleConstructorReturn(this, result); }; } @@ -415,7 +417,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var _placeholders; -var placeholders = (_placeholders = {}, _defineProperty$2(_placeholders, 'hh:mm', '--:--'), _defineProperty$2(_placeholders, 'hh:mm AM', '--:-- AM'), _placeholders); +var placeholders = (_placeholders = {}, _defineProperty$1(_placeholders, 'hh:mm', '--:--'), _defineProperty$1(_placeholders, 'hh:mm AM', '--:-- AM'), _placeholders); var isPlaceholderPresent = function isPlaceholderPresent(placeholderChar, time) { return time && time.includes(placeholderChar); }; @@ -565,52 +567,90 @@ var date$1 = function date(val, format) { return month <= 12 && date <= monthLength[month - 1]; }; - switch (format) { - case 'dd/mm/yyyy': - var p = val.split('/'); - var date = +p[0] || 1; - var month = +p[1] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'mm/dd/yyyy': - var p = val.split('/'); - var date = +p[1] || 1; - var month = +p[0] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'yyyy/mm/dd': - var p = val.split('/'); - var date = +p[2] || 1; - var month = +p[1] || 1; - var year = +p[0] || 1900; - return validate(date, month, year); - - case 'dd-mm-yyyy': - var p = val.split('-'); - var date = +p[0] || 1; - var month = +p[1] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'mm-dd-yyyy': - var p = val.split('-'); - var date = +p[1] || 1; - var month = +p[0] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'yyyy-mm-dd': - var p = val.split('-'); - var date = +p[2] || 1; - var month = +p[1] || 1; - var year = +p[0] || 1900; - return validate(date, month, year); + if (val) { + switch (format) { + case 'dd/mm/yyyy': + { + var p = val.split('/'); - default: - return false; + var _date = +p[0] || 1; + + var month = +p[1] || 1; + var year = +p[2] || 1900; + return validate(_date, month, year); + } + + case 'mm/dd/yyyy': + { + var _p = val.split('/'); + + var _date2 = +_p[1] || 1; + + var _month = +_p[0] || 1; + + var _year = +_p[2] || 1900; + + return validate(_date2, _month, _year); + } + + case 'yyyy/mm/dd': + { + var _p2 = val.split('/'); + + var _date3 = +_p2[2] || 1; + + var _month2 = +_p2[1] || 1; + + var _year2 = +_p2[0] || 1900; + + return validate(_date3, _month2, _year2); + } + + case 'dd-mm-yyyy': + { + var _p3 = val.split('-'); + + var _date4 = +_p3[0] || 1; + + var _month3 = +_p3[1] || 1; + + var _year3 = +_p3[2] || 1900; + + return validate(_date4, _month3, _year3); + } + + case 'mm-dd-yyyy': + { + var _p4 = val.split('-'); + + var _date5 = +_p4[1] || 1; + + var _month4 = +_p4[0] || 1; + + var _year4 = +_p4[2] || 1900; + + return validate(_date5, _month4, _year4); + } + + case 'yyyy-mm-dd': + { + var _p5 = val.split('-'); + + var _date6 = +_p5[2] || 1; + + var _month5 = +_p5[1] || 1; + + var _year5 = +_p5[0] || 1900; + + return validate(_date6, _month5, _year5); + } + + default: + return false; + } } + + return false; }; var time$1 = function time(val, format) { var _getTimeObjFromStr = getTimeObjFromStr(format, val), @@ -620,18 +660,26 @@ var time$1 = function time(val, format) { var hoursCond = isFormat12hour(format) ? hours <= 12 : hours < 24; return hoursCond && minutes <= 60; }; +var isNaturalNumber = function isNaturalNumber(val) { + if (typeof val === 'string' && /[^0-9]/.test(val) || typeof val === 'number' && (val <= 0 || val - Math.floor(val) !== 0)) { + return false; + } + + return true; +}; var validators = /*#__PURE__*/Object.freeze({ __proto__: null, isValid: isValid, date: date$1, - time: time$1 + time: time$1, + isNaturalNumber: isNaturalNumber }); var _time; var date = { - 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], + 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'mm/dd/yyyy': [/[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'yyyy/mm/dd': [/\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/], 'dd-mm-yyyy': [/[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], @@ -639,14 +687,14 @@ var date = { 'yyyy-mm-dd': [/\d/, /\d/, /\d/, /\d/, '-', /[01]/, /\d/, '-', /[0123]/, /\d/] }; var rangeDate = { - 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], + 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'mm/dd/yyyy': [/[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'yyyy/mm/dd': [/\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/, ' ', '-', ' ', /\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/], 'dd-mm-yyyy': [/[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], 'mm-dd-yyyy': [/[01]/, /\d/, '-', /[0123]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[01]/, /\d/, '-', /[0123]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], 'yyyy-mm-dd': [/\d/, /\d/, /\d/, /\d/, '-', /[01]/, /\d/, '-', /[0123]/, /\d/, ' ', '-', ' ', /\d/, /\d/, /\d/, /\d/, '-', /[01]/, /\d/, '-', /[0123]/, /\d/] }; -var time = (_time = {}, _defineProperty$2(_time, 'hh:mm', [/[0-1-2]/, /\d/, ':', /[0-5]/, /\d/]), _defineProperty$2(_time, 'hh:mm AM', [/[0-1]/, /\d/, ':', /[0-5]/, /\d/, ' ', /[APap]/, 'M']), _time); +var time = (_time = {}, _defineProperty$1(_time, 'hh:mm', [/[0-1-2]/, /\d/, ':', /[0-5]/, /\d/]), _defineProperty$1(_time, 'hh:mm AM', [/[0-1]/, /\d/, ':', /[0-5]/, /\d/, ' ', /[APap]/, 'M']), _time); var masks = /*#__PURE__*/Object.freeze({ __proto__: null, @@ -655,7 +703,7 @@ var masks = /*#__PURE__*/Object.freeze({ time: time }); -var index$1 = /*#__PURE__*/Object.freeze({ +var index = /*#__PURE__*/Object.freeze({ __proto__: null, css: css, validators: validators, @@ -736,7 +784,7 @@ var classnames = createCommonjsModule(function (module) { var extractBaseProps = function extractBaseProps(props) { var baseProps = ['className', 'data-test']; var basePropsObj = baseProps.reduce(function (acc, curr) { - return props[curr] ? _objectSpread2(_objectSpread2({}, acc), {}, _defineProperty$2({}, curr, props[curr])) : _objectSpread2({}, acc); + return props[curr] ? _objectSpread2(_objectSpread2({}, acc), {}, _defineProperty$1({}, curr, props[curr])) : _objectSpread2({}, acc); }, {}); return basePropsObj; }; @@ -769,12 +817,12 @@ var Avatar = function Avatar(props) { var AvatarAppearance = appearance || colors[(initials.charCodeAt(0) + (initials.charCodeAt(1) || 0)) % 8] || DefaultAppearance; var classes = classnames((_classNames = { Avatar: true - }, _defineProperty$2(_classNames, "Avatar--".concat(size), size), _defineProperty$2(_classNames, "Avatar--".concat(AvatarAppearance), AvatarAppearance), _defineProperty$2(_classNames, 'Avatar--disabled', !initials || !withTooltip), _classNames), className); - var ContentClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, "Avatar-content--".concat(size), size), _defineProperty$2(_classNames2, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance), _classNames2)); - var IconClass = classnames(_defineProperty$2({}, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance)); + }, _defineProperty$1(_classNames, "Avatar--".concat(size), size), _defineProperty$1(_classNames, "Avatar--".concat(AvatarAppearance), AvatarAppearance), _defineProperty$1(_classNames, 'Avatar--disabled', !initials || !withTooltip), _classNames), className); + var ContentClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, "Avatar-content--".concat(size), size), _defineProperty$1(_classNames2, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance), _classNames2)); + var IconClass = classnames(_defineProperty$1({}, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance)); var renderAvatar = function renderAvatar() { - return /*#__PURE__*/React.createElement("span", _extends$3({ + return /*#__PURE__*/React.createElement("span", _extends$2({ "data-test": "DesignSystem-Avatar" }, baseProps, { className: classes @@ -812,13 +860,98 @@ Avatar.defaultProps = { size: 'regular' }; +var AvatarCount = function AvatarCount(props) { + var _classNames, _classNames2; + + var hiddenAvatarCount = props.hiddenAvatarCount, + avatarStyle = props.avatarStyle, + size = props.size; + var ContentClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "Avatar-content--secondary", true), _defineProperty$1(_classNames, "Avatar-content--tiny", size === 'tiny'), _classNames)); + var AvatarVariantsClass = classnames((_classNames2 = { + Avatar: true + }, _defineProperty$1(_classNames2, "Avatar--regular", size === 'regular'), _defineProperty$1(_classNames2, "Avatar--tiny", size === 'tiny'), _defineProperty$1(_classNames2, "Avatar--secondary", true), _defineProperty$1(_classNames2, 'Avatar--disabled', true), _classNames2)); + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", + className: "AvatarCount-wrapper", + style: avatarStyle + }, /*#__PURE__*/React.createElement("span", { + className: AvatarVariantsClass + }, /*#__PURE__*/React.createElement(Text, { + appearance: 'white', + className: ContentClass + }, "+".concat(hiddenAvatarCount)))); +}; + +var Avatars = function Avatars(props) { + var _classNames; + + var avatarList = props.avatarList, + avatarStyle = props.avatarStyle, + tooltipPosition = props.tooltipPosition, + size = props.size; + var GroupClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "AvatarGroup-item", true), _defineProperty$1(_classNames, "AvatarGroup-item--tiny", size === 'tiny'), _defineProperty$1(_classNames, "AvatarGroup-item--regular", size === 'regular'), _classNames)); + var avatars = avatarList.map(function (item, index) { + var appearance = item.appearance, + firstName = item.firstName, + lastName = item.lastName; + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-AvatarGroup--Avatar", + className: GroupClass, + style: avatarStyle, + key: index + }, /*#__PURE__*/React.createElement(Avatar, { + size: size, + appearance: appearance, + firstName: firstName, + lastName: lastName, + withTooltip: true, + tooltipPosition: tooltipPosition + })); + }); + return avatars; +}; + +var AvatarPopperBody = function AvatarPopperBody(props) { + var hiddenAvatarList = props.hiddenAvatarList, + popperRenderer = props.popperRenderer, + maxHeight = props.maxHeight, + dark = props.dark; + + if (popperRenderer) { + return popperRenderer(hiddenAvatarList); + } + + return /*#__PURE__*/React.createElement("div", { + className: "py-6 pr-4 pl-6" + }, /*#__PURE__*/React.createElement("div", { + className: "AvatarGroup-TextWrapper", + style: { + maxHeight: maxHeight + } + }, hiddenAvatarList.map(function (item, ind) { + var _item$firstName = item.firstName, + firstName = _item$firstName === void 0 ? '' : _item$firstName, + _item$lastName = item.lastName, + lastName = _item$lastName === void 0 ? '' : _item$lastName; + var name = "".concat(firstName, " ").concat(lastName); + var AvatarTextClass = classnames(_defineProperty$1({}, "mb-5", ind < hiddenAvatarList.length - 1)); + return /*#__PURE__*/React.createElement(Text, { + key: ind, + appearance: dark ? 'white' : 'default', + className: AvatarTextClass, + "data-test": "DesignSystem-AvatarGroup--Text" + }, name); + }))); +}; + var AvatarGroup = function AvatarGroup(props) { var max = props.max, borderColor = props.borderColor, popoverOptions = props.popoverOptions, tooltipPosition = props.tooltipPosition, list = props.list, - className = props.className; + className = props.className, + size = props.size; var popperRenderer = popoverOptions.popperRenderer, _popoverOptions$maxHe = popoverOptions.maxHeight, maxHeight = _popoverOptions$maxHe === void 0 ? 150 : _popoverOptions$maxHe, @@ -833,98 +966,63 @@ var AvatarGroup = function AvatarGroup(props) { _popoverOptions$poppe = popoverOptions.popperClassName, popperClassName = _popoverOptions$poppe === void 0 ? '' : _popoverOptions$poppe; var baseProps = extractBaseProps(props); - var extraAvatars = list.length > max ? list.length - max > 9 ? 9 : list.length - max : 0; + var hiddenAvatarCount = list.length > max ? Math.min(list.length - max, 99) : 0; var style = { - borderRadius: '50%', backgroundColor: "".concat(borderColor), - border: "var(--spacing-xs) solid ".concat(borderColor), - boxShadow: "0 0 0 var(--spacing-xs) ".concat(borderColor) - }; - var AvatarGroupClass = classnames(_defineProperty$2({}, 'AvatarGroup', true), className); - var popperClass = classnames(_defineProperty$2({}, 'AvatarGroup-Popper', true), popperClassName); - var trigger = /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", - style: style - }, /*#__PURE__*/React.createElement(Avatar, { - appearance: "secondary", - firstName: "+", - lastName: "".concat(extraAvatars), - withTooltip: false - })); - - var renderPopper = function renderPopper() { - var extraAvatarsList = list.slice(max, list.length); - - if (popperRenderer && typeof renderPopper === 'function') { - return popperRenderer(extraAvatarsList); - } - - return /*#__PURE__*/React.createElement("div", { - className: "py-6 pr-4 pl-6" - }, /*#__PURE__*/React.createElement("div", { - className: "AvatarGroup-TextWrapper", - style: { - maxHeight: maxHeight - } - }, extraAvatarsList.map(function (item, ind) { - var _item$firstName = item.firstName, - firstName = _item$firstName === void 0 ? '' : _item$firstName, - _item$lastName = item.lastName, - lastName = _item$lastName === void 0 ? '' : _item$lastName; - var name = "".concat(firstName, " ").concat(lastName); - return /*#__PURE__*/React.createElement(Text, { - key: ind, - appearance: dark ? 'white' : 'default', - className: ind < extraAvatars - 1 ? 'mb-5' : '', - "data-test": "DesignSystem-AvatarGroup--Text" - }, name); - }))); + boxShadow: "0 0 0 calc(var(--spacing-xs) + var(--spacing-s)) ".concat(borderColor) }; - - var renderAvatars = function renderAvatars() { - var avatars = list.slice(0, max).map(function (item, index) { - var appearance = item.appearance, - firstName = item.firstName, - lastName = item.lastName; - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-AvatarGroup--Avatar", - className: "AvatarGroup-item", - style: style, - key: index - }, /*#__PURE__*/React.createElement(Avatar, { - appearance: appearance, - firstName: firstName, - lastName: lastName, - withTooltip: true, - tooltipPosition: tooltipPosition - })); - }); - return avatars; + var tinyAvatarStyle = { + boxShadow: "0 0 0 var(--spacing-s) ".concat(borderColor) }; - - return /*#__PURE__*/React.createElement("div", _extends$3({ + var avatarStyle = size === 'tiny' ? _objectSpread2(_objectSpread2({}, style), tinyAvatarStyle) : style; + var AvatarGroupClass = classnames(_defineProperty$1({}, 'AvatarGroup', true), className); + var popperClass = classnames(_defineProperty$1({}, 'AvatarGroup-Popper', true), popperClassName); + return /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-AvatarGroup" }, baseProps, { className: "".concat(AvatarGroupClass, " d-inline-flex") - }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React.createElement(Popover, { + }), /*#__PURE__*/React.createElement(Avatars, { + size: size, + avatarList: list.slice(0, max), + avatarStyle: avatarStyle, + tooltipPosition: tooltipPosition + }), list.length - max > 0 && /*#__PURE__*/React.createElement(Popover, { on: on, dark: dark, - trigger: trigger, + trigger: /*#__PURE__*/React.createElement(AvatarCount, { + size: size, + hiddenAvatarCount: hiddenAvatarCount, + avatarStyle: avatarStyle + }), position: position, appendToBody: appendToBody, - className: popperClass - }, renderPopper())); + className: popperClass, + offset: "medium" + }, /*#__PURE__*/React.createElement(AvatarPopperBody, { + hiddenAvatarList: list.slice(max, list.length), + popperRenderer: popperRenderer, + maxHeight: maxHeight, + dark: dark + }))); }; AvatarGroup.displayName = 'AvatarGroup'; AvatarGroup.defaultProps = { max: 2, - borderColor: 'var(--white)', tooltipPosition: 'bottom', - popoverOptions: {} + borderColor: 'white', + popoverOptions: {}, + size: 'regular' }; var useEffect$1 = React.useEffect, useState$2 = React.useState; + +/** + * ### Note: + * ** The backdrop component is used to provide emphasis on a particular element or parts of it.
** + * The backdrop signals to the user of a state change within the application and can be used for creating loaders, dialogs, and more.
+ * In its simplest form, the backdrop component will add a dimmed layer over your application. + */ var Backdrop = function Backdrop(props) { var className = props.className; var baseProps = extractBaseProps(props); @@ -980,11 +1078,15 @@ var Backdrop = function Backdrop(props) { enableBodyScroll(); }; }, [props.open]); - var BackdropElement = /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement("div", _extends$3({ + var BackdropElement = /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-Backdrop", - "data-layer": true + "data-layer": true, + "data-opened": open }, baseProps, { - className: classes + className: classes, + style: { + zIndex: props.zIndex + } })), document.body); return BackdropElement; }; @@ -1000,8 +1102,8 @@ var Badge = function Badge(props) { var baseProps = extractBaseProps(props); var classes = classnames((_classNames = { Badge: true - }, _defineProperty$2(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$2(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$3({ + }, _defineProperty$1(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$1(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); + return /*#__PURE__*/React.createElement("span", _extends$2({ "data-test": "DesignSystem-Badge" }, baseProps, { className: classes @@ -1012,3599 +1114,3301 @@ Badge.defaultProps = { appearance: 'secondary' }; -/* eslint-disable no-undefined,no-param-reassign,no-shadow */ - -/** - * Throttle execution of a function. Especially useful for rate limiting - * execution of handlers on events like resize and scroll. - * - * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. - * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the - * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time - * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds, - * the internal counter is reset). - * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, - * to `callback` when the throttled-function is executed. - * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end), - * schedule `callback` to execute after `delay` ms. - * - * @returns {Function} A new, throttled, function. - */ -function throttle (delay, noTrailing, callback, debounceMode) { - /* - * After wrapper has stopped being called, this timeout ensures that - * `callback` is executed at the proper times in `throttle` and `end` - * debounce modes. - */ - var timeoutID; - var cancelled = false; // Keep track of the last time `callback` was executed. - - var lastExec = 0; // Function to clear existing timeout +var RenderLink = function RenderLink(_ref) { + var item = _ref.item, + onClick = _ref.onClick; - function clearExistingTimeout() { - if (timeoutID) { - clearTimeout(timeoutID); + var onClickHandler = function onClickHandler(ev) { + if (onClick) { + ev.preventDefault(); + onClick(item.link); } - } // Function to cancel next exec - + }; - function cancel() { - clearExistingTimeout(); - cancelled = true; - } // `noTrailing` defaults to falsy. + return /*#__PURE__*/React.createElement(Link, { + className: "Breadcrumbs-link ellipsis--noWrap", + "data-test": "DesignSystem-Breadcrumbs-link", + href: item.link, + onClick: onClickHandler, + appearance: "subtle", + size: "tiny" + }, item.label); +}; +var RenderItem = function RenderItem(_ref2) { + var item = _ref2.item, + onClick = _ref2.onClick, + index = _ref2.index, + showTooltip = _ref2.showTooltip; + return /*#__PURE__*/React.createElement("div", { + key: index, + className: "Breadcrumbs-item", + "data-test": "DesignSystem-Breadcrumbs-item" + }, showTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + tooltip: item.label, + position: "bottom" + }, /*#__PURE__*/React.createElement(RenderLink, { + item: item, + onClick: onClick + })) : /*#__PURE__*/React.createElement(RenderLink, { + item: item, + onClick: onClick + }), /*#__PURE__*/React.createElement("span", { + className: "Breadcrumbs-itemSeparator" + }, "/")); +}; - if (typeof noTrailing !== 'boolean') { - debounceMode = callback; - callback = noTrailing; - noTrailing = undefined; - } - /* - * The `wrapper` function encapsulates all of the throttling / debouncing - * functionality and when executed will limit the rate at which `callback` - * is executed. - */ +var renderDropdown = function renderDropdown(list, onClick) { + var options = list.map(function (item) { + return { + label: item.label, + value: item.link + }; + }); + var customTrigger = function customTrigger() { + return /*#__PURE__*/React.createElement(Button, { + type: "button", + size: "tiny", + appearance: "transparent", + icon: "more_horiz_filled", + largeIcon: true, + className: "Breadcrumbs-Button", + "data-test": "DesignSystem-Breadcrumbs--Button" + }); + }; - function wrapper() { - for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) { - arguments_[_key] = arguments[_key]; + return /*#__PURE__*/React.createElement(Dropdown, { + className: "Breadcrumbs-dropdown", + triggerSize: 'tiny', + triggerOptions: { + customTrigger: customTrigger + }, + options: options, + menu: true, + onChange: function onChange(selected) { + if (onClick) { + onClick(selected); + } } + }); +}; - var self = this; - var elapsed = Date.now() - lastExec; +var Breadcrumbs = function Breadcrumbs(props) { + var list = props.list, + onClick = props.onClick, + className = props.className, + showTooltip = props.showTooltip; + var baseProps = extractBaseProps(props); + var BreadcrumbClass = classnames(_defineProperty$1({}, 'Breadcrumbs', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Breadcrumbs" + }, baseProps, { + className: BreadcrumbClass + }), list.length <= 4 ? list.map(function (item, index) { + return /*#__PURE__*/React.createElement(RenderItem, { + key: index, + item: item, + onClick: onClick, + showTooltip: showTooltip + }); + }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(RenderItem, { + item: list[0], + onClick: onClick, + showTooltip: showTooltip + }), /*#__PURE__*/React.createElement("div", { + className: "d-flex align-items-center" + }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React.createElement("span", { + className: "Breadcrumbs-itemSeparator" + }, "/")), /*#__PURE__*/React.createElement(RenderItem, { + item: list[list.length - 1], + onClick: onClick, + showTooltip: showTooltip + }))); +}; - if (cancelled) { - return; - } // Execute `callback` and update the `lastExec` timestamp. +var _excluded$D = ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className", "tooltip", "iconVariations"]; +var sizeMapping$3 = { + tiny: 12, + regular: 16, + large: 20 +}; // eslint-disable-next-line react/display-name +var ButtonElement = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames, _classNames2; - function exec() { - lastExec = Date.now(); - callback.apply(self, arguments_); - } - /* - * If `debounceMode` is true (at begin) this is used to clear the flag - * to allow future `callback` executions. - */ + var _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + _props$appearance = props.appearance, + appearance = _props$appearance === void 0 ? 'basic' : _props$appearance, + _props$iconAlign = props.iconAlign, + iconAlign = _props$iconAlign === void 0 ? 'left' : _props$iconAlign, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + largeIcon = props.largeIcon, + type = props.type, + children = props.children, + icon = props.icon, + expanded = props.expanded, + selected = props.selected, + loading = props.loading, + disabled = props.disabled, + className = props.className; + props.tooltip; + var iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$D); + var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Button', true), _defineProperty$1(_classNames, 'Button--expanded', expanded), _defineProperty$1(_classNames, "Button--".concat(size), size), _defineProperty$1(_classNames, "Button--".concat(size, "Square"), !children), _defineProperty$1(_classNames, "Button--".concat(appearance), appearance), _defineProperty$1(_classNames, 'Button--selected', selected && (appearance === 'basic' || appearance === 'transparent')), _defineProperty$1(_classNames, "Button--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); + var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Button-icon', true), _defineProperty$1(_classNames2, "Button-icon--".concat(iconAlign), children && iconAlign), _classNames2)); + return /*#__PURE__*/React.createElement("button", _extends$2({ + "data-test": "DesignSystem-Button", + ref: ref, + type: type, + className: buttonClass, + disabled: disabled || loading, + tabIndex: tabIndex + }, rest), loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Spinner, { + size: "small", + appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white', + "data-test": "DesignSystem-Button--Spinner", + className: "Button-spinner" + }), /*#__PURE__*/React.createElement(Text, { + className: "Button-text Button-text--hidden" + }, children || '')) : /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement("div", { + className: iconClass + }, /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Button--Icon", + name: icon, + variations: iconVariations, + size: largeIcon && !children ? sizeMapping$3[size] + 4 : sizeMapping$3[size] + })), children && /*#__PURE__*/React.createElement("span", { + className: "Button-text" + }, children))); +}); +var Button = /*#__PURE__*/React.forwardRef(function (props, ref) { + var icon = props.icon, + tooltip = props.tooltip, + children = props.children; + return icon && tooltip && !children ? /*#__PURE__*/React.createElement(Tooltip, { + tooltip: tooltip + }, /*#__PURE__*/React.createElement(ButtonElement, _extends$2({}, props, { + ref: ref + }))) : /*#__PURE__*/React.createElement(ButtonElement, _extends$2({}, props, { + ref: ref + })); +}); +Button.displayName = 'Button'; - function clear() { - timeoutID = undefined; - } +var config = { + yearBlockRange: 12, + yearsInRow: 3, + monthBlock: 12, + monthsInRow: 3, + daysInRow: 7, + months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + days: { + small: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + large: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + } +}; - if (debounceMode && !timeoutID) { - /* - * Since `wrapper` is being called for the first time and - * `debounceMode` is true (at begin), execute `callback`. - */ - exec(); +var yearBlockRange = config.yearBlockRange; +var getIndexOfDay = function getIndexOfDay(day) { + return ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'].indexOf(day); +}; +var getYearBlock = function getYearBlock(year) { + return year - year % yearBlockRange; +}; +var getDaysInMonth = function getDaysInMonth(year, month) { + return new Date(year, month + 1, 0).getDate(); +}; +var getFirstDayOfMonth = function getFirstDayOfMonth(year, month) { + return new Date(year, month).getDay(); +}; +var getDateInfo = function getDateInfo(d) { + if (d) { + var dateVal = convertToDate(d); + + if (dateVal) { + var year = dateVal.getFullYear(); + var month = dateVal.getMonth(); + var day = dateVal.getDay(); + var date = dateVal.getDate(); + var decadeYear = getYearBlock(year); + return { + decadeYear: decadeYear, + year: year, + month: month, + day: day, + date: date + }; + } else { + return {}; } + } - clearExistingTimeout(); + return {}; +}; +var convertToDate = function convertToDate(d, format, validators) { + var dateVal; - if (debounceMode === undefined && elapsed > delay) { - /* - * In throttle mode, if `delay` time has been exceeded, execute - * `callback`. - */ - exec(); - } else if (noTrailing !== true) { - /* - * In trailing throttle mode, since `delay` time has not been - * exceeded, schedule `callback` to execute `delay` ms after most - * recent execution. - * - * If `debounceMode` is true (at begin), schedule `clear` to execute - * after `delay` ms. - * - * If `debounceMode` is false (at end), schedule `callback` to - * execute after `delay` ms. - */ - timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay); + if (d) { + if (typeof d === 'number') { + dateVal = new Date(d); + } else if (typeof d === 'string') { + return format ? translateToDate(format, d, validators) : undefined; + } else if (!(d instanceof Date)) { + var _ref = d, + year = _ref.year, + month = _ref.month, + date = _ref.date; + dateVal = new Date(year, month, date, 0, 0, 0); + } else { + dateVal = d; } } - wrapper.cancel = cancel; // Return the wrapper function. + return dateVal; +}; +var compareYearBlock = function compareYearBlock(d, operator, currDecade) { + if (d) { + var _getDateInfo = getDateInfo(d), + limitDecade = _getDateInfo.decadeYear; - return wrapper; -} + switch (operator) { + case 'less': + if (limitDecade < currDecade) return true; + break; -/* eslint-disable no-undefined */ -/** - * Debounce execution of a function. Debouncing, unlike throttling, - * guarantees that a function is only executed a single time, either at the - * very beginning of a series of calls, or at the very end. - * - * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. - * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds - * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call. - * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset). - * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, - * to `callback` when the debounced-function is executed. - * - * @returns {Function} A new, debounced function. - */ + case 'more': + if (limitDecade > currDecade) return true; + break; -function debounce$1 (delay, atBegin, callback) { - return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false); -} + case 'equal': + if (limitDecade === currDecade) return true; + break; + } + } -var getSearchedOptions = function getSearchedOptions(options, searchTerm) { - var result = options.filter(function (option) { - return option.label.toLowerCase().includes(searchTerm.toLowerCase()); - }); - return result; -}; -var _isEqual = function _isEqual(arr1, arr2) { - return arr1.length === arr2.length && arr1.every(function (option, index) { - return option.value === arr2[index].value || option.label === arr2[index].label; - }); -}; -var _isControlled = function _isControlled(selected) { - return selected !== undefined; -}; -var _isOpenControlled = function _isOpenControlled(open) { - return open !== undefined; -}; -var _showSelectedItems = function _showSelectedItems(bulk, searchTerm, withCheckbox) { - return bulk && withCheckbox && searchTerm === ''; -}; -var _isSelectAllPresent = function _isSelectAllPresent(searchTerm, bulkOptions, withSelectAll, withCheckbox) { - return withCheckbox && withSelectAll && bulkOptions === 0 && searchTerm === ''; -}; -var scrollTo = function scrollTo(element, top) { - element.scrollTo(0, top); + return false; }; -var scrollIntoView = function scrollIntoView(menuElement, focusedElement) { - var menuRect = menuElement === null || menuElement === void 0 ? void 0 : menuElement.getBoundingClientRect(); - var focusedRect = focusedElement.getBoundingClientRect(); - var overscroll = focusedElement.offsetHeight; +var compareDate = function compareDate(d, operator, currYear, currMonth, currDate) { + if (d) { + var _getDateInfo2 = getDateInfo(d), + limitYear = _getDateInfo2.year, + limitMonth = _getDateInfo2.month, + limitDate = _getDateInfo2.date; - if (focusedRect.bottom > menuRect.bottom && menuElement) { - scrollTo(menuElement, focusedElement.offsetTop - menuRect.height + overscroll); - } else if (focusedRect.top < menuRect.top && menuElement) { - scrollTo(menuElement, focusedElement.offsetTop - overscroll); - } -}; -var getSelectAll$1 = function getSelectAll(selected, optionsLength, disabledOptionsLength) { - if (selected.length) { - if (selected.length > 0 && disabledOptionsLength > 0 && selected.length === optionsLength - disabledOptionsLength) { - return { - indeterminate: true, - checked: true - }; // - } + switch (operator) { + case 'less': + if (limitYear < currYear) return true; + if (limitYear > currYear) return false; - var indeterminate = selected.length > 0 && selected.length !== optionsLength; - var checked = selected.length > 0 && selected.length === optionsLength; - var obj = { - checked: checked, - indeterminate: indeterminate - }; - return obj; - } + if (currMonth !== undefined) { + if (limitMonth < currMonth) return true; + if (limitMonth > currMonth) return false; + } - return { - indeterminate: false, - checked: false - }; -}; + if (currDate !== undefined && limitDate < currDate) return true; + break; -var _excluded$z = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"]; -var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames, _classNames2; + case 'more': + if (limitYear > currYear) return true; + if (limitYear < currYear) return false; - var _props$triggerSize = props.triggerSize, - triggerSize = _props$triggerSize === void 0 ? 'regular' : _props$triggerSize, - _props$placeholder = props.placeholder, - placeholder = _props$placeholder === void 0 ? 'Select' : _props$placeholder, - _props$menu = props.menu, - menu = _props$menu === void 0 ? false : _props$menu, - children = props.children, - icon = props.icon, - disabled = props.disabled, - open = props.open, - inlineLabel = props.inlineLabel, - error = props.error, - rest = _objectWithoutProperties$1(props, _excluded$z); + if (currMonth !== undefined) { + if (limitMonth > currMonth) return true; + if (limitMonth < currMonth) return false; + } - var buttonDisabled = disabled ? 'disabled' : 'default'; - var trimmedPlaceholder = placeholder.trim(); - var value = children ? children : trimmedPlaceholder; - var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; - var buttonClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Button', true), _defineProperty$2(_classNames, 'DropdownButton', true), _defineProperty$2(_classNames, "DropdownButton--".concat(triggerSize), triggerSize), _defineProperty$2(_classNames, "DropdownButton--".concat(triggerSize, "Square"), menu), _defineProperty$2(_classNames, 'DropdownButton--placeholder', !children && !menu), _defineProperty$2(_classNames, 'DropdownButton--icon', icon), _defineProperty$2(_classNames, 'DropdownButton--open', open), _defineProperty$2(_classNames, 'DropdownButton--error', error), _classNames)); - var textClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Text', true), _defineProperty$2(_classNames2, 'Text--regular', true), _defineProperty$2(_classNames2, 'DropdownButton-text', true), _classNames2)); - return /*#__PURE__*/React.createElement("button", _extends$3({ - ref: ref, - type: "button", - value: children, - className: buttonClass, - disabled: disabled, - tabIndex: 0, - "data-test": "DesignSystem-DropdownTrigger" - }, rest), !menu && /*#__PURE__*/React.createElement("div", { - className: "DropdownButton-wrapper" - }, inlineLabel && /*#__PURE__*/React.createElement(Text, { - appearance: "subtle", - className: "mr-4" - }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, { - appearance: buttonDisabled, - className: "d-flex align-items-center mr-4", - name: icon - }), value && /*#__PURE__*/React.createElement("span", { - className: textClass - }, value)), /*#__PURE__*/React.createElement(Icon, { - appearance: buttonDisabled, - name: iconName - })); -}); -DropdownButton.displayName = 'DropdownButton'; + if (currDate !== undefined && limitDate > currDate) return true; + break; -var _excluded$y = ["children", "componentType", "className"]; + case 'equal': + if (currDate !== undefined) { + if (limitYear === currYear && limitMonth === currMonth && limitDate === currDate) return true; + } else if (currMonth !== undefined) { + if (limitYear === currYear && limitMonth === currMonth) return true; + } else if (limitYear === currYear) return true; -var GenericText = function GenericText(_ref) { - var children = _ref.children, - _ref$componentType = _ref.componentType, - componentType = _ref$componentType === void 0 ? 'span' : _ref$componentType, - className = _ref.className, - props = _objectWithoutProperties$1(_ref, _excluded$y); + } + } - return /*#__PURE__*/React.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { - className: className - }), children); + return false; }; +var translateToString = function translateToString(format, d) { + if (format && d) { + var _getDateInfo3 = getDateInfo(d), + year = _getDateInfo3.year, + month = _getDateInfo3.month, + date = _getDateInfo3.date; -var _excluded$x = ["appearance", "size", "children", "weight", "small", "className"]; -var Text = function Text(props) { - var _classNames; + var separator = format.includes('/') ? '/' : '-'; + var f = format.split(separator); + var val = f.reduce(function (out, curr, i) { + switch (curr) { + case 'mm': + out += (month < 9 && '0') + (month + 1); + break; - var appearance = props.appearance, - size = props.size, - children = props.children, - weight = props.weight, - small = props.small, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$x); + case 'yyyy': + out += year; + break; - var classes = classnames((_classNames = { - Text: true - }, _defineProperty$2(_classNames, "Text--".concat(appearance), appearance), _defineProperty$2(_classNames, "Text--".concat(weight), weight), _defineProperty$2(_classNames, "Text--".concat(size), size), _defineProperty$2(_classNames, 'Text--small', size === 'small' || small), _classNames), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Text" - }, rest, { - className: classes, - componentType: "span" - }), children); -}; -Text.displayName = 'Text'; -Text.defaultProps = { - appearance: 'default', - size: 'regular' + case 'dd': + out += (date < 10 && '0') + date; + break; + } + + if (i !== f.length - 1) out += separator; + return out; + }, ''); + return val; + } + + return ''; }; +var translateToDate = function translateToDate(format, val) { + var validators = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; -var Icon = function Icon(props) { - var _classNames; + if (isValid(validators, val, format)) { + var separator = format.includes('/') ? '/' : '-'; + var year = -1, + month = -1, + date = -1; + var v = val.split(separator); + format.split(separator).forEach(function (f, i) { + switch (f) { + case 'mm': + month = +v[i] - 1; + break; - var appearance = props.appearance, - className = props.className, - name = props.name, - size = props.size, - onClick = props.onClick, - children = props.children; - var baseProps = extractBaseProps(props); + case 'yyyy': + year = +v[i]; + break; - var mapper = function mapper(val) { - if (val === 'outline') return 'outlined'; - if (val === 'rounded') return 'round'; - return val; - }; + case 'dd': + date = +v[i]; + break; + } + }); + var d = convertToDate({ + year: year, + month: month, + date: date + }); + return d; + } else { + return undefined; + } +}; +var dateComparison = function dateComparison(date, operator, currDate, currMonth, currYear) { + var currentDate = new Date("".concat(currYear, "-").concat(currMonth, "-").concat(currDate)); - var type = mapper(props.type); + if (date) { + switch (operator) { + case 'less': + return date <= currentDate; - var getIconAppearance = function getIconAppearance(iconColor) { - var x = iconColor.indexOf('_'); - return iconColor.slice(0, x) + iconColor.charAt(x + 1).toUpperCase() + iconColor.slice(x + 2); - }; + case 'equal': + return date.toDateString() === currentDate.toDateString(); - var color = appearance && appearance.includes('_') ? getIconAppearance(appearance) : appearance; - var iconClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'material-icons', true), _defineProperty$2(_classNames, "material-icons-".concat(mapper(type)), type && type !== 'filled'), _defineProperty$2(_classNames, 'Icon', true), _defineProperty$2(_classNames, "Icon--".concat(color), appearance), _defineProperty$2(_classNames, "".concat(className), className), _classNames)); - var styles = { - fontSize: "".concat(size, "px"), - width: "".concat(size, "px") - }; // change `children` to {name} after migration + case 'more': + return date >= currentDate; - if (children && /*#__PURE__*/React.isValidElement(children)) { - return /*#__PURE__*/React.createElement("span", _extends$3({}, baseProps, { - className: className - }), children); + default: + return false; + } } - return /*#__PURE__*/React.createElement("i", _extends$3({}, baseProps, { - className: iconClass, - style: styles, - onClick: onClick - }), type ? "".concat(name, "_").concat(type) : name); -}; -Icon.displayName = 'Icon'; -Icon.defaultProps = { - size: 16, - type: 'round' + return false; }; -var uidGenerator = function uidGenerator() { - var dt = new Date().getTime(); - var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { - var r = (dt + Math.random() * 16) % 16 | 0; - dt = Math.floor(dt / 16); - var s = (c === 'x' ? r : r & 0x3 | 0x8).toString(16); - return s; - }); - return uuid; -}; +var Calendar = /*#__PURE__*/function (_React$Component) { + _inherits(Calendar, _React$Component); -var _excluded$w = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "disabled", "onChange", "name", "value", "className", "checked"]; + var _super = _createSuper(Calendar); -/** - * ######Checkbox has two types: - * - [Controlled Checkbox](https://reactjs.org/docs/forms.html#controlled-components) - * - [Uncontrolled Checkbox](https://reactjs.org/docs/uncontrolled-components.html) - */ -var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { - var _classNames, _classNames2, _classNames4; + function Calendar(props) { + var _this; - var _props$size = props.size, - size = _props$size === void 0 ? 'regular' : _props$size, - _props$tabIndex = props.tabIndex, - tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, - defaultChecked = props.defaultChecked, - indeterminate = props.indeterminate, - label = props.label, - disabled = props.disabled, - onChange = props.onChange, - name = props.name, - value = props.value, - className = props.className; - props.checked; - var rest = _objectWithoutProperties$1(props, _excluded$w); + _classCallCheck(this, Calendar); - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); + _this = _super.call(this, props); - var _React$useState = React.useState(props.checked === undefined ? defaultChecked : props.checked), - _React$useState2 = _slicedToArray(_React$useState, 2), - checked = _React$useState2[0], - setChecked = _React$useState2[1]; + _defineProperty$1(_assertThisInitialized$1(_this), "updateState", function (year, month, date) { + _this.setState({ + year: year, + month: month, + date: date + }); + }); - React.useEffect(function () { - setIndeterminate(indeterminate); - }, [indeterminate]); - React.useEffect(function () { - if (props.checked !== undefined) { - setChecked(props.checked); - } - }, [props.checked]); - var CheckboxClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Checkbox', true), _defineProperty$2(_classNames, 'Checkbox--disabled', disabled), _classNames), className); - var CheckboxOuterWrapper = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Checkbox-outerWrapper', true), _defineProperty$2(_classNames2, "Checkbox-outerWrapper--".concat(size), size), _classNames2)); - var CheckboxTextClass = classnames(_defineProperty$2({}, 'Checkbox-label', true)); - var CheckboxInputWrapper = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Checkbox-input', true), _defineProperty$2(_classNames4, 'Checkbox-input--checked', checked), _defineProperty$2(_classNames4, 'Checkbox-input--indeterminate', props.indeterminate), _classNames4)); - var CheckboxWrapper = classnames(_defineProperty$2({}, 'Checkbox-wrapper', true)); + _defineProperty$1(_assertThisInitialized$1(_this), "getDateValue", function (year, month, date) { + var d = new Date(year, month, date); + return d; + }); - var setIndeterminate = function setIndeterminate(indeterminateValue) { - ref.current.indeterminate = indeterminateValue; - }; + _defineProperty$1(_assertThisInitialized$1(_this), "getNavDateInfo", function (index) { + var _this$state = _this.state, + yearBlockNav = _this$state.yearBlockNav, + yearNav = _this$state.yearNav, + monthNav = _this$state.monthNav; + var monthBlock = config.monthBlock; + var yearBlock = yearBlockNav; + var month = (monthNav + index) % monthBlock === -1 ? 11 : (monthNav + index) % monthBlock; // const year = yearNav + (index !== 0 && month < monthNav ? 1 : 0); - var onChangeHandler = function onChangeHandler(e) { - if (props.checked === undefined) { - setChecked(e.target.checked); - setIndeterminate(e.target.indeterminate); - } + var year; - if (onChange) onChange(e); - }; + if (index >= 0) { + year = yearNav + (index !== 0 && month < monthNav ? 1 : 0); + } else { + year = yearNav - (index !== 0 && month > monthNav ? 1 : 0); + } - var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); - var IconName = indeterminate ? 'remove' : checked ? 'check' : ''; - var IconSize = size === 'tiny' ? 12 : 16; - return /*#__PURE__*/React.createElement("div", { - className: CheckboxClass - }, /*#__PURE__*/React.createElement("div", { - className: CheckboxOuterWrapper - }, /*#__PURE__*/React.createElement("input", _extends$3({}, rest, { - type: "checkbox", - defaultChecked: defaultChecked, - onChange: onChangeHandler, - checked: checked, - disabled: disabled, - ref: ref, - name: name, - value: value, - className: CheckboxInputWrapper, - tabIndex: tabIndex, - id: id - })), /*#__PURE__*/React.createElement("span", { - className: CheckboxWrapper - }, IconName && /*#__PURE__*/React.createElement(Icon, { - name: IconName, - size: IconSize, - appearance: 'white' - }))), label && label.trim() && /*#__PURE__*/React.createElement("label", { - htmlFor: id, - className: CheckboxTextClass - }, /*#__PURE__*/React.createElement(Text, { - size: size === 'tiny' ? 'small' : 'regular', - appearance: disabled ? 'disabled' : 'default' - }, label.trim()))); -}); -Checkbox.displayName = 'Checkbox'; + return { + yearBlock: yearBlock, + year: year, + month: month + }; + }); -var CheckboxOption = function CheckboxOption(props) { - var className = props.className, - selected = props.selected, - optionData = props.optionData, - onChangeHandler = props.onChangeHandler, - onUpdateActiveOption = props.onUpdateActiveOption, - dataTest = props.dataTest; - var label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { - className: className, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React.createElement(Checkbox, { - label: label, - disabled: disabled, - checked: selected, - onChange: onChangeHandler, - tabIndex: -1, - className: "OptionCheckbox" - })); -}; + _defineProperty$1(_assertThisInitialized$1(_this), "getInRangeError", function () { + var _this$props = _this.props, + rangePicker = _this$props.rangePicker, + rangeLimit = _this$props.rangeLimit; + var _this$state2 = _this.state, + startDateState = _this$state2.startDate, + endDateState = _this$state2.endDate, + hoverDateState = _this$state2.hoverDate; -var DefaultOption = function DefaultOption(props) { - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - appearance = props.appearance, - onUpdateActiveOption = props.onUpdateActiveOption, - dataTest = props.dataTest; - var label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { - className: className, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { - className: textClassName, - appearance: appearance - }, label))); -}; + if (rangePicker && rangeLimit) { + var _getDateInfo = getDateInfo(startDateState), + startYear = _getDateInfo.year, + startMonth = _getDateInfo.month, + _startDate2 = _getDateInfo.date; -var MetaOption = function MetaOption(props) { - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - renderSubInfo = props.renderSubInfo, - appearance = props.appearance, - dataTest = props.dataTest; - var subInfo = optionData.subInfo, - label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { - className: className, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { - className: textClassName, - appearance: appearance - }, label), subInfo && renderSubInfo(subInfo))); -}; + var _getDateInfo2 = getDateInfo(endDateState), + endYear = _getDateInfo2.year, + endMonth = _getDateInfo2.month, + _endDate2 = _getDateInfo2.date; -var IconOption = function IconOption(props) { - var _classNames; + var _getDateInfo3 = getDateInfo(hoverDateState), + hoverYear = _getDateInfo3.year, + hoverMonth = _getDateInfo3.month, + hoverDate = _getDateInfo3.date; - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - appearance = props.appearance, - dataTest = props.dataTest; - var label = optionData.label, - icon = optionData.icon, - disabled = optionData.disabled; - var OptionClass = classnames((_classNames = {}, _defineProperty$2(_classNames, "".concat(className), true), _defineProperty$2(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/React.createElement("div", { - className: OptionClass, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { - className: "Option-icon mr-4", - name: icon, - appearance: appearance - }), /*#__PURE__*/React.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { - className: textClassName, - appearance: appearance - }, label))); -}; + var limitDate; -var IconWithMetaOption = function IconWithMetaOption(props) { - var _classNames; + if (startDateState) { + limitDate = new Date(startDateState); + limitDate.setDate(_startDate2 + rangeLimit); + return compareDate(limitDate, 'less', hoverYear, hoverMonth, hoverDate + 1) || compareDate(limitDate, 'less', endYear, endMonth, _endDate2 + 1); + } - var className = props.className, - textClassName = props.textClassName, - renderSubInfo = props.renderSubInfo, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - appearance = props.appearance, - dataTest = props.dataTest; - var subInfo = optionData.subInfo, - label = optionData.label, - icon = optionData.icon, - disabled = optionData.disabled; - var OptionClass = classnames((_classNames = {}, _defineProperty$2(_classNames, "".concat(className), true), _defineProperty$2(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/React.createElement("div", { - className: OptionClass, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { - className: "Option-icon mr-4", - name: icon, - appearance: appearance - }), /*#__PURE__*/React.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { - className: textClassName, - appearance: appearance - }, label), subInfo && renderSubInfo(subInfo))); -}; + if (endDateState) { + limitDate = new Date(endDateState); + limitDate.setDate(_endDate2 - rangeLimit); + return compareDate(limitDate, 'more', hoverYear, hoverMonth, hoverDate - 1) || compareDate(limitDate, 'more', startYear, startMonth, _startDate2 - 1); + } + } -var _OptionTypeMapping; -var OptionTypeMapping = (_OptionTypeMapping = {}, _defineProperty$2(_OptionTypeMapping, 'DEFAULT', DefaultOption), _defineProperty$2(_OptionTypeMapping, 'WITH_ICON', IconOption), _defineProperty$2(_OptionTypeMapping, 'WITH_META', MetaOption), _defineProperty$2(_OptionTypeMapping, 'WITH_CHECKBOX', CheckboxOption), _defineProperty$2(_OptionTypeMapping, 'ICON_WITH_META', IconWithMetaOption), _OptionTypeMapping); + return false; + }); -var Option = function Option(props) { - var _classNames, _classNames2, _classNames3, _classNames4; + _defineProperty$1(_assertThisInitialized$1(_this), "selectYear", function (year) { + return function () { + _this.updateState(year); - var optionData = props.optionData, - selected = props.selected, - onClick = props.onClick, - updateActiveOption = props.updateActiveOption, - onChange = props.onChange, - active = props.active, - index = props.index, - checkboxes = props.checkboxes, - menu = props.menu; + _this.setState({ + view: 'month' + }); + }; + }); - var _ref = optionData.optionType ? optionData : props, - _ref$optionType = _ref.optionType, - optionType = _ref$optionType === void 0 ? 'DEFAULT' : _ref$optionType; + _defineProperty$1(_assertThisInitialized$1(_this), "yearMouseOverHandler", function (year, isCurrentYear, isDisabled, ev) { + var onYearHover = _this.props.onYearHover; + var yearData = { + value: year, + year: year, + isCurrentYear: isCurrentYear, + isDisabled: isDisabled + }; + if (onYearHover) onYearHover(yearData, ev); + }); - var disabled = optionData.disabled; - var OptionClassName = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Option', true), _defineProperty$2(_classNames, 'Option--active', active), _defineProperty$2(_classNames, 'Option--selected', selected && !menu), _defineProperty$2(_classNames, 'Option--disabled', disabled), _defineProperty$2(_classNames, 'OptionWrapper', true), _classNames)); - var CheckboxClassName = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Option-checkbox', true), _defineProperty$2(_classNames2, 'Option-checkbox--active', active), _defineProperty$2(_classNames2, 'OptionWrapper', true), _classNames2)); - var textClassName = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Option-text', true), _defineProperty$2(_classNames3, 'Option-text--wrap', !props.truncateOption), _classNames3)); - var customOptionClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'OptionWrapper', true), _defineProperty$2(_classNames4, 'OptionWrapper--disabled', disabled), _classNames4)); + _defineProperty$1(_assertThisInitialized$1(_this), "selectMonth", function (month) { + return function () { + _this.updateState(_this.state.yearNav, month); - var onUpdateActiveOption = function onUpdateActiveOption() { - if (disabled) return; - if (updateActiveOption) updateActiveOption(index); - }; + _this.setState({ + view: 'date' + }); + }; + }); - var onClickHandler = function onClickHandler(e) { - e.stopPropagation(); - if (disabled) return; - if (onClick) onClick(); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "monthMouseOverHandler", function (month, isCurrentMonth, isDisabled, ev) { + var months = config.months; + var onMonthHover = _this.props.onMonthHover; + var monthData = { + value: months[month], + month: months[month], + year: _this.state.year, + isCurrentMonth: isCurrentMonth, + isDisabled: isDisabled + }; + if (onMonthHover) onMonthHover(monthData, ev); + }); - var onChangeHandler = function onChangeHandler(e) { - e.stopPropagation(); - if (disabled) return; - if (onChange) onChange(e); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "selectDate", function (index, date, prevMonthDayRange, dayRange) { + var d = _this.calculateDate(index, date, prevMonthDayRange, dayRange, false); - if (props.optionRenderer) { - return /*#__PURE__*/React.createElement("div", _extends$3({ - className: customOptionClass, - "data-disabled": disabled, - onMouseEnter: onUpdateActiveOption - }, !checkboxes && { - onClick: onClick - }), props.optionRenderer({ - optionData: optionData, - selected: selected, - onChange: onChange, - active: active, - index: index - })); - } + _this.setState({ + currDate: d + }); + }); - var renderSubInfo = function renderSubInfo(subInfo) { - var labelAppearance = disabled ? 'disabled' : selected ? 'white' : 'subtle'; - var iconAppearance = selected ? 'white' : 'disabled'; + _defineProperty$1(_assertThisInitialized$1(_this), "calculateDate", function (index, date, prevMonthDayRange, dayRange, isDateHovered) { + var neighbouringMonthIndex; + var neighbouringMonthDate; + var type = ''; + + if (date <= 0) { + neighbouringMonthIndex = index - 1; + neighbouringMonthDate = prevMonthDayRange + date; + type = 'prev'; + } else if (date > dayRange) { + neighbouringMonthIndex = index; + neighbouringMonthDate = date; + } else { + neighbouringMonthIndex = index; + neighbouringMonthDate = date; + } - if (typeof subInfo === 'string') { - return /*#__PURE__*/React.createElement(Text, { - appearance: labelAppearance - }, subInfo); - } + var _this$getNavDateInfo = _this.getNavDateInfo(neighbouringMonthIndex), + year = _this$getNavDateInfo.year, + month = _this$getNavDateInfo.month; - var _subInfo$list = subInfo.list, - list = _subInfo$list === void 0 ? [] : _subInfo$list, - seperator = subInfo.seperator; - return /*#__PURE__*/React.createElement(MetaList, { - list: list, - seperator: seperator, - iconAppearance: iconAppearance, - labelAppearance: labelAppearance, - seperatorAppearance: iconAppearance - }); - }; + if (isDateHovered === false) { + _this.updateState(year, month, neighbouringMonthDate); - var appearance = disabled ? 'disabled' : selected && !menu ? 'white' : 'default'; - var type = checkboxes ? 'WITH_CHECKBOX' : optionType; - var component = OptionTypeMapping[type]; - return component({ - selected: selected, - index: index, - renderSubInfo: renderSubInfo, - optionData: optionData, - textClassName: textClassName, - appearance: appearance, - onClickHandler: onClickHandler, - onChangeHandler: onChangeHandler, - onUpdateActiveOption: onUpdateActiveOption, - dataTest: "DesignSystem-DropdownOption--".concat(type), - className: checkboxes ? CheckboxClassName : OptionClassName - }); -}; + _this.onNavIconClickHandler(type)(); + } -var PlaceholderParagraph = function PlaceholderParagraph(props) { - var _classNames2; + var d = _this.getDateValue(year, month, neighbouringMonthDate); - var length = props.length, - size = props.size, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classnames(_defineProperty$2({ - 'Placeholder--animation': true, - PlaceholderParagraph: true - }, "PlaceholderParagraph--".concat(size), size)); - var wrapperClass = classnames((_classNames2 = { - 'PlaceholderParagraph-wrapper': true - }, _defineProperty$2(_classNames2, "PlaceholderParagraph-wrapper--length-".concat(length), length), _defineProperty$2(_classNames2, "PlaceholderParagraph-wrapper--size-".concat(size), size), _classNames2), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: wrapperClass - }), /*#__PURE__*/React.createElement("span", { - className: classes - })); -}; -PlaceholderParagraph.displayName = 'PlaceholderParagraph'; -PlaceholderParagraph.defaultProps = { - length: 'medium' -}; + return d; + }); -var PlaceholderImage = function PlaceholderImage(props) { - var _classNames; + _defineProperty$1(_assertThisInitialized$1(_this), "onNavIconClickHandler", function (type) { + return function () { + var _this$state3 = _this.state, + view = _this$state3.view, + yearBlockNav = _this$state3.yearBlockNav, + yearNav = _this$state3.yearNav, + monthNav = _this$state3.monthNav; + var yearBlockRange = config.yearBlockRange, + monthBlock = config.monthBlock; - var _props$size = props.size, - size = _props$size === void 0 ? 'small' : _props$size, - round = props.round, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = { - PlaceholderImage: true, - 'Placeholder--animation': true - }, _defineProperty$2(_classNames, 'PlaceholderImage--round', round), _defineProperty$2(_classNames, "PlaceholderImage--".concat(size), size), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$3({}, baseProps, { - className: classes - })); -}; -PlaceholderImage.displayName = 'PlaceholderImage'; -PlaceholderImage.defaultProps = { - size: 'small' -}; + switch (view) { + case 'year': + if (type === 'prev') _this.setState({ + yearBlockNav: yearBlockNav - yearBlockRange + }); + if (type === 'next') _this.setState({ + yearBlockNav: yearBlockNav + yearBlockRange + }); + break; -var Placeholder = function Placeholder(props) { - var imageSize = props.imageSize, - withImage = props.withImage, - round = props.round, - children = props.children, - className = props.className; - var baseProps = extractBaseProps(props); - var paragraphClasses = classnames(_defineProperty$2({ - 'Placeholder-paragraph': true - }, 'Placeholder-paragraph--withImage', withImage)); - var classes = classnames(_defineProperty$2({}, 'Placeholder', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Placeholder" - }, baseProps, { - className: classes - }), withImage && /*#__PURE__*/React.createElement(PlaceholderImage, { - round: round, - size: imageSize, - "data-test": "DesignSystem-Placeholder--Image" - }), children && /*#__PURE__*/React.createElement("div", { - className: paragraphClasses, - "data-test": "DesignSystem-Placeholder--Paragraph" - }, children)); -}; -Placeholder.displayName = 'Placeholder'; -Placeholder.defaultProps = { - withImage: true, - imageSize: 'small' -}; + case 'month': + if (type === 'prev') _this.setState({ + yearNav: yearNav - 1 + }); + if (type === 'next') _this.setState({ + yearNav: yearNav + 1 + }); + break; -var Loading = function Loading(props) { - var loadingType = props.loadingType; + case 'date': + if (type === 'prev') { + if (monthNav === 0) _this.setState({ + yearNav: yearNav - 1 + }); - switch (loadingType) { - case 'DEFAULT': - return /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: 'large' - }); + _this.setState({ + monthNav: (monthBlock + monthNav - 1) % monthBlock + }); + } - case 'WITH_ICON': - return /*#__PURE__*/React__default.createElement(Placeholder, { - withImage: true, - round: true - }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "large" - })); + if (type === 'next') { + if (monthNav === monthBlock - 1) _this.setState({ + yearNav: yearNav + 1 + }); - case 'WITH_META': - return /*#__PURE__*/React__default.createElement(Placeholder, { - withImage: false - }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "large" - }), /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "medium", - size: "xxs" - })); + _this.setState({ + monthNav: (monthNav + 1) % monthBlock + }); + } - case 'WITH_CHECKBOX': - return /*#__PURE__*/React__default.createElement(Placeholder, { - withImage: true - }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "large" - })); + break; + } + }; + }); - case 'ICON_WITH_META': - return /*#__PURE__*/React__default.createElement(Placeholder, { - withImage: true, - round: true, - imageSize: 'medium' - }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "large" - }), /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { - length: "medium", - size: "xxs" - })); - } + _defineProperty$1(_assertThisInitialized$1(_this), "renderJumpButton", function (type) { + var _this$props2 = _this.props, + disabledBefore = _this$props2.disabledBefore, + disabledAfter = _this$props2.disabledAfter, + size = _this$props2.size; + var _this$state4 = _this.state, + view = _this$state4.view, + yearBlockNav = _this$state4.yearBlockNav, + yearNav = _this$state4.yearNav, + monthNav = _this$state4.monthNav; + var disabled = false; - return null; -}; + switch (view) { + case 'year': + if (type === 'prev') { + disabled = compareYearBlock(disabledBefore, 'more', yearBlockNav) || compareYearBlock(disabledBefore, 'equal', yearBlockNav); + } -var alignmentMapping = { - right: 'bottom-start', - left: 'bottom-end' -}; + if (type === 'next') { + disabled = compareYearBlock(disabledAfter, 'less', yearBlockNav) || compareYearBlock(disabledAfter, 'equal', yearBlockNav); + } -var DropdownList = function DropdownList(props) { - var _classNames4, _classNames5; + break; - var _props$listOptions = props.listOptions, - listOptions = _props$listOptions === void 0 ? [] : _props$listOptions, - inputRef = props.inputRef, - _props$align = props.align, - align = _props$align === void 0 ? 'right' : _props$align, - _props$optionType = props.optionType, - optionType = _props$optionType === void 0 ? 'DEFAULT' : _props$optionType, - _props$applyButtonLab = props.applyButtonLabel, - applyButtonLabel = _props$applyButtonLab === void 0 ? 'Apply' : _props$applyButtonLab, - _props$cancelButtonLa = props.cancelButtonLabel, - cancelButtonLabel = _props$cancelButtonLa === void 0 ? 'Cancel' : _props$cancelButtonLa, - _props$truncateOption = props.truncateOption, - truncateOption = _props$truncateOption === void 0 ? true : _props$truncateOption, - _props$withSelectAll = props.withSelectAll, - withSelectAll = _props$withSelectAll === void 0 ? true : _props$withSelectAll, - _props$maxHeight = props.maxHeight, - maxHeight = _props$maxHeight === void 0 ? 200 : _props$maxHeight, - customTrigger = props.customTrigger, - selected = props.selected, - tempSelected = props.tempSelected, - previousSelected = props.previousSelected, - remainingOptions = props.remainingOptions, - firstEnabledOption = props.firstEnabledOption, - dropdownOpen = props.dropdownOpen, - menu = props.menu, - searchTerm = props.searchTerm, - showApplyButton = props.showApplyButton, - withCheckbox = props.withCheckbox, - withSearch = props.withSearch, - popoverOptions = props.popoverOptions, - onSearchChange = props.onSearchChange, - optionRenderer = props.optionRenderer, - applyOptions = props.applyOptions, - cancelOptions = props.cancelOptions, - toggleDropdown = props.toggleDropdown, - className = props.className; - var baseProps = extractBaseProps(props); - var dropdownRef = /*#__PURE__*/React.createRef(); - var triggerRef = /*#__PURE__*/React.createRef(); - var dropdownTriggerRef = /*#__PURE__*/React.createRef(); - var dropdownCancelButtonRef = /*#__PURE__*/React.createRef(); - var dropdownApplyButtonRef = /*#__PURE__*/React.createRef(); + case 'month': + if (type === 'prev') { + disabled = compareDate(disabledBefore, 'more', yearNav - 1); + } - var _React$useState = React.useState(), - _React$useState2 = _slicedToArray(_React$useState, 2), - popoverStyle = _React$useState2[0], - setPopoverStyle = _React$useState2[1]; + if (type === 'next') { + disabled = compareDate(disabledAfter, 'less', yearNav + 1); + } - var _React$useState3 = React.useState(firstEnabledOption), - _React$useState4 = _slicedToArray(_React$useState3, 2), - cursor = _React$useState4[0], - setCursor = _React$useState4[1]; + break; - React.useEffect(function () { - if (dropdownOpen) { - var _triggerRef$current; + case 'date': + if (type === 'prev') { + disabled = compareDate(disabledBefore, 'more', yearNav, monthNav - 1); + } - var width = props.width, - minWidth = props.minWidth, - maxWidth = props.maxWidth; - var popperWidth = (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.clientWidth; - var popperMinWidth = showApplyButton ? 176 : menu ? 128 : popperWidth; - var popperWrapperStyle = { - width: width ? width : popperWidth, - minWidth: minWidth ? minWidth : popperMinWidth, - maxWidth: maxWidth ? maxWidth : '100%' - }; - setPopoverStyle(popperWrapperStyle); - } - }, [dropdownOpen]); - React.useEffect(function () { - if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); - }, [firstEnabledOption]); - var _props$triggerSize = props.triggerSize, - triggerSize = _props$triggerSize === void 0 ? 'regular' : _props$triggerSize, - _props$placeholder = props.placeholder, - placeholder = _props$placeholder === void 0 ? 'Select' : _props$placeholder, - icon = props.icon, - error = props.error, - disabled = props.disabled, - inlineLabel = props.inlineLabel, - triggerLabel = props.triggerLabel; - var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null); - var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, { - tabIndex: 0, - ref: dropdownTriggerRef - }); - var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React.createElement(DropdownButton, { - placeholder: placeholder, - triggerSize: triggerSize, - open: dropdownOpen, - icon: icon, - disabled: disabled, - inlineLabel: inlineLabel, - menu: menu, - error: error, - ref: dropdownTriggerRef - }, triggerLabel); - var dropdownStyle = { - maxHeight: maxHeight, - overflowY: 'auto', - overflowX: 'hidden' - }; + if (type === 'next') { + disabled = compareDate(disabledAfter, 'less', yearNav, monthNav + 1); + } - var getDropdownClass = function getDropdownClass(index, isGroup) { - var Dropdown = classnames(_defineProperty$2({}, 'Dropdown--border', isGroup && index !== 0)); - return Dropdown; - }; + break; + } - var getDropdownSectionClass = function getDropdownSectionClass(showClearButton) { - var _classNames2; + var headerIconClass = classnames(_defineProperty$1({ + 'Calendar-headerIcon': true + }, "Calendar-headerIcon--".concat(type), type)); + return /*#__PURE__*/React.createElement(Button, { + type: "button", + className: headerIconClass, + appearance: "basic", + icon: "arrow_".concat(type === 'next' ? 'forward' : 'back'), + disabled: disabled, + size: size === 'small' ? 'tiny' : 'regular', + onClick: _this.onNavIconClickHandler(type) + }); + }); - return classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Dropdown-section', true), _defineProperty$2(_classNames2, 'Dropdown-section--withClear', showClearButton), _classNames2)); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "onNavHeadingClickHandler", function (currView) { + return function () { + var monthsInView = _this.props.monthsInView; + var jumpView = _this.props.jumpView; - var dropdownClass = classnames(_defineProperty$2({}, 'Dropdown', true), className); - var dropdownWrapperClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Dropdown-wrapper', true), _defineProperty$2(_classNames4, 'Dropdown-wrapper--wrap', !truncateOption), _classNames4)); - var SelectAllClass = classnames((_classNames5 = {}, _defineProperty$2(_classNames5, 'Option-checkbox', true), _defineProperty$2(_classNames5, 'Option-checkbox--active', cursor === 0), _defineProperty$2(_classNames5, 'OptionWrapper', true), _classNames5)); + if (jumpView) { + if (monthsInView > 1) jumpView = false; + } - var onToggleDropdown = function onToggleDropdown(open, type) { - var _dropdownTriggerRef$c; + if (jumpView) { + if (currView === 'year') _this.setState({ + view: 'date' + }); + if (currView === 'month') _this.setState({ + view: 'year' + }); + if (currView === 'date') _this.setState({ + view: 'month' + }); + } + }; + }); - toggleDropdown(open, type); - if (!disabled) (_dropdownTriggerRef$c = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c === void 0 ? void 0 : _dropdownTriggerRef$c.focus(); - setCursor(firstEnabledOption); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "renderHeaderContent", function (index) { + var _this$props3 = _this.props, + size = _this$props3.size, + monthsInView = _this$props3.monthsInView, + rangePicker = _this$props3.rangePicker; + var _this$state5 = _this.state, + view = _this$state5.view, + yearBlockNav = _this$state5.yearBlockNav; + var yearBlockRange = config.yearBlockRange, + months = config.months; - var onCancelOptions = function onCancelOptions() { - var _dropdownTriggerRef$c2; + var _this$getNavDateInfo2 = _this.getNavDateInfo(index), + yearNavVal = _this$getNavDateInfo2.year, + monthNavVal = _this$getNavDateInfo2.month; - cancelOptions(); - (_dropdownTriggerRef$c2 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c2 === void 0 ? void 0 : _dropdownTriggerRef$c2.focus(); - }; + var headerContentClass = classnames({ + 'Calendar-headerContent': true, + 'Calendar-headerContent--noIcon-left': index === monthsInView - 1, + 'Calendar-headerContent--noIcon-right': index === 0 + }); + var headerContent = ''; + if (view === 'year') headerContent = "".concat(yearBlockNav, " - ").concat(yearBlockNav + (yearBlockRange - 1)); + if (view === 'month') headerContent = "".concat(yearNavVal); - var onApplyOptions = function onApplyOptions() { - var _dropdownTriggerRef$c3; + var renderHeading = function renderHeading(content) { + if (size === 'small') { + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { + weight: "strong" + }, content), view !== 'year' && !rangePicker && /*#__PURE__*/React.createElement(Icon, { + appearance: "inverse", + className: "pl-3", + name: "keyboard_arrow_down" + })); + } - applyOptions(); - (_dropdownTriggerRef$c3 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c3 === void 0 ? void 0 : _dropdownTriggerRef$c3.focus(); - }; + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Heading, { + size: "s" + }, content), view !== 'year' && !rangePicker && /*#__PURE__*/React.createElement(Icon, { + appearance: "inverse", + className: "pl-3", + name: "keyboard_arrow_down" + })); + }; - var optionClickHandler = function optionClickHandler(item) { - var _dropdownTriggerRef$c4; + return /*#__PURE__*/React.createElement("div", { + className: headerContentClass + }, view !== 'date' && + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + className: "d-flex justify-content-center align-items-center", + onClick: _this.onNavHeadingClickHandler(view) + }, renderHeading(headerContent)), view === 'date' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + onClick: _this.onNavHeadingClickHandler(view), + className: "d-flex justify-content-center align-items-center" + }, renderHeading(months[monthNavVal])), /*#__PURE__*/React.createElement("div", { + className: "ml-4 d-flex justify-content-center align-items-center", + onClick: _this.onNavHeadingClickHandler('month') + }, renderHeading(yearNavVal)))); + }); - props.onOptionSelect(item); - (_dropdownTriggerRef$c4 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c4 === void 0 ? void 0 : _dropdownTriggerRef$c4.focus(); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "renderBodyYear", function () { + var yearBlockRange = config.yearBlockRange, + yearsInRow = config.yearsInRow; + var _this$props4 = _this.props, + size = _this$props4.size, + rangePicker = _this$props4.rangePicker, + disabledBefore = _this$props4.disabledBefore, + disabledAfter = _this$props4.disabledAfter; + var _this$state6 = _this.state, + yearBlockNav = _this$state6.yearBlockNav, + currYear = _this$state6.currYear; + var noOfRows = Math.ceil(yearBlockRange / yearsInRow); + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: yearsInRow + }, function (_x, col) { + var _classNames2; - var searchClearHandler = function searchClearHandler() { - setCursor(firstEnabledOption); - if (onSearchChange && searchTerm) onSearchChange(''); - }; + var offset = yearsInRow * row + col; + if (offset === yearBlockNav) return undefined; + var year = yearBlockNav + offset; + var disabled = compareDate(disabledBefore, 'more', year) || compareDate(disabledAfter, 'less', year); + var active = !disabled && !rangePicker && year === _this.state.year; - var searchHandler = function searchHandler(event) { - setCursor(firstEnabledOption); - if (onSearchChange) onSearchChange(event.target.value); - }; + var isCurrentYear = function isCurrentYear() { + return year === currYear; + }; - var updateActiveOption = function updateActiveOption(index, parentCheckbox) { - var updatedIndex = withCheckbox && withSelectAll && !props.async && !parentCheckbox ? index + 1 : index; - setCursor(updatedIndex); - }; + var valueClass = classnames((_classNames2 = { + 'Calendar-value': true, + 'Calendar-value--active': active, + 'Calendar-value--disabled': disabled, + 'Calendar-yearValue': true + }, _defineProperty$1(_classNames2, "Calendar-yearValue--".concat(size), size), _defineProperty$1(_classNames2, 'Calendar-value--currDateMonthYear', isCurrentYear()), _classNames2)); + var textClass = classnames({ + 'Calendar-value--currDate': isCurrentYear() && !active, + 'Calendar-text': true + }); + var getTextColor = classnames({ + inverse: !active && !isCurrentYear() && !disabled, + white: active, + 'primary-lighter': isCurrentYear() && disabled, + primary: isCurrentYear(), + 'inverse-lightest': disabled + }); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + key: "".concat(row, "-").concat(col), + "data-test": "DesignSystem-Calendar--yearValue", + className: valueClass, + onClick: _this.selectYear(year), + onMouseOver: _this.yearMouseOverHandler.bind(_assertThisInitialized$1(_this), year, isCurrentYear(), disabled) + }, /*#__PURE__*/React.createElement(Text, { + size: size === 'small' ? 'small' : 'regular', + color: getTextColor, + className: textClass + }, year)) + ); + })); + }); + }); - var renderFooter = function renderFooter() { - var _props$footerLabel = props.footerLabel, - footerLabel = _props$footerLabel === void 0 ? 'Search for more options' : _props$footerLabel; - return /*#__PURE__*/React.createElement("div", { - className: 'Dropdown-footer' - }, /*#__PURE__*/React.createElement(Text, { - size: "small", - appearance: 'subtle' - }, footerLabel)); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "renderBodyMonth", function () { + var monthBlock = config.monthBlock, + monthsInRow = config.monthsInRow, + months = config.months; + var _this$props5 = _this.props, + size = _this$props5.size, + disabledBefore = _this$props5.disabledBefore, + disabledAfter = _this$props5.disabledAfter; + var _this$state7 = _this.state, + yearNav = _this$state7.yearNav, + year = _this$state7.year, + currYear = _this$state7.currYear, + currMonth = _this$state7.currMonth; + var noOfRows = Math.ceil(monthBlock / monthsInRow); + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: monthsInRow + }, function (_x, col) { + var _classNames3; - var renderGroups = function renderGroups(group, selectedGroup) { - var onClearOptions = props.onClearOptions; - var isClearDisabled = selected.every(function (option) { - return option.disabled; - }); - return /*#__PURE__*/React.createElement("div", { - className: getDropdownSectionClass(selectedGroup) - }, /*#__PURE__*/React.createElement(Text, { - size: "small", - appearance: 'subtle' - }, group), selectedGroup && /*#__PURE__*/React.createElement(Button, { - onClick: onClearOptions, - disabled: isClearDisabled, - appearance: "transparent", - size: "tiny", - type: "button" - }, "Clear")); - }; + var month = monthsInRow * row + col; + var disabled = compareDate(disabledBefore, 'more', yearNav, month) || compareDate(disabledAfter, 'less', yearNav, month); + var active = !disabled && year === yearNav && month === _this.state.month; - var renderApplyButton = function renderApplyButton() { - var disable = _isEqual(previousSelected, tempSelected); + var isCurrentMonth = function isCurrentMonth() { + return currYear === yearNav && currMonth === month; + }; - return /*#__PURE__*/React.createElement("div", { - className: 'Dropdown-buttonWrapper' - }, /*#__PURE__*/React.createElement(Button, { - ref: dropdownCancelButtonRef, - className: "mr-4", - appearance: 'basic', - onClick: onCancelOptions, - size: 'tiny', - tabIndex: -1, - type: "button" - }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, { - ref: dropdownApplyButtonRef, - appearance: 'primary', - disabled: disable, - size: 'tiny', - onClick: onApplyOptions, - type: "button" - }, applyButtonLabel)); - }; + var valueClass = classnames((_classNames3 = { + 'Calendar-value': true, + 'Calendar-value--active': active, + 'Calendar-value--disabled': disabled, + 'Calendar-monthValue': true + }, _defineProperty$1(_classNames3, "Calendar-monthValue--".concat(size), size), _defineProperty$1(_classNames3, 'Calendar-value--currDateMonthYear', isCurrentMonth()), _classNames3)); + var getTextColor = classnames({ + inverse: !active && !isCurrentMonth() && !disabled, + white: active, + 'primary-lighter': isCurrentMonth() && disabled, + primary: isCurrentMonth(), + 'inverse-lightest': disabled + }); + var textClass = classnames({ + 'Calendar-value--currDate': isCurrentMonth() && !active, + 'Calendar-text': true + }); + return ( + /*#__PURE__*/ + //TODO(a11y) + //eslint-disable-next-line + React.createElement("div", { + key: "".concat(row, "-").concat(col), + "data-test": "DesignSystem-Calendar--monthValue", + className: valueClass, + onClick: _this.selectMonth(month), + onMouseOver: _this.monthMouseOverHandler.bind(_assertThisInitialized$1(_this), month, isCurrentMonth(), disabled) + }, /*#__PURE__*/React.createElement(Text, { + size: size === 'small' ? 'small' : 'regular', + color: getTextColor, + className: textClass + }, months[month])) + ); + })); + }); + }); - var renderSearch = function renderSearch() { - return /*#__PURE__*/React.createElement("div", { - className: 'Dropdown-inputWrapper' - }, /*#__PURE__*/React.createElement(Input, { - name: "Dropdown-search", - icon: 'search', - value: searchTerm, - placeholder: 'Search..', - autoFocus: true, - onChange: searchHandler, - onClear: searchClearHandler, - ref: inputRef, - autoComplete: 'off', - className: "Dropdown-input" - })); - }; + _defineProperty$1(_assertThisInitialized$1(_this), "onDateRowMouseLeaveHandler", function () { + var rangePicker = _this.props.rangePicker; - var renderLoading = function renderLoading(loadersLength) { - var arr = Array(loadersLength).fill('Loading'); - var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; - return arr.map(function (option, ind) { - return /*#__PURE__*/React.createElement("div", { - className: "Option-loading", - key: "".concat(option, "-").concat(ind) - }, /*#__PURE__*/React.createElement(Loading, { - loadingType: type - })); + if (rangePicker) { + _this.setState({ + hoverDate: undefined + }); + } }); - }; - var renderSelectAll = function renderSelectAll() { - var _props$selectAllLabel = props.selectAllLabel, - selectAllLabel = _props$selectAllLabel === void 0 ? 'Select All' : _props$selectAllLabel, - selectAll = props.selectAll, - onSelectAll = props.onSelectAll; - var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; - return /*#__PURE__*/React.createElement("div", { - className: SelectAllClass, - onMouseEnter: function onMouseEnter(_e) { - return updateActiveOption(0, true); - } - }, /*#__PURE__*/React.createElement(Checkbox, { - label: label, - onChange: onSelectAll, - checked: selectAll.checked, - indeterminate: selectAll.indeterminate, - tabIndex: -1, - className: "OptionCheckbox" - })); - }; - - var renderOptions = function renderOptions(item, index) { - // const selectAllPresent = withCheckbox - // && remainingOptions === 0 - // && searchTerm === '' - // && withSelectAll; - var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); - - var active = selectAllPresent ? index + 1 === cursor : index === cursor; - var optionIsSelected = tempSelected.findIndex(function (option) { - return option.value === item.value; - }) !== -1; - return /*#__PURE__*/React.createElement(Option, { - optionData: item, - truncateOption: truncateOption, - selected: optionIsSelected, - index: index, - updateActiveOption: updateActiveOption, - optionRenderer: optionRenderer, - active: active, - checkboxes: withCheckbox, - menu: menu, - onClick: function onClick() { - return optionClickHandler(item); - }, - onChange: function onChange(e) { - return props.onSelect(item, e.target.checked); - }, - optionType: props.optionType + _defineProperty$1(_assertThisInitialized$1(_this), "renderBodyDate", function (index) { + var daysInRow = config.daysInRow, + days = config.days; + var _this$props6 = _this.props, + size = _this$props6.size, + firstDayOfWeek = _this$props6.firstDayOfWeek; + var textSize = size === 'large' ? 'regular' : 'small'; + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + className: "Calendar-dayValues" + }, Array.from({ + length: 7 + }, function (_x, day) { + var valueClass = classnames({ + 'Calendar-valueWrapper': true + }); + var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; + return /*#__PURE__*/React.createElement(Text, { + key: day, + className: valueClass, + appearance: "default", + weight: "strong", + size: textSize + }, days[size][dayValue]); + })), /*#__PURE__*/React.createElement("div", { + className: "Calendar-dateValues", + onMouseLeave: _this.onDateRowMouseLeaveHandler + }, _this.renderDateValues(index))); }); - }; - - var renderDropdownSection = function renderDropdownSection() { - var _props$selectedSectio = props.selectedSectionLabel, - selectedSectionLabel = _props$selectedSectio === void 0 ? 'Selected Items' : _props$selectedSectio, - _props$loadersCount = props.loadersCount, - loadersCount = _props$loadersCount === void 0 ? 10 : _props$loadersCount, - loadingOptions = props.loadingOptions; - var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); + _defineProperty$1(_assertThisInitialized$1(_this), "renderDateValues", function (index) { + var daysInRow = config.daysInRow, + monthBlock = config.monthBlock; + var _this$props7 = _this.props, + size = _this$props7.size, + rangePicker = _this$props7.rangePicker, + firstDayOfWeek = _this$props7.firstDayOfWeek, + disabledBefore = _this$props7.disabledBefore, + disabledAfter = _this$props7.disabledAfter, + monthsInView = _this$props7.monthsInView, + onDateHover = _this$props7.onDateHover; + var _this$state8 = _this.state, + startDate = _this$state8.startDate, + endDate = _this$state8.endDate, + hoverDate = _this$state8.hoverDate, + yearState = _this$state8.year, + monthState = _this$state8.month, + dateState = _this$state8.date, + currMonth = _this$state8.currMonth, + currYear = _this$state8.currYear, + todayDate = _this$state8.todayDate; - if (loadersCount && loadingOptions) { - return /*#__PURE__*/React.createElement("div", { - className: 'Dropdown-loading' - }, /*#__PURE__*/React.createElement("div", { - className: "Dropdown-wrapper", - style: dropdownStyle - }, renderLoading(loadersCount))); - } + var _this$getNavDateInfo3 = _this.getNavDateInfo(index), + yearNavVal = _this$getNavDateInfo3.year, + monthNavVal = _this$getNavDateInfo3.month; - if (listOptions.length === 0 && !loadingOptions) { - var _props$noResultMessag = props.noResultMessage, - noResultMessage = _props$noResultMessag === void 0 ? 'No result found' : _props$noResultMessag; - return /*#__PURE__*/React.createElement("div", { - className: 'Dropdown-errorWrapper' - }, /*#__PURE__*/React.createElement("div", { - className: 'Option' - }, /*#__PURE__*/React.createElement("div", { - className: 'Option-subinfo' - }, noResultMessage))); - } + var prevMonth = monthNavVal - 1; + var prevYear = yearNavVal; + var prevMonthDayRange = getDaysInMonth(prevYear, prevMonth); + var dayRange = getDaysInMonth(yearNavVal, monthNavVal); + var dayDiff = getFirstDayOfMonth(yearNavVal, monthNavVal) - getIndexOfDay(firstDayOfWeek); + var dummyDays = Math.abs(dayDiff); + var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); // if(noOfRows !== 6 && monthsInView <= 1) ? - return /*#__PURE__*/React.createElement("div", { - className: dropdownWrapperClass, - style: dropdownStyle, - ref: dropdownRef - }, selectAllPresent && renderSelectAll(), selected.length > 0 && renderGroups(selectedSectionLabel, true), selected.map(function (option, index) { - return renderOptions(option, index); - }), listOptions.map(function (option, index) { - var prevGroup = index > 0 ? listOptions[index - 1].group : selected.length ? selectedSectionLabel : undefined; - var currentGroup = option.group; - var isGroup = prevGroup !== currentGroup; - var updatedIndex = index + selected.length; - return /*#__PURE__*/React.createElement("div", { - className: getDropdownClass(updatedIndex, isGroup), - key: index - }, isGroup && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); - }), props.async && remainingOptions > 0 && renderFooter()); - }; + if (noOfRows === 6) ; else if (monthsInView > 1) ; else { + noOfRows = noOfRows + 1; + } - var focusOption = function focusOption(direction, classes) { - var elements = document.querySelectorAll(classes); - var updatedCursor = direction === 'down' ? cursor + 1 : cursor - 1; - var startIndex = updatedCursor; - var endIndex = direction === 'down' ? elements.length : -1; + var inRangeError = _this.getInRangeError(); - while (startIndex !== endIndex) { - var node = elements[startIndex]; + var events = _this.props.events; - if (node.getAttribute('data-disabled') !== 'true') { - var element = elements[startIndex]; - if (element) scrollIntoView(dropdownRef.current, element); - if (element !== undefined) setCursor(startIndex); - break; - } + var onClickHandler = function onClickHandler(date) { + return function () { + if (rangePicker) { + if (startDate && endDate) { + _this.selectDate(index, date, prevMonthDayRange, dayRange); + } else { + if (!inRangeError) _this.selectDate(index, date, prevMonthDayRange, dayRange); + } + } else { + _this.selectDate(index, date, prevMonthDayRange, dayRange); + } + }; + }; - if (direction === 'down') { - startIndex++; - } else { - startIndex--; - } - } - }; + var onMouseOverHandler = function onMouseOverHandler(date) { + return function () { + if (rangePicker) { + var d = _this.getDateValue(yearNavVal, monthNavVal, date); - var onkeydown = function onkeydown(event) { - var _dropdownApplyButtonR; + if (!startDate || !endDate) { + _this.setState({ + hoverDate: d + }); + } + } + }; + }; - var optionClass = '.OptionWrapper'; + var onMouseEnterHandler = function onMouseEnterHandler(date, isToday, isDisabled, ev) { + var d = _this.calculateDate(index, date, prevMonthDayRange, dayRange, true) || new Date(); + var months = config.months, + days = config.days; + var dayName = days.large[d.getDay()]; + var dateData = { + value: d.getDate(), + isToday: isToday, + isDisabled: isDisabled, + todayDate: _this.state.currDate, + fullDate: d, + date: d.getDate(), + month: months[d.getMonth()], + year: d.getFullYear(), + dayName: dayName + }; + if (onDateHover) onDateHover(dateData, ev); + }; - switch (event.key) { - case 'ArrowDown': - event.preventDefault(); - dropdownOpen ? focusOption('down', optionClass) : onToggleDropdown(!dropdownOpen); - break; + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: daysInRow + }, function (_x, col) { + var _classNames4; - case 'ArrowUp': - event.preventDefault(); - dropdownOpen ? focusOption('up', optionClass) : onToggleDropdown(!dropdownOpen); - break; + var date = daysInRow * row + col - dummyDays + 1; + var dummy = date <= 0 || date > dayRange; + var disabled = compareDate(disabledBefore, 'more', yearNavVal, monthNavVal, date) || compareDate(disabledAfter, 'less', yearNavVal, monthNavVal, date); + var active = !disabled && yearState === yearNavVal && monthState === monthNavVal && dateState === date; - case 'Enter': - var activeElement = document.activeElement; - - if (dropdownOpen && (inputRef.current === activeElement || dropdownTriggerRef.current === activeElement)) { - event.preventDefault(); - var classes = withCheckbox ? "".concat(optionClass, " .Checkbox-input") : optionClass; - var elements = document.querySelectorAll(classes); - var element = elements[cursor]; - if (element) element.click(); - } + var today = function today() { + var boolVal; - if (!dropdownOpen) onToggleDropdown(!dropdownOpen); - break; + if (date <= 0) { + boolVal = currYear === yearNavVal && currMonth === monthNavVal - 1 && todayDate === prevMonthDayRange + date; + } else if (date > dayRange) { + boolVal = currYear === yearNavVal && currMonth === monthNavVal + 1 && todayDate === date - dayRange; + } else { + boolVal = currYear === yearNavVal && currMonth === monthNavVal && todayDate === date; + } - case 'Tab': - if (!showApplyButton && dropdownOpen) { - event.preventDefault(); - onToggleDropdown(false, 'onClick'); - return; - } + return boolVal; + }; - var currentElement = document.activeElement; - var disabledApplyButton = (_dropdownApplyButtonR = dropdownApplyButtonRef.current) === null || _dropdownApplyButtonR === void 0 ? void 0 : _dropdownApplyButtonR.disabled; + var startActive = false; + var endActive = false; + var inRange = false; + var inRangeLast = false; - if ((currentElement === dropdownCancelButtonRef.current && disabledApplyButton || currentElement === dropdownApplyButtonRef.current) && dropdownOpen) { - event.preventDefault(); - onToggleDropdown(false, 'onClick'); - return; - } + var _getDateInfo4 = getDateInfo(startDate), + sYear = _getDateInfo4.year, + sMonth = _getDateInfo4.month, + sDate = _getDateInfo4.date; - if (showApplyButton && dropdownOpen) { - event.preventDefault(); + var _getDateInfo5 = getDateInfo(endDate), + eYear = _getDateInfo5.year, + eMonth = _getDateInfo5.month, + eDate = _getDateInfo5.date; - if (currentElement === dropdownCancelButtonRef.current) { - var _dropdownApplyButtonR2; + var isStart = startActive || endDate && inRangeLast && compareDate(hoverDate, 'less', eYear, eMonth, eDate); + var isEnd = endActive || startDate && inRangeLast && compareDate(hoverDate, 'more', sYear, sMonth, sDate); + var dateInString = "".concat(date <= 0 ? prevMonthDayRange + date : date > dayRange ? date - dayRange : date); + var monthInString = "".concat(date <= 0 ? monthNavVal === 0 ? monthNavVal + monthBlock : (monthNavVal - 1) % monthBlock + 1 : date > dayRange ? (monthNavVal + 1) % monthBlock + 1 : monthNavVal + 1); + var yearInString = "".concat(date <= 0 && monthNavVal + 1 === 1 ? yearNavVal - 1 : date > dayRange && monthNavVal + 1 === 12 ? yearNavVal + 1 : yearNavVal); + var completeDateString = "".concat(monthInString.length === 2 ? monthInString : "0".concat(monthInString), "/").concat(dateInString.length === 2 ? dateInString : "0".concat(dateInString), "/").concat(yearInString); + var isEventExist = events && _typeof(events) === 'object' && events.hasOwnProperty(completeDateString); - (_dropdownApplyButtonR2 = dropdownApplyButtonRef.current) === null || _dropdownApplyButtonR2 === void 0 ? void 0 : _dropdownApplyButtonR2.focus(); - } else { - var _dropdownCancelButton; + if (rangePicker) { + startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date); + endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date); + inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date); + active = !disabled && (startActive || endActive); - (_dropdownCancelButton = dropdownCancelButtonRef.current) === null || _dropdownCancelButton === void 0 ? void 0 : _dropdownCancelButton.focus(); + if (startDate && endDate) { + inRange = !disabled && (dateComparison(startDate, 'less', dateInString, monthInString, yearInString) && dateComparison(endDate, 'more', dateInString, monthInString, yearInString) || startActive || endActive); + } else if (startDate) { + inRange = !disabled && (dateComparison(hoverDate, 'more', dateInString, monthInString, yearInString) || inRangeLast) && dateComparison(startDate, 'less', dateInString, monthInString, yearInString); + } else if (endDate) { + inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date); + } } - } - - break; - } - }; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: dropdownClass, - ref: triggerRef, - onKeyDown: onkeydown - }), /*#__PURE__*/React.createElement(Popover, _extends$3({ - onToggle: onToggleDropdown, - trigger: trigger, - triggerClass: !menu ? 'w-100' : '', - open: dropdownOpen, - customStyle: popoverStyle, - position: alignmentMapping[align] - }, popoverOptions), (withSearch || props.async) && renderSearch(), renderDropdownSection(), showApplyButton && withCheckbox && renderApplyButton())); -}; + var isRangeError = inRange && inRangeError; + var isStartActive = startDate && dateComparison(startDate, 'equal', dateInString, monthInString, yearInString); + var isEndActive = endDate && dateComparison(endDate, 'equal', dateInString, monthInString, yearInString); + var activeDate = startDate && endDate && (isStartActive || isEndActive); + var isHoverLast = dateComparison(hoverDate, 'equal', dateInString, monthInString, yearInString) && hoverDate && startDate && hoverDate >= startDate; + var isEdgeElement = col === 0 || col === 6; + var isValueRange = inRange || rangePicker && (active || activeDate); + var wrapperClass = classnames({ + 'Calendar-valueWrapper': true, + 'Calendar-valueWrapper--inRange': !isEdgeElement && isValueRange, + 'Calendar-valueWrapper--inEdgeRange': isValueRange && isEdgeElement, + 'Calendar-valueWrapper--inRangeError': isRangeError, + 'Calendar-valueWrapper--start': isStart && !isEnd && col !== 6 || rangePicker && isStartActive && col !== 6, + 'Calendar-valueWrapper--end': isEnd && !isStart && col !== 0 || rangePicker && isEndActive && col !== 0, + 'Calendar-valueWrapper--startEnd': isStart && isEnd, + 'Calendar-valueWrapper--startError': isStart && isRangeError || rangePicker && isRangeError && isStartActive, + 'Calendar-valueWrapper--endError': isEnd && isRangeError || rangePicker && isRangeError && isEndActive, + 'Calendar-valueWrapper--dummy': dummy, + 'Calendar-valueWrapper--hoverDate': rangePicker && isHoverLast, + 'Calendar-valueWrapper--inStartRange': isValueRange && col === 0 && !active && !activeDate, + 'Calendar-valueWrapper--inEndRange': isValueRange && col === 6 && !active && !activeDate + }); + var valueClass = classnames((_classNames4 = { + 'Calendar-value': true, + 'Calendar-inRangeValue': !isStart && !isEnd && !active && !activeDate, + 'Calendar-value--start': isStart && !isEnd, + 'Calendar-value--end': isEnd && !isStart, + 'Calendar-value--startError': isStart && isRangeError, + 'Calendar-value--endError': isEnd && isRangeError, + 'Calendar-value--active': active || activeDate, + 'Calendar-value--disabled': disabled, + 'Calendar-dateValue': true + }, _defineProperty$1(_classNames4, "Calendar-dateValue--".concat(size), size), _defineProperty$1(_classNames4, 'Calendar-value--currDateMonthYear', today()), _defineProperty$1(_classNames4, 'Calendar-value--currDate', today() && !active && !activeDate), _classNames4)); + var getTextColor = classnames({ + inverse: !active && !today() && !disabled && !activeDate, + white: active || activeDate, + 'primary-lighter': today() && disabled, + primary: today(), + 'inverse-lightest': disabled + }); + return /*#__PURE__*/React.createElement("div", { + key: "".concat(row, "-").concat(col), + className: wrapperClass, + "data-test": "designSystem-Calendar-WrapperClass" + }, !dummy && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { + color: getTextColor, + size: size === 'small' ? 'small' : 'regular', + "data-test": "DesignSystem-Calendar--dateValue", + className: valueClass, + onClick: onClickHandler(date), + onMouseOver: onMouseOverHandler(date), + onMouseEnter: onMouseEnterHandler.bind(_assertThisInitialized$1(_this), date, today(), disabled) + }, date), isEventExist && _this.renderEventsIndicator(size, active)), (dummy && date > 0 && index === monthsInView - 1 || dummy && date <= 0 && index === 0) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { + appearance: active || activeDate ? 'white' : disabled ? 'disabled' : today() ? 'link' : 'default', + size: size === 'small' ? 'small' : 'regular', + "data-test": "DesignSystem-Calendar--dateValue", + className: valueClass, + onClick: onClickHandler(date), + onMouseOver: onMouseOverHandler(date), + onMouseEnter: onMouseEnterHandler.bind(_assertThisInitialized$1(_this), date, today(), disabled) + }, date <= 0 ? prevMonthDayRange + date : date - dayRange), isEventExist && _this.renderEventsIndicator(size, active))); + })); + }); + }); -DropdownList.displayName = 'DropdownList'; + _defineProperty$1(_assertThisInitialized$1(_this), "renderCalendar", function (index) { + var _classNames5; -var _excluded$v = ["triggerOptions", "selected"]; -var inputRef = /*#__PURE__*/React.createRef(); - -/** - * ###Note: - * 1. Dropdown props types: - * - async: fetchOptions - * - sync: options, loading - * 2. Sync Dropdown: - * - Manually toggle loading state to update options (Options <= staticLimit). - * 3. Callback Functions - * - Controlled Dropdown: - * * onUpdate: Called when user `clicks on option` / `clicks on Clear, Cancel or Apply button`. - * * onChange: Called when selected options are updated. - * - Uncontrolled Dropdown: - * * onChange: Called when user `clicks on option` / `clicks on Clear, or Apply button`. - */ -var Dropdown = /*#__PURE__*/function (_React$Component) { - _inherits$1(Dropdown, _React$Component); - - var _super = _createSuper$1(Dropdown); + var _this$props8 = _this.props, + size = _this$props8.size, + monthsInView = _this$props8.monthsInView; + var view = _this.state.view; + var containerClass = classnames((_classNames5 = {}, _defineProperty$1(_classNames5, 'Calendar', true), _defineProperty$1(_classNames5, "Calendar-".concat(view, "--").concat(size), view), _defineProperty$1(_classNames5, "Calendar--".concat(size), size), _classNames5)); + var headerClass = classnames(_defineProperty$1({}, "Calendar-header--".concat(size), size)); + var bodyClass = classnames({ + 'Calendar-body': true + }); + return /*#__PURE__*/React.createElement("div", { + key: index, + "data-test": "DesignSystem-Calendar", + className: containerClass + }, /*#__PURE__*/React.createElement("div", { + className: headerClass + }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React.createElement("div", { + className: bodyClass + }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); + }); - function Dropdown(props) { - var _this; + var _this$props9 = _this.props, + _rangePicker = _this$props9.rangePicker, + _startDate = _this$props9.startDate, + _endDate = _this$props9.endDate, + _monthsInView = _this$props9.monthsInView, + _view = _this$props9.view; + var currDate = _rangePicker ? _endDate || _startDate : props.date; - _classCallCheck$1(this, Dropdown); + var _yearNav = props.yearNav !== undefined ? props.yearNav : getDateInfo(currDate || Date.now()).year; - _this = _super.call(this, props); + var _monthNav = props.monthNav !== undefined ? props.monthNav : getDateInfo(currDate || Date.now()).month; - _defineProperty$2(_assertThisInitialized$2(_this), "staticLimit", void 0); + var _getDateInfo6 = getDateInfo(currDate), + _year = _getDateInfo6.year, + _month = _getDateInfo6.month, + _date = _getDateInfo6.date; - _defineProperty$2(_assertThisInitialized$2(_this), "getDisabledOptions", function () { - var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - return options.filter(function (option) { - return option.disabled; - }); - }); + var todayCompleteDate = getDateInfo(new Date(Date.now())); + _this.state = { + currDate: currDate, + startDate: _startDate, + endDate: _endDate, + yearNav: _yearNav, + monthNav: _monthNav, + year: _year, + month: _month, + date: _date, + todayDate: todayCompleteDate.date, + currMonth: todayCompleteDate.month, + currYear: todayCompleteDate.year, + view: _monthsInView > 1 ? 'date' : _view, + yearBlockNav: getYearBlock(_yearNav) + }; + return _this; + } - _defineProperty$2(_assertThisInitialized$2(_this), "fetchOptionsFunction", function (searchTerm) { - var options = _this.props.options; - var filteredOptions = searchTerm ? getSearchedOptions(options, searchTerm) : options; - return new Promise(function (resolve) { - resolve({ - searchTerm: searchTerm, - options: filteredOptions, - count: filteredOptions.length - }); - }); - }); + _createClass(Calendar, [{ + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + var _prevState$startDate, _this$state$startDate, _prevState$endDate, _this$state$endDate; - _defineProperty$2(_assertThisInitialized$2(_this), "getUnSelectedOptions", function (options, init) { - if (options.length) { - if (!init) { - return options.filter(function (option) { - return _this.state.tempSelected.findIndex(function (item) { - return item.value === option.value; - }) === -1; - }); - } + var monthsInView = this.props.monthsInView; - var _this$props$selected = _this.props.selected, - _selected2 = _this$props$selected === void 0 ? [] : _this$props$selected; + if (prevProps.date !== this.props.date) { + var _getDateInfo7 = getDateInfo(this.props.date), + year = _getDateInfo7.year, + month = _getDateInfo7.month, + _date2 = _getDateInfo7.date; - var unSelectedGroup = options.filter(function (option) { - return _isControlled(_this.props.selected) ? _selected2.findIndex(function (item) { - return item.value === option.value; - }) === -1 : !option.selected; + this.updateState(year, month, _date2); + var d = convertToDate(this.props.date); + this.setState({ + currDate: d }); - return unSelectedGroup; } - return options; - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "getSelectedOptions", function (options, init) { - var _this$props$selected2 = _this.props.selected, - selected = _this$props$selected2 === void 0 ? [] : _this$props$selected2; + if (prevProps.startDate !== this.props.startDate) { + var _d = convertToDate(this.props.startDate); - if (options.length) { - if (!init) return _this.state.tempSelected; - var selectedGroup = _isControlled(_this.props.selected) ? selected : options.filter(function (option) { - return option.selected; + this.setState({ + startDate: _d }); - return selectedGroup; } - return []; - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "updateOptions", function (init, async) { - var _this$state = _this.state, - searchTerm = _this$state.searchTerm, - selectAll = _this$state.selectAll, - tempSelected = _this$state.tempSelected, - previousSelected = _this$state.previousSelected; - var updatedAsync = async === undefined ? _this.state.async : async; - var _this$props = _this.props, - fetchOptions = _this$props.fetchOptions, - withCheckbox = _this$props.withCheckbox, - withSearch = _this$props.withSearch; - var fetchFunction = fetchOptions ? fetchOptions : _this.fetchOptionsFunction; - fetchFunction(searchTerm).then(function (res) { - var options = res.options, - count = res.count; - - if (!res.searchTerm || res.searchTerm && res.searchTerm === _this.state.searchTerm) { - var _inputRef$current; - - updatedAsync = searchTerm === '' ? count > _this.staticLimit : updatedAsync; - var unSelectedGroup = _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? _this.getUnSelectedOptions(options, init) : options; - var selectedGroup = searchTerm === '' ? _this.getSelectedOptions(options, init) : []; - var optionsLength = searchTerm === '' ? count : _this.state.optionsLength; - - var disabledOptions = _this.getDisabledOptions(unSelectedGroup.slice(0, _this.staticLimit)); + if (prevProps.endDate !== this.props.endDate) { + var _d2 = convertToDate(this.props.endDate); - _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { - optionsLength: optionsLength, - loading: false, - async: updatedAsync, - searchedOptionsLength: count, - options: unSelectedGroup.slice(0, _this.staticLimit), - tempSelected: init ? selectedGroup : tempSelected, - previousSelected: init ? selectedGroup : previousSelected, - selected: _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? selectedGroup : [], - triggerLabel: _this.updateTriggerLabel(init ? selectedGroup : tempSelected), - selectAll: !updatedAsync && init ? getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) : selectAll - })); + this.setState({ + endDate: _d2 + }); + } - if (updatedAsync || withSearch) (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); + if (prevProps.view !== this.props.view) { + if (this.props.monthsInView === 1) { + this.setState({ + view: this.props.view + }); } - }); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "updateSearchTerm", function (search) { - _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { - loading: true, - searchInit: true, - searchTerm: search - })); - }); + } - _defineProperty$2(_assertThisInitialized$2(_this), "updateOnPopperToggle", function () { - var _this$props2 = _this.props, - withCheckbox = _this$props2.withCheckbox, - showApplyButton = _this$props2.showApplyButton, - onClose = _this$props2.onClose, - name = _this$props2.name, - _this$props2$selected = _this$props2.selected, - selected = _this$props2$selected === void 0 ? [] : _this$props2$selected; - var _this$state2 = _this.state, - previousSelected = _this$state2.previousSelected, - tempSelected = _this$state2.tempSelected, - optionsLength = _this$state2.optionsLength, - async = _this$state2.async, - loading = _this$state2.loading, - searchTerm = _this$state2.searchTerm, - options = _this$state2.options; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.props.open : _this.state.open; + if (prevProps.yearNav !== this.props.yearNav) { + var yearNav = this.props.yearNav; - var disabledOptionsCount = _this.getDisabledOptions(options).length; + if (yearNav) { + this.setState({ + yearNav: yearNav, + yearBlockNav: getYearBlock(yearNav) + }); + } + } - if (withCheckbox && showApplyButton) { - var temporarySelected = _isControlled(_this.props.selected) ? selected : previousSelected; + if (prevProps.monthNav !== this.props.monthNav) { + var monthNav = this.props.monthNav; - _this.setState({ - tempSelected: temporarySelected, - selectAll: getSelectAll$1(temporarySelected, optionsLength, disabledOptionsCount), - triggerLabel: _this.updateTriggerLabel(temporarySelected) - }); + if (monthNav) { + this.setState({ + monthNav: monthNav + }); + } } - if (_isOpenControlled(_this.props.open)) { - _this.setState({ - open: popperIsOpen - }); - } + if (prevState.currDate !== this.state.currDate) { + var _this$props10 = this.props, + rangePicker = _this$props10.rangePicker, + onDateChange = _this$props10.onDateChange; + var _this$state9 = this.state, + currDate = _this$state9.currDate, + _startDate3 = _this$state9.startDate, + _endDate3 = _this$state9.endDate; - if (popperIsOpen) { - var moveSelectedGroup = _showSelectedItems(async, searchTerm, withCheckbox) && !_isEqual(_this.state.selected, tempSelected); + if (currDate) { + if (onDateChange) onDateChange(currDate); - _this.setState({ - loading: moveSelectedGroup || loading || searchTerm !== '', - searchInit: searchTerm !== '', - searchTerm: '' - }); + if (rangePicker) { + this.setState({ + hoverDate: undefined + }); - if (moveSelectedGroup) _this.updateOptions(false); - } + if (_startDate3 && _endDate3) { + this.setState({ + startDate: currDate, + endDate: undefined + }); + } else { + var _getDateInfo8 = getDateInfo(currDate), + _year2 = _getDateInfo8.year, + _month2 = _getDateInfo8.month, + _date3 = _getDateInfo8.date; - if (onClose && !popperIsOpen) { - var arr = withCheckbox && showApplyButton ? _isControlled(_this.props.selected) ? selected : previousSelected : _this.state.tempSelected; - var values = arr.map(function (option) { - return option.value; - }); - onClose(values, name); + if (_startDate3) { + if (compareDate(_startDate3, 'more', _year2, _month2, _date3)) { + this.setState({ + startDate: currDate + }); + } else { + this.setState({ + endDate: currDate + }); + } + } else if (_endDate3) { + if (compareDate(_endDate3, 'less', _year2, _month2, _date3)) { + this.setState({ + endDate: currDate + }); + } else { + this.setState({ + startDate: currDate + }); + } + } else { + this.setState({ + startDate: currDate + }); + } + } + } else { + this.setState({ + startDate: currDate + }); + } + } } - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "updateTriggerLabel", function () { - var selectedArray = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var totalOptions = arguments.length > 1 ? arguments[1] : undefined; - var selectedLength = selectedArray.length; - if (selectedLength === 0) return ''; - var _this$props3 = _this.props, - _this$props3$triggerO = _this$props3.triggerOptions, - triggerOptions = _this$props3$triggerO === void 0 ? {} : _this$props3$triggerO, - getLabel = _this$props3.getLabel; - var customLabel = triggerOptions.customLabel, - _triggerOptions$label = triggerOptions.labelLimit, - labelLimit = _triggerOptions$label === void 0 ? 2 : _triggerOptions$label; - var optionsLength = _this.state ? _this.state.optionsLength : totalOptions; - var label = ''; - if (selectedLength <= labelLimit) { - label = selectedArray.map(function (option) { - return option.label; - }).join(', '); - } else { - label = customLabel ? customLabel(selectedLength, optionsLength, selectedArray) : "".concat(selectedLength, " selected"); + if (((_prevState$startDate = prevState.startDate) === null || _prevState$startDate === void 0 ? void 0 : _prevState$startDate.getTime()) !== ((_this$state$startDate = this.state.startDate) === null || _this$state$startDate === void 0 ? void 0 : _this$state$startDate.getTime()) || ((_prevState$endDate = prevState.endDate) === null || _prevState$endDate === void 0 ? void 0 : _prevState$endDate.getTime()) !== ((_this$state$endDate = this.state.endDate) === null || _this$state$endDate === void 0 ? void 0 : _this$state$endDate.getTime())) { + var onRangeChange = this.props.onRangeChange; + var _this$state10 = this.state, + _startDate4 = _this$state10.startDate, + _endDate4 = _this$state10.endDate; + if (onRangeChange) onRangeChange(_startDate4, _endDate4); } - if (getLabel) getLabel(label); - return label; - }); + if (prevState.year !== this.state.year) { + var _year3 = this.state.year; - _defineProperty$2(_assertThisInitialized$2(_this), "updateSelectedOptions", function (selectedArray, isSingleSelect, isControlled) { - var _this$state3 = _this.state, - optionsLength = _this$state3.optionsLength, - previousSelected = _this$state3.previousSelected, - selected = _this$state3.selected, - loading = _this$state3.loading, - open = _this$state3.open; - var _this$props4 = _this.props, - onChange = _this$props4.onChange, - withCheckbox = _this$props4.withCheckbox, - showApplyButton = _this$props4.showApplyButton, - closeOnSelect = _this$props4.closeOnSelect, - name = _this$props4.name, - onPopperToggle = _this$props4.onPopperToggle; - var updatePreviousSelected = withCheckbox && showApplyButton && isControlled; + if (_year3 !== undefined && monthsInView === 1) { + this.setState({ + year: _year3, + yearBlockNav: getYearBlock(_year3), + yearNav: _year3 + }); + } + } - var disabledOptions = _this.getDisabledOptions(_this.state.options); + if (prevState.month !== this.state.month) { + var _month3 = this.state.month; - var isClearClicked = selectedArray.length === 0 && selected.length > 0 || selectedArray.every(function (option) { - return option.disabled; - }) && !selected.every(function (option) { - return option.disabled; + if (_month3 !== undefined && monthsInView === 1) { + this.setState({ + monthNav: _month3 + }); + } + } + } + }, { + key: "renderEventsIndicator", + value: function renderEventsIndicator(size, active) { + var _classNames7; + + var eventsIndicatorClass = classnames((_classNames7 = { + 'Calendar-eventsIndicator': true + }, _defineProperty$1(_classNames7, "Calendar-eventsIndicator--".concat(size), true), _defineProperty$1(_classNames7, 'Calendar-eventsIndicator--active', active), _classNames7)); + return /*#__PURE__*/React.createElement("span", { + "data-test": "DesignSystem-Calendar-Event-Indicator", + className: eventsIndicatorClass }); + } + }, { + key: "render", + value: function render() { + var _this2 = this; - _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { - tempSelected: selectedArray, - triggerLabel: _this.updateTriggerLabel(selectedArray), - selectAll: getSelectAll$1(selectedArray, optionsLength, disabledOptions.length), - open: _isOpenControlled(_this.props.open) || withCheckbox ? open : !closeOnSelect, - previousSelected: updatePreviousSelected ? selectedArray : previousSelected, - selected: isClearClicked ? selectedArray : selected, - loading: isClearClicked ? true : loading + var _this$props11 = this.props, + monthsInView = _this$props11.monthsInView, + className = _this$props11.className; + var baseProps = extractBaseProps(this.props); + var classes = classnames({ + 'Calendar-wrapper': true + }, className); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: classes, + "data-test": "DesignSystem-Calendar-Wrapper" + }), Array.from({ + length: monthsInView + }, function (_x, index) { + return _this2.renderCalendar(index); })); + } + }]); - if (isClearClicked) _this.debounceClear(); + return Calendar; +}(React.Component); - if (onChange && (!showApplyButton || isControlled)) { - var values = selectedArray.map(function (item) { - return item.value; - }); - var selectedValues = isSingleSelect ? values[0] : values; - onChange(selectedValues, name); - } +_defineProperty$1(Calendar, "defaultProps", { + size: 'large', + monthsInView: 1, + view: 'date', + firstDayOfWeek: 'sunday', + jumpView: true +}); - if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(false, 'optionClick'); - } - }); +var _excluded$C = ["shadow", "children", "className"]; +var Card = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames; - _defineProperty$2(_assertThisInitialized$2(_this), "onOptionSelect", function (option) { - var _this$props5 = _this.props, - onUpdate = _this$props5.onUpdate, - selected = _this$props5.selected; + var _props$shadow = props.shadow, + shadow = _props$shadow === void 0 ? 'shadow10' : _props$shadow, + children = props.children, + className = props.className, + rest = _objectWithoutProperties(props, _excluded$C); - if (_isControlled(selected)) { - if (onUpdate) onUpdate('select-option', option); - return; - } + var classes = classnames((_classNames = { + Card: true + }, _defineProperty$1(_classNames, "Card--".concat(shadow), shadow), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Card", + ref: ref + }, rest, { + className: classes + }), children); +}); +Card.displayName = 'Card'; +Card.defaultProps = { + shadow: 'shadow10' +}; - _this.updateSelectedOptions([option], true); - }); +var _excluded$B = ["border", "children", "className"]; +var CardSubdued = /*#__PURE__*/React.forwardRef(function (props, ref) { + var border = props.border, + children = props.children, + className = props.className, + rest = _objectWithoutProperties(props, _excluded$B); - _defineProperty$2(_assertThisInitialized$2(_this), "onSelect", function (option, checked) { - var _this$props6 = _this.props, - onUpdate = _this$props6.onUpdate, - selected = _this$props6.selected, - showApplyButton = _this$props6.showApplyButton; + var classes = classnames(_defineProperty$1({ + CardSubdued: true + }, "CardSubdued--".concat(border), border), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-CardSubdued", + ref: ref + }, rest, { + className: classes + }), children); +}); +CardSubdued.displayName = 'CardSubdued'; - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate(checked ? 'select-option' : 'deselect-option', option); - return; - } +var CardHeader = function CardHeader(props) { + var className = props.className, + children = props.children; + var baseProps = extractBaseProps(props); + var classes = classnames({ + 'Card-header': true + }, className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-CardHeader" + }, baseProps, { + className: classes + }), children); +}; +CardHeader.displayName = 'CardHeader'; - var tempSelected = _this.state.tempSelected; - var selectedArray = tempSelected.slice(); +var CardBody = function CardBody(props) { + var className = props.className, + children = props.children; + var baseProps = extractBaseProps(props); + var classes = classnames({ + 'Card-body': true + }, className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-CardBody" + }, baseProps, { + className: classes + }), children); +}; +CardBody.displayName = 'CardBody'; - if (!checked) { - var index = selectedArray.findIndex(function (item) { - return item.value === option.value; - }); - selectedArray.splice(index, 1); - } +var CardFooter = function CardFooter(props) { + var className = props.className, + children = props.children, + withSeperator = props.withSeperator; + var baseProps = extractBaseProps(props); + var classes = classnames(_defineProperty$1({ + 'Card-footer': true + }, 'Card-footer--withSeperator', withSeperator), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-CardFooter" + }, baseProps, { + className: classes + }), children); +}; +CardFooter.displayName = 'CardFooter'; +CardFooter.defaultProps = { + withSeperator: true +}; - selectedArray = checked ? selectedArray.concat(option) : selectedArray; +var isSpaceKey = function isSpaceKey(e) { + return e.key === 'Space'; +}; - _this.updateSelectedOptions(selectedArray, false); - }); +var _excluded$A = ["onClick", "onKeyDown", "role", "tabIndex"]; +var allowed = { + button: new Set(['Enter', 'Space', 'Spacebar', ' ']), + link: new Set(['Enter']), + // onChange handles everything, no need for extra keyboard interaction + checkbox: new Set([]), + radio: new Set([]) +}; // Refer for keyboard interactions: https://webaim.org/techniques/keyboard/#testing - _defineProperty$2(_assertThisInitialized$2(_this), "onSelectAll", function (event) { - var _this$props7 = _this.props, - onUpdate = _this$props7.onUpdate, - selected = _this$props7.selected, - showApplyButton = _this$props7.showApplyButton; - var _this$state4 = _this.state, - tempSelected = _this$state4.tempSelected, - options = _this$state4.options; +var isKeyboardInteractionAllowed = function isKeyboardInteractionAllowed(role, key) { + if (!allowed[role]) { + return false; + } - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate(event.target.checked ? 'select-all' : 'deselect-all'); - return; - } - - var selectedArr = tempSelected.slice(); - var selectedDisabledArray = selectedArr.filter(function (option) { - return option.disabled; - }); - var selectedArray = event.target.checked ? [].concat(_toConsumableArray(options.filter(function (option) { - return !option.disabled; - })), _toConsumableArray(selectedDisabledArray)) : selectedDisabledArray; - - _this.updateSelectedOptions(selectedArray, false); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "debounceSearch", debounce$1(_this.props.searchDebounceDuration, function () { - _this.setState({ - searchInit: false - }, function () { - _this.updateOptions(false); - }); - })); + var allowedKeys = allowed[role]; + return allowedKeys.has(key); +}; - _defineProperty$2(_assertThisInitialized$2(_this), "debounceClear", debounce$1(250, function () { - return _this.updateOptions(false); - })); +var useAccessibilityProps = function useAccessibilityProps(_ref) { + var onClick = _ref.onClick, + _onKeyDown = _ref.onKeyDown, + _ref$role = _ref.role, + role = _ref$role === void 0 ? 'button' : _ref$role, + tabIndex = _ref.tabIndex, + rest = _objectWithoutProperties(_ref, _excluded$A); - _defineProperty$2(_assertThisInitialized$2(_this), "onClearOptions", function () { - var _this$props8 = _this.props, - selected = _this$props8.selected, - name = _this$props8.name, - onUpdate = _this$props8.onUpdate, - showApplyButton = _this$props8.showApplyButton, - onChange = _this$props8.onChange; - var tempSelected = _this.state.tempSelected; - var selectedArray = tempSelected.filter(function (option) { - return option.disabled; - }); + return _objectSpread2({}, onClick ? { + onClick: onClick, + role: role, + tabIndex: tabIndex || 0, + 'aria-label': rest['aria-label'], + onKeyDown: function onKeyDown(e) { + if (_onKeyDown) { + _onKeyDown(e); - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate('clear-all'); return; } - _this.setState({ - selected: selectedArray, - tempSelected: selectedArray, - triggerLabel: '', - loading: true - }); - - _this.debounceClear(); + var key = e.key; - if (onChange && !showApplyButton) onChange(selectedArray, name); - }); + if (isKeyboardInteractionAllowed(role, key)) { + if (onClick) { + e.preventDefault(); + onClick(e); + } + } + } + } : { + role: role, + tabIndex: tabIndex, + 'aria-label': rest['aria-label'] + }); +}; - _defineProperty$2(_assertThisInitialized$2(_this), "onTogglePopper", function (type) { - var onPopperToggle = _this.props.onPopperToggle; +var getOpticalSize = function getOpticalSize(size) { + if (size && size <= 20) { + return 20; + } else if (size && size >= 48) { + return 48; + } - if (onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(false, type); - } - }); + return size; +}; - _defineProperty$2(_assertThisInitialized$2(_this), "onCancelOptions", function () { - var _this$state5 = _this.state, - previousSelected = _this$state5.previousSelected, - tempSelected = _this$state5.tempSelected, - optionsLength = _this$state5.optionsLength; - var _this$props9 = _this.props, - selected = _this$props9.selected, - onUpdate = _this$props9.onUpdate, - onClose = _this$props9.onClose, - name = _this$props9.name; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; - var values = previousSelected.map(function (option) { - return option.value; - }); +var iconVariantMapper = { + more_horiz: { + weight: 600, + opticalSize: 24 + }, + "delete": { + fill: 0 + }, + radio_button_checked: { + fill: 0 + }, + radio_button_unchecked: { + fill: 0 + }, + schedule: { + fill: 0 + }, + help_outline: { + fill: 0 + }, + check_circle_outline: { + fill: 0 + }, + highlight_of: { + fill: 0 + }, + credit_card: { + fill: 0 + }, + delete_outline: { + fill: 0 + }, + bookmark_border: { + fill: 0 + }, + work_outline: { + fill: 0 + }, + alarm: { + fill: 0 + }, + arrow_circle_up: { + fill: 0 + }, + copyright: { + fill: 0 + }, + query_builder: { + fill: 0 + }, + card_membership: { + fill: 0 + }, + arrow_circle_down: { + fill: 0 + }, + change_history: { + fill: 0 + }, + aspect_ratio: { + fill: 0 + }, + calendar_view_month: { + fill: 0 + }, + alarm_on: { + fill: 0 + }, + thumb_down_off_alt: { + fill: 0 + }, + important_devices: { + fill: 0 + }, + turned_in_not: { + fill: 0 + }, + add_circle_outline: { + fill: 0 + }, + speed: { + fill: 0 + }, + content_copy: { + fill: 0 + }, + timelapse: { + fill: 0 + } +}; +var getFontVariation = function getFontVariation(iconName, variations, type, size) { + var defaultVariant = { + fill: type === 'outlined' ? 0 : 1, + weight: 400, + grade: 0, + opticalSize: getOpticalSize(size) + }; + return _objectSpread2(_objectSpread2(_objectSpread2({}, defaultVariant), iconVariantMapper[iconName]), variations); +}; - if (_isControlled(selected)) { - if (onUpdate) onUpdate('cancel-selected', previousSelected, tempSelected); +var Icon = function Icon(props) { + var _classNames; - _this.onTogglePopper('cancelClick'); + var appearance = props.appearance, + className = props.className, + name = props.name, + size = props.size, + children = props.children, + variations = props.variations; + var accessibilityProps = useAccessibilityProps(props); + var baseProps = extractBaseProps(props); + var mapper = { + outline: 'outlined', + sharp: 'outlined', + round: 'rounded', + filled: 'rounded', + 'two-tone': 'rounded' + }; + var type = props.type && mapper[props.type] || props.type; - return; - } + var getIconAppearance = function getIconAppearance(iconColor) { + var x = iconColor.indexOf('_'); + return iconColor.slice(0, x) + iconColor.charAt(x + 1).toUpperCase() + iconColor.slice(x + 2); + }; - var label = _this.updateTriggerLabel(previousSelected); + var color = appearance && appearance.includes('_') ? getIconAppearance(appearance) : appearance; + var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'material-icons', true), _defineProperty$1(_classNames, 'material-icons-rounded', type === 'rounded'), _defineProperty$1(_classNames, 'material-icons-outlined', type === 'outlined'), _defineProperty$1(_classNames, 'Icon', true), _defineProperty$1(_classNames, "Icon--".concat(color), appearance), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); - var disabledOptions = _this.getDisabledOptions(_this.state.options); + var _getFontVariation = getFontVariation(name, variations, type, size), + fill = _getFontVariation.fill, + grade = _getFontVariation.grade, + opticalSize = _getFontVariation.opticalSize, + weight = _getFontVariation.weight; - _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { - tempSelected: previousSelected, - selectAll: getSelectAll$1(previousSelected, optionsLength, disabledOptions.length), - triggerLabel: label, - open: popperIsOpen - })); + var styles = { + fontSize: "".concat(size, "px"), + width: "".concat(size, "px"), + 'font-variation-settings': "\"FILL\" ".concat(fill, ", \"wght\" ").concat(weight, ", \"GRAD\" ").concat(grade, ", \"opsz\" ").concat(opticalSize) + }; // change `children` to {name} after migration - if (onClose && !popperIsOpen) { - onClose(values, name); - } + if (children && /*#__PURE__*/React.isValidElement(children)) { + return /*#__PURE__*/React.createElement("span", _extends$2({}, baseProps, { + className: className + }), children); + } - _this.onTogglePopper('cancelClick'); - }); + return /*#__PURE__*/React.createElement("i", _extends$2({ + "data-test": "DesignSystem-Icon" + }, baseProps, { + className: iconClass, + style: styles + }, accessibilityProps), name); +}; +Icon.displayName = 'Icon'; +Icon.defaultProps = { + size: 16, + type: 'rounded' +}; - _defineProperty$2(_assertThisInitialized$2(_this), "onApplyOptions", function () { - var _this$state6 = _this.state, - tempSelected = _this$state6.tempSelected, - previousSelected = _this$state6.previousSelected; - var _this$props10 = _this.props, - onChange = _this$props10.onChange, - selected = _this$props10.selected, - onUpdate = _this$props10.onUpdate, - onClose = _this$props10.onClose, - name = _this$props10.name; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; - var values = tempSelected.map(function (option) { - return option.value; - }); +var _excluded$z = ["children", "componentType", "className"]; - if (_isControlled(selected)) { - if (onUpdate) onUpdate('apply-selected', previousSelected, tempSelected); +var GenericText = function GenericText(_ref) { + var children = _ref.children, + _ref$componentType = _ref.componentType, + componentType = _ref$componentType === void 0 ? 'span' : _ref$componentType, + className = _ref.className, + props = _objectWithoutProperties(_ref, _excluded$z); - _this.onTogglePopper('applyClick'); + return /*#__PURE__*/React.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { + className: className + }), children); +}; - return; - } +var _excluded$y = ["appearance", "size", "children", "weight", "small", "className", "color"]; +var Text = function Text(props) { + var _classNames; - _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { - previousSelected: tempSelected, - optionsApplied: true, - open: popperIsOpen - })); + var appearance = props.appearance, + size = props.size, + children = props.children, + weight = props.weight, + small = props.small, + className = props.className, + color = props.color, + rest = _objectWithoutProperties(props, _excluded$y); - if (onChange) { - onChange(values, name); - } + var classes = classnames((_classNames = { + Text: true + }, _defineProperty$1(_classNames, "Text--".concat(appearance), !color && appearance), _defineProperty$1(_classNames, "Text--".concat(weight), weight), _defineProperty$1(_classNames, "Text--".concat(size), size), _defineProperty$1(_classNames, "color-".concat(color), color), _defineProperty$1(_classNames, 'Text--small', size === 'small' || small), _classNames), className); + return /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Text" + }, rest, { + className: classes, + componentType: "span" + }), children); +}; +Text.displayName = 'Text'; +Text.defaultProps = { + appearance: 'default', + size: 'regular' +}; - if (onClose && !popperIsOpen) { - onClose(values, name); - } +var GenericChip = function GenericChip(props) { + var _classNames3; - _this.onTogglePopper('applyClick'); - }); + var label = props.label, + icon = props.icon, + clearButton = props.clearButton, + disabled = props.disabled, + className = props.className, + selected = props.selected, + onClose = props.onClose, + onClick = props.onClick, + labelPrefix = props.labelPrefix, + iconVariations = props.iconVariations; + var baseProps = extractBaseProps(props); - _defineProperty$2(_assertThisInitialized$2(_this), "onToggleDropdown", function (updatedOpen, type) { - if (_this.props.disabled) { - return; - } + var iconClass = function iconClass(align) { + var _classNames; - var onPopperToggle = _this.props.onPopperToggle; + return classnames((_classNames = {}, _defineProperty$1(_classNames, 'Chip-icon', true), _defineProperty$1(_classNames, "Chip-icon--".concat(align), align), _defineProperty$1(_classNames, "Chip-icon-disabled--right", align === 'right' && disabled), _defineProperty$1(_classNames, 'cursor-pointer', align === 'right' && !disabled), _defineProperty$1(_classNames, 'Chip-icon--selected', align === 'right' && selected), _classNames)); + }; - if (onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(updatedOpen, type); - return; - } + var onCloseHandler = function onCloseHandler(e) { + e.stopPropagation(); + if (onClose) onClose(); + }; - _this.setState({ - open: updatedOpen - }); - }); + var onClickHandler = function onClickHandler() { + if (onClick) onClick(); + }; - var _props$selected = props.selected, - _selected = _props$selected === void 0 ? [] : _props$selected, - _totalOptions = props.totalOptions, - _withCheckbox = props.withCheckbox, - _loading = props.loading, - _open = props.open, - _options = props.options; + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter') { + onCloseHandler(event); + } + }; - _this.staticLimit = Math.min(100, props.staticLimit); + var iconAppearance = function iconAppearance(align) { + var _classNames2; - var _optionsLength = _totalOptions ? _totalOptions : _options.length; + return classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'disabled', disabled && !selected), _defineProperty$1(_classNames2, 'primary_dark', !disabled && selected), _defineProperty$1(_classNames2, 'primary_lighter', disabled && selected), _defineProperty$1(_classNames2, 'subtle', !disabled && !selected && align === 'right'), _defineProperty$1(_classNames2, 'inverse', !disabled && !selected && align === 'left'), _classNames2)); + }; - var _async = 'fetchOptions' in _this.props || _optionsLength > _this.staticLimit; + var textColor = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'primary-lighter', disabled && selected), _defineProperty$1(_classNames3, 'inverse-lightest', disabled && !selected), _defineProperty$1(_classNames3, 'primary-dark', selected), _defineProperty$1(_classNames3, 'inverse', !disabled && !selected), _classNames3)); - var _selectedGroup = !_async ? _this.getSelectedOptions(_options, true) : []; + var renderLabel = function renderLabel() { + if (typeof label === 'string') { + return /*#__PURE__*/React.createElement(React.Fragment, null, labelPrefix && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-GenericChip--LabelPrefix", + weight: "medium", + color: textColor, + className: "Chip-text mr-3" + }, labelPrefix), /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-GenericChip--Text", + color: textColor, + className: "Chip-text" + }, label)); + } - var _disabledOptions = _this.getDisabledOptions(_options); + return label; + }; - _this.state = { - async: _async, - optionsLength: _optionsLength, - open: _open, - searchInit: false, - searchedOptionsLength: _optionsLength, - optionsApplied: false, - options: _options || [], - loading: _async ? true : _loading, - searchTerm: '', - tempSelected: _selectedGroup, - previousSelected: _selectedGroup, - selected: _showSelectedItems(_async, '', _withCheckbox) ? _selected : [], - triggerLabel: _this.updateTriggerLabel(_selectedGroup, _optionsLength), - selectAll: getSelectAll$1(_selectedGroup, _optionsLength, _disabledOptions.length) - }; - return _this; - } + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", _extends$2({ + // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex + tabIndex: disabled ? -1 : 0, + "data-test": "DesignSystem-GenericChip--GenericChipWrapper" + }, baseProps, { + className: "Chip-wrapper ".concat(className), + onClick: onClickHandler + }), icon && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-GenericChip--Icon", + name: icon, + variations: iconVariations, + appearance: iconAppearance('left'), + className: iconClass('left') + }), renderLabel(), clearButton && /*#__PURE__*/React.createElement("div", { + role: "button", + onClick: onCloseHandler, + tabIndex: disabled ? -1 : 0, + onKeyDown: onKeyDownHandler, + className: iconClass('right'), + "data-test": "DesignSystem-GenericChip--clearButton" + }, /*#__PURE__*/React.createElement(Icon, { + name: "clear", + appearance: iconAppearance('right'), + className: "p-2" + }))) + ); +}; +GenericChip.displayName = 'GenericChip'; - _createClass$1(Dropdown, [{ - key: "componentDidMount", - value: function componentDidMount() { - var async = this.state.async; - if (async) this.updateOptions(true); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - if (!this.state.async) { - var _this$props11 = this.props, - loading = _this$props11.loading, - fetchOptions = _this$props11.fetchOptions, - _this$props11$options = _this$props11.options, - _options2 = _this$props11$options === void 0 ? [] : _this$props11$options, - withSearch = _this$props11.withSearch; +var Chip = function Chip(props) { + var _classNames; - var disabledOptionsCount = this.getDisabledOptions(_options2).length; + var label = props.label, + icon = props.icon, + clearButton = props.clearButton, + type = props.type, + disabled = props.disabled, + selected = props.selected, + onClose = props.onClose, + onClick = props.onClick, + name = props.name, + className = props.className, + labelPrefix = props.labelPrefix, + iconVariations = props.iconVariations; + var baseProps = extractBaseProps(props); - if (prevProps.loading !== loading && !fetchOptions) { - if (_options2.length > this.staticLimit) { - this.updateOptions(true, true); - } else { - var _inputRef$current2; + var onCloseHandler = function onCloseHandler() { + if (!disabled && onClose) onClose(name); + }; - var selectedGroup = this.getSelectedOptions(_options2, true); - this.setState(_objectSpread2(_objectSpread2({}, this.state), {}, { - options: _options2, - loading: loading, - tempSelected: selectedGroup, - previousSelected: selectedGroup, - optionsLength: _options2.length, - searchedOptionsLength: _options2.length, - triggerLabel: this.updateTriggerLabel(selectedGroup), - selectAll: getSelectAll$1(selectedGroup, this.state.optionsLength, disabledOptionsCount) - })); - if (withSearch) (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus(); - } - } - } + var onClickHandler = function onClickHandler() { + if (!disabled && onClick) onClick(name); + }; - if (this.props.selected !== undefined && prevProps.selected !== this.props.selected && prevProps.loading === this.props.loading) { - var isSingleSelect = !this.props.withCheckbox; - this.updateSelectedOptions(this.props.selected, isSingleSelect, true); - } + var clearbutton = type === 'action' ? false : clearButton; + var select = type === 'selection' && selected ? true : false; + var chipClass = classnames((_classNames = { + Chip: true + }, _defineProperty$1(_classNames, "Chip-".concat(type, "--disabled"), disabled), _defineProperty$1(_classNames, "Chip--".concat(type), type && !disabled), _defineProperty$1(_classNames, "Chip-".concat(type, "--selected"), selected && !disabled), _defineProperty$1(_classNames, "Chip-selection--selectedDisabled", type === 'selection' && selected && disabled), _defineProperty$1(_classNames, 'Chip-icon--clear', clearbutton), _classNames), className); + return /*#__PURE__*/React.createElement(GenericChip, _extends$2({ + "data-test": "DesignSystem-Chip--GenericChip" + }, baseProps, { + label: label, + selected: select, + icon: icon, + iconVariations: iconVariations, + clearButton: clearbutton, + disabled: disabled, + className: chipClass, + onClose: onCloseHandler, + onClick: onClickHandler, + name: name, + labelPrefix: labelPrefix + })); +}; +Chip.displayName = 'Chip'; +Chip.defaultProps = { + type: 'input' +}; - if (prevState.searchTerm !== this.state.searchTerm) { - this.debounceSearch(); - } +var ChipGroup = function ChipGroup(props) { + var list = props.list, + onClick = props.onClick, + onClose = props.onClose, + className = props.className; + var baseProps = extractBaseProps(props); - if (prevProps.open !== this.props.open || prevState.open !== this.state.open) { - if (_isOpenControlled(this.props.open) && this.props.open === this.state.open) return; - this.updateOnPopperToggle(); + var onClickHandler = function onClickHandler(item) { + if (onClick) onClick(item); + }; + + var onCloseHandler = function onCloseHandler(item) { + if (onClose) onClose(item); + }; + + var ChipGroupClass = classnames(_defineProperty$1({}, 'ChipGroup', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-ChipGroup" + }, baseProps, { + className: ChipGroupClass + }), list.map(function (item, ind) { + var _item$label = item.label, + label = _item$label === void 0 ? '' : _item$label, + icon = item.icon, + type = item.type, + disabled = item.disabled, + selected = item.selected, + clearButton = item.clearButton, + name = item.name, + iconVariations = item.iconVariations; + return /*#__PURE__*/React.createElement("span", { + key: ind, + className: "ChipGroup-item" + }, /*#__PURE__*/React.createElement(Chip, { + "data-test": "DesignSystem-ChipGroup--Chip", + name: name, + label: label, + selected: selected, + icon: icon, + disabled: disabled, + clearButton: clearButton, + iconVariations: iconVariations, + type: type, + onClick: function onClick() { + return onClickHandler(item); + }, + onClose: function onClose() { + return onCloseHandler(item); } - } - }, { - key: "render", - value: function render() { - var _this$state7 = this.state, - options = _this$state7.options, - async = _this$state7.async, - open = _this$state7.open, - searchTerm = _this$state7.searchTerm, - searchInit = _this$state7.searchInit, - loading = _this$state7.loading, - searchedOptionsLength = _this$state7.searchedOptionsLength, - tempSelected = _this$state7.tempSelected, - selectAll = _this$state7.selectAll, - triggerLabel = _this$state7.triggerLabel, - previousSelected = _this$state7.previousSelected; - var _this$props12 = this.props, - _this$props12$withSel = _this$props12.withSelectAll, - withSelectAll = _this$props12$withSel === void 0 ? true : _this$props12$withSel, - withCheckbox = _this$props12.withCheckbox; + })); + })); +}; +ChipGroup.displayName = 'ChipGroup'; - var _this$props13 = this.props, - _this$props13$trigger = _this$props13.triggerOptions, - triggerOptions = _this$props13$trigger === void 0 ? {} : _this$props13$trigger; - _this$props13.selected; - var rest = _objectWithoutProperties$1(_this$props13, _excluded$v); +var uidGenerator = function uidGenerator() { + var dt = new Date().getTime(); + var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + var r = (dt + Math.random() * 16) % 16 | 0; + dt = Math.floor(dt / 16); + var s = (c === 'x' ? r : r & 0x3 | 0x8).toString(16); + return s; + }); + return uuid; +}; - var remainingOptionsLen = searchedOptionsLength - options.length; - var firstEnabledOption = _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { - return !option.disabled; - }); - return /*#__PURE__*/React.createElement(DropdownList, _extends$3({ - listOptions: options, - inputRef: inputRef, - remainingOptions: remainingOptionsLen, - firstEnabledOption: firstEnabledOption, - loadingOptions: loading, - async: async, - searchInit: searchInit, - dropdownOpen: open, - searchTerm: searchTerm, - triggerLabel: triggerLabel, - tempSelected: tempSelected, - previousSelected: previousSelected, - selected: this.state.selected, - applyOptions: this.onApplyOptions, - cancelOptions: this.onCancelOptions, - toggleDropdown: this.onToggleDropdown, - onClearOptions: this.onClearOptions, - onSelect: this.onSelect, - selectAll: selectAll, - onSearchChange: this.updateSearchTerm, - onOptionSelect: this.onOptionSelect, - onSelectAll: this.onSelectAll, - customTrigger: triggerOptions.customTrigger - }, rest)); - } - }]); +var CheckboxIcon = function CheckboxIcon(props) { + switch (props.name) { + case 'checked--regular': + return /*#__PURE__*/React__default.createElement("svg", { + width: "10", + height: "8", + viewBox: "0 0 10 8", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M3.66667 5.56L8.72667 0.5L9.66667 1.44667L3.66667 7.44667L0.333333 4.11333L1.27333 3.17333L3.66667 5.56Z", + fill: "white" + })); - return Dropdown; -}(React.Component); + case 'checked--tiny': + return /*#__PURE__*/React__default.createElement("svg", { + width: "10", + height: "8", + viewBox: "0 0 10 8", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default.createElement("path", { + d: "M0.333344 4L1.27334 3.06L3.66668 5.44667L8.72668 0.386665L9.66668 1.33333L3.66668 7.33333L0.333344 4Z", + fill: "white" + })); -_defineProperty$2(Dropdown, "defaultProps", { - triggerOptions: {}, - options: [], - closeOnSelect: true, - staticLimit: 50, - searchDebounceDuration: 300 -}); + case 'indeterminate--regular': + return /*#__PURE__*/React__default.createElement("svg", { + width: "10", + height: "2", + viewBox: "0 0 10 2", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default.createElement("path", { + d: "M0 0H10V2H0V0Z", + fill: "white" + })); -var renderLink = function renderLink(item, _onClick) { - return /*#__PURE__*/React.createElement(Link, { - href: item.link, - onClick: function onClick(ev) { - if (_onClick) { - ev.preventDefault(); + case 'indeterminate--tiny': + return /*#__PURE__*/React__default.createElement("svg", { + width: "8", + height: "2", + viewBox: "0 0 8 2", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default.createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8 0H0V2H8V0Z", + fill: "white" + })); - _onClick(item.link); - } - }, - appearance: "subtle", - size: "tiny" - }, item.label); + default: + return null; + } }; -var renderDropdown = function renderDropdown(list, onClick) { - var options = list.map(function (item) { - return { - label: item.label, - value: item.link - }; +var _excluded$x = ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"]; +var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var _classNames, _classNames2, _classNames3, _classNames4, _classNames5, _classNames6; + + var _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + defaultChecked = props.defaultChecked, + indeterminate = props.indeterminate, + label = props.label, + error = props.error, + disabled = props.disabled, + onChange = props.onChange, + name = props.name, + value = props.value, + className = props.className, + checkedProp = props.checked, + helpText = props.helpText, + _props$id = props.id, + id = _props$id === void 0 ? "".concat(name, "-").concat(label, "-").concat(uidGenerator()) : _props$id, + rest = _objectWithoutProperties(props, _excluded$x); + + var ref = React.useRef(null); + React.useImperativeHandle(forwardedRef, function () { + return ref.current; }); - var customTrigger = function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { - size: "tiny", - appearance: "transparent", - icon: "more_horiz_filled", - "data-test": "DesignSystem-Breadcrumbs--Button" - }); + var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp), + _React$useState2 = _slicedToArray(_React$useState, 2), + checked = _React$useState2[0], + setChecked = _React$useState2[1]; + + React.useEffect(function () { + setIndeterminate(indeterminate); + }, [indeterminate]); + React.useEffect(function () { + if (checkedProp !== undefined) { + setChecked(checkedProp); + } + }, [checkedProp]); + var CheckboxClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Checkbox', true), _defineProperty$1(_classNames, 'Checkbox--disabled', disabled), _classNames), className); + var CheckboxOuterWrapper = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Checkbox-outerWrapper', true), _defineProperty$1(_classNames2, "Checkbox-outerWrapper--".concat(size), size), _classNames2)); + var CheckboxInputWrapper = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Checkbox-input', true), _defineProperty$1(_classNames3, 'Checkbox-input--checked', checked), _defineProperty$1(_classNames3, 'Checkbox-input--indeterminate', props.indeterminate), _classNames3)); + var CheckboxWrapper = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Checkbox-wrapper', true), _defineProperty$1(_classNames4, 'Checkbox-wrapper--default', !error), _defineProperty$1(_classNames4, 'Checkbox-wrapper--error', error), _classNames4)); + var CheckboxLabelClass = classnames((_classNames5 = {}, _defineProperty$1(_classNames5, 'Checkbox-label', true), _defineProperty$1(_classNames5, 'Checkbox-label--tiny', size === 'tiny'), _classNames5)); + + var setIndeterminate = function setIndeterminate(indeterminateValue) { + ref.current.indeterminate = indeterminateValue; }; - return /*#__PURE__*/React.createElement(Dropdown, { - triggerSize: 'tiny', - triggerOptions: { - customTrigger: customTrigger - }, - options: options, - menu: true, - onChange: function onChange(selected) { - if (onClick) { - onClick(selected); - } + var onChangeHandler = function onChangeHandler(e) { + if (checkedProp === undefined) { + setChecked(e.target.checked); + setIndeterminate(e.target.indeterminate); } - }); -}; -var Breadcrumbs = function Breadcrumbs(props) { - var list = props.list, - onClick = props.onClick, - className = props.className; - var baseProps = extractBaseProps(props); - var BreadcrumbClass = classnames(_defineProperty$2({}, 'Breadcrumbs', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Breadcrumbs" - }, baseProps, { - className: BreadcrumbClass - }), list.length <= 4 ? list.map(function (item, index) { - return /*#__PURE__*/React.createElement("div", { - key: index, - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(item, onClick)), /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")); - }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(list[0], onClick)), /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { - className: "Breadcrumbs-dropdown" - }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")))); -}; + if (onChange) onChange(e); + }; -var _excluded$u = ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className"]; -var sizeMapping$2 = { - tiny: 12, - regular: 16, - large: 20 -}; -var Button = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames, _classNames2; + var IconMapper = classnames((_classNames6 = {}, _defineProperty$1(_classNames6, 'checked--regular', checked && size === 'regular'), _defineProperty$1(_classNames6, 'checked--tiny', checked && size === 'tiny'), _defineProperty$1(_classNames6, 'indeterminate--regular', indeterminate && size === 'regular'), _defineProperty$1(_classNames6, 'indeterminate--tiny', indeterminate && size === 'tiny'), _classNames6)); + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Checkbox", + className: CheckboxClass + }, /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Checkbox-OuterWrapper", + className: CheckboxOuterWrapper + }, /*#__PURE__*/React.createElement("input", _extends$2({}, rest, { + type: "checkbox", + defaultChecked: defaultChecked, + onChange: onChangeHandler, + checked: checked, + disabled: disabled, + ref: ref, + name: name, + value: value, + className: CheckboxInputWrapper, + tabIndex: tabIndex, + id: id, + "data-test": "DesignSystem-Checkbox-InputBox" + })), /*#__PURE__*/React.createElement("span", { + className: CheckboxWrapper, + "data-test": "DesignSystem-Checkbox-Icon" + }, IconMapper && /*#__PURE__*/React.createElement(CheckboxIcon, { + name: IconMapper + }))), /*#__PURE__*/React.createElement("div", { + className: "Checkbox-labelWrapper" + }, label && label.trim() && /*#__PURE__*/React.createElement("label", { + htmlFor: id, + className: CheckboxLabelClass, + "data-test": "DesignSystem-Checkbox-Label" + }, /*#__PURE__*/React.createElement(Text, { + size: size === 'tiny' ? 'small' : 'regular', + appearance: disabled ? 'disabled' : 'default' + }, label.trim())), helpText && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-Checkbox-HelpText", + size: "small", + appearance: disabled ? 'disabled' : 'subtle' + }, helpText.trim())))); +}); +Checkbox.displayName = 'Checkbox'; - var _props$size = props.size, - size = _props$size === void 0 ? 'regular' : _props$size, - _props$appearance = props.appearance, - appearance = _props$appearance === void 0 ? 'basic' : _props$appearance, - _props$iconAlign = props.iconAlign, - iconAlign = _props$iconAlign === void 0 ? 'left' : _props$iconAlign, - _props$tabIndex = props.tabIndex, - tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, - largeIcon = props.largeIcon, - type = props.type, - children = props.children, - icon = props.icon, - expanded = props.expanded, - selected = props.selected, - loading = props.loading, - disabled = props.disabled, +var _excluded$w = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]; +var Column = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames; + + var size = props.size, + sizeXS = props.sizeXS, + sizeS = props.sizeS, + sizeM = props.sizeM, + sizeL = props.sizeL, + sizeXL = props.sizeXL, className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$u); + children = props.children, + rest = _objectWithoutProperties(props, _excluded$w); - var buttonClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Button', true), _defineProperty$2(_classNames, 'Button--expanded', expanded), _defineProperty$2(_classNames, "Button--".concat(size), size), _defineProperty$2(_classNames, "Button--".concat(size, "Square"), !children), _defineProperty$2(_classNames, "Button--".concat(appearance), appearance), _defineProperty$2(_classNames, 'Button--selected', selected && (appearance === 'basic' || appearance === 'transparent')), _defineProperty$2(_classNames, "Button--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$2(_classNames, "".concat(className), className), _classNames)); - var iconClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Button-icon', true), _defineProperty$2(_classNames2, "Button-icon--".concat(iconAlign), children && iconAlign), _classNames2)); - return /*#__PURE__*/React.createElement("button", _extends$3({ - "data-test": "DesignSystem-Button", + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Col', true), _defineProperty$1(_classNames, "Col--".concat(size), size), _defineProperty$1(_classNames, "Col--xs-".concat(sizeXS), sizeXS), _defineProperty$1(_classNames, "Col--s-".concat(sizeS), sizeS), _defineProperty$1(_classNames, "Col--m-".concat(sizeM), sizeM), _defineProperty$1(_classNames, "Col--l-".concat(sizeL), sizeL), _defineProperty$1(_classNames, "Col--xl-".concat(sizeXL), sizeXL), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); + return /*#__PURE__*/React.createElement("div", _extends$2({ ref: ref, - type: type, - className: buttonClass, - disabled: disabled || loading, - tabIndex: tabIndex - }, rest), loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Spinner, { - size: "small", - appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white', - "data-test": "DesignSystem-Button--Spinner", - className: "Button-spinner" - }), /*#__PURE__*/React.createElement(Text, { - className: "Button-text Button-text--hidden" - }, children || '')) : /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement("div", { - className: iconClass - }, /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-Button--Icon", - name: icon, - appearance: disabled ? 'disabled' : appearance === 'basic' || appearance === 'transparent' ? selected ? 'info' : 'default' : 'white', - size: largeIcon && !children ? sizeMapping$2[size] + 4 : sizeMapping$2[size] - })), children)); + "data-test": "DesignSystem-Column" + }, rest, { + className: classes + }), children); }); -Button.displayName = 'Button'; +Column.displayName = 'Column'; -var config = { - yearBlockRange: 12, - yearsInRow: 3, - monthBlock: 12, - monthsInRow: 3, - daysInRow: 7, - months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - days: { - small: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - large: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] - } -}; +var Trigger$1 = function Trigger(props) { + var inputFormat = props.inputFormat, + inputOptions = props.inputOptions, + validators = props.validators, + state = props.state, + setState = props.setState; + var init = state.init, + date$1 = state.date, + error = state.error; + var _inputOptions$placeho = inputOptions.placeholderChar, + placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; -var yearBlockRange = config.yearBlockRange; -var getIndexOfDay = function getIndexOfDay(day) { - return ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'].indexOf(day); -}; -var getYearBlock = function getYearBlock(year) { - return year - year % yearBlockRange; -}; -var getDaysInMonth = function getDaysInMonth(year, month) { - return new Date(year, month + 1, 0).getDate(); -}; -var getFirstDayOfMonth = function getFirstDayOfMonth(year, month) { - return new Date(year, month).getDay(); -}; -var getDateInfo = function getDateInfo(d) { - if (d) { - var dateVal = convertToDate(d); + var onPasteHandler = function onPasteHandler(_e, val) { + var onPaste = inputOptions.onPaste; + setState({ + open: true + }); - if (dateVal) { - var year = dateVal.getFullYear(); - var month = dateVal.getMonth(); - var day = dateVal.getDay(); - var date = dateVal.getDate(); - var decadeYear = getYearBlock(year); - return { - decadeYear: decadeYear, - year: year, - month: month, - day: day, - date: date - }; - } else { - return {}; + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + setState({ + date: d + }); } - } - return {}; -}; -var convertToDate = function convertToDate(d, format, validators) { - var dateVal; + if (onPaste) onPaste(_e, val); + }; - if (d) { - if (typeof d === 'number') { - dateVal = new Date(d); - } else if (typeof d === 'string') { - return format ? translateToDate(format, d, validators) : undefined; - } else if (!(d instanceof Date)) { - var _ref = d, - year = _ref.year, - month = _ref.month, - date = _ref.date; - dateVal = new Date(year, month, date, 0, 0, 0); - } else { - dateVal = d; - } - } + var onChangeHandler = function onChangeHandler(_e, val) { + var onChange = inputOptions.onChange; + setState({ + open: true + }); - return dateVal; -}; -var compareYearBlock = function compareYearBlock(d, operator, currDecade) { - if (d) { - var _getDateInfo = getDateInfo(d), - limitDecade = _getDateInfo.decadeYear; + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + setState({ + date: d + }); + } - switch (operator) { - case 'less': - if (limitDecade < currDecade) return true; - break; + if (onChange) onChange(_e); + }; - case 'more': - if (limitDecade > currDecade) return true; - break; + var onBlurHandler = function onBlurHandler(_e, val) { + var onBlur = inputOptions.onBlur; + setState({ + init: true + }); + var hasNumber = /\d/; - case 'equal': - if (limitDecade === currDecade) return true; - break; + if (val && hasNumber.test(val) && val.includes(placeholderChar)) { + setState({ + error: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + error: false + }); } - } - return false; -}; -var compareDate = function compareDate(d, operator, currYear, currMonth, currDate) { - if (d) { - var _getDateInfo2 = getDateInfo(d), - limitYear = _getDateInfo2.year, - limitMonth = _getDateInfo2.month, - limitDate = _getDateInfo2.date; - - switch (operator) { - case 'less': - if (limitYear < currYear) return true; - if (limitYear > currYear) return false; - - if (currMonth !== undefined) { - if (limitMonth < currMonth) return true; - if (limitMonth > currMonth) return false; - } - - if (currDate !== undefined && limitDate < currDate) return true; - break; - - case 'more': - if (limitYear > currYear) return true; - if (limitYear < currYear) return false; - - if (currMonth !== undefined) { - if (limitMonth > currMonth) return true; - if (limitMonth < currMonth) return false; - } + if (onBlur) onBlur(_e, val || ''); + }; - if (currDate !== undefined && limitDate > currDate) return true; - break; + var onClearHandler = function onClearHandler(e) { + var onClear = inputOptions.onClear; + setState({ + init: true, + date: undefined + }); + if (onClear) onClear(e); + }; - case 'equal': - if (currDate !== undefined) { - if (limitYear === currYear && limitMonth === currMonth && limitDate === currDate) return true; - } else if (currMonth !== undefined) { - if (limitYear === currYear && limitMonth === currMonth) return true; - } else if (limitYear === currYear) return true; + var showError = inputOptions.error || inputOptions.required && error && init; + var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; - } - } + var inputValidator = function inputValidator(val) { + return isValid(validators, val, inputFormat); + }; - return false; + var mask = date[inputFormat]; + return /*#__PURE__*/React.createElement(X, _extends$2({ + icon: "events", + placeholder: inputFormat + }, inputOptions, { + error: showError, + mask: mask, + value: date$1 ? translateToString(inputFormat, date$1) : init ? X.utils.getDefaultValue(mask, placeholderChar) : '', + onChange: onChangeHandler, + onPaste: onPasteHandler, + onBlur: onBlurHandler, + onClear: onClearHandler, + caption: showError ? errorMessage : '', + validators: [inputValidator], + clearOnEmptyBlur: true, + id: "parent-DatePicker" + })); }; -var translateToString = function translateToString(format, d) { - if (format && d) { - var _getDateInfo3 = getDateInfo(d), - year = _getDateInfo3.year, - month = _getDateInfo3.month, - date = _getDateInfo3.date; - - var separator = format.includes('/') ? '/' : '-'; - var f = format.split(separator); - var val = f.reduce(function (out, curr, i) { - switch (curr) { - case 'mm': - out += (month < 9 && '0') + (month + 1); - break; - case 'yyyy': - out += year; - break; - - case 'dd': - out += (date < 10 && '0') + date; - break; - } - - if (i !== f.length - 1) out += separator; - return out; - }, ''); - return val; - } - - return ''; -}; -var translateToDate = function translateToDate(format, val) { - var validators = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; +var _excluded$v = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"]; +var DatePicker = /*#__PURE__*/function (_React$Component) { + _inherits(DatePicker, _React$Component); - if (isValid(validators, val, format)) { - var separator = format.includes('/') ? '/' : '-'; - var year = -1, - month = -1, - date = -1; - var v = val.split(separator); - format.split(separator).forEach(function (f, i) { - switch (f) { - case 'mm': - month = +v[i] - 1; - break; + var _super = _createSuper(DatePicker); - case 'yyyy': - year = +v[i]; - break; + function DatePicker(props) { + var _this; - case 'dd': - date = +v[i]; - break; - } - }); - var d = convertToDate({ - year: year, - month: month, - date: date - }); - return d; - } else { - return undefined; - } -}; + _classCallCheck(this, DatePicker); -var Calendar = /*#__PURE__*/function (_React$Component) { - _inherits$1(Calendar, _React$Component); + _this = _super.call(this, props); - var _super = _createSuper$1(Calendar); + _defineProperty$1(_assertThisInitialized$1(_this), "getError", function (date) { + var _this$props = _this.props, + disabledBefore = _this$props.disabledBefore, + disabledAfter = _this$props.disabledAfter; - function Calendar(props) { - var _this; + var _getDateInfo = getDateInfo(disabledBefore), + dbYear = _getDateInfo.year, + dbMonth = _getDateInfo.month, + dbDate = _getDateInfo.date; - _classCallCheck$1(this, Calendar); + var _getDateInfo2 = getDateInfo(disabledAfter), + daYear = _getDateInfo2.year, + daMonth = _getDateInfo2.month, + daDate = _getDateInfo2.date; - _this = _super.call(this, props); + return !date ? false : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); + }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateState", function (year, month, date) { + _defineProperty$1(_assertThisInitialized$1(_this), "onDateChangeHandler", function (d) { _this.setState({ - year: year, - month: month, - date: date + init: true, + date: d }); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "getDateValue", function (year, month, date) { - var d = new Date(year, month, date); - return d; - }); - _defineProperty$2(_assertThisInitialized$2(_this), "getNavDateInfo", function (index) { - var _this$state = _this.state, - yearBlockNav = _this$state.yearBlockNav, - yearNav = _this$state.yearNav, - monthNav = _this$state.monthNav; - var monthBlock = config.monthBlock; - var yearBlock = yearBlockNav; - var month = (monthNav + index) % monthBlock; - var year = yearNav + (index !== 0 && month < monthNav ? 1 : 0); - return { - yearBlock: yearBlock, - year: year, - month: month - }; + var closeOnSelect = _this.props.closeOnSelect; + if (closeOnSelect) _this.setState({ + open: false + }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "getInRangeError", function () { - var _this$props = _this.props, - rangePicker = _this$props.rangePicker, - rangeLimit = _this$props.rangeLimit; - var _this$state2 = _this.state, - startDateState = _this$state2.startDate, - endDateState = _this$state2.endDate, - hoverDateState = _this$state2.hoverDate; - - if (rangePicker && rangeLimit) { - var _getDateInfo = getDateInfo(startDateState), - startYear = _getDateInfo.year, - startMonth = _getDateInfo.month, - _startDate2 = _getDateInfo.date; - - var _getDateInfo2 = getDateInfo(endDateState), - endYear = _getDateInfo2.year, - endMonth = _getDateInfo2.month, - _endDate2 = _getDateInfo2.date; + _defineProperty$1(_assertThisInitialized$1(_this), "onToggleHandler", function (o, type) { + var disabled = _this.props.inputOptions.disabled; + if (disabled) return; - var _getDateInfo3 = getDateInfo(hoverDateState), - hoverYear = _getDateInfo3.year, - hoverMonth = _getDateInfo3.month, - hoverDate = _getDateInfo3.date; + switch (type) { + case 'outsideClick': + _this.setState({ + open: o + }); - var limitDate; + break; - if (startDateState) { - limitDate = new Date(startDateState); - limitDate.setDate(_startDate2 + rangeLimit); - return compareDate(limitDate, 'less', hoverYear, hoverMonth, hoverDate + 1) || compareDate(limitDate, 'less', endYear, endMonth, _endDate2 + 1); - } + case 'onClick': + _this.setState({ + open: true + }); - if (endDateState) { - limitDate = new Date(endDateState); - limitDate.setDate(_endDate2 - rangeLimit); - return compareDate(limitDate, 'more', hoverYear, hoverMonth, hoverDate - 1) || compareDate(limitDate, 'more', startYear, startMonth, _startDate2 - 1); - } + break; } - - return false; }); - _defineProperty$2(_assertThisInitialized$2(_this), "selectYear", function (year) { - return function () { - _this.updateState(year); + var inputFormat = props.inputFormat, + validators = props.validators; - _this.setState({ - view: 'month' - }); - }; - }); + var _date = convertToDate(props.date, inputFormat, validators); - _defineProperty$2(_assertThisInitialized$2(_this), "selectMonth", function (month) { - return function () { - _this.updateState(_this.state.yearNav, month); + var error = _this.getError(_date); - _this.setState({ - view: 'date' + _this.state = { + date: _date, + error: error, + init: false, + open: props.open || false + }; + return _this; + } + + _createClass(DatePicker, [{ + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + if (prevProps.date !== this.props.date) { + var _this$props2 = this.props, + inputFormat = _this$props2.inputFormat, + validators = _this$props2.validators; + var d = convertToDate(this.props.date, inputFormat, validators); + this.setState({ + date: d }); - }; - }); + } - _defineProperty$2(_assertThisInitialized$2(_this), "selectDate", function (index, date) { - var _this$getNavDateInfo = _this.getNavDateInfo(index), - year = _this$getNavDateInfo.year, - month = _this$getNavDateInfo.month; + if (prevProps.open !== this.props.open) { + this.setState({ + open: this.props.open || false + }); + } - _this.updateState(year, month, date); + if (prevState.date !== this.state.date) { + var _this$props3 = this.props, + onDateChange = _this$props3.onDateChange, + outputFormat = _this$props3.outputFormat; + var _date2 = this.state.date; + var newError = this.getError(_date2); + this.setState({ + error: newError + }); - var d = _this.getDateValue(year, month, date); + if (onDateChange) { + if (!newError) { + var dVal = translateToString(outputFormat, _date2); + onDateChange(_date2, dVal); + } else { + onDateChange(undefined, ''); + } + } + } + } + }, { + key: "renderCalendar", + value: function renderCalendar() { + var _this2 = this; - _this.setState({ - currDate: d - }); - }); + var _this$props4 = this.props; + _this$props4.date; + _this$props4.open; + _this$props4.position; + var inputFormat = _this$props4.inputFormat; + _this$props4.outputFormat; + _this$props4.inputOptions; + var validators = _this$props4.validators; + _this$props4.withInput; + var disabledBefore = _this$props4.disabledBefore, + disabledAfter = _this$props4.disabledAfter; + _this$props4.onDateChange; + _this$props4.closeOnSelect; + var size = _this$props4.size, + _this$props4$showToda = _this$props4.showTodayDate, + showTodayDate = _this$props4$showToda === void 0 ? true : _this$props4$showToda, + _this$props4$children = _this$props4.children, + children = _this$props4$children === void 0 ? /*#__PURE__*/React.createElement(React.Fragment, null) : _this$props4$children, + view = _this$props4.view, + rest = _objectWithoutProperties(_this$props4, _excluded$v); - _defineProperty$2(_assertThisInitialized$2(_this), "onNavIconClickHandler", function (type) { - return function () { - var _this$state3 = _this.state, - view = _this$state3.view, - yearBlockNav = _this$state3.yearBlockNav, - yearNav = _this$state3.yearNav, - monthNav = _this$state3.monthNav; - var yearBlockRange = config.yearBlockRange, - monthBlock = config.monthBlock; + var date = this.state.date; + var months = config.months; + var todayDate = new Date(Date.now()); + var todayMonthAndDate = "".concat(months[todayDate.getMonth()], " ").concat(todayDate.getDate()); + var currDate = convertToDate(date, inputFormat, validators); + var dateDisabledBefore = convertToDate(disabledBefore, inputFormat, validators); + var dateDisabledAfter = convertToDate(disabledAfter, inputFormat, validators); + + var isTodayDisabled = function isTodayDisabled() { + var isTodayDateDisabled = true; + + if (currDate && dateDisabledBefore && dateDisabledAfter) { + isTodayDateDisabled = currDate > dateDisabledBefore && currDate < dateDisabledAfter; + } else if (currDate && dateDisabledBefore) { + isTodayDateDisabled = currDate < dateDisabledBefore; + } else if (currDate && dateDisabledAfter) { + isTodayDateDisabled = currDate > dateDisabledAfter; + } - switch (view) { - case 'year': - if (type === 'prev') _this.setState({ - yearBlockNav: yearBlockNav - yearBlockRange - }); - if (type === 'next') _this.setState({ - yearBlockNav: yearBlockNav + yearBlockRange - }); - break; + return !isTodayDateDisabled; + }; - case 'month': - if (type === 'prev') _this.setState({ - yearNav: yearNav - 1 - }); - if (type === 'next') _this.setState({ - yearNav: yearNav + 1 - }); - break; + var todayChipClass = classnames({ + 'd-flex justify-content-center': true, + 'pb-5': size === 'small', + 'pb-6': size === 'large', + 'pt-3': size === 'large' && view === 'year' + }); + return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", { + className: "d-flex" + }, children, /*#__PURE__*/React.createElement(Calendar, _extends$2({}, rest, { + size: size, + date: currDate, + view: view, + disabledBefore: dateDisabledBefore, + disabledAfter: dateDisabledAfter, + onDateChange: this.onDateChangeHandler + }))), showTodayDate && /*#__PURE__*/React.createElement("div", { + className: todayChipClass, + "data-test": "DesignSystem-Select--TodaysDate-wrapper" + }, /*#__PURE__*/React.createElement(Chip, { + label: "Today, ".concat(todayMonthAndDate), + name: "chip", + type: "action", + disabled: isTodayDisabled(), + onClick: function onClick() { + return _this2.onDateChangeHandler(new Date()); + } + }))); + } + }, { + key: "render", + value: function render() { + var _this$props5 = this.props, + position = _this$props5.position, + withInput = _this$props5.withInput, + inputFormat = _this$props5.inputFormat, + inputOptions = _this$props5.inputOptions, + validators = _this$props5.validators; + var open = this.state.open; - case 'date': - if (type === 'prev') { - if (monthNav === 0) _this.setState({ - yearNav: yearNav - 1 - }); + if (withInput) { + return /*#__PURE__*/React.createElement(Popover, { + trigger: /*#__PURE__*/React.createElement(Trigger$1, { + inputFormat: inputFormat, + inputOptions: inputOptions, + validators: validators, + state: this.state, + setState: this.setState.bind(this) + }), + triggerClass: "w-100", + position: position, + appendToBody: true, + open: open, + onToggle: this.onToggleHandler + }, this.renderCalendar()); + } - _this.setState({ - monthNav: (monthBlock + monthNav - 1) % monthBlock - }); - } + return this.renderCalendar(); + } + }]); - if (type === 'next') { - if (monthNav === monthBlock - 1) _this.setState({ - yearNav: yearNav + 1 - }); + return DatePicker; +}(React.Component); - _this.setState({ - monthNav: (monthNav + 1) % monthBlock - }); - } +_defineProperty$1(DatePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { + position: 'bottom-start', + inputFormat: 'mm/dd/yyyy', + outputFormat: 'mm/dd/yyyy', + validators: [date$1], + inputOptions: {}, + closeOnSelect: true +})); - break; - } - }; - }); +var parseDate = function parseDate(date_time) { + var d = new Date(); + d.setHours(date_time.substring(0, 2)); + d.setMinutes(date_time.substring(3, 5)); + return d; +}; - _defineProperty$2(_assertThisInitialized$2(_this), "renderJumpButton", function (type) { - var _this$props2 = _this.props, - disabledBefore = _this$props2.disabledBefore, - disabledAfter = _this$props2.disabledAfter; - var _this$state4 = _this.state, - view = _this$state4.view, - yearBlockNav = _this$state4.yearBlockNav, - yearNav = _this$state4.yearNav, - monthNav = _this$state4.monthNav; - var disabled = false; +var isFormat12Hour = function isFormat12Hour(format) { + return format === '12-Hour'; +}; - switch (view) { - case 'year': - if (type === 'prev') { - disabled = compareYearBlock(disabledBefore, 'more', yearBlockNav) || compareYearBlock(disabledBefore, 'equal', yearBlockNav); - } +var isTimeIn12HourFormat = function isTimeIn12HourFormat(time) { + return _isTimeInAM(time) || _isTimeInPM(time); +}; - if (type === 'next') { - disabled = compareYearBlock(disabledAfter, 'less', yearBlockNav) || compareYearBlock(disabledAfter, 'equal', yearBlockNav); - } +var _isTimeInAM = function _isTimeInAM(time) { + return time.includes('a') || time.includes('A'); +}; +var _isTimeInPM = function _isTimeInPM(time) { + return time.includes('p') || time.includes('P'); +}; +/** + * Convert time from 12 hour format to 24 hour format + * @param timeStr in hh:mm [AM/PM] format + * @returns time in HH:MM format + */ - break; +var convert12To24HourFormat$1 = function convert12To24HourFormat(timeStr) { + var _timeStr$split = timeStr.split(' '), + _timeStr$split2 = _slicedToArray(_timeStr$split, 2), + time = _timeStr$split2[0], + modifier = _timeStr$split2[1]; - case 'month': - if (type === 'prev') { - disabled = compareDate(disabledBefore, 'more', yearNav - 1); - } + var timeArr = time.split(':'); + var hours = timeArr[0]; + var minutes = timeArr[1]; - if (type === 'next') { - disabled = compareDate(disabledAfter, 'less', yearNav + 1); - } + if (hours === '12' && _isTimeInAM(modifier)) { + hours = '00'; + } - break; + if (_isTimeInPM(modifier) && hours !== '12') { + hours = (parseInt(hours, 10) + 12).toString(); + } - case 'date': - if (type === 'prev') { - disabled = compareDate(disabledBefore, 'more', yearNav, monthNav - 1); - } + return "".concat(hours, ":").concat(minutes); +}; +/** + * @param val + * @returns insert 0 at start in case of single digit + */ - if (type === 'next') { - disabled = compareDate(disabledAfter, 'less', yearNav, monthNav + 1); - } +var convertToTwoDigit = function convertToTwoDigit(val) { + return ('0' + val).slice(-2); +}; +/** + * Convert time from 24 hour format to 12 hour format + * @param timeStr in HH:MM format + * @returns time in hh:mm [AM/PM] format + */ - break; - } +var convert24To12HourFormat = function convert24To12HourFormat(timeStr) { + var timeArr = timeStr.split(':'); + var hours = parseInt(timeArr[0], 10); + var modifier = hours >= 12 ? 'PM' : 'AM'; + var convertedHours = hours % 12 || 12; + var hoursInString = convertedHours.toString(); + hoursInString = convertToTwoDigit(hoursInString); + var minutes = timeArr[1]; + var result = "".concat(hoursInString.toString(), ":").concat(minutes, " ").concat(modifier); + return result; +}; - var headerIconClass = classnames(_defineProperty$2({ - 'Calendar-headerIcon': true - }, "Calendar-headerIcon--".concat(type), type)); - return /*#__PURE__*/React.createElement(Button, { - type: "button", - className: headerIconClass, - appearance: "transparent", - icon: "arrow_".concat(type === 'next' ? 'forward' : 'back'), - disabled: disabled, - onClick: _this.onNavIconClickHandler(type) - }); - }); +var getTimeIn24HrFormat = function getTimeIn24HrFormat(timeStr) { + if (isTimeIn12HourFormat(timeStr)) { + return convert12To24HourFormat$1(timeStr); + } - _defineProperty$2(_assertThisInitialized$2(_this), "onNavHeadingClickHandler", function (currView) { - return function () { - var monthsInView = _this.props.monthsInView; - var jumpView = _this.props.jumpView; + return timeStr; +}; +/** + * @param startTime in HH:MM format + * @param endTime in HH:MM format + * @returns returns true if start time is greater than end time + */ - if (jumpView) { - if (monthsInView > 1) jumpView = false; - } - if (jumpView) { - if (currView === 'year') _this.setState({ - view: 'date' - }); - if (currView === 'month') _this.setState({ - view: 'year' - }); - if (currView === 'date') _this.setState({ - view: 'month' - }); - } - }; - }); +var checkTimeDifference = function checkTimeDifference(startTime, endTime) { + var parseStartTime = parseDate(startTime); + var parseEndTime = parseDate(endTime); + return parseStartTime > parseEndTime; +}; +/** + * @param startTime in HH:MM format + * @param endTime in HH:MM format + * @param interval + * @returns array of 24 hour time list based on interval + */ - _defineProperty$2(_assertThisInitialized$2(_this), "renderHeaderContent", function (index) { - var _this$props3 = _this.props, - size = _this$props3.size, - monthsInView = _this$props3.monthsInView; - var _this$state5 = _this.state, - view = _this$state5.view, - yearBlockNav = _this$state5.yearBlockNav; - var yearBlockRange = config.yearBlockRange, - months = config.months; +var get24HourTimeList = function get24HourTimeList(startTime, endTime, interval) { + var timeList = []; + var parseStartTime = parseDate(startTime); + var parseEndTime = parseDate(endTime); - var _this$getNavDateInfo2 = _this.getNavDateInfo(index), - yearNavVal = _this$getNavDateInfo2.year, - monthNavVal = _this$getNavDateInfo2.month; + while (parseStartTime <= parseEndTime) { + timeList.push(parseStartTime.toTimeString().substring(0, 5)); + parseStartTime.setMinutes(parseStartTime.getMinutes() + interval); + } - var headerContentClass = classnames({ - 'Calendar-headerContent': true, - 'Calendar-headerContent--noIcon-left': index === monthsInView - 1, - 'Calendar-headerContent--noIcon-right': index === 0 - }); - var headerContent = ''; - if (view === 'year') headerContent = "".concat(yearBlockNav, " - ").concat(yearBlockNav + (yearBlockRange - 1)); - if (view === 'month') headerContent = "".concat(yearNavVal); + return timeList; +}; +/** + * @param startTime in HH:MM format + * @param interval + * @returns time list in 24 hour format including times option for next day + */ - var renderHeading = function renderHeading(content) { - if (size === 'small') { - return /*#__PURE__*/React.createElement(Text, { - weight: "strong" - }, content); - } - return /*#__PURE__*/React.createElement(Heading, { - size: "s" - }, content); - }; +var getReverseTimeList = function getReverseTimeList(startTime, endTime, interval) { + var timeList = get24HourTimeList('00:00', '23:59', interval); + var startTimeIndex = timeList.indexOf(startTime); + var endTimeIndex = timeList.indexOf(endTime); + var nextDayTimeIndex = endTime === '' ? startTimeIndex : endTimeIndex + 1; + var presentDayList = timeList.slice(startTimeIndex); + var nextDayList = timeList.slice(0, nextDayTimeIndex); + var result = presentDayList.concat(nextDayList); + return result; +}; - return /*#__PURE__*/React.createElement("div", { - className: headerContentClass - }, view !== 'date' && /*#__PURE__*/React.createElement("span", { - onClick: _this.onNavHeadingClickHandler(view) - }, renderHeading(headerContent)), view === 'date' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { - onClick: _this.onNavHeadingClickHandler(view) - }, renderHeading(months[monthNavVal])), /*#__PURE__*/React.createElement("span", { - className: "ml-4", - onClick: _this.onNavHeadingClickHandler('month') - }, renderHeading(yearNavVal)))); - }); +var getTimeListIn24HourFormat = function getTimeListIn24HourFormat(startTime, endTime, interval) { + if (endTime === '' || checkTimeDifference(startTime, endTime)) { + return getReverseTimeList(startTime, endTime, interval); + } - _defineProperty$2(_assertThisInitialized$2(_this), "renderBodyYear", function () { - var yearBlockRange = config.yearBlockRange, - yearsInRow = config.yearsInRow; - var _this$props4 = _this.props, - size = _this$props4.size, - rangePicker = _this$props4.rangePicker, - disabledBefore = _this$props4.disabledBefore, - disabledAfter = _this$props4.disabledAfter; - var yearBlockNav = _this.state.yearBlockNav; - var noOfRows = Math.ceil(yearBlockRange / yearsInRow); - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: yearsInRow - }, function (_x, col) { - var offset = yearsInRow * row + col; - if (offset === yearBlockNav) return undefined; - var year = yearBlockNav + offset; - var disabled = compareDate(disabledBefore, 'more', year) || compareDate(disabledAfter, 'less', year); - var active = !disabled && !rangePicker && year === _this.state.year; - var valueClass = classnames(_defineProperty$2({ - 'Calendar-value': true, - 'Calendar-value--active': active, - 'Calendar-value--disabled': disabled, - 'Calendar-yearValue': true - }, "Calendar-yearValue--".concat(size), size)); - return /*#__PURE__*/React.createElement("div", { - key: "".concat(row, "-").concat(col), - "data-test": "DesignSystem-Calendar--yearValue", - className: valueClass, - onClick: _this.selectYear(year) - }, /*#__PURE__*/React.createElement(Text, { - size: size === 'small' ? 'small' : 'regular', - appearance: active ? 'white' : disabled ? 'disabled' : 'default' - }, year)); - })); - }); - }); + return get24HourTimeList(startTime, endTime, interval); +}; - _defineProperty$2(_assertThisInitialized$2(_this), "renderBodyMonth", function () { - var monthBlock = config.monthBlock, - monthsInRow = config.monthsInRow, - months = config.months; - var _this$props5 = _this.props, - size = _this$props5.size, - disabledBefore = _this$props5.disabledBefore, - disabledAfter = _this$props5.disabledAfter; - var _this$state6 = _this.state, - yearNav = _this$state6.yearNav, - year = _this$state6.year; - var noOfRows = Math.ceil(monthBlock / monthsInRow); - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: monthsInRow - }, function (_x, col) { - var month = monthsInRow * row + col; - var disabled = compareDate(disabledBefore, 'more', yearNav, month) || compareDate(disabledAfter, 'less', yearNav, month); - var active = !disabled && year === yearNav && month === _this.state.month; - var valueClass = classnames(_defineProperty$2({ - 'Calendar-value': true, - 'Calendar-value--active': active, - 'Calendar-value--dummy': disabled, - 'Calendar-monthValue': true - }, "Calendar-monthValue--".concat(size), size)); - return /*#__PURE__*/React.createElement("div", { - key: "".concat(row, "-").concat(col), - "data-test": "DesignSystem-Calendar--monthValue", - className: valueClass, - onClick: _this.selectMonth(month) - }, /*#__PURE__*/React.createElement(Text, { - size: size === 'small' ? 'small' : 'regular', - appearance: active ? 'white' : disabled ? 'disabled' : 'default' - }, months[month])); - })); - }); - }); +var getTimeDifference = function getTimeDifference(startTime, endTime) { + var timeStart = new Date('07/07/2022 ' + startTime); + var timeEnd = new Date('07/07/2022 ' + endTime); + var diff = timeEnd.getTime() - timeStart.getTime(); + var diff_as_date = new Date(diff); + var hour = diff_as_date.getUTCHours(); + var minute = diff_as_date.getUTCMinutes(); + return { + hour: hour, + minute: minute + }; +}; - _defineProperty$2(_assertThisInitialized$2(_this), "onDateRowMouseLeaveHandler", function () { - var rangePicker = _this.props.rangePicker; +var getCustomLabel = function getCustomLabel(time, timeFormat, showDuration, referenceTime) { + var label = time; - if (rangePicker) { - _this.setState({ - hoverDate: undefined - }); - } - }); + if (isFormat12Hour(timeFormat)) { + label = convert24To12HourFormat(time); + } - _defineProperty$2(_assertThisInitialized$2(_this), "renderBodyDate", function (index) { - var daysInRow = config.daysInRow, - days = config.days; - var _this$props6 = _this.props, - size = _this$props6.size, - firstDayOfWeek = _this$props6.firstDayOfWeek; - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { - className: "Calendar-dayValues" - }, Array.from({ - length: 7 - }, function (_x, day) { - var valueClass = classnames({ - 'Calendar-valueWrapper': true - }); - var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; - return /*#__PURE__*/React.createElement(Subheading, { - key: day, - className: valueClass, - appearance: "disabled" - }, days[size][dayValue]); - })), /*#__PURE__*/React.createElement("div", { - className: "Calendar-dateValues", - onMouseLeave: _this.onDateRowMouseLeaveHandler - }, _this.renderDateValues(index))); - }); + if (showDuration && referenceTime) { + var _getTimeDifference = getTimeDifference(referenceTime, time), + hour = _getTimeDifference.hour, + minute = _getTimeDifference.minute; - _defineProperty$2(_assertThisInitialized$2(_this), "renderDateValues", function (index) { - var daysInRow = config.daysInRow; - var _this$props7 = _this.props, - size = _this$props7.size, - rangePicker = _this$props7.rangePicker, - firstDayOfWeek = _this$props7.firstDayOfWeek, - disabledBefore = _this$props7.disabledBefore, - disabledAfter = _this$props7.disabledAfter; - var _this$state7 = _this.state, - startDate = _this$state7.startDate, - endDate = _this$state7.endDate, - hoverDate = _this$state7.hoverDate, - yearState = _this$state7.year, - monthState = _this$state7.month, - dateState = _this$state7.date; + var timeDiffLabel = " (".concat(hour, " hr ").concat(minute, " min)"); + label += timeDiffLabel; + } - var _this$getNavDateInfo3 = _this.getNavDateInfo(index), - yearNavVal = _this$getNavDateInfo3.year, - monthNavVal = _this$getNavDateInfo3.month; + return label; +}; - var dayRange = getDaysInMonth(yearNavVal, monthNavVal); - var dayDiff = getFirstDayOfMonth(yearNavVal, monthNavVal) - getIndexOfDay(firstDayOfWeek); - var dummyDays = Math.abs(dayDiff); - var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); +var isOptionDisabled = function isOptionDisabled(time, timeFormat, disabledSlotList) { + var timeValue = time; - var inRangeError = _this.getInRangeError(); + if (isFormat12Hour(timeFormat)) { + timeValue = convert24To12HourFormat(time); + } - var onClickHandler = function onClickHandler(date) { - return function () { - if (rangePicker) { - if (startDate && endDate) { - _this.selectDate(index, date); - } else { - if (!inRangeError) _this.selectDate(index, date); - } - } else { - _this.selectDate(index, date); - } - }; - }; + if (disabledSlotList.includes(timeValue)) { + return true; + } - var onMouseOverHandler = function onMouseOverHandler(date) { - return function () { - if (rangePicker) { - var d = _this.getDateValue(yearNavVal, monthNavVal, date); + return false; +}; - if (!startDate || !endDate) { - _this.setState({ - hoverDate: d - }); - } - } - }; - }; +var convertTimeToOptionList = function convertTimeToOptionList(timeList, timeFormat) { + var id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'TimePicker-Option-key'; + var showDuration = arguments.length > 3 ? arguments[3] : undefined; + var referenceTime = arguments.length > 4 ? arguments[4] : undefined; + var disabledSlotList = arguments.length > 5 ? arguments[5] : undefined; + var optionList = timeList.map(function (time, index) { + return { + label: getCustomLabel(time, timeFormat, showDuration, referenceTime), + value: time, + disabled: disabledSlotList && isOptionDisabled(time, timeFormat, disabledSlotList), + selected: false, + optionID: id + index + }; + }); + return optionList; +}; - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: daysInRow - }, function (_x, col) { - var date = daysInRow * row + col - dummyDays + 1; - var dummy = date <= 0 || date > dayRange; - var disabled = !dummy && (compareDate(disabledBefore, 'more', yearNavVal, monthNavVal, date) || compareDate(disabledAfter, 'less', yearNavVal, monthNavVal, date)); - var active = !disabled && yearState === yearNavVal && monthState === monthNavVal && dateState === date; - var startActive = false; - var endActive = false; - var inRange = false; - var inRangeLast = false; +var computeEndTime = function computeEndTime(startTime) { + return startTime ? '' : '23:59'; +}; - if (rangePicker) { - startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date); - endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date); - inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date); - active = !disabled && (startActive || endActive); +var getDropdownOptionList = function getDropdownOptionList(props) { + var startTime = props.startTime, + endTime = props.endTime, + interval = props.interval, + timeFormat = props.timeFormat, + showDuration = props.showDuration, + disabledSlotList = props.disabledSlotList, + id = props.id; + var startTimeIn24Hr = startTime ? getTimeIn24HrFormat(startTime) : '00:00'; + var endTimeIn24Hr = endTime ? getTimeIn24HrFormat(endTime) : computeEndTime(startTime); + var timeList = getTimeListIn24HourFormat(startTimeIn24Hr, endTimeIn24Hr, interval); + var dropdownOptionList = convertTimeToOptionList(timeList, timeFormat, id, showDuration, startTime, disabledSlotList); + return dropdownOptionList; +}; - if (startDate && endDate) { - inRange = !disabled && (compareDate(startDate, 'less', yearNavVal, monthNavVal, date) || startActive) && (compareDate(endDate, 'more', yearNavVal, monthNavVal, date) || endActive); - } else if (startDate) { - inRange = !disabled && (compareDate(hoverDate, 'more', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(startDate, 'less', yearNavVal, monthNavVal, date); - } else if (endDate) { - inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date); - } - } +var convertMinTo60 = function convertMinTo60(time) { + var parseNum = parseInt(time, 10); + if (parseNum < 10) return time; + var timeInNum = parseNum > 60 ? parseNum % 60 : parseNum; + var min = (timeInNum.toString() + '0').slice(0, 2); + return min; +}; - var _getDateInfo4 = getDateInfo(startDate), - sYear = _getDateInfo4.year, - sMonth = _getDateInfo4.month, - sDate = _getDateInfo4.date; +var get24HourCurrentTime = function get24HourCurrentTime() { + var today = new Date(); + return convertToTwoDigit(today.getHours()) + ':' + convertToTwoDigit(today.getMinutes()); +}; - var _getDateInfo5 = getDateInfo(endDate), - eYear = _getDateInfo5.year, - eMonth = _getDateInfo5.month, - eDate = _getDateInfo5.date; +var convertHourTo24 = function convertHourTo24(time) { + var timeInNum = parseInt(time, 10) % 24; + return timeInNum.toString(); +}; - var isStart = startActive || endDate && inRangeLast && compareDate(hoverDate, 'less', eYear, eMonth, eDate); - var isEnd = endActive || startDate && inRangeLast && compareDate(hoverDate, 'more', sYear, sMonth, sDate); - var isRangeError = inRange && inRangeError; - var wrapperClass = classnames({ - 'Calendar-valueWrapper': true, - 'Calendar-valueWrapper--inRange': inRange || rangePicker && active, - 'Calendar-valueWrapper--inRangeError': isRangeError, - 'Calendar-valueWrapper--start': isStart && !isEnd, - 'Calendar-valueWrapper--end': isEnd && !isStart, - 'Calendar-valueWrapper--startEnd': isStart && isEnd, - 'Calendar-valueWrapper--startError': isStart && isRangeError, - 'Calendar-valueWrapper--endError': isEnd && isRangeError - }); - var valueClass = classnames(_defineProperty$2({ - 'Calendar-value': true, - 'Calendar-value--start': isStart && !isEnd, - 'Calendar-value--end': isEnd && !isStart, - 'Calendar-value--startError': isStart && isRangeError, - 'Calendar-value--endError': isEnd && isRangeError, - 'Calendar-value--active': active, - 'Calendar-value--dummy': dummy || disabled, - 'Calendar-value--disabled': disabled, - 'Calendar-dateValue': true - }, "Calendar-dateValue--".concat(size), size)); - return /*#__PURE__*/React.createElement("div", { - key: "".concat(row, "-").concat(col), - className: wrapperClass - }, !dummy && /*#__PURE__*/React.createElement(Text, { - appearance: active ? 'white' : disabled ? 'disabled' : 'default', - size: size === 'small' ? 'small' : 'regular', - "data-test": "DesignSystem-Calendar--dateValue", - className: valueClass, - onClick: onClickHandler(date), - onMouseOver: onMouseOverHandler(date) - }, date)); - })); - }); - }); +var convertHourTo12 = function convertHourTo12(time) { + var timeInNum = parseInt(time, 10) % 12; + return timeInNum.toString(); +}; - _defineProperty$2(_assertThisInitialized$2(_this), "renderCalendar", function (index) { - var _classNames5; +var _checkNumber = function _checkNumber(str) { + var numberRegex = /^[0-9]+$/; + return numberRegex.test(str); +}; - var _this$props8 = _this.props, - size = _this$props8.size, - monthsInView = _this$props8.monthsInView; - var view = _this.state.view; - var containerClass = classnames((_classNames5 = {}, _defineProperty$2(_classNames5, 'Calendar', true), _defineProperty$2(_classNames5, "Calendar--".concat(view), view), _defineProperty$2(_classNames5, "Calendar--".concat(size), size), _classNames5)); - var headerClass = classnames({ - 'Calendar-header': true - }); - var bodyClass = classnames({ - 'Calendar-body': true - }); - return /*#__PURE__*/React.createElement("div", { - key: index, - "data-test": "DesignSystem-Calendar", - className: containerClass - }, /*#__PURE__*/React.createElement("div", { - className: headerClass - }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React.createElement("div", { - className: bodyClass - }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); - }); +var _checkNumberWithAMPM = function _checkNumberWithAMPM(str) { + var numberWithAMPMRegex = /^[0-9]+[ AaMmPp]+$/; + return numberWithAMPMRegex.test(str); +}; - var _this$props9 = _this.props, - _rangePicker = _this$props9.rangePicker, - _startDate = _this$props9.startDate, - _endDate = _this$props9.endDate, - _monthsInView = _this$props9.monthsInView, - _view = _this$props9.view; - var currDate = _rangePicker ? _endDate || _startDate : props.date; +var _checkNumberWithSpecialChar = function _checkNumberWithSpecialChar(str) { + var numberWithSpecialCharRegex = /^[0-9]+[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~][0-9]*$/; + return numberWithSpecialCharRegex.test(str); +}; - var _yearNav = props.yearNav !== undefined ? props.yearNav : getDateInfo(currDate || Date.now()).year; +var _checkNumberWithSpecialCharAMPM = function _checkNumberWithSpecialCharAMPM(str) { + var numberWithSpecialCharAMPM = /^[0-9]+[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~][0-9]+[ AaMmPp]+$/; + return numberWithSpecialCharAMPM.test(str); +}; - var _monthNav = props.monthNav !== undefined ? props.monthNav : getDateInfo(currDate || Date.now()).month; +var specialCharRegex = /[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/; +/** + * @param searchTime in [number special-char number] format + * @returns timeObj with hour & minute in 24 hour format + */ - var _getDateInfo6 = getDateInfo(currDate), - _year = _getDateInfo6.year, - _month = _getDateInfo6.month, - _date = _getDateInfo6.date; +var getTimeFromNumberWithSpecialChar = function getTimeFromNumberWithSpecialChar(searchTime) { + var time = searchTime.split(specialCharRegex); + var hour = convertHourTo24(time[0]); + var hh = convertToTwoDigit(hour); + var min = time[1] !== '' ? convertMinTo60(time[1]) : '00'; + var mm = (min + '0').slice(0, 2); + return { + hour: hh, + min: mm + }; +}; +/** + * If search term only contains number + * @param searchTerm + * @returns timeObj with hour & minute in 24 hour format + */ - _this.state = { - currDate: currDate, - startDate: _startDate, - endDate: _endDate, - yearNav: _yearNav, - monthNav: _monthNav, - year: _year, - month: _month, - date: _date, - view: _monthsInView > 1 ? 'date' : _view, - yearBlockNav: getYearBlock(_yearNav) - }; - return _this; - } - _createClass$1(Calendar, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - var monthsInView = this.props.monthsInView; +var getSearchTimeFromNumber = function getSearchTimeFromNumber(searchTerm, show12HourFormat) { + var searchLen = searchTerm.length; + var searchTimeInNum = parseInt(searchTerm, 10); + var firstTwoTerm = searchTerm.slice(0, 2); + var hh = '00'; + var mm = '00'; - if (prevProps.date !== this.props.date) { - var _getDateInfo7 = getDateInfo(this.props.date), - year = _getDateInfo7.year, - month = _getDateInfo7.month, - _date2 = _getDateInfo7.date; + switch (searchLen) { + case 1: + // if search term length is 1 consider it as hour + hh = '0' + searchTerm; + break; - this.updateState(year, month, _date2); - var d = convertToDate(this.props.date); - this.setState({ - currDate: d - }); + case 2: + // if search term length is 2 + if (searchTimeInNum <= 24 || show12HourFormat && searchTimeInNum <= 12) { + // consider it as hour + hh = convertToTwoDigit(searchTerm); + } else { + // consider first term as hour and last term as min + hh = '0' + searchTerm[0]; + mm = convertMinTo60(searchTerm[1] + '0'); // mm = searchTerm[1] + '0'; } - if (prevProps.startDate !== this.props.startDate) { - var _d = convertToDate(this.props.startDate); + break; - this.setState({ - startDate: _d - }); - } + case 3: + hh = '0' + searchTerm[0]; + mm = convertMinTo60(searchTerm.slice(1)); + break; - if (prevProps.endDate !== this.props.endDate) { - var _d2 = convertToDate(this.props.endDate); + case 4: + hh = show12HourFormat ? convertHourTo12(firstTwoTerm) : convertHourTo24(firstTwoTerm); + mm = convertMinTo60(searchTerm.slice(2)); + break; - this.setState({ - endDate: _d2 - }); - } + default: + // set time as -1 in case of invalid time + hh = '-1'; + mm = '-1'; + } - if (prevProps.view !== this.props.view) { - if (this.props.monthsInView === 1) { - this.setState({ - view: this.props.view - }); - } - } + return { + hour: hh, + min: mm + }; +}; +/** + * @param searchTime in [number AMPM] format + * @returns timeObj with hour & minute in 24 hour format + */ - if (prevProps.yearNav !== this.props.yearNav) { - var yearNav = this.props.yearNav; - if (yearNav) { - this.setState({ - yearNav: yearNav, - yearBlockNav: getYearBlock(yearNav) - }); - } - } +var getTimeFromNumberWithAMPM = function getTimeFromNumberWithAMPM(searchTime) { + var timeArr = searchTime.split(/[\saAmMpP]/); - if (prevProps.monthNav !== this.props.monthNav) { - var monthNav = this.props.monthNav; + var _getSearchTimeFromNum = getSearchTimeFromNumber(timeArr[0], true), + hour = _getSearchTimeFromNum.hour, + min = _getSearchTimeFromNum.min; - if (monthNav) { - this.setState({ - monthNav: monthNav - }); - } - } + return { + hour: hour, + min: min + }; +}; +/** + * @param searchTerm entered by user in any format + * @returns modified search term in 24 hour format + */ - if (prevState.currDate !== this.state.currDate) { - var _this$props10 = this.props, - rangePicker = _this$props10.rangePicker, - onDateChange = _this$props10.onDateChange; - var _this$state8 = this.state, - currDate = _this$state8.currDate, - _startDate3 = _this$state8.startDate, - _endDate3 = _this$state8.endDate; - if (currDate) { - if (onDateChange) onDateChange(currDate); +var formatSearchTerm = function formatSearchTerm(optionList, searchTerm) { + var searchTime = { + hour: '00', + min: '00' + }; // If search term only contains numbers - if (rangePicker) { - this.setState({ - hoverDate: undefined - }); + if (_checkNumber(searchTerm)) { + var searchTimeInHHMM = getSearchTimeFromNumber(searchTerm); - if (_startDate3 && _endDate3) { - this.setState({ - startDate: currDate, - endDate: undefined - }); - } else { - var _getDateInfo8 = getDateInfo(currDate), - _year2 = _getDateInfo8.year, - _month2 = _getDateInfo8.month, - _date3 = _getDateInfo8.date; + if (parseInt(searchTimeInHHMM.hour) <= 12 && parseInt(searchTimeInHHMM.hour) > 0) { + // switch to AM/PM based on current time + searchTime = getCurrentRelativeTime(optionList, searchTimeInHHMM); + } else { + searchTime = searchTimeInHHMM; + } + } // if search term contains numbers along with [ampm] + else if (_checkNumberWithAMPM(searchTerm)) { + searchTime = getTimeFromNumberWithAMPM(searchTerm); + searchTime.hour = convert12To24HourFormat(searchTime.hour, searchTerm); + } // if search term contains numbers along with special character + else if (_checkNumberWithSpecialChar(searchTerm)) { + var _searchTimeInHHMM = getTimeFromNumberWithSpecialChar(searchTerm); + + if (parseInt(_searchTimeInHHMM.hour) <= 12) { + // switch to AM/PM based on current time + searchTime = getCurrentRelativeTime(optionList, _searchTimeInHHMM); + } else { + searchTime = _searchTimeInHHMM; + } + } // if search term contains numbers, special character & [AmPm] + else if (_checkNumberWithSpecialCharAMPM(searchTerm)) { + var timeWithoutAMPM = searchTerm.replace(/[\saApPmM]/g, ''); - if (_startDate3) { - if (compareDate(_startDate3, 'more', _year2, _month2, _date3)) { - this.setState({ - startDate: currDate - }); - } else { - this.setState({ - endDate: currDate - }); - } - } else if (_endDate3) { - if (compareDate(_endDate3, 'less', _year2, _month2, _date3)) { - this.setState({ - endDate: currDate - }); - } else { - this.setState({ - startDate: currDate - }); - } - } else { - this.setState({ - startDate: currDate - }); - } - } - } else { - this.setState({ - startDate: currDate - }); - } - } - } + if (_checkNumber(timeWithoutAMPM)) { + searchTime = getSearchTimeFromNumber(timeWithoutAMPM, true); + } else if (_checkNumberWithSpecialChar(timeWithoutAMPM)) { + searchTime = getTimeFromNumberWithSpecialChar(timeWithoutAMPM); + } - if (prevState.startDate !== this.state.startDate || prevState.endDate !== this.state.endDate) { - var onRangeChange = this.props.onRangeChange; - var _this$state9 = this.state, - _startDate4 = _this$state9.startDate, - _endDate4 = _this$state9.endDate; - if (onRangeChange) onRangeChange(_startDate4, _endDate4); - } + searchTime.hour = convert12To24HourFormat(searchTime.hour, searchTerm); + } - if (prevState.year !== this.state.year) { - var _year3 = this.state.year; + return searchTime; +}; +/** + * @param hours + * @param searchTerm + * @returns hours based on AM/PM in 24 hour format + */ - if (_year3 !== undefined && monthsInView === 1) { - this.setState({ - year: _year3, - yearBlockNav: getYearBlock(_year3), - yearNav: _year3 - }); - } - } +var convert12To24HourFormat = function convert12To24HourFormat(hours, searchTerm) { + if (hours === '12' && _isTimeInAM(searchTerm)) { + hours = '00'; + } else if (_isTimeInPM(searchTerm) && hours !== '12') { + hours = (parseInt(hours, 10) + 12).toString(); + } - if (prevState.month !== this.state.month) { - var _month3 = this.state.month; + return hours; +}; +/** + * Switch to AM/PM time based on current time + * @param optionList + * @param searchTime + */ - if (_month3 !== undefined && monthsInView === 1) { - this.setState({ - monthNav: _month3 - }); - } - } - } - }, { - key: "render", - value: function render() { - var _this2 = this; - var _this$props11 = this.props, - monthsInView = _this$props11.monthsInView, - className = _this$props11.className; - var baseProps = extractBaseProps(this.props); - var classes = classnames({ - 'Calendar-wrapper': true - }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: classes - }), Array.from({ - length: monthsInView - }, function (_x, index) { - return _this2.renderCalendar(index); - })); - } - }]); +var getCurrentRelativeTime = function getCurrentRelativeTime(optionList, searchTime) { + var searchTimeStr = "".concat(searchTime.hour, ":").concat(searchTime.min); + var currentTime = get24HourCurrentTime(); + var greaterTime = checkTimeDifference(currentTime, searchTimeStr); + var currentTimeIndex = findClosestTimeIndex(optionList, currentTime); + var searchTimeIndex = findClosestTimeIndex(optionList, searchTimeStr); - return Calendar; -}(React.Component); + if (greaterTime && currentTimeIndex > searchTimeIndex) { + var hourIn24Format = parseInt(searchTime.hour, 10) + 12; + searchTime.hour = hourIn24Format.toString(); + } -_defineProperty$2(Calendar, "defaultProps", { - size: 'large', - monthsInView: 1, - view: 'date', - firstDayOfWeek: 'sunday', - jumpView: true -}); + return searchTime; +}; -var _excluded$t = ["shadow", "children", "className"]; -var Card = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames; +var findClosestTimeIndex = function findClosestTimeIndex(optionList, searchItem) { + var closestItemIndex = 0; + var minTime = { + hour: 100, + mins: 100 + }; - var _props$shadow = props.shadow, - shadow = _props$shadow === void 0 ? 'default' : _props$shadow, - children = props.children, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$t); + for (var index = 0; index < optionList.length; index++) { + var _getTimeDifference = getTimeDifference(searchItem, optionList[index]), + hour = _getTimeDifference.hour, + minute = _getTimeDifference.minute; - var classes = classnames((_classNames = { - Card: true - }, _defineProperty$2(_classNames, "Card--shadow-".concat(shadow), shadow), _defineProperty$2(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/React.createElement("div", _extends$3({ - ref: ref - }, rest, { - className: classes - }), children); -}); -Card.displayName = 'Card'; + if (hour < minTime.hour || hour === minTime.hour && minute < minTime.mins) { + minTime.hour = hour; + minTime.mins = minute; + closestItemIndex = index; + } + } -var _excluded$s = ["border", "children", "className"]; -var CardSubdued = /*#__PURE__*/React.forwardRef(function (props, ref) { - var border = props.border, - children = props.children, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$s); + return closestItemIndex; +}; +/** + * Get index of search term from option list + * @param optionList + * @param searchTerm + * @returns Index of the search term in option list + */ - var classes = classnames(_defineProperty$2({ - CardSubdued: true - }, "CardSubdued--".concat(border), border), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-CardSubdued", - ref: ref - }, rest, { - className: classes - }), children); -}); -CardSubdued.displayName = 'CardSubdued'; -var CardHeader = function CardHeader(props) { - var className = props.className, - children = props.children; - var baseProps = extractBaseProps(props); - var classes = classnames({ - 'Card-header': true - }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-CardHeader" - }, baseProps, { - className: classes - }), children); -}; -CardHeader.displayName = 'CardHeader'; +var getSearchIndex = function getSearchIndex(optionList, searchTerm) { + var _formatSearchTerm = formatSearchTerm(optionList, searchTerm), + hour = _formatSearchTerm.hour, + min = _formatSearchTerm.min; -var CardBody = function CardBody(props) { - var className = props.className, - children = props.children; - var baseProps = extractBaseProps(props); - var classes = classnames({ - 'Card-body': true - }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-CardBody" - }, baseProps, { - className: classes - }), children); -}; -CardBody.displayName = 'CardBody'; + if (min === '60') { + min = '00'; + hour = (parseInt(hour, 10) + 1).toString(); + } -var CardFooter = function CardFooter(props) { - var className = props.className, - children = props.children, - withSeperator = props.withSeperator; - var baseProps = extractBaseProps(props); - var classes = classnames(_defineProperty$2({ - 'Card-footer': true - }, 'Card-footer--withSeperator', withSeperator), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-CardFooter" - }, baseProps, { - className: classes - }), children); -}; -CardFooter.displayName = 'CardFooter'; -CardFooter.defaultProps = { - withSeperator: true + var searchItem = "".concat(hour, ":").concat(min); + var searchIndex = findClosestTimeIndex(optionList, searchItem); + return searchIndex; }; +/** + * @param searchTerm + * @returns count number of digits present inside search term + */ -var GenericChip = function GenericChip(props) { - var label = props.label, - icon = props.icon, - clearButton = props.clearButton, - disabled = props.disabled, - className = props.className, - selected = props.selected, - onClose = props.onClose, - onClick = props.onClick; - var baseProps = extractBaseProps(props); +var countNumberInStr = function countNumberInStr(searchTerm) { + var _searchTerm$match; - var iconClass = function iconClass(align) { - var _classNames; + return ((_searchTerm$match = searchTerm.match(/\d/g)) === null || _searchTerm$match === void 0 ? void 0 : _searchTerm$match.length) || 0; +}; - return classnames((_classNames = {}, _defineProperty$2(_classNames, 'Chip-icon', true), _defineProperty$2(_classNames, "Chip-icon--".concat(align), align), _defineProperty$2(_classNames, 'cursor-pointer', align === 'right' && !disabled), _classNames)); - }; +var isValidSearchTerm = function isValidSearchTerm(searchTerm) { + var totalDigit = countNumberInStr(searchTerm); + return totalDigit > 0 && totalDigit < 5; +}; - var onCloseHandler = function onCloseHandler(e) { - e.stopPropagation(); - if (onClose) onClose(); - }; +var getValueFromOptionList = function getValueFromOptionList(optionList) { + var list = optionList.map(function (option) { + return option.value; + }); + return list; +}; - var onClickHandler = function onClickHandler() { - if (onClick) onClick(); - }; +var getSearchValueIndex = function getSearchValueIndex(options, searchTerm) { + // Search Term is valid if it contains number + if (!isValidSearchTerm(searchTerm)) { + return -1; + } - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-GenericChip--GenericChipWrapper" - }, baseProps, { - className: "Chip-wrapper ".concat(className), - onClick: onClickHandler - }), icon && /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-GenericChip--Icon", - name: icon, - appearance: disabled ? 'disabled' : selected ? 'info' : 'default', - className: iconClass('left') - }), /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-GenericChip--Text", - appearance: disabled ? 'disabled' : 'default' - }, label), clearButton && /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-GenericChip--clearButton", - name: "clear", - appearance: disabled ? 'disabled' : selected ? 'info' : 'subtle', - className: iconClass('right'), - onClick: onCloseHandler - })); + var searchIndex = getSearchIndex(options, searchTerm); + return searchIndex; }; -GenericChip.displayName = 'GenericChip'; -var Chip = function Chip(props) { - var _classNames; +var getScrollIndex = function getScrollIndex(dropdownOptionList, searchTerm) { + var optionList = getValueFromOptionList(dropdownOptionList); - var label = props.label, - icon = props.icon, - clearButton = props.clearButton, - type = props.type, - disabled = props.disabled, - selected = props.selected, - onClose = props.onClose, - onClick = props.onClick, - name = props.name, - className = props.className; - var baseProps = extractBaseProps(props); + if (searchTerm === '') { + // return current time index + var currTime = get24HourCurrentTime(); + var currTimeIndex = findClosestTimeIndex(optionList, currTime); + return currTimeIndex; + } - var onCloseHandler = function onCloseHandler() { - if (!disabled && onClose) onClose(name); - }; + return getSearchValueIndex(optionList, searchTerm); +}; - var onClickHandler = function onClickHandler() { - if (!disabled && onClick) onClick(name); - }; +var getSearchedOptions = function getSearchedOptions(options, searchTerm) { + var result = options.filter(function (option) { + return option.label.toLowerCase().includes(searchTerm.toLowerCase()); + }); + return result; +}; - var chipClass = classnames((_classNames = { - Chip: true - }, _defineProperty$2(_classNames, "Chip-".concat(type, "--disabled"), disabled), _defineProperty$2(_classNames, "Chip--".concat(type), type && !disabled), _defineProperty$2(_classNames, "Chip-".concat(type, "--selected"), selected && !disabled), _classNames), className); - var clearbutton = type === 'action' ? false : clearButton; - var select = type === 'selection' && selected ? true : false; - return /*#__PURE__*/React.createElement(GenericChip, _extends$3({ - "data-test": "DesignSystem-Chip--GenericChip" - }, baseProps, { - label: label, - selected: select, - icon: icon, - clearButton: clearbutton, - disabled: disabled, - className: chipClass, - onClose: onCloseHandler, - onClick: onClickHandler, - name: name - })); +var sortList = function sortList(arr) { + return arr.sort(function (a, b) { + return a.value > b.value ? 1 : b.value > a.value ? -1 : 0; + }); }; -Chip.displayName = 'Chip'; -Chip.defaultProps = { - type: 'input' + +var _isEqual = function _isEqual(firstList, secondList) { + var firstSortedList = sortList(_toConsumableArray(firstList)); + var secondSortedList = sortList(_toConsumableArray(secondList)); + return firstSortedList.length === secondSortedList.length && firstSortedList.every(function (option, index) { + return option.value === secondSortedList[index].value; + }); +}; +var _isControlled = function _isControlled(selected) { + return selected !== undefined; +}; +var _isOpenControlled = function _isOpenControlled(open) { + return open !== undefined; +}; +var _showSelectedItems = function _showSelectedItems(bulk, searchTerm, withCheckbox) { + return bulk && withCheckbox && searchTerm === ''; }; +var _isSelectAllPresent = function _isSelectAllPresent(searchTerm, bulkOptions, withSelectAll, withCheckbox) { + return withCheckbox && withSelectAll && bulkOptions === 0 && searchTerm === ''; +}; +var scrollTo = function scrollTo(element, top) { + element.scrollTo(0, top); +}; +var scrollIntoView = function scrollIntoView(menuElement, focusedElement) { + var menuRect = menuElement === null || menuElement === void 0 ? void 0 : menuElement.getBoundingClientRect(); + var focusedRect = focusedElement.getBoundingClientRect(); + var overscroll = focusedElement.offsetHeight; -var ChipGroup = function ChipGroup(props) { - var list = props.list, - onClick = props.onClick, - onClose = props.onClose, - className = props.className; - var baseProps = extractBaseProps(props); + if (focusedRect.bottom > menuRect.bottom && menuElement) { + scrollTo(menuElement, focusedElement.offsetTop - menuRect.height + overscroll); + } else if (focusedRect.top < menuRect.top && menuElement) { + scrollTo(menuElement, focusedElement.offsetTop - overscroll); + } +}; +var getSelectAll$1 = function getSelectAll(selected, optionsLength, disabledOptionsLength) { + if (selected.length) { + if (selected.length > 0 && disabledOptionsLength > 0 && selected.length === optionsLength - disabledOptionsLength) { + return { + indeterminate: true, + checked: true + }; // + } - var onClickHandler = function onClickHandler(item) { - if (onClick) onClick(item); - }; + var indeterminate = selected.length > 0 && selected.length !== optionsLength; + var checked = selected.length > 0 && selected.length === optionsLength; + var obj = { + checked: checked, + indeterminate: indeterminate + }; + return obj; + } - var onCloseHandler = function onCloseHandler(item) { - if (onClose) onClose(item); + return { + indeterminate: false, + checked: false }; +}; +var scrollToOptionIndex = function scrollToOptionIndex(scrollIndex, listOptions) { + var _listOptions$scrollIn; - var ChipGroupClass = classnames(_defineProperty$2({}, 'ChipGroup', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-ChipGroup" - }, baseProps, { - className: ChipGroupClass - }), list.map(function (item, ind) { - var _item$label = item.label, - label = _item$label === void 0 ? '' : _item$label, - icon = item.icon, - type = item.type, - disabled = item.disabled, - selected = item.selected, - clearButton = item.clearButton, - name = item.name; - return /*#__PURE__*/React.createElement("span", { - key: ind, - className: "ChipGroup-item" - }, /*#__PURE__*/React.createElement(Chip, { - "data-test": "DesignSystem-ChipGroup--Chip", - name: name, - label: label, - selected: selected, - icon: icon, - disabled: disabled, - clearButton: clearButton, - type: type, - onClick: function onClick() { - return onClickHandler(item); - }, - onClose: function onClose() { - return onCloseHandler(item); - } - })); - })); + var optionID = listOptions && ((_listOptions$scrollIn = listOptions[scrollIndex]) === null || _listOptions$scrollIn === void 0 ? void 0 : _listOptions$scrollIn.optionID); + var targetOption = document.getElementById(optionID); + targetOption && targetOption.scrollIntoView && targetOption.scrollIntoView({ + block: 'center' + }); }; -ChipGroup.displayName = 'ChipGroup'; +var groupListOptions = function groupListOptions(listOptions) { + var groupList = listOptions.reduce(function (acc, option) { + var group = option.group || ''; -var _excluded$r = ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]; -var Column = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames; + if (!acc[group]) { + acc[group] = []; + } - var size = props.size, - sizeXS = props.sizeXS, - sizeS = props.sizeS, - sizeM = props.sizeM, - sizeL = props.sizeL, - sizeXL = props.sizeXL, - className = props.className, - children = props.children, - rest = _objectWithoutProperties$1(props, _excluded$r); + acc[group].push(option); + return acc; + }, {}); + var flattenedGroupList = Object.values(groupList).flatMap(function (item) { + return _toConsumableArray(item); + }); + return flattenedGroupList; +}; - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Col', true), _defineProperty$2(_classNames, "Col--".concat(size), size), _defineProperty$2(_classNames, "Col--xs-".concat(sizeXS), sizeXS), _defineProperty$2(_classNames, "Col--s-".concat(sizeS), sizeS), _defineProperty$2(_classNames, "Col--m-".concat(sizeM), sizeM), _defineProperty$2(_classNames, "Col--l-".concat(sizeL), sizeL), _defineProperty$2(_classNames, "Col--xl-".concat(sizeXL), sizeXL), _defineProperty$2(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/React.createElement("div", _extends$3({ - ref: ref, - "data-test": "DesignSystem-Column" - }, rest, { - className: classes - }), children); -}); -Column.displayName = 'Column'; +var TimePickerWithSearch = function TimePickerWithSearch(props) { + var open = props.open, + endTime = props.endTime, + interval = props.interval, + onChange = props.onChange, + startTime = props.startTime, + timeFormat = props.timeFormat, + showDuration = props.showDuration, + noResultMessage = props.noResultMessage, + disabledSlotList = props.disabledSlotList, + fetchTimeOptions = props.fetchTimeOptions, + error = props.error; -var Trigger$1 = function Trigger(props) { - var inputFormat = props.inputFormat, - inputOptions = props.inputOptions, - validators = props.validators, - state = props.state, - setState = props.setState; - var init = state.init, - date$1 = state.date, - error = state.error; - var _inputOptions$placeho = inputOptions.placeholderChar, - placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; + var _React$useState = React.useState(0), + _React$useState2 = _slicedToArray(_React$useState, 2), + tabIndex = _React$useState2[0], + setTabIndex = _React$useState2[1]; - var onChangeHandler = function onChangeHandler(_e, val) { - setState({ - open: true - }); + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray(_React$useState3, 2), + openPopover = _React$useState4[0], + setOpenPopover = _React$useState4[1]; - if (val && !val.includes(placeholderChar)) { - var d = translateToDate(inputFormat, val, validators); - setState({ - date: d - }); - } - }; + var _React$useState5 = React.useState(-1), + _React$useState6 = _slicedToArray(_React$useState5, 2), + selectedIndex = _React$useState6[0], + setSelectedIndex = _React$useState6[1]; - var onBlurHandler = function onBlurHandler(_e, val) { - setState({ - init: true - }); + var _React$useState7 = React.useState(0), + _React$useState8 = _slicedToArray(_React$useState7, 2), + counter = _React$useState8[0], + setCounter = _React$useState8[1]; - if (!val || val.includes(placeholderChar)) { - setState({ - date: undefined - }); - } - }; - - var onClearHandler = function onClearHandler() { - setState({ - init: true, - date: undefined - }); - }; - - var showError = inputOptions.error || inputOptions.required && error && init; - var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; - - var inputValidator = function inputValidator(val) { - return isValid(validators, val, inputFormat); - }; - - var mask = date[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, _extends$3({ - icon: "events", - placeholder: inputFormat - }, inputOptions, { - error: showError, - mask: mask, - value: date$1 ? translateToString(inputFormat, date$1) // @ts-ignore - : init ? InputMask.utils.getDefaultValue(mask, placeholderChar) : '', - onChange: onChangeHandler, - onBlur: onBlurHandler, - onClear: onClearHandler, - caption: showError ? errorMessage : '', - validators: [inputValidator], - clearOnEmptyBlur: false - })); -}; - -var _excluded$q = ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect"]; -var DatePicker = /*#__PURE__*/function (_React$Component) { - _inherits$1(DatePicker, _React$Component); - - var _super = _createSuper$1(DatePicker); - - function DatePicker(props) { - var _this; - - _classCallCheck$1(this, DatePicker); - - _this = _super.call(this, props); - - _defineProperty$2(_assertThisInitialized$2(_this), "getError", function (date) { - var _this$props = _this.props, - disabledBefore = _this$props.disabledBefore, - disabledAfter = _this$props.disabledAfter; - - var _getDateInfo = getDateInfo(disabledBefore), - dbYear = _getDateInfo.year, - dbMonth = _getDateInfo.month, - dbDate = _getDateInfo.date; - - var _getDateInfo2 = getDateInfo(disabledAfter), - daYear = _getDateInfo2.year, - daMonth = _getDateInfo2.month, - daDate = _getDateInfo2.date; - - return !date ? true : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "onDateChangeHandler", function (d) { - _this.setState({ - init: true, - date: d - }); - - var closeOnSelect = _this.props.closeOnSelect; - if (closeOnSelect) _this.setState({ - open: false - }); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "onToggleHandler", function (o, type) { - switch (type) { - case 'outsideClick': - _this.setState({ - open: o - }); - - break; - - case 'onClick': - _this.setState({ - open: true - }); - - break; - } - }); - - var inputFormat = props.inputFormat, - validators = props.validators; - - var _date = convertToDate(props.date, inputFormat, validators); + var dropdownOptionList = getDropdownOptionList(props); + React.useEffect(function () { + open !== undefined && setOpenPopover(open); + }, [open]); + React.useEffect(function () { + var timer; - var error = _this.getError(_date); + if (openPopover && selectedIndex != -1) { + setTabIndex(selectedIndex); + timer = setTimeout(function () { + scrollToOptionIndex(selectedIndex, dropdownOptionList); + }, 100); + } - _this.state = { - date: _date, - error: error, - init: false, - open: props.open || false + return function () { + clearTimeout(timer); }; - return _this; - } - - _createClass$1(DatePicker, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - if (prevProps.date !== this.props.date) { - var _this$props2 = this.props, - inputFormat = _this$props2.inputFormat, - validators = _this$props2.validators; - var d = convertToDate(this.props.date, inputFormat, validators); - this.setState({ - date: d - }); - } + }, [openPopover]); // Required to re-render dropdown forcefully whenever props changes - if (prevProps.open !== this.props.open) { - this.setState({ - open: this.props.open || false - }); - } + React.useEffect(function () { + setCounter(counter + 1); + }, [startTime, endTime, interval, showDuration, disabledSlotList]); - if (prevState.date !== this.state.date) { - var _this$props3 = this.props, - onDateChange = _this$props3.onDateChange, - outputFormat = _this$props3.outputFormat; - var _date2 = this.state.date; - var newError = this.getError(_date2); - this.setState({ - error: newError - }); + var onChangeHandler = function onChangeHandler(props) { + var time = props; - if (onDateChange) { - if (!newError) { - var dVal = translateToString(outputFormat, _date2); - onDateChange(_date2, dVal); - } else { - onDateChange(undefined, ''); - } - } - } + if (isFormat12Hour(timeFormat)) { + time = convert24To12HourFormat(time); } - }, { - key: "renderCalendar", - value: function renderCalendar() { - var _this$props4 = this.props; - _this$props4.date; - _this$props4.open; - _this$props4.position; - var inputFormat = _this$props4.inputFormat; - _this$props4.outputFormat; - _this$props4.inputOptions; - var validators = _this$props4.validators; - _this$props4.withInput; - var disabledBefore = _this$props4.disabledBefore, - disabledAfter = _this$props4.disabledAfter; - _this$props4.onDateChange; - _this$props4.closeOnSelect; - var rest = _objectWithoutProperties$1(_this$props4, _excluded$q); - var date = this.state.date; - return /*#__PURE__*/React.createElement(Calendar, _extends$3({}, rest, { - date: convertToDate(date, inputFormat, validators), - disabledBefore: convertToDate(disabledBefore, inputFormat, validators), - disabledAfter: convertToDate(disabledAfter, inputFormat, validators), - onDateChange: this.onDateChangeHandler - })); - } - }, { - key: "render", - value: function render() { - var _this$props5 = this.props, - position = _this$props5.position, - withInput = _this$props5.withInput, - inputFormat = _this$props5.inputFormat, - inputOptions = _this$props5.inputOptions, - validators = _this$props5.validators; - var open = this.state.open; + var selectIndex = dropdownOptionList.findIndex(function (option) { + return option.value === props; + }); + setSelectedIndex(selectIndex); + onChange && onChange(time); + }; - if (withInput) { - return /*#__PURE__*/React.createElement(Popover, { - trigger: /*#__PURE__*/React.createElement(Trigger$1, { - inputFormat: inputFormat, - inputOptions: inputOptions, - validators: validators, - state: this.state, - setState: this.setState.bind(this) - }), - triggerClass: "w-100", - position: position, - appendToBody: true, - open: open, - onToggle: this.onToggleHandler - }, this.renderCalendar()); - } + var getOptionList = function getOptionList(searchTerm) { + var scrollIndex; + var indexValue = getScrollIndex(dropdownOptionList, searchTerm); - return this.renderCalendar(); + if (searchTerm === '' && selectedIndex != -1) { + scrollIndex = selectedIndex; + setTabIndex(selectedIndex); + } else { + scrollIndex = indexValue; + setTabIndex(indexValue); } - }]); - return DatePicker; -}(React.Component); + return Promise.resolve({ + options: indexValue === -1 ? [] : dropdownOptionList, + count: dropdownOptionList.length, + scrollToIndex: scrollIndex === 0 ? scrollIndex + 1 : scrollIndex, + searchTerm: searchTerm + }); + }; -_defineProperty$2(DatePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { - position: 'bottom-start', - inputFormat: 'mm/dd/yyyy', - outputFormat: 'mm/dd/yyyy', - validators: [date$1], - inputOptions: {}, - closeOnSelect: true -})); + var fetchOptionList = function fetchOptionList() { + return fetchTimeOptions ? fetchTimeOptions : getOptionList; + }; -var TimePicker = function TimePicker(props) { + return /*#__PURE__*/React.createElement(Dropdown, { + key: counter, + maxHeight: 160, + loadersCount: 0, + withSearch: true, + open: openPopover, + tabIndex: tabIndex, + searchPlaceholder: "Search", + onChange: onChangeHandler, + fetchOptions: fetchOptionList(), + noResultMessage: noResultMessage, + staticLimit: dropdownOptionList.length, + onPopperToggle: function onPopperToggle() { + setOpenPopover(!openPopover); + }, + error: error + }); +}; +TimePickerWithSearch.defaultProps = { + timeFormat: '12-Hour', + interval: 15 +}; +TimePickerWithSearch.displayName = 'TimePickerWithSearch'; + +var TimePickerWithInput = function TimePickerWithInput(props) { var validators = props.validators, inputOptions = props.inputOptions, inputFormat = props.inputFormat, outputFormat = props.outputFormat, onTimeChange = props.onTimeChange, - timeProp = props.time; + timeProp = props.time, + error = props.error; var _React$useState = React.useState(timeProp), _React$useState2 = _slicedToArray(_React$useState, 2), @@ -4659,5709 +4463,7799 @@ var TimePicker = function TimePicker(props) { }; var mask = time[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, _extends$3({ + return /*#__PURE__*/React.createElement(X, _extends$2({ placeholder: placeholders[inputFormat], placeholderChar: placeholderChar }, inputOptions, { mask: mask, - value: time$1 ? translateToTime(inputFormat, time$1) // @ts-ignore - : init ? InputMask.utils.getDefaultValue(mask, placeholderChar) : '', + value: time$1 ? translateToTime(inputFormat, time$1) : init ? X.utils.getDefaultValue(mask, placeholderChar) : '', validators: inputValidator, onChange: onChangeHandler, onClear: onClearHandler, - onBlur: onBlurHandler + onBlur: onBlurHandler, + error: error, + id: "parent-TimePicker" })); }; -TimePicker.defaultProps = { +TimePickerWithInput.defaultProps = { inputFormat: 'hh:mm AM', outputFormat: 'hh:mm AM', inputOptions: {}, validators: [time$1] }; -TimePicker.displayName = 'TimePicker'; +TimePickerWithInput.displayName = 'TimePickerWithInput'; -var _excluded$p = ["appearance", "size", "children", "className"]; -var sizeMap = { - s: 'h5', - m: 'h4', - l: 'h3', - xl: 'h2', - xxl: 'h1' +var TimePicker = function TimePicker(props) { + return props.withSearch ? /*#__PURE__*/React.createElement(TimePickerWithSearch, props) : /*#__PURE__*/React.createElement(TimePickerWithInput, props); }; -var Heading = function Heading(props) { - var _classNames; - - var appearance = props.appearance, - size = props.size, - children = props.children, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$p); +TimePicker.defaultProps = _objectSpread2(_objectSpread2({}, TimePickerWithInput.defaultProps), TimePickerWithSearch.defaultProps); +TimePicker.displayName = 'TimePicker'; - var classes = classnames((_classNames = { - Heading: true - }, _defineProperty$2(_classNames, "Heading--".concat(size), size), _defineProperty$2(_classNames, "Heading--".concat(appearance), appearance), _classNames), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Heading" - }, rest, { - className: classes, - componentType: sizeMap[size] - }), children); -}; -Heading.displayName = 'Heading'; -Heading.defaultProps = { - appearance: 'default', - size: 'm' -}; +/* eslint-disable no-undefined,no-param-reassign,no-shadow */ -var _excluded$o = ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]; -var sizeMapping$1 = { - tiny: 12, - regular: 16, - large: 20 -}; /** - * ###### Input has two types: - * - [Controlled Input](https://reactjs.org/docs/forms.html#controlled-components) - * - [Uncontrolled Input](https://reactjs.org/docs/uncontrolled-components.html) - */ - -var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { - var _classNames, _classNames2, _classNames3, _classNames4; - - var _props$size = props.size, - size = _props$size === void 0 ? 'regular' : _props$size, - _props$type = props.type, - type = _props$type === void 0 ? 'text' : _props$type, - _props$minWidth = props.minWidth, - minWidth = _props$minWidth === void 0 ? type !== 'number' ? 256 : undefined : _props$minWidth, - defaultValue = props.defaultValue, - name = props.name, - placeholder = props.placeholder, - value = props.value, - icon = props.icon, - inlineLabel = props.inlineLabel, - required = props.required, - error = props.error, - info = props.info, - onChange = props.onChange, - onClick = props.onClick, - onClear = props.onClear, - onBlur = props.onBlur, - onFocus = props.onFocus, - actionIcon = props.actionIcon, - className = props.className, - autoFocus = props.autoFocus, - disabled = props.disabled, - readOnly = props.readOnly, - rest = _objectWithoutProperties$1(props, _excluded$o); - - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); - React.useEffect(function () { - var _ref$current; + * Throttle execution of a function. Especially useful for rate limiting + * execution of handlers on events like resize and scroll. + * + * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. + * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the + * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time + * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds, + * the internal counter is reset). + * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, + * to `callback` when the throttled-function is executed. + * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end), + * schedule `callback` to execute after `delay` ms. + * + * @returns {Function} A new, throttled, function. + */ +function throttle (delay, noTrailing, callback, debounceMode) { + /* + * After wrapper has stopped being called, this timeout ensures that + * `callback` is executed at the proper times in `throttle` and `end` + * debounce modes. + */ + var timeoutID; + var cancelled = false; // Keep track of the last time `callback` was executed. - if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ - preventScroll: true - }); - }, []); - var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Input', true), _defineProperty$2(_classNames, "Input--".concat(size), size), _defineProperty$2(_classNames, 'Input--disabled', disabled || readOnly), _defineProperty$2(_classNames, 'Input--error', error), _classNames), className); - var inputClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Input-input', true), _defineProperty$2(_classNames2, "Input-input--".concat(size), size), _classNames2)); - var leftIconClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Input-icon', true), _defineProperty$2(_classNames3, 'Input-icon--left', true), _defineProperty$2(_classNames3, 'Input-icon--disabled', !value), _classNames3)); - var rightIconClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Input-icon', true), _defineProperty$2(_classNames4, 'Input-icon--right', true), _classNames4)); - var trigger = /*#__PURE__*/React.createElement("div", { - className: rightIconClass - }, /*#__PURE__*/React.createElement(Icon, { - name: 'info', - size: sizeMapping$1[size] - })); - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-InputWrapper", - className: classes, - style: { - minWidth: minWidth - }, - onClick: function onClick() { - var _ref$current2; + var lastExec = 0; // Function to clear existing timeout - return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus(); - } - }, inlineLabel && /*#__PURE__*/React.createElement("div", { - className: "Input-inlineLabel" - }, /*#__PURE__*/React.createElement(Text, { - appearance: "subtle" - }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React.createElement("div", { - className: leftIconClass - }, /*#__PURE__*/React.createElement(Icon, { - name: icon, - size: sizeMapping$1[size] - })), /*#__PURE__*/React.createElement("input", _extends$3({ - "data-test": "DesignSystem-Input" - }, baseProps, rest, { - ref: ref, - name: name, - type: type, - defaultValue: defaultValue, - placeholder: placeholder, - className: inputClass, - value: value, - required: required, - disabled: disabled, - readOnly: readOnly, - onChange: onChange, - onBlur: onBlur, - onClick: onClick, - onFocus: onFocus - })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React.createElement(Tooltip, { - position: "top", - tooltip: info - }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React.createElement("div", { - className: rightIconClass, - onClick: function onClick(e) { - return onClear(e); + function clearExistingTimeout() { + if (timeoutID) { + clearTimeout(timeoutID); } - }, /*#__PURE__*/React.createElement(Icon, { - name: 'close', - size: sizeMapping$1[size] - }))); -}); -Input.displayName = 'Input'; + } // Function to cancel next exec -var _excluded$n = ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value"]; -var sizeMapping = { - regular: 16, - large: 20 -}; -var capMin = function capMin() { - var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -Infinity; - var value = arguments.length > 1 ? arguments[1] : undefined; - return isNaN(min) || !min && min !== 0 || isNaN(value) || !value && value !== 0 ? value : Math.max(min, value); -}; + function cancel() { + clearExistingTimeout(); + cancelled = true; + } // `noTrailing` defaults to falsy. -var capMax = function capMax() { - var max = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : +Infinity; - var value = arguments.length > 1 ? arguments[1] : undefined; - return isNaN(max) || !max && max !== 0 || isNaN(value) || !value && value !== 0 ? value : Math.min(max, value); -}; -/** - * ###### MetricInput has two types: - * - [Controlled MetricInput](https://reactjs.org/docs/forms.html#controlled-components) - * - [Uncontrolled MetricInput](https://reactjs.org/docs/uncontrolled-components.html) - */ + if (typeof noTrailing !== 'boolean') { + debounceMode = callback; + callback = noTrailing; + noTrailing = undefined; + } + /* + * The `wrapper` function encapsulates all of the throttling / debouncing + * functionality and when executed will limit the rate at which `callback` + * is executed. + */ -var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { - var _classNames, _classNames2, _classNames3; - var _props$size = props.size, - size = _props$size === void 0 ? 'regular' : _props$size, - defaultValue = props.defaultValue, - name = props.name, - placeholder = props.placeholder, - icon = props.icon, - prefix = props.prefix, - suffix = props.suffix, - error = props.error, - min = props.min, - max = props.max, - onChange = props.onChange, - onClick = props.onClick, - onBlur = props.onBlur, - onFocus = props.onFocus, - className = props.className, - autoFocus = props.autoFocus, - disabled = props.disabled, - readOnly = props.readOnly, - valueProp = props.value, - rest = _objectWithoutProperties$1(props, _excluded$n); + function wrapper() { + for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) { + arguments_[_key] = arguments[_key]; + } - var ref = React.useRef(null); - var isUncontrolled = valueProp === undefined; + var self = this; + var elapsed = Date.now() - lastExec; - var _React$useState = React.useState(valueProp || defaultValue), - _React$useState2 = _slicedToArray(_React$useState, 2), - value = _React$useState2[0], - setValue = _React$useState2[1]; + if (cancelled) { + return; + } // Execute `callback` and update the `lastExec` timestamp. - React.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); - React.useEffect(function () { - var _ref$current; - if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ - preventScroll: true - }); - }, []); - React.useEffect(function () { - if (valueProp !== undefined) { - setValue(valueProp); + function exec() { + lastExec = Date.now(); + callback.apply(self, arguments_); } - }, [valueProp]); - var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'MetricInput', true), _defineProperty$2(_classNames, "MetricInput--".concat(size), size), _defineProperty$2(_classNames, 'MetricInput--disabled', disabled || readOnly), _defineProperty$2(_classNames, 'MetricInput--error', error), _classNames), className); - var inputClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'MetricInput-input', true), _defineProperty$2(_classNames2, "MetricInput-input--".concat(size), size), _classNames2)); - var iconClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'MetricInput-icon', true), _defineProperty$2(_classNames3, "MetricInput-icon--".concat(size), size), _classNames3)); - - var getArrowClass = function getArrowClass(direction) { - var _classNames4; + /* + * If `debounceMode` is true (at begin) this is used to clear the flag + * to allow future `callback` executions. + */ - return classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'MetricInput-arrowIcon', true), _defineProperty$2(_classNames4, "MetricInput-arrowIcon--".concat(size), size), _defineProperty$2(_classNames4, "MetricInput-arrowIcon--".concat(direction), direction), _classNames4)); - }; - var onChangeHandler = function onChangeHandler(e) { - if (isUncontrolled) { - setValue(e.target.value); + function clear() { + timeoutID = undefined; } - if (onChange) onChange(e); - }; + if (debounceMode && !timeoutID) { + /* + * Since `wrapper` is being called for the first time and + * `debounceMode` is true (at begin), execute `callback`. + */ + exec(); + } - var onArrowClick = function onArrowClick(e, direction) { - var newValue = Number(value || 0); - var isValid = direction === 'down' ? min !== undefined && newValue > min || min === undefined : max !== undefined && newValue < max || max === undefined; - if (disabled || readOnly || !isValid) return; - newValue = direction === 'down' ? newValue - 1 : newValue + 1; - newValue = capMax(max, capMin(min, newValue)); - if (isUncontrolled) setValue(newValue); + clearExistingTimeout(); - if (onChange) { - var syntheticEvent = Object.create(e, { - target: { - value: newValue - } - }); - onChange(syntheticEvent); + if (debounceMode === undefined && elapsed > delay) { + /* + * In throttle mode, if `delay` time has been exceeded, execute + * `callback`. + */ + exec(); + } else if (noTrailing !== true) { + /* + * In trailing throttle mode, since `delay` time has not been + * exceeded, schedule `callback` to execute `delay` ms after most + * recent execution. + * + * If `debounceMode` is true (at begin), schedule `clear` to execute + * after `delay` ms. + * + * If `debounceMode` is false (at end), schedule `callback` to + * execute after `delay` ms. + */ + timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay); } - }; + } - var onKeyDown = function onKeyDown(e) { - switch (e.key) { - case 'e': - case 'E': - e.preventDefault(); - return; - - case 'ArrowDown': - e.preventDefault(); - onArrowClick(e, 'down'); - return; - - case 'ArrowUp': - e.preventDefault(); - onArrowClick(e, 'up'); - return; - } - }; - - var iconSize = size === 'regular' ? 12 : 16; - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-MetricInputWrapper", - className: classes, - onClick: function onClick() { - var _ref$current2; - - return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus(); - } - }, icon && /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-MetricInput--icon", - name: icon, - size: sizeMapping[size], - appearance: !value ? 'disabled' : 'subtle', - className: iconClass - }), prefix && /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-MetricInput--prefix", - className: size === 'regular' ? 'mr-4' : 'mr-5', - size: size, - appearance: "subtle" - }, prefix), /*#__PURE__*/React.createElement("input", _extends$3({ - "data-test": "DesignSystem-MetricInput" - }, baseProps, rest, { - type: "number", - ref: ref, - name: name, - defaultValue: defaultValue, - placeholder: placeholder, - className: inputClass, - value: value, - disabled: disabled, - readOnly: readOnly, - onChange: onChangeHandler, - onBlur: onBlur, - onClick: onClick, - onFocus: onFocus, - onKeyDown: onKeyDown - })), suffix && /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-MetricInput--suffix", - className: size === 'regular' ? 'ml-4' : 'ml-5', - size: size, - appearance: "subtle" - }, suffix), /*#__PURE__*/React.createElement("div", { - className: "MetricInput-arrowIcons", - tabIndex: 0 - }, /*#__PURE__*/React.createElement(Icon, { - className: getArrowClass('up'), - size: iconSize, - name: "keyboard_arrow_up", - onClick: function onClick(e) { - return onArrowClick(e, 'up'); - }, - "data-test": "DesignSystem-MetricInput--upIcon" - }), /*#__PURE__*/React.createElement(Icon, { - className: getArrowClass('down'), - size: iconSize, - name: "keyboard_arrow_down", - onClick: function onClick(e) { - return onArrowClick(e, 'down'); - }, - "data-test": "DesignSystem-MetricInput--downIcon" - }))); -}); -MetricInput.displayName = 'MetricInput'; - -var isEditable = function isEditable(mask, pos) { - return _typeof(mask[pos]) === 'object'; -}; -var getDefaultValue = function getDefaultValue(mask, placeholderChar) { - var val = ''; - - for (var i = 0; i < mask.length; i++) { - val += isEditable(mask, i) ? placeholderChar : mask[i]; - } - - return val; -}; + wrapper.cancel = cancel; // Return the wrapper function. -var _excluded$m = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onBlur", "onFocus", "onClear", "className"]; + return wrapper; +} +/* eslint-disable no-undefined */ /** - * It works as Uncontrolled Input + * Debounce execution of a function. Debouncing, unlike throttling, + * guarantees that a function is only executed a single time, either at the + * very beginning of a series of calls, or at the very end. * - * **Updated value can be passed** + * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. + * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds + * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call. + * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset). + * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, + * to `callback` when the debounced-function is executed. + * + * @returns {Function} A new, debounced function. */ -var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) { - props.mask; - var valueProp = props.value, - _props$placeholderCha = props.placeholderChar, - placeholderChar = _props$placeholderCha === void 0 ? '_' : _props$placeholderCha, - _props$validators = props.validators, - validators = _props$validators === void 0 ? [] : _props$validators, - _props$clearOnEmptyBl = props.clearOnEmptyBlur, - clearOnEmptyBlur = _props$clearOnEmptyBl === void 0 ? true : _props$clearOnEmptyBl, - defaultValue = props.defaultValue, - mask = props.mask, - error = props.error, - caption = props.caption, - required = props.required, - onChange = props.onChange, - onBlur = props.onBlur, - onFocus = props.onFocus, - onClear = props.onClear, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$m); - var getNewCursorPosition = function getNewCursorPosition(type, position) { - if (type === 'right') { - for (var i = position; i < mask.length; i++) { - if (isEditable(i)) return i; - } +function debounce$1 (delay, atBegin, callback) { + return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false); +} - return mask.length; - } +var _excluded$u = ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error", "iconVariations"]; +var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames, _classNames2; - if (type === 'left') { - for (var _i = position; _i >= 0; _i--) { - if (isEditable(_i - 1)) return _i; - } + var _props$triggerSize = props.triggerSize, + triggerSize = _props$triggerSize === void 0 ? 'regular' : _props$triggerSize, + _props$placeholder = props.placeholder, + placeholder = _props$placeholder === void 0 ? 'Select' : _props$placeholder, + _props$menu = props.menu, + menu = _props$menu === void 0 ? false : _props$menu, + children = props.children, + icon = props.icon, + disabled = props.disabled, + open = props.open, + inlineLabel = props.inlineLabel, + error = props.error, + iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$u); - return 0; - } + var buttonDisabled = disabled ? 'disabled' : 'default'; + var trimmedPlaceholder = placeholder.trim(); + var value = children ? children : trimmedPlaceholder; + var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; + var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Button', true), _defineProperty$1(_classNames, 'DropdownButton', true), _defineProperty$1(_classNames, "DropdownButton--".concat(triggerSize), triggerSize), _defineProperty$1(_classNames, "DropdownButton--".concat(triggerSize, "Square"), menu), _defineProperty$1(_classNames, 'DropdownButton--placeholder', !children && !menu), _defineProperty$1(_classNames, 'DropdownButton--icon', icon), _defineProperty$1(_classNames, 'DropdownButton--open', open), _defineProperty$1(_classNames, 'DropdownButton--error', error), _classNames)); + var textClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Text', true), _defineProperty$1(_classNames2, 'Text--regular', true), _defineProperty$1(_classNames2, 'DropdownButton-text', true), _classNames2)); + return /*#__PURE__*/React.createElement("button", _extends$2({ + ref: ref, + type: "button", + value: children, + className: buttonClass, + disabled: disabled, + tabIndex: 0, + "data-test": "DesignSystem-DropdownTrigger" + }, rest), !menu && /*#__PURE__*/React.createElement("div", { + className: "DropdownButton-wrapper" + }, inlineLabel && /*#__PURE__*/React.createElement(Text, { + appearance: "subtle", + className: "mr-4 white-space-nowrap" + }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, { + appearance: buttonDisabled, + className: "d-flex align-items-center mr-4", + name: icon, + variations: iconVariations + }), value && /*#__PURE__*/React.createElement("span", { + className: textClass + }, value)), /*#__PURE__*/React.createElement(Icon, { + appearance: buttonDisabled, + name: iconName, + variations: iconVariations + })); +}); +DropdownButton.displayName = 'DropdownButton'; - return position; - }; +var CheckboxOption = function CheckboxOption(props) { + var className = props.className, + selected = props.selected, + optionData = props.optionData, + onChangeHandler = props.onChangeHandler, + onUpdateActiveOption = props.onUpdateActiveOption, + dataTest = props.dataTest, + _props$id = props.id, + id = _props$id === void 0 ? '' : _props$id; + var subInfo = optionData.subInfo, + label = optionData.label, + disabled = optionData.disabled; - var getDefaultSelection = function getDefaultSelection() { - var pos = getNewCursorPosition('right', 0); - return { - start: pos, - end: pos - }; - }; + var renderSubInfo = function renderSubInfo(subInfo) { + var labelAppearance = disabled ? 'disabled' : 'subtle'; + var iconAppearance = selected ? 'white' : 'disabled'; - var getPlaceholderValue = function getPlaceholderValue() { - var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - var end = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : mask.length - 1; - return getDefaultValue(mask, placeholderChar).slice(start, end + 1); - }; + if (typeof subInfo === 'string') { + return /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-DropdownOption--WITH_META--Meta", + appearance: labelAppearance, + size: "small", + weight: "medium" + }, subInfo); + } - var getSelectionLength = function getSelectionLength(val) { - return Math.abs(val.end - val.start); + var _subInfo$list = subInfo.list, + list = _subInfo$list === void 0 ? [] : _subInfo$list, + seperator = subInfo.seperator; + return /*#__PURE__*/React.createElement(MetaList, { + list: list, + seperator: seperator, + iconAppearance: iconAppearance, + labelAppearance: labelAppearance, + seperatorAppearance: iconAppearance, + "data-test": "DesignSystem-DropdownOption--WITH_META--MetaList" + }); }; - var isEditable = function isEditable(pos) { - return _typeof(mask[pos]) === 'object'; - }; + return /*#__PURE__*/React.createElement("div", { + className: className, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React.createElement(Checkbox, { + label: label, + disabled: disabled, + checked: selected, + onChange: onChangeHandler, + tabIndex: -1, + className: "OptionCheckbox ".concat(subInfo ? 'pb-0' : ''), + "data-test": "".concat(dataTest, "--Checkbox"), + id: id + }), subInfo && /*#__PURE__*/React.createElement("div", { + className: "pl-8 ml-3" + }, renderSubInfo(subInfo))); +}; - var deferId = React.useRef(); - var selectionRef = React.useRef(0); +var DefaultOption = function DefaultOption(props) { + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + color = props.color, + onUpdateActiveOption = props.onUpdateActiveOption, + dataTest = props.dataTest; + var label = optionData.label, + disabled = optionData.disabled; + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement("div", { + className: className, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React.createElement(Text, { + className: textClassName, + color: color, + id: optionData.optionID + }, label))) + ); +}; - var _React$useState = React.useState(defaultValue || valueProp || ''), - _React$useState2 = _slicedToArray(_React$useState, 2), - value = _React$useState2[0], - setValue = _React$useState2[1]; +var MetaOption = function MetaOption(props) { + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + renderSubInfo = props.renderSubInfo, + color = props.color, + dataTest = props.dataTest; + var subInfo = optionData.subInfo, + label = optionData.label, + disabled = optionData.disabled; + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement("div", { + className: className, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React.createElement(Text, { + className: textClassName, + color: color + }, label), subInfo && renderSubInfo(subInfo))) + ); +}; - var _React$useState3 = React.useState(getDefaultSelection()), - _React$useState4 = _slicedToArray(_React$useState3, 2), - selection = _React$useState4[0], - setSelection = _React$useState4[1]; - - var ref = React.useRef(null); - React.useImperativeHandle(forwardRef, function () { - return ref.current; - }); - React.useEffect(function () { - setValue(valueProp || ''); - }, [valueProp]); - - var setCursorPosition = function setCursorPosition(val) { - return setSelectionPos({ - start: val, - end: val - }); - }; +var IconOption = function IconOption(props) { + var _classNames; - var getCurrSelection = function getCurrSelection() { - return { - start: ref.current.selectionStart || 0, - end: ref.current.selectionEnd || 0 - }; - }; + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + color = props.color, + dataTest = props.dataTest; + var label = optionData.label, + icon = optionData.icon, + disabled = optionData.disabled, + iconVariations = optionData.iconVariations; + var OptionClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(className), true), _defineProperty$1(_classNames, 'Option--icon', icon), _classNames)); + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement("div", { + className: OptionClass, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, icon && /*#__PURE__*/React.createElement(Icon, { + className: "Option-icon mr-4", + "data-test": "".concat(dataTest, "--Icon"), + name: icon, + variations: iconVariations + }), /*#__PURE__*/React.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React.createElement(Text, { + className: textClassName, + color: color + }, label))) + ); +}; - var setSelectionPos = function setSelectionPos(pos) { - if (ref.current) { - var el = ref.current; - var start = Math.min(pos.start, pos.end); - var end = Math.max(pos.start, pos.end); - el.setSelectionRange(start, end); - } - }; +var IconWithMetaOption = function IconWithMetaOption(props) { + var _classNames; - var updateSelection = function updateSelection() { - setSelection(getCurrSelection()); - deferId.current = window.requestAnimationFrame(updateSelection); - }; + var className = props.className, + textClassName = props.textClassName, + renderSubInfo = props.renderSubInfo, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + appearance = props.appearance, + color = props.color, + dataTest = props.dataTest; + var subInfo = optionData.subInfo, + label = optionData.label, + icon = optionData.icon, + disabled = optionData.disabled; + var OptionClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(className), true), _defineProperty$1(_classNames, 'Option--icon', icon), _classNames)); + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement("div", { + className: OptionClass, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, icon && /*#__PURE__*/React.createElement(Icon, { + "data-test": "".concat(dataTest, "--Icon"), + className: "Option-icon mr-4", + name: icon, + appearance: appearance + }), /*#__PURE__*/React.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React.createElement(Text, { + className: textClassName, + color: color + }, label), subInfo && renderSubInfo(subInfo))) + ); +}; - var insertAtIndex = function insertAtIndex(currValue, index) { - var iterator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; - var newValue = ''; - var newIndex = index + 1; - var newIterator = iterator; +var _OptionTypeMapping; +var OptionTypeMapping = (_OptionTypeMapping = {}, _defineProperty$1(_OptionTypeMapping, 'DEFAULT', DefaultOption), _defineProperty$1(_OptionTypeMapping, 'WITH_ICON', IconOption), _defineProperty$1(_OptionTypeMapping, 'WITH_META', MetaOption), _defineProperty$1(_OptionTypeMapping, 'WITH_CHECKBOX', CheckboxOption), _defineProperty$1(_OptionTypeMapping, 'ICON_WITH_META', IconWithMetaOption), _OptionTypeMapping); - if (index >= mask.length) { - return newValue; - } +var Option = function Option(props) { + var _classNames, _classNames2, _classNames3, _classNames4; - if (iterator >= currValue.length) { - selectionRef.current = index; - return newValue; - } + var optionData = props.optionData, + selected = props.selected, + onClick = props.onClick, + updateActiveOption = props.updateActiveOption, + onChange = props.onChange, + active = props.active, + index = props.index, + checkboxes = props.checkboxes, + menu = props.menu, + _props$id = props.id, + id = _props$id === void 0 ? '' : _props$id; - var m = mask[index]; + var _ref = optionData.optionType ? optionData : props, + _ref$optionType = _ref.optionType, + optionType = _ref$optionType === void 0 ? 'DEFAULT' : _ref$optionType; - if (isEditable(index)) { - if (currValue[iterator].match(m)) { - newValue += currValue[iterator]; - } else { - newValue += placeholderChar; - } + var disabled = optionData.disabled; + var color = disabled ? 'inverse-lightest' : selected && !menu ? 'primary-dark' : 'inverse'; + var appearance = disabled ? 'disabled' : selected && !menu ? 'primary_dark' : 'default'; + var type = checkboxes ? 'WITH_CHECKBOX' : optionType; + var component = OptionTypeMapping[type]; + var OptionClassName = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Option', true), _defineProperty$1(_classNames, 'Option--active', active), _defineProperty$1(_classNames, 'Option--selected', selected && !menu), _defineProperty$1(_classNames, 'Option--disabled', disabled), _defineProperty$1(_classNames, 'OptionWrapper', true), _defineProperty$1(_classNames, "color-".concat(color), true), _classNames)); + var CheckboxClassName = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Option-checkbox', true), _defineProperty$1(_classNames2, 'Option-checkbox--active', active), _defineProperty$1(_classNames2, 'OptionWrapper', true), _classNames2)); + var textClassName = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Option-text', true), _defineProperty$1(_classNames3, 'Option-text--wrap', !props.truncateOption), _classNames3)); + var customOptionClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'OptionWrapper', true), _defineProperty$1(_classNames4, 'OptionWrapper--disabled', disabled), _classNames4)); - newIterator++; - } else { - newValue += m; - } + var onUpdateActiveOption = function onUpdateActiveOption() { + if (disabled) return; + if (updateActiveOption) updateActiveOption(index); + }; - newValue += insertAtIndex(currValue, newIndex, newIterator); - return newValue; + var onClickHandler = function onClickHandler(e) { + e.stopPropagation(); + if (disabled) return; + if (onClick) onClick(); }; var onChangeHandler = function onChangeHandler(e) { - var inputVal = e.currentTarget.value; - var currSelection = getCurrSelection(); - var start = Math.min(selection.start, currSelection.start); - var end = currSelection.end; - var cursorPosition = start; - var enteredVal = ''; - var updatedVal = ''; - var removedLength = 0; - var insertedStringLength = 0; - enteredVal = inputVal.slice(start, end); - updatedVal = insertAtIndex(enteredVal, start); - insertedStringLength = updatedVal.length; - - if (currSelection.end > selection.end) { - removedLength = insertedStringLength ? getSelectionLength(selection) : 0; - } else if (inputVal.length < value.length) { - removedLength = value.length - inputVal.length; - } - - cursorPosition += insertedStringLength; - var maskedVal = value.split(''); - - for (var i = 0; i < insertedStringLength; i++) { - maskedVal[start + i] = updatedVal[i]; - } - - for (var _i2 = 0; _i2 < removedLength; _i2++) { - var index = start + insertedStringLength + _i2; - maskedVal[index] = getPlaceholderValue(index, index); - } - - var newCursorPosition = getNewCursorPosition(removedLength ? 'left' : 'right', cursorPosition); - - if (removedLength === 1 && !updatedVal.length && !isEditable(cursorPosition) && newCursorPosition > 0) { - cursorPosition = newCursorPosition; - cursorPosition--; - maskedVal[cursorPosition] = placeholderChar; - } else if (removedLength !== 1) { - cursorPosition = newCursorPosition; - } - - var newValue = maskedVal.slice(0, mask.length).join(''); - window.requestAnimationFrame(function () { - return setCursorPosition(cursorPosition); - }); - - if (isValid(validators, newValue)) { - setValue(newValue); - if (onChange) onChange(e, newValue); - } + e.stopPropagation(); + if (disabled) return; + if (onChange) onChange(e); }; - var onBlurHandler = function onBlurHandler(e) { - var inputVal = e.currentTarget.value; + if (props.optionRenderer) { + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-DropdownOption--Custom", + className: customOptionClass, + "data-disabled": disabled, + onMouseEnter: onUpdateActiveOption + }, !checkboxes && { + onClick: onClick + }), props.optionRenderer({ + optionData: optionData, + selected: selected, + onChange: onChange, + active: active, + index: index + })); + } - if (clearOnEmptyBlur) { - if (inputVal === getPlaceholderValue()) { - setValue(''); - inputVal = ''; - } - } + var renderSubInfo = function renderSubInfo(subInfo) { + var labelAppearance = disabled ? 'disabled' : selected && !menu ? 'white' : 'subtle'; + var subInfoColor = disabled ? 'inverse-lightest' : selected && !menu ? 'primary-dark' : 'inverse-lighter'; + var iconAppearance = selected ? 'white' : 'disabled'; - if (onBlur) onBlur(e, inputVal); - if (deferId.current) window.cancelAnimationFrame(deferId.current); - }; + if (typeof subInfo === 'string') { + return /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-DropdownOption--WITH_META--Meta", + color: subInfoColor, + size: "small", + weight: "medium", + className: "Option-subInfo" + }, subInfo); + } - var onClearHandler = function onClearHandler(e) { - // setValue(''); - // window.requestAnimationFrame(() => ref.current!.blur()); - setValue(getPlaceholderValue()); - window.requestAnimationFrame(function () { - return setCursorPosition(getDefaultSelection().start); + var _subInfo$list = subInfo.list, + list = _subInfo$list === void 0 ? [] : _subInfo$list, + seperator = subInfo.seperator; + return /*#__PURE__*/React.createElement(MetaList, { + list: list, + seperator: seperator, + iconAppearance: iconAppearance, + labelAppearance: labelAppearance, + seperatorAppearance: iconAppearance, + "data-test": "DesignSystem-DropdownOption--WITH_META--MetaList" }); - if (onClear) onClear(e); }; - var onFocusHandler = function onFocusHandler(e) { - deferId.current = window.requestAnimationFrame(updateSelection); - - if (!value) { - setValue(getPlaceholderValue()); - window.requestAnimationFrame(function () { - return setSelectionPos(getDefaultSelection()); - }); - } + return component({ + selected: selected, + index: index, + renderSubInfo: renderSubInfo, + optionData: optionData, + textClassName: textClassName, + appearance: appearance, + color: color, + onClickHandler: onClickHandler, + onChangeHandler: onChangeHandler, + onUpdateActiveOption: onUpdateActiveOption, + dataTest: "DesignSystem-DropdownOption--".concat(type), + className: checkboxes ? CheckboxClassName : OptionClassName, + id: id + }); +}; - if (onFocus) onFocus(e); - }; +var PlaceholderParagraph = function PlaceholderParagraph(props) { + var _classNames2; - var classes = classnames({ - 'd-flex flex-column flex-grow-1': true - }, className); - return /*#__PURE__*/React.createElement("div", { + var length = props.length, + size = props.size, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classnames(_defineProperty$1({ + 'Placeholder--animation': true, + PlaceholderParagraph: true + }, "PlaceholderParagraph--".concat(size), size)); + var wrapperClass = classnames((_classNames2 = { + 'PlaceholderParagraph-wrapper': true + }, _defineProperty$1(_classNames2, "PlaceholderParagraph-wrapper--length-".concat(length), length), _defineProperty$1(_classNames2, "PlaceholderParagraph-wrapper--size-".concat(size), size), _classNames2), className); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: wrapperClass + }), /*#__PURE__*/React.createElement("span", { className: classes - }, /*#__PURE__*/React.createElement(Input, _extends$3({}, rest, { - value: value, - error: error, - required: required, - onFocus: onFocusHandler, - onChange: onChangeHandler, - onClear: onClearHandler, - onBlur: onBlurHandler, - autoComplete: 'off', - ref: ref - })), /*#__PURE__*/React.createElement(Caption, { - error: error, - withInput: true, - hide: !caption - }, caption)); -}); -InputMask.displayName = 'InputMask'; // @ts-ignore - -InputMask.utils = { - getDefaultValue: getDefaultValue + })); +}; +PlaceholderParagraph.displayName = 'PlaceholderParagraph'; +PlaceholderParagraph.defaultProps = { + length: 'medium' }; -var _excluded$l = ["required", "optional", "withInput", "disabled", "children", "className"]; - -/** - * *NOTE: Extends props with HTMLProps* - */ -var Label = function Label(props) { +var PlaceholderImage = function PlaceholderImage(props) { var _classNames; - var required = props.required, - optional = props.optional, - withInput = props.withInput, - disabled = props.disabled, - children = props.children, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$l); - - var baseProps = extractBaseProps(props); - var LabelClass = classnames((_classNames = { - Label: true - }, _defineProperty$2(_classNames, 'Label--withInput', withInput), _defineProperty$2(_classNames, 'Label--optional', optional), _classNames), className); - var classes = classnames({ - 'Label-text': true, - 'Label--disabled': disabled - }); - - var renderInfo = function renderInfo() { - var isRequired = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - var isOptional = arguments.length > 1 ? arguments[1] : undefined; - - if (isRequired) { - return /*#__PURE__*/React.createElement("span", { - className: "Label-requiredIndicator", - "data-test": "DesignSystem-Label--RequiredIndicator" - }); - } - - if (isOptional) { - return /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-Label--OptionalText", - appearance: "subtle", - className: "Label-optionalText" - }, "(optional)"); - } - - return null; - }; - - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Label" - }, baseProps, { - className: LabelClass - }), /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Label--Text", - className: classes, - componentType: "label" - }, rest), children), renderInfo(required, optional)); -}; -Label.displayName = 'Label'; - -var Caption = function Caption(props) { - var _classNames; - - var error = props.error, - hide = props.hide, - withInput = props.withInput, - children = props.children, + var _props$size = props.size, + size = _props$size === void 0 ? 'small' : _props$size, + round = props.round, className = props.className; var baseProps = extractBaseProps(props); var classes = classnames((_classNames = { - Caption: true - }, _defineProperty$2(_classNames, 'Caption--hidden', hide), _defineProperty$2(_classNames, 'Caption--withInput', withInput), _classNames), className); - var errorIconClass = classnames(_defineProperty$2({}, 'Caption-icon', true)); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + PlaceholderImage: true, + 'Placeholder--animation': true + }, _defineProperty$1(_classNames, 'PlaceholderImage--round', round), _defineProperty$1(_classNames, "PlaceholderImage--".concat(size), size), _classNames), className); + return /*#__PURE__*/React.createElement("span", _extends$2({}, baseProps, { className: classes - }), error && /*#__PURE__*/React.createElement("div", { - className: errorIconClass - }, /*#__PURE__*/React.createElement(Icon, { - size: 14, - name: 'error', - appearance: 'alert' - })), /*#__PURE__*/React.createElement(Text, { - appearance: error ? 'destructive' : 'subtle', - size: "small", - weight: "medium" - }, "".concat(children))); + })); +}; +PlaceholderImage.displayName = 'PlaceholderImage'; +PlaceholderImage.defaultProps = { + size: 'small' }; -Caption.displayName = 'Caption'; -var Legend = function Legend(props) { - var iconAppearance = props.iconAppearance, - iconSize = props.iconSize, - labelAppearance = props.labelAppearance, +var Placeholder = function Placeholder(props) { + var imageSize = props.imageSize, + withImage = props.withImage, + round = props.round, children = props.children, - labelWeight = props.labelWeight, - _onMouseEnter = props.onMouseEnter, - _onMouseLeave = props.onMouseLeave, - _onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var legendClass = classnames(_defineProperty$2({}, 'Legend', true), className); - var styles = { - background: "var(--".concat(iconAppearance, ")"), - height: "".concat(iconSize, "px"), - width: "".concat(iconSize, "px") - }; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: legendClass, - onClick: function onClick(e) { - return _onClick && _onClick(e); - }, - onMouseEnter: function onMouseEnter(e) { - return _onMouseEnter && _onMouseEnter(e); - }, - onMouseLeave: function onMouseLeave(e) { - return _onMouseLeave && _onMouseLeave(e); - } - }), /*#__PURE__*/React.createElement("span", { - className: "Legend-icon", - style: styles - }), /*#__PURE__*/React.createElement(Text, { - appearance: labelAppearance, - weight: labelWeight + var paragraphClasses = classnames(_defineProperty$1({ + 'Placeholder-paragraph': true + }, 'Placeholder-paragraph--withImage', withImage)); + var classes = classnames(_defineProperty$1({}, 'Placeholder', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Placeholder" + }, baseProps, { + className: classes + }), withImage && /*#__PURE__*/React.createElement(PlaceholderImage, { + round: round, + size: imageSize, + "data-test": "DesignSystem-Placeholder--Image" + }), children && /*#__PURE__*/React.createElement("div", { + className: paragraphClasses, + "data-test": "DesignSystem-Placeholder--Paragraph" }, children)); }; -Legend.displayName = 'Legend'; -Legend.defaultProps = { - iconAppearance: 'inverse', - iconSize: 16 +Placeholder.displayName = 'Placeholder'; +Placeholder.defaultProps = { + withImage: true, + imageSize: 'small' }; -var Editable = function Editable(props) { - var className = props.className, - onChange = props.onChange, - editing = props.editing, - children = props.children; - var baseProps = extractBaseProps(props); - var EditableClass = classnames(_defineProperty$2({}, 'Editable', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Editable" - }, baseProps, { - className: EditableClass - }), /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-EditableWrapper", - onClick: function onClick() { - return onChange('edit'); - }, - onMouseEnter: function onMouseEnter() { - return !editing && onChange('hover'); - }, - onMouseLeave: function onMouseLeave() { - return !editing && onChange('default'); - } - }, children)); +var Loading = function Loading(props) { + var loadingType = props.loadingType, + optionIndex = props.optionIndex; + var placeholderSizes = ['medium', 'large']; + var size = placeholderSizes[(optionIndex + 2) % 2]; + + switch (loadingType) { + case 'DEFAULT': + return /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: size, + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }); + + case 'WITH_ICON': + return /*#__PURE__*/React.createElement(Placeholder, { + withImage: true, + round: true, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "large" + })); + + case 'WITH_META': + return /*#__PURE__*/React.createElement(Placeholder, { + withImage: false, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "large", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "medium", + size: "xxs", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + })); + + case 'WITH_CHECKBOX': + return /*#__PURE__*/React.createElement(Placeholder, { + withImage: true, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "large" + })); + + case 'ICON_WITH_META': + return /*#__PURE__*/React.createElement(Placeholder, { + withImage: true, + round: true, + imageSize: 'medium', + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "large", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "medium", + size: "xxs", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + })); + } + + return null; }; -Editable.displayName = 'Editable'; -var _excluded$k = ["onChange", "onClose"]; -var EditableDropdown = function EditableDropdown(props) { - var _classNames2; +var alignmentMapping = { + right: 'bottom-start', + left: 'bottom-end' +}; - var placeholder = props.placeholder, - dropdownOptions = props.dropdownOptions, - className = props.className, - customTriggerRenderer = props.customTriggerRenderer; +var DropdownList = function DropdownList(props) { + var _classNames3, _classNames4; - var onDropdownChange = dropdownOptions.onChange, - onDropdownClose = dropdownOptions.onClose, - rest = _objectWithoutProperties$1(dropdownOptions, _excluded$k); + var _props$listOptions = props.listOptions, + listOptions = _props$listOptions === void 0 ? [] : _props$listOptions, + inputRef = props.inputRef, + _props$align = props.align, + align = _props$align === void 0 ? 'right' : _props$align, + _props$optionType = props.optionType, + optionType = _props$optionType === void 0 ? 'DEFAULT' : _props$optionType, + _props$applyButtonLab = props.applyButtonLabel, + applyButtonLabel = _props$applyButtonLab === void 0 ? 'Apply' : _props$applyButtonLab, + _props$cancelButtonLa = props.cancelButtonLabel, + cancelButtonLabel = _props$cancelButtonLa === void 0 ? 'Cancel' : _props$cancelButtonLa, + _props$truncateOption = props.truncateOption, + truncateOption = _props$truncateOption === void 0 ? true : _props$truncateOption, + _props$withSelectAll = props.withSelectAll, + withSelectAll = _props$withSelectAll === void 0 ? true : _props$withSelectAll, + _props$maxHeight = props.maxHeight, + maxHeight = _props$maxHeight === void 0 ? 200 : _props$maxHeight, + customTrigger = props.customTrigger, + selected = props.selected, + tempSelected = props.tempSelected, + previousSelected = props.previousSelected, + remainingOptions = props.remainingOptions, + firstEnabledOption = props.firstEnabledOption, + dropdownOpen = props.dropdownOpen, + menu = props.menu, + searchTerm = props.searchTerm, + showApplyButton = props.showApplyButton, + withCheckbox = props.withCheckbox, + withSearch = props.withSearch, + popoverOptions = props.popoverOptions, + onSearchChange = props.onSearchChange, + optionRenderer = props.optionRenderer, + applyOptions = props.applyOptions, + cancelOptions = props.cancelOptions, + toggleDropdown = props.toggleDropdown, + className = props.className, + _props$searchPlacehol = props.searchPlaceholder, + searchPlaceholder = _props$searchPlacehol === void 0 ? 'Search..' : _props$searchPlacehol, + scrollIndex = props.scrollIndex; + var baseProps = extractBaseProps(props); + var dropdownRef = /*#__PURE__*/React.createRef(); + var triggerRef = /*#__PURE__*/React.createRef(); + var dropdownTriggerRef = /*#__PURE__*/React.createRef(); + var dropdownCancelButtonRef = /*#__PURE__*/React.createRef(); + var dropdownApplyButtonRef = /*#__PURE__*/React.createRef(); - var _React$useState = React.useState(placeholder), + var _React$useState = React.useState(), _React$useState2 = _slicedToArray(_React$useState, 2), - label = _React$useState2[0], - setLabel = _React$useState2[1]; + popoverStyle = _React$useState2[0], + setPopoverStyle = _React$useState2[1]; - var _React$useState3 = React.useState(false), + var _React$useState3 = React.useState(firstEnabledOption), _React$useState4 = _slicedToArray(_React$useState3, 2), - editing = _React$useState4[0], - setEditing = _React$useState4[1]; + cursor = _React$useState4[0], + setCursor = _React$useState4[1]; - var _React$useState5 = React.useState(false), + var _React$useState5 = React.useState(), _React$useState6 = _slicedToArray(_React$useState5, 2), - showComponent = _React$useState6[0], - setShowComponent = _React$useState6[1]; - - var CompClass = classnames(_defineProperty$2({}, 'EditableDropdown', true), className); - var DefaultCompClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'EditableDropdown-default', true), _defineProperty$2(_classNames2, 'd-none', showComponent), _classNames2)); - var EditableDropdownClass = classnames(_defineProperty$2({}, 'd-none', !showComponent)); - var baseProps = extractBaseProps(props); + minHeight = _React$useState6[0], + setMinHeight = _React$useState6[1]; - var getLabel = function getLabel(updatedLabel) { - setLabel(updatedLabel); + var getMinHeight = function getMinHeight() { + var dropdownWrapper = document.querySelector('.Dropdown-wrapper'); + var minHeight = dropdownWrapper === null || dropdownWrapper === void 0 ? void 0 : dropdownWrapper.offsetHeight; + minHeight && setMinHeight(minHeight); }; - var onChangeHandler = function onChangeHandler(eventType) { - switch (eventType) { - case 'edit': - setEditing(true); + React.useEffect(function () { + var timer; - case 'hover': - setShowComponent(true); - return; + if (dropdownOpen) { + var _triggerRef$current; - case 'default': - setShowComponent(false); - return; + var width = props.width, + minWidth = props.minWidth, + maxWidth = props.maxWidth; + var popperWidth = (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.clientWidth; + var popperMinWidth = showApplyButton ? 176 : menu ? 128 : popperWidth; + var popperWrapperStyle = { + width: width ? width : popperWidth, + minWidth: minWidth ? minWidth : popperMinWidth, + maxWidth: maxWidth ? maxWidth : '100%' + }; + requestAnimationFrame(getMinHeight); + setPopoverStyle(popperWrapperStyle); // scrolls to current time + + if (scrollIndex && tempSelected.length === 0) { + timer = setTimeout(function () { + scrollToOptionIndex(scrollIndex, listOptions); + }, 100); + } } - }; - var onChange = function onChange(value) { - setEditing(false); - setShowComponent(false); - if (onDropdownChange) onDropdownChange(value); + return function () { + clearTimeout(timer); + }; + }, [dropdownOpen]); + React.useEffect(function () { + if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); + }, [firstEnabledOption]); + var _props$triggerSize = props.triggerSize, + triggerSize = _props$triggerSize === void 0 ? 'regular' : _props$triggerSize, + _props$placeholder = props.placeholder, + placeholder = _props$placeholder === void 0 ? 'Select' : _props$placeholder, + icon = props.icon, + error = props.error, + disabled = props.disabled, + inlineLabel = props.inlineLabel, + triggerLabel = props.triggerLabel, + iconVariations = props.iconVariations; + var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null); + var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, { + tabIndex: 0, + ref: dropdownTriggerRef + }); + var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React.createElement(DropdownButton, { + placeholder: placeholder, + triggerSize: triggerSize, + open: dropdownOpen, + icon: icon, + disabled: disabled, + inlineLabel: inlineLabel, + menu: menu, + error: error, + ref: dropdownTriggerRef, + iconVariations: iconVariations + }, triggerLabel); + var dropdownStyle = { + maxHeight: maxHeight, + overflowY: 'auto', + overflowX: 'hidden', + minHeight: minHeight }; - - var onClose = function onClose(selected) { - setEditing(false); - setShowComponent(false); - if (onDropdownClose) onDropdownClose(selected); + var loaderStyle = { + maxHeight: minHeight ? minHeight : maxHeight, + overflowY: 'auto', + overflowX: 'hidden', + minHeight: minHeight }; - var renderComponent = function renderComponent(componentLabel) { - if (customTriggerRenderer) return customTriggerRenderer(componentLabel); - return componentLabel; + var getDropdownSectionClass = function getDropdownSectionClass(showClearButton) { + var _classNames; + + return classnames((_classNames = {}, _defineProperty$1(_classNames, 'Dropdown-section', true), _defineProperty$1(_classNames, 'Dropdown-section--withClear', showClearButton), _classNames)); }; - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-EditableDropdown" - }, baseProps, { - className: CompClass - }), /*#__PURE__*/React.createElement(Editable, { - onChange: onChangeHandler, - editing: editing - }, /*#__PURE__*/React.createElement(Dropdown, _extends$3({ - placeholder: placeholder, - onChange: onChange, - getLabel: getLabel, - onClose: onClose, - className: EditableDropdownClass, - "data-test": "DesignSystem-EditableDropdown--Dropdown" - }, rest)), /*#__PURE__*/React.createElement("div", { - className: DefaultCompClass, - "data-test": "DesignSystem-EditableDropdown--Default" - }, renderComponent(label || placeholder)))); -}; -EditableDropdown.defaultProps = { - placeholder: '', - dropdownOptions: {} -}; + var dropdownClass = classnames(_defineProperty$1({}, 'Dropdown', true), className); + var dropdownWrapperClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Dropdown-wrapper', true), _defineProperty$1(_classNames3, 'Dropdown-wrapper--wrap', !truncateOption), _classNames3)); + var SelectAllClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Option-checkbox--active', cursor === 0), _defineProperty$1(_classNames4, 'Option-checkboxWrapper', true), _defineProperty$1(_classNames4, 'Option-checkbox', true), _defineProperty$1(_classNames4, 'OptionWrapper', true), _classNames4)); -var _excluded$j = ["children", "className", "appearance", "size", "disabled"]; -var Link = function Link(props) { - var _classNames; + var onToggleDropdown = function onToggleDropdown(open, type) { + var _dropdownTriggerRef$c; - var children = props.children, - className = props.className, - appearance = props.appearance, - size = props.size, - disabled = props.disabled, - rest = _objectWithoutProperties$1(props, _excluded$j); + toggleDropdown(open, type); + if (!disabled) (_dropdownTriggerRef$c = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c === void 0 ? void 0 : _dropdownTriggerRef$c.focus(); + setCursor(firstEnabledOption); + }; - var classes = classnames((_classNames = { - Link: true - }, _defineProperty$2(_classNames, 'Link--disabled', disabled), _defineProperty$2(_classNames, "Link--".concat(size), size), _defineProperty$2(_classNames, "Link--".concat(appearance), appearance), _classNames), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Link", - className: classes, - componentType: "a" - }, rest), children); -}; -Link.displayName = 'Link'; -Link.defaultProps = { - appearance: 'default', - size: 'regular', - disabled: false -}; + var onCancelOptions = function onCancelOptions() { + var _dropdownTriggerRef$c2; -var IconMapping$1 = { - success: 'check_circle', - info: 'info', - warning: 'warning', - alert: 'error' -}; -var Message = function Message(props) { - var _classNames, _classNames2, _classNames3, _classNames4; + cancelOptions(); + (_dropdownTriggerRef$c2 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c2 === void 0 ? void 0 : _dropdownTriggerRef$c2.focus(); + }; - var appearance = props.appearance, - actions = props.actions, - title = props.title, - className = props.className; - var baseProps = extractBaseProps(props); - var MessageClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Message', true), _defineProperty$2(_classNames, "Message--".concat(appearance), appearance), _classNames), className); - var IconClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Message-icon', true), _defineProperty$2(_classNames2, "Message-icon--".concat(appearance), appearance), _defineProperty$2(_classNames2, 'Message-icon--withTitle', title), _classNames2)); - var TitleClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Message-heading', true), _defineProperty$2(_classNames3, "Message-heading--".concat(appearance), appearance), _classNames3)); - var DescriptionClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Message-text', true), _defineProperty$2(_classNames4, "Message-text--".concat(appearance), appearance), _classNames4)); + var onApplyOptions = function onApplyOptions() { + var _dropdownTriggerRef$c3; - var renderDescription = function renderDescription(description, children) { - if (description || typeof children === 'string') { - return /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-Message--Description", - className: DescriptionClass - }, description || (typeof children === 'string' ? children : '')); - } + applyOptions(); + (_dropdownTriggerRef$c3 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c3 === void 0 ? void 0 : _dropdownTriggerRef$c3.focus(); + }; - if (children) { - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-Message--Description", - className: "Message-description" - }, children); - } + var optionClickHandler = function optionClickHandler(item) { + var _dropdownTriggerRef$c4; - return null; + props.onOptionSelect(item); + (_dropdownTriggerRef$c4 = dropdownTriggerRef.current) === null || _dropdownTriggerRef$c4 === void 0 ? void 0 : _dropdownTriggerRef$c4.focus(); }; - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Message" - }, baseProps, { - className: MessageClass - }), appearance !== 'default' && /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-Message--Icon", - name: IconMapping$1[appearance], - appearance: appearance, - className: IconClass - }), /*#__PURE__*/React.createElement("div", null, title && /*#__PURE__*/React.createElement(Heading, { - "data-test": "DesignSystem-Message--Title", - size: "s", - className: TitleClass - }, title), renderDescription(props.description, props.children), actions && /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-Message--actions", - className: "Message-actions" - }, actions))); -}; -Message.displayName = 'Message'; -Message.defaultProps = { - appearance: 'default', - description: '' -}; - -var Meta = function Meta(props) { - var label = props.label, - icon = props.icon, - iconAppearance = props.iconAppearance, - labelAppearance = props.labelAppearance; - return /*#__PURE__*/React.createElement("span", { - className: 'Meta' - }, icon && /*#__PURE__*/React.createElement(Icon, { - name: icon, - appearance: iconAppearance, - className: 'Meta-icon' - }), /*#__PURE__*/React.createElement(Text, { - appearance: labelAppearance - }, label)); -}; -Meta.displayName = 'Meta'; + var searchClearHandler = function searchClearHandler() { + setCursor(firstEnabledOption); + if (onSearchChange && searchTerm) onSearchChange(''); + }; -var MetaList = function MetaList(props) { - var _classNames3; + var searchHandler = function searchHandler(event) { + setCursor(firstEnabledOption); + if (onSearchChange) onSearchChange(event.target.value); + }; - var list = props.list, - seperator = props.seperator, - seperatorAppearance = props.seperatorAppearance, - iconAppearance = props.iconAppearance, - labelAppearance = props.labelAppearance, - className = props.className; - var baseProps = extractBaseProps(props); - var MetaClass = classnames(_defineProperty$2({}, 'MetaList', true), className); - var SeperatorClass = classnames(_defineProperty$2({}, 'MetaList-seperator', true)); - var LeftSeperatorClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'MetaList-seperator', true), _defineProperty$2(_classNames3, 'MetaList-seperator--left', true), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: MetaClass - }), seperator && /*#__PURE__*/React.createElement(Icon, { - name: "fiber_manual_record", - size: 8, - className: LeftSeperatorClass, - appearance: seperatorAppearance - }), list.map(function (item, ind) { - var _item$label = item.label, - label = _item$label === void 0 ? '' : _item$label, - icon = item.icon; - var rightSeperator = ind !== list.length - 1; - return /*#__PURE__*/React.createElement("span", { - key: ind, - className: "MetaList-item" - }, /*#__PURE__*/React.createElement(Meta, { - label: label, - icon: icon, - iconAppearance: iconAppearance, - labelAppearance: labelAppearance - }), rightSeperator && /*#__PURE__*/React.createElement(Icon, { - name: "fiber_manual_record", - size: 8, - className: SeperatorClass, - appearance: seperatorAppearance - })); - })); -}; -MetaList.displayName = 'MetaList'; -MetaList.defaultProps = { - seperatorAppearance: 'disabled', - iconAppearance: 'disabled', - labelAppearance: 'subtle' -}; + var updateActiveOption = function updateActiveOption(index, parentCheckbox) { + var updatedIndex = withCheckbox && withSelectAll && !props.async && !parentCheckbox ? index + 1 : index; + setCursor(updatedIndex); + }; -var _excluded$i = ["children", "className", "onOutsideClick"]; -var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) { - var children = props.children, - className = props.className, - onOutsideClick = props.onOutsideClick, - rest = _objectWithoutProperties$1(props, _excluded$i); + var renderFooter = function renderFooter() { + var _props$footerLabel = props.footerLabel, + footerLabel = _props$footerLabel === void 0 ? 'Search for more options' : _props$footerLabel; + return /*#__PURE__*/React.createElement("div", { + className: "Dropdown-footer" + }, /*#__PURE__*/React.createElement(Text, { + size: "small", + appearance: 'subtle' + }, footerLabel)); + }; - var innerRef = React.useRef(null); - React.useImperativeHandle(ref, function () { - return innerRef.current; - }, [innerRef]); - React.useEffect(function () { - document.addEventListener('click', handleOutsideClick, true); - return function () { - document.removeEventListener('click', handleOutsideClick); - }; - }, []); - var handleOutsideClick = React.useCallback(function (event) { - var element = innerRef; - - if (!event.target || !element.current) { - return; - } + var renderGroups = function renderGroups(group, selectedGroup) { + var onClearOptions = props.onClearOptions; + var isClearDisabled = selected.every(function (option) { + return option.disabled; + }); + return /*#__PURE__*/React.createElement("div", { + className: getDropdownSectionClass(selectedGroup) + }, /*#__PURE__*/React.createElement(Text, { + size: "small", + appearance: 'subtle' + }, group), selectedGroup && /*#__PURE__*/React.createElement(Button, { + onClick: onClearOptions, + disabled: isClearDisabled, + appearance: "transparent", + size: "tiny", + type: "button" + }, "Clear")); + }; - if (!ReactDOM.findDOMNode(element.current).contains(event.target)) { - onOutsideClick(event); - } - }, []); - var classes = classnames(_defineProperty$2({}, 'OutsideClick', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - ref: innerRef - }, rest, { - className: classes - }), children); -}); -OutsideClick.displayName = 'OutsideClick'; + var renderApplyButton = function renderApplyButton() { + var disable = _isEqual(previousSelected, tempSelected) || props.loadingOptions; + return /*#__PURE__*/React.createElement("div", { + className: "Dropdown-buttonWrapper" + }, /*#__PURE__*/React.createElement(Button, { + ref: dropdownCancelButtonRef, + className: "mr-4", + appearance: 'basic', + onClick: onCancelOptions, + disabled: props.loadingOptions, + size: 'tiny', + tabIndex: -1, + "data-test": "DesignSystem-Dropdown-CancelButton", + type: "button" + }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, { + ref: dropdownApplyButtonRef, + appearance: 'primary', + disabled: disable, + size: 'tiny', + onClick: onApplyOptions, + "data-test": "DesignSystem-Dropdown-ApplyButton", + type: "button" + }, applyButtonLabel)); + }; -var _excluded$h = ["appearance", "children", "className"]; -var Paragraph = function Paragraph(props) { - var appearance = props.appearance, - children = props.children, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$h); + var renderSearch = function renderSearch() { + return /*#__PURE__*/React.createElement("div", { + className: "Dropdown-inputWrapper" + }, /*#__PURE__*/React.createElement(Input, { + name: "Dropdown-search", + icon: 'search', + value: searchTerm, + placeholder: searchPlaceholder // TODO(a11y): research more on this. + // eslint-disable-next-line jsx-a11y/no-autofocus + , + autoFocus: true, + onChange: searchHandler, + onClear: searchClearHandler, + ref: inputRef, + autoComplete: 'off', + className: "Dropdown-input" + })); + }; - var classes = classnames(_defineProperty$2({ - Text: true - }, "Text--".concat(appearance), appearance), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Paragraph" - }, rest, { - className: classes, - componentType: "p" - }), children); -}; -Paragraph.displayName = 'Paragraph'; -Paragraph.defaultProps = { - appearance: 'default' -}; + var renderLoading = function renderLoading(loadersLength) { + var arr = Array(loadersLength).fill('Loading'); + var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; + return arr.map(function (option, ind) { + return /*#__PURE__*/React.createElement("div", { + className: "Option-loading", + key: "".concat(option, "-").concat(ind) + }, /*#__PURE__*/React.createElement(Loading, { + loadingType: type, + optionIndex: ind + })); + }); + }; -var ProgressBar = function ProgressBar(props) { - var max = props.max, - value = props.value, - className = props.className; - var baseProps = extractBaseProps(props); - var style = { - width: value > 0 ? "".concat(Math.min(value, max) * 100 / max, "%") : '0' + var renderSelectAll = function renderSelectAll() { + var _props$selectAllLabel = props.selectAllLabel, + selectAllLabel = _props$selectAllLabel === void 0 ? 'Select All' : _props$selectAllLabel, + selectAll = props.selectAll, + onSelectAll = props.onSelectAll; + var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; + var id = "Checkbox-option-".concat(label.toLowerCase().replace(/\s+/g, ''), "-").concat(new Date().getTime()); + return /*#__PURE__*/React.createElement("div", { + className: SelectAllClass, + onMouseEnter: function onMouseEnter() { + return updateActiveOption(0, true); + } + }, /*#__PURE__*/React.createElement("label", { + htmlFor: id, + className: "Checkbox-label" + }, /*#__PURE__*/React.createElement(Checkbox, { + label: label, + onChange: onSelectAll, + checked: selectAll.checked, + indeterminate: selectAll.indeterminate, + tabIndex: -1, + className: "OptionCheckbox", + id: id + }))); }; - var ProgressBarClass = classnames({ - ProgressBar: true - }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-ProgressBar" - }, baseProps, { - className: ProgressBarClass - }), /*#__PURE__*/React.createElement("div", { - className: 'ProgressBar-indicator', - style: style - })); -}; -ProgressBar.displayName = 'ProgressBar'; -ProgressBar.defaultProps = { - max: 100 -}; -var _excluded$g = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className"]; -var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { - var _classNames, _classNames2, _classNames3; + var renderOptions = function renderOptions(item, index) { + // const selectAllPresent = withCheckbox + // && remainingOptions === 0 + // && searchTerm === '' + // && withSelectAll; + var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); - var _props$size = props.size, - size = _props$size === void 0 ? 'regular' : _props$size, - label = props.label, - disabled = props.disabled, - onChange = props.onChange, - name = props.name, - value = props.value, - checked = props.checked, - defaultChecked = props.defaultChecked, - className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$g); + var active = selectAllPresent ? index + 1 === cursor : index === cursor; + var optionIsSelected = tempSelected.findIndex(function (option) { + return option.value === item.value; + }) !== -1; + var id = "Checkbox-option-".concat(index, "-").concat(item.value, "-").concat(new Date().getTime()); + return /*#__PURE__*/React.createElement("label", { + htmlFor: id + }, /*#__PURE__*/React.createElement(Option, { + optionData: item, + truncateOption: truncateOption, + selected: optionIsSelected, + index: index, + updateActiveOption: updateActiveOption, + optionRenderer: optionRenderer, + active: active, + checkboxes: withCheckbox, + menu: menu, + onClick: function onClick() { + return optionClickHandler(item); + }, + onChange: function onChange(e) { + return props.onSelect(item, e.target.checked); + }, + optionType: props.optionType, + id: id + })); + }; - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); - var RadioClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Radio', true), _defineProperty$2(_classNames, 'Radio--disabled', disabled), _classNames), className); - var RadioWrapper = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Radio-wrapper', true), _defineProperty$2(_classNames2, "Radio-wrapper--".concat(size), size), _classNames2)); - var RadioOuterWrapper = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Radio-outerWrapper', true), _defineProperty$2(_classNames3, "Radio-outerWrapper--".concat(size), size), _classNames3)); - var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); - return /*#__PURE__*/React.createElement("div", { - className: RadioClass - }, /*#__PURE__*/React.createElement("div", { - className: RadioOuterWrapper - }, /*#__PURE__*/React.createElement("input", _extends$3({}, rest, { - type: "radio", - disabled: disabled, - checked: checked, - defaultChecked: defaultChecked, - ref: ref, - name: name, - value: value, - onChange: onChange, - className: "Radio-input", - id: id - })), /*#__PURE__*/React.createElement("span", { - className: RadioWrapper - })), label && /*#__PURE__*/React.createElement("label", { - className: "Radio-label", - htmlFor: id - }, /*#__PURE__*/React.createElement(Text, { - size: size === 'tiny' ? 'small' : 'regular', - appearance: disabled ? 'disabled' : 'default' - }, label))); -}); -Radio.displayName = 'Radio'; + var renderDropdownSection = function renderDropdownSection() { + var _listOptions$0$group; -var _excluded$f = ["className", "children"]; -var Row = /*#__PURE__*/React.forwardRef(function (props, ref) { - var className = props.className, - children = props.children, - rest = _objectWithoutProperties$1(props, _excluded$f); + var _props$selectedSectio = props.selectedSectionLabel, + selectedSectionLabel = _props$selectedSectio === void 0 ? 'Selected Items' : _props$selectedSectio, + _props$allItemsSectio = props.allItemsSectionLabel, + allItemsSectionLabel = _props$allItemsSectio === void 0 ? 'All Items' : _props$allItemsSectio, + _props$loadersCount = props.loadersCount, + loadersCount = _props$loadersCount === void 0 ? 10 : _props$loadersCount, + loadingOptions = props.loadingOptions; - var classes = classnames(_defineProperty$2({ - Row: true - }, "".concat(className), className)); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Row", - ref: ref - }, rest, { - className: classes - }), children); -}); -Row.displayName = 'Row'; + var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); -var StatusHint = function StatusHint(props) { - var _classNames2; + var groupedListOptions = groupListOptions(listOptions); - var appearance = props.appearance, - children = props.children, - _onMouseEnter = props.onMouseEnter, - _onMouseLeave = props.onMouseLeave, - _onClick = props.onClick, - className = props.className; - var baseProps = extractBaseProps(props); - var StatusHintClass = classnames(_defineProperty$2({}, 'StatusHint', true), className); - var StatusHintIconClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'StatusHint-icon', true), _defineProperty$2(_classNames2, "StatusHint--".concat(appearance), appearance), _classNames2)); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-StatusHint" - }, baseProps, { - className: StatusHintClass, - onClick: function onClick(e) { - return _onClick && _onClick(e); - }, - onMouseEnter: function onMouseEnter(e) { - return _onMouseEnter && _onMouseEnter(e); - }, - onMouseLeave: function onMouseLeave(e) { - return _onMouseLeave && _onMouseLeave(e); + if (loadersCount && loadingOptions) { + return /*#__PURE__*/React.createElement("div", { + className: 'Dropdown-loading' + }, /*#__PURE__*/React.createElement("div", { + className: "Dropdown-wrapper", + style: loaderStyle + }, renderLoading(loadersCount))); } - }), /*#__PURE__*/React.createElement("span", { - "data-test": "DesignSystem-StatusHint--Icon", - className: StatusHintIconClass - }), /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-StatusHint--Text", - weight: 'medium' - }, children)); -}; -StatusHint.displayName = 'StatusHint'; -StatusHint.defaultProps = { - appearance: 'default' -}; - -var Pills = function Pills(props) { - var _classNames; - var appearance = props.appearance, - children = props.children, - subtle = props.subtle, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = { - Pills: true - }, _defineProperty$2(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$2(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$3({ - "data-test": "DesignSystem-Pills" - }, baseProps, { - className: classes - }), children); -}; -Pills.displayName = 'Pills'; -Pills.defaultProps = { - appearance: 'secondary' -}; + if (listOptions.length === 0 && !loadingOptions && selected.length <= 0) { + var _props$noResultMessag = props.noResultMessage, + noResultMessage = _props$noResultMessag === void 0 ? 'No result found' : _props$noResultMessag; + return /*#__PURE__*/React.createElement("div", { + className: "Dropdown-wrapper", + style: dropdownStyle, + "data-test": "DesignSystem-Dropdown--errorWrapper" + }, /*#__PURE__*/React.createElement("div", { + className: 'Option' + }, /*#__PURE__*/React.createElement("div", { + className: 'Option-subinfo' + }, noResultMessage))); + } -var Spinner = function Spinner(props) { - var appearance = props.appearance, - size = props.size, - className = props.className; - var baseProps = extractBaseProps(props); - var wrapperClasses = classnames(_defineProperty$2({ - Spinner: true - }, "Spinner--".concat(size), size), className); - var circleClasses = classnames(_defineProperty$2({ - Circle: true - }, "Circle--".concat(appearance), appearance)); - var svgProps = { - viewBox: '0 0 50 50' - }; - var circleProps = { - cx: 25, - cy: 25, - r: 20, - fill: 'none', - strokeMiterlimit: '10', - strokeWidth: '4' + return /*#__PURE__*/React.createElement("div", { + className: dropdownWrapperClass, + style: dropdownStyle, + ref: dropdownRef + }, selectAllPresent && renderSelectAll(), selected.length > 0 && renderGroups(selectedSectionLabel, true), selected.map(function (option, index) { + return renderOptions(option, index); + }), selected.length > 0 && listOptions.length - selected.length > 0 && !((_listOptions$0$group = listOptions[0].group) !== null && _listOptions$0$group !== void 0 && _listOptions$0$group.trim()) && // allItemsSectionLabel is displayed only when there are no groups + renderGroups(allItemsSectionLabel), groupedListOptions.map(function (option, index) { + var prevGroup = index > 0 ? groupedListOptions[index - 1].group : selected.length ? selectedSectionLabel : undefined; + var currentGroup = option.group; + var isGroupDifferent = prevGroup !== currentGroup; + var updatedIndex = index + selected.length; + return /*#__PURE__*/React.createElement("div", { + className: "Option-checkboxWrapper", + key: index + }, isGroupDifferent && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); + }), props.async && remainingOptions > 0 && renderFooter()); }; - return /*#__PURE__*/React.createElement("svg", _extends$3({}, baseProps, { - className: wrapperClasses - }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$3({ - className: circleClasses - }, circleProps))); -}; -Spinner.displayName = 'Spinner'; -Spinner.defaultProps = { - appearance: 'primary', - size: 'medium' -}; -var ARROW_LEFT = 37; -var ARROW_RIGHT = 39; + var focusOption = function focusOption(direction, classes) { + var elements = document.querySelectorAll(classes); + var updatedCursor = direction === 'down' ? cursor + 1 : cursor - 1; + var startIndex = updatedCursor; + var endIndex = direction === 'down' ? elements.length : -1; -var formatPercentage = function formatPercentage(ratio) { - return "".concat((ratio * 100).toFixed(2), "%"); -}; -var countDecimalPlaces = function countDecimalPlaces(value) { - if (!isFinite(value)) return 0; + while (startIndex !== endIndex) { + var node = elements[startIndex]; - if (Math.floor(value) !== value) { - var valueArray = value.toString().split('.'); - return valueArray[1].length || 0; - } + if (node.getAttribute('data-disabled') !== 'true') { + var element = elements[startIndex]; + if (element) scrollIntoView(dropdownRef.current, element); + if (element !== undefined) setCursor(startIndex); + break; + } - return 0; -}; -var approxEqual = function approxEqual(a, b) { - var tolerance = 0.00001; - return Math.abs(a - b) <= tolerance; -}; -var clamp = function clamp(value, min, max) { - if (value == null) { - return value; - } + if (direction === 'down') { + startIndex++; + } else { + startIndex--; + } + } + }; - return Math.min(Math.max(value, min), max); -}; -var arraysEqual = function arraysEqual(oldValues, newValues) { - if (oldValues.length !== oldValues.length) return; - return newValues.every(function (value, index) { - return value === oldValues[index]; - }); -}; -function argMin(values, argFn) { - if (values.length === 0) { - return undefined; - } + var onkeydown = function onkeydown(event) { + var optionClass = '.OptionWrapper'; - var minValue = values[0]; - var minArg = argFn(minValue); + switch (event.key) { + case 'ArrowDown': + event.preventDefault(); + dropdownOpen ? focusOption('down', optionClass) : onToggleDropdown(!dropdownOpen); + break; - for (var index = 1; index < values.length; index++) { - var _value = values[index]; - var arg = argFn(_value); + case 'ArrowUp': + event.preventDefault(); + dropdownOpen ? focusOption('up', optionClass) : onToggleDropdown(!dropdownOpen); + break; - if (arg < minArg) { - minValue = _value; - minArg = arg; - } - } + case 'Enter': + { + var activeElement = document.activeElement; + + if (dropdownOpen && (inputRef.current === activeElement || dropdownTriggerRef.current === activeElement)) { + event.preventDefault(); + var classes = withCheckbox ? "".concat(optionClass, " .Checkbox-input") : optionClass; + var elements = document.querySelectorAll(classes); + var element = elements[cursor]; + if (element) element.click(); + } - return minValue; -} -function fillValues(values, startIndex, endIndex, fillValue) { - var inc = startIndex < endIndex ? 1 : -1; + if (!dropdownOpen) onToggleDropdown(!dropdownOpen); + break; + } - for (var index = startIndex; index !== endIndex + inc; index += inc) { - values[index] = fillValue; - } -} -function isElementOfType(element, _ComponentType) { - return element != null && element.type != null; -} + case 'Tab': + { + var _dropdownApplyButtonR; -var Handle = /*#__PURE__*/function (_React$Component) { - _inherits$1(Handle, _React$Component); + if (!showApplyButton && dropdownOpen) { + event.preventDefault(); + onToggleDropdown(false, 'onClick'); + return; + } - var _super = _createSuper$1(Handle); + var currentElement = document.activeElement; + var disabledApplyButton = (_dropdownApplyButtonR = dropdownApplyButtonRef.current) === null || _dropdownApplyButtonR === void 0 ? void 0 : _dropdownApplyButtonR.disabled; - function Handle() { - var _this; + if ((currentElement === dropdownCancelButtonRef.current && disabledApplyButton || currentElement === dropdownApplyButtonRef.current) && dropdownOpen) { + event.preventDefault(); + onToggleDropdown(false, 'onClick'); + return; + } - _classCallCheck$1(this, Handle); + if (showApplyButton && dropdownOpen) { + event.preventDefault(); - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } + if (currentElement === dropdownCancelButtonRef.current) { + var _dropdownApplyButtonR2; - _this = _super.call.apply(_super, [this].concat(args)); + (_dropdownApplyButtonR2 = dropdownApplyButtonRef.current) === null || _dropdownApplyButtonR2 === void 0 ? void 0 : _dropdownApplyButtonR2.focus(); + } else { + var _dropdownCancelButton; - _defineProperty$2(_assertThisInitialized$2(_this), "state", { - isHandleMoving: false, - isHandleHovered: false - }); + (_dropdownCancelButton = dropdownCancelButtonRef.current) === null || _dropdownCancelButton === void 0 ? void 0 : _dropdownCancelButton.focus(); + } + } - _defineProperty$2(_assertThisInitialized$2(_this), "handleElement", null); + break; + } + } + }; - _defineProperty$2(_assertThisInitialized$2(_this), "refHandlers", { - handle: function handle(el) { - return _this.handleElement = el; - } - }); + return ( + /*#__PURE__*/ + //TODO(a11y) + //eslint-disable-next-line + React.createElement("div", _extends$2({}, baseProps, { + className: dropdownClass, + ref: triggerRef, + onKeyDown: onkeydown + }), /*#__PURE__*/React.createElement(Popover, _extends$2({ + onToggle: onToggleDropdown, + trigger: trigger, + triggerClass: !menu ? 'w-100' : '', + open: dropdownOpen, + customStyle: popoverStyle, + position: alignmentMapping[align] + }, popoverOptions, { + "data-test": "DesignSystem-Dropdown--Popover" + }), (withSearch || props.async) && renderSearch(), renderDropdownSection(), showApplyButton && withCheckbox && renderApplyButton())) + ); +}; - _defineProperty$2(_assertThisInitialized$2(_this), "mouseEventClientOffset", function (event) { - return event.clientX; - }); +DropdownList.displayName = 'DropdownList'; - _defineProperty$2(_assertThisInitialized$2(_this), "clientToValue", function (clientPixel) { - var _this$props = _this.props, - stepSize = _this$props.stepSize, - tickSize = _this$props.tickSize, - value = _this$props.value; +var _excluded$t = ["triggerOptions", "selected", "tabIndex"]; +var inputRef = /*#__PURE__*/React.createRef(); - if (_this.handleElement == null) { - return value; - } +/** + * ###Note: + * 1. Dropdown props types: + * - async: fetchOptions + * - sync: options, loading + * 2. Sync Dropdown: + * - Manually toggle loading state to update options (Options <= staticLimit). + * 3. Callback Functions + * - Controlled Dropdown: + * * onUpdate: Called when user `clicks on option` / `clicks on Clear, Cancel or Apply button`. + * * onChange: Called when selected options are updated. + * - Uncontrolled Dropdown: + * * onChange: Called when user `clicks on option` / `clicks on Clear, or Apply button`. + */ +var Dropdown = /*#__PURE__*/function (_React$Component) { + _inherits(Dropdown, _React$Component); - var clientPixelNormalized = clientPixel; + var _super = _createSuper(Dropdown); - var _this$getHandleMidpoi = _this.getHandleMidpointAndOffset(_this.handleElement), - handleMidpoint = _this$getHandleMidpoi.handleMidpoint, - handleOffset = _this$getHandleMidpoi.handleOffset; + function Dropdown(props) { + var _this; - var handleCenterPixel = handleMidpoint + handleOffset; - var pixelDelta = clientPixelNormalized - handleCenterPixel; + _classCallCheck(this, Dropdown); - if (isNaN(pixelDelta)) { - return value; - } + _this = _super.call(this, props); - return value + Math.round(pixelDelta / (tickSize * stepSize)) * stepSize; + _defineProperty$1(_assertThisInitialized$1(_this), "staticLimit", void 0); + + _defineProperty$1(_assertThisInitialized$1(_this), "getDisabledOptions", function () { + var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + return options.filter(function (option) { + return option.disabled; + }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "changeValue", function (newValue) { - var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _this.props.onChange; - var updatedValue = clamp(newValue, _this.props.min, _this.props.max); + _defineProperty$1(_assertThisInitialized$1(_this), "fetchOptionsFunction", function (searchTerm) { + var options = _this.props.options; + var filteredOptions = searchTerm ? getSearchedOptions(options, searchTerm) : options; + return new Promise(function (resolve) { + resolve({ + searchTerm: searchTerm, + options: filteredOptions, + count: filteredOptions.length + }); + }); + }); - if (!isNaN(updatedValue) && _this.props.value !== updatedValue) { - if (callback) callback(updatedValue); + _defineProperty$1(_assertThisInitialized$1(_this), "getUnSelectedOptions", function (options, init) { + if (options.length) { + if (!init) { + return options.filter(function (option) { + return _this.state.tempSelected.findIndex(function (item) { + return item.value === option.value; + }) === -1; + }); + } + + var _this$props$selected = _this.props.selected, + _selected2 = _this$props$selected === void 0 ? [] : _this$props$selected; + + var unSelectedGroup = options.filter(function (option) { + return _isControlled(_this.props.selected) ? _selected2.findIndex(function (item) { + return item.value === option.value; + }) === -1 : !option.selected; + }); + return unSelectedGroup; } - return updatedValue; + return options; }); - _defineProperty$2(_assertThisInitialized$2(_this), "endHandleMovement", function (event) { - var clientPixel = _this.mouseEventClientOffset(event); + _defineProperty$1(_assertThisInitialized$1(_this), "getSelectedOptions", function (options, init) { + var _this$props$selected2 = _this.props.selected, + selected = _this$props$selected2 === void 0 ? [] : _this$props$selected2; - var onRelease = _this.props.onRelease; - - _this.removeDocumentEventListeners(); + if (options.length) { + if (!init) return _this.state.tempSelected; + var selectedGroup = _isControlled(_this.props.selected) ? selected : options.filter(function (option) { + return option.selected; + }); + return selectedGroup; + } - _this.setState({ - isHandleMoving: false - }); + return []; + }); - var finalValue = _this.changeValue(_this.clientToValue(clientPixel)); + _defineProperty$1(_assertThisInitialized$1(_this), "updateOptions", function (init, async) { + var _this$state = _this.state, + searchTerm = _this$state.searchTerm, + selectAll = _this$state.selectAll, + tempSelected = _this$state.tempSelected, + previousSelected = _this$state.previousSelected; + var updatedAsync = async === undefined ? _this.state.async : async; + var _this$props = _this.props, + fetchOptions = _this$props.fetchOptions, + withCheckbox = _this$props.withCheckbox, + withSearch = _this$props.withSearch; + var fetchFunction = fetchOptions ? fetchOptions : _this.fetchOptionsFunction; + fetchFunction(searchTerm).then(function (res) { + var options = res.options, + count = res.count; - if (onRelease) onRelease(finalValue); - }); + if (res.scrollToIndex) { + setTimeout(function () { + scrollToOptionIndex(res.scrollToIndex, options); + }, 0); + } - _defineProperty$2(_assertThisInitialized$2(_this), "continueHandleMovement", function (event) { - var clientPixel = _this.mouseEventClientOffset(event); + if (!res.searchTerm || res.searchTerm && res.searchTerm === _this.state.searchTerm) { + var _inputRef$current; - if (_this.state.isHandleMoving && !_this.props.disabled) { - var value = _this.clientToValue(clientPixel); + updatedAsync = searchTerm === '' ? count > _this.staticLimit : updatedAsync; + var unSelectedGroup = _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? _this.getUnSelectedOptions(options, init) : options; + var selectedGroup = searchTerm === '' ? _this.getSelectedOptions(options, init) : []; + var optionsLength = searchTerm === '' ? count : _this.state.optionsLength; - _this.changeValue(value); - } - }); + var disabledOptions = _this.getDisabledOptions(unSelectedGroup.slice(0, _this.staticLimit)); - _defineProperty$2(_assertThisInitialized$2(_this), "beginHandleMovement", function (event) { - if (_this.props.disabled) return; - document.addEventListener('mousemove', _this.continueHandleMovement); - document.addEventListener('mouseup', _this.endHandleMovement); + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + scrollIndex: res.scrollToIndex || 0, + optionsLength: optionsLength, + loading: false, + async: updatedAsync, + searchedOptionsLength: count, + options: unSelectedGroup.slice(0, _this.staticLimit), + tempSelected: init ? selectedGroup : tempSelected, + previousSelected: init ? selectedGroup : previousSelected, + selected: _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? selectedGroup : [], + triggerLabel: _this.updateTriggerLabel(init ? selectedGroup : tempSelected), + selectAll: !updatedAsync && init ? getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) : selectAll + })); - _this.setState({ - isHandleMoving: true + if (updatedAsync || withSearch) (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); + } }); + }); - var value = _this.clientToValue(event.clientX); - - _this.changeValue(value); + _defineProperty$1(_assertThisInitialized$1(_this), "updateSearchTerm", function (search) { + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + loading: true, + searchInit: true, + searchTerm: search + })); }); - _defineProperty$2(_assertThisInitialized$2(_this), "handleKeyDown", function (event) { - if (_this.props.disabled) return; + _defineProperty$1(_assertThisInitialized$1(_this), "updateOnPopperToggle", function () { var _this$props2 = _this.props, - stepSize = _this$props2.stepSize, - value = _this$props2.value; - var which = event.which; + withCheckbox = _this$props2.withCheckbox, + showApplyButton = _this$props2.showApplyButton, + onClose = _this$props2.onClose, + name = _this$props2.name, + _this$props2$selected = _this$props2.selected, + selected = _this$props2$selected === void 0 ? [] : _this$props2$selected; + var _this$state2 = _this.state, + previousSelected = _this$state2.previousSelected, + tempSelected = _this$state2.tempSelected, + optionsLength = _this$state2.optionsLength, + async = _this$state2.async, + loading = _this$state2.loading, + searchTerm = _this$state2.searchTerm, + options = _this$state2.options; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.props.open : _this.state.open; - if (which === ARROW_LEFT) { - _this.changeValue(value - stepSize); + var disabledOptionsCount = _this.getDisabledOptions(options).length; - event.preventDefault(); - } else if (which === ARROW_RIGHT) { - _this.changeValue(value + stepSize); + if (withCheckbox && showApplyButton) { + var temporarySelected = _isControlled(_this.props.selected) ? selected : previousSelected; - event.preventDefault(); + _this.setState({ + tempSelected: temporarySelected, + selectAll: getSelectAll$1(temporarySelected, optionsLength, disabledOptionsCount), + triggerLabel: _this.updateTriggerLabel(temporarySelected) + }); } - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "handleKeyUp", function (event) { - if (_this.props.disabled) return; - if ([ARROW_LEFT, ARROW_RIGHT].indexOf(event.which) >= 0) { - var onRelease = _this.props.onRelease; - if (onRelease) onRelease(_this.props.value); + if (_isOpenControlled(_this.props.open)) { + _this.setState({ + open: popperIsOpen + }); } - }); - _defineProperty$2(_assertThisInitialized$2(_this), "getHandleMidpointAndOffset", function (handleElement) { - var useOppositeDimension = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + if (popperIsOpen) { + var moveSelectedGroup = _showSelectedItems(async, searchTerm, withCheckbox) && !_isEqual(_this.state.selected, tempSelected); - if (handleElement == null) { - return { - handleMidpoint: 0, - handleOffset: 0 - }; + _this.setState({ + loading: moveSelectedGroup || loading || searchTerm !== '', + searchInit: searchTerm !== '', + searchTerm: '' + }); + + if (moveSelectedGroup) _this.updateOptions(false); } - var handleRect = handleElement.getBoundingClientRect(); - var sizeKey = useOppositeDimension ? 'height' : 'width'; - var handleOffset = handleRect.left; - return { - handleOffset: handleOffset, - handleMidpoint: handleRect[sizeKey] / 2 - }; - }); + if (onClose && !popperIsOpen) { + var arr = withCheckbox && showApplyButton ? _isControlled(_this.props.selected) ? selected : previousSelected : _this.state.tempSelected; + var values = arr.map(function (option) { + return option.value; + }); - _defineProperty$2(_assertThisInitialized$2(_this), "handleMouseOver", function () { - _this.setState({ - isHandleHovered: true - }); + _this.debounceOnClose(values, name); + } }); - _defineProperty$2(_assertThisInitialized$2(_this), "handleMouseLeave", function () { - _this.setState({ - isHandleHovered: false - }); - }); + _defineProperty$1(_assertThisInitialized$1(_this), "debounceOnClose", debounce$1(300, function (values, name) { + var onClose = _this.props.onClose; - _defineProperty$2(_assertThisInitialized$2(_this), "removeDocumentEventListeners", function () { - document.removeEventListener('mousemove', _this.continueHandleMovement); - document.removeEventListener('mouseup', _this.endHandleMovement); - }); + if (onClose) { + onClose(values, name); + } + })); - return _this; - } + _defineProperty$1(_assertThisInitialized$1(_this), "updateTriggerLabel", function () { + var selectedArray = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var totalOptions = arguments.length > 1 ? arguments[1] : undefined; + var selectedLength = selectedArray.length; + if (selectedLength === 0) return ''; + var _this$props3 = _this.props, + _this$props3$triggerO = _this$props3.triggerOptions, + triggerOptions = _this$props3$triggerO === void 0 ? {} : _this$props3$triggerO, + getLabel = _this$props3.getLabel; + var customLabel = triggerOptions.customLabel, + _triggerOptions$label = triggerOptions.labelLimit, + labelLimit = _triggerOptions$label === void 0 ? 2 : _triggerOptions$label; + var optionsLength = _this.state ? _this.state.optionsLength : totalOptions; + var label = ''; - _createClass$1(Handle, [{ - key: "componentWillUnmount", - value: function componentWillUnmount() { - this.removeDocumentEventListeners(); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(_prevProps, prevState) { - if (prevState.isHandleMoving !== this.state.isHandleMoving) { - if (this.handleElement) this.handleElement.focus(); + if (selectedLength <= labelLimit) { + label = selectedArray.map(function (option) { + return option.label; + }).join(', '); + } else { + label = customLabel ? customLabel(selectedLength, optionsLength, selectedArray) : "".concat(selectedLength, " selected"); } - } - }, { - key: "render", - value: function render() { - var _classNames, _classNames2; - - var _this$props3 = this.props, - min = _this$props3.min, - tickSizeRatio = _this$props3.tickSizeRatio, - value = _this$props3.value, - disabled = _this$props3.disabled, - label = _this$props3.label, - isCurrentLabelHovered = _this$props3.isCurrentLabelHovered; - var _this$state = this.state, - isHandleMoving = _this$state.isHandleMoving, - isHandleHovered = _this$state.isHandleHovered; - var showTootlip = isHandleMoving || isHandleHovered || isCurrentLabelHovered; - var _this$getHandleMidpoi2 = this.getHandleMidpointAndOffset(this.handleElement, true), - handleMidpoint = _this$getHandleMidpoi2.handleMidpoint; + if (getLabel) getLabel(label); + return label; + }); - var offsetRatio = (value - min) * tickSizeRatio; - var offsetCalc = "calc(".concat(formatPercentage(offsetRatio), " - ").concat(handleMidpoint, "px)"); - var style = { - left: offsetCalc - }; - var className = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Slider-handle', true), _defineProperty$2(_classNames, 'Slider-handle--disabled', disabled), _defineProperty$2(_classNames, 'Slider-handle--active', isHandleMoving), _classNames)); - var TooltipClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Slider-tooltip', true), _defineProperty$2(_classNames2, 'Tooltip', true), _defineProperty$2(_classNames2, 'd-none', !showTootlip), _classNames2)); - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { - className: className, - onMouseOver: this.handleMouseOver, - onMouseLeave: this.handleMouseLeave, - onMouseDown: this.beginHandleMovement, - onKeyDown: this.handleKeyDown, - onKeyUp: this.handleKeyUp, - ref: this.refHandlers.handle, - style: style, - tabIndex: 1 - }), /*#__PURE__*/React.createElement("div", { - className: TooltipClass, - style: style - }, label)); - } - }]); + _defineProperty$1(_assertThisInitialized$1(_this), "updateSelectedOptions", function (selectedArray, isSingleSelect, isControlled) { + var _this$state3 = _this.state, + optionsLength = _this$state3.optionsLength, + previousSelected = _this$state3.previousSelected, + selected = _this$state3.selected, + loading = _this$state3.loading, + open = _this$state3.open; + var _this$props4 = _this.props, + onChange = _this$props4.onChange, + withCheckbox = _this$props4.withCheckbox, + showApplyButton = _this$props4.showApplyButton, + closeOnSelect = _this$props4.closeOnSelect, + name = _this$props4.name, + onPopperToggle = _this$props4.onPopperToggle; + var updatePreviousSelected = withCheckbox && showApplyButton && isControlled; - return Handle; -}(React.Component); + var disabledOptions = _this.getDisabledOptions(_this.state.options); -var MultiSliderHandle = function MultiSliderHandle() { - return null; -}; + var isClearClicked = selectedArray.length === 0 && selected.length > 0 || selectedArray.every(function (option) { + return option.disabled; + }) && !selected.every(function (option) { + return option.disabled; + }); -var MultiSlider = /*#__PURE__*/function (_React$Component) { - _inherits$1(MultiSlider, _React$Component); + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + tempSelected: selectedArray, + triggerLabel: _this.updateTriggerLabel(selectedArray), + selectAll: getSelectAll$1(selectedArray, optionsLength, disabledOptions.length), + open: _isOpenControlled(_this.props.open) || withCheckbox ? open : !closeOnSelect, + previousSelected: updatePreviousSelected ? selectedArray : previousSelected, + selected: isClearClicked ? selectedArray : selected, + loading: isClearClicked ? true : loading + })); - var _super = _createSuper$1(MultiSlider); + if (isClearClicked) _this.debounceClear(); - function MultiSlider(_props) { - var _this; - - _classCallCheck$1(this, MultiSlider); + if (onChange && (!showApplyButton || isControlled)) { + var values = selectedArray.map(function (item) { + return item.value; + }); + var selectedValues = isSingleSelect ? values[0] : values; + onChange(selectedValues, name); + } - _this = _super.call(this, _props); + if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(false, 'optionClick'); + } + }); - _defineProperty$2(_assertThisInitialized$2(_this), "handleElements", []); + _defineProperty$1(_assertThisInitialized$1(_this), "isValidOption", function (option) { + var _this$props5 = _this.props, + closeOnSelect = _this$props5.closeOnSelect, + withCheckbox = _this$props5.withCheckbox, + open = _this$props5.open, + onPopperToggle = _this$props5.onPopperToggle; + var temp = _this.state.tempSelected; + + if (temp.length > 0 && !withCheckbox && temp[0].value === option['value']) { + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + open: _isOpenControlled(open) || !closeOnSelect + })); - _defineProperty$2(_assertThisInitialized$2(_this), "trackElement", null); + if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(open)) { + onPopperToggle(false, 'optionClick'); + } - _defineProperty$2(_assertThisInitialized$2(_this), "getLabelPrecision", function (_ref) { - var labelPrecision = _ref.labelPrecision, - stepSize = _ref.stepSize; - return labelPrecision == null ? countDecimalPlaces(stepSize) : labelPrecision; - }); + return false; + } - _defineProperty$2(_assertThisInitialized$2(_this), "getOffsetRatio", function (value) { - return clamp((value - _this.props.min) * _this.state.tickSizeRatio, 0, 1); + return true; }); - _defineProperty$2(_assertThisInitialized$2(_this), "addHandleRef", function (ref) { - if (ref != null) { - _this.handleElements.push(ref); - } - }); + _defineProperty$1(_assertThisInitialized$1(_this), "onOptionSelect", function (option) { + var _this$props6 = _this.props, + onUpdate = _this$props6.onUpdate, + selected = _this$props6.selected, + menu = _this$props6.menu; - _defineProperty$2(_assertThisInitialized$2(_this), "getHandleValues", function (props) { - var maybeHandles = React.Children.map(props.children, function (child) { - return isElementOfType(child) ? child.props : null; - }); - var handles = maybeHandles != null ? maybeHandles : []; - handles = handles.filter(function (handle) { - return handle !== null; - }); - handles.sort(function (left, right) { - return left.value - right.value; - }); - return handles; - }); + if (_isControlled(selected)) { + if (onUpdate && (_this.isValidOption(option) || menu)) { + onUpdate('select-option', option); + } - _defineProperty$2(_assertThisInitialized$2(_this), "updateTickSize", function () { - if (_this.trackElement != null) { - var trackSize = _this.trackElement.clientWidth; - var tickSizeRatio = 1 / (_this.props.max - _this.props.min); - var tickSize = trackSize * tickSizeRatio; + return; + } - _this.setState({ - tickSize: tickSize, - tickSizeRatio: tickSizeRatio - }); + if (_this.isValidOption(option) || menu) { + _this.updateSelectedOptions([option], true); } }); - _defineProperty$2(_assertThisInitialized$2(_this), "getTrackFill", function (start, end) { - if (start.fillAfter !== undefined) { - return start.fillAfter; - } + _defineProperty$1(_assertThisInitialized$1(_this), "onSelect", function (option, checked) { + var _this$props7 = _this.props, + onUpdate = _this$props7.onUpdate, + selected = _this$props7.selected, + showApplyButton = _this$props7.showApplyButton; - if (end !== undefined && end.fillBefore !== undefined) { - return end.fillBefore; + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate(checked ? 'select-option' : 'deselect-option', option); + return; } - return false; - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "maybeHandleTrackClick", function (event) { - var target = event.target; - var canHandleTrackEvent = !_this.props.disabled && target.closest('.Slider-handle') == null; + var tempSelected = _this.state.tempSelected; + var selectedArray = tempSelected.slice(); - if (canHandleTrackEvent) { - var foundHandle = _this.nearestHandleForValue(_this.handleElements, function (handle) { - return handle.mouseEventClientOffset(event); + if (!checked) { + var index = selectedArray.findIndex(function (item) { + return item.value === option.value; }); - - if (foundHandle) { - foundHandle.beginHandleMovement(event); - } + selectedArray.splice(index, 1); } + + selectedArray = checked ? selectedArray.concat(option) : selectedArray; + + _this.updateSelectedOptions(selectedArray, false); }); - _defineProperty$2(_assertThisInitialized$2(_this), "getLockedHandleIndex", function (startIndex, endIndex) { - var inc = startIndex < endIndex ? 1 : -1; + _defineProperty$1(_assertThisInitialized$1(_this), "onSelectAll", function (event) { + var _this$props8 = _this.props, + onUpdate = _this$props8.onUpdate, + selected = _this$props8.selected, + showApplyButton = _this$props8.showApplyButton; + var _this$state4 = _this.state, + tempSelected = _this$state4.tempSelected, + options = _this$state4.options; - for (var index = startIndex + inc; index !== endIndex + inc; index += inc) { - return index; + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate(event.target.checked ? 'select-all' : 'deselect-all'); + return; } - return -1; + var selectedArr = tempSelected.slice(); + var selectedDisabledArray = selectedArr.filter(function (option) { + return option.disabled; + }); + var selectedArray = event.target.checked ? [].concat(_toConsumableArray(options.filter(function (option) { + return !option.disabled; + })), _toConsumableArray(selectedDisabledArray)) : selectedDisabledArray; + + _this.updateSelectedOptions(selectedArray, false); }); - _defineProperty$2(_assertThisInitialized$2(_this), "getNewHandleValues", function (newValue, oldIndex) { - var handleProps = _this.getHandleValues(_this.props); + _defineProperty$1(_assertThisInitialized$1(_this), "debounceSearch", debounce$1(_this.props.searchDebounceDuration, function () { + _this.setState({ + searchInit: false + }, function () { + _this.updateOptions(false); + }); + })); - var oldValues = handleProps.map(function (handle) { - return handle.value; + _defineProperty$1(_assertThisInitialized$1(_this), "debounceClear", debounce$1(250, function () { + return _this.updateOptions(false); + })); + + _defineProperty$1(_assertThisInitialized$1(_this), "onClearOptions", function () { + var _this$props9 = _this.props, + selected = _this$props9.selected, + name = _this$props9.name, + onUpdate = _this$props9.onUpdate, + showApplyButton = _this$props9.showApplyButton, + onChange = _this$props9.onChange; + var tempSelected = _this.state.tempSelected; + var selectedArray = tempSelected.filter(function (option) { + return option.disabled; }); - var newValues = oldValues.slice(); - newValues[oldIndex] = newValue; - if (newValues.length > 1) newValues.sort(function (left, right) { - return left - right; + + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate('clear-all'); + return; + } + + _this.setState({ + selected: selectedArray, + tempSelected: selectedArray, + triggerLabel: '', + loading: true }); - var newIndex = newValues.indexOf(newValue); - var lockIndex = _this.getLockedHandleIndex(oldIndex, newIndex); + _this.debounceClear(); - if (lockIndex === -1) { - fillValues(newValues, oldIndex, newIndex, newValue); - } else { - var lockValue = oldValues[lockIndex]; - fillValues(oldValues, oldIndex, lockIndex, lockValue); - return oldValues; - } + if (onChange && !showApplyButton) onChange(selectedArray, name); + }); - return newValues; + _defineProperty$1(_assertThisInitialized$1(_this), "onTogglePopper", function (type) { + var onPopperToggle = _this.props.onPopperToggle; + + if (onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(false, type); + } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onReleaseHandler", function (newValue, index) { - var onRangeRelease = _this.props.onRangeRelease; + _defineProperty$1(_assertThisInitialized$1(_this), "onCancelOptions", function () { + var _this$state5 = _this.state, + previousSelected = _this$state5.previousSelected, + tempSelected = _this$state5.tempSelected, + optionsLength = _this$state5.optionsLength; + var _this$props10 = _this.props, + selected = _this$props10.selected, + onUpdate = _this$props10.onUpdate, + onClose = _this$props10.onClose, + name = _this$props10.name; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; + var values = previousSelected.map(function (option) { + return option.value; + }); - var handleProps = _this.getHandleValues(_this.props); + if (_isControlled(selected)) { + if (onUpdate) onUpdate('cancel-selected', previousSelected, tempSelected); - var newValues = _this.getNewHandleValues(newValue, index); // Range Slider callback + _this.onTogglePopper('cancelClick'); + return; + } - if (onRangeRelease) { - var range = newValues; - onRangeRelease(range); - } // Slider callback + var label = _this.updateTriggerLabel(previousSelected); + var disabledOptions = _this.getDisabledOptions(_this.state.options); - handleProps.forEach(function (handle, i) { - if (handle.onRelease) handle.onRelease(newValues[i]); - }); - }); + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + tempSelected: previousSelected, + selectAll: getSelectAll$1(previousSelected, optionsLength, disabledOptions.length), + triggerLabel: label, + open: popperIsOpen + })); - _defineProperty$2(_assertThisInitialized$2(_this), "onChangeHandler", function (newValue, index) { - var onRangeChange = _this.props.onRangeChange; + if (onClose && !popperIsOpen) { + onClose(values, name); + } - var handleProps = _this.getHandleValues(_this.props); + _this.onTogglePopper('cancelClick'); + }); - var oldValues = handleProps.map(function (handle) { - return handle.value; + _defineProperty$1(_assertThisInitialized$1(_this), "onApplyOptions", function () { + var _this$state6 = _this.state, + tempSelected = _this$state6.tempSelected, + previousSelected = _this$state6.previousSelected; + var _this$props11 = _this.props, + onChange = _this$props11.onChange, + selected = _this$props11.selected, + onUpdate = _this$props11.onUpdate, + onClose = _this$props11.onClose, + name = _this$props11.name; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; + var values = tempSelected.map(function (option) { + return option.value; }); - var newValues = _this.getNewHandleValues(newValue, index); - - if (!arraysEqual(newValues, oldValues)) { - // Range Slider Callback - if (onRangeChange) { - var range = newValues; - onRangeChange(range); - } // Slider callback + if (_isControlled(selected)) { + if (onUpdate) onUpdate('apply-selected', previousSelected, tempSelected); + _this.onTogglePopper('applyClick'); - handleProps.forEach(function (handle, i) { - if (handle.onChange) handle.onChange(newValues[i]); - }); + return; } - }); - _defineProperty$2(_assertThisInitialized$2(_this), "formatLabel", function (value) { - var labelRenderer = _this.props.labelRenderer; + _this.setState(_objectSpread2(_objectSpread2({}, _this.state), {}, { + previousSelected: tempSelected, + optionsApplied: true, + open: popperIsOpen + })); - if (typeof labelRenderer === 'function') { - return labelRenderer(value); + if (onChange) { + onChange(values, name); } - return value.toFixed(_this.state.labelPrecision); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "renderHandles", function () { - var _this$props = _this.props, - disabled = _this$props.disabled, - max = _this$props.max, - min = _this$props.min, - stepSize = _this$props.stepSize; + if (onClose && !popperIsOpen) { + onClose(values, name); + } - var handleProps = _this.getHandleValues(_this.props); + _this.onTogglePopper('applyClick'); + }); - if (handleProps.length === 0) { - return null; + _defineProperty$1(_assertThisInitialized$1(_this), "onToggleDropdown", function (updatedOpen, type) { + if (_this.props.disabled) { + return; } - return handleProps.map(function (_ref2, index) { - var value = _ref2.value; - var isCurrentLabelHovered = _this.state.hoveredLabelValue === Number(value.toFixed(_this.state.labelPrecision)); - return /*#__PURE__*/React.createElement(Handle, { - disabled: disabled, - key: "".concat(index, "-").concat(handleProps.length), - max: max, - min: min, - onRelease: function onRelease(newValue) { - return _this.onReleaseHandler(newValue, index); - }, - onChange: function onChange(newValue) { - return _this.onChangeHandler(newValue, index); - }, - label: _this.formatLabel(value), - ref: _this.addHandleRef, - stepSize: stepSize, - tickSize: _this.state.tickSize, - tickSizeRatio: _this.state.tickSizeRatio, - value: value, - isCurrentLabelHovered: isCurrentLabelHovered - }); - }); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "renderLabels", function () { - var _this$props2 = _this.props, - labelStepSize = _this$props2.labelStepSize, - max = _this$props2.max, - min = _this$props2.min, - labelRenderer = _this$props2.labelRenderer, - disabled = _this$props2.disabled; - var labels = []; - var stepSizeRatio = _this.state.tickSizeRatio * labelStepSize; - - var handles = _this.getHandleValues(_this.props); - - var activeLabels = handles.map(function (handle) { - return handle.value.toFixed(_this.state.labelPrecision); - }); - - var _loop = function _loop(i, offsetRatio) { - var offsetPercentage = formatPercentage(offsetRatio); - var style = { - left: offsetPercentage - }; - var active = !disabled && activeLabels.indexOf(i.toFixed(_this.state.labelPrecision)) !== -1; - - var onClickHandler = function onClickHandler(event) { - if (!_this.props.disabled) { - var foundHandle = _this.nearestHandleForValue(_this.handleElements, function (handle) { - return handle.mouseEventClientOffset(event); - }); - - if (foundHandle) { - foundHandle.changeValue(i); - } - } - }; - - labels.push( /*#__PURE__*/React.createElement("div", { - onClick: onClickHandler, - className: 'Slider-label', - key: i, - style: style, - onMouseOver: function onMouseOver() { - return _this.handleLabelMouseOver(i); - }, - onMouseLeave: _this.handleLabelMouseLeave - }, /*#__PURE__*/React.createElement("span", { - className: 'Slider-ticks' - }), labelRenderer !== false && /*#__PURE__*/React.createElement(Text, { - size: "small", - appearance: active ? 'default' : 'disabled' - }, _this.formatLabel(i)))); - }; + var onPopperToggle = _this.props.onPopperToggle; - for (var i = min, offsetRatio = 0; i < max || approxEqual(i, max); i += labelStepSize, offsetRatio += stepSizeRatio) { - _loop(i, offsetRatio); + if (onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(updatedOpen, type); + return; } - return labels; + _this.setState({ + open: updatedOpen + }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "renderTrackFill", function (index, start, end) { - var _classNames; - - var _sort = [_this.getOffsetRatio(start.value), _this.getOffsetRatio(end.value)].sort(function (left, right) { - return left - right; - }), - _sort2 = _slicedToArray(_sort, 2), - startRatio = _sort2[0], - endRatio = _sort2[1]; - - var startOffset = Number((startRatio * 100).toFixed(2)); - var endOffset = Number(((1 - endRatio) * 100).toFixed(2)); - var width = "".concat(100 - endOffset - startOffset, "%"); - var orientationStyle = { - width: width - }; - - var style = _objectSpread2({}, orientationStyle); - - var fillTrack = _this.getTrackFill(start, end); + var _props$selected = props.selected, + _selected = _props$selected === void 0 ? [] : _props$selected, + _totalOptions = props.totalOptions, + _withCheckbox = props.withCheckbox, + _loading = props.loading, + _open = props.open, + _options = props.options; - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Slider-progress', true), _defineProperty$2(_classNames, 'Slider-progress--disabled', _this.props.disabled), _defineProperty$2(_classNames, 'Slider-progress--inRange', fillTrack), _defineProperty$2(_classNames, 'Slider-progress--inRangeDisabled', fillTrack && _this.props.disabled), _classNames)); - return /*#__PURE__*/React.createElement("div", { - key: "track-".concat(index), - className: classes, - style: style - }); - }); + _this.staticLimit = Math.min(100, props.staticLimit); - _defineProperty$2(_assertThisInitialized$2(_this), "renderTracks", function () { - var trackStops = _this.getHandleValues(_this.props); + var _optionsLength = _totalOptions ? _totalOptions : _options.length; - trackStops.push({ - value: _this.props.max - }); - var previous = { - value: _this.props.min || 0 - }; - var handles = []; - trackStops.forEach(function (track, index) { - var current = track; - handles.push(_this.renderTrackFill(index, previous, current)); - previous = current; - }); - return handles; - }); + var _async = 'fetchOptions' in _this.props || _optionsLength > _this.staticLimit; - _defineProperty$2(_assertThisInitialized$2(_this), "handleLabelMouseOver", function (value) { - _this.setState({ - hoveredLabelValue: value - }); - }); + var _selectedGroup = !_async ? _this.getSelectedOptions(_options, true) : []; - _defineProperty$2(_assertThisInitialized$2(_this), "handleLabelMouseLeave", function () { - _this.setState({ - hoveredLabelValue: undefined - }); - }); + var _disabledOptions = _this.getDisabledOptions(_options); _this.state = { - labelPrecision: _this.getLabelPrecision(_this.props), - tickSize: 0, - tickSizeRatio: 0 + async: _async, + optionsLength: _optionsLength, + open: _open, + searchInit: false, + searchedOptionsLength: _optionsLength, + optionsApplied: false, + options: _options || [], + loading: _async ? true : _loading, + searchTerm: '', + tempSelected: _selectedGroup, + previousSelected: _selectedGroup, + selected: _showSelectedItems(_async, '', _withCheckbox) ? _selected : [], + triggerLabel: _this.updateTriggerLabel(_selectedGroup, _optionsLength), + selectAll: getSelectAll$1(_selectedGroup, _optionsLength, _disabledOptions.length) }; return _this; } - _createClass$1(MultiSlider, [{ - key: "getDerivedStateFromProps", - value: function getDerivedStateFromProps(props) { - return { - labelPrecision: this.getLabelPrecision(props) - }; + _createClass(Dropdown, [{ + key: "componentDidMount", + value: function componentDidMount() { + var async = this.state.async; + if (async) this.updateOptions(true); } }, { - key: "getSnapshotBeforeUpdate", - value: function getSnapshotBeforeUpdate(prevProps) { - var prevHandleProps = this.getHandleValues(prevProps); - var newHandleProps = this.getHandleValues(this.props); + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + if (!this.state.async) { + var _this$props12 = this.props, + loading = _this$props12.loading, + fetchOptions = _this$props12.fetchOptions, + _this$props12$options = _this$props12.options, + _options2 = _this$props12$options === void 0 ? [] : _this$props12$options, + withSearch = _this$props12.withSearch; - if (newHandleProps.length !== prevHandleProps.length) { - this.handleElements = []; + var disabledOptionsCount = this.getDisabledOptions(_options2).length; + + if (prevProps.loading !== loading && !fetchOptions) { + if (_options2.length > this.staticLimit) { + this.updateOptions(true, true); + } else { + var _inputRef$current2; + + var selectedGroup = this.getSelectedOptions(_options2, true); + this.setState(_objectSpread2(_objectSpread2({}, this.state), {}, { + options: _options2, + loading: loading, + tempSelected: selectedGroup, + previousSelected: selectedGroup, + optionsLength: _options2.length, + searchedOptionsLength: _options2.length, + triggerLabel: this.updateTriggerLabel(selectedGroup), + selectAll: getSelectAll$1(selectedGroup, this.state.optionsLength, disabledOptionsCount) + })); + if (withSearch) (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus(); + } + } } - return null; - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - this.updateTickSize(); - } - }, { - key: "nearestHandleForValue", - value: function nearestHandleForValue(handles, getOffset) { - return argMin(handles, function (handle) { - var offset = getOffset(handle); - var offsetValue = handle.clientToValue(offset); - var handleValue = handle.props.value; - return Math.abs(offsetValue - handleValue); - }); + if (this.props.selected !== undefined && prevProps.selected !== this.props.selected && prevProps.loading === this.props.loading) { + var isSingleSelect = !this.props.withCheckbox; + this.updateSelectedOptions(this.props.selected, isSingleSelect, true); + } + + if (prevState.searchTerm !== this.state.searchTerm) { + this.debounceSearch(); + } + + if (prevProps.open !== this.props.open || prevState.open !== this.state.open) { + if (_isOpenControlled(this.props.open) && this.props.open === this.state.open) return; + this.updateOnPopperToggle(); + } } }, { key: "render", value: function render() { - var _classNames3, - _this2 = this; + var _this$state7 = this.state, + options = _this$state7.options, + async = _this$state7.async, + open = _this$state7.open, + searchTerm = _this$state7.searchTerm, + searchInit = _this$state7.searchInit, + loading = _this$state7.loading, + searchedOptionsLength = _this$state7.searchedOptionsLength, + tempSelected = _this$state7.tempSelected, + selectAll = _this$state7.selectAll, + triggerLabel = _this$state7.triggerLabel, + previousSelected = _this$state7.previousSelected, + scrollIndex = _this$state7.scrollIndex; + var _this$props13 = this.props, + _this$props13$withSel = _this$props13.withSelectAll, + withSelectAll = _this$props13$withSel === void 0 ? true : _this$props13$withSel, + withCheckbox = _this$props13.withCheckbox; - var _this$props3 = this.props, - label = _this$props3.label, - className = _this$props3.className; - var baseProps = extractBaseProps(this.props); - var SliderClass = classnames(_defineProperty$2({}, 'Slider', true), className); - var WrapperClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Slider-wrapper', true), _defineProperty$2(_classNames3, 'Slider-wrapper--disabled', this.props.disabled), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: SliderClass - }), label && /*#__PURE__*/React.createElement(Label, { - withInput: true - }, label), /*#__PURE__*/React.createElement("div", { - className: WrapperClass - }, /*#__PURE__*/React.createElement("div", { - className: "Slider-track", - ref: function ref(_ref3) { - return _this2.trackElement = _ref3; - }, - onMouseDown: this.maybeHandleTrackClick - }, this.renderTracks()), /*#__PURE__*/React.createElement("div", { - className: "Slider-axis" - }, this.renderLabels()), this.renderHandles())); + var _this$props14 = this.props, + _this$props14$trigger = _this$props14.triggerOptions, + triggerOptions = _this$props14$trigger === void 0 ? {} : _this$props14$trigger; + _this$props14.selected; + var tabIndex = _this$props14.tabIndex, + rest = _objectWithoutProperties(_this$props14, _excluded$t); + + var remainingOptionsLen = searchedOptionsLength - options.length; + var firstEnabledOption = tabIndex ? tabIndex : _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { + return !option.disabled; + }); + return /*#__PURE__*/React.createElement(DropdownList, _extends$2({ + listOptions: options, + inputRef: inputRef, + remainingOptions: remainingOptionsLen, + firstEnabledOption: firstEnabledOption, + loadingOptions: loading, + async: async, + searchInit: searchInit, + dropdownOpen: open, + searchTerm: searchTerm, + triggerLabel: triggerLabel, + tempSelected: tempSelected, + previousSelected: previousSelected, + selected: this.state.selected, + applyOptions: this.onApplyOptions, + cancelOptions: this.onCancelOptions, + toggleDropdown: this.onToggleDropdown, + onClearOptions: this.onClearOptions, + onSelect: this.onSelect, + selectAll: selectAll, + onSearchChange: this.updateSearchTerm, + onOptionSelect: this.onOptionSelect, + onSelectAll: this.onSelectAll, + customTrigger: triggerOptions.customTrigger, + scrollIndex: scrollIndex + }, rest)); } }]); - return MultiSlider; + return Dropdown; }(React.Component); -_defineProperty$2(MultiSlider, "defaultProps", { - labelStepSize: 1, - max: 10, - min: 0, - stepSize: 1, - labelRenderer: true -}); - -_defineProperty$2(MultiSlider, "Handle", MultiSliderHandle); - -var _excluded$e = ["value", "defaultValue", "onRelease", "onChange"]; -var Slider = function Slider(props) { - var valueProp = props.value, - defaultValue = props.defaultValue, - onRelease = props.onRelease, - onChange = props.onChange, - rest = _objectWithoutProperties$1(props, _excluded$e); - - var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray(_React$useState, 2), - value = _React$useState2[0], - setValue = _React$useState2[1]; - - React.useEffect(function () { - if (valueProp !== undefined) { - setValue(valueProp); - } - }, [valueProp]); - - var onChangeHandler = function onChangeHandler(newValue) { - if (valueProp === undefined) { - setValue(newValue); - } - - if (onChange) onChange(newValue); - }; - - return /*#__PURE__*/React.createElement(MultiSlider, rest, /*#__PURE__*/React.createElement(MultiSlider.Handle, { - value: value, - onChange: onChangeHandler, - onRelease: onRelease, - fillBefore: true - })); -}; -Slider.displayName = 'Slider'; -Slider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps), {}, { - defaultValue: 0 +_defineProperty$1(Dropdown, "defaultProps", { + triggerOptions: {}, + options: [], + closeOnSelect: true, + staticLimit: 50, + searchDebounceDuration: 300 }); -var _excluded$d = ["value", "defaultValue", "onChange", "onRelease"]; -var RangeIndex; - -(function (RangeIndex) { - RangeIndex[RangeIndex["START"] = 0] = "START"; - RangeIndex[RangeIndex["END"] = 1] = "END"; -})(RangeIndex || (RangeIndex = {})); - -var RangeSlider = function RangeSlider(props) { - var valueProp = props.value, - defaultValue = props.defaultValue, - onChange = props.onChange, - onRelease = props.onRelease, - rest = _objectWithoutProperties$1(props, _excluded$d); - - var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray(_React$useState, 2), - value = _React$useState2[0], - setValue = _React$useState2[1]; - - React.useEffect(function () { - if (valueProp !== undefined) { - setValue(valueProp); - } - }, [valueProp]); - - var onChangeHandler = function onChangeHandler(range) { - if (valueProp === undefined) { - setValue(range); - } - - if (onChange) onChange(range); - }; - - return /*#__PURE__*/React.createElement(MultiSlider, _extends$3({ - onRangeChange: onChangeHandler, - onRangeRelease: onRelease - }, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { - value: value[RangeIndex.START], - fillAfter: true - }), /*#__PURE__*/React.createElement(MultiSlider.Handle, { - value: value[RangeIndex.END] - })); +var _excluded$s = ["appearance", "size", "children", "className", "color"]; +var sizeMap = { + s: 'h5', + m: 'h4', + l: 'h3', + xl: 'h2', + xxl: 'h1' }; -RangeSlider.displayName = 'RangeSlider'; -RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps), {}, { - defaultValue: [0, 10] -}); +var Heading = function Heading(props) { + var _classNames; -var _excluded$c = ["appearance", "children", "className"]; -var Subheading = function Subheading(props) { var appearance = props.appearance, + size = props.size, children = props.children, className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$c); + color = props.color, + rest = _objectWithoutProperties(props, _excluded$s); - var classes = classnames(_defineProperty$2({ - Subheading: true - }, "Subheading--".concat(appearance), appearance), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$3({ - "data-test": "DesignSystem-Subheading" + var classes = classnames((_classNames = { + Heading: true + }, _defineProperty$1(_classNames, "Heading--".concat(size), size), _defineProperty$1(_classNames, "Heading--".concat(appearance), !color && appearance), _defineProperty$1(_classNames, "color-".concat(color), color), _classNames), className); + return /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Heading" }, rest, { className: classes, - componentType: 'h4' + componentType: sizeMap[size] }), children); }; -Subheading.displayName = 'Subheading'; -Subheading.defaultProps = { - appearance: 'default' +Heading.displayName = 'Heading'; +Heading.defaultProps = { + appearance: 'default', + size: 'm' }; -var _excluded$b = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"]; +var _excluded$r = ["className", "iconVariations"]; +var ActionButton$1 = function ActionButton(props) { + var _classNames; + + var className = props.className, + iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$r); + + var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionButton', true), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); + return /*#__PURE__*/React.createElement(Icon, _extends$2({ + className: iconClass, + variations: iconVariations, + "data-test": "DesignSystem-Input-ActionButton" + }, rest)); +}; +ActionButton$1.displayName = 'ActionButton'; +ActionButton$1.defaultProps = { + size: 16, + type: 'rounded' +}; +var _excluded$q = ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly", "iconVariations"]; +var sizeMapping$2 = { + tiny: 12, + regular: 16, + large: 20 +}; /** - * ######Switch has two types: - * - [Controlled Switch](https://reactjs.org/docs/forms.html#controlled-components) - * - [Uncontrolled Switch](https://reactjs.org/docs/uncontrolled-components.html) + * ###### Input has two types: + * - [Controlled Input](https://reactjs.org/docs/forms.html#controlled-components) + * - [Uncontrolled Input](https://reactjs.org/docs/uncontrolled-components.html) */ -var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames, _classNames2; + +var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var _classNames, _classNames2, _classNames3, _classNames4; var _props$size = props.size, size = _props$size === void 0 ? 'regular' : _props$size, - defaultChecked = props.defaultChecked, - disabled = props.disabled, - onChange = props.onChange, - name = props.name, - value = props.value, - className = props.className; - props.appearance; - var checkedProp = props.checked, - rest = _objectWithoutProperties$1(props, _excluded$b); - - var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp), - _React$useState2 = _slicedToArray(_React$useState, 2), - checked = _React$useState2[0], - setChecked = _React$useState2[1]; - - React.useEffect(function () { - if (checkedProp !== undefined) setChecked(checkedProp); - }, [checkedProp]); - var SwitchClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Switch', true), _defineProperty$2(_classNames, 'Switch--disabled', disabled), _defineProperty$2(_classNames, "Switch--".concat(size), size), _classNames), className); - var SwitchWrapper = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Switch-wrapper', true), _defineProperty$2(_classNames2, 'Switch-wrapper--disabled', disabled), _defineProperty$2(_classNames2, "Switch-wrapper--".concat(size), size), _defineProperty$2(_classNames2, 'Switch-wrapper--checked', checked), _defineProperty$2(_classNames2, 'Switch-wrapper--checkedDisabled', checked && disabled), _classNames2)); - - var onChangeHandler = function onChangeHandler(event) { - if (checkedProp === undefined) setChecked(!checked); - if (onChange) onChange(event, !checked); - }; - - return /*#__PURE__*/React.createElement("div", { - className: SwitchClass - }, /*#__PURE__*/React.createElement("input", _extends$3({}, rest, { - type: "checkbox", - defaultChecked: defaultChecked, - disabled: disabled, - onChange: onChangeHandler, - checked: checked, - ref: ref, - name: name, - value: value, - className: "Switch-input" - })), /*#__PURE__*/React.createElement("span", { - className: SwitchWrapper - })); -}); -Switch.displayName = 'Switch'; - -var _excluded$a = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"]; -var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) { - var _classNames; - - var _props$rows = props.rows, - rows = _props$rows === void 0 ? 3 : _props$rows, - _props$resize = props.resize, - resize = _props$resize === void 0 ? true : _props$resize, - disabled = props.disabled, + _props$type = props.type, + type = _props$type === void 0 ? 'text' : _props$type, + _props$minWidth = props.minWidth, + minWidth = _props$minWidth === void 0 ? type !== 'number' ? 256 : undefined : _props$minWidth, + defaultValue = props.defaultValue, name = props.name, placeholder = props.placeholder, value = props.value, - defaultValue = props.defaultValue, + icon = props.icon, + inlineLabel = props.inlineLabel, required = props.required, error = props.error, + info = props.info, onChange = props.onChange, onClick = props.onClick, + onClear = props.onClear, onBlur = props.onBlur, onFocus = props.onFocus, + onPaste = props.onPaste, + actionIcon = props.actionIcon, className = props.className, - rest = _objectWithoutProperties$1(props, _excluded$a); + autoFocus = props.autoFocus, + disabled = props.disabled, + readOnly = props.readOnly, + iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$q); - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Textarea', true), _defineProperty$2(_classNames, 'Textarea--resize', resize), _defineProperty$2(_classNames, 'Textarea--error', error), _classNames), className); - return /*#__PURE__*/React.createElement("textarea", _extends$3({ - "data-test": "DesignSystem-Textarea" - }, rest, { - ref: ref, - name: name, - rows: rows, - placeholder: placeholder, - className: classes, - value: value, - defaultValue: defaultValue, - required: required, - disabled: disabled, - onChange: onChange, - onBlur: onBlur, - onClick: onClick, - onFocus: onFocus - })); -}); -Textarea.displayName = 'Textarea'; + var ref = React.useRef(null); -var ActionButton = function ActionButton(props) { - var _classNames; + var _React$useState = React.useState(!value), + _React$useState2 = _slicedToArray(_React$useState, 2), + isInputBlank = _React$useState2[0], + setIsInputBlank = _React$useState2[1]; - var appearance = props.appearance, - label = props.label, - onClick = props.onClick; - var buttonClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Button', true), _defineProperty$2(_classNames, 'Button--tiny', true), _defineProperty$2(_classNames, 'Toast-actionButton', true), _defineProperty$2(_classNames, "Toast-actionButton--".concat(appearance), appearance), _classNames)); + React.useImperativeHandle(forwardedRef, function () { + return ref.current; + }); + React.useEffect(function () { + var _ref$current; - var onClickHandler = function onClickHandler(e) { - e.preventDefault(); - if (onClick) onClick(e); - }; + if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ + preventScroll: true + }); + }, []); + var baseProps = extractBaseProps(props); + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Input', true), _defineProperty$1(_classNames, "Input--".concat(size), size), _defineProperty$1(_classNames, 'Input--disabled', disabled || readOnly), _defineProperty$1(_classNames, 'Input--error', error), _classNames), className); + var inputClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Input-input', true), _defineProperty$1(_classNames2, "Input-input--".concat(size), size), _classNames2)); + var leftIconClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Input-icon', true), _defineProperty$1(_classNames3, 'Input-icon--left', true), _defineProperty$1(_classNames3, 'Input-icon--inputBlank', isInputBlank), _defineProperty$1(_classNames3, 'Input-icon--error', error), _classNames3)); + var rightIconClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Input-icon', true), _defineProperty$1(_classNames4, 'Input-iconWrapper--right', true), _classNames4)); + var trigger = /*#__PURE__*/React.createElement("div", { + className: rightIconClass // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex + , + tabIndex: 0 + }, /*#__PURE__*/React.createElement(Icon, { + name: 'info', + size: sizeMapping$2[size], + className: "Input-icon--right" + })); + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-InputWrapper", + className: classes, + style: { + minWidth: minWidth + }, + onClick: function onClick() { + var _ref$current2; - return /*#__PURE__*/React.createElement("button", { - className: buttonClass, - onClick: onClickHandler + return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus(); + }, + role: "presentation", + onBlur: function onBlur() { + var _ref$current3; + + return setIsInputBlank(!((_ref$current3 = ref.current) !== null && _ref$current3 !== void 0 && _ref$current3.value)); + } + }, inlineLabel && /*#__PURE__*/React.createElement("div", { + className: "Input-inlineLabel" }, /*#__PURE__*/React.createElement(Text, { - appearance: "white" - }, label)); -}; + appearance: "subtle" + }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React.createElement("div", { + className: leftIconClass + }, /*#__PURE__*/React.createElement(Icon, { + name: icon, + size: sizeMapping$2[size], + variations: iconVariations + })), /*#__PURE__*/React.createElement("input", _extends$2({ + "data-test": "DesignSystem-Input" + }, baseProps, rest, { + ref: ref, + name: name, + type: type, + defaultValue: defaultValue, + placeholder: placeholder, + className: inputClass, + value: value, + required: required, + disabled: disabled, + readOnly: readOnly, + onChange: onChange, + onBlur: onBlur, + onClick: onClick, + onFocus: onFocus, + onPaste: onPaste + /** + *for readOnly: true, tab focus from input element is removed. Hence, its tabIndex is set to -1. + *For rest, "undefined" lets user agent(browser) use the default tabIndex. + */ + , + tabIndex: readOnly ? -1 : undefined + })), disabled ? '' : info ? /*#__PURE__*/React.createElement(Tooltip, { + position: "bottom", + tooltip: info + }, trigger) : actionIcon && (value || defaultValue) ? actionIcon : onClear && (value || defaultValue) && /*#__PURE__*/React.createElement("div", { + className: rightIconClass + }, /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Input--closeIcon", + onClick: function onClick(e) { + var _ref$current4; -ActionButton.displayName = 'ActionButton'; -ActionButton.defaultProps = { - appearance: 'default' + (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.focus({ + preventScroll: true + }); + onClear(e); + }, + name: 'close', + size: sizeMapping$2[size], + className: "Input-icon--right" + }))); +}); +Input.displayName = 'Input'; +Object.assign(Input, { + ActionButton: ActionButton$1 +}); + +var _excluded$p = ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown", "iconVariations"]; +var sizeMapping$1 = { + regular: 16, + large: 20 }; -var Toast = function Toast(props) { - var _classNames, _classNames2, _classNames4, _classNames5; +var capMin = function capMin() { + var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -Infinity; + var value = arguments.length > 1 ? arguments[1] : undefined; + return isNaN(min) || !min && min !== 0 || isNaN(value) || !value && value !== 0 ? value : Math.max(min, value); +}; - var appearance = props.appearance, - title = props.title, - message = props.message, - actions = props.actions, - onClose = props.onClose, - className = props.className; - var baseProps = extractBaseProps(props); - var wrapperClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Toast', true), _defineProperty$2(_classNames, 'Toast--withMessage', message), _defineProperty$2(_classNames, "Toast--".concat(appearance), appearance), _classNames), className); - var IconMapping = { - info: 'info', - success: 'check_circle', - alert: 'error', - warning: 'error' - }; - var icon = IconMapping[appearance]; - var titleClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Toast-title', true), _defineProperty$2(_classNames2, 'Toast-title--withMessage', message), _classNames2)); +var capMax = function capMax() { + var max = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : +Infinity; + var value = arguments.length > 1 ? arguments[1] : undefined; + return isNaN(max) || !max && max !== 0 || isNaN(value) || !value && value !== 0 ? value : Math.min(max, value); +}; +/** + * ###### MetricInput has two types: + * - [Controlled MetricInput](https://reactjs.org/docs/forms.html#controlled-components) + * - [Uncontrolled MetricInput](https://reactjs.org/docs/uncontrolled-components.html) + */ - var iconClass = function iconClass(align) { - var _classNames3; - return classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Toast-icon', true), _defineProperty$2(_classNames3, "Toast-icon--".concat(align), align), _defineProperty$2(_classNames3, "Toast-icon--".concat(appearance), appearance), _classNames3)); - }; +var MetricInput = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var _classNames, _classNames2, _classNames3, _classNames4, _classNames5, _classNames6; - var textClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Toast-text', true), _defineProperty$2(_classNames4, "Toast-text--".concat(appearance), appearance), _classNames4)); - var headingClass = classnames((_classNames5 = {}, _defineProperty$2(_classNames5, 'Toast-heading', true), _defineProperty$2(_classNames5, "Toast-heading--".concat(appearance), appearance), _classNames5)); + var _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + defaultValue = props.defaultValue, + name = props.name, + placeholder = props.placeholder, + icon = props.icon, + prefix = props.prefix, + suffix = props.suffix, + error = props.error, + min = props.min, + max = props.max, + onChange = props.onChange, + onClick = props.onClick, + onBlur = props.onBlur, + onFocus = props.onFocus, + className = props.className, + autoFocus = props.autoFocus, + disabled = props.disabled, + readOnly = props.readOnly, + valueProp = props.value, + _props$showActionButt = props.showActionButton, + showActionButton = _props$showActionButt === void 0 ? true : _props$showActionButt, + onKeyDown = props.onKeyDown, + iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$p); - var onCloseHandler = function onCloseHandler() { - if (onClose) onClose(); - }; + var ref = React.useRef(null); + var isUncontrolled = valueProp === undefined; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: wrapperClass - }), icon && /*#__PURE__*/React.createElement(Icon, { - name: icon, - className: iconClass('left') - }), /*#__PURE__*/React.createElement("div", { - className: "Toast-body" - }, /*#__PURE__*/React.createElement("div", { - className: titleClass - }, /*#__PURE__*/React.createElement(Heading, { - size: "s", - className: headingClass, - appearance: appearance !== 'warning' ? 'white' : 'default' - }, title), /*#__PURE__*/React.createElement(Icon, { - name: 'close', - className: iconClass('right'), - onClick: onCloseHandler, - appearance: appearance !== 'warning' ? 'white' : 'default' - })), message && /*#__PURE__*/React.createElement(Text, { - appearance: appearance !== 'warning' ? 'white' : 'default', - className: textClass - }, message), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/React.createElement("div", { - className: "Toast-actions" - }, actions.slice(0, 2).map(function (action, index) { - return /*#__PURE__*/React.createElement(ActionButton, { - key: index, - label: action.label, - appearance: appearance, - onClick: action.onClick - }); - })))); -}; -Toast.displayName = 'Toast'; -Toast.defaultProps = { - appearance: 'default' -}; + var _React$useState = React.useState(valueProp || defaultValue), + _React$useState2 = _slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; -var objectWithoutPropertiesLoose = createCommonjsModule(function (module) { -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; + React.useImperativeHandle(forwardedRef, function () { + return ref.current; + }); + React.useEffect(function () { + var _ref$current; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } + if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ + preventScroll: true + }); + }, []); + React.useEffect(function () { + if (valueProp !== undefined) { + setValue(valueProp); + } + }, [valueProp]); + var baseProps = extractBaseProps(props); + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'MetricInput', true), _defineProperty$1(_classNames, "MetricInput--".concat(size), size), _defineProperty$1(_classNames, 'MetricInput--disabled', disabled || readOnly), _defineProperty$1(_classNames, 'MetricInput--error', error), _classNames), className); + var inputClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'MetricInput-input', true), _defineProperty$1(_classNames2, "MetricInput-input--".concat(size), size), _defineProperty$1(_classNames2, "mr-4", !suffix && !showActionButton && size === 'regular'), _defineProperty$1(_classNames2, "mr-6", !suffix && !showActionButton && size === 'large'), _classNames2)); + var iconClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'MetricInput-icon', true), _defineProperty$1(_classNames3, "MetricInput-icon--".concat(size), size), _classNames3)); + var prefixClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'mr-4', size === 'regular'), _defineProperty$1(_classNames4, 'mr-5', size !== 'regular'), _classNames4)); + var suffixClass = classnames((_classNames5 = {}, _defineProperty$1(_classNames5, 'ml-4 mr-3', size === 'regular'), _defineProperty$1(_classNames5, 'mx-5', size !== 'regular'), _classNames5)); + var actionButton = classnames((_classNames6 = {}, _defineProperty$1(_classNames6, 'p-0', true), _defineProperty$1(_classNames6, "MetricInput-arrowIcon--".concat(size), size), _defineProperty$1(_classNames6, 'ml-3', true), _classNames6)); - return target; -} + var onChangeHandler = function onChangeHandler(e) { + if (isUncontrolled) { + setValue(e.target.value); + } -module.exports = _objectWithoutPropertiesLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; -}); + if (onChange) onChange(e); + }; -var _objectWithoutPropertiesLoose$1 = unwrapExports(objectWithoutPropertiesLoose); + var onArrowClick = function onArrowClick(e, direction) { + var _newValue$toString$sp; -var _extends_1 = createCommonjsModule(function (module) { -function _extends() { - module.exports = _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; + var newValue = Number(value || 0); + var decimalDigits = ((_newValue$toString$sp = newValue.toString().split('.')[1]) === null || _newValue$toString$sp === void 0 ? void 0 : _newValue$toString$sp.length) || 0; + var isValid = direction === 'down' ? min !== undefined && newValue > min || min === undefined : max !== undefined && newValue < max || max === undefined; + if (disabled || readOnly || !isValid) return; + newValue = direction === 'down' ? newValue - 1 : newValue + 1; + newValue = capMax(max, capMin(min, +newValue.toFixed(decimalDigits))); + if (isUncontrolled) setValue(newValue); - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; + if (onChange) { + var syntheticEvent = Object.create(e, { + target: { + value: { + value: newValue + } } - } + }); + onChange(syntheticEvent); } - - return target; }; - module.exports["default"] = module.exports, module.exports.__esModule = true; - return _extends.apply(this, arguments); -} - -module.exports = _extends; -module.exports["default"] = module.exports, module.exports.__esModule = true; -}); + var onKeyDownHandler = function onKeyDownHandler(e) { + switch (e.key) { + case 'e': + case 'E': + e.preventDefault(); + return; -var _extends$2 = unwrapExports(_extends_1); + case 'ArrowDown': + e.preventDefault(); + onArrowClick(e, 'down'); + return; -var setPrototypeOf = createCommonjsModule(function (module) { -function _setPrototypeOf(o, p) { - module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; + case 'ArrowUp': + e.preventDefault(); + onArrowClick(e, 'up'); + return; + } }; - module.exports["default"] = module.exports, module.exports.__esModule = true; - return _setPrototypeOf(o, p); -} + var handleKeyDown = function handleKeyDown(e) { + if (showActionButton) { + onKeyDownHandler(e); + } else e.preventDefault(); + }; -module.exports = _setPrototypeOf; -module.exports["default"] = module.exports, module.exports.__esModule = true; + var actionButtonSize = size === 'large' ? 'regular' : 'tiny'; + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-MetricInputWrapper", + className: classes, + onKeyDown: onKeyDown, + role: "presentation" + }, icon && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-MetricInput--icon", + name: icon, + variations: iconVariations, + size: sizeMapping$1[size], + appearance: !value ? 'disabled' : 'subtle', + className: iconClass + }), prefix && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-MetricInput--prefix", + className: prefixClass, + size: size, + appearance: "subtle" + }, prefix), /*#__PURE__*/React.createElement("input", _extends$2({ + "data-test": "DesignSystem-MetricInput" + }, baseProps, rest, { + type: "number", + ref: ref, + name: name, + defaultValue: defaultValue, + placeholder: placeholder, + className: inputClass, + value: value, + disabled: disabled, + readOnly: readOnly, + onChange: onChangeHandler, + onBlur: onBlur, + onClick: onClick, + onFocus: onFocus, + onKeyDown: handleKeyDown + })), suffix && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-MetricInput--suffix", + className: suffixClass, + size: size, + appearance: "subtle" + }, suffix), showActionButton && /*#__PURE__*/React.createElement("div", { + className: "MetricInput-arrowIcons" + }, /*#__PURE__*/React.createElement(Button, { + icon: "keyboard_arrow_up", + size: actionButtonSize, + className: "".concat(actionButton, " mb-2"), + onClick: function onClick(e) { + return onArrowClick(e, 'up'); + }, + "data-test": "DesignSystem-MetricInput--upIcon" + }), /*#__PURE__*/React.createElement(Button, { + icon: "keyboard_arrow_down", + size: actionButtonSize, + className: actionButton, + onClick: function onClick(e) { + return onArrowClick(e, 'down'); + }, + "data-test": "DesignSystem-MetricInput--downIcon" + }))); }); +MetricInput.displayName = 'MetricInput'; -unwrapExports(setPrototypeOf); +var isEditable = function isEditable(mask, pos) { + return _typeof(mask[pos]) === 'object'; +}; +var getDefaultValue = function getDefaultValue(mask, placeholderChar) { + var val = ''; -var inheritsLoose = createCommonjsModule(function (module) { -function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - setPrototypeOf(subClass, superClass); -} + for (var i = 0; i < mask.length; i++) { + val += isEditable(mask, i) ? placeholderChar : mask[i]; + } -module.exports = _inheritsLoose; -module.exports["default"] = module.exports, module.exports.__esModule = true; -}); + return val; +}; -var _inheritsLoose = unwrapExports(inheritsLoose); +var _excluded$o = ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"]; -var assertThisInitialized = createCommonjsModule(function (module) { -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } +/** + * It works as Uncontrolled Input + * + * **Updated value can be passed** + */ +var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) { + props.mask; + var valueProp = props.value, + _props$placeholderCha = props.placeholderChar, + placeholderChar = _props$placeholderCha === void 0 ? '_' : _props$placeholderCha, + _props$validators = props.validators, + validators = _props$validators === void 0 ? [] : _props$validators, + _props$clearOnEmptyBl = props.clearOnEmptyBlur, + clearOnEmptyBlur = _props$clearOnEmptyBl === void 0 ? true : _props$clearOnEmptyBl, + defaultValue = props.defaultValue, + mask = props.mask, + error = props.error, + caption = props.caption, + required = props.required, + onChange = props.onChange, + onPaste = props.onPaste, + onBlur = props.onBlur, + onFocus = props.onFocus, + onClear = props.onClear, + className = props.className, + id = props.id, + helpText = props.helpText, + rest = _objectWithoutProperties(props, _excluded$o); - return self; -} + var isEditable = React.useCallback(function (pos) { + return _typeof(mask[pos]) === 'object'; + }, [mask]); + var getNewCursorPosition = React.useCallback(function (type, position) { + if (type === 'right') { + for (var i = position; i < mask.length; i++) { + if (isEditable(i)) return i; + } -module.exports = _assertThisInitialized; -module.exports["default"] = module.exports, module.exports.__esModule = true; -}); + return mask.length; + } -var _assertThisInitialized$1 = unwrapExports(assertThisInitialized); + if (type === 'left') { + for (var _i = position; _i >= 0; _i--) { + if (isEditable(_i - 1)) return _i; + } -var defineProperty$3 = createCommonjsModule(function (module) { -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true + return 0; + } + + return position; + }, [mask, isEditable]); + var getDefaultSelection = React.useCallback(function () { + var pos = getNewCursorPosition('right', 0); + return { + start: pos, + end: pos + }; + }, [getNewCursorPosition]); + var getPlaceholderValue = React.useCallback(function () { + var start = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; + var end = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : mask.length - 1; + return getDefaultValue(mask, placeholderChar).slice(start, end + 1); + }, [mask, placeholderChar]); + var defaultPlaceholderValue = React.useMemo(function () { + return getPlaceholderValue(); + }, [getPlaceholderValue]); + var defaultSelection = React.useMemo(function () { + return getDefaultSelection(); + }, [getDefaultSelection]); + var ref = React.useRef(null); + var deferId = React.useRef(); + var selectionPos = React.useRef(defaultSelection); + var newSelectionPos = React.useRef(0); + + var _React$useState = React.useState(defaultValue || valueProp || ''), + _React$useState2 = _slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + + React.useImperativeHandle(forwardRef, function () { + return ref.current; + }); + React.useEffect(function () { + setValue(valueProp || ''); + }, [valueProp]); + React.useEffect(function () { + setCursorPosition(newSelectionPos.current); + }, [value]); + var getSelectionLength = React.useCallback(function (val) { + return Math.abs(val.end - val.start); + }, []); + var getCurrSelection = React.useCallback(function () { + var _ref$current, _ref$current2; + + return { + start: ((_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.selectionStart) || 0, + end: ((_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.selectionEnd) || 0 + }; + }, [ref.current]); + var setSelectionPos = React.useCallback(function (pos) { + if (ref.current) { + var el = ref.current; + var start = Math.min(pos.start, pos.end); + var end = Math.max(pos.start, pos.end); + el.setSelectionRange(start, end); + } + }, [ref.current]); + var setCursorPosition = React.useCallback(function (val) { + return setSelectionPos({ + start: val, + end: val }); - } else { - obj[key] = value; - } + }, [setSelectionPos]); + var insertAtIndex = React.useCallback(function (currValue, index) { + var iterator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + var newValue = ''; + var newIndex = index + 1; + var newIterator = iterator; - return obj; -} + if (index >= mask.length) { + return newValue; + } -module.exports = _defineProperty; -module.exports["default"] = module.exports, module.exports.__esModule = true; -}); + if (iterator >= currValue.length) { + selectionPos.current = { + start: index, + end: index + }; + return newValue; + } -var _defineProperty$1 = unwrapExports(defineProperty$3); + var m = mask[index]; -var toStr$4 = Object.prototype.toString; + if (isEditable(index)) { + if (currValue[iterator].match(m)) { + newValue += currValue[iterator]; + } else { + newValue += placeholderChar; + } -var isArguments$1 = function isArguments(value) { - var str = toStr$4.call(value); - var isArgs = str === '[object Arguments]'; - if (!isArgs) { - isArgs = str !== '[object Array]' && - value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - toStr$4.call(value.callee) === '[object Function]'; - } - return isArgs; -}; + newIterator++; + } else { + newValue += m; + } -var keysShim$1; -if (!Object.keys) { - // modified from https://github.com/es-shims/es5-shim - var has$1 = Object.prototype.hasOwnProperty; - var toStr$3 = Object.prototype.toString; - var isArgs = isArguments$1; // eslint-disable-line global-require - var isEnumerable = Object.prototype.propertyIsEnumerable; - var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); - var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); - var dontEnums = [ - 'toString', - 'toLocaleString', - 'valueOf', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'constructor' - ]; - var equalsConstructorPrototype = function (o) { - var ctor = o.constructor; - return ctor && ctor.prototype === o; - }; - var excludedKeys = { - $applicationCache: true, - $console: true, - $external: true, - $frame: true, - $frameElement: true, - $frames: true, - $innerHeight: true, - $innerWidth: true, - $onmozfullscreenchange: true, - $onmozfullscreenerror: true, - $outerHeight: true, - $outerWidth: true, - $pageXOffset: true, - $pageYOffset: true, - $parent: true, - $scrollLeft: true, - $scrollTop: true, - $scrollX: true, - $scrollY: true, - $self: true, - $webkitIndexedDB: true, - $webkitStorageInfo: true, - $window: true - }; - var hasAutomationEqualityBug = (function () { - /* global window */ - if (typeof window === 'undefined') { return false; } - for (var k in window) { - try { - if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') { - try { - equalsConstructorPrototype(window[k]); - } catch (e) { - return true; - } - } - } catch (e) { - return true; - } - } - return false; - }()); - var equalsConstructorPrototypeIfNotBuggy = function (o) { - /* global window */ - if (typeof window === 'undefined' || !hasAutomationEqualityBug) { - return equalsConstructorPrototype(o); - } - try { - return equalsConstructorPrototype(o); - } catch (e) { - return false; - } - }; - - keysShim$1 = function keys(object) { - var isObject = object !== null && typeof object === 'object'; - var isFunction = toStr$3.call(object) === '[object Function]'; - var isArguments = isArgs(object); - var isString = isObject && toStr$3.call(object) === '[object String]'; - var theKeys = []; - - if (!isObject && !isFunction && !isArguments) { - throw new TypeError('Object.keys called on a non-object'); - } - - var skipProto = hasProtoEnumBug && isFunction; - if (isString && object.length > 0 && !has$1.call(object, 0)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)); - } - } - - if (isArguments && object.length > 0) { - for (var j = 0; j < object.length; ++j) { - theKeys.push(String(j)); - } - } else { - for (var name in object) { - if (!(skipProto && name === 'prototype') && has$1.call(object, name)) { - theKeys.push(String(name)); - } - } - } - - if (hasDontEnumBug) { - var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - - for (var k = 0; k < dontEnums.length; ++k) { - if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) { - theKeys.push(dontEnums[k]); - } - } - } - return theKeys; - }; -} -var implementation$4 = keysShim$1; - -var slice$1 = Array.prototype.slice; + newValue += insertAtIndex(currValue, newIndex, newIterator); + return newValue; + }, [mask, placeholderChar, isEditable]); + var updateSelection = React.useCallback(function () { + selectionPos.current = getCurrSelection(); + deferId.current = window.requestAnimationFrame(updateSelection); + }, [selectionPos.current, getCurrSelection]); + var matchSeparatorValue = function matchSeparatorValue(currValue) { + var separator = props.placeholder || 'dd/mm/yyyy'; -var origKeys = Object.keys; -var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$4; + if (separator.substring(0, 4) === 'yyyy') { + return currValue && currValue[4] === separator[4] && currValue[7] === separator[7]; + } -var originalKeys = Object.keys; + return currValue && currValue[2] === separator[2] && currValue[5] === separator[5]; + }; -keysShim.shim = function shimObjectKeys() { - if (Object.keys) { - var keysWorksWithArguments = (function () { - // Safari 5.0 bug - var args = Object.keys(arguments); - return args && args.length === arguments.length; - }(1, 2)); - if (!keysWorksWithArguments) { - Object.keys = function keys(object) { // eslint-disable-line func-name-matching - if (isArguments$1(object)) { - return originalKeys(slice$1.call(object)); - } - return originalKeys(object); - }; - } - } else { - Object.keys = keysShim; - } - return Object.keys || keysShim; -}; + var isSameFormat = function isSameFormat(currValue, inputLength) { + var value = currValue.substring(0, inputLength); -var objectKeys = keysShim; + if (inputLength === 23) { + var date = value.split(' - '); + var startVal = date[0]; + var endVal = date[1]; + return matchSeparatorValue(startVal) && matchSeparatorValue(endVal); + } -/* eslint complexity: [2, 18], max-statements: [2, 33] */ -var shams = function hasSymbols() { - if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } - if (typeof Symbol.iterator === 'symbol') { return true; } + return matchSeparatorValue(value); + }; - var obj = {}; - var sym = Symbol('test'); - var symObj = Object(sym); - if (typeof sym === 'string') { return false; } + var onPasteHandler = function onPasteHandler(e) { + var _e$clipboardData; - if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } - if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + e.preventDefault(); + var pastedValue = (_e$clipboardData = e.clipboardData) === null || _e$clipboardData === void 0 ? void 0 : _e$clipboardData.getData('Text'); + var sameFormat = isSameFormat(pastedValue, pastedValue.length); + var isValidDate = isValid(validators, pastedValue); - // temp disabled per https://github.com/ljharb/object.assign/issues/17 - // if (sym instanceof Symbol) { return false; } - // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 - // if (!(symObj instanceof Symbol)) { return false; } + if (sameFormat && onPaste && isValidDate) { + onPaste(e, pastedValue); + setValue(pastedValue); + } + }; - // if (typeof Symbol.prototype.toString !== 'function') { return false; } - // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + var onChangeHandler = React.useCallback(function (e) { + var _e$currentTarget; - var symVal = 42; - obj[sym] = symVal; - for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop - if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + var inputVal = (_e$currentTarget = e.currentTarget) === null || _e$currentTarget === void 0 ? void 0 : _e$currentTarget.value; + var currSelection = getCurrSelection(); + var start = Math.min(selectionPos.current.start, currSelection.start); + var end = currSelection.end; + var cursorPosition = start; + var enteredVal = ''; + var updatedVal = ''; + var removedLength = 0; + var insertedStringLength = 0; + enteredVal = inputVal.slice(start, end); + updatedVal = insertAtIndex(enteredVal, start); + var oldValue = value; - if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + if (oldValue.length === 0 && (id === 'parent-TimePicker' || id === 'parent-DatePicker')) { + oldValue = defaultPlaceholderValue; + } - var syms = Object.getOwnPropertySymbols(obj); - if (syms.length !== 1 || syms[0] !== sym) { return false; } + insertedStringLength = updatedVal.length; - if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + if (currSelection.end > selectionPos.current.end) { + removedLength = insertedStringLength ? getSelectionLength(selectionPos.current) : 0; + } else if (inputVal.length < oldValue.length) { + removedLength = oldValue.length - inputVal.length; + } - if (typeof Object.getOwnPropertyDescriptor === 'function') { - var descriptor = Object.getOwnPropertyDescriptor(obj, sym); - if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } - } + var maskedVal = oldValue.split(''); - return true; -}; + for (var i = 0; i < insertedStringLength; i++) { + maskedVal[start + i] = updatedVal[i]; + } -var origSymbol = typeof Symbol !== 'undefined' && Symbol; + for (var _i2 = 0; _i2 < removedLength; _i2++) { + var index$1 = start + insertedStringLength + _i2; + maskedVal[index$1] = getPlaceholderValue(index$1, index$1); + } + var enteredValue = maskedVal.slice(0, mask.length).join(''); -var hasSymbols$3 = function hasNativeSymbols() { - if (typeof origSymbol !== 'function') { return false; } - if (typeof Symbol !== 'function') { return false; } - if (typeof origSymbol('foo') !== 'symbol') { return false; } - if (typeof Symbol('bar') !== 'symbol') { return false; } + if (updatedVal !== placeholderChar && updatedVal !== '' && !updatedVal.includes(placeholderChar) && isValid(validators, enteredValue)) { + cursorPosition += insertedStringLength; + } - return shams(); -}; + var newCursorPosition = getNewCursorPosition(removedLength ? 'left' : 'right', cursorPosition); -/* eslint no-invalid-this: 1 */ + if (removedLength === 1 && !updatedVal.length && !isEditable(cursorPosition) && newCursorPosition > 0) { + cursorPosition = newCursorPosition; + cursorPosition--; + maskedVal[cursorPosition] = placeholderChar; + } else if (removedLength !== 1) { + cursorPosition = newCursorPosition; + } -var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; -var slice = Array.prototype.slice; -var toStr$2 = Object.prototype.toString; -var funcType = '[object Function]'; + var newValue = maskedVal.slice(0, mask.length).join(''); + newSelectionPos.current = cursorPosition; -var implementation$3 = function bind(that) { - var target = this; - if (typeof target !== 'function' || toStr$2.call(target) !== funcType) { - throw new TypeError(ERROR_MESSAGE + target); + if (newValue !== oldValue && isValid(validators, newValue)) { + if (defaultPlaceholderValue === '__:__ _M') { + setValue(newValue.toUpperCase()); + onChange === null || onChange === void 0 ? void 0 : onChange(e, newValue.toUpperCase()); + } else { + setValue(newValue); + onChange === null || onChange === void 0 ? void 0 : onChange(e, newValue); + } + } else { + window.requestAnimationFrame(function () { + return setCursorPosition(newSelectionPos.current); + }); } - var args = slice.call(arguments, 1); - - var bound; - var binder = function () { - if (this instanceof bound) { - var result = target.apply( - this, - args.concat(slice.call(arguments)) - ); - if (Object(result) === result) { - return result; - } - return this; - } else { - return target.apply( - that, - args.concat(slice.call(arguments)) - ); - } - }; + }, [selectionPos.current, validators, getCurrSelection, insertAtIndex, getSelectionLength, getPlaceholderValue, getNewCursorPosition, isEditable, setCursorPosition, setValue, onChange]); + var onBlurHandler = React.useCallback(function (e) { + var inputVal = e.currentTarget.value; - var boundLength = Math.max(0, target.length - args.length); - var boundArgs = []; - for (var i = 0; i < boundLength; i++) { - boundArgs.push('$' + i); + if (clearOnEmptyBlur) { + if (inputVal === defaultPlaceholderValue) { + setValue(''); + inputVal = ''; + } } - bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(e, inputVal); + if (deferId.current) window.cancelAnimationFrame(deferId.current); + }, [clearOnEmptyBlur, deferId.current, getPlaceholderValue, setValue, onBlur]); + var onClearHandler = React.useCallback(function (e) { + newSelectionPos.current = defaultSelection.start; + setValue(defaultPlaceholderValue); + onClear === null || onClear === void 0 ? void 0 : onClear(e); + }, [setValue, getPlaceholderValue, setCursorPosition, getDefaultSelection, onClear]); + var onFocusHandler = React.useCallback(function (e) { + deferId.current = window.requestAnimationFrame(updateSelection); - if (target.prototype) { - var Empty = function Empty() {}; - Empty.prototype = target.prototype; - bound.prototype = new Empty(); - Empty.prototype = null; + if (!value) { + newSelectionPos.current = defaultSelection.start; + setValue(getPlaceholderValue()); } - return bound; -}; + onFocus === null || onFocus === void 0 ? void 0 : onFocus(e); + }, [deferId.current, value, updateSelection, setValue, setSelectionPos, onFocus]); + var classes = React.useMemo(function () { + return classnames({ + 'd-flex flex-column flex-grow-1': true + }, className); + }, [className]); + var isValueEqualPlaceholder = value === defaultPlaceholderValue; + return /*#__PURE__*/React.createElement("div", { + className: classes, + "data-test": "DesignSystem-InputMask--Wrapper" + }, /*#__PURE__*/React.createElement(Input, _extends$2({}, rest, { + value: value, + error: error, + required: required, + onFocus: onFocusHandler, + onChange: onChangeHandler + /** + * input right cross icon should be visible only + * when user provides value + */ + , + onClear: !isValueEqualPlaceholder ? onClearHandler : undefined, + onBlur: onBlurHandler, + onPaste: onPasteHandler, + autoComplete: 'off', + ref: ref + })), /*#__PURE__*/React.createElement(HelpText, { + message: error ? caption : helpText, + error: error + })); +}); +InputMask.displayName = 'InputMask'; // we are adding a new property which is not present in default interface +// we could have explicitly added the interface above with definition +// but then it would force us to marks utils as optional +// as we cannot add new properties by defining the InputMask +// that would cause user to use `!` everywhere or check for utils -var functionBind = Function.prototype.bind || implementation$3; +InputMask.utils = { + getDefaultValue: getDefaultValue +}; +var X = InputMask; -var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty); +var _excluded$n = ["required", "optional", "withInput", "disabled", "children", "className", "info"]; -var undefined$1; +/** + * *NOTE: Extends props with HTMLProps* + */ +var Label = function Label(props) { + var _classNames; -var $SyntaxError = SyntaxError; -var $Function = Function; -var $TypeError$2 = TypeError; + var required = props.required, + optional = props.optional, + withInput = props.withInput, + disabled = props.disabled, + children = props.children, + className = props.className, + info = props.info, + rest = _objectWithoutProperties(props, _excluded$n); -// eslint-disable-next-line consistent-return -var getEvalledConstructor = function (expressionSyntax) { - try { - return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); - } catch (e) {} -}; + var baseProps = extractBaseProps(props); + var LabelClass = classnames((_classNames = { + Label: true + }, _defineProperty$1(_classNames, 'Label--withInput', withInput), _defineProperty$1(_classNames, 'Label--optional', optional), _classNames), className); + var classes = classnames({ + 'Label-text': true, + 'Label--disabled': disabled + }); -var $gOPD$1 = Object.getOwnPropertyDescriptor; -if ($gOPD$1) { - try { - $gOPD$1({}, ''); - } catch (e) { - $gOPD$1 = null; // this is IE 8, which has a broken gOPD - } -} + var renderInfo = function renderInfo() { + var isRequired = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var isOptional = arguments.length > 1 ? arguments[1] : undefined; -var throwTypeError = function () { - throw new $TypeError$2(); -}; -var ThrowTypeError = $gOPD$1 - ? (function () { - try { - // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties - arguments.callee; // IE 8 does not throw here - return throwTypeError; - } catch (calleeThrows) { - try { - // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') - return $gOPD$1(arguments, 'callee').get; - } catch (gOPDthrows) { - return throwTypeError; - } - } - }()) - : throwTypeError; + if (isRequired) { + return /*#__PURE__*/React.createElement("span", { + className: "Label-requiredIndicator", + "data-test": "DesignSystem-Label--RequiredIndicator" + }); + } -var hasSymbols$2 = hasSymbols$3(); + if (isOptional) { + return /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-Label--OptionalText", + appearance: "subtle", + className: "Label-optionalText" + }, "(optional)"); + } -var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + return null; + }; -var needsEval = {}; + var renderIndicator = function renderIndicator(info) { + return /*#__PURE__*/React.createElement(Tooltip, { + tooltip: info + }, /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Label--Info", + name: "info", + size: 12, + appearance: "subtle", + className: "ml-3 cursor-pointer d-flex align-items-center" + })); + }; -var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto$1(Uint8Array); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Label" + }, baseProps, { + className: LabelClass + }), /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Label--Text", + className: classes, + componentType: "label" + }, rest), children, renderInfo(required, optional), info && renderIndicator(info))); +}; +Label.displayName = 'Label'; -var INTRINSICS = { - '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError, - '%Array%': Array, - '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer, - '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto$1([][Symbol.iterator]()) : undefined$1, - '%AsyncFromSyncIteratorPrototype%': undefined$1, - '%AsyncFunction%': needsEval, - '%AsyncGenerator%': needsEval, - '%AsyncGeneratorFunction%': needsEval, - '%AsyncIteratorPrototype%': needsEval, - '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics, - '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt, - '%Boolean%': Boolean, - '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView, - '%Date%': Date, - '%decodeURI%': decodeURI, - '%decodeURIComponent%': decodeURIComponent, - '%encodeURI%': encodeURI, - '%encodeURIComponent%': encodeURIComponent, - '%Error%': Error, - '%eval%': eval, // eslint-disable-line no-eval - '%EvalError%': EvalError, - '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array, - '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array, - '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry, - '%Function%': $Function, - '%GeneratorFunction%': needsEval, - '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array, - '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array, - '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array, - '%isFinite%': isFinite, - '%isNaN%': isNaN, - '%IteratorPrototype%': hasSymbols$2 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1, - '%JSON%': typeof JSON === 'object' ? JSON : undefined$1, - '%Map%': typeof Map === 'undefined' ? undefined$1 : Map, - '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()), - '%Math%': Math, - '%Number%': Number, - '%Object%': Object, - '%parseFloat%': parseFloat, - '%parseInt%': parseInt, - '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise, - '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy, - '%RangeError%': RangeError, - '%ReferenceError%': ReferenceError, - '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect, - '%RegExp%': RegExp, - '%Set%': typeof Set === 'undefined' ? undefined$1 : Set, - '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()), - '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer, - '%String%': String, - '%StringIteratorPrototype%': hasSymbols$2 ? getProto$1(''[Symbol.iterator]()) : undefined$1, - '%Symbol%': hasSymbols$2 ? Symbol : undefined$1, - '%SyntaxError%': $SyntaxError, - '%ThrowTypeError%': ThrowTypeError, - '%TypedArray%': TypedArray, - '%TypeError%': $TypeError$2, - '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array, - '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray, - '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array, - '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array, - '%URIError%': URIError, - '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap, - '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef, - '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet +var Caption = function Caption(props) { + var _classNames; + + var error = props.error, + hide = props.hide, + withInput = props.withInput, + children = props.children, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classnames((_classNames = { + Caption: true + }, _defineProperty$1(_classNames, 'Caption--hidden', hide), _defineProperty$1(_classNames, 'Caption--withInput', withInput), _classNames), className); + var errorIconClass = classnames(_defineProperty$1({}, 'Caption-icon', true)); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: classes, + "data-test": "DesignSystem-Caption" + }), error && /*#__PURE__*/React.createElement("div", { + className: errorIconClass + }, /*#__PURE__*/React.createElement(Icon, { + size: 14, + name: 'error', + appearance: 'alert' + })), /*#__PURE__*/React.createElement(Text, { + appearance: error ? 'destructive' : 'subtle', + size: "small", + weight: "medium" + }, "".concat(children))); }; +Caption.displayName = 'Caption'; -var doEval = function doEval(name) { - var value; - if (name === '%AsyncFunction%') { - value = getEvalledConstructor('async function () {}'); - } else if (name === '%GeneratorFunction%') { - value = getEvalledConstructor('function* () {}'); - } else if (name === '%AsyncGeneratorFunction%') { - value = getEvalledConstructor('async function* () {}'); - } else if (name === '%AsyncGenerator%') { - var fn = doEval('%AsyncGeneratorFunction%'); - if (fn) { - value = fn.prototype; - } - } else if (name === '%AsyncIteratorPrototype%') { - var gen = doEval('%AsyncGenerator%'); - if (gen) { - value = getProto$1(gen.prototype); - } - } +var Legend = function Legend(props) { + var iconAppearance = props.iconAppearance, + iconSize = props.iconSize, + labelAppearance = props.labelAppearance, + children = props.children, + labelWeight = props.labelWeight, + _onMouseEnter = props.onMouseEnter, + _onMouseLeave = props.onMouseLeave, + _onClick = props.onClick, + className = props.className; + var baseProps = extractBaseProps(props); + var legendClass = classnames(_defineProperty$1({}, 'Legend', true), className); + var styles = { + background: "var(--".concat(iconAppearance, ")"), + height: "".concat(iconSize, "px"), + width: "".concat(iconSize, "px") + }; // TODO(a11y): fix accessibility - INTRINSICS[name] = value; + /* eslint-disable */ - return value; + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: legendClass, + onClick: function onClick(e) { + return _onClick && _onClick(e); + }, + onMouseEnter: function onMouseEnter(e) { + return _onMouseEnter && _onMouseEnter(e); + }, + onMouseLeave: function onMouseLeave(e) { + return _onMouseLeave && _onMouseLeave(e); + } + }), /*#__PURE__*/React.createElement("span", { + className: "Legend-icon", + style: styles + }), /*#__PURE__*/React.createElement(Text, { + appearance: labelAppearance, + weight: labelWeight + }, children)); +}; +Legend.displayName = 'Legend'; +Legend.defaultProps = { + iconAppearance: 'inverse', + iconSize: 16 }; -var LEGACY_ALIASES = { - '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], - '%ArrayPrototype%': ['Array', 'prototype'], - '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], - '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], - '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], - '%ArrayProto_values%': ['Array', 'prototype', 'values'], - '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], - '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], - '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], - '%BooleanPrototype%': ['Boolean', 'prototype'], - '%DataViewPrototype%': ['DataView', 'prototype'], - '%DatePrototype%': ['Date', 'prototype'], - '%ErrorPrototype%': ['Error', 'prototype'], - '%EvalErrorPrototype%': ['EvalError', 'prototype'], - '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], - '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], - '%FunctionPrototype%': ['Function', 'prototype'], - '%Generator%': ['GeneratorFunction', 'prototype'], - '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], - '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], - '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], - '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], - '%JSONParse%': ['JSON', 'parse'], - '%JSONStringify%': ['JSON', 'stringify'], - '%MapPrototype%': ['Map', 'prototype'], - '%NumberPrototype%': ['Number', 'prototype'], - '%ObjectPrototype%': ['Object', 'prototype'], - '%ObjProto_toString%': ['Object', 'prototype', 'toString'], - '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], - '%PromisePrototype%': ['Promise', 'prototype'], - '%PromiseProto_then%': ['Promise', 'prototype', 'then'], - '%Promise_all%': ['Promise', 'all'], - '%Promise_reject%': ['Promise', 'reject'], - '%Promise_resolve%': ['Promise', 'resolve'], - '%RangeErrorPrototype%': ['RangeError', 'prototype'], - '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], - '%RegExpPrototype%': ['RegExp', 'prototype'], - '%SetPrototype%': ['Set', 'prototype'], - '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], - '%StringPrototype%': ['String', 'prototype'], - '%SymbolPrototype%': ['Symbol', 'prototype'], - '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], - '%TypedArrayPrototype%': ['TypedArray', 'prototype'], - '%TypeErrorPrototype%': ['TypeError', 'prototype'], - '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], - '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], - '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], - '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], - '%URIErrorPrototype%': ['URIError', 'prototype'], - '%WeakMapPrototype%': ['WeakMap', 'prototype'], - '%WeakSetPrototype%': ['WeakSet', 'prototype'] +var Editable = function Editable(props) { + var className = props.className, + onChange = props.onChange, + editing = props.editing, + children = props.children; + var baseProps = extractBaseProps(props); + var EditableClass = classnames(_defineProperty$1({}, 'Editable', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Editable" + }, baseProps, { + className: EditableClass + }), /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-EditableWrapper", + onClick: function onClick() { + return onChange('edit'); + }, + onMouseEnter: function onMouseEnter() { + return !editing && onChange('hover'); + }, + onMouseLeave: function onMouseLeave() { + return !editing && onChange('default'); + } + }, children)); }; +Editable.displayName = 'Editable'; +var _excluded$m = ["onChange", "onClose"]; +var EditableDropdown = function EditableDropdown(props) { + var _classNames2; + var placeholder = props.placeholder, + dropdownOptions = props.dropdownOptions, + className = props.className, + customTriggerRenderer = props.customTriggerRenderer; -var $concat = functionBind.call(Function.call, Array.prototype.concat); -var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice); -var $replace = functionBind.call(Function.call, String.prototype.replace); -var $strSlice = functionBind.call(Function.call, String.prototype.slice); - -/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ -var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; -var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ -var stringToPath = function stringToPath(string) { - var first = $strSlice(string, 0, 1); - var last = $strSlice(string, -1); - if (first === '%' && last !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); - } else if (last === '%' && first !== '%') { - throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); - } - var result = []; - $replace(string, rePropName, function (match, number, quote, subString) { - result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; - }); - return result; -}; -/* end adaptation */ - -var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { - var intrinsicName = name; - var alias; - if (src(LEGACY_ALIASES, intrinsicName)) { - alias = LEGACY_ALIASES[intrinsicName]; - intrinsicName = '%' + alias[0] + '%'; - } + var onDropdownChange = dropdownOptions.onChange, + onDropdownClose = dropdownOptions.onClose, + rest = _objectWithoutProperties(dropdownOptions, _excluded$m); - if (src(INTRINSICS, intrinsicName)) { - var value = INTRINSICS[intrinsicName]; - if (value === needsEval) { - value = doEval(intrinsicName); - } - if (typeof value === 'undefined' && !allowMissing) { - throw new $TypeError$2('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); - } + var _React$useState = React.useState(placeholder), + _React$useState2 = _slicedToArray(_React$useState, 2), + label = _React$useState2[0], + setLabel = _React$useState2[1]; - return { - alias: alias, - name: intrinsicName, - value: value - }; - } + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray(_React$useState3, 2), + editing = _React$useState4[0], + setEditing = _React$useState4[1]; - throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); -}; + var _React$useState5 = React.useState(false), + _React$useState6 = _slicedToArray(_React$useState5, 2), + showComponent = _React$useState6[0], + setShowComponent = _React$useState6[1]; -var getIntrinsic = function GetIntrinsic(name, allowMissing) { - if (typeof name !== 'string' || name.length === 0) { - throw new $TypeError$2('intrinsic name must be a non-empty string'); - } - if (arguments.length > 1 && typeof allowMissing !== 'boolean') { - throw new $TypeError$2('"allowMissing" argument must be a boolean'); - } + var CompClass = classnames(_defineProperty$1({}, 'EditableDropdown', true), className); + var DefaultCompClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'EditableDropdown-default', true), _defineProperty$1(_classNames2, 'd-none', showComponent), _classNames2)); + var EditableDropdownClass = classnames(_defineProperty$1({}, 'd-none', !showComponent)); + var baseProps = extractBaseProps(props); - var parts = stringToPath(name); - var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + var getLabel = function getLabel(updatedLabel) { + setLabel(updatedLabel); + }; - var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); - var intrinsicRealName = intrinsic.name; - var value = intrinsic.value; - var skipFurtherCaching = false; + var onChangeHandler = function onChangeHandler(eventType) { + switch (eventType) { + case 'edit': + setEditing(true); + break; - var alias = intrinsic.alias; - if (alias) { - intrinsicBaseName = alias[0]; - $spliceApply(parts, $concat([0, 1], alias)); - } + case 'hover': + setShowComponent(true); + break; - for (var i = 1, isOwn = true; i < parts.length; i += 1) { - var part = parts[i]; - var first = $strSlice(part, 0, 1); - var last = $strSlice(part, -1); - if ( - ( - (first === '"' || first === "'" || first === '`') - || (last === '"' || last === "'" || last === '`') - ) - && first !== last - ) { - throw new $SyntaxError('property names with quotes must have matching quotes'); - } - if (part === 'constructor' || !isOwn) { - skipFurtherCaching = true; - } + case 'default': + setShowComponent(false); + } + }; - intrinsicBaseName += '.' + part; - intrinsicRealName = '%' + intrinsicBaseName + '%'; + var onChange = function onChange(value) { + setEditing(false); + setShowComponent(false); + if (onDropdownChange) onDropdownChange(value); + }; - if (src(INTRINSICS, intrinsicRealName)) { - value = INTRINSICS[intrinsicRealName]; - } else if (value != null) { - if (!(part in value)) { - if (!allowMissing) { - throw new $TypeError$2('base intrinsic for ' + name + ' exists, but the property is not available.'); - } - return void undefined$1; - } - if ($gOPD$1 && (i + 1) >= parts.length) { - var desc = $gOPD$1(value, part); - isOwn = !!desc; + var onClose = function onClose(selected) { + setEditing(false); + setShowComponent(false); + if (onDropdownClose) onDropdownClose(selected); + }; - // By convention, when a data property is converted to an accessor - // property to emulate a data property that does not suffer from - // the override mistake, that accessor's getter is marked with - // an `originalValue` property. Here, when we detect this, we - // uphold the illusion by pretending to see that original data - // property, i.e., returning the value rather than the getter - // itself. - if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { - value = desc.get; - } else { - value = value[part]; - } - } else { - isOwn = src(value, part); - value = value[part]; - } + var renderComponent = function renderComponent(componentLabel) { + if (customTriggerRenderer) return customTriggerRenderer(componentLabel); + return componentLabel; + }; - if (isOwn && !skipFurtherCaching) { - INTRINSICS[intrinsicRealName] = value; - } - } - } - return value; + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-EditableDropdown" + }, baseProps, { + className: CompClass + }), /*#__PURE__*/React.createElement(Editable, { + onChange: onChangeHandler, + editing: editing + }, /*#__PURE__*/React.createElement(Dropdown, _extends$2({ + placeholder: placeholder, + onChange: onChange, + getLabel: getLabel, + onClose: onClose, + className: EditableDropdownClass, + "data-test": "DesignSystem-EditableDropdown--Dropdown" + }, rest)), /*#__PURE__*/React.createElement("div", { + className: DefaultCompClass, + "data-test": "DesignSystem-EditableDropdown--Default" + }, renderComponent(label || placeholder)))); +}; +EditableDropdown.defaultProps = { + placeholder: '', + dropdownOptions: {} }; -var callBind = createCommonjsModule(function (module) { - +var _excluded$l = ["children", "className", "appearance", "size", "disabled"]; +var Link = function Link(props) { + var _classNames; + var children = props.children, + className = props.className, + appearance = props.appearance, + size = props.size, + disabled = props.disabled, + rest = _objectWithoutProperties(props, _excluded$l); + var classes = classnames((_classNames = { + Link: true + }, _defineProperty$1(_classNames, "Link--".concat(size), size), _defineProperty$1(_classNames, "Link--".concat(appearance), appearance), _defineProperty$1(_classNames, "Link--".concat(appearance, "-disabled"), disabled), _classNames), className); + return /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Link", + className: classes, + componentType: "a", + tabIndex: disabled ? -1 : 0 + }, rest), children); +}; +Link.displayName = 'Link'; +Link.defaultProps = { + appearance: 'default', + size: 'regular', + disabled: false +}; -var $apply = getIntrinsic('%Function.prototype.apply%'); -var $call = getIntrinsic('%Function.prototype.call%'); -var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply); +var IconMapping$2 = { + success: 'check_circle', + info: 'info', + warning: 'warning', + alert: 'error' +}; +var Message = function Message(props) { + var _classNames, _classNames2, _classNames3, _classNames4; -var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true); -var $defineProperty = getIntrinsic('%Object.defineProperty%', true); -var $max = getIntrinsic('%Math.max%'); + var actions = props.actions, + title = props.title, + className = props.className; + var appearance = props.appearance; + appearance = appearance === 'default' ? 'info' : appearance; + var baseProps = extractBaseProps(props); + var MessageClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Message', true), _defineProperty$1(_classNames, "Message--".concat(appearance), appearance), _classNames), className); + var IconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Message-icon', true), _defineProperty$1(_classNames2, "Message-icon--".concat(appearance), appearance), _defineProperty$1(_classNames2, 'Message-icon--withTitle', title), _classNames2)); + var TitleClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Message-heading', true), _defineProperty$1(_classNames3, "Message-heading--".concat(appearance), appearance), _classNames3)); + var DescriptionClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Message-text', true), _defineProperty$1(_classNames4, "Message-text--".concat(appearance), appearance), _classNames4)); -if ($defineProperty) { - try { - $defineProperty({}, 'a', { value: 1 }); - } catch (e) { - // IE 8 has a broken defineProperty - $defineProperty = null; - } -} + var renderDescription = function renderDescription(description, children) { + if (description || typeof children === 'string') { + return /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-Message--Description", + className: DescriptionClass + }, description || (typeof children === 'string' ? children : '')); + } -module.exports = function callBind(originalFunction) { - var func = $reflectApply(functionBind, $call, arguments); - if ($gOPD && $defineProperty) { - var desc = $gOPD(func, 'length'); - if (desc.configurable) { - // original length, plus the receiver, minus any additional arguments (after the receiver) - $defineProperty( - func, - 'length', - { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } - ); - } - } - return func; -}; + if (children) { + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Message--Description", + className: "Message-description" + }, children); + } -var applyBind = function applyBind() { - return $reflectApply(functionBind, $apply, arguments); + return null; + }; + + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Message" + }, baseProps, { + className: MessageClass + }), /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Message--Icon", + name: IconMapping$2[appearance], + appearance: appearance, + className: IconClass + }), /*#__PURE__*/React.createElement("div", null, title && /*#__PURE__*/React.createElement(Heading, { + "data-test": "DesignSystem-Message--Title", + size: "s", + className: TitleClass + }, title), renderDescription(props.description, props.children), actions && /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Message--actions", + className: "Message-actions" + }, actions))); +}; +Message.displayName = 'Message'; +Message.defaultProps = { + appearance: 'info', + description: '' }; -if ($defineProperty) { - $defineProperty(module.exports, 'apply', { value: applyBind }); -} else { - module.exports.apply = applyBind; -} -}); -callBind.apply; +var Meta = function Meta(props) { + var label = props.label, + icon = props.icon, + size = props.size, + iconVariations = props.iconVariations; + return /*#__PURE__*/React.createElement("span", { + "data-test": "DesignSystem-MetaList--Meta", + className: 'Meta' + }, icon && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-MetaList--MetaIcon", + name: icon, + appearance: "subtle", + className: 'Meta-icon', + variations: iconVariations, + size: size === 'regular' ? 16 : 12 + }), /*#__PURE__*/React.createElement(Text, { + size: size, + "data-test": "DesignSystem-MetaList--MetaLabel", + appearance: "subtle" + }, label)); +}; +Meta.displayName = 'Meta'; -var $indexOf = callBind(getIntrinsic('String.prototype.indexOf')); +var MetaList = function MetaList(props) { + var _classNames3; -var callBound = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = getIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { - return callBind(intrinsic); - } - return intrinsic; + var list = props.list, + seperator = props.seperator, + className = props.className, + size = props.size; + var baseProps = extractBaseProps(props); + var MetaClass = classnames(_defineProperty$1({}, 'MetaList', true), className); + var SeperatorClass = classnames(_defineProperty$1({}, 'MetaList-seperator', true)); + var LeftSeperatorClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'MetaList-seperator', true), _defineProperty$1(_classNames3, 'MetaList-seperator--left', true), _classNames3)); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-MetaList" + }, baseProps, { + className: MetaClass + }), seperator && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-MetaList--Seperator", + name: "fiber_manual_record", + size: 8, + className: LeftSeperatorClass, + appearance: "disabled" + }), list.map(function (item, ind) { + var _item$label = item.label, + label = _item$label === void 0 ? '' : _item$label, + icon = item.icon, + iconVariations = item.iconVariations; + var rightSeperator = ind !== list.length - 1; + return /*#__PURE__*/React.createElement("span", { + key: ind, + className: "MetaList-item" + }, /*#__PURE__*/React.createElement(Meta, { + size: size, + label: label, + icon: icon, + iconVariations: iconVariations + }), rightSeperator && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-MetaList--rightSeperator", + name: "fiber_manual_record", + size: 8, + className: SeperatorClass, + appearance: "disabled" + })); + })); +}; +MetaList.displayName = 'MetaList'; +MetaList.defaultProps = { + seperatorAppearance: 'disabled', + iconAppearance: 'subtle', + labelAppearance: 'subtle', + size: 'regular' }; -var hasToStringTag$2 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; +/** + * Key codes are deprecated, soon major browser support will end. + */ +var ARROW_LEFT = 37; +var ARROW_RIGHT = 39; +var formatPercentage = function formatPercentage(ratio) { + return "".concat((ratio * 100).toFixed(2), "%"); +}; +var countDecimalPlaces = function countDecimalPlaces(value) { + if (!isFinite(value)) return 0; -var $toString$1 = callBound('Object.prototype.toString'); + if (Math.floor(value) !== value) { + var valueArray = value.toString().split('.'); + return valueArray[1].length || 0; + } -var isStandardArguments = function isArguments(value) { - if (hasToStringTag$2 && value && typeof value === 'object' && Symbol.toStringTag in value) { - return false; - } - return $toString$1(value) === '[object Arguments]'; + return 0; +}; +var approxEqual = function approxEqual(a, b) { + var tolerance = 0.00001; + return Math.abs(a - b) <= tolerance; }; +var clamp = function clamp(value, min, max) { + if (value == null) { + return value; + } -var isLegacyArguments = function isArguments(value) { - if (isStandardArguments(value)) { - return true; - } - return value !== null && - typeof value === 'object' && - typeof value.length === 'number' && - value.length >= 0 && - $toString$1(value) !== '[object Array]' && - $toString$1(value.callee) === '[object Function]'; + return Math.min(Math.max(value, min), max); +}; +var arraysEqual = function arraysEqual(oldValues, newValues) { + if (oldValues.length !== oldValues.length) return; + return newValues.every(function (value, index) { + return value === oldValues[index]; + }); }; +function argMin(values, argFn) { + if (values.length === 0) { + return undefined; + } -var supportsStandardArguments = (function () { - return isStandardArguments(arguments); -}()); + var minValue = values[0]; + var minArg = argFn(minValue); -isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests + for (var index = 1; index < values.length; index++) { + var _value = values[index]; + var arg = argFn(_value); -var isArguments = supportsStandardArguments ? isStandardArguments : isLegacyArguments; + if (arg < minArg) { + minValue = _value; + minArg = arg; + } + } -var hasSymbols$1 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; + return minValue; +} +function fillValues(values, startIndex, endIndex, fillValue) { + var inc = startIndex < endIndex ? 1 : -1; -var toStr$1 = Object.prototype.toString; -var concat = Array.prototype.concat; -var origDefineProperty = Object.defineProperty; + for (var index = startIndex; index !== endIndex + inc; index += inc) { + values[index] = fillValue; + } +} +function isElementOfType(element) { + return element != null && element.type != null; +} -var isFunction$1 = function (fn) { - return typeof fn === 'function' && toStr$1.call(fn) === '[object Function]'; -}; +var Handle = /*#__PURE__*/function (_React$Component) { + _inherits(Handle, _React$Component); -var arePropertyDescriptorsSupported = function () { - var obj = {}; - try { - origDefineProperty(obj, 'x', { enumerable: false, value: obj }); - // eslint-disable-next-line no-unused-vars, no-restricted-syntax - for (var _ in obj) { // jscs:ignore disallowUnusedVariables - return false; - } - return obj.x === obj; - } catch (e) { /* this is IE 8. */ - return false; - } -}; -var supportsDescriptors$2 = origDefineProperty && arePropertyDescriptorsSupported(); + var _super = _createSuper(Handle); -var defineProperty$2 = function (object, name, value, predicate) { - if (name in object && (!isFunction$1(predicate) || !predicate())) { - return; - } - if (supportsDescriptors$2) { - origDefineProperty(object, name, { - configurable: true, - enumerable: false, - value: value, - writable: true - }); - } else { - object[name] = value; - } -}; + function Handle() { + var _this; -var defineProperties = function (object, map) { - var predicates = arguments.length > 2 ? arguments[2] : {}; - var props = objectKeys(map); - if (hasSymbols$1) { - props = concat.call(props, Object.getOwnPropertySymbols(map)); - } - for (var i = 0; i < props.length; i += 1) { - defineProperty$2(object, props[i], map[props[i]], predicates[props[i]]); - } -}; + _classCallCheck(this, Handle); -defineProperties.supportsDescriptors = !!supportsDescriptors$2; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } -var defineProperties_1 = defineProperties; + _this = _super.call.apply(_super, [this].concat(args)); -var numberIsNaN = function (value) { - return value !== value; -}; + _defineProperty$1(_assertThisInitialized$1(_this), "state", { + isHandleMoving: false, + isHandleHovered: false + }); -var implementation$2 = function is(a, b) { - if (a === 0 && b === 0) { - return 1 / a === 1 / b; - } - if (a === b) { - return true; - } - if (numberIsNaN(a) && numberIsNaN(b)) { - return true; - } - return false; -}; + _defineProperty$1(_assertThisInitialized$1(_this), "handleElement", null); -var polyfill$2 = function getPolyfill() { - return typeof Object.is === 'function' ? Object.is : implementation$2; -}; + _defineProperty$1(_assertThisInitialized$1(_this), "refHandlers", { + handle: function handle(el) { + return _this.handleElement = el; + } + }); -var shim$1 = function shimObjectIs() { - var polyfill = polyfill$2(); - defineProperties_1(Object, { is: polyfill }, { - is: function testObjectIs() { - return Object.is !== polyfill; - } - }); - return polyfill; -}; + _defineProperty$1(_assertThisInitialized$1(_this), "mouseEventClientOffset", function (event) { + return event.clientX; + }); -var polyfill$1 = callBind(polyfill$2(), Object); + _defineProperty$1(_assertThisInitialized$1(_this), "clientToValue", function (clientPixel) { + var _this$props = _this.props, + stepSize = _this$props.stepSize, + tickSize = _this$props.tickSize, + value = _this$props.value; -defineProperties_1(polyfill$1, { - getPolyfill: polyfill$2, - implementation: implementation$2, - shim: shim$1 -}); + if (_this.handleElement == null) { + return value; + } -var objectIs = polyfill$1; + var clientPixelNormalized = clientPixel; -var hasSymbols = shams(); -var hasToStringTag$1 = hasSymbols && !!Symbol.toStringTag; -var has; -var $exec; -var isRegexMarker; -var badStringifier; + var _this$getHandleMidpoi = _this.getHandleMidpointAndOffset(_this.handleElement), + handleMidpoint = _this$getHandleMidpoi.handleMidpoint, + handleOffset = _this$getHandleMidpoi.handleOffset; -if (hasToStringTag$1) { - has = callBound('Object.prototype.hasOwnProperty'); - $exec = callBound('RegExp.prototype.exec'); - isRegexMarker = {}; + var handleCenterPixel = handleMidpoint + handleOffset; + var pixelDelta = clientPixelNormalized - handleCenterPixel; - var throwRegexMarker = function () { - throw isRegexMarker; - }; - badStringifier = { - toString: throwRegexMarker, - valueOf: throwRegexMarker - }; + if (isNaN(pixelDelta)) { + return value; + } - if (typeof Symbol.toPrimitive === 'symbol') { - badStringifier[Symbol.toPrimitive] = throwRegexMarker; - } -} + return value + Math.round(pixelDelta / (tickSize * stepSize)) * stepSize; + }); -var $toString = callBound('Object.prototype.toString'); -var gOPD$1 = Object.getOwnPropertyDescriptor; -var regexClass = '[object RegExp]'; + _defineProperty$1(_assertThisInitialized$1(_this), "changeValue", function (newValue) { + var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _this.props.onChange; + var updatedValue = clamp(newValue, _this.props.min, _this.props.max); -var isRegex = hasToStringTag$1 - // eslint-disable-next-line consistent-return - ? function isRegex(value) { - if (!value || typeof value !== 'object') { - return false; - } + if (!isNaN(updatedValue) && _this.props.value !== updatedValue) { + if (callback) callback(updatedValue); + } - var descriptor = gOPD$1(value, 'lastIndex'); - var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); - if (!hasLastIndexDataProperty) { - return false; - } + return updatedValue; + }); - try { - $exec(value, badStringifier); - } catch (e) { - return e === isRegexMarker; - } - } - : function isRegex(value) { - // In older browsers, typeof regex incorrectly returns 'function' - if (!value || (typeof value !== 'object' && typeof value !== 'function')) { - return false; - } + _defineProperty$1(_assertThisInitialized$1(_this), "endHandleMovement", function (event) { + var clientPixel = _this.mouseEventClientOffset(event); - return $toString(value) === regexClass; - }; + var onRelease = _this.props.onRelease; -var $Object = Object; -var $TypeError$1 = TypeError; + _this.removeDocumentEventListeners(); -var implementation$1 = function flags() { - if (this != null && this !== $Object(this)) { - throw new $TypeError$1('RegExp.prototype.flags getter called on non-object'); - } - var result = ''; - if (this.global) { - result += 'g'; - } - if (this.ignoreCase) { - result += 'i'; - } - if (this.multiline) { - result += 'm'; - } - if (this.dotAll) { - result += 's'; - } - if (this.unicode) { - result += 'u'; - } - if (this.sticky) { - result += 'y'; - } - return result; -}; + _this.setState({ + isHandleMoving: false + }); -var supportsDescriptors$1 = defineProperties_1.supportsDescriptors; -var $gOPD = Object.getOwnPropertyDescriptor; -var $TypeError = TypeError; + var finalValue = _this.changeValue(_this.clientToValue(clientPixel)); -var polyfill = function getPolyfill() { - if (!supportsDescriptors$1) { - throw new $TypeError('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); - } - if ((/a/mig).flags === 'gim') { - var descriptor = $gOPD(RegExp.prototype, 'flags'); - if (descriptor && typeof descriptor.get === 'function' && typeof (/a/).dotAll === 'boolean') { - return descriptor.get; - } - } - return implementation$1; -}; + if (onRelease) onRelease(finalValue); + }); -var supportsDescriptors = defineProperties_1.supportsDescriptors; + _defineProperty$1(_assertThisInitialized$1(_this), "continueHandleMovement", function (event) { + var clientPixel = _this.mouseEventClientOffset(event); -var gOPD = Object.getOwnPropertyDescriptor; -var defineProperty$1 = Object.defineProperty; -var TypeErr = TypeError; -var getProto = Object.getPrototypeOf; -var regex = /a/; + if (_this.state.isHandleMoving && !_this.props.disabled) { + var value = _this.clientToValue(clientPixel); -var shim = function shimFlags() { - if (!supportsDescriptors || !getProto) { - throw new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); - } - var polyfill$1 = polyfill(); - var proto = getProto(regex); - var descriptor = gOPD(proto, 'flags'); - if (!descriptor || descriptor.get !== polyfill$1) { - defineProperty$1(proto, 'flags', { - configurable: true, - enumerable: false, - get: polyfill$1 - }); - } - return polyfill$1; -}; + _this.changeValue(value); + } + }); -var flagsBound = callBind(implementation$1); + _defineProperty$1(_assertThisInitialized$1(_this), "beginHandleMovement", function (event) { + if (_this.props.disabled) return; + document.addEventListener('mousemove', _this.continueHandleMovement); + document.addEventListener('mouseup', _this.endHandleMovement); -defineProperties_1(flagsBound, { - getPolyfill: polyfill, - implementation: implementation$1, - shim: shim -}); + _this.setState({ + isHandleMoving: true + }); -var regexp_prototype_flags = flagsBound; + var value = _this.clientToValue(event.clientX); -var getDay = Date.prototype.getDay; -var tryDateObject = function tryDateGetDayCall(value) { - try { - getDay.call(value); - return true; - } catch (e) { - return false; - } -}; + _this.changeValue(value); + }); -var toStr = Object.prototype.toString; -var dateClass = '[object Date]'; -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; + _defineProperty$1(_assertThisInitialized$1(_this), "handleKeyDown", function (event) { + if (_this.props.disabled) return; + var _this$props2 = _this.props, + stepSize = _this$props2.stepSize, + value = _this$props2.value; + var keyCode = event.keyCode; // TODO(a11y): add ARROW_DOWN & ARROW_UP too -var isDateObject = function isDateObject(value) { - if (typeof value !== 'object' || value === null) { - return false; - } - return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; -}; + if (keyCode === ARROW_LEFT) { + _this.changeValue(value - stepSize); -var getTime = Date.prototype.getTime; + event.preventDefault(); + } else if (keyCode === ARROW_RIGHT) { + _this.changeValue(value + stepSize); -function deepEqual(actual, expected, options) { - var opts = options || {}; + event.preventDefault(); + } + }); - // 7.1. All identical values are equivalent, as determined by ===. - if (opts.strict ? objectIs(actual, expected) : actual === expected) { - return true; - } + _defineProperty$1(_assertThisInitialized$1(_this), "handleKeyUp", function (event) { + if (_this.props.disabled) return; - // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==. - if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) { - return opts.strict ? objectIs(actual, expected) : actual == expected; - } - - /* - * 7.4. For all other Object pairs, including Array objects, equivalence is - * determined by having the same number of owned properties (as verified - * with Object.prototype.hasOwnProperty.call), the same set of keys - * (although not necessarily the same order), equivalent values for every - * corresponding key, and an identical 'prototype' property. Note: this - * accounts for both named and indexed properties on Arrays. - */ - // eslint-disable-next-line no-use-before-define - return objEquiv(actual, expected, opts); -} + if ([ARROW_LEFT, ARROW_RIGHT].indexOf(event.keyCode) >= 0) { + var onRelease = _this.props.onRelease; + if (onRelease) onRelease(_this.props.value); + } + }); -function isUndefinedOrNull(value) { - return value === null || value === undefined; -} + _defineProperty$1(_assertThisInitialized$1(_this), "getHandleMidpointAndOffset", function (handleElement) { + var useOppositeDimension = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; -function isBuffer(x) { - if (!x || typeof x !== 'object' || typeof x.length !== 'number') { - return false; - } - if (typeof x.copy !== 'function' || typeof x.slice !== 'function') { - return false; - } - if (x.length > 0 && typeof x[0] !== 'number') { - return false; - } - return true; -} + if (handleElement == null) { + return { + handleMidpoint: 0, + handleOffset: 0 + }; + } -function objEquiv(a, b, opts) { - /* eslint max-statements: [2, 50] */ - var i, key; - if (typeof a !== typeof b) { return false; } - if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) { return false; } + var handleRect = handleElement.getBoundingClientRect(); + var sizeKey = useOppositeDimension ? 'height' : 'width'; + var handleOffset = handleRect.left; + return { + handleOffset: handleOffset, + handleMidpoint: handleRect[sizeKey] / 2 + }; + }); - // an identical 'prototype' property. - if (a.prototype !== b.prototype) { return false; } + _defineProperty$1(_assertThisInitialized$1(_this), "handleMouseOver", function () { + _this.setState({ + isHandleHovered: true + }); + }); - if (isArguments(a) !== isArguments(b)) { return false; } + _defineProperty$1(_assertThisInitialized$1(_this), "handleMouseLeave", function () { + _this.setState({ + isHandleHovered: false + }); + }); - var aIsRegex = isRegex(a); - var bIsRegex = isRegex(b); - if (aIsRegex !== bIsRegex) { return false; } - if (aIsRegex || bIsRegex) { - return a.source === b.source && regexp_prototype_flags(a) === regexp_prototype_flags(b); - } + _defineProperty$1(_assertThisInitialized$1(_this), "removeDocumentEventListeners", function () { + document.removeEventListener('mousemove', _this.continueHandleMovement); + document.removeEventListener('mouseup', _this.endHandleMovement); + }); - if (isDateObject(a) && isDateObject(b)) { - return getTime.call(a) === getTime.call(b); + return _this; } - var aIsBuffer = isBuffer(a); - var bIsBuffer = isBuffer(b); - if (aIsBuffer !== bIsBuffer) { return false; } - if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here - if (a.length !== b.length) { return false; } - for (i = 0; i < a.length; i++) { - if (a[i] !== b[i]) { return false; } + _createClass(Handle, [{ + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeDocumentEventListeners(); } - return true; - } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(_prevProps, prevState) { + if (prevState.isHandleMoving !== this.state.isHandleMoving) { + if (this.handleElement) this.handleElement.focus(); + } + } + }, { + key: "render", + value: function render() { + var _classNames, _classNames2; - if (typeof a !== typeof b) { return false; } + var _this$props3 = this.props, + min = _this$props3.min, + tickSizeRatio = _this$props3.tickSizeRatio, + value = _this$props3.value, + disabled = _this$props3.disabled, + label = _this$props3.label, + isCurrentLabelHovered = _this$props3.isCurrentLabelHovered; + var _this$state = this.state, + isHandleMoving = _this$state.isHandleMoving, + isHandleHovered = _this$state.isHandleHovered; + var showTootlip = isHandleMoving || isHandleHovered || isCurrentLabelHovered; - try { - var ka = objectKeys(a); - var kb = objectKeys(b); - } catch (e) { // happens when one is a string literal and the other isn't - return false; - } - // having the same number of owned properties (keys incorporates hasOwnProperty) - if (ka.length !== kb.length) { return false; } + var _this$getHandleMidpoi2 = this.getHandleMidpointAndOffset(this.handleElement, true), + handleMidpoint = _this$getHandleMidpoi2.handleMidpoint; - // the same set of keys (although not necessarily the same order), - ka.sort(); - kb.sort(); - // ~~~cheap key test - for (i = ka.length - 1; i >= 0; i--) { - if (ka[i] != kb[i]) { return false; } - } - // equivalent values for every corresponding key, and ~~~possibly expensive deep test - for (i = ka.length - 1; i >= 0; i--) { - key = ka[i]; - if (!deepEqual(a[key], b[key], opts)) { return false; } - } + var offsetRatio = (value - min) * tickSizeRatio; + var offsetCalc = "calc(".concat(formatPercentage(offsetRatio), " - ").concat(handleMidpoint, "px)"); + var style = { + left: offsetCalc + }; + var className = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Slider-handle', true), _defineProperty$1(_classNames, 'Slider-handle--disabled', disabled), _defineProperty$1(_classNames, 'Slider-handle--active', isHandleMoving), _defineProperty$1(_classNames, 'border-0', disabled), _classNames)); + var TooltipClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Slider-tooltip', true), _defineProperty$1(_classNames2, 'Tooltip', true), _defineProperty$1(_classNames2, 'd-none', !showTootlip), _classNames2)); + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + className: className, + onMouseOver: this.handleMouseOver, + onMouseLeave: this.handleMouseLeave, + onMouseDown: this.beginHandleMovement, + onKeyDown: this.handleKeyDown, + onKeyUp: this.handleKeyUp, + ref: this.refHandlers.handle, + style: style, + tabIndex: 0, + "data-test": "DesignSystem-MultiSlider-Handle" + }), /*#__PURE__*/React.createElement("div", { + className: TooltipClass, + style: style + }, label)) + ); + } + }]); - return true; -} + return Handle; +}(React.Component); -var deepEqual_1 = deepEqual; +var MultiSliderHandle = function MultiSliderHandle() { + return null; +}; -/**! - * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.16.1 - * @license - * Copyright (c) 2016 Federico Zivolo and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ -var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined'; +var MultiSlider = /*#__PURE__*/function (_React$Component) { + _inherits(MultiSlider, _React$Component); -var timeoutDuration = function () { - var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; - for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { - if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { - return 1; - } - } - return 0; -}(); + var _super = _createSuper(MultiSlider); -function microtaskDebounce(fn) { - var called = false; - return function () { - if (called) { - return; - } - called = true; - window.Promise.resolve().then(function () { - called = false; - fn(); - }); - }; -} + function MultiSlider(_props) { + var _this; -function taskDebounce(fn) { - var scheduled = false; - return function () { - if (!scheduled) { - scheduled = true; - setTimeout(function () { - scheduled = false; - fn(); - }, timeoutDuration); - } - }; -} + _classCallCheck(this, MultiSlider); -var supportsMicroTasks = isBrowser && window.Promise; + _this = _super.call(this, _props); -/** -* Create a debounced version of a method, that's asynchronously deferred -* but called in the minimum time possible. -* -* @method -* @memberof Popper.Utils -* @argument {Function} fn -* @returns {Function} -*/ -var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; + _defineProperty$1(_assertThisInitialized$1(_this), "handleElements", []); -/** - * Check if the given variable is a function - * @method - * @memberof Popper.Utils - * @argument {Any} functionToCheck - variable to check - * @returns {Boolean} answer to: is a function? - */ -function isFunction(functionToCheck) { - var getType = {}; - return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; -} + _defineProperty$1(_assertThisInitialized$1(_this), "trackElement", null); -/** - * Get CSS computed property of the given element - * @method - * @memberof Popper.Utils - * @argument {Eement} element - * @argument {String} property - */ -function getStyleComputedProperty(element, property) { - if (element.nodeType !== 1) { - return []; - } - // NOTE: 1 DOM access here - var window = element.ownerDocument.defaultView; - var css = window.getComputedStyle(element, null); - return property ? css[property] : css; -} + _defineProperty$1(_assertThisInitialized$1(_this), "getLabelPrecision", function (_ref) { + var labelPrecision = _ref.labelPrecision, + stepSize = _ref.stepSize; + return labelPrecision == null ? countDecimalPlaces(stepSize) : labelPrecision; + }); -/** - * Returns the parentNode or the host of the element - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @returns {Element} parent - */ -function getParentNode(element) { - if (element.nodeName === 'HTML') { - return element; - } - return element.parentNode || element.host; -} + _defineProperty$1(_assertThisInitialized$1(_this), "getOffsetRatio", function (value) { + return clamp((value - _this.props.min) * _this.state.tickSizeRatio, 0, 1); + }); -/** - * Returns the scrolling parent of the given element - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @returns {Element} scroll parent - */ -function getScrollParent(element) { - // Return body, `getScroll` will take care to get the correct `scrollTop` from it - if (!element) { - return document.body; - } + _defineProperty$1(_assertThisInitialized$1(_this), "addHandleRef", function (ref) { + if (ref != null) { + _this.handleElements.push(ref); + } + }); - switch (element.nodeName) { - case 'HTML': - case 'BODY': - return element.ownerDocument.body; - case '#document': - return element.body; - } + _defineProperty$1(_assertThisInitialized$1(_this), "getHandleValues", function (props) { + var maybeHandles = React.Children.map(props.children, function (child) { + return isElementOfType(child) ? child.props : null; + }); + var handles = maybeHandles != null ? maybeHandles : []; + handles = handles.filter(function (handle) { + return handle !== null; + }); + handles.sort(function (left, right) { + return left.value - right.value; + }); + return handles; + }); - // Firefox want us to check `-x` and `-y` variations as well + _defineProperty$1(_assertThisInitialized$1(_this), "updateTickSize", function () { + if (_this.trackElement != null) { + var trackSize = _this.trackElement.clientWidth; + var tickSizeRatio = 1 / (_this.props.max - _this.props.min); + var tickSize = trackSize * tickSizeRatio; - var _getStyleComputedProp = getStyleComputedProperty(element), - overflow = _getStyleComputedProp.overflow, - overflowX = _getStyleComputedProp.overflowX, - overflowY = _getStyleComputedProp.overflowY; + _this.setState({ + tickSize: tickSize, + tickSizeRatio: tickSizeRatio + }); + } + }); - if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { - return element; - } + _defineProperty$1(_assertThisInitialized$1(_this), "getTrackFill", function (start, end) { + if (start.fillAfter !== undefined) { + return start.fillAfter; + } - return getScrollParent(getParentNode(element)); -} + if (end !== undefined && end.fillBefore !== undefined) { + return end.fillBefore; + } -/** - * Returns the reference node of the reference object, or the reference object itself. - * @method - * @memberof Popper.Utils - * @param {Element|Object} reference - the reference element (the popper will be relative to this) - * @returns {Element} parent - */ -function getReferenceNode(reference) { - return reference && reference.referenceNode ? reference.referenceNode : reference; -} + return false; + }); -var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode); -var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); + _defineProperty$1(_assertThisInitialized$1(_this), "maybeHandleTrackClick", function (event) { + var target = event.target; + var canHandleTrackEvent = !_this.props.disabled && target.closest('.Slider-handle') == null; -/** - * Determines if the browser is Internet Explorer - * @method - * @memberof Popper.Utils - * @param {Number} version to check - * @returns {Boolean} isIE - */ -function isIE(version) { - if (version === 11) { - return isIE11; - } - if (version === 10) { - return isIE10; - } - return isIE11 || isIE10; -} + if (canHandleTrackEvent) { + var foundHandle = _this.nearestHandleForValue(_this.handleElements, function (handle) { + return handle.mouseEventClientOffset(event); + }); -/** - * Returns the offset parent of the given element - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @returns {Element} offset parent - */ -function getOffsetParent(element) { - if (!element) { - return document.documentElement; - } + if (foundHandle) { + foundHandle.beginHandleMovement(event); + } + } + }); - var noOffsetParent = isIE(10) ? document.body : null; + _defineProperty$1(_assertThisInitialized$1(_this), "getLockedHandleIndex", function (startIndex, endIndex) { + var inc = startIndex < endIndex ? 1 : -1; - // NOTE: 1 DOM access here - var offsetParent = element.offsetParent || null; - // Skip hidden elements which don't have an offsetParent - while (offsetParent === noOffsetParent && element.nextElementSibling) { - offsetParent = (element = element.nextElementSibling).offsetParent; - } + for (var index = startIndex + inc; index !== endIndex + inc; index += inc) { + return index; + } - var nodeName = offsetParent && offsetParent.nodeName; + return -1; + }); - if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { - return element ? element.ownerDocument.documentElement : document.documentElement; - } + _defineProperty$1(_assertThisInitialized$1(_this), "getNewHandleValues", function (newValue, oldIndex) { + var handleProps = _this.getHandleValues(_this.props); - // .offsetParent will return the closest TH, TD or TABLE in case - // no offsetParent is present, I hate this job... - if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { - return getOffsetParent(offsetParent); - } + var oldValues = handleProps.map(function (handle) { + return handle.value; + }); + var newValues = oldValues.slice(); + newValues[oldIndex] = newValue; + if (newValues.length > 1) newValues.sort(function (left, right) { + return left - right; + }); + var newIndex = newValues.indexOf(newValue); - return offsetParent; -} + var lockIndex = _this.getLockedHandleIndex(oldIndex, newIndex); -function isOffsetContainer(element) { - var nodeName = element.nodeName; + if (lockIndex === -1) { + fillValues(newValues, oldIndex, newIndex, newValue); + } else { + var lockValue = oldValues[lockIndex]; + fillValues(oldValues, oldIndex, lockIndex, lockValue); + return oldValues; + } - if (nodeName === 'BODY') { - return false; - } - return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; -} + return newValues; + }); -/** - * Finds the root node (document, shadowDOM root) of the given element - * @method - * @memberof Popper.Utils - * @argument {Element} node - * @returns {Element} root node - */ -function getRoot(node) { - if (node.parentNode !== null) { - return getRoot(node.parentNode); - } + _defineProperty$1(_assertThisInitialized$1(_this), "onReleaseHandler", function (newValue, index) { + var onRangeRelease = _this.props.onRangeRelease; - return node; -} + var handleProps = _this.getHandleValues(_this.props); -/** - * Finds the offset parent common to the two provided nodes - * @method - * @memberof Popper.Utils - * @argument {Element} element1 - * @argument {Element} element2 - * @returns {Element} common offset parent - */ -function findCommonOffsetParent(element1, element2) { - // This check is needed to avoid errors in case one of the elements isn't defined for any reason - if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { - return document.documentElement; - } + var newValues = _this.getNewHandleValues(newValue, index); // Range Slider callback - // Here we make sure to give as "start" the element that comes first in the DOM - var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; - var start = order ? element1 : element2; - var end = order ? element2 : element1; - // Get common ancestor container - var range = document.createRange(); - range.setStart(start, 0); - range.setEnd(end, 0); - var commonAncestorContainer = range.commonAncestorContainer; + if (onRangeRelease) { + var range = newValues; + onRangeRelease(range); + } // Slider callback - // Both nodes are inside #document - if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { - if (isOffsetContainer(commonAncestorContainer)) { - return commonAncestorContainer; - } + handleProps.forEach(function (handle, i) { + if (handle.onRelease) handle.onRelease(newValues[i]); + }); + }); - return getOffsetParent(commonAncestorContainer); - } + _defineProperty$1(_assertThisInitialized$1(_this), "onChangeHandler", function (newValue, index) { + var onRangeChange = _this.props.onRangeChange; - // one of the nodes is inside shadowDOM, find which one - var element1root = getRoot(element1); - if (element1root.host) { - return findCommonOffsetParent(element1root.host, element2); - } else { - return findCommonOffsetParent(element1, getRoot(element2).host); - } -} + var handleProps = _this.getHandleValues(_this.props); -/** - * Gets the scroll value of the given element in the given side (top and left) - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @argument {String} side `top` or `left` - * @returns {number} amount of scrolled pixels - */ -function getScroll(element) { - var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; + var oldValues = handleProps.map(function (handle) { + return handle.value; + }); - var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; - var nodeName = element.nodeName; + var newValues = _this.getNewHandleValues(newValue, index); - if (nodeName === 'BODY' || nodeName === 'HTML') { - var html = element.ownerDocument.documentElement; - var scrollingElement = element.ownerDocument.scrollingElement || html; - return scrollingElement[upperSide]; - } + if (!arraysEqual(newValues, oldValues)) { + // Range Slider Callback + if (onRangeChange) { + var range = newValues; + onRangeChange(range); + } // Slider callback - return element[upperSide]; -} -/* - * Sum or subtract the element scroll values (left and top) from a given rect object - * @method - * @memberof Popper.Utils - * @param {Object} rect - Rect object you want to change - * @param {HTMLElement} element - The element from the function reads the scroll values - * @param {Boolean} subtract - set to true if you want to subtract the scroll values - * @return {Object} rect - The modifier rect object - */ -function includeScroll(rect, element) { - var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + handleProps.forEach(function (handle, i) { + if (handle.onChange) handle.onChange(newValues[i]); + }); + } + }); - var scrollTop = getScroll(element, 'top'); - var scrollLeft = getScroll(element, 'left'); - var modifier = subtract ? -1 : 1; - rect.top += scrollTop * modifier; - rect.bottom += scrollTop * modifier; - rect.left += scrollLeft * modifier; - rect.right += scrollLeft * modifier; - return rect; -} + _defineProperty$1(_assertThisInitialized$1(_this), "formatLabel", function (value) { + var labelRenderer = _this.props.labelRenderer; + var labelValue = value.toFixed(_this.state.labelPrecision); -/* - * Helper to detect borders of a given element - * @method - * @memberof Popper.Utils - * @param {CSSStyleDeclaration} styles - * Result of `getStyleComputedProperty` on the given element - * @param {String} axis - `x` or `y` - * @return {number} borders - The borders size of the given axis - */ + if (typeof labelRenderer === 'function') { + return labelRenderer(Number(labelValue)); + } -function getBordersSize(styles, axis) { - var sideA = axis === 'x' ? 'Left' : 'Top'; - var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; + return labelValue; + }); - return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']); -} + _defineProperty$1(_assertThisInitialized$1(_this), "renderHandles", function () { + var _this$props = _this.props, + disabled = _this$props.disabled, + max = _this$props.max, + min = _this$props.min, + stepSize = _this$props.stepSize; -function getSize(axis, body, html, computedStyle) { - return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0); -} + var handleProps = _this.getHandleValues(_this.props); -function getWindowSizes(document) { - var body = document.body; - var html = document.documentElement; - var computedStyle = isIE(10) && getComputedStyle(html); + if (handleProps.length === 0) { + return null; + } - return { - height: getSize('Height', body, html, computedStyle), - width: getSize('Width', body, html, computedStyle) - }; -} + return handleProps.map(function (_ref2, index) { + var value = _ref2.value; + var isCurrentLabelHovered = _this.state.hoveredLabelValue === Number(value.toFixed(_this.state.labelPrecision)); + return /*#__PURE__*/React.createElement(Handle, { + disabled: disabled, + key: "".concat(index, "-").concat(handleProps.length), + max: max, + min: min, + onRelease: function onRelease(newValue) { + return _this.onReleaseHandler(newValue, index); + }, + onChange: function onChange(newValue) { + return _this.onChangeHandler(newValue, index); + }, + label: _this.formatLabel(value), + ref: _this.addHandleRef, + stepSize: stepSize, + tickSize: _this.state.tickSize, + tickSizeRatio: _this.state.tickSizeRatio, + value: value, + isCurrentLabelHovered: isCurrentLabelHovered + }); + }); + }); -var classCallCheck = function (instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -}; + _defineProperty$1(_assertThisInitialized$1(_this), "renderLabels", function () { + var _this$props2 = _this.props, + labelStepSize = _this$props2.labelStepSize, + max = _this$props2.max, + min = _this$props2.min, + labelRenderer = _this$props2.labelRenderer, + disabled = _this$props2.disabled; + var labels = []; + var stepSizeRatio = _this.state.tickSizeRatio * labelStepSize; -var createClass = function () { - function defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } - } + var handles = _this.getHandleValues(_this.props); - return function (Constructor, protoProps, staticProps) { - if (protoProps) defineProperties(Constructor.prototype, protoProps); - if (staticProps) defineProperties(Constructor, staticProps); - return Constructor; - }; -}(); + var activeLabels = handles.map(function (handle) { + return handle.value.toFixed(_this.state.labelPrecision); + }); + var _loop = function _loop(i, offsetRatio) { + var _classNames; + var offsetPercentage = formatPercentage(offsetRatio); + var style = { + left: offsetPercentage + }; + var active = !disabled && activeLabels.indexOf(i.toFixed(_this.state.labelPrecision)) !== -1; + var onClickHandler = function onClickHandler(event) { + if (!_this.props.disabled) { + var foundHandle = _this.nearestHandleForValue(_this.handleElements, function (handle) { + return handle.mouseEventClientOffset(event); + }); + if (foundHandle) { + foundHandle.changeValue(i); + } + } + }; -var defineProperty = function (obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } + var SliderTicksClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Slider-ticks', true), _defineProperty$1(_classNames, 'bg-dark', active), _classNames)); // TODO(a11y): fix accessibility - return obj; -}; + /* eslint-disable */ -var _extends$1 = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; + labels.push( /*#__PURE__*/React.createElement("div", { + onClick: onClickHandler, + className: 'Slider-label', + key: i, + style: style, + onMouseOver: function onMouseOver() { + return _this.handleLabelMouseOver(i); + }, + onMouseLeave: _this.handleLabelMouseLeave, + "data-test": "DesignSystem-MultiSlider-Label" + }, /*#__PURE__*/React.createElement("span", { + className: SliderTicksClass + }), labelRenderer !== false && /*#__PURE__*/React.createElement(Text, { + size: "small", + appearance: active ? 'default' : 'disabled' + }, _this.formatLabel(i)))); + }; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; + for (var i = min, offsetRatio = 0; i < max || approxEqual(i, max); i += labelStepSize, offsetRatio += stepSizeRatio) { + _loop(i, offsetRatio); } - } - } - - return target; -}; -/** - * Given element offsets, generate an output similar to getBoundingClientRect - * @method - * @memberof Popper.Utils - * @argument {Object} offsets - * @returns {Object} ClientRect like output - */ -function getClientRect(offsets) { - return _extends$1({}, offsets, { - right: offsets.left + offsets.width, - bottom: offsets.top + offsets.height - }); -} + return labels; + }); -/** - * Get bounding client rect of given element - * @method - * @memberof Popper.Utils - * @param {HTMLElement} element - * @return {Object} client rect - */ -function getBoundingClientRect(element) { - var rect = {}; + _defineProperty$1(_assertThisInitialized$1(_this), "renderTrackFill", function (index, start, end) { + var _classNames2; - // IE10 10 FIX: Please, don't ask, the element isn't - // considered in DOM in some circumstances... - // This isn't reproducible in IE10 compatibility mode of IE11 - try { - if (isIE(10)) { - rect = element.getBoundingClientRect(); - var scrollTop = getScroll(element, 'top'); - var scrollLeft = getScroll(element, 'left'); - rect.top += scrollTop; - rect.left += scrollLeft; - rect.bottom += scrollTop; - rect.right += scrollLeft; - } else { - rect = element.getBoundingClientRect(); - } - } catch (e) {} + var _sort = [_this.getOffsetRatio(start.value), _this.getOffsetRatio(end.value)].sort(function (left, right) { + return left - right; + }), + _sort2 = _slicedToArray(_sort, 2), + startRatio = _sort2[0], + endRatio = _sort2[1]; - var result = { - left: rect.left, - top: rect.top, - width: rect.right - rect.left, - height: rect.bottom - rect.top - }; + var startOffset = Number((startRatio * 100).toFixed(2)); + var endOffset = Number(((1 - endRatio) * 100).toFixed(2)); + var width = "".concat(100 - endOffset - startOffset, "%"); + var orientationStyle = { + width: width + }; - // subtract scrollbar size from sizes - var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {}; - var width = sizes.width || element.clientWidth || result.width; - var height = sizes.height || element.clientHeight || result.height; + var style = _objectSpread2({}, orientationStyle); - var horizScrollbar = element.offsetWidth - width; - var vertScrollbar = element.offsetHeight - height; + var fillTrack = _this.getTrackFill(start, end); - // if an hypothetical scrollbar is detected, we must be sure it's not a `border` - // we make this check conditional for performance reasons - if (horizScrollbar || vertScrollbar) { - var styles = getStyleComputedProperty(element); - horizScrollbar -= getBordersSize(styles, 'x'); - vertScrollbar -= getBordersSize(styles, 'y'); - - result.width -= horizScrollbar; - result.height -= vertScrollbar; - } - - return getClientRect(result); -} - -function getOffsetRectRelativeToArbitraryNode(children, parent) { - var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; - - var isIE10 = isIE(10); - var isHTML = parent.nodeName === 'HTML'; - var childrenRect = getBoundingClientRect(children); - var parentRect = getBoundingClientRect(parent); - var scrollParent = getScrollParent(children); + var classes = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Slider-progress', true), _defineProperty$1(_classNames2, 'Slider-progress--disabled', _this.props.disabled), _defineProperty$1(_classNames2, 'Slider-progress--inRange', fillTrack), _defineProperty$1(_classNames2, 'Slider-progress--inRangeDisabled', fillTrack && _this.props.disabled), _classNames2)); + return /*#__PURE__*/React.createElement("div", { + key: "track-".concat(index), + className: classes, + style: style + }); + }); - var styles = getStyleComputedProperty(parent); - var borderTopWidth = parseFloat(styles.borderTopWidth); - var borderLeftWidth = parseFloat(styles.borderLeftWidth); + _defineProperty$1(_assertThisInitialized$1(_this), "renderTracks", function () { + var trackStops = _this.getHandleValues(_this.props); - // In cases where the parent is fixed, we must ignore negative scroll in offset calc - if (fixedPosition && isHTML) { - parentRect.top = Math.max(parentRect.top, 0); - parentRect.left = Math.max(parentRect.left, 0); - } - var offsets = getClientRect({ - top: childrenRect.top - parentRect.top - borderTopWidth, - left: childrenRect.left - parentRect.left - borderLeftWidth, - width: childrenRect.width, - height: childrenRect.height - }); - offsets.marginTop = 0; - offsets.marginLeft = 0; + trackStops.push({ + value: _this.props.max + }); + var previous = { + value: _this.props.min || 0 + }; + var handles = []; + trackStops.forEach(function (track, index) { + var current = track; + handles.push(_this.renderTrackFill(index, previous, current)); + previous = current; + }); + return handles; + }); - // Subtract margins of documentElement in case it's being used as parent - // we do this only on HTML because it's the only element that behaves - // differently when margins are applied to it. The margins are included in - // the box of the documentElement, in the other cases not. - if (!isIE10 && isHTML) { - var marginTop = parseFloat(styles.marginTop); - var marginLeft = parseFloat(styles.marginLeft); + _defineProperty$1(_assertThisInitialized$1(_this), "handleLabelMouseOver", function (value) { + _this.setState({ + hoveredLabelValue: value + }); + }); - offsets.top -= borderTopWidth - marginTop; - offsets.bottom -= borderTopWidth - marginTop; - offsets.left -= borderLeftWidth - marginLeft; - offsets.right -= borderLeftWidth - marginLeft; + _defineProperty$1(_assertThisInitialized$1(_this), "handleLabelMouseLeave", function () { + _this.setState({ + hoveredLabelValue: undefined + }); + }); - // Attach marginTop and marginLeft because in some circumstances we may need them - offsets.marginTop = marginTop; - offsets.marginLeft = marginLeft; + _this.state = { + labelPrecision: _this.getLabelPrecision(_this.props), + tickSize: 0, + tickSizeRatio: 0 + }; + return _this; } - if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { - offsets = includeScroll(offsets, parent); - } + _createClass(MultiSlider, [{ + key: "getDerivedStateFromProps", + value: function getDerivedStateFromProps(props) { + return { + labelPrecision: this.getLabelPrecision(props) + }; + } + }, { + key: "getSnapshotBeforeUpdate", + value: function getSnapshotBeforeUpdate(prevProps) { + var prevHandleProps = this.getHandleValues(prevProps); + var newHandleProps = this.getHandleValues(this.props); - return offsets; -} + if (newHandleProps.length !== prevHandleProps.length) { + this.handleElements = []; + } -function getViewportOffsetRectRelativeToArtbitraryNode(element) { - var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + return null; + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + this.updateTickSize(); + } + }, { + key: "nearestHandleForValue", + value: function nearestHandleForValue(handles, getOffset) { + return argMin(handles, function (handle) { + var offset = getOffset(handle); + var offsetValue = handle.clientToValue(offset); + var handleValue = handle.props.value; + return Math.abs(offsetValue - handleValue); + }); + } + }, { + key: "render", + value: function render() { + var _classNames4, + _this2 = this; - var html = element.ownerDocument.documentElement; - var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); - var width = Math.max(html.clientWidth, window.innerWidth || 0); - var height = Math.max(html.clientHeight, window.innerHeight || 0); + var _this$props3 = this.props, + label = _this$props3.label, + className = _this$props3.className; + var baseProps = extractBaseProps(this.props); + var SliderClass = classnames(_defineProperty$1({}, 'Slider', true), className); + var WrapperClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Slider-wrapper', true), _defineProperty$1(_classNames4, 'Slider-wrapper--disabled', this.props.disabled), _classNames4)); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: SliderClass, + "data-test": "DesignSystem-MultiSlider" + }), label && /*#__PURE__*/React.createElement(Label, { + withInput: true + }, label), /*#__PURE__*/React.createElement("div", { + className: WrapperClass + }, /*#__PURE__*/React.createElement("div", { + className: "Slider-track", + ref: function ref(_ref3) { + return _this2.trackElement = _ref3; + }, + onMouseDown: this.maybeHandleTrackClick, + "data-test": "DesignSystem-MultiSlider-Slider-Track" + }, this.renderTracks()), /*#__PURE__*/React.createElement("div", { + className: "Slider-axis" + }, this.renderLabels()), this.renderHandles())); + } + }]); - var scrollTop = !excludeScroll ? getScroll(html) : 0; - var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; + return MultiSlider; +}(React.Component); - var offset = { - top: scrollTop - relativeOffset.top + relativeOffset.marginTop, - left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, - width: width, - height: height - }; +_defineProperty$1(MultiSlider, "defaultProps", { + labelStepSize: 1, + max: 10, + min: 0, + stepSize: 1, + labelRenderer: true +}); - return getClientRect(offset); -} +_defineProperty$1(MultiSlider, "Handle", MultiSliderHandle); -/** - * Check if the given element is fixed or is inside a fixed parent - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @argument {Element} customContainer - * @returns {Boolean} answer to "isFixed?" - */ -function isFixed(element) { - var nodeName = element.nodeName; - if (nodeName === 'BODY' || nodeName === 'HTML') { - return false; - } - if (getStyleComputedProperty(element, 'position') === 'fixed') { - return true; - } - var parentNode = getParentNode(element); - if (!parentNode) { - return false; - } - return isFixed(parentNode); -} +var _excluded$k = ["children", "className", "onOutsideClick"]; +var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) { + var children = props.children, + className = props.className, + onOutsideClick = props.onOutsideClick, + rest = _objectWithoutProperties(props, _excluded$k); -/** - * Finds the first parent of an element that has a transformed property defined - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @returns {Element} first transformed parent or documentElement - */ + var innerRef = React.useRef(null); + React.useImperativeHandle(ref, function () { + return innerRef.current; + }, [innerRef]); + React.useEffect(function () { + document.addEventListener('click', handleOutsideClick, true); + return function () { + document.removeEventListener('click', handleOutsideClick); + }; + }, []); + var handleOutsideClick = React.useCallback(function (event) { + var element = innerRef; -function getFixedPositionOffsetParent(element) { - // This check is needed to avoid errors in case one of the elements isn't defined for any reason - if (!element || !element.parentElement || isIE()) { - return document.documentElement; - } - var el = element.parentElement; - while (el && getStyleComputedProperty(el, 'transform') === 'none') { - el = el.parentElement; - } - return el || document.documentElement; -} + if (!event.target || !element.current) { + return; + } -/** - * Computed the boundaries limits and return them - * @method - * @memberof Popper.Utils - * @param {HTMLElement} popper - * @param {HTMLElement} reference - * @param {number} padding - * @param {HTMLElement} boundariesElement - Element used to define the boundaries - * @param {Boolean} fixedPosition - Is in fixed position mode - * @returns {Object} Coordinates of the boundaries - */ -function getBoundaries(popper, reference, padding, boundariesElement) { - var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; + if (!element.current.contains(event.target)) { + onOutsideClick(event); + } + }, []); + var classes = classnames(_defineProperty$1({}, 'OutsideClick', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + ref: innerRef + }, rest, { + className: classes + }), children); +}); +OutsideClick.displayName = 'OutsideClick'; - // NOTE: 1 DOM access here +var _excluded$j = ["appearance", "children", "className", "color"]; +var Paragraph = function Paragraph(props) { + var _classNames; - var boundaries = { top: 0, left: 0 }; - var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference)); + var appearance = props.appearance, + children = props.children, + className = props.className, + color = props.color, + rest = _objectWithoutProperties(props, _excluded$j); - // Handle viewport case - if (boundariesElement === 'viewport') { - boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); - } else { - // Handle other cases based on DOM element used as boundaries - var boundariesNode = void 0; - if (boundariesElement === 'scrollParent') { - boundariesNode = getScrollParent(getParentNode(reference)); - if (boundariesNode.nodeName === 'BODY') { - boundariesNode = popper.ownerDocument.documentElement; - } - } else if (boundariesElement === 'window') { - boundariesNode = popper.ownerDocument.documentElement; - } else { - boundariesNode = boundariesElement; - } + var classes = classnames((_classNames = { + Text: true + }, _defineProperty$1(_classNames, "Text--".concat(appearance), !color && appearance), _defineProperty$1(_classNames, "color-".concat(color), color), _classNames), className); + return /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Paragraph" + }, rest, { + className: classes, + componentType: "p" + }), children); +}; +Paragraph.displayName = 'Paragraph'; +Paragraph.defaultProps = { + appearance: 'default' +}; - var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); +var ProgressBar = function ProgressBar(props) { + var _classNames; - // In case of HTML, we need a different computation - if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { - var _getWindowSizes = getWindowSizes(popper.ownerDocument), - height = _getWindowSizes.height, - width = _getWindowSizes.width; + var max = props.max, + value = props.value, + className = props.className, + size = props.size; + var baseProps = extractBaseProps(props); + var style = { + width: value > 0 ? "".concat(Math.min(value, max) * 100 / max, "%") : '0' + }; + var ProgressBarClass = classnames({ + ProgressBar: true + }, className); + var ProgressIndicatorClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ProgressBar-indicator', true), _defineProperty$1(_classNames, 'ProgressBar-indicator--small', size === 'small'), _defineProperty$1(_classNames, 'ProgressBar-indicator--regular', size === 'regular'), _classNames)); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-ProgressBar" + }, baseProps, { + className: ProgressBarClass + }), /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-ProgressBar-Indicator", + className: ProgressIndicatorClass, + style: style + })); +}; +ProgressBar.displayName = 'ProgressBar'; +ProgressBar.defaultProps = { + max: 100, + size: 'regular' +}; - boundaries.top += offsets.top - offsets.marginTop; - boundaries.bottom = height + offsets.top; - boundaries.left += offsets.left - offsets.marginLeft; - boundaries.right = width + offsets.left; - } else { - // for all the other DOM elements, this one is good - boundaries = offsets; - } - } +var _excluded$i = ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"]; +var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var _classNames, _classNames2, _classNames3; - // Add paddings - padding = padding || 0; - var isPaddingNumber = typeof padding === 'number'; - boundaries.left += isPaddingNumber ? padding : padding.left || 0; - boundaries.top += isPaddingNumber ? padding : padding.top || 0; - boundaries.right -= isPaddingNumber ? padding : padding.right || 0; - boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; + var _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + label = props.label, + disabled = props.disabled, + onChange = props.onChange, + name = props.name, + value = props.value, + checked = props.checked, + defaultChecked = props.defaultChecked, + className = props.className, + helpText = props.helpText, + error = props.error, + rest = _objectWithoutProperties(props, _excluded$i); - return boundaries; -} + var ref = React.useRef(null); + React.useImperativeHandle(forwardedRef, function () { + return ref.current; + }); + var RadioClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Radio', true), _defineProperty$1(_classNames, 'Radio--disabled', disabled), _classNames), className); + var RadioWrapper = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Radio-wrapper', true), _defineProperty$1(_classNames2, "Radio-defaultWrapper", !error), _defineProperty$1(_classNames2, "Radio-errorWrapper", error), _defineProperty$1(_classNames2, "Radio-wrapper--".concat(size), size), _classNames2)); + var RadioOuterWrapper = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Radio-outerWrapper', true), _defineProperty$1(_classNames3, "Radio-outerWrapper--".concat(size), size), _classNames3)); + var RadioLabelClass = classnames(_defineProperty$1({}, 'Radio-Label', true)); + var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); + return /*#__PURE__*/React.createElement("div", { + className: RadioClass, + "data-test": "DesignSystem-Radio" + }, /*#__PURE__*/React.createElement("div", { + className: RadioOuterWrapper, + "data-test": "DesignSystem-Radio-OuterWrapper" + }, /*#__PURE__*/React.createElement("input", _extends$2({ + tabIndex: 0 + }, rest, { + type: "radio", + disabled: disabled, + checked: checked, + defaultChecked: defaultChecked, + ref: ref, + name: name, + value: value, + onChange: onChange, + className: "Radio-input", + id: id, + "data-test": "DesignSystem-Radio-Input" + })), /*#__PURE__*/React.createElement("span", { + "data-test": "DesignSystem-Radio-wrapper", + className: RadioWrapper + })), /*#__PURE__*/React.createElement("div", { + className: "Radio-labelWrapper" + }, label && /*#__PURE__*/React.createElement("label", { + className: RadioLabelClass, + htmlFor: id, + "data-test": "DesignSystem-Radio-Label" + }, /*#__PURE__*/React.createElement(Text, { + size: size === 'tiny' ? 'small' : 'regular', + appearance: disabled ? 'disabled' : 'default' + }, label)), helpText && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-Radio-HelpText", + size: "small", + appearance: disabled ? 'disabled' : 'subtle' + }, helpText.trim()))); +}); +Radio.displayName = 'Radio'; -function getArea(_ref) { - var width = _ref.width, - height = _ref.height; +var _excluded$h = ["className", "children"]; +var Row = /*#__PURE__*/React.forwardRef(function (props, ref) { + var className = props.className, + children = props.children, + rest = _objectWithoutProperties(props, _excluded$h); - return width * height; -} + var classes = classnames(_defineProperty$1({ + Row: true + }, "".concat(className), className)); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Row", + ref: ref + }, rest, { + className: classes + }), children); +}); +Row.displayName = 'Row'; -/** - * Utility used to transform the `auto` placement to the placement with more - * available space. - * @method - * @memberof Popper.Utils - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { - var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; +var StatusHint = function StatusHint(props) { + var _classNames2; - if (placement.indexOf('auto') === -1) { - return placement; - } + var appearance = props.appearance, + children = props.children, + _onMouseEnter = props.onMouseEnter, + _onMouseLeave = props.onMouseLeave, + _onClick = props.onClick, + truncateLabel = props.truncateLabel, + className = props.className; + var baseProps = extractBaseProps(props); + var StatusHintClass = classnames(_defineProperty$1({}, 'StatusHint', true), className); + var StatusHintIconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'StatusHint-icon', true), _defineProperty$1(_classNames2, "StatusHint--".concat(appearance), appearance), _classNames2)); + var StatusHintTextClass = classnames(_defineProperty$1({}, 'ellipsis--noWrap', truncateLabel)); + return ( + /*#__PURE__*/ + // TODO(a11y): fix accessibility + + /* eslint-disable */ + React.createElement("div", _extends$2({ + "data-test": "DesignSystem-StatusHint" + }, baseProps, { + className: StatusHintClass, + onClick: function onClick(e) { + return _onClick && _onClick(e); + }, + onMouseEnter: function onMouseEnter(e) { + return _onMouseEnter && _onMouseEnter(e); + }, + onMouseLeave: function onMouseLeave(e) { + return _onMouseLeave && _onMouseLeave(e); + } + }), /*#__PURE__*/React.createElement("span", { + "data-test": "DesignSystem-StatusHint--Icon", + className: StatusHintIconClass + }), /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-StatusHint--Text", + weight: 'medium', + className: StatusHintTextClass + }, children)) + ); +}; +StatusHint.displayName = 'StatusHint'; +StatusHint.defaultProps = { + appearance: 'default' +}; - var boundaries = getBoundaries(popper, reference, padding, boundariesElement); +var Pills = function Pills(props) { + var _classNames; - var rects = { - top: { - width: boundaries.width, - height: refRect.top - boundaries.top - }, - right: { - width: boundaries.right - refRect.right, - height: boundaries.height - }, - bottom: { - width: boundaries.width, - height: boundaries.bottom - refRect.bottom - }, - left: { - width: refRect.left - boundaries.left, - height: boundaries.height - } - }; + var appearance = props.appearance, + children = props.children, + subtle = props.subtle, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classnames((_classNames = { + Pills: true + }, _defineProperty$1(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$1(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); + return /*#__PURE__*/React.createElement("span", _extends$2({ + "data-test": "DesignSystem-Pills" + }, baseProps, { + className: classes + }), children); +}; +Pills.displayName = 'Pills'; +Pills.defaultProps = { + appearance: 'secondary' +}; - var sortedAreas = Object.keys(rects).map(function (key) { - return _extends$1({ - key: key - }, rects[key], { - area: getArea(rects[key]) - }); - }).sort(function (a, b) { - return b.area - a.area; - }); +var Spinner = function Spinner(props) { + var appearance = props.appearance, + size = props.size, + className = props.className; + var baseProps = extractBaseProps(props); + var wrapperClasses = classnames(_defineProperty$1({ + Spinner: true + }, "Spinner--".concat(size), size), className); + var circleClasses = classnames(_defineProperty$1({ + Circle: true + }, "Circle--".concat(appearance), appearance)); + var svgProps = { + viewBox: '0 0 50 50' + }; + var circleProps = { + cx: 25, + cy: 25, + r: 20, + fill: 'none', + strokeMiterlimit: '10', + strokeWidth: '4' + }; + return /*#__PURE__*/React.createElement("svg", _extends$2({}, baseProps, { + className: wrapperClasses + }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$2({ + className: circleClasses + }, circleProps))); +}; +Spinner.displayName = 'Spinner'; +Spinner.defaultProps = { + appearance: 'primary', + size: 'medium' +}; - var filteredAreas = sortedAreas.filter(function (_ref2) { - var width = _ref2.width, - height = _ref2.height; - return width >= popper.clientWidth && height >= popper.clientHeight; - }); +var _excluded$g = ["value", "defaultValue", "onRelease", "onChange"]; +var Slider = function Slider(props) { + var valueProp = props.value, + defaultValue = props.defaultValue, + onRelease = props.onRelease, + onChange = props.onChange, + rest = _objectWithoutProperties(props, _excluded$g); - var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; + var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; - var variation = placement.split('-')[1]; + React.useEffect(function () { + if (valueProp !== undefined) { + setValue(valueProp); + } + }, [valueProp]); - return computedPlacement + (variation ? '-' + variation : ''); -} + var onChangeHandler = function onChangeHandler(newValue) { + if (valueProp === undefined) { + setValue(newValue); + } -/** - * Get offsets to the reference element - * @method - * @memberof Popper.Utils - * @param {Object} state - * @param {Element} popper - the popper element - * @param {Element} reference - the reference element (the popper will be relative to this) - * @param {Element} fixedPosition - is in fixed position mode - * @returns {Object} An object containing the offsets which will be applied to the popper - */ -function getReferenceOffsets(state, popper, reference) { - var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; + if (onChange) onChange(newValue); + }; - var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference)); - return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); -} + return /*#__PURE__*/React.createElement(MultiSlider, rest, /*#__PURE__*/React.createElement(MultiSlider.Handle, { + value: value, + onChange: onChangeHandler, + onRelease: onRelease, + fillBefore: true + })); +}; +Slider.displayName = 'Slider'; +Slider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps), {}, { + defaultValue: 0 +}); -/** - * Get the outer sizes of the given element (offset size + margins) - * @method - * @memberof Popper.Utils - * @argument {Element} element - * @returns {Object} object containing width and height properties - */ -function getOuterSizes(element) { - var window = element.ownerDocument.defaultView; - var styles = window.getComputedStyle(element); - var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0); - var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0); - var result = { - width: element.offsetWidth + y, - height: element.offsetHeight + x - }; - return result; -} +var _excluded$f = ["value", "defaultValue", "onChange", "onRelease"]; +var RangeIndex; -/** - * Get the opposite placement of the given one - * @method - * @memberof Popper.Utils - * @argument {String} placement - * @returns {String} flipped placement - */ -function getOppositePlacement(placement) { - var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; - return placement.replace(/left|right|bottom|top/g, function (matched) { - return hash[matched]; - }); -} +(function (RangeIndex) { + RangeIndex[RangeIndex["START"] = 0] = "START"; + RangeIndex[RangeIndex["END"] = 1] = "END"; +})(RangeIndex || (RangeIndex = {})); -/** - * Get offsets to the popper - * @method - * @memberof Popper.Utils - * @param {Object} position - CSS position the Popper will get applied - * @param {HTMLElement} popper - the popper element - * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) - * @param {String} placement - one of the valid placement options - * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper - */ -function getPopperOffsets(popper, referenceOffsets, placement) { - placement = placement.split('-')[0]; +var RangeSlider = function RangeSlider(props) { + var valueProp = props.value, + defaultValue = props.defaultValue, + onChange = props.onChange, + onRelease = props.onRelease, + rest = _objectWithoutProperties(props, _excluded$f); - // Get popper node sizes - var popperRect = getOuterSizes(popper); + var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; - // Add position, width and height to our offsets object - var popperOffsets = { - width: popperRect.width, - height: popperRect.height + React.useEffect(function () { + if (valueProp !== undefined) { + setValue(valueProp); + } + }, [valueProp]); + + var onChangeHandler = function onChangeHandler(range) { + if (valueProp === undefined) { + setValue(range); + } + + if (onChange) onChange(range); }; - // depending by the popper placement we have to compute its offsets slightly differently - var isHoriz = ['right', 'left'].indexOf(placement) !== -1; - var mainSide = isHoriz ? 'top' : 'left'; - var secondarySide = isHoriz ? 'left' : 'top'; - var measurement = isHoriz ? 'height' : 'width'; - var secondaryMeasurement = !isHoriz ? 'height' : 'width'; + return /*#__PURE__*/React.createElement(MultiSlider, _extends$2({ + onRangeChange: onChangeHandler, + onRangeRelease: onRelease + }, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + value: value[RangeIndex.START], + fillAfter: true + }), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + value: value[RangeIndex.END] + })); +}; +RangeSlider.displayName = 'RangeSlider'; +RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.defaultProps), {}, { + defaultValue: [0, 10] +}); - popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; - if (placement === secondarySide) { - popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; - } else { - popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; - } +var _excluded$e = ["appearance", "children", "className", "color"]; +var Subheading = function Subheading(props) { + var _classNames; - return popperOffsets; -} + var appearance = props.appearance, + children = props.children, + className = props.className, + color = props.color, + rest = _objectWithoutProperties(props, _excluded$e); -/** - * Mimics the `find` method of Array - * @method - * @memberof Popper.Utils - * @argument {Array} arr - * @argument prop - * @argument value - * @returns index or -1 - */ -function find(arr, check) { - // use native find if supported - if (Array.prototype.find) { - return arr.find(check); - } + var classes = classnames((_classNames = { + Subheading: true + }, _defineProperty$1(_classNames, "Subheading--".concat(appearance), !color && appearance), _defineProperty$1(_classNames, "color-".concat(color), color), _classNames), className); + return /*#__PURE__*/React.createElement(GenericText, _extends$2({ + "data-test": "DesignSystem-Subheading" + }, rest, { + className: classes, + componentType: 'h4' + }), children); +}; +Subheading.displayName = 'Subheading'; +Subheading.defaultProps = { + appearance: 'default' +}; - // use `filter` to obtain the same behavior of `find` - return arr.filter(check)[0]; -} +var _excluded$d = ["size", "defaultChecked", "disabled", "onChange", "name", "value", "className", "appearance", "checked"]; /** - * Return the index of the matching object - * @method - * @memberof Popper.Utils - * @argument {Array} arr - * @argument prop - * @argument value - * @returns index or -1 + * ######Switch has two types: + * - [Controlled Switch](https://reactjs.org/docs/forms.html#controlled-components) + * - [Uncontrolled Switch](https://reactjs.org/docs/uncontrolled-components.html) */ -function findIndex(arr, prop, value) { - // use native findIndex if supported - if (Array.prototype.findIndex) { - return arr.findIndex(function (cur) { - return cur[prop] === value; - }); - } +var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames, _classNames2; - // use `find` + `indexOf` if `findIndex` isn't supported - var match = find(arr, function (obj) { - return obj[prop] === value; - }); - return arr.indexOf(match); -} + var _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + defaultChecked = props.defaultChecked, + disabled = props.disabled, + onChange = props.onChange, + name = props.name, + value = props.value, + className = props.className; + props.appearance; + var checkedProp = props.checked, + rest = _objectWithoutProperties(props, _excluded$d); -/** - * Loop trough the list of modifiers and run them in order, - * each of them will then edit the data object. - * @method - * @memberof Popper.Utils - * @param {dataObject} data - * @param {Array} modifiers - * @param {String} ends - Optional modifier name used as stopper - * @returns {dataObject} - */ -function runModifiers(modifiers, data, ends) { - var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); + var _React$useState = React.useState(checkedProp === undefined ? defaultChecked : checkedProp), + _React$useState2 = _slicedToArray(_React$useState, 2), + checked = _React$useState2[0], + setChecked = _React$useState2[1]; - modifiersToRun.forEach(function (modifier) { - if (modifier['function']) { - // eslint-disable-line dot-notation - console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); - } - var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation - if (modifier.enabled && isFunction(fn)) { - // Add properties to offsets to make them a complete clientRect object - // we do this before each modifier to make sure the previous one doesn't - // mess with these values - data.offsets.popper = getClientRect(data.offsets.popper); - data.offsets.reference = getClientRect(data.offsets.reference); + React.useEffect(function () { + if (checkedProp !== undefined) setChecked(checkedProp); + }, [checkedProp]); + var SwitchClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Switch', true), _defineProperty$1(_classNames, 'Switch--disabled', disabled), _defineProperty$1(_classNames, "Switch--".concat(size), size), _classNames), className); + var SwitchWrapper = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Switch-wrapper', true), _defineProperty$1(_classNames2, 'Switch-wrapper--disabled', disabled), _defineProperty$1(_classNames2, "Switch-wrapper--".concat(size), size), _defineProperty$1(_classNames2, 'Switch-wrapper--checked', checked), _defineProperty$1(_classNames2, 'Switch-wrapper--checkedDisabled', checked && disabled), _classNames2)); - data = fn(data, modifier); + var onChangeHandler = function onChangeHandler(event) { + if (event.type == 'change' || isSpaceKey(event)) { + if (checkedProp === undefined) setChecked(!checked); + if (onChange) onChange(event, !checked); } - }); - - return data; -} + }; -/** - * Updates the position of the popper, computing the new offsets and applying - * the new style.
- * Prefer `scheduleUpdate` over `update` because of performance reasons. - * @method - * @memberof Popper - */ -function update() { - // if popper is destroyed, don't perform any further update - if (this.state.isDestroyed) { - return; - } + return /*#__PURE__*/React.createElement("div", { + className: SwitchClass + }, /*#__PURE__*/React.createElement("input", _extends$2({}, rest, { + type: "checkbox", + defaultChecked: defaultChecked, + disabled: disabled, + onChange: onChangeHandler, + checked: checked, + ref: ref, + name: name, + value: value, + className: "Switch-input", + onKeyUp: onChangeHandler + })), /*#__PURE__*/React.createElement("span", { + className: SwitchWrapper + })); +}); +Switch.displayName = 'Switch'; - var data = { - instance: this, - styles: {}, - arrowStyles: {}, - attributes: {}, - flipped: false, - offsets: {} - }; +var _excluded$c = ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"]; +var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames; - // compute reference element offsets - data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); + var _props$rows = props.rows, + rows = _props$rows === void 0 ? 3 : _props$rows, + _props$resize = props.resize, + resize = _props$resize === void 0 ? true : _props$resize, + disabled = props.disabled, + name = props.name, + placeholder = props.placeholder, + value = props.value, + defaultValue = props.defaultValue, + required = props.required, + error = props.error, + onChange = props.onChange, + onClick = props.onClick, + onBlur = props.onBlur, + onFocus = props.onFocus, + className = props.className, + rest = _objectWithoutProperties(props, _excluded$c); - // compute auto placement, store placement inside the data object, - // modifiers will be able to edit `placement` if needed - // and refer to originalPlacement to know the original value - data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Textarea', true), _defineProperty$1(_classNames, 'Textarea--resize', resize), _defineProperty$1(_classNames, 'Textarea--error', error), _classNames), className); + return /*#__PURE__*/React.createElement("textarea", _extends$2({ + "data-test": "DesignSystem-Textarea" + }, rest, { + ref: ref, + name: name, + rows: rows, + placeholder: placeholder, + className: classes, + value: value, + defaultValue: defaultValue, + required: required, + disabled: disabled, + onChange: onChange, + onBlur: onBlur, + onClick: onClick, + onFocus: onFocus + })); +}); +Textarea.displayName = 'Textarea'; - // store the computed placement inside `originalPlacement` - data.originalPlacement = data.placement; +var ActionButton = function ActionButton(props) { + var _classNames; - data.positionFixed = this.options.positionFixed; + var appearance = props.appearance, + label = props.label, + onClick = props.onClick; + var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Button', true), _defineProperty$1(_classNames, 'Button--tiny', true), _defineProperty$1(_classNames, 'Toast-actionButton', true), _defineProperty$1(_classNames, "Toast-actionButton--".concat(appearance), appearance), _classNames)); - // compute the popper offsets - data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + var onClickHandler = function onClickHandler(e) { + e.preventDefault(); + if (onClick) onClick(e); + }; - data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; + return /*#__PURE__*/React.createElement("button", { + className: buttonClass, + onClick: onClickHandler + }, /*#__PURE__*/React.createElement(Text, { + appearance: "white" + }, label)); +}; - // run the modifiers - data = runModifiers(this.modifiers, data); +ActionButton.displayName = 'ActionButton'; +ActionButton.defaultProps = { + appearance: 'default' +}; - // the first `update` will call `onCreate` callback - // the other ones will call `onUpdate` callback - if (!this.state.isCreated) { - this.state.isCreated = true; - this.options.onCreate(data); - } else { - this.options.onUpdate(data); - } -} +var Toast = function Toast(props) { + var _classNames, _classNames2, _classNames4, _classNames5; -/** - * Helper used to know if the given modifier is enabled. - * @method - * @memberof Popper.Utils - * @returns {Boolean} - */ -function isModifierEnabled(modifiers, modifierName) { - return modifiers.some(function (_ref) { - var name = _ref.name, - enabled = _ref.enabled; - return enabled && name === modifierName; - }); -} + var title = props.title, + message = props.message, + actions = props.actions, + onClose = props.onClose, + className = props.className; + var appearance = props.appearance; + appearance = appearance === 'default' ? 'info' : appearance; + var baseProps = extractBaseProps(props); + var wrapperClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Toast', true), _defineProperty$1(_classNames, 'Toast--withMessage', message), _defineProperty$1(_classNames, "Toast--".concat(appearance), appearance), _classNames), className); + var IconMapping = { + info: 'info', + success: 'check_circle', + alert: 'error', + warning: 'warning' + }; + var icon = IconMapping[appearance]; + var titleClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Toast-title', true), _defineProperty$1(_classNames2, 'Toast-title--withMessage', message), _classNames2)); -/** - * Get the prefixed supported property name - * @method - * @memberof Popper.Utils - * @argument {String} property (camelCase) - * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) - */ -function getSupportedPropertyName(property) { - var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; - var upperProp = property.charAt(0).toUpperCase() + property.slice(1); + var iconClass = function iconClass(align) { + var _classNames3; - for (var i = 0; i < prefixes.length; i++) { - var prefix = prefixes[i]; - var toCheck = prefix ? '' + prefix + upperProp : property; - if (typeof document.body.style[toCheck] !== 'undefined') { - return toCheck; - } - } - return null; -} + return classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Toast-icon', true), _defineProperty$1(_classNames3, "Toast-icon--".concat(align), align), _defineProperty$1(_classNames3, "Toast-icon--".concat(appearance), appearance), _defineProperty$1(_classNames3, "Toast-close-icon--".concat(appearance), appearance && align === 'right'), _classNames3)); + }; -/** - * Destroys the popper. - * @method - * @memberof Popper - */ -function destroy() { - this.state.isDestroyed = true; + var textClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Toast-text', true), _defineProperty$1(_classNames4, "Toast-text--".concat(appearance), appearance), _classNames4)); + var headingClass = classnames((_classNames5 = {}, _defineProperty$1(_classNames5, 'Toast-heading', true), _defineProperty$1(_classNames5, "Toast-heading--".concat(appearance), appearance), _classNames5)); - // touch DOM only if `applyStyle` modifier is enabled - if (isModifierEnabled(this.modifiers, 'applyStyle')) { - this.popper.removeAttribute('x-placement'); - this.popper.style.position = ''; - this.popper.style.top = ''; - this.popper.style.left = ''; - this.popper.style.right = ''; - this.popper.style.bottom = ''; - this.popper.style.willChange = ''; - this.popper.style[getSupportedPropertyName('transform')] = ''; - } + var onCloseHandler = function onCloseHandler() { + if (onClose) onClose(); + }; - this.disableEventListeners(); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: wrapperClass + }), icon && /*#__PURE__*/React.createElement(Icon, { + name: icon, + className: iconClass('left') + }), /*#__PURE__*/React.createElement("div", { + className: "Toast-body" + }, /*#__PURE__*/React.createElement("div", { + className: titleClass + }, /*#__PURE__*/React.createElement(Heading, { + size: "s", + className: headingClass, + appearance: appearance !== 'warning' ? 'white' : 'default' + }, title), /*#__PURE__*/React.createElement(Icon, { + name: 'close', + className: iconClass('right'), + onClick: onCloseHandler, + appearance: appearance !== 'warning' ? 'white' : 'default' + })), message && /*#__PURE__*/React.createElement(Text, { + appearance: appearance !== 'warning' ? 'white' : 'default', + className: textClass + }, message), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/React.createElement("div", { + className: "Toast-actions" + }, actions.slice(0, 2).map(function (action, index) { + return /*#__PURE__*/React.createElement(ActionButton, { + key: index, + label: action.label, + appearance: appearance, + onClick: action.onClick + }); + })))); +}; +Toast.displayName = 'Toast'; +Toast.defaultProps = { + appearance: 'info' +}; - // remove the popper if user explicitly asked for the deletion on destroy - // do not use `remove` because IE11 doesn't support it - if (this.options.removeOnDestroy) { - this.popper.parentNode.removeChild(this.popper); +var objectWithoutPropertiesLoose = createCommonjsModule(function (module) { +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; } - return this; -} -/** - * Get the window associated with the element - * @argument {Element} element - * @returns {Window} - */ -function getWindow(element) { - var ownerDocument = element.ownerDocument; - return ownerDocument ? ownerDocument.defaultView : window; + return target; } -function attachToScrollParents(scrollParent, event, callback, scrollParents) { - var isBody = scrollParent.nodeName === 'BODY'; - var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; - target.addEventListener(event, callback, { passive: true }); +module.exports = _objectWithoutPropertiesLoose; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); - if (!isBody) { - attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); - } - scrollParents.push(target); -} +var _objectWithoutPropertiesLoose = unwrapExports(objectWithoutPropertiesLoose); -/** - * Setup needed event listeners used to update the popper position - * @method - * @memberof Popper.Utils - * @private - */ -function setupEventListeners(reference, options, state, updateBound) { - // Resize event listener on window - state.updateBound = updateBound; - getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); +var _extends_1 = createCommonjsModule(function (module) { +function _extends() { + module.exports = _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; - // Scroll event listener on scroll parents - var scrollElement = getScrollParent(reference); - attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); - state.scrollElement = scrollElement; - state.eventsEnabled = true; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } - return state; -} + return target; + }; -/** - * It will add resize/scroll events and start recalculating - * position of the popper element when they are triggered. - * @method - * @memberof Popper - */ -function enableEventListeners() { - if (!this.state.eventsEnabled) { - this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); - } + module.exports["default"] = module.exports, module.exports.__esModule = true; + return _extends.apply(this, arguments); } -/** - * Remove event listeners used to update the popper position - * @method - * @memberof Popper.Utils - * @private - */ -function removeEventListeners(reference, state) { - // Remove resize event listener on window - getWindow(reference).removeEventListener('resize', state.updateBound); +module.exports = _extends; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); - // Remove scroll event listener on scroll parents - state.scrollParents.forEach(function (target) { - target.removeEventListener('scroll', state.updateBound); - }); +var _extends$1 = unwrapExports(_extends_1); - // Reset state - state.updateBound = null; - state.scrollParents = []; - state.scrollElement = null; - state.eventsEnabled = false; - return state; -} +var setPrototypeOf = createCommonjsModule(function (module) { +function _setPrototypeOf(o, p) { + module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; -/** - * It will remove resize/scroll events and won't recalculate popper position - * when they are triggered. It also won't trigger `onUpdate` callback anymore, - * unless you call `update` method manually. - * @method - * @memberof Popper - */ -function disableEventListeners() { - if (this.state.eventsEnabled) { - cancelAnimationFrame(this.scheduleUpdate); - this.state = removeEventListeners(this.reference, this.state); - } + module.exports["default"] = module.exports, module.exports.__esModule = true; + return _setPrototypeOf(o, p); } -/** - * Tells if a given input is a number - * @method - * @memberof Popper.Utils - * @param {*} input to check - * @return {Boolean} - */ -function isNumeric(n) { - return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); -} +module.exports = _setPrototypeOf; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); -/** - * Set the style to the given popper - * @method - * @memberof Popper.Utils - * @argument {Element} element - Element to apply the style to - * @argument {Object} styles - * Object with a list of properties and values which will be applied to the element - */ -function setStyles(element, styles) { - Object.keys(styles).forEach(function (prop) { - var unit = ''; - // add unit if the value is numeric and is one of the following - if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { - unit = 'px'; - } - element.style[prop] = styles[prop] + unit; - }); -} +unwrapExports(setPrototypeOf); -/** - * Set the attributes to the given popper - * @method - * @memberof Popper.Utils - * @argument {Element} element - Element to apply the attributes to - * @argument {Object} styles - * Object with a list of properties and values which will be applied to the element - */ -function setAttributes(element, attributes) { - Object.keys(attributes).forEach(function (prop) { - var value = attributes[prop]; - if (value !== false) { - element.setAttribute(prop, attributes[prop]); - } else { - element.removeAttribute(prop); - } - }); +var inheritsLoose = createCommonjsModule(function (module) { +function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + setPrototypeOf(subClass, superClass); } -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by `update` method - * @argument {Object} data.styles - List of style properties - values to apply to popper element - * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The same data object - */ -function applyStyle(data) { - // any property present in `data.styles` will be applied to the popper, - // in this way we can make the 3rd party modifiers add custom styles to it - // Be aware, modifiers could override the properties defined in the previous - // lines of this modifier! - setStyles(data.instance.popper, data.styles); +module.exports = _inheritsLoose; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); - // any property present in `data.attributes` will be applied to the popper, - // they will be set as HTML attributes of the element - setAttributes(data.instance.popper, data.attributes); +var _inheritsLoose = unwrapExports(inheritsLoose); - // if arrowElement is defined and arrowStyles has some properties - if (data.arrowElement && Object.keys(data.arrowStyles).length) { - setStyles(data.arrowElement, data.arrowStyles); +var assertThisInitialized = createCommonjsModule(function (module) { +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return data; + return self; } -/** - * Set the x-placement attribute before everything else because it could be used - * to add margins to the popper margins needs to be calculated to get the - * correct popper offsets. - * @method - * @memberof Popper.modifiers - * @param {HTMLElement} reference - The reference element used to position the popper - * @param {HTMLElement} popper - The HTML element used as popper - * @param {Object} options - Popper.js options - */ -function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { - // compute reference element offsets - var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); - - // compute auto placement, store placement inside the data object, - // modifiers will be able to edit `placement` if needed - // and refer to originalPlacement to know the original value - var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); +module.exports = _assertThisInitialized; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); - popper.setAttribute('x-placement', placement); +var _assertThisInitialized = unwrapExports(assertThisInitialized); - // Apply `position` to popper before anything else because - // without the position applied we can't guarantee correct computations - setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); +var defineProperty$3 = createCommonjsModule(function (module) { +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } - return options; + return obj; } -/** - * @function - * @memberof Popper.Utils - * @argument {Object} data - The data object generated by `update` method - * @argument {Boolean} shouldRound - If the offsets should be rounded at all - * @returns {Object} The popper's position offsets rounded - * - * The tale of pixel-perfect positioning. It's still not 100% perfect, but as - * good as it can be within reason. - * Discussion here: https://github.com/FezVrasta/popper.js/pull/715 - * - * Low DPI screens cause a popper to be blurry if not using full pixels (Safari - * as well on High DPI screens). - * - * Firefox prefers no rounding for positioning and does not have blurriness on - * high DPI screens. - * - * Only horizontal placement and left/right values need to be considered. - */ -function getRoundedOffsets(data, shouldRound) { - var _data$offsets = data.offsets, - popper = _data$offsets.popper, - reference = _data$offsets.reference; - var round = Math.round, - floor = Math.floor; +module.exports = _defineProperty; +module.exports["default"] = module.exports, module.exports.__esModule = true; +}); - var noRound = function noRound(v) { - return v; - }; +var _defineProperty = unwrapExports(defineProperty$3); - var referenceWidth = round(reference.width); - var popperWidth = round(popper.width); +var toStr$4 = Object.prototype.toString; - var isVertical = ['left', 'right'].indexOf(data.placement) !== -1; - var isVariation = data.placement.indexOf('-') !== -1; - var sameWidthParity = referenceWidth % 2 === popperWidth % 2; - var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1; +var isArguments$1 = function isArguments(value) { + var str = toStr$4.call(value); + var isArgs = str === '[object Arguments]'; + if (!isArgs) { + isArgs = str !== '[object Array]' && + value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + toStr$4.call(value.callee) === '[object Function]'; + } + return isArgs; +}; - var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor; - var verticalToInteger = !shouldRound ? noRound : round; +var keysShim$1; +if (!Object.keys) { + // modified from https://github.com/es-shims/es5-shim + var has$1 = Object.prototype.hasOwnProperty; + var toStr$3 = Object.prototype.toString; + var isArgs = isArguments$1; // eslint-disable-line global-require + var isEnumerable = Object.prototype.propertyIsEnumerable; + var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); + var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); + var dontEnums = [ + 'toString', + 'toLocaleString', + 'valueOf', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'constructor' + ]; + var equalsConstructorPrototype = function (o) { + var ctor = o.constructor; + return ctor && ctor.prototype === o; + }; + var excludedKeys = { + $applicationCache: true, + $console: true, + $external: true, + $frame: true, + $frameElement: true, + $frames: true, + $innerHeight: true, + $innerWidth: true, + $onmozfullscreenchange: true, + $onmozfullscreenerror: true, + $outerHeight: true, + $outerWidth: true, + $pageXOffset: true, + $pageYOffset: true, + $parent: true, + $scrollLeft: true, + $scrollTop: true, + $scrollX: true, + $scrollY: true, + $self: true, + $webkitIndexedDB: true, + $webkitStorageInfo: true, + $window: true + }; + var hasAutomationEqualityBug = (function () { + /* global window */ + if (typeof window === 'undefined') { return false; } + for (var k in window) { + try { + if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') { + try { + equalsConstructorPrototype(window[k]); + } catch (e) { + return true; + } + } + } catch (e) { + return true; + } + } + return false; + }()); + var equalsConstructorPrototypeIfNotBuggy = function (o) { + /* global window */ + if (typeof window === 'undefined' || !hasAutomationEqualityBug) { + return equalsConstructorPrototype(o); + } + try { + return equalsConstructorPrototype(o); + } catch (e) { + return false; + } + }; - return { - left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left), - top: verticalToInteger(popper.top), - bottom: verticalToInteger(popper.bottom), - right: horizontalToInteger(popper.right) - }; -} + keysShim$1 = function keys(object) { + var isObject = object !== null && typeof object === 'object'; + var isFunction = toStr$3.call(object) === '[object Function]'; + var isArguments = isArgs(object); + var isString = isObject && toStr$3.call(object) === '[object String]'; + var theKeys = []; -var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent); + if (!isObject && !isFunction && !isArguments) { + throw new TypeError('Object.keys called on a non-object'); + } -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by `update` method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function computeStyle(data, options) { - var x = options.x, - y = options.y; - var popper = data.offsets.popper; + var skipProto = hasProtoEnumBug && isFunction; + if (isString && object.length > 0 && !has$1.call(object, 0)) { + for (var i = 0; i < object.length; ++i) { + theKeys.push(String(i)); + } + } - // Remove this legacy support in Popper.js v2 + if (isArguments && object.length > 0) { + for (var j = 0; j < object.length; ++j) { + theKeys.push(String(j)); + } + } else { + for (var name in object) { + if (!(skipProto && name === 'prototype') && has$1.call(object, name)) { + theKeys.push(String(name)); + } + } + } - var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { - return modifier.name === 'applyStyle'; - }).gpuAcceleration; - if (legacyGpuAccelerationOption !== undefined) { - console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); - } - var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; + if (hasDontEnumBug) { + var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); - var offsetParent = getOffsetParent(data.instance.popper); - var offsetParentRect = getBoundingClientRect(offsetParent); + for (var k = 0; k < dontEnums.length; ++k) { + if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) { + theKeys.push(dontEnums[k]); + } + } + } + return theKeys; + }; +} +var implementation$4 = keysShim$1; - // Styles - var styles = { - position: popper.position - }; +var slice$1 = Array.prototype.slice; - var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox); - var sideA = x === 'bottom' ? 'top' : 'bottom'; - var sideB = y === 'right' ? 'left' : 'right'; +var origKeys = Object.keys; +var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$4; - // if gpuAcceleration is set to `true` and transform is supported, - // we use `translate3d` to apply the position to the popper we - // automatically use the supported prefixed version if needed - var prefixedProperty = getSupportedPropertyName('transform'); +var originalKeys = Object.keys; - // now, let's make a step back and look at this code closely (wtf?) - // If the content of the popper grows once it's been positioned, it - // may happen that the popper gets misplaced because of the new content - // overflowing its reference element - // To avoid this problem, we provide two options (x and y), which allow - // the consumer to define the offset origin. - // If we position a popper on top of a reference element, we can set - // `x` to `top` to make the popper grow towards its top instead of - // its bottom. - var left = void 0, - top = void 0; - if (sideA === 'bottom') { - // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar) - // and not the bottom of the html element - if (offsetParent.nodeName === 'HTML') { - top = -offsetParent.clientHeight + offsets.bottom; - } else { - top = -offsetParentRect.height + offsets.bottom; - } - } else { - top = offsets.top; - } - if (sideB === 'right') { - if (offsetParent.nodeName === 'HTML') { - left = -offsetParent.clientWidth + offsets.right; - } else { - left = -offsetParentRect.width + offsets.right; - } - } else { - left = offsets.left; - } - if (gpuAcceleration && prefixedProperty) { - styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; - styles[sideA] = 0; - styles[sideB] = 0; - styles.willChange = 'transform'; - } else { - // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties - var invertTop = sideA === 'bottom' ? -1 : 1; - var invertLeft = sideB === 'right' ? -1 : 1; - styles[sideA] = top * invertTop; - styles[sideB] = left * invertLeft; - styles.willChange = sideA + ', ' + sideB; - } +keysShim.shim = function shimObjectKeys() { + if (Object.keys) { + var keysWorksWithArguments = (function () { + // Safari 5.0 bug + var args = Object.keys(arguments); + return args && args.length === arguments.length; + }(1, 2)); + if (!keysWorksWithArguments) { + Object.keys = function keys(object) { // eslint-disable-line func-name-matching + if (isArguments$1(object)) { + return originalKeys(slice$1.call(object)); + } + return originalKeys(object); + }; + } + } else { + Object.keys = keysShim; + } + return Object.keys || keysShim; +}; - // Attributes - var attributes = { - 'x-placement': data.placement - }; +var objectKeys = keysShim; - // Update `data` attributes, styles and arrowStyles - data.attributes = _extends$1({}, attributes, data.attributes); - data.styles = _extends$1({}, styles, data.styles); - data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles); +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +var shams$1 = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } - return data; -} + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } -/** - * Helper used to know if the given modifier depends from another one.
- * It checks if the needed modifier is listed and enabled. - * @method - * @memberof Popper.Utils - * @param {Array} modifiers - list of modifiers - * @param {String} requestingName - name of requesting modifier - * @param {String} requestedName - name of requested modifier - * @returns {Boolean} - */ -function isModifierRequired(modifiers, requestingName, requestedName) { - var requesting = find(modifiers, function (_ref) { - var name = _ref.name; - return name === requestingName; - }); + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } - var isRequired = !!requesting && modifiers.some(function (modifier) { - return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; - }); - - if (!isRequired) { - var _requesting = '`' + requestingName + '`'; - var requested = '`' + requestedName + '`'; - console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); - } - return isRequired; -} - -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function arrow(data, options) { - var _data$offsets$arrow; + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } - // arrow depends on keepTogether in order to work - if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { - return data; - } + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } - var arrowElement = options.element; + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } - // if arrowElement is a string, suppose it's a CSS selector - if (typeof arrowElement === 'string') { - arrowElement = data.instance.popper.querySelector(arrowElement); + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } - // if arrowElement is not found, don't run the modifier - if (!arrowElement) { - return data; - } - } else { - // if the arrowElement isn't a query selector we must check that the - // provided DOM node is child of its popper node - if (!data.instance.popper.contains(arrowElement)) { - console.warn('WARNING: `arrow.element` must be child of its popper element!'); - return data; - } - } + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } - var placement = data.placement.split('-')[0]; - var _data$offsets = data.offsets, - popper = _data$offsets.popper, - reference = _data$offsets.reference; + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } - var isVertical = ['left', 'right'].indexOf(placement) !== -1; + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } - var len = isVertical ? 'height' : 'width'; - var sideCapitalized = isVertical ? 'Top' : 'Left'; - var side = sideCapitalized.toLowerCase(); - var altSide = isVertical ? 'left' : 'top'; - var opSide = isVertical ? 'bottom' : 'right'; - var arrowElementSize = getOuterSizes(arrowElement)[len]; + return true; +}; - // - // extends keepTogether behavior making sure the popper and its - // reference have enough pixels in conjunction - // +var shams = function hasToStringTagShams() { + return shams$1() && !!Symbol.toStringTag; +}; - // top/left side - if (reference[opSide] - arrowElementSize < popper[side]) { - data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); - } - // bottom/right side - if (reference[side] + arrowElementSize > popper[opSide]) { - data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; - } - data.offsets.popper = getClientRect(data.offsets.popper); +var origSymbol = typeof Symbol !== 'undefined' && Symbol; - // compute center of the popper - var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; - // Compute the sideValue using the updated popper offsets - // take popper margin in account because we don't have this info available - var css = getStyleComputedProperty(data.instance.popper); - var popperMarginSide = parseFloat(css['margin' + sideCapitalized]); - var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']); - var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; +var hasSymbols$2 = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } - // prevent arrowElement from being placed not contiguously to its popper - sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); + return shams$1(); +}; - data.arrowElement = arrowElement; - data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); +/* eslint no-invalid-this: 1 */ - return data; -} +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr$2 = Object.prototype.toString; +var funcType = '[object Function]'; -/** - * Get the opposite placement variation of the given one - * @method - * @memberof Popper.Utils - * @argument {String} placement variation - * @returns {String} flipped placement variation - */ -function getOppositeVariation(variation) { - if (variation === 'end') { - return 'start'; - } else if (variation === 'start') { - return 'end'; - } - return variation; -} +var implementation$3 = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr$2.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); -/** - * List of accepted placements to use as values of the `placement` option.
- * Valid placements are: - * - `auto` - * - `top` - * - `right` - * - `bottom` - * - `left` - * - * Each placement can have a variation from this list: - * - `-start` - * - `-end` - * - * Variations are interpreted easily if you think of them as the left to right - * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` - * is right.
- * Vertically (`left` and `right`), `start` is top and `end` is bottom. - * - * Some valid examples are: - * - `top-end` (on top of reference, right aligned) - * - `right-start` (on right of reference, top aligned) - * - `bottom` (on bottom, centered) - * - `auto-end` (on the side with more space available, alignment depends by placement) - * - * @static - * @type {Array} - * @enum {String} - * @readonly - * @method placements - * @memberof Popper - */ -var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; -// Get rid of `auto` `auto-start` and `auto-end` -var validPlacements = placements.slice(3); + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } -/** - * Given an initial placement, returns all the subsequent placements - * clockwise (or counter-clockwise). - * - * @method - * @memberof Popper.Utils - * @argument {String} placement - A valid placement (it accepts variations) - * @argument {Boolean} counter - Set to true to walk the placements counterclockwise - * @returns {Array} placements including their variations - */ -function clockwise(placement) { - var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); - var index = validPlacements.indexOf(placement); - var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); - return counter ? arr.reverse() : arr; -} + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } -var BEHAVIORS = { - FLIP: 'flip', - CLOCKWISE: 'clockwise', - COUNTERCLOCKWISE: 'counterclockwise' + return bound; }; -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function flip(data, options) { - // if `inner` modifier is enabled, we can't use the `flip` modifier - if (isModifierEnabled(data.instance.modifiers, 'inner')) { - return data; - } +var functionBind = Function.prototype.bind || implementation$3; - if (data.flipped && data.placement === data.originalPlacement) { - // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides - return data; - } +var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty); - var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed); +var undefined$1; - var placement = data.placement.split('-')[0]; - var placementOpposite = getOppositePlacement(placement); - var variation = data.placement.split('-')[1] || ''; +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError$2 = TypeError; - var flipOrder = []; +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; - switch (options.behavior) { - case BEHAVIORS.FLIP: - flipOrder = [placement, placementOpposite]; - break; - case BEHAVIORS.CLOCKWISE: - flipOrder = clockwise(placement); - break; - case BEHAVIORS.COUNTERCLOCKWISE: - flipOrder = clockwise(placement, true); - break; - default: - flipOrder = options.behavior; - } +var $gOPD$1 = Object.getOwnPropertyDescriptor; +if ($gOPD$1) { + try { + $gOPD$1({}, ''); + } catch (e) { + $gOPD$1 = null; // this is IE 8, which has a broken gOPD + } +} - flipOrder.forEach(function (step, index) { - if (placement !== step || flipOrder.length === index + 1) { - return data; - } +var throwTypeError = function () { + throw new $TypeError$2(); +}; +var ThrowTypeError = $gOPD$1 + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD$1(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; - placement = data.placement.split('-')[0]; - placementOpposite = getOppositePlacement(placement); +var hasSymbols$1 = hasSymbols$2(); - var popperOffsets = data.offsets.popper; - var refOffsets = data.offsets.reference; +var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto - // using floor because the reference offsets may contain decimals we are not going to consider here - var floor = Math.floor; - var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); +var needsEval = {}; - var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); - var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); - var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); - var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); +var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto$1(Uint8Array); - var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols$1 ? getProto$1([][Symbol.iterator]()) : undefined$1, + '%AsyncFromSyncIteratorPrototype%': undefined$1, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1, + '%JSON%': typeof JSON === 'object' ? JSON : undefined$1, + '%Map%': typeof Map === 'undefined' ? undefined$1 : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined$1 : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols$1 ? getProto$1(''[Symbol.iterator]()) : undefined$1, + '%Symbol%': hasSymbols$1 ? Symbol : undefined$1, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError$2, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet +}; - // flip the variation if required - var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto$1(gen.prototype); + } + } - // flips variation if reference element overflows boundaries - var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); + INTRINSICS[name] = value; - // flips variation if popper content overflows boundaries - var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop); + return value; +}; - var flippedVariation = flippedVariationByRef || flippedVariationByContent; +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; - if (overlapsRef || overflowsBoundaries || flippedVariation) { - // this boolean to detect any flip loop - data.flipped = true; - if (overlapsRef || overflowsBoundaries) { - placement = flipOrder[index + 1]; - } - if (flippedVariation) { - variation = getOppositeVariation(variation); - } +var $concat = functionBind.call(Function.call, Array.prototype.concat); +var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice); +var $replace = functionBind.call(Function.call, String.prototype.replace); +var $strSlice = functionBind.call(Function.call, String.prototype.slice); - data.placement = placement + (variation ? '-' + variation : ''); +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ - // this object contains `position`, we want to preserve it along with - // any additional property we may add in the future - data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (src(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } - data = runModifiers(data.instance.modifiers, data, 'flip'); - } - }); - return data; -} + if (src(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError$2('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function keepTogether(data) { - var _data$offsets = data.offsets, - popper = _data$offsets.popper, - reference = _data$offsets.reference; - - var placement = data.placement.split('-')[0]; - var floor = Math.floor; - var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; - var side = isVertical ? 'right' : 'bottom'; - var opSide = isVertical ? 'left' : 'top'; - var measurement = isVertical ? 'width' : 'height'; + return { + alias: alias, + name: intrinsicName, + value: value + }; + } - if (popper[side] < floor(reference[opSide])) { - data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; - } - if (popper[opSide] > floor(reference[side])) { - data.offsets.popper[opSide] = floor(reference[side]); - } + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; - return data; -} +var getIntrinsic = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError$2('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError$2('"allowMissing" argument must be a boolean'); + } -/** - * Converts a string containing value + unit into a px value number - * @function - * @memberof {modifiers~offset} - * @private - * @argument {String} str - Value + unit string - * @argument {String} measurement - `height` or `width` - * @argument {Object} popperOffsets - * @argument {Object} referenceOffsets - * @returns {Number|String} - * Value in pixels, or original string if no values were extracted - */ -function toValue(str, measurement, popperOffsets, referenceOffsets) { - // separate value from unit - var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); - var value = +split[1]; - var unit = split[2]; + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; - // If it's not a number it's an operator, I guess - if (!value) { - return str; - } + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; - if (unit.indexOf('%') === 0) { - var element = void 0; - switch (unit) { - case '%p': - element = popperOffsets; - break; - case '%': - case '%r': - default: - element = referenceOffsets; - } + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } - var rect = getClientRect(element); - return rect[measurement] / 100 * value; - } else if (unit === 'vh' || unit === 'vw') { - // if is a vh or vw, we calculate the size based on the viewport - var size = void 0; - if (unit === 'vh') { - size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); - } else { - size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); - } - return size / 100 * value; - } else { - // if is an explicit pixel unit, we get rid of the unit and keep the value - // if is an implicit unit, it's px, and we return just the value - return value; - } -} + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } -/** - * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. - * @function - * @memberof {modifiers~offset} - * @private - * @argument {String} offset - * @argument {Object} popperOffsets - * @argument {Object} referenceOffsets - * @argument {String} basePlacement - * @returns {Array} a two cells array with x and y offsets in numbers - */ -function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { - var offsets = [0, 0]; + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; - // Use height if placement is left or right and index is 0 otherwise use width - // in this way the first offset will use an axis and the second one - // will use the other one - var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; + if (src(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError$2('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined$1; + } + if ($gOPD$1 && (i + 1) >= parts.length) { + var desc = $gOPD$1(value, part); + isOwn = !!desc; - // Split the offset string to obtain a list of values and operands - // The regex addresses values with the plus or minus sign in front (+10, -20, etc) - var fragments = offset.split(/(\+|\-)/).map(function (frag) { - return frag.trim(); - }); + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = src(value, part); + value = value[part]; + } - // Detect if the offset string contains a pair of values or a single one - // they could be separated by comma or space - var divider = fragments.indexOf(find(fragments, function (frag) { - return frag.search(/,|\s/) !== -1; - })); + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; - if (fragments[divider] && fragments[divider].indexOf(',') === -1) { - console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); - } +var callBind = createCommonjsModule(function (module) { - // If divider is found, we divide the list of values and operands to divide - // them by ofset X and Y. - var splitRegex = /\s*,\s*|\s+/; - var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; - // Convert the values with units to absolute pixels to allow our computations - ops = ops.map(function (op, index) { - // Most of the units rely on the orientation of the popper - var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; - var mergeWithPrevious = false; - return op - // This aggregates any `+` or `-` sign that aren't considered operators - // e.g.: 10 + +5 => [10, +, +5] - .reduce(function (a, b) { - if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { - a[a.length - 1] = b; - mergeWithPrevious = true; - return a; - } else if (mergeWithPrevious) { - a[a.length - 1] += b; - mergeWithPrevious = false; - return a; - } else { - return a.concat(b); - } - }, []) - // Here we convert the string values into number values (in px) - .map(function (str) { - return toValue(str, measurement, popperOffsets, referenceOffsets); - }); - }); - // Loop trough the offsets arrays and execute the operations - ops.forEach(function (op, index) { - op.forEach(function (frag, index2) { - if (isNumeric(frag)) { - offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); - } - }); - }); - return offsets; -} -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @argument {Number|String} options.offset=0 - * The offset value as described in the modifier description - * @returns {Object} The data object, properly modified - */ -function offset(data, _ref) { - var offset = _ref.offset; - var placement = data.placement, - _data$offsets = data.offsets, - popper = _data$offsets.popper, - reference = _data$offsets.reference; +var $apply = getIntrinsic('%Function.prototype.apply%'); +var $call = getIntrinsic('%Function.prototype.call%'); +var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply); - var basePlacement = placement.split('-')[0]; +var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = getIntrinsic('%Object.defineProperty%', true); +var $max = getIntrinsic('%Math.max%'); - var offsets = void 0; - if (isNumeric(+offset)) { - offsets = [+offset, 0]; - } else { - offsets = parseOffset(offset, popper, reference, basePlacement); - } +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} - if (basePlacement === 'left') { - popper.top += offsets[0]; - popper.left -= offsets[1]; - } else if (basePlacement === 'right') { - popper.top += offsets[0]; - popper.left += offsets[1]; - } else if (basePlacement === 'top') { - popper.left += offsets[0]; - popper.top -= offsets[1]; - } else if (basePlacement === 'bottom') { - popper.left += offsets[0]; - popper.top += offsets[1]; - } +module.exports = function callBind(originalFunction) { + var func = $reflectApply(functionBind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; - data.popper = popper; - return data; +var applyBind = function applyBind() { + return $reflectApply(functionBind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; } +}); +callBind.apply; -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by `update` method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function preventOverflow(data, options) { - var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); +var $indexOf = callBind(getIntrinsic('String.prototype.indexOf')); - // If offsetParent is the reference element, we really want to - // go one step up and use the next offsetParent as reference to - // avoid to make this modifier completely useless and look like broken - if (data.instance.reference === boundariesElement) { - boundariesElement = getOffsetParent(boundariesElement); - } +var callBound = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = getIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; - // NOTE: DOM access here - // resets the popper's position so that the document size can be calculated excluding - // the size of the popper element itself - var transformProp = getSupportedPropertyName('transform'); - var popperStyles = data.instance.popper.style; // assignment to help minification - var top = popperStyles.top, - left = popperStyles.left, - transform = popperStyles[transformProp]; +var hasToStringTag$2 = shams(); - popperStyles.top = ''; - popperStyles.left = ''; - popperStyles[transformProp] = ''; - var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); +var $toString$1 = callBound('Object.prototype.toString'); - // NOTE: DOM access here - // restores the original style properties after the offsets have been computed - popperStyles.top = top; - popperStyles.left = left; - popperStyles[transformProp] = transform; +var isStandardArguments = function isArguments(value) { + if (hasToStringTag$2 && value && typeof value === 'object' && Symbol.toStringTag in value) { + return false; + } + return $toString$1(value) === '[object Arguments]'; +}; - options.boundaries = boundaries; +var isLegacyArguments = function isArguments(value) { + if (isStandardArguments(value)) { + return true; + } + return value !== null && + typeof value === 'object' && + typeof value.length === 'number' && + value.length >= 0 && + $toString$1(value) !== '[object Array]' && + $toString$1(value.callee) === '[object Function]'; +}; - var order = options.priority; - var popper = data.offsets.popper; +var supportsStandardArguments = (function () { + return isStandardArguments(arguments); +}()); - var check = { - primary: function primary(placement) { - var value = popper[placement]; - if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { - value = Math.max(popper[placement], boundaries[placement]); - } - return defineProperty({}, placement, value); - }, - secondary: function secondary(placement) { - var mainSide = placement === 'right' ? 'left' : 'top'; - var value = popper[mainSide]; - if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { - value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); - } - return defineProperty({}, mainSide, value); - } - }; +isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests - order.forEach(function (placement) { - var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; - popper = _extends$1({}, popper, check[side](placement)); - }); +var isArguments = supportsStandardArguments ? isStandardArguments : isLegacyArguments; - data.offsets.popper = popper; +var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; - return data; -} +var toStr$1 = Object.prototype.toString; +var concat = Array.prototype.concat; +var origDefineProperty = Object.defineProperty; -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by `update` method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function shift(data) { - var placement = data.placement; - var basePlacement = placement.split('-')[0]; - var shiftvariation = placement.split('-')[1]; +var isFunction$1 = function (fn) { + return typeof fn === 'function' && toStr$1.call(fn) === '[object Function]'; +}; - // if shift shiftvariation is specified, run the modifier - if (shiftvariation) { - var _data$offsets = data.offsets, - reference = _data$offsets.reference, - popper = _data$offsets.popper; +var arePropertyDescriptorsSupported = function () { + var obj = {}; + try { + origDefineProperty(obj, 'x', { enumerable: false, value: obj }); + // eslint-disable-next-line no-unused-vars, no-restricted-syntax + for (var _ in obj) { // jscs:ignore disallowUnusedVariables + return false; + } + return obj.x === obj; + } catch (e) { /* this is IE 8. */ + return false; + } +}; +var supportsDescriptors$2 = origDefineProperty && arePropertyDescriptorsSupported(); - var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; - var side = isVertical ? 'left' : 'top'; - var measurement = isVertical ? 'width' : 'height'; +var defineProperty$2 = function (object, name, value, predicate) { + if (name in object && (!isFunction$1(predicate) || !predicate())) { + return; + } + if (supportsDescriptors$2) { + origDefineProperty(object, name, { + configurable: true, + enumerable: false, + value: value, + writable: true + }); + } else { + object[name] = value; + } +}; - var shiftOffsets = { - start: defineProperty({}, side, reference[side]), - end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) - }; +var defineProperties = function (object, map) { + var predicates = arguments.length > 2 ? arguments[2] : {}; + var props = objectKeys(map); + if (hasSymbols) { + props = concat.call(props, Object.getOwnPropertySymbols(map)); + } + for (var i = 0; i < props.length; i += 1) { + defineProperty$2(object, props[i], map[props[i]], predicates[props[i]]); + } +}; - data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]); - } +defineProperties.supportsDescriptors = !!supportsDescriptors$2; - return data; -} +var defineProperties_1 = defineProperties; -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by update method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function hide(data) { - if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { - return data; - } +var numberIsNaN = function (value) { + return value !== value; +}; - var refRect = data.offsets.reference; - var bound = find(data.instance.modifiers, function (modifier) { - return modifier.name === 'preventOverflow'; - }).boundaries; +var implementation$2 = function is(a, b) { + if (a === 0 && b === 0) { + return 1 / a === 1 / b; + } + if (a === b) { + return true; + } + if (numberIsNaN(a) && numberIsNaN(b)) { + return true; + } + return false; +}; - if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { - // Avoid unnecessary DOM access if visibility hasn't changed - if (data.hide === true) { - return data; - } +var polyfill$2 = function getPolyfill() { + return typeof Object.is === 'function' ? Object.is : implementation$2; +}; - data.hide = true; - data.attributes['x-out-of-boundaries'] = ''; - } else { - // Avoid unnecessary DOM access if visibility hasn't changed - if (data.hide === false) { - return data; - } +var shim$1 = function shimObjectIs() { + var polyfill = polyfill$2(); + defineProperties_1(Object, { is: polyfill }, { + is: function testObjectIs() { + return Object.is !== polyfill; + } + }); + return polyfill; +}; - data.hide = false; - data.attributes['x-out-of-boundaries'] = false; - } +var polyfill$1 = callBind(polyfill$2(), Object); - return data; -} - -/** - * @function - * @memberof Modifiers - * @argument {Object} data - The data object generated by `update` method - * @argument {Object} options - Modifiers configuration and options - * @returns {Object} The data object, properly modified - */ -function inner(data) { - var placement = data.placement; - var basePlacement = placement.split('-')[0]; - var _data$offsets = data.offsets, - popper = _data$offsets.popper, - reference = _data$offsets.reference; +defineProperties_1(polyfill$1, { + getPolyfill: polyfill$2, + implementation: implementation$2, + shim: shim$1 +}); - var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; +var objectIs = polyfill$1; - var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; +var hasToStringTag$1 = shams(); +var has; +var $exec; +var isRegexMarker; +var badStringifier; - popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); +if (hasToStringTag$1) { + has = callBound('Object.prototype.hasOwnProperty'); + $exec = callBound('RegExp.prototype.exec'); + isRegexMarker = {}; - data.placement = getOppositePlacement(placement); - data.offsets.popper = getClientRect(popper); + var throwRegexMarker = function () { + throw isRegexMarker; + }; + badStringifier = { + toString: throwRegexMarker, + valueOf: throwRegexMarker + }; - return data; + if (typeof Symbol.toPrimitive === 'symbol') { + badStringifier[Symbol.toPrimitive] = throwRegexMarker; + } } -/** - * Modifier function, each modifier can have a function of this type assigned - * to its `fn` property.
- * These functions will be called on each update, this means that you must - * make sure they are performant enough to avoid performance bottlenecks. - * - * @function ModifierFn - * @argument {dataObject} data - The data object generated by `update` method - * @argument {Object} options - Modifiers configuration and options - * @returns {dataObject} The data object, properly modified - */ +var $toString = callBound('Object.prototype.toString'); +var gOPD$1 = Object.getOwnPropertyDescriptor; +var regexClass = '[object RegExp]'; -/** - * Modifiers are plugins used to alter the behavior of your poppers.
- * Popper.js uses a set of 9 modifiers to provide all the basic functionalities - * needed by the library. - * - * Usually you don't want to override the `order`, `fn` and `onLoad` props. - * All the other properties are configurations that could be tweaked. - * @namespace modifiers - */ -var modifiers = { - /** - * Modifier used to shift the popper on the start or end of its reference - * element.
- * It will read the variation of the `placement` property.
- * It can be one either `-end` or `-start`. - * @memberof modifiers - * @inner - */ - shift: { - /** @prop {number} order=100 - Index used to define the order of execution */ - order: 100, - /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ - enabled: true, - /** @prop {ModifierFn} */ - fn: shift - }, +var isRegex = hasToStringTag$1 + // eslint-disable-next-line consistent-return + ? function isRegex(value) { + if (!value || typeof value !== 'object') { + return false; + } - /** - * The `offset` modifier can shift your popper on both its axis. - * - * It accepts the following units: - * - `px` or unit-less, interpreted as pixels - * - `%` or `%r`, percentage relative to the length of the reference element - * - `%p`, percentage relative to the length of the popper element - * - `vw`, CSS viewport width unit - * - `vh`, CSS viewport height unit - * - * For length is intended the main axis relative to the placement of the popper.
- * This means that if the placement is `top` or `bottom`, the length will be the - * `width`. In case of `left` or `right`, it will be the `height`. - * - * You can provide a single value (as `Number` or `String`), or a pair of values - * as `String` divided by a comma or one (or more) white spaces.
- * The latter is a deprecated method because it leads to confusion and will be - * removed in v2.
- * Additionally, it accepts additions and subtractions between different units. - * Note that multiplications and divisions aren't supported. - * - * Valid examples are: - * ``` - * 10 - * '10%' - * '10, 10' - * '10%, 10' - * '10 + 10%' - * '10 - 5vh + 3%' - * '-10px + 5vh, 5px - 6%' - * ``` - * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap - * > with their reference element, unfortunately, you will have to disable the `flip` modifier. - * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). - * - * @memberof modifiers - * @inner - */ - offset: { - /** @prop {number} order=200 - Index used to define the order of execution */ - order: 200, - /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ - enabled: true, - /** @prop {ModifierFn} */ - fn: offset, - /** @prop {Number|String} offset=0 - * The offset value as described in the modifier description - */ - offset: 0 - }, + var descriptor = gOPD$1(value, 'lastIndex'); + var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); + if (!hasLastIndexDataProperty) { + return false; + } - /** - * Modifier used to prevent the popper from being positioned outside the boundary. - * - * A scenario exists where the reference itself is not within the boundaries.
- * We can say it has "escaped the boundaries" — or just "escaped".
- * In this case we need to decide whether the popper should either: - * - * - detach from the reference and remain "trapped" in the boundaries, or - * - if it should ignore the boundary and "escape with its reference" - * - * When `escapeWithReference` is set to`true` and reference is completely - * outside its boundaries, the popper will overflow (or completely leave) - * the boundaries in order to remain attached to the edge of the reference. - * - * @memberof modifiers - * @inner - */ - preventOverflow: { - /** @prop {number} order=300 - Index used to define the order of execution */ - order: 300, - /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ - enabled: true, - /** @prop {ModifierFn} */ - fn: preventOverflow, - /** - * @prop {Array} [priority=['left','right','top','bottom']] - * Popper will try to prevent overflow following these priorities by default, - * then, it could overflow on the left and on top of the `boundariesElement` - */ - priority: ['left', 'right', 'top', 'bottom'], - /** - * @prop {number} padding=5 - * Amount of pixel used to define a minimum distance between the boundaries - * and the popper. This makes sure the popper always has a little padding - * between the edges of its container - */ - padding: 5, - /** - * @prop {String|HTMLElement} boundariesElement='scrollParent' - * Boundaries used by the modifier. Can be `scrollParent`, `window`, - * `viewport` or any DOM element. - */ - boundariesElement: 'scrollParent' - }, + try { + $exec(value, badStringifier); + } catch (e) { + return e === isRegexMarker; + } + } + : function isRegex(value) { + // In older browsers, typeof regex incorrectly returns 'function' + if (!value || (typeof value !== 'object' && typeof value !== 'function')) { + return false; + } - /** - * Modifier used to make sure the reference and its popper stay near each other - * without leaving any gap between the two. Especially useful when the arrow is - * enabled and you want to ensure that it points to its reference element. - * It cares only about the first axis. You can still have poppers with margin - * between the popper and its reference element. - * @memberof modifiers - * @inner - */ - keepTogether: { - /** @prop {number} order=400 - Index used to define the order of execution */ - order: 400, - /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ - enabled: true, - /** @prop {ModifierFn} */ - fn: keepTogether - }, + return $toString(value) === regexClass; + }; - /** - * This modifier is used to move the `arrowElement` of the popper to make - * sure it is positioned between the reference element and its popper element. - * It will read the outer size of the `arrowElement` node to detect how many - * pixels of conjunction are needed. - * - * It has no effect if no `arrowElement` is provided. - * @memberof modifiers - * @inner - */ - arrow: { - /** @prop {number} order=500 - Index used to define the order of execution */ - order: 500, - /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ - enabled: true, - /** @prop {ModifierFn} */ - fn: arrow, - /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ - element: '[x-arrow]' - }, +var $Object = Object; +var $TypeError$1 = TypeError; - /** - * Modifier used to flip the popper's placement when it starts to overlap its - * reference element. - * - * Requires the `preventOverflow` modifier before it in order to work. - * - * **NOTE:** this modifier will interrupt the current update cycle and will - * restart it if it detects the need to flip the placement. - * @memberof modifiers - * @inner - */ - flip: { - /** @prop {number} order=600 - Index used to define the order of execution */ - order: 600, +var implementation$1 = function flags() { + if (this != null && this !== $Object(this)) { + throw new $TypeError$1('RegExp.prototype.flags getter called on non-object'); + } + var result = ''; + if (this.global) { + result += 'g'; + } + if (this.ignoreCase) { + result += 'i'; + } + if (this.multiline) { + result += 'm'; + } + if (this.dotAll) { + result += 's'; + } + if (this.unicode) { + result += 'u'; + } + if (this.sticky) { + result += 'y'; + } + return result; +}; + +var supportsDescriptors$1 = defineProperties_1.supportsDescriptors; +var $gOPD = Object.getOwnPropertyDescriptor; +var $TypeError = TypeError; + +var polyfill = function getPolyfill() { + if (!supportsDescriptors$1) { + throw new $TypeError('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); + } + if ((/a/mig).flags === 'gim') { + var descriptor = $gOPD(RegExp.prototype, 'flags'); + if (descriptor && typeof descriptor.get === 'function' && typeof (/a/).dotAll === 'boolean') { + return descriptor.get; + } + } + return implementation$1; +}; + +var supportsDescriptors = defineProperties_1.supportsDescriptors; + +var gOPD = Object.getOwnPropertyDescriptor; +var defineProperty$1 = Object.defineProperty; +var TypeErr = TypeError; +var getProto = Object.getPrototypeOf; +var regex = /a/; + +var shim = function shimFlags() { + if (!supportsDescriptors || !getProto) { + throw new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors'); + } + var polyfill$1 = polyfill(); + var proto = getProto(regex); + var descriptor = gOPD(proto, 'flags'); + if (!descriptor || descriptor.get !== polyfill$1) { + defineProperty$1(proto, 'flags', { + configurable: true, + enumerable: false, + get: polyfill$1 + }); + } + return polyfill$1; +}; + +var flagsBound = callBind(implementation$1); + +defineProperties_1(flagsBound, { + getPolyfill: polyfill, + implementation: implementation$1, + shim: shim +}); + +var regexp_prototype_flags = flagsBound; + +var getDay = Date.prototype.getDay; +var tryDateObject = function tryDateGetDayCall(value) { + try { + getDay.call(value); + return true; + } catch (e) { + return false; + } +}; + +var toStr = Object.prototype.toString; +var dateClass = '[object Date]'; +var hasToStringTag = shams(); + +var isDateObject = function isDateObject(value) { + if (typeof value !== 'object' || value === null) { + return false; + } + return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass; +}; + +var getTime = Date.prototype.getTime; + +function deepEqual(actual, expected, options) { + var opts = options || {}; + + // 7.1. All identical values are equivalent, as determined by ===. + if (opts.strict ? objectIs(actual, expected) : actual === expected) { + return true; + } + + // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==. + if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) { + return opts.strict ? objectIs(actual, expected) : actual == expected; + } + + /* + * 7.4. For all other Object pairs, including Array objects, equivalence is + * determined by having the same number of owned properties (as verified + * with Object.prototype.hasOwnProperty.call), the same set of keys + * (although not necessarily the same order), equivalent values for every + * corresponding key, and an identical 'prototype' property. Note: this + * accounts for both named and indexed properties on Arrays. + */ + // eslint-disable-next-line no-use-before-define + return objEquiv(actual, expected, opts); +} + +function isUndefinedOrNull(value) { + return value === null || value === undefined; +} + +function isBuffer(x) { + if (!x || typeof x !== 'object' || typeof x.length !== 'number') { + return false; + } + if (typeof x.copy !== 'function' || typeof x.slice !== 'function') { + return false; + } + if (x.length > 0 && typeof x[0] !== 'number') { + return false; + } + return true; +} + +function objEquiv(a, b, opts) { + /* eslint max-statements: [2, 50] */ + var i, key; + if (typeof a !== typeof b) { return false; } + if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) { return false; } + + // an identical 'prototype' property. + if (a.prototype !== b.prototype) { return false; } + + if (isArguments(a) !== isArguments(b)) { return false; } + + var aIsRegex = isRegex(a); + var bIsRegex = isRegex(b); + if (aIsRegex !== bIsRegex) { return false; } + if (aIsRegex || bIsRegex) { + return a.source === b.source && regexp_prototype_flags(a) === regexp_prototype_flags(b); + } + + if (isDateObject(a) && isDateObject(b)) { + return getTime.call(a) === getTime.call(b); + } + + var aIsBuffer = isBuffer(a); + var bIsBuffer = isBuffer(b); + if (aIsBuffer !== bIsBuffer) { return false; } + if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here + if (a.length !== b.length) { return false; } + for (i = 0; i < a.length; i++) { + if (a[i] !== b[i]) { return false; } + } + return true; + } + + if (typeof a !== typeof b) { return false; } + + try { + var ka = objectKeys(a); + var kb = objectKeys(b); + } catch (e) { // happens when one is a string literal and the other isn't + return false; + } + // having the same number of owned properties (keys incorporates hasOwnProperty) + if (ka.length !== kb.length) { return false; } + + // the same set of keys (although not necessarily the same order), + ka.sort(); + kb.sort(); + // ~~~cheap key test + for (i = ka.length - 1; i >= 0; i--) { + if (ka[i] != kb[i]) { return false; } + } + // equivalent values for every corresponding key, and ~~~possibly expensive deep test + for (i = ka.length - 1; i >= 0; i--) { + key = ka[i]; + if (!deepEqual(a[key], b[key], opts)) { return false; } + } + + return true; +} + +var deepEqual_1 = deepEqual; + +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ +var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined'; + +var timeoutDuration = function () { + var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; + for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { + if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { + return 1; + } + } + return 0; +}(); + +function microtaskDebounce(fn) { + var called = false; + return function () { + if (called) { + return; + } + called = true; + window.Promise.resolve().then(function () { + called = false; + fn(); + }); + }; +} + +function taskDebounce(fn) { + var scheduled = false; + return function () { + if (!scheduled) { + scheduled = true; + setTimeout(function () { + scheduled = false; + fn(); + }, timeoutDuration); + } + }; +} + +var supportsMicroTasks = isBrowser && window.Promise; + +/** +* Create a debounced version of a method, that's asynchronously deferred +* but called in the minimum time possible. +* +* @method +* @memberof Popper.Utils +* @argument {Function} fn +* @returns {Function} +*/ +var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; + +/** + * Check if the given variable is a function + * @method + * @memberof Popper.Utils + * @argument {Any} functionToCheck - variable to check + * @returns {Boolean} answer to: is a function? + */ +function isFunction(functionToCheck) { + var getType = {}; + return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; +} + +/** + * Get CSS computed property of the given element + * @method + * @memberof Popper.Utils + * @argument {Eement} element + * @argument {String} property + */ +function getStyleComputedProperty(element, property) { + if (element.nodeType !== 1) { + return []; + } + // NOTE: 1 DOM access here + var window = element.ownerDocument.defaultView; + var css = window.getComputedStyle(element, null); + return property ? css[property] : css; +} + +/** + * Returns the parentNode or the host of the element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} parent + */ +function getParentNode(element) { + if (element.nodeName === 'HTML') { + return element; + } + return element.parentNode || element.host; +} + +/** + * Returns the scrolling parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} scroll parent + */ +function getScrollParent(element) { + // Return body, `getScroll` will take care to get the correct `scrollTop` from it + if (!element) { + return document.body; + } + + switch (element.nodeName) { + case 'HTML': + case 'BODY': + return element.ownerDocument.body; + case '#document': + return element.body; + } + + // Firefox want us to check `-x` and `-y` variations as well + + var _getStyleComputedProp = getStyleComputedProperty(element), + overflow = _getStyleComputedProp.overflow, + overflowX = _getStyleComputedProp.overflowX, + overflowY = _getStyleComputedProp.overflowY; + + if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { + return element; + } + + return getScrollParent(getParentNode(element)); +} + +/** + * Returns the reference node of the reference object, or the reference object itself. + * @method + * @memberof Popper.Utils + * @param {Element|Object} reference - the reference element (the popper will be relative to this) + * @returns {Element} parent + */ +function getReferenceNode(reference) { + return reference && reference.referenceNode ? reference.referenceNode : reference; +} + +var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode); +var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); + +/** + * Determines if the browser is Internet Explorer + * @method + * @memberof Popper.Utils + * @param {Number} version to check + * @returns {Boolean} isIE + */ +function isIE(version) { + if (version === 11) { + return isIE11; + } + if (version === 10) { + return isIE10; + } + return isIE11 || isIE10; +} + +/** + * Returns the offset parent of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} offset parent + */ +function getOffsetParent(element) { + if (!element) { + return document.documentElement; + } + + var noOffsetParent = isIE(10) ? document.body : null; + + // NOTE: 1 DOM access here + var offsetParent = element.offsetParent || null; + // Skip hidden elements which don't have an offsetParent + while (offsetParent === noOffsetParent && element.nextElementSibling) { + offsetParent = (element = element.nextElementSibling).offsetParent; + } + + var nodeName = offsetParent && offsetParent.nodeName; + + if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { + return element ? element.ownerDocument.documentElement : document.documentElement; + } + + // .offsetParent will return the closest TH, TD or TABLE in case + // no offsetParent is present, I hate this job... + if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { + return getOffsetParent(offsetParent); + } + + return offsetParent; +} + +function isOffsetContainer(element) { + var nodeName = element.nodeName; + + if (nodeName === 'BODY') { + return false; + } + return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; +} + +/** + * Finds the root node (document, shadowDOM root) of the given element + * @method + * @memberof Popper.Utils + * @argument {Element} node + * @returns {Element} root node + */ +function getRoot(node) { + if (node.parentNode !== null) { + return getRoot(node.parentNode); + } + + return node; +} + +/** + * Finds the offset parent common to the two provided nodes + * @method + * @memberof Popper.Utils + * @argument {Element} element1 + * @argument {Element} element2 + * @returns {Element} common offset parent + */ +function findCommonOffsetParent(element1, element2) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { + return document.documentElement; + } + + // Here we make sure to give as "start" the element that comes first in the DOM + var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; + var start = order ? element1 : element2; + var end = order ? element2 : element1; + + // Get common ancestor container + var range = document.createRange(); + range.setStart(start, 0); + range.setEnd(end, 0); + var commonAncestorContainer = range.commonAncestorContainer; + + // Both nodes are inside #document + + if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { + if (isOffsetContainer(commonAncestorContainer)) { + return commonAncestorContainer; + } + + return getOffsetParent(commonAncestorContainer); + } + + // one of the nodes is inside shadowDOM, find which one + var element1root = getRoot(element1); + if (element1root.host) { + return findCommonOffsetParent(element1root.host, element2); + } else { + return findCommonOffsetParent(element1, getRoot(element2).host); + } +} + +/** + * Gets the scroll value of the given element in the given side (top and left) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {String} side `top` or `left` + * @returns {number} amount of scrolled pixels + */ +function getScroll(element) { + var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; + + var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; + var nodeName = element.nodeName; + + if (nodeName === 'BODY' || nodeName === 'HTML') { + var html = element.ownerDocument.documentElement; + var scrollingElement = element.ownerDocument.scrollingElement || html; + return scrollingElement[upperSide]; + } + + return element[upperSide]; +} + +/* + * Sum or subtract the element scroll values (left and top) from a given rect object + * @method + * @memberof Popper.Utils + * @param {Object} rect - Rect object you want to change + * @param {HTMLElement} element - The element from the function reads the scroll values + * @param {Boolean} subtract - set to true if you want to subtract the scroll values + * @return {Object} rect - The modifier rect object + */ +function includeScroll(rect, element) { + var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + var modifier = subtract ? -1 : 1; + rect.top += scrollTop * modifier; + rect.bottom += scrollTop * modifier; + rect.left += scrollLeft * modifier; + rect.right += scrollLeft * modifier; + return rect; +} + +/* + * Helper to detect borders of a given element + * @method + * @memberof Popper.Utils + * @param {CSSStyleDeclaration} styles + * Result of `getStyleComputedProperty` on the given element + * @param {String} axis - `x` or `y` + * @return {number} borders - The borders size of the given axis + */ + +function getBordersSize(styles, axis) { + var sideA = axis === 'x' ? 'Left' : 'Top'; + var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; + + return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']); +} + +function getSize(axis, body, html, computedStyle) { + return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0); +} + +function getWindowSizes(document) { + var body = document.body; + var html = document.documentElement; + var computedStyle = isIE(10) && getComputedStyle(html); + + return { + height: getSize('Height', body, html, computedStyle), + width: getSize('Width', body, html, computedStyle) + }; +} + +var classCallCheck = function (instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +}; + +var createClass = function () { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + return function (Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; +}(); + + + + + +var defineProperty = function (obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +}; + +var _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; +}; + +/** + * Given element offsets, generate an output similar to getBoundingClientRect + * @method + * @memberof Popper.Utils + * @argument {Object} offsets + * @returns {Object} ClientRect like output + */ +function getClientRect(offsets) { + return _extends({}, offsets, { + right: offsets.left + offsets.width, + bottom: offsets.top + offsets.height + }); +} + +/** + * Get bounding client rect of given element + * @method + * @memberof Popper.Utils + * @param {HTMLElement} element + * @return {Object} client rect + */ +function getBoundingClientRect(element) { + var rect = {}; + + // IE10 10 FIX: Please, don't ask, the element isn't + // considered in DOM in some circumstances... + // This isn't reproducible in IE10 compatibility mode of IE11 + try { + if (isIE(10)) { + rect = element.getBoundingClientRect(); + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); + rect.top += scrollTop; + rect.left += scrollLeft; + rect.bottom += scrollTop; + rect.right += scrollLeft; + } else { + rect = element.getBoundingClientRect(); + } + } catch (e) {} + + var result = { + left: rect.left, + top: rect.top, + width: rect.right - rect.left, + height: rect.bottom - rect.top + }; + + // subtract scrollbar size from sizes + var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {}; + var width = sizes.width || element.clientWidth || result.width; + var height = sizes.height || element.clientHeight || result.height; + + var horizScrollbar = element.offsetWidth - width; + var vertScrollbar = element.offsetHeight - height; + + // if an hypothetical scrollbar is detected, we must be sure it's not a `border` + // we make this check conditional for performance reasons + if (horizScrollbar || vertScrollbar) { + var styles = getStyleComputedProperty(element); + horizScrollbar -= getBordersSize(styles, 'x'); + vertScrollbar -= getBordersSize(styles, 'y'); + + result.width -= horizScrollbar; + result.height -= vertScrollbar; + } + + return getClientRect(result); +} + +function getOffsetRectRelativeToArbitraryNode(children, parent) { + var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + + var isIE10 = isIE(10); + var isHTML = parent.nodeName === 'HTML'; + var childrenRect = getBoundingClientRect(children); + var parentRect = getBoundingClientRect(parent); + var scrollParent = getScrollParent(children); + + var styles = getStyleComputedProperty(parent); + var borderTopWidth = parseFloat(styles.borderTopWidth); + var borderLeftWidth = parseFloat(styles.borderLeftWidth); + + // In cases where the parent is fixed, we must ignore negative scroll in offset calc + if (fixedPosition && isHTML) { + parentRect.top = Math.max(parentRect.top, 0); + parentRect.left = Math.max(parentRect.left, 0); + } + var offsets = getClientRect({ + top: childrenRect.top - parentRect.top - borderTopWidth, + left: childrenRect.left - parentRect.left - borderLeftWidth, + width: childrenRect.width, + height: childrenRect.height + }); + offsets.marginTop = 0; + offsets.marginLeft = 0; + + // Subtract margins of documentElement in case it's being used as parent + // we do this only on HTML because it's the only element that behaves + // differently when margins are applied to it. The margins are included in + // the box of the documentElement, in the other cases not. + if (!isIE10 && isHTML) { + var marginTop = parseFloat(styles.marginTop); + var marginLeft = parseFloat(styles.marginLeft); + + offsets.top -= borderTopWidth - marginTop; + offsets.bottom -= borderTopWidth - marginTop; + offsets.left -= borderLeftWidth - marginLeft; + offsets.right -= borderLeftWidth - marginLeft; + + // Attach marginTop and marginLeft because in some circumstances we may need them + offsets.marginTop = marginTop; + offsets.marginLeft = marginLeft; + } + + if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { + offsets = includeScroll(offsets, parent); + } + + return offsets; +} + +function getViewportOffsetRectRelativeToArtbitraryNode(element) { + var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var html = element.ownerDocument.documentElement; + var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); + var width = Math.max(html.clientWidth, window.innerWidth || 0); + var height = Math.max(html.clientHeight, window.innerHeight || 0); + + var scrollTop = !excludeScroll ? getScroll(html) : 0; + var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; + + var offset = { + top: scrollTop - relativeOffset.top + relativeOffset.marginTop, + left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, + width: width, + height: height + }; + + return getClientRect(offset); +} + +/** + * Check if the given element is fixed or is inside a fixed parent + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @argument {Element} customContainer + * @returns {Boolean} answer to "isFixed?" + */ +function isFixed(element) { + var nodeName = element.nodeName; + if (nodeName === 'BODY' || nodeName === 'HTML') { + return false; + } + if (getStyleComputedProperty(element, 'position') === 'fixed') { + return true; + } + var parentNode = getParentNode(element); + if (!parentNode) { + return false; + } + return isFixed(parentNode); +} + +/** + * Finds the first parent of an element that has a transformed property defined + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Element} first transformed parent or documentElement + */ + +function getFixedPositionOffsetParent(element) { + // This check is needed to avoid errors in case one of the elements isn't defined for any reason + if (!element || !element.parentElement || isIE()) { + return document.documentElement; + } + var el = element.parentElement; + while (el && getStyleComputedProperty(el, 'transform') === 'none') { + el = el.parentElement; + } + return el || document.documentElement; +} + +/** + * Computed the boundaries limits and return them + * @method + * @memberof Popper.Utils + * @param {HTMLElement} popper + * @param {HTMLElement} reference + * @param {number} padding + * @param {HTMLElement} boundariesElement - Element used to define the boundaries + * @param {Boolean} fixedPosition - Is in fixed position mode + * @returns {Object} Coordinates of the boundaries + */ +function getBoundaries(popper, reference, padding, boundariesElement) { + var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; + + // NOTE: 1 DOM access here + + var boundaries = { top: 0, left: 0 }; + var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference)); + + // Handle viewport case + if (boundariesElement === 'viewport') { + boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); + } else { + // Handle other cases based on DOM element used as boundaries + var boundariesNode = void 0; + if (boundariesElement === 'scrollParent') { + boundariesNode = getScrollParent(getParentNode(reference)); + if (boundariesNode.nodeName === 'BODY') { + boundariesNode = popper.ownerDocument.documentElement; + } + } else if (boundariesElement === 'window') { + boundariesNode = popper.ownerDocument.documentElement; + } else { + boundariesNode = boundariesElement; + } + + var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); + + // In case of HTML, we need a different computation + if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { + var _getWindowSizes = getWindowSizes(popper.ownerDocument), + height = _getWindowSizes.height, + width = _getWindowSizes.width; + + boundaries.top += offsets.top - offsets.marginTop; + boundaries.bottom = height + offsets.top; + boundaries.left += offsets.left - offsets.marginLeft; + boundaries.right = width + offsets.left; + } else { + // for all the other DOM elements, this one is good + boundaries = offsets; + } + } + + // Add paddings + padding = padding || 0; + var isPaddingNumber = typeof padding === 'number'; + boundaries.left += isPaddingNumber ? padding : padding.left || 0; + boundaries.top += isPaddingNumber ? padding : padding.top || 0; + boundaries.right -= isPaddingNumber ? padding : padding.right || 0; + boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; + + return boundaries; +} + +function getArea(_ref) { + var width = _ref.width, + height = _ref.height; + + return width * height; +} + +/** + * Utility used to transform the `auto` placement to the placement with more + * available space. + * @method + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { + var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; + + if (placement.indexOf('auto') === -1) { + return placement; + } + + var boundaries = getBoundaries(popper, reference, padding, boundariesElement); + + var rects = { + top: { + width: boundaries.width, + height: refRect.top - boundaries.top + }, + right: { + width: boundaries.right - refRect.right, + height: boundaries.height + }, + bottom: { + width: boundaries.width, + height: boundaries.bottom - refRect.bottom + }, + left: { + width: refRect.left - boundaries.left, + height: boundaries.height + } + }; + + var sortedAreas = Object.keys(rects).map(function (key) { + return _extends({ + key: key + }, rects[key], { + area: getArea(rects[key]) + }); + }).sort(function (a, b) { + return b.area - a.area; + }); + + var filteredAreas = sortedAreas.filter(function (_ref2) { + var width = _ref2.width, + height = _ref2.height; + return width >= popper.clientWidth && height >= popper.clientHeight; + }); + + var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; + + var variation = placement.split('-')[1]; + + return computedPlacement + (variation ? '-' + variation : ''); +} + +/** + * Get offsets to the reference element + * @method + * @memberof Popper.Utils + * @param {Object} state + * @param {Element} popper - the popper element + * @param {Element} reference - the reference element (the popper will be relative to this) + * @param {Element} fixedPosition - is in fixed position mode + * @returns {Object} An object containing the offsets which will be applied to the popper + */ +function getReferenceOffsets(state, popper, reference) { + var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; + + var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference)); + return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); +} + +/** + * Get the outer sizes of the given element (offset size + margins) + * @method + * @memberof Popper.Utils + * @argument {Element} element + * @returns {Object} object containing width and height properties + */ +function getOuterSizes(element) { + var window = element.ownerDocument.defaultView; + var styles = window.getComputedStyle(element); + var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0); + var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0); + var result = { + width: element.offsetWidth + y, + height: element.offsetHeight + x + }; + return result; +} + +/** + * Get the opposite placement of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement + * @returns {String} flipped placement + */ +function getOppositePlacement(placement) { + var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; + return placement.replace(/left|right|bottom|top/g, function (matched) { + return hash[matched]; + }); +} + +/** + * Get offsets to the popper + * @method + * @memberof Popper.Utils + * @param {Object} position - CSS position the Popper will get applied + * @param {HTMLElement} popper - the popper element + * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) + * @param {String} placement - one of the valid placement options + * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper + */ +function getPopperOffsets(popper, referenceOffsets, placement) { + placement = placement.split('-')[0]; + + // Get popper node sizes + var popperRect = getOuterSizes(popper); + + // Add position, width and height to our offsets object + var popperOffsets = { + width: popperRect.width, + height: popperRect.height + }; + + // depending by the popper placement we have to compute its offsets slightly differently + var isHoriz = ['right', 'left'].indexOf(placement) !== -1; + var mainSide = isHoriz ? 'top' : 'left'; + var secondarySide = isHoriz ? 'left' : 'top'; + var measurement = isHoriz ? 'height' : 'width'; + var secondaryMeasurement = !isHoriz ? 'height' : 'width'; + + popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; + if (placement === secondarySide) { + popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; + } else { + popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; + } + + return popperOffsets; +} + +/** + * Mimics the `find` method of Array + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function find(arr, check) { + // use native find if supported + if (Array.prototype.find) { + return arr.find(check); + } + + // use `filter` to obtain the same behavior of `find` + return arr.filter(check)[0]; +} + +/** + * Return the index of the matching object + * @method + * @memberof Popper.Utils + * @argument {Array} arr + * @argument prop + * @argument value + * @returns index or -1 + */ +function findIndex(arr, prop, value) { + // use native findIndex if supported + if (Array.prototype.findIndex) { + return arr.findIndex(function (cur) { + return cur[prop] === value; + }); + } + + // use `find` + `indexOf` if `findIndex` isn't supported + var match = find(arr, function (obj) { + return obj[prop] === value; + }); + return arr.indexOf(match); +} + +/** + * Loop trough the list of modifiers and run them in order, + * each of them will then edit the data object. + * @method + * @memberof Popper.Utils + * @param {dataObject} data + * @param {Array} modifiers + * @param {String} ends - Optional modifier name used as stopper + * @returns {dataObject} + */ +function runModifiers(modifiers, data, ends) { + var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); + + modifiersToRun.forEach(function (modifier) { + if (modifier['function']) { + // eslint-disable-line dot-notation + console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); + } + var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation + if (modifier.enabled && isFunction(fn)) { + // Add properties to offsets to make them a complete clientRect object + // we do this before each modifier to make sure the previous one doesn't + // mess with these values + data.offsets.popper = getClientRect(data.offsets.popper); + data.offsets.reference = getClientRect(data.offsets.reference); + + data = fn(data, modifier); + } + }); + + return data; +} + +/** + * Updates the position of the popper, computing the new offsets and applying + * the new style.
+ * Prefer `scheduleUpdate` over `update` because of performance reasons. + * @method + * @memberof Popper + */ +function update() { + // if popper is destroyed, don't perform any further update + if (this.state.isDestroyed) { + return; + } + + var data = { + instance: this, + styles: {}, + arrowStyles: {}, + attributes: {}, + flipped: false, + offsets: {} + }; + + // compute reference element offsets + data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); + + // store the computed placement inside `originalPlacement` + data.originalPlacement = data.placement; + + data.positionFixed = this.options.positionFixed; + + // compute the popper offsets + data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + + data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; + + // run the modifiers + data = runModifiers(this.modifiers, data); + + // the first `update` will call `onCreate` callback + // the other ones will call `onUpdate` callback + if (!this.state.isCreated) { + this.state.isCreated = true; + this.options.onCreate(data); + } else { + this.options.onUpdate(data); + } +} + +/** + * Helper used to know if the given modifier is enabled. + * @method + * @memberof Popper.Utils + * @returns {Boolean} + */ +function isModifierEnabled(modifiers, modifierName) { + return modifiers.some(function (_ref) { + var name = _ref.name, + enabled = _ref.enabled; + return enabled && name === modifierName; + }); +} + +/** + * Get the prefixed supported property name + * @method + * @memberof Popper.Utils + * @argument {String} property (camelCase) + * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) + */ +function getSupportedPropertyName(property) { + var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; + var upperProp = property.charAt(0).toUpperCase() + property.slice(1); + + for (var i = 0; i < prefixes.length; i++) { + var prefix = prefixes[i]; + var toCheck = prefix ? '' + prefix + upperProp : property; + if (typeof document.body.style[toCheck] !== 'undefined') { + return toCheck; + } + } + return null; +} + +/** + * Destroys the popper. + * @method + * @memberof Popper + */ +function destroy() { + this.state.isDestroyed = true; + + // touch DOM only if `applyStyle` modifier is enabled + if (isModifierEnabled(this.modifiers, 'applyStyle')) { + this.popper.removeAttribute('x-placement'); + this.popper.style.position = ''; + this.popper.style.top = ''; + this.popper.style.left = ''; + this.popper.style.right = ''; + this.popper.style.bottom = ''; + this.popper.style.willChange = ''; + this.popper.style[getSupportedPropertyName('transform')] = ''; + } + + this.disableEventListeners(); + + // remove the popper if user explicitly asked for the deletion on destroy + // do not use `remove` because IE11 doesn't support it + if (this.options.removeOnDestroy) { + this.popper.parentNode.removeChild(this.popper); + } + return this; +} + +/** + * Get the window associated with the element + * @argument {Element} element + * @returns {Window} + */ +function getWindow(element) { + var ownerDocument = element.ownerDocument; + return ownerDocument ? ownerDocument.defaultView : window; +} + +function attachToScrollParents(scrollParent, event, callback, scrollParents) { + var isBody = scrollParent.nodeName === 'BODY'; + var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; + target.addEventListener(event, callback, { passive: true }); + + if (!isBody) { + attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); + } + scrollParents.push(target); +} + +/** + * Setup needed event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function setupEventListeners(reference, options, state, updateBound) { + // Resize event listener on window + state.updateBound = updateBound; + getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); + + // Scroll event listener on scroll parents + var scrollElement = getScrollParent(reference); + attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); + state.scrollElement = scrollElement; + state.eventsEnabled = true; + + return state; +} + +/** + * It will add resize/scroll events and start recalculating + * position of the popper element when they are triggered. + * @method + * @memberof Popper + */ +function enableEventListeners() { + if (!this.state.eventsEnabled) { + this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); + } +} + +/** + * Remove event listeners used to update the popper position + * @method + * @memberof Popper.Utils + * @private + */ +function removeEventListeners(reference, state) { + // Remove resize event listener on window + getWindow(reference).removeEventListener('resize', state.updateBound); + + // Remove scroll event listener on scroll parents + state.scrollParents.forEach(function (target) { + target.removeEventListener('scroll', state.updateBound); + }); + + // Reset state + state.updateBound = null; + state.scrollParents = []; + state.scrollElement = null; + state.eventsEnabled = false; + return state; +} + +/** + * It will remove resize/scroll events and won't recalculate popper position + * when they are triggered. It also won't trigger `onUpdate` callback anymore, + * unless you call `update` method manually. + * @method + * @memberof Popper + */ +function disableEventListeners() { + if (this.state.eventsEnabled) { + cancelAnimationFrame(this.scheduleUpdate); + this.state = removeEventListeners(this.reference, this.state); + } +} + +/** + * Tells if a given input is a number + * @method + * @memberof Popper.Utils + * @param {*} input to check + * @return {Boolean} + */ +function isNumeric(n) { + return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); +} + +/** + * Set the style to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the style to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setStyles(element, styles) { + Object.keys(styles).forEach(function (prop) { + var unit = ''; + // add unit if the value is numeric and is one of the following + if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { + unit = 'px'; + } + element.style[prop] = styles[prop] + unit; + }); +} + +/** + * Set the attributes to the given popper + * @method + * @memberof Popper.Utils + * @argument {Element} element - Element to apply the attributes to + * @argument {Object} styles + * Object with a list of properties and values which will be applied to the element + */ +function setAttributes(element, attributes) { + Object.keys(attributes).forEach(function (prop) { + var value = attributes[prop]; + if (value !== false) { + element.setAttribute(prop, attributes[prop]); + } else { + element.removeAttribute(prop); + } + }); +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} data.styles - List of style properties - values to apply to popper element + * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The same data object + */ +function applyStyle(data) { + // any property present in `data.styles` will be applied to the popper, + // in this way we can make the 3rd party modifiers add custom styles to it + // Be aware, modifiers could override the properties defined in the previous + // lines of this modifier! + setStyles(data.instance.popper, data.styles); + + // any property present in `data.attributes` will be applied to the popper, + // they will be set as HTML attributes of the element + setAttributes(data.instance.popper, data.attributes); + + // if arrowElement is defined and arrowStyles has some properties + if (data.arrowElement && Object.keys(data.arrowStyles).length) { + setStyles(data.arrowElement, data.arrowStyles); + } + + return data; +} + +/** + * Set the x-placement attribute before everything else because it could be used + * to add margins to the popper margins needs to be calculated to get the + * correct popper offsets. + * @method + * @memberof Popper.modifiers + * @param {HTMLElement} reference - The reference element used to position the popper + * @param {HTMLElement} popper - The HTML element used as popper + * @param {Object} options - Popper.js options + */ +function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { + // compute reference element offsets + var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); + + // compute auto placement, store placement inside the data object, + // modifiers will be able to edit `placement` if needed + // and refer to originalPlacement to know the original value + var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); + + popper.setAttribute('x-placement', placement); + + // Apply `position` to popper before anything else because + // without the position applied we can't guarantee correct computations + setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); + + return options; +} + +/** + * @function + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by `update` method + * @argument {Boolean} shouldRound - If the offsets should be rounded at all + * @returns {Object} The popper's position offsets rounded + * + * The tale of pixel-perfect positioning. It's still not 100% perfect, but as + * good as it can be within reason. + * Discussion here: https://github.com/FezVrasta/popper.js/pull/715 + * + * Low DPI screens cause a popper to be blurry if not using full pixels (Safari + * as well on High DPI screens). + * + * Firefox prefers no rounding for positioning and does not have blurriness on + * high DPI screens. + * + * Only horizontal placement and left/right values need to be considered. + */ +function getRoundedOffsets(data, shouldRound) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + var round = Math.round, + floor = Math.floor; + + var noRound = function noRound(v) { + return v; + }; + + var referenceWidth = round(reference.width); + var popperWidth = round(popper.width); + + var isVertical = ['left', 'right'].indexOf(data.placement) !== -1; + var isVariation = data.placement.indexOf('-') !== -1; + var sameWidthParity = referenceWidth % 2 === popperWidth % 2; + var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1; + + var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor; + var verticalToInteger = !shouldRound ? noRound : round; + + return { + left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left), + top: verticalToInteger(popper.top), + bottom: verticalToInteger(popper.bottom), + right: horizontalToInteger(popper.right) + }; +} + +var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent); + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function computeStyle(data, options) { + var x = options.x, + y = options.y; + var popper = data.offsets.popper; + + // Remove this legacy support in Popper.js v2 + + var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'applyStyle'; + }).gpuAcceleration; + if (legacyGpuAccelerationOption !== undefined) { + console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); + } + var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; + + var offsetParent = getOffsetParent(data.instance.popper); + var offsetParentRect = getBoundingClientRect(offsetParent); + + // Styles + var styles = { + position: popper.position + }; + + var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox); + + var sideA = x === 'bottom' ? 'top' : 'bottom'; + var sideB = y === 'right' ? 'left' : 'right'; + + // if gpuAcceleration is set to `true` and transform is supported, + // we use `translate3d` to apply the position to the popper we + // automatically use the supported prefixed version if needed + var prefixedProperty = getSupportedPropertyName('transform'); + + // now, let's make a step back and look at this code closely (wtf?) + // If the content of the popper grows once it's been positioned, it + // may happen that the popper gets misplaced because of the new content + // overflowing its reference element + // To avoid this problem, we provide two options (x and y), which allow + // the consumer to define the offset origin. + // If we position a popper on top of a reference element, we can set + // `x` to `top` to make the popper grow towards its top instead of + // its bottom. + var left = void 0, + top = void 0; + if (sideA === 'bottom') { + // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar) + // and not the bottom of the html element + if (offsetParent.nodeName === 'HTML') { + top = -offsetParent.clientHeight + offsets.bottom; + } else { + top = -offsetParentRect.height + offsets.bottom; + } + } else { + top = offsets.top; + } + if (sideB === 'right') { + if (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } + } else { + left = offsets.left; + } + if (gpuAcceleration && prefixedProperty) { + styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; + styles[sideA] = 0; + styles[sideB] = 0; + styles.willChange = 'transform'; + } else { + // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties + var invertTop = sideA === 'bottom' ? -1 : 1; + var invertLeft = sideB === 'right' ? -1 : 1; + styles[sideA] = top * invertTop; + styles[sideB] = left * invertLeft; + styles.willChange = sideA + ', ' + sideB; + } + + // Attributes + var attributes = { + 'x-placement': data.placement + }; + + // Update `data` attributes, styles and arrowStyles + data.attributes = _extends({}, attributes, data.attributes); + data.styles = _extends({}, styles, data.styles); + data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles); + + return data; +} + +/** + * Helper used to know if the given modifier depends from another one.
+ * It checks if the needed modifier is listed and enabled. + * @method + * @memberof Popper.Utils + * @param {Array} modifiers - list of modifiers + * @param {String} requestingName - name of requesting modifier + * @param {String} requestedName - name of requested modifier + * @returns {Boolean} + */ +function isModifierRequired(modifiers, requestingName, requestedName) { + var requesting = find(modifiers, function (_ref) { + var name = _ref.name; + return name === requestingName; + }); + + var isRequired = !!requesting && modifiers.some(function (modifier) { + return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; + }); + + if (!isRequired) { + var _requesting = '`' + requestingName + '`'; + var requested = '`' + requestedName + '`'; + console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); + } + return isRequired; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function arrow(data, options) { + var _data$offsets$arrow; + + // arrow depends on keepTogether in order to work + if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { + return data; + } + + var arrowElement = options.element; + + // if arrowElement is a string, suppose it's a CSS selector + if (typeof arrowElement === 'string') { + arrowElement = data.instance.popper.querySelector(arrowElement); + + // if arrowElement is not found, don't run the modifier + if (!arrowElement) { + return data; + } + } else { + // if the arrowElement isn't a query selector we must check that the + // provided DOM node is child of its popper node + if (!data.instance.popper.contains(arrowElement)) { + console.warn('WARNING: `arrow.element` must be child of its popper element!'); + return data; + } + } + + var placement = data.placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isVertical = ['left', 'right'].indexOf(placement) !== -1; + + var len = isVertical ? 'height' : 'width'; + var sideCapitalized = isVertical ? 'Top' : 'Left'; + var side = sideCapitalized.toLowerCase(); + var altSide = isVertical ? 'left' : 'top'; + var opSide = isVertical ? 'bottom' : 'right'; + var arrowElementSize = getOuterSizes(arrowElement)[len]; + + // + // extends keepTogether behavior making sure the popper and its + // reference have enough pixels in conjunction + // + + // top/left side + if (reference[opSide] - arrowElementSize < popper[side]) { + data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); + } + // bottom/right side + if (reference[side] + arrowElementSize > popper[opSide]) { + data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; + } + data.offsets.popper = getClientRect(data.offsets.popper); + + // compute center of the popper + var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; + + // Compute the sideValue using the updated popper offsets + // take popper margin in account because we don't have this info available + var css = getStyleComputedProperty(data.instance.popper); + var popperMarginSide = parseFloat(css['margin' + sideCapitalized]); + var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']); + var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; + + // prevent arrowElement from being placed not contiguously to its popper + sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); + + data.arrowElement = arrowElement; + data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); + + return data; +} + +/** + * Get the opposite placement variation of the given one + * @method + * @memberof Popper.Utils + * @argument {String} placement variation + * @returns {String} flipped placement variation + */ +function getOppositeVariation(variation) { + if (variation === 'end') { + return 'start'; + } else if (variation === 'start') { + return 'end'; + } + return variation; +} + +/** + * List of accepted placements to use as values of the `placement` option.
+ * Valid placements are: + * - `auto` + * - `top` + * - `right` + * - `bottom` + * - `left` + * + * Each placement can have a variation from this list: + * - `-start` + * - `-end` + * + * Variations are interpreted easily if you think of them as the left to right + * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` + * is right.
+ * Vertically (`left` and `right`), `start` is top and `end` is bottom. + * + * Some valid examples are: + * - `top-end` (on top of reference, right aligned) + * - `right-start` (on right of reference, top aligned) + * - `bottom` (on bottom, centered) + * - `auto-end` (on the side with more space available, alignment depends by placement) + * + * @static + * @type {Array} + * @enum {String} + * @readonly + * @method placements + * @memberof Popper + */ +var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; + +// Get rid of `auto` `auto-start` and `auto-end` +var validPlacements = placements.slice(3); + +/** + * Given an initial placement, returns all the subsequent placements + * clockwise (or counter-clockwise). + * + * @method + * @memberof Popper.Utils + * @argument {String} placement - A valid placement (it accepts variations) + * @argument {Boolean} counter - Set to true to walk the placements counterclockwise + * @returns {Array} placements including their variations + */ +function clockwise(placement) { + var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + + var index = validPlacements.indexOf(placement); + var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); + return counter ? arr.reverse() : arr; +} + +var BEHAVIORS = { + FLIP: 'flip', + CLOCKWISE: 'clockwise', + COUNTERCLOCKWISE: 'counterclockwise' +}; + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function flip(data, options) { + // if `inner` modifier is enabled, we can't use the `flip` modifier + if (isModifierEnabled(data.instance.modifiers, 'inner')) { + return data; + } + + if (data.flipped && data.placement === data.originalPlacement) { + // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides + return data; + } + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed); + + var placement = data.placement.split('-')[0]; + var placementOpposite = getOppositePlacement(placement); + var variation = data.placement.split('-')[1] || ''; + + var flipOrder = []; + + switch (options.behavior) { + case BEHAVIORS.FLIP: + flipOrder = [placement, placementOpposite]; + break; + case BEHAVIORS.CLOCKWISE: + flipOrder = clockwise(placement); + break; + case BEHAVIORS.COUNTERCLOCKWISE: + flipOrder = clockwise(placement, true); + break; + default: + flipOrder = options.behavior; + } + + flipOrder.forEach(function (step, index) { + if (placement !== step || flipOrder.length === index + 1) { + return data; + } + + placement = data.placement.split('-')[0]; + placementOpposite = getOppositePlacement(placement); + + var popperOffsets = data.offsets.popper; + var refOffsets = data.offsets.reference; + + // using floor because the reference offsets may contain decimals we are not going to consider here + var floor = Math.floor; + var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); + + var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); + var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); + var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); + var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); + + var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; + + // flip the variation if required + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + + // flips variation if reference element overflows boundaries + var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); + + // flips variation if popper content overflows boundaries + var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop); + + var flippedVariation = flippedVariationByRef || flippedVariationByContent; + + if (overlapsRef || overflowsBoundaries || flippedVariation) { + // this boolean to detect any flip loop + data.flipped = true; + + if (overlapsRef || overflowsBoundaries) { + placement = flipOrder[index + 1]; + } + + if (flippedVariation) { + variation = getOppositeVariation(variation); + } + + data.placement = placement + (variation ? '-' + variation : ''); + + // this object contains `position`, we want to preserve it along with + // any additional property we may add in the future + data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); + + data = runModifiers(data.instance.modifiers, data, 'flip'); + } + }); + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function keepTogether(data) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var placement = data.placement.split('-')[0]; + var floor = Math.floor; + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var side = isVertical ? 'right' : 'bottom'; + var opSide = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + if (popper[side] < floor(reference[opSide])) { + data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; + } + if (popper[opSide] > floor(reference[side])) { + data.offsets.popper[opSide] = floor(reference[side]); + } + + return data; +} + +/** + * Converts a string containing value + unit into a px value number + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} str - Value + unit string + * @argument {String} measurement - `height` or `width` + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @returns {Number|String} + * Value in pixels, or original string if no values were extracted + */ +function toValue(str, measurement, popperOffsets, referenceOffsets) { + // separate value from unit + var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); + var value = +split[1]; + var unit = split[2]; + + // If it's not a number it's an operator, I guess + if (!value) { + return str; + } + + if (unit.indexOf('%') === 0) { + var element = void 0; + switch (unit) { + case '%p': + element = popperOffsets; + break; + case '%': + case '%r': + default: + element = referenceOffsets; + } + + var rect = getClientRect(element); + return rect[measurement] / 100 * value; + } else if (unit === 'vh' || unit === 'vw') { + // if is a vh or vw, we calculate the size based on the viewport + var size = void 0; + if (unit === 'vh') { + size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); + } else { + size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); + } + return size / 100 * value; + } else { + // if is an explicit pixel unit, we get rid of the unit and keep the value + // if is an implicit unit, it's px, and we return just the value + return value; + } +} + +/** + * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. + * @function + * @memberof {modifiers~offset} + * @private + * @argument {String} offset + * @argument {Object} popperOffsets + * @argument {Object} referenceOffsets + * @argument {String} basePlacement + * @returns {Array} a two cells array with x and y offsets in numbers + */ +function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { + var offsets = [0, 0]; + + // Use height if placement is left or right and index is 0 otherwise use width + // in this way the first offset will use an axis and the second one + // will use the other one + var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; + + // Split the offset string to obtain a list of values and operands + // The regex addresses values with the plus or minus sign in front (+10, -20, etc) + var fragments = offset.split(/(\+|\-)/).map(function (frag) { + return frag.trim(); + }); + + // Detect if the offset string contains a pair of values or a single one + // they could be separated by comma or space + var divider = fragments.indexOf(find(fragments, function (frag) { + return frag.search(/,|\s/) !== -1; + })); + + if (fragments[divider] && fragments[divider].indexOf(',') === -1) { + console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); + } + + // If divider is found, we divide the list of values and operands to divide + // them by ofset X and Y. + var splitRegex = /\s*,\s*|\s+/; + var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; + + // Convert the values with units to absolute pixels to allow our computations + ops = ops.map(function (op, index) { + // Most of the units rely on the orientation of the popper + var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; + var mergeWithPrevious = false; + return op + // This aggregates any `+` or `-` sign that aren't considered operators + // e.g.: 10 + +5 => [10, +, +5] + .reduce(function (a, b) { + if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { + a[a.length - 1] = b; + mergeWithPrevious = true; + return a; + } else if (mergeWithPrevious) { + a[a.length - 1] += b; + mergeWithPrevious = false; + return a; + } else { + return a.concat(b); + } + }, []) + // Here we convert the string values into number values (in px) + .map(function (str) { + return toValue(str, measurement, popperOffsets, referenceOffsets); + }); + }); + + // Loop trough the offsets arrays and execute the operations + ops.forEach(function (op, index) { + op.forEach(function (frag, index2) { + if (isNumeric(frag)) { + offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); + } + }); + }); + return offsets; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @argument {Number|String} options.offset=0 + * The offset value as described in the modifier description + * @returns {Object} The data object, properly modified + */ +function offset(data, _ref) { + var offset = _ref.offset; + var placement = data.placement, + _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var basePlacement = placement.split('-')[0]; + + var offsets = void 0; + if (isNumeric(+offset)) { + offsets = [+offset, 0]; + } else { + offsets = parseOffset(offset, popper, reference, basePlacement); + } + + if (basePlacement === 'left') { + popper.top += offsets[0]; + popper.left -= offsets[1]; + } else if (basePlacement === 'right') { + popper.top += offsets[0]; + popper.left += offsets[1]; + } else if (basePlacement === 'top') { + popper.left += offsets[0]; + popper.top -= offsets[1]; + } else if (basePlacement === 'bottom') { + popper.left += offsets[0]; + popper.top += offsets[1]; + } + + data.popper = popper; + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function preventOverflow(data, options) { + var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); + + // If offsetParent is the reference element, we really want to + // go one step up and use the next offsetParent as reference to + // avoid to make this modifier completely useless and look like broken + if (data.instance.reference === boundariesElement) { + boundariesElement = getOffsetParent(boundariesElement); + } + + // NOTE: DOM access here + // resets the popper's position so that the document size can be calculated excluding + // the size of the popper element itself + var transformProp = getSupportedPropertyName('transform'); + var popperStyles = data.instance.popper.style; // assignment to help minification + var top = popperStyles.top, + left = popperStyles.left, + transform = popperStyles[transformProp]; + + popperStyles.top = ''; + popperStyles.left = ''; + popperStyles[transformProp] = ''; + + var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); + + // NOTE: DOM access here + // restores the original style properties after the offsets have been computed + popperStyles.top = top; + popperStyles.left = left; + popperStyles[transformProp] = transform; + + options.boundaries = boundaries; + + var order = options.priority; + var popper = data.offsets.popper; + + var check = { + primary: function primary(placement) { + var value = popper[placement]; + if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { + value = Math.max(popper[placement], boundaries[placement]); + } + return defineProperty({}, placement, value); + }, + secondary: function secondary(placement) { + var mainSide = placement === 'right' ? 'left' : 'top'; + var value = popper[mainSide]; + if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { + value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); + } + return defineProperty({}, mainSide, value); + } + }; + + order.forEach(function (placement) { + var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; + popper = _extends({}, popper, check[side](placement)); + }); + + data.offsets.popper = popper; + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function shift(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var shiftvariation = placement.split('-')[1]; + + // if shift shiftvariation is specified, run the modifier + if (shiftvariation) { + var _data$offsets = data.offsets, + reference = _data$offsets.reference, + popper = _data$offsets.popper; + + var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; + var side = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; + + var shiftOffsets = { + start: defineProperty({}, side, reference[side]), + end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) + }; + + data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]); + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by update method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function hide(data) { + if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { + return data; + } + + var refRect = data.offsets.reference; + var bound = find(data.instance.modifiers, function (modifier) { + return modifier.name === 'preventOverflow'; + }).boundaries; + + if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === true) { + return data; + } + + data.hide = true; + data.attributes['x-out-of-boundaries'] = ''; + } else { + // Avoid unnecessary DOM access if visibility hasn't changed + if (data.hide === false) { + return data; + } + + data.hide = false; + data.attributes['x-out-of-boundaries'] = false; + } + + return data; +} + +/** + * @function + * @memberof Modifiers + * @argument {Object} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {Object} The data object, properly modified + */ +function inner(data) { + var placement = data.placement; + var basePlacement = placement.split('-')[0]; + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + + var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; + + var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; + + popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); + + data.placement = getOppositePlacement(placement); + data.offsets.popper = getClientRect(popper); + + return data; +} + +/** + * Modifier function, each modifier can have a function of this type assigned + * to its `fn` property.
+ * These functions will be called on each update, this means that you must + * make sure they are performant enough to avoid performance bottlenecks. + * + * @function ModifierFn + * @argument {dataObject} data - The data object generated by `update` method + * @argument {Object} options - Modifiers configuration and options + * @returns {dataObject} The data object, properly modified + */ + +/** + * Modifiers are plugins used to alter the behavior of your poppers.
+ * Popper.js uses a set of 9 modifiers to provide all the basic functionalities + * needed by the library. + * + * Usually you don't want to override the `order`, `fn` and `onLoad` props. + * All the other properties are configurations that could be tweaked. + * @namespace modifiers + */ +var modifiers = { + /** + * Modifier used to shift the popper on the start or end of its reference + * element.
+ * It will read the variation of the `placement` property.
+ * It can be one either `-end` or `-start`. + * @memberof modifiers + * @inner + */ + shift: { + /** @prop {number} order=100 - Index used to define the order of execution */ + order: 100, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: shift + }, + + /** + * The `offset` modifier can shift your popper on both its axis. + * + * It accepts the following units: + * - `px` or unit-less, interpreted as pixels + * - `%` or `%r`, percentage relative to the length of the reference element + * - `%p`, percentage relative to the length of the popper element + * - `vw`, CSS viewport width unit + * - `vh`, CSS viewport height unit + * + * For length is intended the main axis relative to the placement of the popper.
+ * This means that if the placement is `top` or `bottom`, the length will be the + * `width`. In case of `left` or `right`, it will be the `height`. + * + * You can provide a single value (as `Number` or `String`), or a pair of values + * as `String` divided by a comma or one (or more) white spaces.
+ * The latter is a deprecated method because it leads to confusion and will be + * removed in v2.
+ * Additionally, it accepts additions and subtractions between different units. + * Note that multiplications and divisions aren't supported. + * + * Valid examples are: + * ``` + * 10 + * '10%' + * '10, 10' + * '10%, 10' + * '10 + 10%' + * '10 - 5vh + 3%' + * '-10px + 5vh, 5px - 6%' + * ``` + * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap + * > with their reference element, unfortunately, you will have to disable the `flip` modifier. + * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). + * + * @memberof modifiers + * @inner + */ + offset: { + /** @prop {number} order=200 - Index used to define the order of execution */ + order: 200, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: offset, + /** @prop {Number|String} offset=0 + * The offset value as described in the modifier description + */ + offset: 0 + }, + + /** + * Modifier used to prevent the popper from being positioned outside the boundary. + * + * A scenario exists where the reference itself is not within the boundaries.
+ * We can say it has "escaped the boundaries" — or just "escaped".
+ * In this case we need to decide whether the popper should either: + * + * - detach from the reference and remain "trapped" in the boundaries, or + * - if it should ignore the boundary and "escape with its reference" + * + * When `escapeWithReference` is set to`true` and reference is completely + * outside its boundaries, the popper will overflow (or completely leave) + * the boundaries in order to remain attached to the edge of the reference. + * + * @memberof modifiers + * @inner + */ + preventOverflow: { + /** @prop {number} order=300 - Index used to define the order of execution */ + order: 300, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: preventOverflow, + /** + * @prop {Array} [priority=['left','right','top','bottom']] + * Popper will try to prevent overflow following these priorities by default, + * then, it could overflow on the left and on top of the `boundariesElement` + */ + priority: ['left', 'right', 'top', 'bottom'], + /** + * @prop {number} padding=5 + * Amount of pixel used to define a minimum distance between the boundaries + * and the popper. This makes sure the popper always has a little padding + * between the edges of its container + */ + padding: 5, + /** + * @prop {String|HTMLElement} boundariesElement='scrollParent' + * Boundaries used by the modifier. Can be `scrollParent`, `window`, + * `viewport` or any DOM element. + */ + boundariesElement: 'scrollParent' + }, + + /** + * Modifier used to make sure the reference and its popper stay near each other + * without leaving any gap between the two. Especially useful when the arrow is + * enabled and you want to ensure that it points to its reference element. + * It cares only about the first axis. You can still have poppers with margin + * between the popper and its reference element. + * @memberof modifiers + * @inner + */ + keepTogether: { + /** @prop {number} order=400 - Index used to define the order of execution */ + order: 400, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: keepTogether + }, + + /** + * This modifier is used to move the `arrowElement` of the popper to make + * sure it is positioned between the reference element and its popper element. + * It will read the outer size of the `arrowElement` node to detect how many + * pixels of conjunction are needed. + * + * It has no effect if no `arrowElement` is provided. + * @memberof modifiers + * @inner + */ + arrow: { + /** @prop {number} order=500 - Index used to define the order of execution */ + order: 500, + /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ + enabled: true, + /** @prop {ModifierFn} */ + fn: arrow, + /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ + element: '[x-arrow]' + }, + + /** + * Modifier used to flip the popper's placement when it starts to overlap its + * reference element. + * + * Requires the `preventOverflow` modifier before it in order to work. + * + * **NOTE:** this modifier will interrupt the current update cycle and will + * restart it if it detects the need to flip the placement. + * @memberof modifiers + * @inner + */ + flip: { + /** @prop {number} order=600 - Index used to define the order of execution */ + order: 600, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ @@ -10636,7 +12530,7 @@ var Popper$1 = function () { this.update = debounce(this.update.bind(this)); // with {} we create a new object with the options inside it - this.options = _extends$1({}, Popper.Defaults, options); + this.options = _extends({}, Popper.Defaults, options); // init state this.state = { @@ -10651,13 +12545,13 @@ var Popper$1 = function () { // Deep merge modifiers options this.options.modifiers = {}; - Object.keys(_extends$1({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { - _this.options.modifiers[name] = _extends$1({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); + Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { + _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); }); // Refactoring modifiers' list (Object => Array) this.modifiers = Object.keys(this.options.modifiers).map(function (name) { - return _extends$1({ + return _extends({ name: name }, _this.options.modifiers[name]); }) @@ -11272,9 +13166,9 @@ function (_React$Component) { _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "referenceNode", void 0); + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "referenceNode", void 0); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "setReferenceNode", function (newReferenceNode) { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "setReferenceNode", function (newReferenceNode) { if (newReferenceNode && _this.referenceNode !== newReferenceNode) { _this.referenceNode = newReferenceNode; @@ -11359,18 +13253,18 @@ function (_React$Component) { _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "state", { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "state", { data: undefined, placement: undefined }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "popperInstance", void 0); + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "popperInstance", void 0); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "popperNode", null); + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "popperNode", null); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "arrowNode", null); + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "arrowNode", null); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "setPopperNode", function (popperNode) { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "setPopperNode", function (popperNode) { if (!popperNode || _this.popperNode === popperNode) return; setRef(_this.props.innerRef, popperNode); _this.popperNode = popperNode; @@ -11378,11 +13272,11 @@ function (_React$Component) { _this.updatePopperInstance(); }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "setArrowNode", function (arrowNode) { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "setArrowNode", function (arrowNode) { _this.arrowNode = arrowNode; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "updateStateModifier", { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "updateStateModifier", { enabled: true, order: 900, fn: function fn(data) { @@ -11397,13 +13291,13 @@ function (_React$Component) { } }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getOptions", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getOptions", function () { return { placement: _this.props.placement, eventsEnabled: _this.props.eventsEnabled, positionFixed: _this.props.positionFixed, - modifiers: _extends$2({}, _this.props.modifiers, { - arrow: _extends$2({}, _this.props.modifiers && _this.props.modifiers.arrow, { + modifiers: _extends$1({}, _this.props.modifiers, { + arrow: _extends$1({}, _this.props.modifiers && _this.props.modifiers.arrow, { enabled: !!_this.arrowNode, element: _this.arrowNode }), @@ -11415,25 +13309,25 @@ function (_React$Component) { }; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getPopperStyle", function () { - return !_this.popperNode || !_this.state.data ? initialStyle : _extends$2({ + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperStyle", function () { + return !_this.popperNode || !_this.state.data ? initialStyle : _extends$1({ position: _this.state.data.offsets.popper.position }, _this.state.data.styles); }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getPopperPlacement", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getPopperPlacement", function () { return !_this.state.data ? undefined : _this.state.placement; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getArrowStyle", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getArrowStyle", function () { return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getOutOfBoundariesState", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getOutOfBoundariesState", function () { return _this.state.data ? _this.state.data.hide : undefined; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "destroyPopperInstance", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "destroyPopperInstance", function () { if (!_this.popperInstance) return; _this.popperInstance.destroy(); @@ -11441,10 +13335,10 @@ function (_React$Component) { _this.popperInstance = null; }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "updatePopperInstance", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "updatePopperInstance", function () { _this.destroyPopperInstance(); - var _assertThisInitialize = _assertThisInitialized$1(_assertThisInitialized$1(_this)), + var _assertThisInitialize = _assertThisInitialized(_assertThisInitialized(_this)), popperNode = _assertThisInitialize.popperNode; var referenceElement = _this.props.referenceElement; @@ -11452,7 +13346,7 @@ function (_React$Component) { _this.popperInstance = new PopperJS(referenceElement, popperNode, _this.getOptions()); }); - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "scheduleUpdate", function () { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "scheduleUpdate", function () { if (_this.popperInstance) { _this.popperInstance.scheduleUpdate(); } @@ -11505,7 +13399,7 @@ function (_React$Component) { return InnerPopper; }(React.Component); -_defineProperty$1(InnerPopper, "defaultProps", { +_defineProperty(InnerPopper, "defaultProps", { placement: 'bottom', eventsEnabled: true, referenceElement: undefined, @@ -11515,10 +13409,10 @@ _defineProperty$1(InnerPopper, "defaultProps", { PopperJS.placements; function Popper(_ref) { var referenceElement = _ref.referenceElement, - props = _objectWithoutPropertiesLoose$1(_ref, ["referenceElement"]); + props = _objectWithoutPropertiesLoose(_ref, ["referenceElement"]); return React.createElement(ManagerReferenceNodeContext.Consumer, null, function (referenceNode) { - return React.createElement(InnerPopper, _extends$2({ + return React.createElement(InnerPopper, _extends$1({ referenceElement: referenceElement !== undefined ? referenceElement : referenceNode }, props)); }); @@ -11538,7 +13432,7 @@ function (_React$Component) { _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; - _defineProperty$1(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "refHandler", function (node) { + _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "refHandler", function (node) { setRef(_this.props.innerRef, node); safeInvoke(_this.props.setReferenceNode, node); }); @@ -11564,54 +13458,49 @@ function (_React$Component) { function Reference(props) { return React.createElement(ManagerReferenceNodeSetterContext.Consumer, null, function (setReferenceNode) { - return React.createElement(InnerReference, _extends$2({ + return React.createElement(InnerReference, _extends$1({ setReferenceNode: setReferenceNode }, props)); }); } var PopperWrapper = /*#__PURE__*/function (_React$Component) { - _inherits$1(PopperWrapper, _React$Component); + _inherits(PopperWrapper, _React$Component); - var _super = _createSuper$1(PopperWrapper); + var _super = _createSuper(PopperWrapper); function PopperWrapper(props) { var _this; - _classCallCheck$1(this, PopperWrapper); + _classCallCheck(this, PopperWrapper); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "triggerRef", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "triggerRef", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "popupRef", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "popupRef", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "hoverableDelay", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "hoverableDelay", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "_timer", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "_timer", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "_throttleWait", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "_throttleWait", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "offsetMapping", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "offsetMapping", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "togglePopper", function (type, newValue) { + _defineProperty$1(_assertThisInitialized$1(_this), "togglePopper", function (type, newValue) { var _this$props = _this.props, open = _this$props.open, onToggle = _this$props.onToggle; onToggle(newValue === undefined ? !open : newValue, type); }); - _defineProperty$2(_assertThisInitialized$2(_this), "findDOMNode", function (ref) { - return ReactDOM.findDOMNode(ref.current); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "doesEventContainsElement", function (event, ref) { - var el = _this.findDOMNode(ref); - + _defineProperty$1(_assertThisInitialized$1(_this), "doesEventContainsElement", function (event, ref) { + var el = ref.current; return el && el.contains(event.target); }); - _defineProperty$2(_assertThisInitialized$2(_this), "getUpdatedStyle", function (oldStyle, placement, offset) { + _defineProperty$1(_assertThisInitialized$1(_this), "getUpdatedStyle", function (oldStyle, placement, offset) { var style = _this.props.style; var newStyle = _objectSpread2(_objectSpread2({}, style), oldStyle); @@ -11639,7 +13528,12 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { return newStyle; }); - _this.state = {}; + _this.state = { + animationKeyframe: '', + isOpen: _this.props.open || false, + uniqueKey: '', + showClosingAnimation: false + }; _this.hoverableDelay = 100; _this.offsetMapping = { small: '2px', @@ -11648,18 +13542,23 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { }; _this.triggerRef = /*#__PURE__*/React.createRef(); _this.popupRef = /*#__PURE__*/React.createRef(); - _this.getPopperChildren = _this.getPopperChildren.bind(_assertThisInitialized$2(_this)); - _this.mouseMoveHandler = _this.mouseMoveHandler.bind(_assertThisInitialized$2(_this)); - _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized$2(_this)); - _this.handleMouseLeave = _this.handleMouseLeave.bind(_assertThisInitialized$2(_this)); - _this.boundaryScrollHandler = _this.boundaryScrollHandler.bind(_assertThisInitialized$2(_this)); + _this.getPopperChildren = _this.getPopperChildren.bind(_assertThisInitialized$1(_this)); + _this.mouseMoveHandler = _this.mouseMoveHandler.bind(_assertThisInitialized$1(_this)); + _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized$1(_this)); + _this.handleMouseLeave = _this.handleMouseLeave.bind(_assertThisInitialized$1(_this)); + _this.boundaryScrollHandler = _this.boundaryScrollHandler.bind(_assertThisInitialized$1(_this)); return _this; } - _createClass$1(PopperWrapper, [{ + _createClass(PopperWrapper, [{ key: "componentDidMount", value: function componentDidMount() { this.addBoundaryScrollHandler(); + var triggerElement = this.triggerRef.current; + var zIndex = this.getZIndexForLayer(triggerElement); + this.setState({ + zIndex: zIndex === undefined ? zIndex : zIndex + 1 + }); } }, { key: "componentDidUpdate", @@ -11671,12 +13570,16 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { if (prevProps.open !== this.props.open) { this._throttleWait = false; + this.setState({ + animationKeyframe: '' + }); if (this.props.open) { - var triggerElement = this.findDOMNode(this.triggerRef); + var triggerElement = this.triggerRef.current; var zIndex = this.getZIndexForLayer(triggerElement); this.setState({ - zIndex: zIndex === undefined ? zIndex : zIndex + 1 + zIndex: zIndex === undefined ? zIndex : zIndex + 1, + isOpen: true }); } } @@ -11737,11 +13640,18 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { if (this._timer) clearTimeout(this._timer); var onToggle = this.props.onToggle; onToggle(true, 'mouseEnter'); + this.setState(function () { + return { + isOpen: true + }; + }); } } }, { key: "handleMouseLeave", value: function handleMouseLeave() { + var _this3 = this; + var on = this.props.on; if (on === 'hover') { @@ -11753,6 +13663,16 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { this.mouseMoveHandler(); } else { onToggle(false, 'mouseLeave'); + this.setState({ + showClosingAnimation: true + }, function () { + window.setTimeout(function () { + _this3.setState({ + showClosingAnimation: false, + isOpen: false + }); + }, 120); + }); } } } @@ -11765,12 +13685,12 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { var layerNode = node.closest('[data-layer]') || document.body; var zIndex = layerNode === document.body ? 'auto' : parseInt(window.getComputedStyle(layerNode).zIndex || '0', 10); - return zIndex === 'auto' || isNaN(zIndex) ? undefined : zIndex; + return zIndex === 'auto' || isNaN(zIndex) ? 500 : zIndex; } }, { key: "getTriggerElement", value: function getTriggerElement(ref) { - var _this3 = this; + var _this4 = this; var _this$props4 = this.props, trigger = _this$props4.trigger, @@ -11785,24 +13705,50 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { onClick: function onClick(ev) { ev.stopPropagation(); - _this3.togglePopper('onClick'); + _this4.togglePopper('onClick'); } }; var classes = classnames('PopperWrapper-trigger', triggerClass); + var shouldPopoverClose = function shouldPopoverClose(clicked) { + var popover = _this4.popupRef.current; + var container = document.body; + var popoverIndex = parseInt(window.getComputedStyle(popover).zIndex); + var clickInsideLayer = false; + var shouldClose = false; + var openedLayers = container.querySelectorAll('[data-opened="true"]'); + openedLayers.forEach(function (layer) { + if (layer.contains(clicked)) { + clickInsideLayer = true; + var clickedIndex = parseInt(window.getComputedStyle(layer).zIndex); + + if (popoverIndex > clickedIndex) { + shouldClose = true; + return; + } + } + }); + + if (container.isEqualNode(clicked) || shouldClose || !container.contains(clicked) || !clickInsideLayer) { + return true; + } + + return false; + }; + var onOutsideClickHandler = function onOutsideClickHandler(event) { - var _this3$props = _this3.props, - open = _this3$props.open, - closeOnBackdropClick = _this3$props.closeOnBackdropClick; + var _this4$props = _this4.props, + open = _this4$props.open, + closeOnBackdropClick = _this4$props.closeOnBackdropClick; - if (open && closeOnBackdropClick) { - if (!_this3.doesEventContainsElement(event, _this3.popupRef)) { - _this3.togglePopper('outsideClick'); + if (open && shouldPopoverClose(event.target) && closeOnBackdropClick) { + if (!_this4.doesEventContainsElement(event, _this4.popupRef)) { + _this4.togglePopper('outsideClick'); } } }; - return /*#__PURE__*/React.createElement(OutsideClick, _extends$3({ + return /*#__PURE__*/React.createElement(OutsideClick, _extends$2({ className: classes, onOutsideClick: onOutsideClickHandler }, options), trigger); @@ -11810,44 +13756,99 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { }, { key: "getPopperChildren", value: function getPopperChildren(_ref) { + var _this5 = this; + var ref = _ref.ref, style = _ref.style, placement = _ref.placement, outOfBoundaries = _ref.outOfBoundaries; var _this$props5 = this.props, offset = _this$props5.offset, - children = _this$props5.children; - var zIndex = this.state.zIndex; + children = _this$props5.children, + open = _this$props5.open, + animationClass = _this$props5.animationClass; + var _this$state = this.state, + zIndex = _this$state.zIndex, + animationKeyframe = _this$state.animationKeyframe, + uniqueKey = _this$state.uniqueKey; var newStyle = offset ? this.getUpdatedStyle(style, placement, offset) : style; - var element = /*#__PURE__*/React.cloneElement(children, { + + var childrenStyles = _objectSpread2(_objectSpread2({}, newStyle), {}, { + zIndex: zIndex + }); + + var classes = ''; + + if (!animationClass) { + var _this$popupRef$curren, _this$popupRef$curren2; + + var maxHeight = (_this$popupRef$curren = this.popupRef.current) === null || _this$popupRef$curren === void 0 ? void 0 : _this$popupRef$curren.offsetHeight; // we need to check for transformStyles so that we open the popover at correct position (left/right) + + var transformStyles = (_this$popupRef$curren2 = this.popupRef.current) === null || _this$popupRef$curren2 === void 0 ? void 0 : _this$popupRef$curren2.style.getPropertyValue('transform'); + + if (transformStyles && maxHeight && placement && !animationKeyframe) { + var _uniqueKey = Math.random().toString(36).substring(2, 6); + + var isTop = placement.includes('top'); + var popperAnimation = "\n @keyframes popper-open-".concat(_uniqueKey, " {\n from { \n max-height: 0;\n ").concat(isTop ? "margin-top: ".concat(maxHeight, "px") : '', ";\n }\n to {\n max-height: ").concat(maxHeight, "px;\n ").concat(isTop ? "margin-top: 0px" : '', ";\n }\n }\n @keyframes popper-close-").concat(_uniqueKey, " {\n from {\n max-height: ").concat(maxHeight, "px;\n ").concat(isTop ? "margin-top: 0px" : '', ";\n }\n to {\n max-height: 0;\n ").concat(isTop ? "margin-top: ".concat(maxHeight, "px") : '', ";\n }\n }\n "); + this.setState({ + animationKeyframe: popperAnimation, + uniqueKey: _uniqueKey + }); + } // defining popper-fade-in custom keyframe as it is specific to popover usecase. + + + var popperAnimationStyles = { + animation: open ? "popper-open-".concat(uniqueKey, " 120ms cubic-bezier(0, 0, 0.38, 0.9), popper-fade-in 120ms") : "popper-close-".concat(uniqueKey, " 120ms cubic-bezier(0.2, 0, 1, 0.9) 120ms, fadeOut 120ms 120ms") + }; + childrenStyles = _objectSpread2(_objectSpread2(_objectSpread2({}, childrenStyles), popperAnimationStyles), {}, { + overflow: 'hidden' + }); + } else { + var _classNames; + + classes = classnames((_classNames = {}, _defineProperty$1(_classNames, "".concat(animationClass.open), this.state.isOpen), _defineProperty$1(_classNames, "".concat(animationClass.close), !this.state.isOpen), _classNames), children.props.className); + } + + var childProps = { ref: ref, - style: _objectSpread2(_objectSpread2({}, newStyle), {}, { - zIndex: zIndex - }), + style: childrenStyles, 'data-placement': placement, 'data-hide': outOfBoundaries, onMouseEnter: this.handleMouseEnter, - onMouseLeave: this.handleMouseLeave - }); + onMouseLeave: this.handleMouseLeave, + onAnimationEnd: function onAnimationEnd() { + if (!open) { + _this5.setState({ + isOpen: false + }); + } + } + }; + var element = /*#__PURE__*/React.cloneElement(children, animationClass ? _objectSpread2(_objectSpread2({}, childProps), {}, { + className: classes + }) : _objectSpread2({}, childProps)); return element; } }, { key: "render", value: function render() { - var _this4 = this; + var _this6 = this; var _this$props6 = this.props, placement = _this$props6.placement, appendToBody = _this$props6.appendToBody, - open = _this$props6.open, hide = _this$props6.hide, boundaryElement = _this$props6.boundaryElement; - return /*#__PURE__*/React.createElement(Manager, null, /*#__PURE__*/React.createElement(Reference, { + var _this$state2 = this.state, + animationKeyframe = _this$state2.animationKeyframe, + isOpen = _this$state2.isOpen; + return /*#__PURE__*/React.createElement(Manager, null, /*#__PURE__*/React.createElement("style", null, animationKeyframe), /*#__PURE__*/React.createElement(Reference, { innerRef: this.triggerRef }, function (_ref2) { var ref = _ref2.ref; - return _this4.getTriggerElement(ref); - }), open && appendToBody && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Popper, { + return _this6.getTriggerElement(ref); + }), isOpen && appendToBody && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Popper, { placement: placement, innerRef: this.popupRef, modifiers: { @@ -11858,7 +13859,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { enabled: hide } } - }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React.createElement(Popper, { + }, this.getPopperChildren), document.body), isOpen && !appendToBody && /*#__PURE__*/React.createElement(Popper, { placement: placement, innerRef: this.popupRef }, this.getPopperChildren)); @@ -11868,7 +13869,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { return PopperWrapper; }(React.Component); -_defineProperty$2(PopperWrapper, "defaultProps", { +_defineProperty$1(PopperWrapper, "defaultProps", { on: 'click', offset: 'medium', closeOnBackdropClick: true, @@ -11877,8 +13878,8 @@ _defineProperty$2(PopperWrapper, "defaultProps", { style: {} }); -var _excluded$9 = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]; -var propsList$1 = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll']; +var _excluded$b = ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]; +var propsList = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll']; var Popover = function Popover(props) { var position = props.position, customStyle = props.customStyle, @@ -11887,8 +13888,9 @@ var Popover = function Popover(props) { onToggle = props.onToggle, className = props.className, hideOnReferenceEscape = props.hideOnReferenceEscape, - boundaryElement = props.boundaryElement, - rest = _objectWithoutProperties$1(props, _excluded$9); + _props$boundaryElemen = props.boundaryElement, + boundaryElement = _props$boundaryElemen === void 0 ? document.body : _props$boundaryElemen, + rest = _objectWithoutProperties(props, _excluded$b); var _React$useState = React.useState(!!props.open), _React$useState2 = _slicedToArray(_React$useState, 2), @@ -11913,15 +13915,16 @@ var Popover = function Popover(props) { } } }, [boundaryElement]); - var classes = classnames(_defineProperty$2({ + var classes = classnames(_defineProperty$1({ Popover: true }, 'Popover--dark', dark), className); var PopoverWrapper = /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Popover", className: classes, - "data-layer": true + "data-layer": true, + "data-opened": open }, children); - return /*#__PURE__*/React.createElement(PopperWrapper, _extends$3({}, rest, { + return /*#__PURE__*/React.createElement(PopperWrapper, _extends$2({}, rest, { init: init, boundaryElement: 'current' in boundaryElement ? boundaryElement.current : boundaryElement, open: open, @@ -11931,34 +13934,27 @@ var Popover = function Popover(props) { placement: position }), PopoverWrapper); }; -Popover.displayName = 'Popover'; // Popover.defaultProps = { -// ...filterProps(PopperWrapper.defaultProps, propsList, true), -// offset: 'large', -// position: 'bottom', -// hideOnReferenceEscape: true, -// customStyle: {}, -// } - -Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps, propsList$1, true), { +Popover.displayName = 'Popover'; +Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps, propsList, true), { offset: 'large', position: 'bottom', hideOnReferenceEscape: true, - customStyle: {}, - boundaryElement: document.body + customStyle: {} }); -var _excluded$8 = ["type", "onClick"]; +var _excluded$a = ["type", "onClick"]; var keyCodes = { BACKSPACE: 'Backspace', DELETE: 'Delete', ENTER: 'Enter' }; var ChipInput = function ChipInput(props) { - var _classNames; + var _classNames, _classNames2; var chipOptions = props.chipOptions, allowDuplicates = props.allowDuplicates, disabled = props.disabled, + error = props.error, placeholder = props.placeholder, defaultValue = props.defaultValue, value = props.value, @@ -11985,9 +13981,10 @@ var ChipInput = function ChipInput(props) { setChips(value); } }, [value]); - var ChipInputClass = classnames((_classNames = { + var ChipInputBorderClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ChipInput-border', true), _defineProperty$1(_classNames, 'ChipInput-border--error', error), _classNames)); + var ChipInputClass = classnames((_classNames2 = { ChipInput: true - }, _defineProperty$2(_classNames, 'ChipInput--disabled', disabled), _defineProperty$2(_classNames, 'ChipInput--withChips', chips.length > 0), _classNames), className); + }, _defineProperty$1(_classNames2, 'ChipInput--disabled', disabled), _defineProperty$1(_classNames2, 'ChipInput--withChips', chips && chips.length > 0), _defineProperty$1(_classNames2, 'ChipInput--error', error), _classNames2), className); var onUpdateChips = function onUpdateChips(updatedChips) { if (onChange) onChange(updatedChips); @@ -12007,7 +14004,7 @@ var ChipInput = function ChipInput(props) { var onChipAddHandler = function onChipAddHandler() { if (!inputValue) return; - var chip = inputValue.trim().toLowerCase(); + var chip = inputValue.trim(); if ((allowDuplicates || chips.indexOf(chip) === -1) && chip) { var updatedChips = [].concat(_toConsumableArray(chips), [chip]); @@ -12064,16 +14061,16 @@ var ChipInput = function ChipInput(props) { var _chipOptions$type = chipOptions.type, type = _chipOptions$type === void 0 ? 'input' : _chipOptions$type, _onClick = chipOptions.onClick, - rest = _objectWithoutProperties$1(chipOptions, _excluded$8); + rest = _objectWithoutProperties(chipOptions, _excluded$a); - return /*#__PURE__*/React.createElement(Chip, _extends$3({ + return /*#__PURE__*/React.createElement(Chip, _extends$2({ "data-test": "DesignSystem-ChipInput--Chip", label: chip, name: chip, type: type, disabled: disabled, key: index, - className: "my-2 mx-2", + className: "my-3 mx-2", onClick: function onClick() { return _onClick && _onClick(chip, index); }, @@ -12082,32 +14079,44 @@ var ChipInput = function ChipInput(props) { } }, rest)); }); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-ChipInput" - }, baseProps, { - className: ChipInputClass, - onClick: onClickHandler - }), /*#__PURE__*/React.createElement("div", { - className: "ChipInput-wrapper" - }, chips && chips.length > 0 && chipComponents, /*#__PURE__*/React.createElement("input", { - "data-test": "DesignSystem-ChipInput--Input", - ref: inputRef, - className: "ChipInput-input", - autoFocus: autoFocus, - placeholder: placeholder, - disabled: disabled, - value: inputValue, - onBlur: onBlur, - onFocus: onFocus, - onChange: onInputChangeHandler, - onKeyDown: onKeyDownHandler - })), chips.length > 0 && /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-ChipInput--Icon", - name: "close", - appearance: "subtle", - className: "ChipInput-icon", - onClick: onDeleteAllHandler - })); + return ( + /*#__PURE__*/ + + /* TODO(a11y): fix accessibility */ + + /* eslint-disable */ + React.createElement("div", { + "data-test": "DesignSystem-ChipInput--Border", + className: ChipInputBorderClass + }, /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-ChipInput" + }, baseProps, { + className: ChipInputClass, + onClick: onClickHandler, + tabIndex: disabled ? -1 : 0 + }), /*#__PURE__*/React.createElement("div", { + className: "ChipInput-wrapper" + }, chips && chips.length > 0 && chipComponents, /*#__PURE__*/React.createElement("input", { + "data-test": "DesignSystem-ChipInput--Input", + ref: inputRef, + className: "ChipInput-input", + autoFocus: autoFocus, + placeholder: chips && chips.length > 0 ? '' : placeholder, + disabled: disabled, + value: inputValue, + onBlur: onBlur, + onFocus: onFocus, + onChange: onInputChangeHandler, + onKeyDown: onKeyDownHandler + })), chips.length > 0 && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-ChipInput--Icon", + name: "close", + appearance: disabled ? 'disabled' : 'subtle', + className: "ChipInput-icon", + onClick: onDeleteAllHandler, + tabIndex: disabled ? -1 : 0 + }))) + ); }; ChipInput.displayName = 'ChipInput'; ChipInput.defaultProps = { @@ -12121,7 +14130,7 @@ var getTextAppearance = function getTextAppearance(isActive, disabled) { return disabled ? 'disabled' : isActive ? 'link' : 'default'; }; var getIconAppearance = function getIconAppearance(isActive, disabled) { - return disabled ? 'disabled' : isActive ? 'info' : 'default'; + return disabled ? 'disabled' : isActive ? 'primary_dark' : 'default'; }; var getPillsAppearance = function getPillsAppearance(isActive) { return isActive ? 'primary' : 'secondary'; @@ -12161,10 +14170,46 @@ var isMenuActive = function isMenuActive(menus, menu, active) { return false; }; +var getNavItemColor = function getNavItemColor(isActive, disabled) { + return disabled ? 'inverse-lightest' : isActive ? 'primary-dark' : 'inverse'; +}; -var MenuItem = function MenuItem(props) { +var _MenuLabel = function MenuLabel(props) { + var label = props.label, + labelColor = props.labelColor; + return /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-VerticalNav--Text", + color: labelColor, + className: "MenuItem-Text" + }, label); +}; + +var _MenuIcon = function MenuIcon(props) { + var isChildrenVisible = props.isChildrenVisible; + return /*#__PURE__*/React.createElement(Icon, { + className: "mx-4", + name: isChildrenVisible ? 'keyboard_arrow_up' : 'keyboard_arrow_down' + }); +}; + +var _MenuPills = function MenuPills(props) { var _classNames; + var disabled = props.disabled, + isActive = props.isActive, + count = props.count; + var PillsClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'MenuItem-count', true), _defineProperty$1(_classNames, 'MenuItem-count--disabled', disabled), _classNames)); + return /*#__PURE__*/React.createElement(Pills, { + subtle: disabled, + className: PillsClass, + appearance: getPillsAppearance(isActive), + "data-test": "DesignSystem-VerticalNav--Pills" + }, count); +}; + +var MenuItem = function MenuItem(props) { + var _classNames2; + var menu = props.menu, isActive = props.isActive, expanded = props.expanded, @@ -12172,56 +14217,83 @@ var MenuItem = function MenuItem(props) { hasSubmenu = props.hasSubmenu, isChildren = props.isChildren, isChildrenVisible = props.isChildrenVisible, - onClick = props.onClick; - var baseProps = extractBaseProps(props); + onClick = props.onClick, + customItemRenderer = props.customItemRenderer; - var onClickHandler = function onClickHandler() { + var onClickHandler = function onClickHandler(ev) { + ev.preventDefault(); if (onClick) onClick(menu); }; - var ItemClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'MenuItem', true), _defineProperty$2(_classNames, 'MenuItem--vertical', true), _defineProperty$2(_classNames, 'MenuItem--collapsed', !expanded), _defineProperty$2(_classNames, 'MenuItem--expanded', expanded), _defineProperty$2(_classNames, 'MenuItem--active', isActive), _defineProperty$2(_classNames, 'MenuItem--disabled', menu.disabled), _defineProperty$2(_classNames, 'MenuItem--subMenu', isChildren && expanded), _defineProperty$2(_classNames, 'MenuItem--rounded', rounded && expanded), _classNames)); + var baseProps = _objectSpread2({ + onClick: onClickHandler, + href: menu.link, + tabIndex: 0 + }, extractBaseProps(props)); + + var itemColor = getNavItemColor(isActive, menu.disabled); + var ItemClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'MenuItem', true), _defineProperty$1(_classNames2, 'MenuItem--vertical', true), _defineProperty$1(_classNames2, 'MenuItem--collapsed', !expanded), _defineProperty$1(_classNames2, 'MenuItem--expanded', expanded), _defineProperty$1(_classNames2, 'MenuItem--active', isActive), _defineProperty$1(_classNames2, 'MenuItem--disabled', menu.disabled), _defineProperty$1(_classNames2, 'MenuItem--subMenu', isChildren && expanded), _defineProperty$1(_classNames2, 'MenuItem--rounded', rounded && expanded), _defineProperty$1(_classNames2, "color-".concat(itemColor), true), _classNames2)); var renderSubMenu = function renderSubMenu() { if (hasSubmenu) { - return /*#__PURE__*/React.createElement(Icon, { - className: "mx-4", - name: isChildrenVisible ? 'keyboard_arrow_up' : 'keyboard_arrow_down', - appearance: "subtle" + return /*#__PURE__*/React.createElement(_MenuIcon, { + isChildrenVisible: isChildrenVisible }); } if (menu.count !== undefined) { - var _classNames2; - var count = menu.count > 99 ? '99+' : menu.count; - var PillsClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'MenuItem-count', true), _defineProperty$2(_classNames2, 'MenuItem-count--disabled', menu.disabled), _classNames2)); - return /*#__PURE__*/React.createElement(Pills, { - subtle: menu.disabled, - className: PillsClass, - appearance: getPillsAppearance(isActive), - "data-test": "DesignSystem-VerticalNav--Pills" - }, count); + return /*#__PURE__*/React.createElement(_MenuPills, { + disabled: menu.disabled, + isActive: isActive, + count: count + }); } return null; }; if (!expanded && !menu.icon) return null; - return /*#__PURE__*/React.createElement("div", _extends$3({ + + var customItemProps = _objectSpread2(_objectSpread2({}, props), {}, { + MenuIcon: function MenuIcon() { + return _MenuIcon({ + isChildrenVisible: isChildrenVisible + }); + }, + MenuLabel: function MenuLabel() { + return _MenuLabel({ + label: menu.label, + labelColor: itemColor + }); + }, + MenuPills: function MenuPills() { + return menu.count !== undefined ? _MenuPills({ + disabled: menu.disabled, + isActive: isActive, + count: menu.count + }) : /*#__PURE__*/React.createElement(React.Fragment, null); + } + }); + + return customItemRenderer ? customItemRenderer(customItemProps) : + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement(GenericText, _extends$2({ + componentType: "a", className: ItemClass - }, baseProps, { - onClick: onClickHandler - }), /*#__PURE__*/React.createElement("div", { + }, baseProps), /*#__PURE__*/React.createElement("div", { className: "d-flex align-items-center overflow-hidden" }, menu.icon && /*#__PURE__*/React.createElement(Icon, { "data-test": "DesignSystem-VerticalNav--Icon", className: expanded ? 'mr-4' : '', name: menu.icon, - appearance: getIconAppearance(isActive, menu.disabled) - }), expanded && /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-VerticalNav--Text", - appearance: getTextAppearance(isActive, menu.disabled) - }, menu.label)), expanded && renderSubMenu()); + variations: menu.iconVariations + }), expanded && /*#__PURE__*/React.createElement(_MenuLabel, { + label: menu.label, + labelColor: itemColor + })), expanded && renderSubMenu()); }; MenuItem.defaultProps = { isActive: false @@ -12237,7 +14309,9 @@ var VerticalNav = function VerticalNav(props) { expanded = props.expanded, rounded = props.rounded, autoCollapse = props.autoCollapse, - className = props.className; + className = props.className, + customItemRenderer = props.customItemRenderer, + showTooltip = props.showTooltip; var _React$useState = React.useState({}), _React$useState2 = _slicedToArray(_React$useState, 2), @@ -12262,7 +14336,7 @@ var VerticalNav = function VerticalNav(props) { var name = nameSplit[0]; if (autoCollapse) { - setMenuState(_defineProperty$2({}, name, val || !menuState[name])); + setMenuState(_defineProperty$1({}, name, val || !menuState[name])); } else { var menuData = _objectSpread2({}, menuState); @@ -12297,15 +14371,31 @@ var VerticalNav = function VerticalNav(props) { var hasSubmenu = menu.subMenu && menu.subMenu.length > 0; var isChildrenVisible = hasSubmenu && menuState[menu.name]; var hasGroup = index === 0 || menus[index - 1].group !== menu.group; - var sectionClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'VerticalNav-section', true), _defineProperty$2(_classNames, 'VerticalNav-section--border', index !== 0), _classNames)); - return /*#__PURE__*/React.createElement(React.Fragment, null, hasGroup && menu.group && expanded && /*#__PURE__*/React.createElement("div", { + var sectionClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'VerticalNav-section', true), _defineProperty$1(_classNames, 'VerticalNav-section--border', index !== 0), _classNames)); + return /*#__PURE__*/React.createElement(React.Fragment, { + key: index + }, hasGroup && menu.group && expanded && /*#__PURE__*/React.createElement("div", { className: sectionClass }, /*#__PURE__*/React.createElement(Text, { "data-test": "DesignSystem-VerticalNav--Section", size: "small", weight: "strong", appearance: "subtle" - }, menu.group)), /*#__PURE__*/React.createElement(MenuItem, { + }, menu.group)), showTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + tooltip: menu.label, + position: "right" + }, /*#__PURE__*/React.createElement(MenuItem, { + "data-test": "DesignSystem-VerticalNav--Item", + menu: menu, + expanded: expanded, + isActive: isActive, + hasSubmenu: hasSubmenu, + isChildren: false, + rounded: rounded, + isChildrenVisible: isChildrenVisible, + onClick: onClickHandler, + customItemRenderer: customItemRenderer + })) : /*#__PURE__*/React.createElement(MenuItem, { "data-test": "DesignSystem-VerticalNav--Item", menu: menu, expanded: expanded, @@ -12314,9 +14404,23 @@ var VerticalNav = function VerticalNav(props) { isChildren: false, rounded: rounded, isChildrenVisible: isChildrenVisible, - onClick: onClickHandler + onClick: onClickHandler, + customItemRenderer: customItemRenderer }), menuState[menu.name] && menu.subMenu && menu.subMenu.map(function (subMenu, id) { - return /*#__PURE__*/React.createElement(MenuItem, { + return showTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + tooltip: subMenu.label, + position: "right" + }, /*#__PURE__*/React.createElement(MenuItem, { + key: id, + menu: subMenu, + expanded: expanded, + hasSubmenu: false, + isChildren: true, + rounded: rounded, + onClick: onClickHandler, + isActive: isMenuActive(menus, subMenu, active), + customItemRenderer: customItemRenderer + })) : /*#__PURE__*/React.createElement(MenuItem, { key: id, menu: subMenu, expanded: expanded, @@ -12324,24 +14428,26 @@ var VerticalNav = function VerticalNav(props) { isChildren: true, rounded: rounded, onClick: onClickHandler, - isActive: isMenuActive(menus, subMenu, active) + isActive: isMenuActive(menus, subMenu, active), + customItemRenderer: customItemRenderer }); })); }); - return /*#__PURE__*/React.createElement(React.Fragment, null, list); + return list; }; - var classes = classnames(_defineProperty$2({ + var classes = classnames(_defineProperty$1({ VerticalNav: true }, 'VerticalNav--expanded', expanded), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: classes }), renderList()); }; VerticalNav.defaultProps = { expanded: true, autoCollapse: true, - rounded: false + rounded: false, + showTooltip: false }; var HorizontalNav = function HorizontalNav(props) { @@ -12350,7 +14456,7 @@ var HorizontalNav = function HorizontalNav(props) { onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var classes = classnames(_defineProperty$2({}, 'HorizontalNav', true), className); + var classes = classnames(_defineProperty$1({}, 'HorizontalNav', true), className); var onClickHandler = function onClickHandler(menu) { return function () { @@ -12361,7 +14467,7 @@ var HorizontalNav = function HorizontalNav(props) { var getPillsClass = function getPillsClass(disabled) { var _classNames2; - return classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'HorizontalNav-pills', true), _defineProperty$2(_classNames2, 'HorizontalNav-pills--disabled', disabled), _classNames2)); + return classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'HorizontalNav-pills', true), _defineProperty$1(_classNames2, 'HorizontalNav-pills--disabled', disabled), _defineProperty$1(_classNames2, 'HorizontalNav-animate', true), _classNames2)); }; var renderIcon = function renderIcon(menu, isActive) { @@ -12377,9 +14483,9 @@ var HorizontalNav = function HorizontalNav(props) { if (menu.icon) { return /*#__PURE__*/React.createElement(Icon, { - className: "mr-3", + className: "mr-3 HorizontalNav-animate", name: menu.icon, - appearance: getIconAppearance(isActive, menu.disabled), + variations: menu.iconVariations, "data-test": "DesignSystem-HorizontalNav--Icon" }); } @@ -12387,35 +14493,64 @@ var HorizontalNav = function HorizontalNav(props) { return null; }; + var onKeyDownHandler = function onKeyDownHandler(event, menu) { + if (event.key === 'Enter' && onClick) { + onClick(menu); + } + }; + var list = menus.map(function (menu, index) { var _classNames3; var isActive = isMenuActive(menus, menu, active); + var itemColor = getNavItemColor(isActive, menu.disabled); var menuClasses = classnames((_classNames3 = { - 'HorizontalNav-menu': true - }, _defineProperty$2(_classNames3, 'HorizontalNav-menu--active', isActive), _defineProperty$2(_classNames3, 'HorizontalNav-menu--disabled', menu.disabled), _classNames3)); - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-HorizontalNav", - key: index, - className: menuClasses, - onClick: onClickHandler(menu) - }, renderIcon(menu, isActive), /*#__PURE__*/React.createElement(Text, { - appearance: getTextAppearance(isActive, menu.disabled), - "data-test": "DesignSystem-HorizontalNav--Text", - className: "HorizontalNav-menuText" - }, menu.label)); + 'HorizontalNav-menu': true, + 'HorizontalNav-menu--default': !isActive && !menu.disabled + }, _defineProperty$1(_classNames3, 'HorizontalNav-menu--active', isActive), _defineProperty$1(_classNames3, 'HorizontalNav-menu--disabled', menu.disabled), _defineProperty$1(_classNames3, "HorizontalNav-animate", true), _defineProperty$1(_classNames3, "color-".concat(itemColor), true), _classNames3)); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + tabIndex: 0, + "data-test": "DesignSystem-HorizontalNav", + key: index, + className: menuClasses, + onClick: onClickHandler(menu), + onKeyDown: function onKeyDown(e) { + return onKeyDownHandler(e, menu); + }, + role: "button" + }, renderIcon(menu, isActive), /*#__PURE__*/React.createElement(Text, { + color: itemColor, + weight: "medium", + "data-test": "DesignSystem-HorizontalNav--Text", + className: "HorizontalNav-menuText HorizontalNav-animate" + }, menu.label)) + ); }); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: classes }), list); }; -var _excluded$7 = ["children", "tooltip"]; -var propsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll']; +var _excluded$9 = ["children", "tooltip"]; +var tooltipPropsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll']; +var positionValue = { + bottom: 'bottom', + top: 'top', + 'top-start': 'top', + 'top-end': 'top', + 'bottom-start': 'bottom', + 'bottom-end': 'bottom', + left: 'left', + right: 'right' +}; var Tooltip = function Tooltip(props) { var children = props.children, tooltip = props.tooltip, - rest = _objectWithoutProperties$1(props, _excluded$7); + rest = _objectWithoutProperties(props, _excluded$9); var tooltipWrapper = /*#__PURE__*/React.createElement("div", { className: "Tooltip" @@ -12423,17 +14558,23 @@ var Tooltip = function Tooltip(props) { className: "Tooltip-text", appearance: "white" }, tooltip)); - return /*#__PURE__*/React.createElement(Popover, _extends$3({ + return /*#__PURE__*/React.createElement(Popover, _extends$2({ trigger: children, on: 'hover', offset: 'medium' - }, rest), tooltipWrapper); + }, rest, { + animationClass: { + open: "Tooltip-animation-open-".concat(positionValue[props.position]), + close: "Tooltip-animation-close-".concat(positionValue[props.position]) + }, + className: "Tooltip-container" + }), tooltipWrapper); }; // Tooltip.defaultProps = filterProps({ // ...Popover.defaultProps, // hoverable: false // }, propsList); -Tooltip.defaultProps = Object.assign({}, filterProps(Popover.defaultProps, propsList), { +Tooltip.defaultProps = Object.assign({}, filterProps(Popover.defaultProps, tooltipPropsList), { hoverable: false }); @@ -12451,7 +14592,7 @@ var Dialog = function Dialog(props) { secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonCallback = props.secondaryButtonCallback; var baseProps = extractBaseProps(props); - return /*#__PURE__*/React.createElement(Modal, _extends$3({ + return /*#__PURE__*/React.createElement(Modal, _extends$2({ "data-test": "DesignSystem-Dialog" }, baseProps, { open: open, @@ -12461,10 +14602,12 @@ var Dialog = function Dialog(props) { heading: heading }, footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + type: "button", "data-test": "DesignSystem-Dialog--SecondaryButton", appearance: secondaryButtonAppearance, onClick: secondaryButtonCallback }, secondaryButtonLabel), /*#__PURE__*/React.createElement(Button, { + type: "button", className: "ml-4", "data-test": "DesignSystem-Dialog--PrimaryButton", appearance: primaryButtonAppearance, @@ -12483,7 +14626,7 @@ Dialog.defaultProps = { secondaryButtonAppearance: 'basic' }; -var _excluded$6 = ["label"]; +var _excluded$8 = ["label"]; var OverlayFooter = function OverlayFooter(props) { var open = props.open, className = props.className, @@ -12514,21 +14657,23 @@ var OverlayFooter = function OverlayFooter(props) { }, [open]); if (actions) { - return /*#__PURE__*/React.createElement("div", _extends$3({ + return /*#__PURE__*/React.createElement("div", _extends$2({ ref: wrapperRef }, baseProps, { className: classes }), actions.map(function (_ref, index) { _ref.label; - var options = _objectWithoutProperties$1(_ref, _excluded$6); + var options = _objectWithoutProperties(_ref, _excluded$8); - return /*#__PURE__*/React.createElement(Button, _extends$3({}, options, { + return /*#__PURE__*/React.createElement(Button, _extends$2({ + type: "button" + }, options, { key: index })); })); } - return /*#__PURE__*/React.createElement("div", _extends$3({ + return /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-OverlayFooter", ref: wrapperRef }, baseProps, { @@ -12546,13 +14691,14 @@ var OverlayHeader = function OverlayHeader(props) { backButton = props.backButton, backIcon = props.backIcon, backIconCallback = props.backIconCallback, - backButtonCallback = props.backButtonCallback; + backButtonCallback = props.backButtonCallback, + headingClass = props.headingClass; var baseProps = extractBaseProps(props); - var classes = classnames(_defineProperty$2({ + var classes = classnames(_defineProperty$1({ OverlayHeader: true }, 'OverlayHeader--withBackButton', backButton || backIcon), className); - var subheadingClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'OverlayHeader-subheading', true), _defineProperty$2(_classNames2, 'OverlayHeader-subheading--withBackButton', backButton || backIcon), _classNames2)); - return /*#__PURE__*/React.createElement("div", _extends$3({ + var subheadingClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'OverlayHeader-subheading', true), _defineProperty$1(_classNames2, 'OverlayHeader-subheading--withBackButton', backButton || backIcon), _classNames2)); + return /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-OverlayHeader" }, baseProps, { className: classes @@ -12561,10 +14707,12 @@ var OverlayHeader = function OverlayHeader(props) { }, (backButton || backIcon) && /*#__PURE__*/React.createElement(Button, { "data-test": "DesignSystem-OverlayHeader--Button", appearance: "transparent", - className: "mr-5", - icon: "keyboard_backspace", + className: "mr-4", + icon: "arrow_back", + largeIcon: true, onClick: backButtonCallback || backIconCallback }), heading && /*#__PURE__*/React.createElement(Heading, { + className: headingClass, "data-test": "DesignSystem-OverlayHeader--heading" }, heading)), subHeading && /*#__PURE__*/React.createElement(Text, { "data-test": "DesignSystem-OverlayHeader--Subheading", @@ -12581,7 +14729,7 @@ var OverlayBody = function OverlayBody(props) { var classes = classnames({ OverlayBody: true }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({ + return /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-OverlayBody" }, baseProps, { className: classes @@ -12620,38 +14768,133 @@ var getUpdatedZIndex = function getUpdatedZIndex(ele) { zIndex = Math.max(zIndex, prevZIndex + 10); }); return zIndex > 0 ? zIndex : undefined; +}; // keyboard event, boolean?, (event: Event) => void + +var closeOnEscapeKeypress = function closeOnEscapeKeypress(event, isTopOverlay, onClose) { + if (event.key === 'Escape' && isTopOverlay) { + onClose(event); // prevent browser-specific escape key behavior (Safari exits fullscreen) + + event.preventDefault(); + } }; +var OverlayManager = /*#__PURE__*/function () { + function OverlayManager() { + _classCallCheck(this, OverlayManager); + + _defineProperty$1(this, "overlays", void 0); + + this.overlays = []; + } + + _createClass(OverlayManager, [{ + key: "add", + value: function add(overlay) { + if (overlay === null) return; + var overlayIdx = this.overlays.indexOf(overlay); + + if (overlayIdx !== -1) { + return overlayIdx; + } + + overlayIdx = this.overlays.length; + this.overlays.push(overlay); + return overlayIdx; + } + }, { + key: "remove", + value: function remove(overlay) { + if (overlay === null) return; + var overlayIdx = this.overlays.indexOf(overlay); + + if (overlayIdx === -1) { + return; + } + + this.overlays.splice(overlayIdx, 1); + } + }, { + key: "isTopOverlay", + value: function isTopOverlay(overlay) { + if (overlay === null) return; + return !!this.overlays.length && this.overlays[this.overlays.length - 1] === overlay; + } + }]); + + return OverlayManager; +}(); + +var instance = new OverlayManager(); +Object.freeze(instance); + /** * ** NOTE: Use `headerOptions`, `header`, `footerOptions`, `footer`, `onClose` and `backdropClose`(boolean). ** * ** Support for composition using `ModalHeader`, `ModalBody` and `ModalFooter` will be deprecated soon. ** */ var Modal = /*#__PURE__*/function (_React$Component) { - _inherits$1(Modal, _React$Component); + _inherits(Modal, _React$Component); - var _super = _createSuper$1(Modal); + var _super = _createSuper(Modal); function Modal(props) { var _this; - _classCallCheck$1(this, Modal); + _classCallCheck(this, Modal); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "modalRef", /*#__PURE__*/React.createRef()); + _defineProperty$1(_assertThisInitialized$1(_this), "modalRef", /*#__PURE__*/React.createRef()); + + _defineProperty$1(_assertThisInitialized$1(_this), "element", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "element", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "onCloseHandler", function (event) { + var isTopOverlay = instance.isTopOverlay(_this.modalRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }); _this.element = getWrapperElement(); _this.state = { open: props.open, animate: props.open }; - _this.onOutsideClickHandler = _this.onOutsideClickHandler.bind(_assertThisInitialized$2(_this)); + _this.onOutsideClickHandler = _this.onOutsideClickHandler.bind(_assertThisInitialized$1(_this)); return _this; } - _createClass$1(Modal, [{ + _createClass(Modal, [{ + key: "componentDidMount", + value: function componentDidMount() { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + + if (this.props.backdropClose) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + } + + var zIndex = getUpdatedZIndex({ + element: this.element, + containerClassName: '.Overlay-container', + elementRef: this.modalRef + }); + this.setState({ + zIndex: zIndex + }); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.props.closeOnEscape) { + document.removeEventListener('keydown', this.onCloseHandler); + } + } + }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { var _this2 = this; @@ -12668,6 +14911,7 @@ var Modal = /*#__PURE__*/function (_React$Component) { open: true, animate: true }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.add(this.modalRef.current); } else { this.setState({ animate: false @@ -12678,6 +14922,7 @@ var Modal = /*#__PURE__*/function (_React$Component) { }); }, 120); }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.remove(this.modalRef.current); } } } @@ -12685,18 +14930,20 @@ var Modal = /*#__PURE__*/function (_React$Component) { key: "onOutsideClickHandler", value: function onOutsideClickHandler(event) { var _this$props = this.props, + closeOnEscape = _this$props.closeOnEscape, backdropClose = _this$props.backdropClose, onClose = _this$props.onClose; var open = this.state.open; - if (open) { + if (open && instance.isTopOverlay(this.modalRef.current)) { + if (closeOnEscape || backdropClose) instance.remove(this.modalRef.current); if (onClose) onClose(event, 'OutsideClick');else if (typeof backdropClose === 'function') backdropClose(event, 'OutsideClick'); } } }, { key: "render", value: function render() { - var _classNames, _classNames2, _classNames3; + var _classNames, _classNames2, _classNames3, _classNames4; var _this$state = this.state, animate = _this$state.animate, @@ -12713,15 +14960,18 @@ var Modal = /*#__PURE__*/function (_React$Component) { seperator = _this$props2.seperator, footer = _this$props2.footer, onClose = _this$props2.onClose; + var BackdropZIndex = zIndex ? zIndex - 1 : 1000; var classes = classnames({ Modal: true, 'Modal--open': open, 'Modal-animation--open': animate, 'Modal-animation--close': !animate }, className); - var headerClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Modal-header', true), _defineProperty$2(_classNames, 'Modal-header--withSeperator', seperator), _classNames)); - var footerClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Modal-footer', true), _defineProperty$2(_classNames2, 'Modal-footer--withSeperator', seperator), _classNames2)); - var ContainerClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Row', true), _defineProperty$2(_classNames3, 'Overlay-container', true), _defineProperty$2(_classNames3, 'Overlay-container--open', open), _classNames3)); + var headerClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Modal-header', true), _defineProperty$1(_classNames, 'Modal-header--withSeperator', seperator), _classNames)); + var footerClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Modal-footer', true), _defineProperty$1(_classNames2, 'Modal-footer--withSeperator', seperator), _classNames2)); + var ContainerClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Row', true), _defineProperty$1(_classNames3, 'Overlay-container', true), _defineProperty$1(_classNames3, 'Overlay-container--open', open), _classNames3)); + var isAPINew = headerOptions || footerOptions || footer || header; + var bodyClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Modal-body', true), _defineProperty$1(_classNames4, 'Modal-body--withMargin', isAPINew ? !!footer : true), _defineProperty$1(_classNames4, 'Modal-body--withPadding', isAPINew ? !footer : true), _classNames4)); var baseProps = extractBaseProps(this.props); var sizeMap = { small: { @@ -12747,10 +14997,11 @@ var Modal = /*#__PURE__*/function (_React$Component) { "data-test": "DesignSystem-ModalContainer", className: ContainerClass, "data-layer": true, + "data-opened": open, style: { - zIndex: zIndex + zIndex: zIndex ? zIndex : 1001 } - }, /*#__PURE__*/React.createElement(Column, _extends$3({ + }, /*#__PURE__*/React.createElement(Column, _extends$2({ "data-test": "DesignSystem-Modal" }, baseProps, { className: classes @@ -12758,10 +15009,13 @@ var Modal = /*#__PURE__*/function (_React$Component) { ref: this.modalRef }), (headerOptions || header) && /*#__PURE__*/React.createElement("div", { className: headerClass - }, /*#__PURE__*/React.createElement(Column, null, !header && /*#__PURE__*/React.createElement(OverlayHeader, _extends$3({ + }, /*#__PURE__*/React.createElement(Column, null, !header && /*#__PURE__*/React.createElement(OverlayHeader, _extends$2({ "data-test": "DesignSystem-Modal--header" }, headerOptions)), !!header && header), /*#__PURE__*/React.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React.createElement(Tooltip, { + tooltip: "Close", + position: "bottom" }, /*#__PURE__*/React.createElement(Button, { icon: "close", appearance: "transparent", @@ -12769,21 +15023,23 @@ var Modal = /*#__PURE__*/function (_React$Component) { onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), children && /*#__PURE__*/React.createElement(React.Fragment, null, headerOptions || footerOptions || footer || header ? /*#__PURE__*/React.createElement(OverlayBody, { - className: "Modal-body" - }, this.props.children) : children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$3({ + })))), open && children && /*#__PURE__*/React.createElement(React.Fragment, null, headerOptions || footerOptions || footer || header ? /*#__PURE__*/React.createElement(OverlayBody, { + className: bodyClass + }, this.props.children) : children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$2({ "data-test": "DesignSystem-Modal--footer" }, footerOptions, { open: open, className: footerClass }), footer))); var ModalWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + ref: this.modalRef, "data-test": "DesignSystem-Modal--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, ModalContainer) : ModalContainer; var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalWrapper, this.element); return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { - open: this.state.animate + open: this.state.animate, + zIndex: BackdropZIndex })); } }]); @@ -12791,7 +15047,7 @@ var Modal = /*#__PURE__*/function (_React$Component) { return Modal; }(React.Component); -_defineProperty$2(Modal, "defaultProps", { +_defineProperty$1(Modal, "defaultProps", { dimension: 'medium' }); @@ -12804,10 +15060,10 @@ var ModalHeader = function ModalHeader(props) { backIcon = props.backIcon, backIconCallback = props.backIconCallback; var baseProps = extractBaseProps(props); - var classes = classnames(_defineProperty$2({ + var classes = classnames(_defineProperty$1({ 'Modal-header': true }, 'Modal-header--withSeperator', seperator), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: classes }), /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement(OverlayHeader, { heading: heading, @@ -12832,9 +15088,10 @@ var ModalBody = function ModalBody(props) { className = props.className; var baseProps = extractBaseProps(props); var classes = classnames({ - 'Modal-body': true + 'Modal-body': true, + 'Modal-body--withMargin': true }, className); - return /*#__PURE__*/React.createElement(OverlayBody, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(OverlayBody, _extends$2({}, baseProps, { stickFooter: true, className: classes }), children); @@ -12853,8 +15110,8 @@ var ModalFooter = function ModalFooter(props) { className = props.className, seperator = props.seperator; var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Modal-footer', true), _defineProperty$2(_classNames, 'Modal-footer--withSeperator', seperator), _classNames), className); - return /*#__PURE__*/React.createElement(OverlayFooter, _extends$3({}, baseProps, { + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Modal-footer', true), _defineProperty$1(_classNames, 'Modal-footer--withSeperator', seperator), _classNames), className); + return /*#__PURE__*/React.createElement(OverlayFooter, _extends$2({}, baseProps, { open: open, className: classes }), children); @@ -12862,20 +15119,43 @@ var ModalFooter = function ModalFooter(props) { ModalFooter.displayName = 'ModalFooter'; var FullscreenModal = /*#__PURE__*/function (_React$Component) { - _inherits$1(FullscreenModal, _React$Component); + _inherits(FullscreenModal, _React$Component); - var _super = _createSuper$1(FullscreenModal); + var _super = _createSuper(FullscreenModal); function FullscreenModal(props) { var _this; - _classCallCheck$1(this, FullscreenModal); + _classCallCheck(this, FullscreenModal); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "modalRef", /*#__PURE__*/React.createRef()); + _defineProperty$1(_assertThisInitialized$1(_this), "modalRef", /*#__PURE__*/React.createRef()); + + _defineProperty$1(_assertThisInitialized$1(_this), "element", void 0); + + _defineProperty$1(_assertThisInitialized$1(_this), "onOutsideClickHandler", function (event) { + instance.remove(_this.modalRef.current); + + if (_this.props.onClose) { + _this.props.onClose(event, 'EscapePress'); + } else { + _this.setState({ + animate: false + }, function () { + window.setTimeout(function () { + _this.setState({ + open: false + }); + }, 120); + }); + } + }); - _defineProperty$2(_assertThisInitialized$2(_this), "element", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "onCloseHandler", function (event) { + var isTopOverlay = instance.isTopOverlay(_this.modalRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }); _this.element = getWrapperElement(); _this.state = { @@ -12885,7 +15165,23 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { return _this; } - _createClass$1(FullscreenModal, [{ + _createClass(FullscreenModal, [{ + key: "componentDidMount", + value: function componentDidMount() { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.props.closeOnEscape) document.removeEventListener('keydown', this.onCloseHandler); + } + }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { var _this2 = this; @@ -12902,6 +15198,7 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { open: true, animate: true }); + if (this.props.closeOnEscape) instance.add(this.modalRef.current); } else { this.setState({ animate: false @@ -12912,6 +15209,7 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { }); }, 120); }); + if (this.props.closeOnEscape) instance.remove(this.modalRef.current); } } } @@ -12935,11 +15233,10 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { onClose = _this$props.onClose; var classes = classnames({ FullscreenModal: true, - 'FullscreenModal--open': open, 'FullscreenModal-animation--open': animate, 'FullscreenModal-animation--close': !animate }, className); - var ContainerClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Overlay-container', true), _defineProperty$2(_classNames, 'Overlay-container--open', open), _classNames)); + var ContainerClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Overlay-container', true), _defineProperty$1(_classNames, 'Overlay-container--open', open), _classNames)); var baseProps = extractBaseProps(this.props); var sizeMap = { medium: { @@ -12955,14 +15252,14 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { sizeXS: '12' } }; - var ModalContainer = /*#__PURE__*/React.createElement("div", { + var ModalContainer = open ? /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-FullscreenModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/React.createElement("div", _extends$3({ + }, /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-FullscreenModal" }, baseProps, { className: classes, @@ -12971,10 +15268,12 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { className: "justify-content-center" }, /*#__PURE__*/React.createElement(Column, sizeMap[dimension], /*#__PURE__*/React.createElement(Row, { className: "FullscreenModal-header" - }, /*#__PURE__*/React.createElement(Column, null, !header && /*#__PURE__*/React.createElement(OverlayHeader, _extends$3({ + }, /*#__PURE__*/React.createElement(Column, null, !header && /*#__PURE__*/React.createElement(OverlayHeader, _extends$2({ "data-test": "DesignSystem-FullscreenModal--header" }, headerOptions)), !!header && header), /*#__PURE__*/React.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React.createElement(Tooltip, { + tooltip: "Close" }, /*#__PURE__*/React.createElement(Button, { icon: "close", appearance: "transparent", @@ -12982,15 +15281,15 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React.createElement(OverlayBody, { + })))), /*#__PURE__*/React.createElement(OverlayBody, { "data-test": "DesignSystem-FullscreenModal--Body", className: "FullscreenModal-body" - }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$3({ + }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$2({ "data-test": "DesignSystem-FullscreenModal--footer" }, footerOptions, { open: open, className: "FullscreenModal-footer" - }), footer))))); + }), footer))))) : null; var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalContainer, this.element); return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement); } @@ -12999,7 +15298,7 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { return FullscreenModal; }(React.Component); -_defineProperty$2(FullscreenModal, "defaultProps", { +_defineProperty$1(FullscreenModal, "defaultProps", { dimension: 'medium' }); @@ -13009,35 +15308,69 @@ var sidesheetWidth = { }; var Sidesheet = /*#__PURE__*/function (_React$Component) { - _inherits$1(Sidesheet, _React$Component); + _inherits(Sidesheet, _React$Component); - var _super = _createSuper$1(Sidesheet); + var _super = _createSuper(Sidesheet); function Sidesheet(props) { var _this; - _classCallCheck$1(this, Sidesheet); + _classCallCheck(this, Sidesheet); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "sidesheetRef", /*#__PURE__*/React.createRef()); + _defineProperty$1(_assertThisInitialized$1(_this), "sidesheetRef", /*#__PURE__*/React.createRef()); + + _defineProperty$1(_assertThisInitialized$1(_this), "element", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "element", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "onCloseHandler", function (event) { + var isTopOverlay = instance.isTopOverlay(_this.sidesheetRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }); _this.element = getWrapperElement(); _this.state = { open: props.open, animate: props.open }; - _this.onOutsideClickHandler = _this.onOutsideClickHandler.bind(_assertThisInitialized$2(_this)); + _this.onOutsideClickHandler = _this.onOutsideClickHandler.bind(_assertThisInitialized$1(_this)); return _this; } - _createClass$1(Sidesheet, [{ + _createClass(Sidesheet, [{ + key: "componentDidMount", + value: function componentDidMount() { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.sidesheetRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + + if (this.props.backdropClose && this.state.open) { + instance.add(this.sidesheetRef.current); + } + + var zIndex = getUpdatedZIndex({ + element: this.element, + containerClassName: '.Overlay-container', + elementRef: this.sidesheetRef + }); + this.setState({ + zIndex: zIndex + }); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + if (this.props.closeOnEscape) { + document.removeEventListener('keydown', this.onCloseHandler); + } + } + }, { key: "componentDidUpdate", value: function componentDidUpdate(prevProps) { - var _this2 = this; - if (prevProps.open !== this.props.open) { if (this.props.open) { var zIndex = getUpdatedZIndex({ @@ -13050,69 +15383,89 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { open: true, animate: true }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.add(this.sidesheetRef.current); } else { this.setState({ animate: false - }, function () { - window.setTimeout(function () { - _this2.setState({ - open: false - }); - }, 120); }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.remove(this.sidesheetRef.current); } } } }, { key: "onOutsideClickHandler", value: function onOutsideClickHandler(event) { - var onClose = this.props.onClose; + var _this$props = this.props, + backdropClose = _this$props.backdropClose, + closeOnEscape = _this$props.closeOnEscape, + onClose = _this$props.onClose; var open = this.state.open; - if (open) { + if (open && instance.isTopOverlay(this.sidesheetRef.current)) { + if (backdropClose || closeOnEscape) instance.remove(this.sidesheetRef.current); if (onClose) onClose(event, 'OutsideClick'); } } + }, { + key: "handleAnimationEnd", + value: function handleAnimationEnd() { + if (!this.state.animate) { + this.setState({ + open: false + }); + } + } }, { key: "render", value: function render() { - var _classNames, _classNames2, _classNames3, _classNames4; + var _classNames, + _classNames2, + _classNames3, + _classNames4, + _classNames5, + _this2 = this; var _this$state = this.state, animate = _this$state.animate, open = _this$state.open, zIndex = _this$state.zIndex; - var _this$props = this.props, - className = _this$props.className, - backdropClose = _this$props.backdropClose, - dimension = _this$props.dimension, - footer = _this$props.footer, - seperator = _this$props.seperator, - stickFooter = _this$props.stickFooter, - headerOptions = _this$props.headerOptions, - footerOptions = _this$props.footerOptions, - header = _this$props.header, - onClose = _this$props.onClose; + var _this$props2 = this.props, + className = _this$props2.className, + backdropClose = _this$props2.backdropClose, + dimension = _this$props2.dimension, + footer = _this$props2.footer, + seperator = _this$props2.seperator, + stickFooter = _this$props2.stickFooter, + headerOptions = _this$props2.headerOptions, + footerOptions = _this$props2.footerOptions, + header = _this$props2.header, + onClose = _this$props2.onClose; + var BackdropZIndex = zIndex ? zIndex - 1 : 1000; var classes = classnames({ Sidesheet: true, 'Sidesheet--open': open, 'Sidesheet-animation--open': animate, 'Sidesheet-animation--close': !animate }, className); - var ContainerClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Overlay-container', true), _defineProperty$2(_classNames, 'Overlay-container--open', open), _classNames)); - var headerClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Sidesheet-header', true), _defineProperty$2(_classNames2, 'Sidesheet-header--withSeperator', seperator), _classNames2)); - var footerClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Sidesheet-footer', true), _defineProperty$2(_classNames3, 'Sidesheet-footer--withSeperator', seperator), _defineProperty$2(_classNames3, 'Sidesheet-footer--stickToBottom', stickFooter), _classNames3)); - var bodyClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Sidesheet-body', true), _defineProperty$2(_classNames4, 'Sidesheet-body--withMargin', !!footer && stickFooter), _classNames4)); + var ContainerClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Overlay-container', true), _defineProperty$1(_classNames, 'fade-in', animate), _defineProperty$1(_classNames, 'Overlay-container--open', animate), _defineProperty$1(_classNames, 'Overlay-container--close', !animate), _classNames)); + var headerClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Sidesheet-header', true), _defineProperty$1(_classNames2, 'Sidesheet-header--withSeperator', seperator), _classNames2)); + var footerClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Sidesheet-footer', true), _defineProperty$1(_classNames3, 'Sidesheet-footer--withSeperator', seperator), _defineProperty$1(_classNames3, 'Sidesheet-footer--stickToBottom', stickFooter), _classNames3)); + var bodyClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Sidesheet-body', true), _defineProperty$1(_classNames4, 'Sidesheet-body--withMargin', !!footer && stickFooter), _defineProperty$1(_classNames4, 'Sidesheet-body--nextPage', (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) || (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon)), _defineProperty$1(_classNames4, 'Sidesheet-body--firstPage', !(headerOptions !== null && headerOptions !== void 0 && headerOptions.backButton) && !(headerOptions !== null && headerOptions !== void 0 && headerOptions.backIcon)), _classNames4)); + var headingClass = classnames((_classNames5 = {}, _defineProperty$1(_classNames5, 'Sidesheet-header--shiftRight', (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) || (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon)), _defineProperty$1(_classNames5, 'Sidesheet-header--shiftLeft', !(headerOptions !== null && headerOptions !== void 0 && headerOptions.backButton) && !(headerOptions !== null && headerOptions !== void 0 && headerOptions.backIcon)), _classNames5)); var baseProps = extractBaseProps(this.props); var SidesheetContainer = /*#__PURE__*/React.createElement(Row, { "data-test": "DesignSystem-SidesheetContainer", + "data-open": this.state.open, className: ContainerClass, "data-layer": true, style: { - zIndex: zIndex + zIndex: zIndex ? zIndex : 1001 }, - ref: this.sidesheetRef - }, /*#__PURE__*/React.createElement(Column, _extends$3({ + ref: this.sidesheetRef, + onAnimationEnd: function onAnimationEnd() { + return _this2.handleAnimationEnd; + } + }, /*#__PURE__*/React.createElement(Column, _extends$2({ "data-test": "DesignSystem-Sidesheet" }, baseProps, { className: classes, @@ -13121,31 +15474,38 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { className: headerClass }, /*#__PURE__*/React.createElement(Column, { "data-test": "DesignSystem-Sidesheet--Header" - }, !header && /*#__PURE__*/React.createElement(OverlayHeader, headerOptions), !!header && header), /*#__PURE__*/React.createElement(Column, { + }, !header && /*#__PURE__*/React.createElement(OverlayHeader, _extends$2({ + headingClass: headingClass + }, headerOptions)), !!header && header), /*#__PURE__*/React.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React.createElement(Tooltip, { + tooltip: "Close" }, /*#__PURE__*/React.createElement(Button, { icon: "close", appearance: "transparent", "data-test": "DesignSystem-Sidesheet--CloseButton", + largeIcon: true, onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React.createElement(OverlayBody, { + })))), /*#__PURE__*/React.createElement(OverlayBody, { "data-test": "DesignSystem-Sidesheet--OverlayBody", className: bodyClass - }, this.props.children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$3({ + }, this.props.children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement(OverlayFooter, _extends$2({ "data-test": "DesignSystem-Sidesheet--Footer" }, footerOptions, { open: open, className: footerClass }), footer))); var SidesheetWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + ref: this.sidesheetRef, "data-test": "DesignSystem-Sidesheet--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, SidesheetContainer) : SidesheetContainer; var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(SidesheetWrapper, this.element); return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { - open: this.state.animate + open: this.state.animate, + zIndex: BackdropZIndex })); } }]); @@ -13153,14 +15513,14 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { return Sidesheet; }(React.Component); -_defineProperty$2(Sidesheet, "defaultProps", { +_defineProperty$1(Sidesheet, "defaultProps", { dimension: 'regular', stickFooter: false, headerOptions: {} }); var Collapsible = function Collapsible(props) { - var _classNames, _classNames4; + var _classNames, _classNames2, _classNames3, _classNames4; var expanded = props.expanded, hoverable = props.hoverable, @@ -13168,7 +15528,8 @@ var Collapsible = function Collapsible(props) { height = props.height, children = props.children, className = props.className, - onToggle = props.onToggle; + onToggle = props.onToggle, + withTrigger = props.withTrigger; var _React$useState = React.useState(true), _React$useState2 = _slicedToArray(_React$useState, 2), @@ -13187,12 +15548,12 @@ var Collapsible = function Collapsible(props) { setSeperator(ref.current.scrollHeight > ref.current.clientHeight); } }); - var WrapperClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Collapsible-wrapper', true), _defineProperty$2(_classNames, 'Collapsible-wrapper--overlay', !isClicked), _classNames)); - var BodyClass = classnames(_defineProperty$2({}, 'Collapsible-body', true)); - var classes = classnames(_defineProperty$2({ + var WrapperClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Collapsible-wrapper', true), _defineProperty$1(_classNames, 'Collapsible-wrapper--overlay', !isClicked), _classNames)); + var BodyClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Collapsible-body', true), _defineProperty$1(_classNames2, 'overflow-hidden', !expanded && hoverable), _classNames2)); + var classes = classnames((_classNames3 = { Collapsible: true - }, 'Collapsible--overlay', !isClicked), className); - var FooterClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'Collapsible-footer', true), _defineProperty$2(_classNames4, 'Collapsible-footer--seperator', seperator), _classNames4)); + }, _defineProperty$1(_classNames3, 'Collapsible--overlay', !isClicked), _defineProperty$1(_classNames3, 'Collapsible--shadow', !isClicked && expanded), _classNames3), className); + var FooterClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'Collapsible-footer', true), _defineProperty$1(_classNames4, 'Collapsible-footer--seperator', seperator), _classNames4)); var onToggleHandler = function onToggleHandler(newExpanded, type) { return function () { @@ -13218,7 +15579,7 @@ var Collapsible = function Collapsible(props) { style: { height: height } - }, /*#__PURE__*/React.createElement("div", _extends$3({ + }, /*#__PURE__*/React.createElement("div", _extends$2({ "data-test": "DesignSystem-Collapsible" }, baseProps, { "data-layer": true, @@ -13232,14 +15593,17 @@ var Collapsible = function Collapsible(props) { onMouseEnter: onToggleHandler(true, 'mouseenter'), onMouseLeave: onToggleHandler(false, 'mouseleave'), ref: ref - }, children), /*#__PURE__*/React.createElement("div", { + }, children), withTrigger && /*#__PURE__*/React.createElement("div", { + role: "button", + tabIndex: 0, + className: FooterClass, "data-test": "DesignSystem-Collapsible--Footer", - className: FooterClass + onClick: onToggleHandler(!expanded, 'click'), + onKeyDown: onToggleHandler(!expanded, 'click') }, /*#__PURE__*/React.createElement(Icon, { name: expanded ? 'keyboard_arrow_left' : 'keyboard_arrow_right', "data-test": "DesignSystem-Collapsible--FooterIcon", - className: "px-5 py-4 my-2 cursor-pointer", - onClick: onToggleHandler(!expanded, 'click'), + className: "px-6 py-4 my-2 cursor-pointer", size: 16 })))); }; @@ -13248,7 +15612,8 @@ Collapsible.defaultProps = { expanded: false, hoverable: true, height: '100%', - expandedWidth: 'var(--spacing-9)' + expandedWidth: '240px', + withTrigger: true }; var Status = function Status(props) { @@ -13262,8 +15627,8 @@ var Status = function Status(props) { _props$sendingText = props.sendingText, sendingText = _props$sendingText === void 0 ? 'Sending..' : _props$sendingText; var baseProps = extractBaseProps(props); - var StatusClass = classnames(_defineProperty$2({}, 'd-flex align-items-center mt-3', true), className); - var TextClass = classnames(_defineProperty$2({}, 'ChatMessage-status', true), className); + var StatusClass = classnames(_defineProperty$1({}, 'd-flex align-items-center mt-3', true), className); + var TextClass = classnames(_defineProperty$1({}, 'ChatMessage-status', true), className); var getTime = function getTime(t) { if (typeof t === 'number') { @@ -13280,7 +15645,7 @@ var Status = function Status(props) { switch (type) { case 'failed': - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: StatusClass }), /*#__PURE__*/React.createElement(Icon, { name: "error", @@ -13298,7 +15663,7 @@ var Status = function Status(props) { })); case 'urgent': - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: StatusClass }), /*#__PURE__*/React.createElement(Icon, { name: "notification_important", @@ -13316,7 +15681,7 @@ var Status = function Status(props) { })); case 'read': - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: StatusClass }), time && /*#__PURE__*/React.createElement(Text, { appearance: "subtle", @@ -13329,14 +15694,14 @@ var Status = function Status(props) { })); case 'sending': - return /*#__PURE__*/React.createElement(Text, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(Text, _extends$2({}, baseProps, { appearance: "subtle", size: "small", className: TextClass }), sendingText); case 'sent': - return /*#__PURE__*/React.createElement(React.Fragment, null, time && /*#__PURE__*/React.createElement(Text, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(React.Fragment, null, time && /*#__PURE__*/React.createElement(Text, _extends$2({}, baseProps, { appearance: "subtle", size: "small", className: TextClass @@ -13359,11 +15724,17 @@ var Box = function Box(props) { onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var MessageClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Box', true), _defineProperty$2(_classNames, "Box--".concat(type), type), _defineProperty$2(_classNames, 'Box--typing', isTyping), _defineProperty$2(_classNames, 'Box--urgent', statusType === 'urgent'), _defineProperty$2(_classNames, "Box-".concat(type, "--withStatus"), withStatus || isTyping), _classNames), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + var MessageClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Box', true), _defineProperty$1(_classNames, "Box--".concat(type), type), _defineProperty$1(_classNames, 'Box--typing', isTyping), _defineProperty$1(_classNames, 'Box--urgent', statusType === 'urgent'), _defineProperty$1(_classNames, "Box-".concat(type, "--withStatus"), withStatus || isTyping), _classNames), className); + /* TODO(a11y): fix accessibility */ + + /* eslint-disable */ + + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: MessageClass, - onClick: onClick + onClick: onClick, + "data-test": "DesignSystem-ChatMessage--Box" }), children); + /* eslint-enable */ }; Box.displayName = 'Box'; @@ -13377,14 +15748,14 @@ var MessageText = function MessageText(props) { var baseProps = extractBaseProps(props); if (isTyping && type === 'incoming') { - return /*#__PURE__*/React.createElement(Text, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(Text, _extends$2({}, baseProps, { appearance: 'subtle', size: 'small', className: className }), typingText); } - return /*#__PURE__*/React.createElement(Text, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(Text, _extends$2({}, baseProps, { className: className, appearance: statusType === 'sending' ? 'subtle' : 'default' }), text); @@ -13408,7 +15779,7 @@ var ChatMessage = function ChatMessage(props) { var _ref = statusOptions || {}, statusType = _ref.type; - return /*#__PURE__*/React.createElement(Box, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(Box, _extends$2({}, baseProps, { type: type, className: className, onClick: onClick, @@ -13445,3818 +15816,3826 @@ var EmptyState = function EmptyState(props) { description = props.description, size = props.size, children = props.children, - className = props.className; - var baseProps = extractBaseProps(props); - var WrapperClass = classnames(_defineProperty$2({}, 'EmptyState', true), className); - var HeadingClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'EmptyState-title', true), _defineProperty$2(_classNames2, "EmptyState-title--".concat(size), true), _classNames2)); - var TextClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'EmptyState-description', true), _defineProperty$2(_classNames3, "EmptyState-description--".concat(size), children !== undefined), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-EmptyState" - }, baseProps, { - className: WrapperClass - }), /*#__PURE__*/React.createElement("img", { - src: imageSrc, - height: imageHeight[size], - "data-test": "DesignSystem-EmptyState--Img" - }), /*#__PURE__*/React.createElement(Heading, { - "data-test": "DesignSystem-EmptyState--Heading", - size: HeadingSize[size], - className: HeadingClass - }, title), /*#__PURE__*/React.createElement(Text, { - size: textSize[size], - className: TextClass, - appearance: "subtle", - "data-test": "DesignSystem-EmptyState--Text" - }, description), children && children); -}; -EmptyState.displayName = 'EmptyState'; - -var ModalDescription = function ModalDescription(props) { - var title = props.title, - description = props.description, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classnames({ - 'Modal-description': true - }, className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-ModalDescription" - }, baseProps, { - className: classes - }), title && /*#__PURE__*/React.createElement(Text, { - weight: "strong", - "data-test": "DesignSystem-ModalDescription--Title" - }, title), title && description && /*#__PURE__*/React.createElement("br", null), description && /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-ModalDescription--Description" - }, description)); -}; -ModalDescription.displayName = 'ModalDescription'; - -var Pagination = function Pagination(props) { - var _classNames, _classNames2, _classNames3; - - var type = props.type, - totalPages = props.totalPages, - onPageChange = props.onPageChange, - className = props.className; - var baseProps = extractBaseProps(props); - - var _React$useState = React.useState(props.page), - _React$useState2 = _slicedToArray(_React$useState, 2), - page = _React$useState2[0], - setPage = _React$useState2[1]; - - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray(_React$useState3, 2), - init = _React$useState4[0], - setInit = _React$useState4[1]; - - React.useEffect(function () { - setPage(props.page); - }, [props.page]); - var wrapperClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Pagination', true), _defineProperty$2(_classNames, "Pagination--".concat(type), type), _classNames), className); - var nextButtonWrapperClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Pagination-buttonWrapper', true), _defineProperty$2(_classNames2, 'Pagination-buttonWrapper--next', true), _classNames2)); - var prevButtonWrapperClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Pagination-buttonWrapper', true), _defineProperty$2(_classNames3, 'Pagination-buttonWrapper--previous', true), _classNames3)); - React.useEffect(function () { - if (init) { - if (page >= 1 && page <= totalPages) onPageChange(page); - } - }, [page]); - - var inputChangeHandler = function inputChangeHandler(e) { - e.preventDefault(); - var val = +e.target.value.trim(); - - if (val >= 0 && val <= totalPages) { - if (!init) setInit(true); - setPage(val); - } - }; - - var onClickHandler = function onClickHandler(buttonType) { - setInit(true); - - switch (buttonType) { - case 'first': - setPage(1); - break; - - case 'last': - setPage(totalPages); - break; - - case 'prev': - if (page > 1) setPage(page - 1); - break; - - case 'next': - if (page < totalPages) setPage(page + 1); - break; - } - }; - - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Pagination" - }, baseProps, { - className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { - className: prevButtonWrapperClass - }, /*#__PURE__*/React.createElement(Button, { - onClick: function onClick() { - return onClickHandler('first'); - }, - disabled: page <= 1, - appearance: "transparent", - icon: "first_page", - "data-test": "DesignSystem-Pagination--FirstButton" - }), /*#__PURE__*/React.createElement(Button, { - onClick: function onClick() { - return onClickHandler('prev'); - }, - disabled: page <= 1, - icon: "navigate_before", - "data-test": "DesignSystem-Pagination--PrevButton", - className: "ml-4 mr-3" - })), type === 'jump' && /*#__PURE__*/React.createElement("div", { - className: "Pagination-pageIndex" - }, /*#__PURE__*/React.createElement(MetricInput, { - name: "page", - className: "Pagination-MetricInput", - onChange: inputChangeHandler, - value: "".concat(page === 0 ? '' : page), - "data-test": "DesignSystem-Pagination--Input" - }), /*#__PURE__*/React.createElement(Text, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/React.createElement("div", { - className: nextButtonWrapperClass - }, /*#__PURE__*/React.createElement(Button, { - onClick: function onClick() { - return onClickHandler('next'); - }, - disabled: page >= totalPages, - icon: "navigate_next", - "data-test": "DesignSystem-Pagination--NextButton", - className: "mr-4 ml-3" - }), /*#__PURE__*/React.createElement(Button, { - onClick: function onClick() { - return onClickHandler('last'); - }, - disabled: page >= totalPages, - appearance: "transparent", - icon: "last_page", - "data-test": "DesignSystem-Pagination--LastButton" - }))); -}; -Pagination.displayName = 'Pagination'; -Pagination.defaultProps = { - type: 'basic', - page: 1, - totalPages: 1 -}; - -var _excluded$5 = ["onChange"]; -var EditableInput = function EditableInput(props) { - var _classNames2, _classNames4; - - var value = props.value, - error = props.error, - size = props.size, - errorMessage = props.errorMessage, - placeholder = props.placeholder, - inputOptions = props.inputOptions, - disableSaveAction = props.disableSaveAction, - onChange = props.onChange, - className = props.className; - - var onInputChange = inputOptions.onChange, - rest = _objectWithoutProperties$1(inputOptions, _excluded$5); - - var _React$useState = React.useState(value), - _React$useState2 = _slicedToArray(_React$useState, 2), - inputValue = _React$useState2[0], - setInputValue = _React$useState2[1]; - - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray(_React$useState3, 2), - editing = _React$useState4[0], - setEditing = _React$useState4[1]; - - var _React$useState5 = React.useState(false), - _React$useState6 = _slicedToArray(_React$useState5, 2), - showComponent = _React$useState6[0], - setShowComponent = _React$useState6[1]; - - var inputRef = /*#__PURE__*/React.createRef(); + className = props.className, + image = props.image; var baseProps = extractBaseProps(props); - var EditableInputClass = classnames(_defineProperty$2({}, 'EditableInput', true), className); - var EditableDefaultClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'EditableInput-default', true), _defineProperty$2(_classNames2, "EditableInput-default--".concat(size), size), _classNames2)); - var InputClass = classnames(_defineProperty$2({}, 'EditableInput-Input--tiny', size === 'tiny')); - var ActionClass = classnames((_classNames4 = {}, _defineProperty$2(_classNames4, 'EditableInput-actions', true), _defineProperty$2(_classNames4, "EditableInput-actions--".concat(size), size), _classNames4)); - React.useEffect(function () { - setDefaultComponent(); - }, [value]); - - var setDefaultComponent = function setDefaultComponent() { - setInputValue(value); - setEditing(false); - setShowComponent(false); - }; - - var onSaveChanges = function onSaveChanges() { - if (onChange) onChange(inputValue); - }; - - var onInputChangeHandler = function onInputChangeHandler(e) { - setInputValue(e.target.value); - if (onInputChange) onInputChange(e); - }; - - var onChangeHandler = function onChangeHandler(eventType) { - var _inputRef$current; - - switch (eventType) { - case 'edit': - (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); - setEditing(true); - - case 'hover': - setShowComponent(true); - return; - - case 'default': - setShowComponent(false); - } - }; - - var inputComponent = /*#__PURE__*/React.createElement(Input, _extends$3({ - defaultValue: inputValue, - placeholder: placeholder, - className: InputClass, - autoFocus: editing, - size: size, - onChange: onInputChangeHandler, - error: error && editing, - ref: inputRef, - "data-test": "DesignSystem-EditableInput--Input" - }, rest)); - - var onKeyDown = function onKeyDown(event) { - if (document.activeElement === inputRef.current) { - switch (event.key) { - case 'Enter': - onSaveChanges(); - break; - - case 'Escape': - setDefaultComponent(); - break; - } - } - }; - - var renderChildren = function renderChildren() { - if (showComponent) { - return error && errorMessage && editing ? /*#__PURE__*/React.createElement(Popover, { - trigger: inputComponent, - position: "right", - className: "px-6 py-6 d-flex align-items-center", - on: "hover" - }, /*#__PURE__*/React.createElement(Icon, { - name: "error", - appearance: 'alert', - className: "mr-4" - }), /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-EditableInput--ErrorPopper", - appearance: "destructive", - weight: "medium" - }, errorMessage)) : inputComponent; + var WrapperClass = classnames(_defineProperty$1({}, 'EmptyState', true), className); + var HeadingClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'EmptyState-title', true), _defineProperty$1(_classNames2, "EmptyState-title--".concat(size), true), _classNames2)); + var TextClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'EmptyState-description', true), _defineProperty$1(_classNames3, "EmptyState-description--".concat(size), children !== undefined), _classNames3)); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-EmptyState" + }, baseProps, { + className: WrapperClass + }), image && /*#__PURE__*/React.createElement("div", { + style: { + height: imageHeight[size] } + }, image), imageSrc && !image && + /*#__PURE__*/ + //TODO(a11y) + //eslint-disable-next-line + React.createElement("img", { + src: imageSrc, + height: imageHeight[size], + "data-test": "DesignSystem-EmptyState--Img" + }), /*#__PURE__*/React.createElement(Heading, { + "data-test": "DesignSystem-EmptyState--Heading", + size: HeadingSize[size], + className: HeadingClass + }, title), /*#__PURE__*/React.createElement(Text, { + size: textSize[size], + className: TextClass, + appearance: "subtle", + "data-test": "DesignSystem-EmptyState--Text" + }, description), children && children); +}; +EmptyState.displayName = 'EmptyState'; - return /*#__PURE__*/React.createElement("div", { - className: EditableDefaultClass, - "data-test": "DesignSystem-EditableInput--Default" - }, value || placeholder); - }; - - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-EditableInput" +var ModalDescription = function ModalDescription(props) { + var title = props.title, + description = props.description, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classnames({ + 'Modal-description': true + }, className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-ModalDescription" }, baseProps, { - className: EditableInputClass, - onKeyDown: onKeyDown - }), /*#__PURE__*/React.createElement(Editable, { - onChange: onChangeHandler, - editing: editing - }, renderChildren()), editing && /*#__PURE__*/React.createElement("div", { - className: ActionClass, - "data-test": "DesignSystem-EditableInput--Actions" - }, /*#__PURE__*/React.createElement(Button, { - icon: "clear", - className: "mr-3", - size: "tiny", - onClick: setDefaultComponent, - "data-test": "DesignSystem-EditableInput--Discard" - }), /*#__PURE__*/React.createElement(Button, { - icon: "check", - appearance: "primary", - size: "tiny", - disabled: disableSaveAction, - onClick: onSaveChanges, - "data-test": "DesignSystem-EditableInput--Save" - }))); -}; -EditableInput.defaultProps = { - size: 'regular', - placeholder: '', - value: '', - inputOptions: {} + className: classes + }), title && /*#__PURE__*/React.createElement(Text, { + weight: "strong", + "data-test": "DesignSystem-ModalDescription--Title" + }, title), title && description && /*#__PURE__*/React.createElement("br", null), description && /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-ModalDescription--Description" + }, description)); }; +ModalDescription.displayName = 'ModalDescription'; -var _excluded$4 = ["onChange", "chipOptions"], - _excluded2$1 = ["onClick"]; -var EditableChipInput = function EditableChipInput(props) { - var _classNames3; +var Pagination = function Pagination(props) { + var _classNames, _classNames2, _classNames3; - var placeholder = props.placeholder, - value = props.value, - onChange = props.onChange, + var type = props.type, + totalPages = props.totalPages, + onPageChange = props.onPageChange, className = props.className, - disableSaveAction = props.disableSaveAction, - chipInputOptions = props.chipInputOptions; - - var onChipInputChange = chipInputOptions.onChange, - _chipInputOptions$chi = chipInputOptions.chipOptions, - chipOptions = _chipInputOptions$chi === void 0 ? {} : _chipInputOptions$chi, - rest = _objectWithoutProperties$1(chipInputOptions, _excluded$4); - - var _onClick = chipOptions.onClick, - chipObject = _objectWithoutProperties$1(chipOptions, _excluded2$1); + pageJumpDebounceDuration = props.pageJumpDebounceDuration; + var baseProps = extractBaseProps(props); - var _React$useState = React.useState(value), + var _React$useState = React.useState(props.page), _React$useState2 = _slicedToArray(_React$useState, 2), - inputValue = _React$useState2[0], - setInputValue = _React$useState2[1]; + page = _React$useState2[0], + setPage = _React$useState2[1]; var _React$useState3 = React.useState(false), _React$useState4 = _slicedToArray(_React$useState3, 2), - showComponent = _React$useState4[0], - setShowComponent = _React$useState4[1]; - - var baseProps = extractBaseProps(props); - var isWithChips = inputValue && inputValue.length; - var classes = classnames(_defineProperty$2({}, 'EditableChipInput', true), className); - var actionClass = classnames(_defineProperty$2({}, 'EditableChipInput-actions', true)); - var defaultClasses = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'EditableChipInput-default', !isWithChips), _defineProperty$2(_classNames3, 'EditableChipInput-defaultWithChips', isWithChips), _classNames3)); - var inputClass = classnames(_defineProperty$2({}, 'EditableChipInput-chipInput', true)); - React.useEffect(function () { - setDefaultComponent(); - }, [value]); - - var onChipInputChangeHandler = function onChipInputChangeHandler(val) { - setInputValue(val); - if (onChipInputChange) onChipInputChange(val); - }; - - var setDefaultComponent = function setDefaultComponent() { - setInputValue(value); - setShowComponent(false); - }; - - var onSaveChanges = function onSaveChanges() { - if (onChange && inputValue) onChange(inputValue); - }; - - var onChangeHandler = function onChangeHandler(eventType) { - switch (eventType) { - case 'edit': - setShowComponent(true); - - case 'hover': - return; + init = _React$useState4[0], + setInit = _React$useState4[1]; - case 'default': - setShowComponent(false); - return; - } - }; + var _React$useState5 = React.useState(0), + _React$useState6 = _slicedToArray(_React$useState5, 2), + debounceCancelCounter = _React$useState6[0], + setDebounceCancelCounter = _React$useState6[1]; - var renderDefaultState = function renderDefaultState() { - if (inputValue && inputValue.length) { - return inputValue.map(function (val, index) { - return /*#__PURE__*/React.createElement(Chip, _extends$3({ - "data-test": "DesignSystem-EditableChipInput--Chip", - key: index, - name: val, - label: val, - className: "my-2 mx-2" - }, chipObject, { - onClick: function onClick() { - return _onClick && _onClick(val, index); - } - })); - }); + var debouncePageChange = React.useCallback(debounce$1(pageJumpDebounceDuration, onPageChange), [debounceCancelCounter]); + React.useEffect(function () { + setPage(props.page); + }, [props.page]); + var wrapperClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Pagination', true), _defineProperty$1(_classNames, "Pagination--".concat(type), type), _classNames), className); + var nextButtonWrapperClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Pagination-buttonWrapper', true), _defineProperty$1(_classNames2, 'Pagination-buttonWrapper--next', true), _classNames2)); + var prevButtonWrapperClass = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Pagination-buttonWrapper', true), _defineProperty$1(_classNames3, 'Pagination-buttonWrapper--previous', true), _classNames3)); + React.useEffect(function () { + if (init) { + if (page >= 1 && page <= totalPages) { + debouncePageChange(page); + } else { + /** + * On removing a page number on UI via backspace, debounce malfunctions if page is not within desired range. + * Hence, we remove the debounce function via cancel method. + */ + debouncePageChange.cancel(); + /** + * Since debouncePageChange is cached via React.useCallback, + * cancel method above removes the single debounce function instance available. + * To make a new instance available, we have to update the dependency object. + */ + + setDebounceCancelCounter(function (prev) { + return prev + 1; + }); + } } + }, [page]); - return /*#__PURE__*/React.createElement(Text, { - className: "EditableChipInput--Text" - }, placeholder); - }; + var inputChangeHandler = function inputChangeHandler(e) { + e.preventDefault(); + var val = +e.target.value.trim(); - var renderChildren = function renderChildren() { - if (showComponent) { - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-EditableChipInput--wrapper" - }, /*#__PURE__*/React.createElement(ChipInput, _extends$3({ - "data-test": "DesignSystem-EditableChipInput--ChipInput", - placeholder: placeholder, - onChange: onChipInputChangeHandler, - value: inputValue, - chipOptions: chipOptions - }, rest, { - className: inputClass - }))); + if (val >= 0 && val <= totalPages) { + if (!init) setInit(true); + setPage(val); } - - return /*#__PURE__*/React.createElement("div", { - className: defaultClasses, - "data-test": "DesignSystem-EditableChipInput--Default" - }, renderDefaultState()); }; - return /*#__PURE__*/React.createElement("div", _extends$3({ - className: classes, - "data-test": "DesignSystem-EditableChipInput" - }, baseProps), /*#__PURE__*/React.createElement(Editable, { - onChange: onChangeHandler, - editing: showComponent - }, renderChildren()), showComponent && /*#__PURE__*/React.createElement("div", { - className: actionClass, - "data-test": "DesignSystem-EditableChipInput--Actions" - }, /*#__PURE__*/React.createElement(Button, { - "data-test": "DesignSystem-EditableChipInput--DiscardButton", - icon: "clear", - className: "mr-3", - size: "tiny", - onClick: setDefaultComponent - }), /*#__PURE__*/React.createElement(Button, { - "data-test": "DesignSystem-EditableChipInput--SaveButton", - icon: "check", - appearance: "primary", - size: "tiny", - disabled: disableSaveAction, - onClick: onSaveChanges - }))); -}; -EditableChipInput.defaultProps = { - placeholder: '', - chipInputOptions: {} -}; - -var ProgressRing = function ProgressRing(props) { - var size = props.size, - max = props.max, - value = props.value, - className = props.className; - var baseProps = extractBaseProps(props); - var radius = 20; - var circumference = 2 * Math.PI * radius; - var ProgressRingClass = classnames(_defineProperty$2({ - Ring: true - }, "Ring--".concat(size), size), className); - var svgProps = { - viewBox: '0 0 50 50' - }; - var updatedValue = value > 0 ? Math.min(value, max) * 100 / max : 0; - var circleProps = { - cx: 25, - cy: 25, - r: radius, - fill: 'none', - strokeWidth: '8', - strokeDasharray: "".concat(circumference, " ").concat(circumference) + var onKeyPressHandler = function onKeyPressHandler(e) { + if (!isNaturalNumber(e.key)) { + e.preventDefault(); + } }; - return /*#__PURE__*/React.createElement("svg", _extends$3({ - "data-test": "DesignSystem-ProgressRing" - }, baseProps, { - className: ProgressRingClass - }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$3({ - className: "Ring-background" - }, circleProps)), /*#__PURE__*/React.createElement("circle", _extends$3({ - className: "Ring-indicator", - strokeDashoffset: circumference - updatedValue / 100 * circumference - }, circleProps, { - "data-test": "DesignSystem-ProgressRing--Circle" - }))); -}; -ProgressRing.displayName = 'ProgressRing'; -ProgressRing.defaultProps = { - size: 'regular', - max: 100 -}; - -var Step = function Step(props) { - var _classNames; - var label = props.label, - value = props.value, - disabled = props.disabled, - active = props.active, - completed = props.completed, - onChange = props.onChange; - var StepClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Step', true), _defineProperty$2(_classNames, 'Step--active', active), _defineProperty$2(_classNames, 'Step--disabled', disabled), _classNames)); + var onClickHandler = function onClickHandler(buttonType) { + setInit(true); - var onClickHandle = function onClickHandle() { - if (disabled) return; - if (onChange) onChange(label, value); - }; + switch (buttonType) { + case 'first': + setPage(1); + break; - var iconAppearance = completed ? 'info' : disabled ? 'disabled' : active ? 'info' : 'default'; - var appearance = active ? 'link' : disabled ? 'disabled' : 'default'; - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-Step", - className: StepClass, - onClick: onClickHandle - }, /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-Step--Icon", - name: completed ? 'check_circle' : 'radio_button_unchecked', - appearance: iconAppearance, - className: "mr-3 my-4" - }), label && /*#__PURE__*/React.createElement(Text, { - weight: "medium", - appearance: appearance - }, label)); -}; -Step.displayName = 'Step'; + case 'last': + setPage(totalPages); + break; -var Stepper = function Stepper(props) { - var steps = props.steps, - active = props.active, - completed = props.completed, - onChange = props.onChange, - className = props.className, - skipIndexes = props.skipIndexes; - var baseProps = extractBaseProps(props); + case 'prev': + if (page > 1) setPage(page - 1); + break; - var onChangeHandler = function onChangeHandler(index, stepLabel, stepValue) { - if (onChange) onChange(index, completed, stepLabel, stepValue); + case 'next': + if (page < totalPages) setPage(page + 1); + break; + } }; - var StepperClass = classnames(_defineProperty$2({}, 'Stepper', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Stepper" + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Pagination" }, baseProps, { - className: StepperClass - }), steps.map(function (step, index) { - var label = step.label, - value = step.value; - var isSkipped = skipIndexes.includes(index); - var activeStep = active === index; - var completedStep = !isSkipped && completed >= index; - var disabled = !activeStep && !isSkipped && completed + 1 < index; - return /*#__PURE__*/React.createElement(Step, { - key: index, - label: label, - value: value, - active: activeStep, - completed: completedStep, - disabled: disabled, - onChange: function onChange(steplabel, stepvalue) { - return onChangeHandler(index, steplabel, stepvalue); - } - }); - })); + className: wrapperClass + }), /*#__PURE__*/React.createElement("div", { + className: prevButtonWrapperClass + }, /*#__PURE__*/React.createElement(Button, { + onClick: function onClick() { + return onClickHandler('first'); + }, + disabled: page <= 1, + appearance: "transparent", + icon: "first_page", + "data-test": "DesignSystem-Pagination--FirstButton" + }), /*#__PURE__*/React.createElement(Button, { + onClick: function onClick() { + return onClickHandler('prev'); + }, + disabled: page <= 1, + icon: "navigate_before", + "data-test": "DesignSystem-Pagination--PrevButton", + className: "ml-4 mr-3" + })), type === 'jump' && /*#__PURE__*/React.createElement("div", { + className: "Pagination-pageIndex" + }, /*#__PURE__*/React.createElement(MetricInput, { + name: "page", + className: "Pagination-MetricInput", + onChange: inputChangeHandler, + value: "".concat(isNaturalNumber(page) ? page : ''), + "data-test": "DesignSystem-Pagination--Input", + onKeyPress: onKeyPressHandler + }), /*#__PURE__*/React.createElement(Text, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/React.createElement("div", { + className: nextButtonWrapperClass + }, /*#__PURE__*/React.createElement(Button, { + onClick: function onClick() { + return onClickHandler('next'); + }, + disabled: page >= totalPages, + icon: "navigate_next", + "data-test": "DesignSystem-Pagination--NextButton", + className: "mr-4 ml-3" + }), /*#__PURE__*/React.createElement(Button, { + onClick: function onClick() { + return onClickHandler('last'); + }, + disabled: page >= totalPages, + appearance: "transparent", + icon: "last_page", + "data-test": "DesignSystem-Pagination--LastButton" + }))); }; -Stepper.displayName = 'Stepper'; -Stepper.defaultProps = { - completed: -1, - active: 0, - skipIndexes: [] +Pagination.displayName = 'Pagination'; +Pagination.defaultProps = { + type: 'basic', + page: 1, + totalPages: 1, + pageJumpDebounceDuration: 750 }; -var Trigger = function Trigger(props) { - var inputFormat = props.inputFormat, - startInputOptions = props.startInputOptions, - endInputOptions = props.endInputOptions, - validators = props.validators, - state = props.state, - setState = props.setState; - var init = state.init, - startDate = state.startDate, - endDate = state.endDate, - startError = state.startError, - endError = state.endError; +var _excluded$7 = ["onChange"]; +var EditableInput = function EditableInput(props) { + var _classNames2, _classNames4; - var updateNav = function updateNav(type) { - if (type === 'start') { - var _getDateInfo = getDateInfo(startDate), - year = _getDateInfo.year, - month = _getDateInfo.month; + var error = props.error, + size = props.size, + errorMessage = props.errorMessage, + placeholder = props.placeholder, + inputOptions = props.inputOptions, + disableSaveAction = props.disableSaveAction, + onChange = props.onChange, + className = props.className; - setState({ - yearNav: year, - monthNav: month - }); - } + var onInputChange = inputOptions.onChange, + rest = _objectWithoutProperties(inputOptions, _excluded$7); - if (type === 'end') { - var _getDateInfo2 = getDateInfo(endDate), - _year = _getDateInfo2.year, - _month = _getDateInfo2.month; + var _React$useState = React.useState(props.value), + _React$useState2 = _slicedToArray(_React$useState, 2), + inputValue = _React$useState2[0], + setInputValue = _React$useState2[1]; - setState({ - yearNav: _year, - monthNav: _month - }); - } - }; + var _React$useState3 = React.useState(props.value), + _React$useState4 = _slicedToArray(_React$useState3, 2), + value = _React$useState4[0], + setValue = _React$useState4[1]; - var onChangeHandler = function onChangeHandler(_e, val, type) { - setState({ - open: true - }); + var _React$useState5 = React.useState(false), + _React$useState6 = _slicedToArray(_React$useState5, 2), + editing = _React$useState6[0], + setEditing = _React$useState6[1]; - if (type === 'start') { - var placeholderChar = startInputOptions.placeholderChar || '_'; + var _React$useState7 = React.useState(false), + _React$useState8 = _slicedToArray(_React$useState7, 2), + showComponent = _React$useState8[0], + setShowComponent = _React$useState8[1]; - if (val && !val.includes(placeholderChar)) { - var d = translateToDate(inputFormat, val, validators); + var inputRef = /*#__PURE__*/React.createRef(); + var baseProps = extractBaseProps(props); + var isControlled = props.value !== undefined; + React.useEffect(function () { + if (isControlled) setValue(props.value); + }, [props.value]); + var EditableInputClass = classnames(_defineProperty$1({}, 'EditableInput', true), className); + var EditableDefaultClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'EditableInput-default', true), _defineProperty$1(_classNames2, "EditableInput-default--".concat(size), size), _classNames2)); + var InputClass = classnames(_defineProperty$1({}, 'EditableInput-Input--tiny', size === 'tiny')); + var ActionClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'EditableInput-actions', true), _defineProperty$1(_classNames4, "EditableInput-actions--".concat(size), size), _classNames4)); + + var setDefaultComponent = function setDefaultComponent(updatedValue) { + setInputValue(updatedValue); + setEditing(false); + setShowComponent(false); + }; - if (d) { - setState({ - startDate: d - }); + var onSaveChanges = function onSaveChanges() { + if (!isControlled) setValue(inputValue); + if (onChange) onChange(inputValue || ''); + setDefaultComponent(inputValue); + }; - if (endDate) { - var _getDateInfo3 = getDateInfo(endDate), - eYear = _getDateInfo3.year, - eMonth = _getDateInfo3.month, - eDate = _getDateInfo3.date; + var onInputChangeHandler = function onInputChangeHandler(e) { + setInputValue(e.target.value); + if (onInputChange) onInputChange(e); + }; - if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { - setState({ - endDate: undefined - }); - } - } - } - } - } + var onChangeHandler = function onChangeHandler(eventType) { + switch (eventType) { + case 'edit': + { + var _inputRef$current; - if (type === 'end') { - var _placeholderChar = endInputOptions.placeholderChar ? endInputOptions.placeholderChar : '_'; + (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); + setEditing(true); + setShowComponent(true); + break; + } - if (val && !val.includes(_placeholderChar)) { - var _d = translateToDate(inputFormat, val, validators); + case 'hover': + { + setShowComponent(true); + break; + } - if (_d) setState({ - endDate: _d - }); - } + case 'default': + { + setShowComponent(false); + } } }; - var onBlurHandler = function onBlurHandler(_e, val, type) { - setState({ - init: true - }); - - if (type === 'start') { - var _startInputOptions$pl = startInputOptions.placeholderChar, - placeholderChar = _startInputOptions$pl === void 0 ? '_' : _startInputOptions$pl; - if (!val || val.includes(placeholderChar)) setState({ - startDate: undefined - }); - } + var inputComponent = /*#__PURE__*/React.createElement(Input, _extends$2({ + defaultValue: inputValue, + placeholder: placeholder, + className: InputClass // TODO(a11y) + // eslint-disable-next-line jsx-a11y/no-autofocus + , + autoFocus: editing, + size: size, + onChange: onInputChangeHandler, + error: error && editing, + ref: inputRef, + "data-test": "DesignSystem-EditableInput--Input" + }, rest)); - if (type === 'end') { - var _endInputOptions$plac = endInputOptions.placeholderChar, - _placeholderChar2 = _endInputOptions$plac === void 0 ? '_' : _endInputOptions$plac; + var onKeyDown = function onKeyDown(event) { + if (document.activeElement === inputRef.current) { + switch (event.key) { + case 'Enter': + onSaveChanges(); + break; - if (!val || val.includes(_placeholderChar2)) setState({ - endDate: undefined - }); + case 'Escape': + setDefaultComponent(value); + break; + } } }; - var onClearHandler = function onClearHandler(type) { - setState({ - init: true - }); - - if (type === 'start') { - setState({ - startDate: undefined - }); - updateNav('end'); + var renderChildren = function renderChildren() { + if (showComponent) { + return error && errorMessage && editing ? /*#__PURE__*/React.createElement(Popover, { + trigger: inputComponent, + position: "right", + className: "px-6 py-6 d-flex align-items-center", + on: "hover" + }, /*#__PURE__*/React.createElement(InlineMessage, { + appearance: "alert", + description: errorMessage + })) : inputComponent; } - if (type === 'end') { - setState({ - endDate: undefined - }); - updateNav('start'); - } + return /*#__PURE__*/React.createElement("div", { + className: EditableDefaultClass, + "data-test": "DesignSystem-EditableInput--Default" + }, value || placeholder); }; - var onClickHandler = function onClickHandler(type) { - var open = state.open; + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line jsx-a11y/no-static-element-interactions + React.createElement("div", _extends$2({ + "data-test": "DesignSystem-EditableInput" + }, baseProps, { + className: EditableInputClass, + onKeyDown: onKeyDown + }), /*#__PURE__*/React.createElement(Editable, { + onChange: onChangeHandler, + editing: editing + }, renderChildren()), editing && /*#__PURE__*/React.createElement("div", { + className: ActionClass, + "data-test": "DesignSystem-EditableInput--Actions" + }, /*#__PURE__*/React.createElement(Button, { + icon: "clear", + className: "mr-3", + largeIcon: true, + size: "tiny", + onClick: function onClick() { + setDefaultComponent(value); + }, + "data-test": "DesignSystem-EditableInput--Discard" + }), /*#__PURE__*/React.createElement(Button, { + icon: "check", + appearance: "primary", + largeIcon: true, + size: "tiny", + disabled: disableSaveAction, + onClick: onSaveChanges, + "data-test": "DesignSystem-EditableInput--Save" + }))) + ); +}; +EditableInput.defaultProps = { + size: 'regular', + placeholder: '', + inputOptions: {} +}; - if (!open) { - updateNav(type); - } - }; +var _excluded$6 = ["onChange", "chipOptions"], + _excluded2$1 = ["onClick"]; +var EditableChipInput = function EditableChipInput(props) { + var _classNames3; - var mask = date[inputFormat]; - var startPlaceholderChar = startInputOptions.placeholderChar || '_'; - var endPlaceholderChar = endInputOptions.placeholderChar || '_'; - var showStartError = startInputOptions.error || startInputOptions.required && startError && init; - var showEndError = endInputOptions.error || endInputOptions.required && endError && init; - var startErrorMessage = startInputOptions.caption === undefined ? 'Invalid value' : startInputOptions.caption; - var endErrorMessage = endInputOptions.caption === undefined ? 'Invalid value' : endInputOptions.caption; - var startLabel = startInputOptions.label; - var endLabel = endInputOptions.label; + var placeholder = props.placeholder, + onChange = props.onChange, + className = props.className, + disableSaveAction = props.disableSaveAction, + chipInputOptions = props.chipInputOptions; - var inputValidator = function inputValidator(val) { - return isValid(validators, val, inputFormat); - }; + var onChipInputChange = chipInputOptions.onChange, + _chipInputOptions$chi = chipInputOptions.chipOptions, + chipOptions = _chipInputOptions$chi === void 0 ? {} : _chipInputOptions$chi, + rest = _objectWithoutProperties(chipInputOptions, _excluded$6); - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { - size: '6', - sizeXS: '12', - className: "DateRangePicker-input DateRangePicker-input--startDate" - }, startLabel && /*#__PURE__*/React.createElement(Label, { - required: startInputOptions.required, - withInput: true - }, startLabel), /*#__PURE__*/React.createElement(InputMask, _extends$3({ - icon: "events", - placeholder: inputFormat - }, startInputOptions, { - mask: mask, - value: startDate ? translateToString(inputFormat, startDate) // @ts-ignore - : init ? InputMask.utils.getDefaultValue(mask, startPlaceholderChar) : '', - onChange: function onChange(e, val) { - onChangeHandler(e, val || '', 'start'); - }, - onBlur: function onBlur(e, val) { - onBlurHandler(e, val || '', 'start'); - }, - onClear: function onClear() { - return onClearHandler('start'); - }, - onClick: function onClick() { - return onClickHandler('start'); - }, - error: showStartError, - caption: showStartError ? startErrorMessage : '', - validators: [inputValidator], - clearOnEmptyBlur: false - }))), /*#__PURE__*/React.createElement(Column, { - size: '6', - sizeXS: '12', - className: "DateRangePicker-input DateRangePicker-input--endDate" - }, endLabel && /*#__PURE__*/React.createElement(Label, { - required: endInputOptions.required, - withInput: true - }, endLabel), /*#__PURE__*/React.createElement(InputMask, _extends$3({ - icon: "events", - placeholder: inputFormat - }, endInputOptions, { - mask: mask, - value: endDate ? translateToString(inputFormat, endDate) // @ts-ignore - : init ? InputMask.utils.getDefaultValue(mask, endPlaceholderChar) : '', - onChange: function onChange(e, val) { - onChangeHandler(e, val || '', 'end'); - }, - onBlur: function onBlur(e, val) { - onBlurHandler(e, val || '', 'end'); - }, - onClear: function onClear() { - return onClearHandler('end'); - }, - onClick: function onClick() { - return onClickHandler('end'); - }, - error: showEndError, - caption: showEndError ? endErrorMessage : '', - validators: [inputValidator], - clearOnEmptyBlur: false - })))); -}; + var _onClick = chipOptions.onClick, + chipObject = _objectWithoutProperties(chipOptions, _excluded2$1); -var SingleInputTrigger = function SingleInputTrigger(props) { - var inputFormat = props.inputFormat, - inputOptions = props.inputOptions, - validators = props.validators, - state = props.state, - setState = props.setState; - var init = state.init, - startDate = state.startDate, - endDate = state.endDate, - startValue = state.startValue, - endValue = state.endValue, - startError = state.startError, - endError = state.endError; - var mask = rangeDate[inputFormat]; - var showError = inputOptions.error || inputOptions.required && (startError || endError) && init; - var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; - var label = inputOptions.label; - var _inputOptions$placeho = inputOptions.placeholderChar, - placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; // @ts-ignore + var _React$useState = React.useState(props.value), + _React$useState2 = _slicedToArray(_React$useState, 2), + inputValue = _React$useState2[0], + setInputValue = _React$useState2[1]; - var defaultValue = InputMask.utils.getDefaultValue(mask, placeholderChar).split(' - '); - var sValue = startValue || defaultValue[0]; - var eValue = endValue || defaultValue[1]; + var _React$useState3 = React.useState(props.value), + _React$useState4 = _slicedToArray(_React$useState3, 2), + value = _React$useState4[0], + setValue = _React$useState4[1]; - var inputValidator = function inputValidator(val) { - var _val$split = val.split(' - '), - _val$split2 = _slicedToArray(_val$split, 2), - startVal = _val$split2[0], - endVal = _val$split2[1]; + var _React$useState5 = React.useState(false), + _React$useState6 = _slicedToArray(_React$useState5, 2), + showComponent = _React$useState6[0], + setShowComponent = _React$useState6[1]; - return isValid(validators, startVal, inputFormat) && isValid(validators, endVal, inputFormat); + var baseProps = extractBaseProps(props); + var isWithChips = inputValue && inputValue.length; + var isControlled = props.value !== undefined; + React.useEffect(function () { + if (isControlled) { + setInputValue(props.value); + setValue(props.value); + } + }, [props.value]); + var classes = classnames(_defineProperty$1({}, 'EditableChipInput', true), className); + var actionClass = classnames(_defineProperty$1({}, 'EditableChipInput-actions', true)); + var defaultClasses = classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'EditableChipInput-default', !isWithChips), _defineProperty$1(_classNames3, 'EditableChipInput-defaultWithChips', isWithChips), _classNames3)); + var inputClass = classnames(_defineProperty$1({}, 'EditableChipInput-chipInput', true)); + + var onChipInputChangeHandler = function onChipInputChangeHandler(val) { + setInputValue(val); + if (onChipInputChange) onChipInputChange(val); }; - var onChangeHandler = function onChangeHandler(_e, val) { - var date = val.split(' - '); - var startVal = date[0]; - var endVal = date[1]; + var setDefaultComponent = function setDefaultComponent(updatedValue) { + setInputValue(updatedValue); + setShowComponent(false); + }; - if (startValue !== startVal && startVal && !startVal.includes(placeholderChar)) { - var startD = translateToDate(inputFormat, startVal, validators); + var onSaveChanges = function onSaveChanges() { + if (!isControlled) setValue(inputValue); + if (onChange && inputValue) onChange(inputValue); + setDefaultComponent(inputValue); + }; - if (startD) { - var isEndDateValid = endValue && !endValue.includes(placeholderChar); - setState({ - startDate: startD, - endDate: isEndDateValid ? endDate : undefined - }); + var onChangeHandler = function onChangeHandler(eventType) { + switch (eventType) { + case 'edit': + { + setShowComponent(true); + break; + } - if (endDate) { - var _getDateInfo = getDateInfo(endDate), - eYear = _getDateInfo.year, - eMonth = _getDateInfo.month, - eDate = _getDateInfo.date; + case 'hover': + { + break; + } - if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { - setState({ - endDate: undefined - }); - } + case 'default': + { + setShowComponent(false); + break; } - } } + }; - if (endValue !== endVal && endVal && !endVal.includes(placeholderChar)) { - var endD = translateToDate(inputFormat, endVal, validators); - var isStartDateValid = startValue && !startValue.includes(placeholderChar); + var onChipDelete = function onChipDelete(index) { + if (value) { + var updatedValue = _toConsumableArray(value); - if (endD) { - setState({ - endDate: endD, - startDate: isStartDateValid ? startDate : undefined - }); - } - } + updatedValue.splice(index, 1); - setState({ - startValue: startVal, - endValue: endVal - }); - }; + if (!isControlled) { + setInputValue(updatedValue); + setValue(updatedValue); + } - var onBlurHandler = function onBlurHandler(_e, val) { - setState({ - init: true - }); - var date = val.split(' - '); - var startVal = date[0]; - var endVal = date[1]; - if (!startVal || startVal.includes(placeholderChar)) setState({ - startDate: undefined - }); - if (!endVal || endVal.includes(placeholderChar)) setState({ - endDate: undefined - }); + if (onChange) onChange(updatedValue); + } }; - var onClearHandler = function onClearHandler() { - setState({ - init: true, - startDate: undefined, - endDate: undefined, - yearNav: undefined, - monthNav: undefined - }); - }; + var renderDefaultState = function renderDefaultState() { + if (inputValue && inputValue.length) { + return inputValue.map(function (val, index) { + return /*#__PURE__*/React.createElement(Chip, _extends$2({ + "data-test": "DesignSystem-EditableChipInput--Chip", + key: index, + name: val, + label: val, + className: "my-2 mx-2" + }, chipObject, { + onClose: function onClose() { + return onChipDelete(index); + }, + onClick: function onClick() { + return _onClick && _onClick(val, index); + } + })); + }); + } - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, null, label && /*#__PURE__*/React.createElement(Label, { - required: inputOptions.required, - withInput: true - }, label), /*#__PURE__*/React.createElement(InputMask, _extends$3({ - icon: "events", - placeholder: "".concat(inputFormat, " - ").concat(inputFormat) - }, inputOptions, { - mask: mask, - value: !startDate && !endDate && !init ? undefined : "".concat(sValue, " - ").concat(eValue), - onChange: function onChange(e, val) { - onChangeHandler(e, val || ''); - }, - onBlur: function onBlur(e, val) { - onBlurHandler(e, val || ''); - }, - onClear: onClearHandler, - error: showError, - caption: showError ? errorMessage : '', - validators: [inputValidator], - clearOnEmptyBlur: false - })))); -}; + return /*#__PURE__*/React.createElement(Text, { + className: "pt-1" + }, placeholder); + }; -var setDate = function setDate(date) { - var d = new Date(); - return new Date(d.setDate(date)); -}; + var renderChildren = function renderChildren() { + if (showComponent) { + return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-EditableChipInput--wrapper" + }, /*#__PURE__*/React.createElement(ChipInput, _extends$2({ + "data-test": "DesignSystem-EditableChipInput--ChipInput", + placeholder: placeholder, + onChange: onChipInputChangeHandler, + value: inputValue, + chipOptions: chipOptions + }, rest, { + className: inputClass + }))); + } -var getCurrentYear = function getCurrentYear() { - var current = new Date(); - var currentYear = current.getFullYear(); - return currentYear; -}; -var getCurrentMonth = function getCurrentMonth() { - var current = new Date(); - var currentMonth = current.getMonth(); - return currentMonth; -}; -var getCurrentWeek = function getCurrentWeek() { - var current = new Date(); - var currentDate = current.getDate(); - var currentDay = current.getDay(); - return { - startDate: setDate(currentDate - currentDay + 1), - endDate: setDate(currentDate - currentDay + 7) + return /*#__PURE__*/React.createElement("div", { + className: defaultClasses, + "data-test": "DesignSystem-EditableChipInput--Default" + }, renderDefaultState()); }; + + return /*#__PURE__*/React.createElement("div", _extends$2({ + className: classes, + "data-test": "DesignSystem-EditableChipInput" + }, baseProps), /*#__PURE__*/React.createElement(Editable, { + onChange: onChangeHandler, + editing: showComponent + }, renderChildren()), showComponent && /*#__PURE__*/React.createElement("div", { + className: actionClass, + "data-test": "DesignSystem-EditableChipInput--Actions" + }, /*#__PURE__*/React.createElement(Button, { + "data-test": "DesignSystem-EditableChipInput--DiscardButton", + icon: "clear", + className: "mr-3", + size: "tiny", + onClick: function onClick() { + setDefaultComponent(value); + } + }), /*#__PURE__*/React.createElement(Button, { + "data-test": "DesignSystem-EditableChipInput--SaveButton", + icon: "check", + appearance: "primary", + size: "tiny", + disabled: disableSaveAction, + onClick: onSaveChanges + }))); }; -var getPreviousWeek = function getPreviousWeek() { - var current = new Date(); - var currentDate = current.getDate(); - var currentDay = current.getDay(); - return { - startDate: setDate(currentDate - currentDay - 6), - endDate: setDate(currentDate - currentDay) - }; +EditableChipInput.defaultProps = { + placeholder: '', + chipInputOptions: {} }; -var getPreviousMonth = function getPreviousMonth() { - var current = new Date(); - var currentYear = current.getFullYear(); - var currentMonth = current.getMonth(); - return { - endDate: new Date(currentYear, currentMonth, 0), - startDate: new Date(currentYear - +(currentMonth < 0), (currentMonth + 11) % 12, 1) + +var ProgressRing = function ProgressRing(props) { + var size = props.size, + max = props.max, + value = props.value, + className = props.className; + var baseProps = extractBaseProps(props); + var radius = 20; + var circumference = 2 * Math.PI * radius; + var ProgressRingClass = classnames(_defineProperty$1({ + Ring: true + }, "Ring--".concat(size), size), className); + var svgProps = { + viewBox: '0 0 50 50' }; -}; -var getPrevious90Days = function getPrevious90Days() { - var current = new Date(); - var currentDate = current.getDate(); - return { - startDate: setDate(currentDate - 90), - endDate: setDate(currentDate) + var updatedValue = value > 0 ? Math.min(value, max) * 100 / max : 0; + var circleProps = { + cx: 25, + cy: 25, + r: radius, + fill: 'none', + strokeWidth: '8', + strokeDasharray: "".concat(circumference, " ").concat(circumference) }; + return /*#__PURE__*/React.createElement("svg", _extends$2({ + "data-test": "DesignSystem-ProgressRing" + }, baseProps, { + className: ProgressRingClass + }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$2({ + className: "Ring-background" + }, circleProps)), /*#__PURE__*/React.createElement("circle", _extends$2({ + className: "Ring-indicator", + strokeDashoffset: circumference - updatedValue / 100 * circumference + }, circleProps, { + "data-test": "DesignSystem-ProgressRing--Circle" + }))); }; -var getCustomDates = function getCustomDates() { - var current = new Date(); - var currentDate = current.getDate(); - return { - startDate: setDate(currentDate), - endDate: setDate(currentDate) - }; +ProgressRing.displayName = 'ProgressRing'; +ProgressRing.defaultProps = { + size: 'regular', + max: 100 }; -var _excluded$3 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"]; -var DateRangePicker = /*#__PURE__*/function (_React$Component) { - _inherits$1(DateRangePicker, _React$Component); - - var _super = _createSuper$1(DateRangePicker); +var Step = function Step(props) { + var _classNames; - function DateRangePicker(props) { - var _this; + var label = props.label, + value = props.value, + disabled = props.disabled, + active = props.active, + completed = props.completed, + onChange = props.onChange; + var StepClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Step', true), _defineProperty$1(_classNames, 'Stepper-animate', true), _defineProperty$1(_classNames, 'Step--active', active), _defineProperty$1(_classNames, 'Step--disabled', disabled), _defineProperty$1(_classNames, 'Step--completed', completed), _classNames)); - _classCallCheck$1(this, DateRangePicker); + var onClickHandle = function onClickHandle() { + if (disabled) return; + if (onChange) onChange(label, value); + }; - _this = _super.call(this, props); + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter') { + onClickHandle(); + } + }; - _defineProperty$2(_assertThisInitialized$2(_this), "monthsInView", void 0); + var textColor = active ? 'primary-dark' : disabled ? 'inverse-lightest' : 'inverse'; + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + "data-test": "DesignSystem-Step", + className: StepClass, + onKeyDown: function onKeyDown(e) { + return onKeyDownHandler(e); + }, + onClick: onClickHandle, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Step--Icon", + name: completed ? 'check_circle' : 'radio_button_unchecked', + className: "mr-3 my-4 Stepper-animate" + }), label && /*#__PURE__*/React.createElement(Text, { + weight: "medium", + color: textColor, + className: "Stepper-animate Stepper-text" + }, label)) + ); +}; +Step.displayName = 'Step'; - _defineProperty$2(_assertThisInitialized$2(_this), "getDate", function (startDate, endDate) { - var inputFormat = _this.props.inputFormat; - var startVal = startDate ? translateToString(inputFormat, startDate) : ''; - var endVal = endDate ? translateToString(inputFormat, endDate) : ''; - return { - startValue: startVal, - endValue: endVal - }; - }); +var Stepper = function Stepper(props) { + var steps = props.steps, + active = props.active, + completed = props.completed, + onChange = props.onChange, + className = props.className, + skipIndexes = props.skipIndexes; + var baseProps = extractBaseProps(props); - _defineProperty$2(_assertThisInitialized$2(_this), "getErrors", function (startDate, endDate) { - var isError = function isError(date) { - var _this$props = _this.props, - disabledBefore = _this$props.disabledBefore, - disabledAfter = _this$props.disabledAfter; + var onChangeHandler = function onChangeHandler(index, stepLabel, stepValue) { + if (onChange) onChange(index, completed, stepLabel, stepValue); + }; - var _getDateInfo = getDateInfo(disabledBefore), - dbYear = _getDateInfo.year, - dbMonth = _getDateInfo.month, - dbDate = _getDateInfo.date; + var StepperClass = classnames(_defineProperty$1({}, 'Stepper', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Stepper" + }, baseProps, { + className: StepperClass + }), steps.map(function (step, index) { + var label = step.label, + value = step.value; + var isSkipped = skipIndexes.includes(index); + var activeStep = active === index; + var completedStep = !isSkipped && completed >= index; + var disabled = !activeStep && !isSkipped && completed + 1 < index; + return /*#__PURE__*/React.createElement(Step, { + key: index, + label: label, + value: value, + active: activeStep, + completed: completedStep, + disabled: disabled, + onChange: function onChange(steplabel, stepvalue) { + return onChangeHandler(index, steplabel, stepvalue); + } + }); + })); +}; +Stepper.displayName = 'Stepper'; +Stepper.defaultProps = { + completed: -1, + active: 0, + skipIndexes: [] +}; - var _getDateInfo2 = getDateInfo(disabledAfter), - daYear = _getDateInfo2.year, - daMonth = _getDateInfo2.month, - daDate = _getDateInfo2.date; +var Trigger = function Trigger(props) { + var inputFormat = props.inputFormat, + startInputOptions = props.startInputOptions, + endInputOptions = props.endInputOptions, + validators = props.validators, + state = props.state, + setState = props.setState; + var init = state.init, + startDate = state.startDate, + endDate = state.endDate, + startError = state.startError, + endError = state.endError; - return !date ? true : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); - }; + var updateNav = function updateNav(type) { + if (type === 'start') { + var _getDateInfo = getDateInfo(startDate), + year = _getDateInfo.year, + month = _getDateInfo.month; - var startError = isError(startDate); - var endError = isError(endDate); + setState({ + yearNav: year, + monthNav: month + }); + } - var _getDateInfo3 = getDateInfo(endDate), - eYear = _getDateInfo3.year, - eMonth = _getDateInfo3.month, - eDate = _getDateInfo3.date; + if (type === 'end') { + var _getDateInfo2 = getDateInfo(endDate), + _year = _getDateInfo2.year, + _month = _getDateInfo2.month; - if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { - startError = true; - endError = true; - } + setState({ + yearNav: _year, + monthNav: _month + }); + } + }; - return { - startError: startError, - endError: endError - }; + var onPasteHandler = function onPasteHandler(_e, val, type) { + setState({ + open: true }); - _defineProperty$2(_assertThisInitialized$2(_this), "getInRangeError", function () { - var rangeLimit = _this.props.rangeLimit; - - if (rangeLimit) { - var _this$state = _this.state, - _startDate2 = _this$state.startDate, - _endDate2 = _this$state.endDate; + if (type === 'start') { + var placeholderChar = startInputOptions.placeholderChar || '_'; - var _getDateInfo4 = getDateInfo(_startDate2), - sYear = _getDateInfo4.year, - sMonth = _getDateInfo4.month, - sDate = _getDateInfo4.date; + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); - var _getDateInfo5 = getDateInfo(_endDate2), - eYear = _getDateInfo5.year, - eMonth = _getDateInfo5.month, - eDate = _getDateInfo5.date; + if (d) { + setState({ + startDate: d + }); - var limitDate; + if (endDate) { + var _getDateInfo3 = getDateInfo(endDate), + eYear = _getDateInfo3.year, + eMonth = _getDateInfo3.month, + eDate = _getDateInfo3.date; - if (_startDate2) { - limitDate = new Date(_startDate2); - limitDate.setDate(sDate + rangeLimit); - return compareDate(limitDate, 'less', eYear, eMonth, eDate + 1); - } + if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { + setState({ + endDate: undefined + }); + } + } - if (_endDate2) { - limitDate = new Date(_endDate2); - limitDate.setDate(eDate - rangeLimit); - return compareDate(limitDate, 'more', sYear, sMonth, sDate - 1); + if (startInputOptions.onPaste) startInputOptions.onPaste(_e, val); } } + } - return false; - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "onRangeChangeHandler", function (sDate, eDate) { - _this.setState({ - init: true, - startDate: sDate, - endDate: eDate, - startValue: sDate ? translateToString(_this.props.inputFormat, sDate) : '', - endValue: eDate ? translateToString(_this.props.inputFormat, eDate) : '' - }); - }); - - _defineProperty$2(_assertThisInitialized$2(_this), "onToggleHandler", function (o, type) { - switch (type) { - case 'outsideClick': - _this.setState({ - open: o - }); + if (type === 'end') { + var _placeholderChar = endInputOptions.placeholderChar ? endInputOptions.placeholderChar : '_'; - break; + if (val && !val.includes(_placeholderChar)) { + var _d = translateToDate(inputFormat, val, validators); - case 'onClick': - _this.setState({ - open: true + if (_d) { + setState({ + endDate: _d }); - - break; + if (endInputOptions.onPaste) endInputOptions.onPaste(_e, val); + } } - }); - - var _inputFormat = props.inputFormat, - validators = props.validators; + } + }; - var _startDate = convertToDate(props.startDate, _inputFormat, validators); + var onChangeHandler = function onChangeHandler(_e, val, type) { + setState({ + open: true + }); - var _endDate = convertToDate(props.endDate, _inputFormat, validators); + if (type === 'start') { + var placeholderChar = startInputOptions.placeholderChar || '_'; - var _this$getDate = _this.getDate(_startDate, _endDate), - startValue = _this$getDate.startValue, - endValue = _this$getDate.endValue; + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); - var _this$getErrors = _this.getErrors(_startDate, _endDate), - _startError = _this$getErrors.startError, - _endError = _this$getErrors.endError; + if (d) { + setState({ + startDate: d + }); - _this.state = { - startDate: _startDate, - endDate: _endDate, - startValue: startValue, - endValue: endValue, - startError: _startError, - endError: _endError, - init: false, - open: props.open || false, - yearNav: props.yearNav, - monthNav: props.monthNav - }; - _this.monthsInView = props.monthsInView || (props.withInput ? 2 : 1); - return _this; - } + if (endDate) { + var _getDateInfo4 = getDateInfo(endDate), + eYear = _getDateInfo4.year, + eMonth = _getDateInfo4.month, + eDate = _getDateInfo4.date; - _createClass$1(DateRangePicker, [{ - key: "componentDidUpdate", - value: function componentDidUpdate(prevProps, prevState) { - if (prevProps.startDate !== this.props.startDate) { - var _this$props2 = this.props, - inputFormat = _this$props2.inputFormat, - validators = _this$props2.validators; - var d = convertToDate(this.props.startDate, inputFormat, validators); - var val = translateToString(inputFormat, d); - this.setState({ - startDate: d, - startValue: val - }); + if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { + setState({ + endDate: undefined + }); + } + } + } } + } - if (prevProps.endDate !== this.props.endDate) { - var _this$props3 = this.props, - _inputFormat2 = _this$props3.inputFormat, - _validators = _this$props3.validators; - - var _d = convertToDate(this.props.endDate, _inputFormat2, _validators); + if (type === 'end') { + var _placeholderChar2 = endInputOptions.placeholderChar ? endInputOptions.placeholderChar : '_'; - var _val = translateToString(_inputFormat2, _d); + if (val && !val.includes(_placeholderChar2)) { + var _d2 = translateToDate(inputFormat, val, validators); - this.setState({ - endDate: _d, - endValue: _val + if (_d2) setState({ + endDate: _d2 }); } + } + }; - if (prevProps.open !== this.props.open) { - this.setState({ - open: this.props.open || false - }); - } + var onBlurHandler = function onBlurHandler(_e, val, type) { + setState({ + init: true + }); + var hasNumber = /\d/; - if (prevProps.yearNav !== this.props.yearNav) { - this.setState({ - yearNav: this.props.yearNav - }); - } + if (type === 'start') { + var _startInputOptions$pl = startInputOptions.placeholderChar, + placeholderChar = _startInputOptions$pl === void 0 ? '_' : _startInputOptions$pl; - if (prevProps.monthNav !== this.props.monthNav) { - this.setState({ - monthNav: this.props.monthNav + if (val && hasNumber.test(val) && val.includes(placeholderChar)) { + setState({ + startError: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + startError: false }); } - if (prevState.startDate !== this.state.startDate || prevState.endDate !== this.state.endDate) { - var _this$props4 = this.props, - onRangeChange = _this$props4.onRangeChange, - outputFormat = _this$props4.outputFormat; - var _this$state2 = this.state, - _startDate3 = _this$state2.startDate, - _endDate3 = _this$state2.endDate; + if (!val || val.includes(placeholderChar)) setState({ + startDate: undefined + }); + } - var _this$getErrors2 = this.getErrors(_startDate3, _endDate3), - startError = _this$getErrors2.startError, - endError = _this$getErrors2.endError; + if (type === 'end') { + var _endInputOptions$plac = endInputOptions.placeholderChar, + _placeholderChar3 = _endInputOptions$plac === void 0 ? '_' : _endInputOptions$plac; - this.setState({ - startError: startError, - endError: endError + if (val && hasNumber.test(val) && val.includes(_placeholderChar3)) { + setState({ + endError: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + endError: false }); - - if (onRangeChange) { - var inRangeError = this.getInRangeError(); - var sValue = translateToString(outputFormat, _startDate3); - var eValue = translateToString(outputFormat, _endDate3); - - if (!inRangeError && !startError && !endError) { - onRangeChange(_startDate3, _endDate3, sValue, eValue); - } else { - if (!startError) onRangeChange(_startDate3, undefined, sValue, eValue);else if (!endError) onRangeChange(undefined, _endDate3, sValue, eValue);else onRangeChange(undefined, undefined, sValue, eValue); - } - } } + + if (!val || val.includes(_placeholderChar3)) setState({ + endDate: undefined + }); } - }, { - key: "renderCalendar", - value: function renderCalendar() { - var _this$props5 = this.props; - _this$props5.startDate; - _this$props5.endDate; - _this$props5.yearNav; - _this$props5.monthNav; - _this$props5.open; - var inputFormat = _this$props5.inputFormat; - _this$props5.outputFormat; - _this$props5.startInputOptions; - _this$props5.endInputOptions; - var validators = _this$props5.validators; - _this$props5.withInput; - _this$props5.position; - var disabledBefore = _this$props5.disabledBefore, - disabledAfter = _this$props5.disabledAfter; - _this$props5.onRangeChange; - var rangeLimit = _this$props5.rangeLimit, - rest = _objectWithoutProperties$1(_this$props5, _excluded$3); + }; - var _this$state3 = this.state, - startDate = _this$state3.startDate, - endDate = _this$state3.endDate, - yearNav = _this$state3.yearNav, - monthNav = _this$state3.monthNav; - return /*#__PURE__*/React.createElement(Calendar, _extends$3({}, rest, { - monthsInView: this.monthsInView, - rangePicker: true, - startDate: convertToDate(startDate, inputFormat, validators), - endDate: convertToDate(endDate, inputFormat, validators), - disabledBefore: convertToDate(disabledBefore, inputFormat, validators), - disabledAfter: convertToDate(disabledAfter, inputFormat, validators), - onRangeChange: this.onRangeChangeHandler, - yearNav: yearNav, - monthNav: monthNav, - rangeLimit: rangeLimit - })); + var onClearHandler = function onClearHandler(type) { + setState({ + init: true + }); + + if (type === 'start') { + setState({ + startDate: undefined + }); + updateNav('end'); } - }, { - key: "render", - value: function render() { - var _classNames; - var _this$props6 = this.props, - withInput = _this$props6.withInput, - startInputOptions = _this$props6.startInputOptions, - endInputOptions = _this$props6.endInputOptions, - inputOptions = _this$props6.inputOptions, - inputFormat = _this$props6.inputFormat, - position = _this$props6.position, - validators = _this$props6.validators, - singleInput = _this$props6.singleInput, - contentAlign = _this$props6.contentAlign, - children = _this$props6.children; - var open = this.state.open; - var RangePickerClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'DateRangePicker', true), _defineProperty$2(_classNames, "DateRangePicker--".concat(contentAlign), contentAlign), _classNames)); + if (type === 'end') { + setState({ + endDate: undefined + }); + updateNav('start'); + } + }; - if (withInput) { - var trigger = singleInput ? /*#__PURE__*/React.createElement(SingleInputTrigger, { - inputFormat: inputFormat, - inputOptions: inputOptions, - validators: validators, - state: this.state, - setState: this.setState.bind(this) - }) : /*#__PURE__*/React.createElement(Trigger, { - inputFormat: inputFormat, - startInputOptions: startInputOptions, - endInputOptions: endInputOptions, - validators: validators, - state: this.state, - setState: this.setState.bind(this) - }); - return /*#__PURE__*/React.createElement(Popover, { - trigger: trigger, - triggerClass: "w-100", - className: RangePickerClass, - position: position, - appendToBody: true, - open: open, - onToggle: this.onToggleHandler - }, children, this.renderCalendar()); - } + var onClickHandler = function onClickHandler(type) { + var open = state.open; - return this.renderCalendar(); + if (!open) { + updateNav(type); } - }]); + }; - return DateRangePicker; -}(React.Component); // @ts-ignore + var mask = date[inputFormat]; + var startPlaceholderChar = startInputOptions.placeholderChar || '_'; + var endPlaceholderChar = endInputOptions.placeholderChar || '_'; + var showStartError = startInputOptions.error || startInputOptions.required && startError && init; + var showEndError = endInputOptions.error || endInputOptions.required && endError && init; + var startErrorMessage = startInputOptions.caption === undefined ? 'Invalid value' : startInputOptions.caption; + var endErrorMessage = endInputOptions.caption === undefined ? 'Invalid value' : endInputOptions.caption; + var startLabel = startInputOptions.label; + var endLabel = endInputOptions.label; -_defineProperty$2(DateRangePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { - children: /*#__PURE__*/React.createElement(React.Fragment, null), - contentAlign: 'left', - monthsInView: undefined, - position: 'bottom-start', - inputFormat: 'mm/dd/yyyy', - outputFormat: 'mm/dd/yyyy', - validators: [date$1], - inputOptions: { - label: 'Date' - }, - startInputOptions: { - label: 'Start Date' - }, - endInputOptions: { - label: 'End Date' - } -})); + var inputValidator = function inputValidator(val) { + return isValid(validators, val, inputFormat); + }; -DateRangePicker.utils = { - getCurrentWeek: getCurrentWeek, - getPreviousWeek: getPreviousWeek, - getPreviousMonth: getPreviousMonth, - getPrevious90Days: getPrevious90Days, - getCustomDates: getCustomDates, - getCurrentYear: getCurrentYear, - getCurrentMonth: getCurrentMonth + return /*#__PURE__*/React.createElement(Row, { + "data-test": "DesignSystem-DateRangePicker-InputTrigger" + }, /*#__PURE__*/React.createElement(Column, { + size: '6', + sizeXS: '12', + className: "DateRangePicker-input DateRangePicker-input--startDate" + }, startLabel && /*#__PURE__*/React.createElement(Label, { + required: startInputOptions.required, + withInput: true + }, startLabel), /*#__PURE__*/React.createElement(X, _extends$2({ + icon: "events", + placeholder: inputFormat + }, startInputOptions, { + mask: mask, + value: startDate ? translateToString(inputFormat, startDate) : init ? X.utils.getDefaultValue(mask, startPlaceholderChar) : '', + onChange: function onChange(e, val) { + onChangeHandler(e, val || '', 'start'); + }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || '', 'start'); + }, + onBlur: function onBlur(e, val) { + onBlurHandler(e, val || '', 'start'); + }, + onClear: function onClear() { + return onClearHandler('start'); + }, + onClick: function onClick() { + return onClickHandler('start'); + }, + error: showStartError, + caption: showStartError ? startErrorMessage : '', + validators: [inputValidator], + clearOnEmptyBlur: true + }))), /*#__PURE__*/React.createElement(Column, { + size: '6', + sizeXS: '12', + className: "DateRangePicker-input DateRangePicker-input--endDate" + }, endLabel && /*#__PURE__*/React.createElement(Label, { + required: endInputOptions.required, + withInput: true + }, endLabel), /*#__PURE__*/React.createElement(X, _extends$2({ + icon: "events", + placeholder: inputFormat + }, endInputOptions, { + mask: mask, + value: endDate ? translateToString(inputFormat, endDate) : init ? X.utils.getDefaultValue(mask, endPlaceholderChar) : '', + onChange: function onChange(e, val) { + onChangeHandler(e, val || '', 'end'); + }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || '', 'end'); + }, + onBlur: function onBlur(e, val) { + onBlurHandler(e, val || '', 'end'); + }, + onClear: function onClear() { + return onClearHandler('end'); + }, + onClick: function onClick() { + return onClickHandler('end'); + }, + error: showEndError, + caption: showEndError ? endErrorMessage : '', + validators: [inputValidator], + clearOnEmptyBlur: true + })))); }; -var TabsWrapper = function TabsWrapper(props) { - var children = props.children, - onTabChange = props.onTabChange, - className = props.className; - var baseProps = extractBaseProps(props); - var tabs = Array.isArray(children) ? children : [children]; - var totalTabs = tabs.length; +var SingleInputTrigger = function SingleInputTrigger(props) { + var inputFormat = props.inputFormat, + inputOptions = props.inputOptions, + validators = props.validators, + state = props.state, + setState = props.setState; + var init = state.init, + startDate = state.startDate, + endDate = state.endDate, + startValue = state.startValue, + endValue = state.endValue, + startError = state.startError, + endError = state.endError; + var mask = rangeDate[inputFormat]; + var showError = inputOptions.error || inputOptions.required && (startError || endError) && init; + var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; + var label = inputOptions.label; + var _inputOptions$placeho = inputOptions.placeholderChar, + placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; + var defaultValue = X.utils.getDefaultValue(mask, placeholderChar).split(' - '); + var sValue = startValue || defaultValue[0]; + var eValue = endValue || defaultValue[1]; - var _React$useState = React.useState(props.active && props.active < totalTabs ? props.active : 0), - _React$useState2 = _slicedToArray(_React$useState, 2), - active = _React$useState2[0], - setActiveTab = _React$useState2[1]; + var inputValidator = function inputValidator(val) { + var _val$split = val.split(' - '), + _val$split2 = _slicedToArray(_val$split, 2), + startVal = _val$split2[0], + endVal = _val$split2[1]; - React.useEffect(function () { - setActiveTab(props.active && props.active < totalTabs ? props.active : 0); - }, [props.active]); - var wrapperClass = classnames(_defineProperty$2({}, 'TabsWrapper', true), className); + return isValid(validators, startVal, inputFormat) && isValid(validators, endVal, inputFormat); + }; - var tabClickHandler = function tabClickHandler(tabIndex) { - setActiveTab(tabIndex); - if (onTabChange) onTabChange(tabIndex); + var onPasteHandler = function onPasteHandler(_e, val) { + var onPaste = inputOptions.onPaste; + var date = val.split(' - '); + var startVal = date[0]; + var endVal = date[1]; + var endD = translateToDate(inputFormat, endVal, validators); + var startD = translateToDate(inputFormat, startVal, validators); + setState({ + startDate: startD, + endDate: endD, + startValue: startVal, + endValue: endVal + }); + if (onPaste) onPaste(_e, val); }; - var TabsHeader = tabs.map(function (child, index) { - var _classNames2; + var onChangeHandler = function onChangeHandler(_e, val) { + var date = val.split(' - '); + var startVal = date[0]; + var endVal = date[1]; - var _child$props = child.props, - label = _child$props.label, - disabled = _child$props.disabled; - var tabHeaderClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Tab', true), _defineProperty$2(_classNames2, 'Tab--disabled', disabled), _defineProperty$2(_classNames2, 'Tab--active', !disabled && active === index), _classNames2)); - return /*#__PURE__*/React.createElement("div", { - "data-test": "DesignSystem-Tabs--Header", - key: index, - className: tabHeaderClass, - onClick: function onClick() { - return !disabled && tabClickHandler(index); - } - }, label); - }); - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-TabsWrapper" - }, baseProps, { - className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { - className: "TabsWrapper-header" - }, TabsHeader), /*#__PURE__*/React.createElement("div", { - className: "TabsWrapper-content", - "data-test": "DesignSystem-Tabs--Content" - }, tabs[active])); -}; -TabsWrapper.displayName = 'TabsWrapper'; + if (startValue !== startVal && startVal && !startVal.includes(placeholderChar)) { + var startD = translateToDate(inputFormat, startVal, validators); -var Tab = function Tab(props) { - var children = props.children; - return /*#__PURE__*/React.createElement(React.Fragment, null, children); -}; -Tab.displayName = 'Tab'; + if (startD) { + var isEndDateValid = endValue && !endValue.includes(placeholderChar); + setState({ + startDate: startD, + endDate: isEndDateValid ? endDate : undefined + }); -var Tabs = function Tabs(props) { - var _classNames; + if (endDate) { + var _getDateInfo = getDateInfo(endDate), + eYear = _getDateInfo.year, + eMonth = _getDateInfo.month, + eDate = _getDateInfo.date; - var tabs = props.tabs, - withSeparator = props.withSeparator, - onTabChange = props.onTabChange, - className = props.className; - var baseProps = extractBaseProps(props); - var totalTabs = tabs.length; + if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { + setState({ + endDate: undefined + }); + } + } + } + } - var _React$useState = React.useState(props.activeIndex && props.activeIndex < totalTabs ? props.activeIndex : 0), - _React$useState2 = _slicedToArray(_React$useState, 2), - activeIndex = _React$useState2[0], - setActiveTab = _React$useState2[1]; + if (endValue !== endVal && endVal && !endVal.includes(placeholderChar)) { + var endD = translateToDate(inputFormat, endVal, validators); + var isStartDateValid = startValue && !startValue.includes(placeholderChar); - React.useEffect(function () { - if (props.activeIndex !== undefined && props.activeIndex < totalTabs) { - setActiveTab(props.activeIndex); + if (endD) { + setState({ + endDate: endD, + startDate: isStartDateValid ? startDate : undefined + }); + } } - }, [props.activeIndex]); - var tabsClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Tabs', true), _defineProperty$2(_classNames, 'Tabs--withSeparator', withSeparator), _classNames), className); - var getPillsClass = function getPillsClass(disabled) { - var _classNames2; + setState({ + startValue: startVal, + endValue: endVal + }); + }; + + var getErrorState = function getErrorState(currentVal, siblingVal) { + var hasNumber = /\d/; + + if (currentVal && siblingVal && !currentVal.includes(placeholderChar) && siblingVal.includes(placeholderChar)) { + return true; + } else if (currentVal && hasNumber.test(currentVal) && currentVal.includes(placeholderChar)) { + return true; + } else if (currentVal && !hasNumber.test(currentVal) || !currentVal) { + return false; + } - return classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Tabs-pills', true), _defineProperty$2(_classNames2, 'Tabs-pills--disabled', disabled), _classNames2)); + return null; }; - var tabClickHandler = function tabClickHandler(tabIndex, isKeyboard) { - if (props.activeIndex === undefined) { - var _tabRefs$tabIndex; + var onBlurHandler = function onBlurHandler(_e, val) { + setState({ + init: true + }); + var date = val.split(' - '); + var startVal = date[0]; + var endVal = date[1]; + var startErr = getErrorState(startVal, endVal); + var endErr = getErrorState(endVal, startVal); - setActiveTab(tabIndex); - if (!isKeyboard) (_tabRefs$tabIndex = tabRefs[tabIndex]) === null || _tabRefs$tabIndex === void 0 ? void 0 : _tabRefs$tabIndex.blur(); + if (startErr !== null && endErr !== null) { + setState({ + startError: startErr, + endError: endErr + }); } - if (onTabChange) onTabChange(tabIndex); + if (!startVal || startVal.includes(placeholderChar)) setState({ + startDate: undefined + }); + if (!endVal || endVal.includes(placeholderChar)) setState({ + endDate: undefined + }); }; - var tabRefs = []; + var onClearHandler = function onClearHandler() { + setState({ + init: true, + startDate: undefined, + endDate: undefined, + yearNav: undefined, + monthNav: undefined + }); + }; - var tabKeyDownHandler = function tabKeyDownHandler(event, tabIndex) { - if (event.key === 'Enter') { - tabClickHandler(tabIndex, true); - } + return /*#__PURE__*/React.createElement(Row, { + "data-test": "DesignSystem-DateRangePicker-SingleInputTrigger" + }, /*#__PURE__*/React.createElement(Column, null, label && /*#__PURE__*/React.createElement(Label, { + required: inputOptions.required, + withInput: true + }, label), /*#__PURE__*/React.createElement(X, _extends$2({ + icon: "events", + placeholder: "".concat(inputFormat, " - ").concat(inputFormat) + }, inputOptions, { + mask: mask, + value: !startDate && !endDate && !init ? undefined : "".concat(sValue, " - ").concat(eValue), + onChange: function onChange(e, val) { + onChangeHandler(e, val || ''); + }, + onBlur: function onBlur(e, val) { + onBlurHandler(e, val || ''); + }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || ''); + }, + onClear: onClearHandler, + error: showError, + caption: showError ? errorMessage : '', + validators: [inputValidator], + clearOnEmptyBlur: true + })))); +}; - if (event.key === 'ArrowLeft' && tabIndex > 0) { - var prevElement = tabRefs[tabIndex - 1]; - prevElement === null || prevElement === void 0 ? void 0 : prevElement.focus(); - } +var setDate = function setDate(date) { + var d = new Date(); + return new Date(d.setDate(date)); +}; - if (event.key === 'ArrowRight' && tabIndex < tabs.length) { - var nextElement = tabRefs[tabIndex + 1]; - nextElement === null || nextElement === void 0 ? void 0 : nextElement.focus(); - } +var getCurrentYear = function getCurrentYear() { + var current = new Date(); + var currentYear = current.getFullYear(); + return currentYear; +}; +var getCurrentMonth = function getCurrentMonth() { + var current = new Date(); + var currentMonth = current.getMonth(); + return currentMonth; +}; +var getCurrentWeek = function getCurrentWeek() { + var current = new Date(); + var currentDate = current.getDate(); + var currentDay = current.getDay(); + return { + startDate: setDate(currentDate - currentDay + 1), + endDate: setDate(currentDate - currentDay + 7) + }; +}; +var getPreviousWeek = function getPreviousWeek() { + var current = new Date(); + var currentDate = current.getDate(); + var currentDay = current.getDay(); + return { + startDate: setDate(currentDate - currentDay - 6), + endDate: setDate(currentDate - currentDay) + }; +}; +var getPreviousMonth = function getPreviousMonth() { + var current = new Date(); + var currentYear = current.getFullYear(); + var currentMonth = current.getMonth(); + return { + endDate: new Date(currentYear, currentMonth, 0), + startDate: new Date(currentYear - +(currentMonth < 0), (currentMonth + 11) % 12, 1) + }; +}; +var getPrevious90Days = function getPrevious90Days() { + var current = new Date(); + var currentDate = current.getDate(); + return { + startDate: setDate(currentDate - 90), + endDate: setDate(currentDate) + }; +}; +var getCustomDates = function getCustomDates() { + return { + startDate: '', + endDate: '' }; +}; - var renderInfo = function renderInfo(tab, index) { - var count = tab.count, - icon = tab.icon, - disabled = tab.disabled; +var _excluded$5 = ["startDate", "endDate", "yearNav", "monthNav", "open", "inputFormat", "outputFormat", "startInputOptions", "endInputOptions", "validators", "withInput", "position", "disabledBefore", "disabledAfter", "onRangeChange", "rangeLimit"]; +var DateRangePicker = /*#__PURE__*/function (_React$Component) { + _inherits(DateRangePicker, _React$Component); - if (count !== undefined) { - return /*#__PURE__*/React.createElement(Pills, { - "data-test": "DesignSystem-Tabs--Pills", - className: getPillsClass(disabled), - appearance: activeIndex === index ? 'primary' : 'secondary' - }, count); - } + var _super = _createSuper(DateRangePicker); - if (icon) { - var iconAppearance = activeIndex === index ? 'info' : disabled ? 'disabled' : 'subtle'; - return /*#__PURE__*/React.createElement(Icon, { - "data-test": "DesignSystem-Tabs--Icon", - className: "mr-4", - name: icon, - appearance: iconAppearance - }); - } + function DateRangePicker(props) { + var _this; - return null; - }; + _classCallCheck(this, DateRangePicker); - var renderTabs = function renderTabs() { - return tabs.map(function (tab, index) { - var _classNames3; + _this = _super.call(this, props); - var label = tab.label, - disabled = tab.disabled; - var textAppearance = activeIndex === index ? 'link' : disabled ? 'disabled' : 'subtle'; - var tabHeaderClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'Tab', true), _defineProperty$2(_classNames3, 'Tab--disabled', disabled), _defineProperty$2(_classNames3, 'Tab--active', !disabled && activeIndex === index), _classNames3)); - return /*#__PURE__*/React.createElement("div", { - ref: function ref(element) { - return element && !disabled && tabRefs.push(element); - }, - "data-test": "DesignSystem-Tabs--Tab", - key: index, - className: tabHeaderClass, - onClick: function onClick() { - return !disabled && tabClickHandler(index); - }, - onKeyDown: function onKeyDown(event) { - return tabKeyDownHandler(event, index); - }, - tabIndex: activeIndex === index ? 0 : -1 - }, renderInfo(tab, index), /*#__PURE__*/React.createElement(Text, { - "data-test": "DesignSystem-Tabs--Text", - appearance: textAppearance - }, label)); + _defineProperty$1(_assertThisInitialized$1(_this), "monthsInView", void 0); + + _defineProperty$1(_assertThisInitialized$1(_this), "getDate", function (startDate, endDate) { + var inputFormat = _this.props.inputFormat; + var startVal = startDate ? translateToString(inputFormat, startDate) : ''; + var endVal = endDate ? translateToString(inputFormat, endDate) : ''; + return { + startValue: startVal, + endValue: endVal + }; }); - }; - return /*#__PURE__*/React.createElement("div", _extends$3({ - "data-test": "DesignSystem-Tabs" - }, baseProps, { - className: tabsClass - }), renderTabs()); -}; -Tabs.displayName = 'Tabs'; -Tabs.defaultProps = { - withSeparator: true -}; + _defineProperty$1(_assertThisInitialized$1(_this), "getErrors", function (startDate, endDate) { + var isError = function isError(date) { + var _this$props = _this.props, + disabledBefore = _this$props.disabledBefore, + disabledAfter = _this$props.disabledAfter; -var accepts = function accepts(file, acceptedFiles) { - if (file && acceptedFiles) { - var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(','); - var fileName = file.name || ''; - var mimeType = (file.type || '').toLowerCase(); - var baseMimeType = mimeType.replace(/\/.*$/, ''); - return acceptedFilesArray.some(function (type) { - var validType = type.trim().toLowerCase(); + var _getDateInfo = getDateInfo(disabledBefore), + dbYear = _getDateInfo.year, + dbMonth = _getDateInfo.month, + dbDate = _getDateInfo.date; - if (validType.charAt(0) === '.') { - return fileName.toLowerCase().endsWith(validType); - } + var _getDateInfo2 = getDateInfo(disabledAfter), + daYear = _getDateInfo2.year, + daMonth = _getDateInfo2.month, + daDate = _getDateInfo2.date; - if (validType.endsWith('/*')) { - return baseMimeType === validType.replace(/\/.*$/, ''); + return !date ? true : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); + }; + + var startError = isError(startDate); + var endError = isError(endDate); + + var _getDateInfo3 = getDateInfo(endDate), + eYear = _getDateInfo3.year, + eMonth = _getDateInfo3.month, + eDate = _getDateInfo3.date; + + if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { + startError = true; + endError = true; } - return mimeType === validType; + return { + startError: startError, + endError: endError + }; }); - } - return true; -}; -var isPropagationStopped = function isPropagationStopped(event) { - if (typeof event.isPropagationStopped === 'function') { - return event.isPropagationStopped(); - } + _defineProperty$1(_assertThisInitialized$1(_this), "getInRangeError", function () { + var rangeLimit = _this.props.rangeLimit; - if (typeof event.cancelBubble !== 'undefined') { - return event.cancelBubble; - } + if (rangeLimit) { + var _this$state = _this.state, + _startDate2 = _this$state.startDate, + _endDate2 = _this$state.endDate; - return false; -}; -var isEvtWithFiles = function isEvtWithFiles(event) { - if (!event.dataTransfer) { - return !!event.target && !!event.target.files; - } + var _getDateInfo4 = getDateInfo(_startDate2), + sYear = _getDateInfo4.year, + sMonth = _getDateInfo4.month, + sDate = _getDateInfo4.date; - return Array.prototype.some.call(event.dataTransfer.types, function (type) { - return type === 'Files' || type === 'application/x-moz-file'; - }); -}; -var onDocumentDragOver = function onDocumentDragOver(event) { - event.preventDefault(); -}; -var composeEventHandlers = function composeEventHandlers() { - for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) { - fns[_key] = arguments[_key]; - } + var _getDateInfo5 = getDateInfo(_endDate2), + eYear = _getDateInfo5.year, + eMonth = _getDateInfo5.month, + eDate = _getDateInfo5.date; - return function (event) { - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } + var limitDate; - return fns.some(function (fn) { - if (!isPropagationStopped(event) && fn) { - fn.apply(void 0, [event].concat(args)); + if (_startDate2) { + limitDate = new Date(_startDate2); + limitDate.setDate(sDate + rangeLimit); + return compareDate(limitDate, 'less', eYear, eMonth, eDate + 1); + } + + if (_endDate2) { + limitDate = new Date(_endDate2); + limitDate.setDate(eDate - rangeLimit); + return compareDate(limitDate, 'more', sYear, sMonth, sDate - 1); + } } - return isPropagationStopped(event); + return false; }); - }; -}; -var reducer = function reducer(state, action) { - switch (action.type) { - case 'focus': - return _objectSpread2(_objectSpread2({}, state), {}, { - isFocused: true - }); - case 'blur': - return _objectSpread2(_objectSpread2({}, state), {}, { - isFocused: false + _defineProperty$1(_assertThisInitialized$1(_this), "onRangeChangeHandler", function (sDate, eDate) { + _this.setState({ + init: true, + startDate: sDate, + endDate: eDate, + startValue: sDate ? translateToString(_this.props.inputFormat, sDate) : '', + endValue: eDate ? translateToString(_this.props.inputFormat, eDate) : '' }); + }); - case 'openDialog': - return _objectSpread2(_objectSpread2({}, state), {}, { - isFileDialogActive: true - }); + _defineProperty$1(_assertThisInitialized$1(_this), "onToggleHandler", function (o, type) { + var _this$props2 = _this.props, + singleInput = _this$props2.singleInput, + inputOptions = _this$props2.inputOptions, + startInputOptions = _this$props2.startInputOptions, + endInputOptions = _this$props2.endInputOptions; + var disabled = singleInput ? inputOptions.disabled : startInputOptions.disabled || endInputOptions.disabled; + if (disabled) return; - case 'closeDialog': - return _objectSpread2(_objectSpread2({}, state), {}, { - isFileDialogActive: false - }); + switch (type) { + case 'outsideClick': + _this.setState({ + open: o + }); - case 'setDraggedFiles': - /* eslint no-case-declarations: 0 */ - var isDragActive = action.isDragActive, - draggedFiles = action.draggedFiles; - return _objectSpread2(_objectSpread2({}, state), {}, { - draggedFiles: draggedFiles, - isDragActive: isDragActive - }); + break; - case 'setFiles': - return _objectSpread2(_objectSpread2({}, state), {}, { - acceptedFiles: action.acceptedFiles, - fileRejections: action.fileRejections - }); + case 'onClick': + _this.setState({ + open: true + }); - case 'reset': - return _objectSpread2(_objectSpread2({}, state), {}, { - isFileDialogActive: false, - isDragActive: false, - draggedFiles: [], - acceptedFiles: [], - fileRejections: [] - }); + break; + } + }); - default: - return state; - } -}; + var _inputFormat = props.inputFormat, + validators = props.validators; -var fileErrorMessages = { - FILE_INVALID_TYPE: 'File format not accepted', - FILE_TOO_LARGE: 'File is too large', - FILE_TOO_SMALL: 'File is too small', - TOO_MANY_FILES: 'Multiple files are not accepted' -}; + var _startDate = convertToDate(props.startDate, _inputFormat, validators); -var isDefined = function isDefined(value) { - return value !== undefined && value !== null; -}; + var _endDate = convertToDate(props.endDate, _inputFormat, validators); -var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr(accept) { - var updatedAccept = Array.isArray(accept) && accept.length === 1 ? accept[0] : accept; - var messageSuffix = Array.isArray(updatedAccept) ? "one of ".concat(updatedAccept.join(', ')) : updatedAccept; - return { - type: 'FILE_INVALID_TYPE', - message: "File type must be ".concat(messageSuffix) - }; -}; -var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) { - return { - type: 'FILE_TOO_LARGE', - message: "File is larger than ".concat(maxSize, " bytes") - }; -}; -var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) { - return { - type: 'FILE_TOO_SMALL', - message: "File is smaller than ".concat(minSize, " bytes") - }; -}; -var fileAccepted = function fileAccepted(file, accept) { - var isAcceptable = file.type === 'application/x-moz-file' || accepts(file, accept); - return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)]; -}; -var fileMatchSize = function fileMatchSize(file, minSize, maxSize) { - if (isDefined(file.size)) { - if (isDefined(minSize) && isDefined(maxSize)) { - if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)]; - if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)]; - } else if (isDefined(minSize) && file.size < minSize) { - return [false, getTooSmallRejectionErr(minSize)]; - } else if (isDefined(maxSize) && file.size > maxSize) { - return [false, getTooLargeRejectionErr(maxSize)]; - } - } + var _this$getDate = _this.getDate(_startDate, _endDate), + startValue = _this$getDate.startValue, + endValue = _this$getDate.endValue; - return [true, null]; -}; -var getFileError = function getFileError(options) { - var files = options.files, - accept = options.accept, - minSize = options.minSize, - maxSize = options.maxSize, - multiple = options.multiple; + var _this$getErrors = _this.getErrors(_startDate, _endDate), + _startError = _this$getErrors.startError, + _endError = _this$getErrors.endError; - if (!multiple && files.length > 1) { - return 'TOO_MANY_FILES'; + _this.state = { + startDate: _startDate, + endDate: _endDate, + startValue: startValue, + endValue: endValue, + startError: _startError, + endError: _endError, + init: false, + open: props.open || false, + yearNav: props.yearNav, + monthNav: props.monthNav + }; + _this.monthsInView = props.monthsInView || (props.withInput ? 2 : 1); + return _this; } - var typeError = files.every(function (file) { - var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray(_fileAccepted, 1), - accepted = _fileAccepted2[0]; + _createClass(DateRangePicker, [{ + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps, prevState) { + if (prevProps.startDate !== this.props.startDate) { + var _this$props3 = this.props, + inputFormat = _this$props3.inputFormat, + validators = _this$props3.validators; + var d = convertToDate(this.props.startDate, inputFormat, validators); + var val = translateToString(inputFormat, d); + this.setState({ + startDate: d, + startValue: val + }); + } - return !accepted; - }); - var sizeError = files.every(function (file) { - var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1), - sizeMatch = _fileMatchSize2[0]; + if (prevProps.endDate !== this.props.endDate) { + var _this$props4 = this.props, + _inputFormat2 = _this$props4.inputFormat, + _validators = _this$props4.validators; - return !sizeMatch; - }); - return typeError ? 'FILE_INVALID_TYPE' : sizeError ? 'FILE_TOO_LARGE' : ''; -}; -var allFilesAccepted = function allFilesAccepted(options) { - var files = options.files, - accept = options.accept, - minSize = options.minSize, - maxSize = options.maxSize, - multiple = options.multiple; + var _d = convertToDate(this.props.endDate, _inputFormat2, _validators); - if (!multiple && files.length > 1) { - return false; - } + var _val = translateToString(_inputFormat2, _d); - return files.every(function (file) { - var _fileAccepted3 = fileAccepted(file, accept), - _fileAccepted4 = _slicedToArray(_fileAccepted3, 1), - accepted = _fileAccepted4[0]; + this.setState({ + endDate: _d, + endValue: _val + }); + } - var _fileMatchSize3 = fileMatchSize(file, minSize, maxSize), - _fileMatchSize4 = _slicedToArray(_fileMatchSize3, 1), - sizeMatch = _fileMatchSize4[0]; + if (prevProps.open !== this.props.open) { + this.setState({ + open: this.props.open || false + }); + } - return accepted && sizeMatch; - }); -}; + if (prevProps.yearNav !== this.props.yearNav) { + this.setState({ + yearNav: this.props.yearNav + }); + } -var COMMON_MIME_TYPES = new Map([['avi', 'video/avi'], ['gif', 'image/gif'], ['ico', 'image/x-icon'], ['jpeg', 'image/jpeg'], ['jpg', 'image/jpeg'], ['mkv', 'video/x-matroska'], ['mov', 'video/quicktime'], ['mp4', 'video/mp4'], ['pdf', 'application/pdf'], ['png', 'image/png'], ['zip', 'application/zip'], ['doc', 'application/msword'], ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document']]); -var FILES_TO_IGNORE = ['.DS_Store', 'Thumbs.db']; -function fromEvent(_x) { - return _fromEvent.apply(this, arguments); -} + if (prevProps.monthNav !== this.props.monthNav) { + this.setState({ + monthNav: this.props.monthNav + }); + } -function _fromEvent() { - _fromEvent = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(evt) { - return regeneratorRuntime.wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - return _context2.abrupt("return", isDragEvt(evt) && evt.dataTransfer ? getDataTransferFiles(evt.dataTransfer, evt.type) : getInputFiles(evt)); + if (prevState.startDate !== this.state.startDate || prevState.endDate !== this.state.endDate) { + var _this$props5 = this.props, + onRangeChange = _this$props5.onRangeChange, + outputFormat = _this$props5.outputFormat; + var _this$state2 = this.state, + _startDate3 = _this$state2.startDate, + _endDate3 = _this$state2.endDate; + + var _this$getErrors2 = this.getErrors(_startDate3, _endDate3), + startError = _this$getErrors2.startError, + endError = _this$getErrors2.endError; + + this.setState({ + startError: startError, + endError: endError + }); - case 1: - case "end": - return _context2.stop(); + if (onRangeChange) { + var inRangeError = this.getInRangeError(); + var sValue = translateToString(outputFormat, _startDate3); + var eValue = translateToString(outputFormat, _endDate3); + + if (!inRangeError && !startError && !endError) { + onRangeChange(_startDate3, _endDate3, sValue, eValue); + } else { + if (!startError) onRangeChange(_startDate3, undefined, sValue, eValue);else if (!endError) onRangeChange(undefined, _endDate3, sValue, eValue);else onRangeChange(undefined, undefined, sValue, eValue); + } + } + + if (this.state.startDate && this.state.endDate) { + this.setState({ + open: false + }); } } - }, _callee2); - })); - return _fromEvent.apply(this, arguments); -} + } + }, { + key: "renderCalendar", + value: function renderCalendar() { + var _this$props6 = this.props; + _this$props6.startDate; + _this$props6.endDate; + _this$props6.yearNav; + _this$props6.monthNav; + _this$props6.open; + var inputFormat = _this$props6.inputFormat; + _this$props6.outputFormat; + _this$props6.startInputOptions; + _this$props6.endInputOptions; + var validators = _this$props6.validators; + _this$props6.withInput; + _this$props6.position; + var disabledBefore = _this$props6.disabledBefore, + disabledAfter = _this$props6.disabledAfter; + _this$props6.onRangeChange; + var rangeLimit = _this$props6.rangeLimit, + rest = _objectWithoutProperties(_this$props6, _excluded$5); -function isDragEvt(value) { - return !!value.dataTransfer; -} + var _this$state3 = this.state, + startDate = _this$state3.startDate, + endDate = _this$state3.endDate, + yearNav = _this$state3.yearNav, + monthNav = _this$state3.monthNav; + return /*#__PURE__*/React.createElement(Calendar, _extends$2({}, rest, { + monthsInView: this.monthsInView, + rangePicker: true, + startDate: convertToDate(startDate, inputFormat, validators), + endDate: convertToDate(endDate, inputFormat, validators), + disabledBefore: convertToDate(disabledBefore, inputFormat, validators), + disabledAfter: convertToDate(disabledAfter, inputFormat, validators), + onRangeChange: this.onRangeChangeHandler, + yearNav: yearNav, + monthNav: monthNav, + rangeLimit: rangeLimit + })); + } + }, { + key: "render", + value: function render() { + var _classNames; -function toFileWithPath(file, path) { - var f = withMimeType(file); + var _this$props7 = this.props, + withInput = _this$props7.withInput, + startInputOptions = _this$props7.startInputOptions, + endInputOptions = _this$props7.endInputOptions, + inputOptions = _this$props7.inputOptions, + inputFormat = _this$props7.inputFormat, + position = _this$props7.position, + validators = _this$props7.validators, + singleInput = _this$props7.singleInput, + contentAlign = _this$props7.contentAlign, + children = _this$props7.children; + var open = this.state.open; + var RangePickerClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'DateRangePicker', true), _defineProperty$1(_classNames, "DateRangePicker--".concat(contentAlign), contentAlign), _classNames)); - if (typeof f.path !== 'string') { - var _ref = file, - webkitRelativePath = _ref.webkitRelativePath; - Object.defineProperty(f, 'path', { - value: typeof path === 'string' ? path : typeof webkitRelativePath === 'string' && webkitRelativePath.length > 0 ? webkitRelativePath : file.name, - writable: false, - configurable: false, - enumerable: true - }); - } + if (withInput) { + var trigger = singleInput ? /*#__PURE__*/React.createElement(SingleInputTrigger, { + inputFormat: inputFormat, + inputOptions: inputOptions, + validators: validators, + state: this.state, + setState: this.setState.bind(this) + }) : /*#__PURE__*/React.createElement(Trigger, { + inputFormat: inputFormat, + startInputOptions: startInputOptions, + endInputOptions: endInputOptions, + validators: validators, + state: this.state, + setState: this.setState.bind(this) + }); + return /*#__PURE__*/React.createElement(Popover, { + trigger: trigger, + triggerClass: "w-100", + className: RangePickerClass, + position: position, + appendToBody: true, + open: open, + onToggle: this.onToggleHandler + }, children, this.renderCalendar()); + } - return f; -} + return this.renderCalendar(); + } + }]); -function withMimeType(file) { - var name = file.name; - var hasExtension = name && name.lastIndexOf('.') !== -1; + return DateRangePicker; +}(React.Component); - if (hasExtension && !file.type) { - var ext = name.split('.').pop().toLowerCase(); - var type = COMMON_MIME_TYPES.get(ext); +_defineProperty$1(DateRangePicker, "utils", { + getCurrentWeek: getCurrentWeek, + getPreviousWeek: getPreviousWeek, + getPreviousMonth: getPreviousMonth, + getPrevious90Days: getPrevious90Days, + getCustomDates: getCustomDates, + getCurrentYear: getCurrentYear, + getCurrentMonth: getCurrentMonth +}); - if (type) { - Object.defineProperty(file, 'type', { - value: type, - writable: false, - configurable: false, - enumerable: true - }); - } +_defineProperty$1(DateRangePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { + children: /*#__PURE__*/React.createElement(React.Fragment, null), + contentAlign: 'left', + monthsInView: undefined, + position: 'bottom-start', + inputFormat: 'mm/dd/yyyy', + outputFormat: 'mm/dd/yyyy', + validators: [date$1], + inputOptions: { + label: 'Date' + }, + startInputOptions: { + label: 'Start Date' + }, + endInputOptions: { + label: 'End Date' } +})); - return file; -} - -function getInputFiles(evt) { - var files = isInput(evt.target) ? evt.target.files ? fromList(evt.target.files) : [] : []; - return files.map(function (file) { - return toFileWithPath(file); - }); -} +var TabsWrapper = function TabsWrapper(props) { + var children = props.children, + onTabChange = props.onTabChange, + className = props.className; + var baseProps = extractBaseProps(props); + var tabs = Array.isArray(children) ? children : [children]; + var totalTabs = tabs.length; -function isInput(value) { - return value !== null; -} + var _React$useState = React.useState(props.active && props.active < totalTabs ? props.active : 0), + _React$useState2 = _slicedToArray(_React$useState, 2), + active = _React$useState2[0], + setActiveTab = _React$useState2[1]; -function getDataTransferFiles(_x2, _x3) { - return _getDataTransferFiles.apply(this, arguments); -} + React.useEffect(function () { + setActiveTab(props.active && props.active < totalTabs ? props.active : 0); + }, [props.active]); + var wrapperClass = classnames(_defineProperty$1({}, 'TabsWrapper', true), className); -function _getDataTransferFiles() { - _getDataTransferFiles = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(dt, type) { - var items, files; - return regeneratorRuntime.wrap(function _callee3$(_context3) { - while (1) { - switch (_context3.prev = _context3.next) { - case 0: - if (!dt.items) { - _context3.next = 8; - break; - } + var tabClickHandler = function tabClickHandler(tabIndex) { + setActiveTab(tabIndex); + if (onTabChange) onTabChange(tabIndex); + }; - items = fromList(dt.items).filter(function (item) { - return item.kind === 'file'; - }); + var TabsHeader = tabs.map(function (child, index) { + var _classNames2; - if (!(type !== 'drop')) { - _context3.next = 4; - break; - } + var _child$props = child.props, + label = _child$props.label, + disabled = _child$props.disabled; + var tabHeaderClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'Tab', true), _defineProperty$1(_classNames2, 'Tab--disabled', disabled), _defineProperty$1(_classNames2, 'Tab--active', !disabled && active === index), _classNames2)); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + "data-test": "DesignSystem-Tabs--Header", + key: index, + className: tabHeaderClass, + onClick: function onClick() { + return !disabled && tabClickHandler(index); + } + }, label) + ); + }); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-TabsWrapper" + }, baseProps, { + className: wrapperClass + }), /*#__PURE__*/React.createElement("div", { + className: "TabsWrapper-header" + }, TabsHeader), /*#__PURE__*/React.createElement("div", { + className: "TabsWrapper-content", + "data-test": "DesignSystem-Tabs--Content" + }, tabs[active])); +}; +TabsWrapper.displayName = 'TabsWrapper'; - return _context3.abrupt("return", items); +var Tab = function Tab(props) { + var children = props.children; + return /*#__PURE__*/React.createElement(React.Fragment, null, children); +}; +Tab.displayName = 'Tab'; - case 4: - _context3.next = 6; - return Promise.all(items.map(toFilePromises)); +var getChildrenArray = function getChildrenArray(children) { + return Array.isArray(children) ? children : [children]; +}; - case 6: - files = _context3.sent; - return _context3.abrupt("return", noIgnoredFiles(flatten(files))); +var filterTabs = function filterTabs(children) { + var childrenArray = getChildrenArray(children); + var tabs = childrenArray.filter(function (element) { + return typeof element.type === 'function' && element.type.name === Tab.name; + }); + return tabs; +}; - case 8: - return _context3.abrupt("return", noIgnoredFiles(fromList(dt.files).map(function (file) { - return toFileWithPath(file); - }))); +var filterInlineComponent = function filterInlineComponent(children) { + var childrenArray = getChildrenArray(children); + var inlineComponent = childrenArray.filter(function (element) { + return !(typeof element.type === 'function' && element.type.name === Tab.name); + }); + return inlineComponent; +}; - case 9: - case "end": - return _context3.stop(); - } - } - }, _callee3); - })); - return _getDataTransferFiles.apply(this, arguments); -} +var Tabs = function Tabs(props) { + var _classNames2, _classNames4; -function noIgnoredFiles(files) { - return files.filter(function (file) { - return FILES_TO_IGNORE.indexOf(file.name) === -1; - }); -} + var children = props.children, + withSeparator = props.withSeparator, + onTabChange = props.onTabChange, + className = props.className, + headerClassName = props.headerClassName; + var baseProps = extractBaseProps(props); + var tabRefs = []; + var tabs = children ? filterTabs(children) : props.tabs; + var inlineComponent = children ? filterInlineComponent(children) : /*#__PURE__*/React.createElement(React.Fragment, null); + var totalTabs = tabs.length; -function fromList(items) { - var files = []; // tslint:disable: prefer-for-of + var _React$useState = React.useState(props.activeIndex && props.activeIndex < totalTabs ? props.activeIndex : 0), + _React$useState2 = _slicedToArray(_React$useState, 2), + activeIndex = _React$useState2[0], + setActiveTab = _React$useState2[1]; - for (var i = 0; i < items.length; i++) { - var file = items[i]; - files.push(file); - } + React.useEffect(function () { + if (props.activeIndex !== undefined && props.activeIndex < totalTabs) { + setActiveTab(props.activeIndex); + } + }, [props.activeIndex]); + var wrapperClass = classnames(_defineProperty$1({}, 'TabsWrapper', true), className); + var headerClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'TabsWrapper-header', true), _defineProperty$1(_classNames2, 'TabsWrapper-header--withSeparator', withSeparator), _classNames2), className, headerClassName); - return files; -} + var getPillsClass = function getPillsClass(disabled) { + var _classNames3; -function toFilePromises(item) { - if (typeof item.webkitGetAsEntry !== 'function') { - return fromDataTransferItem(item); - } + return classnames((_classNames3 = {}, _defineProperty$1(_classNames3, 'Tab-pills', true), _defineProperty$1(_classNames3, 'Tab-pills--disabled', disabled), _classNames3)); + }; - var entry = item.webkitGetAsEntry(); + var getActiveTabClass = function getActiveTabClass() { + var activeTab; + var activeTabClass; - if (entry && entry.isDirectory) { - return fromDirEntry(entry); - } + if (tabs && tabs.length && tabs[activeIndex] && 'props' in tabs[activeIndex]) { + var _activeTab$props; - return fromDataTransferItem(item); -} + activeTab = tabs[activeIndex]; + activeTabClass = (_activeTab$props = activeTab.props) === null || _activeTab$props === void 0 ? void 0 : _activeTab$props.className; + } else { + activeTab = tabs[activeIndex]; + activeTabClass = activeTab && activeTab.className; + } -function flatten(items) { - return items.reduce(function (acc, files) { - return [].concat(_toConsumableArray(acc), _toConsumableArray(Array.isArray(files) ? flatten(files) : [files])); - }, []); -} + return activeTabClass; + }; -function fromDataTransferItem(item) { - var file = item.getAsFile(); + var activeTabClass = getActiveTabClass(); + var tabContentClass = classnames((_classNames4 = {}, _defineProperty$1(_classNames4, 'TabsWrapper-content', true), _defineProperty$1(_classNames4, "".concat(activeTabClass), activeTabClass), _classNames4)); - if (!file) { - return Promise.reject("".concat(item, " is not a File")); - } + var tabClickHandler = function tabClickHandler(tabIndex, isKeyboard) { + if (props.activeIndex === undefined) { + var _tabRefs$tabIndex; - var fwp = toFileWithPath(file); - return Promise.resolve(fwp); -} + setActiveTab(tabIndex); + if (!isKeyboard) (_tabRefs$tabIndex = tabRefs[tabIndex]) === null || _tabRefs$tabIndex === void 0 ? void 0 : _tabRefs$tabIndex.blur(); + } -function fromEntry(_x4) { - return _fromEntry.apply(this, arguments); -} + if (onTabChange) onTabChange(tabIndex); + }; -function _fromEntry() { - _fromEntry = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(entry) { - return regeneratorRuntime.wrap(function _callee4$(_context4) { - while (1) { - switch (_context4.prev = _context4.next) { - case 0: - return _context4.abrupt("return", entry.isDirectory ? fromDirEntry(entry) : fromFileEntry(entry)); + var tabKeyDownHandler = function tabKeyDownHandler(event, tabIndex) { + if (event.key === 'Enter') { + tabClickHandler(tabIndex, true); + } - case 1: - case "end": - return _context4.stop(); - } - } - }, _callee4); - })); - return _fromEntry.apply(this, arguments); -} + if (event.key === 'ArrowLeft' && tabIndex > 0) { + var prevElement = tabRefs[tabIndex - 1]; + prevElement === null || prevElement === void 0 ? void 0 : prevElement.focus(); + } -function fromDirEntry(entry) { - var reader = entry.createReader(); - return new Promise(function (resolve, reject) { - var entries = []; + if (event.key === 'ArrowRight' && tabIndex < tabs.length) { + var nextElement = tabRefs[tabIndex + 1]; + nextElement === null || nextElement === void 0 ? void 0 : nextElement.focus(); + } + }; - function readEntries() { - reader.readEntries( /*#__PURE__*/function () { - var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(batch) { - var files, items; - return regeneratorRuntime.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - if (batch.length) { - _context.next = 13; - break; - } + var renderInfo = function renderInfo(tab, index) { + var _ref = tab, + count = _ref.count, + icon = _ref.icon, + disabled = _ref.disabled, + iconVariations = _ref.iconVariations; - _context.prev = 1; - _context.next = 4; - return Promise.all(entries); + if (count !== undefined) { + return /*#__PURE__*/React.createElement(Pills, { + "data-test": "DesignSystem-Tabs--Pills", + className: getPillsClass(disabled), + appearance: activeIndex === index ? 'primary' : 'secondary' + }, count); + } - case 4: - files = _context.sent; - resolve(files); - _context.next = 11; - break; + var iconClass = classnames(_defineProperty$1({}, 'Tab-selected', !disabled && activeIndex === index)); - case 8: - _context.prev = 8; - _context.t0 = _context["catch"](1); - reject(_context.t0); + if (icon) { + var iconAppearance = activeIndex === index ? 'info' : disabled ? 'disabled' : 'subtle'; + return /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Tabs--Icon", + className: "mr-4 ".concat(iconClass), + name: icon, + variations: iconVariations, + appearance: iconAppearance + }); + } - case 11: - _context.next = 16; - break; + return null; + }; - case 13: - items = Promise.all(batch.map(fromEntry)); - entries.push(items); // Continue reading + var renderDismissIcon = function renderDismissIcon(tab, index, onDismiss) { + var _ref2 = tab, + disabled = _ref2.disabled, + label = _ref2.label; + var iconAppearance = activeIndex === index ? 'info' : disabled ? 'disabled' : 'subtle'; - readEntries(); + var dismissIconClass = function dismissIconClass(disabled) { + var _classNames6; - case 16: - case "end": - return _context.stop(); - } - } - }, _callee, null, [[1, 8]]); - })); + return classnames((_classNames6 = {}, _defineProperty$1(_classNames6, "DismissibleTab-icon--right", true), _defineProperty$1(_classNames6, 'DismissibleTab-icon--default', !disabled && activeIndex !== index), _defineProperty$1(_classNames6, "DismissibleTab-icon--selected", !disabled && activeIndex === index), _defineProperty$1(_classNames6, 'cursor-pointer', !disabled), _defineProperty$1(_classNames6, 'Tab-selected', !disabled && activeIndex === index), _classNames6)); + }; - return function (_x5) { - return _ref2.apply(this, arguments); - }; - }(), function (err) { - reject(err); - }); - } + var tabInfo = { + label: label, + activeIndex: activeIndex, + currentTabIndex: index + }; - readEntries(); - }); -} + var onCloseHandler = function onCloseHandler(e) { + e.stopPropagation(); + if (onDismiss) onDismiss(tabInfo); + }; -function fromFileEntry(_x6) { - return _fromFileEntry.apply(this, arguments); -} + return /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-DismissibleTabs--Icon", + name: "clear", + appearance: iconAppearance, + className: dismissIconClass(disabled), + onClick: !disabled ? onCloseHandler : undefined, + tabIndex: disabled ? -1 : 0 + }); + }; -function _fromFileEntry() { - _fromFileEntry = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(entry) { - return regeneratorRuntime.wrap(function _callee5$(_context5) { - while (1) { - switch (_context5.prev = _context5.next) { - case 0: - return _context5.abrupt("return", new Promise(function (resolve, reject) { - entry.file(function (file) { - var fwp = toFileWithPath(file, entry.fullPath); - resolve(fwp); - }, function (err) { - reject(err); - }); - })); + var renderTab = function renderTab(tab, index) { + var _ref3 = tab, + _ref3$label = _ref3.label, + label = _ref3$label === void 0 ? '' : _ref3$label, + disabled = _ref3.disabled, + isDismissible = _ref3.isDismissible, + _ref3$onDismiss = _ref3.onDismiss, + onDismiss = _ref3$onDismiss === void 0 ? function () {} : _ref3$onDismiss; - case 1: - case "end": - return _context5.stop(); - } - } - }, _callee5); - })); - return _fromFileEntry.apply(this, arguments); -} + if (typeof label !== 'string') { + return label; + } -var _excluded$2 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"], - _excluded2 = ["refKey", "onChange", "onClick"]; -var initialState = { - isFocused: false, - isFileDialogActive: false, - isDragActive: false, - isDragAccept: false, - isDragReject: false, - draggedFiles: [], - acceptedFiles: [], - fileRejections: [] -}; -var DropzoneBase = function DropzoneBase(props) { - var accept = props.accept, - disabled = props.disabled, - maxSize = props.maxSize, - minSize = props.minSize, - multiple = props.multiple, - onDragEnter = props.onDragEnter, - onDragLeave = props.onDragLeave, - onDragOver = props.onDragOver, - onDrop = props.onDrop, - onDropAccepted = props.onDropAccepted, - onDropRejected = props.onDropRejected, - onFileDialogCancel = props.onFileDialogCancel, - getFilesFromEvent = props.getFilesFromEvent, - preventDropOnDocument = props.preventDropOnDocument, - validator = props.validator; - var rootRef = useRef(null); - var inputRef = useRef(null); + var textAppearance = activeIndex === index ? 'link' : disabled ? 'disabled' : 'subtle'; + var tabTextClass = classnames(_defineProperty$1({}, 'Tab-selected', !disabled && activeIndex === index)); + return /*#__PURE__*/React.createElement(React.Fragment, null, renderInfo(tab, index), /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-Tabs--Text", + appearance: textAppearance, + className: tabTextClass + }, label), isDismissible && renderDismissIcon(tab, index, onDismiss)); + }; - var _useReducer = useReducer(reducer, initialState), - _useReducer2 = _slicedToArray(_useReducer, 2), - state = _useReducer2[0], - dispatch = _useReducer2[1]; + var renderTabs = tabs.map(function (tab, index) { + var _classNames8; + + var currentTabProp = children && 'props' in tab ? tab.props : tab; + var disabled = currentTabProp.disabled; + var tabHeaderClass = classnames((_classNames8 = {}, _defineProperty$1(_classNames8, 'Tab', true), _defineProperty$1(_classNames8, 'Tab--disabled', disabled), _defineProperty$1(_classNames8, 'Tab--active', !disabled && activeIndex === index), _defineProperty$1(_classNames8, 'Tab-selected', !disabled && activeIndex === index), _defineProperty$1(_classNames8, 'align-items-center', true), _classNames8)); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + ref: function ref(element) { + return element && !disabled && tabRefs.push(element); + }, + "data-test": "DesignSystem-Tabs--Tab", + key: index, + className: tabHeaderClass, + onClick: function onClick() { + return !disabled && tabClickHandler(index); + }, + onKeyDown: function onKeyDown(event) { + return tabKeyDownHandler(event, index); + }, + tabIndex: disabled ? -1 : 0 + }, renderTab(currentTabProp, index)) + ); + }); + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-Tabs" + }, baseProps, { + className: wrapperClass + }), /*#__PURE__*/React.createElement("div", { + className: headerClass, + "data-test": "DesignSystem-Tabs--Header" + }, renderTabs, inlineComponent), children && /*#__PURE__*/React.createElement("div", { + className: tabContentClass, + "data-test": "DesignSystem-Tabs--Content" + }, tabs[activeIndex])); +}; +Tabs.displayName = 'Tabs'; +Tabs.defaultProps = { + withSeparator: true, + tabs: [] +}; - var isFocused = state.isFocused, - isFileDialogActive = state.isFileDialogActive, - draggedFiles = state.draggedFiles; - var openFileDialog = useCallback(function () { - if (inputRef.current) { - dispatch({ - type: 'openDialog' - }); // @ts-ignore +var accepts = function accepts(file, acceptedFiles) { + if (file && acceptedFiles) { + var acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(','); + var fileName = file.name || ''; + var mimeType = (file.type || '').toLowerCase(); + var baseMimeType = mimeType.replace(/\/.*$/, ''); + return acceptedFilesArray.some(function (type) { + var validType = type.trim().toLowerCase(); - inputRef.current.value = null; // @ts-ignore + if (validType.charAt(0) === '.') { + return fileName.toLowerCase().endsWith(validType); + } - inputRef.current.click(); - } - }, [dispatch]); + if (validType.endsWith('/*')) { + return baseMimeType === validType.replace(/\/.*$/, ''); + } - var onWindowFocus = function onWindowFocus() { - if (isFileDialogActive) { - setTimeout(function () { - if (inputRef.current) { - // @ts-ignore - var _files = inputRef.current.files; + return mimeType === validType; + }); + } - if (!_files.length) { - dispatch({ - type: 'closeDialog' - }); + return true; +}; +var isPropagationStopped = function isPropagationStopped(event) { + if (typeof event.isPropagationStopped === 'function') { + return event.isPropagationStopped(); + } - if (typeof onFileDialogCancel === 'function') { - onFileDialogCancel(); - } - } - } - }, 300); - } - }; + if (typeof event.cancelBubble !== 'undefined') { + return event.cancelBubble; + } - useEffect$2(function () { - window.addEventListener('focus', onWindowFocus, false); - return function () { - window.removeEventListener('focus', onWindowFocus, false); - }; - }, [inputRef, isFileDialogActive, onFileDialogCancel]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone + return false; +}; +var isEvtWithFiles = function isEvtWithFiles(event) { + if (!event.dataTransfer) { + return !!event.target && !!event.target.files; + } - var onKeyDownCb = useCallback(function (event) { - // @ts-ignore - if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) { - return; - } + return Array.prototype.some.call(event.dataTransfer.types, function (type) { + return type === 'Files' || type === 'application/x-moz-file'; + }); +}; +var onDocumentDragOver = function onDocumentDragOver(event) { + event.preventDefault(); +}; +var composeEventHandlers = function composeEventHandlers() { + for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) { + fns[_key] = arguments[_key]; + } - if (event.keyCode === 32 || event.keyCode === 13) { - event.preventDefault(); - openFileDialog(); + return function (event) { + for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { + args[_key2 - 1] = arguments[_key2]; } - }, [rootRef, inputRef]); // Update focus state for the dropzone - - var onFocusCb = useCallback(function () { - dispatch({ - type: 'focus' - }); - }, []); - var onBlurCb = useCallback(function () { - dispatch({ - type: 'blur' - }); - }, []); - var dragTargetsRef = useRef([]); - var onDocumentDrop = function onDocumentDrop(event) { - // @ts-ignore - if (rootRef.current && rootRef.current.contains(event.target)) { - return; - } + return fns.some(function (fn) { + if (!isPropagationStopped(event) && fn) { + fn.apply(void 0, [event].concat(args)); + } - event.preventDefault(); - dragTargetsRef.current = []; + return isPropagationStopped(event); + }); }; +}; +var reducer = function reducer(state, action) { + switch (action.type) { + case 'focus': + return _objectSpread2(_objectSpread2({}, state), {}, { + isFocused: true + }); - useEffect$2(function () { - if (preventDropOnDocument) { - document.addEventListener('dragover', onDocumentDragOver, false); - document.addEventListener('drop', onDocumentDrop, false); - } + case 'blur': + return _objectSpread2(_objectSpread2({}, state), {}, { + isFocused: false + }); - return function () { - if (preventDropOnDocument) { - document.removeEventListener('dragover', onDocumentDragOver); - document.removeEventListener('drop', onDocumentDrop); - } - }; - }, [rootRef, preventDropOnDocument]); - var onDragEnterCb = useCallback(function (event) { - event.preventDefault(); - event.persist(); // @ts-ignore + case 'openDialog': + return _objectSpread2(_objectSpread2({}, state), {}, { + isFileDialogActive: true + }); - dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]); + case 'closeDialog': + return _objectSpread2(_objectSpread2({}, state), {}, { + isFileDialogActive: false + }); - if (isEvtWithFiles(event)) { - Promise.resolve(getFilesFromEvent(event)).then(function (files) { - if (isPropagationStopped(event)) { - return; - } + case 'setDraggedFiles': + /* eslint no-case-declarations: 0 */ + var isDragActive = action.isDragActive, + draggedFiles = action.draggedFiles; + return _objectSpread2(_objectSpread2({}, state), {}, { + draggedFiles: draggedFiles, + isDragActive: isDragActive + }); - dispatch({ - draggedFiles: files, - isDragActive: true, - type: 'setDraggedFiles' - }); + case 'setFiles': + return _objectSpread2(_objectSpread2({}, state), {}, { + acceptedFiles: action.acceptedFiles, + fileRejections: action.fileRejections + }); - if (onDragEnter) { - onDragEnter(event); - } + case 'reset': + return _objectSpread2(_objectSpread2({}, state), {}, { + isFileDialogActive: false, + isDragActive: false, + draggedFiles: [], + acceptedFiles: [], + fileRejections: [] }); - } - }, [getFilesFromEvent, onDragEnter]); - var onDragOverCb = useCallback(function (event) { - event.preventDefault(); - event.persist(); - if (event.dataTransfer) { - try { - event.dataTransfer.dropEffect = 'copy'; - } catch (_unused) {} - /* eslint-disable-line no-empty */ + default: + return state; + } +}; - } +var fileErrorMessages = { + FILE_INVALID_TYPE: 'File format not accepted', + FILE_TOO_LARGE: 'File is too large', + FILE_TOO_SMALL: 'File is too small', + TOO_MANY_FILES: 'Multiple files are not accepted' +}; - if (isEvtWithFiles(event) && onDragOver) { - onDragOver(event); +var isDefined = function isDefined(value) { + return value !== undefined && value !== null; +}; + +var getInvalidTypeRejectionErr = function getInvalidTypeRejectionErr(accept) { + var updatedAccept = Array.isArray(accept) && accept.length === 1 ? accept[0] : accept; + var messageSuffix = Array.isArray(updatedAccept) ? "one of ".concat(updatedAccept.join(', ')) : updatedAccept; + return { + type: 'FILE_INVALID_TYPE', + message: "File type must be ".concat(messageSuffix) + }; +}; +var getTooLargeRejectionErr = function getTooLargeRejectionErr(maxSize) { + return { + type: 'FILE_TOO_LARGE', + message: "File is larger than ".concat(maxSize, " bytes") + }; +}; +var getTooSmallRejectionErr = function getTooSmallRejectionErr(minSize) { + return { + type: 'FILE_TOO_SMALL', + message: "File is smaller than ".concat(minSize, " bytes") + }; +}; +var fileAccepted = function fileAccepted(file, accept) { + var isAcceptable = file.type === 'application/x-moz-file' || accepts(file, accept); + return [isAcceptable, isAcceptable ? null : getInvalidTypeRejectionErr(accept)]; +}; +var fileMatchSize = function fileMatchSize(file, minSize, maxSize) { + if (isDefined(file.size)) { + if (isDefined(minSize) && isDefined(maxSize)) { + if (file.size > maxSize) return [false, getTooLargeRejectionErr(maxSize)]; + if (file.size < minSize) return [false, getTooSmallRejectionErr(minSize)]; + } else if (isDefined(minSize) && file.size < minSize) { + return [false, getTooSmallRejectionErr(minSize)]; + } else if (isDefined(maxSize) && file.size > maxSize) { + return [false, getTooLargeRejectionErr(maxSize)]; } + } + + return [true, null]; +}; +var getFileError = function getFileError(options) { + var files = options.files, + accept = options.accept, + minSize = options.minSize, + maxSize = options.maxSize, + multiple = options.multiple; + + if (!multiple && files.length > 1) { + return 'TOO_MANY_FILES'; + } + + var typeError = files.every(function (file) { + var _fileAccepted = fileAccepted(file, accept), + _fileAccepted2 = _slicedToArray(_fileAccepted, 1), + accepted = _fileAccepted2[0]; + + return !accepted; + }); + var sizeError = files.every(function (file) { + var _fileMatchSize = fileMatchSize(file, minSize, maxSize), + _fileMatchSize2 = _slicedToArray(_fileMatchSize, 1), + sizeMatch = _fileMatchSize2[0]; + + return !sizeMatch; + }); + return typeError ? 'FILE_INVALID_TYPE' : sizeError ? 'FILE_TOO_LARGE' : ''; +}; +var allFilesAccepted = function allFilesAccepted(options) { + var files = options.files, + accept = options.accept, + minSize = options.minSize, + maxSize = options.maxSize, + multiple = options.multiple; + if (!multiple && files.length > 1) { return false; - }, [onDragOver]); - var onDragLeaveCb = useCallback(function (event) { - event.preventDefault(); - event.persist(); - var targets = dragTargetsRef.current.filter( // @ts-ignore - function (target) { - return rootRef.current && rootRef.current.contains(target); - }); // @ts-ignore - - var targetIdx = targets.indexOf(event.target); - - if (targetIdx !== -1) { - targets.splice(targetIdx, 1); - } + } - dragTargetsRef.current = targets; + return files.every(function (file) { + var _fileAccepted3 = fileAccepted(file, accept), + _fileAccepted4 = _slicedToArray(_fileAccepted3, 1), + accepted = _fileAccepted4[0]; - if (targets.length > 0) { - return; - } + var _fileMatchSize3 = fileMatchSize(file, minSize, maxSize), + _fileMatchSize4 = _slicedToArray(_fileMatchSize3, 1), + sizeMatch = _fileMatchSize4[0]; - dispatch({ - isDragActive: false, - type: 'setDraggedFiles', - draggedFiles: [] - }); + return accepted && sizeMatch; + }); +}; - if (isEvtWithFiles(event) && onDragLeave) { - onDragLeave(event); - } - }, [rootRef, onDragLeave]); - var onDropCb = useCallback(function (event) { - event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done +var COMMON_MIME_TYPES = new Map([// image +['gif', 'image/gif'], ['ico', 'image/x-icon'], ['jpeg', 'image/jpeg'], ['jpg', 'image/jpeg'], ['png', 'image/png'], ['bmp', 'image/bmp'], ['tif', 'image/tiff'], ['tiff', 'image/tiff'], ['apng', 'image/apng'], ['avif', 'image/avif'], ['jfif', 'image/jpeg'], ['pjpeg', 'image/pjpeg'], ['pjp', 'image/jpeg'], ['svg', 'image/svg+xml'], ['webp', 'image/webp'], ['cur', 'image/x-win-bitmap'], ['MTS', 'model/vnd.mts'], // Video +['roq', 'video'], ['f4a', 'video'], ['f4b', 'video'], ['drc', 'video'], ['nsv', 'video'], ['avi', 'video/x-msvideo'], ['mkv', 'video/x-matroska'], ['mov', 'video/quicktime'], ['mp4', 'video/mp4'], ['webm', 'video/webm'], ['flv', 'video/x-flv'], ['vob', 'video/x-ms-vob'], ['ogv', 'video/ogg'], ['ogg', 'application/ogg'], ['gifv', 'image/gif'], ['mng', 'video/x-mng'], ['M2TS', 'video/MP2T'], ['TS', 'video/mp2t'], ['qt', 'video/quicktime'], ['wmv', 'video/x-ms-wmv'], ['yuv', 'application/octet-stream'], ['rm', 'application/vnd.rn-realmedia'], ['rmvb', 'application/vnd.rn-realmedia-vbr'], ['viv', 'video/vnd.vivo'], ['asf', 'video/x-ms-asf'], ['amv', 'video/x-amv'], ['m4v', 'video/x-m4v'], ['mpg', 'video/mpeg'], ['mpeg', 'video/mpeg'], ['mpe', 'video/mpeg'], ['mpv', 'video/mpv'], ['m2v', 'video/mpeg'], ['svi', 'video/x-msvideo'], ['3gp', 'video/3gpp'], ['3g2', 'video/3gpp2'], ['mxf', 'application/mxf'], ['flv', 'video/x-flv'], ['f4v', 'video/x-f4v'], ['f4p', 'video/mp4'], // audio +['aa', 'audio'], ['aax', 'audio'], ['act', 'audio'], ['alac', 'audio'], ['ape', 'audio'], ['awb', 'audio'], ['dss', 'audio'], ['dvf', 'audio'], ['iklax', 'audio'], ['ivs', 'audio'], ['msv', 'audio'], ['nmf', 'audio'], ['mogg', 'audio'], ['raw', 'audio'], ['rf64', 'audio'], ['sln', 'audio'], ['wv', 'audio'], ['8svx', 'audio'], ['3gp', 'audio/3gpp'], ['mp2', 'audio/mpeg'], ['aac', 'audio/x-aac'], ['aiff', 'audio/x-aiff'], ['amr', 'audio/amr'], ['au', 'audio/basic'], ['flac', 'audio/x-flac'], ['gsm', 'audio/gsm'], ['m4a', 'audio/mp4a-latm'], ['m4b', 'audio/mp4a-latm'], ['m4p', 'audio/mp4a-latm'], ['mmf', 'application/vnd.smaf'], ['mp3', 'audio/mpeg'], ['ogg', 'audio/ogg'], ['oga', 'audio/ogg'], ['opus', 'audio/opus'], ['tta', 'audio/x-tta'], ['voc', 'audio/x-voice'], ['wav', 'audio/x-wav'], ['wma', 'audio/x-ms-wma'], ['webm', 'audio/webm'], ['cda ', 'application/x-cdf'], ['ra', 'audio/x-pn-realaudio'], ['vox', 'application/x-authorware-bin'], ['rm', 'application/vnd.rn-realmedia'], ['mpc', 'application/vnd.mophun.certificate'], // docs +['pdf', 'application/pdf'], ['zip', 'application/zip'], ['doc', 'application/msword'], ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'], ['xlss', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'], ['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'], ['xls', 'application/vnd.ms-excel'], ['odt', 'application/vnd.oasis.opendocument.text'], ['tex', 'application/x-tex'], ['wpd', 'application/wordperfect'], ['ods', 'application/vnd.oasis.opendocument.spreadsheet'], ['csv', 'text/csv'], ['rtf', 'text/rtf'], ['txt', 'text/plain'], ['tsv', 'text/tab-separated-values']]); +var FILES_TO_IGNORE = ['.DS_Store', 'Thumbs.db']; +function fromEvent(_x) { + return _fromEvent.apply(this, arguments); +} - event.persist(); - dragTargetsRef.current = []; +function _fromEvent() { + _fromEvent = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(evt) { + return regeneratorRuntime.wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + return _context2.abrupt("return", isDragEvt(evt) && evt.dataTransfer ? getDataTransferFiles(evt.dataTransfer, evt.type) : getInputFiles(evt)); - if (isEvtWithFiles(event)) { - Promise.resolve(getFilesFromEvent(event)).then(function (files) { - if (isPropagationStopped(event)) { - return; + case 1: + case "end": + return _context2.stop(); } + } + }, _callee2); + })); + return _fromEvent.apply(this, arguments); +} - var acceptedFiles = []; - var fileRejections = []; - files.forEach(function (file) { - var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray(_fileAccepted, 2), - accepted = _fileAccepted2[0], - acceptError = _fileAccepted2[1]; - - var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2), - sizeMatch = _fileMatchSize2[0], - sizeError = _fileMatchSize2[1]; - - var customErrors = validator ? validator(file) : null; +function isDragEvt(value) { + return !!value.dataTransfer; +} - if (accepted && sizeMatch && !customErrors) { - acceptedFiles.push(file); - } else { - var errors = [acceptError, sizeError]; +function toFileWithPath(file, path) { + var f = withMimeType(file); - if (customErrors) { - errors = errors.concat(customErrors); - } + if (typeof f.path !== 'string') { + var _ref = file, + webkitRelativePath = _ref.webkitRelativePath; + Object.defineProperty(f, 'path', { + value: typeof path === 'string' ? path : typeof webkitRelativePath === 'string' && webkitRelativePath.length > 0 ? webkitRelativePath : file.name, + writable: false, + configurable: false, + enumerable: true + }); + } - fileRejections.push({ - file: file, - errors: errors.filter(function (e) { - return e; - }) - }); - } - }); - dispatch({ - acceptedFiles: acceptedFiles, - fileRejections: fileRejections, - type: 'setFiles' - }); + return f; +} - if (onDrop) { - onDrop(event, acceptedFiles, fileRejections); - } +function withMimeType(file) { + var name = file.name; + var hasExtension = name && name.lastIndexOf('.') !== -1; - if (fileRejections.length > 0 && onDropRejected) { - onDropRejected(event, fileRejections); - } + if (hasExtension && !file.type) { + var ext = name.split('.').pop().toLowerCase(); + var type = COMMON_MIME_TYPES.get(ext); - if (acceptedFiles.length > 0 && onDropAccepted) { - onDropAccepted(event, acceptedFiles); - } + if (type) { + Object.defineProperty(file, 'type', { + value: type, + writable: false, + configurable: false, + enumerable: true }); } + } - dispatch({ - type: 'reset' - }); - }, [multiple, accept, minSize, maxSize, getFilesFromEvent, onDrop, onDropAccepted, onDropRejected]); - - var composeHandler = function composeHandler(fn) { - return disabled ? null : fn; - }; + return file; +} - var composeKeyboardHandler = function composeKeyboardHandler(_fn) { - return null; - }; +function getInputFiles(evt) { + var files = isInput(evt.target) ? evt.target.files ? fromList(evt.target.files) : [] : []; + return files.map(function (file) { + return toFileWithPath(file); + }); +} - var composeDragHandler = function composeDragHandler(fn) { - return composeHandler(fn); - }; +function isInput(value) { + return value !== null; +} - var getRootProps = useMemo(function () { - return function () { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$refKey = _ref.refKey, - refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey, - onKeyDown = _ref.onKeyDown, - onFocus = _ref.onFocus, - onBlur = _ref.onBlur; - _ref.onClick; - var onDragEnterCallback = _ref.onDragEnterCallback, - onDragOverCallback = _ref.onDragOverCallback, - onDragLeaveCallback = _ref.onDragLeaveCallback, - onDropCallback = _ref.onDropCallback, - rest = _objectWithoutProperties$1(_ref, _excluded$2); +function getDataTransferFiles(_x2, _x3) { + return _getDataTransferFiles.apply(this, arguments); +} - return _objectSpread2(_defineProperty$2({ - onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)), - onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)), - onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)), - // onClick: composeHandler(composeEventHandlers(onClick, onClickCb)), - onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)), - onDragOver: composeDragHandler(composeEventHandlers(onDragOverCallback, onDragOverCb)), - onDragLeave: composeDragHandler(composeEventHandlers(onDragLeaveCallback, onDragLeaveCb)), - onDrop: composeDragHandler(composeEventHandlers(onDropCallback, onDropCb)) - }, refKey, rootRef), rest); - }; - }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, disabled]); - var onInputElementClick = useCallback(function (event) { - event.stopPropagation(); - }, []); - var getInputProps = useMemo(function () { - return function () { - var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref2$refKey = _ref2.refKey, - refKey = _ref2$refKey === void 0 ? 'ref' : _ref2$refKey, - onChange = _ref2.onChange, - onClick = _ref2.onClick, - rest = _objectWithoutProperties$1(_ref2, _excluded2); +function _getDataTransferFiles() { + _getDataTransferFiles = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(dt, type) { + var items, files; + return regeneratorRuntime.wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + if (!dt.items) { + _context3.next = 8; + break; + } - var inputProps = _defineProperty$2({ - accept: accept, - multiple: multiple, - type: 'file', - style: { - display: 'none' - }, - onChange: composeHandler(composeEventHandlers(onChange, onDropCb)), - onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)), - autoComplete: 'off', - tabIndex: -1 - }, refKey, inputRef); + items = fromList(dt.items).filter(function (item) { + return item.kind === 'file'; + }); - return _objectSpread2(_objectSpread2({}, inputProps), rest); - }; - }, [inputRef, accept, multiple, onDropCb, disabled]); - var fileCount = draggedFiles.length; - var isDragAccept = fileCount > 0 && allFilesAccepted({ - accept: accept, - minSize: minSize, - maxSize: maxSize, - multiple: multiple, - files: draggedFiles - }); - var isDragReject = fileCount > 0 && !isDragAccept; - var fileError = isDragReject ? getFileError({ - accept: accept, - minSize: minSize, - maxSize: maxSize, - multiple: multiple, - files: draggedFiles - }) : ''; - return _objectSpread2(_objectSpread2({}, state), {}, { - isDragAccept: isDragAccept, - isDragReject: isDragReject, - getRootProps: getRootProps, - getInputProps: getInputProps, - rootRef: rootRef, - inputRef: inputRef, - draggedFiles: draggedFiles, - fileError: fileError, - isFocused: isFocused && !disabled, - open: composeHandler(openFileDialog) - }); -}; -DropzoneBase.displayName = 'DropzoneBase'; -DropzoneBase.defaultProps = { - disabled: false, - getFilesFromEvent: fromEvent, - maxSize: Infinity, - minSize: 0, - multiple: true, - preventDropOnDocument: true, - validator: function validator() { - return null; - } -}; + if (!(type !== 'drop')) { + _context3.next = 4; + break; + } -var DropzoneActive = function DropzoneActive(props) { - var _classNames; + return _context3.abrupt("return", items); - var type = props.type; - var IconClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Dropzone-stateIcon', true), _defineProperty$2(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { - name: "archive", - size: 64, - appearance: "info", - className: IconClass - }), /*#__PURE__*/React.createElement(Text, { - appearance: "link", - size: "large", - weight: "strong" - }, "Drop your files here")); -}; -DropzoneActive.displayName = 'DropzoneActive'; + case 4: + _context3.next = 6; + return Promise.all(items.map(toFilePromises)); -var DropzoneError = function DropzoneError(props) { - var _classNames; + case 6: + files = _context3.sent; + return _context3.abrupt("return", noIgnoredFiles(flatten(files))); - var type = props.type, - error = props.error; - var IconClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Dropzone-stateIcon', true), _defineProperty$2(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { - name: "error", - size: 64, - appearance: "alert", - className: IconClass - }), /*#__PURE__*/React.createElement(Text, { - appearance: "destructive", - size: "large", - weight: "strong" - }, error)); -}; -DropzoneError.displayName = 'DropzoneError'; + case 8: + return _context3.abrupt("return", noIgnoredFiles(fromList(dt.files).map(function (file) { + return toFileWithPath(file); + }))); -var Dropzone = function Dropzone(props) { - var _classNames, _classNames2, _classNames3; + case 9: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + return _getDataTransferFiles.apply(this, arguments); +} - var type = props.type, - sizeLabel = props.sizeLabel, - className = props.className, - formatLabel = props.formatLabel, - sampleFileLink = props.sampleFileLink, - disabled = props.disabled; +function noIgnoredFiles(files) { + return files.filter(function (file) { + return FILES_TO_IGNORE.indexOf(file.name) === -1; + }); +} - var _DropzoneBase = DropzoneBase(props), - open = _DropzoneBase.open, - getRootProps = _DropzoneBase.getRootProps, - getInputProps = _DropzoneBase.getInputProps, - isDragActive = _DropzoneBase.isDragActive, - isDragReject = _DropzoneBase.isDragReject, - fileError = _DropzoneBase.fileError; +function fromList(items) { + var files = []; // tslint:disable: prefer-for-of - var baseProps = extractBaseProps(props); - var DropzoneClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Dropzone', true), _defineProperty$2(_classNames, "Dropzone--".concat(type), type), _defineProperty$2(_classNames, 'Dropzone--disabled', disabled), _defineProperty$2(_classNames, 'Dropzone--active', isDragActive), _defineProperty$2(_classNames, 'Dropzone--error', isDragReject), _classNames), className); - var IconClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'Dropzone-icon', true), _defineProperty$2(_classNames2, "Dropzone-icon--".concat(type), true), _defineProperty$2(_classNames2, 'Dropzone-icon--disabled', disabled), _classNames2)); - var WrapperClass = classnames((_classNames3 = {}, _defineProperty$2(_classNames3, 'DropzoneWrapper', true), _defineProperty$2(_classNames3, "DropzoneWrapper--".concat(type), true), _classNames3)); - - if (isDragReject) { - return /*#__PURE__*/React__default.createElement("div", _extends$3({}, getRootProps(), baseProps, { - className: DropzoneClass - }), /*#__PURE__*/React__default.createElement(DropzoneError, { - type: type, - error: fileErrorMessages[fileError] - })); + for (var i = 0; i < items.length; i++) { + var file = items[i]; + files.push(file); } - if (isDragActive) { - return /*#__PURE__*/React__default.createElement("div", _extends$3({}, getRootProps(), baseProps, { - className: DropzoneClass - }), /*#__PURE__*/React__default.createElement(DropzoneActive, { - type: type - })); + return files; +} + +function toFilePromises(item) { + if (typeof item.webkitGetAsEntry !== 'function') { + return fromDataTransferItem(item); } - var renderDropzone = function renderDropzone() { - if (isDragReject) return /*#__PURE__*/React__default.createElement(DropzoneError, { - type: type, - error: fileErrorMessages[fileError] - }); - if (isDragActive) return /*#__PURE__*/React__default.createElement(DropzoneActive, { - type: type - }); - return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, type !== 'tight' && /*#__PURE__*/React__default.createElement(Icon, { - name: "backup", - size: 64, - className: IconClass - }), /*#__PURE__*/React__default.createElement("div", { - className: WrapperClass - }, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Text, { - size: "large", - weight: "strong", - className: "mr-2", - appearance: disabled ? 'disabled' : 'default' - }, "Drag your files here or"), /*#__PURE__*/React__default.createElement("span", { - className: "cursor-pointer", - onClick: open - }, /*#__PURE__*/React__default.createElement(Text, { - size: "large", - weight: "strong", - appearance: disabled ? 'disabled' : 'link' - }, " browse files")), /*#__PURE__*/React__default.createElement("input", getInputProps())), formatLabel && /*#__PURE__*/React__default.createElement(Text, { - appearance: disabled ? 'disabled' : 'subtle' - }, formatLabel), sizeLabel && /*#__PURE__*/React__default.createElement(Text, { - appearance: disabled ? 'disabled' : 'subtle' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React__default.createElement("div", { - className: "mt-5" - }, sampleFileLink))); - }; + var entry = item.webkitGetAsEntry(); - return /*#__PURE__*/React__default.createElement("div", _extends$3({}, getRootProps(), baseProps, { - className: DropzoneClass - }), renderDropzone()); -}; -Dropzone.displayName = 'Dropzone'; -Dropzone.defaultProps = _objectSpread2(_objectSpread2({}, DropzoneBase.defaultProps), {}, { - type: 'standard' -}); + if (entry && entry.isDirectory) { + return fromDirEntry(entry); + } -var FileUploaderFormat = function FileUploaderFormat(props) { - var formatLabel = props.formatLabel; + return fromDataTransferItem(item); +} - if (formatLabel) { - return /*#__PURE__*/React.createElement(Text, { - size: "small", - appearance: "subtle", - className: "mt-4" - }, formatLabel); +function flatten(items) { + return items.reduce(function (acc, files) { + return [].concat(_toConsumableArray(acc), _toConsumableArray(Array.isArray(files) ? flatten(files) : [files])); + }, []); +} + +function fromDataTransferItem(item) { + var file = item.getAsFile(); + + if (!file) { + return Promise.reject("".concat(item, " is not a File")); } - return null; -}; -FileUploaderFormat.displayName = 'FileUploaderFormat'; + var fwp = toFileWithPath(file); + return Promise.resolve(fwp); +} -var FileUploaderButton = function FileUploaderButton(props) { - var accept = props.accept, - multiple = props.multiple, - uploadButtonLabel = props.uploadButtonLabel, - disabled = props.disabled, - name = props.name, - className = props.className, - id = props.id, - _onChange = props.onChange; - var baseProps = extractBaseProps(props); - var FileUploaderButtonClass = classnames(_defineProperty$2({}, 'FileUploaderButton', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: FileUploaderButtonClass - }), /*#__PURE__*/React.createElement(Button, { - disabled: disabled, - icon: "backup" - }, uploadButtonLabel), /*#__PURE__*/React.createElement("input", { - name: name, - id: id, - accept: accept && accept.join(', '), - multiple: multiple, - disabled: disabled, - type: "file", - tabIndex: -1, - className: "FileUploaderButton-input", - onChange: function onChange(event) { - var fileList = event.target.files ? Array.from(event.target.files) : []; - if (_onChange) _onChange(fileList, event); - } - })); -}; -FileUploaderButton.defaultProps = { - uploadButtonLabel: 'Upload files', - disabled: false, - multiple: false -}; -FileUploaderButton.displayName = 'FileUploaderButton'; +function fromEntry(_x4) { + return _fromEntry.apply(this, arguments); +} -var FileUploader = function FileUploader(props) { - var accept = props.accept, - multiple = props.multiple, - disabled = props.disabled, - title = props.title, - uploadButtonLabel = props.uploadButtonLabel, - sizeLabel = props.sizeLabel, - formatLabel = props.formatLabel, - sampleFileLink = props.sampleFileLink, - className = props.className, - id = props.id, - name = props.name, - onChange = props.onChange; - var baseProps = extractBaseProps(props); - var FileUploaderClass = classnames(_defineProperty$2({}, 'FileUploader', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: FileUploaderClass - }), /*#__PURE__*/React.createElement(Text, { - weight: "medium" - }, title), /*#__PURE__*/React.createElement(FileUploaderFormat, { - formatLabel: formatLabel - }), /*#__PURE__*/React.createElement(Text, { - size: "small", - appearance: "subtle", - className: !formatLabel ? 'mt-4' : '' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { - className: "mt-4" - }, sampleFileLink), /*#__PURE__*/React.createElement(FileUploaderButton, { - id: id, - name: name, - accept: accept, - multiple: multiple, - disabled: disabled, - uploadButtonLabel: uploadButtonLabel, - onChange: onChange, - className: "mt-5" +function _fromEntry() { + _fromEntry = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(entry) { + return regeneratorRuntime.wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + return _context4.abrupt("return", entry.isDirectory ? fromDirEntry(entry) : fromFileEntry(entry)); + + case 1: + case "end": + return _context4.stop(); + } + } + }, _callee4); })); -}; -FileUploader.defaultProps = Object.assign({}, FileUploaderButton.defaultProps, { - title: 'Upload files', - sizeLabel: 'Maximum size: 25 MB' -}); -FileUploader.displayName = 'FileUploader'; + return _fromEntry.apply(this, arguments); +} -var FileUploaderStatus = function FileUploaderStatus(props) { - var progress = props.progress, - status = props.status, - onRetry = props.onRetry; +function fromDirEntry(entry) { + var reader = entry.createReader(); + return new Promise(function (resolve, reject) { + var entries = []; - switch (status) { - case 'uploading': - return /*#__PURE__*/React.createElement(ProgressRing, { - size: "small", - value: progress, - className: "mr-4" - }); + function readEntries() { + reader.readEntries( /*#__PURE__*/function () { + var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(batch) { + var files, items; + return regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + if (batch.length) { + _context.next = 13; + break; + } - case 'error': - return /*#__PURE__*/React.createElement(Button, { - appearance: "transparent", - size: "regular", - onClick: onRetry, - icon: "refresh", - className: "mr-2" - }); + _context.prev = 1; + _context.next = 4; + return Promise.all(entries); - default: - return null; - } -}; -FileUploaderStatus.displayName = 'FileUploaderStatus'; -FileUploaderStatus.defaultProps = { - status: 'completed', - progress: 0 -}; + case 4: + files = _context.sent; + resolve(files); + _context.next = 11; + break; -var FileUploaderItem = function FileUploaderItem(props) { - var file = props.file, - id = props.id, - status = props.status, - errorMessage = props.errorMessage, - progress = props.progress, - _onClick = props.onClick, - onDelete = props.onDelete, - _onRetry = props.onRetry, - className = props.className; - var name = file.name; - var baseProps = extractBaseProps(props); - var FileItemClass = classnames(_defineProperty$2({}, 'FileUploaderItem', true), className); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: FileItemClass, - onClick: function onClick() { - return _onClick && _onClick(file, id); - } - }), /*#__PURE__*/React.createElement("div", { - className: "FileUploaderItem-file" - }, /*#__PURE__*/React.createElement(Text, { - className: "FileUploaderItem-text", - appearance: status === 'completed' ? 'default' : 'subtle' - }, name), /*#__PURE__*/React.createElement("div", { - className: "d-flex align-items-center" - }, /*#__PURE__*/React.createElement(FileUploaderStatus, { - file: file, - id: id, - status: status, - progress: progress, - onRetry: function onRetry() { - return _onRetry && _onRetry(file, id); - } - }), /*#__PURE__*/React.createElement(Button, { - appearance: "transparent", - size: "regular", - onClick: function onClick() { - return onDelete && onDelete(file, id); - }, - icon: "close" - }))), status === 'error' && /*#__PURE__*/React.createElement(Caption, { - error: true - }, errorMessage)); -}; -FileUploaderItem.defaultProps = { - status: 'completed', - progress: 0, - errorMessage: 'Network Error' -}; -FileUploaderItem.displayName = 'FileUploaderItem'; + case 8: + _context.prev = 8; + _context.t0 = _context["catch"](1); + reject(_context.t0); -var FileUploaderList = function FileUploaderList(props) { - var fileList = props.fileList, - onClick = props.onClick, - onDelete = props.onDelete, - onRetry = props.onRetry, - className = props.className; - var baseProps = extractBaseProps(props); - var FileListClass = classnames(_defineProperty$2({}, 'FileUploaderList', true), className); - if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: FileListClass - }), fileList.map(function (fileName, i) { - return /*#__PURE__*/React.createElement(FileUploaderItem, _extends$3({ - key: i, - onDelete: onDelete, - onRetry: onRetry, - onClick: onClick - }, fileName)); - })); -}; -FileUploaderList.defaultProps = { - fileList: [] -}; -FileUploaderList.displayName = 'FileUploaderList'; + case 11: + _context.next = 16; + break; -var resizeCol = function resizeCol(_ref, name, el) { - var updateColumnSchema = _ref.updateColumnSchema; - var elX = el === null || el === void 0 ? void 0 : el.getBoundingClientRect().x; + case 13: + items = Promise.all(batch.map(fromEntry)); + entries.push(items); // Continue reading - function resizable(ev) { - ev.preventDefault(); + readEntries(); - if (elX) { - updateColumnSchema(name, { - width: ev.pageX - elX + case 16: + case "end": + return _context.stop(); + } + } + }, _callee, null, [[1, 8]]); + })); + + return function (_x5) { + return _ref2.apply(this, arguments); + }; + }(), function (err) { + reject(err); }); } - } - window.addEventListener('mousemove', resizable); - window.addEventListener('mouseup', function () { - window.removeEventListener('mousemove', resizable); + readEntries(); }); -}; -var sortColumn = function sortColumn(_ref2, name, type) { - var sortingList = _ref2.sortingList, - updateSortingList = _ref2.updateSortingList; +} - var newSortingList = _toConsumableArray(sortingList); +function fromFileEntry(_x6) { + return _fromFileEntry.apply(this, arguments); +} - var index = newSortingList.findIndex(function (l) { - return l.name === name; - }); +function _fromFileEntry() { + _fromFileEntry = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(entry) { + return regeneratorRuntime.wrap(function _callee5$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + return _context5.abrupt("return", new Promise(function (resolve, reject) { + entry.file(function (file) { + var fwp = toFileWithPath(file, entry.fullPath); + resolve(fwp); + }, function (err) { + reject(err); + }); + })); - if (index !== -1) { - newSortingList = [].concat(_toConsumableArray(newSortingList.slice(0, index)), _toConsumableArray(newSortingList.slice(index + 1))); - } + case 1: + case "end": + return _context5.stop(); + } + } + }, _callee5); + })); + return _fromFileEntry.apply(this, arguments); +} - if (type !== 'unsort') newSortingList.push({ - name: name, - type: type - }); - updateSortingList(newSortingList); -}; -var pinColumn = function pinColumn(_ref3, name, type) { - var updateColumnSchema = _ref3.updateColumnSchema; - var schemaUpdate = { - pinned: type !== 'unpin' ? type : undefined - }; - updateColumnSchema(name, schemaUpdate); -}; -var hideColumn = function hideColumn(_ref4, name, value) { - var updateColumnSchema = _ref4.updateColumnSchema; - var schemaUpdate = { - hidden: value - }; - updateColumnSchema(name, schemaUpdate); +var _excluded$4 = ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"], + _excluded2 = ["refKey", "onChange", "onClick"]; +var initialState = { + isFocused: false, + isFileDialogActive: false, + isDragActive: false, + isDragAccept: false, + isDragReject: false, + draggedFiles: [], + acceptedFiles: [], + fileRejections: [] }; -function getWidth(_ref5, width) { - var ref = _ref5.ref, - withCheckbox = _ref5.withCheckbox; - var isPercent = typeof width === 'string' && width.slice(-1) === '%'; +var DropzoneBase = function DropzoneBase(props) { + var accept = props.accept, + disabled = props.disabled, + maxSize = props.maxSize, + minSize = props.minSize, + multiple = props.multiple, + onDragEnter = props.onDragEnter, + onDragLeave = props.onDragLeave, + onDragOver = props.onDragOver, + onDrop = props.onDrop, + onDropAccepted = props.onDropAccepted, + onDropRejected = props.onDropRejected, + onFileDialogCancel = props.onFileDialogCancel, + getFilesFromEvent = props.getFilesFromEvent, + preventDropOnDocument = props.preventDropOnDocument, + validator = props.validator; + var rootRef = useRef(null); + var inputRef = useRef(null); - if (isPercent) { - var checkboxCell = ref.querySelector('.Grid-cell--checkbox'); - var checkboxWidth = withCheckbox ? (checkboxCell === null || checkboxCell === void 0 ? void 0 : checkboxCell.clientWidth) || 28 : 0; - var gridWidth = ref.clientWidth - checkboxWidth; - return gridWidth * (+width.slice(0, -1) / 100); - } + var _useReducer = useReducer(reducer, initialState), + _useReducer2 = _slicedToArray(_useReducer, 2), + state = _useReducer2[0], + dispatch = _useReducer2[1]; - return width; -} -function getCellSize(cellType) { - var sizes = { - AVATAR: { - minWidth: 48 - }, - AVATAR_WITH_TEXT: { - width: 256 - }, - AVATAR_WITH_META_LIST: { - width: 256 - }, - ICON: { - minWdth: 48 - }, - STATUS_HINT: { - width: 96 - }, - WITH_META_LIST: { - width: 176 - }, - DEFAULT: { - width: 176 + var isFocused = state.isFocused, + isFileDialogActive = state.isFileDialogActive, + draggedFiles = state.draggedFiles; + var openFileDialog = useCallback(function () { + if (inputRef.current) { + dispatch({ + type: 'openDialog' + }); + inputRef.current.value = ''; + inputRef.current.click(); + } + }, [dispatch]); + + var onWindowFocus = function onWindowFocus() { + if (isFileDialogActive) { + setTimeout(function () { + if (inputRef.current) { + var _files = inputRef.current.files; + + if (!_files || !_files.length) { + dispatch({ + type: 'closeDialog' + }); + + if (typeof onFileDialogCancel === 'function') { + onFileDialogCancel(); + } + } + } + }, 300); } }; - return sizes[cellType]; -} -var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate) { - var updatedData = _toConsumableArray(data); + useEffect$2(function () { + window.addEventListener('focus', onWindowFocus, false); + return function () { + window.removeEventListener('focus', onWindowFocus, false); + }; + }, [inputRef, isFileDialogActive, onFileDialogCancel]); // Cb to open the file dialog when SPACE/ENTER occurs on the dropzone - var _iterator = _createForOfIteratorHelper(rowIndexes), - _step; + var onKeyDownCb = useCallback(function (event) { + if (!rootRef.current || !rootRef.current.isEqualNode(event.target)) { + return; + } - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var rowIndex = _step.value; - updatedData[rowIndex] = _objectSpread2(_objectSpread2({}, updatedData[rowIndex]), dataUpdate); + if (event.keyCode === 32 || event.keyCode === 13) { + event.preventDefault(); + openFileDialog(); } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } + }, [rootRef, inputRef]); // Update focus state for the dropzone - return updatedData; -}; -function translateData(schema, data) { - var newData = _objectSpread2({}, data); + var onFocusCb = useCallback(function () { + dispatch({ + type: 'focus' + }); + }, []); + var onBlurCb = useCallback(function () { + dispatch({ + type: 'blur' + }); + }, []); + var dragTargetsRef = useRef([]); - if (schema.translate) { - var translatedData = schema.translate(data); - newData[schema.name] = translatedData !== null && _typeof(translatedData) === 'object' ? _objectSpread2(_objectSpread2({}, newData[schema.name]), translatedData) : translatedData; - } + var onDocumentDrop = function onDocumentDrop(event) { + // Not every event target type is element so we have to check if it is. + if (event.target instanceof HTMLDivElement && rootRef.current && rootRef.current.contains(event.target)) { + return; + } - if (newData[schema.name] === null || _typeof(newData[schema.name]) !== 'object') { - newData[schema.name] = { - title: newData[schema.name] + event.preventDefault(); + dragTargetsRef.current = []; + }; + + useEffect$2(function () { + if (preventDropOnDocument) { + document.addEventListener('dragover', onDocumentDragOver, false); + document.addEventListener('drop', onDocumentDrop, false); + } + + return function () { + if (preventDropOnDocument) { + document.removeEventListener('dragover', onDocumentDragOver); + document.removeEventListener('drop', onDocumentDrop); + } }; - } + }, [rootRef, preventDropOnDocument]); + var onDragEnterCb = useCallback(function (event) { + event.preventDefault(); + event.persist(); + dragTargetsRef.current = [].concat(_toConsumableArray(dragTargetsRef.current), [event.target]); - return newData; -} -var filterData = function filterData() { - var schema = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var filterList = arguments.length > 2 ? arguments[2] : undefined; - var filteredData = data; + if (isEvtWithFiles(event)) { + Promise.resolve(getFilesFromEvent(event)).then(function (files) { + if (isPropagationStopped(event)) { + return; + } - if (filterList) { - Object.keys(filterList).forEach(function (schemaName) { - var filters = filterList[schemaName]; - var sIndex = schema.findIndex(function (s) { - return s.name === schemaName; + dispatch({ + draggedFiles: files, + isDragActive: true, + type: 'setDraggedFiles' + }); + + if (onDragEnter) { + onDragEnter(event); + } }); - var onFilterChange = schema[sIndex].onFilterChange; + } + }, [getFilesFromEvent, onDragEnter]); + var onDragOverCb = useCallback(function (event) { + event.preventDefault(); + event.persist(); - if (filters.length && onFilterChange) { - filteredData = filteredData.filter(function (d) { - return onFilterChange(d, filters); - }); - } - }); - } + if (event.dataTransfer) { + try { + event.dataTransfer.dropEffect = 'copy'; + } catch (_unused) {} + /* eslint-disable-line no-empty */ - return filteredData; -}; -var sortData = function sortData() { - var schema = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - var sortingList = arguments.length > 2 ? arguments[2] : undefined; + } - var sortedData = _toConsumableArray(data); + if (isEvtWithFiles(event) && onDragOver) { + onDragOver(event); + } - sortingList === null || sortingList === void 0 ? void 0 : sortingList.forEach(function (l) { - var sIndex = schema.findIndex(function (s) { - return s.name === l.name; + return false; + }, [onDragOver]); + var onDragLeaveCb = useCallback(function (event) { + event.preventDefault(); + event.persist(); + var targets = dragTargetsRef.current.filter(function (target) { + return rootRef.current && rootRef.current.contains(target); }); + var targetIdx = targets.indexOf(event.target); - if (sIndex !== -1) { - var defaultComparator = function defaultComparator(a, b) { - var aData = translateData(schema[sIndex], a); - var bData = translateData(schema[sIndex], b); - return aData[l.name].title.localeCompare(bData[l.name].title); - }; - - var _schema$sIndex$compar = schema[sIndex].comparator, - comparator = _schema$sIndex$compar === void 0 ? defaultComparator : _schema$sIndex$compar; - sortedData.sort(comparator); - if (l.type === 'desc') sortedData.reverse(); + if (targetIdx !== -1) { + targets.splice(targetIdx, 1); } - }); - return sortedData; -}; -var paginateData = function paginateData() { - var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var page = arguments.length > 1 ? arguments[1] : undefined; - var pageSize = arguments.length > 2 ? arguments[2] : undefined; - var start = (page - 1) * pageSize; - var end = start + pageSize; - var paginatedData = data.slice(start, end); - return paginatedData; -}; -var moveToIndex = function moveToIndex(arr, from, to) { - if (from === to) return arr; - var newArr = arr; + dragTargetsRef.current = targets; - if (from < to) { - newArr = [].concat(_toConsumableArray(arr.slice(0, from)), _toConsumableArray(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray(arr.slice(to + 1))); - } else { - newArr = [].concat(_toConsumableArray(arr.slice(0, to)), [arr[from]], _toConsumableArray(arr.slice(to, from)), _toConsumableArray(arr.slice(from + 1))); - } + if (targets.length > 0) { + return; + } - return newArr; -}; -var getTotalPages = function getTotalPages(totalRecords, pageSize) { - return Math.ceil(totalRecords / pageSize); -}; -var getSelectAll = function getSelectAll(data) { - if (data.length) { - var anyUnSelected = data.some(function (d) { - return !d._selected; + dispatch({ + isDragActive: false, + type: 'setDraggedFiles', + draggedFiles: [] }); - var allUnSelected = data.every(function (d) { - return !d._selected; + + if (isEvtWithFiles(event) && onDragLeave) { + onDragLeave(event); + } + }, [rootRef, onDragLeave]); + var onDropCb = useCallback(function (event) { + event.preventDefault(); // Persist here because we need the event later after getFilesFromEvent() is done + + event.persist(); + dragTargetsRef.current = []; + + if (isEvtWithFiles(event)) { + Promise.resolve(getFilesFromEvent(event)).then(function (files) { + if (isPropagationStopped(event)) { + return; + } + + var acceptedFiles = []; + var fileRejections = []; + files.forEach(function (file) { + var _fileAccepted = fileAccepted(file, accept), + _fileAccepted2 = _slicedToArray(_fileAccepted, 2), + accepted = _fileAccepted2[0], + acceptError = _fileAccepted2[1]; + + var _fileMatchSize = fileMatchSize(file, minSize, maxSize), + _fileMatchSize2 = _slicedToArray(_fileMatchSize, 2), + sizeMatch = _fileMatchSize2[0], + sizeError = _fileMatchSize2[1]; + + var customErrors = validator ? validator(file) : null; + + if (accepted && sizeMatch && !customErrors) { + acceptedFiles.push(file); + } else { + var errors = [acceptError, sizeError]; + + if (customErrors) { + errors = errors.concat(customErrors); + } + + var filteredErrors = errors.filter(function (e) { + return e; + }); + fileRejections.push({ + file: file, + errors: filteredErrors + }); + } + }); + dispatch({ + acceptedFiles: acceptedFiles, + fileRejections: fileRejections, + type: 'setFiles' + }); + + if (onDrop) { + onDrop(event, acceptedFiles, fileRejections); + } + + if (fileRejections.length > 0 && onDropRejected) { + onDropRejected(event, fileRejections); + } + + if (acceptedFiles.length > 0 && onDropAccepted) { + onDropAccepted(event, acceptedFiles); + } + }); + } + + dispatch({ + type: 'reset' }); - var indeterminate = data.length >= 0 && anyUnSelected && !allUnSelected; - var checked = !indeterminate && !allUnSelected; - return { - indeterminate: indeterminate, - checked: checked - }; - } + }, [multiple, accept, minSize, maxSize, getFilesFromEvent, onDrop, onDropAccepted, onDropRejected]); - return { - indeterminate: false, - checked: false + var composeDragHandler = function composeDragHandler(fn) { + return disabled ? null : fn; }; -}; -var hasSchema = function hasSchema(schema) { - return schema && !!schema.length; -}; -var getSchema = function getSchema(schema, loading, loaderSchema) { - var response = schema; - if (!hasSchema(schema) && loading) { - response = loaderSchema; - } + var getRootProps = useMemo(function () { + return function () { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref$refKey = _ref.refKey, + refKey = _ref$refKey === void 0 ? 'ref' : _ref$refKey; + _ref.onKeyDown; + _ref.onFocus; + _ref.onBlur; + _ref.onClick; + var onDragEnterCallback = _ref.onDragEnterCallback, + onDragOverCallback = _ref.onDragOverCallback, + onDragLeaveCallback = _ref.onDragLeaveCallback, + onDropCallback = _ref.onDropCallback, + rest = _objectWithoutProperties(_ref, _excluded$4); - return response; + return _objectSpread2(_defineProperty$1({ + onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)), + onDragOver: composeDragHandler(composeEventHandlers(onDragOverCallback, onDragOverCb)), + onDragLeave: composeDragHandler(composeEventHandlers(onDragLeaveCallback, onDragLeaveCb)), + onDrop: composeDragHandler(composeEventHandlers(onDropCallback, onDropCb)) + }, refKey, rootRef), rest); + }; + }, [rootRef, onKeyDownCb, onFocusCb, onBlurCb, onDragEnterCb, onDragOverCb, onDragLeaveCb, onDropCb, disabled]); + var onInputElementClick = useCallback(function (event) { + event.stopPropagation(); + }, []); + var getInputProps = useMemo(function () { + return function () { + var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref2$refKey = _ref2.refKey, + refKey = _ref2$refKey === void 0 ? 'ref' : _ref2$refKey, + onChange = _ref2.onChange, + onClick = _ref2.onClick, + rest = _objectWithoutProperties(_ref2, _excluded2); + + var inputProps = _defineProperty$1({ + accept: accept, + multiple: multiple, + type: 'file', + style: { + display: 'none' + }, + onChange: composeDragHandler(composeEventHandlers(onChange, onDropCb)), + onClick: composeDragHandler(composeEventHandlers(onClick, onInputElementClick)), + autoComplete: 'off', + tabIndex: -1 + }, refKey, inputRef); + + return _objectSpread2(_objectSpread2({}, inputProps), rest); + }; + }, [inputRef, accept, multiple, onDropCb, disabled]); + var fileCount = draggedFiles.length; + var isDragAccept = fileCount > 0 && allFilesAccepted({ + accept: accept, + minSize: minSize, + maxSize: maxSize, + multiple: multiple, + files: draggedFiles + }); + var isDragReject = fileCount > 0 && !isDragAccept; + var fileError = isDragReject ? getFileError({ + accept: accept, + minSize: minSize, + maxSize: maxSize, + multiple: multiple, + files: draggedFiles + }) : ''; + return _objectSpread2(_objectSpread2({}, state), {}, { + isDragAccept: isDragAccept, + isDragReject: isDragReject, + getRootProps: getRootProps, + getInputProps: getInputProps, + rootRef: rootRef, + inputRef: inputRef, + draggedFiles: draggedFiles, + fileError: fileError, + isFocused: isFocused && !disabled, + open: composeDragHandler(openFileDialog) + }); }; -var getPluralSuffix = function getPluralSuffix(count) { - return count > 1 ? 's' : ''; +DropzoneBase.displayName = 'DropzoneBase'; +DropzoneBase.defaultProps = { + disabled: false, + getFilesFromEvent: fromEvent, + maxSize: Infinity, + minSize: 0, + multiple: true, + preventDropOnDocument: true, + validator: function validator() { + return null; + } }; -var defaultProps$1 = { - showHead: true, - loaderSchema: [], - schema: [], - data: [], - totalRecords: 0, - type: 'data', - size: 'standard', - page: 1, - pageSize: 15, - loading: false, - error: false, - sortingList: [], - filterList: {}, - showFilters: true +var svgCode = { + active: 'M14.6667 53.3333C13.6 53.3333 12.6667 52.9333 11.8667 52.1333C11.0667 51.3333 10.6667 50.4 10.6667 49.3333V39.8H14.6667V49.3333H49.3333V39.8H53.3333V49.3333C53.3333 50.4 52.9333 51.3333 52.1333 52.1333C51.3333 52.9333 50.4 53.3333 49.3333 53.3333H14.6667ZM30 43.1333V18.4L22 26.4L19.1333 23.5333L32 10.6666L44.8667 23.5333L42 26.4L34 18.4V43.1333H30Z', + "default": 'M14.6667 53.3334C13.6 53.3334 12.6667 52.9334 11.8667 52.1334C11.0667 51.3334 10.6667 50.4 10.6667 49.3334V39.8H14.6667V49.3334H49.3333V39.8H53.3333V49.3334C53.3333 50.4 52.9333 51.3334 52.1333 52.1334C51.3333 52.9334 50.4 53.3334 49.3333 53.3334H14.6667ZM32 43.1334L19.1333 30.2667L22 27.4L30 35.4V10.6667H34V35.4L42 27.4L44.8667 30.2667L32 43.1334Z', + error: 'M31.9988 45.3334C32.6218 45.3334 33.1444 45.1227 33.5667 44.7012C33.9889 44.2798 34.2 43.7575 34.2 43.1346C34.2 42.5115 33.9893 41.9889 33.5679 41.5667C33.1464 41.1445 32.6242 40.9334 32.0012 40.9334C31.3782 40.9334 30.8555 41.1441 30.4333 41.5655C30.0111 41.987 29.8 42.5092 29.8 43.1322C29.8 43.7552 30.0107 44.2778 30.4321 44.7C30.8536 45.1223 31.3758 45.3334 31.9988 45.3334ZM32.2117 35.1334C32.7817 35.1334 33.2555 34.9417 33.6333 34.5584C34.0111 34.175 34.2 33.7 34.2 33.1334V20.2667C34.2 19.7 34.0072 19.225 33.6217 18.8417C33.2361 18.4584 32.7583 18.2667 32.1883 18.2667C31.6183 18.2667 31.1444 18.4584 30.7667 18.8417C30.3889 19.225 30.2 19.7 30.2 20.2667V33.1334C30.2 33.7 30.3928 34.175 30.7783 34.5584C31.1639 34.9417 31.6417 35.1334 32.2117 35.1334ZM32.0177 58.6667C28.3407 58.6667 24.8851 57.9667 21.6511 56.5667C18.417 55.1667 15.5889 53.2556 13.1667 50.8334C10.7444 48.4111 8.83333 45.5813 7.43333 42.344C6.03333 39.1066 5.33333 35.6475 5.33333 31.9667C5.33333 28.2859 6.03333 24.8268 7.43333 21.5894C8.83333 18.3521 10.7444 15.5334 13.1667 13.1334C15.5889 10.7334 18.4187 8.83337 21.6561 7.43337C24.8934 6.03337 28.3525 5.33337 32.0333 5.33337C35.7142 5.33337 39.1733 6.03337 42.4106 7.43337C45.648 8.83337 48.4667 10.7334 50.8667 13.1334C53.2667 15.5334 55.1667 18.3556 56.5667 21.6C57.9667 24.8445 58.6667 28.3052 58.6667 31.9823C58.6667 35.6594 57.9667 39.1149 56.5667 42.349C55.1667 45.583 53.2667 48.4071 50.8667 50.8211C48.4667 53.2351 45.6444 55.1463 42.4 56.5544C39.1555 57.9626 35.6948 58.6667 32.0177 58.6667Z' }; -var context = /*#__PURE__*/React__default.createContext(_objectSpread2(_objectSpread2({}, defaultProps$1), {}, { - ref: null -})); -var GridProvider = context.Provider; - -var GridNestedRow = function GridNestedRow(props) { - var context$1 = React.useContext(context); - var schema = context$1.schema, - loading = context$1.loading, - nestedRowRenderer = context$1.nestedRowRenderer; - var data = props.data, - rowIndex = props.rowIndex; - if (nestedRowRenderer) return nestedRowRenderer({ - data: data, - schema: schema, - loading: loading, - rowIndex: rowIndex - }); // return ( - // {JSON.stringify(data)} - // ) - // const { - // schema: propSchema - // } = _this.props; - // if (data._expanded) { - // const showHead = data._expanded.showHead; - // const schema = data._expanded.schema || propSchema; - // let gridData = data._expanded.data; - // if (!gridData) { - // const { - // _uid, - // _expanded, - // ...rest - // } = data; - // gridData = [rest]; - // } - // return ( - //
- // - //
- // ); - // } - - return null; +var DropzoneIcon = function DropzoneIcon(props) { + var IconStyle = { + height: 'var(--spacing-5)', + width: 'var(--spacing-5)' + }; + return /*#__PURE__*/React__default.createElement("svg", { + style: IconStyle, + className: "Dropzone-icon--".concat(props.type), + viewBox: "0 0 64 64", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default.createElement("path", { + d: svgCode[props.name], + className: props.disabled ? 'Dropzone-icon--disabled' : "Dropzone-icon--".concat(props.name) + })); }; -var HeaderCell = function HeaderCell(props) { - var context$1 = React.useContext(context); - var schema = props.schema, - onMenuChange = props.onMenuChange, - onFilterChange = props.onFilterChange, - updateColumnSchema = props.updateColumnSchema; - var loading = context$1.loading, - draggable = context$1.draggable, - showMenu = context$1.showMenu, - sortingList = context$1.sortingList, - filterList = context$1.filterList, - headCellTooltip = context$1.headCellTooltip, - showFilters = context$1.showFilters, - schemaProp = context$1.schema; - var _schema$sorting = schema.sorting, - sorting = _schema$sorting === void 0 ? true : _schema$sorting, - name = schema.name, - filters = schema.filters, - pinned = schema.pinned; - var isValidSchema = hasSchema(schemaProp); - var listIndex = sortingList.findIndex(function (l) { - return l.name === name; - }); - var sorted = listIndex !== -1 ? sortingList[listIndex].type : null; - var el = /*#__PURE__*/React.createRef(); - var sortOptions = [{ - label: 'Sort Ascending', - value: 'sortAsc', - icon: 'arrow_downward' - }, { - label: 'Sort Descending', - value: 'sortDesc', - icon: 'arrow_upward' - }]; - var pinOptions = [{ - label: 'Pin Left', - value: 'pinLeft', - icon: 'skip_previous' - }, { - label: 'Pin Right', - value: 'pinRight', - icon: 'skip_next' - }]; - var unpinOption = { - label: 'Unpin', - value: 'unpin', - icon: 'replay' - }; - if (pinned === 'left') pinOptions[0] = unpinOption; - if (pinned === 'right') pinOptions[1] = unpinOption; - var hideOptions = [{ - label: 'Hide Column', - value: 'hide', - icon: 'cancel' - }]; - var unsortOption = { - label: 'Unsort', - value: 'unsort', - icon: 'unfold_more' - }; - if (sorted === 'asc') sortOptions[0] = unsortOption; - if (sorted === 'desc') sortOptions[1] = unsortOption; - var options = [].concat(pinOptions, hideOptions); - if (sorting) options = [].concat(sortOptions, _toConsumableArray(options)); - var classes = classnames({ - 'Grid-headCell': true, - 'Grid-headCell--draggable': draggable - }); - var filterOptions = filters ? filters.map(function (f) { - return _objectSpread2(_objectSpread2({}, f), {}, { - selected: filterList[name] && filterList[name].findIndex(function (fl) { - return fl === f.value; - }) !== -1 - }); - }) : []; +var DropzoneActive = function DropzoneActive(props) { + var type = props.type; + return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(DropzoneIcon, { + name: "active", + type: type + }), /*#__PURE__*/React.createElement(Text, { + appearance: "link", + size: "large", + weight: "strong" + }, "Drop your files here")); +}; +DropzoneActive.displayName = 'DropzoneActive'; - var renderLabel = function renderLabel() { - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { +var DropzoneError = function DropzoneError(props) { + var type = props.type, + error = props.error; + return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(DropzoneIcon, { + type: type, + name: "error" + }), /*#__PURE__*/React.createElement(Text, { + appearance: "destructive", + size: "large", + weight: "strong" + }, error)); +}; +DropzoneError.displayName = 'DropzoneError'; + +var Dropzone = function Dropzone(props) { + var _classNames, _classNames2; + + var type = props.type, + sizeLabel = props.sizeLabel, + className = props.className, + formatLabel = props.formatLabel, + sampleFileLink = props.sampleFileLink, + disabled = props.disabled; + + var _DropzoneBase = DropzoneBase(props), + open = _DropzoneBase.open, + getRootProps = _DropzoneBase.getRootProps, + getInputProps = _DropzoneBase.getInputProps, + isDragActive = _DropzoneBase.isDragActive, + isDragReject = _DropzoneBase.isDragReject, + fileError = _DropzoneBase.fileError; + + var baseProps = extractBaseProps(props); + var DropzoneClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Dropzone', true), _defineProperty$1(_classNames, "Dropzone--".concat(type), type), _defineProperty$1(_classNames, 'Dropzone--disabled', disabled), _defineProperty$1(_classNames, 'Dropzone--active', isDragActive), _defineProperty$1(_classNames, 'Dropzone--error', isDragReject), _defineProperty$1(_classNames, 'Dropzone-animation', true), _defineProperty$1(_classNames, 'Dropzone-animation--default', !isDragActive && type !== 'standard'), _defineProperty$1(_classNames, 'Dropzone-animation--active', isDragActive && !isDragReject && type !== 'standard'), _defineProperty$1(_classNames, 'Dropzone-standard--default', !isDragActive && type === 'standard'), _defineProperty$1(_classNames, 'Dropzone-standard--active', isDragActive && !isDragReject && type === 'standard'), _classNames), className); + var WrapperClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'DropzoneWrapper', true), _defineProperty$1(_classNames2, "DropzoneWrapper--".concat(type), true), _classNames2)); + + var renderDropzone = function renderDropzone() { + if (isDragReject) return /*#__PURE__*/React.createElement(DropzoneError, { + type: type, + error: fileErrorMessages[fileError] + }); + if (isDragActive) return /*#__PURE__*/React.createElement(DropzoneActive, { + type: type + }); + var buttonAccessibilityProps = useAccessibilityProps({ + onClick: open, + 'aria-label': 'Drag your files here or click to select files' + }); + return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(DropzoneIcon, { + disabled: disabled, + name: "default", + type: type + }), /*#__PURE__*/React.createElement("div", { + className: WrapperClass, + "data-test": "DesignSystem-Dropzone-Wrapper" + }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Text, { + size: "large", weight: "strong", - className: "ellipsis--noWrap" - }, schema.displayName), sorting && /*#__PURE__*/React.createElement("div", { - className: "Grid-sortingIcons" - }, sorted ? sorted === 'asc' ? /*#__PURE__*/React.createElement(Icon, { - name: "arrow_downward" - }) : /*#__PURE__*/React.createElement(Icon, { - name: "arrow_upward" - }) : /*#__PURE__*/React.createElement(Icon, { - name: "unfold_more" - }))); + className: "mr-2", + appearance: disabled ? 'disabled' : 'default' + }, "Drag your files here or"), /*#__PURE__*/React.createElement(Text, _extends$2({ + tabIndex: disabled ? -1 : 0, + className: "ml-2 cursor-pointer", + size: "large", + weight: "strong", + appearance: disabled ? 'disabled' : 'link' + }, buttonAccessibilityProps), "browse files"), /*#__PURE__*/React.createElement("input", getInputProps())), formatLabel && /*#__PURE__*/React.createElement(Text, { + appearance: disabled ? 'disabled' : 'subtle' + }, formatLabel), sizeLabel && /*#__PURE__*/React.createElement(Text, { + appearance: disabled ? 'disabled' : 'subtle' + }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { + className: "mt-5" + }, sampleFileLink))); }; - return /*#__PURE__*/React.createElement("div", { - key: name, - className: classes, - ref: el - }, /*#__PURE__*/React.createElement("div", { - className: "Grid-cellContent", - onClick: function onClick() { - if (!loading && sorting) { - if (sorted === 'asc') onMenuChange(name, 'sortDesc'); - if (sorted === 'desc') onMenuChange(name, 'unsort'); - if (!sorted) onMenuChange(name, 'sortAsc'); - } - } - }, loading && !isValidSchema ? /*#__PURE__*/React.createElement(Placeholder, { - withImage: false - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { - length: "medium" - })) : /*#__PURE__*/React.createElement(React.Fragment, null, headCellTooltip ? /*#__PURE__*/React.createElement(Tooltip, { - position: "top-start", - triggerClass: "w-100 overflow-hidden", - tooltip: schema.displayName - }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { - menu: true, - showApplyButton: true, - withCheckbox: true, - triggerOptions: { - customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { - icon: "filter_list", - appearance: "transparent" - }); - } - }, - options: filterOptions, - align: 'left', - onChange: function onChange(selected) { - return onFilterChange(name, selected); - }, - minWidth: 176 - }))), showMenu && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React.createElement("span", { - className: "ml-4" - }, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { - key: "".concat(name, "-").concat(sorted, "-").concat(pinned), - menu: true, - optionType: "WITH_ICON", - triggerOptions: { - customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { - icon: "more_vert_filled", - appearance: "transparent" - }); - } - }, - options: options, - align: 'left', - onChange: function onChange(selected) { - return onMenuChange(name, selected); - }, - minWidth: 176 - }))), schema.resizable && /*#__PURE__*/React.createElement("span", { - className: "Grid-cellResize", - onMouseDown: function onMouseDown() { - resizeCol({ - updateColumnSchema: updateColumnSchema - }, name, el.current); - } - })); + return /*#__PURE__*/React.createElement("div", _extends$2({}, getRootProps(), baseProps, { + className: DropzoneClass, + "data-test": "DesignSystem-Dropzone" + }), renderDropzone()); }; +Dropzone.displayName = 'Dropzone'; +Dropzone.defaultProps = _objectSpread2(_objectSpread2({}, DropzoneBase.defaultProps), {}, { + type: 'standard' +}); -var BodyCell = function BodyCell(props) { - var context$1 = React.useContext(context); - var data = props.data, - schema = props.schema, - expandedState = props.expandedState, - rowIndex = props.rowIndex, - colIndex = props.colIndex; - var size = context$1.size, - loading = context$1.loading, - nestedRows = context$1.nestedRows; +var FileUploaderFormat = function FileUploaderFormat(props) { + var formatLabel = props.formatLabel; - var _expandedState = _slicedToArray(expandedState, 2), - expanded = _expandedState[0], - setExpanded = _expandedState[1]; + if (formatLabel) { + return /*#__PURE__*/React.createElement(Text, { + size: "small", + appearance: "subtle", + className: "mt-4" + }, formatLabel); + } - var cellProps = { - rowIndex: rowIndex, - colIndex: colIndex, - size: size, - schema: schema, - data: data, - loading: loading, - expanded: expanded - }; - var nestedProps = { - data: data, - rowIndex: rowIndex - }; - var isNestedRowDisabled = !GridNestedRow(nestedProps); - return /*#__PURE__*/React.createElement("div", { - className: "Grid-cellContent" - }, colIndex === 0 && nestedRows && /*#__PURE__*/React.createElement(React.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React.createElement(Icon, { - className: 'Grid-nestedRowTrigger', - name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', - size: 20, - appearance: 'default', - onClick: function onClick(e) { - if (!isNestedRowDisabled) { - e.stopPropagation(); - setExpanded(!expanded); - } + return null; +}; +FileUploaderFormat.displayName = 'FileUploaderFormat'; + +var FileUploaderButton = function FileUploaderButton(props) { + var accept = props.accept, + multiple = props.multiple, + uploadButtonLabel = props.uploadButtonLabel, + disabled = props.disabled, + name = props.name, + className = props.className, + id = props.id, + _onChange = props.onChange; + var baseProps = extractBaseProps(props); + var FileUploaderButtonClass = classnames(_defineProperty$1({}, 'FileUploaderButton', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: FileUploaderButtonClass + }), /*#__PURE__*/React.createElement(Button, { + type: "button", + disabled: disabled, + icon: "backup" + }, uploadButtonLabel), /*#__PURE__*/React.createElement("input", { + name: name, + id: id, + "data-test": "DesignSystem-FileUploaderButton--Input", + accept: accept && accept.join(', '), + multiple: multiple, + disabled: disabled, + type: "file", + tabIndex: -1, + className: "FileUploaderButton-input", + onChange: function onChange(event) { + var fileList = event.target.files ? Array.from(event.target.files) : []; + if (_onChange) _onChange(fileList, event); } - }) : /*#__PURE__*/React.createElement("span", { - className: "Grid-nestedRowPlaceholder" - })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React.createElement(GridCell, _extends$3({ - key: "".concat(rowIndex, "-").concat(colIndex) - }, cellProps))); + })); +}; +FileUploaderButton.defaultProps = { + uploadButtonLabel: 'Upload files', + disabled: false, + multiple: false +}; +FileUploaderButton.displayName = 'FileUploaderButton'; + +var FileUploader = function FileUploader(props) { + var accept = props.accept, + multiple = props.multiple, + disabled = props.disabled, + title = props.title, + uploadButtonLabel = props.uploadButtonLabel, + sizeLabel = props.sizeLabel, + formatLabel = props.formatLabel, + sampleFileLink = props.sampleFileLink, + className = props.className, + id = props.id, + name = props.name, + onChange = props.onChange; + var baseProps = extractBaseProps(props); + var FileUploaderClass = classnames(_defineProperty$1({}, 'FileUploader', true), className); + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: FileUploaderClass, + "data-test": "DesignSystem-FileUploader" + }), /*#__PURE__*/React.createElement(Text, { + weight: "medium" + }, title), /*#__PURE__*/React.createElement(FileUploaderFormat, { + formatLabel: formatLabel + }), /*#__PURE__*/React.createElement(Text, { + size: "small", + appearance: "subtle", + className: !formatLabel ? 'mt-4' : '' + }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { + className: "mt-4" + }, sampleFileLink), /*#__PURE__*/React.createElement(FileUploaderButton, { + id: id, + name: name, + accept: accept, + multiple: multiple, + disabled: disabled, + uploadButtonLabel: uploadButtonLabel, + onChange: onChange, + className: "mt-5" + })); }; +FileUploader.defaultProps = Object.assign({}, FileUploaderButton.defaultProps, { + title: 'Upload files', + sizeLabel: 'Maximum size: 25 MB' +}); +FileUploader.displayName = 'FileUploader'; -var Cell = function Cell(props) { - var context$1 = React.useContext(context); - var isHead = props.isHead, - firstCell = props.firstCell, - schema = props.schema, - data = props.data, - rowIndex = props.rowIndex, - colIndex = props.colIndex, - expandedState = props.expandedState, - onSelectAll = props.onSelectAll, - onMenuChange = props.onMenuChange, - onFilterChange = props.onFilterChange, - updateColumnSchema = props.updateColumnSchema, - reorderColumn = props.reorderColumn; - var draggable = context$1.draggable, - separator = context$1.separator, - nestedRows = context$1.nestedRows, - ref = context$1.ref, - withCheckbox = context$1.withCheckbox; - var name = schema.name, - hidden = schema.hidden, - pinned = schema.pinned, - _schema$cellType = schema.cellType, - cellType = _schema$cellType === void 0 ? 'DEFAULT' : _schema$cellType; +var FileUploaderStatus = function FileUploaderStatus(props) { + var progress = props.progress, + status = props.status, + onRetry = props.onRetry; - var _getCellSize = getCellSize(cellType), - width = _getCellSize.width, - _getCellSize$minWidth = _getCellSize.minWidth, - minWidth = _getCellSize$minWidth === void 0 ? 96 : _getCellSize$minWidth, - _getCellSize$maxWidth = _getCellSize.maxWidth, - maxWidth = _getCellSize$maxWidth === void 0 ? 800 : _getCellSize$maxWidth; + switch (status) { + case 'uploading': + return /*#__PURE__*/React.createElement(ProgressRing, { + size: "small", + value: progress, + className: "mr-4" + }); - var cellClass = classnames({ - 'Grid-cell': true, - 'Grid-cell--head': isHead, - 'Grid-cell--body': !isHead, - 'Grid-cell--separator': !firstCell && (schema.separator !== undefined ? schema.separator : separator), - 'Grid-cell--nestedRow': !isHead && colIndex === 0 && nestedRows - }); - if (hidden) return null; - return /*#__PURE__*/React.createElement("div", { - key: "".concat(rowIndex, "-").concat(colIndex), - className: cellClass, - draggable: isHead && draggable, - onDragStart: function onDragStart(e) { - if (draggable) { - e.dataTransfer.setData('name', name); - if (pinned) e.dataTransfer.setData('type', pinned); + case 'error': + return /*#__PURE__*/React.createElement(Button, { + appearance: "transparent", + size: "regular", + onClick: onRetry, + icon: "refresh", + className: "mr-2" + }); + + default: + return null; + } +}; +FileUploaderStatus.displayName = 'FileUploaderStatus'; +FileUploaderStatus.defaultProps = { + status: 'completed', + progress: 0 +}; + +var FileUploaderItem = function FileUploaderItem(props) { + var file = props.file, + id = props.id, + status = props.status, + errorMessage = props.errorMessage, + progress = props.progress, + _onClick = props.onClick, + onDelete = props.onDelete, + _onRetry = props.onRetry, + className = props.className; + var name = file.name; + var baseProps = extractBaseProps(props); + var FileItemClass = classnames(_defineProperty$1({}, 'FileUploaderItem', true), className); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", _extends$2({}, baseProps, { + "data-test": "DesignSystem-FileUploader--Item", + className: FileItemClass, + onClick: function onClick() { + return _onClick && _onClick(file, id); } - }, - onDragOver: function onDragOver(e) { - return e.preventDefault(); - }, - onDrop: function onDrop(e) { - if (draggable) { - var from = { - name: e.dataTransfer.getData('name'), - type: e.dataTransfer.getData('type') - }; - var to = { - name: name, - type: pinned || '' - }; - if (from.type === to.type) reorderColumn(from.name, to.name); + }), /*#__PURE__*/React.createElement("div", { + className: "FileUploaderItem-file" + }, /*#__PURE__*/React.createElement(Text, { + className: "FileUploaderItem-text", + appearance: status === 'completed' ? 'default' : 'subtle' + }, name), /*#__PURE__*/React.createElement("div", { + className: "d-flex align-items-center" + }, /*#__PURE__*/React.createElement(FileUploaderStatus, { + file: file, + id: id, + status: status, + progress: progress, + onRetry: function onRetry() { + return _onRetry && _onRetry(file, id); } - }, - style: { - width: getWidth({ - ref: ref, - withCheckbox: withCheckbox - }, schema.width || width), - minWidth: getWidth({ - ref: ref, - withCheckbox: withCheckbox - }, schema.minWidth || minWidth), - maxWidth: getWidth({ - ref: ref, - withCheckbox: withCheckbox - }, schema.maxWidth || maxWidth) - } - }, isHead ? /*#__PURE__*/React.createElement(HeaderCell, { - colIndex: colIndex, - schema: schema, - onSelectAll: onSelectAll, - onMenuChange: onMenuChange, - onFilterChange: onFilterChange, - updateColumnSchema: updateColumnSchema, - reorderColumn: reorderColumn - }) : /*#__PURE__*/React.createElement(BodyCell, { - rowIndex: rowIndex, - colIndex: colIndex, - data: data, - schema: schema, - expandedState: expandedState + }), /*#__PURE__*/React.createElement(Button, { + "data-test": "DesignSystem-FileUploader--CancelButton", + appearance: "transparent", + size: "regular", + onClick: function onClick() { + return onDelete && onDelete(file, id); + }, + icon: "close" + }))), status === 'error' && /*#__PURE__*/React.createElement(InlineMessage, { + size: "small", + appearance: "alert", + description: errorMessage + })) + ); +}; +FileUploaderItem.defaultProps = { + status: 'completed', + progress: 0, + errorMessage: 'Network Error' +}; +FileUploaderItem.displayName = 'FileUploaderItem'; + +var FileUploaderList = function FileUploaderList(props) { + var fileList = props.fileList, + onClick = props.onClick, + onDelete = props.onDelete, + onRetry = props.onRetry, + className = props.className; + var baseProps = extractBaseProps(props); + var FileListClass = classnames(_defineProperty$1({}, 'FileUploaderList', true), className); + if (fileList.length === 0) return null; + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: FileListClass, + "data-test": "DesignSystem-FileUploader--List" + }), fileList.map(function (fileName, i) { + return /*#__PURE__*/React.createElement(FileUploaderItem, _extends$2({ + key: i, + onDelete: onDelete, + onRetry: onRetry, + onClick: onClick + }, fileName)); })); }; +FileUploaderList.defaultProps = { + fileList: [] +}; +FileUploaderList.displayName = 'FileUploaderList'; -var GridHead = function GridHead(props) { - var context$1 = React.useContext(context); - var schema = props.schema, - onSelectAll = props.onSelectAll, - onMenuChange = props.onMenuChange, - onFilterChange = props.onFilterChange, - updateColumnSchema = props.updateColumnSchema, - reorderColumn = props.reorderColumn; - var withCheckbox = context$1.withCheckbox, - loading = context$1.loading, - selectAll = context$1.selectAll; - var pinnedSchema = schema.filter(function (s) { - return !s.hidden && s.pinned; - }); - var leftPinnedSchema = pinnedSchema.filter(function (s) { - return !s.hidden && s.pinned === 'left'; - }); - var rightPinnedSchema = pinnedSchema.filter(function (s) { - return !s.hidden && s.pinned === 'right'; - }); - var unpinnedSchema = schema.filter(function (s) { - return !s.hidden && !s.pinned; +var resizeCol = function resizeCol(_ref, name, el) { + var updateColumnSchema = _ref.updateColumnSchema; + var elX = el === null || el === void 0 ? void 0 : el.getBoundingClientRect().x; + + function resizable(ev) { + ev.preventDefault(); + + if (elX) { + updateColumnSchema(name, { + width: ev.pageX - elX + }); + } + } + + window.addEventListener('mousemove', resizable); + window.addEventListener('mouseup', function () { + window.removeEventListener('mousemove', resizable); }); +}; +var sortColumn = function sortColumn(_ref2, name, type) { + var sortingList = _ref2.sortingList, + updateSortingList = _ref2.updateSortingList; - var renderCheckbox = function renderCheckbox(show) { - if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { - className: "Grid-cell Grid-cell--head Grid-cell--checkbox" - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, _extends$3({}, selectAll, { - onChange: onSelectAll - }))); - }; + var newSortingList = _toConsumableArray(sortingList); - var renderSchema = function renderSchema(currSchema, shouldRenderCheckbox, pinned) { - if (currSchema.length) { - var _classNames; + var index = newSortingList.findIndex(function (l) { + return l.name === name; + }); - var classes = classnames((_classNames = { - 'Grid-cellGroup': true, - 'Grid-cellGroup--pinned': pinned - }, _defineProperty$2(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$2(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); - return /*#__PURE__*/React.createElement("div", { - className: classes - }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { - var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; - if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/React.createElement(Cell, { - key: "".concat(cI), - firstCell: !index, - colIndex: cI, - isHead: true, - schema: s, - onSelectAll: onSelectAll, - onMenuChange: onMenuChange, - onFilterChange: onFilterChange, - updateColumnSchema: updateColumnSchema, - reorderColumn: reorderColumn - }); - })); - } + if (index !== -1) { + newSortingList = [].concat(_toConsumableArray(newSortingList.slice(0, index)), _toConsumableArray(newSortingList.slice(index + 1))); + } - return null; + if (type !== 'unsort') newSortingList.push({ + name: name, + type: type + }); + updateSortingList(newSortingList); +}; +var pinColumn = function pinColumn(_ref3, name, type) { + var updateColumnSchema = _ref3.updateColumnSchema; + var schemaUpdate = { + pinned: type !== 'unpin' ? type : undefined }; - - return /*#__PURE__*/React.createElement("div", { - className: "Grid-head" - }, /*#__PURE__*/React.createElement("div", { - className: "Grid-row Grid-row--head" - }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); + updateColumnSchema(name, schemaUpdate); }; +var hideColumn = function hideColumn(_ref4, name, value) { + var updateColumnSchema = _ref4.updateColumnSchema; + var schemaUpdate = { + hidden: value + }; + updateColumnSchema(name, schemaUpdate); +}; +function getWidth(_ref5, width) { + var ref = _ref5.ref, + withCheckbox = _ref5.withCheckbox; + var isPercent = typeof width === 'string' && width.slice(-1) === '%'; -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + if (isPercent) { + var checkboxCell = ref.querySelector('.Grid-cell--checkbox'); + var checkboxWidth = withCheckbox ? (checkboxCell === null || checkboxCell === void 0 ? void 0 : checkboxCell.clientWidth) || 28 : 0; + var gridWidth = ref.clientWidth - checkboxWidth; + return gridWidth * (+width.slice(0, -1) / 100); } -} -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } + return width; } - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; +function getCellSize(cellType) { + var sizes = { + AVATAR: { + minWidth: 48 + }, + AVATAR_WITH_TEXT: { + width: 256 + }, + AVATAR_WITH_META_LIST: { + width: 256 + }, + ICON: { + minWdth: 48 + }, + STATUS_HINT: { + width: 96 + }, + WITH_META_LIST: { + width: 176 + }, + DEFAULT: { + width: 176 + } + }; + return sizes[cellType]; } -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } +var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate, selectDisabledRow) { + var updatedData = _toConsumableArray(data); - return obj; -} + var _iterator = _createForOfIteratorHelper(rowIndexes), + _step; -function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var rowIndex = _step.value; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } + if (data[rowIndex].disabled && selectDisabledRow || !data[rowIndex].disabled) { + updatedData[rowIndex] = _objectSpread2(_objectSpread2({}, updatedData[rowIndex]), dataUpdate); } } - - return target; - }; - - return _extends.apply(this, arguments); -} - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} + return updatedData; +}; +function translateData(schema, data) { + var newData = _objectSpread2({}, data); -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} + if (schema.translate) { + var translatedData = schema.translate(data); + newData[schema.name] = translatedData !== null && _typeof(translatedData) === 'object' ? _objectSpread2(_objectSpread2({}, newData[schema.name]), translatedData) : translatedData; + } -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; + if (newData[schema.name] === null || _typeof(newData[schema.name]) !== 'object') { + newData[schema.name] = { + title: newData[schema.name] + }; + } - return _setPrototypeOf(o, p); + return newData; } +var filterData = function filterData() { + var schema = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var filterList = arguments.length > 2 ? arguments[2] : undefined; + var filteredData = data; -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; + if (filterList) { + Object.keys(filterList).forEach(function (schemaName) { + var filters = filterList[schemaName]; + var sIndex = schema.findIndex(function (s) { + return s.name === schemaName; + }); + var onFilterChange = schema[sIndex].onFilterChange; - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; + if (filters.length && onFilterChange) { + filteredData = filteredData.filter(function (d) { + return onFilterChange(d, filters); + }); + } + }); } -} - -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } + return filteredData; +}; +var sortData = function sortData() { + var schema = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + var sortingList = arguments.length > 2 ? arguments[2] : undefined; - return target; -} + var sortedData = _toConsumableArray(data); -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; + sortingList === null || sortingList === void 0 ? void 0 : sortingList.forEach(function (l) { + var sIndex = schema.findIndex(function (s) { + return s.name === l.name; + }); - var target = _objectWithoutPropertiesLoose(source, excluded); + if (sIndex !== -1) { + var defaultComparator = function defaultComparator(a, b) { + var aData = translateData(schema[sIndex], a); + var bData = translateData(schema[sIndex], b); + return aData[l.name].title.localeCompare(bData[l.name].title); + }; - var key, i; + var _schema$sIndex$compar = schema[sIndex].comparator, + comparator = _schema$sIndex$compar === void 0 ? defaultComparator : _schema$sIndex$compar; + sortedData.sort(comparator); + if (l.type === 'desc') sortedData.reverse(); + } + }); + return sortedData; +}; +var paginateData = function paginateData() { + var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var page = arguments.length > 1 ? arguments[1] : undefined; + var pageSize = arguments.length > 2 ? arguments[2] : undefined; + var start = (page - 1) * pageSize; + var end = start + pageSize; + var paginatedData = data.slice(start, end); + return paginatedData; +}; - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); +var moveToIndex = function moveToIndex(arr, from, to) { + if (from === to) return arr; + var newArr = arr; - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } + if (from < to) { + newArr = [].concat(_toConsumableArray(arr.slice(0, from)), _toConsumableArray(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray(arr.slice(to + 1))); + } else { + newArr = [].concat(_toConsumableArray(arr.slice(0, to)), [arr[from]], _toConsumableArray(arr.slice(to, from)), _toConsumableArray(arr.slice(from + 1))); } - return target; -} + return newArr; +}; +var getTotalPages = function getTotalPages(totalRecords, pageSize) { + return Math.ceil(totalRecords / pageSize); +}; +var getSelectAll = function getSelectAll(tableData, selectDisabledRow) { + var data = tableData.filter(function (d) { + return d.disabled && selectDisabledRow || !d.disabled; + }); -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + if (data.length) { + var anyUnSelected = data.some(function (d) { + return !d._selected; + }); + var allUnSelected = data.every(function (d) { + return !d._selected; + }); + var indeterminate = data.length >= 0 && anyUnSelected && !allUnSelected; + var checked = !indeterminate && !allUnSelected; + return { + indeterminate: indeterminate, + checked: checked + }; } - return self; -} + return { + indeterminate: false, + checked: false + }; +}; +var hasSchema = function hasSchema(schema) { + return schema && !!schema.length; +}; +var getSchema = function getSchema(schema, loading, loaderSchema) { + var response = schema; -function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; + if (!hasSchema(schema) && loading) { + response = loaderSchema; } - return _assertThisInitialized(self); -} + return response; +}; +var getPluralSuffix = function getPluralSuffix(count) { + return count > 1 ? 's' : ''; +}; -function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); +var defaultProps$1 = { + showHead: true, + loaderSchema: [], + schema: [], + data: [], + totalRecords: 0, + type: 'data', + size: 'standard', + page: 1, + pageSize: 15, + loading: false, + error: false, + sortingList: [], + filterList: {}, + showFilters: true +}; - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; +var context = /*#__PURE__*/React.createContext(_objectSpread2(_objectSpread2({}, defaultProps$1), {}, { + ref: null +})); +var GridProvider = context.Provider; - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; +var HeaderCell = function HeaderCell(props) { + var context$1 = React.useContext(context); + var schema = props.schema, + setIsDragged = props.setIsDragged, + colIndex = props.colIndex, + onSelectAll = props.onSelectAll, + onMenuChange = props.onMenuChange, + onFilterChange = props.onFilterChange, + updateColumnSchema = props.updateColumnSchema, + reorderColumn = props.reorderColumn; + var headProps = { + schema: schema, + colIndex: colIndex, + onSelectAll: onSelectAll, + onMenuChange: onMenuChange, + onFilterChange: onFilterChange, + updateColumnSchema: updateColumnSchema, + reorderColumn: reorderColumn, + setIsDragged: setIsDragged + }; + var loading = context$1.loading, + draggable = context$1.draggable, + showMenu = context$1.showMenu, + sortingList = context$1.sortingList, + filterList = context$1.filterList, + headCellTooltip = context$1.headCellTooltip, + showFilters = context$1.showFilters, + schemaProp = context$1.schema; + var _schema$sorting = schema.sorting, + sorting = _schema$sorting === void 0 ? true : _schema$sorting, + name = schema.name, + filters = schema.filters, + pinned = schema.pinned; + var isValidSchema = hasSchema(schemaProp); + var listIndex = sortingList.findIndex(function (l) { + return l.name === name; + }); + var sorted = listIndex !== -1 ? sortingList[listIndex].type : null; + var el = /*#__PURE__*/React.createRef(); + var sortOptions = [{ + label: 'Sort Ascending', + value: 'sortAsc', + icon: 'arrow_upward' + }, { + label: 'Sort Descending', + value: 'sortDesc', + icon: 'arrow_downward' + }]; + var pinOptions = [{ + label: 'Pin Left', + value: 'pinLeft', + icon: 'skip_previous' + }, { + label: 'Pin Right', + value: 'pinRight', + icon: 'skip_next' + }]; + var unpinOption = { + label: 'Unpin', + value: 'unpin', + icon: 'replay' + }; + if (pinned === 'left') pinOptions[0] = unpinOption; + if (pinned === 'right') pinOptions[1] = unpinOption; + var hideOptions = [{ + label: 'Hide Column', + value: 'hide', + icon: 'cancel' + }]; + var unsortOption = { + label: 'Unsort', + value: 'unsort', + icon: 'unfold_more' + }; + if (sorted === 'asc') sortOptions[0] = unsortOption; + if (sorted === 'desc') sortOptions[1] = unsortOption; + var options = [].concat(pinOptions, hideOptions); + if (sorting) options = [].concat(sortOptions, _toConsumableArray(options)); + var classes = classnames({ + 'Grid-headCell': true, + 'Grid-headCell--draggable': draggable + }); + var filterOptions = filters ? filters.map(function (f) { + return _objectSpread2(_objectSpread2({}, f), {}, { + selected: filterList[name] && filterList[name].findIndex(function (fl) { + return fl === f.value; + }) !== -1 + }); + }) : []; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); + var renderLabel = function renderLabel() { + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { + weight: "strong", + className: "ellipsis--noWrap" + }, schema.displayName), sorting && /*#__PURE__*/React.createElement("div", { + className: "Grid-sortingIcons" + }, sorted ? sorted === 'asc' ? /*#__PURE__*/React.createElement(Icon, { + name: "arrow_upward" + }) : /*#__PURE__*/React.createElement(Icon, { + name: "arrow_downward" + }) : /*#__PURE__*/React.createElement(Icon, { + name: "unfold_more" + }))); + }; + + return /*#__PURE__*/React.createElement("div", { + key: name, + className: classes, + ref: el + }, /*#__PURE__*/React.createElement("div", { + className: "Grid-cellContent", + "data-test": "DesignSystem-Grid-cellContent", + onClick: function onClick() { + if (!loading && sorting) { + if (sorted === 'asc') onMenuChange(name, 'sortDesc'); + if (sorted === 'desc') onMenuChange(name, 'unsort'); + if (!sorted) onMenuChange(name, 'sortAsc'); + } + } + }, loading && !isValidSchema ? /*#__PURE__*/React.createElement(Placeholder, { + withImage: false + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + length: "medium" + })) : !schema.headerCellRenderer && headCellTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + position: "top-start", + triggerClass: "w-100 overflow-hidden", + tooltip: schema.displayName + }, renderLabel()) : schema.headerCellRenderer && !headCellTooltip ? schema.headerCellRenderer(headProps) : renderLabel()), showFilters && filters && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + menu: true, + showApplyButton: true, + withCheckbox: true, + triggerOptions: { + customTrigger: function customTrigger() { + return /*#__PURE__*/React.createElement(Button, { + icon: "filter_list", + appearance: "transparent" + }); + } + }, + options: filterOptions, + align: 'left', + onChange: function onChange(selected) { + return onFilterChange(name, selected); + }, + minWidth: 176 + }))), showMenu && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React.createElement("span", { + className: "ml-4" + }, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + key: "".concat(name, "-").concat(sorted, "-").concat(pinned), + menu: true, + optionType: "WITH_ICON", + triggerOptions: { + customTrigger: function customTrigger() { + return /*#__PURE__*/React.createElement(Button, { + icon: "more_vert_filled", + appearance: "transparent" + }); + } + }, + options: options, + align: 'left', + onChange: function onChange(selected) { + return onMenuChange(name, selected); + }, + minWidth: 176 + }))), schema.resizable && + /*#__PURE__*/ + //TODO(a11y) + //eslint-disable-next-line + React.createElement("span", { + className: "Grid-cellResize", + onMouseDown: function onMouseDown() { + resizeCol({ + updateColumnSchema: updateColumnSchema + }, name, el.current); + setIsDragged(false); } + })); +}; - return _possibleConstructorReturn(this, result); - }; -} +var BodyCell = function BodyCell(props) { + var context$1 = React.useContext(context); + var data = props.data, + schema = props.schema, + expandedState = props.expandedState, + rowIndex = props.rowIndex, + colIndex = props.colIndex, + nestedRowData = props.nestedRowData; + var size = context$1.size, + loading = context$1.loading, + nestedRows = context$1.nestedRows; -var isInView = function isInView(container, element) { - var containerTop = container.offsetTop; - var elementRect = element.getBoundingClientRect(); - var elementTop = elementRect.top; - var elementHeight = elementRect.height; - return elementHeight - (containerTop - elementTop) > 0; + var _expandedState = _slicedToArray(expandedState, 2), + expanded = _expandedState[0], + setExpanded = _expandedState[1]; + + var cellProps = { + rowIndex: rowIndex, + colIndex: colIndex, + size: size, + schema: schema, + data: data, + loading: loading, + expanded: expanded + }; + return /*#__PURE__*/React.createElement("div", { + className: "Grid-cellContent" + }, colIndex === 0 && nestedRows && /*#__PURE__*/React.createElement(React.Fragment, null, nestedRowData ? /*#__PURE__*/React.createElement(Icon, { + className: 'Grid-nestedRowTrigger', + name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', + size: 20, + appearance: 'default', + onClick: function onClick(e) { + if (nestedRowData) { + e.stopPropagation(); + setExpanded(!expanded); + } + } + }) : /*#__PURE__*/React.createElement("span", { + className: "Grid-nestedRowPlaceholder" + })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React.createElement(GridCell, _extends$2({ + key: "".concat(rowIndex, "-").concat(colIndex) + }, cellProps))); }; -var VirtualScroll = /*#__PURE__*/function (_React$Component) { - _inherits(VirtualScroll, _React$Component); - - var _super = _createSuper(VirtualScroll); - - function VirtualScroll(props) { - var _this; - - _classCallCheck(this, VirtualScroll); +var Cell = function Cell(props) { + var context$1 = React.useContext(context); + var _ref = props, + isHead = _ref.isHead, + firstCell = _ref.firstCell, + schema = _ref.schema, + data = _ref.data, + rowIndex = _ref.rowIndex, + colIndex = _ref.colIndex, + expandedState = _ref.expandedState, + onSelectAll = _ref.onSelectAll, + onMenuChange = _ref.onMenuChange, + onFilterChange = _ref.onFilterChange, + updateColumnSchema = _ref.updateColumnSchema, + reorderColumn = _ref.reorderColumn, + nestedRowData = _ref.nestedRowData; + var draggable = context$1.draggable, + separator = context$1.separator, + nestedRows = context$1.nestedRows, + ref = context$1.ref, + withCheckbox = context$1.withCheckbox; + var name = schema.name, + hidden = schema.hidden, + pinned = schema.pinned, + _schema$cellType = schema.cellType, + cellType = _schema$cellType === void 0 ? 'DEFAULT' : _schema$cellType; - _this = _super.call(this, props); - _this.state = { - offset: props.offset - }; - _this.lastScrollTop = 0; - _this.avgRowHeight = props.minItemHeight; - return _this; - } + var _getCellSize = getCellSize(cellType), + width = _getCellSize.width, + _getCellSize$minWidth = _getCellSize.minWidth, + minWidth = _getCellSize$minWidth === void 0 ? 96 : _getCellSize$minWidth, + _getCellSize$maxWidth = _getCellSize.maxWidth, + maxWidth = _getCellSize$maxWidth === void 0 ? 800 : _getCellSize$maxWidth; - _createClass(VirtualScroll, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; + var _React$useState = React.useState(false), + _React$useState2 = _slicedToArray(_React$useState, 2), + isDragged = _React$useState2[0], + setIsDragged = _React$useState2[1]; - window.requestAnimationFrame(function () { - if (_this2.listRef) { - _this2.listRef.scrollTop = _this2.state.offset * _this2.avgRowHeight; - } - }); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(_prevProps, prevState) { - if (prevState.offset > this.state.offset) { - this.updateOffset(prevState); + var cellClass = classnames({ + 'Grid-cell': true, + 'Grid-cell--head': isHead, + 'Grid-cell--dragged': isDragged && draggable, + 'Grid-cell--body': !isHead, + 'Grid-cell--separator': !firstCell && (schema.separator !== undefined ? schema.separator : separator), + 'Grid-cell--nestedRow': !isHead && colIndex === 0 && nestedRows + }); + if (hidden) return null; + return /*#__PURE__*/React.createElement("div", { + key: "".concat(rowIndex, "-").concat(colIndex), + className: cellClass, + draggable: isHead && draggable, + onDragStart: function onDragStart(e) { + if (draggable) { + setIsDragged(true); + e.dataTransfer.setData('name', name); + if (pinned) e.dataTransfer.setData('type', pinned); } - } - }, { - key: "updateOffset", - value: function updateOffset(prevState) { - var offsetDiff = prevState.offset - this.state.offset; - - if (this.listRef) { - var el = this.listRef; - var items = el.querySelectorAll(".VS-item"); - var heightAdded = 0; - var currOffset = prevState.offset; - var start = Math.min(this.state.offset, this.props.buffer); - var end = start + offsetDiff; - - for (var i = Math.min(items.length, end) - 1; i >= start; i--) { - var inView = isInView(el, items[i]); - - if (inView) { - currOffset--; - var rowHeight = items[i].clientHeight; - heightAdded += rowHeight; - } else { - break; - } - } - - if (items.length < end) { - var diff = end - items.length; - heightAdded += diff * this.props.minItemHeight; - currOffset -= diff; - } - - var newAvgRowHeight = currOffset === 0 ? this.props.minItemHeight : (this.avgRowHeight * prevState.offset - heightAdded) / currOffset; - this.setState({ - offset: currOffset - }); - this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight); + }, + onDrag: function onDrag() { + setIsDragged(false); + }, + onDragOver: function onDragOver(e) { + return e.preventDefault(); + }, + onMouseUpCapture: function onMouseUpCapture() { + setIsDragged(false); + }, + onDragEnd: function onDragEnd(e) { + e.preventDefault(); + setIsDragged(false); + }, + onDrop: function onDrop(e) { + if (draggable) { + setIsDragged(false); + var from = { + name: e.dataTransfer.getData('name'), + type: e.dataTransfer.getData('type') + }; + var to = { + name: name, + type: pinned || '' + }; + if (from.type === to.type && reorderColumn) reorderColumn(from.name, to.name); } + }, + style: { + width: getWidth({ + ref: ref, + withCheckbox: withCheckbox + }, schema.width || width), + minWidth: getWidth({ + ref: ref, + withCheckbox: withCheckbox + }, schema.minWidth || minWidth), + maxWidth: getWidth({ + ref: ref, + withCheckbox: withCheckbox + }, schema.maxWidth || maxWidth) } - }, { - key: "onScrollHandler", - value: function onScrollHandler(event) { - if (this.listRef) { - var _this$props = this.props, - totalLength = _this$props.totalLength, - length = _this$props.length, - buffer = _this$props.buffer; - var offset = this.state.offset; - var avgRowHeight = this.avgRowHeight; - var el = this.listRef; - var scrollTop = el.scrollTop; - var direction = Math.floor(scrollTop - this.lastScrollTop); - if (direction === 0) return; - var items = el.querySelectorAll(".VS-item"); - var newOffset = offset; - var newAvgRowHeight = avgRowHeight; - var start = Math.min(offset, buffer); - - if (direction > 0) { - if (offset < totalLength - length) { - var heightAdded = 0; - - for (var i = start; i < items.length; i++) { - var inView = isInView(el, items[i]); - var rowHeight = items[i].clientHeight; - - if (!inView) { - heightAdded += rowHeight; - newOffset++; - } else { - break; - } - } - - if (heightAdded < direction) { - var heightLeft = direction - heightAdded; - var offsetToBeAdded = Math.floor(heightLeft / this.props.minItemHeight); - newOffset += offsetToBeAdded; - heightAdded += offsetToBeAdded * this.props.minItemHeight; - } - - newAvgRowHeight = newOffset > 0 ? (offset * avgRowHeight + heightAdded) / newOffset : this.props.minItemHeight; - this.setState({ - offset: Math.min(newOffset, totalLength - length) - }); - this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight); - } - } else { - var scrollDiff = items[start].getBoundingClientRect().y - el.getBoundingClientRect().y; - - if (scrollDiff > 0) { - var offsetDiff = Math.floor(scrollDiff / this.props.minItemHeight) || 1; + }, isHead ? /*#__PURE__*/React.createElement(HeaderCell, { + colIndex: colIndex, + schema: schema, + onSelectAll: onSelectAll, + onMenuChange: onMenuChange, + onFilterChange: onFilterChange, + updateColumnSchema: updateColumnSchema, + reorderColumn: reorderColumn, + setIsDragged: setIsDragged + }) : /*#__PURE__*/React.createElement(BodyCell, { + rowIndex: rowIndex, + colIndex: colIndex, + data: data, + schema: schema, + expandedState: expandedState, + nestedRowData: nestedRowData + })); +}; - var _newOffset = offset - offsetDiff; +var GridHead = function GridHead(props) { + var context$1 = React.useContext(context); + var schema = props.schema, + onSelectAll = props.onSelectAll, + onMenuChange = props.onMenuChange, + onFilterChange = props.onFilterChange, + updateColumnSchema = props.updateColumnSchema, + reorderColumn = props.reorderColumn; + var withCheckbox = context$1.withCheckbox, + loading = context$1.loading, + selectAll = context$1.selectAll; + var pinnedSchema = schema.filter(function (s) { + return !s.hidden && s.pinned; + }); + var leftPinnedSchema = pinnedSchema.filter(function (s) { + return !s.hidden && s.pinned === 'left'; + }); + var rightPinnedSchema = pinnedSchema.filter(function (s) { + return !s.hidden && s.pinned === 'right'; + }); + var unpinnedSchema = schema.filter(function (s) { + return !s.hidden && !s.pinned; + }); - if (_newOffset < totalLength - (length + buffer)) { - this.setState({ - offset: Math.max(0, _newOffset) - }); - } - } - } + var renderCheckbox = function renderCheckbox(show) { + if (!show || !withCheckbox) return null; + return /*#__PURE__*/React.createElement("div", { + className: "Grid-cell Grid-cell--head Grid-cell--checkbox" + }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, _extends$2({}, selectAll, { + onChange: onSelectAll + }))); + }; - this.lastScrollTop = scrollTop; - } + var renderSchema = function renderSchema(currSchema, shouldRenderCheckbox, pinned) { + if (currSchema.length) { + var _classNames; - if (this.props.onScroll) this.props.onScroll(event); - } - }, { - key: "renderItems", - value: function renderItems(start, end) { - var renderItem = this.props.renderItem; - return Array.from({ - length: end - start + 1 - }, function (_, index) { - var rowIndex = start + index; - var component = renderItem(rowIndex); - return /*#__PURE__*/React.cloneElement(component, { - key: rowIndex, - className: ["VS-item", component.props.className].join(' ').trim() + var classes = classnames((_classNames = { + 'Grid-cellGroup': true, + 'Grid-cellGroup--pinned': pinned + }, _defineProperty$1(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$1(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); + return /*#__PURE__*/React.createElement("div", { + className: classes + }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { + var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; + if (pinned === 'right') cI += unpinnedSchema.length; + return /*#__PURE__*/React.createElement(Cell, { + key: "".concat(cI), + firstCell: !index, + colIndex: cI, + isHead: true, + schema: s, + onSelectAll: onSelectAll, + onMenuChange: onMenuChange, + onFilterChange: onFilterChange, + updateColumnSchema: updateColumnSchema, + reorderColumn: reorderColumn }); - }); + })); } - }, { - key: "render", - value: function render() { - var _this3 = this; - - var _this$props2 = this.props, - totalLength = _this$props2.totalLength, - length = _this$props2.length, - buffer = _this$props2.buffer; - _this$props2.offset; - _this$props2.renderItem; - _this$props2.minItemHeight; - var forwardRef = _this$props2.forwardRef, - rest = _objectWithoutProperties(_this$props2, ["totalLength", "length", "buffer", "offset", "renderItem", "minItemHeight", "forwardRef"]); - var _this$state = this.state, - init = _this$state.init, - offset = _this$state.offset; - var avgRowHeight = this.avgRowHeight; - var start = Math.max(0, offset - buffer); - var end = Math.min(offset + (length + buffer) - 1, totalLength - 1); - var topPadding = Math.max(0, start * avgRowHeight); - var bottomPadding = Math.max(0, (totalLength - end - 1) * avgRowHeight); - return /*#__PURE__*/React.createElement("div", _extends({}, rest, { - ref: function ref(el) { - _this3.listRef = el; - if (forwardRef) forwardRef.current = el; - if (!init) _this3.setState({ - init: true - }); - }, - onScroll: this.onScrollHandler.bind(this) - }), init && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { - style: { - flexShrink: 0, - height: topPadding - } - }), this.renderItems(start, end), /*#__PURE__*/React.createElement("div", { - style: { - flexShrink: 0, - height: bottomPadding - } - }))); - } - }]); + return null; + }; - return VirtualScroll; -}(React.Component); + return /*#__PURE__*/React.createElement("div", { + className: "Grid-head", + "data-test": "DesignSystem-GridHead-wrapper" + }, /*#__PURE__*/React.createElement("div", { + className: "Grid-row Grid-row--head" + }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); +}; -_defineProperty(VirtualScroll, "defaultProps", { - buffer: 10, - length: 30, - offset: 0 -}); +var GridNestedRow = function GridNestedRow(props) { + var context$1 = React.useContext(context); + var schema = context$1.schema, + loading = context$1.loading, + nestedRowRenderer = context$1.nestedRowRenderer; + var data = props.data, + rowIndex = props.rowIndex, + expanded = props.expanded; + if (nestedRowRenderer) return nestedRowRenderer({ + data: data, + schema: schema, + loading: loading, + rowIndex: rowIndex, + expanded: expanded + }); // return ( + // {JSON.stringify(data)} + // ) + // const { + // schema: propSchema + // } = _this.props; + // if (data._expanded) { + // const showHead = data._expanded.showHead; + // const schema = data._expanded.schema || propSchema; + // let gridData = data._expanded.data; + // if (!gridData) { + // const { + // _uid, + // _expanded, + // ...rest + // } = data; + // gridData = [rest]; + // } + // return ( + //
+ // + //
+ // ); + // } -var index = /*#__PURE__*/React.forwardRef(function (props, ref) { - return /*#__PURE__*/React.createElement(VirtualScroll, _extends({ - forwardRef: ref - }, props)); -}); + return null; +}; var GridRow = function GridRow(props) { var context$1 = React.useContext(context); @@ -17278,7 +19657,8 @@ var GridRow = function GridRow(props) { setExpanded = _React$useState2[1]; var rowClasses = classnames('Grid-row', 'Grid-row--body', { - 'Grid-row--selected': data._selected + 'Grid-row--selected': data._selected, + 'Grid-row--disabled': data.disabled }); var onClickHandler = React.useCallback(function () { if (type === 'resource' && !loading) { @@ -17299,20 +19679,31 @@ var GridRow = function GridRow(props) { var unpinnedSchema = schema.filter(function (s) { return !s.hidden && !s.pinned; }); + var nestedProps = { + data: data, + rowIndex: rI, + expanded: expanded + }; + var nestedRowData = GridNestedRow(nestedProps); var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { - className: "Grid-cell Grid-cell--body Grid-cell--checkbox", - onClick: function onClick(e) { - return e.stopPropagation(); - } - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, { - checked: !!data._selected, - onChange: function onChange(event) { - onSelect(rI, event.target.checked); - } - })); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + className: "Grid-cell Grid-cell--body Grid-cell--checkbox", + onClick: function onClick(e) { + return e.stopPropagation(); + } + }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, { + checked: !!data._selected, + onChange: function onChange(event) { + onSelect(rI, event.target.checked); + } + })) + ); }; var renderSchema = function renderSchema(currSchema, shouldRenderCheckbox, pinned) { @@ -17322,9 +19713,10 @@ var GridRow = function GridRow(props) { var classes = classnames((_classNames = { 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned - }, _defineProperty$2(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$2(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); + }, _defineProperty$1(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$1(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); return /*#__PURE__*/React.createElement("div", { - className: classes + className: classes, + "data-test": "DesignSystem-Grid-cellGroup" }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; @@ -17335,7 +19727,8 @@ var GridRow = function GridRow(props) { firstCell: !index, schema: s, data: data, - expandedState: [expanded, setExpanded] + expandedState: [expanded, setExpanded], + nestedRowData: nestedRowData }); })); } @@ -17349,15 +19742,13 @@ var GridRow = function GridRow(props) { return /*#__PURE__*/React.createElement("div", { className: wrapperClasses }, /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Grid-row", className: rowClasses, onClick: onClickHandler, ref: rowRef }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React.createElement("div", { className: "Grid-nestedRow" - }, /*#__PURE__*/React.createElement(GridNestedRow, { - data: data, - rowIndex: rI - }))); + }, nestedRowData)); }; GridRow.defaultProps = { data: {} @@ -17367,7 +19758,6 @@ var GridBody = function GridBody(props) { var context$1 = React.useContext(context); var data = context$1.data, ref = context$1.ref, - size = context$1.size, loading = context$1.loading, error = context$1.error, withPagination = context$1.withPagination, @@ -17404,54 +19794,56 @@ var GridBody = function GridBody(props) { } }; }, []); - var minRowHeight = { - comfortable: 40, - standard: 40, - compressed: 32, - tight: 24 - }; var totalPages = Math.ceil(totalRecords / pageSize); var isLastPage = withPagination && page === totalPages; var dataLength = isLastPage ? totalRecords - (page - 1) * pageSize : loading ? pageSize : withPagination ? Math.min(totalRecords, pageSize) : totalRecords; - var renderItem = function renderItem(rowIndex) { + var renderRow = function renderRow(rowIndex, item) { return /*#__PURE__*/React.createElement(GridRow, { + key: rowIndex, rowIndex: rowIndex, - data: data[rowIndex], + data: !item ? data[rowIndex] : item, schema: schema, onSelect: onSelect }); }; - return /*#__PURE__*/React.createElement(index, { - className: "Grid-body", - minItemHeight: minRowHeight[size], - totalLength: dataLength, - length: 20, - buffer: 7, - renderItem: renderItem - }); + var getArrayList = function getArrayList() { + if (loading && !data.length) { + return _toConsumableArray(Array(dataLength).map(function (x) { + return x; + })); + } + + return data; + }; + + return /*#__PURE__*/React.createElement("div", { + className: "Grid-body" + }, getArrayList().map(function (item, i) { + return renderRow(i, item); + })); }; var Grid = /*#__PURE__*/function (_React$Component) { - _inherits$1(Grid, _React$Component); + _inherits(Grid, _React$Component); - var _super = _createSuper$1(Grid); + var _super = _createSuper(Grid); function Grid(props) { var _this; - _classCallCheck$1(this, Grid); + _classCallCheck(this, Grid); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "gridRef", null); + _defineProperty$1(_assertThisInitialized$1(_this), "gridRef", null); - _defineProperty$2(_assertThisInitialized$2(_this), "isHeadSyncing", false); + _defineProperty$1(_assertThisInitialized$1(_this), "isHeadSyncing", false); - _defineProperty$2(_assertThisInitialized$2(_this), "isBodySyncing", false); + _defineProperty$1(_assertThisInitialized$1(_this), "isBodySyncing", false); - _defineProperty$2(_assertThisInitialized$2(_this), "syncScroll", function (type) { + _defineProperty$1(_assertThisInitialized$1(_this), "syncScroll", function (type) { return function () { var gridHeadEl = _this.gridRef.querySelector('.Grid-head'); @@ -17477,7 +19869,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { }; }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateRenderedSchema", function (newSchema) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateRenderedSchema", function (newSchema) { var updateSchema = _this.props.updateSchema; if (updateSchema) { @@ -17485,7 +19877,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateColumnSchema", function (name, schemaUpdate) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateColumnSchema", function (name, schemaUpdate) { var schema = _this.props.schema; var newSchema = _toConsumableArray(schema); @@ -17498,7 +19890,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { _this.updateRenderedSchema(newSchema); }); - _defineProperty$2(_assertThisInitialized$2(_this), "reorderColumn", function (from, to) { + _defineProperty$1(_assertThisInitialized$1(_this), "reorderColumn", function (from, to) { var schema = _this.props.schema; var fromInd = schema.findIndex(function (s) { return s.name === from; @@ -17511,7 +19903,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { _this.updateRenderedSchema(newSchema); }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateSortingList", function (sortingList) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateSortingList", function (sortingList) { var updateSortingList = _this.props.updateSortingList; if (updateSortingList) { @@ -17519,7 +19911,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateFilterList", function (filterList) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateFilterList", function (filterList) { var updateFilterList = _this.props.updateFilterList; if (updateFilterList) { @@ -17527,7 +19919,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onMenuChange", function (name, selected) { + _defineProperty$1(_assertThisInitialized$1(_this), "onMenuChange", function (name, selected) { var sortingList = _this.props.sortingList; switch (selected) { @@ -17578,15 +19970,15 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onFilterChange", function (name, selected) { + _defineProperty$1(_assertThisInitialized$1(_this), "onFilterChange", function (name, selected) { var filterList = _this.props.filterList; - var newFilterList = _objectSpread2(_objectSpread2({}, filterList), {}, _defineProperty$2({}, name, selected)); + var newFilterList = _objectSpread2(_objectSpread2({}, filterList), {}, _defineProperty$1({}, name, selected)); _this.updateFilterList(newFilterList); }); - _defineProperty$2(_assertThisInitialized$2(_this), "onSelect", function (rowIndex, selected) { + _defineProperty$1(_assertThisInitialized$1(_this), "onSelect", function (rowIndex, selected) { var onSelect = _this.props.onSelect; if (onSelect) { @@ -17594,7 +19986,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onSelectAll", function (event) { + _defineProperty$1(_assertThisInitialized$1(_this), "onSelectAll", function (event) { var onSelectAll = _this.props.onSelectAll; if (onSelectAll) { @@ -17602,7 +19994,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "updatePrevPageInfo", function (value) { + _defineProperty$1(_assertThisInitialized$1(_this), "updatePrevPageInfo", function (value) { _this.setState({ prevPageInfo: value }); @@ -17619,7 +20011,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { return _this; } - _createClass$1(Grid, [{ + _createClass(Grid, [{ key: "componentDidMount", value: function componentDidMount() { this.setState({ @@ -17645,7 +20037,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { this.addScrollListeners(); } - if (prevProps.page !== this.props.page) { + if (prevProps.page !== this.props.page || prevProps.error !== this.props.error) { this.removeScrollListeners(); this.addScrollListeners(); } @@ -17694,8 +20086,8 @@ var Grid = /*#__PURE__*/function (_React$Component) { var schema = getSchema(this.props.schema, loading, loaderSchema); var classes = classnames((_classNames = { Grid: 'true' - }, _defineProperty$2(_classNames, "Grid--".concat(type), type), _defineProperty$2(_classNames, "Grid--".concat(size), size), _classNames), className); - return /*#__PURE__*/React.createElement("div", _extends$3({ + }, _defineProperty$1(_classNames, "Grid--".concat(type), type), _defineProperty$1(_classNames, "Grid--".concat(size), size), _classNames), className); + return /*#__PURE__*/React.createElement("div", _extends$2({ className: classes }, baseProps, { ref: function ref(el) { @@ -17725,7 +20117,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { return Grid; }(React.Component); -_defineProperty$2(Grid, "defaultProps", void 0); +_defineProperty$1(Grid, "defaultProps", void 0); Grid.defaultProps = defaultProps$1; @@ -17759,7 +20151,8 @@ var renderMetaList = function renderMetaList(props) { if (metaList) { return /*#__PURE__*/React.createElement("div", { - className: "GridCell-metaList" + className: "GridCell-metaList", + "data-test": "DesignSystem-GridCell-metaList" }, metaList.map(function (list, index) { return /*#__PURE__*/React.createElement(Text, { key: index, @@ -17837,14 +20230,15 @@ var GridCell = function GridCell(props) { align = _schema$align === void 0 ? 'left' : _schema$align, tooltip = schema.tooltip; var cellData = data[name]; - var cellClass = classnames(_defineProperty$2({}, 'GridCell', true)); + var cellClass = classnames(_defineProperty$1({}, 'GridCell', true)); switch (cellType) { case 'DEFAULT': return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--default") }, loading ? /*#__PURE__*/React.createElement(PlaceholderParagraph, { - length: "medium" + length: "medium", + "data-test": "DesignSystem-GridCell-placeHolder" }) : renderTitle({ tooltip: tooltip, cellData: cellData @@ -17854,7 +20248,8 @@ var GridCell = function GridCell(props) { return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--metaList") }, loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PlaceholderParagraph, { - length: "medium" + length: "medium", + "data-test": "DesignSystem-GridCell-withMetaList" }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "large", size: "xxs" @@ -17875,7 +20270,8 @@ var GridCell = function GridCell(props) { } return /*#__PURE__*/React.createElement("div", { - className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--avatar") + className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--avatar"), + "data-test": "DesignSystem-GridCell-avatar" }, size !== 'tight' && renderAvatar({ cellData: cellData })); @@ -17892,7 +20288,8 @@ var GridCell = function GridCell(props) { } return /*#__PURE__*/React.createElement("div", { - className: "".concat(cellClass, " GridCell--avatarWithText") + className: "".concat(cellClass, " "), + "data-test": "DesignSystem-GridCell-avatarWithText" }, size !== 'tight' && renderAvatar({ cellData: cellData }), renderTitle({ @@ -17915,7 +20312,8 @@ var GridCell = function GridCell(props) { } return /*#__PURE__*/React.createElement("div", { - className: "".concat(cellClass, " GridCell--avatarWithText") + className: "".concat(cellClass, " GridCell--avatarWithText"), + "data-test": "DesignSystem-GridCell-avatarWithMetaList" }, size !== 'tight' && renderAvatar({ cellData: cellData }), /*#__PURE__*/React.createElement("div", { @@ -17937,7 +20335,8 @@ var GridCell = function GridCell(props) { } return /*#__PURE__*/React.createElement("div", { - className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--icon") + className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--icon"), + "data-test": "DesignSystem-GridCell-icon" }, renderIcon({ cellData: cellData })); @@ -18019,6 +20418,7 @@ var DraggableDropdown = function DraggableDropdown(props) { open: open, onToggle: onToggleHandler, trigger: /*#__PURE__*/React.createElement(Button, { + type: "button", ref: function ref(el) { setTriggerWidth("".concat(el === null || el === void 0 ? void 0 : el.clientWidth, "px")); }, @@ -18052,6 +20452,7 @@ var DraggableDropdown = function DraggableDropdown(props) { onChange: handleParentChange })), tempOptions.map(function (option, index) { return /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Table-Header--draggableDropdownOption", key: option.value, className: "OptionWrapper d-flex flex-space-between align-items-center cursor-pointer", draggable: true, @@ -18081,10 +20482,12 @@ var DraggableDropdown = function DraggableDropdown(props) { })), /*#__PURE__*/React.createElement("div", { className: "Dropdown-buttonWrapper" }, /*#__PURE__*/React.createElement(Button, { + type: "button", className: "mr-4", size: "tiny", onClick: onCancelHandler }, "Cancel"), /*#__PURE__*/React.createElement(Button, { + type: "button", appearance: "primary", size: "tiny", onClick: onApplyHandler @@ -18116,7 +20519,8 @@ var Header = function Header(props) { updateSearchTerm = props.updateSearchTerm, dynamicColumn = props.dynamicColumn, allowSelectAll = props.allowSelectAll, - showFilters = props.showFilters; + showFilters = props.showFilters, + customSelectionLabel = props.customSelectionLabel; var _React$useState = React.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), @@ -18152,7 +20556,7 @@ var Header = function Header(props) { }; var onFilterChange = function onFilterChange(name, filters) { - var newFilterList = _objectSpread2(_objectSpread2({}, filterList), {}, _defineProperty$2({}, name, filters)); + var newFilterList = _objectSpread2(_objectSpread2({}, filterList), {}, _defineProperty$1({}, name, filters)); if (updateFilterList) { updateFilterList(newFilterList); @@ -18182,12 +20586,13 @@ var Header = function Header(props) { if (updateSchema) updateSchema(newSchema); }; + var customLabel = customSelectionLabel ? customSelectionLabel : 'item'; var selectedCount = data.filter(function (d) { return d._selected; }).length; var startIndex = (page - 1) * pageSize + 1; var endIndex = Math.min(page * pageSize, totalRecords); - var label = error ? 'Showing 0 items' : withCheckbox && selectedCount ? selectAllRecords ? "Selected all ".concat(totalRecords, " item").concat(getPluralSuffix(totalRecords)) : "Selected ".concat(selectedCount, " item").concat(getPluralSuffix(totalRecords), " on this page") : withPagination ? "Showing ".concat(startIndex, "-").concat(endIndex, " of ").concat(totalRecords, " item").concat(getPluralSuffix(totalRecords)) : "Showing ".concat(totalRecords, " item").concat(getPluralSuffix(totalRecords)); + var label = error ? "Showing 0 ".concat(customLabel, "s") : withCheckbox && selectedCount ? selectAllRecords ? "Selected all ".concat(totalRecords, " ").concat(customLabel).concat(getPluralSuffix(totalRecords)) : "Selected ".concat(selectedCount, " ").concat(customLabel).concat(getPluralSuffix(totalRecords), " on this page") : withPagination ? "Showing ".concat(startIndex, "-").concat(endIndex, " of ").concat(totalRecords, " ").concat(customLabel).concat(getPluralSuffix(totalRecords)) : "Showing ".concat(totalRecords, " ").concat(customLabel).concat(getPluralSuffix(totalRecords)); return /*#__PURE__*/React.createElement("div", { className: "Header" }, /*#__PURE__*/React.createElement("div", { @@ -18195,6 +20600,7 @@ var Header = function Header(props) { }, withSearch && /*#__PURE__*/React.createElement("div", { className: "Header-search" }, /*#__PURE__*/React.createElement(Input, { + "data-test": "DesignSystem-Table-Header--withSearch", name: "GridHeader-search", icon: "search", placeholder: searchPlaceholder, @@ -18203,7 +20609,8 @@ var Header = function Header(props) { onClear: function onClear() { return updateSearchTerm && updateSearchTerm(''); }, - disabled: loading && !hasSchema(schema) + disabled: loading && !hasSchema(schema), + autoComplete: "off" })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React.createElement("div", { className: "Header-dropdown" }, /*#__PURE__*/React.createElement("div", { @@ -18236,7 +20643,7 @@ var Header = function Header(props) { className: "Header-content Header-content--bottom" }, /*#__PURE__*/React.createElement("div", { className: "Header-label" - }, !showHead && withCheckbox && !loading && /*#__PURE__*/React.createElement(Checkbox, _extends$3({}, selectAll, { + }, !showHead && withCheckbox && !loading && /*#__PURE__*/React.createElement(Checkbox, _extends$2({}, selectAll, { onChange: function onChange(event) { if (onSelectAll) onSelectAll(event.target.checked); } @@ -18248,11 +20655,13 @@ var Header = function Header(props) { })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React.createElement("div", { className: "ml-4" }, !selectAllRecords ? /*#__PURE__*/React.createElement(Button, { + "data-test": "DesignSystem-Table-Header--selectAllItemsButton", size: "tiny", onClick: function onClick() { return setSelectAllRecords(true); } - }, "Select all ".concat(totalRecords, " items")) : /*#__PURE__*/React.createElement(Button, { + }, "Select all ".concat(totalRecords, " ").concat(customLabel, "s")) : /*#__PURE__*/React.createElement(Button, { + "data-test": "DesignSystem-Table-Header--clearSelectionItemsButton", size: "tiny", onClick: function onClick() { return setSelectAllRecords(false); @@ -18272,7 +20681,7 @@ Header.defaultProps = { showFilters: true }; -var _excluded$1 = ["children"]; +var _excluded$3 = ["children"]; var defaultErrorTemplate = function defaultErrorTemplate(props) { var _props$errorType = props.errorType, @@ -18306,6 +20715,7 @@ var defaultProps = { filterList: {}, filterPosition: 'GRID', searchDebounceDuration: 750, + pageJumpDebounceDuration: 750, errorTemplate: defaultErrorTemplate }; /** @@ -18336,20 +20746,20 @@ var defaultProps = { */ var Table = /*#__PURE__*/function (_React$Component) { - _inherits$1(Table, _React$Component); + _inherits(Table, _React$Component); - var _super = _createSuper$1(Table); + var _super = _createSuper(Table); function Table(props) { var _this; - _classCallCheck$1(this, Table); + _classCallCheck(this, Table); _this = _super.call(this, props); - _defineProperty$2(_assertThisInitialized$2(_this), "debounceUpdate", void 0); + _defineProperty$1(_assertThisInitialized$1(_this), "debounceUpdate", void 0); - _defineProperty$2(_assertThisInitialized$2(_this), "updateData", function (searchUpdate) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateData", function (searchUpdate) { if (_this.state.async) { _this.setState({ loading: true @@ -18363,7 +20773,7 @@ var Table = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateDataFn", function () { + _defineProperty$1(_assertThisInitialized$1(_this), "updateDataFn", function () { var _this$props = _this.props, fetchData = _this$props.fetchData, pageSize = _this$props.pageSize, @@ -18402,7 +20812,7 @@ var Table = /*#__PURE__*/function (_React$Component) { _this.setState({ data: _data2, schema: schema, - selectAll: getSelectAll(_data2), + selectAll: getSelectAll(_data2, _this.props.selectDisabledRow), totalRecords: res.count, loading: false, error: !_data2.length, @@ -18435,14 +20845,14 @@ var Table = /*#__PURE__*/function (_React$Component) { totalRecords: totalRecords, error: !renderedData.length, errorType: 'NO_RECORDS_FOUND', - selectAll: getSelectAll(renderedData), + selectAll: getSelectAll(renderedData, _this.props.selectDisabledRow), schema: renderedSchema, data: renderedData }); } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onSelect", function (rowIndexes, selected) { + _defineProperty$1(_assertThisInitialized$1(_this), "onSelect", function (rowIndexes, selected) { var data = _this.state.data; var onSelect = _this.props.onSelect; var indexes = [rowIndexes]; @@ -18451,11 +20861,11 @@ var Table = /*#__PURE__*/function (_React$Component) { if (rowIndexes >= 0) { newData = updateBatchData(data, indexes, { _selected: selected - }); + }, _this.props.selectDisabledRow); _this.setState({ data: newData, - selectAll: getSelectAll(newData) + selectAll: getSelectAll(newData, _this.props.selectDisabledRow) }); } @@ -18466,7 +20876,7 @@ var Table = /*#__PURE__*/function (_React$Component) { } }); - _defineProperty$2(_assertThisInitialized$2(_this), "onSelectAll", function (selected, selectAll) { + _defineProperty$1(_assertThisInitialized$1(_this), "onSelectAll", function (selected, selectAll) { var onSelect = _this.props.onSelect; var data = _this.state.data; var indexes = Array.from({ @@ -18476,33 +20886,39 @@ var Table = /*#__PURE__*/function (_React$Component) { }); var newData = updateBatchData(data, indexes, { _selected: selected + }, _this.props.selectDisabledRow); + var selectedIndex = []; + newData.forEach(function (item, key) { + if (item._selected) { + selectedIndex.push(key); + } }); if (onSelect) { - onSelect(indexes, selected, newData.filter(function (d) { + onSelect(selectedIndex, selected, newData.filter(function (d) { return d._selected; }), selectAll); } _this.setState({ data: newData, - selectAll: getSelectAll(newData) + selectAll: getSelectAll(newData, _this.props.selectDisabledRow) }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "onPageChange", function (newPage) { + _defineProperty$1(_assertThisInitialized$1(_this), "onPageChange", function (newPage) { _this.setState({ page: newPage }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateSchema", function (newSchema) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateSchema", function (newSchema) { _this.setState({ schema: newSchema }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateSortingList", function (newSortingList) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateSortingList", function (newSortingList) { var multipleSorting = _this.props.multipleSorting; _this.setState({ @@ -18511,14 +20927,14 @@ var Table = /*#__PURE__*/function (_React$Component) { }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateFilterList", function (newFilterList) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateFilterList", function (newFilterList) { _this.setState({ filterList: newFilterList, page: 1 }); }); - _defineProperty$2(_assertThisInitialized$2(_this), "updateSearchTerm", function (newSearchTerm) { + _defineProperty$1(_assertThisInitialized$1(_this), "updateSearchTerm", function (newSearchTerm) { _this.setState({ searchTerm: newSearchTerm, page: 1 @@ -18549,7 +20965,7 @@ var Table = /*#__PURE__*/function (_React$Component) { return _this; } - _createClass$1(Table, [{ + _createClass(Table, [{ key: "componentDidMount", value: function componentDidMount() { this.updateData(); @@ -18560,7 +20976,7 @@ var Table = /*#__PURE__*/function (_React$Component) { var _this2 = this; if (!this.state.async) { - if (prevProps.loading !== this.props.loading || prevProps.error !== this.props.error) { + if (prevProps.error !== this.props.error) { var _this$props2 = this.props, _this$props2$data = _this$props2.data, _data3 = _this$props2$data === void 0 ? [] : _this$props2$data, @@ -18570,12 +20986,30 @@ var Table = /*#__PURE__*/function (_React$Component) { this.setState({ data: _data3, schema: schema, - loading: this.props.loading || false, error: this.props.error || false, errorType: this.props.errorType, page: 1, totalRecords: _data3.length || 0, selectAll: getSelectAll([]) + }); + } + + if (prevProps.loading !== this.props.loading) { + var _this$props3 = this.props, + _this$props3$data = _this$props3.data, + _data4 = _this$props3$data === void 0 ? [] : _this$props3$data, + _this$props3$schema = _this$props3.schema, + _schema2 = _this$props3$schema === void 0 ? [] : _this$props3$schema; + + this.setState({ + data: _data4, + schema: _schema2, + loading: this.props.loading || false, + error: this.props.error || false, + errorType: this.props.errorType, + page: 1, + totalRecords: _data4.length || 0, + selectAll: getSelectAll([]) }, function () { _this2.updateData(); }); @@ -18606,41 +21040,44 @@ var Table = /*#__PURE__*/function (_React$Component) { }, { key: "render", value: function render() { - var _this$props3 = this.props, - showHead = _this$props3.showHead, - type = _this$props3.type, - size = _this$props3.size, - headCellTooltip = _this$props3.headCellTooltip, - separator = _this$props3.separator, - draggable = _this$props3.draggable, - nestedRows = _this$props3.nestedRows, - nestedRowRenderer = _this$props3.nestedRowRenderer, - withHeader = _this$props3.withHeader, - headerOptions = _this$props3.headerOptions, - withCheckbox = _this$props3.withCheckbox, - showMenu = _this$props3.showMenu, - withPagination = _this$props3.withPagination, - paginationType = _this$props3.paginationType, - pageSize = _this$props3.pageSize, - onRowClick = _this$props3.onRowClick, - loaderSchema = _this$props3.loaderSchema, - errorTemplate = _this$props3.errorTemplate, - className = _this$props3.className, - filterPosition = _this$props3.filterPosition; + var _this$props4 = this.props, + showHead = _this$props4.showHead, + type = _this$props4.type, + size = _this$props4.size, + headCellTooltip = _this$props4.headCellTooltip, + separator = _this$props4.separator, + draggable = _this$props4.draggable, + nestedRows = _this$props4.nestedRows, + nestedRowRenderer = _this$props4.nestedRowRenderer, + withHeader = _this$props4.withHeader, + headerOptions = _this$props4.headerOptions, + withCheckbox = _this$props4.withCheckbox, + showMenu = _this$props4.showMenu, + withPagination = _this$props4.withPagination, + paginationType = _this$props4.paginationType, + pageSize = _this$props4.pageSize, + pageJumpDebounceDuration = _this$props4.pageJumpDebounceDuration, + onRowClick = _this$props4.onRowClick, + loaderSchema = _this$props4.loaderSchema, + errorTemplate = _this$props4.errorTemplate, + className = _this$props4.className, + filterPosition = _this$props4.filterPosition; var baseProps = extractBaseProps(this.props); var _ref = headerOptions, headerChildren = _ref.children, - headerAttr = _objectWithoutProperties$1(_ref, _excluded$1); + headerAttr = _objectWithoutProperties(_ref, _excluded$3); var classes = className ? " ".concat(className) : ''; var totalRecords = this.state.totalRecords; var totalPages = getTotalPages(totalRecords, pageSize); - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: "Table".concat(classes) + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { + className: "Table".concat(classes), + "data-test": "DesignSystem-Table-wrapper" }), withHeader && /*#__PURE__*/React.createElement("div", { - className: "Table-header" - }, /*#__PURE__*/React.createElement(Header, _extends$3({}, this.state, { + className: "Table-header", + "data-test": "DesignSystem-Table-header" + }, /*#__PURE__*/React.createElement(Header, _extends$2({}, this.state, { // updateData={updateData} updateSchema: this.updateSchema // updateSortingList={updateSortingList} , @@ -18654,7 +21091,8 @@ var Table = /*#__PURE__*/function (_React$Component) { showFilters: filterPosition === 'HEADER' }, headerAttr), headerChildren)), /*#__PURE__*/React.createElement("div", { className: "Table-grid" - }, /*#__PURE__*/React.createElement(Grid, _extends$3({}, this.state, { + }, /*#__PURE__*/React.createElement(Grid, _extends$2({}, this.state, { + key: this.state.searchTerm, updateData: this.updateData, updateSchema: this.updateSchema, updateSortingList: this.updateSortingList, @@ -18685,7 +21123,8 @@ var Table = /*#__PURE__*/function (_React$Component) { page: this.state.page, totalPages: getTotalPages(totalRecords, pageSize), type: paginationType, - onPageChange: this.onPageChange + onPageChange: this.onPageChange, + pageJumpDebounceDuration: pageJumpDebounceDuration }))); } }]); @@ -18693,7 +21132,7 @@ var Table = /*#__PURE__*/function (_React$Component) { return Table; }(React.Component); -_defineProperty$2(Table, "defaultProps", defaultProps); +_defineProperty$1(Table, "defaultProps", defaultProps); /** * **`List` is a pattern of `Table` with no Head Cells.** @@ -18701,7 +21140,7 @@ _defineProperty$2(Table, "defaultProps", defaultProps); * Please refer to stories of Table for examples. Simply replace `Table` with `List` to use it. */ var List = function List(props) { - return /*#__PURE__*/React.createElement(Table, _extends$3({}, props, { + return /*#__PURE__*/React.createElement(Table, _extends$2({}, props, { showHead: false, filterPosition: 'HEADER' })); @@ -18741,7 +21180,7 @@ var VerticalNavigation = function VerticalNavigation(props) { var name = nameSplit[0]; if (autoCollapse) { - setMenuState(_defineProperty$2({}, name, val || !menuState[name])); + setMenuState(_defineProperty$1({}, name, val || !menuState[name])); } else { var menuData = _objectSpread2({}, menuState); @@ -18777,19 +21216,22 @@ var VerticalNavigation = function VerticalNavigation(props) { var activeMenuIcon = !expanded && isMenuActive(menus, menu, active) || activeMenu; var menuClasses = classnames((_classNames = { 'Navigation-menu': true - }, _defineProperty$2(_classNames, 'Navigation-menu--vertical', true), _defineProperty$2(_classNames, 'Navigation-menu--active', activeMenu), _defineProperty$2(_classNames, 'Navigation-menu--rounded', expanded && rounded), _classNames)); + }, _defineProperty$1(_classNames, 'Navigation-menu--vertical', true), _defineProperty$1(_classNames, 'Navigation-menu--active', activeMenu), _defineProperty$1(_classNames, 'Navigation-menu--rounded', expanded && rounded), _classNames)); var menuIconClasses = classnames({ 'Navigation-menuIcon': true, 'Navigation-menuIcon--active': activeMenuIcon }); return /*#__PURE__*/React.createElement("div", { - key: index + key: index, + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuWrapper" }, /*#__PURE__*/React.createElement("div", { + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuItem", className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } }, menu.icon && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuIcon", className: menuIconClasses, name: menu.icon, appearance: getIconAppearance(activeMenuIcon, menu.disabled) @@ -18798,6 +21240,7 @@ var VerticalNavigation = function VerticalNavigation(props) { }, /*#__PURE__*/React.createElement(Text, { appearance: getTextAppearance(activeMenu, menu.disabled) }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-Navigation-VerticalNavigation--expandedSubMenuIcon", className: "mx-4", name: menuState[menu.name] ? 'keyboard_arrow_up' : 'keyboard_arrow_down', appearance: "subtle" @@ -18807,19 +21250,25 @@ var VerticalNavigation = function VerticalNavigation(props) { var _classNames2; var isActive = isMenuActive(menus, subMenu, active); - var subMenuClasses = classnames(menuClasses, (_classNames2 = {}, _defineProperty$2(_classNames2, 'Navigation-menu--subMenu', true), _defineProperty$2(_classNames2, 'Navigation-menu--active', isActive), _classNames2)); - return /*#__PURE__*/React.createElement("div", { - key: ind, - className: subMenuClasses, - onClick: function onClick() { - return onClickHandler(subMenu); - } - }, /*#__PURE__*/React.createElement(Text, { - appearance: getTextAppearance(isActive, subMenu.disabled) - }, subMenu.label)); + var subMenuClasses = classnames(menuClasses, (_classNames2 = {}, _defineProperty$1(_classNames2, 'Navigation-menu--subMenu', true), _defineProperty$1(_classNames2, 'Navigation-menu--active', isActive), _classNames2)); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", { + "data-test": "DesignSystem-Navigation-VerticalNavigation--subMenu", + key: ind, + className: subMenuClasses, + onClick: function onClick() { + return onClickHandler(subMenu); + } + }, /*#__PURE__*/React.createElement(Text, { + appearance: getTextAppearance(isActive, subMenu.disabled) + }, subMenu.label)) + ); }))); }); - var footerClasses = classnames(_defineProperty$2({ + var footerClasses = classnames(_defineProperty$1({ 'Navigation-footer': true }, 'Navigation-footer--border', true)); return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { @@ -18859,7 +21308,7 @@ var Navigation = function Navigation(props) { autoCollapse = props.autoCollapse, className = props.className; var baseProps = extractBaseProps(props); - var classes = classnames((_classNames = {}, _defineProperty$2(_classNames, 'Navigation', true), _defineProperty$2(_classNames, "Navigation--".concat(type), type), _defineProperty$2(_classNames, 'justify-content-center', type === 'horizontal' && align === 'center'), _defineProperty$2(_classNames, 'justify-content-start', type === 'horizontal' && align === 'left'), _defineProperty$2(_classNames, 'Navigation--collapsed', !expanded), _classNames), className); + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Navigation', true), _defineProperty$1(_classNames, "Navigation--".concat(type), type), _defineProperty$1(_classNames, 'justify-content-center', type === 'horizontal' && align === 'center'), _defineProperty$1(_classNames, 'justify-content-start', type === 'horizontal' && align === 'left'), _defineProperty$1(_classNames, 'Navigation--collapsed', !expanded), _classNames), className); var renderNavigation = function renderNavigation() { return type === 'horizontal' ? /*#__PURE__*/React.createElement(HorizontalNav, { @@ -18878,7 +21327,7 @@ var Navigation = function Navigation(props) { }); }; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: classes }), renderNavigation()); }; @@ -18908,12 +21357,12 @@ var PageHeader = function PageHeader(props) { var baseProps = extractBaseProps(props); var wrapperClasses = classnames((_classNames = { 'PageHeader-wrapper': true - }, _defineProperty$2(_classNames, 'PageHeader-wrapper--separator', separator), _defineProperty$2(_classNames, 'PageHeader-wrapper--withTabs', tabs), _classNames), className); + }, _defineProperty$1(_classNames, 'PageHeader-wrapper--separator', separator), _defineProperty$1(_classNames, 'PageHeader-wrapper--withTabs', tabs), _classNames), className); var classes = classnames({ PageHeader: true }); - var renderCenter = function renderCenter() { + var renderNav = function renderNav() { if (!navigation && !stepper) { return null; } @@ -18923,29 +21372,38 @@ var PageHeader = function PageHeader(props) { }, navigation || stepper); }; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { + var colSize = (navigation || stepper) && navigationPosition === 'center' ? '4' : actions ? '8' : '12'; + return /*#__PURE__*/React.createElement("div", _extends$2({}, baseProps, { className: wrapperClasses }), breadcrumbs, /*#__PURE__*/React.createElement("div", { className: classes }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { - size: "4", - sizeXL: "4", - sizeM: "4" + size: colSize, + sizeXL: colSize, + sizeM: colSize }, /*#__PURE__*/React.createElement("div", { className: "PageHeader-titleWrapper" }, /*#__PURE__*/React.createElement(Heading, { className: "PageHeader-title" - }, title), badge)), /*#__PURE__*/React.createElement(Column, { + }, title), badge)), (!breadcrumbs || navigationPosition === 'center') && colSize === '4' && /*#__PURE__*/React.createElement(Column, { + size: "4", + sizeXL: "4", + sizeM: "4" + }, renderNav()), actions ? /*#__PURE__*/React.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, (!breadcrumbs || navigationPosition === 'center') && renderCenter()), /*#__PURE__*/React.createElement(Column, { + }, /*#__PURE__*/React.createElement("div", { + className: "PageHeader-actionsWrapper" + }, actions)) : (navigation || stepper) && /*#__PURE__*/React.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, actions))), (status || meta) && /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React.createElement("div", { + className: "PageHeader-actionsWrapper" + })))), (status || meta) && /*#__PURE__*/React.createElement("div", { className: "PageHeader-statusWrapper" - }, status, meta), breadcrumbs && navigationPosition === 'bottom' && renderCenter(), tabs && /*#__PURE__*/React.createElement("div", null, tabs)); + }, status, meta), breadcrumbs && navigationPosition === 'bottom' && renderNav(), tabs && /*#__PURE__*/React.createElement("div", null, tabs)); }; PageHeader.defaultProps = { navigationPosition: 'center', @@ -18954,7 +21412,7 @@ PageHeader.defaultProps = { var useEffect = React.useEffect, useState = React.useState; -var IconMapping = { +var IconMapping$1 = { audio: 'audiotrack', image: 'image', video: 'movie', @@ -18974,9 +21432,9 @@ var FileIcon = function FileIcon(props) { setAnimate = _useState2[1]; var type = file.type.split('/')[0] || 'others'; - var fileType = IconMapping[type] ? type : 'others'; - var iconClass = classnames((_classNames = {}, _defineProperty$2(_classNames, 'FileIcon', true), _defineProperty$2(_classNames, 'FileIcon--animate', animate), _defineProperty$2(_classNames, "FileIcon--".concat(fileType), true), _classNames)); - var uploadingIconClass = classnames((_classNames2 = {}, _defineProperty$2(_classNames2, 'FileIcon', true), _defineProperty$2(_classNames2, 'FileIcon--uploading', true), _classNames2)); + var fileType = IconMapping$1[type] ? type : 'others'; + var iconClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'FileIcon', true), _defineProperty$1(_classNames, 'FileIcon--animate', animate), _defineProperty$1(_classNames, "FileIcon--".concat(fileType), true), _classNames)); + var uploadingIconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'FileIcon', true), _defineProperty$1(_classNames2, 'FileIcon--uploading', true), _classNames2)); useEffect(function () { if (status === 'completed') { setAnimate(true); @@ -18989,13 +21447,15 @@ var FileIcon = function FileIcon(props) { return /*#__PURE__*/React.createElement(ProgressRing, { size: "small", value: progress || 0, - className: uploadingIconClass + className: uploadingIconClass, + "data-test": "DesignSystem-FileListItem--ProgressRing" }); } return /*#__PURE__*/React.createElement(Icon, { - name: IconMapping[fileType], - className: iconClass + name: IconMapping$1[fileType], + className: iconClass, + "data-test": "DesignSystem-FileListItem--Icon" }); }; FileIcon.displayName = 'FileIcon'; @@ -19016,7 +21476,7 @@ var FileListItem = function FileListItem(props) { fileSize = props.fileSize; var name = file.name; var baseProps = extractBaseProps(props); - var FileItemClass = classnames(_defineProperty$2({}, 'FileItem', true), className); + var FileItemClass = classnames(_defineProperty$1({}, 'FileItem', true), className); var onClickHandler = function onClickHandler() { if (onClick) { @@ -19024,29 +21484,39 @@ var FileListItem = function FileListItem(props) { } }; - return /*#__PURE__*/React.createElement("div", _extends$3({}, baseProps, { - className: FileItemClass, - onClick: onClickHandler - }), /*#__PURE__*/React.createElement("div", { - className: "FileItem-file" - }, /*#__PURE__*/React.createElement("div", { - className: "FileItem-fileContent" - }, /*#__PURE__*/React.createElement(FileIcon, { - file: file, - status: status, - progress: progress - }), /*#__PURE__*/React.createElement(Text, { - className: "FileItem-text", - appearance: status === 'completed' ? 'default' : 'subtle' - }, name)), /*#__PURE__*/React.createElement("div", { - className: "FileItem-actions" - }, /*#__PURE__*/React.createElement(Text, { - className: "FileItem-size", - appearance: 'subtle' - }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React.createElement(Caption, { - className: 'FileItem-error', - error: true - }, errorMessage)); + return ( + /*#__PURE__*/ + // TODO(a11y) + // eslint-disable-next-line + React.createElement("div", _extends$2({}, baseProps, { + className: FileItemClass, + onClick: onClickHandler, + "data-test": "DesignSystem-FileListItem" + }), /*#__PURE__*/React.createElement("div", { + className: "FileItem-file" + }, /*#__PURE__*/React.createElement("div", { + className: "FileItem-fileContent" + }, /*#__PURE__*/React.createElement(FileIcon, { + file: file, + status: status, + progress: progress + }), /*#__PURE__*/React.createElement(Text, { + "data-test": "DesignSystem-FileListItem--Name", + className: "FileItem-text", + appearance: status === 'completed' ? 'default' : 'subtle' + }, name)), /*#__PURE__*/React.createElement("div", { + className: "FileItem-actions" + }, /*#__PURE__*/React.createElement(Text, { + className: "FileItem-size", + appearance: 'subtle', + "data-test": "DesignSystem-FileListItem--Size" + }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React.createElement(InlineMessage, { + size: "small", + appearance: "alert", + description: errorMessage, + className: 'FileItem-error' + })) + ); }; FileListItem.defaultProps = { progress: 0, @@ -19061,11 +21531,11 @@ var FileList = function FileList(props) { className = props.className; var baseProps = extractBaseProps(props); if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement(Card, _extends$3({}, baseProps, { + return /*#__PURE__*/React.createElement(Card, _extends$2({}, baseProps, { shadow: 'none', className: className }), fileList.map(function (fileItem, index) { - return /*#__PURE__*/React.createElement(FileListItem, _extends$3({ + return /*#__PURE__*/React.createElement(FileListItem, _extends$2({ key: index, onClick: onClick, actions: actionRenderer && actionRenderer(fileItem), @@ -19078,7 +21548,7 @@ FileList.defaultProps = { }; FileList.displayName = 'FileList'; -var _excluded = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"]; +var _excluded$2 = ["type", "fields", "placeholder", "autoFocus", "onComplete", "onFocus", "onBlur", "className", "value"]; var KEY_CODE = { backspace: 'Backspace', left: 'ArrowLeft', @@ -19103,7 +21573,7 @@ var VerificationCodeInput = function VerificationCodeInput(props) { onBlur = props.onBlur, className = props.className; props.value; - var rest = _objectWithoutProperties$1(props, _excluded); + var rest = _objectWithoutProperties(props, _excluded$2); var initialValues = useMemo(function () { if (props.value && props.value.length) { @@ -19210,54 +21680,62 @@ var VerificationCodeInput = function VerificationCodeInput(props) { switch (e.key) { case KEY_CODE.backspace: - e.preventDefault(); + { + e.preventDefault(); - var vals = _toConsumableArray(values); + var vals = _toConsumableArray(values); - if (values[index]) { - vals[index] = ''; - setValues(vals); - } else if (prev && prev.current) { - vals[prevIndex] = ''; - prev.current.focus({ - preventScroll: true - }); - setValues(vals); - } + if (values[index]) { + vals[index] = ''; + setValues(vals); + } else if (prev && prev.current) { + vals[prevIndex] = ''; + prev.current.focus({ + preventScroll: true + }); + setValues(vals); + } - break; + break; + } case KEY_CODE.left: - e.preventDefault(); + { + e.preventDefault(); - if (prev && prev.current) { - prev.current.focus({ - preventScroll: true - }); - } + if (prev && prev.current) { + prev.current.focus({ + preventScroll: true + }); + } - break; + break; + } case KEY_CODE.right: - e.preventDefault(); + { + e.preventDefault(); - if (nextRef && nextRef.current) { - nextRef.current.focus({ - preventScroll: true - }); - } + if (nextRef && nextRef.current) { + nextRef.current.focus({ + preventScroll: true + }); + } - break; + break; + } case KEY_CODE.up: case KEY_CODE.down: case KEY_CODE.e: case KEY_CODE.E: - if (type === 'number') { - e.preventDefault(); - } + { + if (type === 'number') { + e.preventDefault(); + } - break; + break; + } } }; @@ -19272,7 +21750,7 @@ var VerificationCodeInput = function VerificationCodeInput(props) { "data-test": "DesignSystem-VerificationCodeInput", className: "VerificationCodeInput" }, values.map(function (val, index) { - return /*#__PURE__*/React__default.createElement(Input, _extends$3({ + return /*#__PURE__*/React__default.createElement(Input, _extends$2({ key: index, className: wrapperClassNames(index), size: "large", @@ -19284,13 +21762,304 @@ var VerificationCodeInput = function VerificationCodeInput(props) { onFocus: onFocusHandler, onBlur: onBlurHandler, "data-id": index, - ref: refs[index] + ref: refs[index], + type: type }, rest)); })); }; VerificationCodeInput.displayName = 'VerificationCodeInput'; +VerificationCodeInput.defaultProps = { + type: 'number', + fields: 4 +}; + +var IconMapping = { + success: 'check_circle', + info: 'info', + warning: 'warning', + alert: 'error' +}; +var InlineMessage = function InlineMessage(props) { + var _classNames2; + + var appearance = props.appearance, + className = props.className, + description = props.description, + size = props.size; + var baseProps = extractBaseProps(props); + var InlineMessageClass = classnames(_defineProperty$1({}, 'InlineMessage', true), className); + var IconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'InlineMessage-icon--warning', appearance === 'warning'), _defineProperty$1(_classNames2, 'InlineMessage-icon--small', size === 'small'), _defineProperty$1(_classNames2, 'InlineMessage-icon--regular', size === 'regular'), _classNames2)); + var DescriptionClass = classnames(_defineProperty$1({}, "InlineMessage-text--".concat(appearance), appearance)); + var IconSize = size === 'small' ? 14 : 16; + var TextWeight = size === 'small' ? 'medium' : undefined; + return /*#__PURE__*/React.createElement("div", _extends$2({ + "data-test": "DesignSystem-InlineMessage" + }, baseProps, { + className: InlineMessageClass + }), appearance !== 'default' && /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-InlineMessage--Icon", + name: IconMapping[appearance], + appearance: appearance, + className: IconClass, + size: IconSize + }), /*#__PURE__*/React.createElement(Text, { + size: size, + weight: TextWeight, + className: DescriptionClass, + "data-test": "DesignSystem-InlineMessage--Description" + }, description)); +}; +InlineMessage.displayName = 'InlineMessage'; +InlineMessage.defaultProps = { + appearance: 'default', + description: '', + size: 'regular' +}; + +var renderCheckbox = function renderCheckbox(list, handleOnChange, ChoiceListDisabled, size, alignment, selected) { + return list.map(function (item, checkboxIndex) { + var name = item.name, + value = item.value, + helpText = item.helpText, + disabled = item.disabled, + label = item.label; + return /*#__PURE__*/React.createElement(Checkbox, { + key: checkboxIndex, + label: label, + onChange: handleOnChange, + disabled: disabled || ChoiceListDisabled, + helpText: helpText, + size: size, + name: name, + value: value, + defaultChecked: selected.length !== 0 && selected.includes(value), + className: getCheckboxClassName(alignment, checkboxIndex) + }); + }); +}; + +var renderRadio = function renderRadio(list, handleOnChange, ChoiceListDisabled, size, alignment, selected) { + return list.map(function (item, radioIndex) { + var name = item.name, + value = item.value, + helpText = item.helpText, + disabled = item.disabled, + label = item.label; + return /*#__PURE__*/React.createElement(Radio, { + key: radioIndex, + label: label, + onChange: handleOnChange, + disabled: disabled || ChoiceListDisabled, + helpText: helpText, + size: size, + name: name, + value: value, + defaultChecked: selected.length !== 0 && selected.includes(value), + className: getRadioClassName(alignment, radioIndex) + }); + }); +}; + +var getCheckboxClassName = function getCheckboxClassName(alignment, index) { + var _classNames; + + var ChoiceListCheckboxClass = classnames((_classNames = {}, _defineProperty$1(_classNames, "ChoiceList-checkbox--".concat(alignment), true), _defineProperty$1(_classNames, 'ml-0', index === 0 && alignment === 'horizontal'), _defineProperty$1(_classNames, 'mt-4', alignment === 'horizontal'), _classNames)); + return ChoiceListCheckboxClass; +}; + +var getRadioClassName = function getRadioClassName(alignment, index) { + var _classNames2; + + var ChoiceListRadioClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, "ChoiceList-radio--".concat(alignment), true), _defineProperty$1(_classNames2, 'ml-0', index === 0 && alignment === 'horizontal'), _defineProperty$1(_classNames2, 'mt-4', alignment === 'horizontal'), _classNames2)); + return ChoiceListRadioClass; +}; + +var ChoiceList = function ChoiceList(props) { + var title = props.title, + choices = props.choices, + _props$alignment = props.alignment, + alignment = _props$alignment === void 0 ? 'vertical' : _props$alignment, + _props$allowMultiple = props.allowMultiple, + allowMultiple = _props$allowMultiple === void 0 ? false : _props$allowMultiple, + onChange = props.onChange, + _props$disabled = props.disabled, + disabled = _props$disabled === void 0 ? false : _props$disabled, + _props$size = props.size, + size = _props$size === void 0 ? 'regular' : _props$size, + className = props.className; + var _props$selected = props.selected, + selected = _props$selected === void 0 ? [] : _props$selected; + var selectedChoiceValue = selected && selected || []; + var ChoiceListClass = classnames(_defineProperty$1({}, 'ChoiceList', true), className); + var ChoiceListVerticalClass = classnames(_defineProperty$1({}, 'ChoiceList--alignVertical', true)); + var ChoiceHorizontalClass = classnames(_defineProperty$1({}, 'ChoiceList--alignHorizontal', true)); + + var handleOnChange = function handleOnChange(e) { + if (e.target.checked && allowMultiple) { + if (!selectedChoiceValue.includes(e.target.value)) { + selectedChoiceValue = [].concat(_toConsumableArray(selectedChoiceValue), [e.target.value]); + } + } else if (!e.target.checked && allowMultiple) { + selectedChoiceValue = selectedChoiceValue.filter(function (el) { + return el !== e.target.value; + }); + } + + if (!allowMultiple) { + if (!selectedChoiceValue.includes(e.target.value)) { + selectedChoiceValue = []; + selectedChoiceValue = [].concat(_toConsumableArray(selectedChoiceValue), [e.target.value]); + } + } + + if (onChange) onChange(e, selectedChoiceValue); + }; + + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("fieldset", { + className: ChoiceListClass, + "data-test": "DesignSystem-ChoiceList-Wrapper" + }, title && title.trim() && /*#__PURE__*/React.createElement(Label, { + withInput: true + }, title.trim()), allowMultiple ? /*#__PURE__*/React.createElement("div", { + className: "".concat(alignment === 'horizontal' ? ChoiceHorizontalClass : ChoiceListVerticalClass) + }, renderCheckbox(choices, handleOnChange, disabled, size, alignment, selected)) : /*#__PURE__*/React.createElement("div", { + className: "".concat(alignment === 'horizontal' ? ChoiceHorizontalClass : ChoiceListVerticalClass) + }, renderRadio(choices, handleOnChange, disabled, size, alignment, selected)))); +}; +ChoiceList.displayName = 'ChoiceList'; +ChoiceList.defaultProps = { + alignment: 'vertical', + size: 'regular', + allowMultiple: false, + disabled: false +}; + +var Divider = function Divider(props) { + var _classNames; + + var vertical = props.vertical, + appearance = props.appearance, + className = props.className; + var baseProps = extractBaseProps(props); + var DividerClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'Divider', true), _defineProperty$1(_classNames, 'Divider--horizontal', !vertical), _defineProperty$1(_classNames, 'Divider--vertical', vertical), _defineProperty$1(_classNames, 'Divider--basic', !vertical && appearance !== 'header'), _defineProperty$1(_classNames, 'Divider--header', !vertical && appearance === 'header'), _classNames), className); + return /*#__PURE__*/React.createElement("hr", _extends$2({ + "data-test": "DesignSystem-Divider" + }, baseProps, { + className: DividerClass + })); +}; +Divider.displayName = 'Divider'; +Divider.defaultProps = { + appearance: 'basic', + vertical: false +}; + +var HelpText = function HelpText(props) { + var error = props.error, + message = props.message; + if (!message) return null; + + if (error) { + return /*#__PURE__*/React.createElement(InlineMessage, { + size: "small", + className: "mt-3", + appearance: "alert", + description: message + }); + } + + return /*#__PURE__*/React.createElement("div", { + className: "mt-3" + }, /*#__PURE__*/React.createElement(Text, { + appearance: "subtle", + size: "small", + weight: "medium" + }, message)); +}; +HelpText.displayName = 'HelpText'; + +var _excluded$1 = ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign", "iconVariations"]; +var sizeMapping = { + tiny: 12, + regular: 16 +}; +var LinkButton = /*#__PURE__*/React.forwardRef(function (props, ref) { + var _classNames, _classNames2; + + var children = props.children, + type = props.type, + className = props.className, + disabled = props.disabled, + tabIndex = props.tabIndex, + icon = props.icon, + subtle = props.subtle, + size = props.size, + iconAlign = props.iconAlign, + iconVariations = props.iconVariations, + rest = _objectWithoutProperties(props, _excluded$1); + + var buttonClass = classnames((_classNames = {}, _defineProperty$1(_classNames, 'LinkButton', true), _defineProperty$1(_classNames, "LinkButton--".concat(size), size), _defineProperty$1(_classNames, 'LinkButton--default', !subtle), _defineProperty$1(_classNames, 'LinkButton--subtle', subtle), _defineProperty$1(_classNames, "LinkButton--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$1(_classNames, "".concat(className), className), _classNames)); + var iconClass = classnames((_classNames2 = {}, _defineProperty$1(_classNames2, 'LinkButton-icon', true), _defineProperty$1(_classNames2, "LinkButton-icon--".concat(iconAlign), children && iconAlign), _classNames2)); + return /*#__PURE__*/React.createElement("button", _extends$2({ + ref: ref, + type: type, + "data-test": "DesignSystem-LinkButton", + className: buttonClass, + disabled: disabled, + tabIndex: tabIndex + }, rest), /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement("div", { + className: iconClass + }, /*#__PURE__*/React.createElement(Icon, { + "data-test": "DesignSystem-LinkButton--Icon", + name: icon, + variations: iconVariations, + size: size && sizeMapping[size] + })), children)); +}); +LinkButton.displayName = 'LinkButton'; +LinkButton.defaultProps = { + size: 'regular', + type: 'button', + iconAlign: 'left' +}; + +var _excluded = ["children", "disabled", "className", "zIndex", "onClick"]; +var ActionCard = function ActionCard(props) { + var _classNames; + + var children = props.children, + disabled = props.disabled, + className = props.className, + zIndex = props.zIndex, + onClick = props.onClick, + rest = _objectWithoutProperties(props, _excluded); + + var classes = classnames((_classNames = {}, _defineProperty$1(_classNames, 'ActionCard', true), _defineProperty$1(_classNames, 'ActionCard--disabled', disabled), _classNames), className); + + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter' && onClick) { + onClick(event); + } + }; + + return /*#__PURE__*/React.createElement("div", _extends$2({ + tabIndex: disabled ? -1 : 0, + role: "link", + "data-test": "DesignSystem-ActionCard", + className: classes, + onClick: onClick, + onKeyDown: onKeyDownHandler + }, rest), disabled && /*#__PURE__*/React.createElement("div", { + style: { + zIndex: zIndex + }, + "data-test": "DesignSystem-ActionCard-Overlay", + className: "ActionCard-overlay--disabled" + }), children); +}; +ActionCard.displayName = 'ActionCard'; -var version = "2.2.1"; +var version = "2.21.0"; -export { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, Collapsible, Column, DatePicker, DateRangePicker, Dialog, Dropdown, Dropzone, EditableChipInput, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, HorizontalNav, Icon, Input, InputMask, Label, Legend, Link, List, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index$1 as Utils, VerificationCodeInput, VerticalNav, version }; +export { ActionCard, Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardBody, CardFooter, CardHeader, CardSubdued, ChatMessage, Checkbox, Chip, ChipGroup, ChipInput, ChoiceList, Collapsible, Column, DatePicker, DateRangePicker, Dialog, Divider, Dropdown, Dropzone, EditableChipInput, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, HelpText, HorizontalNav, Icon, InlineMessage, Input, X as InputMask, Label, Legend, Link, LinkButton, List, Message, MetaList, MetricInput, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, MultiSlider, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderImage, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, Tabs, TabsWrapper, Text, Textarea, TimePicker, Toast, Tooltip, index as Utils, VerificationCodeInput, VerticalNav, version }; diff --git a/dist/index.js b/dist/index.js index afed478633..da655d5164 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,8 @@ /** - * Generated on: 1627478630381 + * Generated on: 1695030042950 * Package: @innovaccer/design-system - * Version: v2.2.1 + * Version: v2.21.0 * License: MIT * Docs: https://innovaccer.github.io/design-system */ @@ -12,7 +12,7 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('classnames'), require('react-dom'), require('react-popper')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'classnames', 'react-dom', 'react-popper'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.inno = {}, global.React, global.classNames, global.ReactDOM, global.ReactPopper)); -}(this, (function (exports, React, classNames, ReactDOM, reactPopper) { 'use strict'; +})(this, (function (exports, React, classNames, ReactDOM, reactPopper) { 'use strict'; function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } @@ -25,14 +25,12 @@ var d = Object.getOwnPropertyDescriptor(e, k); Object.defineProperty(n, k, d.get ? d : { enumerable: true, - get: function () { - return e[k]; - } + get: function () { return e[k]; } }); } }); } - n['default'] = e; + n["default"] = e; return Object.freeze(n); } @@ -202,52 +200,68 @@ return month <= 12 && date <= monthLength[month - 1]; }; - switch (format) { - case 'dd/mm/yyyy': - var p = val.split('/'); - var date = +p[0] || 1; - var month = +p[1] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'mm/dd/yyyy': - var p = val.split('/'); - var date = +p[1] || 1; - var month = +p[0] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'yyyy/mm/dd': - var p = val.split('/'); - var date = +p[2] || 1; - var month = +p[1] || 1; - var year = +p[0] || 1900; - return validate(date, month, year); - - case 'dd-mm-yyyy': - var p = val.split('-'); - var date = +p[0] || 1; - var month = +p[1] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'mm-dd-yyyy': - var p = val.split('-'); - var date = +p[1] || 1; - var month = +p[0] || 1; - var year = +p[2] || 1900; - return validate(date, month, year); - - case 'yyyy-mm-dd': - var p = val.split('-'); - var date = +p[2] || 1; - var month = +p[1] || 1; - var year = +p[0] || 1900; - return validate(date, month, year); + if (val) { + switch (format) { + case 'dd/mm/yyyy': + { + var p = val.split('/'); + var date_1 = +p[0] || 1; + var month = +p[1] || 1; + var year = +p[2] || 1900; + return validate(date_1, month, year); + } - default: - return false; + case 'mm/dd/yyyy': + { + var p = val.split('/'); + var date_2 = +p[1] || 1; + var month = +p[0] || 1; + var year = +p[2] || 1900; + return validate(date_2, month, year); + } + + case 'yyyy/mm/dd': + { + var p = val.split('/'); + var date_3 = +p[2] || 1; + var month = +p[1] || 1; + var year = +p[0] || 1900; + return validate(date_3, month, year); + } + + case 'dd-mm-yyyy': + { + var p = val.split('-'); + var date_4 = +p[0] || 1; + var month = +p[1] || 1; + var year = +p[2] || 1900; + return validate(date_4, month, year); + } + + case 'mm-dd-yyyy': + { + var p = val.split('-'); + var date_5 = +p[1] || 1; + var month = +p[0] || 1; + var year = +p[2] || 1900; + return validate(date_5, month, year); + } + + case 'yyyy-mm-dd': + { + var p = val.split('-'); + var date_6 = +p[2] || 1; + var month = +p[1] || 1; + var year = +p[0] || 1900; + return validate(date_6, month, year); + } + + default: + return false; + } } + + return false; }; var time$1 = function time(val, format) { var _a = getTimeObjFromStr(format, val), @@ -257,18 +271,26 @@ var hoursCond = isFormat12hour(format) ? hours <= 12 : hours < 24; return hoursCond && minutes <= 60; }; + var isNaturalNumber = function isNaturalNumber(val) { + if (typeof val === 'string' && /[^0-9]/.test(val) || typeof val === 'number' && (val <= 0 || val - Math.floor(val) !== 0)) { + return false; + } + + return true; + }; var validators = /*#__PURE__*/Object.freeze({ __proto__: null, isValid: isValid, date: date$1, - time: time$1 + time: time$1, + isNaturalNumber: isNaturalNumber }); var _a$1; var date = { - 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], + 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'mm/dd/yyyy': [/[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'yyyy/mm/dd': [/\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/], 'dd-mm-yyyy': [/[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], @@ -276,7 +298,7 @@ 'yyyy-mm-dd': [/\d/, /\d/, /\d/, /\d/, '-', /[01]/, /\d/, '-', /[0123]/, /\d/] }; var rangeDate = { - 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '/', /\[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], + 'dd/mm/yyyy': [/[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '/', /[01]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'mm/dd/yyyy': [/[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[01]/, /\d/, '/', /[0123]/, /\d/, '/', /\d/, /\d/, /\d/, /\d/], 'yyyy/mm/dd': [/\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/, ' ', '-', ' ', /\d/, /\d/, /\d/, /\d/, '/', /[01]/, /\d/, '/', /[0123]/, /\d/], 'dd-mm-yyyy': [/[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/, ' ', '-', ' ', /[0123]/, /\d/, '-', /[01]/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], @@ -292,14 +314,14 @@ time: time }); - var index$1 = /*#__PURE__*/Object.freeze({ + var index = /*#__PURE__*/Object.freeze({ __proto__: null, css: css, validators: validators, masks: masks }); - /*! ***************************************************************************** + /****************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -369,7 +391,7 @@ function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); - while (_) try { + while (g && (g = 0, op[0] && (_ = 0)), _) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { @@ -436,11 +458,11 @@ var DefaultAppearance = 'secondary'; var colors = ['accent4', 'primary', 'accent3', 'alert', 'accent2', 'warning', 'accent1', 'success']; var AvatarAppearance = appearance || colors[(initials.charCodeAt(0) + (initials.charCodeAt(1) || 0)) % 8] || DefaultAppearance; - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Avatar: true }, _a["Avatar--" + size] = size, _a["Avatar--" + AvatarAppearance] = AvatarAppearance, _a['Avatar--disabled'] = !initials || !withTooltip, _a), className); - var ContentClass = classNames__default['default']((_b = {}, _b["Avatar-content--" + size] = size, _b["Avatar-content--" + AvatarAppearance] = AvatarAppearance, _b)); - var IconClass = classNames__default['default']((_c = {}, _c["Avatar-content--" + AvatarAppearance] = AvatarAppearance, _c)); + var ContentClass = classNames__default["default"]((_b = {}, _b["Avatar-content--" + size] = size, _b["Avatar-content--" + AvatarAppearance] = AvatarAppearance, _b)); + var IconClass = classNames__default["default"]((_c = {}, _c["Avatar-content--" + AvatarAppearance] = AvatarAppearance, _c)); var renderAvatar = function renderAvatar() { return /*#__PURE__*/React__namespace.createElement("span", __assign({ @@ -481,6 +503,92 @@ size: 'regular' }; + var AvatarCount = function AvatarCount(props) { + var _a, _b; + + var hiddenAvatarCount = props.hiddenAvatarCount, + avatarStyle = props.avatarStyle, + size = props.size; + var ContentClass = classNames__default["default"]((_a = {}, _a["Avatar-content--secondary"] = true, _a["Avatar-content--tiny"] = size === 'tiny', _a)); + var AvatarVariantsClass = classNames__default["default"]((_b = { + Avatar: true + }, _b["Avatar--regular"] = size === 'regular', _b["Avatar--tiny"] = size === 'tiny', _b["Avatar--secondary"] = true, _b['Avatar--disabled'] = true, _b)); + return /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", + className: "AvatarCount-wrapper", + style: avatarStyle + }, /*#__PURE__*/React__namespace.createElement("span", { + className: AvatarVariantsClass + }, /*#__PURE__*/React__namespace.createElement(Text, { + appearance: 'white', + className: ContentClass + }, "+" + hiddenAvatarCount))); + }; + + var Avatars = function Avatars(props) { + var _a; + + var avatarList = props.avatarList, + avatarStyle = props.avatarStyle, + tooltipPosition = props.tooltipPosition, + size = props.size; + var GroupClass = classNames__default["default"]((_a = {}, _a["AvatarGroup-item"] = true, _a["AvatarGroup-item--tiny"] = size === 'tiny', _a["AvatarGroup-item--regular"] = size === 'regular', _a)); + var avatars = avatarList.map(function (item, index) { + var appearance = item.appearance, + firstName = item.firstName, + lastName = item.lastName; + return /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-AvatarGroup--Avatar", + className: GroupClass, + style: avatarStyle, + key: index + }, /*#__PURE__*/React__namespace.createElement(Avatar, { + size: size, + appearance: appearance, + firstName: firstName, + lastName: lastName, + withTooltip: true, + tooltipPosition: tooltipPosition + })); + }); + return avatars; + }; + + var AvatarPopperBody = function AvatarPopperBody(props) { + var hiddenAvatarList = props.hiddenAvatarList, + popperRenderer = props.popperRenderer, + maxHeight = props.maxHeight, + dark = props.dark; + + if (popperRenderer) { + return popperRenderer(hiddenAvatarList); + } + + return /*#__PURE__*/React__namespace.createElement("div", { + className: "py-6 pr-4 pl-6" + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "AvatarGroup-TextWrapper", + style: { + maxHeight: maxHeight + } + }, hiddenAvatarList.map(function (item, ind) { + var _a; + + var _b = item.firstName, + firstName = _b === void 0 ? '' : _b, + _c = item.lastName, + lastName = _c === void 0 ? '' : _c; + var name = firstName + " " + lastName; + var AvatarTextClass = classNames__default["default"]((_a = {}, _a["mb-5"] = ind < hiddenAvatarList.length - 1, _a)); + return /*#__PURE__*/React__namespace.createElement(Text, { + key: ind, + appearance: dark ? 'white' : 'default', + className: AvatarTextClass, + "data-test": "DesignSystem-AvatarGroup--Text" + }, name); + }))); + }; + var AvatarGroup = function AvatarGroup(props) { var _a, _b; @@ -489,7 +597,8 @@ popoverOptions = props.popoverOptions, tooltipPosition = props.tooltipPosition, list = props.list, - className = props.className; + className = props.className, + size = props.size; var popperRenderer = popoverOptions.popperRenderer, _c = popoverOptions.maxHeight, maxHeight = _c === void 0 ? 150 : _c, @@ -504,94 +613,52 @@ _h = popoverOptions.popperClassName, popperClassName = _h === void 0 ? '' : _h; var baseProps = extractBaseProps(props); - var extraAvatars = list.length > max ? list.length - max > 9 ? 9 : list.length - max : 0; + var hiddenAvatarCount = list.length > max ? Math.min(list.length - max, 99) : 0; var style = { - borderRadius: '50%', backgroundColor: "" + borderColor, - border: "var(--spacing-xs) solid " + borderColor, - boxShadow: "0 0 0 var(--spacing-xs) " + borderColor - }; - var AvatarGroupClass = classNames__default['default']((_a = {}, _a['AvatarGroup'] = true, _a), className); - var popperClass = classNames__default['default']((_b = {}, _b['AvatarGroup-Popper'] = true, _b), popperClassName); - var trigger = /*#__PURE__*/React__namespace.createElement("div", { - "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", - style: style - }, /*#__PURE__*/React__namespace.createElement(Avatar, { - appearance: "secondary", - firstName: "+", - lastName: "" + extraAvatars, - withTooltip: false - })); - - var renderPopper = function renderPopper() { - var extraAvatarsList = list.slice(max, list.length); - - if (popperRenderer && typeof renderPopper === 'function') { - return popperRenderer(extraAvatarsList); - } - - return /*#__PURE__*/React__namespace.createElement("div", { - className: "py-6 pr-4 pl-6" - }, /*#__PURE__*/React__namespace.createElement("div", { - className: "AvatarGroup-TextWrapper", - style: { - maxHeight: maxHeight - } - }, extraAvatarsList.map(function (item, ind) { - var _a = item.firstName, - firstName = _a === void 0 ? '' : _a, - _b = item.lastName, - lastName = _b === void 0 ? '' : _b; - var name = firstName + " " + lastName; - return /*#__PURE__*/React__namespace.createElement(Text, { - key: ind, - appearance: dark ? 'white' : 'default', - className: ind < extraAvatars - 1 ? 'mb-5' : '', - "data-test": "DesignSystem-AvatarGroup--Text" - }, name); - }))); + boxShadow: "0 0 0 calc(var(--spacing-xs) + var(--spacing-s)) " + borderColor }; - - var renderAvatars = function renderAvatars() { - var avatars = list.slice(0, max).map(function (item, index) { - var appearance = item.appearance, - firstName = item.firstName, - lastName = item.lastName; - return /*#__PURE__*/React__namespace.createElement("div", { - "data-test": "DesignSystem-AvatarGroup--Avatar", - className: "AvatarGroup-item", - style: style, - key: index - }, /*#__PURE__*/React__namespace.createElement(Avatar, { - appearance: appearance, - firstName: firstName, - lastName: lastName, - withTooltip: true, - tooltipPosition: tooltipPosition - })); - }); - return avatars; + var tinyAvatarStyle = { + boxShadow: "0 0 0 var(--spacing-s) " + borderColor }; - + var avatarStyle = size === 'tiny' ? __assign(__assign({}, style), tinyAvatarStyle) : style; + var AvatarGroupClass = classNames__default["default"]((_a = {}, _a['AvatarGroup'] = true, _a), className); + var popperClass = classNames__default["default"]((_b = {}, _b['AvatarGroup-Popper'] = true, _b), popperClassName); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-AvatarGroup" }, baseProps, { className: AvatarGroupClass + " d-inline-flex" - }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React__namespace.createElement(Popover, { + }), /*#__PURE__*/React__namespace.createElement(Avatars, { + size: size, + avatarList: list.slice(0, max), + avatarStyle: avatarStyle, + tooltipPosition: tooltipPosition + }), list.length - max > 0 && /*#__PURE__*/React__namespace.createElement(Popover, { on: on, dark: dark, - trigger: trigger, + trigger: /*#__PURE__*/React__namespace.createElement(AvatarCount, { + size: size, + hiddenAvatarCount: hiddenAvatarCount, + avatarStyle: avatarStyle + }), position: position, appendToBody: appendToBody, - className: popperClass - }, renderPopper())); + className: popperClass, + offset: "medium" + }, /*#__PURE__*/React__namespace.createElement(AvatarPopperBody, { + hiddenAvatarList: list.slice(max, list.length), + popperRenderer: popperRenderer, + maxHeight: maxHeight, + dark: dark + }))); }; AvatarGroup.displayName = 'AvatarGroup'; AvatarGroup.defaultProps = { max: 2, - borderColor: 'var(--white)', tooltipPosition: 'bottom', - popoverOptions: {} + borderColor: 'white', + popoverOptions: {}, + size: 'regular' }; var useEffect$1 = React__namespace.useEffect, @@ -612,7 +679,7 @@ animate = _c[0], setAnimate = _c[1]; - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ Backdrop: true, 'Backdrop--open': open, 'Backdrop-animation--open': animate, @@ -650,9 +717,13 @@ }, [props.open]); var BackdropElement = /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Backdrop", - "data-layer": true + "data-layer": true, + "data-opened": open }, baseProps, { - className: classes + className: classes, + style: { + zIndex: props.zIndex + } })), document.body); return BackdropElement; }; @@ -666,7 +737,7 @@ subtle = props.subtle, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Badge: true }, _a["Badge--" + appearance] = appearance && !subtle, _a["Badge--subtle-" + appearance] = subtle, _a), className); return /*#__PURE__*/React__namespace.createElement("span", __assign({ @@ -680,3607 +751,5039 @@ appearance: 'secondary' }; - /* eslint-disable no-undefined,no-param-reassign,no-shadow */ - - /** - * Throttle execution of a function. Especially useful for rate limiting - * execution of handlers on events like resize and scroll. - * - * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. - * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the - * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time - * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds, - * the internal counter is reset). - * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, - * to `callback` when the throttled-function is executed. - * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end), - * schedule `callback` to execute after `delay` ms. - * - * @returns {Function} A new, throttled, function. - */ - function throttle (delay, noTrailing, callback, debounceMode) { - /* - * After wrapper has stopped being called, this timeout ensures that - * `callback` is executed at the proper times in `throttle` and `end` - * debounce modes. - */ - var timeoutID; - var cancelled = false; // Keep track of the last time `callback` was executed. - - var lastExec = 0; // Function to clear existing timeout + var RenderLink = function RenderLink(_a) { + var item = _a.item, + onClick = _a.onClick; - function clearExistingTimeout() { - if (timeoutID) { - clearTimeout(timeoutID); + var onClickHandler = function onClickHandler(ev) { + if (onClick) { + ev.preventDefault(); + onClick(item.link); } - } // Function to cancel next exec - + }; - function cancel() { - clearExistingTimeout(); - cancelled = true; - } // `noTrailing` defaults to falsy. + return /*#__PURE__*/React__namespace.createElement(Link, { + className: "Breadcrumbs-link ellipsis--noWrap", + "data-test": "DesignSystem-Breadcrumbs-link", + href: item.link, + onClick: onClickHandler, + appearance: "subtle", + size: "tiny" + }, item.label); + }; + var RenderItem = function RenderItem(_a) { + var item = _a.item, + onClick = _a.onClick, + index = _a.index, + showTooltip = _a.showTooltip; + return /*#__PURE__*/React__namespace.createElement("div", { + key: index, + className: "Breadcrumbs-item", + "data-test": "DesignSystem-Breadcrumbs-item" + }, showTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: item.label, + position: "bottom" + }, /*#__PURE__*/React__namespace.createElement(RenderLink, { + item: item, + onClick: onClick + })) : /*#__PURE__*/React__namespace.createElement(RenderLink, { + item: item, + onClick: onClick + }), /*#__PURE__*/React__namespace.createElement("span", { + className: "Breadcrumbs-itemSeparator" + }, "/")); + }; - if (typeof noTrailing !== 'boolean') { - debounceMode = callback; - callback = noTrailing; - noTrailing = undefined; - } - /* - * The `wrapper` function encapsulates all of the throttling / debouncing - * functionality and when executed will limit the rate at which `callback` - * is executed. - */ + var renderDropdown = function renderDropdown(list, onClick) { + var options = list.map(function (item) { + return { + label: item.label, + value: item.link + }; + }); + var customTrigger = function customTrigger() { + return /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", + size: "tiny", + appearance: "transparent", + icon: "more_horiz_filled", + largeIcon: true, + className: "Breadcrumbs-Button", + "data-test": "DesignSystem-Breadcrumbs--Button" + }); + }; - function wrapper() { - for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) { - arguments_[_key] = arguments[_key]; + return /*#__PURE__*/React__namespace.createElement(Dropdown, { + className: "Breadcrumbs-dropdown", + triggerSize: 'tiny', + triggerOptions: { + customTrigger: customTrigger + }, + options: options, + menu: true, + onChange: function onChange(selected) { + if (onClick) { + onClick(selected); + } } + }); + }; - var self = this; - var elapsed = Date.now() - lastExec; - - if (cancelled) { - return; - } // Execute `callback` and update the `lastExec` timestamp. - - - function exec() { - lastExec = Date.now(); - callback.apply(self, arguments_); - } - /* - * If `debounceMode` is true (at begin) this is used to clear the flag - * to allow future `callback` executions. - */ + var Breadcrumbs = function Breadcrumbs(props) { + var _a; + var list = props.list, + onClick = props.onClick, + className = props.className, + showTooltip = props.showTooltip; + var baseProps = extractBaseProps(props); + var BreadcrumbClass = classNames__default["default"]((_a = {}, _a['Breadcrumbs'] = true, _a), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-Breadcrumbs" + }, baseProps, { + className: BreadcrumbClass + }), list.length <= 4 ? list.map(function (item, index) { + return /*#__PURE__*/React__namespace.createElement(RenderItem, { + key: index, + item: item, + onClick: onClick, + showTooltip: showTooltip + }); + }) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(RenderItem, { + item: list[0], + onClick: onClick, + showTooltip: showTooltip + }), /*#__PURE__*/React__namespace.createElement("div", { + className: "d-flex align-items-center" + }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React__namespace.createElement("span", { + className: "Breadcrumbs-itemSeparator" + }, "/")), /*#__PURE__*/React__namespace.createElement(RenderItem, { + item: list[list.length - 1], + onClick: onClick, + showTooltip: showTooltip + }))); + }; - function clear() { - timeoutID = undefined; - } + var sizeMapping$3 = { + tiny: 12, + regular: 16, + large: 20 + }; + var ButtonElement = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a, _b; - if (debounceMode && !timeoutID) { - /* - * Since `wrapper` is being called for the first time and - * `debounceMode` is true (at begin), execute `callback`. - */ - exec(); - } + var _c = props.size, + size = _c === void 0 ? 'regular' : _c, + _d = props.appearance, + appearance = _d === void 0 ? 'basic' : _d, + _e = props.iconAlign, + iconAlign = _e === void 0 ? 'left' : _e, + _f = props.tabIndex, + tabIndex = _f === void 0 ? 0 : _f, + largeIcon = props.largeIcon, + type = props.type, + children = props.children, + icon = props.icon, + expanded = props.expanded, + selected = props.selected, + loading = props.loading, + disabled = props.disabled, + className = props.className; + props.tooltip; + var iconVariations = props.iconVariations, + rest = __rest(props, ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className", "tooltip", "iconVariations"]); - clearExistingTimeout(); - - if (debounceMode === undefined && elapsed > delay) { - /* - * In throttle mode, if `delay` time has been exceeded, execute - * `callback`. - */ - exec(); - } else if (noTrailing !== true) { - /* - * In trailing throttle mode, since `delay` time has not been - * exceeded, schedule `callback` to execute `delay` ms after most - * recent execution. - * - * If `debounceMode` is true (at begin), schedule `clear` to execute - * after `delay` ms. - * - * If `debounceMode` is false (at end), schedule `callback` to - * execute after `delay` ms. - */ - timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay); - } - } - - wrapper.cancel = cancel; // Return the wrapper function. + var buttonClass = classNames__default["default"]((_a = {}, _a['Button'] = true, _a['Button--expanded'] = expanded, _a["Button--" + size] = size, _a["Button--" + size + "Square"] = !children, _a["Button--" + appearance] = appearance, _a['Button--selected'] = selected && (appearance === 'basic' || appearance === 'transparent'), _a["Button--iconAlign-" + iconAlign] = children && iconAlign, _a["" + className] = className, _a)); + var iconClass = classNames__default["default"]((_b = {}, _b['Button-icon'] = true, _b["Button-icon--" + iconAlign] = children && iconAlign, _b)); + return /*#__PURE__*/React__namespace.createElement("button", __assign({ + "data-test": "DesignSystem-Button", + ref: ref, + type: type, + className: buttonClass, + disabled: disabled || loading, + tabIndex: tabIndex + }, rest), loading ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Spinner, { + size: "small", + appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white', + "data-test": "DesignSystem-Button--Spinner", + className: "Button-spinner" + }), /*#__PURE__*/React__namespace.createElement(Text, { + className: "Button-text Button-text--hidden" + }, children || '')) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, icon && /*#__PURE__*/React__namespace.createElement("div", { + className: iconClass + }, /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-Button--Icon", + name: icon, + variations: iconVariations, + size: largeIcon && !children ? sizeMapping$3[size] + 4 : sizeMapping$3[size] + })), children && /*#__PURE__*/React__namespace.createElement("span", { + className: "Button-text" + }, children))); + }); + var Button = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var icon = props.icon, + tooltip = props.tooltip, + children = props.children; + return icon && tooltip && !children ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: tooltip + }, /*#__PURE__*/React__namespace.createElement(ButtonElement, __assign({}, props, { + ref: ref + }))) : /*#__PURE__*/React__namespace.createElement(ButtonElement, __assign({}, props, { + ref: ref + })); + }); + Button.displayName = 'Button'; - return wrapper; - } + function _typeof(obj) { + "@babel/helpers - typeof"; - /* eslint-disable no-undefined */ - /** - * Debounce execution of a function. Debouncing, unlike throttling, - * guarantees that a function is only executed a single time, either at the - * very beginning of a series of calls, or at the very end. - * - * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. - * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds - * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call. - * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset). - * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, - * to `callback` when the debounced-function is executed. - * - * @returns {Function} A new, debounced function. - */ + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function (obj) { + return typeof obj; + }; + } else { + _typeof = function (obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } - function debounce (delay, atBegin, callback) { - return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false); + return _typeof(obj); } - var getSearchedOptions = function getSearchedOptions(options, searchTerm) { - var result = options.filter(function (option) { - return option.label.toLowerCase().includes(searchTerm.toLowerCase()); - }); - return result; - }; - var _isEqual = function _isEqual(arr1, arr2) { - return arr1.length === arr2.length && arr1.every(function (option, index) { - return option.value === arr2[index].value || option.label === arr2[index].label; - }); - }; - var _isControlled = function _isControlled(selected) { - return selected !== undefined; + var config = { + yearBlockRange: 12, + yearsInRow: 3, + monthBlock: 12, + monthsInRow: 3, + daysInRow: 7, + months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + days: { + small: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + large: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] + } }; - var _isOpenControlled = function _isOpenControlled(open) { - return open !== undefined; + + var yearBlockRange = config.yearBlockRange; + var getIndexOfDay = function getIndexOfDay(day) { + return ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'].indexOf(day); }; - var _showSelectedItems = function _showSelectedItems(bulk, searchTerm, withCheckbox) { - return bulk && withCheckbox && searchTerm === ''; + var getYearBlock = function getYearBlock(year) { + return year - year % yearBlockRange; }; - var _isSelectAllPresent = function _isSelectAllPresent(searchTerm, bulkOptions, withSelectAll, withCheckbox) { - return withCheckbox && withSelectAll && bulkOptions === 0 && searchTerm === ''; + var getDaysInMonth = function getDaysInMonth(year, month) { + return new Date(year, month + 1, 0).getDate(); }; - var scrollTo = function scrollTo(element, top) { - element.scrollTo(0, top); + var getFirstDayOfMonth = function getFirstDayOfMonth(year, month) { + return new Date(year, month).getDay(); }; - var scrollIntoView = function scrollIntoView(menuElement, focusedElement) { - var menuRect = menuElement === null || menuElement === void 0 ? void 0 : menuElement.getBoundingClientRect(); - var focusedRect = focusedElement.getBoundingClientRect(); - var overscroll = focusedElement.offsetHeight; + var getDateInfo = function getDateInfo(d) { + if (d) { + var dateVal = convertToDate(d); - if (focusedRect.bottom > menuRect.bottom && menuElement) { - scrollTo(menuElement, focusedElement.offsetTop - menuRect.height + overscroll); - } else if (focusedRect.top < menuRect.top && menuElement) { - scrollTo(menuElement, focusedElement.offsetTop - overscroll); - } - }; - var getSelectAll$1 = function getSelectAll(selected, optionsLength, disabledOptionsLength) { - if (selected.length) { - if (selected.length > 0 && disabledOptionsLength > 0 && selected.length === optionsLength - disabledOptionsLength) { + if (dateVal) { + var year = dateVal.getFullYear(); + var month = dateVal.getMonth(); + var day = dateVal.getDay(); + var date = dateVal.getDate(); + var decadeYear = getYearBlock(year); return { - indeterminate: true, - checked: true + decadeYear: decadeYear, + year: year, + month: month, + day: day, + date: date }; + } else { + return {}; } - - var indeterminate = selected.length > 0 && selected.length !== optionsLength; - var checked = selected.length > 0 && selected.length === optionsLength; - var obj = { - checked: checked, - indeterminate: indeterminate - }; - return obj; } - return { - indeterminate: false, - checked: false - }; + return {}; }; + var convertToDate = function convertToDate(d, format, validators) { + var dateVal; - var DropdownButton = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a, _b; + if (d) { + if (typeof d === 'number') { + dateVal = new Date(d); + } else if (typeof d === 'string') { + return format ? translateToDate(format, d, validators) : undefined; + } else if (!(d instanceof Date)) { + var _a = d, + year = _a.year, + month = _a.month, + date = _a.date; + dateVal = new Date(year, month, date, 0, 0, 0); + } else { + dateVal = d; + } + } - var _c = props.triggerSize, - triggerSize = _c === void 0 ? 'regular' : _c, - _d = props.placeholder, - placeholder = _d === void 0 ? 'Select' : _d, - _e = props.menu, - menu = _e === void 0 ? false : _e, - children = props.children, - icon = props.icon, - disabled = props.disabled, - open = props.open, - inlineLabel = props.inlineLabel, - error = props.error, - rest = __rest(props, ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error"]); + return dateVal; + }; + var compareYearBlock = function compareYearBlock(d, operator, currDecade) { + if (d) { + var limitDecade = getDateInfo(d).decadeYear; - var buttonDisabled = disabled ? 'disabled' : 'default'; - var trimmedPlaceholder = placeholder.trim(); - var value = children ? children : trimmedPlaceholder; - var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; - var buttonClass = classNames__default['default']((_a = {}, _a['Button'] = true, _a['DropdownButton'] = true, _a["DropdownButton--" + triggerSize] = triggerSize, _a["DropdownButton--" + triggerSize + "Square"] = menu, _a['DropdownButton--placeholder'] = !children && !menu, _a['DropdownButton--icon'] = icon, _a['DropdownButton--open'] = open, _a['DropdownButton--error'] = error, _a)); - var textClass = classNames__default['default']((_b = {}, _b['Text'] = true, _b['Text--regular'] = true, _b['DropdownButton-text'] = true, _b)); - return /*#__PURE__*/React__namespace.createElement("button", __assign({ - ref: ref, - type: "button", - value: children, - className: buttonClass, - disabled: disabled, - tabIndex: 0, - "data-test": "DesignSystem-DropdownTrigger" - }, rest), !menu && /*#__PURE__*/React__namespace.createElement("div", { - className: "DropdownButton-wrapper" - }, inlineLabel && /*#__PURE__*/React__namespace.createElement(Text, { - appearance: "subtle", - className: "mr-4" - }, "" + inlineLabel.trim().charAt(0).toUpperCase() + inlineLabel.trim().slice(1)), icon && !inlineLabel && /*#__PURE__*/React__namespace.createElement(Icon, { - appearance: buttonDisabled, - className: "d-flex align-items-center mr-4", - name: icon - }), value && /*#__PURE__*/React__namespace.createElement("span", { - className: textClass - }, value)), /*#__PURE__*/React__namespace.createElement(Icon, { - appearance: buttonDisabled, - name: iconName - })); - }); - DropdownButton.displayName = 'DropdownButton'; + switch (operator) { + case 'less': + if (limitDecade < currDecade) return true; + break; - var GenericText = function GenericText(_a) { - var children = _a.children, - _b = _a.componentType, - componentType = _b === void 0 ? 'span' : _b, - className = _a.className, - props = __rest(_a, ["children", "componentType", "className"]); + case 'more': + if (limitDecade > currDecade) return true; + break; - return /*#__PURE__*/React__namespace.createElement(componentType, __assign(__assign({}, props), { - className: className - }), children); + case 'equal': + if (limitDecade === currDecade) return true; + break; + } + } + + return false; }; + var compareDate = function compareDate(d, operator, currYear, currMonth, currDate) { + if (d) { + var _a = getDateInfo(d), + limitYear = _a.year, + limitMonth = _a.month, + limitDate = _a.date; - var Text = function Text(props) { - var _a; + switch (operator) { + case 'less': + if (limitYear < currYear) return true; + if (limitYear > currYear) return false; - var appearance = props.appearance, - size = props.size, - children = props.children, - weight = props.weight, - small = props.small, - className = props.className, - rest = __rest(props, ["appearance", "size", "children", "weight", "small", "className"]); + if (currMonth !== undefined) { + if (limitMonth < currMonth) return true; + if (limitMonth > currMonth) return false; + } - var classes = classNames__default['default']((_a = { - Text: true - }, _a["Text--" + appearance] = appearance, _a["Text--" + weight] = weight, _a["Text--" + size] = size, _a['Text--small'] = size === 'small' || small, _a), className); - return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ - "data-test": "DesignSystem-Text" - }, rest, { - className: classes, - componentType: "span" - }), children); - }; - Text.displayName = 'Text'; - Text.defaultProps = { - appearance: 'default', - size: 'regular' - }; + if (currDate !== undefined && limitDate < currDate) return true; + break; - var Icon = function Icon(props) { - var _a; + case 'more': + if (limitYear > currYear) return true; + if (limitYear < currYear) return false; - var appearance = props.appearance, - className = props.className, - name = props.name, - size = props.size, - onClick = props.onClick, - children = props.children; - var baseProps = extractBaseProps(props); + if (currMonth !== undefined) { + if (limitMonth > currMonth) return true; + if (limitMonth < currMonth) return false; + } - var mapper = function mapper(val) { - if (val === 'outline') return 'outlined'; - if (val === 'rounded') return 'round'; - return val; - }; + if (currDate !== undefined && limitDate > currDate) return true; + break; - var type = mapper(props.type); + case 'equal': + if (currDate !== undefined) { + if (limitYear === currYear && limitMonth === currMonth && limitDate === currDate) return true; + } else if (currMonth !== undefined) { + if (limitYear === currYear && limitMonth === currMonth) return true; + } else if (limitYear === currYear) return true; - var getIconAppearance = function getIconAppearance(iconColor) { - var x = iconColor.indexOf('_'); - return iconColor.slice(0, x) + iconColor.charAt(x + 1).toUpperCase() + iconColor.slice(x + 2); - }; + } + } - var color = appearance && appearance.includes('_') ? getIconAppearance(appearance) : appearance; - var iconClass = classNames__default['default']((_a = {}, _a['material-icons'] = true, _a["material-icons-" + mapper(type)] = type && type !== 'filled', _a['Icon'] = true, _a["Icon--" + color] = appearance, _a["" + className] = className, _a)); - var styles = { - fontSize: size + "px", - width: size + "px" - }; + return false; + }; + var translateToString = function translateToString(format, d) { + if (format && d) { + var _a = getDateInfo(d), + year_1 = _a.year, + month_1 = _a.month, + date_1 = _a.date; - if (children && /*#__PURE__*/React__namespace.isValidElement(children)) { - return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { - className: className - }), children); + var separator_1 = format.includes('/') ? '/' : '-'; + var f_1 = format.split(separator_1); + var val = f_1.reduce(function (out, curr, i) { + switch (curr) { + case 'mm': + out += (month_1 < 9 && '0') + (month_1 + 1); + break; + + case 'yyyy': + out += year_1; + break; + + case 'dd': + out += (date_1 < 10 && '0') + date_1; + break; + } + + if (i !== f_1.length - 1) out += separator_1; + return out; + }, ''); + return val; } - return /*#__PURE__*/React__namespace.createElement("i", __assign({}, baseProps, { - className: iconClass, - style: styles, - onClick: onClick - }), type ? name + "_" + type : name); - }; - Icon.displayName = 'Icon'; - Icon.defaultProps = { - size: 16, - type: 'round' + return ''; }; + var translateToDate = function translateToDate(format, val, validators) { + if (validators === void 0) { + validators = []; + } - var uidGenerator = function uidGenerator() { - var dt = new Date().getTime(); - var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { - var r = (dt + Math.random() * 16) % 16 | 0; - dt = Math.floor(dt / 16); - var s = (c === 'x' ? r : r & 0x3 | 0x8).toString(16); - return s; - }); - return uuid; - }; + if (isValid(validators, val, format)) { + var separator = format.includes('/') ? '/' : '-'; + var year_2 = -1, + month_2 = -1, + date_2 = -1; + var v_1 = val.split(separator); + format.split(separator).forEach(function (f, i) { + switch (f) { + case 'mm': + month_2 = +v_1[i] - 1; + break; - var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { - var _a, _b, _c, _d, _e; + case 'yyyy': + year_2 = +v_1[i]; + break; - var _f = props.size, - size = _f === void 0 ? 'regular' : _f, - _g = props.tabIndex, - tabIndex = _g === void 0 ? 0 : _g, - defaultChecked = props.defaultChecked, - indeterminate = props.indeterminate, - label = props.label, - disabled = props.disabled, - onChange = props.onChange, - name = props.name, - value = props.value, - className = props.className; - props.checked; - var rest = __rest(props, ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "disabled", "onChange", "name", "value", "className", "checked"]); + case 'dd': + date_2 = +v_1[i]; + break; + } + }); + var d = convertToDate({ + year: year_2, + month: month_2, + date: date_2 + }); + return d; + } else { + return undefined; + } + }; + var dateComparison = function dateComparison(date, operator, currDate, currMonth, currYear) { + var currentDate = new Date(currYear + "-" + currMonth + "-" + currDate); - var ref = React__namespace.useRef(null); - React__namespace.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); + if (date) { + switch (operator) { + case 'less': + return date <= currentDate; - var _h = React__namespace.useState(props.checked === undefined ? defaultChecked : props.checked), - checked = _h[0], - setChecked = _h[1]; + case 'equal': + return date.toDateString() === currentDate.toDateString(); - React__namespace.useEffect(function () { - setIndeterminate(indeterminate); - }, [indeterminate]); - React__namespace.useEffect(function () { - if (props.checked !== undefined) { - setChecked(props.checked); + case 'more': + return date >= currentDate; + + default: + return false; } - }, [props.checked]); - var CheckboxClass = classNames__default['default']((_a = {}, _a['Checkbox'] = true, _a['Checkbox--disabled'] = disabled, _a), className); - var CheckboxOuterWrapper = classNames__default['default']((_b = {}, _b['Checkbox-outerWrapper'] = true, _b["Checkbox-outerWrapper--" + size] = size, _b)); - var CheckboxTextClass = classNames__default['default']((_c = {}, _c['Checkbox-label'] = true, _c)); - var CheckboxInputWrapper = classNames__default['default']((_d = {}, _d['Checkbox-input'] = true, _d['Checkbox-input--checked'] = checked, _d['Checkbox-input--indeterminate'] = props.indeterminate, _d)); - var CheckboxWrapper = classNames__default['default']((_e = {}, _e['Checkbox-wrapper'] = true, _e)); + } - var setIndeterminate = function setIndeterminate(indeterminateValue) { - ref.current.indeterminate = indeterminateValue; - }; + return false; + }; - var onChangeHandler = function onChangeHandler(e) { - if (props.checked === undefined) { - setChecked(e.target.checked); - setIndeterminate(e.target.indeterminate); - } + var Calendar = function (_super) { + __extends(Calendar, _super); - if (onChange) onChange(e); - }; + function Calendar(props) { + var _this = _super.call(this, props) || this; - var id = name + "-" + label + "-" + uidGenerator(); - var IconName = indeterminate ? 'remove' : checked ? 'check' : ''; - var IconSize = size === 'tiny' ? 12 : 16; - return /*#__PURE__*/React__namespace.createElement("div", { - className: CheckboxClass - }, /*#__PURE__*/React__namespace.createElement("div", { - className: CheckboxOuterWrapper - }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, rest, { - type: "checkbox", - defaultChecked: defaultChecked, - onChange: onChangeHandler, - checked: checked, - disabled: disabled, - ref: ref, - name: name, - value: value, - className: CheckboxInputWrapper, - tabIndex: tabIndex, - id: id - })), /*#__PURE__*/React__namespace.createElement("span", { - className: CheckboxWrapper - }, IconName && /*#__PURE__*/React__namespace.createElement(Icon, { - name: IconName, - size: IconSize, - appearance: 'white' - }))), label && label.trim() && /*#__PURE__*/React__namespace.createElement("label", { - htmlFor: id, - className: CheckboxTextClass - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: size === 'tiny' ? 'small' : 'regular', - appearance: disabled ? 'disabled' : 'default' - }, label.trim()))); - }); - Checkbox.displayName = 'Checkbox'; + _this.updateState = function (year, month, date) { + _this.setState({ + year: year, + month: month, + date: date + }); + }; - var CheckboxOption = function CheckboxOption(props) { - var className = props.className, - selected = props.selected, - optionData = props.optionData, - onChangeHandler = props.onChangeHandler, - onUpdateActiveOption = props.onUpdateActiveOption, - dataTest = props.dataTest; - var label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React__namespace.createElement("div", { - className: className, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React__namespace.createElement(Checkbox, { - label: label, - disabled: disabled, - checked: selected, - onChange: onChangeHandler, - tabIndex: -1, - className: "OptionCheckbox" - })); - }; + _this.getDateValue = function (year, month, date) { + var d = new Date(year, month, date); + return d; + }; - var DefaultOption = function DefaultOption(props) { - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - appearance = props.appearance, - onUpdateActiveOption = props.onUpdateActiveOption, - dataTest = props.dataTest; - var label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React__namespace.createElement("div", { - className: className, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React__namespace.createElement(Text, { - className: textClassName, - appearance: appearance - }, label))); - }; + _this.getNavDateInfo = function (index) { + var _a = _this.state, + yearBlockNav = _a.yearBlockNav, + yearNav = _a.yearNav, + monthNav = _a.monthNav; + var monthBlock = config.monthBlock; + var yearBlock = yearBlockNav; + var month = (monthNav + index) % monthBlock === -1 ? 11 : (monthNav + index) % monthBlock; + var year; - var MetaOption = function MetaOption(props) { - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - renderSubInfo = props.renderSubInfo, - appearance = props.appearance, - dataTest = props.dataTest; - var subInfo = optionData.subInfo, - label = optionData.label, - disabled = optionData.disabled; - return /*#__PURE__*/React__namespace.createElement("div", { - className: className, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React__namespace.createElement(Text, { - className: textClassName, - appearance: appearance - }, label), subInfo && renderSubInfo(subInfo))); - }; + if (index >= 0) { + year = yearNav + (index !== 0 && month < monthNav ? 1 : 0); + } else { + year = yearNav - (index !== 0 && month > monthNav ? 1 : 0); + } - var IconOption = function IconOption(props) { - var _a; + return { + yearBlock: yearBlock, + year: year, + month: month + }; + }; - var className = props.className, - textClassName = props.textClassName, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - appearance = props.appearance, - dataTest = props.dataTest; - var label = optionData.label, - icon = optionData.icon, - disabled = optionData.disabled; - var OptionClass = classNames__default['default']((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - className: OptionClass, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { - className: "Option-icon mr-4", - name: icon, - appearance: appearance - }), /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React__namespace.createElement(Text, { - className: textClassName, - appearance: appearance - }, label))); - }; + _this.getInRangeError = function () { + var _a = _this.props, + rangePicker = _a.rangePicker, + rangeLimit = _a.rangeLimit; + var _b = _this.state, + startDateState = _b.startDate, + endDateState = _b.endDate, + hoverDateState = _b.hoverDate; - var IconWithMetaOption = function IconWithMetaOption(props) { - var _a; + if (rangePicker && rangeLimit) { + var _c = getDateInfo(startDateState), + startYear = _c.year, + startMonth = _c.month, + startDate = _c.date; - var className = props.className, - textClassName = props.textClassName, - renderSubInfo = props.renderSubInfo, - onClickHandler = props.onClickHandler, - optionData = props.optionData, - onUpdateActiveOption = props.onUpdateActiveOption, - appearance = props.appearance, - dataTest = props.dataTest; - var subInfo = optionData.subInfo, - label = optionData.label, - icon = optionData.icon, - disabled = optionData.disabled; - var OptionClass = classNames__default['default']((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - className: OptionClass, - onClick: onClickHandler, - onMouseEnter: onUpdateActiveOption, - "data-test": dataTest, - "data-disabled": disabled - }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { - className: "Option-icon mr-4", - name: icon, - appearance: appearance - }), /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option-label' - }, /*#__PURE__*/React__namespace.createElement(Text, { - className: textClassName, - appearance: appearance - }, label), subInfo && renderSubInfo(subInfo))); - }; + var _d = getDateInfo(endDateState), + endYear = _d.year, + endMonth = _d.month, + endDate = _d.date; - var _a; - var OptionTypeMapping = (_a = {}, _a['DEFAULT'] = DefaultOption, _a['WITH_ICON'] = IconOption, _a['WITH_META'] = MetaOption, _a['WITH_CHECKBOX'] = CheckboxOption, _a['ICON_WITH_META'] = IconWithMetaOption, _a); + var _e = getDateInfo(hoverDateState), + hoverYear = _e.year, + hoverMonth = _e.month, + hoverDate = _e.date; - var Option = function Option(props) { - var _a, _b, _c, _d; + var limitDate = void 0; - var optionData = props.optionData, - selected = props.selected, - onClick = props.onClick, - updateActiveOption = props.updateActiveOption, - onChange = props.onChange, - active = props.active, - index = props.index, - checkboxes = props.checkboxes, - menu = props.menu; - var _e = (optionData.optionType ? optionData : props).optionType, - optionType = _e === void 0 ? 'DEFAULT' : _e; - var disabled = optionData.disabled; - var OptionClassName = classNames__default['default']((_a = {}, _a['Option'] = true, _a['Option--active'] = active, _a['Option--selected'] = selected && !menu, _a['Option--disabled'] = disabled, _a['OptionWrapper'] = true, _a)); - var CheckboxClassName = classNames__default['default']((_b = {}, _b['Option-checkbox'] = true, _b['Option-checkbox--active'] = active, _b['OptionWrapper'] = true, _b)); - var textClassName = classNames__default['default']((_c = {}, _c['Option-text'] = true, _c['Option-text--wrap'] = !props.truncateOption, _c)); - var customOptionClass = classNames__default['default']((_d = {}, _d['OptionWrapper'] = true, _d['OptionWrapper--disabled'] = disabled, _d)); + if (startDateState) { + limitDate = new Date(startDateState); + limitDate.setDate(startDate + rangeLimit); + return compareDate(limitDate, 'less', hoverYear, hoverMonth, hoverDate + 1) || compareDate(limitDate, 'less', endYear, endMonth, endDate + 1); + } - var onUpdateActiveOption = function onUpdateActiveOption() { - if (disabled) return; - if (updateActiveOption) updateActiveOption(index); - }; + if (endDateState) { + limitDate = new Date(endDateState); + limitDate.setDate(endDate - rangeLimit); + return compareDate(limitDate, 'more', hoverYear, hoverMonth, hoverDate - 1) || compareDate(limitDate, 'more', startYear, startMonth, startDate - 1); + } + } - var onClickHandler = function onClickHandler(e) { - e.stopPropagation(); - if (disabled) return; - if (onClick) onClick(); - }; + return false; + }; - var onChangeHandler = function onChangeHandler(e) { - e.stopPropagation(); - if (disabled) return; - if (onChange) onChange(e); - }; + _this.selectYear = function (year) { + return function () { + _this.updateState(year); - if (props.optionRenderer) { - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - className: customOptionClass, - "data-disabled": disabled, - onMouseEnter: onUpdateActiveOption - }, !checkboxes && { - onClick: onClick - }), props.optionRenderer({ - optionData: optionData, - selected: selected, - onChange: onChange, - active: active, - index: index - })); - } + _this.setState({ + view: 'month' + }); + }; + }; - var renderSubInfo = function renderSubInfo(subInfo) { - var labelAppearance = disabled ? 'disabled' : selected ? 'white' : 'subtle'; - var iconAppearance = selected ? 'white' : 'disabled'; + _this.yearMouseOverHandler = function (year, isCurrentYear, isDisabled, ev) { + var onYearHover = _this.props.onYearHover; + var yearData = { + value: year, + year: year, + isCurrentYear: isCurrentYear, + isDisabled: isDisabled + }; + if (onYearHover) onYearHover(yearData, ev); + }; - if (typeof subInfo === 'string') { - return /*#__PURE__*/React__namespace.createElement(Text, { - appearance: labelAppearance - }, subInfo); - } + _this.selectMonth = function (month) { + return function () { + _this.updateState(_this.state.yearNav, month); - var _a = subInfo.list, - list = _a === void 0 ? [] : _a, - seperator = subInfo.seperator; - return /*#__PURE__*/React__namespace.createElement(MetaList, { - list: list, - seperator: seperator, - iconAppearance: iconAppearance, - labelAppearance: labelAppearance, - seperatorAppearance: iconAppearance - }); - }; + _this.setState({ + view: 'date' + }); + }; + }; - var appearance = disabled ? 'disabled' : selected && !menu ? 'white' : 'default'; - var type = checkboxes ? 'WITH_CHECKBOX' : optionType; - var component = OptionTypeMapping[type]; - return component({ - selected: selected, - index: index, - renderSubInfo: renderSubInfo, - optionData: optionData, - textClassName: textClassName, - appearance: appearance, - onClickHandler: onClickHandler, - onChangeHandler: onChangeHandler, - onUpdateActiveOption: onUpdateActiveOption, - dataTest: "DesignSystem-DropdownOption--" + type, - className: checkboxes ? CheckboxClassName : OptionClassName - }); - }; + _this.monthMouseOverHandler = function (month, isCurrentMonth, isDisabled, ev) { + var months = config.months; + var onMonthHover = _this.props.onMonthHover; + var monthData = { + value: months[month], + month: months[month], + year: _this.state.year, + isCurrentMonth: isCurrentMonth, + isDisabled: isDisabled + }; + if (onMonthHover) onMonthHover(monthData, ev); + }; - var PlaceholderParagraph = function PlaceholderParagraph(props) { - var _a, _b; + _this.selectDate = function (index, date, prevMonthDayRange, dayRange) { + var d = _this.calculateDate(index, date, prevMonthDayRange, dayRange, false); - var length = props.length, - size = props.size, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { - 'Placeholder--animation': true, - PlaceholderParagraph: true - }, _a["PlaceholderParagraph--" + size] = size, _a)); - var wrapperClass = classNames__default['default']((_b = { - 'PlaceholderParagraph-wrapper': true - }, _b["PlaceholderParagraph-wrapper--length-" + length] = length, _b["PlaceholderParagraph-wrapper--size-" + size] = size, _b), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: wrapperClass - }), /*#__PURE__*/React__namespace.createElement("span", { - className: classes - })); - }; - PlaceholderParagraph.displayName = 'PlaceholderParagraph'; - PlaceholderParagraph.defaultProps = { - length: 'medium' - }; + _this.setState({ + currDate: d + }); + }; - var PlaceholderImage = function PlaceholderImage(props) { - var _a; + _this.calculateDate = function (index, date, prevMonthDayRange, dayRange, isDateHovered) { + var neighbouringMonthIndex; + var neighbouringMonthDate; + var type = ''; + + if (date <= 0) { + neighbouringMonthIndex = index - 1; + neighbouringMonthDate = prevMonthDayRange + date; + type = 'prev'; + } else if (date > dayRange) { + neighbouringMonthIndex = index; + neighbouringMonthDate = date; + } else { + neighbouringMonthIndex = index; + neighbouringMonthDate = date; + } - var _b = props.size, - size = _b === void 0 ? 'small' : _b, - round = props.round, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { - PlaceholderImage: true, - 'Placeholder--animation': true - }, _a['PlaceholderImage--round'] = round, _a["PlaceholderImage--" + size] = size, _a), className); - return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { - className: classes - })); - }; - PlaceholderImage.displayName = 'PlaceholderImage'; - PlaceholderImage.defaultProps = { - size: 'small' - }; + var _a = _this.getNavDateInfo(neighbouringMonthIndex), + year = _a.year, + month = _a.month; - var Placeholder = function Placeholder(props) { - var _a, _b; + if (isDateHovered === false) { + _this.updateState(year, month, neighbouringMonthDate); - var imageSize = props.imageSize, - withImage = props.withImage, - round = props.round, - children = props.children, - className = props.className; - var baseProps = extractBaseProps(props); - var paragraphClasses = classNames__default['default']((_a = { - 'Placeholder-paragraph': true - }, _a['Placeholder-paragraph--withImage'] = withImage, _a)); - var classes = classNames__default['default']((_b = {}, _b['Placeholder'] = true, _b), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-Placeholder" - }, baseProps, { - className: classes - }), withImage && /*#__PURE__*/React__namespace.createElement(PlaceholderImage, { - round: round, - size: imageSize, - "data-test": "DesignSystem-Placeholder--Image" - }), children && /*#__PURE__*/React__namespace.createElement("div", { - className: paragraphClasses, - "data-test": "DesignSystem-Placeholder--Paragraph" - }, children)); - }; - Placeholder.displayName = 'Placeholder'; - Placeholder.defaultProps = { - withImage: true, - imageSize: 'small' - }; + _this.onNavIconClickHandler(type)(); + } - var Loading = function Loading(props) { - var loadingType = props.loadingType; + var d = _this.getDateValue(year, month, neighbouringMonthDate); - switch (loadingType) { - case 'DEFAULT': - return /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: 'large' - }); + return d; + }; - case 'WITH_ICON': - return /*#__PURE__*/React__default['default'].createElement(Placeholder, { - withImage: true, - round: true - }, /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "large" - })); + _this.onNavIconClickHandler = function (type) { + return function () { + var _a = _this.state, + view = _a.view, + yearBlockNav = _a.yearBlockNav, + yearNav = _a.yearNav, + monthNav = _a.monthNav; + var yearBlockRange = config.yearBlockRange, + monthBlock = config.monthBlock; - case 'WITH_META': - return /*#__PURE__*/React__default['default'].createElement(Placeholder, { - withImage: false - }, /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "large" - }), /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "medium", - size: "xxs" - })); + switch (view) { + case 'year': + if (type === 'prev') _this.setState({ + yearBlockNav: yearBlockNav - yearBlockRange + }); + if (type === 'next') _this.setState({ + yearBlockNav: yearBlockNav + yearBlockRange + }); + break; - case 'WITH_CHECKBOX': - return /*#__PURE__*/React__default['default'].createElement(Placeholder, { - withImage: true - }, /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "large" - })); + case 'month': + if (type === 'prev') _this.setState({ + yearNav: yearNav - 1 + }); + if (type === 'next') _this.setState({ + yearNav: yearNav + 1 + }); + break; - case 'ICON_WITH_META': - return /*#__PURE__*/React__default['default'].createElement(Placeholder, { - withImage: true, - round: true, - imageSize: 'medium' - }, /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "large" - }), /*#__PURE__*/React__default['default'].createElement(PlaceholderParagraph, { - length: "medium", - size: "xxs" - })); - } + case 'date': + if (type === 'prev') { + if (monthNav === 0) _this.setState({ + yearNav: yearNav - 1 + }); - return null; - }; + _this.setState({ + monthNav: (monthBlock + monthNav - 1) % monthBlock + }); + } - var alignmentMapping = { - right: 'bottom-start', - left: 'bottom-end' - }; + if (type === 'next') { + if (monthNav === monthBlock - 1) _this.setState({ + yearNav: yearNav + 1 + }); - var DropdownList = function DropdownList(props) { - var _a, _b, _c; + _this.setState({ + monthNav: (monthNav + 1) % monthBlock + }); + } - var _d = props.listOptions, - listOptions = _d === void 0 ? [] : _d, - inputRef = props.inputRef, - _f = props.align, - align = _f === void 0 ? 'right' : _f, - _g = props.optionType, - optionType = _g === void 0 ? 'DEFAULT' : _g, - _h = props.applyButtonLabel, - applyButtonLabel = _h === void 0 ? 'Apply' : _h, - _j = props.cancelButtonLabel, - cancelButtonLabel = _j === void 0 ? 'Cancel' : _j, - _k = props.truncateOption, - truncateOption = _k === void 0 ? true : _k, - _l = props.withSelectAll, - withSelectAll = _l === void 0 ? true : _l, - _m = props.maxHeight, - maxHeight = _m === void 0 ? 200 : _m, - customTrigger = props.customTrigger, - selected = props.selected, - tempSelected = props.tempSelected, - previousSelected = props.previousSelected, - remainingOptions = props.remainingOptions, - firstEnabledOption = props.firstEnabledOption, - dropdownOpen = props.dropdownOpen, - menu = props.menu, - searchTerm = props.searchTerm, - showApplyButton = props.showApplyButton, - withCheckbox = props.withCheckbox, - withSearch = props.withSearch, - popoverOptions = props.popoverOptions, - onSearchChange = props.onSearchChange, - optionRenderer = props.optionRenderer, - applyOptions = props.applyOptions, - cancelOptions = props.cancelOptions, - toggleDropdown = props.toggleDropdown, - className = props.className; - var baseProps = extractBaseProps(props); - var dropdownRef = /*#__PURE__*/React__namespace.createRef(); - var triggerRef = /*#__PURE__*/React__namespace.createRef(); - var dropdownTriggerRef = /*#__PURE__*/React__namespace.createRef(); - var dropdownCancelButtonRef = /*#__PURE__*/React__namespace.createRef(); - var dropdownApplyButtonRef = /*#__PURE__*/React__namespace.createRef(); + break; + } + }; + }; - var _o = React__namespace.useState(), - popoverStyle = _o[0], - setPopoverStyle = _o[1]; + _this.renderJumpButton = function (type) { + var _a; - var _p = React__namespace.useState(firstEnabledOption), - cursor = _p[0], - setCursor = _p[1]; + var _b = _this.props, + disabledBefore = _b.disabledBefore, + disabledAfter = _b.disabledAfter, + size = _b.size; + var _c = _this.state, + view = _c.view, + yearBlockNav = _c.yearBlockNav, + yearNav = _c.yearNav, + monthNav = _c.monthNav; + var disabled = false; - React__namespace.useEffect(function () { - var _a; + switch (view) { + case 'year': + if (type === 'prev') { + disabled = compareYearBlock(disabledBefore, 'more', yearBlockNav) || compareYearBlock(disabledBefore, 'equal', yearBlockNav); + } - if (dropdownOpen) { - var width = props.width, - minWidth = props.minWidth, - maxWidth = props.maxWidth; - var popperWidth = (_a = triggerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth; - var popperMinWidth = showApplyButton ? 176 : menu ? 128 : popperWidth; - var popperWrapperStyle = { - width: width ? width : popperWidth, - minWidth: minWidth ? minWidth : popperMinWidth, - maxWidth: maxWidth ? maxWidth : '100%' - }; - setPopoverStyle(popperWrapperStyle); - } - }, [dropdownOpen]); - React__namespace.useEffect(function () { - if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); - }, [firstEnabledOption]); - var _q = props.triggerSize, - triggerSize = _q === void 0 ? 'regular' : _q, - _r = props.placeholder, - placeholder = _r === void 0 ? 'Select' : _r, - icon = props.icon, - error = props.error, - disabled = props.disabled, - inlineLabel = props.inlineLabel, - triggerLabel = props.triggerLabel; - var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); - var NewCustomTrigger = /*#__PURE__*/React__namespace.cloneElement(CustomTrigger, { - tabIndex: 0, - ref: dropdownTriggerRef - }); - var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React__namespace.createElement(DropdownButton, { - placeholder: placeholder, - triggerSize: triggerSize, - open: dropdownOpen, - icon: icon, - disabled: disabled, - inlineLabel: inlineLabel, - menu: menu, - error: error, - ref: dropdownTriggerRef - }, triggerLabel); - var dropdownStyle = { - maxHeight: maxHeight, - overflowY: 'auto', - overflowX: 'hidden' - }; + if (type === 'next') { + disabled = compareYearBlock(disabledAfter, 'less', yearBlockNav) || compareYearBlock(disabledAfter, 'equal', yearBlockNav); + } - var getDropdownClass = function getDropdownClass(index, isGroup) { - var _a; + break; - var Dropdown = classNames__default['default']((_a = {}, _a['Dropdown--border'] = isGroup && index !== 0, _a)); - return Dropdown; - }; + case 'month': + if (type === 'prev') { + disabled = compareDate(disabledBefore, 'more', yearNav - 1); + } - var getDropdownSectionClass = function getDropdownSectionClass(showClearButton) { - var _a; + if (type === 'next') { + disabled = compareDate(disabledAfter, 'less', yearNav + 1); + } - return classNames__default['default']((_a = {}, _a['Dropdown-section'] = true, _a['Dropdown-section--withClear'] = showClearButton, _a)); - }; + break; - var dropdownClass = classNames__default['default']((_a = {}, _a['Dropdown'] = true, _a), className); - var dropdownWrapperClass = classNames__default['default']((_b = {}, _b['Dropdown-wrapper'] = true, _b['Dropdown-wrapper--wrap'] = !truncateOption, _b)); - var SelectAllClass = classNames__default['default']((_c = {}, _c['Option-checkbox'] = true, _c['Option-checkbox--active'] = cursor === 0, _c['OptionWrapper'] = true, _c)); + case 'date': + if (type === 'prev') { + disabled = compareDate(disabledBefore, 'more', yearNav, monthNav - 1); + } - var onToggleDropdown = function onToggleDropdown(open, type) { - var _a; + if (type === 'next') { + disabled = compareDate(disabledAfter, 'less', yearNav, monthNav + 1); + } - toggleDropdown(open, type); - if (!disabled) (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - setCursor(firstEnabledOption); - }; + break; + } - var onCancelOptions = function onCancelOptions() { - var _a; + var headerIconClass = classNames__default["default"]((_a = { + 'Calendar-headerIcon': true + }, _a["Calendar-headerIcon--" + type] = type, _a)); + return /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", + className: headerIconClass, + appearance: "basic", + icon: "arrow_" + (type === 'next' ? 'forward' : 'back'), + disabled: disabled, + size: size === 'small' ? 'tiny' : 'regular', + onClick: _this.onNavIconClickHandler(type) + }); + }; - cancelOptions(); - (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - }; + _this.onNavHeadingClickHandler = function (currView) { + return function () { + var monthsInView = _this.props.monthsInView; + var jumpView = _this.props.jumpView; - var onApplyOptions = function onApplyOptions() { - var _a; + if (jumpView) { + if (monthsInView > 1) jumpView = false; + } - applyOptions(); - (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - }; + if (jumpView) { + if (currView === 'year') _this.setState({ + view: 'date' + }); + if (currView === 'month') _this.setState({ + view: 'year' + }); + if (currView === 'date') _this.setState({ + view: 'month' + }); + } + }; + }; - var optionClickHandler = function optionClickHandler(item) { - var _a; + _this.renderHeaderContent = function (index) { + var _a = _this.props, + size = _a.size, + monthsInView = _a.monthsInView, + rangePicker = _a.rangePicker; + var _b = _this.state, + view = _b.view, + yearBlockNav = _b.yearBlockNav; + var yearBlockRange = config.yearBlockRange, + months = config.months; - props.onOptionSelect(item); - (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - }; + var _c = _this.getNavDateInfo(index), + yearNavVal = _c.year, + monthNavVal = _c.month; - var searchClearHandler = function searchClearHandler() { - setCursor(firstEnabledOption); - if (onSearchChange && searchTerm) onSearchChange(''); - }; + var headerContentClass = classNames__default["default"]({ + 'Calendar-headerContent': true, + 'Calendar-headerContent--noIcon-left': index === monthsInView - 1, + 'Calendar-headerContent--noIcon-right': index === 0 + }); + var headerContent = ''; + if (view === 'year') headerContent = yearBlockNav + " - " + (yearBlockNav + (yearBlockRange - 1)); + if (view === 'month') headerContent = "" + yearNavVal; - var searchHandler = function searchHandler(event) { - setCursor(firstEnabledOption); - if (onSearchChange) onSearchChange(event.target.value); - }; + var renderHeading = function renderHeading(content) { + if (size === 'small') { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Text, { + weight: "strong" + }, content), view !== 'year' && !rangePicker && /*#__PURE__*/React__namespace.createElement(Icon, { + appearance: "inverse", + className: "pl-3", + name: "keyboard_arrow_down" + })); + } - var updateActiveOption = function updateActiveOption(index, parentCheckbox) { - var updatedIndex = withCheckbox && withSelectAll && !props.async && !parentCheckbox ? index + 1 : index; - setCursor(updatedIndex); - }; + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Heading, { + size: "s" + }, content), view !== 'year' && !rangePicker && /*#__PURE__*/React__namespace.createElement(Icon, { + appearance: "inverse", + className: "pl-3", + name: "keyboard_arrow_down" + })); + }; - var renderFooter = function renderFooter() { - var _a = props.footerLabel, - footerLabel = _a === void 0 ? 'Search for more options' : _a; - return /*#__PURE__*/React__namespace.createElement("div", { - className: 'Dropdown-footer' - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: "small", - appearance: 'subtle' - }, footerLabel)); - }; + return /*#__PURE__*/React__namespace.createElement("div", { + className: headerContentClass + }, view !== 'date' && /*#__PURE__*/React__namespace.createElement("div", { + className: "d-flex justify-content-center align-items-center", + onClick: _this.onNavHeadingClickHandler(view) + }, renderHeading(headerContent)), view === 'date' && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { + onClick: _this.onNavHeadingClickHandler(view), + className: "d-flex justify-content-center align-items-center" + }, renderHeading(months[monthNavVal])), /*#__PURE__*/React__namespace.createElement("div", { + className: "ml-4 d-flex justify-content-center align-items-center", + onClick: _this.onNavHeadingClickHandler('month') + }, renderHeading(yearNavVal)))); + }; - var renderGroups = function renderGroups(group, selectedGroup) { - var onClearOptions = props.onClearOptions; - var isClearDisabled = selected.every(function (option) { - return option.disabled; - }); - return /*#__PURE__*/React__namespace.createElement("div", { - className: getDropdownSectionClass(selectedGroup) - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: "small", - appearance: 'subtle' - }, group), selectedGroup && /*#__PURE__*/React__namespace.createElement(Button, { - onClick: onClearOptions, - disabled: isClearDisabled, - appearance: "transparent", - size: "tiny", - type: "button" - }, "Clear")); - }; + _this.renderBodyYear = function () { + var yearBlockRange = config.yearBlockRange, + yearsInRow = config.yearsInRow; + var _a = _this.props, + size = _a.size, + rangePicker = _a.rangePicker, + disabledBefore = _a.disabledBefore, + disabledAfter = _a.disabledAfter; + var _b = _this.state, + yearBlockNav = _b.yearBlockNav, + currYear = _b.currYear; + var noOfRows = Math.ceil(yearBlockRange / yearsInRow); + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React__namespace.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: yearsInRow + }, function (_x, col) { + var _a; - var renderApplyButton = function renderApplyButton() { - var disable = _isEqual(previousSelected, tempSelected); + var offset = yearsInRow * row + col; + if (offset === yearBlockNav) return undefined; + var year = yearBlockNav + offset; + var disabled = compareDate(disabledBefore, 'more', year) || compareDate(disabledAfter, 'less', year); + var active = !disabled && !rangePicker && year === _this.state.year; - return /*#__PURE__*/React__namespace.createElement("div", { - className: 'Dropdown-buttonWrapper' - }, /*#__PURE__*/React__namespace.createElement(Button, { - ref: dropdownCancelButtonRef, - className: "mr-4", - appearance: 'basic', - onClick: onCancelOptions, - size: 'tiny', - tabIndex: -1, - type: "button" - }, cancelButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { - ref: dropdownApplyButtonRef, - appearance: 'primary', - disabled: disable, - size: 'tiny', - onClick: onApplyOptions, - type: "button" - }, applyButtonLabel)); - }; + var isCurrentYear = function isCurrentYear() { + return year === currYear; + }; - var renderSearch = function renderSearch() { - return /*#__PURE__*/React__namespace.createElement("div", { - className: 'Dropdown-inputWrapper' - }, /*#__PURE__*/React__namespace.createElement(Input, { - name: "Dropdown-search", - icon: 'search', - value: searchTerm, - placeholder: 'Search..', - autoFocus: true, - onChange: searchHandler, - onClear: searchClearHandler, - ref: inputRef, - autoComplete: 'off', - className: "Dropdown-input" - })); - }; + var valueClass = classNames__default["default"]((_a = { + 'Calendar-value': true, + 'Calendar-value--active': active, + 'Calendar-value--disabled': disabled, + 'Calendar-yearValue': true + }, _a["Calendar-yearValue--" + size] = size, _a['Calendar-value--currDateMonthYear'] = isCurrentYear(), _a)); + var textClass = classNames__default["default"]({ + 'Calendar-value--currDate': isCurrentYear() && !active, + 'Calendar-text': true + }); + var getTextColor = classNames__default["default"]({ + inverse: !active && !isCurrentYear() && !disabled, + white: active, + 'primary-lighter': isCurrentYear() && disabled, + primary: isCurrentYear(), + 'inverse-lightest': disabled + }); + return /*#__PURE__*/React__namespace.createElement("div", { + key: row + "-" + col, + "data-test": "DesignSystem-Calendar--yearValue", + className: valueClass, + onClick: _this.selectYear(year), + onMouseOver: _this.yearMouseOverHandler.bind(_this, year, isCurrentYear(), disabled) + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: size === 'small' ? 'small' : 'regular', + color: getTextColor, + className: textClass + }, year)); + })); + }); + }; - var renderLoading = function renderLoading(loadersLength) { - var arr = Array(loadersLength).fill('Loading'); - var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; - return arr.map(function (option, ind) { - return /*#__PURE__*/React__namespace.createElement("div", { - className: "Option-loading", - key: option + "-" + ind - }, /*#__PURE__*/React__namespace.createElement(Loading, { - loadingType: type - })); - }); - }; + _this.renderBodyMonth = function () { + var monthBlock = config.monthBlock, + monthsInRow = config.monthsInRow, + months = config.months; + var _a = _this.props, + size = _a.size, + disabledBefore = _a.disabledBefore, + disabledAfter = _a.disabledAfter; + var _b = _this.state, + yearNav = _b.yearNav, + year = _b.year, + currYear = _b.currYear, + currMonth = _b.currMonth; + var noOfRows = Math.ceil(monthBlock / monthsInRow); + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React__namespace.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: monthsInRow + }, function (_x, col) { + var _a; - var renderSelectAll = function renderSelectAll() { - var _a = props.selectAllLabel, - selectAllLabel = _a === void 0 ? 'Select All' : _a, - selectAll = props.selectAll, - onSelectAll = props.onSelectAll; - var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; - return /*#__PURE__*/React__namespace.createElement("div", { - className: SelectAllClass, - onMouseEnter: function onMouseEnter(_e) { - return updateActiveOption(0, true); - } - }, /*#__PURE__*/React__namespace.createElement(Checkbox, { - label: label, - onChange: onSelectAll, - checked: selectAll.checked, - indeterminate: selectAll.indeterminate, - tabIndex: -1, - className: "OptionCheckbox" - })); - }; + var month = monthsInRow * row + col; + var disabled = compareDate(disabledBefore, 'more', yearNav, month) || compareDate(disabledAfter, 'less', yearNav, month); + var active = !disabled && year === yearNav && month === _this.state.month; - var renderOptions = function renderOptions(item, index) { - var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); - - var active = selectAllPresent ? index + 1 === cursor : index === cursor; - var optionIsSelected = tempSelected.findIndex(function (option) { - return option.value === item.value; - }) !== -1; - return /*#__PURE__*/React__namespace.createElement(Option, { - optionData: item, - truncateOption: truncateOption, - selected: optionIsSelected, - index: index, - updateActiveOption: updateActiveOption, - optionRenderer: optionRenderer, - active: active, - checkboxes: withCheckbox, - menu: menu, - onClick: function onClick() { - return optionClickHandler(item); - }, - onChange: function onChange(e) { - return props.onSelect(item, e.target.checked); - }, - optionType: props.optionType - }); - }; - - var renderDropdownSection = function renderDropdownSection() { - var _a = props.selectedSectionLabel, - selectedSectionLabel = _a === void 0 ? 'Selected Items' : _a, - _b = props.loadersCount, - loadersCount = _b === void 0 ? 10 : _b, - loadingOptions = props.loadingOptions; + var isCurrentMonth = function isCurrentMonth() { + return currYear === yearNav && currMonth === month; + }; - var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); + var valueClass = classNames__default["default"]((_a = { + 'Calendar-value': true, + 'Calendar-value--active': active, + 'Calendar-value--disabled': disabled, + 'Calendar-monthValue': true + }, _a["Calendar-monthValue--" + size] = size, _a['Calendar-value--currDateMonthYear'] = isCurrentMonth(), _a)); + var getTextColor = classNames__default["default"]({ + inverse: !active && !isCurrentMonth() && !disabled, + white: active, + 'primary-lighter': isCurrentMonth() && disabled, + primary: isCurrentMonth(), + 'inverse-lightest': disabled + }); + var textClass = classNames__default["default"]({ + 'Calendar-value--currDate': isCurrentMonth() && !active, + 'Calendar-text': true + }); + return /*#__PURE__*/React__namespace.createElement("div", { + key: row + "-" + col, + "data-test": "DesignSystem-Calendar--monthValue", + className: valueClass, + onClick: _this.selectMonth(month), + onMouseOver: _this.monthMouseOverHandler.bind(_this, month, isCurrentMonth(), disabled) + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: size === 'small' ? 'small' : 'regular', + color: getTextColor, + className: textClass + }, months[month])); + })); + }); + }; - if (loadersCount && loadingOptions) { - return /*#__PURE__*/React__namespace.createElement("div", { - className: 'Dropdown-loading' - }, /*#__PURE__*/React__namespace.createElement("div", { - className: "Dropdown-wrapper", - style: dropdownStyle - }, renderLoading(loadersCount))); - } + _this.onDateRowMouseLeaveHandler = function () { + var rangePicker = _this.props.rangePicker; - if (listOptions.length === 0 && !loadingOptions) { - var _c = props.noResultMessage, - noResultMessage = _c === void 0 ? 'No result found' : _c; - return /*#__PURE__*/React__namespace.createElement("div", { - className: 'Dropdown-errorWrapper' - }, /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option' - }, /*#__PURE__*/React__namespace.createElement("div", { - className: 'Option-subinfo' - }, noResultMessage))); - } + if (rangePicker) { + _this.setState({ + hoverDate: undefined + }); + } + }; - return /*#__PURE__*/React__namespace.createElement("div", { - className: dropdownWrapperClass, - style: dropdownStyle, - ref: dropdownRef - }, selectAllPresent && renderSelectAll(), selected.length > 0 && renderGroups(selectedSectionLabel, true), selected.map(function (option, index) { - return renderOptions(option, index); - }), listOptions.map(function (option, index) { - var prevGroup = index > 0 ? listOptions[index - 1].group : selected.length ? selectedSectionLabel : undefined; - var currentGroup = option.group; - var isGroup = prevGroup !== currentGroup; - var updatedIndex = index + selected.length; - return /*#__PURE__*/React__namespace.createElement("div", { - className: getDropdownClass(updatedIndex, isGroup), - key: index - }, isGroup && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); - }), props.async && remainingOptions > 0 && renderFooter()); - }; + _this.renderBodyDate = function (index) { + var daysInRow = config.daysInRow, + days = config.days; + var _a = _this.props, + size = _a.size, + firstDayOfWeek = _a.firstDayOfWeek; + var textSize = size === 'large' ? 'regular' : 'small'; + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { + className: "Calendar-dayValues" + }, Array.from({ + length: 7 + }, function (_x, day) { + var valueClass = classNames__default["default"]({ + 'Calendar-valueWrapper': true + }); + var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; + return /*#__PURE__*/React__namespace.createElement(Text, { + key: day, + className: valueClass, + appearance: "default", + weight: "strong", + size: textSize + }, days[size][dayValue]); + })), /*#__PURE__*/React__namespace.createElement("div", { + className: "Calendar-dateValues", + onMouseLeave: _this.onDateRowMouseLeaveHandler + }, _this.renderDateValues(index))); + }; - var focusOption = function focusOption(direction, classes) { - var elements = document.querySelectorAll(classes); - var updatedCursor = direction === 'down' ? cursor + 1 : cursor - 1; - var startIndex = updatedCursor; - var endIndex = direction === 'down' ? elements.length : -1; + _this.renderDateValues = function (index) { + var daysInRow = config.daysInRow, + monthBlock = config.monthBlock; + var _a = _this.props, + size = _a.size, + rangePicker = _a.rangePicker, + firstDayOfWeek = _a.firstDayOfWeek, + disabledBefore = _a.disabledBefore, + disabledAfter = _a.disabledAfter, + monthsInView = _a.monthsInView, + onDateHover = _a.onDateHover; + var _b = _this.state, + startDate = _b.startDate, + endDate = _b.endDate, + hoverDate = _b.hoverDate, + yearState = _b.year, + monthState = _b.month, + dateState = _b.date, + currMonth = _b.currMonth, + currYear = _b.currYear, + todayDate = _b.todayDate; - while (startIndex !== endIndex) { - var node = elements[startIndex]; + var _c = _this.getNavDateInfo(index), + yearNavVal = _c.year, + monthNavVal = _c.month; - if (node.getAttribute('data-disabled') !== 'true') { - var element = elements[startIndex]; - if (element) scrollIntoView(dropdownRef.current, element); - if (element !== undefined) setCursor(startIndex); - break; - } + var prevMonth = monthNavVal - 1; + var prevYear = yearNavVal; + var prevMonthDayRange = getDaysInMonth(prevYear, prevMonth); + var dayRange = getDaysInMonth(yearNavVal, monthNavVal); + var dayDiff = getFirstDayOfMonth(yearNavVal, monthNavVal) - getIndexOfDay(firstDayOfWeek); + var dummyDays = Math.abs(dayDiff); + var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); - if (direction === 'down') { - startIndex++; - } else { - startIndex--; + if (noOfRows === 6) ; else if (monthsInView > 1) ; else { + noOfRows = noOfRows + 1; } - } - }; - - var onkeydown = function onkeydown(event) { - var _a, _b, _c; - var optionClass = '.OptionWrapper'; + var inRangeError = _this.getInRangeError(); - switch (event.key) { - case 'ArrowDown': - event.preventDefault(); - dropdownOpen ? focusOption('down', optionClass) : onToggleDropdown(!dropdownOpen); - break; + var events = _this.props.events; - case 'ArrowUp': - event.preventDefault(); - dropdownOpen ? focusOption('up', optionClass) : onToggleDropdown(!dropdownOpen); - break; + var onClickHandler = function onClickHandler(date) { + return function () { + if (rangePicker) { + if (startDate && endDate) { + _this.selectDate(index, date, prevMonthDayRange, dayRange); + } else { + if (!inRangeError) _this.selectDate(index, date, prevMonthDayRange, dayRange); + } + } else { + _this.selectDate(index, date, prevMonthDayRange, dayRange); + } + }; + }; - case 'Enter': - var activeElement = document.activeElement; - - if (dropdownOpen && (inputRef.current === activeElement || dropdownTriggerRef.current === activeElement)) { - event.preventDefault(); - var classes = withCheckbox ? optionClass + " .Checkbox-input" : optionClass; - var elements = document.querySelectorAll(classes); - var element = elements[cursor]; - if (element) element.click(); - } + var onMouseOverHandler = function onMouseOverHandler(date) { + return function () { + if (rangePicker) { + var d = _this.getDateValue(yearNavVal, monthNavVal, date); - if (!dropdownOpen) onToggleDropdown(!dropdownOpen); - break; + if (!startDate || !endDate) { + _this.setState({ + hoverDate: d + }); + } + } + }; + }; - case 'Tab': - if (!showApplyButton && dropdownOpen) { - event.preventDefault(); - onToggleDropdown(false, 'onClick'); - return; - } + var onMouseEnterHandler = function onMouseEnterHandler(date, isToday, isDisabled, ev) { + var d = _this.calculateDate(index, date, prevMonthDayRange, dayRange, true) || new Date(); + var months = config.months, + days = config.days; + var dayName = days.large[d.getDay()]; + var dateData = { + value: d.getDate(), + isToday: isToday, + isDisabled: isDisabled, + todayDate: _this.state.currDate, + fullDate: d, + date: d.getDate(), + month: months[d.getMonth()], + year: d.getFullYear(), + dayName: dayName + }; + if (onDateHover) onDateHover(dateData, ev); + }; - var currentElement = document.activeElement; - var disabledApplyButton = (_a = dropdownApplyButtonRef.current) === null || _a === void 0 ? void 0 : _a.disabled; + return Array.from({ + length: noOfRows + }, function (_y, row) { + return /*#__PURE__*/React__namespace.createElement("div", { + key: row, + className: "Calendar-valueRow" + }, Array.from({ + length: daysInRow + }, function (_x, col) { + var _a; - if ((currentElement === dropdownCancelButtonRef.current && disabledApplyButton || currentElement === dropdownApplyButtonRef.current) && dropdownOpen) { - event.preventDefault(); - onToggleDropdown(false, 'onClick'); - return; - } + var date = daysInRow * row + col - dummyDays + 1; + var dummy = date <= 0 || date > dayRange; + var disabled = compareDate(disabledBefore, 'more', yearNavVal, monthNavVal, date) || compareDate(disabledAfter, 'less', yearNavVal, monthNavVal, date); + var active = !disabled && yearState === yearNavVal && monthState === monthNavVal && dateState === date; - if (showApplyButton && dropdownOpen) { - event.preventDefault(); + var today = function today() { + var boolVal; - if (currentElement === dropdownCancelButtonRef.current) { - (_b = dropdownApplyButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus(); - } else { - (_c = dropdownCancelButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus(); - } - } + if (date <= 0) { + boolVal = currYear === yearNavVal && currMonth === monthNavVal - 1 && todayDate === prevMonthDayRange + date; + } else if (date > dayRange) { + boolVal = currYear === yearNavVal && currMonth === monthNavVal + 1 && todayDate === date - dayRange; + } else { + boolVal = currYear === yearNavVal && currMonth === monthNavVal && todayDate === date; + } - break; - } - }; + return boolVal; + }; - return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: dropdownClass, - ref: triggerRef, - onKeyDown: onkeydown - }), /*#__PURE__*/React__namespace.createElement(Popover, __assign({ - onToggle: onToggleDropdown, - trigger: trigger, - triggerClass: !menu ? 'w-100' : '', - open: dropdownOpen, - customStyle: popoverStyle, - position: alignmentMapping[align] - }, popoverOptions), (withSearch || props.async) && renderSearch(), renderDropdownSection(), showApplyButton && withCheckbox && renderApplyButton())); - }; + var startActive = false; + var endActive = false; + var inRange = false; + var inRangeLast = false; - DropdownList.displayName = 'DropdownList'; + var _b = getDateInfo(startDate), + sYear = _b.year, + sMonth = _b.month, + sDate = _b.date; - var inputRef = /*#__PURE__*/React__namespace.createRef(); + var _c = getDateInfo(endDate), + eYear = _c.year, + eMonth = _c.month, + eDate = _c.date; - var Dropdown = function (_super) { - __extends(Dropdown, _super); + var isStart = startActive || endDate && inRangeLast && compareDate(hoverDate, 'less', eYear, eMonth, eDate); + var isEnd = endActive || startDate && inRangeLast && compareDate(hoverDate, 'more', sYear, sMonth, sDate); + var dateInString = "" + (date <= 0 ? prevMonthDayRange + date : date > dayRange ? date - dayRange : date); + var monthInString = "" + (date <= 0 ? monthNavVal === 0 ? monthNavVal + monthBlock : (monthNavVal - 1) % monthBlock + 1 : date > dayRange ? (monthNavVal + 1) % monthBlock + 1 : monthNavVal + 1); + var yearInString = "" + (date <= 0 && monthNavVal + 1 === 1 ? yearNavVal - 1 : date > dayRange && monthNavVal + 1 === 12 ? yearNavVal + 1 : yearNavVal); + var completeDateString = (monthInString.length === 2 ? monthInString : "0" + monthInString) + "/" + (dateInString.length === 2 ? dateInString : "0" + dateInString) + "/" + yearInString; + var isEventExist = events && _typeof(events) === 'object' && events.hasOwnProperty(completeDateString); - function Dropdown(props) { - var _this = _super.call(this, props) || this; + if (rangePicker) { + startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date); + endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date); + inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date); + active = !disabled && (startActive || endActive); - _this.getDisabledOptions = function (options) { - if (options === void 0) { - options = []; - } + if (startDate && endDate) { + inRange = !disabled && (dateComparison(startDate, 'less', dateInString, monthInString, yearInString) && dateComparison(endDate, 'more', dateInString, monthInString, yearInString) || startActive || endActive); + } else if (startDate) { + inRange = !disabled && (dateComparison(hoverDate, 'more', dateInString, monthInString, yearInString) || inRangeLast) && dateComparison(startDate, 'less', dateInString, monthInString, yearInString); + } else if (endDate) { + inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date); + } + } - return options.filter(function (option) { - return option.disabled; - }); - }; - - _this.fetchOptionsFunction = function (searchTerm) { - var options = _this.props.options; - var filteredOptions = searchTerm ? getSearchedOptions(options, searchTerm) : options; - return new Promise(function (resolve) { - resolve({ - searchTerm: searchTerm, - options: filteredOptions, - count: filteredOptions.length - }); + var isRangeError = inRange && inRangeError; + var isStartActive = startDate && dateComparison(startDate, 'equal', dateInString, monthInString, yearInString); + var isEndActive = endDate && dateComparison(endDate, 'equal', dateInString, monthInString, yearInString); + var activeDate = startDate && endDate && (isStartActive || isEndActive); + var isHoverLast = dateComparison(hoverDate, 'equal', dateInString, monthInString, yearInString) && hoverDate && startDate && hoverDate >= startDate; + var isEdgeElement = col === 0 || col === 6; + var isValueRange = inRange || rangePicker && (active || activeDate); + var wrapperClass = classNames__default["default"]({ + 'Calendar-valueWrapper': true, + 'Calendar-valueWrapper--inRange': !isEdgeElement && isValueRange, + 'Calendar-valueWrapper--inEdgeRange': isValueRange && isEdgeElement, + 'Calendar-valueWrapper--inRangeError': isRangeError, + 'Calendar-valueWrapper--start': isStart && !isEnd && col !== 6 || rangePicker && isStartActive && col !== 6, + 'Calendar-valueWrapper--end': isEnd && !isStart && col !== 0 || rangePicker && isEndActive && col !== 0, + 'Calendar-valueWrapper--startEnd': isStart && isEnd, + 'Calendar-valueWrapper--startError': isStart && isRangeError || rangePicker && isRangeError && isStartActive, + 'Calendar-valueWrapper--endError': isEnd && isRangeError || rangePicker && isRangeError && isEndActive, + 'Calendar-valueWrapper--dummy': dummy, + 'Calendar-valueWrapper--hoverDate': rangePicker && isHoverLast, + 'Calendar-valueWrapper--inStartRange': isValueRange && col === 0 && !active && !activeDate, + 'Calendar-valueWrapper--inEndRange': isValueRange && col === 6 && !active && !activeDate + }); + var valueClass = classNames__default["default"]((_a = { + 'Calendar-value': true, + 'Calendar-inRangeValue': !isStart && !isEnd && !active && !activeDate, + 'Calendar-value--start': isStart && !isEnd, + 'Calendar-value--end': isEnd && !isStart, + 'Calendar-value--startError': isStart && isRangeError, + 'Calendar-value--endError': isEnd && isRangeError, + 'Calendar-value--active': active || activeDate, + 'Calendar-value--disabled': disabled, + 'Calendar-dateValue': true + }, _a["Calendar-dateValue--" + size] = size, _a['Calendar-value--currDateMonthYear'] = today(), _a['Calendar-value--currDate'] = today() && !active && !activeDate, _a)); + var getTextColor = classNames__default["default"]({ + inverse: !active && !today() && !disabled && !activeDate, + white: active || activeDate, + 'primary-lighter': today() && disabled, + primary: today(), + 'inverse-lightest': disabled + }); + return /*#__PURE__*/React__namespace.createElement("div", { + key: row + "-" + col, + className: wrapperClass, + "data-test": "designSystem-Calendar-WrapperClass" + }, !dummy && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Text, { + color: getTextColor, + size: size === 'small' ? 'small' : 'regular', + "data-test": "DesignSystem-Calendar--dateValue", + className: valueClass, + onClick: onClickHandler(date), + onMouseOver: onMouseOverHandler(date), + onMouseEnter: onMouseEnterHandler.bind(_this, date, today(), disabled) + }, date), isEventExist && _this.renderEventsIndicator(size, active)), (dummy && date > 0 && index === monthsInView - 1 || dummy && date <= 0 && index === 0) && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Text, { + appearance: active || activeDate ? 'white' : disabled ? 'disabled' : today() ? 'link' : 'default', + size: size === 'small' ? 'small' : 'regular', + "data-test": "DesignSystem-Calendar--dateValue", + className: valueClass, + onClick: onClickHandler(date), + onMouseOver: onMouseOverHandler(date), + onMouseEnter: onMouseEnterHandler.bind(_this, date, today(), disabled) + }, date <= 0 ? prevMonthDayRange + date : date - dayRange), isEventExist && _this.renderEventsIndicator(size, active))); + })); }); }; - _this.getUnSelectedOptions = function (options, init) { - if (options.length) { - if (!init) { - return options.filter(function (option) { - return _this.state.tempSelected.findIndex(function (item) { - return item.value === option.value; - }) === -1; - }); - } - - var _a = _this.props.selected, - selected_1 = _a === void 0 ? [] : _a; - var unSelectedGroup = options.filter(function (option) { - return _isControlled(_this.props.selected) ? selected_1.findIndex(function (item) { - return item.value === option.value; - }) === -1 : !option.selected; - }); - return unSelectedGroup; - } + _this.renderCalendar = function (index) { + var _a, _b; - return options; + var _c = _this.props, + size = _c.size, + monthsInView = _c.monthsInView; + var view = _this.state.view; + var containerClass = classNames__default["default"]((_a = {}, _a['Calendar'] = true, _a["Calendar-" + view + "--" + size] = view, _a["Calendar--" + size] = size, _a)); + var headerClass = classNames__default["default"]((_b = {}, _b["Calendar-header--" + size] = size, _b)); + var bodyClass = classNames__default["default"]({ + 'Calendar-body': true + }); + return /*#__PURE__*/React__namespace.createElement("div", { + key: index, + "data-test": "DesignSystem-Calendar", + className: containerClass + }, /*#__PURE__*/React__namespace.createElement("div", { + className: headerClass + }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React__namespace.createElement("div", { + className: bodyClass + }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); }; - _this.getSelectedOptions = function (options, init) { - var _a = _this.props.selected, - selected = _a === void 0 ? [] : _a; + var _a = _this.props, + rangePicker = _a.rangePicker, + startDate = _a.startDate, + endDate = _a.endDate, + monthsInView = _a.monthsInView, + view = _a.view; + var currDate = rangePicker ? endDate || startDate : props.date; + var yearNav = props.yearNav !== undefined ? props.yearNav : getDateInfo(currDate || Date.now()).year; + var monthNav = props.monthNav !== undefined ? props.monthNav : getDateInfo(currDate || Date.now()).month; - if (options.length) { - if (!init) return _this.state.tempSelected; - var selectedGroup = _isControlled(_this.props.selected) ? selected : options.filter(function (option) { - return option.selected; - }); - return selectedGroup; - } + var _b = getDateInfo(currDate), + year = _b.year, + month = _b.month, + date = _b.date; - return []; + var todayCompleteDate = getDateInfo(new Date(Date.now())); + _this.state = { + currDate: currDate, + startDate: startDate, + endDate: endDate, + yearNav: yearNav, + monthNav: monthNav, + year: year, + month: month, + date: date, + todayDate: todayCompleteDate.date, + currMonth: todayCompleteDate.month, + currYear: todayCompleteDate.year, + view: monthsInView > 1 ? 'date' : view, + yearBlockNav: getYearBlock(yearNav) }; + return _this; + } - _this.updateOptions = function (init, async) { - var _a = _this.state, - searchTerm = _a.searchTerm, - selectAll = _a.selectAll, - tempSelected = _a.tempSelected, - previousSelected = _a.previousSelected; - var updatedAsync = async === undefined ? _this.state.async : async; - var _b = _this.props, - fetchOptions = _b.fetchOptions, - withCheckbox = _b.withCheckbox, - withSearch = _b.withSearch; - var fetchFunction = fetchOptions ? fetchOptions : _this.fetchOptionsFunction; - fetchFunction(searchTerm).then(function (res) { - var _a; - - var options = res.options, - count = res.count; - - if (!res.searchTerm || res.searchTerm && res.searchTerm === _this.state.searchTerm) { - updatedAsync = searchTerm === '' ? count > _this.staticLimit : updatedAsync; - var unSelectedGroup = _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? _this.getUnSelectedOptions(options, init) : options; - var selectedGroup = searchTerm === '' ? _this.getSelectedOptions(options, init) : []; - var optionsLength = searchTerm === '' ? count : _this.state.optionsLength; + Calendar.prototype.componentDidUpdate = function (prevProps, prevState) { + var _a, _b, _c, _d; - var disabledOptions = _this.getDisabledOptions(unSelectedGroup.slice(0, _this.staticLimit)); + var monthsInView = this.props.monthsInView; - _this.setState(__assign(__assign({}, _this.state), { - optionsLength: optionsLength, - loading: false, - async: updatedAsync, - searchedOptionsLength: count, - options: unSelectedGroup.slice(0, _this.staticLimit), - tempSelected: init ? selectedGroup : tempSelected, - previousSelected: init ? selectedGroup : previousSelected, - selected: _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? selectedGroup : [], - triggerLabel: _this.updateTriggerLabel(init ? selectedGroup : tempSelected), - selectAll: !updatedAsync && init ? getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) : selectAll - })); + if (prevProps.date !== this.props.date) { + var _e = getDateInfo(this.props.date), + year = _e.year, + month = _e.month, + date = _e.date; - if (updatedAsync || withSearch) (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - } + this.updateState(year, month, date); + var d = convertToDate(this.props.date); + this.setState({ + currDate: d }); - }; - - _this.updateSearchTerm = function (search) { - _this.setState(__assign(__assign({}, _this.state), { - loading: true, - searchInit: true, - searchTerm: search - })); - }; - - _this.updateOnPopperToggle = function () { - var _a = _this.props, - withCheckbox = _a.withCheckbox, - showApplyButton = _a.showApplyButton, - onClose = _a.onClose, - name = _a.name, - _b = _a.selected, - selected = _b === void 0 ? [] : _b; - var _c = _this.state, - previousSelected = _c.previousSelected, - tempSelected = _c.tempSelected, - optionsLength = _c.optionsLength, - async = _c.async, - loading = _c.loading, - searchTerm = _c.searchTerm, - options = _c.options; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.props.open : _this.state.open; - - var disabledOptionsCount = _this.getDisabledOptions(options).length; + } - if (withCheckbox && showApplyButton) { - var temporarySelected = _isControlled(_this.props.selected) ? selected : previousSelected; + if (prevProps.startDate !== this.props.startDate) { + var d = convertToDate(this.props.startDate); + this.setState({ + startDate: d + }); + } - _this.setState({ - tempSelected: temporarySelected, - selectAll: getSelectAll$1(temporarySelected, optionsLength, disabledOptionsCount), - triggerLabel: _this.updateTriggerLabel(temporarySelected) - }); - } + if (prevProps.endDate !== this.props.endDate) { + var d = convertToDate(this.props.endDate); + this.setState({ + endDate: d + }); + } - if (_isOpenControlled(_this.props.open)) { - _this.setState({ - open: popperIsOpen + if (prevProps.view !== this.props.view) { + if (this.props.monthsInView === 1) { + this.setState({ + view: this.props.view }); } + } - if (popperIsOpen) { - var moveSelectedGroup = _showSelectedItems(async, searchTerm, withCheckbox) && !_isEqual(_this.state.selected, tempSelected); + if (prevProps.yearNav !== this.props.yearNav) { + var yearNav = this.props.yearNav; - _this.setState({ - loading: moveSelectedGroup || loading || searchTerm !== '', - searchInit: searchTerm !== '', - searchTerm: '' + if (yearNav) { + this.setState({ + yearNav: yearNav, + yearBlockNav: getYearBlock(yearNav) }); - - if (moveSelectedGroup) _this.updateOptions(false); } + } - if (onClose && !popperIsOpen) { - var arr = withCheckbox && showApplyButton ? _isControlled(_this.props.selected) ? selected : previousSelected : _this.state.tempSelected; - var values = arr.map(function (option) { - return option.value; + if (prevProps.monthNav !== this.props.monthNav) { + var monthNav = this.props.monthNav; + + if (monthNav) { + this.setState({ + monthNav: monthNav }); - onClose(values, name); } - }; + } - _this.updateTriggerLabel = function (selectedArray, totalOptions) { - if (selectedArray === void 0) { - selectedArray = []; - } + if (prevState.currDate !== this.state.currDate) { + var _f = this.props, + rangePicker = _f.rangePicker, + onDateChange = _f.onDateChange; + var _g = this.state, + currDate = _g.currDate, + startDate = _g.startDate, + endDate = _g.endDate; - var selectedLength = selectedArray.length; - if (selectedLength === 0) return ''; - var _a = _this.props, - _b = _a.triggerOptions, - triggerOptions = _b === void 0 ? {} : _b, - getLabel = _a.getLabel; - var customLabel = triggerOptions.customLabel, - _c = triggerOptions.labelLimit, - labelLimit = _c === void 0 ? 2 : _c; - var optionsLength = _this.state ? _this.state.optionsLength : totalOptions; - var label = ''; + if (currDate) { + if (onDateChange) onDateChange(currDate); - if (selectedLength <= labelLimit) { - label = selectedArray.map(function (option) { - return option.label; - }).join(', '); - } else { - label = customLabel ? customLabel(selectedLength, optionsLength, selectedArray) : selectedLength + " selected"; - } + if (rangePicker) { + this.setState({ + hoverDate: undefined + }); - if (getLabel) getLabel(label); - return label; - }; + if (startDate && endDate) { + this.setState({ + startDate: currDate, + endDate: undefined + }); + } else { + var _h = getDateInfo(currDate), + year = _h.year, + month = _h.month, + date = _h.date; - _this.updateSelectedOptions = function (selectedArray, isSingleSelect, isControlled) { - var _a = _this.state, - optionsLength = _a.optionsLength, - previousSelected = _a.previousSelected, - selected = _a.selected, - loading = _a.loading, - open = _a.open; - var _b = _this.props, - onChange = _b.onChange, - withCheckbox = _b.withCheckbox, - showApplyButton = _b.showApplyButton, - closeOnSelect = _b.closeOnSelect, - name = _b.name, - onPopperToggle = _b.onPopperToggle; - var updatePreviousSelected = withCheckbox && showApplyButton && isControlled; + if (startDate) { + if (compareDate(startDate, 'more', year, month, date)) { + this.setState({ + startDate: currDate + }); + } else { + this.setState({ + endDate: currDate + }); + } + } else if (endDate) { + if (compareDate(endDate, 'less', year, month, date)) { + this.setState({ + endDate: currDate + }); + } else { + this.setState({ + startDate: currDate + }); + } + } else { + this.setState({ + startDate: currDate + }); + } + } + } else { + this.setState({ + startDate: currDate + }); + } + } + } - var disabledOptions = _this.getDisabledOptions(_this.state.options); + if (((_a = prevState.startDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.state.startDate) === null || _b === void 0 ? void 0 : _b.getTime()) || ((_c = prevState.endDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = this.state.endDate) === null || _d === void 0 ? void 0 : _d.getTime())) { + var onRangeChange = this.props.onRangeChange; + var _j = this.state, + startDate = _j.startDate, + endDate = _j.endDate; + if (onRangeChange) onRangeChange(startDate, endDate); + } - var isClearClicked = selectedArray.length === 0 && selected.length > 0 || selectedArray.every(function (option) { - return option.disabled; - }) && !selected.every(function (option) { - return option.disabled; - }); + if (prevState.year !== this.state.year) { + var year = this.state.year; - _this.setState(__assign(__assign({}, _this.state), { - tempSelected: selectedArray, - triggerLabel: _this.updateTriggerLabel(selectedArray), - selectAll: getSelectAll$1(selectedArray, optionsLength, disabledOptions.length), - open: _isOpenControlled(_this.props.open) || withCheckbox ? open : !closeOnSelect, - previousSelected: updatePreviousSelected ? selectedArray : previousSelected, - selected: isClearClicked ? selectedArray : selected, - loading: isClearClicked ? true : loading - })); + if (year !== undefined && monthsInView === 1) { + this.setState({ + year: year, + yearBlockNav: getYearBlock(year), + yearNav: year + }); + } + } - if (isClearClicked) _this.debounceClear(); + if (prevState.month !== this.state.month) { + var month = this.state.month; - if (onChange && (!showApplyButton || isControlled)) { - var values = selectedArray.map(function (item) { - return item.value; + if (month !== undefined && monthsInView === 1) { + this.setState({ + monthNav: month }); - var selectedValues = isSingleSelect ? values[0] : values; - onChange(selectedValues, name); } + } + }; - if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(false, 'optionClick'); - } - }; + Calendar.prototype.renderEventsIndicator = function (size, active) { + var _a; - _this.onOptionSelect = function (option) { - var _a = _this.props, - onUpdate = _a.onUpdate, - selected = _a.selected; + var eventsIndicatorClass = classNames__default["default"]((_a = { + 'Calendar-eventsIndicator': true + }, _a["Calendar-eventsIndicator--" + size] = true, _a['Calendar-eventsIndicator--active'] = active, _a)); + return /*#__PURE__*/React__namespace.createElement("span", { + "data-test": "DesignSystem-Calendar-Event-Indicator", + className: eventsIndicatorClass + }); + }; - if (_isControlled(selected)) { - if (onUpdate) onUpdate('select-option', option); - return; - } + Calendar.prototype.render = function () { + var _this = this; - _this.updateSelectedOptions([option], true); - }; + var _a = this.props, + monthsInView = _a.monthsInView, + className = _a.className; + var baseProps = extractBaseProps(this.props); + var classes = classNames__default["default"]({ + 'Calendar-wrapper': true + }, className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { + className: classes, + "data-test": "DesignSystem-Calendar-Wrapper" + }), Array.from({ + length: monthsInView + }, function (_x, index) { + return _this.renderCalendar(index); + })); + }; - _this.onSelect = function (option, checked) { - var _a = _this.props, - onUpdate = _a.onUpdate, - selected = _a.selected, - showApplyButton = _a.showApplyButton; + Calendar.defaultProps = { + size: 'large', + monthsInView: 1, + view: 'date', + firstDayOfWeek: 'sunday', + jumpView: true + }; + return Calendar; + }(React__namespace.Component); - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate(checked ? 'select-option' : 'deselect-option', option); - return; - } + var Card = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a; - var tempSelected = _this.state.tempSelected; - var selectedArray = tempSelected.slice(); + var _b = props.shadow, + shadow = _b === void 0 ? 'shadow10' : _b, + children = props.children, + className = props.className, + rest = __rest(props, ["shadow", "children", "className"]); - if (!checked) { - var index = selectedArray.findIndex(function (item) { - return item.value === option.value; - }); - selectedArray.splice(index, 1); - } + var classes = classNames__default["default"]((_a = { + Card: true + }, _a["Card--" + shadow] = shadow, _a["" + className] = className, _a)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-Card", + ref: ref + }, rest, { + className: classes + }), children); + }); + Card.displayName = 'Card'; + Card.defaultProps = { + shadow: 'shadow10' + }; - selectedArray = checked ? selectedArray.concat(option) : selectedArray; + var CardSubdued = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a; - _this.updateSelectedOptions(selectedArray, false); - }; + var border = props.border, + children = props.children, + className = props.className, + rest = __rest(props, ["border", "children", "className"]); - _this.onSelectAll = function (event) { - var _a = _this.props, - onUpdate = _a.onUpdate, - selected = _a.selected, - showApplyButton = _a.showApplyButton; - var _b = _this.state, - tempSelected = _b.tempSelected, - options = _b.options; + var classes = classNames__default["default"]((_a = { + CardSubdued: true + }, _a["CardSubdued--" + border] = border, _a), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-CardSubdued", + ref: ref + }, rest, { + className: classes + }), children); + }); + CardSubdued.displayName = 'CardSubdued'; - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate(event.target.checked ? 'select-all' : 'deselect-all'); - return; - } + var CardHeader = function CardHeader(props) { + var className = props.className, + children = props.children; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]({ + 'Card-header': true + }, className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-CardHeader" + }, baseProps, { + className: classes + }), children); + }; + CardHeader.displayName = 'CardHeader'; - var selectedArr = tempSelected.slice(); - var selectedDisabledArray = selectedArr.filter(function (option) { - return option.disabled; - }); - var selectedArray = event.target.checked ? __spreadArrays(options.filter(function (option) { - return !option.disabled; - }), selectedDisabledArray) : selectedDisabledArray; + var CardBody = function CardBody(props) { + var className = props.className, + children = props.children; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]({ + 'Card-body': true + }, className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-CardBody" + }, baseProps, { + className: classes + }), children); + }; + CardBody.displayName = 'CardBody'; - _this.updateSelectedOptions(selectedArray, false); - }; + var CardFooter = function CardFooter(props) { + var _a; - _this.debounceSearch = debounce(_this.props.searchDebounceDuration, function () { - _this.setState({ - searchInit: false - }, function () { - _this.updateOptions(false); - }); - }); - _this.debounceClear = debounce(250, function () { - return _this.updateOptions(false); - }); + var className = props.className, + children = props.children, + withSeperator = props.withSeperator; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]((_a = { + 'Card-footer': true + }, _a['Card-footer--withSeperator'] = withSeperator, _a), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-CardFooter" + }, baseProps, { + className: classes + }), children); + }; + CardFooter.displayName = 'CardFooter'; + CardFooter.defaultProps = { + withSeperator: true + }; - _this.onClearOptions = function () { - var _a = _this.props, - selected = _a.selected, - name = _a.name, - onUpdate = _a.onUpdate, - showApplyButton = _a.showApplyButton, - onChange = _a.onChange; - var tempSelected = _this.state.tempSelected; - var selectedArray = tempSelected.filter(function (option) { - return option.disabled; - }); + var isSpaceKey = function isSpaceKey(e) { + return e.key === 'Space'; + }; - if (_isControlled(selected) && !showApplyButton) { - if (onUpdate) onUpdate('clear-all'); - return; - } + var allowed = { + button: new Set(['Enter', 'Space', 'Spacebar', ' ']), + link: new Set(['Enter']), + checkbox: new Set([]), + radio: new Set([]) + }; - _this.setState({ - selected: selectedArray, - tempSelected: selectedArray, - triggerLabel: '', - loading: true - }); + var isKeyboardInteractionAllowed = function isKeyboardInteractionAllowed(role, key) { + if (!allowed[role]) { + return false; + } - _this.debounceClear(); + var allowedKeys = allowed[role]; + return allowedKeys.has(key); + }; - if (onChange && !showApplyButton) onChange(selectedArray, name); - }; + var useAccessibilityProps = function useAccessibilityProps(_a) { + var onClick = _a.onClick, + _onKeyDown = _a.onKeyDown, + _b = _a.role, + role = _b === void 0 ? 'button' : _b, + tabIndex = _a.tabIndex, + rest = __rest(_a, ["onClick", "onKeyDown", "role", "tabIndex"]); - _this.onTogglePopper = function (type) { - var onPopperToggle = _this.props.onPopperToggle; + return __assign({}, onClick ? { + onClick: onClick, + role: role, + tabIndex: tabIndex || 0, + 'aria-label': rest['aria-label'], + onKeyDown: function onKeyDown(e) { + if (_onKeyDown) { + _onKeyDown(e); - if (onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(false, type); + return; } - }; - - _this.onCancelOptions = function () { - var _a = _this.state, - previousSelected = _a.previousSelected, - tempSelected = _a.tempSelected, - optionsLength = _a.optionsLength; - var _b = _this.props, - selected = _b.selected, - onUpdate = _b.onUpdate, - onClose = _b.onClose, - name = _b.name; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; - var values = previousSelected.map(function (option) { - return option.value; - }); - if (_isControlled(selected)) { - if (onUpdate) onUpdate('cancel-selected', previousSelected, tempSelected); - - _this.onTogglePopper('cancelClick'); + var key = e.key; - return; + if (isKeyboardInteractionAllowed(role, key)) { + if (onClick) { + e.preventDefault(); + onClick(e); + } } + } + } : { + role: role, + tabIndex: tabIndex, + 'aria-label': rest['aria-label'] + }); + }; - var label = _this.updateTriggerLabel(previousSelected); + var getOpticalSize = function getOpticalSize(size) { + if (size && size <= 20) { + return 20; + } else if (size && size >= 48) { + return 48; + } - var disabledOptions = _this.getDisabledOptions(_this.state.options); + return size; + }; + + var iconVariantMapper = { + more_horiz: { + weight: 600, + opticalSize: 24 + }, + "delete": { + fill: 0 + }, + radio_button_checked: { + fill: 0 + }, + radio_button_unchecked: { + fill: 0 + }, + schedule: { + fill: 0 + }, + help_outline: { + fill: 0 + }, + check_circle_outline: { + fill: 0 + }, + highlight_of: { + fill: 0 + }, + credit_card: { + fill: 0 + }, + delete_outline: { + fill: 0 + }, + bookmark_border: { + fill: 0 + }, + work_outline: { + fill: 0 + }, + alarm: { + fill: 0 + }, + arrow_circle_up: { + fill: 0 + }, + copyright: { + fill: 0 + }, + query_builder: { + fill: 0 + }, + card_membership: { + fill: 0 + }, + arrow_circle_down: { + fill: 0 + }, + change_history: { + fill: 0 + }, + aspect_ratio: { + fill: 0 + }, + calendar_view_month: { + fill: 0 + }, + alarm_on: { + fill: 0 + }, + thumb_down_off_alt: { + fill: 0 + }, + important_devices: { + fill: 0 + }, + turned_in_not: { + fill: 0 + }, + add_circle_outline: { + fill: 0 + }, + speed: { + fill: 0 + }, + content_copy: { + fill: 0 + }, + timelapse: { + fill: 0 + } + }; + var getFontVariation = function getFontVariation(iconName, variations, type, size) { + var defaultVariant = { + fill: type === 'outlined' ? 0 : 1, + weight: 400, + grade: 0, + opticalSize: getOpticalSize(size) + }; + return __assign(__assign(__assign({}, defaultVariant), iconVariantMapper[iconName]), variations); + }; - _this.setState(__assign(__assign({}, _this.state), { - tempSelected: previousSelected, - selectAll: getSelectAll$1(previousSelected, optionsLength, disabledOptions.length), - triggerLabel: label, - open: popperIsOpen - })); + var Icon = function Icon(props) { + var _a; - if (onClose && !popperIsOpen) { - onClose(values, name); - } + var appearance = props.appearance, + className = props.className, + name = props.name, + size = props.size, + children = props.children, + variations = props.variations; + var accessibilityProps = useAccessibilityProps(props); + var baseProps = extractBaseProps(props); + var mapper = { + outline: 'outlined', + sharp: 'outlined', + round: 'rounded', + filled: 'rounded', + 'two-tone': 'rounded' + }; + var type = props.type && mapper[props.type] || props.type; - _this.onTogglePopper('cancelClick'); - }; + var getIconAppearance = function getIconAppearance(iconColor) { + var x = iconColor.indexOf('_'); + return iconColor.slice(0, x) + iconColor.charAt(x + 1).toUpperCase() + iconColor.slice(x + 2); + }; - _this.onApplyOptions = function () { - var _a = _this.state, - tempSelected = _a.tempSelected, - previousSelected = _a.previousSelected; - var _b = _this.props, - onChange = _b.onChange, - selected = _b.selected, - onUpdate = _b.onUpdate, - onClose = _b.onClose, - name = _b.name; - var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; - var values = tempSelected.map(function (option) { - return option.value; - }); + var color = appearance && appearance.includes('_') ? getIconAppearance(appearance) : appearance; + var iconClass = classNames__default["default"]((_a = {}, _a['material-icons'] = true, _a['material-icons-rounded'] = type === 'rounded', _a['material-icons-outlined'] = type === 'outlined', _a['Icon'] = true, _a["Icon--" + color] = appearance, _a["" + className] = className, _a)); - if (_isControlled(selected)) { - if (onUpdate) onUpdate('apply-selected', previousSelected, tempSelected); + var _b = getFontVariation(name, variations, type, size), + fill = _b.fill, + grade = _b.grade, + opticalSize = _b.opticalSize, + weight = _b.weight; - _this.onTogglePopper('applyClick'); + var styles = { + fontSize: size + "px", + width: size + "px", + 'font-variation-settings': "\"FILL\" " + fill + ", \"wght\" " + weight + ", \"GRAD\" " + grade + ", \"opsz\" " + opticalSize + }; - return; - } + if (children && /*#__PURE__*/React__namespace.isValidElement(children)) { + return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { + className: className + }), children); + } - _this.setState(__assign(__assign({}, _this.state), { - previousSelected: tempSelected, - optionsApplied: true, - open: popperIsOpen - })); + return /*#__PURE__*/React__namespace.createElement("i", __assign({ + "data-test": "DesignSystem-Icon" + }, baseProps, { + className: iconClass, + style: styles + }, accessibilityProps), name); + }; + Icon.displayName = 'Icon'; + Icon.defaultProps = { + size: 16, + type: 'rounded' + }; - if (onChange) { - onChange(values, name); - } + var GenericText = function GenericText(_a) { + var children = _a.children, + _b = _a.componentType, + componentType = _b === void 0 ? 'span' : _b, + className = _a.className, + props = __rest(_a, ["children", "componentType", "className"]); - if (onClose && !popperIsOpen) { - onClose(values, name); - } + return /*#__PURE__*/React__namespace.createElement(componentType, __assign(__assign({}, props), { + className: className + }), children); + }; - _this.onTogglePopper('applyClick'); - }; + var Text = function Text(props) { + var _a; - _this.onToggleDropdown = function (updatedOpen, type) { - if (_this.props.disabled) { - return; - } + var appearance = props.appearance, + size = props.size, + children = props.children, + weight = props.weight, + small = props.small, + className = props.className, + color = props.color, + rest = __rest(props, ["appearance", "size", "children", "weight", "small", "className", "color"]); - var onPopperToggle = _this.props.onPopperToggle; + var classes = classNames__default["default"]((_a = { + Text: true + }, _a["Text--" + appearance] = !color && appearance, _a["Text--" + weight] = weight, _a["Text--" + size] = size, _a["color-" + color] = color, _a['Text--small'] = size === 'small' || small, _a), className); + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ + "data-test": "DesignSystem-Text" + }, rest, { + className: classes, + componentType: "span" + }), children); + }; + Text.displayName = 'Text'; + Text.defaultProps = { + appearance: 'default', + size: 'regular' + }; - if (onPopperToggle && _isOpenControlled(_this.props.open)) { - onPopperToggle(updatedOpen, type); - return; - } + var GenericChip = function GenericChip(props) { + var _a; - _this.setState({ - open: updatedOpen - }); - }; + var label = props.label, + icon = props.icon, + clearButton = props.clearButton, + disabled = props.disabled, + className = props.className, + selected = props.selected, + onClose = props.onClose, + onClick = props.onClick, + labelPrefix = props.labelPrefix, + iconVariations = props.iconVariations; + var baseProps = extractBaseProps(props); - var _a = props.selected, - selected = _a === void 0 ? [] : _a, - totalOptions = props.totalOptions, - withCheckbox = props.withCheckbox, - loading = props.loading, - open = props.open, - options = props.options; - _this.staticLimit = Math.min(100, props.staticLimit); - var optionsLength = totalOptions ? totalOptions : options.length; - var async = 'fetchOptions' in _this.props || optionsLength > _this.staticLimit; - var selectedGroup = !async ? _this.getSelectedOptions(options, true) : []; + var iconClass = function iconClass(align) { + var _a; - var disabledOptions = _this.getDisabledOptions(options); + return classNames__default["default"]((_a = {}, _a['Chip-icon'] = true, _a["Chip-icon--" + align] = align, _a["Chip-icon-disabled--right"] = align === 'right' && disabled, _a['cursor-pointer'] = align === 'right' && !disabled, _a['Chip-icon--selected'] = align === 'right' && selected, _a)); + }; - _this.state = { - async: async, - optionsLength: optionsLength, - open: open, - searchInit: false, - searchedOptionsLength: optionsLength, - optionsApplied: false, - options: options || [], - loading: async ? true : loading, - searchTerm: '', - tempSelected: selectedGroup, - previousSelected: selectedGroup, - selected: _showSelectedItems(async, '', withCheckbox) ? selected : [], - triggerLabel: _this.updateTriggerLabel(selectedGroup, optionsLength), - selectAll: getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) - }; - return _this; - } + var onCloseHandler = function onCloseHandler(e) { + e.stopPropagation(); + if (onClose) onClose(); + }; - Dropdown.prototype.componentDidMount = function () { - var async = this.state.async; - if (async) this.updateOptions(true); + var onClickHandler = function onClickHandler() { + if (onClick) onClick(); }; - Dropdown.prototype.componentDidUpdate = function (prevProps, prevState) { - var _a; - - if (!this.state.async) { - var _b = this.props, - loading = _b.loading, - fetchOptions = _b.fetchOptions, - _c = _b.options, - options = _c === void 0 ? [] : _c, - withSearch = _b.withSearch; - var disabledOptionsCount = this.getDisabledOptions(options).length; - - if (prevProps.loading !== loading && !fetchOptions) { - if (options.length > this.staticLimit) { - this.updateOptions(true, true); - } else { - var selectedGroup = this.getSelectedOptions(options, true); - this.setState(__assign(__assign({}, this.state), { - options: options, - loading: loading, - tempSelected: selectedGroup, - previousSelected: selectedGroup, - optionsLength: options.length, - searchedOptionsLength: options.length, - triggerLabel: this.updateTriggerLabel(selectedGroup), - selectAll: getSelectAll$1(selectedGroup, this.state.optionsLength, disabledOptionsCount) - })); - if (withSearch) (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - } - } - } - - if (this.props.selected !== undefined && prevProps.selected !== this.props.selected && prevProps.loading === this.props.loading) { - var isSingleSelect = !this.props.withCheckbox; - this.updateSelectedOptions(this.props.selected, isSingleSelect, true); + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter') { + onCloseHandler(event); } + }; - if (prevState.searchTerm !== this.state.searchTerm) { - this.debounceSearch(); - } + var iconAppearance = function iconAppearance(align) { + var _a; - if (prevProps.open !== this.props.open || prevState.open !== this.state.open) { - if (_isOpenControlled(this.props.open) && this.props.open === this.state.open) return; - this.updateOnPopperToggle(); - } + return classNames__default["default"]((_a = {}, _a['disabled'] = disabled && !selected, _a['primary_dark'] = !disabled && selected, _a['primary_lighter'] = disabled && selected, _a['subtle'] = !disabled && !selected && align === 'right', _a['inverse'] = !disabled && !selected && align === 'left', _a)); }; - Dropdown.prototype.render = function () { - var _a = this.state, - options = _a.options, - async = _a.async, - open = _a.open, - searchTerm = _a.searchTerm, - searchInit = _a.searchInit, - loading = _a.loading, - searchedOptionsLength = _a.searchedOptionsLength, - tempSelected = _a.tempSelected, - selectAll = _a.selectAll, - triggerLabel = _a.triggerLabel, - previousSelected = _a.previousSelected; - var _b = this.props, - _c = _b.withSelectAll, - withSelectAll = _c === void 0 ? true : _c, - withCheckbox = _b.withCheckbox; + var textColor = classNames__default["default"]((_a = {}, _a['primary-lighter'] = disabled && selected, _a['inverse-lightest'] = disabled && !selected, _a['primary-dark'] = selected, _a['inverse'] = !disabled && !selected, _a)); - var _d = this.props, - _e = _d.triggerOptions, - triggerOptions = _e === void 0 ? {} : _e; - _d.selected; - var rest = __rest(_d, ["triggerOptions", "selected"]); + var renderLabel = function renderLabel() { + if (typeof label === 'string') { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, labelPrefix && /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-GenericChip--LabelPrefix", + weight: "medium", + color: textColor, + className: "Chip-text mr-3" + }, labelPrefix), /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-GenericChip--Text", + color: textColor, + className: "Chip-text" + }, label)); + } - var remainingOptionsLen = searchedOptionsLength - options.length; - var firstEnabledOption = _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { - return !option.disabled; - }); - return /*#__PURE__*/React__namespace.createElement(DropdownList, __assign({ - listOptions: options, - inputRef: inputRef, - remainingOptions: remainingOptionsLen, - firstEnabledOption: firstEnabledOption, - loadingOptions: loading, - async: async, - searchInit: searchInit, - dropdownOpen: open, - searchTerm: searchTerm, - triggerLabel: triggerLabel, - tempSelected: tempSelected, - previousSelected: previousSelected, - selected: this.state.selected, - applyOptions: this.onApplyOptions, - cancelOptions: this.onCancelOptions, - toggleDropdown: this.onToggleDropdown, - onClearOptions: this.onClearOptions, - onSelect: this.onSelect, - selectAll: selectAll, - onSearchChange: this.updateSearchTerm, - onOptionSelect: this.onOptionSelect, - onSelectAll: this.onSelectAll, - customTrigger: triggerOptions.customTrigger - }, rest)); + return label; }; - Dropdown.defaultProps = { - triggerOptions: {}, - options: [], - closeOnSelect: true, - staticLimit: 50, - searchDebounceDuration: 300 - }; - return Dropdown; - }(React__namespace.Component); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + tabIndex: disabled ? -1 : 0, + "data-test": "DesignSystem-GenericChip--GenericChipWrapper" + }, baseProps, { + className: "Chip-wrapper " + className, + onClick: onClickHandler + }), icon && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-GenericChip--Icon", + name: icon, + variations: iconVariations, + appearance: iconAppearance('left'), + className: iconClass('left') + }), renderLabel(), clearButton && /*#__PURE__*/React__namespace.createElement("div", { + role: "button", + onClick: onCloseHandler, + tabIndex: disabled ? -1 : 0, + onKeyDown: onKeyDownHandler, + className: iconClass('right'), + "data-test": "DesignSystem-GenericChip--clearButton" + }, /*#__PURE__*/React__namespace.createElement(Icon, { + name: "clear", + appearance: iconAppearance('right'), + className: "p-2" + }))); + }; + GenericChip.displayName = 'GenericChip'; - var renderLink = function renderLink(item, _onClick) { - return /*#__PURE__*/React__namespace.createElement(Link, { - href: item.link, - onClick: function onClick(ev) { - if (_onClick) { - ev.preventDefault(); + var Chip = function Chip(props) { + var _a; - _onClick(item.link); - } - }, - appearance: "subtle", - size: "tiny" - }, item.label); - }; + var label = props.label, + icon = props.icon, + clearButton = props.clearButton, + type = props.type, + disabled = props.disabled, + selected = props.selected, + onClose = props.onClose, + onClick = props.onClick, + name = props.name, + className = props.className, + labelPrefix = props.labelPrefix, + iconVariations = props.iconVariations; + var baseProps = extractBaseProps(props); - var renderDropdown = function renderDropdown(list, onClick) { - var options = list.map(function (item) { - return { - label: item.label, - value: item.link - }; - }); + var onCloseHandler = function onCloseHandler() { + if (!disabled && onClose) onClose(name); + }; - var customTrigger = function customTrigger() { - return /*#__PURE__*/React__namespace.createElement(Button, { - size: "tiny", - appearance: "transparent", - icon: "more_horiz_filled", - "data-test": "DesignSystem-Breadcrumbs--Button" - }); + var onClickHandler = function onClickHandler() { + if (!disabled && onClick) onClick(name); }; - return /*#__PURE__*/React__namespace.createElement(Dropdown, { - triggerSize: 'tiny', - triggerOptions: { - customTrigger: customTrigger - }, - options: options, - menu: true, - onChange: function onChange(selected) { - if (onClick) { - onClick(selected); - } - } - }); + var clearbutton = type === 'action' ? false : clearButton; + var select = type === 'selection' && selected ? true : false; + var chipClass = classNames__default["default"]((_a = { + Chip: true + }, _a["Chip-" + type + "--disabled"] = disabled, _a["Chip--" + type] = type && !disabled, _a["Chip-" + type + "--selected"] = selected && !disabled, _a["Chip-selection--selectedDisabled"] = type === 'selection' && selected && disabled, _a['Chip-icon--clear'] = clearbutton, _a), className); + return /*#__PURE__*/React__namespace.createElement(GenericChip, __assign({ + "data-test": "DesignSystem-Chip--GenericChip" + }, baseProps, { + label: label, + selected: select, + icon: icon, + iconVariations: iconVariations, + clearButton: clearbutton, + disabled: disabled, + className: chipClass, + onClose: onCloseHandler, + onClick: onClickHandler, + name: name, + labelPrefix: labelPrefix + })); + }; + Chip.displayName = 'Chip'; + Chip.defaultProps = { + type: 'input' }; - var Breadcrumbs = function Breadcrumbs(props) { + var ChipGroup = function ChipGroup(props) { var _a; var list = props.list, onClick = props.onClick, + onClose = props.onClose, className = props.className; var baseProps = extractBaseProps(props); - var BreadcrumbClass = classNames__default['default']((_a = {}, _a['Breadcrumbs'] = true, _a), className); + + var onClickHandler = function onClickHandler(item) { + if (onClick) onClick(item); + }; + + var onCloseHandler = function onCloseHandler(item) { + if (onClose) onClose(item); + }; + + var ChipGroupClass = classNames__default["default"]((_a = {}, _a['ChipGroup'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-Breadcrumbs" + "data-test": "DesignSystem-ChipGroup" }, baseProps, { - className: BreadcrumbClass - }), list.length <= 4 ? list.map(function (item, index) { - return /*#__PURE__*/React__namespace.createElement("div", { - key: index, - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(item, onClick)), /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")); - }) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(list[0], onClick)), /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React__namespace.createElement("div", { - className: "Breadcrumbs-dropdown" - }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React__namespace.createElement("div", { - className: "Breadcrumbs-item", - "data-test": "DesignSystem-Breadcrumbs-item" - }, /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-link" - }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React__namespace.createElement("span", { - className: "Breadcrumbs-itemSeparator" - }, "/")))); + className: ChipGroupClass + }), list.map(function (item, ind) { + var _a = item.label, + label = _a === void 0 ? '' : _a, + icon = item.icon, + type = item.type, + disabled = item.disabled, + selected = item.selected, + clearButton = item.clearButton, + name = item.name, + iconVariations = item.iconVariations; + return /*#__PURE__*/React__namespace.createElement("span", { + key: ind, + className: "ChipGroup-item" + }, /*#__PURE__*/React__namespace.createElement(Chip, { + "data-test": "DesignSystem-ChipGroup--Chip", + name: name, + label: label, + selected: selected, + icon: icon, + disabled: disabled, + clearButton: clearButton, + iconVariations: iconVariations, + type: type, + onClick: function onClick() { + return onClickHandler(item); + }, + onClose: function onClose() { + return onCloseHandler(item); + } + })); + })); }; + ChipGroup.displayName = 'ChipGroup'; - var sizeMapping$2 = { - tiny: 12, - regular: 16, - large: 20 + var uidGenerator = function uidGenerator() { + var dt = new Date().getTime(); + var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { + var r = (dt + Math.random() * 16) % 16 | 0; + dt = Math.floor(dt / 16); + var s = (c === 'x' ? r : r & 0x3 | 0x8).toString(16); + return s; + }); + return uuid; }; - var Button = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a, _b; - var _c = props.size, - size = _c === void 0 ? 'regular' : _c, - _d = props.appearance, - appearance = _d === void 0 ? 'basic' : _d, - _e = props.iconAlign, - iconAlign = _e === void 0 ? 'left' : _e, - _f = props.tabIndex, - tabIndex = _f === void 0 ? 0 : _f, - largeIcon = props.largeIcon, - type = props.type, - children = props.children, - icon = props.icon, - expanded = props.expanded, - selected = props.selected, - loading = props.loading, - disabled = props.disabled, - className = props.className, - rest = __rest(props, ["size", "appearance", "iconAlign", "tabIndex", "largeIcon", "type", "children", "icon", "expanded", "selected", "loading", "disabled", "className"]); + var CheckboxIcon = function CheckboxIcon(props) { + switch (props.name) { + case 'checked--regular': + return /*#__PURE__*/React__default["default"].createElement("svg", { + width: "10", + height: "8", + viewBox: "0 0 10 8", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default["default"].createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M3.66667 5.56L8.72667 0.5L9.66667 1.44667L3.66667 7.44667L0.333333 4.11333L1.27333 3.17333L3.66667 5.56Z", + fill: "white" + })); - var buttonClass = classNames__default['default']((_a = {}, _a['Button'] = true, _a['Button--expanded'] = expanded, _a["Button--" + size] = size, _a["Button--" + size + "Square"] = !children, _a["Button--" + appearance] = appearance, _a['Button--selected'] = selected && (appearance === 'basic' || appearance === 'transparent'), _a["Button--iconAlign-" + iconAlign] = children && iconAlign, _a["" + className] = className, _a)); - var iconClass = classNames__default['default']((_b = {}, _b['Button-icon'] = true, _b["Button-icon--" + iconAlign] = children && iconAlign, _b)); - return /*#__PURE__*/React__namespace.createElement("button", __assign({ - "data-test": "DesignSystem-Button", - ref: ref, - type: type, - className: buttonClass, - disabled: disabled || loading, - tabIndex: tabIndex - }, rest), loading ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Spinner, { - size: "small", - appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white', - "data-test": "DesignSystem-Button--Spinner", - className: "Button-spinner" - }), /*#__PURE__*/React__namespace.createElement(Text, { - className: "Button-text Button-text--hidden" - }, children || '')) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, icon && /*#__PURE__*/React__namespace.createElement("div", { - className: iconClass - }, /*#__PURE__*/React__namespace.createElement(Icon, { - "data-test": "DesignSystem-Button--Icon", - name: icon, - appearance: disabled ? 'disabled' : appearance === 'basic' || appearance === 'transparent' ? selected ? 'info' : 'default' : 'white', - size: largeIcon && !children ? sizeMapping$2[size] + 4 : sizeMapping$2[size] - })), children)); - }); - Button.displayName = 'Button'; + case 'checked--tiny': + return /*#__PURE__*/React__default["default"].createElement("svg", { + width: "10", + height: "8", + viewBox: "0 0 10 8", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default["default"].createElement("path", { + d: "M0.333344 4L1.27334 3.06L3.66668 5.44667L8.72668 0.386665L9.66668 1.33333L3.66668 7.33333L0.333344 4Z", + fill: "white" + })); - var config = { - yearBlockRange: 12, - yearsInRow: 3, - monthBlock: 12, - monthsInRow: 3, - daysInRow: 7, - months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - days: { - small: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], - large: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] - } - }; + case 'indeterminate--regular': + return /*#__PURE__*/React__default["default"].createElement("svg", { + width: "10", + height: "2", + viewBox: "0 0 10 2", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default["default"].createElement("path", { + d: "M0 0H10V2H0V0Z", + fill: "white" + })); - var yearBlockRange = config.yearBlockRange; - var getIndexOfDay = function getIndexOfDay(day) { - return ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday'].indexOf(day); - }; - var getYearBlock = function getYearBlock(year) { - return year - year % yearBlockRange; - }; - var getDaysInMonth = function getDaysInMonth(year, month) { - return new Date(year, month + 1, 0).getDate(); - }; - var getFirstDayOfMonth = function getFirstDayOfMonth(year, month) { - return new Date(year, month).getDay(); - }; - var getDateInfo = function getDateInfo(d) { - if (d) { - var dateVal = convertToDate(d); + case 'indeterminate--tiny': + return /*#__PURE__*/React__default["default"].createElement("svg", { + width: "8", + height: "2", + viewBox: "0 0 8 2", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default["default"].createElement("path", { + fillRule: "evenodd", + clipRule: "evenodd", + d: "M8 0H0V2H8V0Z", + fill: "white" + })); - if (dateVal) { - var year = dateVal.getFullYear(); - var month = dateVal.getMonth(); - var day = dateVal.getDay(); - var date = dateVal.getDate(); - var decadeYear = getYearBlock(year); - return { - decadeYear: decadeYear, - year: year, - month: month, - day: day, - date: date - }; - } else { - return {}; - } + default: + return null; } - - return {}; }; - var convertToDate = function convertToDate(d, format, validators) { - var dateVal; - if (d) { - if (typeof d === 'number') { - dateVal = new Date(d); - } else if (typeof d === 'string') { - return format ? translateToDate(format, d, validators) : undefined; - } else if (!(d instanceof Date)) { - var _a = d, - year = _a.year, - month = _a.month, - date = _a.date; - dateVal = new Date(year, month, date, 0, 0, 0); - } else { - dateVal = d; - } - } + var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { + var _a, _b, _c, _d, _e, _f; - return dateVal; - }; - var compareYearBlock = function compareYearBlock(d, operator, currDecade) { - if (d) { - var limitDecade = getDateInfo(d).decadeYear; + var _g = props.size, + size = _g === void 0 ? 'regular' : _g, + _h = props.tabIndex, + tabIndex = _h === void 0 ? 0 : _h, + defaultChecked = props.defaultChecked, + indeterminate = props.indeterminate, + label = props.label, + error = props.error, + disabled = props.disabled, + onChange = props.onChange, + name = props.name, + value = props.value, + className = props.className, + checkedProp = props.checked, + helpText = props.helpText, + _j = props.id, + id = _j === void 0 ? name + "-" + label + "-" + uidGenerator() : _j, + rest = __rest(props, ["size", "tabIndex", "defaultChecked", "indeterminate", "label", "error", "disabled", "onChange", "name", "value", "className", "checked", "helpText", "id"]); - switch (operator) { - case 'less': - if (limitDecade < currDecade) return true; - break; + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { + return ref.current; + }); - case 'more': - if (limitDecade > currDecade) return true; - break; + var _k = React__namespace.useState(checkedProp === undefined ? defaultChecked : checkedProp), + checked = _k[0], + setChecked = _k[1]; - case 'equal': - if (limitDecade === currDecade) return true; - break; + React__namespace.useEffect(function () { + setIndeterminate(indeterminate); + }, [indeterminate]); + React__namespace.useEffect(function () { + if (checkedProp !== undefined) { + setChecked(checkedProp); } - } + }, [checkedProp]); + var CheckboxClass = classNames__default["default"]((_a = {}, _a['Checkbox'] = true, _a['Checkbox--disabled'] = disabled, _a), className); + var CheckboxOuterWrapper = classNames__default["default"]((_b = {}, _b['Checkbox-outerWrapper'] = true, _b["Checkbox-outerWrapper--" + size] = size, _b)); + var CheckboxInputWrapper = classNames__default["default"]((_c = {}, _c['Checkbox-input'] = true, _c['Checkbox-input--checked'] = checked, _c['Checkbox-input--indeterminate'] = props.indeterminate, _c)); + var CheckboxWrapper = classNames__default["default"]((_d = {}, _d['Checkbox-wrapper'] = true, _d['Checkbox-wrapper--default'] = !error, _d['Checkbox-wrapper--error'] = error, _d)); + var CheckboxLabelClass = classNames__default["default"]((_e = {}, _e['Checkbox-label'] = true, _e['Checkbox-label--tiny'] = size === 'tiny', _e)); - return false; - }; - var compareDate = function compareDate(d, operator, currYear, currMonth, currDate) { - if (d) { - var _a = getDateInfo(d), - limitYear = _a.year, - limitMonth = _a.month, - limitDate = _a.date; + var setIndeterminate = function setIndeterminate(indeterminateValue) { + ref.current.indeterminate = indeterminateValue; + }; - switch (operator) { - case 'less': - if (limitYear < currYear) return true; - if (limitYear > currYear) return false; + var onChangeHandler = function onChangeHandler(e) { + if (checkedProp === undefined) { + setChecked(e.target.checked); + setIndeterminate(e.target.indeterminate); + } - if (currMonth !== undefined) { - if (limitMonth < currMonth) return true; - if (limitMonth > currMonth) return false; - } + if (onChange) onChange(e); + }; - if (currDate !== undefined && limitDate < currDate) return true; - break; + var IconMapper = classNames__default["default"]((_f = {}, _f['checked--regular'] = checked && size === 'regular', _f['checked--tiny'] = checked && size === 'tiny', _f['indeterminate--regular'] = indeterminate && size === 'regular', _f['indeterminate--tiny'] = indeterminate && size === 'tiny', _f)); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Checkbox", + className: CheckboxClass + }, /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Checkbox-OuterWrapper", + className: CheckboxOuterWrapper + }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, rest, { + type: "checkbox", + defaultChecked: defaultChecked, + onChange: onChangeHandler, + checked: checked, + disabled: disabled, + ref: ref, + name: name, + value: value, + className: CheckboxInputWrapper, + tabIndex: tabIndex, + id: id, + "data-test": "DesignSystem-Checkbox-InputBox" + })), /*#__PURE__*/React__namespace.createElement("span", { + className: CheckboxWrapper, + "data-test": "DesignSystem-Checkbox-Icon" + }, IconMapper && /*#__PURE__*/React__namespace.createElement(CheckboxIcon, { + name: IconMapper + }))), /*#__PURE__*/React__namespace.createElement("div", { + className: "Checkbox-labelWrapper" + }, label && label.trim() && /*#__PURE__*/React__namespace.createElement("label", { + htmlFor: id, + className: CheckboxLabelClass, + "data-test": "DesignSystem-Checkbox-Label" + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: size === 'tiny' ? 'small' : 'regular', + appearance: disabled ? 'disabled' : 'default' + }, label.trim())), helpText && /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-Checkbox-HelpText", + size: "small", + appearance: disabled ? 'disabled' : 'subtle' + }, helpText.trim())))); + }); + Checkbox.displayName = 'Checkbox'; - case 'more': - if (limitYear > currYear) return true; - if (limitYear < currYear) return false; + var Column = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a; - if (currMonth !== undefined) { - if (limitMonth > currMonth) return true; - if (limitMonth < currMonth) return false; - } + var size = props.size, + sizeXS = props.sizeXS, + sizeS = props.sizeS, + sizeM = props.sizeM, + sizeL = props.sizeL, + sizeXL = props.sizeXL, + className = props.className, + children = props.children, + rest = __rest(props, ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]); - if (currDate !== undefined && limitDate > currDate) return true; - break; + var classes = classNames__default["default"]((_a = {}, _a['Col'] = true, _a["Col--" + size] = size, _a["Col--xs-" + sizeXS] = sizeXS, _a["Col--s-" + sizeS] = sizeS, _a["Col--m-" + sizeM] = sizeM, _a["Col--l-" + sizeL] = sizeL, _a["Col--xl-" + sizeXL] = sizeXL, _a["" + className] = className, _a)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + ref: ref, + "data-test": "DesignSystem-Column" + }, rest, { + className: classes + }), children); + }); + Column.displayName = 'Column'; - case 'equal': - if (currDate !== undefined) { - if (limitYear === currYear && limitMonth === currMonth && limitDate === currDate) return true; - } else if (currMonth !== undefined) { - if (limitYear === currYear && limitMonth === currMonth) return true; - } else if (limitYear === currYear) return true; + var Trigger$1 = function Trigger(props) { + var inputFormat = props.inputFormat, + inputOptions = props.inputOptions, + validators = props.validators, + state = props.state, + setState = props.setState; + var init = state.init, + date$1 = state.date, + error = state.error; + var _a = inputOptions.placeholderChar, + placeholderChar = _a === void 0 ? '_' : _a; - } - } + var onPasteHandler = function onPasteHandler(_e, val) { + var onPaste = inputOptions.onPaste; + setState({ + open: true + }); - return false; - }; - var translateToString = function translateToString(format, d) { - if (format && d) { - var _a = getDateInfo(d), - year_1 = _a.year, - month_1 = _a.month, - date_1 = _a.date; + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + setState({ + date: d + }); + } - var separator_1 = format.includes('/') ? '/' : '-'; - var f_1 = format.split(separator_1); - var val = f_1.reduce(function (out, curr, i) { - switch (curr) { - case 'mm': - out += (month_1 < 9 && '0') + (month_1 + 1); - break; + if (onPaste) onPaste(_e, val); + }; - case 'yyyy': - out += year_1; - break; + var onChangeHandler = function onChangeHandler(_e, val) { + var onChange = inputOptions.onChange; + setState({ + open: true + }); - case 'dd': - out += (date_1 < 10 && '0') + date_1; - break; - } + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + setState({ + date: d + }); + } - if (i !== f_1.length - 1) out += separator_1; - return out; - }, ''); - return val; - } + if (onChange) onChange(_e); + }; - return ''; - }; - var translateToDate = function translateToDate(format, val, validators) { - if (validators === void 0) { - validators = []; - } + var onBlurHandler = function onBlurHandler(_e, val) { + var onBlur = inputOptions.onBlur; + setState({ + init: true + }); + var hasNumber = /\d/; - if (isValid(validators, val, format)) { - var separator = format.includes('/') ? '/' : '-'; - var year_2 = -1, - month_2 = -1, - date_2 = -1; - var v_1 = val.split(separator); - format.split(separator).forEach(function (f, i) { - switch (f) { - case 'mm': - month_2 = +v_1[i] - 1; - break; + if (val && hasNumber.test(val) && val.includes(placeholderChar)) { + setState({ + error: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + error: false + }); + } - case 'yyyy': - year_2 = +v_1[i]; - break; + if (onBlur) onBlur(_e, val || ''); + }; - case 'dd': - date_2 = +v_1[i]; - break; - } - }); - var d = convertToDate({ - year: year_2, - month: month_2, - date: date_2 + var onClearHandler = function onClearHandler(e) { + var onClear = inputOptions.onClear; + setState({ + init: true, + date: undefined }); - return d; - } else { - return undefined; - } - }; + if (onClear) onClear(e); + }; - var Calendar = function (_super) { - __extends(Calendar, _super); + var showError = inputOptions.error || inputOptions.required && error && init; + var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; - function Calendar(props) { - var _this = _super.call(this, props) || this; + var inputValidator = function inputValidator(val) { + return isValid(validators, val, inputFormat); + }; - _this.updateState = function (year, month, date) { - _this.setState({ - year: year, - month: month, - date: date - }); - }; + var mask = date[inputFormat]; + return /*#__PURE__*/React__namespace.createElement(X, __assign({ + icon: "events", + placeholder: inputFormat + }, inputOptions, { + error: showError, + mask: mask, + value: date$1 ? translateToString(inputFormat, date$1) : init ? X.utils.getDefaultValue(mask, placeholderChar) : '', + onChange: onChangeHandler, + onPaste: onPasteHandler, + onBlur: onBlurHandler, + onClear: onClearHandler, + caption: showError ? errorMessage : '', + validators: [inputValidator], + clearOnEmptyBlur: true, + id: "parent-DatePicker" + })); + }; - _this.getDateValue = function (year, month, date) { - var d = new Date(year, month, date); - return d; - }; + var DatePicker = function (_super) { + __extends(DatePicker, _super); - _this.getNavDateInfo = function (index) { - var _a = _this.state, - yearBlockNav = _a.yearBlockNav, - yearNav = _a.yearNav, - monthNav = _a.monthNav; - var monthBlock = config.monthBlock; - var yearBlock = yearBlockNav; - var month = (monthNav + index) % monthBlock; - var year = yearNav + (index !== 0 && month < monthNav ? 1 : 0); - return { - yearBlock: yearBlock, - year: year, - month: month - }; - }; + function DatePicker(props) { + var _this = _super.call(this, props) || this; - _this.getInRangeError = function () { + _this.getError = function (date) { var _a = _this.props, - rangePicker = _a.rangePicker, - rangeLimit = _a.rangeLimit; - var _b = _this.state, - startDateState = _b.startDate, - endDateState = _b.endDate, - hoverDateState = _b.hoverDate; - - if (rangePicker && rangeLimit) { - var _c = getDateInfo(startDateState), - startYear = _c.year, - startMonth = _c.month, - startDate = _c.date; - - var _d = getDateInfo(endDateState), - endYear = _d.year, - endMonth = _d.month, - endDate = _d.date; + disabledBefore = _a.disabledBefore, + disabledAfter = _a.disabledAfter; - var _e = getDateInfo(hoverDateState), - hoverYear = _e.year, - hoverMonth = _e.month, - hoverDate = _e.date; + var _b = getDateInfo(disabledBefore), + dbYear = _b.year, + dbMonth = _b.month, + dbDate = _b.date; - var limitDate = void 0; + var _c = getDateInfo(disabledAfter), + daYear = _c.year, + daMonth = _c.month, + daDate = _c.date; - if (startDateState) { - limitDate = new Date(startDateState); - limitDate.setDate(startDate + rangeLimit); - return compareDate(limitDate, 'less', hoverYear, hoverMonth, hoverDate + 1) || compareDate(limitDate, 'less', endYear, endMonth, endDate + 1); - } + return !date ? false : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); + }; - if (endDateState) { - limitDate = new Date(endDateState); - limitDate.setDate(endDate - rangeLimit); - return compareDate(limitDate, 'more', hoverYear, hoverMonth, hoverDate - 1) || compareDate(limitDate, 'more', startYear, startMonth, startDate - 1); - } - } + _this.onDateChangeHandler = function (d) { + _this.setState({ + init: true, + date: d + }); - return false; + var closeOnSelect = _this.props.closeOnSelect; + if (closeOnSelect) _this.setState({ + open: false + }); }; - _this.selectYear = function (year) { - return function () { - _this.updateState(year); + _this.onToggleHandler = function (o, type) { + var disabled = _this.props.inputOptions.disabled; + if (disabled) return; - _this.setState({ - view: 'month' - }); - }; - }; + switch (type) { + case 'outsideClick': + _this.setState({ + open: o + }); - _this.selectMonth = function (month) { - return function () { - _this.updateState(_this.state.yearNav, month); + break; - _this.setState({ - view: 'date' - }); - }; + case 'onClick': + _this.setState({ + open: true + }); + + break; + } }; - _this.selectDate = function (index, date) { - var _a = _this.getNavDateInfo(index), - year = _a.year, - month = _a.month; + var inputFormat = props.inputFormat, + validators = props.validators; + var date = convertToDate(props.date, inputFormat, validators); - _this.updateState(year, month, date); + var error = _this.getError(date); - var d = _this.getDateValue(year, month, date); + _this.state = { + date: date, + error: error, + init: false, + open: props.open || false + }; + return _this; + } - _this.setState({ - currDate: d + DatePicker.prototype.componentDidUpdate = function (prevProps, prevState) { + if (prevProps.date !== this.props.date) { + var _a = this.props, + inputFormat = _a.inputFormat, + validators = _a.validators; + var d = convertToDate(this.props.date, inputFormat, validators); + this.setState({ + date: d }); - }; + } - _this.onNavIconClickHandler = function (type) { - return function () { - var _a = _this.state, - view = _a.view, - yearBlockNav = _a.yearBlockNav, - yearNav = _a.yearNav, - monthNav = _a.monthNav; - var yearBlockRange = config.yearBlockRange, - monthBlock = config.monthBlock; - - switch (view) { - case 'year': - if (type === 'prev') _this.setState({ - yearBlockNav: yearBlockNav - yearBlockRange - }); - if (type === 'next') _this.setState({ - yearBlockNav: yearBlockNav + yearBlockRange - }); - break; + if (prevProps.open !== this.props.open) { + this.setState({ + open: this.props.open || false + }); + } - case 'month': - if (type === 'prev') _this.setState({ - yearNav: yearNav - 1 - }); - if (type === 'next') _this.setState({ - yearNav: yearNav + 1 - }); - break; + if (prevState.date !== this.state.date) { + var _b = this.props, + onDateChange = _b.onDateChange, + outputFormat = _b.outputFormat; + var date = this.state.date; + var newError = this.getError(date); + this.setState({ + error: newError + }); - case 'date': - if (type === 'prev') { - if (monthNav === 0) _this.setState({ - yearNav: yearNav - 1 - }); + if (onDateChange) { + if (!newError) { + var dVal = translateToString(outputFormat, date); + onDateChange(date, dVal); + } else { + onDateChange(undefined, ''); + } + } + } + }; - _this.setState({ - monthNav: (monthBlock + monthNav - 1) % monthBlock - }); - } + DatePicker.prototype.renderCalendar = function () { + var _this = this; - if (type === 'next') { - if (monthNav === monthBlock - 1) _this.setState({ - yearNav: yearNav + 1 - }); + var _a = this.props; + _a.date; + _a.open; + _a.position; + var inputFormat = _a.inputFormat; + _a.outputFormat; + _a.inputOptions; + var validators = _a.validators; + _a.withInput; + var disabledBefore = _a.disabledBefore, + disabledAfter = _a.disabledAfter; + _a.onDateChange; + _a.closeOnSelect; + var size = _a.size, + _b = _a.showTodayDate, + showTodayDate = _b === void 0 ? true : _b, + _c = _a.children, + children = _c === void 0 ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null) : _c, + view = _a.view, + rest = __rest(_a, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect", "size", "showTodayDate", "children", "view"]); - _this.setState({ - monthNav: (monthNav + 1) % monthBlock - }); - } + var date = this.state.date; + var months = config.months; + var todayDate = new Date(Date.now()); + var todayMonthAndDate = months[todayDate.getMonth()] + " " + todayDate.getDate(); + var currDate = convertToDate(date, inputFormat, validators); + var dateDisabledBefore = convertToDate(disabledBefore, inputFormat, validators); + var dateDisabledAfter = convertToDate(disabledAfter, inputFormat, validators); + + var isTodayDisabled = function isTodayDisabled() { + var isTodayDateDisabled = true; + + if (currDate && dateDisabledBefore && dateDisabledAfter) { + isTodayDateDisabled = currDate > dateDisabledBefore && currDate < dateDisabledAfter; + } else if (currDate && dateDisabledBefore) { + isTodayDateDisabled = currDate < dateDisabledBefore; + } else if (currDate && dateDisabledAfter) { + isTodayDateDisabled = currDate > dateDisabledAfter; + } - break; - } - }; + return !isTodayDateDisabled; }; - _this.renderJumpButton = function (type) { - var _a; + var todayChipClass = classNames__default["default"]({ + 'd-flex justify-content-center': true, + 'pb-5': size === 'small', + 'pb-6': size === 'large', + 'pt-3': size === 'large' && view === 'year' + }); + return /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement("div", { + className: "d-flex" + }, children, /*#__PURE__*/React__namespace.createElement(Calendar, __assign({}, rest, { + size: size, + date: currDate, + view: view, + disabledBefore: dateDisabledBefore, + disabledAfter: dateDisabledAfter, + onDateChange: this.onDateChangeHandler + }))), showTodayDate && /*#__PURE__*/React__namespace.createElement("div", { + className: todayChipClass, + "data-test": "DesignSystem-Select--TodaysDate-wrapper" + }, /*#__PURE__*/React__namespace.createElement(Chip, { + label: "Today, " + todayMonthAndDate, + name: "chip", + type: "action", + disabled: isTodayDisabled(), + onClick: function onClick() { + return _this.onDateChangeHandler(new Date()); + } + }))); + }; - var _b = _this.props, - disabledBefore = _b.disabledBefore, - disabledAfter = _b.disabledAfter; - var _c = _this.state, - view = _c.view, - yearBlockNav = _c.yearBlockNav, - yearNav = _c.yearNav, - monthNav = _c.monthNav; - var disabled = false; + DatePicker.prototype.render = function () { + var _a = this.props, + position = _a.position, + withInput = _a.withInput, + inputFormat = _a.inputFormat, + inputOptions = _a.inputOptions, + validators = _a.validators; + var open = this.state.open; - switch (view) { - case 'year': - if (type === 'prev') { - disabled = compareYearBlock(disabledBefore, 'more', yearBlockNav) || compareYearBlock(disabledBefore, 'equal', yearBlockNav); - } + if (withInput) { + return /*#__PURE__*/React__namespace.createElement(Popover, { + trigger: /*#__PURE__*/React__namespace.createElement(Trigger$1, { + inputFormat: inputFormat, + inputOptions: inputOptions, + validators: validators, + state: this.state, + setState: this.setState.bind(this) + }), + triggerClass: "w-100", + position: position, + appendToBody: true, + open: open, + onToggle: this.onToggleHandler + }, this.renderCalendar()); + } - if (type === 'next') { - disabled = compareYearBlock(disabledAfter, 'less', yearBlockNav) || compareYearBlock(disabledAfter, 'equal', yearBlockNav); - } + return this.renderCalendar(); + }; - break; + DatePicker.defaultProps = __assign(__assign({}, Calendar.defaultProps), { + position: 'bottom-start', + inputFormat: 'mm/dd/yyyy', + outputFormat: 'mm/dd/yyyy', + validators: [date$1], + inputOptions: {}, + closeOnSelect: true + }); + return DatePicker; + }(React__namespace.Component); - case 'month': - if (type === 'prev') { - disabled = compareDate(disabledBefore, 'more', yearNav - 1); - } + var parseDate = function parseDate(date_time) { + var d = new Date(); + d.setHours(date_time.substring(0, 2)); + d.setMinutes(date_time.substring(3, 5)); + return d; + }; - if (type === 'next') { - disabled = compareDate(disabledAfter, 'less', yearNav + 1); - } + var isFormat12Hour = function isFormat12Hour(format) { + return format === '12-Hour'; + }; - break; + var isTimeIn12HourFormat = function isTimeIn12HourFormat(time) { + return _isTimeInAM(time) || _isTimeInPM(time); + }; - case 'date': - if (type === 'prev') { - disabled = compareDate(disabledBefore, 'more', yearNav, monthNav - 1); - } + var _isTimeInAM = function _isTimeInAM(time) { + return time.includes('a') || time.includes('A'); + }; + var _isTimeInPM = function _isTimeInPM(time) { + return time.includes('p') || time.includes('P'); + }; + var convert12To24HourFormat$1 = function convert12To24HourFormat(timeStr) { + var _a = timeStr.split(' '), + time = _a[0], + modifier = _a[1]; - if (type === 'next') { - disabled = compareDate(disabledAfter, 'less', yearNav, monthNav + 1); - } + var timeArr = time.split(':'); + var hours = timeArr[0]; + var minutes = timeArr[1]; - break; - } + if (hours === '12' && _isTimeInAM(modifier)) { + hours = '00'; + } - var headerIconClass = classNames__default['default']((_a = { - 'Calendar-headerIcon': true - }, _a["Calendar-headerIcon--" + type] = type, _a)); - return /*#__PURE__*/React__namespace.createElement(Button, { - type: "button", - className: headerIconClass, - appearance: "transparent", - icon: "arrow_" + (type === 'next' ? 'forward' : 'back'), - disabled: disabled, - onClick: _this.onNavIconClickHandler(type) - }); - }; + if (_isTimeInPM(modifier) && hours !== '12') { + hours = (parseInt(hours, 10) + 12).toString(); + } - _this.onNavHeadingClickHandler = function (currView) { - return function () { - var monthsInView = _this.props.monthsInView; - var jumpView = _this.props.jumpView; + return hours + ":" + minutes; + }; + var convertToTwoDigit = function convertToTwoDigit(val) { + return ('0' + val).slice(-2); + }; + var convert24To12HourFormat = function convert24To12HourFormat(timeStr) { + var timeArr = timeStr.split(':'); + var hours = parseInt(timeArr[0], 10); + var modifier = hours >= 12 ? 'PM' : 'AM'; + var convertedHours = hours % 12 || 12; + var hoursInString = convertedHours.toString(); + hoursInString = convertToTwoDigit(hoursInString); + var minutes = timeArr[1]; + var result = hoursInString.toString() + ":" + minutes + " " + modifier; + return result; + }; - if (jumpView) { - if (monthsInView > 1) jumpView = false; - } + var getTimeIn24HrFormat = function getTimeIn24HrFormat(timeStr) { + if (isTimeIn12HourFormat(timeStr)) { + return convert12To24HourFormat$1(timeStr); + } - if (jumpView) { - if (currView === 'year') _this.setState({ - view: 'date' - }); - if (currView === 'month') _this.setState({ - view: 'year' - }); - if (currView === 'date') _this.setState({ - view: 'month' - }); - } - }; - }; + return timeStr; + }; - _this.renderHeaderContent = function (index) { - var _a = _this.props, - size = _a.size, - monthsInView = _a.monthsInView; - var _b = _this.state, - view = _b.view, - yearBlockNav = _b.yearBlockNav; - var yearBlockRange = config.yearBlockRange, - months = config.months; + var checkTimeDifference = function checkTimeDifference(startTime, endTime) { + var parseStartTime = parseDate(startTime); + var parseEndTime = parseDate(endTime); + return parseStartTime > parseEndTime; + }; - var _c = _this.getNavDateInfo(index), - yearNavVal = _c.year, - monthNavVal = _c.month; + var get24HourTimeList = function get24HourTimeList(startTime, endTime, interval) { + var timeList = []; + var parseStartTime = parseDate(startTime); + var parseEndTime = parseDate(endTime); - var headerContentClass = classNames__default['default']({ - 'Calendar-headerContent': true, - 'Calendar-headerContent--noIcon-left': index === monthsInView - 1, - 'Calendar-headerContent--noIcon-right': index === 0 - }); - var headerContent = ''; - if (view === 'year') headerContent = yearBlockNav + " - " + (yearBlockNav + (yearBlockRange - 1)); - if (view === 'month') headerContent = "" + yearNavVal; + while (parseStartTime <= parseEndTime) { + timeList.push(parseStartTime.toTimeString().substring(0, 5)); + parseStartTime.setMinutes(parseStartTime.getMinutes() + interval); + } - var renderHeading = function renderHeading(content) { - if (size === 'small') { - return /*#__PURE__*/React__namespace.createElement(Text, { - weight: "strong" - }, content); - } + return timeList; + }; - return /*#__PURE__*/React__namespace.createElement(Heading, { - size: "s" - }, content); - }; + var getReverseTimeList = function getReverseTimeList(startTime, endTime, interval) { + var timeList = get24HourTimeList('00:00', '23:59', interval); + var startTimeIndex = timeList.indexOf(startTime); + var endTimeIndex = timeList.indexOf(endTime); + var nextDayTimeIndex = endTime === '' ? startTimeIndex : endTimeIndex + 1; + var presentDayList = timeList.slice(startTimeIndex); + var nextDayList = timeList.slice(0, nextDayTimeIndex); + var result = presentDayList.concat(nextDayList); + return result; + }; - return /*#__PURE__*/React__namespace.createElement("div", { - className: headerContentClass - }, view !== 'date' && /*#__PURE__*/React__namespace.createElement("span", { - onClick: _this.onNavHeadingClickHandler(view) - }, renderHeading(headerContent)), view === 'date' && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", { - onClick: _this.onNavHeadingClickHandler(view) - }, renderHeading(months[monthNavVal])), /*#__PURE__*/React__namespace.createElement("span", { - className: "ml-4", - onClick: _this.onNavHeadingClickHandler('month') - }, renderHeading(yearNavVal)))); - }; + var getTimeListIn24HourFormat = function getTimeListIn24HourFormat(startTime, endTime, interval) { + if (endTime === '' || checkTimeDifference(startTime, endTime)) { + return getReverseTimeList(startTime, endTime, interval); + } - _this.renderBodyYear = function () { - var yearBlockRange = config.yearBlockRange, - yearsInRow = config.yearsInRow; - var _a = _this.props, - size = _a.size, - rangePicker = _a.rangePicker, - disabledBefore = _a.disabledBefore, - disabledAfter = _a.disabledAfter; - var yearBlockNav = _this.state.yearBlockNav; - var noOfRows = Math.ceil(yearBlockRange / yearsInRow); - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React__namespace.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: yearsInRow - }, function (_x, col) { - var _a; + return get24HourTimeList(startTime, endTime, interval); + }; - var offset = yearsInRow * row + col; - if (offset === yearBlockNav) return undefined; - var year = yearBlockNav + offset; - var disabled = compareDate(disabledBefore, 'more', year) || compareDate(disabledAfter, 'less', year); - var active = !disabled && !rangePicker && year === _this.state.year; - var valueClass = classNames__default['default']((_a = { - 'Calendar-value': true, - 'Calendar-value--active': active, - 'Calendar-value--disabled': disabled, - 'Calendar-yearValue': true - }, _a["Calendar-yearValue--" + size] = size, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - key: row + "-" + col, - "data-test": "DesignSystem-Calendar--yearValue", - className: valueClass, - onClick: _this.selectYear(year) - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: size === 'small' ? 'small' : 'regular', - appearance: active ? 'white' : disabled ? 'disabled' : 'default' - }, year)); - })); - }); + var getTimeDifference = function getTimeDifference(startTime, endTime) { + var timeStart = new Date('07/07/2022 ' + startTime); + var timeEnd = new Date('07/07/2022 ' + endTime); + var diff = timeEnd.getTime() - timeStart.getTime(); + var diff_as_date = new Date(diff); + var hour = diff_as_date.getUTCHours(); + var minute = diff_as_date.getUTCMinutes(); + return { + hour: hour, + minute: minute + }; + }; + + var getCustomLabel = function getCustomLabel(time, timeFormat, showDuration, referenceTime) { + var label = time; + + if (isFormat12Hour(timeFormat)) { + label = convert24To12HourFormat(time); + } + + if (showDuration && referenceTime) { + var _a = getTimeDifference(referenceTime, time), + hour = _a.hour, + minute = _a.minute; + + var timeDiffLabel = " (" + hour + " hr " + minute + " min)"; + label += timeDiffLabel; + } + + return label; + }; + + var isOptionDisabled = function isOptionDisabled(time, timeFormat, disabledSlotList) { + var timeValue = time; + + if (isFormat12Hour(timeFormat)) { + timeValue = convert24To12HourFormat(time); + } + + if (disabledSlotList.includes(timeValue)) { + return true; + } + + return false; + }; + + var convertTimeToOptionList = function convertTimeToOptionList(timeList, timeFormat, id, showDuration, referenceTime, disabledSlotList) { + if (id === void 0) { + id = 'TimePicker-Option-key'; + } + + var optionList = timeList.map(function (time, index) { + return { + label: getCustomLabel(time, timeFormat, showDuration, referenceTime), + value: time, + disabled: disabledSlotList && isOptionDisabled(time, timeFormat, disabledSlotList), + selected: false, + optionID: id + index }; + }); + return optionList; + }; - _this.renderBodyMonth = function () { - var monthBlock = config.monthBlock, - monthsInRow = config.monthsInRow, - months = config.months; - var _a = _this.props, - size = _a.size, - disabledBefore = _a.disabledBefore, - disabledAfter = _a.disabledAfter; - var _b = _this.state, - yearNav = _b.yearNav, - year = _b.year; - var noOfRows = Math.ceil(monthBlock / monthsInRow); - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React__namespace.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: monthsInRow - }, function (_x, col) { - var _a; + var computeEndTime = function computeEndTime(startTime) { + return startTime ? '' : '23:59'; + }; - var month = monthsInRow * row + col; - var disabled = compareDate(disabledBefore, 'more', yearNav, month) || compareDate(disabledAfter, 'less', yearNav, month); - var active = !disabled && year === yearNav && month === _this.state.month; - var valueClass = classNames__default['default']((_a = { - 'Calendar-value': true, - 'Calendar-value--active': active, - 'Calendar-value--dummy': disabled, - 'Calendar-monthValue': true - }, _a["Calendar-monthValue--" + size] = size, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - key: row + "-" + col, - "data-test": "DesignSystem-Calendar--monthValue", - className: valueClass, - onClick: _this.selectMonth(month) - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: size === 'small' ? 'small' : 'regular', - appearance: active ? 'white' : disabled ? 'disabled' : 'default' - }, months[month])); - })); - }); + var getDropdownOptionList = function getDropdownOptionList(props) { + var startTime = props.startTime, + endTime = props.endTime, + interval = props.interval, + timeFormat = props.timeFormat, + showDuration = props.showDuration, + disabledSlotList = props.disabledSlotList, + id = props.id; + var startTimeIn24Hr = startTime ? getTimeIn24HrFormat(startTime) : '00:00'; + var endTimeIn24Hr = endTime ? getTimeIn24HrFormat(endTime) : computeEndTime(startTime); + var timeList = getTimeListIn24HourFormat(startTimeIn24Hr, endTimeIn24Hr, interval); + var dropdownOptionList = convertTimeToOptionList(timeList, timeFormat, id, showDuration, startTime, disabledSlotList); + return dropdownOptionList; + }; + + var convertMinTo60 = function convertMinTo60(time) { + var parseNum = parseInt(time, 10); + if (parseNum < 10) return time; + var timeInNum = parseNum > 60 ? parseNum % 60 : parseNum; + var min = (timeInNum.toString() + '0').slice(0, 2); + return min; + }; + + var get24HourCurrentTime = function get24HourCurrentTime() { + var today = new Date(); + return convertToTwoDigit(today.getHours()) + ':' + convertToTwoDigit(today.getMinutes()); + }; + + var convertHourTo24 = function convertHourTo24(time) { + var timeInNum = parseInt(time, 10) % 24; + return timeInNum.toString(); + }; + + var convertHourTo12 = function convertHourTo12(time) { + var timeInNum = parseInt(time, 10) % 12; + return timeInNum.toString(); + }; + + var _checkNumber = function _checkNumber(str) { + var numberRegex = /^[0-9]+$/; + return numberRegex.test(str); + }; + + var _checkNumberWithAMPM = function _checkNumberWithAMPM(str) { + var numberWithAMPMRegex = /^[0-9]+[ AaMmPp]+$/; + return numberWithAMPMRegex.test(str); + }; + + var _checkNumberWithSpecialChar = function _checkNumberWithSpecialChar(str) { + var numberWithSpecialCharRegex = /^[0-9]+[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~][0-9]*$/; + return numberWithSpecialCharRegex.test(str); + }; + + var _checkNumberWithSpecialCharAMPM = function _checkNumberWithSpecialCharAMPM(str) { + var numberWithSpecialCharAMPM = /^[0-9]+[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~][0-9]+[ AaMmPp]+$/; + return numberWithSpecialCharAMPM.test(str); + }; + + var specialCharRegex = /[`\s!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/; + + var getTimeFromNumberWithSpecialChar = function getTimeFromNumberWithSpecialChar(searchTime) { + var time = searchTime.split(specialCharRegex); + var hour = convertHourTo24(time[0]); + var hh = convertToTwoDigit(hour); + var min = time[1] !== '' ? convertMinTo60(time[1]) : '00'; + var mm = (min + '0').slice(0, 2); + return { + hour: hh, + min: mm + }; + }; + + var getSearchTimeFromNumber = function getSearchTimeFromNumber(searchTerm, show12HourFormat) { + var searchLen = searchTerm.length; + var searchTimeInNum = parseInt(searchTerm, 10); + var firstTwoTerm = searchTerm.slice(0, 2); + var hh = '00'; + var mm = '00'; + + switch (searchLen) { + case 1: + hh = '0' + searchTerm; + break; + + case 2: + if (searchTimeInNum <= 24 || show12HourFormat && searchTimeInNum <= 12) { + hh = convertToTwoDigit(searchTerm); + } else { + hh = '0' + searchTerm[0]; + mm = convertMinTo60(searchTerm[1] + '0'); + } + + break; + + case 3: + hh = '0' + searchTerm[0]; + mm = convertMinTo60(searchTerm.slice(1)); + break; + + case 4: + hh = show12HourFormat ? convertHourTo12(firstTwoTerm) : convertHourTo24(firstTwoTerm); + mm = convertMinTo60(searchTerm.slice(2)); + break; + + default: + hh = '-1'; + mm = '-1'; + } + + return { + hour: hh, + min: mm + }; + }; + + var getTimeFromNumberWithAMPM = function getTimeFromNumberWithAMPM(searchTime) { + var timeArr = searchTime.split(/[\saAmMpP]/); + + var _a = getSearchTimeFromNumber(timeArr[0], true), + hour = _a.hour, + min = _a.min; + + return { + hour: hour, + min: min + }; + }; + + var formatSearchTerm = function formatSearchTerm(optionList, searchTerm) { + var searchTime = { + hour: '00', + min: '00' + }; + + if (_checkNumber(searchTerm)) { + var searchTimeInHHMM = getSearchTimeFromNumber(searchTerm); + + if (parseInt(searchTimeInHHMM.hour) <= 12 && parseInt(searchTimeInHHMM.hour) > 0) { + searchTime = getCurrentRelativeTime(optionList, searchTimeInHHMM); + } else { + searchTime = searchTimeInHHMM; + } + } else if (_checkNumberWithAMPM(searchTerm)) { + searchTime = getTimeFromNumberWithAMPM(searchTerm); + searchTime.hour = convert12To24HourFormat(searchTime.hour, searchTerm); + } else if (_checkNumberWithSpecialChar(searchTerm)) { + var searchTimeInHHMM = getTimeFromNumberWithSpecialChar(searchTerm); + + if (parseInt(searchTimeInHHMM.hour) <= 12) { + searchTime = getCurrentRelativeTime(optionList, searchTimeInHHMM); + } else { + searchTime = searchTimeInHHMM; + } + } else if (_checkNumberWithSpecialCharAMPM(searchTerm)) { + var timeWithoutAMPM = searchTerm.replace(/[\saApPmM]/g, ''); + + if (_checkNumber(timeWithoutAMPM)) { + searchTime = getSearchTimeFromNumber(timeWithoutAMPM, true); + } else if (_checkNumberWithSpecialChar(timeWithoutAMPM)) { + searchTime = getTimeFromNumberWithSpecialChar(timeWithoutAMPM); + } + + searchTime.hour = convert12To24HourFormat(searchTime.hour, searchTerm); + } + + return searchTime; + }; + + var convert12To24HourFormat = function convert12To24HourFormat(hours, searchTerm) { + if (hours === '12' && _isTimeInAM(searchTerm)) { + hours = '00'; + } else if (_isTimeInPM(searchTerm) && hours !== '12') { + hours = (parseInt(hours, 10) + 12).toString(); + } + + return hours; + }; + + var getCurrentRelativeTime = function getCurrentRelativeTime(optionList, searchTime) { + var searchTimeStr = searchTime.hour + ":" + searchTime.min; + var currentTime = get24HourCurrentTime(); + var greaterTime = checkTimeDifference(currentTime, searchTimeStr); + var currentTimeIndex = findClosestTimeIndex(optionList, currentTime); + var searchTimeIndex = findClosestTimeIndex(optionList, searchTimeStr); + + if (greaterTime && currentTimeIndex > searchTimeIndex) { + var hourIn24Format = parseInt(searchTime.hour, 10) + 12; + searchTime.hour = hourIn24Format.toString(); + } + + return searchTime; + }; + + var findClosestTimeIndex = function findClosestTimeIndex(optionList, searchItem) { + var closestItemIndex = 0; + var minTime = { + hour: 100, + mins: 100 + }; + + for (var index = 0; index < optionList.length; index++) { + var _a = getTimeDifference(searchItem, optionList[index]), + hour = _a.hour, + minute = _a.minute; + + if (hour < minTime.hour || hour === minTime.hour && minute < minTime.mins) { + minTime.hour = hour; + minTime.mins = minute; + closestItemIndex = index; + } + } + + return closestItemIndex; + }; + + var getSearchIndex = function getSearchIndex(optionList, searchTerm) { + var _a = formatSearchTerm(optionList, searchTerm), + hour = _a.hour, + min = _a.min; + + if (min === '60') { + min = '00'; + hour = (parseInt(hour, 10) + 1).toString(); + } + + var searchItem = hour + ":" + min; + var searchIndex = findClosestTimeIndex(optionList, searchItem); + return searchIndex; + }; + + var countNumberInStr = function countNumberInStr(searchTerm) { + var _a; + + return ((_a = searchTerm.match(/\d/g)) === null || _a === void 0 ? void 0 : _a.length) || 0; + }; + + var isValidSearchTerm = function isValidSearchTerm(searchTerm) { + var totalDigit = countNumberInStr(searchTerm); + return totalDigit > 0 && totalDigit < 5; + }; + + var getValueFromOptionList = function getValueFromOptionList(optionList) { + var list = optionList.map(function (option) { + return option.value; + }); + return list; + }; + + var getSearchValueIndex = function getSearchValueIndex(options, searchTerm) { + if (!isValidSearchTerm(searchTerm)) { + return -1; + } + + var searchIndex = getSearchIndex(options, searchTerm); + return searchIndex; + }; + + var getScrollIndex = function getScrollIndex(dropdownOptionList, searchTerm) { + var optionList = getValueFromOptionList(dropdownOptionList); + + if (searchTerm === '') { + var currTime = get24HourCurrentTime(); + var currTimeIndex = findClosestTimeIndex(optionList, currTime); + return currTimeIndex; + } + + return getSearchValueIndex(optionList, searchTerm); + }; + + var getSearchedOptions = function getSearchedOptions(options, searchTerm) { + var result = options.filter(function (option) { + return option.label.toLowerCase().includes(searchTerm.toLowerCase()); + }); + return result; + }; + + var sortList = function sortList(arr) { + return arr.sort(function (a, b) { + return a.value > b.value ? 1 : b.value > a.value ? -1 : 0; + }); + }; + + var _isEqual = function _isEqual(firstList, secondList) { + var firstSortedList = sortList(__spreadArrays(firstList)); + var secondSortedList = sortList(__spreadArrays(secondList)); + return firstSortedList.length === secondSortedList.length && firstSortedList.every(function (option, index) { + return option.value === secondSortedList[index].value; + }); + }; + var _isControlled = function _isControlled(selected) { + return selected !== undefined; + }; + var _isOpenControlled = function _isOpenControlled(open) { + return open !== undefined; + }; + var _showSelectedItems = function _showSelectedItems(bulk, searchTerm, withCheckbox) { + return bulk && withCheckbox && searchTerm === ''; + }; + var _isSelectAllPresent = function _isSelectAllPresent(searchTerm, bulkOptions, withSelectAll, withCheckbox) { + return withCheckbox && withSelectAll && bulkOptions === 0 && searchTerm === ''; + }; + var scrollTo = function scrollTo(element, top) { + element.scrollTo(0, top); + }; + var scrollIntoView = function scrollIntoView(menuElement, focusedElement) { + var menuRect = menuElement === null || menuElement === void 0 ? void 0 : menuElement.getBoundingClientRect(); + var focusedRect = focusedElement.getBoundingClientRect(); + var overscroll = focusedElement.offsetHeight; + + if (focusedRect.bottom > menuRect.bottom && menuElement) { + scrollTo(menuElement, focusedElement.offsetTop - menuRect.height + overscroll); + } else if (focusedRect.top < menuRect.top && menuElement) { + scrollTo(menuElement, focusedElement.offsetTop - overscroll); + } + }; + var getSelectAll$1 = function getSelectAll(selected, optionsLength, disabledOptionsLength) { + if (selected.length) { + if (selected.length > 0 && disabledOptionsLength > 0 && selected.length === optionsLength - disabledOptionsLength) { + return { + indeterminate: true, + checked: true + }; + } + + var indeterminate = selected.length > 0 && selected.length !== optionsLength; + var checked = selected.length > 0 && selected.length === optionsLength; + var obj = { + checked: checked, + indeterminate: indeterminate }; + return obj; + } + + return { + indeterminate: false, + checked: false + }; + }; + var scrollToOptionIndex = function scrollToOptionIndex(scrollIndex, listOptions) { + var _a; + + var optionID = listOptions && ((_a = listOptions[scrollIndex]) === null || _a === void 0 ? void 0 : _a.optionID); + var targetOption = document.getElementById(optionID); + targetOption && targetOption.scrollIntoView && targetOption.scrollIntoView({ + block: 'center' + }); + }; + var groupListOptions = function groupListOptions(listOptions) { + var groupList = listOptions.reduce(function (acc, option) { + var group = option.group || ''; + + if (!acc[group]) { + acc[group] = []; + } + + acc[group].push(option); + return acc; + }, {}); + var flattenedGroupList = Object.values(groupList).flatMap(function (item) { + return __spreadArrays(item); + }); + return flattenedGroupList; + }; + + var TimePickerWithSearch = function TimePickerWithSearch(props) { + var open = props.open, + endTime = props.endTime, + interval = props.interval, + onChange = props.onChange, + startTime = props.startTime, + timeFormat = props.timeFormat, + showDuration = props.showDuration, + noResultMessage = props.noResultMessage, + disabledSlotList = props.disabledSlotList, + fetchTimeOptions = props.fetchTimeOptions, + error = props.error; + + var _a = React__namespace.useState(0), + tabIndex = _a[0], + setTabIndex = _a[1]; + + var _b = React__namespace.useState(false), + openPopover = _b[0], + setOpenPopover = _b[1]; + + var _c = React__namespace.useState(-1), + selectedIndex = _c[0], + setSelectedIndex = _c[1]; + + var _d = React__namespace.useState(0), + counter = _d[0], + setCounter = _d[1]; + + var dropdownOptionList = getDropdownOptionList(props); + React__namespace.useEffect(function () { + open !== undefined && setOpenPopover(open); + }, [open]); + React__namespace.useEffect(function () { + var timer; + + if (openPopover && selectedIndex != -1) { + setTabIndex(selectedIndex); + timer = setTimeout(function () { + scrollToOptionIndex(selectedIndex, dropdownOptionList); + }, 100); + } + + return function () { + clearTimeout(timer); + }; + }, [openPopover]); + React__namespace.useEffect(function () { + setCounter(counter + 1); + }, [startTime, endTime, interval, showDuration, disabledSlotList]); + + var onChangeHandler = function onChangeHandler(props) { + var time = props; + + if (isFormat12Hour(timeFormat)) { + time = convert24To12HourFormat(time); + } + + var selectIndex = dropdownOptionList.findIndex(function (option) { + return option.value === props; + }); + setSelectedIndex(selectIndex); + onChange && onChange(time); + }; + + var getOptionList = function getOptionList(searchTerm) { + var scrollIndex; + var indexValue = getScrollIndex(dropdownOptionList, searchTerm); + + if (searchTerm === '' && selectedIndex != -1) { + scrollIndex = selectedIndex; + setTabIndex(selectedIndex); + } else { + scrollIndex = indexValue; + setTabIndex(indexValue); + } + + return Promise.resolve({ + options: indexValue === -1 ? [] : dropdownOptionList, + count: dropdownOptionList.length, + scrollToIndex: scrollIndex === 0 ? scrollIndex + 1 : scrollIndex, + searchTerm: searchTerm + }); + }; + + var fetchOptionList = function fetchOptionList() { + return fetchTimeOptions ? fetchTimeOptions : getOptionList; + }; + + return /*#__PURE__*/React__namespace.createElement(Dropdown, { + key: counter, + maxHeight: 160, + loadersCount: 0, + withSearch: true, + open: openPopover, + tabIndex: tabIndex, + searchPlaceholder: "Search", + onChange: onChangeHandler, + fetchOptions: fetchOptionList(), + noResultMessage: noResultMessage, + staticLimit: dropdownOptionList.length, + onPopperToggle: function onPopperToggle() { + setOpenPopover(!openPopover); + }, + error: error + }); + }; + TimePickerWithSearch.defaultProps = { + timeFormat: '12-Hour', + interval: 15 + }; + TimePickerWithSearch.displayName = 'TimePickerWithSearch'; + + var TimePickerWithInput = function TimePickerWithInput(props) { + var validators = props.validators, + inputOptions = props.inputOptions, + inputFormat = props.inputFormat, + outputFormat = props.outputFormat, + onTimeChange = props.onTimeChange, + timeProp = props.time, + error = props.error; + + var _a = React__namespace.useState(timeProp), + time$1 = _a[0], + setTime = _a[1]; + + var _b = React__namespace.useState(false), + init = _b[0], + setInit = _b[1]; + + var _c = inputOptions.placeholderChar, + placeholderChar = _c === void 0 ? '_' : _c; + React__namespace.useEffect(function () { + var timeStr = translateToTime(inputFormat, time$1); + var updatedTime = timeProp === undefined && timeStr.includes(placeholderChar) ? time$1 : timeProp; + setTime(updatedTime); + }, [timeProp]); + + var onChangeHandler = function onChangeHandler(e, val) { + if (val === void 0) { + val = ''; + } + + var updatedTime = val === null || val === void 0 ? void 0 : val.toUpperCase(); + setTime(updatedTime); + + if (inputOptions.onChange) { + inputOptions.onChange(e, val); + } + }; + + var onBlurHandler = function onBlurHandler(e, val) { + if (val === void 0) { + val = ''; + } + + var updatedTime = translateToTime(inputFormat, time$1); + setInit(true); + + if (onTimeChange) { + var outputTimeStr = updatedTime && !isPlaceholderPresent(placeholderChar, updatedTime) ? getOutputTimeString(inputFormat, outputFormat, updatedTime) : undefined; + onTimeChange(outputTimeStr); + } + + if (inputOptions.onBlur) inputOptions.onBlur(e, val); + }; + + var onClearHandler = function onClearHandler(e) { + var updatedTime = ''; + setInit(true); + if (onTimeChange) onTimeChange(updatedTime); + if (inputOptions.onClear) inputOptions.onClear(e); + }; + + var inputValidator = function inputValidator(val) { + return isValid(validators, val, inputFormat); + }; + + var mask = time[inputFormat]; + return /*#__PURE__*/React__namespace.createElement(X, __assign({ + placeholder: placeholders[inputFormat], + placeholderChar: placeholderChar + }, inputOptions, { + mask: mask, + value: time$1 ? translateToTime(inputFormat, time$1) : init ? X.utils.getDefaultValue(mask, placeholderChar) : '', + validators: inputValidator, + onChange: onChangeHandler, + onClear: onClearHandler, + onBlur: onBlurHandler, + error: error, + id: "parent-TimePicker" + })); + }; + TimePickerWithInput.defaultProps = { + inputFormat: 'hh:mm AM', + outputFormat: 'hh:mm AM', + inputOptions: {}, + validators: [time$1] + }; + TimePickerWithInput.displayName = 'TimePickerWithInput'; + + var TimePicker = function TimePicker(props) { + return props.withSearch ? /*#__PURE__*/React__namespace.createElement(TimePickerWithSearch, __assign({}, props)) : /*#__PURE__*/React__namespace.createElement(TimePickerWithInput, __assign({}, props)); + }; + TimePicker.defaultProps = __assign(__assign({}, TimePickerWithInput.defaultProps), TimePickerWithSearch.defaultProps); + TimePicker.displayName = 'TimePicker'; + + /* eslint-disable no-undefined,no-param-reassign,no-shadow */ + + /** + * Throttle execution of a function. Especially useful for rate limiting + * execution of handlers on events like resize and scroll. + * + * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. + * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the + * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time + * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds, + * the internal counter is reset). + * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, + * to `callback` when the throttled-function is executed. + * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end), + * schedule `callback` to execute after `delay` ms. + * + * @returns {Function} A new, throttled, function. + */ + function throttle (delay, noTrailing, callback, debounceMode) { + /* + * After wrapper has stopped being called, this timeout ensures that + * `callback` is executed at the proper times in `throttle` and `end` + * debounce modes. + */ + var timeoutID; + var cancelled = false; // Keep track of the last time `callback` was executed. + + var lastExec = 0; // Function to clear existing timeout + + function clearExistingTimeout() { + if (timeoutID) { + clearTimeout(timeoutID); + } + } // Function to cancel next exec + + + function cancel() { + clearExistingTimeout(); + cancelled = true; + } // `noTrailing` defaults to falsy. + + + if (typeof noTrailing !== 'boolean') { + debounceMode = callback; + callback = noTrailing; + noTrailing = undefined; + } + /* + * The `wrapper` function encapsulates all of the throttling / debouncing + * functionality and when executed will limit the rate at which `callback` + * is executed. + */ + + + function wrapper() { + for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) { + arguments_[_key] = arguments[_key]; + } + + var self = this; + var elapsed = Date.now() - lastExec; + + if (cancelled) { + return; + } // Execute `callback` and update the `lastExec` timestamp. + + + function exec() { + lastExec = Date.now(); + callback.apply(self, arguments_); + } + /* + * If `debounceMode` is true (at begin) this is used to clear the flag + * to allow future `callback` executions. + */ + + + function clear() { + timeoutID = undefined; + } + + if (debounceMode && !timeoutID) { + /* + * Since `wrapper` is being called for the first time and + * `debounceMode` is true (at begin), execute `callback`. + */ + exec(); + } + + clearExistingTimeout(); + + if (debounceMode === undefined && elapsed > delay) { + /* + * In throttle mode, if `delay` time has been exceeded, execute + * `callback`. + */ + exec(); + } else if (noTrailing !== true) { + /* + * In trailing throttle mode, since `delay` time has not been + * exceeded, schedule `callback` to execute `delay` ms after most + * recent execution. + * + * If `debounceMode` is true (at begin), schedule `clear` to execute + * after `delay` ms. + * + * If `debounceMode` is false (at end), schedule `callback` to + * execute after `delay` ms. + */ + timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay); + } + } + + wrapper.cancel = cancel; // Return the wrapper function. + + return wrapper; + } + + /* eslint-disable no-undefined */ + /** + * Debounce execution of a function. Debouncing, unlike throttling, + * guarantees that a function is only executed a single time, either at the + * very beginning of a series of calls, or at the very end. + * + * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful. + * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds + * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call. + * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset). + * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is, + * to `callback` when the debounced-function is executed. + * + * @returns {Function} A new, debounced function. + */ + + function debounce (delay, atBegin, callback) { + return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false); + } + + var DropdownButton = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a, _b; + + var _c = props.triggerSize, + triggerSize = _c === void 0 ? 'regular' : _c, + _d = props.placeholder, + placeholder = _d === void 0 ? 'Select' : _d, + _e = props.menu, + menu = _e === void 0 ? false : _e, + children = props.children, + icon = props.icon, + disabled = props.disabled, + open = props.open, + inlineLabel = props.inlineLabel, + error = props.error, + iconVariations = props.iconVariations, + rest = __rest(props, ["triggerSize", "placeholder", "menu", "children", "icon", "disabled", "open", "inlineLabel", "error", "iconVariations"]); + + var buttonDisabled = disabled ? 'disabled' : 'default'; + var trimmedPlaceholder = placeholder.trim(); + var value = children ? children : trimmedPlaceholder; + var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; + var buttonClass = classNames__default["default"]((_a = {}, _a['Button'] = true, _a['DropdownButton'] = true, _a["DropdownButton--" + triggerSize] = triggerSize, _a["DropdownButton--" + triggerSize + "Square"] = menu, _a['DropdownButton--placeholder'] = !children && !menu, _a['DropdownButton--icon'] = icon, _a['DropdownButton--open'] = open, _a['DropdownButton--error'] = error, _a)); + var textClass = classNames__default["default"]((_b = {}, _b['Text'] = true, _b['Text--regular'] = true, _b['DropdownButton-text'] = true, _b)); + return /*#__PURE__*/React__namespace.createElement("button", __assign({ + ref: ref, + type: "button", + value: children, + className: buttonClass, + disabled: disabled, + tabIndex: 0, + "data-test": "DesignSystem-DropdownTrigger" + }, rest), !menu && /*#__PURE__*/React__namespace.createElement("div", { + className: "DropdownButton-wrapper" + }, inlineLabel && /*#__PURE__*/React__namespace.createElement(Text, { + appearance: "subtle", + className: "mr-4 white-space-nowrap" + }, "" + inlineLabel.trim().charAt(0).toUpperCase() + inlineLabel.trim().slice(1)), icon && !inlineLabel && /*#__PURE__*/React__namespace.createElement(Icon, { + appearance: buttonDisabled, + className: "d-flex align-items-center mr-4", + name: icon, + variations: iconVariations + }), value && /*#__PURE__*/React__namespace.createElement("span", { + className: textClass + }, value)), /*#__PURE__*/React__namespace.createElement(Icon, { + appearance: buttonDisabled, + name: iconName, + variations: iconVariations + })); + }); + DropdownButton.displayName = 'DropdownButton'; + + var CheckboxOption = function CheckboxOption(props) { + var className = props.className, + selected = props.selected, + optionData = props.optionData, + onChangeHandler = props.onChangeHandler, + onUpdateActiveOption = props.onUpdateActiveOption, + dataTest = props.dataTest, + _a = props.id, + id = _a === void 0 ? '' : _a; + var subInfo = optionData.subInfo, + label = optionData.label, + disabled = optionData.disabled; + + var renderSubInfo = function renderSubInfo(subInfo) { + var labelAppearance = disabled ? 'disabled' : 'subtle'; + var iconAppearance = selected ? 'white' : 'disabled'; + + if (typeof subInfo === 'string') { + return /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-DropdownOption--WITH_META--Meta", + appearance: labelAppearance, + size: "small", + weight: "medium" + }, subInfo); + } + + var _a = subInfo.list, + list = _a === void 0 ? [] : _a, + seperator = subInfo.seperator; + return /*#__PURE__*/React__namespace.createElement(MetaList, { + list: list, + seperator: seperator, + iconAppearance: iconAppearance, + labelAppearance: labelAppearance, + seperatorAppearance: iconAppearance, + "data-test": "DesignSystem-DropdownOption--WITH_META--MetaList" + }); + }; + + return /*#__PURE__*/React__namespace.createElement("div", { + className: className, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { + label: label, + disabled: disabled, + checked: selected, + onChange: onChangeHandler, + tabIndex: -1, + className: "OptionCheckbox " + (subInfo ? 'pb-0' : ''), + "data-test": dataTest + "--Checkbox", + id: id + }), subInfo && /*#__PURE__*/React__namespace.createElement("div", { + className: "pl-8 ml-3" + }, renderSubInfo(subInfo))); + }; + + var DefaultOption = function DefaultOption(props) { + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + color = props.color, + onUpdateActiveOption = props.onUpdateActiveOption, + dataTest = props.dataTest; + var label = optionData.label, + disabled = optionData.disabled; + return /*#__PURE__*/React__namespace.createElement("div", { + className: className, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React__namespace.createElement(Text, { + className: textClassName, + color: color, + id: optionData.optionID + }, label))); + }; + + var MetaOption = function MetaOption(props) { + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + renderSubInfo = props.renderSubInfo, + color = props.color, + dataTest = props.dataTest; + var subInfo = optionData.subInfo, + label = optionData.label, + disabled = optionData.disabled; + return /*#__PURE__*/React__namespace.createElement("div", { + className: className, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React__namespace.createElement(Text, { + className: textClassName, + color: color + }, label), subInfo && renderSubInfo(subInfo))); + }; + + var IconOption = function IconOption(props) { + var _a; + + var className = props.className, + textClassName = props.textClassName, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + color = props.color, + dataTest = props.dataTest; + var label = optionData.label, + icon = optionData.icon, + disabled = optionData.disabled, + iconVariations = optionData.iconVariations; + var OptionClass = classNames__default["default"]((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); + return /*#__PURE__*/React__namespace.createElement("div", { + className: OptionClass, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { + className: "Option-icon mr-4", + "data-test": dataTest + "--Icon", + name: icon, + variations: iconVariations + }), /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React__namespace.createElement(Text, { + className: textClassName, + color: color + }, label))); + }; + + var IconWithMetaOption = function IconWithMetaOption(props) { + var _a; + + var className = props.className, + textClassName = props.textClassName, + renderSubInfo = props.renderSubInfo, + onClickHandler = props.onClickHandler, + optionData = props.optionData, + onUpdateActiveOption = props.onUpdateActiveOption, + appearance = props.appearance, + color = props.color, + dataTest = props.dataTest; + var subInfo = optionData.subInfo, + label = optionData.label, + icon = optionData.icon, + disabled = optionData.disabled; + var OptionClass = classNames__default["default"]((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); + return /*#__PURE__*/React__namespace.createElement("div", { + className: OptionClass, + onClick: onClickHandler, + onMouseEnter: onUpdateActiveOption, + "data-test": dataTest, + "data-disabled": disabled + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": dataTest + "--Icon", + className: "Option-icon mr-4", + name: icon, + appearance: appearance + }), /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option-label' + }, /*#__PURE__*/React__namespace.createElement(Text, { + className: textClassName, + color: color + }, label), subInfo && renderSubInfo(subInfo))); + }; + + var _a; + var OptionTypeMapping = (_a = {}, _a['DEFAULT'] = DefaultOption, _a['WITH_ICON'] = IconOption, _a['WITH_META'] = MetaOption, _a['WITH_CHECKBOX'] = CheckboxOption, _a['ICON_WITH_META'] = IconWithMetaOption, _a); + + var Option = function Option(props) { + var _a, _b, _c, _d; + + var optionData = props.optionData, + selected = props.selected, + onClick = props.onClick, + updateActiveOption = props.updateActiveOption, + onChange = props.onChange, + active = props.active, + index = props.index, + checkboxes = props.checkboxes, + menu = props.menu, + _e = props.id, + id = _e === void 0 ? '' : _e; + var _f = (optionData.optionType ? optionData : props).optionType, + optionType = _f === void 0 ? 'DEFAULT' : _f; + var disabled = optionData.disabled; + var color = disabled ? 'inverse-lightest' : selected && !menu ? 'primary-dark' : 'inverse'; + var appearance = disabled ? 'disabled' : selected && !menu ? 'primary_dark' : 'default'; + var type = checkboxes ? 'WITH_CHECKBOX' : optionType; + var component = OptionTypeMapping[type]; + var OptionClassName = classNames__default["default"]((_a = {}, _a['Option'] = true, _a['Option--active'] = active, _a['Option--selected'] = selected && !menu, _a['Option--disabled'] = disabled, _a['OptionWrapper'] = true, _a["color-" + color] = true, _a)); + var CheckboxClassName = classNames__default["default"]((_b = {}, _b['Option-checkbox'] = true, _b['Option-checkbox--active'] = active, _b['OptionWrapper'] = true, _b)); + var textClassName = classNames__default["default"]((_c = {}, _c['Option-text'] = true, _c['Option-text--wrap'] = !props.truncateOption, _c)); + var customOptionClass = classNames__default["default"]((_d = {}, _d['OptionWrapper'] = true, _d['OptionWrapper--disabled'] = disabled, _d)); + + var onUpdateActiveOption = function onUpdateActiveOption() { + if (disabled) return; + if (updateActiveOption) updateActiveOption(index); + }; + + var onClickHandler = function onClickHandler(e) { + e.stopPropagation(); + if (disabled) return; + if (onClick) onClick(); + }; + + var onChangeHandler = function onChangeHandler(e) { + e.stopPropagation(); + if (disabled) return; + if (onChange) onChange(e); + }; + + if (props.optionRenderer) { + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-DropdownOption--Custom", + className: customOptionClass, + "data-disabled": disabled, + onMouseEnter: onUpdateActiveOption + }, !checkboxes && { + onClick: onClick + }), props.optionRenderer({ + optionData: optionData, + selected: selected, + onChange: onChange, + active: active, + index: index + })); + } + + var renderSubInfo = function renderSubInfo(subInfo) { + var labelAppearance = disabled ? 'disabled' : selected && !menu ? 'white' : 'subtle'; + var subInfoColor = disabled ? 'inverse-lightest' : selected && !menu ? 'primary-dark' : 'inverse-lighter'; + var iconAppearance = selected ? 'white' : 'disabled'; + + if (typeof subInfo === 'string') { + return /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-DropdownOption--WITH_META--Meta", + color: subInfoColor, + size: "small", + weight: "medium", + className: "Option-subInfo" + }, subInfo); + } + + var _a = subInfo.list, + list = _a === void 0 ? [] : _a, + seperator = subInfo.seperator; + return /*#__PURE__*/React__namespace.createElement(MetaList, { + list: list, + seperator: seperator, + iconAppearance: iconAppearance, + labelAppearance: labelAppearance, + seperatorAppearance: iconAppearance, + "data-test": "DesignSystem-DropdownOption--WITH_META--MetaList" + }); + }; + + return component({ + selected: selected, + index: index, + renderSubInfo: renderSubInfo, + optionData: optionData, + textClassName: textClassName, + appearance: appearance, + color: color, + onClickHandler: onClickHandler, + onChangeHandler: onChangeHandler, + onUpdateActiveOption: onUpdateActiveOption, + dataTest: "DesignSystem-DropdownOption--" + type, + className: checkboxes ? CheckboxClassName : OptionClassName, + id: id + }); + }; + + var PlaceholderParagraph = function PlaceholderParagraph(props) { + var _a, _b; + + var length = props.length, + size = props.size, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]((_a = { + 'Placeholder--animation': true, + PlaceholderParagraph: true + }, _a["PlaceholderParagraph--" + size] = size, _a)); + var wrapperClass = classNames__default["default"]((_b = { + 'PlaceholderParagraph-wrapper': true + }, _b["PlaceholderParagraph-wrapper--length-" + length] = length, _b["PlaceholderParagraph-wrapper--size-" + size] = size, _b), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { + className: wrapperClass + }), /*#__PURE__*/React__namespace.createElement("span", { + className: classes + })); + }; + PlaceholderParagraph.displayName = 'PlaceholderParagraph'; + PlaceholderParagraph.defaultProps = { + length: 'medium' + }; + + var PlaceholderImage = function PlaceholderImage(props) { + var _a; + + var _b = props.size, + size = _b === void 0 ? 'small' : _b, + round = props.round, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]((_a = { + PlaceholderImage: true, + 'Placeholder--animation': true + }, _a['PlaceholderImage--round'] = round, _a["PlaceholderImage--" + size] = size, _a), className); + return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { + className: classes + })); + }; + PlaceholderImage.displayName = 'PlaceholderImage'; + PlaceholderImage.defaultProps = { + size: 'small' + }; + + var Placeholder = function Placeholder(props) { + var _a, _b; + + var imageSize = props.imageSize, + withImage = props.withImage, + round = props.round, + children = props.children, + className = props.className; + var baseProps = extractBaseProps(props); + var paragraphClasses = classNames__default["default"]((_a = { + 'Placeholder-paragraph': true + }, _a['Placeholder-paragraph--withImage'] = withImage, _a)); + var classes = classNames__default["default"]((_b = {}, _b['Placeholder'] = true, _b), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-Placeholder" + }, baseProps, { + className: classes + }), withImage && /*#__PURE__*/React__namespace.createElement(PlaceholderImage, { + round: round, + size: imageSize, + "data-test": "DesignSystem-Placeholder--Image" + }), children && /*#__PURE__*/React__namespace.createElement("div", { + className: paragraphClasses, + "data-test": "DesignSystem-Placeholder--Paragraph" + }, children)); + }; + Placeholder.displayName = 'Placeholder'; + Placeholder.defaultProps = { + withImage: true, + imageSize: 'small' + }; + + var Loading = function Loading(props) { + var loadingType = props.loadingType, + optionIndex = props.optionIndex; + var placeholderSizes = ['medium', 'large']; + var size = placeholderSizes[(optionIndex + 2) % 2]; + + switch (loadingType) { + case 'DEFAULT': + return /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: size, + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }); + + case 'WITH_ICON': + return /*#__PURE__*/React__namespace.createElement(Placeholder, { + withImage: true, + round: true, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "large" + })); + + case 'WITH_META': + return /*#__PURE__*/React__namespace.createElement(Placeholder, { + withImage: false, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "large", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "medium", + size: "xxs", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + })); + + case 'WITH_CHECKBOX': + return /*#__PURE__*/React__namespace.createElement(Placeholder, { + withImage: true, + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "large" + })); + + case 'ICON_WITH_META': + return /*#__PURE__*/React__namespace.createElement(Placeholder, { + withImage: true, + round: true, + imageSize: 'medium', + "data-test": "DesignSystem-Dropdown--Placeholder" + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "large", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { + length: "medium", + size: "xxs", + "data-test": "DesignSystem-Dropdown--PlaceholderParagraph" + })); + } + + return null; + }; + + var alignmentMapping = { + right: 'bottom-start', + left: 'bottom-end' + }; + + var DropdownList = function DropdownList(props) { + var _a, _b, _c; + + var _d = props.listOptions, + listOptions = _d === void 0 ? [] : _d, + inputRef = props.inputRef, + _e = props.align, + align = _e === void 0 ? 'right' : _e, + _f = props.optionType, + optionType = _f === void 0 ? 'DEFAULT' : _f, + _g = props.applyButtonLabel, + applyButtonLabel = _g === void 0 ? 'Apply' : _g, + _h = props.cancelButtonLabel, + cancelButtonLabel = _h === void 0 ? 'Cancel' : _h, + _j = props.truncateOption, + truncateOption = _j === void 0 ? true : _j, + _k = props.withSelectAll, + withSelectAll = _k === void 0 ? true : _k, + _l = props.maxHeight, + maxHeight = _l === void 0 ? 200 : _l, + customTrigger = props.customTrigger, + selected = props.selected, + tempSelected = props.tempSelected, + previousSelected = props.previousSelected, + remainingOptions = props.remainingOptions, + firstEnabledOption = props.firstEnabledOption, + dropdownOpen = props.dropdownOpen, + menu = props.menu, + searchTerm = props.searchTerm, + showApplyButton = props.showApplyButton, + withCheckbox = props.withCheckbox, + withSearch = props.withSearch, + popoverOptions = props.popoverOptions, + onSearchChange = props.onSearchChange, + optionRenderer = props.optionRenderer, + applyOptions = props.applyOptions, + cancelOptions = props.cancelOptions, + toggleDropdown = props.toggleDropdown, + className = props.className, + _m = props.searchPlaceholder, + searchPlaceholder = _m === void 0 ? 'Search..' : _m, + scrollIndex = props.scrollIndex; + var baseProps = extractBaseProps(props); + var dropdownRef = /*#__PURE__*/React__namespace.createRef(); + var triggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownTriggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownCancelButtonRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownApplyButtonRef = /*#__PURE__*/React__namespace.createRef(); + + var _o = React__namespace.useState(), + popoverStyle = _o[0], + setPopoverStyle = _o[1]; + + var _p = React__namespace.useState(firstEnabledOption), + cursor = _p[0], + setCursor = _p[1]; + + var _q = React__namespace.useState(), + minHeight = _q[0], + setMinHeight = _q[1]; + + var getMinHeight = function getMinHeight() { + var dropdownWrapper = document.querySelector('.Dropdown-wrapper'); + var minHeight = dropdownWrapper === null || dropdownWrapper === void 0 ? void 0 : dropdownWrapper.offsetHeight; + minHeight && setMinHeight(minHeight); + }; + + React__namespace.useEffect(function () { + var _a; + + var timer; + + if (dropdownOpen) { + var width = props.width, + minWidth = props.minWidth, + maxWidth = props.maxWidth; + var popperWidth = (_a = triggerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth; + var popperMinWidth = showApplyButton ? 176 : menu ? 128 : popperWidth; + var popperWrapperStyle = { + width: width ? width : popperWidth, + minWidth: minWidth ? minWidth : popperMinWidth, + maxWidth: maxWidth ? maxWidth : '100%' + }; + requestAnimationFrame(getMinHeight); + setPopoverStyle(popperWrapperStyle); + + if (scrollIndex && tempSelected.length === 0) { + timer = setTimeout(function () { + scrollToOptionIndex(scrollIndex, listOptions); + }, 100); + } + } + + return function () { + clearTimeout(timer); + }; + }, [dropdownOpen]); + React__namespace.useEffect(function () { + if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); + }, [firstEnabledOption]); + var _r = props.triggerSize, + triggerSize = _r === void 0 ? 'regular' : _r, + _s = props.placeholder, + placeholder = _s === void 0 ? 'Select' : _s, + icon = props.icon, + error = props.error, + disabled = props.disabled, + inlineLabel = props.inlineLabel, + triggerLabel = props.triggerLabel, + iconVariations = props.iconVariations; + var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); + var NewCustomTrigger = /*#__PURE__*/React__namespace.cloneElement(CustomTrigger, { + tabIndex: 0, + ref: dropdownTriggerRef + }); + var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React__namespace.createElement(DropdownButton, { + placeholder: placeholder, + triggerSize: triggerSize, + open: dropdownOpen, + icon: icon, + disabled: disabled, + inlineLabel: inlineLabel, + menu: menu, + error: error, + ref: dropdownTriggerRef, + iconVariations: iconVariations + }, triggerLabel); + var dropdownStyle = { + maxHeight: maxHeight, + overflowY: 'auto', + overflowX: 'hidden', + minHeight: minHeight + }; + var loaderStyle = { + maxHeight: minHeight ? minHeight : maxHeight, + overflowY: 'auto', + overflowX: 'hidden', + minHeight: minHeight + }; + + var getDropdownSectionClass = function getDropdownSectionClass(showClearButton) { + var _a; + + return classNames__default["default"]((_a = {}, _a['Dropdown-section'] = true, _a['Dropdown-section--withClear'] = showClearButton, _a)); + }; + + var dropdownClass = classNames__default["default"]((_a = {}, _a['Dropdown'] = true, _a), className); + var dropdownWrapperClass = classNames__default["default"]((_b = {}, _b['Dropdown-wrapper'] = true, _b['Dropdown-wrapper--wrap'] = !truncateOption, _b)); + var SelectAllClass = classNames__default["default"]((_c = {}, _c['Option-checkbox--active'] = cursor === 0, _c['Option-checkboxWrapper'] = true, _c['Option-checkbox'] = true, _c['OptionWrapper'] = true, _c)); + + var onToggleDropdown = function onToggleDropdown(open, type) { + var _a; + + toggleDropdown(open, type); + if (!disabled) (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); + setCursor(firstEnabledOption); + }; + + var onCancelOptions = function onCancelOptions() { + var _a; + + cancelOptions(); + (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); + }; + + var onApplyOptions = function onApplyOptions() { + var _a; + + applyOptions(); + (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); + }; + + var optionClickHandler = function optionClickHandler(item) { + var _a; + + props.onOptionSelect(item); + (_a = dropdownTriggerRef.current) === null || _a === void 0 ? void 0 : _a.focus(); + }; + + var searchClearHandler = function searchClearHandler() { + setCursor(firstEnabledOption); + if (onSearchChange && searchTerm) onSearchChange(''); + }; + + var searchHandler = function searchHandler(event) { + setCursor(firstEnabledOption); + if (onSearchChange) onSearchChange(event.target.value); + }; + + var updateActiveOption = function updateActiveOption(index, parentCheckbox) { + var updatedIndex = withCheckbox && withSelectAll && !props.async && !parentCheckbox ? index + 1 : index; + setCursor(updatedIndex); + }; + + var renderFooter = function renderFooter() { + var _a = props.footerLabel, + footerLabel = _a === void 0 ? 'Search for more options' : _a; + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Dropdown-footer" + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: "small", + appearance: 'subtle' + }, footerLabel)); + }; + + var renderGroups = function renderGroups(group, selectedGroup) { + var onClearOptions = props.onClearOptions; + var isClearDisabled = selected.every(function (option) { + return option.disabled; + }); + return /*#__PURE__*/React__namespace.createElement("div", { + className: getDropdownSectionClass(selectedGroup) + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: "small", + appearance: 'subtle' + }, group), selectedGroup && /*#__PURE__*/React__namespace.createElement(Button, { + onClick: onClearOptions, + disabled: isClearDisabled, + appearance: "transparent", + size: "tiny", + type: "button" + }, "Clear")); + }; + + var renderApplyButton = function renderApplyButton() { + var disable = _isEqual(previousSelected, tempSelected) || props.loadingOptions; + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Dropdown-buttonWrapper" + }, /*#__PURE__*/React__namespace.createElement(Button, { + ref: dropdownCancelButtonRef, + className: "mr-4", + appearance: 'basic', + onClick: onCancelOptions, + disabled: props.loadingOptions, + size: 'tiny', + tabIndex: -1, + "data-test": "DesignSystem-Dropdown-CancelButton", + type: "button" + }, cancelButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { + ref: dropdownApplyButtonRef, + appearance: 'primary', + disabled: disable, + size: 'tiny', + onClick: onApplyOptions, + "data-test": "DesignSystem-Dropdown-ApplyButton", + type: "button" + }, applyButtonLabel)); + }; + + var renderSearch = function renderSearch() { + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Dropdown-inputWrapper" + }, /*#__PURE__*/React__namespace.createElement(Input, { + name: "Dropdown-search", + icon: 'search', + value: searchTerm, + placeholder: searchPlaceholder, + autoFocus: true, + onChange: searchHandler, + onClear: searchClearHandler, + ref: inputRef, + autoComplete: 'off', + className: "Dropdown-input" + })); + }; + + var renderLoading = function renderLoading(loadersLength) { + var arr = Array(loadersLength).fill('Loading'); + var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; + return arr.map(function (option, ind) { + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Option-loading", + key: option + "-" + ind + }, /*#__PURE__*/React__namespace.createElement(Loading, { + loadingType: type, + optionIndex: ind + })); + }); + }; + + var renderSelectAll = function renderSelectAll() { + var _a = props.selectAllLabel, + selectAllLabel = _a === void 0 ? 'Select All' : _a, + selectAll = props.selectAll, + onSelectAll = props.onSelectAll; + var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; + var id = "Checkbox-option-" + label.toLowerCase().replace(/\s+/g, '') + "-" + new Date().getTime(); + return /*#__PURE__*/React__namespace.createElement("div", { + className: SelectAllClass, + onMouseEnter: function onMouseEnter() { + return updateActiveOption(0, true); + } + }, /*#__PURE__*/React__namespace.createElement("label", { + htmlFor: id, + className: "Checkbox-label" + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { + label: label, + onChange: onSelectAll, + checked: selectAll.checked, + indeterminate: selectAll.indeterminate, + tabIndex: -1, + className: "OptionCheckbox", + id: id + }))); + }; + + var renderOptions = function renderOptions(item, index) { + var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); + + var active = selectAllPresent ? index + 1 === cursor : index === cursor; + var optionIsSelected = tempSelected.findIndex(function (option) { + return option.value === item.value; + }) !== -1; + var id = "Checkbox-option-" + index + "-" + item.value + "-" + new Date().getTime(); + return /*#__PURE__*/React__namespace.createElement("label", { + htmlFor: id + }, /*#__PURE__*/React__namespace.createElement(Option, { + optionData: item, + truncateOption: truncateOption, + selected: optionIsSelected, + index: index, + updateActiveOption: updateActiveOption, + optionRenderer: optionRenderer, + active: active, + checkboxes: withCheckbox, + menu: menu, + onClick: function onClick() { + return optionClickHandler(item); + }, + onChange: function onChange(e) { + return props.onSelect(item, e.target.checked); + }, + optionType: props.optionType, + id: id + })); + }; + + var renderDropdownSection = function renderDropdownSection() { + var _a; + + var _b = props.selectedSectionLabel, + selectedSectionLabel = _b === void 0 ? 'Selected Items' : _b, + _c = props.allItemsSectionLabel, + allItemsSectionLabel = _c === void 0 ? 'All Items' : _c, + _d = props.loadersCount, + loadersCount = _d === void 0 ? 10 : _d, + loadingOptions = props.loadingOptions; + + var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); + + var groupedListOptions = groupListOptions(listOptions); + + if (loadersCount && loadingOptions) { + return /*#__PURE__*/React__namespace.createElement("div", { + className: 'Dropdown-loading' + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "Dropdown-wrapper", + style: loaderStyle + }, renderLoading(loadersCount))); + } + + if (listOptions.length === 0 && !loadingOptions && selected.length <= 0) { + var _e = props.noResultMessage, + noResultMessage = _e === void 0 ? 'No result found' : _e; + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Dropdown-wrapper", + style: dropdownStyle, + "data-test": "DesignSystem-Dropdown--errorWrapper" + }, /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option' + }, /*#__PURE__*/React__namespace.createElement("div", { + className: 'Option-subinfo' + }, noResultMessage))); + } - _this.onDateRowMouseLeaveHandler = function () { - var rangePicker = _this.props.rangePicker; + return /*#__PURE__*/React__namespace.createElement("div", { + className: dropdownWrapperClass, + style: dropdownStyle, + ref: dropdownRef + }, selectAllPresent && renderSelectAll(), selected.length > 0 && renderGroups(selectedSectionLabel, true), selected.map(function (option, index) { + return renderOptions(option, index); + }), selected.length > 0 && listOptions.length - selected.length > 0 && !((_a = listOptions[0].group) === null || _a === void 0 ? void 0 : _a.trim()) && renderGroups(allItemsSectionLabel), groupedListOptions.map(function (option, index) { + var prevGroup = index > 0 ? groupedListOptions[index - 1].group : selected.length ? selectedSectionLabel : undefined; + var currentGroup = option.group; + var isGroupDifferent = prevGroup !== currentGroup; + var updatedIndex = index + selected.length; + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Option-checkboxWrapper", + key: index + }, isGroupDifferent && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); + }), props.async && remainingOptions > 0 && renderFooter()); + }; - if (rangePicker) { - _this.setState({ - hoverDate: undefined - }); + var focusOption = function focusOption(direction, classes) { + var elements = document.querySelectorAll(classes); + var updatedCursor = direction === 'down' ? cursor + 1 : cursor - 1; + var startIndex = updatedCursor; + var endIndex = direction === 'down' ? elements.length : -1; + + while (startIndex !== endIndex) { + var node = elements[startIndex]; + + if (node.getAttribute('data-disabled') !== 'true') { + var element = elements[startIndex]; + if (element) scrollIntoView(dropdownRef.current, element); + if (element !== undefined) setCursor(startIndex); + break; } - }; - _this.renderBodyDate = function (index) { - var daysInRow = config.daysInRow, - days = config.days; - var _a = _this.props, - size = _a.size, - firstDayOfWeek = _a.firstDayOfWeek; - return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { - className: "Calendar-dayValues" - }, Array.from({ - length: 7 - }, function (_x, day) { - var valueClass = classNames__default['default']({ - 'Calendar-valueWrapper': true - }); - var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; - return /*#__PURE__*/React__namespace.createElement(Subheading, { - key: day, - className: valueClass, - appearance: "disabled" - }, days[size][dayValue]); - })), /*#__PURE__*/React__namespace.createElement("div", { - className: "Calendar-dateValues", - onMouseLeave: _this.onDateRowMouseLeaveHandler - }, _this.renderDateValues(index))); - }; + if (direction === 'down') { + startIndex++; + } else { + startIndex--; + } + } + }; - _this.renderDateValues = function (index) { - var daysInRow = config.daysInRow; - var _a = _this.props, - size = _a.size, - rangePicker = _a.rangePicker, - firstDayOfWeek = _a.firstDayOfWeek, - disabledBefore = _a.disabledBefore, - disabledAfter = _a.disabledAfter; - var _b = _this.state, - startDate = _b.startDate, - endDate = _b.endDate, - hoverDate = _b.hoverDate, - yearState = _b.year, - monthState = _b.month, - dateState = _b.date; + var onkeydown = function onkeydown(event) { + var _a, _b, _c; - var _c = _this.getNavDateInfo(index), - yearNavVal = _c.year, - monthNavVal = _c.month; + var optionClass = '.OptionWrapper'; - var dayRange = getDaysInMonth(yearNavVal, monthNavVal); - var dayDiff = getFirstDayOfMonth(yearNavVal, monthNavVal) - getIndexOfDay(firstDayOfWeek); - var dummyDays = Math.abs(dayDiff); - var noOfRows = Math.ceil((dayRange + dummyDays) / daysInRow); + switch (event.key) { + case 'ArrowDown': + event.preventDefault(); + dropdownOpen ? focusOption('down', optionClass) : onToggleDropdown(!dropdownOpen); + break; - var inRangeError = _this.getInRangeError(); + case 'ArrowUp': + event.preventDefault(); + dropdownOpen ? focusOption('up', optionClass) : onToggleDropdown(!dropdownOpen); + break; - var onClickHandler = function onClickHandler(date) { - return function () { - if (rangePicker) { - if (startDate && endDate) { - _this.selectDate(index, date); - } else { - if (!inRangeError) _this.selectDate(index, date); - } - } else { - _this.selectDate(index, date); + case 'Enter': + { + var activeElement = document.activeElement; + + if (dropdownOpen && (inputRef.current === activeElement || dropdownTriggerRef.current === activeElement)) { + event.preventDefault(); + var classes = withCheckbox ? optionClass + " .Checkbox-input" : optionClass; + var elements = document.querySelectorAll(classes); + var element = elements[cursor]; + if (element) element.click(); } - }; - }; - var onMouseOverHandler = function onMouseOverHandler(date) { - return function () { - if (rangePicker) { - var d = _this.getDateValue(yearNavVal, monthNavVal, date); + if (!dropdownOpen) onToggleDropdown(!dropdownOpen); + break; + } - if (!startDate || !endDate) { - _this.setState({ - hoverDate: d - }); - } + case 'Tab': + { + if (!showApplyButton && dropdownOpen) { + event.preventDefault(); + onToggleDropdown(false, 'onClick'); + return; } - }; - }; - return Array.from({ - length: noOfRows - }, function (_y, row) { - return /*#__PURE__*/React__namespace.createElement("div", { - key: row, - className: "Calendar-valueRow" - }, Array.from({ - length: daysInRow - }, function (_x, col) { - var _a; + var currentElement = document.activeElement; + var disabledApplyButton = (_a = dropdownApplyButtonRef.current) === null || _a === void 0 ? void 0 : _a.disabled; - var date = daysInRow * row + col - dummyDays + 1; - var dummy = date <= 0 || date > dayRange; - var disabled = !dummy && (compareDate(disabledBefore, 'more', yearNavVal, monthNavVal, date) || compareDate(disabledAfter, 'less', yearNavVal, monthNavVal, date)); - var active = !disabled && yearState === yearNavVal && monthState === monthNavVal && dateState === date; - var startActive = false; - var endActive = false; - var inRange = false; - var inRangeLast = false; + if ((currentElement === dropdownCancelButtonRef.current && disabledApplyButton || currentElement === dropdownApplyButtonRef.current) && dropdownOpen) { + event.preventDefault(); + onToggleDropdown(false, 'onClick'); + return; + } - if (rangePicker) { - startActive = compareDate(startDate, 'equal', yearNavVal, monthNavVal, date); - endActive = compareDate(endDate, 'equal', yearNavVal, monthNavVal, date); - inRangeLast = compareDate(hoverDate, 'equal', yearNavVal, monthNavVal, date); - active = !disabled && (startActive || endActive); + if (showApplyButton && dropdownOpen) { + event.preventDefault(); - if (startDate && endDate) { - inRange = !disabled && (compareDate(startDate, 'less', yearNavVal, monthNavVal, date) || startActive) && (compareDate(endDate, 'more', yearNavVal, monthNavVal, date) || endActive); - } else if (startDate) { - inRange = !disabled && (compareDate(hoverDate, 'more', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(startDate, 'less', yearNavVal, monthNavVal, date); - } else if (endDate) { - inRange = !disabled && (compareDate(hoverDate, 'less', yearNavVal, monthNavVal, date) || inRangeLast) && compareDate(endDate, 'more', yearNavVal, monthNavVal, date); + if (currentElement === dropdownCancelButtonRef.current) { + (_b = dropdownApplyButtonRef.current) === null || _b === void 0 ? void 0 : _b.focus(); + } else { + (_c = dropdownCancelButtonRef.current) === null || _c === void 0 ? void 0 : _c.focus(); } } - var _b = getDateInfo(startDate), - sYear = _b.year, - sMonth = _b.month, - sDate = _b.date; - - var _c = getDateInfo(endDate), - eYear = _c.year, - eMonth = _c.month, - eDate = _c.date; - - var isStart = startActive || endDate && inRangeLast && compareDate(hoverDate, 'less', eYear, eMonth, eDate); - var isEnd = endActive || startDate && inRangeLast && compareDate(hoverDate, 'more', sYear, sMonth, sDate); - var isRangeError = inRange && inRangeError; - var wrapperClass = classNames__default['default']({ - 'Calendar-valueWrapper': true, - 'Calendar-valueWrapper--inRange': inRange || rangePicker && active, - 'Calendar-valueWrapper--inRangeError': isRangeError, - 'Calendar-valueWrapper--start': isStart && !isEnd, - 'Calendar-valueWrapper--end': isEnd && !isStart, - 'Calendar-valueWrapper--startEnd': isStart && isEnd, - 'Calendar-valueWrapper--startError': isStart && isRangeError, - 'Calendar-valueWrapper--endError': isEnd && isRangeError - }); - var valueClass = classNames__default['default']((_a = { - 'Calendar-value': true, - 'Calendar-value--start': isStart && !isEnd, - 'Calendar-value--end': isEnd && !isStart, - 'Calendar-value--startError': isStart && isRangeError, - 'Calendar-value--endError': isEnd && isRangeError, - 'Calendar-value--active': active, - 'Calendar-value--dummy': dummy || disabled, - 'Calendar-value--disabled': disabled, - 'Calendar-dateValue': true - }, _a["Calendar-dateValue--" + size] = size, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - key: row + "-" + col, - className: wrapperClass - }, !dummy && /*#__PURE__*/React__namespace.createElement(Text, { - appearance: active ? 'white' : disabled ? 'disabled' : 'default', - size: size === 'small' ? 'small' : 'regular', - "data-test": "DesignSystem-Calendar--dateValue", - className: valueClass, - onClick: onClickHandler(date), - onMouseOver: onMouseOverHandler(date) - }, date)); - })); - }); - }; - - _this.renderCalendar = function (index) { - var _a; - - var _b = _this.props, - size = _b.size, - monthsInView = _b.monthsInView; - var view = _this.state.view; - var containerClass = classNames__default['default']((_a = {}, _a['Calendar'] = true, _a["Calendar--" + view] = view, _a["Calendar--" + size] = size, _a)); - var headerClass = classNames__default['default']({ - 'Calendar-header': true - }); - var bodyClass = classNames__default['default']({ - 'Calendar-body': true - }); - return /*#__PURE__*/React__namespace.createElement("div", { - key: index, - "data-test": "DesignSystem-Calendar", - className: containerClass - }, /*#__PURE__*/React__namespace.createElement("div", { - className: headerClass - }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React__namespace.createElement("div", { - className: bodyClass - }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); - }; + break; + } + } + }; - var _a = _this.props, - rangePicker = _a.rangePicker, - startDate = _a.startDate, - endDate = _a.endDate, - monthsInView = _a.monthsInView, - view = _a.view; - var currDate = rangePicker ? endDate || startDate : props.date; - var yearNav = props.yearNav !== undefined ? props.yearNav : getDateInfo(currDate || Date.now()).year; - var monthNav = props.monthNav !== undefined ? props.monthNav : getDateInfo(currDate || Date.now()).month; + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { + className: dropdownClass, + ref: triggerRef, + onKeyDown: onkeydown + }), /*#__PURE__*/React__namespace.createElement(Popover, __assign({ + onToggle: onToggleDropdown, + trigger: trigger, + triggerClass: !menu ? 'w-100' : '', + open: dropdownOpen, + customStyle: popoverStyle, + position: alignmentMapping[align] + }, popoverOptions, { + "data-test": "DesignSystem-Dropdown--Popover" + }), (withSearch || props.async) && renderSearch(), renderDropdownSection(), showApplyButton && withCheckbox && renderApplyButton())); + }; - var _b = getDateInfo(currDate), - year = _b.year, - month = _b.month, - date = _b.date; + DropdownList.displayName = 'DropdownList'; - _this.state = { - currDate: currDate, - startDate: startDate, - endDate: endDate, - yearNav: yearNav, - monthNav: monthNav, - year: year, - month: month, - date: date, - view: monthsInView > 1 ? 'date' : view, - yearBlockNav: getYearBlock(yearNav) - }; - return _this; - } + var inputRef = /*#__PURE__*/React__namespace.createRef(); - Calendar.prototype.componentDidUpdate = function (prevProps, prevState) { - var monthsInView = this.props.monthsInView; + var Dropdown = function (_super) { + __extends(Dropdown, _super); - if (prevProps.date !== this.props.date) { - var _a = getDateInfo(this.props.date), - year = _a.year, - month = _a.month, - date = _a.date; + function Dropdown(props) { + var _this = _super.call(this, props) || this; - this.updateState(year, month, date); - var d = convertToDate(this.props.date); - this.setState({ - currDate: d - }); - } + _this.getDisabledOptions = function (options) { + if (options === void 0) { + options = []; + } - if (prevProps.startDate !== this.props.startDate) { - var d = convertToDate(this.props.startDate); - this.setState({ - startDate: d + return options.filter(function (option) { + return option.disabled; }); - } + }; - if (prevProps.endDate !== this.props.endDate) { - var d = convertToDate(this.props.endDate); - this.setState({ - endDate: d + _this.fetchOptionsFunction = function (searchTerm) { + var options = _this.props.options; + var filteredOptions = searchTerm ? getSearchedOptions(options, searchTerm) : options; + return new Promise(function (resolve) { + resolve({ + searchTerm: searchTerm, + options: filteredOptions, + count: filteredOptions.length + }); }); - } + }; - if (prevProps.view !== this.props.view) { - if (this.props.monthsInView === 1) { - this.setState({ - view: this.props.view + _this.getUnSelectedOptions = function (options, init) { + if (options.length) { + if (!init) { + return options.filter(function (option) { + return _this.state.tempSelected.findIndex(function (item) { + return item.value === option.value; + }) === -1; + }); + } + + var _a = _this.props.selected, + selected_1 = _a === void 0 ? [] : _a; + var unSelectedGroup = options.filter(function (option) { + return _isControlled(_this.props.selected) ? selected_1.findIndex(function (item) { + return item.value === option.value; + }) === -1 : !option.selected; }); + return unSelectedGroup; } - } - if (prevProps.yearNav !== this.props.yearNav) { - var yearNav = this.props.yearNav; + return options; + }; - if (yearNav) { - this.setState({ - yearNav: yearNav, - yearBlockNav: getYearBlock(yearNav) + _this.getSelectedOptions = function (options, init) { + var _a = _this.props.selected, + selected = _a === void 0 ? [] : _a; + + if (options.length) { + if (!init) return _this.state.tempSelected; + var selectedGroup = _isControlled(_this.props.selected) ? selected : options.filter(function (option) { + return option.selected; }); + return selectedGroup; } - } - if (prevProps.monthNav !== this.props.monthNav) { - var monthNav = this.props.monthNav; + return []; + }; - if (monthNav) { - this.setState({ - monthNav: monthNav - }); - } - } + _this.updateOptions = function (init, async) { + var _a = _this.state, + searchTerm = _a.searchTerm, + selectAll = _a.selectAll, + tempSelected = _a.tempSelected, + previousSelected = _a.previousSelected; + var updatedAsync = async === undefined ? _this.state.async : async; + var _b = _this.props, + fetchOptions = _b.fetchOptions, + withCheckbox = _b.withCheckbox, + withSearch = _b.withSearch; + var fetchFunction = fetchOptions ? fetchOptions : _this.fetchOptionsFunction; + fetchFunction(searchTerm).then(function (res) { + var _a; - if (prevState.currDate !== this.state.currDate) { - var _b = this.props, - rangePicker = _b.rangePicker, - onDateChange = _b.onDateChange; - var _c = this.state, - currDate = _c.currDate, - startDate = _c.startDate, - endDate = _c.endDate; + var options = res.options, + count = res.count; - if (currDate) { - if (onDateChange) onDateChange(currDate); + if (res.scrollToIndex) { + setTimeout(function () { + scrollToOptionIndex(res.scrollToIndex, options); + }, 0); + } - if (rangePicker) { - this.setState({ - hoverDate: undefined - }); + if (!res.searchTerm || res.searchTerm && res.searchTerm === _this.state.searchTerm) { + updatedAsync = searchTerm === '' ? count > _this.staticLimit : updatedAsync; + var unSelectedGroup = _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? _this.getUnSelectedOptions(options, init) : options; + var selectedGroup = searchTerm === '' ? _this.getSelectedOptions(options, init) : []; + var optionsLength = searchTerm === '' ? count : _this.state.optionsLength; - if (startDate && endDate) { - this.setState({ - startDate: currDate, - endDate: undefined - }); - } else { - var _d = getDateInfo(currDate), - year = _d.year, - month = _d.month, - date = _d.date; + var disabledOptions = _this.getDisabledOptions(unSelectedGroup.slice(0, _this.staticLimit)); - if (startDate) { - if (compareDate(startDate, 'more', year, month, date)) { - this.setState({ - startDate: currDate - }); - } else { - this.setState({ - endDate: currDate - }); - } - } else if (endDate) { - if (compareDate(endDate, 'less', year, month, date)) { - this.setState({ - endDate: currDate - }); - } else { - this.setState({ - startDate: currDate - }); - } - } else { - this.setState({ - startDate: currDate - }); - } - } - } else { - this.setState({ - startDate: currDate - }); + _this.setState(__assign(__assign({}, _this.state), { + scrollIndex: res.scrollToIndex || 0, + optionsLength: optionsLength, + loading: false, + async: updatedAsync, + searchedOptionsLength: count, + options: unSelectedGroup.slice(0, _this.staticLimit), + tempSelected: init ? selectedGroup : tempSelected, + previousSelected: init ? selectedGroup : previousSelected, + selected: _showSelectedItems(updatedAsync, searchTerm, withCheckbox) ? selectedGroup : [], + triggerLabel: _this.updateTriggerLabel(init ? selectedGroup : tempSelected), + selectAll: !updatedAsync && init ? getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) : selectAll + })); + + if (updatedAsync || withSearch) (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); } - } - } + }); + }; - if (prevState.startDate !== this.state.startDate || prevState.endDate !== this.state.endDate) { - var onRangeChange = this.props.onRangeChange; - var _e = this.state, - startDate = _e.startDate, - endDate = _e.endDate; - if (onRangeChange) onRangeChange(startDate, endDate); - } + _this.updateSearchTerm = function (search) { + _this.setState(__assign(__assign({}, _this.state), { + loading: true, + searchInit: true, + searchTerm: search + })); + }; - if (prevState.year !== this.state.year) { - var year = this.state.year; + _this.updateOnPopperToggle = function () { + var _a = _this.props, + withCheckbox = _a.withCheckbox, + showApplyButton = _a.showApplyButton, + onClose = _a.onClose, + name = _a.name, + _b = _a.selected, + selected = _b === void 0 ? [] : _b; + var _c = _this.state, + previousSelected = _c.previousSelected, + tempSelected = _c.tempSelected, + optionsLength = _c.optionsLength, + async = _c.async, + loading = _c.loading, + searchTerm = _c.searchTerm, + options = _c.options; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.props.open : _this.state.open; - if (year !== undefined && monthsInView === 1) { - this.setState({ - year: year, - yearBlockNav: getYearBlock(year), - yearNav: year + var disabledOptionsCount = _this.getDisabledOptions(options).length; + + if (withCheckbox && showApplyButton) { + var temporarySelected = _isControlled(_this.props.selected) ? selected : previousSelected; + + _this.setState({ + tempSelected: temporarySelected, + selectAll: getSelectAll$1(temporarySelected, optionsLength, disabledOptionsCount), + triggerLabel: _this.updateTriggerLabel(temporarySelected) }); } - } - if (prevState.month !== this.state.month) { - var month = this.state.month; + if (_isOpenControlled(_this.props.open)) { + _this.setState({ + open: popperIsOpen + }); + } - if (month !== undefined && monthsInView === 1) { - this.setState({ - monthNav: month + if (popperIsOpen) { + var moveSelectedGroup = _showSelectedItems(async, searchTerm, withCheckbox) && !_isEqual(_this.state.selected, tempSelected); + + _this.setState({ + loading: moveSelectedGroup || loading || searchTerm !== '', + searchInit: searchTerm !== '', + searchTerm: '' }); + + if (moveSelectedGroup) _this.updateOptions(false); } - } - }; - Calendar.prototype.render = function () { - var _this = this; + if (onClose && !popperIsOpen) { + var arr = withCheckbox && showApplyButton ? _isControlled(_this.props.selected) ? selected : previousSelected : _this.state.tempSelected; + var values = arr.map(function (option) { + return option.value; + }); - var _a = this.props, - monthsInView = _a.monthsInView, - className = _a.className; - var baseProps = extractBaseProps(this.props); - var classes = classNames__default['default']({ - 'Calendar-wrapper': true - }, className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: classes - }), Array.from({ - length: monthsInView - }, function (_x, index) { - return _this.renderCalendar(index); - })); - }; + _this.debounceOnClose(values, name); + } + }; - Calendar.defaultProps = { - size: 'large', - monthsInView: 1, - view: 'date', - firstDayOfWeek: 'sunday', - jumpView: true - }; - return Calendar; - }(React__namespace.Component); + _this.debounceOnClose = debounce(300, function (values, name) { + var onClose = _this.props.onClose; - var Card = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a; + if (onClose) { + onClose(values, name); + } + }); - var _b = props.shadow, - shadow = _b === void 0 ? 'default' : _b, - children = props.children, - className = props.className, - rest = __rest(props, ["shadow", "children", "className"]); + _this.updateTriggerLabel = function (selectedArray, totalOptions) { + if (selectedArray === void 0) { + selectedArray = []; + } - var classes = classNames__default['default']((_a = { - Card: true - }, _a["Card--shadow-" + shadow] = shadow, _a["" + className] = className, _a)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - ref: ref - }, rest, { - className: classes - }), children); - }); - Card.displayName = 'Card'; + var selectedLength = selectedArray.length; + if (selectedLength === 0) return ''; + var _a = _this.props, + _b = _a.triggerOptions, + triggerOptions = _b === void 0 ? {} : _b, + getLabel = _a.getLabel; + var customLabel = triggerOptions.customLabel, + _c = triggerOptions.labelLimit, + labelLimit = _c === void 0 ? 2 : _c; + var optionsLength = _this.state ? _this.state.optionsLength : totalOptions; + var label = ''; - var CardSubdued = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a; + if (selectedLength <= labelLimit) { + label = selectedArray.map(function (option) { + return option.label; + }).join(', '); + } else { + label = customLabel ? customLabel(selectedLength, optionsLength, selectedArray) : selectedLength + " selected"; + } - var border = props.border, - children = props.children, - className = props.className, - rest = __rest(props, ["border", "children", "className"]); + if (getLabel) getLabel(label); + return label; + }; - var classes = classNames__default['default']((_a = { - CardSubdued: true - }, _a["CardSubdued--" + border] = border, _a), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-CardSubdued", - ref: ref - }, rest, { - className: classes - }), children); - }); - CardSubdued.displayName = 'CardSubdued'; + _this.updateSelectedOptions = function (selectedArray, isSingleSelect, isControlled) { + var _a = _this.state, + optionsLength = _a.optionsLength, + previousSelected = _a.previousSelected, + selected = _a.selected, + loading = _a.loading, + open = _a.open; + var _b = _this.props, + onChange = _b.onChange, + withCheckbox = _b.withCheckbox, + showApplyButton = _b.showApplyButton, + closeOnSelect = _b.closeOnSelect, + name = _b.name, + onPopperToggle = _b.onPopperToggle; + var updatePreviousSelected = withCheckbox && showApplyButton && isControlled; - var CardHeader = function CardHeader(props) { - var className = props.className, - children = props.children; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ - 'Card-header': true - }, className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-CardHeader" - }, baseProps, { - className: classes - }), children); - }; - CardHeader.displayName = 'CardHeader'; + var disabledOptions = _this.getDisabledOptions(_this.state.options); - var CardBody = function CardBody(props) { - var className = props.className, - children = props.children; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ - 'Card-body': true - }, className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-CardBody" - }, baseProps, { - className: classes - }), children); - }; - CardBody.displayName = 'CardBody'; + var isClearClicked = selectedArray.length === 0 && selected.length > 0 || selectedArray.every(function (option) { + return option.disabled; + }) && !selected.every(function (option) { + return option.disabled; + }); - var CardFooter = function CardFooter(props) { - var _a; + _this.setState(__assign(__assign({}, _this.state), { + tempSelected: selectedArray, + triggerLabel: _this.updateTriggerLabel(selectedArray), + selectAll: getSelectAll$1(selectedArray, optionsLength, disabledOptions.length), + open: _isOpenControlled(_this.props.open) || withCheckbox ? open : !closeOnSelect, + previousSelected: updatePreviousSelected ? selectedArray : previousSelected, + selected: isClearClicked ? selectedArray : selected, + loading: isClearClicked ? true : loading + })); - var className = props.className, - children = props.children, - withSeperator = props.withSeperator; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { - 'Card-footer': true - }, _a['Card-footer--withSeperator'] = withSeperator, _a), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-CardFooter" - }, baseProps, { - className: classes - }), children); - }; - CardFooter.displayName = 'CardFooter'; - CardFooter.defaultProps = { - withSeperator: true - }; + if (isClearClicked) _this.debounceClear(); - var GenericChip = function GenericChip(props) { - var label = props.label, - icon = props.icon, - clearButton = props.clearButton, - disabled = props.disabled, - className = props.className, - selected = props.selected, - onClose = props.onClose, - onClick = props.onClick; - var baseProps = extractBaseProps(props); + if (onChange && (!showApplyButton || isControlled)) { + var values = selectedArray.map(function (item) { + return item.value; + }); + var selectedValues = isSingleSelect ? values[0] : values; + onChange(selectedValues, name); + } - var iconClass = function iconClass(align) { - var _a; + if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(false, 'optionClick'); + } + }; - return classNames__default['default']((_a = {}, _a['Chip-icon'] = true, _a["Chip-icon--" + align] = align, _a['cursor-pointer'] = align === 'right' && !disabled, _a)); - }; + _this.isValidOption = function (option) { + var _a = _this.props, + closeOnSelect = _a.closeOnSelect, + withCheckbox = _a.withCheckbox, + open = _a.open, + onPopperToggle = _a.onPopperToggle; + var temp = _this.state.tempSelected; - var onCloseHandler = function onCloseHandler(e) { - e.stopPropagation(); - if (onClose) onClose(); - }; + if (temp.length > 0 && !withCheckbox && temp[0].value === option['value']) { + _this.setState(__assign(__assign({}, _this.state), { + open: _isOpenControlled(open) || !closeOnSelect + })); - var onClickHandler = function onClickHandler() { - if (onClick) onClick(); - }; + if (!withCheckbox && closeOnSelect && onPopperToggle && _isOpenControlled(open)) { + onPopperToggle(false, 'optionClick'); + } - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-GenericChip--GenericChipWrapper" - }, baseProps, { - className: "Chip-wrapper " + className, - onClick: onClickHandler - }), icon && /*#__PURE__*/React__namespace.createElement(Icon, { - "data-test": "DesignSystem-GenericChip--Icon", - name: icon, - appearance: disabled ? 'disabled' : selected ? 'info' : 'default', - className: iconClass('left') - }), /*#__PURE__*/React__namespace.createElement(Text, { - "data-test": "DesignSystem-GenericChip--Text", - appearance: disabled ? 'disabled' : 'default' - }, label), clearButton && /*#__PURE__*/React__namespace.createElement(Icon, { - "data-test": "DesignSystem-GenericChip--clearButton", - name: "clear", - appearance: disabled ? 'disabled' : selected ? 'info' : 'subtle', - className: iconClass('right'), - onClick: onCloseHandler - })); - }; - GenericChip.displayName = 'GenericChip'; + return false; + } - var Chip = function Chip(props) { - var _a; + return true; + }; - var label = props.label, - icon = props.icon, - clearButton = props.clearButton, - type = props.type, - disabled = props.disabled, - selected = props.selected, - onClose = props.onClose, - onClick = props.onClick, - name = props.name, - className = props.className; - var baseProps = extractBaseProps(props); + _this.onOptionSelect = function (option) { + var _a = _this.props, + onUpdate = _a.onUpdate, + selected = _a.selected, + menu = _a.menu; - var onCloseHandler = function onCloseHandler() { - if (!disabled && onClose) onClose(name); - }; + if (_isControlled(selected)) { + if (onUpdate && (_this.isValidOption(option) || menu)) { + onUpdate('select-option', option); + } - var onClickHandler = function onClickHandler() { - if (!disabled && onClick) onClick(name); - }; + return; + } - var chipClass = classNames__default['default']((_a = { - Chip: true - }, _a["Chip-" + type + "--disabled"] = disabled, _a["Chip--" + type] = type && !disabled, _a["Chip-" + type + "--selected"] = selected && !disabled, _a), className); - var clearbutton = type === 'action' ? false : clearButton; - var select = type === 'selection' && selected ? true : false; - return /*#__PURE__*/React__namespace.createElement(GenericChip, __assign({ - "data-test": "DesignSystem-Chip--GenericChip" - }, baseProps, { - label: label, - selected: select, - icon: icon, - clearButton: clearbutton, - disabled: disabled, - className: chipClass, - onClose: onCloseHandler, - onClick: onClickHandler, - name: name - })); - }; - Chip.displayName = 'Chip'; - Chip.defaultProps = { - type: 'input' - }; + if (_this.isValidOption(option) || menu) { + _this.updateSelectedOptions([option], true); + } + }; + + _this.onSelect = function (option, checked) { + var _a = _this.props, + onUpdate = _a.onUpdate, + selected = _a.selected, + showApplyButton = _a.showApplyButton; + + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate(checked ? 'select-option' : 'deselect-option', option); + return; + } - var ChipGroup = function ChipGroup(props) { - var _a; + var tempSelected = _this.state.tempSelected; + var selectedArray = tempSelected.slice(); - var list = props.list, - onClick = props.onClick, - onClose = props.onClose, - className = props.className; - var baseProps = extractBaseProps(props); + if (!checked) { + var index = selectedArray.findIndex(function (item) { + return item.value === option.value; + }); + selectedArray.splice(index, 1); + } - var onClickHandler = function onClickHandler(item) { - if (onClick) onClick(item); - }; + selectedArray = checked ? selectedArray.concat(option) : selectedArray; - var onCloseHandler = function onCloseHandler(item) { - if (onClose) onClose(item); - }; + _this.updateSelectedOptions(selectedArray, false); + }; - var ChipGroupClass = classNames__default['default']((_a = {}, _a['ChipGroup'] = true, _a), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-ChipGroup" - }, baseProps, { - className: ChipGroupClass - }), list.map(function (item, ind) { - var _a = item.label, - label = _a === void 0 ? '' : _a, - icon = item.icon, - type = item.type, - disabled = item.disabled, - selected = item.selected, - clearButton = item.clearButton, - name = item.name; - return /*#__PURE__*/React__namespace.createElement("span", { - key: ind, - className: "ChipGroup-item" - }, /*#__PURE__*/React__namespace.createElement(Chip, { - "data-test": "DesignSystem-ChipGroup--Chip", - name: name, - label: label, - selected: selected, - icon: icon, - disabled: disabled, - clearButton: clearButton, - type: type, - onClick: function onClick() { - return onClickHandler(item); - }, - onClose: function onClose() { - return onCloseHandler(item); + _this.onSelectAll = function (event) { + var _a = _this.props, + onUpdate = _a.onUpdate, + selected = _a.selected, + showApplyButton = _a.showApplyButton; + var _b = _this.state, + tempSelected = _b.tempSelected, + options = _b.options; + + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate(event.target.checked ? 'select-all' : 'deselect-all'); + return; } - })); - })); - }; - ChipGroup.displayName = 'ChipGroup'; - var Column = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a; + var selectedArr = tempSelected.slice(); + var selectedDisabledArray = selectedArr.filter(function (option) { + return option.disabled; + }); + var selectedArray = event.target.checked ? __spreadArrays(options.filter(function (option) { + return !option.disabled; + }), selectedDisabledArray) : selectedDisabledArray; - var size = props.size, - sizeXS = props.sizeXS, - sizeS = props.sizeS, - sizeM = props.sizeM, - sizeL = props.sizeL, - sizeXL = props.sizeXL, - className = props.className, - children = props.children, - rest = __rest(props, ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]); + _this.updateSelectedOptions(selectedArray, false); + }; - var classes = classNames__default['default']((_a = {}, _a['Col'] = true, _a["Col--" + size] = size, _a["Col--xs-" + sizeXS] = sizeXS, _a["Col--s-" + sizeS] = sizeS, _a["Col--m-" + sizeM] = sizeM, _a["Col--l-" + sizeL] = sizeL, _a["Col--xl-" + sizeXL] = sizeXL, _a["" + className] = className, _a)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - ref: ref, - "data-test": "DesignSystem-Column" - }, rest, { - className: classes - }), children); - }); - Column.displayName = 'Column'; + _this.debounceSearch = debounce(_this.props.searchDebounceDuration, function () { + _this.setState({ + searchInit: false + }, function () { + _this.updateOptions(false); + }); + }); + _this.debounceClear = debounce(250, function () { + return _this.updateOptions(false); + }); - var Trigger$1 = function Trigger(props) { - var inputFormat = props.inputFormat, - inputOptions = props.inputOptions, - validators = props.validators, - state = props.state, - setState = props.setState; - var init = state.init, - date$1 = state.date, - error = state.error; - var _a = inputOptions.placeholderChar, - placeholderChar = _a === void 0 ? '_' : _a; + _this.onClearOptions = function () { + var _a = _this.props, + selected = _a.selected, + name = _a.name, + onUpdate = _a.onUpdate, + showApplyButton = _a.showApplyButton, + onChange = _a.onChange; + var tempSelected = _this.state.tempSelected; + var selectedArray = tempSelected.filter(function (option) { + return option.disabled; + }); - var onChangeHandler = function onChangeHandler(_e, val) { - setState({ - open: true - }); + if (_isControlled(selected) && !showApplyButton) { + if (onUpdate) onUpdate('clear-all'); + return; + } - if (val && !val.includes(placeholderChar)) { - var d = translateToDate(inputFormat, val, validators); - setState({ - date: d + _this.setState({ + selected: selectedArray, + tempSelected: selectedArray, + triggerLabel: '', + loading: true }); - } - }; - var onBlurHandler = function onBlurHandler(_e, val) { - setState({ - init: true - }); + _this.debounceClear(); - if (!val || val.includes(placeholderChar)) { - setState({ - date: undefined + if (onChange && !showApplyButton) onChange(selectedArray, name); + }; + + _this.onTogglePopper = function (type) { + var onPopperToggle = _this.props.onPopperToggle; + + if (onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(false, type); + } + }; + + _this.onCancelOptions = function () { + var _a = _this.state, + previousSelected = _a.previousSelected, + tempSelected = _a.tempSelected, + optionsLength = _a.optionsLength; + var _b = _this.props, + selected = _b.selected, + onUpdate = _b.onUpdate, + onClose = _b.onClose, + name = _b.name; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; + var values = previousSelected.map(function (option) { + return option.value; }); - } - }; - var onClearHandler = function onClearHandler() { - setState({ - init: true, - date: undefined - }); - }; + if (_isControlled(selected)) { + if (onUpdate) onUpdate('cancel-selected', previousSelected, tempSelected); - var showError = inputOptions.error || inputOptions.required && error && init; - var errorMessage = inputOptions.caption === undefined ? 'Invalid value' : inputOptions.caption; + _this.onTogglePopper('cancelClick'); - var inputValidator = function inputValidator(val) { - return isValid(validators, val, inputFormat); - }; + return; + } - var mask = date[inputFormat]; - return /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ - icon: "events", - placeholder: inputFormat - }, inputOptions, { - error: showError, - mask: mask, - value: date$1 ? translateToString(inputFormat, date$1) : init ? InputMask.utils.getDefaultValue(mask, placeholderChar) : '', - onChange: onChangeHandler, - onBlur: onBlurHandler, - onClear: onClearHandler, - caption: showError ? errorMessage : '', - validators: [inputValidator], - clearOnEmptyBlur: false - })); - }; + var label = _this.updateTriggerLabel(previousSelected); - var DatePicker = function (_super) { - __extends(DatePicker, _super); + var disabledOptions = _this.getDisabledOptions(_this.state.options); - function DatePicker(props) { - var _this = _super.call(this, props) || this; + _this.setState(__assign(__assign({}, _this.state), { + tempSelected: previousSelected, + selectAll: getSelectAll$1(previousSelected, optionsLength, disabledOptions.length), + triggerLabel: label, + open: popperIsOpen + })); - _this.getError = function (date) { - var _a = _this.props, - disabledBefore = _a.disabledBefore, - disabledAfter = _a.disabledAfter; + if (onClose && !popperIsOpen) { + onClose(values, name); + } - var _b = getDateInfo(disabledBefore), - dbYear = _b.year, - dbMonth = _b.month, - dbDate = _b.date; + _this.onTogglePopper('cancelClick'); + }; + + _this.onApplyOptions = function () { + var _a = _this.state, + tempSelected = _a.tempSelected, + previousSelected = _a.previousSelected; + var _b = _this.props, + onChange = _b.onChange, + selected = _b.selected, + onUpdate = _b.onUpdate, + onClose = _b.onClose, + name = _b.name; + var popperIsOpen = _isOpenControlled(_this.props.open) ? _this.state.open : false; + var values = tempSelected.map(function (option) { + return option.value; + }); + + if (_isControlled(selected)) { + if (onUpdate) onUpdate('apply-selected', previousSelected, tempSelected); + + _this.onTogglePopper('applyClick'); + + return; + } - var _c = getDateInfo(disabledAfter), - daYear = _c.year, - daMonth = _c.month, - daDate = _c.date; + _this.setState(__assign(__assign({}, _this.state), { + previousSelected: tempSelected, + optionsApplied: true, + open: popperIsOpen + })); - return !date ? true : compareDate(date, 'less', dbYear, dbMonth, dbDate) || compareDate(date, 'more', daYear, daMonth, daDate); - }; + if (onChange) { + onChange(values, name); + } - _this.onDateChangeHandler = function (d) { - _this.setState({ - init: true, - date: d - }); + if (onClose && !popperIsOpen) { + onClose(values, name); + } - var closeOnSelect = _this.props.closeOnSelect; - if (closeOnSelect) _this.setState({ - open: false - }); + _this.onTogglePopper('applyClick'); }; - _this.onToggleHandler = function (o, type) { - switch (type) { - case 'outsideClick': - _this.setState({ - open: o - }); - - break; + _this.onToggleDropdown = function (updatedOpen, type) { + if (_this.props.disabled) { + return; + } - case 'onClick': - _this.setState({ - open: true - }); + var onPopperToggle = _this.props.onPopperToggle; - break; + if (onPopperToggle && _isOpenControlled(_this.props.open)) { + onPopperToggle(updatedOpen, type); + return; } + + _this.setState({ + open: updatedOpen + }); }; - var inputFormat = props.inputFormat, - validators = props.validators; - var date = convertToDate(props.date, inputFormat, validators); + var _a = props.selected, + selected = _a === void 0 ? [] : _a, + totalOptions = props.totalOptions, + withCheckbox = props.withCheckbox, + loading = props.loading, + open = props.open, + options = props.options; + _this.staticLimit = Math.min(100, props.staticLimit); + var optionsLength = totalOptions ? totalOptions : options.length; + var async = 'fetchOptions' in _this.props || optionsLength > _this.staticLimit; + var selectedGroup = !async ? _this.getSelectedOptions(options, true) : []; - var error = _this.getError(date); + var disabledOptions = _this.getDisabledOptions(options); _this.state = { - date: date, - error: error, - init: false, - open: props.open || false + async: async, + optionsLength: optionsLength, + open: open, + searchInit: false, + searchedOptionsLength: optionsLength, + optionsApplied: false, + options: options || [], + loading: async ? true : loading, + searchTerm: '', + tempSelected: selectedGroup, + previousSelected: selectedGroup, + selected: _showSelectedItems(async, '', withCheckbox) ? selected : [], + triggerLabel: _this.updateTriggerLabel(selectedGroup, optionsLength), + selectAll: getSelectAll$1(selectedGroup, optionsLength, disabledOptions.length) }; return _this; } - DatePicker.prototype.componentDidUpdate = function (prevProps, prevState) { - if (prevProps.date !== this.props.date) { - var _a = this.props, - inputFormat = _a.inputFormat, - validators = _a.validators; - var d = convertToDate(this.props.date, inputFormat, validators); - this.setState({ - date: d - }); - } + Dropdown.prototype.componentDidMount = function () { + var async = this.state.async; + if (async) this.updateOptions(true); + }; - if (prevProps.open !== this.props.open) { - this.setState({ - open: this.props.open || false - }); - } + Dropdown.prototype.componentDidUpdate = function (prevProps, prevState) { + var _a; - if (prevState.date !== this.state.date) { + if (!this.state.async) { var _b = this.props, - onDateChange = _b.onDateChange, - outputFormat = _b.outputFormat; - var date = this.state.date; - var newError = this.getError(date); - this.setState({ - error: newError - }); + loading = _b.loading, + fetchOptions = _b.fetchOptions, + _c = _b.options, + options = _c === void 0 ? [] : _c, + withSearch = _b.withSearch; + var disabledOptionsCount = this.getDisabledOptions(options).length; - if (onDateChange) { - if (!newError) { - var dVal = translateToString(outputFormat, date); - onDateChange(date, dVal); + if (prevProps.loading !== loading && !fetchOptions) { + if (options.length > this.staticLimit) { + this.updateOptions(true, true); } else { - onDateChange(undefined, ''); + var selectedGroup = this.getSelectedOptions(options, true); + this.setState(__assign(__assign({}, this.state), { + options: options, + loading: loading, + tempSelected: selectedGroup, + previousSelected: selectedGroup, + optionsLength: options.length, + searchedOptionsLength: options.length, + triggerLabel: this.updateTriggerLabel(selectedGroup), + selectAll: getSelectAll$1(selectedGroup, this.state.optionsLength, disabledOptionsCount) + })); + if (withSearch) (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); } } } - }; - - DatePicker.prototype.renderCalendar = function () { - var _a = this.props; - _a.date; - _a.open; - _a.position; - var inputFormat = _a.inputFormat; - _a.outputFormat; - _a.inputOptions; - var validators = _a.validators; - _a.withInput; - var disabledBefore = _a.disabledBefore, - disabledAfter = _a.disabledAfter; - _a.onDateChange; - _a.closeOnSelect; - var rest = __rest(_a, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect"]); - - var date = this.state.date; - return /*#__PURE__*/React__namespace.createElement(Calendar, __assign({}, rest, { - date: convertToDate(date, inputFormat, validators), - disabledBefore: convertToDate(disabledBefore, inputFormat, validators), - disabledAfter: convertToDate(disabledAfter, inputFormat, validators), - onDateChange: this.onDateChangeHandler - })); - }; - - DatePicker.prototype.render = function () { - var _a = this.props, - position = _a.position, - withInput = _a.withInput, - inputFormat = _a.inputFormat, - inputOptions = _a.inputOptions, - validators = _a.validators; - var open = this.state.open; - - if (withInput) { - return /*#__PURE__*/React__namespace.createElement(Popover, { - trigger: /*#__PURE__*/React__namespace.createElement(Trigger$1, { - inputFormat: inputFormat, - inputOptions: inputOptions, - validators: validators, - state: this.state, - setState: this.setState.bind(this) - }), - triggerClass: "w-100", - position: position, - appendToBody: true, - open: open, - onToggle: this.onToggleHandler - }, this.renderCalendar()); - } - - return this.renderCalendar(); - }; - - DatePicker.defaultProps = __assign(__assign({}, Calendar.defaultProps), { - position: 'bottom-start', - inputFormat: 'mm/dd/yyyy', - outputFormat: 'mm/dd/yyyy', - validators: [date$1], - inputOptions: {}, - closeOnSelect: true - }); - return DatePicker; - }(React__namespace.Component); - - var TimePicker = function TimePicker(props) { - var validators = props.validators, - inputOptions = props.inputOptions, - inputFormat = props.inputFormat, - outputFormat = props.outputFormat, - onTimeChange = props.onTimeChange, - timeProp = props.time; - - var _a = React__namespace.useState(timeProp), - time$1 = _a[0], - setTime = _a[1]; - - var _b = React__namespace.useState(false), - init = _b[0], - setInit = _b[1]; - - var _c = inputOptions.placeholderChar, - placeholderChar = _c === void 0 ? '_' : _c; - React__namespace.useEffect(function () { - var timeStr = translateToTime(inputFormat, time$1); - var updatedTime = timeProp === undefined && timeStr.includes(placeholderChar) ? time$1 : timeProp; - setTime(updatedTime); - }, [timeProp]); - - var onChangeHandler = function onChangeHandler(e, val) { - if (val === void 0) { - val = ''; - } - - var updatedTime = val === null || val === void 0 ? void 0 : val.toUpperCase(); - setTime(updatedTime); - - if (inputOptions.onChange) { - inputOptions.onChange(e, val); - } - }; - var onBlurHandler = function onBlurHandler(e, val) { - if (val === void 0) { - val = ''; + if (this.props.selected !== undefined && prevProps.selected !== this.props.selected && prevProps.loading === this.props.loading) { + var isSingleSelect = !this.props.withCheckbox; + this.updateSelectedOptions(this.props.selected, isSingleSelect, true); } - var updatedTime = translateToTime(inputFormat, time$1); - setInit(true); - - if (onTimeChange) { - var outputTimeStr = updatedTime && !isPlaceholderPresent(placeholderChar, updatedTime) ? getOutputTimeString(inputFormat, outputFormat, updatedTime) : undefined; - onTimeChange(outputTimeStr); + if (prevState.searchTerm !== this.state.searchTerm) { + this.debounceSearch(); } - if (inputOptions.onBlur) inputOptions.onBlur(e, val); + if (prevProps.open !== this.props.open || prevState.open !== this.state.open) { + if (_isOpenControlled(this.props.open) && this.props.open === this.state.open) return; + this.updateOnPopperToggle(); + } }; - var onClearHandler = function onClearHandler(e) { - var updatedTime = ''; - setInit(true); - if (onTimeChange) onTimeChange(updatedTime); - if (inputOptions.onClear) inputOptions.onClear(e); - }; + Dropdown.prototype.render = function () { + var _a = this.state, + options = _a.options, + async = _a.async, + open = _a.open, + searchTerm = _a.searchTerm, + searchInit = _a.searchInit, + loading = _a.loading, + searchedOptionsLength = _a.searchedOptionsLength, + tempSelected = _a.tempSelected, + selectAll = _a.selectAll, + triggerLabel = _a.triggerLabel, + previousSelected = _a.previousSelected, + scrollIndex = _a.scrollIndex; + var _b = this.props, + _c = _b.withSelectAll, + withSelectAll = _c === void 0 ? true : _c, + withCheckbox = _b.withCheckbox; - var inputValidator = function inputValidator(val) { - return isValid(validators, val, inputFormat); + var _d = this.props, + _e = _d.triggerOptions, + triggerOptions = _e === void 0 ? {} : _e; + _d.selected; + var tabIndex = _d.tabIndex, + rest = __rest(_d, ["triggerOptions", "selected", "tabIndex"]); + + var remainingOptionsLen = searchedOptionsLength - options.length; + var firstEnabledOption = tabIndex ? tabIndex : _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { + return !option.disabled; + }); + return /*#__PURE__*/React__namespace.createElement(DropdownList, __assign({ + listOptions: options, + inputRef: inputRef, + remainingOptions: remainingOptionsLen, + firstEnabledOption: firstEnabledOption, + loadingOptions: loading, + async: async, + searchInit: searchInit, + dropdownOpen: open, + searchTerm: searchTerm, + triggerLabel: triggerLabel, + tempSelected: tempSelected, + previousSelected: previousSelected, + selected: this.state.selected, + applyOptions: this.onApplyOptions, + cancelOptions: this.onCancelOptions, + toggleDropdown: this.onToggleDropdown, + onClearOptions: this.onClearOptions, + onSelect: this.onSelect, + selectAll: selectAll, + onSearchChange: this.updateSearchTerm, + onOptionSelect: this.onOptionSelect, + onSelectAll: this.onSelectAll, + customTrigger: triggerOptions.customTrigger, + scrollIndex: scrollIndex + }, rest)); }; - var mask = time[inputFormat]; - return /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ - placeholder: placeholders[inputFormat], - placeholderChar: placeholderChar - }, inputOptions, { - mask: mask, - value: time$1 ? translateToTime(inputFormat, time$1) : init ? InputMask.utils.getDefaultValue(mask, placeholderChar) : '', - validators: inputValidator, - onChange: onChangeHandler, - onClear: onClearHandler, - onBlur: onBlurHandler - })); - }; - TimePicker.defaultProps = { - inputFormat: 'hh:mm AM', - outputFormat: 'hh:mm AM', - inputOptions: {}, - validators: [time$1] - }; - TimePicker.displayName = 'TimePicker'; + Dropdown.defaultProps = { + triggerOptions: {}, + options: [], + closeOnSelect: true, + staticLimit: 50, + searchDebounceDuration: 300 + }; + return Dropdown; + }(React__namespace.Component); var sizeMap = { s: 'h5', @@ -4296,11 +5799,12 @@ size = props.size, children = props.children, className = props.className, - rest = __rest(props, ["appearance", "size", "children", "className"]); + color = props.color, + rest = __rest(props, ["appearance", "size", "children", "className", "color"]); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Heading: true - }, _a["Heading--" + size] = size, _a["Heading--" + appearance] = appearance, _a), className); + }, _a["Heading--" + size] = size, _a["Heading--" + appearance] = !color && appearance, _a["color-" + color] = color, _a), className); return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Heading" }, rest, { @@ -4314,7 +5818,27 @@ size: 'm' }; - var sizeMapping$1 = { + var ActionButton$1 = function ActionButton(props) { + var _a; + + var className = props.className, + iconVariations = props.iconVariations, + rest = __rest(props, ["className", "iconVariations"]); + + var iconClass = classNames__default["default"]((_a = {}, _a['ActionButton'] = true, _a["" + className] = className, _a)); + return /*#__PURE__*/React__namespace.createElement(Icon, __assign({ + className: iconClass, + variations: iconVariations, + "data-test": "DesignSystem-Input-ActionButton" + }, rest)); + }; + ActionButton$1.displayName = 'ActionButton'; + ActionButton$1.defaultProps = { + size: 16, + type: 'rounded' + }; + + var sizeMapping$2 = { tiny: 12, regular: 16, large: 20 @@ -4342,14 +5866,21 @@ onClear = props.onClear, onBlur = props.onBlur, onFocus = props.onFocus, + onPaste = props.onPaste, actionIcon = props.actionIcon, className = props.className, autoFocus = props.autoFocus, disabled = props.disabled, readOnly = props.readOnly, - rest = __rest(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]); + iconVariations = props.iconVariations, + rest = __rest(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "onPaste", "actionIcon", "className", "autoFocus", "disabled", "readOnly", "iconVariations"]); var ref = React__namespace.useRef(null); + + var _h = React__namespace.useState(!value), + isInputBlank = _h[0], + setIsInputBlank = _h[1]; + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); @@ -4361,15 +5892,17 @@ }); }, []); var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = {}, _a['Input'] = true, _a["Input--" + size] = size, _a['Input--disabled'] = disabled || readOnly, _a['Input--error'] = error, _a), className); - var inputClass = classNames__default['default']((_b = {}, _b['Input-input'] = true, _b["Input-input--" + size] = size, _b)); - var leftIconClass = classNames__default['default']((_c = {}, _c['Input-icon'] = true, _c['Input-icon--left'] = true, _c['Input-icon--disabled'] = !value, _c)); - var rightIconClass = classNames__default['default']((_d = {}, _d['Input-icon'] = true, _d['Input-icon--right'] = true, _d)); + var classes = classNames__default["default"]((_a = {}, _a['Input'] = true, _a["Input--" + size] = size, _a['Input--disabled'] = disabled || readOnly, _a['Input--error'] = error, _a), className); + var inputClass = classNames__default["default"]((_b = {}, _b['Input-input'] = true, _b["Input-input--" + size] = size, _b)); + var leftIconClass = classNames__default["default"]((_c = {}, _c['Input-icon'] = true, _c['Input-icon--left'] = true, _c['Input-icon--inputBlank'] = isInputBlank, _c['Input-icon--error'] = error, _c)); + var rightIconClass = classNames__default["default"]((_d = {}, _d['Input-icon'] = true, _d['Input-iconWrapper--right'] = true, _d)); var trigger = /*#__PURE__*/React__namespace.createElement("div", { - className: rightIconClass + className: rightIconClass, + tabIndex: 0 }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'info', - size: sizeMapping$1[size] + size: sizeMapping$2[size], + className: "Input-icon--right" })); return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-InputWrapper", @@ -4381,6 +5914,12 @@ var _a; return (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus(); + }, + role: "presentation", + onBlur: function onBlur() { + var _a; + + return setIsInputBlank(!((_a = ref.current) === null || _a === void 0 ? void 0 : _a.value)); } }, inlineLabel && /*#__PURE__*/React__namespace.createElement("div", { className: "Input-inlineLabel" @@ -4390,7 +5929,8 @@ className: leftIconClass }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, - size: sizeMapping$1[size] + size: sizeMapping$2[size], + variations: iconVariations })), /*#__PURE__*/React__namespace.createElement("input", __assign({ "data-test": "DesignSystem-Input" }, baseProps, rest, { @@ -4407,23 +5947,35 @@ onChange: onChange, onBlur: onBlur, onClick: onClick, - onFocus: onFocus - })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React__namespace.createElement(Tooltip, { - position: "top", + onFocus: onFocus, + onPaste: onPaste, + tabIndex: readOnly ? -1 : undefined + })), disabled ? '' : info ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + position: "bottom", tooltip: info - }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React__namespace.createElement("div", { - className: rightIconClass, - onClick: function onClick(e) { - return onClear(e); - } + }, trigger) : actionIcon && (value || defaultValue) ? actionIcon : onClear && (value || defaultValue) && /*#__PURE__*/React__namespace.createElement("div", { + className: rightIconClass }, /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-Input--closeIcon", + onClick: function onClick(e) { + var _a; + + (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus({ + preventScroll: true + }); + onClear(e); + }, name: 'close', - size: sizeMapping$1[size] + size: sizeMapping$2[size], + className: "Input-icon--right" }))); }); Input.displayName = 'Input'; + Object.assign(Input, { + ActionButton: ActionButton$1 + }); - var sizeMapping = { + var sizeMapping$1 = { regular: 16, large: 20 }; @@ -4445,10 +5997,10 @@ }; var MetricInput = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { - var _a, _b, _c; + var _a, _b, _c, _d, _e, _f; - var _d = props.size, - size = _d === void 0 ? 'regular' : _d, + var _g = props.size, + size = _g === void 0 ? 'regular' : _g, defaultValue = props.defaultValue, name = props.name, placeholder = props.placeholder, @@ -4467,14 +6019,18 @@ disabled = props.disabled, readOnly = props.readOnly, valueProp = props.value, - rest = __rest(props, ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value"]); + _h = props.showActionButton, + showActionButton = _h === void 0 ? true : _h, + onKeyDown = props.onKeyDown, + iconVariations = props.iconVariations, + rest = __rest(props, ["size", "defaultValue", "name", "placeholder", "icon", "prefix", "suffix", "error", "min", "max", "onChange", "onClick", "onBlur", "onFocus", "className", "autoFocus", "disabled", "readOnly", "value", "showActionButton", "onKeyDown", "iconVariations"]); var ref = React__namespace.useRef(null); var isUncontrolled = valueProp === undefined; - var _e = React__namespace.useState(valueProp || defaultValue), - value = _e[0], - setValue = _e[1]; + var _j = React__namespace.useState(valueProp || defaultValue), + value = _j[0], + setValue = _j[1]; React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; @@ -4492,15 +6048,12 @@ } }, [valueProp]); var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = {}, _a['MetricInput'] = true, _a["MetricInput--" + size] = size, _a['MetricInput--disabled'] = disabled || readOnly, _a['MetricInput--error'] = error, _a), className); - var inputClass = classNames__default['default']((_b = {}, _b['MetricInput-input'] = true, _b["MetricInput-input--" + size] = size, _b)); - var iconClass = classNames__default['default']((_c = {}, _c['MetricInput-icon'] = true, _c["MetricInput-icon--" + size] = size, _c)); - - var getArrowClass = function getArrowClass(direction) { - var _a; - - return classNames__default['default']((_a = {}, _a['MetricInput-arrowIcon'] = true, _a["MetricInput-arrowIcon--" + size] = size, _a["MetricInput-arrowIcon--" + direction] = direction, _a)); - }; + var classes = classNames__default["default"]((_a = {}, _a['MetricInput'] = true, _a["MetricInput--" + size] = size, _a['MetricInput--disabled'] = disabled || readOnly, _a['MetricInput--error'] = error, _a), className); + var inputClass = classNames__default["default"]((_b = {}, _b['MetricInput-input'] = true, _b["MetricInput-input--" + size] = size, _b["mr-4"] = !suffix && !showActionButton && size === 'regular', _b["mr-6"] = !suffix && !showActionButton && size === 'large', _b)); + var iconClass = classNames__default["default"]((_c = {}, _c['MetricInput-icon'] = true, _c["MetricInput-icon--" + size] = size, _c)); + var prefixClass = classNames__default["default"]((_d = {}, _d['mr-4'] = size === 'regular', _d['mr-5'] = size !== 'regular', _d)); + var suffixClass = classNames__default["default"]((_e = {}, _e['ml-4 mr-3'] = size === 'regular', _e['mx-5'] = size !== 'regular', _e)); + var actionButton = classNames__default["default"]((_f = {}, _f['p-0'] = true, _f["MetricInput-arrowIcon--" + size] = size, _f['ml-3'] = true, _f)); var onChangeHandler = function onChangeHandler(e) { if (isUncontrolled) { @@ -4511,24 +6064,29 @@ }; var onArrowClick = function onArrowClick(e, direction) { + var _a; + var newValue = Number(value || 0); + var decimalDigits = ((_a = newValue.toString().split('.')[1]) === null || _a === void 0 ? void 0 : _a.length) || 0; var isValid = direction === 'down' ? min !== undefined && newValue > min || min === undefined : max !== undefined && newValue < max || max === undefined; if (disabled || readOnly || !isValid) return; newValue = direction === 'down' ? newValue - 1 : newValue + 1; - newValue = capMax(max, capMin(min, newValue)); + newValue = capMax(max, capMin(min, +newValue.toFixed(decimalDigits))); if (isUncontrolled) setValue(newValue); if (onChange) { var syntheticEvent = Object.create(e, { target: { - value: newValue + value: { + value: newValue + } } }); onChange(syntheticEvent); } }; - var onKeyDown = function onKeyDown(e) { + var onKeyDownHandler = function onKeyDownHandler(e) { switch (e.key) { case 'e': case 'E': @@ -4547,24 +6105,28 @@ } }; - var iconSize = size === 'regular' ? 12 : 16; + var handleKeyDown = function handleKeyDown(e) { + if (showActionButton) { + onKeyDownHandler(e); + } else e.preventDefault(); + }; + + var actionButtonSize = size === 'large' ? 'regular' : 'tiny'; return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-MetricInputWrapper", className: classes, - onClick: function onClick() { - var _a; - - return (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus(); - } + onKeyDown: onKeyDown, + role: "presentation" }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-MetricInput--icon", name: icon, - size: sizeMapping[size], + variations: iconVariations, + size: sizeMapping$1[size], appearance: !value ? 'disabled' : 'subtle', className: iconClass }), prefix && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-MetricInput--prefix", - className: size === 'regular' ? 'mr-4' : 'mr-5', + className: prefixClass, size: size, appearance: "subtle" }, prefix), /*#__PURE__*/React__namespace.createElement("input", __assign({ @@ -4583,27 +6145,26 @@ onBlur: onBlur, onClick: onClick, onFocus: onFocus, - onKeyDown: onKeyDown + onKeyDown: handleKeyDown })), suffix && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-MetricInput--suffix", - className: size === 'regular' ? 'ml-4' : 'ml-5', + className: suffixClass, size: size, appearance: "subtle" - }, suffix), /*#__PURE__*/React__namespace.createElement("div", { - className: "MetricInput-arrowIcons", - tabIndex: 0 - }, /*#__PURE__*/React__namespace.createElement(Icon, { - className: getArrowClass('up'), - size: iconSize, - name: "keyboard_arrow_up", + }, suffix), showActionButton && /*#__PURE__*/React__namespace.createElement("div", { + className: "MetricInput-arrowIcons" + }, /*#__PURE__*/React__namespace.createElement(Button, { + icon: "keyboard_arrow_up", + size: actionButtonSize, + className: actionButton + " mb-2", onClick: function onClick(e) { return onArrowClick(e, 'up'); }, "data-test": "DesignSystem-MetricInput--upIcon" - }), /*#__PURE__*/React__namespace.createElement(Icon, { - className: getArrowClass('down'), - size: iconSize, - name: "keyboard_arrow_down", + }), /*#__PURE__*/React__namespace.createElement(Button, { + icon: "keyboard_arrow_down", + size: actionButtonSize, + className: actionButton, onClick: function onClick(e) { return onArrowClick(e, 'down'); }, @@ -4612,22 +6173,6 @@ }); MetricInput.displayName = 'MetricInput'; - function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function (obj) { - return typeof obj; - }; - } else { - _typeof = function (obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); - } - var isEditable = function isEditable(mask, pos) { return _typeof(mask[pos]) === 'object'; }; @@ -4656,13 +6201,19 @@ caption = props.caption, required = props.required, onChange = props.onChange, + onPaste = props.onPaste, onBlur = props.onBlur, onFocus = props.onFocus, onClear = props.onClear, className = props.className, - rest = __rest(props, ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onBlur", "onFocus", "onClear", "className"]); + id = props.id, + helpText = props.helpText, + rest = __rest(props, ["mask", "value", "placeholderChar", "validators", "clearOnEmptyBlur", "defaultValue", "mask", "error", "caption", "required", "onChange", "onPaste", "onBlur", "onFocus", "onClear", "className", "id", "helpText"]); - var getNewCursorPosition = function getNewCursorPosition(type, position) { + var isEditable = React__namespace.useCallback(function (pos) { + return _typeof(mask[pos]) === 'object'; + }, [mask]); + var getNewCursorPosition = React__namespace.useCallback(function (type, position) { if (type === 'right') { for (var i = position; i < mask.length; i++) { if (isEditable(i)) return i; @@ -4680,17 +6231,15 @@ } return position; - }; - - var getDefaultSelection = function getDefaultSelection() { + }, [mask, isEditable]); + var getDefaultSelection = React__namespace.useCallback(function () { var pos = getNewCursorPosition('right', 0); return { start: pos, end: pos }; - }; - - var getPlaceholderValue = function getPlaceholderValue(start, end) { + }, [getNewCursorPosition]); + var getPlaceholderValue = React__namespace.useCallback(function (start, end) { if (start === void 0) { start = 0; } @@ -4700,64 +6249,57 @@ } return getDefaultValue(mask, placeholderChar).slice(start, end + 1); - }; - - var getSelectionLength = function getSelectionLength(val) { - return Math.abs(val.end - val.start); - }; - - var isEditable = function isEditable(pos) { - return _typeof(mask[pos]) === 'object'; - }; - + }, [mask, placeholderChar]); + var defaultPlaceholderValue = React__namespace.useMemo(function () { + return getPlaceholderValue(); + }, [getPlaceholderValue]); + var defaultSelection = React__namespace.useMemo(function () { + return getDefaultSelection(); + }, [getDefaultSelection]); + var ref = React__namespace.useRef(null); var deferId = React__namespace.useRef(); - var selectionRef = React__namespace.useRef(0); + var selectionPos = React__namespace.useRef(defaultSelection); + var newSelectionPos = React__namespace.useRef(0); var _d = React__namespace.useState(defaultValue || valueProp || ''), value = _d[0], setValue = _d[1]; - var _e = React__namespace.useState(getDefaultSelection()), - selection = _e[0], - setSelection = _e[1]; - - var ref = React__namespace.useRef(null); React__namespace.useImperativeHandle(forwardRef, function () { return ref.current; }); React__namespace.useEffect(function () { setValue(valueProp || ''); }, [valueProp]); + React__namespace.useEffect(function () { + setCursorPosition(newSelectionPos.current); + }, [value]); + var getSelectionLength = React__namespace.useCallback(function (val) { + return Math.abs(val.end - val.start); + }, []); + var getCurrSelection = React__namespace.useCallback(function () { + var _a, _b; - var setCursorPosition = function setCursorPosition(val) { - return setSelectionPos({ - start: val, - end: val - }); - }; - - var getCurrSelection = function getCurrSelection() { return { - start: ref.current.selectionStart || 0, - end: ref.current.selectionEnd || 0 + start: ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.selectionStart) || 0, + end: ((_b = ref.current) === null || _b === void 0 ? void 0 : _b.selectionEnd) || 0 }; - }; - - var setSelectionPos = function setSelectionPos(pos) { + }, [ref.current]); + var setSelectionPos = React__namespace.useCallback(function (pos) { if (ref.current) { var el = ref.current; var start = Math.min(pos.start, pos.end); var end = Math.max(pos.start, pos.end); el.setSelectionRange(start, end); } - }; - - var updateSelection = function updateSelection() { - setSelection(getCurrSelection()); - deferId.current = window.requestAnimationFrame(updateSelection); - }; - - var insertAtIndex = function insertAtIndex(currValue, index, iterator) { + }, [ref.current]); + var setCursorPosition = React__namespace.useCallback(function (val) { + return setSelectionPos({ + start: val, + end: val + }); + }, [setSelectionPos]); + var insertAtIndex = React__namespace.useCallback(function (currValue, index, iterator) { if (iterator === void 0) { iterator = 0; } @@ -4771,7 +6313,10 @@ } if (iterator >= currValue.length) { - selectionRef.current = index; + selectionPos.current = { + start: index, + end: index + }; return newValue; } @@ -4791,12 +6336,55 @@ newValue += insertAtIndex(currValue, newIndex, newIterator); return newValue; + }, [mask, placeholderChar, isEditable]); + var updateSelection = React__namespace.useCallback(function () { + selectionPos.current = getCurrSelection(); + deferId.current = window.requestAnimationFrame(updateSelection); + }, [selectionPos.current, getCurrSelection]); + + var matchSeparatorValue = function matchSeparatorValue(currValue) { + var separator = props.placeholder || 'dd/mm/yyyy'; + + if (separator.substring(0, 4) === 'yyyy') { + return currValue && currValue[4] === separator[4] && currValue[7] === separator[7]; + } + + return currValue && currValue[2] === separator[2] && currValue[5] === separator[5]; }; - var onChangeHandler = function onChangeHandler(e) { - var inputVal = e.currentTarget.value; + var isSameFormat = function isSameFormat(currValue, inputLength) { + var value = currValue.substring(0, inputLength); + + if (inputLength === 23) { + var date = value.split(' - '); + var startVal = date[0]; + var endVal = date[1]; + return matchSeparatorValue(startVal) && matchSeparatorValue(endVal); + } + + return matchSeparatorValue(value); + }; + + var onPasteHandler = function onPasteHandler(e) { + var _a; + + e.preventDefault(); + var pastedValue = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('Text'); + var sameFormat = isSameFormat(pastedValue, pastedValue.length); + var isValidDate = isValid(validators, pastedValue); + + if (sameFormat && onPaste && isValidDate) { + onPaste(e, pastedValue); + setValue(pastedValue); + } + }; + + var onChangeHandler = React__namespace.useCallback(function (e) { + var _a; + + var inputVal = (_a = e.currentTarget) === null || _a === void 0 ? void 0 : _a.value; var currSelection = getCurrSelection(); - var start = Math.min(selection.start, currSelection.start); + var start = Math.min(selectionPos.current.start, currSelection.start); var end = currSelection.end; var cursorPosition = start; var enteredVal = ''; @@ -4805,24 +6393,35 @@ var insertedStringLength = 0; enteredVal = inputVal.slice(start, end); updatedVal = insertAtIndex(enteredVal, start); + var oldValue = value; + + if (oldValue.length === 0 && (id === 'parent-TimePicker' || id === 'parent-DatePicker')) { + oldValue = defaultPlaceholderValue; + } + insertedStringLength = updatedVal.length; - if (currSelection.end > selection.end) { - removedLength = insertedStringLength ? getSelectionLength(selection) : 0; - } else if (inputVal.length < value.length) { - removedLength = value.length - inputVal.length; + if (currSelection.end > selectionPos.current.end) { + removedLength = insertedStringLength ? getSelectionLength(selectionPos.current) : 0; + } else if (inputVal.length < oldValue.length) { + removedLength = oldValue.length - inputVal.length; } - cursorPosition += insertedStringLength; - var maskedVal = value.split(''); + var maskedVal = oldValue.split(''); for (var i = 0; i < insertedStringLength; i++) { maskedVal[start + i] = updatedVal[i]; } for (var i = 0; i < removedLength; i++) { - var index = start + insertedStringLength + i; - maskedVal[index] = getPlaceholderValue(index, index); + var index$1 = start + insertedStringLength + i; + maskedVal[index$1] = getPlaceholderValue(index$1, index$1); + } + + var enteredValue = maskedVal.slice(0, mask.length).join(''); + + if (updatedVal !== placeholderChar && updatedVal !== '' && !updatedVal.includes(placeholderChar) && isValid(validators, enteredValue)) { + cursorPosition += insertedStringLength; } var newCursorPosition = getNewCursorPosition(removedLength ? 'left' : 'right', cursorPosition); @@ -4836,76 +6435,80 @@ } var newValue = maskedVal.slice(0, mask.length).join(''); - window.requestAnimationFrame(function () { - return setCursorPosition(cursorPosition); - }); + newSelectionPos.current = cursorPosition; - if (isValid(validators, newValue)) { - setValue(newValue); - if (onChange) onChange(e, newValue); + if (newValue !== oldValue && isValid(validators, newValue)) { + if (defaultPlaceholderValue === '__:__ _M') { + setValue(newValue.toUpperCase()); + onChange === null || onChange === void 0 ? void 0 : onChange(e, newValue.toUpperCase()); + } else { + setValue(newValue); + onChange === null || onChange === void 0 ? void 0 : onChange(e, newValue); + } + } else { + window.requestAnimationFrame(function () { + return setCursorPosition(newSelectionPos.current); + }); } - }; - - var onBlurHandler = function onBlurHandler(e) { + }, [selectionPos.current, validators, getCurrSelection, insertAtIndex, getSelectionLength, getPlaceholderValue, getNewCursorPosition, isEditable, setCursorPosition, setValue, onChange]); + var onBlurHandler = React__namespace.useCallback(function (e) { var inputVal = e.currentTarget.value; if (clearOnEmptyBlur) { - if (inputVal === getPlaceholderValue()) { + if (inputVal === defaultPlaceholderValue) { setValue(''); inputVal = ''; } } - if (onBlur) onBlur(e, inputVal); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(e, inputVal); if (deferId.current) window.cancelAnimationFrame(deferId.current); - }; - - var onClearHandler = function onClearHandler(e) { - setValue(getPlaceholderValue()); - window.requestAnimationFrame(function () { - return setCursorPosition(getDefaultSelection().start); - }); - if (onClear) onClear(e); - }; - - var onFocusHandler = function onFocusHandler(e) { + }, [clearOnEmptyBlur, deferId.current, getPlaceholderValue, setValue, onBlur]); + var onClearHandler = React__namespace.useCallback(function (e) { + newSelectionPos.current = defaultSelection.start; + setValue(defaultPlaceholderValue); + onClear === null || onClear === void 0 ? void 0 : onClear(e); + }, [setValue, getPlaceholderValue, setCursorPosition, getDefaultSelection, onClear]); + var onFocusHandler = React__namespace.useCallback(function (e) { deferId.current = window.requestAnimationFrame(updateSelection); if (!value) { + newSelectionPos.current = defaultSelection.start; setValue(getPlaceholderValue()); - window.requestAnimationFrame(function () { - return setSelectionPos(getDefaultSelection()); - }); } - if (onFocus) onFocus(e); - }; - - var classes = classNames__default['default']({ - 'd-flex flex-column flex-grow-1': true - }, className); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(e); + }, [deferId.current, value, updateSelection, setValue, setSelectionPos, onFocus]); + var classes = React__namespace.useMemo(function () { + return classNames__default["default"]({ + 'd-flex flex-column flex-grow-1': true + }, className); + }, [className]); + var isValueEqualPlaceholder = value === defaultPlaceholderValue; return /*#__PURE__*/React__namespace.createElement("div", { - className: classes + className: classes, + "data-test": "DesignSystem-InputMask--Wrapper" }, /*#__PURE__*/React__namespace.createElement(Input, __assign({}, rest, { value: value, error: error, required: required, onFocus: onFocusHandler, onChange: onChangeHandler, - onClear: onClearHandler, + onClear: !isValueEqualPlaceholder ? onClearHandler : undefined, onBlur: onBlurHandler, + onPaste: onPasteHandler, autoComplete: 'off', ref: ref - })), /*#__PURE__*/React__namespace.createElement(Caption, { - error: error, - withInput: true, - hide: !caption - }, caption)); + })), /*#__PURE__*/React__namespace.createElement(HelpText, { + message: error ? caption : helpText, + error: error + })); }); InputMask.displayName = 'InputMask'; InputMask.utils = { getDefaultValue: getDefaultValue }; + var X = InputMask; var Label = function Label(props) { var _a; @@ -4916,13 +6519,14 @@ disabled = props.disabled, children = props.children, className = props.className, - rest = __rest(props, ["required", "optional", "withInput", "disabled", "children", "className"]); + info = props.info, + rest = __rest(props, ["required", "optional", "withInput", "disabled", "children", "className", "info"]); var baseProps = extractBaseProps(props); - var LabelClass = classNames__default['default']((_a = { + var LabelClass = classNames__default["default"]((_a = { Label: true }, _a['Label--withInput'] = withInput, _a['Label--optional'] = optional, _a), className); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ 'Label-text': true, 'Label--disabled': disabled }); @@ -4950,6 +6554,18 @@ return null; }; + var renderIndicator = function renderIndicator(info) { + return /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: info + }, /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-Label--Info", + name: "info", + size: 12, + appearance: "subtle", + className: "ml-3 cursor-pointer d-flex align-items-center" + })); + }; + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Label" }, baseProps, { @@ -4958,7 +6574,7 @@ "data-test": "DesignSystem-Label--Text", className: classes, componentType: "label" - }, rest), children), renderInfo(required, optional)); + }, rest), children, renderInfo(required, optional), info && renderIndicator(info))); }; Label.displayName = 'Label'; @@ -4971,12 +6587,13 @@ children = props.children, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Caption: true }, _a['Caption--hidden'] = hide, _a['Caption--withInput'] = withInput, _a), className); - var errorIconClass = classNames__default['default']((_b = {}, _b['Caption-icon'] = true, _b)); + var errorIconClass = classNames__default["default"]((_b = {}, _b['Caption-icon'] = true, _b)); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: classes + className: classes, + "data-test": "DesignSystem-Caption" }), error && /*#__PURE__*/React__namespace.createElement("div", { className: errorIconClass }, /*#__PURE__*/React__namespace.createElement(Icon, { @@ -5004,7 +6621,7 @@ _onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var legendClass = classNames__default['default']((_a = {}, _a['Legend'] = true, _a), className); + var legendClass = classNames__default["default"]((_a = {}, _a['Legend'] = true, _a), className); var styles = { background: "var(--" + iconAppearance + ")", height: iconSize + "px", @@ -5043,7 +6660,7 @@ editing = props.editing, children = props.children; var baseProps = extractBaseProps(props); - var EditableClass = classNames__default['default']((_a = {}, _a['Editable'] = true, _a), className); + var EditableClass = classNames__default["default"]((_a = {}, _a['Editable'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Editable" }, baseProps, { @@ -5087,9 +6704,9 @@ showComponent = _f[0], setShowComponent = _f[1]; - var CompClass = classNames__default['default']((_a = {}, _a['EditableDropdown'] = true, _a), className); - var DefaultCompClass = classNames__default['default']((_b = {}, _b['EditableDropdown-default'] = true, _b['d-none'] = showComponent, _b)); - var EditableDropdownClass = classNames__default['default']((_c = {}, _c['d-none'] = !showComponent, _c)); + var CompClass = classNames__default["default"]((_a = {}, _a['EditableDropdown'] = true, _a), className); + var DefaultCompClass = classNames__default["default"]((_b = {}, _b['EditableDropdown-default'] = true, _b['d-none'] = showComponent, _b)); + var EditableDropdownClass = classNames__default["default"]((_c = {}, _c['d-none'] = !showComponent, _c)); var baseProps = extractBaseProps(props); var getLabel = function getLabel(updatedLabel) { @@ -5100,14 +6717,14 @@ switch (eventType) { case 'edit': setEditing(true); + break; case 'hover': setShowComponent(true); - return; + break; case 'default': setShowComponent(false); - return; } }; @@ -5162,13 +6779,14 @@ disabled = props.disabled, rest = __rest(props, ["children", "className", "appearance", "size", "disabled"]); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Link: true - }, _a['Link--disabled'] = disabled, _a["Link--" + size] = size, _a["Link--" + appearance] = appearance, _a), className); + }, _a["Link--" + size] = size, _a["Link--" + appearance] = appearance, _a["Link--" + appearance + "-disabled"] = disabled, _a), className); return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Link", className: classes, - componentType: "a" + componentType: "a", + tabIndex: disabled ? -1 : 0 }, rest), children); }; Link.displayName = 'Link'; @@ -5178,7 +6796,7 @@ disabled: false }; - var IconMapping$1 = { + var IconMapping$2 = { success: 'check_circle', info: 'info', warning: 'warning', @@ -5187,15 +6805,16 @@ var Message = function Message(props) { var _a, _b, _c, _d; - var appearance = props.appearance, - actions = props.actions, + var actions = props.actions, title = props.title, className = props.className; + var appearance = props.appearance; + appearance = appearance === 'default' ? 'info' : appearance; var baseProps = extractBaseProps(props); - var MessageClass = classNames__default['default']((_a = {}, _a['Message'] = true, _a["Message--" + appearance] = appearance, _a), className); - var IconClass = classNames__default['default']((_b = {}, _b['Message-icon'] = true, _b["Message-icon--" + appearance] = appearance, _b['Message-icon--withTitle'] = title, _b)); - var TitleClass = classNames__default['default']((_c = {}, _c['Message-heading'] = true, _c["Message-heading--" + appearance] = appearance, _c)); - var DescriptionClass = classNames__default['default']((_d = {}, _d['Message-text'] = true, _d["Message-text--" + appearance] = appearance, _d)); + var MessageClass = classNames__default["default"]((_a = {}, _a['Message'] = true, _a["Message--" + appearance] = appearance, _a), className); + var IconClass = classNames__default["default"]((_b = {}, _b['Message-icon'] = true, _b["Message-icon--" + appearance] = appearance, _b['Message-icon--withTitle'] = title, _b)); + var TitleClass = classNames__default["default"]((_c = {}, _c['Message-heading'] = true, _c["Message-heading--" + appearance] = appearance, _c)); + var DescriptionClass = classNames__default["default"]((_d = {}, _d['Message-text'] = true, _d["Message-text--" + appearance] = appearance, _d)); var renderDescription = function renderDescription(description, children) { if (description || typeof children === 'string') { @@ -5219,9 +6838,9 @@ "data-test": "DesignSystem-Message" }, baseProps, { className: MessageClass - }), appearance !== 'default' && /*#__PURE__*/React__namespace.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-Message--Icon", - name: IconMapping$1[appearance], + name: IconMapping$2[appearance], appearance: appearance, className: IconClass }), /*#__PURE__*/React__namespace.createElement("div", null, title && /*#__PURE__*/React__namespace.createElement(Heading, { @@ -5235,324 +6854,83 @@ }; Message.displayName = 'Message'; Message.defaultProps = { - appearance: 'default', + appearance: 'info', description: '' }; - var Meta = function Meta(props) { - var label = props.label, - icon = props.icon, - iconAppearance = props.iconAppearance, - labelAppearance = props.labelAppearance; - return /*#__PURE__*/React__namespace.createElement("span", { - className: 'Meta' - }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { - name: icon, - appearance: iconAppearance, - className: 'Meta-icon' - }), /*#__PURE__*/React__namespace.createElement(Text, { - appearance: labelAppearance - }, label)); - }; - Meta.displayName = 'Meta'; - - var MetaList = function MetaList(props) { - var _a, _b, _c; - - var list = props.list, - seperator = props.seperator, - seperatorAppearance = props.seperatorAppearance, - iconAppearance = props.iconAppearance, - labelAppearance = props.labelAppearance, - className = props.className; - var baseProps = extractBaseProps(props); - var MetaClass = classNames__default['default']((_a = {}, _a['MetaList'] = true, _a), className); - var SeperatorClass = classNames__default['default']((_b = {}, _b['MetaList-seperator'] = true, _b)); - var LeftSeperatorClass = classNames__default['default']((_c = {}, _c['MetaList-seperator'] = true, _c['MetaList-seperator--left'] = true, _c)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: MetaClass - }), seperator && /*#__PURE__*/React__namespace.createElement(Icon, { - name: "fiber_manual_record", - size: 8, - className: LeftSeperatorClass, - appearance: seperatorAppearance - }), list.map(function (item, ind) { - var _a = item.label, - label = _a === void 0 ? '' : _a, - icon = item.icon; - var rightSeperator = ind !== list.length - 1; - return /*#__PURE__*/React__namespace.createElement("span", { - key: ind, - className: "MetaList-item" - }, /*#__PURE__*/React__namespace.createElement(Meta, { - label: label, - icon: icon, - iconAppearance: iconAppearance, - labelAppearance: labelAppearance - }), rightSeperator && /*#__PURE__*/React__namespace.createElement(Icon, { - name: "fiber_manual_record", - size: 8, - className: SeperatorClass, - appearance: seperatorAppearance - })); - })); - }; - MetaList.displayName = 'MetaList'; - MetaList.defaultProps = { - seperatorAppearance: 'disabled', - iconAppearance: 'disabled', - labelAppearance: 'subtle' - }; - - var OutsideClick = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a; - - var children = props.children, - className = props.className, - onOutsideClick = props.onOutsideClick, - rest = __rest(props, ["children", "className", "onOutsideClick"]); - - var innerRef = React__namespace.useRef(null); - React__namespace.useImperativeHandle(ref, function () { - return innerRef.current; - }, [innerRef]); - React__namespace.useEffect(function () { - document.addEventListener('click', handleOutsideClick, true); - return function () { - document.removeEventListener('click', handleOutsideClick); - }; - }, []); - var handleOutsideClick = React__namespace.useCallback(function (event) { - var element = innerRef; - - if (!event.target || !element.current) { - return; - } - - if (!ReactDOM__namespace.findDOMNode(element.current).contains(event.target)) { - onOutsideClick(event); - } - }, []); - var classes = classNames__default['default']((_a = {}, _a['OutsideClick'] = true, _a), className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - ref: innerRef - }, rest, { - className: classes - }), children); - }); - OutsideClick.displayName = 'OutsideClick'; - - var Paragraph = function Paragraph(props) { - var _a; - - var appearance = props.appearance, - children = props.children, - className = props.className, - rest = __rest(props, ["appearance", "children", "className"]); - - var classes = classNames__default['default']((_a = { - Text: true - }, _a["Text--" + appearance] = appearance, _a), className); - return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ - "data-test": "DesignSystem-Paragraph" - }, rest, { - className: classes, - componentType: "p" - }), children); - }; - Paragraph.displayName = 'Paragraph'; - Paragraph.defaultProps = { - appearance: 'default' - }; - - var ProgressBar = function ProgressBar(props) { - var max = props.max, - value = props.value, - className = props.className; - var baseProps = extractBaseProps(props); - var style = { - width: value > 0 ? Math.min(value, max) * 100 / max + "%" : '0' - }; - var ProgressBarClass = classNames__default['default']({ - ProgressBar: true - }, className); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-ProgressBar" - }, baseProps, { - className: ProgressBarClass - }), /*#__PURE__*/React__namespace.createElement("div", { - className: 'ProgressBar-indicator', - style: style - })); - }; - ProgressBar.displayName = 'ProgressBar'; - ProgressBar.defaultProps = { - max: 100 - }; - - var Radio = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { - var _a, _b, _c; - - var _d = props.size, - size = _d === void 0 ? 'regular' : _d, - label = props.label, - disabled = props.disabled, - onChange = props.onChange, - name = props.name, - value = props.value, - checked = props.checked, - defaultChecked = props.defaultChecked, - className = props.className, - rest = __rest(props, ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className"]); - - var ref = React__namespace.useRef(null); - React__namespace.useImperativeHandle(forwardedRef, function () { - return ref.current; - }); - var RadioClass = classNames__default['default']((_a = {}, _a['Radio'] = true, _a['Radio--disabled'] = disabled, _a), className); - var RadioWrapper = classNames__default['default']((_b = {}, _b['Radio-wrapper'] = true, _b["Radio-wrapper--" + size] = size, _b)); - var RadioOuterWrapper = classNames__default['default']((_c = {}, _c['Radio-outerWrapper'] = true, _c["Radio-outerWrapper--" + size] = size, _c)); - var id = name + "-" + label + "-" + uidGenerator(); - return /*#__PURE__*/React__namespace.createElement("div", { - className: RadioClass - }, /*#__PURE__*/React__namespace.createElement("div", { - className: RadioOuterWrapper - }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, rest, { - type: "radio", - disabled: disabled, - checked: checked, - defaultChecked: defaultChecked, - ref: ref, - name: name, - value: value, - onChange: onChange, - className: "Radio-input", - id: id - })), /*#__PURE__*/React__namespace.createElement("span", { - className: RadioWrapper - })), label && /*#__PURE__*/React__namespace.createElement("label", { - className: "Radio-label", - htmlFor: id - }, /*#__PURE__*/React__namespace.createElement(Text, { - size: size === 'tiny' ? 'small' : 'regular', - appearance: disabled ? 'disabled' : 'default' - }, label))); - }); - Radio.displayName = 'Radio'; - - var Row = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - var _a; - - var className = props.className, - children = props.children, - rest = __rest(props, ["className", "children"]); - - var classes = classNames__default['default']((_a = { - Row: true - }, _a["" + className] = className, _a)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-Row", - ref: ref - }, rest, { - className: classes - }), children); - }); - Row.displayName = 'Row'; - - var StatusHint = function StatusHint(props) { - var _a, _b; - - var appearance = props.appearance, - children = props.children, - _onMouseEnter = props.onMouseEnter, - _onMouseLeave = props.onMouseLeave, - _onClick = props.onClick, - className = props.className; - var baseProps = extractBaseProps(props); - var StatusHintClass = classNames__default['default']((_a = {}, _a['StatusHint'] = true, _a), className); - var StatusHintIconClass = classNames__default['default']((_b = {}, _b['StatusHint-icon'] = true, _b["StatusHint--" + appearance] = appearance, _b)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ - "data-test": "DesignSystem-StatusHint" - }, baseProps, { - className: StatusHintClass, - onClick: function onClick(e) { - return _onClick && _onClick(e); - }, - onMouseEnter: function onMouseEnter(e) { - return _onMouseEnter && _onMouseEnter(e); - }, - onMouseLeave: function onMouseLeave(e) { - return _onMouseLeave && _onMouseLeave(e); - } - }), /*#__PURE__*/React__namespace.createElement("span", { - "data-test": "DesignSystem-StatusHint--Icon", - className: StatusHintIconClass - }), /*#__PURE__*/React__namespace.createElement(Text, { - "data-test": "DesignSystem-StatusHint--Text", - weight: 'medium' - }, children)); - }; - StatusHint.displayName = 'StatusHint'; - StatusHint.defaultProps = { - appearance: 'default' - }; - - var Pills = function Pills(props) { - var _a; - - var appearance = props.appearance, - children = props.children, - subtle = props.subtle, - className = props.className; - var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { - Pills: true - }, _a["Badge--" + appearance] = appearance && !subtle, _a["Badge--subtle-" + appearance] = subtle, _a), className); - return /*#__PURE__*/React__namespace.createElement("span", __assign({ - "data-test": "DesignSystem-Pills" - }, baseProps, { - className: classes - }), children); - }; - Pills.displayName = 'Pills'; - Pills.defaultProps = { - appearance: 'secondary' + var Meta = function Meta(props) { + var label = props.label, + icon = props.icon, + size = props.size, + iconVariations = props.iconVariations; + return /*#__PURE__*/React__namespace.createElement("span", { + "data-test": "DesignSystem-MetaList--Meta", + className: 'Meta' + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-MetaList--MetaIcon", + name: icon, + appearance: "subtle", + className: 'Meta-icon', + variations: iconVariations, + size: size === 'regular' ? 16 : 12 + }), /*#__PURE__*/React__namespace.createElement(Text, { + size: size, + "data-test": "DesignSystem-MetaList--MetaLabel", + appearance: "subtle" + }, label)); }; + Meta.displayName = 'Meta'; - var Spinner = function Spinner(props) { - var _a, _b; + var MetaList = function MetaList(props) { + var _a, _b, _c; - var appearance = props.appearance, - size = props.size, - className = props.className; + var list = props.list, + seperator = props.seperator, + className = props.className, + size = props.size; var baseProps = extractBaseProps(props); - var wrapperClasses = classNames__default['default']((_a = { - Spinner: true - }, _a["Spinner--" + size] = size, _a), className); - var circleClasses = classNames__default['default']((_b = { - Circle: true - }, _b["Circle--" + appearance] = appearance, _b)); - var svgProps = { - viewBox: '0 0 50 50' - }; - var circleProps = { - cx: 25, - cy: 25, - r: 20, - fill: 'none', - strokeMiterlimit: '10', - strokeWidth: '4' - }; - return /*#__PURE__*/React__namespace.createElement("svg", __assign({}, baseProps, { - className: wrapperClasses - }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", __assign({ - className: circleClasses - }, circleProps))); + var MetaClass = classNames__default["default"]((_a = {}, _a['MetaList'] = true, _a), className); + var SeperatorClass = classNames__default["default"]((_b = {}, _b['MetaList-seperator'] = true, _b)); + var LeftSeperatorClass = classNames__default["default"]((_c = {}, _c['MetaList-seperator'] = true, _c['MetaList-seperator--left'] = true, _c)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-MetaList" + }, baseProps, { + className: MetaClass + }), seperator && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-MetaList--Seperator", + name: "fiber_manual_record", + size: 8, + className: LeftSeperatorClass, + appearance: "disabled" + }), list.map(function (item, ind) { + var _a = item.label, + label = _a === void 0 ? '' : _a, + icon = item.icon, + iconVariations = item.iconVariations; + var rightSeperator = ind !== list.length - 1; + return /*#__PURE__*/React__namespace.createElement("span", { + key: ind, + className: "MetaList-item" + }, /*#__PURE__*/React__namespace.createElement(Meta, { + size: size, + label: label, + icon: icon, + iconVariations: iconVariations + }), rightSeperator && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-MetaList--rightSeperator", + name: "fiber_manual_record", + size: 8, + className: SeperatorClass, + appearance: "disabled" + })); + })); }; - Spinner.displayName = 'Spinner'; - Spinner.defaultProps = { - appearance: 'primary', - size: 'medium' + MetaList.displayName = 'MetaList'; + MetaList.defaultProps = { + seperatorAppearance: 'disabled', + iconAppearance: 'subtle', + labelAppearance: 'subtle', + size: 'regular' }; var ARROW_LEFT = 37; @@ -5615,7 +6993,7 @@ values[index] = fillValue; } } - function isElementOfType(element, _ComponentType) { + function isElementOfType(element) { return element != null && element.type != null; } @@ -5725,13 +7103,13 @@ var _a = _this.props, stepSize = _a.stepSize, value = _a.value; - var which = event.which; + var keyCode = event.keyCode; - if (which === ARROW_LEFT) { + if (keyCode === ARROW_LEFT) { _this.changeValue(value - stepSize); event.preventDefault(); - } else if (which === ARROW_RIGHT) { + } else if (keyCode === ARROW_RIGHT) { _this.changeValue(value + stepSize); event.preventDefault(); @@ -5741,7 +7119,7 @@ _this.handleKeyUp = function (event) { if (_this.props.disabled) return; - if ([ARROW_LEFT, ARROW_RIGHT].indexOf(event.which) >= 0) { + if ([ARROW_LEFT, ARROW_RIGHT].indexOf(event.keyCode) >= 0) { var onRelease = _this.props.onRelease; if (onRelease) onRelease(_this.props.value); } @@ -5818,8 +7196,8 @@ var style = { left: offsetCalc }; - var className = classNames__default['default']((_a = {}, _a['Slider-handle'] = true, _a['Slider-handle--disabled'] = disabled, _a['Slider-handle--active'] = isHandleMoving, _a)); - var TooltipClass = classNames__default['default']((_b = {}, _b['Slider-tooltip'] = true, _b['Tooltip'] = true, _b['d-none'] = !showTootlip, _b)); + var className = classNames__default["default"]((_a = {}, _a['Slider-handle'] = true, _a['Slider-handle--disabled'] = disabled, _a['Slider-handle--active'] = isHandleMoving, _a['border-0'] = disabled, _a)); + var TooltipClass = classNames__default["default"]((_b = {}, _b['Slider-tooltip'] = true, _b['Tooltip'] = true, _b['d-none'] = !showTootlip, _b)); return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: className, onMouseOver: this.handleMouseOver, @@ -5829,7 +7207,8 @@ onKeyUp: this.handleKeyUp, ref: this.refHandlers.handle, style: style, - tabIndex: 1 + tabIndex: 0, + "data-test": "DesignSystem-MultiSlider-Handle" }), /*#__PURE__*/React__namespace.createElement("div", { className: TooltipClass, style: style @@ -6000,12 +7379,13 @@ _this.formatLabel = function (value) { var labelRenderer = _this.props.labelRenderer; + var labelValue = value.toFixed(_this.state.labelPrecision); if (typeof labelRenderer === 'function') { - return labelRenderer(value); + return labelRenderer(Number(labelValue)); } - return value.toFixed(_this.state.labelPrecision); + return labelValue; }; _this.renderHandles = function () { @@ -6063,6 +7443,8 @@ }); var _loop_1 = function _loop_1(i, offsetRatio) { + var _a; + var offsetPercentage = formatPercentage(offsetRatio); var style = { left: offsetPercentage @@ -6081,6 +7463,7 @@ } }; + var SliderTicksClass = classNames__default["default"]((_a = {}, _a['Slider-ticks'] = true, _a['bg-dark'] = active, _a)); labels.push( /*#__PURE__*/React__namespace.createElement("div", { onClick: onClickHandler, className: 'Slider-label', @@ -6089,9 +7472,10 @@ onMouseOver: function onMouseOver() { return _this.handleLabelMouseOver(i); }, - onMouseLeave: _this.handleLabelMouseLeave + onMouseLeave: _this.handleLabelMouseLeave, + "data-test": "DesignSystem-MultiSlider-Label" }, /*#__PURE__*/React__namespace.createElement("span", { - className: 'Slider-ticks' + className: SliderTicksClass }), labelRenderer !== false && /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: active ? 'default' : 'disabled' @@ -6125,7 +7509,7 @@ var fillTrack = _this.getTrackFill(start, end); - var classes = classNames__default['default']((_a = {}, _a['Slider-progress'] = true, _a['Slider-progress--disabled'] = _this.props.disabled, _a['Slider-progress--inRange'] = fillTrack, _a['Slider-progress--inRangeDisabled'] = fillTrack && _this.props.disabled, _a)); + var classes = classNames__default["default"]((_a = {}, _a['Slider-progress'] = true, _a['Slider-progress--disabled'] = _this.props.disabled, _a['Slider-progress--inRange'] = fillTrack, _a['Slider-progress--inRangeDisabled'] = fillTrack && _this.props.disabled, _a)); return /*#__PURE__*/React__namespace.createElement("div", { key: "track-" + index, className: classes, @@ -6133,112 +7517,391 @@ }); }; - _this.renderTracks = function () { - var trackStops = _this.getHandleValues(_this.props); + _this.renderTracks = function () { + var trackStops = _this.getHandleValues(_this.props); + + trackStops.push({ + value: _this.props.max + }); + var previous = { + value: _this.props.min || 0 + }; + var handles = []; + trackStops.forEach(function (track, index) { + var current = track; + handles.push(_this.renderTrackFill(index, previous, current)); + previous = current; + }); + return handles; + }; + + _this.handleLabelMouseOver = function (value) { + _this.setState({ + hoveredLabelValue: value + }); + }; + + _this.handleLabelMouseLeave = function () { + _this.setState({ + hoveredLabelValue: undefined + }); + }; + + _this.state = { + labelPrecision: _this.getLabelPrecision(_this.props), + tickSize: 0, + tickSizeRatio: 0 + }; + return _this; + } + + MultiSlider.prototype.getDerivedStateFromProps = function (props) { + return { + labelPrecision: this.getLabelPrecision(props) + }; + }; + + MultiSlider.prototype.getSnapshotBeforeUpdate = function (prevProps) { + var prevHandleProps = this.getHandleValues(prevProps); + var newHandleProps = this.getHandleValues(this.props); + + if (newHandleProps.length !== prevHandleProps.length) { + this.handleElements = []; + } + + return null; + }; + + MultiSlider.prototype.componentDidMount = function () { + this.updateTickSize(); + }; + + MultiSlider.prototype.nearestHandleForValue = function (handles, getOffset) { + return argMin(handles, function (handle) { + var offset = getOffset(handle); + var offsetValue = handle.clientToValue(offset); + var handleValue = handle.props.value; + return Math.abs(offsetValue - handleValue); + }); + }; + + MultiSlider.prototype.render = function () { + var _a, _b; + + var _this = this; + + var _c = this.props, + label = _c.label, + className = _c.className; + var baseProps = extractBaseProps(this.props); + var SliderClass = classNames__default["default"]((_a = {}, _a['Slider'] = true, _a), className); + var WrapperClass = classNames__default["default"]((_b = {}, _b['Slider-wrapper'] = true, _b['Slider-wrapper--disabled'] = this.props.disabled, _b)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { + className: SliderClass, + "data-test": "DesignSystem-MultiSlider" + }), label && /*#__PURE__*/React__namespace.createElement(Label, { + withInput: true + }, label), /*#__PURE__*/React__namespace.createElement("div", { + className: WrapperClass + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "Slider-track", + ref: function ref(_ref) { + return _this.trackElement = _ref; + }, + onMouseDown: this.maybeHandleTrackClick, + "data-test": "DesignSystem-MultiSlider-Slider-Track" + }, this.renderTracks()), /*#__PURE__*/React__namespace.createElement("div", { + className: "Slider-axis" + }, this.renderLabels()), this.renderHandles())); + }; + + MultiSlider.defaultProps = { + labelStepSize: 1, + max: 10, + min: 0, + stepSize: 1, + labelRenderer: true + }; + MultiSlider.Handle = MultiSliderHandle; + return MultiSlider; + }(React__namespace.Component); + + var OutsideClick = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a; + + var children = props.children, + className = props.className, + onOutsideClick = props.onOutsideClick, + rest = __rest(props, ["children", "className", "onOutsideClick"]); + + var innerRef = React__namespace.useRef(null); + React__namespace.useImperativeHandle(ref, function () { + return innerRef.current; + }, [innerRef]); + React__namespace.useEffect(function () { + document.addEventListener('click', handleOutsideClick, true); + return function () { + document.removeEventListener('click', handleOutsideClick); + }; + }, []); + var handleOutsideClick = React__namespace.useCallback(function (event) { + var element = innerRef; + + if (!event.target || !element.current) { + return; + } + + if (!element.current.contains(event.target)) { + onOutsideClick(event); + } + }, []); + var classes = classNames__default["default"]((_a = {}, _a['OutsideClick'] = true, _a), className); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + ref: innerRef + }, rest, { + className: classes + }), children); + }); + OutsideClick.displayName = 'OutsideClick'; + + var Paragraph = function Paragraph(props) { + var _a; + + var appearance = props.appearance, + children = props.children, + className = props.className, + color = props.color, + rest = __rest(props, ["appearance", "children", "className", "color"]); + + var classes = classNames__default["default"]((_a = { + Text: true + }, _a["Text--" + appearance] = !color && appearance, _a["color-" + color] = color, _a), className); + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ + "data-test": "DesignSystem-Paragraph" + }, rest, { + className: classes, + componentType: "p" + }), children); + }; + Paragraph.displayName = 'Paragraph'; + Paragraph.defaultProps = { + appearance: 'default' + }; + + var ProgressBar = function ProgressBar(props) { + var _a; + + var max = props.max, + value = props.value, + className = props.className, + size = props.size; + var baseProps = extractBaseProps(props); + var style = { + width: value > 0 ? Math.min(value, max) * 100 / max + "%" : '0' + }; + var ProgressBarClass = classNames__default["default"]({ + ProgressBar: true + }, className); + var ProgressIndicatorClass = classNames__default["default"]((_a = {}, _a['ProgressBar-indicator'] = true, _a['ProgressBar-indicator--small'] = size === 'small', _a['ProgressBar-indicator--regular'] = size === 'regular', _a)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-ProgressBar" + }, baseProps, { + className: ProgressBarClass + }), /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-ProgressBar-Indicator", + className: ProgressIndicatorClass, + style: style + })); + }; + ProgressBar.displayName = 'ProgressBar'; + ProgressBar.defaultProps = { + max: 100, + size: 'regular' + }; + + var Radio = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { + var _a, _b, _c, _d; - trackStops.push({ - value: _this.props.max - }); - var previous = { - value: _this.props.min || 0 - }; - var handles = []; - trackStops.forEach(function (track, index) { - var current = track; - handles.push(_this.renderTrackFill(index, previous, current)); - previous = current; - }); - return handles; - }; + var _e = props.size, + size = _e === void 0 ? 'regular' : _e, + label = props.label, + disabled = props.disabled, + onChange = props.onChange, + name = props.name, + value = props.value, + checked = props.checked, + defaultChecked = props.defaultChecked, + className = props.className, + helpText = props.helpText, + error = props.error, + rest = __rest(props, ["size", "label", "disabled", "onChange", "name", "value", "checked", "defaultChecked", "className", "helpText", "error"]); - _this.handleLabelMouseOver = function (value) { - _this.setState({ - hoveredLabelValue: value - }); - }; + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { + return ref.current; + }); + var RadioClass = classNames__default["default"]((_a = {}, _a['Radio'] = true, _a['Radio--disabled'] = disabled, _a), className); + var RadioWrapper = classNames__default["default"]((_b = {}, _b['Radio-wrapper'] = true, _b["Radio-defaultWrapper"] = !error, _b["Radio-errorWrapper"] = error, _b["Radio-wrapper--" + size] = size, _b)); + var RadioOuterWrapper = classNames__default["default"]((_c = {}, _c['Radio-outerWrapper'] = true, _c["Radio-outerWrapper--" + size] = size, _c)); + var RadioLabelClass = classNames__default["default"]((_d = {}, _d['Radio-Label'] = true, _d)); + var id = name + "-" + label + "-" + uidGenerator(); + return /*#__PURE__*/React__namespace.createElement("div", { + className: RadioClass, + "data-test": "DesignSystem-Radio" + }, /*#__PURE__*/React__namespace.createElement("div", { + className: RadioOuterWrapper, + "data-test": "DesignSystem-Radio-OuterWrapper" + }, /*#__PURE__*/React__namespace.createElement("input", __assign({ + tabIndex: 0 + }, rest, { + type: "radio", + disabled: disabled, + checked: checked, + defaultChecked: defaultChecked, + ref: ref, + name: name, + value: value, + onChange: onChange, + className: "Radio-input", + id: id, + "data-test": "DesignSystem-Radio-Input" + })), /*#__PURE__*/React__namespace.createElement("span", { + "data-test": "DesignSystem-Radio-wrapper", + className: RadioWrapper + })), /*#__PURE__*/React__namespace.createElement("div", { + className: "Radio-labelWrapper" + }, label && /*#__PURE__*/React__namespace.createElement("label", { + className: RadioLabelClass, + htmlFor: id, + "data-test": "DesignSystem-Radio-Label" + }, /*#__PURE__*/React__namespace.createElement(Text, { + size: size === 'tiny' ? 'small' : 'regular', + appearance: disabled ? 'disabled' : 'default' + }, label)), helpText && /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-Radio-HelpText", + size: "small", + appearance: disabled ? 'disabled' : 'subtle' + }, helpText.trim()))); + }); + Radio.displayName = 'Radio'; - _this.handleLabelMouseLeave = function () { - _this.setState({ - hoveredLabelValue: undefined - }); - }; + var Row = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a; - _this.state = { - labelPrecision: _this.getLabelPrecision(_this.props), - tickSize: 0, - tickSizeRatio: 0 - }; - return _this; - } + var className = props.className, + children = props.children, + rest = __rest(props, ["className", "children"]); - MultiSlider.prototype.getDerivedStateFromProps = function (props) { - return { - labelPrecision: this.getLabelPrecision(props) - }; - }; + var classes = classNames__default["default"]((_a = { + Row: true + }, _a["" + className] = className, _a)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-Row", + ref: ref + }, rest, { + className: classes + }), children); + }); + Row.displayName = 'Row'; - MultiSlider.prototype.getSnapshotBeforeUpdate = function (prevProps) { - var prevHandleProps = this.getHandleValues(prevProps); - var newHandleProps = this.getHandleValues(this.props); + var StatusHint = function StatusHint(props) { + var _a, _b, _c; - if (newHandleProps.length !== prevHandleProps.length) { - this.handleElements = []; + var appearance = props.appearance, + children = props.children, + _onMouseEnter = props.onMouseEnter, + _onMouseLeave = props.onMouseLeave, + _onClick = props.onClick, + truncateLabel = props.truncateLabel, + className = props.className; + var baseProps = extractBaseProps(props); + var StatusHintClass = classNames__default["default"]((_a = {}, _a['StatusHint'] = true, _a), className); + var StatusHintIconClass = classNames__default["default"]((_b = {}, _b['StatusHint-icon'] = true, _b["StatusHint--" + appearance] = appearance, _b)); + var StatusHintTextClass = classNames__default["default"]((_c = {}, _c['ellipsis--noWrap'] = truncateLabel, _c)); + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-StatusHint" + }, baseProps, { + className: StatusHintClass, + onClick: function onClick(e) { + return _onClick && _onClick(e); + }, + onMouseEnter: function onMouseEnter(e) { + return _onMouseEnter && _onMouseEnter(e); + }, + onMouseLeave: function onMouseLeave(e) { + return _onMouseLeave && _onMouseLeave(e); } + }), /*#__PURE__*/React__namespace.createElement("span", { + "data-test": "DesignSystem-StatusHint--Icon", + className: StatusHintIconClass + }), /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-StatusHint--Text", + weight: 'medium', + className: StatusHintTextClass + }, children)); + }; + StatusHint.displayName = 'StatusHint'; + StatusHint.defaultProps = { + appearance: 'default' + }; - return null; - }; - - MultiSlider.prototype.componentDidMount = function () { - this.updateTickSize(); - }; - - MultiSlider.prototype.nearestHandleForValue = function (handles, getOffset) { - return argMin(handles, function (handle) { - var offset = getOffset(handle); - var offsetValue = handle.clientToValue(offset); - var handleValue = handle.props.value; - return Math.abs(offsetValue - handleValue); - }); - }; + var Pills = function Pills(props) { + var _a; - MultiSlider.prototype.render = function () { - var _a, _b; + var appearance = props.appearance, + children = props.children, + subtle = props.subtle, + className = props.className; + var baseProps = extractBaseProps(props); + var classes = classNames__default["default"]((_a = { + Pills: true + }, _a["Badge--" + appearance] = appearance && !subtle, _a["Badge--subtle-" + appearance] = subtle, _a), className); + return /*#__PURE__*/React__namespace.createElement("span", __assign({ + "data-test": "DesignSystem-Pills" + }, baseProps, { + className: classes + }), children); + }; + Pills.displayName = 'Pills'; + Pills.defaultProps = { + appearance: 'secondary' + }; - var _this = this; + var Spinner = function Spinner(props) { + var _a, _b; - var _c = this.props, - label = _c.label, - className = _c.className; - var baseProps = extractBaseProps(this.props); - var SliderClass = classNames__default['default']((_a = {}, _a['Slider'] = true, _a), className); - var WrapperClass = classNames__default['default']((_b = {}, _b['Slider-wrapper'] = true, _b['Slider-wrapper--disabled'] = this.props.disabled, _b)); - return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: SliderClass - }), label && /*#__PURE__*/React__namespace.createElement(Label, { - withInput: true - }, label), /*#__PURE__*/React__namespace.createElement("div", { - className: WrapperClass - }, /*#__PURE__*/React__namespace.createElement("div", { - className: "Slider-track", - ref: function ref(_ref) { - return _this.trackElement = _ref; - }, - onMouseDown: this.maybeHandleTrackClick - }, this.renderTracks()), /*#__PURE__*/React__namespace.createElement("div", { - className: "Slider-axis" - }, this.renderLabels()), this.renderHandles())); + var appearance = props.appearance, + size = props.size, + className = props.className; + var baseProps = extractBaseProps(props); + var wrapperClasses = classNames__default["default"]((_a = { + Spinner: true + }, _a["Spinner--" + size] = size, _a), className); + var circleClasses = classNames__default["default"]((_b = { + Circle: true + }, _b["Circle--" + appearance] = appearance, _b)); + var svgProps = { + viewBox: '0 0 50 50' }; - - MultiSlider.defaultProps = { - labelStepSize: 1, - max: 10, - min: 0, - stepSize: 1, - labelRenderer: true + var circleProps = { + cx: 25, + cy: 25, + r: 20, + fill: 'none', + strokeMiterlimit: '10', + strokeWidth: '4' }; - MultiSlider.Handle = MultiSliderHandle; - return MultiSlider; - }(React__namespace.Component); + return /*#__PURE__*/React__namespace.createElement("svg", __assign({}, baseProps, { + className: wrapperClasses + }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", __assign({ + className: circleClasses + }, circleProps))); + }; + Spinner.displayName = 'Spinner'; + Spinner.defaultProps = { + appearance: 'primary', + size: 'medium' + }; var Slider = function Slider(props) { var valueProp = props.value, @@ -6330,11 +7993,12 @@ var appearance = props.appearance, children = props.children, className = props.className, - rest = __rest(props, ["appearance", "children", "className"]); + color = props.color, + rest = __rest(props, ["appearance", "children", "className", "color"]); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Subheading: true - }, _a["Subheading--" + appearance] = appearance, _a), className); + }, _a["Subheading--" + appearance] = !color && appearance, _a["color-" + color] = color, _a), className); return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Subheading" }, rest, { @@ -6369,12 +8033,14 @@ React__namespace.useEffect(function () { if (checkedProp !== undefined) setChecked(checkedProp); }, [checkedProp]); - var SwitchClass = classNames__default['default']((_a = {}, _a['Switch'] = true, _a['Switch--disabled'] = disabled, _a["Switch--" + size] = size, _a), className); - var SwitchWrapper = classNames__default['default']((_b = {}, _b['Switch-wrapper'] = true, _b['Switch-wrapper--disabled'] = disabled, _b["Switch-wrapper--" + size] = size, _b['Switch-wrapper--checked'] = checked, _b['Switch-wrapper--checkedDisabled'] = checked && disabled, _b)); + var SwitchClass = classNames__default["default"]((_a = {}, _a['Switch'] = true, _a['Switch--disabled'] = disabled, _a["Switch--" + size] = size, _a), className); + var SwitchWrapper = classNames__default["default"]((_b = {}, _b['Switch-wrapper'] = true, _b['Switch-wrapper--disabled'] = disabled, _b["Switch-wrapper--" + size] = size, _b['Switch-wrapper--checked'] = checked, _b['Switch-wrapper--checkedDisabled'] = checked && disabled, _b)); var onChangeHandler = function onChangeHandler(event) { - if (checkedProp === undefined) setChecked(!checked); - if (onChange) onChange(event, !checked); + if (event.type == 'change' || isSpaceKey(event)) { + if (checkedProp === undefined) setChecked(!checked); + if (onChange) onChange(event, !checked); + } }; return /*#__PURE__*/React__namespace.createElement("div", { @@ -6388,7 +8054,8 @@ ref: ref, name: name, value: value, - className: "Switch-input" + className: "Switch-input", + onKeyUp: onChangeHandler })), /*#__PURE__*/React__namespace.createElement("span", { className: SwitchWrapper })); @@ -6416,7 +8083,7 @@ className = props.className, rest = __rest(props, ["rows", "resize", "disabled", "name", "placeholder", "value", "defaultValue", "required", "error", "onChange", "onClick", "onBlur", "onFocus", "className"]); - var classes = classNames__default['default']((_a = {}, _a['Textarea'] = true, _a['Textarea--resize'] = resize, _a['Textarea--error'] = error, _a), className); + var classes = classNames__default["default"]((_a = {}, _a['Textarea'] = true, _a['Textarea--resize'] = resize, _a['Textarea--error'] = error, _a), className); return /*#__PURE__*/React__namespace.createElement("textarea", __assign({ "data-test": "DesignSystem-Textarea" }, rest, { @@ -6443,7 +8110,7 @@ var appearance = props.appearance, label = props.label, onClick = props.onClick; - var buttonClass = classNames__default['default']((_a = {}, _a['Button'] = true, _a['Button--tiny'] = true, _a['Toast-actionButton'] = true, _a["Toast-actionButton--" + appearance] = appearance, _a)); + var buttonClass = classNames__default["default"]((_a = {}, _a['Button'] = true, _a['Button--tiny'] = true, _a['Toast-actionButton'] = true, _a["Toast-actionButton--" + appearance] = appearance, _a)); var onClickHandler = function onClickHandler(e) { e.preventDefault(); @@ -6466,31 +8133,32 @@ var Toast = function Toast(props) { var _a, _b, _c, _d; - var appearance = props.appearance, - title = props.title, + var title = props.title, message = props.message, actions = props.actions, onClose = props.onClose, className = props.className; + var appearance = props.appearance; + appearance = appearance === 'default' ? 'info' : appearance; var baseProps = extractBaseProps(props); - var wrapperClass = classNames__default['default']((_a = {}, _a['Toast'] = true, _a['Toast--withMessage'] = message, _a["Toast--" + appearance] = appearance, _a), className); + var wrapperClass = classNames__default["default"]((_a = {}, _a['Toast'] = true, _a['Toast--withMessage'] = message, _a["Toast--" + appearance] = appearance, _a), className); var IconMapping = { info: 'info', success: 'check_circle', alert: 'error', - warning: 'error' + warning: 'warning' }; var icon = IconMapping[appearance]; - var titleClass = classNames__default['default']((_b = {}, _b['Toast-title'] = true, _b['Toast-title--withMessage'] = message, _b)); + var titleClass = classNames__default["default"]((_b = {}, _b['Toast-title'] = true, _b['Toast-title--withMessage'] = message, _b)); var iconClass = function iconClass(align) { var _a; - return classNames__default['default']((_a = {}, _a['Toast-icon'] = true, _a["Toast-icon--" + align] = align, _a["Toast-icon--" + appearance] = appearance, _a)); + return classNames__default["default"]((_a = {}, _a['Toast-icon'] = true, _a["Toast-icon--" + align] = align, _a["Toast-icon--" + appearance] = appearance, _a["Toast-close-icon--" + appearance] = appearance && align === 'right', _a)); }; - var textClass = classNames__default['default']((_c = {}, _c['Toast-text'] = true, _c["Toast-text--" + appearance] = appearance, _c)); - var headingClass = classNames__default['default']((_d = {}, _d['Toast-heading'] = true, _d["Toast-heading--" + appearance] = appearance, _d)); + var textClass = classNames__default["default"]((_c = {}, _c['Toast-text'] = true, _c["Toast-text--" + appearance] = appearance, _c)); + var headingClass = classNames__default["default"]((_d = {}, _d['Toast-heading'] = true, _d["Toast-heading--" + appearance] = appearance, _d)); var onCloseHandler = function onCloseHandler() { if (onClose) onClose(); @@ -6530,7 +8198,7 @@ }; Toast.displayName = 'Toast'; Toast.defaultProps = { - appearance: 'default' + appearance: 'info' }; var PopperWrapper = function (_super) { @@ -6546,13 +8214,8 @@ onToggle(newValue === undefined ? !open : newValue, type); }; - _this.findDOMNode = function (ref) { - return ReactDOM__namespace.findDOMNode(ref.current); - }; - _this.doesEventContainsElement = function (event, ref) { - var el = _this.findDOMNode(ref); - + var el = ref.current; return el && el.contains(event.target); }; @@ -6584,7 +8247,12 @@ return newStyle; }; - _this.state = {}; + _this.state = { + animationKeyframe: '', + isOpen: _this.props.open || false, + uniqueKey: '', + showClosingAnimation: false + }; _this.hoverableDelay = 100; _this.offsetMapping = { small: '2px', @@ -6603,6 +8271,11 @@ PopperWrapper.prototype.componentDidMount = function () { this.addBoundaryScrollHandler(); + var triggerElement = this.triggerRef.current; + var zIndex = this.getZIndexForLayer(triggerElement); + this.setState({ + zIndex: zIndex === undefined ? zIndex : zIndex + 1 + }); }; PopperWrapper.prototype.componentDidUpdate = function (prevProps) { @@ -6613,12 +8286,16 @@ if (prevProps.open !== this.props.open) { this._throttleWait = false; + this.setState({ + animationKeyframe: '' + }); if (this.props.open) { - var triggerElement = this.findDOMNode(this.triggerRef); + var triggerElement = this.triggerRef.current; var zIndex = this.getZIndexForLayer(triggerElement); this.setState({ - zIndex: zIndex === undefined ? zIndex : zIndex + 1 + zIndex: zIndex === undefined ? zIndex : zIndex + 1, + isOpen: true }); } } @@ -6673,10 +8350,17 @@ if (this._timer) clearTimeout(this._timer); var onToggle = this.props.onToggle; onToggle(true, 'mouseEnter'); + this.setState(function () { + return { + isOpen: true + }; + }); } }; PopperWrapper.prototype.handleMouseLeave = function () { + var _this = this; + var on = this.props.on; if (on === 'hover') { @@ -6688,6 +8372,16 @@ this.mouseMoveHandler(); } else { onToggle(false, 'mouseLeave'); + this.setState({ + showClosingAnimation: true + }, function () { + window.setTimeout(function () { + _this.setState({ + showClosingAnimation: false, + isOpen: false + }); + }, 120); + }); } } }; @@ -6699,7 +8393,7 @@ var layerNode = node.closest('[data-layer]') || document.body; var zIndex = layerNode === document.body ? 'auto' : parseInt(window.getComputedStyle(layerNode).zIndex || '0', 10); - return zIndex === 'auto' || isNaN(zIndex) ? undefined : zIndex; + return zIndex === 'auto' || isNaN(zIndex) ? 500 : zIndex; }; PopperWrapper.prototype.getTriggerElement = function (ref) { @@ -6721,14 +8415,40 @@ _this.togglePopper('onClick'); } }; - var classes = classNames__default['default']('PopperWrapper-trigger', triggerClass); + var classes = classNames__default["default"]('PopperWrapper-trigger', triggerClass); + + var shouldPopoverClose = function shouldPopoverClose(clicked) { + var popover = _this.popupRef.current; + var container = document.body; + var popoverIndex = parseInt(window.getComputedStyle(popover).zIndex); + var clickInsideLayer = false; + var shouldClose = false; + var openedLayers = container.querySelectorAll('[data-opened="true"]'); + openedLayers.forEach(function (layer) { + if (layer.contains(clicked)) { + clickInsideLayer = true; + var clickedIndex = parseInt(window.getComputedStyle(layer).zIndex); + + if (popoverIndex > clickedIndex) { + shouldClose = true; + return; + } + } + }); + + if (container.isEqualNode(clicked) || shouldClose || !container.contains(clicked) || !clickInsideLayer) { + return true; + } + + return false; + }; var onOutsideClickHandler = function onOutsideClickHandler(event) { var _a = _this.props, open = _a.open, closeOnBackdropClick = _a.closeOnBackdropClick; - if (open && closeOnBackdropClick) { + if (open && shouldPopoverClose(event.target) && closeOnBackdropClick) { if (!_this.doesEventContainsElement(event, _this.popupRef)) { _this.togglePopper('outsideClick'); } @@ -6742,25 +8462,75 @@ }; PopperWrapper.prototype.getPopperChildren = function (_a) { + var _b; + + var _this = this; + + var _c, _d; + var ref = _a.ref, style = _a.style, placement = _a.placement, outOfBoundaries = _a.outOfBoundaries; - var _b = this.props, - offset = _b.offset, - children = _b.children; - var zIndex = this.state.zIndex; + var _e = this.props, + offset = _e.offset, + children = _e.children, + open = _e.open, + animationClass = _e.animationClass; + var _f = this.state, + zIndex = _f.zIndex, + animationKeyframe = _f.animationKeyframe, + uniqueKey = _f.uniqueKey; var newStyle = offset ? this.getUpdatedStyle(style, placement, offset) : style; - var element = /*#__PURE__*/React__namespace.cloneElement(children, { + + var childrenStyles = __assign(__assign({}, newStyle), { + zIndex: zIndex + }); + + var classes = ''; + + if (!animationClass) { + var maxHeight = (_c = this.popupRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight; + var transformStyles = (_d = this.popupRef.current) === null || _d === void 0 ? void 0 : _d.style.getPropertyValue('transform'); + + if (transformStyles && maxHeight && placement && !animationKeyframe) { + var uniqueKey_1 = Math.random().toString(36).substring(2, 6); + var isTop = placement.includes('top'); + var popperAnimation = "\n @keyframes popper-open-" + uniqueKey_1 + " {\n from { \n max-height: 0;\n " + (isTop ? "margin-top: " + maxHeight + "px" : '') + ";\n }\n to {\n max-height: " + maxHeight + "px;\n " + (isTop ? "margin-top: 0px" : '') + ";\n }\n }\n @keyframes popper-close-" + uniqueKey_1 + " {\n from {\n max-height: " + maxHeight + "px;\n " + (isTop ? "margin-top: 0px" : '') + ";\n }\n to {\n max-height: 0;\n " + (isTop ? "margin-top: " + maxHeight + "px" : '') + ";\n }\n }\n "; + this.setState({ + animationKeyframe: popperAnimation, + uniqueKey: uniqueKey_1 + }); + } + + var popperAnimationStyles = { + animation: open ? "popper-open-" + uniqueKey + " 120ms cubic-bezier(0, 0, 0.38, 0.9), popper-fade-in 120ms" : "popper-close-" + uniqueKey + " 120ms cubic-bezier(0.2, 0, 1, 0.9) 120ms, fadeOut 120ms 120ms" + }; + childrenStyles = __assign(__assign(__assign({}, childrenStyles), popperAnimationStyles), { + overflow: 'hidden' + }); + } else { + classes = classNames__default["default"]((_b = {}, _b["" + animationClass.open] = this.state.isOpen, _b["" + animationClass.close] = !this.state.isOpen, _b), children.props.className); + } + + var childProps = { ref: ref, - style: __assign(__assign({}, newStyle), { - zIndex: zIndex - }), + style: childrenStyles, 'data-placement': placement, 'data-hide': outOfBoundaries, onMouseEnter: this.handleMouseEnter, - onMouseLeave: this.handleMouseLeave - }); + onMouseLeave: this.handleMouseLeave, + onAnimationEnd: function onAnimationEnd() { + if (!open) { + _this.setState({ + isOpen: false + }); + } + } + }; + var element = /*#__PURE__*/React__namespace.cloneElement(children, animationClass ? __assign(__assign({}, childProps), { + className: classes + }) : __assign({}, childProps)); return element; }; @@ -6770,15 +8540,17 @@ var _a = this.props, placement = _a.placement, appendToBody = _a.appendToBody, - open = _a.open, hide = _a.hide, boundaryElement = _a.boundaryElement; - return /*#__PURE__*/React__namespace.createElement(reactPopper.Manager, null, /*#__PURE__*/React__namespace.createElement(reactPopper.Reference, { + var _b = this.state, + animationKeyframe = _b.animationKeyframe, + isOpen = _b.isOpen; + return /*#__PURE__*/React__namespace.createElement(reactPopper.Manager, null, /*#__PURE__*/React__namespace.createElement("style", null, animationKeyframe), /*#__PURE__*/React__namespace.createElement(reactPopper.Reference, { innerRef: this.triggerRef }, function (_a) { var ref = _a.ref; return _this.getTriggerElement(ref); - }), open && appendToBody && /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { + }), isOpen && appendToBody && /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { placement: placement, innerRef: this.popupRef, modifiers: { @@ -6789,7 +8561,7 @@ enabled: hide } } - }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { + }, this.getPopperChildren), document.body), isOpen && !appendToBody && /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { placement: placement, innerRef: this.popupRef }, this.getPopperChildren)); @@ -6806,7 +8578,7 @@ return PopperWrapper; }(React__namespace.Component); - var propsList$1 = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll']; + var propsList = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll']; var Popover = function Popover(props) { var _a; @@ -6817,16 +8589,17 @@ onToggle = props.onToggle, className = props.className, hideOnReferenceEscape = props.hideOnReferenceEscape, - boundaryElement = props.boundaryElement, + _b = props.boundaryElement, + boundaryElement = _b === void 0 ? document.body : _b, rest = __rest(props, ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]); - var _b = React__namespace.useState(!!props.open), - open = _b[0], - setOpen = _b[1]; + var _c = React__namespace.useState(!!props.open), + open = _c[0], + setOpen = _c[1]; - var _c = React__namespace.useState(false), - init = _c[0], - setInit = _c[1]; + var _d = React__namespace.useState(false), + init = _d[0], + setInit = _d[1]; React__namespace.useEffect(function () { if (props.open !== undefined) setOpen(props.open); @@ -6841,13 +8614,14 @@ } } }, [boundaryElement]); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Popover: true }, _a['Popover--dark'] = dark, _a), className); var PopoverWrapper = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Popover", className: classes, - "data-layer": true + "data-layer": true, + "data-opened": open }, children); return /*#__PURE__*/React__namespace.createElement(PopperWrapper, __assign({}, rest, { init: init, @@ -6860,12 +8634,11 @@ }), PopoverWrapper); }; Popover.displayName = 'Popover'; - Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps, propsList$1, true), { + Popover.defaultProps = Object.assign({}, filterProps(PopperWrapper.defaultProps, propsList, true), { offset: 'large', position: 'bottom', hideOnReferenceEscape: true, - customStyle: {}, - boundaryElement: document.body + customStyle: {} }); var keyCodes = { @@ -6874,11 +8647,12 @@ ENTER: 'Enter' }; var ChipInput = function ChipInput(props) { - var _a; + var _a, _b; var chipOptions = props.chipOptions, allowDuplicates = props.allowDuplicates, disabled = props.disabled, + error = props.error, placeholder = props.placeholder, defaultValue = props.defaultValue, value = props.value, @@ -6889,13 +8663,13 @@ onFocus = props.onFocus; var inputRef = /*#__PURE__*/React__namespace.createRef(); - var _b = React__namespace.useState(value || defaultValue), - chips = _b[0], - setChips = _b[1]; + var _c = React__namespace.useState(value || defaultValue), + chips = _c[0], + setChips = _c[1]; - var _c = React__namespace.useState(''), - inputValue = _c[0], - setInputValue = _c[1]; + var _d = React__namespace.useState(''), + inputValue = _d[0], + setInputValue = _d[1]; var baseProps = extractBaseProps(props); React__namespace.useEffect(function () { @@ -6903,9 +8677,10 @@ setChips(value); } }, [value]); - var ChipInputClass = classNames__default['default']((_a = { + var ChipInputBorderClass = classNames__default["default"]((_a = {}, _a['ChipInput-border'] = true, _a['ChipInput-border--error'] = error, _a)); + var ChipInputClass = classNames__default["default"]((_b = { ChipInput: true - }, _a['ChipInput--disabled'] = disabled, _a['ChipInput--withChips'] = chips.length > 0, _a), className); + }, _b['ChipInput--disabled'] = disabled, _b['ChipInput--withChips'] = chips && chips.length > 0, _b['ChipInput--error'] = error, _b), className); var onUpdateChips = function onUpdateChips(updatedChips) { if (onChange) onChange(updatedChips); @@ -6925,7 +8700,7 @@ var onChipAddHandler = function onChipAddHandler() { if (!inputValue) return; - var chip = inputValue.trim().toLowerCase(); + var chip = inputValue.trim(); if ((allowDuplicates || chips.indexOf(chip) === -1) && chip) { var updatedChips = __spreadArrays(chips, [chip]); @@ -6991,7 +8766,7 @@ type: type, disabled: disabled, key: index, - className: "my-2 mx-2", + className: "my-3 mx-2", onClick: function onClick() { return _onClick && _onClick(chip, index); }, @@ -7000,11 +8775,15 @@ } }, rest)); }); - return /*#__PURE__*/React__namespace.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-ChipInput--Border", + className: ChipInputBorderClass + }, /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ChipInput" }, baseProps, { className: ChipInputClass, - onClick: onClickHandler + onClick: onClickHandler, + tabIndex: disabled ? -1 : 0 }), /*#__PURE__*/React__namespace.createElement("div", { className: "ChipInput-wrapper" }, chips && chips.length > 0 && chipComponents, /*#__PURE__*/React__namespace.createElement("input", { @@ -7012,7 +8791,7 @@ ref: inputRef, className: "ChipInput-input", autoFocus: autoFocus, - placeholder: placeholder, + placeholder: chips && chips.length > 0 ? '' : placeholder, disabled: disabled, value: inputValue, onBlur: onBlur, @@ -7022,10 +8801,11 @@ })), chips.length > 0 && /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-ChipInput--Icon", name: "close", - appearance: "subtle", + appearance: disabled ? 'disabled' : 'subtle', className: "ChipInput-icon", - onClick: onDeleteAllHandler - })); + onClick: onDeleteAllHandler, + tabIndex: disabled ? -1 : 0 + }))); }; ChipInput.displayName = 'ChipInput'; ChipInput.defaultProps = { @@ -7039,7 +8819,7 @@ return disabled ? 'disabled' : isActive ? 'link' : 'default'; }; var getIconAppearance = function getIconAppearance(isActive, disabled) { - return disabled ? 'disabled' : isActive ? 'info' : 'default'; + return disabled ? 'disabled' : isActive ? 'primary_dark' : 'default'; }; var getPillsAppearance = function getPillsAppearance(isActive) { return isActive ? 'primary' : 'secondary'; @@ -7070,6 +8850,42 @@ return false; }; + var getNavItemColor = function getNavItemColor(isActive, disabled) { + return disabled ? 'inverse-lightest' : isActive ? 'primary-dark' : 'inverse'; + }; + + var _MenuLabel = function MenuLabel(props) { + var label = props.label, + labelColor = props.labelColor; + return /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-VerticalNav--Text", + color: labelColor, + className: "MenuItem-Text" + }, label); + }; + + var _MenuIcon = function MenuIcon(props) { + var isChildrenVisible = props.isChildrenVisible; + return /*#__PURE__*/React__namespace.createElement(Icon, { + className: "mx-4", + name: isChildrenVisible ? 'keyboard_arrow_up' : 'keyboard_arrow_down' + }); + }; + + var _MenuPills = function MenuPills(props) { + var _a; + + var disabled = props.disabled, + isActive = props.isActive, + count = props.count; + var PillsClass = classNames__default["default"]((_a = {}, _a['MenuItem-count'] = true, _a['MenuItem-count--disabled'] = disabled, _a)); + return /*#__PURE__*/React__namespace.createElement(Pills, { + subtle: disabled, + className: PillsClass, + appearance: getPillsAppearance(isActive), + "data-test": "DesignSystem-VerticalNav--Pills" + }, count); + }; var MenuItem = function MenuItem(props) { var _a; @@ -7081,56 +8897,79 @@ hasSubmenu = props.hasSubmenu, isChildren = props.isChildren, isChildrenVisible = props.isChildrenVisible, - onClick = props.onClick; - var baseProps = extractBaseProps(props); + onClick = props.onClick, + customItemRenderer = props.customItemRenderer; - var onClickHandler = function onClickHandler() { + var onClickHandler = function onClickHandler(ev) { + ev.preventDefault(); if (onClick) onClick(menu); }; - var ItemClass = classNames__default['default']((_a = {}, _a['MenuItem'] = true, _a['MenuItem--vertical'] = true, _a['MenuItem--collapsed'] = !expanded, _a['MenuItem--expanded'] = expanded, _a['MenuItem--active'] = isActive, _a['MenuItem--disabled'] = menu.disabled, _a['MenuItem--subMenu'] = isChildren && expanded, _a['MenuItem--rounded'] = rounded && expanded, _a)); + var baseProps = __assign({ + onClick: onClickHandler, + href: menu.link, + tabIndex: 0 + }, extractBaseProps(props)); - var renderSubMenu = function renderSubMenu() { - var _a; + var itemColor = getNavItemColor(isActive, menu.disabled); + var ItemClass = classNames__default["default"]((_a = {}, _a['MenuItem'] = true, _a['MenuItem--vertical'] = true, _a['MenuItem--collapsed'] = !expanded, _a['MenuItem--expanded'] = expanded, _a['MenuItem--active'] = isActive, _a['MenuItem--disabled'] = menu.disabled, _a['MenuItem--subMenu'] = isChildren && expanded, _a['MenuItem--rounded'] = rounded && expanded, _a["color-" + itemColor] = true, _a)); + var renderSubMenu = function renderSubMenu() { if (hasSubmenu) { - return /*#__PURE__*/React__namespace.createElement(Icon, { - className: "mx-4", - name: isChildrenVisible ? 'keyboard_arrow_up' : 'keyboard_arrow_down', - appearance: "subtle" + return /*#__PURE__*/React__namespace.createElement(_MenuIcon, { + isChildrenVisible: isChildrenVisible }); } if (menu.count !== undefined) { var count = menu.count > 99 ? '99+' : menu.count; - var PillsClass = classNames__default['default']((_a = {}, _a['MenuItem-count'] = true, _a['MenuItem-count--disabled'] = menu.disabled, _a)); - return /*#__PURE__*/React__namespace.createElement(Pills, { - subtle: menu.disabled, - className: PillsClass, - appearance: getPillsAppearance(isActive), - "data-test": "DesignSystem-VerticalNav--Pills" - }, count); + return /*#__PURE__*/React__namespace.createElement(_MenuPills, { + disabled: menu.disabled, + isActive: isActive, + count: count + }); } return null; }; if (!expanded && !menu.icon) return null; - return /*#__PURE__*/React__namespace.createElement("div", __assign({ + + var customItemProps = __assign(__assign({}, props), { + MenuIcon: function MenuIcon() { + return _MenuIcon({ + isChildrenVisible: isChildrenVisible + }); + }, + MenuLabel: function MenuLabel() { + return _MenuLabel({ + label: menu.label, + labelColor: itemColor + }); + }, + MenuPills: function MenuPills() { + return menu.count !== undefined ? _MenuPills({ + disabled: menu.disabled, + isActive: isActive, + count: menu.count + }) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); + } + }); + + return customItemRenderer ? customItemRenderer(customItemProps) : /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ + componentType: "a", className: ItemClass - }, baseProps, { - onClick: onClickHandler - }), /*#__PURE__*/React__namespace.createElement("div", { + }, baseProps), /*#__PURE__*/React__namespace.createElement("div", { className: "d-flex align-items-center overflow-hidden" }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-VerticalNav--Icon", className: expanded ? 'mr-4' : '', name: menu.icon, - appearance: getIconAppearance(isActive, menu.disabled) - }), expanded && /*#__PURE__*/React__namespace.createElement(Text, { - "data-test": "DesignSystem-VerticalNav--Text", - appearance: getTextAppearance(isActive, menu.disabled) - }, menu.label)), expanded && renderSubMenu()); + variations: menu.iconVariations + }), expanded && /*#__PURE__*/React__namespace.createElement(_MenuLabel, { + label: menu.label, + labelColor: itemColor + })), expanded && renderSubMenu()); }; MenuItem.defaultProps = { isActive: false @@ -7145,7 +8984,9 @@ expanded = props.expanded, rounded = props.rounded, autoCollapse = props.autoCollapse, - className = props.className; + className = props.className, + customItemRenderer = props.customItemRenderer, + showTooltip = props.showTooltip; var _b = React__namespace.useState({}), menuState = _b[0], @@ -7206,15 +9047,31 @@ var hasSubmenu = menu.subMenu && menu.subMenu.length > 0; var isChildrenVisible = hasSubmenu && menuState[menu.name]; var hasGroup = index === 0 || menus[index - 1].group !== menu.group; - var sectionClass = classNames__default['default']((_a = {}, _a['VerticalNav-section'] = true, _a['VerticalNav-section--border'] = index !== 0, _a)); - return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, hasGroup && menu.group && expanded && /*#__PURE__*/React__namespace.createElement("div", { + var sectionClass = classNames__default["default"]((_a = {}, _a['VerticalNav-section'] = true, _a['VerticalNav-section--border'] = index !== 0, _a)); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, { + key: index + }, hasGroup && menu.group && expanded && /*#__PURE__*/React__namespace.createElement("div", { className: sectionClass }, /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-VerticalNav--Section", size: "small", weight: "strong", appearance: "subtle" - }, menu.group)), /*#__PURE__*/React__namespace.createElement(MenuItem, { + }, menu.group)), showTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: menu.label, + position: "right" + }, /*#__PURE__*/React__namespace.createElement(MenuItem, { + "data-test": "DesignSystem-VerticalNav--Item", + menu: menu, + expanded: expanded, + isActive: isActive, + hasSubmenu: hasSubmenu, + isChildren: false, + rounded: rounded, + isChildrenVisible: isChildrenVisible, + onClick: onClickHandler, + customItemRenderer: customItemRenderer + })) : /*#__PURE__*/React__namespace.createElement(MenuItem, { "data-test": "DesignSystem-VerticalNav--Item", menu: menu, expanded: expanded, @@ -7223,9 +9080,23 @@ isChildren: false, rounded: rounded, isChildrenVisible: isChildrenVisible, - onClick: onClickHandler + onClick: onClickHandler, + customItemRenderer: customItemRenderer }), menuState[menu.name] && menu.subMenu && menu.subMenu.map(function (subMenu, id) { - return /*#__PURE__*/React__namespace.createElement(MenuItem, { + return showTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: subMenu.label, + position: "right" + }, /*#__PURE__*/React__namespace.createElement(MenuItem, { + key: id, + menu: subMenu, + expanded: expanded, + hasSubmenu: false, + isChildren: true, + rounded: rounded, + onClick: onClickHandler, + isActive: isMenuActive(menus, subMenu, active), + customItemRenderer: customItemRenderer + })) : /*#__PURE__*/React__namespace.createElement(MenuItem, { key: id, menu: subMenu, expanded: expanded, @@ -7233,14 +9104,15 @@ isChildren: true, rounded: rounded, onClick: onClickHandler, - isActive: isMenuActive(menus, subMenu, active) + isActive: isMenuActive(menus, subMenu, active), + customItemRenderer: customItemRenderer }); })); }); - return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, list); + return list; }; - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { VerticalNav: true }, _a['VerticalNav--expanded'] = expanded, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { @@ -7250,7 +9122,8 @@ VerticalNav.defaultProps = { expanded: true, autoCollapse: true, - rounded: false + rounded: false, + showTooltip: false }; var HorizontalNav = function HorizontalNav(props) { @@ -7261,7 +9134,7 @@ onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = {}, _a['HorizontalNav'] = true, _a), className); + var classes = classNames__default["default"]((_a = {}, _a['HorizontalNav'] = true, _a), className); var onClickHandler = function onClickHandler(menu) { return function () { @@ -7272,7 +9145,7 @@ var getPillsClass = function getPillsClass(disabled) { var _a; - return classNames__default['default']((_a = {}, _a['HorizontalNav-pills'] = true, _a['HorizontalNav-pills--disabled'] = disabled, _a)); + return classNames__default["default"]((_a = {}, _a['HorizontalNav-pills'] = true, _a['HorizontalNav-pills--disabled'] = disabled, _a['HorizontalNav-animate'] = true, _a)); }; var renderIcon = function renderIcon(menu, isActive) { @@ -7288,9 +9161,9 @@ if (menu.icon) { return /*#__PURE__*/React__namespace.createElement(Icon, { - className: "mr-3", + className: "mr-3 HorizontalNav-animate", name: menu.icon, - appearance: getIconAppearance(isActive, menu.disabled), + variations: menu.iconVariations, "data-test": "DesignSystem-HorizontalNav--Icon" }); } @@ -7298,22 +9171,36 @@ return null; }; + var onKeyDownHandler = function onKeyDownHandler(event, menu) { + if (event.key === 'Enter' && onClick) { + onClick(menu); + } + }; + var list = menus.map(function (menu, index) { var _a; var isActive = isMenuActive(menus, menu, active); - var menuClasses = classNames__default['default']((_a = { - 'HorizontalNav-menu': true - }, _a['HorizontalNav-menu--active'] = isActive, _a['HorizontalNav-menu--disabled'] = menu.disabled, _a)); + var itemColor = getNavItemColor(isActive, menu.disabled); + var menuClasses = classNames__default["default"]((_a = { + 'HorizontalNav-menu': true, + 'HorizontalNav-menu--default': !isActive && !menu.disabled + }, _a['HorizontalNav-menu--active'] = isActive, _a['HorizontalNav-menu--disabled'] = menu.disabled, _a["HorizontalNav-animate"] = true, _a["color-" + itemColor] = true, _a)); return /*#__PURE__*/React__namespace.createElement("div", { + tabIndex: 0, "data-test": "DesignSystem-HorizontalNav", key: index, className: menuClasses, - onClick: onClickHandler(menu) + onClick: onClickHandler(menu), + onKeyDown: function onKeyDown(e) { + return onKeyDownHandler(e, menu); + }, + role: "button" }, renderIcon(menu, isActive), /*#__PURE__*/React__namespace.createElement(Text, { - appearance: getTextAppearance(isActive, menu.disabled), + color: itemColor, + weight: "medium", "data-test": "DesignSystem-HorizontalNav--Text", - className: "HorizontalNav-menuText" + className: "HorizontalNav-menuText HorizontalNav-animate" }, menu.label)); }); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { @@ -7321,7 +9208,17 @@ }), list); }; - var propsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll']; + var tooltipPropsList = ['trigger', 'on', 'open', 'offset', 'onToggle', 'dark', 'customStyle', 'closeOnBackdropClick', 'hideOnReferenceEscape', 'closeOnScroll']; + var positionValue = { + bottom: 'bottom', + top: 'top', + 'top-start': 'top', + 'top-end': 'top', + 'bottom-start': 'bottom', + 'bottom-end': 'bottom', + left: 'left', + right: 'right' + }; var Tooltip = function Tooltip(props) { var children = props.children, tooltip = props.tooltip, @@ -7337,9 +9234,15 @@ trigger: children, on: 'hover', offset: 'medium' - }, rest), tooltipWrapper); + }, rest, { + animationClass: { + open: "Tooltip-animation-open-" + positionValue[props.position], + close: "Tooltip-animation-close-" + positionValue[props.position] + }, + className: "Tooltip-container" + }), tooltipWrapper); }; - Tooltip.defaultProps = Object.assign({}, filterProps(Popover.defaultProps, propsList), { + Tooltip.defaultProps = Object.assign({}, filterProps(Popover.defaultProps, tooltipPropsList), { hoverable: false }); @@ -7367,10 +9270,12 @@ heading: heading }, footer: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", "data-test": "DesignSystem-Dialog--SecondaryButton", appearance: secondaryButtonAppearance, onClick: secondaryButtonCallback }, secondaryButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", className: "ml-4", "data-test": "DesignSystem-Dialog--PrimaryButton", appearance: primaryButtonAppearance, @@ -7395,7 +9300,7 @@ children = props.children, actions = props.actions; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ OverlayFooter: true }, className); var wrapperRef = /*#__PURE__*/React__namespace.createRef(); @@ -7427,7 +9332,9 @@ _a.label; var options = __rest(_a, ["label"]); - return /*#__PURE__*/React__namespace.createElement(Button, __assign({}, options, { + return /*#__PURE__*/React__namespace.createElement(Button, __assign({ + type: "button" + }, options, { key: index })); })); @@ -7451,12 +9358,13 @@ backButton = props.backButton, backIcon = props.backIcon, backIconCallback = props.backIconCallback, - backButtonCallback = props.backButtonCallback; + backButtonCallback = props.backButtonCallback, + headingClass = props.headingClass; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { OverlayHeader: true }, _a['OverlayHeader--withBackButton'] = backButton || backIcon, _a), className); - var subheadingClass = classNames__default['default']((_b = {}, _b['OverlayHeader-subheading'] = true, _b['OverlayHeader-subheading--withBackButton'] = backButton || backIcon, _b)); + var subheadingClass = classNames__default["default"]((_b = {}, _b['OverlayHeader-subheading'] = true, _b['OverlayHeader-subheading--withBackButton'] = backButton || backIcon, _b)); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-OverlayHeader" }, baseProps, { @@ -7466,10 +9374,12 @@ }, (backButton || backIcon) && /*#__PURE__*/React__namespace.createElement(Button, { "data-test": "DesignSystem-OverlayHeader--Button", appearance: "transparent", - className: "mr-5", - icon: "keyboard_backspace", + className: "mr-4", + icon: "arrow_back", + largeIcon: true, onClick: backButtonCallback || backIconCallback }), heading && /*#__PURE__*/React__namespace.createElement(Heading, { + className: headingClass, "data-test": "DesignSystem-OverlayHeader--heading" }, heading)), subHeading && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-OverlayHeader--Subheading", @@ -7483,7 +9393,7 @@ var children = props.children, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ OverlayBody: true }, className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ @@ -7526,6 +9436,52 @@ }); return zIndex > 0 ? zIndex : undefined; }; + var closeOnEscapeKeypress = function closeOnEscapeKeypress(event, isTopOverlay, onClose) { + if (event.key === 'Escape' && isTopOverlay) { + onClose(event); + event.preventDefault(); + } + }; + + var OverlayManager = function () { + function OverlayManager() { + this.overlays = []; + } + + OverlayManager.prototype.add = function (overlay) { + if (overlay === null) return; + var overlayIdx = this.overlays.indexOf(overlay); + + if (overlayIdx !== -1) { + return overlayIdx; + } + + overlayIdx = this.overlays.length; + this.overlays.push(overlay); + return overlayIdx; + }; + + OverlayManager.prototype.remove = function (overlay) { + if (overlay === null) return; + var overlayIdx = this.overlays.indexOf(overlay); + + if (overlayIdx === -1) { + return; + } + + this.overlays.splice(overlayIdx, 1); + }; + + OverlayManager.prototype.isTopOverlay = function (overlay) { + if (overlay === null) return; + return !!this.overlays.length && this.overlays[this.overlays.length - 1] === overlay; + }; + + return OverlayManager; + }(); + + var instance = new OverlayManager(); + Object.freeze(instance); var Modal = function (_super) { __extends(Modal, _super); @@ -7534,6 +9490,12 @@ var _this = _super.call(this, props) || this; _this.modalRef = /*#__PURE__*/React__namespace.createRef(); + + _this.onCloseHandler = function (event) { + var isTopOverlay = instance.isTopOverlay(_this.modalRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }; + _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -7543,6 +9505,37 @@ return _this; } + Modal.prototype.componentDidMount = function () { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + + if (this.props.backdropClose) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + } + + var zIndex = getUpdatedZIndex({ + element: this.element, + containerClassName: '.Overlay-container', + elementRef: this.modalRef + }); + this.setState({ + zIndex: zIndex + }); + }; + + Modal.prototype.componentWillUnmount = function () { + if (this.props.closeOnEscape) { + document.removeEventListener('keydown', this.onCloseHandler); + } + }; + Modal.prototype.componentDidUpdate = function (prevProps) { var _this = this; @@ -7558,6 +9551,7 @@ open: true, animate: true }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.add(this.modalRef.current); } else { this.setState({ animate: false @@ -7568,48 +9562,54 @@ }); }, 120); }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.remove(this.modalRef.current); } } }; Modal.prototype.onOutsideClickHandler = function (event) { var _a = this.props, + closeOnEscape = _a.closeOnEscape, backdropClose = _a.backdropClose, onClose = _a.onClose; var open = this.state.open; - if (open) { + if (open && instance.isTopOverlay(this.modalRef.current)) { + if (closeOnEscape || backdropClose) instance.remove(this.modalRef.current); if (onClose) onClose(event, 'OutsideClick');else if (typeof backdropClose === 'function') backdropClose(event, 'OutsideClick'); } }; Modal.prototype.render = function () { - var _a, _b, _c; + var _a, _b, _c, _d; - var _d = this.state, - animate = _d.animate, - open = _d.open, - zIndex = _d.zIndex; - var _e = this.props, - className = _e.className, - backdropClose = _e.backdropClose, - dimension = _e.dimension, - children = _e.children, - headerOptions = _e.headerOptions, - header = _e.header, - footerOptions = _e.footerOptions, - seperator = _e.seperator, - footer = _e.footer, - onClose = _e.onClose; - var classes = classNames__default['default']({ + var _e = this.state, + animate = _e.animate, + open = _e.open, + zIndex = _e.zIndex; + var _f = this.props, + className = _f.className, + backdropClose = _f.backdropClose, + dimension = _f.dimension, + children = _f.children, + headerOptions = _f.headerOptions, + header = _f.header, + footerOptions = _f.footerOptions, + seperator = _f.seperator, + footer = _f.footer, + onClose = _f.onClose; + var BackdropZIndex = zIndex ? zIndex - 1 : 1000; + var classes = classNames__default["default"]({ Modal: true, 'Modal--open': open, 'Modal-animation--open': animate, 'Modal-animation--close': !animate }, className); - var headerClass = classNames__default['default']((_a = {}, _a['Modal-header'] = true, _a['Modal-header--withSeperator'] = seperator, _a)); - var footerClass = classNames__default['default']((_b = {}, _b['Modal-footer'] = true, _b['Modal-footer--withSeperator'] = seperator, _b)); - var ContainerClass = classNames__default['default']((_c = {}, _c['Row'] = true, _c['Overlay-container'] = true, _c['Overlay-container--open'] = open, _c)); + var headerClass = classNames__default["default"]((_a = {}, _a['Modal-header'] = true, _a['Modal-header--withSeperator'] = seperator, _a)); + var footerClass = classNames__default["default"]((_b = {}, _b['Modal-footer'] = true, _b['Modal-footer--withSeperator'] = seperator, _b)); + var ContainerClass = classNames__default["default"]((_c = {}, _c['Row'] = true, _c['Overlay-container'] = true, _c['Overlay-container--open'] = open, _c)); + var isAPINew = headerOptions || footerOptions || footer || header; + var bodyClass = classNames__default["default"]((_d = {}, _d['Modal-body'] = true, _d['Modal-body--withMargin'] = isAPINew ? !!footer : true, _d['Modal-body--withPadding'] = isAPINew ? !footer : true, _d)); var baseProps = extractBaseProps(this.props); var sizeMap = { small: { @@ -7635,8 +9635,9 @@ "data-test": "DesignSystem-ModalContainer", className: ContainerClass, "data-layer": true, + "data-opened": open, style: { - zIndex: zIndex + zIndex: zIndex ? zIndex : 1001 } }, /*#__PURE__*/React__namespace.createElement(Column, __assign({ "data-test": "DesignSystem-Modal" @@ -7650,6 +9651,9 @@ "data-test": "DesignSystem-Modal--header" }, headerOptions)), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: "Close", + position: "bottom" }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "close", appearance: "transparent", @@ -7657,8 +9661,8 @@ onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), children && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headerOptions || footerOptions || footer || header ? /*#__PURE__*/React__namespace.createElement(OverlayBody, { - className: "Modal-body" + })))), open && children && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headerOptions || footerOptions || footer || header ? /*#__PURE__*/React__namespace.createElement(OverlayBody, { + className: bodyClass }, this.props.children) : children), (!!footer || !!footerOptions) && /*#__PURE__*/React__namespace.createElement(OverlayFooter, __assign({ "data-test": "DesignSystem-Modal--footer" }, footerOptions, { @@ -7666,12 +9670,14 @@ className: footerClass }), footer))); var ModalWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { + ref: this.modalRef, "data-test": "DesignSystem-Modal--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, ModalContainer) : ModalContainer; var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalWrapper, this.element); return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { - open: this.state.animate + open: this.state.animate, + zIndex: BackdropZIndex })); }; @@ -7692,7 +9698,7 @@ backIcon = props.backIcon, backIconCallback = props.backIconCallback; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { 'Modal-header': true }, _a['Modal-header--withSeperator'] = seperator, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { @@ -7719,8 +9725,9 @@ var children = props.children, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ - 'Modal-body': true + var classes = classNames__default["default"]({ + 'Modal-body': true, + 'Modal-body--withMargin': true }, className); return /*#__PURE__*/React__namespace.createElement(OverlayBody, __assign({}, baseProps, { stickFooter: true, @@ -7741,7 +9748,7 @@ className = props.className, seperator = props.seperator; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = {}, _a['Modal-footer'] = true, _a['Modal-footer--withSeperator'] = seperator, _a), className); + var classes = classNames__default["default"]((_a = {}, _a['Modal-footer'] = true, _a['Modal-footer--withSeperator'] = seperator, _a), className); return /*#__PURE__*/React__namespace.createElement(OverlayFooter, __assign({}, baseProps, { open: open, className: classes @@ -7756,6 +9763,30 @@ var _this = _super.call(this, props) || this; _this.modalRef = /*#__PURE__*/React__namespace.createRef(); + + _this.onOutsideClickHandler = function (event) { + instance.remove(_this.modalRef.current); + + if (_this.props.onClose) { + _this.props.onClose(event, 'EscapePress'); + } else { + _this.setState({ + animate: false + }, function () { + window.setTimeout(function () { + _this.setState({ + open: false + }); + }, 120); + }); + } + }; + + _this.onCloseHandler = function (event) { + var isTopOverlay = instance.isTopOverlay(_this.modalRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }; + _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -7764,6 +9795,20 @@ return _this; } + FullscreenModal.prototype.componentDidMount = function () { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.modalRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + }; + + FullscreenModal.prototype.componentWillUnmount = function () { + if (this.props.closeOnEscape) document.removeEventListener('keydown', this.onCloseHandler); + }; + FullscreenModal.prototype.componentDidUpdate = function (prevProps) { var _this = this; @@ -7779,6 +9824,7 @@ open: true, animate: true }); + if (this.props.closeOnEscape) instance.add(this.modalRef.current); } else { this.setState({ animate: false @@ -7789,6 +9835,7 @@ }); }, 120); }); + if (this.props.closeOnEscape) instance.remove(this.modalRef.current); } } }; @@ -7809,13 +9856,12 @@ footer = _c.footer, footerOptions = _c.footerOptions, onClose = _c.onClose; - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ FullscreenModal: true, - 'FullscreenModal--open': open, 'FullscreenModal-animation--open': animate, 'FullscreenModal-animation--close': !animate }, className); - var ContainerClass = classNames__default['default']((_a = {}, _a['Overlay-container'] = true, _a['Overlay-container--open'] = open, _a)); + var ContainerClass = classNames__default["default"]((_a = {}, _a['Overlay-container'] = true, _a['Overlay-container--open'] = open, _a)); var baseProps = extractBaseProps(this.props); var sizeMap = { medium: { @@ -7831,7 +9877,7 @@ sizeXS: '12' } }; - var ModalContainer = /*#__PURE__*/React__namespace.createElement("div", { + var ModalContainer = open ? /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-FullscreenModalContainer", className: ContainerClass, "data-layer": true, @@ -7851,6 +9897,8 @@ "data-test": "DesignSystem-FullscreenModal--header" }, headerOptions)), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: "Close" }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "close", appearance: "transparent", @@ -7858,7 +9906,7 @@ onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React__namespace.createElement(OverlayBody, { + })))), /*#__PURE__*/React__namespace.createElement(OverlayBody, { "data-test": "DesignSystem-FullscreenModal--Body", className: "FullscreenModal-body" }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React__namespace.createElement(OverlayFooter, __assign({ @@ -7866,7 +9914,7 @@ }, footerOptions, { open: open, className: "FullscreenModal-footer" - }), footer))))); + }), footer))))) : null; var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalContainer, this.element); return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement); }; @@ -7889,6 +9937,12 @@ var _this = _super.call(this, props) || this; _this.sidesheetRef = /*#__PURE__*/React__namespace.createRef(); + + _this.onCloseHandler = function (event) { + var isTopOverlay = instance.isTopOverlay(_this.sidesheetRef.current); + closeOnEscapeKeypress(event, isTopOverlay, _this.onOutsideClickHandler); + }; + _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -7898,9 +9952,36 @@ return _this; } - Sidesheet.prototype.componentDidUpdate = function (prevProps) { - var _this = this; + Sidesheet.prototype.componentDidMount = function () { + if (this.props.closeOnEscape) { + if (this.state.open) { + instance.add(this.sidesheetRef.current); + } + + document.addEventListener('keydown', this.onCloseHandler); + } + + if (this.props.backdropClose && this.state.open) { + instance.add(this.sidesheetRef.current); + } + + var zIndex = getUpdatedZIndex({ + element: this.element, + containerClassName: '.Overlay-container', + elementRef: this.sidesheetRef + }); + this.setState({ + zIndex: zIndex + }); + }; + + Sidesheet.prototype.componentWillUnmount = function () { + if (this.props.closeOnEscape) { + document.removeEventListener('keydown', this.onCloseHandler); + } + }; + Sidesheet.prototype.componentDidUpdate = function (prevProps) { if (prevProps.open !== this.props.open) { if (this.props.open) { var zIndex = getUpdatedZIndex({ @@ -7913,66 +9994,82 @@ open: true, animate: true }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.add(this.sidesheetRef.current); } else { this.setState({ animate: false - }, function () { - window.setTimeout(function () { - _this.setState({ - open: false - }); - }, 120); }); + if (this.props.closeOnEscape || this.props.backdropClose) instance.remove(this.sidesheetRef.current); } } }; Sidesheet.prototype.onOutsideClickHandler = function (event) { - var onClose = this.props.onClose; + var _a = this.props, + backdropClose = _a.backdropClose, + closeOnEscape = _a.closeOnEscape, + onClose = _a.onClose; var open = this.state.open; - if (open) { + if (open && instance.isTopOverlay(this.sidesheetRef.current)) { + if (backdropClose || closeOnEscape) instance.remove(this.sidesheetRef.current); if (onClose) onClose(event, 'OutsideClick'); } }; + Sidesheet.prototype.handleAnimationEnd = function () { + if (!this.state.animate) { + this.setState({ + open: false + }); + } + }; + Sidesheet.prototype.render = function () { - var _a, _b, _c, _d; + var _a, _b, _c, _d, _e; - var _e = this.state, - animate = _e.animate, - open = _e.open, - zIndex = _e.zIndex; - var _f = this.props, - className = _f.className, - backdropClose = _f.backdropClose, - dimension = _f.dimension, - footer = _f.footer, - seperator = _f.seperator, - stickFooter = _f.stickFooter, - headerOptions = _f.headerOptions, - footerOptions = _f.footerOptions, - header = _f.header, - onClose = _f.onClose; - var classes = classNames__default['default']({ + var _this = this; + + var _f = this.state, + animate = _f.animate, + open = _f.open, + zIndex = _f.zIndex; + var _g = this.props, + className = _g.className, + backdropClose = _g.backdropClose, + dimension = _g.dimension, + footer = _g.footer, + seperator = _g.seperator, + stickFooter = _g.stickFooter, + headerOptions = _g.headerOptions, + footerOptions = _g.footerOptions, + header = _g.header, + onClose = _g.onClose; + var BackdropZIndex = zIndex ? zIndex - 1 : 1000; + var classes = classNames__default["default"]({ Sidesheet: true, 'Sidesheet--open': open, 'Sidesheet-animation--open': animate, 'Sidesheet-animation--close': !animate }, className); - var ContainerClass = classNames__default['default']((_a = {}, _a['Overlay-container'] = true, _a['Overlay-container--open'] = open, _a)); - var headerClass = classNames__default['default']((_b = {}, _b['Sidesheet-header'] = true, _b['Sidesheet-header--withSeperator'] = seperator, _b)); - var footerClass = classNames__default['default']((_c = {}, _c['Sidesheet-footer'] = true, _c['Sidesheet-footer--withSeperator'] = seperator, _c['Sidesheet-footer--stickToBottom'] = stickFooter, _c)); - var bodyClass = classNames__default['default']((_d = {}, _d['Sidesheet-body'] = true, _d['Sidesheet-body--withMargin'] = !!footer && stickFooter, _d)); + var ContainerClass = classNames__default["default"]((_a = {}, _a['Overlay-container'] = true, _a['fade-in'] = animate, _a['Overlay-container--open'] = animate, _a['Overlay-container--close'] = !animate, _a)); + var headerClass = classNames__default["default"]((_b = {}, _b['Sidesheet-header'] = true, _b['Sidesheet-header--withSeperator'] = seperator, _b)); + var footerClass = classNames__default["default"]((_c = {}, _c['Sidesheet-footer'] = true, _c['Sidesheet-footer--withSeperator'] = seperator, _c['Sidesheet-footer--stickToBottom'] = stickFooter, _c)); + var bodyClass = classNames__default["default"]((_d = {}, _d['Sidesheet-body'] = true, _d['Sidesheet-body--withMargin'] = !!footer && stickFooter, _d['Sidesheet-body--nextPage'] = (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) || (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon), _d['Sidesheet-body--firstPage'] = !(headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) && !(headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon), _d)); + var headingClass = classNames__default["default"]((_e = {}, _e['Sidesheet-header--shiftRight'] = (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) || (headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon), _e['Sidesheet-header--shiftLeft'] = !(headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backButton) && !(headerOptions === null || headerOptions === void 0 ? void 0 : headerOptions.backIcon), _e)); var baseProps = extractBaseProps(this.props); var SidesheetContainer = /*#__PURE__*/React__namespace.createElement(Row, { "data-test": "DesignSystem-SidesheetContainer", + "data-open": this.state.open, className: ContainerClass, "data-layer": true, style: { - zIndex: zIndex + zIndex: zIndex ? zIndex : 1001 }, - ref: this.sidesheetRef + ref: this.sidesheetRef, + onAnimationEnd: function onAnimationEnd() { + return _this.handleAnimationEnd; + } }, /*#__PURE__*/React__namespace.createElement(Column, __assign({ "data-test": "DesignSystem-Sidesheet" }, baseProps, { @@ -7982,16 +10079,21 @@ className: headerClass }, /*#__PURE__*/React__namespace.createElement(Column, { "data-test": "DesignSystem-Sidesheet--Header" - }, !header && /*#__PURE__*/React__namespace.createElement(OverlayHeader, __assign({}, headerOptions)), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { + }, !header && /*#__PURE__*/React__namespace.createElement(OverlayHeader, __assign({ + headingClass: headingClass + }, headerOptions)), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { className: "flex-grow-0" + }, /*#__PURE__*/React__namespace.createElement(Tooltip, { + tooltip: "Close" }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "close", appearance: "transparent", "data-test": "DesignSystem-Sidesheet--CloseButton", + largeIcon: true, onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React__namespace.createElement(OverlayBody, { + })))), /*#__PURE__*/React__namespace.createElement(OverlayBody, { "data-test": "DesignSystem-Sidesheet--OverlayBody", className: bodyClass }, this.props.children), (!!footer || !!footerOptions) && /*#__PURE__*/React__namespace.createElement(OverlayFooter, __assign({ @@ -8001,12 +10103,14 @@ className: footerClass }), footer))); var SidesheetWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { + ref: this.sidesheetRef, "data-test": "DesignSystem-Sidesheet--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, SidesheetContainer) : SidesheetContainer; var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(SidesheetWrapper, this.element); return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { - open: this.state.animate + open: this.state.animate, + zIndex: BackdropZIndex })); }; @@ -8027,7 +10131,8 @@ height = props.height, children = props.children, className = props.className, - onToggle = props.onToggle; + onToggle = props.onToggle, + withTrigger = props.withTrigger; var _e = React__namespace.useState(true), isClicked = _e[0], @@ -8044,12 +10149,12 @@ setSeperator(ref.current.scrollHeight > ref.current.clientHeight); } }); - var WrapperClass = classNames__default['default']((_a = {}, _a['Collapsible-wrapper'] = true, _a['Collapsible-wrapper--overlay'] = !isClicked, _a)); - var BodyClass = classNames__default['default']((_b = {}, _b['Collapsible-body'] = true, _b)); - var classes = classNames__default['default']((_c = { + var WrapperClass = classNames__default["default"]((_a = {}, _a['Collapsible-wrapper'] = true, _a['Collapsible-wrapper--overlay'] = !isClicked, _a)); + var BodyClass = classNames__default["default"]((_b = {}, _b['Collapsible-body'] = true, _b['overflow-hidden'] = !expanded && hoverable, _b)); + var classes = classNames__default["default"]((_c = { Collapsible: true - }, _c['Collapsible--overlay'] = !isClicked, _c), className); - var FooterClass = classNames__default['default']((_d = {}, _d['Collapsible-footer'] = true, _d['Collapsible-footer--seperator'] = seperator, _d)); + }, _c['Collapsible--overlay'] = !isClicked, _c['Collapsible--shadow'] = !isClicked && expanded, _c), className); + var FooterClass = classNames__default["default"]((_d = {}, _d['Collapsible-footer'] = true, _d['Collapsible-footer--seperator'] = seperator, _d)); var onToggleHandler = function onToggleHandler(newExpanded, type) { return function () { @@ -8089,14 +10194,17 @@ onMouseEnter: onToggleHandler(true, 'mouseenter'), onMouseLeave: onToggleHandler(false, 'mouseleave'), ref: ref - }, children), /*#__PURE__*/React__namespace.createElement("div", { + }, children), withTrigger && /*#__PURE__*/React__namespace.createElement("div", { + role: "button", + tabIndex: 0, + className: FooterClass, "data-test": "DesignSystem-Collapsible--Footer", - className: FooterClass + onClick: onToggleHandler(!expanded, 'click'), + onKeyDown: onToggleHandler(!expanded, 'click') }, /*#__PURE__*/React__namespace.createElement(Icon, { name: expanded ? 'keyboard_arrow_left' : 'keyboard_arrow_right', "data-test": "DesignSystem-Collapsible--FooterIcon", - className: "px-5 py-4 my-2 cursor-pointer", - onClick: onToggleHandler(!expanded, 'click'), + className: "px-6 py-4 my-2 cursor-pointer", size: 16 })))); }; @@ -8105,7 +10213,8 @@ expanded: false, hoverable: true, height: '100%', - expandedWidth: 'var(--spacing-9)' + expandedWidth: '240px', + withTrigger: true }; var Status = function Status(props) { @@ -8121,8 +10230,8 @@ _e = props.sendingText, sendingText = _e === void 0 ? 'Sending..' : _e; var baseProps = extractBaseProps(props); - var StatusClass = classNames__default['default']((_a = {}, _a['d-flex align-items-center mt-3'] = true, _a), className); - var TextClass = classNames__default['default']((_b = {}, _b['ChatMessage-status'] = true, _b), className); + var StatusClass = classNames__default["default"]((_a = {}, _a['d-flex align-items-center mt-3'] = true, _a), className); + var TextClass = classNames__default["default"]((_b = {}, _b['ChatMessage-status'] = true, _b), className); var getTime = function getTime(t) { if (typeof t === 'number') { @@ -8218,10 +10327,11 @@ onClick = props.onClick, className = props.className; var baseProps = extractBaseProps(props); - var MessageClass = classNames__default['default']((_a = {}, _a['Box'] = true, _a["Box--" + type] = type, _a['Box--typing'] = isTyping, _a['Box--urgent'] = statusType === 'urgent', _a["Box-" + type + "--withStatus"] = withStatus || isTyping, _a), className); + var MessageClass = classNames__default["default"]((_a = {}, _a['Box'] = true, _a["Box--" + type] = type, _a['Box--typing'] = isTyping, _a['Box--urgent'] = statusType === 'urgent', _a["Box-" + type + "--withStatus"] = withStatus || isTyping, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: MessageClass, - onClick: onClick + onClick: onClick, + "data-test": "DesignSystem-ChatMessage--Box" }), children); }; Box.displayName = 'Box'; @@ -8301,16 +10411,21 @@ description = props.description, size = props.size, children = props.children, - className = props.className; + className = props.className, + image = props.image; var baseProps = extractBaseProps(props); - var WrapperClass = classNames__default['default']((_a = {}, _a['EmptyState'] = true, _a), className); - var HeadingClass = classNames__default['default']((_b = {}, _b['EmptyState-title'] = true, _b["EmptyState-title--" + size] = true, _b)); - var TextClass = classNames__default['default']((_c = {}, _c['EmptyState-description'] = true, _c["EmptyState-description--" + size] = children !== undefined, _c)); + var WrapperClass = classNames__default["default"]((_a = {}, _a['EmptyState'] = true, _a), className); + var HeadingClass = classNames__default["default"]((_b = {}, _b['EmptyState-title'] = true, _b["EmptyState-title--" + size] = true, _b)); + var TextClass = classNames__default["default"]((_c = {}, _c['EmptyState-description'] = true, _c["EmptyState-description--" + size] = children !== undefined, _c)); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-EmptyState" }, baseProps, { className: WrapperClass - }), /*#__PURE__*/React__namespace.createElement("img", { + }), image && /*#__PURE__*/React__namespace.createElement("div", { + style: { + height: imageHeight[size] + } + }, image), imageSrc && !image && /*#__PURE__*/React__namespace.createElement("img", { src: imageSrc, height: imageHeight[size], "data-test": "DesignSystem-EmptyState--Img" @@ -8332,7 +10447,7 @@ description = props.description, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ 'Modal-description': true }, className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ @@ -8354,7 +10469,8 @@ var type = props.type, totalPages = props.totalPages, onPageChange = props.onPageChange, - className = props.className; + className = props.className, + pageJumpDebounceDuration = props.pageJumpDebounceDuration; var baseProps = extractBaseProps(props); var _d = React__namespace.useState(props.page), @@ -8365,15 +10481,27 @@ init = _e[0], setInit = _e[1]; + var _f = React__namespace.useState(0), + debounceCancelCounter = _f[0], + setDebounceCancelCounter = _f[1]; + + var debouncePageChange = React__namespace.useCallback(debounce(pageJumpDebounceDuration, onPageChange), [debounceCancelCounter]); React__namespace.useEffect(function () { setPage(props.page); }, [props.page]); - var wrapperClass = classNames__default['default']((_a = {}, _a['Pagination'] = true, _a["Pagination--" + type] = type, _a), className); - var nextButtonWrapperClass = classNames__default['default']((_b = {}, _b['Pagination-buttonWrapper'] = true, _b['Pagination-buttonWrapper--next'] = true, _b)); - var prevButtonWrapperClass = classNames__default['default']((_c = {}, _c['Pagination-buttonWrapper'] = true, _c['Pagination-buttonWrapper--previous'] = true, _c)); + var wrapperClass = classNames__default["default"]((_a = {}, _a['Pagination'] = true, _a["Pagination--" + type] = type, _a), className); + var nextButtonWrapperClass = classNames__default["default"]((_b = {}, _b['Pagination-buttonWrapper'] = true, _b['Pagination-buttonWrapper--next'] = true, _b)); + var prevButtonWrapperClass = classNames__default["default"]((_c = {}, _c['Pagination-buttonWrapper'] = true, _c['Pagination-buttonWrapper--previous'] = true, _c)); React__namespace.useEffect(function () { if (init) { - if (page >= 1 && page <= totalPages) onPageChange(page); + if (page >= 1 && page <= totalPages) { + debouncePageChange(page); + } else { + debouncePageChange.cancel(); + setDebounceCancelCounter(function (prev) { + return prev + 1; + }); + } } }, [page]); @@ -8387,6 +10515,12 @@ } }; + var onKeyPressHandler = function onKeyPressHandler(e) { + if (!isNaturalNumber(e.key)) { + e.preventDefault(); + } + }; + var onClickHandler = function onClickHandler(buttonType) { setInit(true); @@ -8437,8 +10571,9 @@ name: "page", className: "Pagination-MetricInput", onChange: inputChangeHandler, - value: "" + (page === 0 ? '' : page), - "data-test": "DesignSystem-Pagination--Input" + value: "" + (isNaturalNumber(page) ? page : ''), + "data-test": "DesignSystem-Pagination--Input", + onKeyPress: onKeyPressHandler }), /*#__PURE__*/React__namespace.createElement(Text, null, " of " + totalPages + " pages")), /*#__PURE__*/React__namespace.createElement("div", { className: nextButtonWrapperClass }, /*#__PURE__*/React__namespace.createElement(Button, { @@ -8463,14 +10598,14 @@ Pagination.defaultProps = { type: 'basic', page: 1, - totalPages: 1 + totalPages: 1, + pageJumpDebounceDuration: 750 }; var EditableInput = function EditableInput(props) { var _a, _b, _c, _d; - var value = props.value, - error = props.error, + var error = props.error, size = props.size, errorMessage = props.errorMessage, placeholder = props.placeholder, @@ -8482,36 +10617,43 @@ var onInputChange = inputOptions.onChange, rest = __rest(inputOptions, ["onChange"]); - var _e = React__namespace.useState(value), + var _e = React__namespace.useState(props.value), inputValue = _e[0], setInputValue = _e[1]; - var _f = React__namespace.useState(false), - editing = _f[0], - setEditing = _f[1]; + var _f = React__namespace.useState(props.value), + value = _f[0], + setValue = _f[1]; var _g = React__namespace.useState(false), - showComponent = _g[0], - setShowComponent = _g[1]; + editing = _g[0], + setEditing = _g[1]; + + var _h = React__namespace.useState(false), + showComponent = _h[0], + setShowComponent = _h[1]; var inputRef = /*#__PURE__*/React__namespace.createRef(); var baseProps = extractBaseProps(props); - var EditableInputClass = classNames__default['default']((_a = {}, _a['EditableInput'] = true, _a), className); - var EditableDefaultClass = classNames__default['default']((_b = {}, _b['EditableInput-default'] = true, _b["EditableInput-default--" + size] = size, _b)); - var InputClass = classNames__default['default']((_c = {}, _c['EditableInput-Input--tiny'] = size === 'tiny', _c)); - var ActionClass = classNames__default['default']((_d = {}, _d['EditableInput-actions'] = true, _d["EditableInput-actions--" + size] = size, _d)); + var isControlled = props.value !== undefined; React__namespace.useEffect(function () { - setDefaultComponent(); - }, [value]); - - var setDefaultComponent = function setDefaultComponent() { - setInputValue(value); + if (isControlled) setValue(props.value); + }, [props.value]); + var EditableInputClass = classNames__default["default"]((_a = {}, _a['EditableInput'] = true, _a), className); + var EditableDefaultClass = classNames__default["default"]((_b = {}, _b['EditableInput-default'] = true, _b["EditableInput-default--" + size] = size, _b)); + var InputClass = classNames__default["default"]((_c = {}, _c['EditableInput-Input--tiny'] = size === 'tiny', _c)); + var ActionClass = classNames__default["default"]((_d = {}, _d['EditableInput-actions'] = true, _d["EditableInput-actions--" + size] = size, _d)); + + var setDefaultComponent = function setDefaultComponent(updatedValue) { + setInputValue(updatedValue); setEditing(false); setShowComponent(false); }; var onSaveChanges = function onSaveChanges() { - if (onChange) onChange(inputValue); + if (!isControlled) setValue(inputValue); + if (onChange) onChange(inputValue || ''); + setDefaultComponent(inputValue); }; var onInputChangeHandler = function onInputChangeHandler(e) { @@ -8524,15 +10666,23 @@ switch (eventType) { case 'edit': - (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); - setEditing(true); + { + (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); + setEditing(true); + setShowComponent(true); + break; + } case 'hover': - setShowComponent(true); - return; + { + setShowComponent(true); + break; + } case 'default': - setShowComponent(false); + { + setShowComponent(false); + } } }; @@ -8556,7 +10706,7 @@ break; case 'Escape': - setDefaultComponent(); + setDefaultComponent(value); break; } } @@ -8569,15 +10719,10 @@ position: "right", className: "px-6 py-6 d-flex align-items-center", on: "hover" - }, /*#__PURE__*/React__namespace.createElement(Icon, { - name: "error", - appearance: 'alert', - className: "mr-4" - }), /*#__PURE__*/React__namespace.createElement(Text, { - "data-test": "DesignSystem-EditableInput--ErrorPopper", - appearance: "destructive", - weight: "medium" - }, errorMessage)) : inputComponent; + }, /*#__PURE__*/React__namespace.createElement(InlineMessage, { + appearance: "alert", + description: errorMessage + })) : inputComponent; } return /*#__PURE__*/React__namespace.createElement("div", { @@ -8600,12 +10745,16 @@ }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "clear", className: "mr-3", + largeIcon: true, size: "tiny", - onClick: setDefaultComponent, + onClick: function onClick() { + setDefaultComponent(value); + }, "data-test": "DesignSystem-EditableInput--Discard" }), /*#__PURE__*/React__namespace.createElement(Button, { icon: "check", appearance: "primary", + largeIcon: true, size: "tiny", disabled: disableSaveAction, onClick: onSaveChanges, @@ -8615,7 +10764,6 @@ EditableInput.defaultProps = { size: 'regular', placeholder: '', - value: '', inputOptions: {} }; @@ -8623,7 +10771,6 @@ var _a, _b, _c, _d; var placeholder = props.placeholder, - value = props.value, onChange = props.onChange, className = props.className, disableSaveAction = props.disableSaveAction, @@ -8637,49 +10784,81 @@ var _onClick = chipOptions.onClick, chipObject = __rest(chipOptions, ["onClick"]); - var _f = React__namespace.useState(value), + var _f = React__namespace.useState(props.value), inputValue = _f[0], setInputValue = _f[1]; - var _g = React__namespace.useState(false), - showComponent = _g[0], - setShowComponent = _g[1]; + var _g = React__namespace.useState(props.value), + value = _g[0], + setValue = _g[1]; + + var _h = React__namespace.useState(false), + showComponent = _h[0], + setShowComponent = _h[1]; var baseProps = extractBaseProps(props); var isWithChips = inputValue && inputValue.length; - var classes = classNames__default['default']((_a = {}, _a['EditableChipInput'] = true, _a), className); - var actionClass = classNames__default['default']((_b = {}, _b['EditableChipInput-actions'] = true, _b)); - var defaultClasses = classNames__default['default']((_c = {}, _c['EditableChipInput-default'] = !isWithChips, _c['EditableChipInput-defaultWithChips'] = isWithChips, _c)); - var inputClass = classNames__default['default']((_d = {}, _d['EditableChipInput-chipInput'] = true, _d)); + var isControlled = props.value !== undefined; React__namespace.useEffect(function () { - setDefaultComponent(); - }, [value]); + if (isControlled) { + setInputValue(props.value); + setValue(props.value); + } + }, [props.value]); + var classes = classNames__default["default"]((_a = {}, _a['EditableChipInput'] = true, _a), className); + var actionClass = classNames__default["default"]((_b = {}, _b['EditableChipInput-actions'] = true, _b)); + var defaultClasses = classNames__default["default"]((_c = {}, _c['EditableChipInput-default'] = !isWithChips, _c['EditableChipInput-defaultWithChips'] = isWithChips, _c)); + var inputClass = classNames__default["default"]((_d = {}, _d['EditableChipInput-chipInput'] = true, _d)); var onChipInputChangeHandler = function onChipInputChangeHandler(val) { setInputValue(val); if (onChipInputChange) onChipInputChange(val); }; - var setDefaultComponent = function setDefaultComponent() { - setInputValue(value); + var setDefaultComponent = function setDefaultComponent(updatedValue) { + setInputValue(updatedValue); setShowComponent(false); }; var onSaveChanges = function onSaveChanges() { + if (!isControlled) setValue(inputValue); if (onChange && inputValue) onChange(inputValue); + setDefaultComponent(inputValue); }; var onChangeHandler = function onChangeHandler(eventType) { switch (eventType) { case 'edit': - setShowComponent(true); + { + setShowComponent(true); + break; + } case 'hover': - return; + { + break; + } case 'default': - setShowComponent(false); - return; + { + setShowComponent(false); + break; + } + } + }; + + var onChipDelete = function onChipDelete(index) { + if (value) { + var updatedValue = __spreadArrays(value); + + updatedValue.splice(index, 1); + + if (!isControlled) { + setInputValue(updatedValue); + setValue(updatedValue); + } + + if (onChange) onChange(updatedValue); } }; @@ -8693,6 +10872,9 @@ label: val, className: "my-2 mx-2" }, chipObject, { + onClose: function onClose() { + return onChipDelete(index); + }, onClick: function onClick() { return _onClick && _onClick(val, index); } @@ -8701,7 +10883,7 @@ } return /*#__PURE__*/React__namespace.createElement(Text, { - className: "EditableChipInput--Text" + className: "pt-1" }, placeholder); }; @@ -8740,7 +10922,9 @@ icon: "clear", className: "mr-3", size: "tiny", - onClick: setDefaultComponent + onClick: function onClick() { + setDefaultComponent(value); + } }), /*#__PURE__*/React__namespace.createElement(Button, { "data-test": "DesignSystem-EditableChipInput--SaveButton", icon: "check", @@ -8765,7 +10949,7 @@ var baseProps = extractBaseProps(props); var radius = 20; var circumference = 2 * Math.PI * radius; - var ProgressRingClass = classNames__default['default']((_a = { + var ProgressRingClass = classNames__default["default"]((_a = { Ring: true }, _a["Ring--" + size] = size, _a), className); var svgProps = { @@ -8808,27 +10992,36 @@ active = props.active, completed = props.completed, onChange = props.onChange; - var StepClass = classNames__default['default']((_a = {}, _a['Step'] = true, _a['Step--active'] = active, _a['Step--disabled'] = disabled, _a)); + var StepClass = classNames__default["default"]((_a = {}, _a['Step'] = true, _a['Stepper-animate'] = true, _a['Step--active'] = active, _a['Step--disabled'] = disabled, _a['Step--completed'] = completed, _a)); var onClickHandle = function onClickHandle() { if (disabled) return; if (onChange) onChange(label, value); }; - var iconAppearance = completed ? 'info' : disabled ? 'disabled' : active ? 'info' : 'default'; - var appearance = active ? 'link' : disabled ? 'disabled' : 'default'; + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter') { + onClickHandle(); + } + }; + + var textColor = active ? 'primary-dark' : disabled ? 'inverse-lightest' : 'inverse'; return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Step", className: StepClass, - onClick: onClickHandle + onKeyDown: function onKeyDown(e) { + return onKeyDownHandler(e); + }, + onClick: onClickHandle, + tabIndex: disabled ? -1 : 0 }, /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-Step--Icon", name: completed ? 'check_circle' : 'radio_button_unchecked', - appearance: iconAppearance, - className: "mr-3 my-4" + className: "mr-3 my-4 Stepper-animate" }), label && /*#__PURE__*/React__namespace.createElement(Text, { weight: "medium", - appearance: appearance + color: textColor, + className: "Stepper-animate Stepper-text" }, label)); }; Step.displayName = 'Step'; @@ -8848,7 +11041,7 @@ if (onChange) onChange(index, completed, stepLabel, stepValue); }; - var StepperClass = classNames__default['default']((_a = {}, _a['Stepper'] = true, _a), className); + var StepperClass = classNames__default["default"]((_a = {}, _a['Stepper'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Stepper" }, baseProps, { @@ -8917,6 +11110,56 @@ } }; + var onPasteHandler = function onPasteHandler(_e, val, type) { + setState({ + open: true + }); + + if (type === 'start') { + var placeholderChar = startInputOptions.placeholderChar || '_'; + + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + + if (d) { + setState({ + startDate: d + }); + + if (endDate) { + var _a = getDateInfo(endDate), + eYear = _a.year, + eMonth = _a.month, + eDate = _a.date; + + if (compareDate(startDate, 'more', eYear, eMonth, eDate)) { + setState({ + endDate: undefined + }); + } + } + + if (startInputOptions.onPaste) startInputOptions.onPaste(_e, val); + } + } + } + + if (type === 'end') { + var placeholderChar = endInputOptions.placeholderChar ? endInputOptions.placeholderChar : '_'; + + if (val && !val.includes(placeholderChar)) { + var d = translateToDate(inputFormat, val, validators); + + if (d) { + setState({ + endDate: d + }); + if (endInputOptions.onPaste) endInputOptions.onPaste(_e, val); + } + } + } + }; + var onChangeHandler = function onChangeHandler(_e, val, type) { setState({ open: true @@ -8965,10 +11208,22 @@ setState({ init: true }); + var hasNumber = /\d/; if (type === 'start') { var _a = startInputOptions.placeholderChar, placeholderChar = _a === void 0 ? '_' : _a; + + if (val && hasNumber.test(val) && val.includes(placeholderChar)) { + setState({ + startError: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + startError: false + }); + } + if (!val || val.includes(placeholderChar)) setState({ startDate: undefined }); @@ -8977,6 +11232,17 @@ if (type === 'end') { var _b = endInputOptions.placeholderChar, placeholderChar = _b === void 0 ? '_' : _b; + + if (val && hasNumber.test(val) && val.includes(placeholderChar)) { + setState({ + endError: true + }); + } else if (val && !hasNumber.test(val) || !val) { + setState({ + endError: false + }); + } + if (!val || val.includes(placeholderChar)) setState({ endDate: undefined }); @@ -9025,22 +11291,27 @@ return isValid(validators, val, inputFormat); }; - return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { + return /*#__PURE__*/React__namespace.createElement(Row, { + "data-test": "DesignSystem-DateRangePicker-InputTrigger" + }, /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--startDate" }, startLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: startInputOptions.required, withInput: true - }, startLabel), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ + }, startLabel), /*#__PURE__*/React__namespace.createElement(X, __assign({ icon: "events", placeholder: inputFormat }, startInputOptions, { mask: mask, - value: startDate ? translateToString(inputFormat, startDate) : init ? InputMask.utils.getDefaultValue(mask, startPlaceholderChar) : '', + value: startDate ? translateToString(inputFormat, startDate) : init ? X.utils.getDefaultValue(mask, startPlaceholderChar) : '', onChange: function onChange(e, val) { onChangeHandler(e, val || '', 'start'); }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || '', 'start'); + }, onBlur: function onBlur(e, val) { onBlurHandler(e, val || '', 'start'); }, @@ -9053,7 +11324,7 @@ error: showStartError, caption: showStartError ? startErrorMessage : '', validators: [inputValidator], - clearOnEmptyBlur: false + clearOnEmptyBlur: true }))), /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', @@ -9061,15 +11332,18 @@ }, endLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: endInputOptions.required, withInput: true - }, endLabel), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ + }, endLabel), /*#__PURE__*/React__namespace.createElement(X, __assign({ icon: "events", placeholder: inputFormat }, endInputOptions, { mask: mask, - value: endDate ? translateToString(inputFormat, endDate) : init ? InputMask.utils.getDefaultValue(mask, endPlaceholderChar) : '', + value: endDate ? translateToString(inputFormat, endDate) : init ? X.utils.getDefaultValue(mask, endPlaceholderChar) : '', onChange: function onChange(e, val) { onChangeHandler(e, val || '', 'end'); }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || '', 'end'); + }, onBlur: function onBlur(e, val) { onBlurHandler(e, val || '', 'end'); }, @@ -9082,7 +11356,7 @@ error: showEndError, caption: showEndError ? endErrorMessage : '', validators: [inputValidator], - clearOnEmptyBlur: false + clearOnEmptyBlur: true })))); }; @@ -9105,7 +11379,7 @@ var label = inputOptions.label; var _a = inputOptions.placeholderChar, placeholderChar = _a === void 0 ? '_' : _a; - var defaultValue = InputMask.utils.getDefaultValue(mask, placeholderChar).split(' - '); + var defaultValue = X.utils.getDefaultValue(mask, placeholderChar).split(' - '); var sValue = startValue || defaultValue[0]; var eValue = endValue || defaultValue[1]; @@ -9117,6 +11391,22 @@ return isValid(validators, startVal, inputFormat) && isValid(validators, endVal, inputFormat); }; + var onPasteHandler = function onPasteHandler(_e, val) { + var onPaste = inputOptions.onPaste; + var date = val.split(' - '); + var startVal = date[0]; + var endVal = date[1]; + var endD = translateToDate(inputFormat, endVal, validators); + var startD = translateToDate(inputFormat, startVal, validators); + setState({ + startDate: startD, + endDate: endD, + startValue: startVal, + endValue: endVal + }); + if (onPaste) onPaste(_e, val); + }; + var onChangeHandler = function onChangeHandler(_e, val) { var date = val.split(' - '); var startVal = date[0]; @@ -9165,6 +11455,20 @@ }); }; + var getErrorState = function getErrorState(currentVal, siblingVal) { + var hasNumber = /\d/; + + if (currentVal && siblingVal && !currentVal.includes(placeholderChar) && siblingVal.includes(placeholderChar)) { + return true; + } else if (currentVal && hasNumber.test(currentVal) && currentVal.includes(placeholderChar)) { + return true; + } else if (currentVal && !hasNumber.test(currentVal) || !currentVal) { + return false; + } + + return null; + }; + var onBlurHandler = function onBlurHandler(_e, val) { setState({ init: true @@ -9172,6 +11476,16 @@ var date = val.split(' - '); var startVal = date[0]; var endVal = date[1]; + var startErr = getErrorState(startVal, endVal); + var endErr = getErrorState(endVal, startVal); + + if (startErr !== null && endErr !== null) { + setState({ + startError: startErr, + endError: endErr + }); + } + if (!startVal || startVal.includes(placeholderChar)) setState({ startDate: undefined }); @@ -9190,10 +11504,12 @@ }); }; - return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, null, label && /*#__PURE__*/React__namespace.createElement(Label, { + return /*#__PURE__*/React__namespace.createElement(Row, { + "data-test": "DesignSystem-DateRangePicker-SingleInputTrigger" + }, /*#__PURE__*/React__namespace.createElement(Column, null, label && /*#__PURE__*/React__namespace.createElement(Label, { required: inputOptions.required, withInput: true - }, label), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ + }, label), /*#__PURE__*/React__namespace.createElement(X, __assign({ icon: "events", placeholder: inputFormat + " - " + inputFormat }, inputOptions, { @@ -9205,11 +11521,14 @@ onBlur: function onBlur(e, val) { onBlurHandler(e, val || ''); }, + onPaste: function onPaste(e, val) { + onPasteHandler(e, val || ''); + }, onClear: onClearHandler, error: showError, caption: showError ? errorMessage : '', validators: [inputValidator], - clearOnEmptyBlur: false + clearOnEmptyBlur: true })))); }; @@ -9264,11 +11583,9 @@ }; }; var getCustomDates = function getCustomDates() { - var current = new Date(); - var currentDate = current.getDate(); return { - startDate: setDate(currentDate), - endDate: setDate(currentDate) + startDate: '', + endDate: '' }; }; @@ -9373,6 +11690,14 @@ }; _this.onToggleHandler = function (o, type) { + var _a = _this.props, + singleInput = _a.singleInput, + inputOptions = _a.inputOptions, + startInputOptions = _a.startInputOptions, + endInputOptions = _a.endInputOptions; + var disabled = singleInput ? inputOptions.disabled : startInputOptions.disabled || endInputOptions.disabled; + if (disabled) return; + switch (type) { case 'outsideClick': _this.setState({ @@ -9490,6 +11815,12 @@ if (!startError) onRangeChange(startDate, undefined, sValue, eValue);else if (!endError) onRangeChange(undefined, endDate, sValue, eValue);else onRangeChange(undefined, undefined, sValue, eValue); } } + + if (this.state.startDate && this.state.endDate) { + this.setState({ + open: false + }); + } } }; @@ -9547,7 +11878,7 @@ contentAlign = _b.contentAlign, children = _b.children; var open = this.state.open; - var RangePickerClass = classNames__default['default']((_a = {}, _a['DateRangePicker'] = true, _a["DateRangePicker--" + contentAlign] = contentAlign, _a)); + var RangePickerClass = classNames__default["default"]((_a = {}, _a['DateRangePicker'] = true, _a["DateRangePicker--" + contentAlign] = contentAlign, _a)); if (withInput) { var trigger = singleInput ? /*#__PURE__*/React__namespace.createElement(SingleInputTrigger, { @@ -9578,6 +11909,15 @@ return this.renderCalendar(); }; + DateRangePicker.utils = { + getCurrentWeek: getCurrentWeek, + getPreviousWeek: getPreviousWeek, + getPreviousMonth: getPreviousMonth, + getPrevious90Days: getPrevious90Days, + getCustomDates: getCustomDates, + getCurrentYear: getCurrentYear, + getCurrentMonth: getCurrentMonth + }; DateRangePicker.defaultProps = __assign(__assign({}, Calendar.defaultProps), { children: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null), contentAlign: 'left', @@ -9598,15 +11938,6 @@ }); return DateRangePicker; }(React__namespace.Component); - DateRangePicker.utils = { - getCurrentWeek: getCurrentWeek, - getPreviousWeek: getPreviousWeek, - getPreviousMonth: getPreviousMonth, - getPrevious90Days: getPrevious90Days, - getCustomDates: getCustomDates, - getCurrentYear: getCurrentYear, - getCurrentMonth: getCurrentMonth - }; var TabsWrapper = function TabsWrapper(props) { var _a; @@ -9625,7 +11956,7 @@ React__namespace.useEffect(function () { setActiveTab(props.active && props.active < totalTabs ? props.active : 0); }, [props.active]); - var wrapperClass = classNames__default['default']((_a = {}, _a['TabsWrapper'] = true, _a), className); + var wrapperClass = classNames__default["default"]((_a = {}, _a['TabsWrapper'] = true, _a), className); var tabClickHandler = function tabClickHandler(tabIndex) { setActiveTab(tabIndex); @@ -9638,7 +11969,7 @@ var _b = child.props, label = _b.label, disabled = _b.disabled; - var tabHeaderClass = classNames__default['default']((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && active === index, _a)); + var tabHeaderClass = classNames__default["default"]((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && active === index, _a)); return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Tabs--Header", key: index, @@ -9667,33 +11998,78 @@ }; Tab.displayName = 'Tab'; + var getChildrenArray = function getChildrenArray(children) { + return Array.isArray(children) ? children : [children]; + }; + + var filterTabs = function filterTabs(children) { + var childrenArray = getChildrenArray(children); + var tabs = childrenArray.filter(function (element) { + return typeof element.type === 'function' && element.type.name === Tab.name; + }); + return tabs; + }; + + var filterInlineComponent = function filterInlineComponent(children) { + var childrenArray = getChildrenArray(children); + var inlineComponent = childrenArray.filter(function (element) { + return !(typeof element.type === 'function' && element.type.name === Tab.name); + }); + return inlineComponent; + }; + var Tabs = function Tabs(props) { - var _a; + var _a, _b, _c; - var tabs = props.tabs, + var children = props.children, withSeparator = props.withSeparator, onTabChange = props.onTabChange, - className = props.className; + className = props.className, + headerClassName = props.headerClassName; var baseProps = extractBaseProps(props); + var tabRefs = []; + var tabs = children ? filterTabs(children) : props.tabs; + var inlineComponent = children ? filterInlineComponent(children) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); var totalTabs = tabs.length; - var _b = React__namespace.useState(props.activeIndex && props.activeIndex < totalTabs ? props.activeIndex : 0), - activeIndex = _b[0], - setActiveTab = _b[1]; + var _d = React__namespace.useState(props.activeIndex && props.activeIndex < totalTabs ? props.activeIndex : 0), + activeIndex = _d[0], + setActiveTab = _d[1]; React__namespace.useEffect(function () { if (props.activeIndex !== undefined && props.activeIndex < totalTabs) { setActiveTab(props.activeIndex); } }, [props.activeIndex]); - var tabsClass = classNames__default['default']((_a = {}, _a['Tabs'] = true, _a['Tabs--withSeparator'] = withSeparator, _a), className); + var wrapperClass = classNames__default["default"]((_a = {}, _a['TabsWrapper'] = true, _a), className); + var headerClass = classNames__default["default"]((_b = {}, _b['TabsWrapper-header'] = true, _b['TabsWrapper-header--withSeparator'] = withSeparator, _b), className, headerClassName); var getPillsClass = function getPillsClass(disabled) { var _a; - return classNames__default['default']((_a = {}, _a['Tabs-pills'] = true, _a['Tabs-pills--disabled'] = disabled, _a)); + return classNames__default["default"]((_a = {}, _a['Tab-pills'] = true, _a['Tab-pills--disabled'] = disabled, _a)); + }; + + var getActiveTabClass = function getActiveTabClass() { + var _a; + + var activeTab; + var activeTabClass; + + if (tabs && tabs.length && tabs[activeIndex] && 'props' in tabs[activeIndex]) { + activeTab = tabs[activeIndex]; + activeTabClass = (_a = activeTab.props) === null || _a === void 0 ? void 0 : _a.className; + } else { + activeTab = tabs[activeIndex]; + activeTabClass = activeTab && activeTab.className; + } + + return activeTabClass; }; + var activeTabClass = getActiveTabClass(); + var tabContentClass = classNames__default["default"]((_c = {}, _c['TabsWrapper-content'] = true, _c["" + activeTabClass] = activeTabClass, _c)); + var tabClickHandler = function tabClickHandler(tabIndex, isKeyboard) { var _a; @@ -9705,8 +12081,6 @@ if (onTabChange) onTabChange(tabIndex); }; - var tabRefs = []; - var tabKeyDownHandler = function tabKeyDownHandler(event, tabIndex) { if (event.key === 'Enter') { tabClickHandler(tabIndex, true); @@ -9724,9 +12098,13 @@ }; var renderInfo = function renderInfo(tab, index) { - var count = tab.count, - icon = tab.icon, - disabled = tab.disabled; + var _a; + + var _b = tab, + count = _b.count, + icon = _b.icon, + disabled = _b.disabled, + iconVariations = _b.iconVariations; if (count !== undefined) { return /*#__PURE__*/React__namespace.createElement(Pills, { @@ -9736,12 +12114,15 @@ }, count); } + var iconClass = classNames__default["default"]((_a = {}, _a['Tab-selected'] = !disabled && activeIndex === index, _a)); + if (icon) { var iconAppearance = activeIndex === index ? 'info' : disabled ? 'disabled' : 'subtle'; return /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-Tabs--Icon", - className: "mr-4", + className: "mr-4 " + iconClass, name: icon, + variations: iconVariations, appearance: iconAppearance }); } @@ -9749,44 +12130,101 @@ return null; }; - var renderTabs = function renderTabs() { - return tabs.map(function (tab, index) { + var renderDismissIcon = function renderDismissIcon(tab, index, onDismiss) { + var _a = tab, + disabled = _a.disabled, + label = _a.label; + var iconAppearance = activeIndex === index ? 'info' : disabled ? 'disabled' : 'subtle'; + + var dismissIconClass = function dismissIconClass(disabled) { var _a; - var label = tab.label, - disabled = tab.disabled; - var textAppearance = activeIndex === index ? 'link' : disabled ? 'disabled' : 'subtle'; - var tabHeaderClass = classNames__default['default']((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && activeIndex === index, _a)); - return /*#__PURE__*/React__namespace.createElement("div", { - ref: function ref(element) { - return element && !disabled && tabRefs.push(element); - }, - "data-test": "DesignSystem-Tabs--Tab", - key: index, - className: tabHeaderClass, - onClick: function onClick() { - return !disabled && tabClickHandler(index); - }, - onKeyDown: function onKeyDown(event) { - return tabKeyDownHandler(event, index); - }, - tabIndex: activeIndex === index ? 0 : -1 - }, renderInfo(tab, index), /*#__PURE__*/React__namespace.createElement(Text, { - "data-test": "DesignSystem-Tabs--Text", - appearance: textAppearance - }, label)); + return classNames__default["default"]((_a = {}, _a["DismissibleTab-icon--right"] = true, _a['DismissibleTab-icon--default'] = !disabled && activeIndex !== index, _a["DismissibleTab-icon--selected"] = !disabled && activeIndex === index, _a['cursor-pointer'] = !disabled, _a['Tab-selected'] = !disabled && activeIndex === index, _a)); + }; + + var tabInfo = { + label: label, + activeIndex: activeIndex, + currentTabIndex: index + }; + + var onCloseHandler = function onCloseHandler(e) { + e.stopPropagation(); + if (onDismiss) onDismiss(tabInfo); + }; + + return /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-DismissibleTabs--Icon", + name: "clear", + appearance: iconAppearance, + className: dismissIconClass(disabled), + onClick: !disabled ? onCloseHandler : undefined, + tabIndex: disabled ? -1 : 0 }); }; + var renderTab = function renderTab(tab, index) { + var _a; + + var _b = tab, + _c = _b.label, + label = _c === void 0 ? '' : _c, + disabled = _b.disabled, + isDismissible = _b.isDismissible, + _d = _b.onDismiss, + onDismiss = _d === void 0 ? function () {} : _d; + + if (typeof label !== 'string') { + return label; + } + + var textAppearance = activeIndex === index ? 'link' : disabled ? 'disabled' : 'subtle'; + var tabTextClass = classNames__default["default"]((_a = {}, _a['Tab-selected'] = !disabled && activeIndex === index, _a)); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, renderInfo(tab, index), /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-Tabs--Text", + appearance: textAppearance, + className: tabTextClass + }, label), isDismissible && renderDismissIcon(tab, index, onDismiss)); + }; + + var renderTabs = tabs.map(function (tab, index) { + var _a; + + var currentTabProp = children && 'props' in tab ? tab.props : tab; + var disabled = currentTabProp.disabled; + var tabHeaderClass = classNames__default["default"]((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && activeIndex === index, _a['Tab-selected'] = !disabled && activeIndex === index, _a['align-items-center'] = true, _a)); + return /*#__PURE__*/React__namespace.createElement("div", { + ref: function ref(element) { + return element && !disabled && tabRefs.push(element); + }, + "data-test": "DesignSystem-Tabs--Tab", + key: index, + className: tabHeaderClass, + onClick: function onClick() { + return !disabled && tabClickHandler(index); + }, + onKeyDown: function onKeyDown(event) { + return tabKeyDownHandler(event, index); + }, + tabIndex: disabled ? -1 : 0 + }, renderTab(currentTabProp, index)); + }); return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Tabs" }, baseProps, { - className: tabsClass - }), renderTabs()); + className: wrapperClass + }), /*#__PURE__*/React__namespace.createElement("div", { + className: headerClass, + "data-test": "DesignSystem-Tabs--Header" + }, renderTabs, inlineComponent), children && /*#__PURE__*/React__namespace.createElement("div", { + className: tabContentClass, + "data-test": "DesignSystem-Tabs--Content" + }, tabs[activeIndex])); }; Tabs.displayName = 'Tabs'; Tabs.defaultProps = { - withSeparator: true + withSeparator: true, + tabs: [] }; var accepts = function accepts(file, acceptedFiles) { @@ -9996,7 +12434,7 @@ }); }; - var COMMON_MIME_TYPES = new Map([['avi', 'video/avi'], ['gif', 'image/gif'], ['ico', 'image/x-icon'], ['jpeg', 'image/jpeg'], ['jpg', 'image/jpeg'], ['mkv', 'video/x-matroska'], ['mov', 'video/quicktime'], ['mp4', 'video/mp4'], ['pdf', 'application/pdf'], ['png', 'image/png'], ['zip', 'application/zip'], ['doc', 'application/msword'], ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document']]); + var COMMON_MIME_TYPES = new Map([['gif', 'image/gif'], ['ico', 'image/x-icon'], ['jpeg', 'image/jpeg'], ['jpg', 'image/jpeg'], ['png', 'image/png'], ['bmp', 'image/bmp'], ['tif', 'image/tiff'], ['tiff', 'image/tiff'], ['apng', 'image/apng'], ['avif', 'image/avif'], ['jfif', 'image/jpeg'], ['pjpeg', 'image/pjpeg'], ['pjp', 'image/jpeg'], ['svg', 'image/svg+xml'], ['webp', 'image/webp'], ['cur', 'image/x-win-bitmap'], ['MTS', 'model/vnd.mts'], ['roq', 'video'], ['f4a', 'video'], ['f4b', 'video'], ['drc', 'video'], ['nsv', 'video'], ['avi', 'video/x-msvideo'], ['mkv', 'video/x-matroska'], ['mov', 'video/quicktime'], ['mp4', 'video/mp4'], ['webm', 'video/webm'], ['flv', 'video/x-flv'], ['vob', 'video/x-ms-vob'], ['ogv', 'video/ogg'], ['ogg', 'application/ogg'], ['gifv', 'image/gif'], ['mng', 'video/x-mng'], ['M2TS', 'video/MP2T'], ['TS', 'video/mp2t'], ['qt', 'video/quicktime'], ['wmv', 'video/x-ms-wmv'], ['yuv', 'application/octet-stream'], ['rm', 'application/vnd.rn-realmedia'], ['rmvb', 'application/vnd.rn-realmedia-vbr'], ['viv', 'video/vnd.vivo'], ['asf', 'video/x-ms-asf'], ['amv', 'video/x-amv'], ['m4v', 'video/x-m4v'], ['mpg', 'video/mpeg'], ['mpeg', 'video/mpeg'], ['mpe', 'video/mpeg'], ['mpv', 'video/mpv'], ['m2v', 'video/mpeg'], ['svi', 'video/x-msvideo'], ['3gp', 'video/3gpp'], ['3g2', 'video/3gpp2'], ['mxf', 'application/mxf'], ['flv', 'video/x-flv'], ['f4v', 'video/x-f4v'], ['f4p', 'video/mp4'], ['aa', 'audio'], ['aax', 'audio'], ['act', 'audio'], ['alac', 'audio'], ['ape', 'audio'], ['awb', 'audio'], ['dss', 'audio'], ['dvf', 'audio'], ['iklax', 'audio'], ['ivs', 'audio'], ['msv', 'audio'], ['nmf', 'audio'], ['mogg', 'audio'], ['raw', 'audio'], ['rf64', 'audio'], ['sln', 'audio'], ['wv', 'audio'], ['8svx', 'audio'], ['3gp', 'audio/3gpp'], ['mp2', 'audio/mpeg'], ['aac', 'audio/x-aac'], ['aiff', 'audio/x-aiff'], ['amr', 'audio/amr'], ['au', 'audio/basic'], ['flac', 'audio/x-flac'], ['gsm', 'audio/gsm'], ['m4a', 'audio/mp4a-latm'], ['m4b', 'audio/mp4a-latm'], ['m4p', 'audio/mp4a-latm'], ['mmf', 'application/vnd.smaf'], ['mp3', 'audio/mpeg'], ['ogg', 'audio/ogg'], ['oga', 'audio/ogg'], ['opus', 'audio/opus'], ['tta', 'audio/x-tta'], ['voc', 'audio/x-voice'], ['wav', 'audio/x-wav'], ['wma', 'audio/x-ms-wma'], ['webm', 'audio/webm'], ['cda ', 'application/x-cdf'], ['ra', 'audio/x-pn-realaudio'], ['vox', 'application/x-authorware-bin'], ['rm', 'application/vnd.rn-realmedia'], ['mpc', 'application/vnd.mophun.certificate'], ['pdf', 'application/pdf'], ['zip', 'application/zip'], ['doc', 'application/msword'], ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'], ['xlss', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'], ['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'], ['xls', 'application/vnd.ms-excel'], ['odt', 'application/vnd.oasis.opendocument.text'], ['tex', 'application/x-tex'], ['wpd', 'application/wordperfect'], ['ods', 'application/vnd.oasis.opendocument.spreadsheet'], ['csv', 'text/csv'], ['rtf', 'text/rtf'], ['txt', 'text/plain'], ['tsv', 'text/tab-separated-values']]); var FILES_TO_IGNORE = ['.DS_Store', 'Thumbs.db']; function fromEvent(evt) { return __awaiter(this, void 0, void 0, function () { @@ -10255,7 +12693,7 @@ dispatch({ type: 'openDialog' }); - inputRef.current.value = null; + inputRef.current.value = ''; inputRef.current.click(); } }, [dispatch]); @@ -10266,7 +12704,7 @@ if (inputRef.current) { var files = inputRef.current.files; - if (!files.length) { + if (!files || !files.length) { dispatch({ type: 'closeDialog' }); @@ -10309,7 +12747,7 @@ var dragTargetsRef = React.useRef([]); var onDocumentDrop = function onDocumentDrop(event) { - if (rootRef.current && rootRef.current.contains(event.target)) { + if (event.target instanceof HTMLDivElement && rootRef.current && rootRef.current.contains(event.target)) { return; } @@ -10430,11 +12868,12 @@ errors = errors.concat(customErrors); } + var filteredErrors = errors.filter(function (e) { + return e; + }); fileRejections.push({ file: file, - errors: errors.filter(function (e) { - return e; - }) + errors: filteredErrors }); } }); @@ -10463,16 +12902,8 @@ }); }, [multiple, accept, minSize, maxSize, getFilesFromEvent, onDrop, onDropAccepted, onDropRejected]); - var composeHandler = function composeHandler(fn) { - return disabled ? null : fn; - }; - - var composeKeyboardHandler = function composeKeyboardHandler(_fn) { - return null; - }; - var composeDragHandler = function composeDragHandler(fn) { - return composeHandler(fn); + return disabled ? null : fn; }; var getRootProps = React.useMemo(function () { @@ -10484,10 +12915,10 @@ } var _c = _a.refKey, - refKey = _c === void 0 ? 'ref' : _c, - onKeyDown = _a.onKeyDown, - onFocus = _a.onFocus, - onBlur = _a.onBlur; + refKey = _c === void 0 ? 'ref' : _c; + _a.onKeyDown; + _a.onFocus; + _a.onBlur; _a.onClick; var onDragEnterCallback = _a.onDragEnterCallback, onDragOverCallback = _a.onDragOverCallback, @@ -10496,9 +12927,6 @@ rest = __rest(_a, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnterCallback", "onDragOverCallback", "onDragLeaveCallback", "onDropCallback"]); return __assign((_b = { - onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)), - onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)), - onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)), onDragEnter: composeDragHandler(composeEventHandlers(onDragEnterCallback, onDragEnterCb)), onDragOver: composeDragHandler(composeEventHandlers(onDragOverCallback, onDragOverCb)), onDragLeave: composeDragHandler(composeEventHandlers(onDragLeaveCallback, onDragLeaveCb)), @@ -10530,8 +12958,8 @@ style: { display: 'none' }, - onChange: composeHandler(composeEventHandlers(onChange, onDropCb)), - onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)), + onChange: composeDragHandler(composeEventHandlers(onChange, onDropCb)), + onClick: composeDragHandler(composeEventHandlers(onClick, onInputElementClick)), autoComplete: 'off', tabIndex: -1 }, _b[refKey] = inputRef, _b); @@ -10564,7 +12992,7 @@ draggedFiles: draggedFiles, fileError: fileError, isFocused: isFocused && !disabled, - open: composeHandler(openFileDialog) + open: composeDragHandler(openFileDialog) }); }; DropzoneBase.displayName = 'DropzoneBase'; @@ -10580,16 +13008,34 @@ } }; - var DropzoneActive = function DropzoneActive(props) { - var _a; + var svgCode = { + active: 'M14.6667 53.3333C13.6 53.3333 12.6667 52.9333 11.8667 52.1333C11.0667 51.3333 10.6667 50.4 10.6667 49.3333V39.8H14.6667V49.3333H49.3333V39.8H53.3333V49.3333C53.3333 50.4 52.9333 51.3333 52.1333 52.1333C51.3333 52.9333 50.4 53.3333 49.3333 53.3333H14.6667ZM30 43.1333V18.4L22 26.4L19.1333 23.5333L32 10.6666L44.8667 23.5333L42 26.4L34 18.4V43.1333H30Z', + "default": 'M14.6667 53.3334C13.6 53.3334 12.6667 52.9334 11.8667 52.1334C11.0667 51.3334 10.6667 50.4 10.6667 49.3334V39.8H14.6667V49.3334H49.3333V39.8H53.3333V49.3334C53.3333 50.4 52.9333 51.3334 52.1333 52.1334C51.3333 52.9334 50.4 53.3334 49.3333 53.3334H14.6667ZM32 43.1334L19.1333 30.2667L22 27.4L30 35.4V10.6667H34V35.4L42 27.4L44.8667 30.2667L32 43.1334Z', + error: 'M31.9988 45.3334C32.6218 45.3334 33.1444 45.1227 33.5667 44.7012C33.9889 44.2798 34.2 43.7575 34.2 43.1346C34.2 42.5115 33.9893 41.9889 33.5679 41.5667C33.1464 41.1445 32.6242 40.9334 32.0012 40.9334C31.3782 40.9334 30.8555 41.1441 30.4333 41.5655C30.0111 41.987 29.8 42.5092 29.8 43.1322C29.8 43.7552 30.0107 44.2778 30.4321 44.7C30.8536 45.1223 31.3758 45.3334 31.9988 45.3334ZM32.2117 35.1334C32.7817 35.1334 33.2555 34.9417 33.6333 34.5584C34.0111 34.175 34.2 33.7 34.2 33.1334V20.2667C34.2 19.7 34.0072 19.225 33.6217 18.8417C33.2361 18.4584 32.7583 18.2667 32.1883 18.2667C31.6183 18.2667 31.1444 18.4584 30.7667 18.8417C30.3889 19.225 30.2 19.7 30.2 20.2667V33.1334C30.2 33.7 30.3928 34.175 30.7783 34.5584C31.1639 34.9417 31.6417 35.1334 32.2117 35.1334ZM32.0177 58.6667C28.3407 58.6667 24.8851 57.9667 21.6511 56.5667C18.417 55.1667 15.5889 53.2556 13.1667 50.8334C10.7444 48.4111 8.83333 45.5813 7.43333 42.344C6.03333 39.1066 5.33333 35.6475 5.33333 31.9667C5.33333 28.2859 6.03333 24.8268 7.43333 21.5894C8.83333 18.3521 10.7444 15.5334 13.1667 13.1334C15.5889 10.7334 18.4187 8.83337 21.6561 7.43337C24.8934 6.03337 28.3525 5.33337 32.0333 5.33337C35.7142 5.33337 39.1733 6.03337 42.4106 7.43337C45.648 8.83337 48.4667 10.7334 50.8667 13.1334C53.2667 15.5334 55.1667 18.3556 56.5667 21.6C57.9667 24.8445 58.6667 28.3052 58.6667 31.9823C58.6667 35.6594 57.9667 39.1149 56.5667 42.349C55.1667 45.583 53.2667 48.4071 50.8667 50.8211C48.4667 53.2351 45.6444 55.1463 42.4 56.5544C39.1555 57.9626 35.6948 58.6667 32.0177 58.6667Z' + }; + + var DropzoneIcon = function DropzoneIcon(props) { + var IconStyle = { + height: 'var(--spacing-5)', + width: 'var(--spacing-5)' + }; + return /*#__PURE__*/React__default["default"].createElement("svg", { + style: IconStyle, + className: "Dropzone-icon--" + props.type, + viewBox: "0 0 64 64", + fill: "none", + xmlns: "http://www.w3.org/2000/svg" + }, /*#__PURE__*/React__default["default"].createElement("path", { + d: svgCode[props.name], + className: props.disabled ? 'Dropzone-icon--disabled' : "Dropzone-icon--" + props.name + })); + }; + var DropzoneActive = function DropzoneActive(props) { var type = props.type; - var IconClass = classNames__default['default']((_a = {}, _a['Dropzone-stateIcon'] = true, _a["Dropzone-stateIcon--" + type] = type, _a)); - return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { - name: "archive", - size: 64, - appearance: "info", - className: IconClass + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(DropzoneIcon, { + name: "active", + type: type }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "link", size: "large", @@ -10599,16 +13045,11 @@ DropzoneActive.displayName = 'DropzoneActive'; var DropzoneError = function DropzoneError(props) { - var _a; - var type = props.type, error = props.error; - var IconClass = classNames__default['default']((_a = {}, _a['Dropzone-stateIcon'] = true, _a["Dropzone-stateIcon--" + type] = type, _a)); - return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { - name: "error", - size: 64, - appearance: "alert", - className: IconClass + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(DropzoneIcon, { + type: type, + name: "error" }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "destructive", size: "large", @@ -10618,7 +13059,7 @@ DropzoneError.displayName = 'DropzoneError'; var Dropzone = function Dropzone(props) { - var _a, _b, _c; + var _a, _b; var type = props.type, sizeLabel = props.sizeLabel, @@ -10627,73 +13068,60 @@ sampleFileLink = props.sampleFileLink, disabled = props.disabled; - var _d = DropzoneBase(props), - open = _d.open, - getRootProps = _d.getRootProps, - getInputProps = _d.getInputProps, - isDragActive = _d.isDragActive, - isDragReject = _d.isDragReject, - fileError = _d.fileError; + var _c = DropzoneBase(props), + open = _c.open, + getRootProps = _c.getRootProps, + getInputProps = _c.getInputProps, + isDragActive = _c.isDragActive, + isDragReject = _c.isDragReject, + fileError = _c.fileError; var baseProps = extractBaseProps(props); - var DropzoneClass = classNames__default['default']((_a = {}, _a['Dropzone'] = true, _a["Dropzone--" + type] = type, _a['Dropzone--disabled'] = disabled, _a['Dropzone--active'] = isDragActive, _a['Dropzone--error'] = isDragReject, _a), className); - var IconClass = classNames__default['default']((_b = {}, _b['Dropzone-icon'] = true, _b["Dropzone-icon--" + type] = true, _b['Dropzone-icon--disabled'] = disabled, _b)); - var WrapperClass = classNames__default['default']((_c = {}, _c['DropzoneWrapper'] = true, _c["DropzoneWrapper--" + type] = true, _c)); - - if (isDragReject) { - return /*#__PURE__*/React__default['default'].createElement("div", __assign({}, getRootProps(), baseProps, { - className: DropzoneClass - }), /*#__PURE__*/React__default['default'].createElement(DropzoneError, { - type: type, - error: fileErrorMessages[fileError] - })); - } - - if (isDragActive) { - return /*#__PURE__*/React__default['default'].createElement("div", __assign({}, getRootProps(), baseProps, { - className: DropzoneClass - }), /*#__PURE__*/React__default['default'].createElement(DropzoneActive, { - type: type - })); - } + var DropzoneClass = classNames__default["default"]((_a = {}, _a['Dropzone'] = true, _a["Dropzone--" + type] = type, _a['Dropzone--disabled'] = disabled, _a['Dropzone--active'] = isDragActive, _a['Dropzone--error'] = isDragReject, _a['Dropzone-animation'] = true, _a['Dropzone-animation--default'] = !isDragActive && type !== 'standard', _a['Dropzone-animation--active'] = isDragActive && !isDragReject && type !== 'standard', _a['Dropzone-standard--default'] = !isDragActive && type === 'standard', _a['Dropzone-standard--active'] = isDragActive && !isDragReject && type === 'standard', _a), className); + var WrapperClass = classNames__default["default"]((_b = {}, _b['DropzoneWrapper'] = true, _b["DropzoneWrapper--" + type] = true, _b)); var renderDropzone = function renderDropzone() { - if (isDragReject) return /*#__PURE__*/React__default['default'].createElement(DropzoneError, { + if (isDragReject) return /*#__PURE__*/React__namespace.createElement(DropzoneError, { type: type, error: fileErrorMessages[fileError] }); - if (isDragActive) return /*#__PURE__*/React__default['default'].createElement(DropzoneActive, { + if (isDragActive) return /*#__PURE__*/React__namespace.createElement(DropzoneActive, { type: type }); - return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, type !== 'tight' && /*#__PURE__*/React__default['default'].createElement(Icon, { - name: "backup", - size: 64, - className: IconClass - }), /*#__PURE__*/React__default['default'].createElement("div", { - className: WrapperClass - }, /*#__PURE__*/React__default['default'].createElement("span", null, /*#__PURE__*/React__default['default'].createElement(Text, { + var buttonAccessibilityProps = useAccessibilityProps({ + onClick: open, + 'aria-label': 'Drag your files here or click to select files' + }); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(DropzoneIcon, { + disabled: disabled, + name: "default", + type: type + }), /*#__PURE__*/React__namespace.createElement("div", { + className: WrapperClass, + "data-test": "DesignSystem-Dropzone-Wrapper" + }, /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(Text, { size: "large", weight: "strong", className: "mr-2", appearance: disabled ? 'disabled' : 'default' - }, "Drag your files here or"), /*#__PURE__*/React__default['default'].createElement("span", { - className: "cursor-pointer", - onClick: open - }, /*#__PURE__*/React__default['default'].createElement(Text, { + }, "Drag your files here or"), /*#__PURE__*/React__namespace.createElement(Text, __assign({ + tabIndex: disabled ? -1 : 0, + className: "ml-2 cursor-pointer", size: "large", weight: "strong", appearance: disabled ? 'disabled' : 'link' - }, " browse files")), /*#__PURE__*/React__default['default'].createElement("input", __assign({}, getInputProps()))), formatLabel && /*#__PURE__*/React__default['default'].createElement(Text, { + }, buttonAccessibilityProps), "browse files"), /*#__PURE__*/React__namespace.createElement("input", __assign({}, getInputProps()))), formatLabel && /*#__PURE__*/React__namespace.createElement(Text, { appearance: disabled ? 'disabled' : 'subtle' - }, formatLabel), sizeLabel && /*#__PURE__*/React__default['default'].createElement(Text, { + }, formatLabel), sizeLabel && /*#__PURE__*/React__namespace.createElement(Text, { appearance: disabled ? 'disabled' : 'subtle' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React__default['default'].createElement("div", { + }, sizeLabel), sampleFileLink && /*#__PURE__*/React__namespace.createElement("div", { className: "mt-5" }, sampleFileLink))); }; - return /*#__PURE__*/React__default['default'].createElement("div", __assign({}, getRootProps(), baseProps, { - className: DropzoneClass + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, getRootProps(), baseProps, { + className: DropzoneClass, + "data-test": "DesignSystem-Dropzone" }), renderDropzone()); }; Dropzone.displayName = 'Dropzone'; @@ -10728,15 +13156,17 @@ id = props.id, _onChange = props.onChange; var baseProps = extractBaseProps(props); - var FileUploaderButtonClass = classNames__default['default']((_a = {}, _a['FileUploaderButton'] = true, _a), className); + var FileUploaderButtonClass = classNames__default["default"]((_a = {}, _a['FileUploaderButton'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileUploaderButtonClass }), /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", disabled: disabled, icon: "backup" }, uploadButtonLabel), /*#__PURE__*/React__namespace.createElement("input", { name: name, id: id, + "data-test": "DesignSystem-FileUploaderButton--Input", accept: accept && accept.join(', '), multiple: multiple, disabled: disabled, @@ -10772,9 +13202,10 @@ name = props.name, onChange = props.onChange; var baseProps = extractBaseProps(props); - var FileUploaderClass = classNames__default['default']((_a = {}, _a['FileUploader'] = true, _a), className); + var FileUploaderClass = classNames__default["default"]((_a = {}, _a['FileUploader'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: FileUploaderClass + className: FileUploaderClass, + "data-test": "DesignSystem-FileUploader" }), /*#__PURE__*/React__namespace.createElement(Text, { weight: "medium" }, title), /*#__PURE__*/React__namespace.createElement(FileUploaderFormat, { @@ -10848,8 +13279,9 @@ className = props.className; var name = file.name; var baseProps = extractBaseProps(props); - var FileItemClass = classNames__default['default']((_a = {}, _a['FileUploaderItem'] = true, _a), className); + var FileItemClass = classNames__default["default"]((_a = {}, _a['FileUploaderItem'] = true, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { + "data-test": "DesignSystem-FileUploader--Item", className: FileItemClass, onClick: function onClick() { return _onClick && _onClick(file, id); @@ -10870,15 +13302,18 @@ return _onRetry && _onRetry(file, id); } }), /*#__PURE__*/React__namespace.createElement(Button, { + "data-test": "DesignSystem-FileUploader--CancelButton", appearance: "transparent", size: "regular", onClick: function onClick() { return onDelete && onDelete(file, id); }, icon: "close" - }))), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { - error: true - }, errorMessage)); + }))), status === 'error' && /*#__PURE__*/React__namespace.createElement(InlineMessage, { + size: "small", + appearance: "alert", + description: errorMessage + })); }; FileUploaderItem.defaultProps = { status: 'completed', @@ -10896,10 +13331,11 @@ onRetry = props.onRetry, className = props.className; var baseProps = extractBaseProps(props); - var FileListClass = classNames__default['default']((_a = {}, _a['FileUploaderList'] = true, _a), className); + var FileListClass = classNames__default["default"]((_a = {}, _a['FileUploaderList'] = true, _a), className); if (fileList.length === 0) return null; return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: FileListClass + className: FileListClass, + "data-test": "DesignSystem-FileUploader--List" }), fileList.map(function (fileName, i) { return /*#__PURE__*/React__namespace.createElement(FileUploaderItem, __assign({ key: i, @@ -11008,12 +13444,15 @@ return sizes[cellType]; } - var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate) { + var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate, selectDisabledRow) { var updatedData = __spreadArrays(data); for (var _i = 0, rowIndexes_1 = rowIndexes; _i < rowIndexes_1.length; _i++) { var rowIndex = rowIndexes_1[_i]; - updatedData[rowIndex] = __assign(__assign({}, updatedData[rowIndex]), dataUpdate); + + if (data[rowIndex].disabled && selectDisabledRow || !data[rowIndex].disabled) { + updatedData[rowIndex] = __assign(__assign({}, updatedData[rowIndex]), dataUpdate); + } } return updatedData; @@ -11120,7 +13559,11 @@ var getTotalPages = function getTotalPages(totalRecords, pageSize) { return Math.ceil(totalRecords / pageSize); }; - var getSelectAll = function getSelectAll(data) { + var getSelectAll = function getSelectAll(tableData, selectDisabledRow) { + var data = tableData.filter(function (d) { + return d.disabled && selectDisabledRow || !d.disabled; + }); + if (data.length) { var anyUnSelected = data.some(function (d) { return !d._selected; @@ -11174,33 +13617,31 @@ showFilters: true }; - var context = /*#__PURE__*/React__default['default'].createContext(__assign(__assign({}, defaultProps$1), { + var context = /*#__PURE__*/React__namespace.createContext(__assign(__assign({}, defaultProps$1), { ref: null })); var GridProvider = context.Provider; - var GridNestedRow = function GridNestedRow(props) { - var context$1 = React__namespace.useContext(context); - var schema = context$1.schema, - loading = context$1.loading, - nestedRowRenderer = context$1.nestedRowRenderer; - var data = props.data, - rowIndex = props.rowIndex; - if (nestedRowRenderer) return nestedRowRenderer({ - data: data, - schema: schema, - loading: loading, - rowIndex: rowIndex - }); - return null; - }; - var HeaderCell = function HeaderCell(props) { var context$1 = React__namespace.useContext(context); var schema = props.schema, + setIsDragged = props.setIsDragged, + colIndex = props.colIndex, + onSelectAll = props.onSelectAll, onMenuChange = props.onMenuChange, onFilterChange = props.onFilterChange, - updateColumnSchema = props.updateColumnSchema; + updateColumnSchema = props.updateColumnSchema, + reorderColumn = props.reorderColumn; + var headProps = { + schema: schema, + colIndex: colIndex, + onSelectAll: onSelectAll, + onMenuChange: onMenuChange, + onFilterChange: onFilterChange, + updateColumnSchema: updateColumnSchema, + reorderColumn: reorderColumn, + setIsDragged: setIsDragged + }; var loading = context$1.loading, draggable = context$1.draggable, showMenu = context$1.showMenu, @@ -11223,11 +13664,11 @@ var sortOptions = [{ label: 'Sort Ascending', value: 'sortAsc', - icon: 'arrow_downward' + icon: 'arrow_upward' }, { label: 'Sort Descending', value: 'sortDesc', - icon: 'arrow_upward' + icon: 'arrow_downward' }]; var pinOptions = [{ label: 'Pin Left', @@ -11261,7 +13702,7 @@ var options = __spreadArrays(pinOptions, hideOptions); if (sorting) options = __spreadArrays(sortOptions, options); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ 'Grid-headCell': true, 'Grid-headCell--draggable': draggable }); @@ -11280,9 +13721,9 @@ }, schema.displayName), sorting && /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-sortingIcons" }, sorted ? sorted === 'asc' ? /*#__PURE__*/React__namespace.createElement(Icon, { - name: "arrow_downward" - }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_upward" + }) : /*#__PURE__*/React__namespace.createElement(Icon, { + name: "arrow_downward" }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "unfold_more" }))); @@ -11294,6 +13735,7 @@ ref: el }, /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent", + "data-test": "DesignSystem-Grid-cellContent", onClick: function onClick() { if (!loading && sorting) { if (sorted === 'asc') onMenuChange(name, 'sortDesc'); @@ -11305,11 +13747,11 @@ withImage: false }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" - })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headCellTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { + })) : !schema.headerCellRenderer && headCellTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { position: "top-start", triggerClass: "w-100 overflow-hidden", tooltip: schema.displayName - }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { + }, renderLabel()) : schema.headerCellRenderer && !headCellTooltip ? schema.headerCellRenderer(headProps) : renderLabel()), showFilters && filters && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !isValidSchema ? /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { menu: true, showApplyButton: true, withCheckbox: true, @@ -11353,6 +13795,7 @@ resizeCol({ updateColumnSchema: updateColumnSchema }, name, el.current); + setIsDragged(false); } })); }; @@ -11363,7 +13806,8 @@ schema = props.schema, expandedState = props.expandedState, rowIndex = props.rowIndex, - colIndex = props.colIndex; + colIndex = props.colIndex, + nestedRowData = props.nestedRowData; var size = context$1.size, loading = context$1.loading, nestedRows = context$1.nestedRows; @@ -11378,20 +13822,15 @@ loading: loading, expanded: expanded }; - var nestedProps = { - data: data, - rowIndex: rowIndex - }; - var isNestedRowDisabled = !GridNestedRow(nestedProps); return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent" - }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React__namespace.createElement(Icon, { + }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, nestedRowData ? /*#__PURE__*/React__namespace.createElement(Icon, { className: 'Grid-nestedRowTrigger', name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', size: 20, appearance: 'default', onClick: function onClick(e) { - if (!isNestedRowDisabled) { + if (nestedRowData) { e.stopPropagation(); setExpanded(!expanded); } @@ -11405,18 +13844,20 @@ var Cell = function Cell(props) { var context$1 = React__namespace.useContext(context); - var isHead = props.isHead, - firstCell = props.firstCell, - schema = props.schema, - data = props.data, - rowIndex = props.rowIndex, - colIndex = props.colIndex, - expandedState = props.expandedState, - onSelectAll = props.onSelectAll, - onMenuChange = props.onMenuChange, - onFilterChange = props.onFilterChange, - updateColumnSchema = props.updateColumnSchema, - reorderColumn = props.reorderColumn; + var _a = props, + isHead = _a.isHead, + firstCell = _a.firstCell, + schema = _a.schema, + data = _a.data, + rowIndex = _a.rowIndex, + colIndex = _a.colIndex, + expandedState = _a.expandedState, + onSelectAll = _a.onSelectAll, + onMenuChange = _a.onMenuChange, + onFilterChange = _a.onFilterChange, + updateColumnSchema = _a.updateColumnSchema, + reorderColumn = _a.reorderColumn, + nestedRowData = _a.nestedRowData; var draggable = context$1.draggable, separator = context$1.separator, nestedRows = context$1.nestedRows, @@ -11425,19 +13866,24 @@ var name = schema.name, hidden = schema.hidden, pinned = schema.pinned, - _a = schema.cellType, - cellType = _a === void 0 ? 'DEFAULT' : _a; + _b = schema.cellType, + cellType = _b === void 0 ? 'DEFAULT' : _b; - var _b = getCellSize(cellType), - width = _b.width, - _c = _b.minWidth, - minWidth = _c === void 0 ? 96 : _c, - _d = _b.maxWidth, - maxWidth = _d === void 0 ? 800 : _d; + var _c = getCellSize(cellType), + width = _c.width, + _d = _c.minWidth, + minWidth = _d === void 0 ? 96 : _d, + _e = _c.maxWidth, + maxWidth = _e === void 0 ? 800 : _e; + + var _f = React__namespace.useState(false), + isDragged = _f[0], + setIsDragged = _f[1]; - var cellClass = classNames__default['default']({ + var cellClass = classNames__default["default"]({ 'Grid-cell': true, 'Grid-cell--head': isHead, + 'Grid-cell--dragged': isDragged && draggable, 'Grid-cell--body': !isHead, 'Grid-cell--separator': !firstCell && (schema.separator !== undefined ? schema.separator : separator), 'Grid-cell--nestedRow': !isHead && colIndex === 0 && nestedRows @@ -11449,15 +13895,27 @@ draggable: isHead && draggable, onDragStart: function onDragStart(e) { if (draggable) { + setIsDragged(true); e.dataTransfer.setData('name', name); if (pinned) e.dataTransfer.setData('type', pinned); } }, + onDrag: function onDrag() { + setIsDragged(false); + }, onDragOver: function onDragOver(e) { return e.preventDefault(); }, + onMouseUpCapture: function onMouseUpCapture() { + setIsDragged(false); + }, + onDragEnd: function onDragEnd(e) { + e.preventDefault(); + setIsDragged(false); + }, onDrop: function onDrop(e) { if (draggable) { + setIsDragged(false); var from = { name: e.dataTransfer.getData('name'), type: e.dataTransfer.getData('type') @@ -11466,7 +13924,7 @@ name: name, type: pinned || '' }; - if (from.type === to.type) reorderColumn(from.name, to.name); + if (from.type === to.type && reorderColumn) reorderColumn(from.name, to.name); } }, style: { @@ -11490,13 +13948,15 @@ onMenuChange: onMenuChange, onFilterChange: onFilterChange, updateColumnSchema: updateColumnSchema, - reorderColumn: reorderColumn + reorderColumn: reorderColumn, + setIsDragged: setIsDragged }) : /*#__PURE__*/React__namespace.createElement(BodyCell, { rowIndex: rowIndex, colIndex: colIndex, data: data, schema: schema, - expandedState: expandedState + expandedState: expandedState, + nestedRowData: nestedRowData })); }; @@ -11537,7 +13997,7 @@ var _a; if (currSchema.length) { - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _a["Grid-cellGroup--pinned-" + pinned] = pinned, _a['Grid-cellGroup--main'] = !pinned, _a)); @@ -11561,413 +14021,34 @@ })); } - return null; - }; - - return /*#__PURE__*/React__namespace.createElement("div", { - className: "Grid-head" - }, /*#__PURE__*/React__namespace.createElement("div", { - className: "Grid-row Grid-row--head" - }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); - }; - - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } - - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } - } - - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; - } - - function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; - } - - function _extends() { - _extends = Object.assign || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; - }; - - return _extends.apply(this, arguments); - } - - function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf(subClass, superClass); - } - - function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); - } - - function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); - } - - function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } - } - - function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - return target; - } - - function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - - var target = _objectWithoutPropertiesLoose(source, excluded); - - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; - } - - function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; - } - - function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; - } - - return _assertThisInitialized(self); - } - - function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - - return _possibleConstructorReturn(this, result); - }; - } - - var isInView = function isInView(container, element) { - var containerTop = container.offsetTop; - var elementRect = element.getBoundingClientRect(); - var elementTop = elementRect.top; - var elementHeight = elementRect.height; - return elementHeight - (containerTop - elementTop) > 0; - }; - - var VirtualScroll = /*#__PURE__*/function (_React$Component) { - _inherits(VirtualScroll, _React$Component); - - var _super = _createSuper(VirtualScroll); - - function VirtualScroll(props) { - var _this; - - _classCallCheck(this, VirtualScroll); - - _this = _super.call(this, props); - _this.state = { - offset: props.offset - }; - _this.lastScrollTop = 0; - _this.avgRowHeight = props.minItemHeight; - return _this; - } - - _createClass(VirtualScroll, [{ - key: "componentDidMount", - value: function componentDidMount() { - var _this2 = this; - - window.requestAnimationFrame(function () { - if (_this2.listRef) { - _this2.listRef.scrollTop = _this2.state.offset * _this2.avgRowHeight; - } - }); - } - }, { - key: "componentDidUpdate", - value: function componentDidUpdate(_prevProps, prevState) { - if (prevState.offset > this.state.offset) { - this.updateOffset(prevState); - } - } - }, { - key: "updateOffset", - value: function updateOffset(prevState) { - var offsetDiff = prevState.offset - this.state.offset; - - if (this.listRef) { - var el = this.listRef; - var items = el.querySelectorAll(".VS-item"); - var heightAdded = 0; - var currOffset = prevState.offset; - var start = Math.min(this.state.offset, this.props.buffer); - var end = start + offsetDiff; - - for (var i = Math.min(items.length, end) - 1; i >= start; i--) { - var inView = isInView(el, items[i]); - - if (inView) { - currOffset--; - var rowHeight = items[i].clientHeight; - heightAdded += rowHeight; - } else { - break; - } - } - - if (items.length < end) { - var diff = end - items.length; - heightAdded += diff * this.props.minItemHeight; - currOffset -= diff; - } - - var newAvgRowHeight = currOffset === 0 ? this.props.minItemHeight : (this.avgRowHeight * prevState.offset - heightAdded) / currOffset; - this.setState({ - offset: currOffset - }); - this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight); - } - } - }, { - key: "onScrollHandler", - value: function onScrollHandler(event) { - if (this.listRef) { - var _this$props = this.props, - totalLength = _this$props.totalLength, - length = _this$props.length, - buffer = _this$props.buffer; - var offset = this.state.offset; - var avgRowHeight = this.avgRowHeight; - var el = this.listRef; - var scrollTop = el.scrollTop; - var direction = Math.floor(scrollTop - this.lastScrollTop); - if (direction === 0) return; - var items = el.querySelectorAll(".VS-item"); - var newOffset = offset; - var newAvgRowHeight = avgRowHeight; - var start = Math.min(offset, buffer); - - if (direction > 0) { - if (offset < totalLength - length) { - var heightAdded = 0; - - for (var i = start; i < items.length; i++) { - var inView = isInView(el, items[i]); - var rowHeight = items[i].clientHeight; - - if (!inView) { - heightAdded += rowHeight; - newOffset++; - } else { - break; - } - } - - if (heightAdded < direction) { - var heightLeft = direction - heightAdded; - var offsetToBeAdded = Math.floor(heightLeft / this.props.minItemHeight); - newOffset += offsetToBeAdded; - heightAdded += offsetToBeAdded * this.props.minItemHeight; - } - - newAvgRowHeight = newOffset > 0 ? (offset * avgRowHeight + heightAdded) / newOffset : this.props.minItemHeight; - this.setState({ - offset: Math.min(newOffset, totalLength - length) - }); - this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight); - } - } else { - var scrollDiff = items[start].getBoundingClientRect().y - el.getBoundingClientRect().y; - - if (scrollDiff > 0) { - var offsetDiff = Math.floor(scrollDiff / this.props.minItemHeight) || 1; - - var _newOffset = offset - offsetDiff; - - if (_newOffset < totalLength - (length + buffer)) { - this.setState({ - offset: Math.max(0, _newOffset) - }); - } - } - } - - this.lastScrollTop = scrollTop; - } - - if (this.props.onScroll) this.props.onScroll(event); - } - }, { - key: "renderItems", - value: function renderItems(start, end) { - var renderItem = this.props.renderItem; - return Array.from({ - length: end - start + 1 - }, function (_, index) { - var rowIndex = start + index; - var component = renderItem(rowIndex); - return /*#__PURE__*/React__namespace.cloneElement(component, { - key: rowIndex, - className: ["VS-item", component.props.className].join(' ').trim() - }); - }); - } - }, { - key: "render", - value: function render() { - var _this3 = this; - - var _this$props2 = this.props, - totalLength = _this$props2.totalLength, - length = _this$props2.length, - buffer = _this$props2.buffer; - _this$props2.offset; - _this$props2.renderItem; - _this$props2.minItemHeight; - var forwardRef = _this$props2.forwardRef, - rest = _objectWithoutProperties(_this$props2, ["totalLength", "length", "buffer", "offset", "renderItem", "minItemHeight", "forwardRef"]); - - var _this$state = this.state, - init = _this$state.init, - offset = _this$state.offset; - var avgRowHeight = this.avgRowHeight; - var start = Math.max(0, offset - buffer); - var end = Math.min(offset + (length + buffer) - 1, totalLength - 1); - var topPadding = Math.max(0, start * avgRowHeight); - var bottomPadding = Math.max(0, (totalLength - end - 1) * avgRowHeight); - return /*#__PURE__*/React__namespace.createElement("div", _extends({}, rest, { - ref: function ref(el) { - _this3.listRef = el; - if (forwardRef) forwardRef.current = el; - if (!init) _this3.setState({ - init: true - }); - }, - onScroll: this.onScrollHandler.bind(this) - }), init && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { - style: { - flexShrink: 0, - height: topPadding - } - }), this.renderItems(start, end), /*#__PURE__*/React__namespace.createElement("div", { - style: { - flexShrink: 0, - height: bottomPadding - } - }))); - } - }]); - - return VirtualScroll; - }(React__namespace.Component); + return null; + }; - _defineProperty(VirtualScroll, "defaultProps", { - buffer: 10, - length: 30, - offset: 0 - }); + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Grid-head", + "data-test": "DesignSystem-GridHead-wrapper" + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "Grid-row Grid-row--head" + }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); + }; - var index = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { - return /*#__PURE__*/React__namespace.createElement(VirtualScroll, _extends({ - forwardRef: ref - }, props)); - }); + var GridNestedRow = function GridNestedRow(props) { + var context$1 = React__namespace.useContext(context); + var schema = context$1.schema, + loading = context$1.loading, + nestedRowRenderer = context$1.nestedRowRenderer; + var data = props.data, + rowIndex = props.rowIndex, + expanded = props.expanded; + if (nestedRowRenderer) return nestedRowRenderer({ + data: data, + schema: schema, + loading: loading, + rowIndex: rowIndex, + expanded: expanded + }); + return null; + }; var GridRow = function GridRow(props) { var context$1 = React__namespace.useContext(context); @@ -11987,8 +14068,9 @@ expanded = _a[0], setExpanded = _a[1]; - var rowClasses = classNames__default['default']('Grid-row', 'Grid-row--body', { - 'Grid-row--selected': data._selected + var rowClasses = classNames__default["default"]('Grid-row', 'Grid-row--body', { + 'Grid-row--selected': data._selected, + 'Grid-row--disabled': data.disabled }); var onClickHandler = React__namespace.useCallback(function () { if (type === 'resource' && !loading) { @@ -12009,6 +14091,12 @@ var unpinnedSchema = schema.filter(function (s) { return !s.hidden && !s.pinned; }); + var nestedProps = { + data: data, + rowIndex: rI, + expanded: expanded + }; + var nestedRowData = GridNestedRow(nestedProps); var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; @@ -12029,12 +14117,13 @@ var _a; if (currSchema.length) { - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _a["Grid-cellGroup--pinned-" + pinned] = pinned, _a['Grid-cellGroup--main'] = !pinned, _a)); return /*#__PURE__*/React__namespace.createElement("div", { - className: classes + className: classes, + "data-test": "DesignSystem-Grid-cellGroup" }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; @@ -12045,7 +14134,8 @@ firstCell: !index, schema: s, data: data, - expandedState: [expanded, setExpanded] + expandedState: [expanded, setExpanded], + nestedRowData: nestedRowData }); })); } @@ -12053,21 +14143,19 @@ return null; }; - var wrapperClasses = classNames__default['default'](className, { + var wrapperClasses = classNames__default["default"](className, { 'Grid-rowWrapper': true }); return /*#__PURE__*/React__namespace.createElement("div", { className: wrapperClasses }, /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Grid-row", className: rowClasses, onClick: onClickHandler, ref: rowRef }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-nestedRow" - }, /*#__PURE__*/React__namespace.createElement(GridNestedRow, { - data: data, - rowIndex: rI - }))); + }, nestedRowData)); }; GridRow.defaultProps = { data: {} @@ -12077,7 +14165,6 @@ var context$1 = React__namespace.useContext(context); var data = context$1.data, ref = context$1.ref, - size = context$1.size, loading = context$1.loading, error = context$1.error, withPagination = context$1.withPagination, @@ -12114,33 +14201,35 @@ } }; }, []); - var minRowHeight = { - comfortable: 40, - standard: 40, - compressed: 32, - tight: 24 - }; var totalPages = Math.ceil(totalRecords / pageSize); var isLastPage = withPagination && page === totalPages; var dataLength = isLastPage ? totalRecords - (page - 1) * pageSize : loading ? pageSize : withPagination ? Math.min(totalRecords, pageSize) : totalRecords; - var renderItem = function renderItem(rowIndex) { + var renderRow = function renderRow(rowIndex, item) { return /*#__PURE__*/React__namespace.createElement(GridRow, { + key: rowIndex, rowIndex: rowIndex, - data: data[rowIndex], + data: !item ? data[rowIndex] : item, schema: schema, onSelect: onSelect }); }; - return /*#__PURE__*/React__namespace.createElement(index, { - className: "Grid-body", - minItemHeight: minRowHeight[size], - totalLength: dataLength, - length: 20, - buffer: 7, - renderItem: renderItem - }); + var getArrayList = function getArrayList() { + if (loading && !data.length) { + return __spreadArrays(Array(dataLength).map(function (x) { + return x; + })); + } + + return data; + }; + + return /*#__PURE__*/React__namespace.createElement("div", { + className: "Grid-body" + }, getArrayList().map(function (item, i) { + return renderRow(i, item); + })); }; var Grid = function (_super) { @@ -12344,7 +14433,7 @@ this.addScrollListeners(); } - if (prevProps.page !== this.props.page) { + if (prevProps.page !== this.props.page || prevProps.error !== this.props.error) { this.removeScrollListeners(); this.addScrollListeners(); } @@ -12390,7 +14479,7 @@ loading = _d.loading, loaderSchema = _d.loaderSchema; var schema = getSchema(this.props.schema, loading, loaderSchema); - var classes = classNames__default['default']((_a = { + var classes = classNames__default["default"]((_a = { Grid: 'true' }, _a["Grid--" + type] = type, _a["Grid--" + size] = size, _a), className); return /*#__PURE__*/React__namespace.createElement("div", __assign({ @@ -12453,7 +14542,8 @@ if (metaList) { return /*#__PURE__*/React__namespace.createElement("div", { - className: "GridCell-metaList" + className: "GridCell-metaList", + "data-test": "DesignSystem-GridCell-metaList" }, metaList.map(function (list, index) { return /*#__PURE__*/React__namespace.createElement(Text, { key: index, @@ -12533,14 +14623,15 @@ align = _c === void 0 ? 'left' : _c, tooltip = schema.tooltip; var cellData = data[name]; - var cellClass = classNames__default['default']((_a = {}, _a['GridCell'] = true, _a)); + var cellClass = classNames__default["default"]((_a = {}, _a['GridCell'] = true, _a)); switch (cellType) { case 'DEFAULT': return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--align-" + align + " GridCell--default" }, loading ? /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { - length: "medium" + length: "medium", + "data-test": "DesignSystem-GridCell-placeHolder" }) : renderTitle({ tooltip: tooltip, cellData: cellData @@ -12550,7 +14641,8 @@ return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--metaList" }, loading ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { - length: "medium" + length: "medium", + "data-test": "DesignSystem-GridCell-withMetaList" }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "large", size: "xxs" @@ -12571,7 +14663,8 @@ } return /*#__PURE__*/React__namespace.createElement("div", { - className: cellClass + " GridCell--align-" + align + " GridCell--avatar" + className: cellClass + " GridCell--align-" + align + " GridCell--avatar", + "data-test": "DesignSystem-GridCell-avatar" }, size !== 'tight' && renderAvatar({ cellData: cellData })); @@ -12588,7 +14681,8 @@ } return /*#__PURE__*/React__namespace.createElement("div", { - className: cellClass + " GridCell--avatarWithText" + className: cellClass + " ", + "data-test": "DesignSystem-GridCell-avatarWithText" }, size !== 'tight' && renderAvatar({ cellData: cellData }), renderTitle({ @@ -12611,7 +14705,8 @@ } return /*#__PURE__*/React__namespace.createElement("div", { - className: cellClass + " GridCell--avatarWithText" + className: cellClass + " GridCell--avatarWithText", + "data-test": "DesignSystem-GridCell-avatarWithMetaList" }, size !== 'tight' && renderAvatar({ cellData: cellData }), /*#__PURE__*/React__namespace.createElement("div", { @@ -12633,7 +14728,8 @@ } return /*#__PURE__*/React__namespace.createElement("div", { - className: cellClass + " GridCell--align-" + align + " GridCell--icon" + className: cellClass + " GridCell--align-" + align + " GridCell--icon", + "data-test": "DesignSystem-GridCell-icon" }, renderIcon({ cellData: cellData })); @@ -12712,6 +14808,7 @@ open: open, onToggle: onToggleHandler, trigger: /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", ref: function ref(el) { setTriggerWidth((el === null || el === void 0 ? void 0 : el.clientWidth) + "px"); }, @@ -12745,6 +14842,7 @@ onChange: handleParentChange })), tempOptions.map(function (option, index) { return /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Table-Header--draggableDropdownOption", key: option.value, className: "OptionWrapper d-flex flex-space-between align-items-center cursor-pointer", draggable: true, @@ -12774,10 +14872,12 @@ })), /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-buttonWrapper" }, /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", className: "mr-4", size: "tiny", onClick: onCancelHandler }, "Cancel"), /*#__PURE__*/React__namespace.createElement(Button, { + type: "button", appearance: "primary", size: "tiny", onClick: onApplyHandler @@ -12809,7 +14909,8 @@ updateSearchTerm = props.updateSearchTerm, dynamicColumn = props.dynamicColumn, allowSelectAll = props.allowSelectAll, - showFilters = props.showFilters; + showFilters = props.showFilters, + customSelectionLabel = props.customSelectionLabel; var _c = React__namespace.useState(false), selectAllRecords = _c[0], @@ -12871,12 +14972,13 @@ if (updateSchema) updateSchema(newSchema); }; + var customLabel = customSelectionLabel ? customSelectionLabel : 'item'; var selectedCount = data.filter(function (d) { return d._selected; }).length; var startIndex = (page - 1) * pageSize + 1; var endIndex = Math.min(page * pageSize, totalRecords); - var label = error ? 'Showing 0 items' : withCheckbox && selectedCount ? selectAllRecords ? "Selected all " + totalRecords + " item" + getPluralSuffix(totalRecords) : "Selected " + selectedCount + " item" + getPluralSuffix(totalRecords) + " on this page" : withPagination ? "Showing " + startIndex + "-" + endIndex + " of " + totalRecords + " item" + getPluralSuffix(totalRecords) : "Showing " + totalRecords + " item" + getPluralSuffix(totalRecords); + var label = error ? "Showing 0 " + customLabel + "s" : withCheckbox && selectedCount ? selectAllRecords ? "Selected all " + totalRecords + " " + customLabel + getPluralSuffix(totalRecords) : "Selected " + selectedCount + " " + customLabel + getPluralSuffix(totalRecords) + " on this page" : withPagination ? "Showing " + startIndex + "-" + endIndex + " of " + totalRecords + " " + customLabel + getPluralSuffix(totalRecords) : "Showing " + totalRecords + " " + customLabel + getPluralSuffix(totalRecords); return /*#__PURE__*/React__namespace.createElement("div", { className: "Header" }, /*#__PURE__*/React__namespace.createElement("div", { @@ -12884,6 +14986,7 @@ }, withSearch && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-search" }, /*#__PURE__*/React__namespace.createElement(Input, { + "data-test": "DesignSystem-Table-Header--withSearch", name: "GridHeader-search", icon: "search", placeholder: searchPlaceholder, @@ -12892,7 +14995,8 @@ onClear: function onClear() { return updateSearchTerm && updateSearchTerm(''); }, - disabled: loading && !hasSchema(schema) + disabled: loading && !hasSchema(schema), + autoComplete: "off" })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-dropdown" }, /*#__PURE__*/React__namespace.createElement("div", { @@ -12937,11 +15041,13 @@ })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React__namespace.createElement("div", { className: "ml-4" }, !selectAllRecords ? /*#__PURE__*/React__namespace.createElement(Button, { + "data-test": "DesignSystem-Table-Header--selectAllItemsButton", size: "tiny", onClick: function onClick() { return setSelectAllRecords(true); } - }, "Select all " + totalRecords + " items") : /*#__PURE__*/React__namespace.createElement(Button, { + }, "Select all " + totalRecords + " " + customLabel + "s") : /*#__PURE__*/React__namespace.createElement(Button, { + "data-test": "DesignSystem-Table-Header--clearSelectionItemsButton", size: "tiny", onClick: function onClick() { return setSelectAllRecords(false); @@ -12993,6 +15099,7 @@ filterList: {}, filterPosition: 'GRID', searchDebounceDuration: 750, + pageJumpDebounceDuration: 750, errorTemplate: defaultErrorTemplate }; @@ -13055,7 +15162,7 @@ _this.setState({ data: data, schema: schema, - selectAll: getSelectAll(data), + selectAll: getSelectAll(data, _this.props.selectDisabledRow), totalRecords: res.count, loading: false, error: !data.length, @@ -13088,7 +15195,7 @@ totalRecords: totalRecords, error: !renderedData.length, errorType: 'NO_RECORDS_FOUND', - selectAll: getSelectAll(renderedData), + selectAll: getSelectAll(renderedData, _this.props.selectDisabledRow), schema: renderedSchema, data: renderedData }); @@ -13104,11 +15211,11 @@ if (rowIndexes >= 0) { newData = updateBatchData(data, indexes, { _selected: selected - }); + }, _this.props.selectDisabledRow); _this.setState({ data: newData, - selectAll: getSelectAll(newData) + selectAll: getSelectAll(newData, _this.props.selectDisabledRow) }); } @@ -13129,17 +15236,23 @@ }); var newData = updateBatchData(data, indexes, { _selected: selected + }, _this.props.selectDisabledRow); + var selectedIndex = []; + newData.forEach(function (item, key) { + if (item._selected) { + selectedIndex.push(key); + } }); if (onSelect) { - onSelect(indexes, selected, newData.filter(function (d) { + onSelect(selectedIndex, selected, newData.filter(function (d) { return d._selected; }), selectAll); } _this.setState({ data: newData, - selectAll: getSelectAll(newData) + selectAll: getSelectAll(newData, _this.props.selectDisabledRow) }); }; @@ -13207,12 +15320,29 @@ var _this = this; if (!this.state.async) { - if (prevProps.loading !== this.props.loading || prevProps.error !== this.props.error) { + if (prevProps.error !== this.props.error) { var _a = this.props, _b = _a.data, data = _b === void 0 ? [] : _b, _c = _a.schema, schema = _c === void 0 ? [] : _c; + this.setState({ + data: data, + schema: schema, + error: this.props.error || false, + errorType: this.props.errorType, + page: 1, + totalRecords: data.length || 0, + selectAll: getSelectAll([]) + }); + } + + if (prevProps.loading !== this.props.loading) { + var _d = this.props, + _e = _d.data, + data = _e === void 0 ? [] : _e, + _f = _d.schema, + schema = _f === void 0 ? [] : _f; this.setState({ data: data, schema: schema, @@ -13258,6 +15388,7 @@ withPagination = _a.withPagination, paginationType = _a.paginationType, pageSize = _a.pageSize, + pageJumpDebounceDuration = _a.pageJumpDebounceDuration, onRowClick = _a.onRowClick, loaderSchema = _a.loaderSchema, errorTemplate = _a.errorTemplate, @@ -13273,9 +15404,11 @@ var totalRecords = this.state.totalRecords; var totalPages = getTotalPages(totalRecords, pageSize); return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { - className: "Table" + classes + className: "Table" + classes, + "data-test": "DesignSystem-Table-wrapper" }), withHeader && /*#__PURE__*/React__namespace.createElement("div", { - className: "Table-header" + className: "Table-header", + "data-test": "DesignSystem-Table-header" }, /*#__PURE__*/React__namespace.createElement(Header, __assign({}, this.state, { updateSchema: this.updateSchema, updateFilterList: this.updateFilterList, @@ -13289,6 +15422,7 @@ }, headerAttr), headerChildren)), /*#__PURE__*/React__namespace.createElement("div", { className: "Table-grid" }, /*#__PURE__*/React__namespace.createElement(Grid, __assign({}, this.state, { + key: this.state.searchTerm, updateData: this.updateData, updateSchema: this.updateSchema, updateSortingList: this.updateSortingList, @@ -13319,7 +15453,8 @@ page: this.state.page, totalPages: getTotalPages(totalRecords, pageSize), type: paginationType, - onPageChange: this.onPageChange + onPageChange: this.onPageChange, + pageJumpDebounceDuration: pageJumpDebounceDuration }))); }; @@ -13405,21 +15540,24 @@ var activeMenu = expanded && !menuState[menu.name] && isMenuActive(menus, menu, active); var activeMenuIcon = !expanded && isMenuActive(menus, menu, active) || activeMenu; - var menuClasses = classNames__default['default']((_a = { + var menuClasses = classNames__default["default"]((_a = { 'Navigation-menu': true }, _a['Navigation-menu--vertical'] = true, _a['Navigation-menu--active'] = activeMenu, _a['Navigation-menu--rounded'] = expanded && rounded, _a)); - var menuIconClasses = classNames__default['default']({ + var menuIconClasses = classNames__default["default"]({ 'Navigation-menuIcon': true, 'Navigation-menuIcon--active': activeMenuIcon }); return /*#__PURE__*/React__namespace.createElement("div", { - key: index + key: index, + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuWrapper" }, /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuItem", className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-Navigation-VerticalNavigation--menuIcon", className: menuIconClasses, name: menu.icon, appearance: getIconAppearance(activeMenuIcon, menu.disabled) @@ -13428,6 +15566,7 @@ }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: getTextAppearance(activeMenu, menu.disabled) }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-Navigation-VerticalNavigation--expandedSubMenuIcon", className: "mx-4", name: menuState[menu.name] ? 'keyboard_arrow_up' : 'keyboard_arrow_down', appearance: "subtle" @@ -13437,8 +15576,9 @@ var _a; var isActive = isMenuActive(menus, subMenu, active); - var subMenuClasses = classNames__default['default'](menuClasses, (_a = {}, _a['Navigation-menu--subMenu'] = true, _a['Navigation-menu--active'] = isActive, _a)); + var subMenuClasses = classNames__default["default"](menuClasses, (_a = {}, _a['Navigation-menu--subMenu'] = true, _a['Navigation-menu--active'] = isActive, _a)); return /*#__PURE__*/React__namespace.createElement("div", { + "data-test": "DesignSystem-Navigation-VerticalNavigation--subMenu", key: ind, className: subMenuClasses, onClick: function onClick() { @@ -13449,7 +15589,7 @@ }, subMenu.label)); }))); }); - var footerClasses = classNames__default['default']((_a = { + var footerClasses = classNames__default["default"]((_a = { 'Navigation-footer': true }, _a['Navigation-footer--border'] = true, _a)); return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { @@ -13486,7 +15626,7 @@ autoCollapse = props.autoCollapse, className = props.className; var baseProps = extractBaseProps(props); - var classes = classNames__default['default']((_a = {}, _a['Navigation'] = true, _a["Navigation--" + type] = type, _a['justify-content-center'] = type === 'horizontal' && align === 'center', _a['justify-content-start'] = type === 'horizontal' && align === 'left', _a['Navigation--collapsed'] = !expanded, _a), className); + var classes = classNames__default["default"]((_a = {}, _a['Navigation'] = true, _a["Navigation--" + type] = type, _a['justify-content-center'] = type === 'horizontal' && align === 'center', _a['justify-content-start'] = type === 'horizontal' && align === 'left', _a['Navigation--collapsed'] = !expanded, _a), className); var renderNavigation = function renderNavigation() { return type === 'horizontal' ? /*#__PURE__*/React__namespace.createElement(HorizontalNav, { @@ -13533,14 +15673,14 @@ navigationPosition = props.navigationPosition, className = props.className; var baseProps = extractBaseProps(props); - var wrapperClasses = classNames__default['default']((_a = { + var wrapperClasses = classNames__default["default"]((_a = { 'PageHeader-wrapper': true }, _a['PageHeader-wrapper--separator'] = separator, _a['PageHeader-wrapper--withTabs'] = tabs, _a), className); - var classes = classNames__default['default']({ + var classes = classNames__default["default"]({ PageHeader: true }); - var renderCenter = function renderCenter() { + var renderNav = function renderNav() { if (!navigation && !stepper) { return null; } @@ -13550,29 +15690,38 @@ }, navigation || stepper); }; + var colSize = (navigation || stepper) && navigationPosition === 'center' ? '4' : actions ? '8' : '12'; return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: wrapperClasses }), breadcrumbs, /*#__PURE__*/React__namespace.createElement("div", { className: classes }, /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { - size: "4", - sizeXL: "4", - sizeM: "4" + size: colSize, + sizeXL: colSize, + sizeM: colSize }, /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-titleWrapper" }, /*#__PURE__*/React__namespace.createElement(Heading, { className: "PageHeader-title" - }, title), badge)), /*#__PURE__*/React__namespace.createElement(Column, { + }, title), badge)), (!breadcrumbs || navigationPosition === 'center') && colSize === '4' && /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, (!breadcrumbs || navigationPosition === 'center') && renderCenter()), /*#__PURE__*/React__namespace.createElement(Column, { + }, renderNav()), actions ? /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, actions))), (status || meta) && /*#__PURE__*/React__namespace.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "PageHeader-actionsWrapper" + }, actions)) : (navigation || stepper) && /*#__PURE__*/React__namespace.createElement(Column, { + size: "4", + sizeXL: "4", + sizeM: "4" + }, /*#__PURE__*/React__namespace.createElement("div", { + className: "PageHeader-actionsWrapper" + })))), (status || meta) && /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-statusWrapper" - }, status, meta), breadcrumbs && navigationPosition === 'bottom' && renderCenter(), tabs && /*#__PURE__*/React__namespace.createElement("div", null, tabs)); + }, status, meta), breadcrumbs && navigationPosition === 'bottom' && renderNav(), tabs && /*#__PURE__*/React__namespace.createElement("div", null, tabs)); }; PageHeader.defaultProps = { navigationPosition: 'center', @@ -13581,7 +15730,7 @@ var useEffect = React__namespace.useEffect, useState = React__namespace.useState; - var IconMapping = { + var IconMapping$1 = { audio: 'audiotrack', image: 'image', video: 'movie', @@ -13600,9 +15749,9 @@ setAnimate = _c[1]; var type = file.type.split('/')[0] || 'others'; - var fileType = IconMapping[type] ? type : 'others'; - var iconClass = classNames__default['default']((_a = {}, _a['FileIcon'] = true, _a['FileIcon--animate'] = animate, _a["FileIcon--" + fileType] = true, _a)); - var uploadingIconClass = classNames__default['default']((_b = {}, _b['FileIcon'] = true, _b['FileIcon--uploading'] = true, _b)); + var fileType = IconMapping$1[type] ? type : 'others'; + var iconClass = classNames__default["default"]((_a = {}, _a['FileIcon'] = true, _a['FileIcon--animate'] = animate, _a["FileIcon--" + fileType] = true, _a)); + var uploadingIconClass = classNames__default["default"]((_b = {}, _b['FileIcon'] = true, _b['FileIcon--uploading'] = true, _b)); useEffect(function () { if (status === 'completed') { setAnimate(true); @@ -13615,13 +15764,15 @@ return /*#__PURE__*/React__namespace.createElement(ProgressRing, { size: "small", value: progress || 0, - className: uploadingIconClass + className: uploadingIconClass, + "data-test": "DesignSystem-FileListItem--ProgressRing" }); } return /*#__PURE__*/React__namespace.createElement(Icon, { - name: IconMapping[fileType], - className: iconClass + name: IconMapping$1[fileType], + className: iconClass, + "data-test": "DesignSystem-FileListItem--Icon" }); }; FileIcon.displayName = 'FileIcon'; @@ -13644,7 +15795,7 @@ fileSize = props.fileSize; var name = file.name; var baseProps = extractBaseProps(props); - var FileItemClass = classNames__default['default']((_a = {}, _a['FileItem'] = true, _a), className); + var FileItemClass = classNames__default["default"]((_a = {}, _a['FileItem'] = true, _a), className); var onClickHandler = function onClickHandler() { if (onClick) { @@ -13654,7 +15805,8 @@ return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileItemClass, - onClick: onClickHandler + onClick: onClickHandler, + "data-test": "DesignSystem-FileListItem" }), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-file" }, /*#__PURE__*/React__namespace.createElement("div", { @@ -13664,17 +15816,21 @@ status: status, progress: progress }), /*#__PURE__*/React__namespace.createElement(Text, { + "data-test": "DesignSystem-FileListItem--Name", className: "FileItem-text", appearance: status === 'completed' ? 'default' : 'subtle' }, name)), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-actions" }, /*#__PURE__*/React__namespace.createElement(Text, { className: "FileItem-size", - appearance: 'subtle' - }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { - className: 'FileItem-error', - error: true - }, errorMessage)); + appearance: 'subtle', + "data-test": "DesignSystem-FileListItem--Size" + }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React__namespace.createElement(InlineMessage, { + size: "small", + appearance: "alert", + description: errorMessage, + className: 'FileItem-error' + })); }; FileListItem.defaultProps = { progress: 0, @@ -13741,7 +15897,7 @@ }, []); var initialRefs = React.useMemo(function () { return __spreadArrays(Array(fields)).map(function () { - return /*#__PURE__*/React__default['default'].createRef(); + return /*#__PURE__*/React__default["default"].createRef(); }); }, []); @@ -13833,69 +15989,77 @@ switch (e.key) { case KEY_CODE.backspace: - e.preventDefault(); + { + e.preventDefault(); - var vals = __spreadArrays(values); + var vals = __spreadArrays(values); - if (values[index]) { - vals[index] = ''; - setValues(vals); - } else if (prev && prev.current) { - vals[prevIndex] = ''; - prev.current.focus({ - preventScroll: true - }); - setValues(vals); - } + if (values[index]) { + vals[index] = ''; + setValues(vals); + } else if (prev && prev.current) { + vals[prevIndex] = ''; + prev.current.focus({ + preventScroll: true + }); + setValues(vals); + } - break; + break; + } case KEY_CODE.left: - e.preventDefault(); + { + e.preventDefault(); - if (prev && prev.current) { - prev.current.focus({ - preventScroll: true - }); - } + if (prev && prev.current) { + prev.current.focus({ + preventScroll: true + }); + } - break; + break; + } case KEY_CODE.right: - e.preventDefault(); + { + e.preventDefault(); - if (nextRef && nextRef.current) { - nextRef.current.focus({ - preventScroll: true - }); - } + if (nextRef && nextRef.current) { + nextRef.current.focus({ + preventScroll: true + }); + } - break; + break; + } case KEY_CODE.up: case KEY_CODE.down: case KEY_CODE.e: case KEY_CODE.E: - if (type === 'number') { - e.preventDefault(); - } + { + if (type === 'number') { + e.preventDefault(); + } - break; + break; + } } }; var wrapperClassNames = function wrapperClassNames(i) { - return classNames__default['default']({ + return classNames__default["default"]({ 'VerificationCodeInput-Input': true, 'ml-4': i > 0 }, className); }; - return /*#__PURE__*/React__default['default'].createElement("div", { + return /*#__PURE__*/React__default["default"].createElement("div", { "data-test": "DesignSystem-VerificationCodeInput", className: "VerificationCodeInput" }, values.map(function (val, index) { - return /*#__PURE__*/React__default['default'].createElement(Input, __assign({ + return /*#__PURE__*/React__default["default"].createElement(Input, __assign({ key: index, className: wrapperClassNames(index), size: "large", @@ -13907,15 +16071,307 @@ onFocus: onFocusHandler, onBlur: onBlurHandler, "data-id": index, - ref: refs[index] + ref: refs[index], + type: type }, rest)); })); }; VerificationCodeInput.displayName = 'VerificationCodeInput'; + VerificationCodeInput.defaultProps = { + type: 'number', + fields: 4 + }; + + var IconMapping = { + success: 'check_circle', + info: 'info', + warning: 'warning', + alert: 'error' + }; + var InlineMessage = function InlineMessage(props) { + var _a, _b, _c; + + var appearance = props.appearance, + className = props.className, + description = props.description, + size = props.size; + var baseProps = extractBaseProps(props); + var InlineMessageClass = classNames__default["default"]((_a = {}, _a['InlineMessage'] = true, _a), className); + var IconClass = classNames__default["default"]((_b = {}, _b['InlineMessage-icon--warning'] = appearance === 'warning', _b['InlineMessage-icon--small'] = size === 'small', _b['InlineMessage-icon--regular'] = size === 'regular', _b)); + var DescriptionClass = classNames__default["default"]((_c = {}, _c["InlineMessage-text--" + appearance] = appearance, _c)); + var IconSize = size === 'small' ? 14 : 16; + var TextWeight = size === 'small' ? 'medium' : undefined; + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + "data-test": "DesignSystem-InlineMessage" + }, baseProps, { + className: InlineMessageClass + }), appearance !== 'default' && /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-InlineMessage--Icon", + name: IconMapping[appearance], + appearance: appearance, + className: IconClass, + size: IconSize + }), /*#__PURE__*/React__namespace.createElement(Text, { + size: size, + weight: TextWeight, + className: DescriptionClass, + "data-test": "DesignSystem-InlineMessage--Description" + }, description)); + }; + InlineMessage.displayName = 'InlineMessage'; + InlineMessage.defaultProps = { + appearance: 'default', + description: '', + size: 'regular' + }; + + var renderCheckbox = function renderCheckbox(list, handleOnChange, ChoiceListDisabled, size, alignment, selected) { + return list.map(function (item, checkboxIndex) { + var name = item.name, + value = item.value, + helpText = item.helpText, + disabled = item.disabled, + label = item.label; + return /*#__PURE__*/React__namespace.createElement(Checkbox, { + key: checkboxIndex, + label: label, + onChange: handleOnChange, + disabled: disabled || ChoiceListDisabled, + helpText: helpText, + size: size, + name: name, + value: value, + defaultChecked: selected.length !== 0 && selected.includes(value), + className: getCheckboxClassName(alignment, checkboxIndex) + }); + }); + }; + + var renderRadio = function renderRadio(list, handleOnChange, ChoiceListDisabled, size, alignment, selected) { + return list.map(function (item, radioIndex) { + var name = item.name, + value = item.value, + helpText = item.helpText, + disabled = item.disabled, + label = item.label; + return /*#__PURE__*/React__namespace.createElement(Radio, { + key: radioIndex, + label: label, + onChange: handleOnChange, + disabled: disabled || ChoiceListDisabled, + helpText: helpText, + size: size, + name: name, + value: value, + defaultChecked: selected.length !== 0 && selected.includes(value), + className: getRadioClassName(alignment, radioIndex) + }); + }); + }; + + var getCheckboxClassName = function getCheckboxClassName(alignment, index) { + var _a; + + var ChoiceListCheckboxClass = classNames__default["default"]((_a = {}, _a["ChoiceList-checkbox--" + alignment] = true, _a['ml-0'] = index === 0 && alignment === 'horizontal', _a['mt-4'] = alignment === 'horizontal', _a)); + return ChoiceListCheckboxClass; + }; + + var getRadioClassName = function getRadioClassName(alignment, index) { + var _a; + + var ChoiceListRadioClass = classNames__default["default"]((_a = {}, _a["ChoiceList-radio--" + alignment] = true, _a['ml-0'] = index === 0 && alignment === 'horizontal', _a['mt-4'] = alignment === 'horizontal', _a)); + return ChoiceListRadioClass; + }; + + var ChoiceList = function ChoiceList(props) { + var _a, _b, _c; + + var title = props.title, + choices = props.choices, + _d = props.alignment, + alignment = _d === void 0 ? 'vertical' : _d, + _e = props.allowMultiple, + allowMultiple = _e === void 0 ? false : _e, + onChange = props.onChange, + _f = props.disabled, + disabled = _f === void 0 ? false : _f, + _g = props.size, + size = _g === void 0 ? 'regular' : _g, + className = props.className; + var _h = props.selected, + selected = _h === void 0 ? [] : _h; + var selectedChoiceValue = selected && selected || []; + var ChoiceListClass = classNames__default["default"]((_a = {}, _a['ChoiceList'] = true, _a), className); + var ChoiceListVerticalClass = classNames__default["default"]((_b = {}, _b['ChoiceList--alignVertical'] = true, _b)); + var ChoiceHorizontalClass = classNames__default["default"]((_c = {}, _c['ChoiceList--alignHorizontal'] = true, _c)); + + var handleOnChange = function handleOnChange(e) { + if (e.target.checked && allowMultiple) { + if (!selectedChoiceValue.includes(e.target.value)) { + selectedChoiceValue = __spreadArrays(selectedChoiceValue, [e.target.value]); + } + } else if (!e.target.checked && allowMultiple) { + selectedChoiceValue = selectedChoiceValue.filter(function (el) { + return el !== e.target.value; + }); + } + + if (!allowMultiple) { + if (!selectedChoiceValue.includes(e.target.value)) { + selectedChoiceValue = []; + selectedChoiceValue = __spreadArrays(selectedChoiceValue, [e.target.value]); + } + } + + if (onChange) onChange(e, selectedChoiceValue); + }; + + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("fieldset", { + className: ChoiceListClass, + "data-test": "DesignSystem-ChoiceList-Wrapper" + }, title && title.trim() && /*#__PURE__*/React__namespace.createElement(Label, { + withInput: true + }, title.trim()), allowMultiple ? /*#__PURE__*/React__namespace.createElement("div", { + className: "" + (alignment === 'horizontal' ? ChoiceHorizontalClass : ChoiceListVerticalClass) + }, renderCheckbox(choices, handleOnChange, disabled, size, alignment, selected)) : /*#__PURE__*/React__namespace.createElement("div", { + className: "" + (alignment === 'horizontal' ? ChoiceHorizontalClass : ChoiceListVerticalClass) + }, renderRadio(choices, handleOnChange, disabled, size, alignment, selected)))); + }; + ChoiceList.displayName = 'ChoiceList'; + ChoiceList.defaultProps = { + alignment: 'vertical', + size: 'regular', + allowMultiple: false, + disabled: false + }; + + var Divider = function Divider(props) { + var _a; + + var vertical = props.vertical, + appearance = props.appearance, + className = props.className; + var baseProps = extractBaseProps(props); + var DividerClass = classNames__default["default"]((_a = {}, _a['Divider'] = true, _a['Divider--horizontal'] = !vertical, _a['Divider--vertical'] = vertical, _a['Divider--basic'] = !vertical && appearance !== 'header', _a['Divider--header'] = !vertical && appearance === 'header', _a), className); + return /*#__PURE__*/React__namespace.createElement("hr", __assign({ + "data-test": "DesignSystem-Divider" + }, baseProps, { + className: DividerClass + })); + }; + Divider.displayName = 'Divider'; + Divider.defaultProps = { + appearance: 'basic', + vertical: false + }; + + var HelpText = function HelpText(props) { + var error = props.error, + message = props.message; + if (!message) return null; + + if (error) { + return /*#__PURE__*/React__namespace.createElement(InlineMessage, { + size: "small", + className: "mt-3", + appearance: "alert", + description: message + }); + } + + return /*#__PURE__*/React__namespace.createElement("div", { + className: "mt-3" + }, /*#__PURE__*/React__namespace.createElement(Text, { + appearance: "subtle", + size: "small", + weight: "medium" + }, message)); + }; + HelpText.displayName = 'HelpText'; + + var sizeMapping = { + tiny: 12, + regular: 16 + }; + var LinkButton = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { + var _a, _b; + + var children = props.children, + type = props.type, + className = props.className, + disabled = props.disabled, + tabIndex = props.tabIndex, + icon = props.icon, + subtle = props.subtle, + size = props.size, + iconAlign = props.iconAlign, + iconVariations = props.iconVariations, + rest = __rest(props, ["children", "type", "className", "disabled", "tabIndex", "icon", "subtle", "size", "iconAlign", "iconVariations"]); + + var buttonClass = classNames__default["default"]((_a = {}, _a['LinkButton'] = true, _a["LinkButton--" + size] = size, _a['LinkButton--default'] = !subtle, _a['LinkButton--subtle'] = subtle, _a["LinkButton--iconAlign-" + iconAlign] = children && iconAlign, _a["" + className] = className, _a)); + var iconClass = classNames__default["default"]((_b = {}, _b['LinkButton-icon'] = true, _b["LinkButton-icon--" + iconAlign] = children && iconAlign, _b)); + return /*#__PURE__*/React__namespace.createElement("button", __assign({ + ref: ref, + type: type, + "data-test": "DesignSystem-LinkButton", + className: buttonClass, + disabled: disabled, + tabIndex: tabIndex + }, rest), /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, icon && /*#__PURE__*/React__namespace.createElement("div", { + className: iconClass + }, /*#__PURE__*/React__namespace.createElement(Icon, { + "data-test": "DesignSystem-LinkButton--Icon", + name: icon, + variations: iconVariations, + size: size && sizeMapping[size] + })), children)); + }); + LinkButton.displayName = 'LinkButton'; + LinkButton.defaultProps = { + size: 'regular', + type: 'button', + iconAlign: 'left' + }; + + var ActionCard = function ActionCard(props) { + var _a; + + var children = props.children, + disabled = props.disabled, + className = props.className, + zIndex = props.zIndex, + onClick = props.onClick, + rest = __rest(props, ["children", "disabled", "className", "zIndex", "onClick"]); + + var classes = classNames__default["default"]((_a = {}, _a['ActionCard'] = true, _a['ActionCard--disabled'] = disabled, _a), className); + + var onKeyDownHandler = function onKeyDownHandler(event) { + if (event.key === 'Enter' && onClick) { + onClick(event); + } + }; + + return /*#__PURE__*/React__namespace.createElement("div", __assign({ + tabIndex: disabled ? -1 : 0, + role: "link", + "data-test": "DesignSystem-ActionCard", + className: classes, + onClick: onClick, + onKeyDown: onKeyDownHandler + }, rest), disabled && /*#__PURE__*/React__namespace.createElement("div", { + style: { + zIndex: zIndex + }, + "data-test": "DesignSystem-ActionCard-Overlay", + className: "ActionCard-overlay--disabled" + }), children); + }; + ActionCard.displayName = 'ActionCard'; - var version = "2.2.1"; + var version = "2.21.0"; + exports.ActionCard = ActionCard; exports.Avatar = Avatar; exports.AvatarGroup = AvatarGroup; exports.Backdrop = Backdrop; @@ -13934,11 +16390,13 @@ exports.Chip = Chip; exports.ChipGroup = ChipGroup; exports.ChipInput = ChipInput; + exports.ChoiceList = ChoiceList; exports.Collapsible = Collapsible; exports.Column = Column; exports.DatePicker = DatePicker; exports.DateRangePicker = DateRangePicker; exports.Dialog = Dialog; + exports.Divider = Divider; exports.Dropdown = Dropdown; exports.Dropzone = Dropzone; exports.EditableChipInput = EditableChipInput; @@ -13952,13 +16410,16 @@ exports.Grid = Grid; exports.GridCell = GridCell; exports.Heading = Heading; + exports.HelpText = HelpText; exports.HorizontalNav = HorizontalNav; exports.Icon = Icon; + exports.InlineMessage = InlineMessage; exports.Input = Input; - exports.InputMask = InputMask; + exports.InputMask = X; exports.Label = Label; exports.Legend = Legend; exports.Link = Link; + exports.LinkButton = LinkButton; exports.List = List; exports.Message = Message; exports.MetaList = MetaList; @@ -13968,6 +16429,7 @@ exports.ModalDescription = ModalDescription; exports.ModalFooter = ModalFooter; exports.ModalHeader = ModalHeader; + exports.MultiSlider = MultiSlider; exports.Navigation = Navigation; exports.OutsideClick = OutsideClick; exports.PageHeader = PageHeader; @@ -13975,6 +16437,7 @@ exports.Paragraph = Paragraph; exports.Pills = Pills; exports.Placeholder = Placeholder; + exports.PlaceholderImage = PlaceholderImage; exports.PlaceholderParagraph = PlaceholderParagraph; exports.Popover = Popover; exports.ProgressBar = ProgressBar; @@ -13998,12 +16461,12 @@ exports.TimePicker = TimePicker; exports.Toast = Toast; exports.Tooltip = Tooltip; - exports.Utils = index$1; + exports.Utils = index; exports.VerificationCodeInput = VerificationCodeInput; exports.VerticalNav = VerticalNav; exports.version = version; Object.defineProperty(exports, '__esModule', { value: true }); -}))); +})); //# sourceMappingURL=index.js.map diff --git a/dist/index.js.map b/dist/index.js.map index 5e51729ed8..c2c16ef3d9 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../core/utils/css.ts","../../../core/components/organisms/timePicker/utils.tsx","../../../core/utils/validators.ts","../../../core/utils/masks.ts","../node_modules/tslib/tslib.es6.js","../../../core/utils/types.tsx","../../../core/components/atoms/avatar/Avatar.tsx","../../../core/components/atoms/avatarGroup/AvatarGroup.tsx","../../../core/components/atoms/backdrop/Backdrop.tsx","../../../core/components/atoms/badge/Badge.tsx","../node_modules/throttle-debounce/index.esm.js","../../../core/components/atoms/dropdown/utility.tsx","../../../core/components/atoms/dropdown/DropdownButton.tsx","../../../core/components/atoms/_text/index.tsx","../../../core/components/atoms/text/Text.tsx","../../../core/components/atoms/icon/Icon.tsx","../../../core/utils/uidGenerator.tsx","../../../core/components/atoms/checkbox/Checkbox.tsx","../../../core/components/atoms/dropdown/option/CheckboxOption.tsx","../../../core/components/atoms/dropdown/option/DefaultOption.tsx","../../../core/components/atoms/dropdown/option/MetaOption.tsx","../../../core/components/atoms/dropdown/option/IconOption.tsx","../../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx","../../../core/components/atoms/dropdown/option/index.tsx","../../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx","../../../core/components/atoms/placeholderImage/PlaceholderImage.tsx","../../../core/components/molecules/placeholder/Placeholder.tsx","../../../core/components/atoms/dropdown/Loading.tsx","../../../core/components/atoms/dropdown/DropdownList.tsx","../../../core/components/atoms/dropdown/Dropdown.tsx","../../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx","../../../core/components/atoms/button/Button.tsx","../../../core/components/organisms/calendar/config.ts","../../../core/components/organisms/calendar/utility.ts","../../../core/components/organisms/calendar/Calendar.tsx","../../../core/components/atoms/card/Card.tsx","../../../core/components/atoms/cardSubdued/CardSubdued.tsx","../../../core/components/atoms/cardHeader/CardHeader.tsx","../../../core/components/atoms/cardBody/CardBody.tsx","../../../core/components/atoms/cardFooter/CardFooter.tsx","../../../core/components/atoms/_chip/index.tsx","../../../core/components/atoms/chip/Chip.tsx","../../../core/components/atoms/chipGroup/ChipGroup.tsx","../../../core/components/atoms/column/Column.tsx","../../../core/components/organisms/datePicker/Trigger.tsx","../../../core/components/organisms/datePicker/DatePicker.tsx","../../../core/components/organisms/timePicker/TimePicker.tsx","../../../core/components/atoms/heading/Heading.tsx","../../../core/components/atoms/input/Input.tsx","../../../core/components/atoms/metricInput/MetricInput.tsx","../../../core/components/molecules/inputMask/utilites.tsx","../../../core/components/molecules/inputMask/InputMask.tsx","../../../core/components/atoms/label/Label.tsx","../../../core/components/atoms/caption/Caption.tsx","../../../core/components/atoms/legend/Legend.tsx","../../../core/components/atoms/editable/Editable.tsx","../../../core/components/molecules/editableDropdown/EditableDropdown.tsx","../../../core/components/atoms/link/Link.tsx","../../../core/components/atoms/message/Message.tsx","../../../core/components/atoms/metaList/Meta.tsx","../../../core/components/atoms/metaList/MetaList.tsx","../../../core/components/atoms/outsideClick/OutsideClick.tsx","../../../core/components/atoms/paragraph/Paragraph.tsx","../../../core/components/atoms/progressBar/ProgressBar.tsx","../../../core/components/atoms/radio/Radio.tsx","../../../core/components/atoms/row/Row.tsx","../../../core/components/atoms/statusHint/StatusHint.tsx","../../../core/components/atoms/pills/Pills.tsx","../../../core/components/atoms/spinner/Spinner.tsx","../../../core/utils/Keys.ts","../../../core/components/atoms/multiSlider/SliderUtils.tsx","../../../core/components/atoms/multiSlider/Handle.tsx","../../../core/components/atoms/multiSlider/index.tsx","../../../core/components/atoms/slider/Slider.tsx","../../../core/components/atoms/rangeSlider/RangeSlider.tsx","../../../core/components/atoms/subheading/Subheading.tsx","../../../core/components/atoms/switchInput/Switch.tsx","../../../core/components/atoms/textarea/Textarea.tsx","../../../core/components/atoms/toast/ActionButton.tsx","../../../core/components/atoms/toast/Toast.tsx","../../../core/components/atoms/popperWrapper/PopperWrapper.tsx","../../../core/components/molecules/popover/Popover.tsx","../../../core/components/molecules/chipInput/ChipInput.tsx","../../../core/utils/navigationHelper.tsx","../../../core/components/organisms/verticalNav/MenuItem.tsx","../../../core/components/organisms/verticalNav/VerticalNav.tsx","../../../core/components/organisms/horizontalNav/HorizontalNav.tsx","../../../core/components/molecules/tooltip/Tooltip.tsx","../../../core/components/molecules/dialog/Dialog.tsx","../../../core/components/molecules/overlayFooter/OverlayFooter.tsx","../../../core/components/molecules/overlayHeader/OverlayHeader.tsx","../../../core/components/molecules/overlayBody/OverlayBody.tsx","../../../core/utils/overlayHelper.ts","../../../core/components/molecules/modal/Modal.tsx","../../../core/components/molecules/modal/ModalHeader.tsx","../../../core/components/molecules/modal/ModalBody.tsx","../../../core/components/molecules/modal/ModalFooter.tsx","../../../core/components/molecules/fullscreenModal/FullscreenModal.tsx","../../../core/components/molecules/sidesheet/Sidesheet.tsx","../../../core/components/atoms/collapsible/Collapsible.tsx","../../../core/components/molecules/chatMessage/Status.tsx","../../../core/components/molecules/chatMessage/Box.tsx","../../../core/components/molecules/chatMessage/MessageText.tsx","../../../core/components/molecules/chatMessage/ChatMessage.tsx","../../../core/components/molecules/emptyState/EmptyState.tsx","../../../core/components/molecules/modalDescription/ModalDescription.tsx","../../../core/components/molecules/pagination/Pagination.tsx","../../../core/components/molecules/editableInput/EditableInput.tsx","../../../core/components/molecules/editableChipInput/EditableChipInput.tsx","../../../core/components/atoms/progressRing/ProgressRing.tsx","../../../core/components/molecules/stepper/Step.tsx","../../../core/components/molecules/stepper/Stepper.tsx","../../../core/components/organisms/dateRangePicker/Trigger.tsx","../../../core/components/organisms/dateRangePicker/SingleInputTrigger.tsx","../../../core/components/organisms/dateRangePicker/utilities.tsx","../../../core/components/organisms/dateRangePicker/DateRangePicker.tsx","../../../core/components/molecules/tabs/TabsWrapper.tsx","../../../core/components/molecules/tabs/Tab.tsx","../../../core/components/molecules/tabs/Tabs.tsx","../../../core/components/molecules/dropzone/utils.tsx","../../../core/components/molecules/dropzone/FileErrors.tsx","../../../core/components/molecules/dropzone/FileSelectorUtils.tsx","../../../core/components/molecules/dropzone/DropzoneBase.tsx","../../../core/components/molecules/dropzone/DropzoneActive.tsx","../../../core/components/molecules/dropzone/DropzoneError.tsx","../../../core/components/molecules/dropzone/Dropzone.tsx","../../../core/components/molecules/fileUploader/FileUploaderFormat.tsx","../../../core/components/molecules/fileUploader/FileUploaderButton.tsx","../../../core/components/molecules/fileUploader/FileUploader.tsx","../../../core/components/molecules/fileUploader/FileUploaderStatus.tsx","../../../core/components/molecules/fileUploader/FileUploaderItem.tsx","../../../core/components/molecules/fileUploader/FileUploaderList.tsx","../../../core/components/organisms/grid/columnUtility.tsx","../../../core/components/organisms/grid/rowUtility.tsx","../../../core/components/organisms/grid/utility.tsx","../../../core/components/organisms/grid/defaultProps.tsx","../../../core/components/organisms/grid/GridContext.ts","../../../core/components/organisms/grid/GridNestedRow.tsx","../../../core/components/organisms/grid/Cell.tsx","../../../core/components/organisms/grid/GridHead.tsx","../node_modules/react-dynamic-virtual-scroll/dist/rvs-es.js","../../../core/components/organisms/grid/GridRow.tsx","../../../core/components/organisms/grid/GridBody.tsx","../../../core/components/organisms/grid/Grid.tsx","../../../core/components/organisms/grid/GridCell.tsx","../../../core/components/organisms/table/DraggableDropdown.tsx","../../../core/components/organisms/table/Header.tsx","../../../core/components/organisms/table/Table.tsx","../../../core/components/organisms/list/List.tsx","../../../core/components/organisms/navigation/VerticalNavigation.tsx","../../../core/components/organisms/navigation/Navigation.tsx","../../../core/components/organisms/pageHeader/PageHeader.tsx","../../../core/components/molecules/fileList/FileIcon.tsx","../../../core/components/molecules/fileList/FileListItem.tsx","../../../core/components/molecules/fileList/FileList.tsx","../../../core/components/molecules/verificationCodeInput/VerificationCodeInput.tsx"],"sourcesContent":[null,null,null,null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n",null,null,null,null,null,"/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\nfunction debounce (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.esm.js.map\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import * as React from 'react';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nvar isInView = function isInView(container, element) {\n var containerTop = container.offsetTop;\n var elementRect = element.getBoundingClientRect();\n var elementTop = elementRect.top;\n var elementHeight = elementRect.height;\n return elementHeight - (containerTop - elementTop) > 0;\n};\n\nvar VirtualScroll = /*#__PURE__*/function (_React$Component) {\n _inherits(VirtualScroll, _React$Component);\n\n var _super = _createSuper(VirtualScroll);\n\n function VirtualScroll(props) {\n var _this;\n\n _classCallCheck(this, VirtualScroll);\n\n _this = _super.call(this, props);\n _this.state = {\n offset: props.offset\n };\n _this.lastScrollTop = 0;\n _this.avgRowHeight = props.minItemHeight;\n return _this;\n }\n\n _createClass(VirtualScroll, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n window.requestAnimationFrame(function () {\n if (_this2.listRef) {\n _this2.listRef.scrollTop = _this2.state.offset * _this2.avgRowHeight;\n }\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(_prevProps, prevState) {\n if (prevState.offset > this.state.offset) {\n this.updateOffset(prevState);\n }\n }\n }, {\n key: \"updateOffset\",\n value: function updateOffset(prevState) {\n var offsetDiff = prevState.offset - this.state.offset;\n\n if (this.listRef) {\n var el = this.listRef;\n var items = el.querySelectorAll(\".VS-item\");\n var heightAdded = 0;\n var currOffset = prevState.offset;\n var start = Math.min(this.state.offset, this.props.buffer);\n var end = start + offsetDiff;\n\n for (var i = Math.min(items.length, end) - 1; i >= start; i--) {\n var inView = isInView(el, items[i]);\n\n if (inView) {\n currOffset--;\n var rowHeight = items[i].clientHeight;\n heightAdded += rowHeight;\n } else {\n break;\n }\n }\n\n if (items.length < end) {\n var diff = end - items.length;\n heightAdded += diff * this.props.minItemHeight;\n currOffset -= diff;\n }\n\n var newAvgRowHeight = currOffset === 0 ? this.props.minItemHeight : (this.avgRowHeight * prevState.offset - heightAdded) / currOffset;\n this.setState({\n offset: currOffset\n });\n this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight);\n }\n }\n }, {\n key: \"onScrollHandler\",\n value: function onScrollHandler(event) {\n if (this.listRef) {\n var _this$props = this.props,\n totalLength = _this$props.totalLength,\n length = _this$props.length,\n buffer = _this$props.buffer;\n var offset = this.state.offset;\n var avgRowHeight = this.avgRowHeight;\n var el = this.listRef;\n var scrollTop = el.scrollTop;\n var direction = Math.floor(scrollTop - this.lastScrollTop);\n if (direction === 0) return;\n var items = el.querySelectorAll(\".VS-item\");\n var newOffset = offset;\n var newAvgRowHeight = avgRowHeight;\n var start = Math.min(offset, buffer);\n\n if (direction > 0) {\n if (offset < totalLength - length) {\n var heightAdded = 0;\n\n for (var i = start; i < items.length; i++) {\n var inView = isInView(el, items[i]);\n var rowHeight = items[i].clientHeight;\n\n if (!inView) {\n heightAdded += rowHeight;\n newOffset++;\n } else {\n break;\n }\n }\n\n if (heightAdded < direction) {\n var heightLeft = direction - heightAdded;\n var offsetToBeAdded = Math.floor(heightLeft / this.props.minItemHeight);\n newOffset += offsetToBeAdded;\n heightAdded += offsetToBeAdded * this.props.minItemHeight;\n }\n\n newAvgRowHeight = newOffset > 0 ? (offset * avgRowHeight + heightAdded) / newOffset : this.props.minItemHeight;\n this.setState({\n offset: Math.min(newOffset, totalLength - length)\n });\n this.avgRowHeight = Math.max(this.props.minItemHeight, newAvgRowHeight);\n }\n } else {\n var scrollDiff = items[start].getBoundingClientRect().y - el.getBoundingClientRect().y;\n\n if (scrollDiff > 0) {\n var offsetDiff = Math.floor(scrollDiff / this.props.minItemHeight) || 1;\n\n var _newOffset = offset - offsetDiff;\n\n if (_newOffset < totalLength - (length + buffer)) {\n this.setState({\n offset: Math.max(0, _newOffset)\n });\n }\n }\n }\n\n this.lastScrollTop = scrollTop;\n }\n\n if (this.props.onScroll) this.props.onScroll(event);\n }\n }, {\n key: \"renderItems\",\n value: function renderItems(start, end) {\n var renderItem = this.props.renderItem;\n return Array.from({\n length: end - start + 1\n }, function (_, index) {\n var rowIndex = start + index;\n var component = renderItem(rowIndex);\n return /*#__PURE__*/React.cloneElement(component, {\n key: rowIndex,\n className: [\"VS-item\", component.props.className].join(' ').trim()\n });\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n var _this$props2 = this.props,\n totalLength = _this$props2.totalLength,\n length = _this$props2.length,\n buffer = _this$props2.buffer;\n _this$props2.offset;\n _this$props2.renderItem;\n _this$props2.minItemHeight;\n var forwardRef = _this$props2.forwardRef,\n rest = _objectWithoutProperties(_this$props2, [\"totalLength\", \"length\", \"buffer\", \"offset\", \"renderItem\", \"minItemHeight\", \"forwardRef\"]);\n\n var _this$state = this.state,\n init = _this$state.init,\n offset = _this$state.offset;\n var avgRowHeight = this.avgRowHeight;\n var start = Math.max(0, offset - buffer);\n var end = Math.min(offset + (length + buffer) - 1, totalLength - 1);\n var topPadding = Math.max(0, start * avgRowHeight);\n var bottomPadding = Math.max(0, (totalLength - end - 1) * avgRowHeight);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rest, {\n ref: function ref(el) {\n _this3.listRef = el;\n if (forwardRef) forwardRef.current = el;\n if (!init) _this3.setState({\n init: true\n });\n },\n onScroll: this.onScrollHandler.bind(this)\n }), init && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n style: {\n flexShrink: 0,\n height: topPadding\n }\n }), this.renderItems(start, end), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n flexShrink: 0,\n height: bottomPadding\n }\n })));\n }\n }]);\n\n return VirtualScroll;\n}(React.Component);\n\n_defineProperty(VirtualScroll, \"defaultProps\", {\n buffer: 10,\n length: 30,\n offset: 0\n});\n\nvar index = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(VirtualScroll, _extends({\n forwardRef: ref\n }, props));\n});\n\nexport default index;\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["colorToHex","color","getComputedStyle","document","documentElement","getPropertyValue","placeholders","_a","isPlaceholderPresent","placeholderChar","time","includes","isFormat12hour","format","get12hourFormat","hours","AMPM","hrs","get24hourFormat","am_pm","convertedHours","translateToTime","timeObj","getTimeObjectFromNumber","translateToString","d","Date","getHours","minutes","getMinutes","seconds","getSeconds","getTimeObjFromStr","separator","len","length","timeLength","lastChars","substring","is12hrFormat","timeFormat","inputFormat","v","split","forEach","f","i","getOutputTimeString","outputFormat","timeStr","val","isValid","validators","_i","value","iterator","Array","isArray","every","validator","date","validate","month","year","monthLength","p","hoursCond","rangeDate","extractBaseProps","props","baseProps","basePropsObj","reduce","acc","curr","filterProps","propsList","include","Object","entries","filter","obj","initialsLength","Avatar","withTooltip","tooltipPosition","size","children","firstName","lastName","className","appearance","initials","trim","slice","tooltip","DefaultAppearance","colors","AvatarAppearance","charCodeAt","classes","classNames","ContentClass","_b","IconClass","_c","renderAvatar","React","Text","weight","Icon","name","renderTooltip","Tooltip","position","triggerClass","displayName","defaultProps","AvatarGroup","max","borderColor","popoverOptions","list","popperRenderer","maxHeight","_d","_e","on","_f","dark","_g","appendToBody","_h","popperClassName","extraAvatars","style","borderRadius","backgroundColor","border","boxShadow","AvatarGroupClass","popperClass","trigger","renderPopper","extraAvatarsList","map","item","ind","key","renderAvatars","avatars","index","Popover","useEffect","useState","Backdrop","savedBodyOverflow","setBodyOverflow","open","setOpen","animate","setAnimate","disableBodyScroll","body","setProperty","enableBodyScroll","overflow","window","setTimeout","BackdropElement","ReactDOM","createPortal","Badge","subtle","getSearchedOptions","options","searchTerm","result","option","label","toLowerCase","_isEqual","arr1","arr2","_isControlled","selected","undefined","_isOpenControlled","_showSelectedItems","bulk","withCheckbox","_isSelectAllPresent","bulkOptions","withSelectAll","scrollTo","element","top","scrollIntoView","menuElement","focusedElement","menuRect","getBoundingClientRect","focusedRect","overscroll","offsetHeight","bottom","offsetTop","height","getSelectAll","optionsLength","disabledOptionsLength","indeterminate","checked","DropdownButton","forwardRef","ref","triggerSize","placeholder","menu","icon","disabled","inlineLabel","error","rest","buttonDisabled","trimmedPlaceholder","iconName","buttonClass","textClass","type","tabIndex","charAt","toUpperCase","GenericText","componentType","createElement","small","onClick","mapper","getIconAppearance","iconColor","x","indexOf","iconClass","styles","fontSize","width","isValidElement","uidGenerator","dt","getTime","uuid","replace","c","r","Math","random","floor","s","toString","Checkbox","forwardedRef","defaultChecked","onChange","useRef","useImperativeHandle","current","setChecked","setIndeterminate","CheckboxClass","CheckboxOuterWrapper","CheckboxTextClass","CheckboxInputWrapper","CheckboxWrapper","indeterminateValue","onChangeHandler","e","target","id","IconName","IconSize","htmlFor","CheckboxOption","optionData","onUpdateActiveOption","dataTest","onMouseEnter","DefaultOption","textClassName","onClickHandler","MetaOption","renderSubInfo","subInfo","IconOption","OptionClass","IconWithMetaOption","OptionTypeMapping","Option","updateActiveOption","active","checkboxes","optionType","OptionClassName","CheckboxClassName","truncateOption","customOptionClass","stopPropagation","optionRenderer","labelAppearance","iconAppearance","seperator","MetaList","seperatorAppearance","component","PlaceholderParagraph","wrapperClass","PlaceholderImage","round","Placeholder","imageSize","withImage","paragraphClasses","Loading","loadingType","alignmentMapping","right","left","DropdownList","listOptions","inputRef","align","applyButtonLabel","_j","cancelButtonLabel","_k","_l","_m","customTrigger","tempSelected","previousSelected","remainingOptions","firstEnabledOption","dropdownOpen","showApplyButton","withSearch","onSearchChange","applyOptions","cancelOptions","toggleDropdown","dropdownRef","createRef","triggerRef","dropdownTriggerRef","dropdownCancelButtonRef","dropdownApplyButtonRef","_o","popoverStyle","setPopoverStyle","_p","cursor","setCursor","minWidth","maxWidth","popperWidth","clientWidth","popperMinWidth","popperWrapperStyle","_q","_r","triggerLabel","CustomTrigger","NewCustomTrigger","cloneElement","dropdownStyle","overflowY","overflowX","getDropdownClass","isGroup","Dropdown","getDropdownSectionClass","showClearButton","dropdownClass","dropdownWrapperClass","SelectAllClass","onToggleDropdown","focus","onCancelOptions","onApplyOptions","optionClickHandler","onOptionSelect","searchClearHandler","searchHandler","event","parentCheckbox","updatedIndex","async","renderFooter","footerLabel","renderGroups","group","selectedGroup","onClearOptions","isClearDisabled","Button","renderApplyButton","disable","renderSearch","Input","autoFocus","onClear","autoComplete","renderLoading","loadersLength","arr","fill","renderSelectAll","selectAllLabel","selectAll","onSelectAll","renderOptions","selectAllPresent","optionIsSelected","findIndex","onSelect","renderDropdownSection","selectedSectionLabel","loadersCount","loadingOptions","noResultMessage","prevGroup","currentGroup","focusOption","direction","elements","querySelectorAll","updatedCursor","startIndex","endIndex","node","getAttribute","onkeydown","optionClass","preventDefault","activeElement","click","currentElement","disabledApplyButton","onKeyDown","onToggle","customStyle","__extends","_super","_this","filteredOptions","Promise","resolve","count","init","state","selected_1","unSelectedGroup","updatedAsync","fetchOptions","fetchFunction","fetchOptionsFunction","then","res","staticLimit","getUnSelectedOptions","getSelectedOptions","disabledOptions","getDisabledOptions","setState","loading","searchedOptionsLength","updateTriggerLabel","search","searchInit","onClose","popperIsOpen","disabledOptionsCount","temporarySelected","moveSelectedGroup","updateOptions","values","selectedArray","totalOptions","selectedLength","triggerOptions","getLabel","customLabel","labelLimit","join","isSingleSelect","isControlled","closeOnSelect","onPopperToggle","updatePreviousSelected","isClearClicked","debounceClear","selectedValues","onUpdate","updateSelectedOptions","splice","concat","selectedArr","selectedDisabledArray","debounce","searchDebounceDuration","onTogglePopper","optionsApplied","updatedOpen","min","prevProps","prevState","debounceSearch","updateOnPopperToggle","remainingOptionsLen","updateSearchTerm","Component","renderLink","Link","href","link","ev","renderDropdown","Breadcrumbs","BreadcrumbClass","sizeMapping","tiny","regular","large","iconAlign","largeIcon","expanded","Spinner","yearBlockRange","yearsInRow","monthBlock","monthsInRow","daysInRow","months","days","config","getIndexOfDay","day","getYearBlock","getDaysInMonth","getDate","getFirstDayOfMonth","getDay","getDateInfo","dateVal","convertToDate","getFullYear","getMonth","decadeYear","translateToDate","compareYearBlock","operator","currDecade","limitDecade","compareDate","currYear","currMonth","currDate","limitYear","limitMonth","limitDate","year_1","month_1","date_1","separator_1","f_1","out","year_2","month_2","date_2","v_1","yearBlockNav","yearNav","monthNav","yearBlock","rangePicker","rangeLimit","startDateState","endDateState","hoverDateState","startYear","startMonth","startDate","endYear","endMonth","endDate","hoverYear","hoverMonth","hoverDate","setDate","updateState","view","getNavDateInfo","getDateValue","disabledBefore","disabledAfter","headerIconClass","onNavIconClickHandler","currView","monthsInView","jumpView","yearNavVal","monthNavVal","headerContentClass","headerContent","renderHeading","content","Heading","onNavHeadingClickHandler","noOfRows","ceil","from","_y","row","_x","col","offset","valueClass","selectYear","selectMonth","firstDayOfWeek","dayValue","Subheading","onMouseLeave","onDateRowMouseLeaveHandler","renderDateValues","yearState","monthState","dateState","dayRange","dayDiff","dummyDays","abs","inRangeError","getInRangeError","selectDate","onMouseOverHandler","dummy","startActive","endActive","inRange","inRangeLast","sYear","sMonth","sDate","eYear","eMonth","eDate","isStart","isEnd","isRangeError","onMouseOver","containerClass","headerClass","bodyClass","renderJumpButton","renderHeaderContent","renderBodyYear","renderBodyMonth","renderBodyDate","now","Calendar","onDateChange","onRangeChange","renderCalendar","Card","shadow","CardSubdued","CardHeader","CardBody","CardFooter","withSeperator","GenericChip","clearButton","onCloseHandler","Chip","chipClass","clearbutton","select","ChipGroup","ChipGroupClass","Column","sizeXS","sizeS","sizeM","sizeL","sizeXL","Trigger","inputOptions","onBlurHandler","onClearHandler","showError","required","errorMessage","caption","inputValidator","Utils","mask","InputMask","utils","getDefaultValue","onBlur","clearOnEmptyBlur","dbYear","dbMonth","dbDate","daYear","daMonth","daDate","o","getError","DatePicker","newError","dVal","onDateChangeHandler","withInput","bind","onToggleHandler","TimePicker","onTimeChange","timeProp","setTime","setInit","updatedTime","outputTimeStr","sizeMap","m","l","xl","xxl","defaultValue","info","onFocus","actionIcon","readOnly","preventScroll","inputClass","leftIconClass","rightIconClass","capMin","Infinity","isNaN","capMax","MetricInput","prefix","suffix","valueProp","isUncontrolled","setValue","getArrowClass","onArrowClick","newValue","Number","syntheticEvent","create","iconSize","isEditable","pos","getNewCursorPosition","getDefaultSelection","start","end","getPlaceholderValue","getSelectionLength","deferId","selectionRef","selection","setSelection","setCursorPosition","setSelectionPos","getCurrSelection","selectionStart","selectionEnd","el","setSelectionRange","updateSelection","requestAnimationFrame","insertAtIndex","currValue","newIndex","newIterator","match","inputVal","currentTarget","currSelection","cursorPosition","enteredVal","updatedVal","removedLength","insertedStringLength","maskedVal","newCursorPosition","cancelAnimationFrame","onFocusHandler","Caption","hide","Label","optional","LabelClass","renderInfo","isRequired","isOptional","errorIconClass","Legend","labelWeight","legendClass","background","Editable","editing","EditableClass","EditableDropdown","dropdownOptions","customTriggerRenderer","onDropdownChange","onDropdownClose","setLabel","setEditing","showComponent","setShowComponent","CompClass","DefaultCompClass","EditableDropdownClass","updatedLabel","eventType","renderComponent","componentLabel","IconMapping","success","warning","alert","Message","actions","title","MessageClass","TitleClass","DescriptionClass","renderDescription","description","Meta","MetaClass","SeperatorClass","LeftSeperatorClass","rightSeperator","OutsideClick","onOutsideClick","innerRef","addEventListener","handleOutsideClick","removeEventListener","useCallback","findDOMNode","contains","Paragraph","ProgressBar","ProgressBarClass","Radio","RadioClass","RadioWrapper","RadioOuterWrapper","Row","StatusHint","StatusHintClass","StatusHintIconClass","Pills","wrapperClasses","circleClasses","Circle","svgProps","viewBox","circleProps","cx","cy","strokeMiterlimit","strokeWidth","ARROW_LEFT","ARROW_RIGHT","formatPercentage","ratio","toFixed","countDecimalPlaces","isFinite","valueArray","approxEqual","a","b","tolerance","clamp","arraysEqual","oldValues","newValues","argMin","argFn","minValue","minArg","arg","fillValues","fillValue","inc","isElementOfType","_ComponentType","isHandleMoving","isHandleHovered","handle","handleElement","clientX","clientPixel","stepSize","tickSize","clientPixelNormalized","getHandleMidpointAndOffset","handleMidpoint","handleOffset","handleCenterPixel","pixelDelta","callback","updatedValue","mouseEventClientOffset","onRelease","removeDocumentEventListeners","finalValue","changeValue","clientToValue","continueHandleMovement","endHandleMovement","which","Keys","useOppositeDimension","handleRect","sizeKey","Handle","_prevProps","tickSizeRatio","isCurrentLabelHovered","showTootlip","offsetRatio","offsetCalc","TooltipClass","handleMouseOver","handleMouseLeave","onMouseDown","beginHandleMovement","handleKeyDown","onKeyUp","handleKeyUp","refHandlers","MultiSliderHandle","labelPrecision","handleElements","push","maybeHandles","Children","child","handles","sort","trackElement","trackSize","fillAfter","fillBefore","canHandleTrackEvent","closest","foundHandle","nearestHandleForValue","oldIndex","handleProps","getHandleValues","lockIndex","getLockedHandleIndex","lockValue","onRangeRelease","getNewHandleValues","range","labelRenderer","hoveredLabelValue","onReleaseHandler","formatLabel","addHandleRef","labelStepSize","labels","stepSizeRatio","activeLabels","offsetPercentage","handleLabelMouseOver","handleLabelMouseLeave","getOffsetRatio","startRatio","endRatio","startOffset","endOffset","orientationStyle","fillTrack","getTrackFill","trackStops","previous","track","renderTrackFill","getLabelPrecision","MultiSlider","prevHandleProps","newHandleProps","updateTickSize","getOffset","offsetValue","handleValue","SliderClass","WrapperClass","maybeHandleTrackClick","renderTracks","renderLabels","renderHandles","Slider","RangeIndex","RangeSlider","START","END","Switch","checkedProp","SwitchClass","SwitchWrapper","Textarea","rows","resize","ActionButton","Toast","message","titleClass","headingClass","action","oldStyle","placement","newStyle","marginBottom","offsetMapping","marginTop","marginRight","marginLeft","hoverableDelay","medium","popupRef","getPopperChildren","mouseMoveHandler","handleMouseEnter","boundaryScrollHandler","PopperWrapper","addBoundaryScrollHandler","boundaryElement","removeBoundaryScrollHandler","_throttleWait","triggerElement","zIndex","getZIndexForLayer","closeOnScroll","togglePopper","_timer","clearTimeout","hoverable","layerNode","parseInt","onOutsideClickHandler","closeOnBackdropClick","doesEventContainsElement","outOfBoundaries","getUpdatedStyle","Manager","Reference","getTriggerElement","Popper","modifiers","preventOverflow","boundariesElement","enabled","hideOnReferenceEscape","defaultOnToggle","newOpen","PopoverWrapper","assign","keyCodes","BACKSPACE","DELETE","ENTER","ChipInput","chipOptions","allowDuplicates","chips","setChips","inputValue","setInputValue","ChipInputClass","onUpdateChips","updatedChips","onChipDeleteHandler","onChipAddHandler","chip","onDeleteAllHandler","onKeyDownHandler","chipsLength","onInputChangeHandler","chipComponents","getTextAppearance","isActive","getPillsAppearance","getMenu","menus","menus_1","subMenu","activeMenu","find","submenu","isMenuActive","currActiveMenu","MenuItem","rounded","hasSubmenu","isChildren","isChildrenVisible","ItemClass","renderSubMenu","PillsClass","VerticalNav","autoCollapse","menuState","setMenuState","currMenu","updateMenuState","nameSplit","name_1","menuData","renderList","hasGroup","sectionClass","HorizontalNav","getPillsClass","renderIcon","menuClasses","tooltipWrapper","Dialog","dimension","primaryButtonAppearance","secondaryButtonAppearance","heading","primaryButtonLabel","primaryButtonCallback","secondaryButtonLabel","secondaryButtonCallback","Modal","headerOptions","footer","ModalDescription","OverlayFooter","wrapperRef","secondaryBtns","secondaryBtn_1","OverlayHeader","subHeading","backButton","backIcon","backIconCallback","backButtonCallback","subheadingClass","OverlayBody","stickFooter","withFooter","getWrapperElement","querySelector","classList","add","appendChild","getUpdatedZIndex","ele","containerClassName","elementRef","siblings","prevZIndex","modalRef","backdropClose","header","footerOptions","footerClass","ContainerClass","ModalContainer","ModalWrapper","WrapperElement","ModalHeader","ModalBody","ModalFooter","FullscreenModal","sidesheetWidth","Sidesheet","sidesheetRef","SidesheetContainer","SidesheetWrapper","Collapsible","expandedWidth","isClicked","setIsClicked","setSeperator","scrollHeight","clientHeight","BodyClass","FooterClass","newExpanded","Status","readText","failedText","sendingText","StatusClass","TextClass","t","Box","isTyping","statusType","withStatus","MessageText","text","typingText","ChatMessage","statusOptions","imageHeight","HeadingSize","textSize","EmptyState","imageSrc","HeadingClass","src","Pagination","totalPages","onPageChange","page","setPage","nextButtonWrapperClass","prevButtonWrapperClass","inputChangeHandler","buttonType","EditableInput","disableSaveAction","onInputChange","EditableInputClass","EditableDefaultClass","InputClass","ActionClass","setDefaultComponent","onSaveChanges","inputComponent","renderChildren","EditableChipInput","chipInputOptions","onChipInputChange","chipObject","isWithChips","actionClass","defaultClasses","onChipInputChangeHandler","renderDefaultState","ProgressRing","radius","circumference","PI","ProgressRingClass","Ring","strokeDasharray","strokeDashoffset","Step","completed","StepClass","onClickHandle","Stepper","steps","skipIndexes","stepLabel","stepValue","StepperClass","step","isSkipped","activeStep","completedStep","steplabel","stepvalue","startInputOptions","endInputOptions","startError","endError","updateNav","startPlaceholderChar","endPlaceholderChar","showStartError","showEndError","startErrorMessage","endErrorMessage","startLabel","endLabel","SingleInputTrigger","startValue","endValue","sValue","eValue","startVal","endVal","startD","isEndDateValid","endD","isStartDateValid","getCurrentYear","currentYear","getCurrentMonth","currentMonth","getCurrentWeek","currentDate","currentDay","getPreviousWeek","getPreviousMonth","getPrevious90Days","getCustomDates","isError","getErrors","DateRangePicker","onRangeChangeHandler","singleInput","contentAlign","RangePickerClass","TabsWrapper","onTabChange","tabs","totalTabs","setActiveTab","tabClickHandler","TabsHeader","tabHeaderClass","Tab","Fragment","Tabs","withSeparator","activeIndex","tabsClass","isKeyboard","tabRefs","blur","tabKeyDownHandler","prevElement","nextElement","tab","renderTabs","textAppearance","accepts","file","acceptedFiles","acceptedFilesArray","fileName_1","mimeType_1","baseMimeType_1","some","validType","endsWith","isPropagationStopped","cancelBubble","isEvtWithFiles","dataTransfer","files","prototype","call","types","onDocumentDragOver","composeEventHandlers","fns","args","fn","reducer","isFocused","isFileDialogActive","isDragActive","draggedFiles","fileRejections","fileErrorMessages","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","isDefined","getInvalidTypeRejectionErr","accept","updatedAccept","messageSuffix","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","fileAccepted","isAcceptable","fileMatchSize","getFileError","multiple","typeError","accepted","sizeError","sizeMatch","allFilesAccepted","COMMON_MIME_TYPES","Map","FILES_TO_IGNORE","fromEvent","evt","isDragEvt","getDataTransferFiles","getInputFiles","toFileWithPath","path","withMimeType","webkitRelativePath","defineProperty","writable","configurable","enumerable","hasExtension","lastIndexOf","ext","pop","get","isInput","fromList","items","kind","all","toFilePromises","noIgnoredFiles","flatten","webkitGetAsEntry","fromDataTransferItem","entry","isDirectory","fromDirEntry","getAsFile","reject","fwp","fromEntry","fromFileEntry","reader","createReader","readEntries","batch","err_1","err","fullPath","initialState","isDragAccept","isDragReject","DropzoneBase","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onFileDialogCancel","getFilesFromEvent","preventDropOnDocument","rootRef","useReducer","dispatch","openFileDialog","onWindowFocus","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","dragTargetsRef","onDocumentDrop","onDragEnterCb","persist","onDragOverCb","dropEffect","onDragLeaveCb","targets","targetIdx","onDropCb","acceptError","customErrors","errors","composeHandler","composeKeyboardHandler","_fn","composeDragHandler","getRootProps","useMemo","refKey","onDragEnterCallback","onDragOverCallback","onDragLeaveCallback","onDropCallback","onInputElementClick","getInputProps","inputProps","display","fileCount","fileError","DropzoneActive","DropzoneError","Dropzone","sizeLabel","sampleFileLink","DropzoneClass","renderDropzone","FileUploaderFormat","FileUploaderButton","uploadButtonLabel","FileUploaderButtonClass","fileList","FileUploader","FileUploaderClass","FileUploaderStatus","progress","status","onRetry","FileUploaderItem","onDelete","FileItemClass","FileUploaderList","FileListClass","fileName","resizeCol","updateColumnSchema","elX","resizable","pageX","sortColumn","sortingList","updateSortingList","newSortingList","pinColumn","schemaUpdate","pinned","hideColumn","hidden","getWidth","isPercent","checkboxCell","checkboxWidth","gridWidth","getCellSize","cellType","sizes","AVATAR","AVATAR_WITH_TEXT","AVATAR_WITH_META_LIST","ICON","minWdth","STATUS_HINT","WITH_META_LIST","DEFAULT","updateBatchData","data","rowIndexes","dataUpdate","updatedData","rowIndexes_1","rowIndex","translateData","schema","newData","translate","translatedData","filterData","filterList","filteredData","keys","schemaName","filters","sIndex","onFilterChange","sortData","sortedData","defaultComparator","aData","bData","localeCompare","comparator","reverse","paginateData","pageSize","paginatedData","moveToIndex","to","newArr","getTotalPages","totalRecords","anyUnSelected","_selected","allUnSelected","hasSchema","getSchema","loaderSchema","response","getPluralSuffix","showHead","showFilters","context","createContext","GridProvider","Provider","GridNestedRow","useContext","GridContext","nestedRowRenderer","HeaderCell","onMenuChange","draggable","showMenu","headCellTooltip","schemaProp","sorting","isValidSchema","listIndex","sorted","sortOptions","pinOptions","unpinOption","hideOptions","unsortOption","filterOptions","fl","renderLabel","BodyCell","expandedState","colIndex","nestedRows","setExpanded","cellProps","nestedProps","isNestedRowDisabled","cellRenderer","GridCell","Cell","isHead","firstCell","reorderColumn","cellClass","onDragStart","setData","getData","GridHead","pinnedSchema","leftPinnedSchema","rightPinnedSchema","unpinnedSchema","renderCheckbox","show","renderSchema","currSchema","shouldRenderCheckbox","cI","GridRow","onRowClick","rI","rowRef","rowClasses","GridBody","withPagination","errorTemplate","prevPageInfo","updatePrevPageInfo","gridBodyEl","scrollTop","minRowHeight","comfortable","standard","compressed","tight","isLastPage","dataLength","renderItem","VirtualScroll","minItemHeight","totalLength","buffer","gridHeadEl","gridRef","isHeadSyncing","isBodySyncing","scrollLeft","newSchema","updateSchema","updateRenderedSchema","fromInd","toInd","updateFilterList","newFilterList","pageInfo","Grid","forceRerender","forceUpdate","removeScrollListeners","addScrollListeners","syncScroll","renderTitle","cellData","renderMetaList","metaList","renderStatusHint","statusAppearance","DraggableDropdown","tempOptions","setTempOptions","triggerWidth","setTriggerWidth","handleParentChange","handleChildChange","newOptions","onCancelHandler","onApplyHandler","Header","searchPlaceholder","dynamicColumn","allowSelectAll","selectAllRecords","setSelectAllRecords","flag","setFlag","filterSchema","columnOptions","onDynamicColumnUpdate","__assign","colSchema","selectedCount","defaultErrorTemplate","errorType","errorMessages","FAILED_TO_FETCH","NO_RECORDS_FOUND","multipleSorting","paginationType","filterPosition","searchUpdate","debounceUpdate","updateDataFn","fetchData","dataProp","onSearch","opts","searchedData","renderedData","renderedSchema","indexes","_","newPage","newSearchTerm","Table","updateData","withHeader","headerChildren","headerAttr","List","VerticalNavigation","activeMenuIcon","menuIconClasses","subMenuClasses","footerClasses","Navigation","renderNavigation","PageHeader","navigation","stepper","breadcrumbs","badge","meta","navigationPosition","renderCenter","audio","image","video","application","others","FileIcon","fileType","uploadingIconClass","FileListItem","fileItem","fileSize","FileList","actionRenderer","KEY_CODE","backspace","up","down","E","VerificationCodeInput","fields","onComplete","initialValues","initialRefs","__spreadArrays","setValues","refs","completeValue","dataset","fieldValue","nextRef","nextIndex","prevIndex","prev","vals","wrapperClassNames"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD;IAAmB,SAAAC,gBAAgB,CAACC,QAAQ,CAACC,eAAV,CAAhB,CAA2CC,gBAA3C,CAA4D,OAAKJ,KAAjE,CAAA;IAAyE,CAA/G;;;;;;;;;ICSA,IAAMK,YAAY,eACvBC,KAAC,QAAD,GAAW,SACXA,KAAC,WAAD,GAAc,gBAFS,CAAlB;IAKA,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,eAAD,EAA0BC,IAA1B;IAClC,SAAOA,IAAI,IAAIA,IAAI,CAACC,QAAL,CAAcF,eAAd,CAAf;IACD,CAFM;IAIA,IAAMG,cAAc,GAAG,SAAjBA,cAAiB,CAACC,MAAD;IAC5B,SAAOA,MAAM,KAAK,UAAlB;IACD,CAFM;;IAIP,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,KAAD;IACtB,MAAMC,IAAI,GAAGD,KAAK,GAAG,EAAR,GAAa,IAAb,GAAoB,IAAjC;IACA,MAAME,GAAG,GAAGF,KAAK,GAAG,EAAR,IAAc,EAA1B;IACA,SAAO;IAAEE,IAAAA,GAAG,KAAL;IAAOD,IAAAA,IAAI;IAAX,GAAP;IACD,CAJD;;IAMA,IAAME,eAAe,GAAG,SAA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gC,wBAC1C5C,uCAAA,CAAC4S,KAAD;IACEnQ,MAAAA,GAAG,EAAEG;IACL7D,MAAAA,SAAS,EAAEorD,iBAAiB,CAACvnD,KAAD;IAC5BjE,MAAAA,IAAI,EAAC;IACLmR,MAAAA,QAAQ,EAAC;IACTnT,MAAAA,KAAK,EAAEJ;IACPuK,MAAAA,WAAW,EAAEA;IACb8C,MAAAA,QAAQ,EAAEY;IACV4K,MAAAA,SAAS,EAAEA;IACXqS,MAAAA,OAAO,EAAE6D;IACT5F,MAAAA,MAAM,EAAEZ;qBACCliB;IACTgE,MAAAA,GAAG,EAAE8iD,IAAI,CAAC9mD,KAAD;WACLwE,KAbN,CAD0C;IAiB3C,GAjBA,CAJH,CADF;IA0BD;;IAED+hD,qBAAqB,CAAC1oD,WAAtB,GAAoC,uBAApC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../core/utils/css.ts","../../../core/components/organisms/timePicker/utils.tsx","../../../core/utils/validators.ts","../../../core/utils/masks.ts","../node_modules/tslib/tslib.es6.js","../../../core/utils/types.tsx","../../../core/components/atoms/avatar/Avatar.tsx","../../../core/components/atoms/avatarGroup/AvatarCount.tsx","../../../core/components/atoms/avatarGroup/Avatars.tsx","../../../core/components/atoms/avatarGroup/AvatarPopperBody.tsx","../../../core/components/atoms/avatarGroup/AvatarGroup.tsx","../../../core/components/atoms/backdrop/Backdrop.tsx","../../../core/components/atoms/badge/Badge.tsx","../../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx","../../../core/components/atoms/button/Button.tsx","../../../core/components/organisms/calendar/config.ts","../../../core/components/organisms/calendar/utility.ts","../../../core/components/organisms/calendar/Calendar.tsx","../../../core/components/atoms/card/Card.tsx","../../../core/components/atoms/cardSubdued/CardSubdued.tsx","../../../core/components/atoms/cardHeader/CardHeader.tsx","../../../core/components/atoms/cardBody/CardBody.tsx","../../../core/components/atoms/cardFooter/CardFooter.tsx","../../../core/accessibility/utils/isSpaceKey.ts","../../../core/accessibility/utils/useAccessibilityProps.ts","../../../core/components/atoms/icon/utils.tsx","../../../core/components/atoms/icon/Icon.tsx","../../../core/components/atoms/_text/index.tsx","../../../core/components/atoms/text/Text.tsx","../../../core/components/atoms/_chip/index.tsx","../../../core/components/atoms/chip/Chip.tsx","../../../core/components/atoms/chipGroup/ChipGroup.tsx","../../../core/utils/uidGenerator.tsx","../../../core/components/atoms/checkbox/CheckboxIcon.tsx","../../../core/components/atoms/checkbox/Checkbox.tsx","../../../core/components/atoms/column/Column.tsx","../../../core/components/organisms/datePicker/Trigger.tsx","../../../core/components/organisms/datePicker/DatePicker.tsx","../../../core/components/organisms/timePicker/utility/timePickerUtility.tsx","../../../core/components/organisms/timePicker/utility/searchUtils.tsx","../../../core/components/atoms/dropdown/utility.tsx","../../../core/components/organisms/timePicker/TimePickerWithSearch.tsx","../../../core/components/organisms/timePicker/TimePickerWithInput.tsx","../../../core/components/organisms/timePicker/TimePicker.tsx","../node_modules/throttle-debounce/index.esm.js","../../../core/components/atoms/dropdown/DropdownButton.tsx","../../../core/components/atoms/dropdown/option/CheckboxOption.tsx","../../../core/components/atoms/dropdown/option/DefaultOption.tsx","../../../core/components/atoms/dropdown/option/MetaOption.tsx","../../../core/components/atoms/dropdown/option/IconOption.tsx","../../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx","../../../core/components/atoms/dropdown/option/index.tsx","../../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx","../../../core/components/atoms/placeholderImage/PlaceholderImage.tsx","../../../core/components/molecules/placeholder/Placeholder.tsx","../../../core/components/atoms/dropdown/Loading.tsx","../../../core/components/atoms/dropdown/DropdownList.tsx","../../../core/components/atoms/dropdown/Dropdown.tsx","../../../core/components/atoms/heading/Heading.tsx","../../../core/components/atoms/input/actionButton/ActionButton.tsx","../../../core/components/atoms/input/Input.tsx","../../../core/components/atoms/metricInput/MetricInput.tsx","../../../core/components/molecules/inputMask/utilites.tsx","../../../core/components/molecules/inputMask/InputMask.tsx","../../../core/components/atoms/label/Label.tsx","../../../core/components/atoms/caption/Caption.tsx","../../../core/components/atoms/legend/Legend.tsx","../../../core/components/atoms/editable/Editable.tsx","../../../core/components/molecules/editableDropdown/EditableDropdown.tsx","../../../core/components/atoms/link/Link.tsx","../../../core/components/atoms/message/Message.tsx","../../../core/components/atoms/metaList/Meta.tsx","../../../core/components/atoms/metaList/MetaList.tsx","../../../core/utils/Keys.ts","../../../core/components/atoms/multiSlider/SliderUtils.tsx","../../../core/components/atoms/multiSlider/Handle.tsx","../../../core/components/atoms/multiSlider/index.tsx","../../../core/components/atoms/outsideClick/OutsideClick.tsx","../../../core/components/atoms/paragraph/Paragraph.tsx","../../../core/components/atoms/progressBar/ProgressBar.tsx","../../../core/components/atoms/radio/Radio.tsx","../../../core/components/atoms/row/Row.tsx","../../../core/components/atoms/statusHint/StatusHint.tsx","../../../core/components/atoms/pills/Pills.tsx","../../../core/components/atoms/spinner/Spinner.tsx","../../../core/components/atoms/slider/Slider.tsx","../../../core/components/atoms/rangeSlider/RangeSlider.tsx","../../../core/components/atoms/subheading/Subheading.tsx","../../../core/components/atoms/switchInput/Switch.tsx","../../../core/components/atoms/textarea/Textarea.tsx","../../../core/components/atoms/toast/ActionButton.tsx","../../../core/components/atoms/toast/Toast.tsx","../../../core/components/atoms/popperWrapper/PopperWrapper.tsx","../../../core/components/molecules/popover/Popover.tsx","../../../core/components/molecules/chipInput/ChipInput.tsx","../../../core/utils/navigationHelper.tsx","../../../core/components/organisms/verticalNav/MenuItem.tsx","../../../core/components/organisms/verticalNav/VerticalNav.tsx","../../../core/components/organisms/horizontalNav/HorizontalNav.tsx","../../../core/components/molecules/tooltip/Tooltip.tsx","../../../core/components/molecules/dialog/Dialog.tsx","../../../core/components/molecules/overlayFooter/OverlayFooter.tsx","../../../core/components/molecules/overlayHeader/OverlayHeader.tsx","../../../core/components/molecules/overlayBody/OverlayBody.tsx","../../../core/utils/overlayHelper.ts","../../../core/utils/OverlayManager.tsx","../../../core/components/molecules/modal/Modal.tsx","../../../core/components/molecules/modal/ModalHeader.tsx","../../../core/components/molecules/modal/ModalBody.tsx","../../../core/components/molecules/modal/ModalFooter.tsx","../../../core/components/molecules/fullscreenModal/FullscreenModal.tsx","../../../core/components/molecules/sidesheet/Sidesheet.tsx","../../../core/components/atoms/collapsible/Collapsible.tsx","../../../core/components/molecules/chatMessage/Status.tsx","../../../core/components/molecules/chatMessage/Box.tsx","../../../core/components/molecules/chatMessage/MessageText.tsx","../../../core/components/molecules/chatMessage/ChatMessage.tsx","../../../core/components/molecules/emptyState/EmptyState.tsx","../../../core/components/molecules/modalDescription/ModalDescription.tsx","../../../core/components/molecules/pagination/Pagination.tsx","../../../core/components/molecules/editableInput/EditableInput.tsx","../../../core/components/molecules/editableChipInput/EditableChipInput.tsx","../../../core/components/atoms/progressRing/ProgressRing.tsx","../../../core/components/molecules/stepper/Step.tsx","../../../core/components/molecules/stepper/Stepper.tsx","../../../core/components/organisms/dateRangePicker/Trigger.tsx","../../../core/components/organisms/dateRangePicker/SingleInputTrigger.tsx","../../../core/components/organisms/dateRangePicker/utilities.tsx","../../../core/components/organisms/dateRangePicker/DateRangePicker.tsx","../../../core/components/molecules/tabs/TabsWrapper.tsx","../../../core/components/molecules/tabs/Tab.tsx","../../../core/components/molecules/tabs/Tabs.tsx","../../../core/components/molecules/dropzone/utils.tsx","../../../core/components/molecules/dropzone/FileErrors.tsx","../../../core/components/molecules/dropzone/FileSelectorUtils.tsx","../../../core/components/molecules/dropzone/DropzoneBase.tsx","../../../core/components/molecules/dropzone/DropzoneIcon.tsx","../../../core/components/molecules/dropzone/DropzoneActive.tsx","../../../core/components/molecules/dropzone/DropzoneError.tsx","../../../core/components/molecules/dropzone/Dropzone.tsx","../../../core/components/molecules/fileUploader/FileUploaderFormat.tsx","../../../core/components/molecules/fileUploader/FileUploaderButton.tsx","../../../core/components/molecules/fileUploader/FileUploader.tsx","../../../core/components/molecules/fileUploader/FileUploaderStatus.tsx","../../../core/components/molecules/fileUploader/FileUploaderItem.tsx","../../../core/components/molecules/fileUploader/FileUploaderList.tsx","../../../core/components/organisms/grid/columnUtility.tsx","../../../core/components/organisms/grid/rowUtility.tsx","../../../core/components/organisms/grid/utility.tsx","../../../core/components/organisms/grid/defaultProps.tsx","../../../core/components/organisms/grid/GridContext.ts","../../../core/components/organisms/grid/Cell.tsx","../../../core/components/organisms/grid/GridHead.tsx","../../../core/components/organisms/grid/GridNestedRow.tsx","../../../core/components/organisms/grid/GridRow.tsx","../../../core/components/organisms/grid/GridBody.tsx","../../../core/components/organisms/grid/Grid.tsx","../../../core/components/organisms/grid/GridCell.tsx","../../../core/components/organisms/table/DraggableDropdown.tsx","../../../core/components/organisms/table/Header.tsx","../../../core/components/organisms/table/Table.tsx","../../../core/components/organisms/list/List.tsx","../../../core/components/organisms/navigation/VerticalNavigation.tsx","../../../core/components/organisms/navigation/Navigation.tsx","../../../core/components/organisms/pageHeader/PageHeader.tsx","../../../core/components/molecules/fileList/FileIcon.tsx","../../../core/components/molecules/fileList/FileListItem.tsx","../../../core/components/molecules/fileList/FileList.tsx","../../../core/components/molecules/verificationCodeInput/VerificationCodeInput.tsx","../../../core/components/organisms/inlineMessage/InlineMessage.tsx","../../../core/components/organisms/choiceList/ChoiceList.tsx","../../../core/components/atoms/divider/Divider.tsx","../../../core/components/atoms/helpText/HelpText.tsx","../../../core/components/atoms/linkButton/LinkButton.tsx","../../../core/components/atoms/actionCard/ActionCard.tsx"],"sourcesContent":[null,null,null,null,"/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\nfunction debounce (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.esm.js.map\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["colorToHex","color","getComputedStyle","document","documentElement","getPropertyValue","placeholders","_a","isPlaceholderPresent","placeholderChar","time","includes","isFormat12hour","format","get12hourFormat","hours","AMPM","hrs","get24hourFormat","am_pm","convertedHours","translateToTime","timeObj","getTimeObjectFromNumber","translateToString","d","Date","getHours","minutes","getMinutes","seconds","getSeconds","getTimeObjFromStr","separator","len","length","timeLength","lastChars","substring","is12hrFormat","timeFormat","inputFormat","v","split","forEach","f","i","getOutputTimeString","outputFormat","timeStr","val","isValid","validators","_i","value","iterator","Array","isArray","every","validator","date","validate","month","year","monthLength","p","date_1","date_2","date_3","date_4","date_5","date_6","hoursCond","isNaturalNumber","test","Math","floor","rangeDate","extractBaseProps","props","baseProps","basePropsObj","reduce","acc","curr","filterProps","propsList","include","Object","entries","filter","obj","initialsLength","Avatar","withTooltip","tooltipPosition","size","children","firstName","lastName","className","appearance","initials","trim","slice","tooltip","DefaultAppearance","colors","AvatarAppearance","charCodeAt","classes","classNames","ContentClass","_b","IconClass","_c","renderAvatar","React","Text","weight","Icon","name","renderTooltip","Tooltip","position","triggerClass","displayName","defaultProps","AvatarCount","hiddenAvatarCount","avatarStyle","AvatarVariantsClass","style","Avatars","avatarList","GroupClass","avatars","map","item","index","key","AvatarPopperBody","hiddenAvatarList","popperRenderer","maxHeight","dark","ind","AvatarTextClass","AvatarGroup","max","borderColor","popoverOptions","list","_d","_e","on","_f","_g","appendToBody","_h","popperClassName","min","backgroundColor","boxShadow","tinyAvatarStyle","AvatarGroupClass","popperClass","Popover","trigger","offset","useEffect","useState","Backdrop","savedBodyOverflow","setBodyOverflow","open","setOpen","animate","setAnimate","disableBodyScroll","body","setProperty","enableBodyScroll","overflow","window","setTimeout","BackdropElement","ReactDOM","createPortal","zIndex","Badge","subtle","RenderLink","onClick","onClickHandler","ev","preventDefault","link","Link","href","label","RenderItem","showTooltip","renderDropdown","options","customTrigger","Button","type","icon","largeIcon","Dropdown","triggerSize","triggerOptions","menu","onChange","selected","Breadcrumbs","BreadcrumbClass","sizeMapping","tiny","regular","large","ButtonElement","forwardRef","ref","iconAlign","tabIndex","expanded","loading","disabled","iconVariations","rest","buttonClass","iconClass","Spinner","variations","yearBlockRange","yearsInRow","monthBlock","monthsInRow","daysInRow","months","days","small","config","getIndexOfDay","day","indexOf","getYearBlock","getDaysInMonth","getDate","getFirstDayOfMonth","getDay","getDateInfo","dateVal","convertToDate","getFullYear","getMonth","decadeYear","translateToDate","undefined","compareYearBlock","operator","currDecade","limitDecade","compareDate","currYear","currMonth","currDate","limitYear","limitMonth","limitDate","year_1","month_1","separator_1","f_1","out","year_2","month_2","v_1","dateComparison","currentDate","toDateString","__extends","_super","_this","setState","state","yearBlockNav","yearNav","monthNav","yearBlock","rangePicker","rangeLimit","startDateState","endDateState","hoverDateState","startYear","startMonth","startDate","endYear","endMonth","endDate","hoverYear","hoverMonth","hoverDate","setDate","updateState","view","isCurrentYear","isDisabled","onYearHover","yearData","isCurrentMonth","onMonthHover","monthData","prevMonthDayRange","dayRange","calculateDate","isDateHovered","neighbouringMonthIndex","neighbouringMonthDate","getNavDateInfo","onNavIconClickHandler","getDateValue","disabledBefore","disabledAfter","headerIconClass","currView","monthsInView","jumpView","yearNavVal","monthNavVal","headerContentClass","headerContent","renderHeading","content","Heading","onNavHeadingClickHandler","noOfRows","ceil","from","_y","row","_x","col","active","valueClass","textClass","getTextColor","inverse","white","primary","selectYear","onMouseOver","yearMouseOverHandler","bind","selectMonth","monthMouseOverHandler","firstDayOfWeek","textSize","dayValue","onMouseLeave","onDateRowMouseLeaveHandler","renderDateValues","onDateHover","yearState","monthState","dateState","todayDate","prevMonth","prevYear","dayDiff","dummyDays","abs","inRangeError","getInRangeError","events","selectDate","onMouseOverHandler","onMouseEnterHandler","isToday","dayName","dateData","fullDate","dummy","today","boolVal","startActive","endActive","inRange","inRangeLast","sYear","sMonth","sDate","eYear","eMonth","eDate","isStart","isEnd","dateInString","monthInString","yearInString","completeDateString","isEventExist","hasOwnProperty","isRangeError","isStartActive","isEndActive","activeDate","isHoverLast","isEdgeElement","isValueRange","wrapperClass","onMouseEnter","renderEventsIndicator","containerClass","headerClass","bodyClass","renderJumpButton","renderHeaderContent","renderBodyYear","renderBodyMonth","renderBodyDate","now","todayCompleteDate","Calendar","prevProps","prevState","onDateChange","getTime","onRangeChange","_j","eventsIndicatorClass","renderCalendar","Component","Card","shadow","CardSubdued","border","CardHeader","CardBody","CardFooter","withSeperator","isSpaceKey","e","allowed","button","Set","checkbox","radio","isKeyboardInteractionAllowed","role","allowedKeys","has","useAccessibilityProps","onKeyDown","getOpticalSize","iconVariantMapper","more_horiz","opticalSize","fill","radio_button_checked","radio_button_unchecked","schedule","help_outline","check_circle_outline","highlight_of","credit_card","delete_outline","bookmark_border","work_outline","alarm","arrow_circle_up","copyright","query_builder","card_membership","arrow_circle_down","change_history","aspect_ratio","calendar_view_month","alarm_on","thumb_down_off_alt","important_devices","turned_in_not","add_circle_outline","speed","content_copy","timelapse","getFontVariation","iconName","defaultVariant","grade","accessibilityProps","mapper","outline","sharp","round","filled","getIconAppearance","iconColor","x","charAt","toUpperCase","styles","fontSize","width","isValidElement","GenericText","componentType","createElement","GenericChip","clearButton","onClose","labelPrefix","align","onCloseHandler","stopPropagation","onKeyDownHandler","event","iconAppearance","textColor","renderLabel","Chip","clearbutton","select","chipClass","ChipGroup","ChipGroupClass","uidGenerator","dt","uuid","replace","c","r","random","s","toString","CheckboxIcon","height","viewBox","xmlns","fillRule","clipRule","Checkbox","forwardedRef","defaultChecked","indeterminate","error","checkedProp","helpText","id","useRef","useImperativeHandle","current","_k","checked","setChecked","setIndeterminate","CheckboxClass","CheckboxOuterWrapper","CheckboxInputWrapper","CheckboxWrapper","CheckboxLabelClass","indeterminateValue","onChangeHandler","target","IconMapper","htmlFor","Column","sizeXS","sizeS","sizeM","sizeL","sizeXL","Trigger","inputOptions","init","onPasteHandler","onPaste","onBlurHandler","onBlur","hasNumber","onClearHandler","onClear","showError","required","errorMessage","caption","inputValidator","Utils","mask","InputMask","placeholder","utils","getDefaultValue","clearOnEmptyBlur","dbYear","dbMonth","dbDate","daYear","daMonth","daDate","closeOnSelect","o","getError","DatePicker","newError","dVal","showTodayDate","todayMonthAndDate","dateDisabledBefore","dateDisabledAfter","isTodayDisabled","isTodayDateDisabled","todayChipClass","onDateChangeHandler","withInput","onToggle","onToggleHandler","parseDate","date_time","setHours","setMinutes","isFormat12Hour","isTimeIn12HourFormat","_isTimeInAM","_isTimeInPM","convert12To24HourFormat","modifier","timeArr","parseInt","convertToTwoDigit","convert24To12HourFormat","hoursInString","result","getTimeIn24HrFormat","checkTimeDifference","startTime","endTime","parseStartTime","parseEndTime","get24HourTimeList","interval","timeList","push","toTimeString","getReverseTimeList","startTimeIndex","endTimeIndex","nextDayTimeIndex","presentDayList","nextDayList","concat","getTimeListIn24HourFormat","getTimeDifference","timeStart","timeEnd","diff","diff_as_date","hour","getUTCHours","minute","getUTCMinutes","getCustomLabel","showDuration","referenceTime","timeDiffLabel","isOptionDisabled","disabledSlotList","timeValue","convertTimeToOptionList","optionList","optionID","computeEndTime","getDropdownOptionList","startTimeIn24Hr","endTimeIn24Hr","dropdownOptionList","convertMinTo60","parseNum","timeInNum","get24HourCurrentTime","convertHourTo24","convertHourTo12","_checkNumber","str","numberRegex","_checkNumberWithAMPM","numberWithAMPMRegex","_checkNumberWithSpecialChar","numberWithSpecialCharRegex","_checkNumberWithSpecialCharAMPM","numberWithSpecialCharAMPM","specialCharRegex","getTimeFromNumberWithSpecialChar","searchTime","hh","mm","getSearchTimeFromNumber","searchTerm","show12HourFormat","searchLen","searchTimeInNum","firstTwoTerm","getTimeFromNumberWithAMPM","formatSearchTerm","searchTimeInHHMM","getCurrentRelativeTime","timeWithoutAMPM","searchTimeStr","currentTime","greaterTime","currentTimeIndex","findClosestTimeIndex","searchTimeIndex","hourIn24Format","searchItem","closestItemIndex","minTime","mins","getSearchIndex","searchIndex","countNumberInStr","match","isValidSearchTerm","totalDigit","getValueFromOptionList","option","getSearchValueIndex","getScrollIndex","currTime","currTimeIndex","getSearchedOptions","toLowerCase","sortList","arr","sort","a","b","_isEqual","firstList","secondList","firstSortedList","secondSortedList","_isControlled","_isOpenControlled","_showSelectedItems","bulk","withCheckbox","_isSelectAllPresent","bulkOptions","withSelectAll","scrollTo","element","top","scrollIntoView","menuElement","focusedElement","menuRect","getBoundingClientRect","focusedRect","overscroll","offsetHeight","bottom","offsetTop","getSelectAll","optionsLength","disabledOptionsLength","scrollToOptionIndex","scrollIndex","listOptions","targetOption","getElementById","block","groupListOptions","groupList","group","flattenedGroupList","values","flatMap","TimePickerWithSearch","noResultMessage","fetchTimeOptions","setTabIndex","openPopover","setOpenPopover","selectedIndex","setSelectedIndex","counter","setCounter","timer","clearTimeout","selectIndex","findIndex","getOptionList","indexValue","Promise","resolve","count","scrollToIndex","fetchOptionList","loadersCount","withSearch","searchPlaceholder","fetchOptions","staticLimit","onPopperToggle","TimePickerWithInput","onTimeChange","timeProp","setTime","setInit","updatedTime","outputTimeStr","TimePicker","DropdownButton","inlineLabel","buttonDisabled","trimmedPlaceholder","CheckboxOption","optionData","onUpdateActiveOption","dataTest","subInfo","renderSubInfo","labelAppearance","seperator","MetaList","seperatorAppearance","DefaultOption","textClassName","MetaOption","IconOption","OptionClass","IconWithMetaOption","OptionTypeMapping","Option","updateActiveOption","checkboxes","optionType","component","OptionClassName","CheckboxClassName","truncateOption","customOptionClass","optionRenderer","subInfoColor","PlaceholderParagraph","PlaceholderImage","Placeholder","imageSize","withImage","paragraphClasses","Loading","loadingType","optionIndex","placeholderSizes","alignmentMapping","right","left","DropdownList","inputRef","applyButtonLabel","cancelButtonLabel","_l","tempSelected","previousSelected","remainingOptions","firstEnabledOption","dropdownOpen","showApplyButton","onSearchChange","applyOptions","cancelOptions","toggleDropdown","_m","dropdownRef","createRef","triggerRef","dropdownTriggerRef","dropdownCancelButtonRef","dropdownApplyButtonRef","_o","popoverStyle","setPopoverStyle","_p","cursor","setCursor","_q","minHeight","setMinHeight","getMinHeight","dropdownWrapper","querySelector","minWidth","maxWidth","popperWidth","clientWidth","popperMinWidth","popperWrapperStyle","requestAnimationFrame","_r","_s","triggerLabel","CustomTrigger","NewCustomTrigger","cloneElement","dropdownStyle","overflowY","overflowX","loaderStyle","getDropdownSectionClass","showClearButton","dropdownClass","dropdownWrapperClass","SelectAllClass","onToggleDropdown","focus","onCancelOptions","onApplyOptions","optionClickHandler","onOptionSelect","searchClearHandler","searchHandler","parentCheckbox","updatedIndex","async","renderFooter","footerLabel","renderGroups","selectedGroup","onClearOptions","isClearDisabled","renderApplyButton","disable","loadingOptions","renderSearch","Input","autoFocus","autoComplete","renderLoading","loadersLength","renderSelectAll","selectAllLabel","selectAll","onSelectAll","renderOptions","selectAllPresent","optionIsSelected","onSelect","renderDropdownSection","selectedSectionLabel","allItemsSectionLabel","groupedListOptions","prevGroup","currentGroup","isGroupDifferent","focusOption","direction","elements","querySelectorAll","updatedCursor","startIndex","endIndex","node","getAttribute","onkeydown","optionClass","activeElement","click","currentElement","disabledApplyButton","customStyle","filteredOptions","selected_1","unSelectedGroup","updatedAsync","fetchFunction","fetchOptionsFunction","then","res","getUnSelectedOptions","getSelectedOptions","disabledOptions","getDisabledOptions","searchedOptionsLength","updateTriggerLabel","search","searchInit","popperIsOpen","disabledOptionsCount","temporarySelected","moveSelectedGroup","updateOptions","debounceOnClose","debounce","selectedArray","totalOptions","selectedLength","getLabel","customLabel","labelLimit","join","isSingleSelect","isControlled","updatePreviousSelected","isClearClicked","debounceClear","selectedValues","temp","onUpdate","isValidOption","updateSelectedOptions","splice","selectedArr","selectedDisabledArray","searchDebounceDuration","onTogglePopper","optionsApplied","updatedOpen","debounceSearch","updateOnPopperToggle","remainingOptionsLen","updateSearchTerm","sizeMap","m","l","xl","xxl","ActionButton","defaultValue","info","onFocus","actionIcon","readOnly","isInputBlank","setIsInputBlank","preventScroll","inputClass","leftIconClass","rightIconClass","assign","capMin","Infinity","isNaN","capMax","MetricInput","prefix","suffix","valueProp","showActionButton","isUncontrolled","setValue","prefixClass","suffixClass","actionButton","onArrowClick","newValue","Number","decimalDigits","toFixed","syntheticEvent","create","handleKeyDown","actionButtonSize","isEditable","pos","useCallback","getNewCursorPosition","getDefaultSelection","start","end","getPlaceholderValue","defaultPlaceholderValue","useMemo","defaultSelection","deferId","selectionPos","newSelectionPos","setCursorPosition","getSelectionLength","getCurrSelection","selectionStart","selectionEnd","setSelectionPos","el","setSelectionRange","insertAtIndex","currValue","newIndex","newIterator","updateSelection","matchSeparatorValue","isSameFormat","inputLength","startVal","endVal","pastedValue","clipboardData","getData","sameFormat","isValidDate","inputVal","currentTarget","currSelection","cursorPosition","enteredVal","updatedVal","removedLength","insertedStringLength","oldValue","maskedVal","enteredValue","newCursorPosition","cancelAnimationFrame","onFocusHandler","isValueEqualPlaceholder","HelpText","message","X","Label","optional","LabelClass","renderInfo","isRequired","isOptional","renderIndicator","Caption","hide","errorIconClass","Legend","iconSize","labelWeight","legendClass","background","Editable","editing","EditableClass","EditableDropdown","dropdownOptions","customTriggerRenderer","onDropdownChange","onDropdownClose","setLabel","setEditing","showComponent","setShowComponent","CompClass","DefaultCompClass","EditableDropdownClass","updatedLabel","eventType","renderComponent","componentLabel","IconMapping","success","warning","alert","Message","actions","title","MessageClass","TitleClass","DescriptionClass","renderDescription","description","Meta","MetaClass","SeperatorClass","LeftSeperatorClass","rightSeperator","ARROW_LEFT","ARROW_RIGHT","formatPercentage","ratio","countDecimalPlaces","isFinite","valueArray","approxEqual","tolerance","clamp","arraysEqual","oldValues","newValues","argMin","argFn","minValue","minArg","arg","fillValues","fillValue","inc","isElementOfType","isHandleMoving","isHandleHovered","handle","handleElement","clientX","clientPixel","stepSize","tickSize","clientPixelNormalized","getHandleMidpointAndOffset","handleMidpoint","handleOffset","handleCenterPixel","pixelDelta","callback","updatedValue","mouseEventClientOffset","onRelease","removeDocumentEventListeners","finalValue","changeValue","clientToValue","addEventListener","continueHandleMovement","endHandleMovement","keyCode","Keys","useOppositeDimension","handleRect","sizeKey","removeEventListener","Handle","_prevProps","tickSizeRatio","isCurrentLabelHovered","showTootlip","offsetRatio","offsetCalc","TooltipClass","handleMouseOver","handleMouseLeave","onMouseDown","beginHandleMovement","onKeyUp","handleKeyUp","refHandlers","MultiSliderHandle","labelPrecision","handleElements","maybeHandles","Children","child","handles","trackElement","trackSize","fillAfter","fillBefore","canHandleTrackEvent","closest","foundHandle","nearestHandleForValue","oldIndex","handleProps","getHandleValues","lockIndex","getLockedHandleIndex","lockValue","onRangeRelease","getNewHandleValues","range","labelRenderer","labelValue","hoveredLabelValue","onReleaseHandler","formatLabel","addHandleRef","labelStepSize","labels","stepSizeRatio","activeLabels","offsetPercentage","SliderTicksClass","handleLabelMouseOver","handleLabelMouseLeave","getOffsetRatio","startRatio","endRatio","startOffset","endOffset","orientationStyle","fillTrack","getTrackFill","trackStops","previous","track","renderTrackFill","getLabelPrecision","MultiSlider","prevHandleProps","newHandleProps","updateTickSize","getOffset","offsetValue","handleValue","SliderClass","WrapperClass","maybeHandleTrackClick","renderTracks","renderLabels","renderHandles","OutsideClick","onOutsideClick","innerRef","handleOutsideClick","contains","Paragraph","ProgressBar","ProgressBarClass","ProgressIndicatorClass","Radio","RadioClass","RadioWrapper","RadioOuterWrapper","RadioLabelClass","Row","StatusHint","truncateLabel","StatusHintClass","StatusHintIconClass","StatusHintTextClass","Pills","wrapperClasses","circleClasses","Circle","svgProps","circleProps","cx","cy","strokeMiterlimit","strokeWidth","Slider","RangeIndex","RangeSlider","START","END","Subheading","Switch","SwitchClass","SwitchWrapper","Textarea","rows","resize","Toast","titleClass","headingClass","action","oldStyle","placement","newStyle","marginBottom","offsetMapping","marginTop","marginRight","marginLeft","animationKeyframe","isOpen","uniqueKey","showClosingAnimation","hoverableDelay","medium","popupRef","getPopperChildren","mouseMoveHandler","handleMouseEnter","boundaryScrollHandler","PopperWrapper","addBoundaryScrollHandler","triggerElement","getZIndexForLayer","boundaryElement","removeBoundaryScrollHandler","_throttleWait","closeOnScroll","togglePopper","_timer","hoverable","layerNode","shouldPopoverClose","clicked","popover","container","popoverIndex","clickInsideLayer","shouldClose","openedLayers","layer","clickedIndex","isEqualNode","onOutsideClickHandler","closeOnBackdropClick","doesEventContainsElement","outOfBoundaries","animationClass","getUpdatedStyle","childrenStyles","transformStyles","uniqueKey_1","isTop","popperAnimation","popperAnimationStyles","animation","close","childProps","onAnimationEnd","Manager","Reference","getTriggerElement","Popper","modifiers","preventOverflow","boundariesElement","enabled","hideOnReferenceEscape","defaultOnToggle","newOpen","PopoverWrapper","keyCodes","BACKSPACE","DELETE","ENTER","ChipInput","chipOptions","allowDuplicates","chips","setChips","inputValue","setInputValue","ChipInputBorderClass","ChipInputClass","onUpdateChips","updatedChips","onChipDeleteHandler","onChipAddHandler","chip","onDeleteAllHandler","chipsLength","onInputChangeHandler","chipComponents","getTextAppearance","isActive","getPillsAppearance","getMenu","menus","menus_1","subMenu","activeMenu","find","submenu","isMenuActive","currActiveMenu","getNavItemColor","MenuLabel","labelColor","MenuIcon","isChildrenVisible","MenuPills","PillsClass","MenuItem","rounded","hasSubmenu","isChildren","customItemRenderer","itemColor","ItemClass","renderSubMenu","customItemProps","VerticalNav","autoCollapse","menuState","setMenuState","currMenu","updateMenuState","nameSplit","name_1","menuData","renderList","hasGroup","sectionClass","Fragment","HorizontalNav","getPillsClass","renderIcon","menuClasses","tooltipPropsList","positionValue","tooltipWrapper","Dialog","dimension","primaryButtonAppearance","secondaryButtonAppearance","heading","primaryButtonLabel","primaryButtonCallback","secondaryButtonLabel","secondaryButtonCallback","Modal","headerOptions","footer","ModalDescription","OverlayFooter","wrapperRef","secondaryBtns","secondaryBtn_1","OverlayHeader","subHeading","backButton","backIcon","backIconCallback","backButtonCallback","subheadingClass","OverlayBody","stickFooter","withFooter","getWrapperElement","classList","add","appendChild","getUpdatedZIndex","ele","containerClassName","elementRef","siblings","prevZIndex","closeOnEscapeKeypress","isTopOverlay","overlays","OverlayManager","overlay","overlayIdx","instance","freeze","modalRef","closeOnEscape","backdropClose","remove","header","footerOptions","BackdropZIndex","footerClass","ContainerClass","isAPINew","ModalContainer","ModalWrapper","WrapperElement","ModalHeader","ModalBody","ModalFooter","FullscreenModal","sidesheetWidth","sidesheetRef","Sidesheet","SidesheetContainer","handleAnimationEnd","SidesheetWrapper","Collapsible","expandedWidth","withTrigger","isClicked","setIsClicked","setSeperator","scrollHeight","clientHeight","BodyClass","FooterClass","newExpanded","Status","readText","failedText","sendingText","StatusClass","TextClass","t","Box","isTyping","statusType","withStatus","MessageText","text","typingText","ChatMessage","statusOptions","imageHeight","HeadingSize","EmptyState","imageSrc","image","HeadingClass","src","Pagination","totalPages","onPageChange","pageJumpDebounceDuration","page","setPage","debounceCancelCounter","setDebounceCancelCounter","debouncePageChange","nextButtonWrapperClass","prevButtonWrapperClass","cancel","prev","inputChangeHandler","onKeyPressHandler","buttonType","onKeyPress","EditableInput","disableSaveAction","onInputChange","EditableInputClass","EditableDefaultClass","InputClass","ActionClass","setDefaultComponent","onSaveChanges","inputComponent","renderChildren","InlineMessage","EditableChipInput","chipInputOptions","onChipInputChange","chipObject","isWithChips","actionClass","defaultClasses","onChipInputChangeHandler","onChipDelete","renderDefaultState","ProgressRing","radius","circumference","PI","ProgressRingClass","Ring","strokeDasharray","strokeDashoffset","Step","completed","StepClass","onClickHandle","Stepper","steps","skipIndexes","stepLabel","stepValue","StepperClass","step","isSkipped","activeStep","completedStep","steplabel","stepvalue","startInputOptions","endInputOptions","startError","endError","updateNav","startPlaceholderChar","endPlaceholderChar","showStartError","showEndError","startErrorMessage","endErrorMessage","startLabel","endLabel","SingleInputTrigger","startValue","endValue","sValue","eValue","endD","startD","isEndDateValid","isStartDateValid","getErrorState","currentVal","siblingVal","startErr","endErr","getCurrentYear","currentYear","getCurrentMonth","currentMonth","getCurrentWeek","currentDay","getPreviousWeek","getPreviousMonth","getPrevious90Days","getCustomDates","isError","singleInput","getErrors","DateRangePicker","onRangeChangeHandler","contentAlign","RangePickerClass","TabsWrapper","onTabChange","tabs","totalTabs","setActiveTab","tabClickHandler","TabsHeader","tabHeaderClass","Tab","getChildrenArray","filterTabs","childrenArray","filterInlineComponent","inlineComponent","Tabs","withSeparator","headerClassName","tabRefs","activeIndex","getActiveTabClass","activeTab","activeTabClass","tabContentClass","isKeyboard","blur","tabKeyDownHandler","prevElement","nextElement","tab","renderDismissIcon","onDismiss","dismissIconClass","tabInfo","currentTabIndex","renderTab","isDismissible","textAppearance","tabTextClass","renderTabs","currentTabProp","accepts","file","acceptedFiles","acceptedFilesArray","fileName_1","mimeType_1","baseMimeType_1","some","validType","endsWith","isPropagationStopped","cancelBubble","isEvtWithFiles","dataTransfer","files","prototype","call","types","onDocumentDragOver","composeEventHandlers","fns","args","fn","reducer","isFocused","isFileDialogActive","isDragActive","draggedFiles","fileRejections","fileErrorMessages","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","isDefined","getInvalidTypeRejectionErr","accept","updatedAccept","messageSuffix","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","fileAccepted","isAcceptable","fileMatchSize","getFileError","multiple","typeError","accepted","sizeError","sizeMatch","allFilesAccepted","COMMON_MIME_TYPES","Map","FILES_TO_IGNORE","fromEvent","evt","isDragEvt","getDataTransferFiles","getInputFiles","toFileWithPath","path","withMimeType","webkitRelativePath","defineProperty","writable","configurable","enumerable","hasExtension","lastIndexOf","ext","pop","get","isInput","fromList","items","kind","all","toFilePromises","noIgnoredFiles","flatten","webkitGetAsEntry","fromDataTransferItem","entry","isDirectory","fromDirEntry","getAsFile","reject","fwp","fromEntry","fromFileEntry","reader","createReader","readEntries","batch","err_1","err","fullPath","initialState","isDragAccept","isDragReject","DropzoneBase","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onFileDialogCancel","getFilesFromEvent","preventDropOnDocument","rootRef","useReducer","dispatch","openFileDialog","onWindowFocus","onKeyDownCb","onFocusCb","onBlurCb","dragTargetsRef","onDocumentDrop","HTMLDivElement","onDragEnterCb","persist","onDragOverCb","dropEffect","onDragLeaveCb","targets","targetIdx","onDropCb","acceptError","customErrors","errors","filteredErrors","composeDragHandler","getRootProps","refKey","onDragEnterCallback","onDragOverCallback","onDragLeaveCallback","onDropCallback","onInputElementClick","getInputProps","inputProps","display","fileCount","fileError","svgCode","DropzoneIcon","IconStyle","DropzoneActive","DropzoneError","Dropzone","sizeLabel","sampleFileLink","DropzoneClass","renderDropzone","buttonAccessibilityProps","FileUploaderFormat","FileUploaderButton","uploadButtonLabel","FileUploaderButtonClass","fileList","FileUploader","FileUploaderClass","FileUploaderStatus","progress","status","onRetry","FileUploaderItem","onDelete","FileItemClass","FileUploaderList","FileListClass","fileName","resizeCol","updateColumnSchema","elX","resizable","pageX","sortColumn","sortingList","updateSortingList","newSortingList","pinColumn","schemaUpdate","pinned","hideColumn","hidden","getWidth","isPercent","checkboxCell","checkboxWidth","gridWidth","getCellSize","cellType","sizes","AVATAR","AVATAR_WITH_TEXT","AVATAR_WITH_META_LIST","ICON","minWdth","STATUS_HINT","WITH_META_LIST","DEFAULT","updateBatchData","data","rowIndexes","dataUpdate","selectDisabledRow","updatedData","rowIndexes_1","rowIndex","translateData","schema","newData","translate","translatedData","filterData","filterList","filteredData","keys","schemaName","filters","sIndex","onFilterChange","sortData","sortedData","defaultComparator","aData","bData","localeCompare","comparator","reverse","paginateData","pageSize","paginatedData","moveToIndex","to","newArr","getTotalPages","totalRecords","tableData","anyUnSelected","_selected","allUnSelected","hasSchema","getSchema","loaderSchema","response","getPluralSuffix","showHead","showFilters","context","createContext","GridProvider","Provider","HeaderCell","useContext","GridContext","setIsDragged","colIndex","onMenuChange","reorderColumn","headProps","draggable","showMenu","headCellTooltip","schemaProp","sorting","isValidSchema","listIndex","sorted","sortOptions","pinOptions","unpinOption","hideOptions","unsortOption","filterOptions","fl","headerCellRenderer","BodyCell","expandedState","nestedRowData","nestedRows","setExpanded","cellProps","cellRenderer","GridCell","Cell","isHead","firstCell","isDragged","cellClass","onDragStart","setData","onDrag","onMouseUpCapture","onDragEnd","GridHead","pinnedSchema","leftPinnedSchema","rightPinnedSchema","unpinnedSchema","renderCheckbox","show","renderSchema","currSchema","shouldRenderCheckbox","cI","GridNestedRow","nestedRowRenderer","GridRow","onRowClick","rI","rowRef","rowClasses","nestedProps","GridBody","withPagination","errorTemplate","prevPageInfo","updatePrevPageInfo","gridBodyEl","scrollTop","isLastPage","dataLength","renderRow","getArrayList","gridHeadEl","gridRef","isHeadSyncing","isBodySyncing","scrollLeft","newSchema","updateSchema","updateRenderedSchema","fromInd","toInd","updateFilterList","newFilterList","pageInfo","Grid","forceRerender","forceUpdate","removeScrollListeners","addScrollListeners","syncScroll","renderTitle","cellData","renderMetaList","metaList","renderStatusHint","statusAppearance","DraggableDropdown","tempOptions","setTempOptions","triggerWidth","setTriggerWidth","handleParentChange","handleChildChange","newOptions","onCancelHandler","onApplyHandler","Header","dynamicColumn","allowSelectAll","customSelectionLabel","selectAllRecords","setSelectAllRecords","flag","setFlag","filterSchema","columnOptions","onDynamicColumnUpdate","__assign","colSchema","selectedCount","defaultErrorTemplate","errorType","errorMessages","FAILED_TO_FETCH","NO_RECORDS_FOUND","multipleSorting","paginationType","filterPosition","searchUpdate","debounceUpdate","updateDataFn","fetchData","dataProp","onSearch","opts","searchedData","renderedData","renderedSchema","indexes","_","newPage","newSearchTerm","Table","updateData","withHeader","headerChildren","headerAttr","List","VerticalNavigation","activeMenuIcon","menuIconClasses","subMenuClasses","footerClasses","Navigation","renderNavigation","PageHeader","navigation","stepper","breadcrumbs","badge","meta","navigationPosition","renderNav","colSize","audio","video","application","others","FileIcon","fileType","uploadingIconClass","FileListItem","fileItem","fileSize","FileList","actionRenderer","KEY_CODE","backspace","up","down","E","VerificationCodeInput","fields","onComplete","initialValues","initialRefs","__spreadArrays","setValues","refs","completeValue","dataset","fieldValue","nextRef","nextIndex","prevIndex","vals","wrapperClassNames","InlineMessageClass","IconSize","TextWeight","handleOnChange","ChoiceListDisabled","alignment","checkboxIndex","getCheckboxClassName","renderRadio","radioIndex","getRadioClassName","ChoiceListCheckboxClass","ChoiceListRadioClass","ChoiceList","choices","allowMultiple","selectedChoiceValue","ChoiceListClass","ChoiceListVerticalClass","ChoiceHorizontalClass","Divider","vertical","DividerClass","LinkButton","ActionCard"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD;IAAmB,SAAAC,gBAAgB,CAACC,QAAQ,CAACC,eAAV,CAAhB,CAA2CC,gBAA3C,CAA4D,OAAKJ,KAAjE,CAAA;IAAyE,CAA/G;;;;;;;;;ICSA,IAAMK,YAAY,eACvBC,KAAC,QAAD,GAAW,SACXA,KAAC,WAAD,GAAc,gBAFS,CAAlB;IAKA,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,eAAD,EAA0BC,IAA1B;IAClC,SAAOA,IAAI,IAAIA,IAAI,CAACC,QAAL,CAAcF,eAAd,CAAf;IACD,CAFM;IAIA,IAAMG,cAAc,GAAG,SAAjBA,cAAiB,CAACC,MAAD;IAC5B,SAAOA,MAAM,KAAK,UAAlB;IACD,CAFM;;IAIP,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,KAAD;IACtB,MAAMC,IAAI,GAAGD,KAAK,GAAG,EAAR,GAAa,IAAb,GAAoB,IAAjC;IACA,MAAME,GAAG,GAAGF,KAAK,GAAG,EAAR,IAAc,EAA1B;IACA,SAAO;IAAEE,IAAAA,GAAG,KAAL;IAAOD,IAAAA,IAAI;IAAX,GAAP;IACD,CAJD;;IAMA,IAAME,eAAe,GAAG,SAAlBA,eAAkB,CAACH,KAAD,EAAgBI,KAAhB;IACtB,MAAIC,cAAc,GAAGL,KAArB;;IAEA,MAAII,KAAJ,EAAW;IACT,QAAIA,KAAK,KAAK,IAAV,IAAkBJ,KAAK,GAAG,EAA9B,EAAkC;IAChCK,MAAAA,cAAc,GAAGL,KAAK,GAAG,EAAzB;IACD,KAFD,MAEO,IAAII,KAAK,KAAK,IAAV,IAAkBJ,KAAK,KAAK,EAAhC,EAAoC;IACzCK,MAAAA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AAAA,QAAQ,EAAEG,QAAQ,GAAG,CAAC,CAAJ,GAAQ;IAC1B+N,IAAAA,IAAI,EAAC;qBACK;IACVhW,IAAAA,SAAS,EAAEU;IACXmF,IAAAA,OAAO,EAAEA;IACTuQ,IAAAA,SAAS,EAAE8D;SACP/R,KAPN,EASGF,QAAQ,iBACPhH,8BAAA,MAAA;IAAKe,IAAAA,KAAK,EAAE;IAAEyD,MAAAA,MAAM;IAAR;qBAAsB;IAAkCzF,IAAAA,SAAS,EAAC;OAA9E,CAVJ,EAYGH,QAZH,CADF;IAgBD;IAED0kE,UAAU,CAAC7iE,WAAX,GAAyB,YAAzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/index.umd.js b/dist/index.umd.js index 89b6eef783..bf97e326f0 100644 --- a/dist/index.umd.js +++ b/dist/index.umd.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).InnovaccerDesignSystem={},e.React,e.ReactDOM)}(this,function(e,G,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function a(n){if(n&&n.__esModule)return n;var a=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),a.default=n,Object.freeze(a)}var le=a(G),b=n(G),h=a(t),r=Object.freeze({__proto__:null,colorToHex:function(e){return getComputedStyle(document.documentElement).getPropertyValue("--".concat(e))}});function o(t,e){var n,a=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,n)),a}function q(t){for(var e=1;ee.length)&&(t=e.length);for(var n=0,a=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw r}}}}function S(e,t){return t?"number"!=typeof t?t:(t=k(e,t),x(e,t)):""}var w=(se(io={},"hh:mm","--:--"),se(io,"hh:mm AM","--:-- AM"),io),N=function(e){return"hh:mm AM"===e},C=function(e){return{hrs:e%12||12,AMPM:e<12?"AM":"PM"}},D=function(e,t){var n=e;return t?("PM"===t&&e<12?n=e+12:"AM"===t&&12===e&&(n=e-12),n):e},k=function(e,t){var n=new Date(t),a=n.getHours(),t=N(e)?C(a).hrs:a,a=N(e)?C(a).AMPM:"";return{hours:t,minutes:n.getMinutes(),seconds:n.getSeconds(),am_pm:a}},O=function(e,t){var n=0,a=0,r=e.length,o=t.length,i=e.substring(r-2,r),l="AM"===i||"PM"===i,i=l?t.substring(o-2,o):"",t=l?t.substring(0,o-3):t,e=l?e.substring(0,r-3):e,s=t.split(":");return e.split(":").forEach(function(e,t){switch(e){case"hh":n=+s[t]||0;break;case"mm":a=+s[t]||0}}),{hours:n,minutes:a,am_pm:i}},x=function(e,t){var n=t.hours,a=t.minutes,r=t.am_pm,t=e.split(" ")[0].split(":"),o="";return t.forEach(function(e,t){switch(e){case"hh":o+=n<10?"0".concat(n):n;break;case"mm":o+=a<10?"0".concat(a):a}t!==e.length-1&&(o+=":")}),o+=N(e)&&r?" ".concat(r):""},M=function(e){for(var t=arguments.length,n=new Array(1t?9r.bottom&&n?he(n,a.offsetTop-r.height+i):o.topg.staticLimit:d,n=ne(d,l,p)?g.getUnSelectedOptions(r,i):r,a=""===l?g.getSelectedOptions(r,i):[],e=""===l?o:g.state.optionsLength,r=g.getDisabledOptions(n.slice(0,g.staticLimit)),g.setState(q(q({},g.state),{},{optionsLength:e,loading:!1,async:d,searchedOptionsLength:o,options:n.slice(0,g.staticLimit),tempSelected:i?a:c,previousSelected:i?a:u,selected:ne(d,l,p)?a:[],triggerLabel:g.updateTriggerLabel(i?a:c),selectAll:!d&&i?ae(a,e,r.length):s})),(d||m)&&null!==(t=Ae.current)&&void 0!==t&&t.focus())})}),se(v(g),"updateSearchTerm",function(e){g.setState(q(q({},g.state),{},{loading:!0,searchInit:!0,searchTerm:e}))}),se(v(g),"updateOnPopperToggle",function(){var e=g.props,t=e.withCheckbox,n=e.showApplyButton,a=e.onClose,r=e.name,o=e.selected,i=void 0===o?[]:o,l=g.state,s=l.previousSelected,c=l.tempSelected,u=l.optionsLength,d=l.async,p=l.loading,m=l.searchTerm,e=l.options,o=(te(g.props.open)?g.props:g.state).open,l=g.getDisabledOptions(e).length;t&&n&&(e=ee(g.props.selected)?i:s,g.setState({tempSelected:e,selectAll:ae(e,u,l),triggerLabel:g.updateTriggerLabel(e)})),te(g.props.open)&&g.setState({open:o}),o&&(c=ne(d,m,t)&&!me(g.state.selected,c),g.setState({loading:c||p||""!==m,searchInit:""!==m,searchTerm:""}),c&&g.updateOptions(!1)),a&&!o&&a((t&&n?ee(g.props.selected)?i:s:g.state.tempSelected).map(function(e){return e.value}),r)}),se(v(g),"updateTriggerLabel",function(){var e=0g.staticLimit,e=t?[]:g.getSelectedOptions(l,!0),a=g.getDisabledOptions(l);return g.state={async:t,optionsLength:s,open:i,searchInit:!1,searchedOptionsLength:s,optionsApplied:!1,options:l||[],loading:t||o,searchTerm:"",tempSelected:e,previousSelected:e,selected:ne(t,"",r)?n:[],triggerLabel:g.updateTriggerLabel(e,s),selectAll:ae(e,s,a.length)},g}return p(u,[{key:"componentDidMount",value:function(){this.state.async&&this.updateOptions(!0)}},{key:"componentDidUpdate",value:function(e,t){var n,a,r,o,i,l;this.state.async||(n=(a=this.props).loading,i=a.fetchOptions,o=a.options,r=a.withSearch,o=this.getDisabledOptions(a=void 0===o?[]:o).length,e.loading===n||i||(a.length>this.staticLimit?this.updateOptions(!0,!0):(i=this.getSelectedOptions(a,!0),this.setState(q(q({},this.state),{},{options:a,loading:n,tempSelected:i,previousSelected:i,optionsLength:a.length,searchedOptionsLength:a.length,triggerLabel:this.updateTriggerLabel(i),selectAll:ae(i,this.state.optionsLength,o)})),r&&null!==(l=Ae.current)&&void 0!==l&&l.focus()))),void 0!==this.props.selected&&e.selected!==this.props.selected&&e.loading===this.props.loading&&(l=!this.props.withCheckbox,this.updateSelectedOptions(this.props.selected,l,!0)),t.searchTerm!==this.state.searchTerm&&this.debounceSearch(),e.open===this.props.open&&t.open===this.state.open||te(this.props.open)&&this.props.open===this.state.open||this.updateOnPopperToggle()}},{key:"render",value:function(){var e=this.state,t=e.options,n=e.async,a=e.open,r=e.searchTerm,o=e.searchInit,i=e.loading,l=e.searchedOptionsLength,s=e.tempSelected,c=e.selectAll,u=e.triggerLabel,d=e.previousSelected,p=this.props,m=p.withSelectAll,f=void 0===m||m,e=p.withCheckbox,m=this.props,p=m.triggerOptions,p=void 0===p?{}:p;m.selected;m=$(m,Te),l-=t.length,e=fe(r,l,f,e)?0:t.findIndex(function(e){return!e.disabled});return le.createElement(Ie,ce({listOptions:t,inputRef:Ae,remainingOptions:l,firstEnabledOption:e,loadingOptions:i,async:n,searchInit:o,dropdownOpen:a,searchTerm:r,triggerLabel:u,tempSelected:s,previousSelected:d,selected:this.state.selected,applyOptions:this.onApplyOptions,cancelOptions:this.onCancelOptions,toggleDropdown:this.onToggleDropdown,onClearOptions:this.onClearOptions,onSelect:this.onSelect,selectAll:c,onSearchChange:this.updateSearchTerm,onOptionSelect:this.onOptionSelect,onSelectAll:this.onSelectAll,customTrigger:p.customTrigger},m))}}]),u}();se(Me,"defaultProps",{triggerOptions:{},options:[],closeOnSelect:!0,staticLimit:50,searchDebounceDuration:300});function Fe(t,n){return le.createElement(Bt,{href:t.link,onClick:function(e){n&&(e.preventDefault(),n(t.link))},appearance:"subtle",size:"tiny"},t.label)}var Re=["size","appearance","iconAlign","tabIndex","largeIcon","type","children","icon","expanded","selected","loading","disabled","className"],Le={tiny:12,regular:16,large:20},ze=le.forwardRef(function(e,t){var n=e.size,a=void 0===n?"regular":n,r=e.appearance,o=void 0===r?"basic":r,i=e.iconAlign,l=void 0===i?"left":i,s=e.tabIndex,c=void 0===s?0:s,u=e.largeIcon,d=e.type,p=e.children,m=e.icon,f=e.expanded,h=e.selected,n=e.loading,r=e.disabled,i=e.className,s=$(e,Re),i=de((se(e={},"Button",!0),se(e,"Button--expanded",f),se(e,"Button--".concat(a),a),se(e,"Button--".concat(a,"Square"),!p),se(e,"Button--".concat(o),o),se(e,"Button--selected",h&&("basic"===o||"transparent"===o)),se(e,"Button--iconAlign-".concat(l),p&&l),se(e,"".concat(i),i),e)),e=de((se(e={},"Button-icon",!0),se(e,"Button-icon--".concat(l),p&&l),e));return le.createElement("button",ce({"data-test":"DesignSystem-Button",ref:t,type:d,className:i,disabled:r||n,tabIndex:c},s),n?le.createElement(le.Fragment,null,le.createElement(en,{size:"small",appearance:"basic"===o||"transparent"===o?"secondary":"white","data-test":"DesignSystem-Button--Spinner",className:"Button-spinner"}),le.createElement(ye,{className:"Button-text Button-text--hidden"},p||"")):le.createElement(le.Fragment,null,m&&le.createElement("div",{className:e},le.createElement(be,{"data-test":"DesignSystem-Button--Icon",name:m,appearance:r?"disabled":"basic"===o||"transparent"===o?h?"info":"default":"white",size:u&&!p?Le[a]+4:Le[a]})),p))});ze.displayName="Button";function Be(e){return["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].indexOf(e)}function He(e,t,n){if(e){var a=Ze(e).decadeYear;switch(t){case"less":if(a=y.length)return a;if(n>=e.length)return S.current=t,a;var i=y[t];return E(t)?(e[n].match(i)?a+=e[n]:a+=v,o++):a+=i,a+=I(e,r,o)}var P=function(){return{start:k.current.selectionStart||0,end:k.current.selectionEnd||0}},T=function(e){var t,n;k.current&&(t=k.current,n=Math.min(e.start,e.end),e=Math.max(e.start,e.end),t.setSelectionRange(n,e))},i=de({"d-flex flex-column flex-grow-1":!0},i);return le.createElement("div",{className:i},le.createElement(wt,ce({},e,{value:w,error:c,required:o,onFocus:function(e){m.current=window.requestAnimationFrame(x),w||(N(h()),window.requestAnimationFrame(function(){return T(n())})),d&&d(e)},onChange:function(e){var t=e.currentTarget.value,n=P(),a=Math.min(C.start,n.start),r=n.end,o=a,i="",l=0,s=t.slice(a,r),c=(i=I(s,a)).length;n.end>C.end?l=c?Math.abs(C.end-C.start):0:t.length=n.length?(s=!!(d=ta(o,c)))&&"get"in d&&!("originalValue"in d.get)?d.get:o[c]:(s=Jn(o,c),o[c]),s&&!i&&(ca[u]=o)}}return o}var ra=ta?function(){try{return na}catch(e){try{return ta(arguments,"callee").get}catch(e){return na}}}():na,oa="function"==typeof $n&&("function"==typeof Symbol&&("symbol"==typeof $n("foo")&&("symbol"==typeof Symbol("bar")&&Un()))),ia=Object.getPrototypeOf||function(e){return e.__proto__},la={},sa="undefined"==typeof Uint8Array?Ai:ia(Uint8Array),ca={"%AggregateError%":"undefined"==typeof AggregateError?Ai:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Ai:ArrayBuffer,"%ArrayIteratorPrototype%":oa?ia([][Symbol.iterator]()):Ai,"%AsyncFromSyncIteratorPrototype%":Ai,"%AsyncFunction%":la,"%AsyncGenerator%":la,"%AsyncGeneratorFunction%":la,"%AsyncIteratorPrototype%":la,"%Atomics%":"undefined"==typeof Atomics?Ai:Atomics,"%BigInt%":"undefined"==typeof BigInt?Ai:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Ai:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Ai:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Ai:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Ai:FinalizationRegistry,"%Function%":Qn,"%GeneratorFunction%":la,"%Int8Array%":"undefined"==typeof Int8Array?Ai:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Ai:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Ai:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oa?ia(ia([][Symbol.iterator]())):Ai,"%JSON%":"object"==typeof JSON?JSON:Ai,"%Map%":"undefined"==typeof Map?Ai:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&oa?ia((new Map)[Symbol.iterator]()):Ai,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Ai:Promise,"%Proxy%":"undefined"==typeof Proxy?Ai:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Ai:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Ai:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&oa?ia((new Set)[Symbol.iterator]()):Ai,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Ai:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oa?ia(""[Symbol.iterator]()):Ai,"%Symbol%":oa?Symbol:Ai,"%SyntaxError%":Zn,"%ThrowTypeError%":ra,"%TypedArray%":sa,"%TypeError%":ea,"%Uint8Array%":"undefined"==typeof Uint8Array?Ai:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Ai:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Ai:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Ai:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Ai:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Ai:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Ai:WeakSet},ua=function e(t){var n,a;return"%AsyncFunction%"===t?n=Gn("async function () {}"):"%GeneratorFunction%"===t?n=Gn("function* () {}"):"%AsyncGeneratorFunction%"===t?n=Gn("async function* () {}"):"%AsyncGenerator%"===t?(a=e("%AsyncGeneratorFunction%"))&&(n=a.prototype):"%AsyncIteratorPrototype%"!==t||(a=e("%AsyncGenerator%"))&&(n=ia(a.prototype)),ca[t]=n},da={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pa=Kn.call(Function.call,Array.prototype.concat),ma=Kn.call(Function.apply,Array.prototype.splice),fa=Kn.call(Function.call,String.prototype.replace),ha=Kn.call(Function.call,String.prototype.slice),va=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ga=/\\(\\)?/g,ya=_(function(e){var t=aa("%Function.prototype.apply%"),n=aa("%Function.prototype.call%"),a=aa("%Reflect.apply%",!0)||Kn.call(n,t),r=aa("%Object.getOwnPropertyDescriptor%",!0),o=aa("%Object.defineProperty%",!0),i=aa("%Math.max%");if(o)try{o({},"a",{value:1})}catch(e){o=null}e.exports=function(e){var t=a(Kn,n,arguments);return r&&o&&r(t,"length").configurable&&o(t,"length",{value:1+i(0,e.length-(arguments.length-1))}),t};function l(){return a(Kn,t,arguments)}o?o(e.exports,"apply",{value:l}):e.exports.apply=l});ya.apply;function ba(e){return!(wa&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===Na(e)}var Ea=ya(aa("String.prototype.indexOf")),Sa=function(e,t){t=aa(e,!!t);return"function"==typeof t&&-1=n.clientWidth&&e>=n.clientHeight}),t=(0s[e]&&!a.escapeWithReference&&(n=Math.min(c[t],s[e]-("right"===e?c.width:c.height))),zr({},t,n)}};return l.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=Br({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(o=e.offsets).popper,n=o.reference,a=e.placement.split("-")[0],r=Math.floor,o=(i=-1!==["top","bottom"].indexOf(a))?"right":"bottom",a=i?"left":"top",i=i?"width":"height";return t[o]r(n[o])&&(e.offsets.popper[a]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!oo(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],r=(u=e.offsets).popper,o=u.reference,i=-1!==["left","right"].indexOf(a),l=i?"height":"width",s=i?"Top":"Left",c=s.toLowerCase(),t=i?"left":"top",u=i?"bottom":"right",a=qr(n)[l];return o[u]-ar[u]&&(e.offsets.popper[c]+=o[c]+a-r[u]),e.offsets.popper=Hr(e.offsets.popper),i=o[c]+o[l]/2-a/2,u=wr(e.instance.popper),o=parseFloat(u["margin"+s]),s=parseFloat(u["border"+s+"Width"]),s=i-e.offsets.popper[c]-o-s,s=Math.max(Math.min(r[l]-a,s),0),e.arrowElement=n,e.offsets.arrow=(zr(n={},c,Math.round(s)),zr(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,u){if(Jr(c.instance.modifiers,"inner"))return c;if(c.flipped&&c.placement===c.originalPlacement)return c;var d=Vr(c.instance.popper,c.instance.reference,u.padding,u.boundariesElement,c.positionFixed),p=c.placement.split("-")[0],m=$r(p),f=c.placement.split("-")[1]||"",h=[];switch(u.behavior){case co:h=[p,m];break;case uo:h=so(p);break;case po:h=so(p,!0);break;default:h=u.behavior}return h.forEach(function(e,t){if(p!==e||h.length===t+1)return c;p=c.placement.split("-")[0],m=$r(p);var n=c.offsets.popper,a=c.offsets.reference,r=Math.floor,o="left"===p&&r(n.right)>r(a.left)||"right"===p&&r(n.left)r(a.top)||"bottom"===p&&r(n.top)r(d.right),s=r(n.top)r(d.bottom),a="left"===p&&i||"right"===p&&l||"top"===p&&s||"bottom"===p&&e,n=-1!==["top","bottom"].indexOf(p),r=!!u.flipVariations&&(n&&"start"===f&&i||n&&"end"===f&&l||!n&&"start"===f&&s||!n&&"end"===f&&e),s=!!u.flipVariationsByContent&&(n&&"start"===f&&l||n&&"end"===f&&i||!n&&"start"===f&&e||!n&&"end"===f&&s),s=r||s;(o||a||s)&&(c.flipped=!0,(o||a)&&(p=h[t+1]),s&&(f="end"===(s=f)?"start":"start"===s?"end":s),c.placement=p+(f?"-"+f:""),c.offsets.popper=Br({},c.offsets.popper,Yr(c.instance.popper,c.offsets.reference,c.placement)),c=Kr(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],a=(i=e.offsets).popper,r=i.reference,o=-1!==["left","right"].indexOf(n),i=-1===["top","left"].indexOf(n);return a[o?"left":"top"]=r[n]-(i?a[o?"width":"height"]:0),e.placement=$r(t),e.offsets.popper=Hr(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!oo(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Xr(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.rightf.current.clientHeight)});d=de((se(s={},"Collapsible-wrapper",!0),se(s,"Collapsible-wrapper--overlay",!c),s)),e=de(se({},"Collapsible-body",!0)),s=de(se({Collapsible:!0},"Collapsible--overlay",!c),i),p=de((se(i={},"Collapsible-footer",!0),se(i,"Collapsible-footer--seperator",p),i)),i=function(e,t){return function(){if(l){if("mouseenter"===t||"mouseleave"===t){if(c&&n||!a)return;u(!1)}"click"===t&&u(!0),l(e)}}};return le.createElement("div",{"data-test":"DesignSystem-CollapsibleWrapper",className:d,style:{height:r}},le.createElement("div",ce({"data-test":"DesignSystem-Collapsible"},h,{"data-layer":!0,className:s,style:{width:n?t:void 0}}),le.createElement("div",{className:e,"data-test":"DesignSystem-CollapsibleBody",onMouseEnter:i(!0,"mouseenter"),onMouseLeave:i(!1,"mouseleave"),ref:f},o),le.createElement("div",{"data-test":"DesignSystem-Collapsible--Footer",className:p},le.createElement(be,{name:n?"keyboard_arrow_left":"keyboard_arrow_right","data-test":"DesignSystem-Collapsible--FooterIcon",className:"px-5 py-4 my-2 cursor-pointer",onClick:i(!n,"click"),size:16}))))};Ai.displayName="Collapsible",Ai.defaultProps={expanded:!1,hoverable:!0,height:"100%",expandedWidth:"var(--spacing-9)"};function Mi(e){function t(e){if("number"!=typeof e)return e;var t=(n=new Date(e)).getHours(),e=n.getMinutes(),n=t<12?"AM":"PM";return"".concat(t%12||12,":").concat(e," ").concat(n)}var n=e.type,a=e.time,r=e.className,o=e.readText,i=void 0===o?"Read":o,l=void 0===(o=e.failedText)?"Click to retry":o,s=void 0===(o=e.sendingText)?"Sending..":o,c=pe(e),u=de(se({},"d-flex align-items-center mt-3",!0),r),d=de(se({},"ChatMessage-status",!0),r);switch(n){case"failed":return le.createElement("div",ce({},c,{className:u}),le.createElement(be,{name:"error",type:"outlined",appearance:"destructive"}),le.createElement(ye,{appearance:"destructive",size:"small",className:"ml-1"},"Failed"),le.createElement(Wt,{list:[{label:l}],seperator:!0}));case"urgent":return le.createElement("div",ce({},c,{className:u}),le.createElement(be,{name:"notification_important",type:"outlined",appearance:"destructive"}),le.createElement(ye,{appearance:"destructive",size:"small",className:"ml-1"},"Urgent"),a&&le.createElement(Wt,{list:[{label:t(a)}],seperator:!0}));case"read":return le.createElement("div",ce({},c,{className:u}),a&&le.createElement(ye,{appearance:"subtle",size:"small"},t(a)),le.createElement(Wt,{list:[{label:i}],seperator:!0}));case"sending":return le.createElement(ye,ce({},c,{appearance:"subtle",size:"small",className:d}),s);case"sent":return le.createElement(le.Fragment,null,a&&le.createElement(ye,ce({},c,{appearance:"subtle",size:"small",className:d}),t(a)));default:return null}}Mi.displayName="Status";function Fi(e){var t=e.children,n=e.type,a=e.isTyping,r=e.statusType,o=e.withStatus,i=e.onClick,l=e.className,s=pe(e),l=de((se(e={},"Box",!0),se(e,"Box--".concat(n),n),se(e,"Box--typing",a),se(e,"Box--urgent","urgent"===r),se(e,"Box-".concat(n,"--withStatus"),o||a),e),l);return le.createElement("div",ce({},s,{className:l,onClick:i}),t)}Fi.displayName="Box";function Ri(e){var t=e.text,n=e.type,a=e.isTyping,r=e.typingText,o=e.statusType,i=e.className,e=pe(e);return a&&"incoming"===n?le.createElement(ye,ce({},e,{appearance:"subtle",size:"small",className:i}),r):le.createElement(ye,ce({},e,{className:i,appearance:"sending"===o?"subtle":"default"}),t)}Ri.defaultProps={text:"",typingText:"Typing.."},Ri.displayName="MessageText";Da=function(e){var t=e.type,n=e.text,a=e.isTyping,r=e.typingText,o=e.statusOptions,i=e.onClick,l=e.className,s=pe(e),e=(o||{}).type;return le.createElement(Fi,ce({},s,{type:t,className:l,onClick:i,isTyping:a,statusType:e,withStatus:void 0!==o}),le.createElement(Ri,{type:t,text:n,typingText:r,isTyping:a,statusType:e}),!a&&o&&le.createElement(Mi,o))};Da.displayName="ChatMessage";var Li={large:"256px",small:"128px"},zi={large:"l",small:"m"},Bi={large:"large",small:"regular"},Ca=function(e){var t=e.imageSrc,n=e.title,a=e.description,r=e.size,o=e.children,i=e.className,l=pe(e),s=de(se({},"EmptyState",!0),i),i=de((se(e={},"EmptyState-title",!0),se(e,"EmptyState-title--".concat(r),!0),e)),e=de((se(e={},"EmptyState-description",!0),se(e,"EmptyState-description--".concat(r),void 0!==o),e));return le.createElement("div",ce({"data-test":"DesignSystem-EmptyState"},l,{className:s}),le.createElement("img",{src:t,height:Li[r],"data-test":"DesignSystem-EmptyState--Img"}),le.createElement(bt,{"data-test":"DesignSystem-EmptyState--Heading",size:zi[r],className:i},n),le.createElement(ye,{size:Bi[r],className:e,appearance:"subtle","data-test":"DesignSystem-EmptyState--Text"},a),o)};Ca.displayName="EmptyState";var Hi=function(e){var t=e.title,n=e.description,a=e.className,e=pe(e),a=de({"Modal-description":!0},a);return le.createElement("div",ce({"data-test":"DesignSystem-ModalDescription"},e,{className:a}),t&&le.createElement(ye,{weight:"strong","data-test":"DesignSystem-ModalDescription--Title"},t),t&&n&&le.createElement("br",null),n&&le.createElement(ye,{"data-test":"DesignSystem-ModalDescription--Description"},n))};Hi.displayName="ModalDescription";function _i(e){var t=e.type,n=e.totalPages,a=e.onPageChange,r=e.className,o=pe(e),i=ue(le.useState(e.page),2),l=i[0],s=i[1],c=ue(le.useState(!1),2),u=c[0],d=c[1];function p(e){switch(d(!0),e){case"first":s(1);break;case"last":s(n);break;case"prev":1n)return[!1,il(n)];if(e.sizen)return[!1,il(n)]}return[!0,null]},ul=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]),dl=[".DS_Store","Thumbs.db"];function pl(){return(pl=l(regeneratorRuntime.mark(function e(n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.dataTransfer&&n.dataTransfer?function(){return fl.apply(this,arguments)}(n.dataTransfer,n.type):(null!==(t=n).target&&t.target.files?vl(t.target.files):[]).map(function(e){return ml(e)}));case 1:case"end":return e.stop()}var t},e)}))).apply(this,arguments)}function ml(e,t){var n,a=function(e){var t=e.name;t&&-1!==t.lastIndexOf(".")&&!e.type&&(t=t.split(".").pop().toLowerCase(),(t=ul.get(t))&&Object.defineProperty(e,"type",{value:t,writable:!1,configurable:!1,enumerable:!0}));return e}(e);return"string"!=typeof a.path&&(n=e.webkitRelativePath,Object.defineProperty(a,"path",{value:"string"==typeof t?t:"string"==typeof n&&0this.state.offset&&this.updateOffset(t)}},{key:"updateOffset",value:function(e){var t=e.offset-this.state.offset;if(this.listRef){for(var n=this.listRef,a=n.querySelectorAll(".VS-item"),r=0,o=e.offset,i=Math.min(this.state.offset,this.props.buffer),t=i+t,l=Math.min(a.length,t)-1;i<=l;l--){if(!as(n,a[l]))break;o--,r+=a[l].clientHeight}a.lengthe.length)&&(t=e.length);for(var n=0,a=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw r}}}}function E(e,t){return t?"number"!=typeof t?t:(t=O(e,t),T(e,t)):""}function S(e,t){function n(e,t,n){var a=[31,28,31,30,31,30,31,31,30,31,30,31];return(n%400==0||n%100!=0&&n%4==0)&&(a[1]=29),t<=12&&e<=a[t-1]}if(e)switch(t){case"dd/mm/yyyy":var a=e.split("/");return n(+a[0]||1,+a[1]||1,+a[2]||1900);case"mm/dd/yyyy":a=e.split("/");return n(+a[1]||1,+a[0]||1,+a[2]||1900);case"yyyy/mm/dd":var r=e.split("/");return n(+r[2]||1,+r[1]||1,+r[0]||1900);case"dd-mm-yyyy":r=e.split("-");return n(+r[0]||1,+r[1]||1,+r[2]||1900);case"mm-dd-yyyy":var o=e.split("-");return n(+o[1]||1,+o[0]||1,+o[2]||1900);case"yyyy-mm-dd":o=e.split("-");return n(+o[2]||1,+o[1]||1,+o[0]||1900);default:return!1}return!1}function C(e,t){var e=(n=I(t,e)).hours,n=n.minutes;return(D(t)?e<=12:e<24)&&n<=60}function w(e){return!("string"==typeof e&&/[^0-9]/.test(e)||"number"==typeof e&&(e<=0||e-Math.floor(e)!=0))}var N=(he(lt={},"hh:mm","--:--"),he(lt,"hh:mm AM","--:-- AM"),lt),D=function(e){return"hh:mm AM"===e},k=function(e){return{hrs:e%12||12,AMPM:e<12?"AM":"PM"}},x=function(e,t){var n=e;return t?("PM"===t&&e<12?n=e+12:"AM"===t&&12===e&&(n=e-12),n):e},O=function(e,t){var n=new Date(t),a=n.getHours(),t=D(e)?k(a).hrs:a,a=D(e)?k(a).AMPM:"";return{hours:t,minutes:n.getMinutes(),seconds:n.getSeconds(),am_pm:a}},I=function(e,t){var n=0,a=0,r=e.length,o=t.length,i=e.substring(r-2,r),l="AM"===i||"PM"===i,i=l?t.substring(o-2,o):"",t=l?t.substring(0,o-3):t,e=l?e.substring(0,r-3):e,s=t.split(":");return e.split(":").forEach(function(e,t){switch(e){case"hh":n=+s[t]||0;break;case"mm":a=+s[t]||0}}),{hours:n,minutes:a,am_pm:i}},T=function(e,t){var n=t.hours,a=t.minutes,r=t.am_pm,t=e.split(" ")[0].split(":"),o="";return t.forEach(function(e,t){switch(e){case"hh":o+=n<10?"0".concat(n):n;break;case"mm":o+=a<10?"0".concat(a):a}t!==e.length-1&&(o+=":")}),o+=D(e)&&r?" ".concat(r):""},W=function(e){for(var t=arguments.length,n=new Array(1t?Math.min(o.length-t,99):0,e={backgroundColor:"".concat(n),boxShadow:"0 0 0 calc(var(--spacing-xs) + var(--spacing-s)) ".concat(n)},n={boxShadow:"0 0 0 var(--spacing-s) ".concat(n)},e="tiny"===l?j(j({},e),n):e,i=be(he({},"AvatarGroup",!0),i),f=be(he({},"AvatarGroup-Popper",!0),f);return fe.createElement("div",ve({"data-test":"DesignSystem-AvatarGroup"},a,{className:"".concat(i," d-inline-flex")}),fe.createElement(q,{size:l,avatarList:o.slice(0,t),avatarStyle:e,tooltipPosition:r}),0/?~][0-9]*$/.test(e)}function gt(e){var t=e.split(Bt),e=ft(t[0]);return{hour:Mt(e),min:((""!==t[1]?mt(t[1]):"00")+"0").slice(0,2)}}function yt(e,t){var n=e.length,a=parseInt(e,10),r=e.slice(0,2),o="00",i="00";switch(n){case 1:o="0"+e;break;case 2:a<=24||t&&a<=12?o=Mt(e):(o="0"+e[0],i=mt(e[1]+"0"));break;case 3:o="0"+e[0],i=mt(e.slice(1));break;case 4:o=t?(parseInt(r,10)%12).toString():ft(r),i=mt(e.slice(2));break;default:i=o="-1"}return{hour:o,min:i}}function bt(e,t){var n,a,r={hour:"00",min:"00"};return ht(t)?(n=yt(t),r=parseInt(n.hour)<=12&&0/?~][0-9]+[ AaMmPp]+$/.test(t)&&(a=t.replace(/[\saApPmM]/g,""),ht(a)?r=yt(a,!0):vt(a)&&(r=gt(a)),r.hour=Et(r.hour,t)),r}function Et(e,t){return"12"===e&&Tt(t)?e="00":Pt(t)&&"12"!==e&&(e=(parseInt(e,10)+12).toString()),e}function St(e,t){var n="".concat(t.hour,":").concat(t.min),a=Ht(),r=Lt(a,n),a=_t(e,a),n=_t(e,n);return r&&n/?~]/,_t=function(e,t){for(var n=0,a={hour:100,mins:100},r=0;rt.value?1:t.value>e.value?-1:0})},Ut=function(e,t){e.scrollTo(0,t)};It.defaultProps={timeFormat:"12-Hour",interval:15},It.displayName="TimePickerWithSearch";function Gt(e){var t=e.validators,o=e.inputOptions,i=e.inputFormat,l=e.outputFormat,s=e.onTimeChange,n=e.time,a=e.error,c=(u=ge(fe.useState(n),2))[0],r=u[1],u=(e=ge(fe.useState(!1),2))[0],d=e[1],p=void 0===(e=o.placeholderChar)?"_":e;return fe.useEffect(function(){var e=E(i,c),e=void 0===n&&e.includes(p)?c:n;r(e)},[n]),e=L[i],fe.createElement(wn,ve({placeholder:N[i],placeholderChar:p},o,{mask:e,value:c?E(i,c):u?wn.utils.getDefaultValue(e,p):"",validators:function(e){return W(t,e,i)},onChange:function(e){var t=1r.bottom&&n?Ut(n,a.offsetTop-r.height+i):o.topg.staticLimit:m,n=Dt(m,c,f)?g.getUnSelectedOptions(i,s):i,a=""===c?g.getSelectedOptions(i,s):[],r=""===c?l:g.state.optionsLength,o=g.getDisabledOptions(n.slice(0,g.staticLimit)),g.setState(j(j({},g.state),{},{scrollIndex:e.scrollToIndex||0,optionsLength:r,loading:!1,async:m,searchedOptionsLength:l,options:n.slice(0,g.staticLimit),tempSelected:s?a:d,previousSelected:s?a:p,selected:Dt(m,c,f)?a:[],triggerLabel:g.updateTriggerLabel(s?a:d),selectAll:!m&&s?xt(a,r,o.length):u})),(m||h)&&null!==(t=ln.current)&&void 0!==t&&t.focus())})}),he(K(g),"updateSearchTerm",function(e){g.setState(j(j({},g.state),{},{loading:!0,searchInit:!0,searchTerm:e}))}),he(K(g),"updateOnPopperToggle",function(){var e=g.props,t=e.withCheckbox,n=e.showApplyButton,a=e.onClose,r=e.name,o=e.selected,i=void 0===o?[]:o,l=g.state,s=l.previousSelected,c=l.tempSelected,u=l.optionsLength,d=l.async,p=l.loading,m=l.searchTerm,e=l.options,o=(Nt(g.props.open)?g.props:g.state).open,l=g.getDisabledOptions(e).length;t&&n&&(e=wt(g.props.selected)?i:s,g.setState({tempSelected:e,selectAll:xt(e,u,l),triggerLabel:g.updateTriggerLabel(e)})),Nt(g.props.open)&&g.setState({open:o}),o&&(c=Dt(d,m,t)&&!Ct(g.state.selected,c),g.setState({loading:c||p||""!==m,searchInit:""!==m,searchTerm:""}),c&&g.updateOptions(!1)),a&&!o&&(s=(t&&n?wt(g.props.selected)?i:s:g.state.tempSelected).map(function(e){return e.value}),g.debounceOnClose(s,r))}),he(K(g),"debounceOnClose",Kt(300,function(e,t){var n=g.props.onClose;n&&n(e,t)})),he(K(g),"updateTriggerLabel",function(){var e=0g.staticLimit,e=t?[]:g.getSelectedOptions(l,!0),a=g.getDisabledOptions(l);return g.state={async:t,optionsLength:s,open:i,searchInit:!1,searchedOptionsLength:s,optionsApplied:!1,options:l||[],loading:t||o,searchTerm:"",tempSelected:e,previousSelected:e,selected:Dt(t,"",r)?n:[],triggerLabel:g.updateTriggerLabel(e,s),selectAll:xt(e,s,a.length)},g}return f(u,[{key:"componentDidMount",value:function(){this.state.async&&this.updateOptions(!0)}},{key:"componentDidUpdate",value:function(e,t){var n,a,r,o,i,l;this.state.async||(n=(a=this.props).loading,i=a.fetchOptions,o=a.options,r=a.withSearch,o=this.getDisabledOptions(a=void 0===o?[]:o).length,e.loading===n||i||(a.length>this.staticLimit?this.updateOptions(!0,!0):(i=this.getSelectedOptions(a,!0),this.setState(j(j({},this.state),{},{options:a,loading:n,tempSelected:i,previousSelected:i,optionsLength:a.length,searchedOptionsLength:a.length,triggerLabel:this.updateTriggerLabel(i),selectAll:xt(i,this.state.optionsLength,o)})),r&&null!==(l=ln.current)&&void 0!==l&&l.focus()))),void 0!==this.props.selected&&e.selected!==this.props.selected&&e.loading===this.props.loading&&(l=!this.props.withCheckbox,this.updateSelectedOptions(this.props.selected,l,!0)),t.searchTerm!==this.state.searchTerm&&this.debounceSearch(),e.open===this.props.open&&t.open===this.state.open||Nt(this.props.open)&&this.props.open===this.state.open||this.updateOnPopperToggle()}},{key:"render",value:function(){var e=this.state,t=e.options,n=e.async,a=e.open,r=e.searchTerm,o=e.searchInit,i=e.loading,l=e.searchedOptionsLength,s=e.tempSelected,c=e.selectAll,u=e.triggerLabel,d=e.previousSelected,p=e.scrollIndex,m=this.props,f=m.withSelectAll,h=void 0===f||f,v=m.withCheckbox,e=this.props,f=e.triggerOptions,m=void 0===f?{}:f;e.selected;f=e.tabIndex,e=V(e,on),l-=t.length,v=f||(kt(r,l,h,v)?0:t.findIndex(function(e){return!e.disabled}));return fe.createElement(an,ve({listOptions:t,inputRef:ln,remainingOptions:l,firstEnabledOption:v,loadingOptions:i,async:n,searchInit:o,dropdownOpen:a,searchTerm:r,triggerLabel:u,tempSelected:s,previousSelected:d,selected:this.state.selected,applyOptions:this.onApplyOptions,cancelOptions:this.onCancelOptions,toggleDropdown:this.onToggleDropdown,onClearOptions:this.onClearOptions,onSelect:this.onSelect,selectAll:c,onSearchChange:this.updateSearchTerm,onOptionSelect:this.onOptionSelect,onSelectAll:this.onSelectAll,customTrigger:m.customTrigger,scrollIndex:p},e))}}]),u}();he(sn,"defaultProps",{triggerOptions:{},options:[],closeOnSelect:!0,staticLimit:50,searchDebounceDuration:300});var cn=["appearance","size","children","className","color"],un={s:"h5",m:"h4",l:"h3",xl:"h2",xxl:"h1"},dn=function(e){var t=e.appearance,n=e.size,a=e.children,r=e.className,o=e.color,i=V(e,cn),r=be((he(e={Heading:!0},"Heading--".concat(n),n),he(e,"Heading--".concat(t),!o&&t),he(e,"color-".concat(o),o),e),r);return fe.createElement(qe,ve({"data-test":"DesignSystem-Heading"},i,{className:r,componentType:un[n]}),a)};dn.displayName="Heading",dn.defaultProps={appearance:"default",size:"m"};function pn(e){var t=e.className,n=e.iconVariations,a=V(e,mn),e=be((he(e={},"ActionButton",!0),he(e,"".concat(t),t),e));return fe.createElement(Ge,ve({className:e,variations:n,"data-test":"DesignSystem-Input-ActionButton"},a))}var mn=["className","iconVariations"];pn.displayName="ActionButton",pn.defaultProps={size:16,type:"rounded"};var fn=["size","type","minWidth","defaultValue","name","placeholder","value","icon","inlineLabel","required","error","info","onChange","onClick","onClear","onBlur","onFocus","onPaste","actionIcon","className","autoFocus","disabled","readOnly","iconVariations"],hn={tiny:12,regular:16,large:20},vn=fe.forwardRef(function(e,t){var n=e.size,a=void 0===n?"regular":n,r=e.type,o=void 0===r?"text":r,i=e.minWidth,l=void 0===i?"number"!==o?256:void 0:i,s=e.defaultValue,c=e.name,u=e.placeholder,d=e.value,p=e.icon,m=e.inlineLabel,f=e.required,h=e.error,v=e.info,g=e.onChange,y=e.onClick,b=e.onClear,E=e.onBlur,S=e.onFocus,C=e.onPaste,w=e.actionIcon,N=e.className,D=e.autoFocus,k=e.disabled,x=e.readOnly,O=e.iconVariations,n=V(e,fn),I=fe.useRef(null),r=ge(fe.useState(!d),2),i=r[0],T=r[1];fe.useImperativeHandle(t,function(){return I.current}),fe.useEffect(function(){var e;D&&null!==(e=I.current)&&void 0!==e&&e.focus({preventScroll:!0})},[]);r=Ee(e),e=be((he(t={},"Input",!0),he(t,"Input--".concat(a),a),he(t,"Input--disabled",k||x),he(t,"Input--error",h),t),N),N=be((he(t={},"Input-input",!0),he(t,"Input-input--".concat(a),a),t)),i=be((he(t={},"Input-icon",!0),he(t,"Input-icon--left",!0),he(t,"Input-icon--inputBlank",i),he(t,"Input-icon--error",h),t)),t=be((he(h={},"Input-icon",!0),he(h,"Input-iconWrapper--right",!0),h)),h=fe.createElement("div",{className:t,tabIndex:0},fe.createElement(Ge,{name:"info",size:hn[a],className:"Input-icon--right"}));return fe.createElement("div",{"data-test":"DesignSystem-InputWrapper",className:e,style:{minWidth:l},onClick:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.focus()},role:"presentation",onBlur:function(){var e;return T(!(null!==(e=I.current)&&void 0!==e&&e.value))}},m&&fe.createElement("div",{className:"Input-inlineLabel"},fe.createElement(Ye,{appearance:"subtle"},m)),"tiny"!==a&&p&&fe.createElement("div",{className:i},fe.createElement(Ge,{name:p,size:hn[a],variations:O})),fe.createElement("input",ve({"data-test":"DesignSystem-Input"},r,n,{ref:I,name:c,type:o,defaultValue:s,placeholder:u,className:N,value:d,required:f,disabled:k,readOnly:x,onChange:g,onBlur:E,onClick:y,onFocus:S,onPaste:C,tabIndex:x?-1:void 0})),k?"":v?fe.createElement(sl,{position:"bottom",tooltip:v},h):w&&(d||s)?w:b&&(d||s)&&fe.createElement("div",{className:t},fe.createElement(Ge,{"data-test":"DesignSystem-Input--closeIcon",onClick:function(e){var t;null!==(t=I.current)&&void 0!==t&&t.focus({preventScroll:!0}),b(e)},name:"close",size:hn[a],className:"Input-icon--right"})))});vn.displayName="Input",Object.assign(vn,{ActionButton:pn});var gn=["size","defaultValue","name","placeholder","icon","prefix","suffix","error","min","max","onChange","onClick","onBlur","onFocus","className","autoFocus","disabled","readOnly","value","showActionButton","onKeyDown","iconVariations"],yn={regular:16,large:20},bn=fe.forwardRef(function(e,t){var n=e.size,a=void 0===n?"regular":n,r=e.defaultValue,o=e.name,i=e.placeholder,l=e.icon,s=e.prefix,c=e.suffix,u=e.error,d=e.min,p=e.max,m=e.onChange,f=e.onClick,h=e.onBlur,v=e.onFocus,g=e.className,y=e.autoFocus,b=e.disabled,E=e.readOnly,S=e.value,C=e.showActionButton,w=void 0===C||C,N=e.onKeyDown,D=e.iconVariations,k=V(e,gn),x=fe.useRef(null),O=void 0===S,I=ge(fe.useState(S||r),2),T=I[0],P=I[1];fe.useImperativeHandle(t,function(){return x.current}),fe.useEffect(function(){var e;y&&null!==(e=x.current)&&void 0!==e&&e.focus({preventScroll:!0})},[]),fe.useEffect(function(){void 0!==S&&P(S)},[S]);var M=Ee(e),C=be((he(n={},"MetricInput",!0),he(n,"MetricInput--".concat(a),a),he(n,"MetricInput--disabled",b||E),he(n,"MetricInput--error",u),n),g),t=be((he(I={},"MetricInput-input",!0),he(I,"MetricInput-input--".concat(a),a),he(I,"mr-4",!c&&!w&&"regular"===a),he(I,"mr-6",!c&&!w&&"large"===a),I)),u=be((he(e={},"MetricInput-icon",!0),he(e,"MetricInput-icon--".concat(a),a),e)),g=be((he(n={},"mr-4","regular"===a),he(n,"mr-5","regular"!==a),n)),e=be((he(I={},"ml-4 mr-3","regular"===a),he(I,"mx-5","regular"!==a),I)),I=be((he(n={},"p-0",!0),he(n,"MetricInput-arrowIcon--".concat(a),a),he(n,"ml-3",!0),n)),A=function(e,t){var n=Number(T||0),a=(null===(a=n.toString().split(".")[1])||void 0===a?void 0:a.length)||0;b||E||!("down"===t?void 0!==d&&d=h.length)return a;if(n>=e.length)return P.current={start:t,end:t},a;var i=h[t];return w(t)?(e[n].match(i)?a+=e[n]:a+=m,o++):a+=i,a+=B(e,r,o)},[h,m,w]),_=fe.useCallback(function(){P.current=F(),T.current=window.requestAnimationFrame(_)},[P.current,F]),j=function(e){var t=n.placeholder||"dd/mm/yyyy";return"yyyy"===t.substring(0,4)?e&&e[4]===t[4]&&e[7]===t[7]:e&&e[2]===t[2]&&e[5]===t[5]},r=fe.useCallback(function(e){var t,n=null===(i=e.currentTarget)||void 0===i?void 0:i.value,a=F(),r=Math.min(P.current.start,a.start),o=a.end,i=r,l="",s=0,o=n.slice(r,o),l=B(o,r),o=A;0!==o.length||"parent-TimePicker"!==E&&"parent-DatePicker"!==E||(o=x),t=l.length,a.end>P.current.end?s=t?R(P.current):0:n.length=n.length?(s=!!(d=Ua(o,c)))&&"get"in d&&!("originalValue"in d.get)?d.get:o[c]:(s=_a(o,c),o[c]),s&&!i&&(Xa[u]=o)}}return o}var $a=Ua?function(){try{return Ga}catch(e){try{return Ua(arguments,"callee").get}catch(e){return Ga}}}():Ga,P="function"==typeof Fa&&("function"==typeof Symbol&&("symbol"==typeof Fa("foo")&&("symbol"==typeof Symbol("bar")&&Ma()))),Ka=Object.getPrototypeOf||function(e){return e.__proto__},Ya={},Fa="undefined"==typeof Uint8Array?Ir:Ka(Uint8Array),Xa={"%AggregateError%":"undefined"==typeof AggregateError?Ir:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Ir:ArrayBuffer,"%ArrayIteratorPrototype%":P?Ka([][Symbol.iterator]()):Ir,"%AsyncFromSyncIteratorPrototype%":Ir,"%AsyncFunction%":Ya,"%AsyncGenerator%":Ya,"%AsyncGeneratorFunction%":Ya,"%AsyncIteratorPrototype%":Ya,"%Atomics%":"undefined"==typeof Atomics?Ir:Atomics,"%BigInt%":"undefined"==typeof BigInt?Ir:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Ir:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?Ir:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Ir:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Ir:FinalizationRegistry,"%Function%":Va,"%GeneratorFunction%":Ya,"%Int8Array%":"undefined"==typeof Int8Array?Ir:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Ir:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Ir:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P?Ka(Ka([][Symbol.iterator]())):Ir,"%JSON%":"object"==typeof JSON?JSON:Ir,"%Map%":"undefined"==typeof Map?Ir:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P?Ka((new Map)[Symbol.iterator]()):Ir,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Ir:Promise,"%Proxy%":"undefined"==typeof Proxy?Ir:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?Ir:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Ir:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P?Ka((new Set)[Symbol.iterator]()):Ir,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Ir:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P?Ka(""[Symbol.iterator]()):Ir,"%Symbol%":P?Symbol:Ir,"%SyntaxError%":ja,"%ThrowTypeError%":$a,"%TypedArray%":Fa,"%TypeError%":Wa,"%Uint8Array%":"undefined"==typeof Uint8Array?Ir:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Ir:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Ir:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Ir:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?Ir:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Ir:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Ir:WeakSet},Ja=function e(t){var n,a;return"%AsyncFunction%"===t?n=La("async function () {}"):"%GeneratorFunction%"===t?n=La("function* () {}"):"%AsyncGeneratorFunction%"===t?n=La("async function* () {}"):"%AsyncGenerator%"===t?(a=e("%AsyncGeneratorFunction%"))&&(n=a.prototype):"%AsyncIteratorPrototype%"!==t||(a=e("%AsyncGenerator%"))&&(n=Ka(a.prototype)),Xa[t]=n},Za={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Qa=Ba.call(Function.call,Array.prototype.concat),er=Ba.call(Function.apply,Array.prototype.splice),tr=Ba.call(Function.call,String.prototype.replace),nr=Ba.call(Function.call,String.prototype.slice),ar=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rr=/\\(\\)?/g,or=H(function(e){var t=qa("%Function.prototype.apply%"),n=qa("%Function.prototype.call%"),a=qa("%Reflect.apply%",!0)||Ba.call(n,t),r=qa("%Object.getOwnPropertyDescriptor%",!0),o=qa("%Object.defineProperty%",!0),i=qa("%Math.max%");if(o)try{o({},"a",{value:1})}catch(e){o=null}e.exports=function(e){var t=a(Ba,n,arguments);return r&&o&&r(t,"length").configurable&&o(t,"length",{value:1+i(0,e.length-(arguments.length-1))}),t};function l(){return a(Ba,t,arguments)}o?o(e.exports,"apply",{value:l}):e.exports.apply=l});or.apply;function ir(e,t){return"function"==typeof(t=qa(e,!!t))&&-1=n.clientWidth&&e>=n.clientHeight}),t=(0s[e]&&!a.escapeWithReference&&(n=Math.min(c[t],s[e]-("right"===e?c.width:c.height))),Co({},t,n)}};return l.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=wo({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(o=e.offsets).popper,n=o.reference,a=e.placement.split("-")[0],r=Math.floor,o=(i=-1!==["top","bottom"].indexOf(a))?"right":"bottom",a=i?"left":"top",i=i?"width":"height";return t[o]r(n[o])&&(e.offsets.popper[a]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!Go(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],r=(u=e.offsets).popper,o=u.reference,i=-1!==["left","right"].indexOf(a),l=i?"height":"width",s=i?"Top":"Left",c=s.toLowerCase(),t=i?"left":"top",u=i?"bottom":"right",a=Po(n)[l];return o[u]-ar[u]&&(e.offsets.popper[c]+=o[c]+a-r[u]),e.offsets.popper=No(e.offsets.popper),i=o[c]+o[l]/2-a/2,u=io(e.instance.popper),o=parseFloat(u["margin"+s]),s=parseFloat(u["border"+s+"Width"]),s=i-e.offsets.popper[c]-o-s,s=Math.max(Math.min(r[l]-a,s),0),e.arrowElement=n,e.offsets.arrow=(Co(n={},c,Math.round(s)),Co(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,u){if(Fo(c.instance.modifiers,"inner"))return c;if(c.flipped&&c.placement===c.originalPlacement)return c;var d=Oo(c.instance.popper,c.instance.reference,u.padding,u.boundariesElement,c.positionFixed),p=c.placement.split("-")[0],m=Mo(p),f=c.placement.split("-")[1]||"",h=[];switch(u.behavior){case Yo:h=[p,m];break;case Xo:h=Ko(p);break;case Jo:h=Ko(p,!0);break;default:h=u.behavior}return h.forEach(function(e,t){if(p!==e||h.length===t+1)return c;p=c.placement.split("-")[0],m=Mo(p);var n=c.offsets.popper,a=c.offsets.reference,r=Math.floor,o="left"===p&&r(n.right)>r(a.left)||"right"===p&&r(n.left)r(a.top)||"bottom"===p&&r(n.top)r(d.right),s=r(n.top)r(d.bottom),a="left"===p&&i||"right"===p&&l||"top"===p&&s||"bottom"===p&&e,n=-1!==["top","bottom"].indexOf(p),r=!!u.flipVariations&&(n&&"start"===f&&i||n&&"end"===f&&l||!n&&"start"===f&&s||!n&&"end"===f&&e),s=!!u.flipVariationsByContent&&(n&&"start"===f&&l||n&&"end"===f&&i||!n&&"start"===f&&e||!n&&"end"===f&&s),s=r||s;(o||a||s)&&(c.flipped=!0,(o||a)&&(p=h[t+1]),s&&(f="end"===(s=f)?"start":"start"===s?"end":s),c.placement=p+(f?"-"+f:""),c.offsets.popper=wo({},c.offsets.popper,Ao(c.instance.popper,c.offsets.reference,c.placement)),c=Ro(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],a=(i=e.offsets).popper,r=i.reference,o=-1!==["left","right"].indexOf(n),i=-1===["top","left"].indexOf(n);return a[o?"left":"top"]=r[n]-(i?a[o?"width":"height"]:0),e.placement=Mo(t),e.offsets.popper=No(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Go(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Lo(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.righth.current.clientHeight)}),p=be((he(c={},"Collapsible-wrapper",!0),he(c,"Collapsible-wrapper--overlay",!u),c)),c=be((he(e={},"Collapsible-body",!0),he(e,"overflow-hidden",!n&&a),e)),e=be((he(e={Collapsible:!0},"Collapsible--overlay",!u),he(e,"Collapsible--shadow",!u&&n),e),i),i=be((he(i={},"Collapsible-footer",!0),he(i,"Collapsible-footer--seperator",m),i)),fe.createElement("div",{"data-test":"DesignSystem-CollapsibleWrapper",className:p,style:{height:r}},fe.createElement("div",ve({"data-test":"DesignSystem-Collapsible"},v,{"data-layer":!0,className:e,style:{width:n?t:void 0}}),fe.createElement("div",{className:c,"data-test":"DesignSystem-CollapsibleBody",onMouseEnter:g(!0,"mouseenter"),onMouseLeave:g(!1,"mouseleave"),ref:h},o),s&&fe.createElement("div",{role:"button",tabIndex:0,className:i,"data-test":"DesignSystem-Collapsible--Footer",onClick:g(!n,"click"),onKeyDown:g(!n,"click")},fe.createElement(Ge,{name:n?"keyboard_arrow_left":"keyboard_arrow_right","data-test":"DesignSystem-Collapsible--FooterIcon",className:"px-6 py-4 my-2 cursor-pointer",size:16}))))}wl.displayName="Collapsible",wl.defaultProps={expanded:!1,hoverable:!0,height:"100%",expandedWidth:"240px",withTrigger:!0};function Nl(e){function t(e){if("number"!=typeof e)return e;var t=(n=new Date(e)).getHours(),e=n.getMinutes(),n=t<12?"AM":"PM";return"".concat(t%12||12,":").concat(e," ").concat(n)}var n=e.type,a=e.time,r=e.className,o=e.readText,i=void 0===o?"Read":o,l=void 0===(o=e.failedText)?"Click to retry":o,s=void 0===(o=e.sendingText)?"Sending..":o,c=Ee(e),u=be(he({},"d-flex align-items-center mt-3",!0),r),d=be(he({},"ChatMessage-status",!0),r);switch(n){case"failed":return fe.createElement("div",ve({},c,{className:u}),fe.createElement(Ge,{name:"error",type:"outlined",appearance:"destructive"}),fe.createElement(Ye,{appearance:"destructive",size:"small",className:"ml-1"},"Failed"),fe.createElement(Rn,{list:[{label:l}],seperator:!0}));case"urgent":return fe.createElement("div",ve({},c,{className:u}),fe.createElement(Ge,{name:"notification_important",type:"outlined",appearance:"destructive"}),fe.createElement(Ye,{appearance:"destructive",size:"small",className:"ml-1"},"Urgent"),a&&fe.createElement(Rn,{list:[{label:t(a)}],seperator:!0}));case"read":return fe.createElement("div",ve({},c,{className:u}),a&&fe.createElement(Ye,{appearance:"subtle",size:"small"},t(a)),fe.createElement(Rn,{list:[{label:i}],seperator:!0}));case"sending":return fe.createElement(Ye,ve({},c,{appearance:"subtle",size:"small",className:d}),s);case"sent":return fe.createElement(fe.Fragment,null,a&&fe.createElement(Ye,ve({},c,{appearance:"subtle",size:"small",className:d}),t(a)));default:return null}}Nl.displayName="Status";function Dl(e){var t=e.children,n=e.type,a=e.isTyping,r=e.statusType,o=e.withStatus,i=e.onClick,l=e.className,s=Ee(e),l=be((he(e={},"Box",!0),he(e,"Box--".concat(n),n),he(e,"Box--typing",a),he(e,"Box--urgent","urgent"===r),he(e,"Box-".concat(n,"--withStatus"),o||a),e),l);return fe.createElement("div",ve({},s,{className:l,onClick:i,"data-test":"DesignSystem-ChatMessage--Box"}),t)}Dl.displayName="Box";function kl(e){var t=e.text,n=e.type,a=e.isTyping,r=e.typingText,o=e.statusType,i=e.className,e=Ee(e);return a&&"incoming"===n?fe.createElement(Ye,ve({},e,{appearance:"subtle",size:"small",className:i}),r):fe.createElement(Ye,ve({},e,{className:i,appearance:"sending"===o?"subtle":"default"}),t)}kl.defaultProps={text:"",typingText:"Typing.."},kl.displayName="MessageText";function xl(e){var t=e.type,n=e.text,a=e.isTyping,r=e.typingText,o=e.statusOptions,i=e.onClick,l=e.className,s=Ee(e),e=(o||{}).type;return fe.createElement(Dl,ve({},s,{type:t,className:l,onClick:i,isTyping:a,statusType:e,withStatus:void 0!==o}),fe.createElement(kl,{type:t,text:n,typingText:r,isTyping:a,statusType:e}),!a&&o&&fe.createElement(Nl,o))}xl.displayName="ChatMessage";function Ol(e){var t=e.imageSrc,n=e.title,a=e.description,r=e.size,o=e.children,i=e.className,l=e.image,s=Ee(e),c=be(he({},"EmptyState",!0),i),i=be((he(e={},"EmptyState-title",!0),he(e,"EmptyState-title--".concat(r),!0),e)),e=be((he(e={},"EmptyState-description",!0),he(e,"EmptyState-description--".concat(r),void 0!==o),e));return fe.createElement("div",ve({"data-test":"DesignSystem-EmptyState"},s,{className:c}),l&&fe.createElement("div",{style:{height:Il[r]}},l),t&&!l&&fe.createElement("img",{src:t,height:Il[r],"data-test":"DesignSystem-EmptyState--Img"}),fe.createElement(dn,{"data-test":"DesignSystem-EmptyState--Heading",size:Tl[r],className:i},n),fe.createElement(Ye,{size:Pl[r],className:e,appearance:"subtle","data-test":"DesignSystem-EmptyState--Text"},a),o)}var Il={large:"256px",small:"128px"},Tl={large:"l",small:"m"},Pl={large:"large",small:"regular"};Ol.displayName="EmptyState";var Ml=function(e){var t=e.title,n=e.description,a=e.className,e=Ee(e),a=be({"Modal-description":!0},a);return fe.createElement("div",ve({"data-test":"DesignSystem-ModalDescription"},e,{className:a}),t&&fe.createElement(Ye,{weight:"strong","data-test":"DesignSystem-ModalDescription--Title"},t),t&&n&&fe.createElement("br",null),n&&fe.createElement(Ye,{"data-test":"DesignSystem-ModalDescription--Description"},n))};Ml.displayName="ModalDescription";function Al(e){var t=e.type,n=e.totalPages,a=e.onPageChange,r=e.className,o=e.pageJumpDebounceDuration,i=Ee(e),l=ge(fe.useState(e.page),2),s=l[0],c=l[1],u=(p=ge(fe.useState(!1),2))[0],d=p[1],p=(l=ge(fe.useState(0),2))[0],m=l[1],f=fe.useCallback(Kt(o,a),[p]);function h(e){switch(d(!0),e){case"first":c(1);break;case"last":c(n);break;case"prev":1n)return[!1,os(n)];if(e.sizen)return[!1,os(n)]}return[!0,null]},cs=new Map([["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["png","image/png"],["bmp","image/bmp"],["tif","image/tiff"],["tiff","image/tiff"],["apng","image/apng"],["avif","image/avif"],["jfif","image/jpeg"],["pjpeg","image/pjpeg"],["pjp","image/jpeg"],["svg","image/svg+xml"],["webp","image/webp"],["cur","image/x-win-bitmap"],["MTS","model/vnd.mts"],["roq","video"],["f4a","video"],["f4b","video"],["drc","video"],["nsv","video"],["avi","video/x-msvideo"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["webm","video/webm"],["flv","video/x-flv"],["vob","video/x-ms-vob"],["ogv","video/ogg"],["ogg","application/ogg"],["gifv","image/gif"],["mng","video/x-mng"],["M2TS","video/MP2T"],["TS","video/mp2t"],["qt","video/quicktime"],["wmv","video/x-ms-wmv"],["yuv","application/octet-stream"],["rm","application/vnd.rn-realmedia"],["rmvb","application/vnd.rn-realmedia-vbr"],["viv","video/vnd.vivo"],["asf","video/x-ms-asf"],["amv","video/x-amv"],["m4v","video/x-m4v"],["mpg","video/mpeg"],["mpeg","video/mpeg"],["mpe","video/mpeg"],["mpv","video/mpv"],["m2v","video/mpeg"],["svi","video/x-msvideo"],["3gp","video/3gpp"],["3g2","video/3gpp2"],["mxf","application/mxf"],["flv","video/x-flv"],["f4v","video/x-f4v"],["f4p","video/mp4"],["aa","audio"],["aax","audio"],["act","audio"],["alac","audio"],["ape","audio"],["awb","audio"],["dss","audio"],["dvf","audio"],["iklax","audio"],["ivs","audio"],["msv","audio"],["nmf","audio"],["mogg","audio"],["raw","audio"],["rf64","audio"],["sln","audio"],["wv","audio"],["8svx","audio"],["3gp","audio/3gpp"],["mp2","audio/mpeg"],["aac","audio/x-aac"],["aiff","audio/x-aiff"],["amr","audio/amr"],["au","audio/basic"],["flac","audio/x-flac"],["gsm","audio/gsm"],["m4a","audio/mp4a-latm"],["m4b","audio/mp4a-latm"],["m4p","audio/mp4a-latm"],["mmf","application/vnd.smaf"],["mp3","audio/mpeg"],["ogg","audio/ogg"],["oga","audio/ogg"],["opus","audio/opus"],["tta","audio/x-tta"],["voc","audio/x-voice"],["wav","audio/x-wav"],["wma","audio/x-ms-wma"],["webm","audio/webm"],["cda ","application/x-cdf"],["ra","audio/x-pn-realaudio"],["vox","application/x-authorware-bin"],["rm","application/vnd.rn-realmedia"],["mpc","application/vnd.mophun.certificate"],["pdf","application/pdf"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["xlss","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xls","application/vnd.ms-excel"],["odt","application/vnd.oasis.opendocument.text"],["tex","application/x-tex"],["wpd","application/wordperfect"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["csv","text/csv"],["rtf","text/rtf"],["txt","text/plain"],["tsv","text/tab-separated-values"]]),us=[".DS_Store","Thumbs.db"];function ds(){return(ds=l(regeneratorRuntime.mark(function e(n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.dataTransfer&&n.dataTransfer?function(){return ms.apply(this,arguments)}(n.dataTransfer,n.type):(null!==(t=n).target&&t.target.files?hs(t.target.files):[]).map(function(e){return ps(e)}));case 1:case"end":return e.stop()}var t},e)}))).apply(this,arguments)}function ps(e,t){var n,a=function(e){var t=e.name;t&&-1!==t.lastIndexOf(".")&&!e.type&&(t=t.split(".").pop().toLowerCase(),(t=cs.get(t))&&Object.defineProperty(e,"type",{value:t,writable:!1,configurable:!1,enumerable:!0}));return e}(e);return"string"!=typeof a.path&&(n=e.webkitRelativePath,Object.defineProperty(a,"path",{value:"string"==typeof t?t:"string"==typeof n&&0