{"version":3,"sources":["utils/components/Corporate/ShowMore/StyledShowMore.ts","utils/components/Corporate/ShowMore/index.tsx","components/Corporate/Divider/StyledDivider.ts","components/Corporate/FeatureList/StyledFeatureList.ts","utils/icons/Tick.tsx","components/Corporate/FeatureList/index.tsx"],"names":["Button","styled","button","buttonAsLinkReset","linkWithoutVisited","safeFocusRemoval","focusOutline","text_s","hideOnPrint","ArrowWrapper","span","svg","theme","colors","element","white","iconColorOnPrint","primary","ShowMore","onClick","title","count","label","useState","showingMore","setShowingMore","e","aria-expanded","role","ScreenReader","ariaHidden","EditorWrapper","div","spacing","py","Rule","my","color","Container","article","Heading","h2","heading_m","mt","mb","List","Grid","Row","PrimaryContainer","mq","lessThan","FeatureListItem","Item","ShowMoreItem","FeatureTitle","h3","heading_s","FeatureDescription","p","quaternary","FeatureIconPosition","FeatureIconContainer","FeatureTickWrapper","featureList","tick","FeatureCrossWrapper","cross","withSvg","d","MissingDataSource","compose","withEditModeNotice","featuresTheme","Theme","grid","gutter","size","xs","directions","FeatureListUl","features","editMode","primaryFeatures","slice","secondaryFeatures","length","canShowMore","setCanShowMore","useTranslation","t","as","map","data","index","key","config","col","hide","FeatureItem","props","isIncluded","value","throwInDev","getIncluded","availability","jss","fields","displayName","description","className","md","Tick","Cross","ContentRichText","tag","field","withEditMode","rendering","featuresItems","datasource","featureItems","noticeEnabled","noticeMessage","EditContainer","noticeLevel","id","dataSource","Math","random","gutters","editable"],"mappings":"ulBAYO,IAAMA,EAASC,UAAOC,OAAV,IACfC,IACAC,IAEEC,IACAC,IAEFC,IAGAC,KAGSC,EAAeR,UAAOS,KAAV,IACrBC,YAAI,EAAG,IAKPX,EACAA,GAEU,qBAAGY,MAAkBC,OAAOC,QAAQC,QAC1CC,KAKI,qBAAGJ,MAAkBC,OAAOC,QAAQG,W,gBCbjCC,IAtBf,YAAmE,IAA/CC,EAA8C,EAA9CA,QAASC,EAAqC,EAArCA,MAAOC,EAA8B,EAA9BA,MAA8B,IAAvBC,aAAuB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AE,EAAqCnG,MAAMqF,IAAKyB,UAAU,KAGzE,kBAAC1F,EAAD,KAAUpB,KAKlB,kBAAC,GAAD,CAAeA,MAAOA,EAAO4D,SAAUsC,EAAerC,SAAUA","file":"static/js/FeatureList.d1ec851c.chunk.js","sourcesContent":["import styled from 'styled-components';\r\nimport {\r\n buttonAsLinkReset,\r\n focusOutline,\r\n linkWithoutVisited,\r\n safeFocusRemoval,\r\n svg,\r\n text_s,\r\n hideOnPrint,\r\n iconColorOnPrint\r\n} from '../../../styles';\r\n\r\nexport const Button = styled.button`\r\n ${buttonAsLinkReset}\r\n ${linkWithoutVisited}\r\n &:focus {\r\n ${safeFocusRemoval}\r\n ${focusOutline}\r\n }\r\n ${text_s}\r\n padding-right: 4px;\r\n margin: 0;\r\n ${hideOnPrint}\r\n`;\r\n\r\nexport const ArrowWrapper = styled.span`\r\n ${svg(7, 12)}\r\n margin-left: 8px;\r\n width: 7px;\r\n transform: rotate(90deg);\r\n\r\n ${Button}:focus &,\r\n ${Button}:hover & {\r\n path {\r\n fill: ${({ theme }) => theme.colors.element.white};\r\n ${iconColorOnPrint}\r\n }\r\n }\r\n\r\n path {\r\n fill: ${({ theme }) => theme.colors.element.primary};\r\n }\r\n`;\r\n","import React, { useState } from 'react';\r\nimport { Button, ArrowWrapper } from './StyledShowMore';\r\nimport { SimpleArrow } from '_utils/icons';\r\nimport ScreenReader from '_utils/components/Corporate/ScreenReader';\r\n\r\nfunction ShowMore({ onClick, title, count, label = 'Show more' }) {\r\n const [showingMore, setShowingMore] = useState(false);\r\n\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default ShowMore;\r\n","import styled from 'styled-components';\r\nimport { spacing } from '_utils/props';\r\nimport color from '_utils/styles/color';\r\n\r\nexport const EditorWrapper = styled.div`\r\n ${({ theme }) => spacing({ theme, py: 2 })}\r\n /* invis border helps editor size calc */\r\n border: 1px solid transparent;\r\n`;\r\n\r\nexport const Rule = styled.div`\r\n margin: 0;\r\n ${({ theme }) => spacing({ theme, my: 7 })}\r\n height: 1px;\r\n box-shadow: inset 0px -1px 0px ${color('all.deepBlueTint15')};\r\n ${EditorWrapper} & {\r\n margin: 0;\r\n }\r\n`;\r\n","import styled from 'styled-components';\r\nimport { spacing } from '_utils/props';\r\nimport {\r\n svg,\r\n heading_m,\r\n heading_s,\r\n text_s,\r\n buttonAsLinkReset,\r\n linkWithoutVisited,\r\n safeFocusRemoval,\r\n focusOutline,\r\n mq,\r\n hideOnPrint,\r\n iconColorOnPrint\r\n} from '_utils/styles';\r\nimport Grid from '_utils/components/Corporate/Grid';\r\nimport { Primary as PrimaryContainer } from '../TwoColumn/StyledTwoColumn';\r\nimport { Rule } from '_components/Corporate/Divider/StyledDivider';\r\nimport color from '_utils/styles/color';\r\n\r\nexport const Container = styled.article`\r\n & + & {\r\n margin-top: 20px; // spacing added by \r\n &::before{\r\n margin: 0;\r\n ${({ theme }) => spacing({ theme, my: 7 })}\r\n box-shadow: inset 0px -1px 0px ${color('all.deepBlueTint15')};\r\n content:\"\";\r\n height:1px;\r\n display: block;\r\n }\r\n }\r\n @media print {\r\n page-break-inside: avoid;\r\n }\r\n `;\r\n\r\nexport const Heading = styled.h2`\r\n ${heading_m}\r\n line-height: 1;\r\n ${({ theme }) => spacing({ theme, mt: 0, mb: 3 })};\r\n`;\r\n\r\nexport const List = styled(Grid.Row)`\r\n list-style: none;\r\n padding: 0;\r\n\r\n /* force single column layout when in the lhs of\r\n a 2-col layout when less than desktop */\r\n ${PrimaryContainer} & {\r\n ${mq.lessThan('lg')} {\r\n li {\r\n flex: 0 0 100%;\r\n max-width: 100%;\r\n }\r\n }\r\n li {\r\n @media print {\r\n display: block;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nexport const Divider = styled(Rule)``;\r\n\r\nexport const FeatureListItem = styled(Grid.Item)`\r\n display: block;\r\n\r\n &.is-hidden {\r\n display: none;\r\n }\r\n\r\n ${hideOnPrint}\r\n`;\r\n\r\nexport const ShowMoreItem = styled(Grid.Item)`\r\n ${hideOnPrint}\r\n`;\r\n\r\nexport const FeatureTitle = styled.h3`\r\n ${heading_s}\r\n margin: 0;\r\n padding-left: 32px;\r\n margin-bottom: 4px;\r\n`;\r\n\r\nexport const FeatureDescription = styled.p`\r\n ${text_s}\r\n margin-top: 4px;\r\n padding-left: 32px;\r\n margin-bottom: 0;\r\n & + & {\r\n margin-top: 16px;\r\n }\r\n color: ${({ theme }) => theme.colors.element.quaternary};\r\n`;\r\n\r\nexport const FeatureIconPosition = styled.span`\r\n display: block;\r\n width: 0;\r\n height: 0;\r\n position: relative;\r\n`;\r\n\r\nexport const FeatureIconContainer = styled.span`\r\n position: absolute;\r\n left: 0;\r\n top: 0px;\r\n width: 24px;\r\n height: 20px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n\r\n ${mq('md')} {\r\n top: 2px;\r\n }\r\n`;\r\n\r\nexport const FeatureTickWrapper = styled.span`\r\n ${svg(16, 12)}\r\n width: 14px;\r\n flex: none;\r\n path {\r\n fill: ${({ theme }) => theme.colors.featureList.tick};\r\n }\r\n`;\r\n\r\nexport const FeatureCrossWrapper = styled.span`\r\n ${svg(14, 14)}\r\n width: 12px;\r\n flex: none;\r\n path {\r\n fill: ${({ theme }) => theme.colors.featureList.cross};\r\n }\r\n`;\r\n\r\nexport const ShowMore = styled.button`\r\n ${buttonAsLinkReset}\r\n ${linkWithoutVisited}\r\n &:focus {\r\n ${safeFocusRemoval}\r\n ${focusOutline}\r\n }\r\n ${text_s}\r\n padding-right: 4px;\r\n margin: 0;\r\n`;\r\n\r\nexport const ArrowWrapper = styled.span`\r\n ${svg(7, 12)}\r\n margin-left: 8px;\r\n width: 7px;\r\n transform: rotate(90deg);\r\n\r\n ${ShowMore}:focus &,\r\n ${ShowMore}:hover & {\r\n path {\r\n fill: ${({ theme }) => theme.colors.element.white};\r\n ${iconColorOnPrint}\r\n }\r\n }\r\n\r\n path {\r\n fill: ${({ theme }) => theme.colors.element.primary};\r\n }\r\n`;\r\n","import React from 'react';\r\nimport { withSvg } from './Svg';\r\n\r\nconst SvgTick = () => (\r\n \r\n);\r\n\r\nexport default withSvg(16, 12)(SvgTick);\r\n","import React, { useState } from 'react';\r\nimport styled, { ThemeProvider } from 'styled-components';\r\nimport { withEditMode, withEditModeNotice } from '_containers/BaseComponent';\r\nimport { ITheme } from '_containers/Theme';\r\nimport { useTranslation } from 'react-i18next';\r\nimport Theme from '_containers/Theme/theme';\r\n\r\nimport { compose } from 'ramda';\r\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\r\n\r\nimport {\r\n Container,\r\n Heading,\r\n List,\r\n FeatureListItem,\r\n ShowMoreItem,\r\n FeatureTitle,\r\n FeatureDescription,\r\n FeatureIconContainer,\r\n FeatureTickWrapper,\r\n FeatureCrossWrapper,\r\n FeatureIconPosition\r\n} from './StyledFeatureList';\r\n\r\nimport Tick from '_utils/icons/Tick';\r\nimport Cross from '_utils/icons/Cross';\r\n\r\n// import data from './mockFeatures.json';\r\nimport Grid from '_utils/components/Corporate/Grid';\r\nimport ScreenReader from '_utils/components/Corporate/ScreenReader';\r\nimport { throwInDev } from '_utils/helpers/dev';\r\nimport ContentRichText from '../ContentRichText';\r\n\r\nimport ShowMore from '_utils/components/Corporate/ShowMore';\r\n\r\nconst MissingDataSource = compose(withEditModeNotice)(styled.div``);\r\n\r\ntype FeatureData = {\r\n title: string;\r\n description?: string;\r\n included?: boolean;\r\n};\r\n\r\nconst featuresTheme: ITheme = {\r\n ...Theme,\r\n grid: {\r\n ...Theme.grid,\r\n gutter: {\r\n size: {\r\n xs: 16\r\n },\r\n directions: ['left', 'right', 'top', 'bottom']\r\n }\r\n }\r\n};\r\n\r\nconst getIncluded = (value) => {\r\n switch (value) {\r\n case 'Yes':\r\n return true;\r\n case 'No':\r\n return false;\r\n case 'Not applicable':\r\n case '':\r\n return null;\r\n default:\r\n throwInDev('unrecognized feature list included value ' + value);\r\n }\r\n};\r\n\r\nconst FeatureListUl = ({ title, features, editMode }) => {\r\n const primaryFeatures: FeatureData[] = editMode ? features : features.slice(0, 4);\r\n const secondaryFeatures: FeatureData[] = editMode ? [] : features.slice(4);\r\n const [canShowMore, setCanShowMore] = useState(\r\n !editMode && secondaryFeatures && secondaryFeatures.length > 0\r\n );\r\n const [showingMore, setShowingMore] = useState(false);\r\n const [t] = useTranslation();\r\n\r\n return (\r\n \r\n {primaryFeatures.map((data, index) => (\r\n \r\n ))}\r\n {canShowMore && (\r\n \r\n {\r\n setShowingMore(true);\r\n setCanShowMore(false);\r\n }}\r\n />\r\n \r\n )}\r\n {secondaryFeatures.map((data: FeatureData, index) => (\r\n \r\n ))}\r\n
\r\n );\r\n};\r\n\r\nconst FeatureItem = (props) => {\r\n const [t] = useTranslation();\r\n const isIncluded = getIncluded(props.data?.availability?.value);\r\n const hide = props.hide;\r\n const editMode = false;\r\n const title = props.data?.title?.jss?.fields?.displayName?.value;\r\n const description = props.data?.description?.jss?.value;\r\n return (\r\n \r\n {isIncluded !== null && (\r\n \r\n \r\n {isIncluded === true && (\r\n \r\n \r\n \r\n )}\r\n {isIncluded === false && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n )}\r\n {editMode ? (\r\n \r\n ) : (\r\n \r\n {title}\r\n {isIncluded === true && (\r\n {t('feature-list-accessible-included-suffix')}\r\n )}\r\n {isIncluded === false && (\r\n {t('feature-list-accessible-excluded-suffix')}\r\n )}\r\n \r\n )}\r\n {description && (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nconst FeatureList = (props) => {\r\n const { editMode, rendering } = props;\r\n const featuresItems = rendering?.fields?.data?.datasource?.featureItems;\r\n if (editMode) {\r\n if (!featuresItems) {\r\n return (\r\n \r\n );\r\n }\r\n\r\n if (!featuresItems.length) {\r\n const EditContainer = compose(withEditModeNotice)(styled.div``);\r\n return (\r\n \r\n );\r\n }\r\n }\r\n if (!featuresItems || !featuresItems.length) {\r\n return null;\r\n }\r\n const title = rendering?.fields?.data?.datasource?.title?.jss?.value; //will be overridden\r\n\r\n const id = rendering?.dataSource || '' + Math.random();\r\n\r\n return (\r\n \r\n \r\n {title && (\r\n \r\n \r\n {editMode ? (\r\n \r\n \r\n \r\n ) : (\r\n {title}\r\n )}\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default compose(withEditMode)(FeatureList);\r\n"],"sourceRoot":""}