@semcore/d3-chart 3.13.0 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_serialize","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","styles","sstyled","insert","PlotA11yView","_ref3","_ref","arguments[0]","_ref2","id","providedData","data","hints","plotLabel","plotRef","providedConfig","config","locale","SPlotA11yView","Box","translations","useAsyncI18nMessages","localizedMessages","intl","React","useMemo","getIntl","makeDataSummarizationConfig","Array","isArray","keys","_fromHints","_fromHints2","_fromHints3","_fromHints4","_fromHints5","fromHints","push","apply","_toConsumableArray2","fields","verticalAxes","horizontalAxes","valueAxes","additionalFields","Object","values","Set","filter","key","length","forEach","row","_fromHints6","duplicatedBaseKeys","baseKeys","titles","valuesAxes","map","has","axesTitle","vertical","horizontal","entry","undefined","doublicated","handled","_iterator","_createForOfIteratorHelper2","_step","s","n","done","_step$value","_slicedToArray2","value","label","err","e","f","renderTitle","useCallback","dataKey","_React$useState","useState","_React$useState2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleSkip","_heavyFindNextFocusab","current","heavyFindNextFocusableElement","focus","handleSkipKeyboard","event","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","index","item","_typeof2","join","_ref4","_ref5","formatValue","exports"],"sources":["../../../src/a11y/PlotA11yView.tsx"],"sourcesContent":["import React from 'react';\nimport { heavyFindNextFocusableElement } from './focus';\nimport { makeDataSummarizationConfig } from './hints';\nimport type { A11yViewProps } from './PlotA11yModule';\nimport { formatValue } from './serialize';\nimport { getIntl } from './intl';\nimport { summarize } from './summarize';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yView.shadow.css';\nimport { Box } from '@semcore/flex-box';\nimport { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';\n\nexport const PlotA11yView: React.FC<A11yViewProps> = ({\n id,\n data: providedData,\n hints,\n plotLabel,\n plotRef,\n config: providedConfig,\n locale,\n}) => {\n const SPlotA11yView = Root;\n const translations = useAsyncI18nMessages(localizedMessages, locale);\n const intl = React.useMemo(\n () => getIntl(locale, translations, localizedMessages),\n [locale, translations, localizedMessages],\n );\n const config = React.useMemo(() => makeDataSummarizationConfig(providedConfig), [providedConfig]);\n const data = React.useMemo(\n () => (Array.isArray(providedData) ? providedData : [providedData]),\n [providedData],\n );\n const keys = React.useMemo(() => {\n let fromHints: (string | number)[] = [];\n fromHints.push(...hints.fields.verticalAxes);\n fromHints.push(...hints.fields.horizontalAxes);\n fromHints.push(...hints.fields.valueAxes);\n fromHints.push(...config.additionalFields);\n fromHints.push(...Object.keys(hints.fields.values));\n\n fromHints = [...new Set(fromHints)].filter((key) => key in data[0]);\n\n if (fromHints.length === 0) {\n data.forEach((row) => fromHints.push(...Object.keys(row)));\n }\n\n return [...new Set(fromHints)];\n }, [data, hints]);\n const duplicatedBaseKeys = React.useMemo(() => {\n const baseKeys = keys\n .filter((key) => !hints.titles.valuesAxes[key])\n .map((key) => {\n if (hints.fields.verticalAxes.has(key) && hints.axesTitle.vertical)\n return [key, hints.axesTitle.vertical];\n if (hints.fields.horizontalAxes.has(key) && hints.axesTitle.horizontal)\n return [key, hints.axesTitle.horizontal];\n })\n .filter((entry) => entry !== undefined)\n .map((entry) => entry!);\n const doublicated: Record<string, true> = {};\n const handled: Record<string, string | number> = {};\n for (const [key, label] of baseKeys) {\n if (handled[label]) {\n doublicated[key] = true;\n doublicated[handled[label]] = true;\n }\n handled[label] = key;\n }\n return doublicated;\n }, [keys, hints]);\n const renderTitle = React.useCallback(\n (dataKey: string | number) => {\n if (hints.titles.valuesAxes[dataKey]) return hints.titles.valuesAxes[dataKey];\n if (!duplicatedBaseKeys[dataKey]) {\n if (hints.fields.verticalAxes.has(dataKey) && hints.axesTitle.vertical)\n return hints.axesTitle.vertical;\n if (hints.fields.horizontalAxes.has(dataKey) && hints.axesTitle.horizontal)\n return hints.axesTitle.horizontal;\n }\n\n return dataKey;\n },\n [data, hints, duplicatedBaseKeys],\n );\n\n const [summary, setSummary] = React.useState<string | null>(null);\n const [generatingSummary, setGeneratingSummary] = React.useState(true);\n\n React.useEffect(() => {\n if (config.disable) {\n setSummary('');\n setGeneratingSummary(false);\n return;\n }\n if (config.override) {\n setSummary(config.override);\n setGeneratingSummary(false);\n return;\n }\n setTimeout(() => {\n setSummary(summarize(providedData, hints, config, locale, translations, localizedMessages));\n setGeneratingSummary(false);\n }, 0);\n }, [providedData, hints, config, locale, translations, localizedMessages]);\n\n const handleSkip = React.useCallback(() => {\n if (!plotRef.current) return;\n\n heavyFindNextFocusableElement(plotRef.current)?.focus();\n }, []);\n const handleSkipKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleSkip();\n },\n [handleSkip],\n );\n const handleGoToTable = React.useCallback(() => {\n dataTableRef.current?.focus();\n }, []);\n const handleGoToTableKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleGoToTable();\n },\n [handleGoToTable],\n );\n\n const texts = React.useMemo(\n () => ({\n label: intl.formatMessage(\n { id: 'view-label' },\n { plotLabel: plotLabel ?? intl.formatMessage({ id: 'view-default-plot-label' }) },\n ),\n close: intl.formatMessage({ id: 'view-close' }),\n skipPlot: intl.formatMessage({ id: 'view-skip-plot' }),\n goToTable: intl.formatMessage({ id: 'view-go-to-table' }),\n summary: intl.formatMessage({ id: 'view-data-summary' }),\n summaryPlaceholder: intl.formatMessage({ id: 'view-summary-placeholder' }),\n table: intl.formatMessage({ id: 'view-table' }),\n }),\n [intl, plotLabel],\n );\n\n const dataTableRef = React.useRef<HTMLTableElement>(null);\n\n return sstyled(styles)(\n <SPlotA11yView render={Box} tabIndex={0} aria-label={texts.label}>\n {/* rome-ignore lint/a11y/useValidAnchor: */}\n <a aria-hidden onClick={handleSkip}>\n {texts.close}\n </a>\n {/* rome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleSkipKeyboard} onClick={handleSkip}>\n {texts.skipPlot}\n </a>\n {/* rome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleGoToTableKeyboard} onClick={handleGoToTable}>\n {texts.goToTable}\n </a>\n <strong>\n <label htmlFor={`${id}-data-summary`}>{texts.summary}</label>\n </strong>\n <div id={`${id}-data-summary`} aria-busy={generatingSummary} tabIndex={0}>\n {generatingSummary ? texts.summaryPlaceholder : summary}\n </div>\n <strong>\n <label htmlFor={`${id}-data-table`}>{texts.table}</label>\n </strong>\n <table id={`${id}-data-table`} tabIndex={0} ref={dataTableRef}>\n <thead>\n <tr>\n {keys.map((key, index) => (\n <th key={`${key}-${index}`}>{renderTitle(key)}</th>\n ))}\n </tr>\n </thead>\n <tbody>\n {data.map((row, index) => (\n <tr\n key={`${Object.values(row)\n .filter((item) => typeof item !== 'symbol')\n .join('-')}-${index}`}\n >\n {keys\n .map((key) => (typeof row[key] !== 'symbol' ? [key, row[key]] : [key, '']))\n .map(([key, value], index) => (\n <td key={`${key}-${index}`}>{formatValue(intl, value)}</td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAPA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,UA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E,GAAG,CAACH,GAAG,CAAC,MAAK,QAAQ,GAAG,CAACA,GAAG,EAAEG,GAAG,CAACH,GAAG,CAAC,CAAC,GAAG,CAACA,GAAG,EAAE,EAAE,CAAC;IAAA,CAAC,CAAC,CAC1ES,GAAG,CAAC,UAAAmE,KAAA,EAAeJ,KAAK;MAAA,IAAAK,KAAA,OAAApD,eAAA,aAAAmD,KAAA;QAAlB5E,GAAG,GAAA6E,KAAA;QAAEnD,KAAK,GAAAmD,KAAA;MAAA,oBACfvI,MAAA,YAAA6H,aAAA;QAAInE,GAAG,KAAAuE,MAAA,CAAKvE,GAAG,OAAAuE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAACxG,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACqD,OAAA,CAAA5H,YAAA,GAAAA,YAAA"}
1
+ {"version":3,"file":"PlotA11yView.js","names":["_core","require","_react","_interopRequireDefault","_focus","_hints","_serialize","_intl","_summarize","_flexBox","_i18nEnhance","_intergalacticDynamicLocales","styles","sstyled","insert","PlotA11yView","_ref3","_ref","arguments[0]","_ref2","id","providedData","data","hints","plotLabel","plotRef","providedConfig","config","locale","SPlotA11yView","Box","translations","useAsyncI18nMessages","localizedMessages","intl","React","useMemo","getIntl","makeDataSummarizationConfig","Array","isArray","keys","_fromHints","_fromHints2","_fromHints3","_fromHints4","_fromHints5","fromHints","push","apply","_toConsumableArray2","fields","verticalAxes","horizontalAxes","valueAxes","additionalFields","Object","values","Set","filter","key","length","forEach","row","_fromHints6","duplicatedBaseKeys","baseKeys","titles","valuesAxes","map","has","axesTitle","vertical","horizontal","entry","undefined","doublicated","handled","_iterator","_createForOfIteratorHelper2","_step","s","n","done","_step$value","_slicedToArray2","value","label","err","e","f","renderTitle","useCallback","dataKey","_React$useState","useState","_React$useState2","summary","setSummary","_React$useState3","_React$useState4","generatingSummary","setGeneratingSummary","useEffect","disable","override","setTimeout","summarize","handleSkip","_heavyFindNextFocusab","current","heavyFindNextFocusableElement","focus","handleSkipKeyboard","event","handleGoToTable","_dataTableRef$current","dataTableRef","handleGoToTableKeyboard","texts","formatMessage","close","skipPlot","goToTable","summaryPlaceholder","table","useRef","createElement","cn","_objectSpread2","assignProps","concat","index","item","_typeof2","join","_ref4","_ref5","formatValue","exports"],"sources":["../../../src/a11y/PlotA11yView.tsx"],"sourcesContent":["import React from 'react';\nimport { heavyFindNextFocusableElement } from './focus';\nimport { makeDataSummarizationConfig } from './hints';\nimport type { A11yViewProps } from './PlotA11yModule';\nimport { formatValue } from './serialize';\nimport { getIntl } from './intl';\nimport { summarize } from './summarize';\nimport { Root, sstyled } from '@semcore/core';\nimport styles from '../style/plotA11yView.shadow.css';\nimport { Box } from '@semcore/flex-box';\nimport { useAsyncI18nMessages } from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/view/__intergalactic-dynamic-locales';\n\nexport const PlotA11yView: React.FC<A11yViewProps> = ({\n id,\n data: providedData,\n hints,\n plotLabel,\n plotRef,\n config: providedConfig,\n locale,\n}) => {\n const SPlotA11yView = Root;\n const translations = useAsyncI18nMessages(localizedMessages, locale);\n const intl = React.useMemo(\n () => getIntl(locale, translations, localizedMessages),\n [locale, translations, localizedMessages],\n );\n const config = React.useMemo(() => makeDataSummarizationConfig(providedConfig), [providedConfig]);\n const data = React.useMemo(\n () => (Array.isArray(providedData) ? providedData : [providedData]),\n [providedData],\n );\n const keys = React.useMemo(() => {\n let fromHints: (string | number)[] = [];\n fromHints.push(...hints.fields.verticalAxes);\n fromHints.push(...hints.fields.horizontalAxes);\n fromHints.push(...hints.fields.valueAxes);\n fromHints.push(...config.additionalFields);\n fromHints.push(...Object.keys(hints.fields.values));\n\n fromHints = [...new Set(fromHints)].filter((key) => key in data[0]);\n\n if (fromHints.length === 0) {\n data.forEach((row) => fromHints.push(...Object.keys(row)));\n }\n\n return [...new Set(fromHints)];\n }, [data, hints]);\n const duplicatedBaseKeys = React.useMemo(() => {\n const baseKeys = keys\n .filter((key) => !hints.titles.valuesAxes[key])\n .map((key) => {\n if (hints.fields.verticalAxes.has(key) && hints.axesTitle.vertical)\n return [key, hints.axesTitle.vertical];\n if (hints.fields.horizontalAxes.has(key) && hints.axesTitle.horizontal)\n return [key, hints.axesTitle.horizontal];\n })\n .filter((entry) => entry !== undefined)\n .map((entry) => entry!);\n const doublicated: Record<string, true> = {};\n const handled: Record<string, string | number> = {};\n for (const [key, label] of baseKeys) {\n if (handled[label]) {\n doublicated[key] = true;\n doublicated[handled[label]] = true;\n }\n handled[label] = key;\n }\n return doublicated;\n }, [keys, hints]);\n const renderTitle = React.useCallback(\n (dataKey: string | number) => {\n if (hints.titles.valuesAxes[dataKey]) return hints.titles.valuesAxes[dataKey];\n if (!duplicatedBaseKeys[dataKey]) {\n if (hints.fields.verticalAxes.has(dataKey) && hints.axesTitle.vertical)\n return hints.axesTitle.vertical;\n if (hints.fields.horizontalAxes.has(dataKey) && hints.axesTitle.horizontal)\n return hints.axesTitle.horizontal;\n }\n\n return dataKey;\n },\n [data, hints, duplicatedBaseKeys],\n );\n\n const [summary, setSummary] = React.useState<string | null>(null);\n const [generatingSummary, setGeneratingSummary] = React.useState(true);\n\n React.useEffect(() => {\n if (config.disable) {\n setSummary('');\n setGeneratingSummary(false);\n return;\n }\n if (config.override) {\n setSummary(config.override);\n setGeneratingSummary(false);\n return;\n }\n setTimeout(() => {\n setSummary(summarize(providedData, hints, config, locale, translations, localizedMessages));\n setGeneratingSummary(false);\n }, 0);\n }, [providedData, hints, config, locale, translations, localizedMessages]);\n\n const handleSkip = React.useCallback(() => {\n if (!plotRef.current) return;\n\n heavyFindNextFocusableElement(plotRef.current)?.focus();\n }, []);\n const handleSkipKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleSkip();\n },\n [handleSkip],\n );\n const handleGoToTable = React.useCallback(() => {\n dataTableRef.current?.focus();\n }, []);\n const handleGoToTableKeyboard = React.useCallback(\n (event: React.KeyboardEvent) => {\n if (event.key !== 'Enter') return;\n\n handleGoToTable();\n },\n [handleGoToTable],\n );\n\n const texts = React.useMemo(\n () => ({\n label: intl.formatMessage(\n { id: 'view-label' },\n { plotLabel: plotLabel ?? intl.formatMessage({ id: 'view-default-plot-label' }) },\n ),\n close: intl.formatMessage({ id: 'view-close' }),\n skipPlot: intl.formatMessage({ id: 'view-skip-plot' }),\n goToTable: intl.formatMessage({ id: 'view-go-to-table' }),\n summary: intl.formatMessage({ id: 'view-data-summary' }),\n summaryPlaceholder: intl.formatMessage({ id: 'view-summary-placeholder' }),\n table: intl.formatMessage({ id: 'view-table' }),\n }),\n [intl, plotLabel],\n );\n\n const dataTableRef = React.useRef<HTMLTableElement>(null);\n\n return sstyled(styles)(\n <SPlotA11yView render={Box} tabIndex={0} aria-label={texts.label}>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a aria-hidden onClick={handleSkip}>\n {texts.close}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleSkipKeyboard} onClick={handleSkip}>\n {texts.skipPlot}\n </a>\n {/* biome-ignore lint/a11y/useValidAnchor: */}\n <a role='link' tabIndex={0} onKeyDown={handleGoToTableKeyboard} onClick={handleGoToTable}>\n {texts.goToTable}\n </a>\n <strong>\n <label htmlFor={`${id}-data-summary`}>{texts.summary}</label>\n </strong>\n <div id={`${id}-data-summary`} aria-busy={generatingSummary} tabIndex={0}>\n {generatingSummary ? texts.summaryPlaceholder : summary}\n </div>\n <strong>\n <label htmlFor={`${id}-data-table`}>{texts.table}</label>\n </strong>\n <table id={`${id}-data-table`} tabIndex={0} ref={dataTableRef}>\n <thead>\n <tr>\n {keys.map((key, index) => (\n <th key={`${key}-${index}`}>{renderTitle(key)}</th>\n ))}\n </tr>\n </thead>\n <tbody>\n {data.map((row, index) => (\n <tr\n key={`${Object.values(row)\n .filter((item) => typeof item !== 'symbol')\n .join('-')}-${index}`}\n >\n {keys\n .map((key) => (typeof row[key] !== 'symbol' ? [key, row[key]] : [key, '']))\n .map(([key, value], index) => (\n <td key={`${key}-${index}`}>{formatValue(intl, value)}</td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </SPlotA11yView>,\n ) as React.ReactElement;\n};\n"],"mappings":";;;;;;;;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAPA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAGA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,4BAAA,GAAAV,OAAA;AAAwF;AAAA,IAAAW,MAAA,+BAAAZ,KAAA,CAAAa,OAAA,CAAAC,MAAA;EAAA;EAAA;AAAA;AAEjF,IAAMC,YAAqC,GAAG,SAAxCA,YAAqCA,CAAAC,KAAA,EAQ5C;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAAA,IAPJC,EAAE,GAAAJ,KAAA,CAAFI,EAAE;IACIC,YAAY,GAAAL,KAAA,CAAlBM,IAAI;IACJC,KAAK,GAAAP,KAAA,CAALO,KAAK;IACLC,SAAS,GAAAR,KAAA,CAATQ,SAAS;IACTC,OAAO,GAAAT,KAAA,CAAPS,OAAO;IACCC,cAAc,GAAAV,KAAA,CAAtBW,MAAM;IACNC,MAAM,GAAAZ,KAAA,CAANY,MAAM;EAEN,IAAMC,aAAa,GAgIMC,YAAG;EA/H5B,IAAMC,YAAY,GAAG,IAAAC,iCAAoB,EAACC,8CAAiB,EAAEL,MAAM,CAAC;EACpE,IAAMM,IAAI,GAAGC,iBAAK,CAACC,OAAO,CACxB;IAAA,OAAM,IAAA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AAA,YAAA6H,aAAA,UAAA5G,KAAA,CAAA6G,EAAA,eACG1G,IAAI,CAAC+C,GAAG,CAAC,UAACN,GAAG,EAAEqE,KAAK;IAAA,oBACnBlI,MAAA,YAAA6H,aAAA;MACEnE,GAAG,KAAAuE,MAAA,CAAK3E,MAAM,CAACC,MAAM,CAACM,GAAG,CAAC,CACvBJ,MAAM,CAAC,UAAC0E,IAAI;QAAA,OAAK,IAAAC,QAAA,aAAOD,IAAI,MAAK,QAAQ;MAAA,EAAC,CAC1CE,IAAI,CAAC,GAAG,CAAC,OAAAJ,MAAA,CAAIC,KAAK;IAAG,GAEvB3F,IAAI,CACF4B,GAAG,CAAC,UAACT,GAAG;MAAA,OAAM,IAAA0E,QAAA,aAAOvE,GAAG,CAACH,GAAG,CAAC,MAAK,QAAQ,GAAG,CAACA,GAAG,EAAEG,GAAG,CAACH,GAAG,CAAC,CAAC,GAAG,CAACA,GAAG,EAAE,EAAE,CAAC;IAAA,CAAC,CAAC,CAC1ES,GAAG,CAAC,UAAAmE,KAAA,EAAeJ,KAAK;MAAA,IAAAK,KAAA,OAAApD,eAAA,aAAAmD,KAAA;QAAlB5E,GAAG,GAAA6E,KAAA;QAAEnD,KAAK,GAAAmD,KAAA;MAAA,oBACfvI,MAAA,YAAA6H,aAAA;QAAInE,GAAG,KAAAuE,MAAA,CAAKvE,GAAG,OAAAuE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAACxG,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACqD,OAAA,CAAA5H,YAAA,GAAAA,YAAA"}
package/lib/es6/Area.js CHANGED
@@ -15,15 +15,15 @@ import createElement from './createElement';
15
15
  import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolateValue } from './utils';
16
16
  import ClipPath from './ClipPath';
17
17
  /*__reshadow-styles__:"./style/area.shadow.css"*/
18
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_153eb_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_153eb_gg_.__color_153eb_gg_{fill:var(--color_153eb)}.___SArea_153eb_gg_.__transparent_153eb_gg_{opacity:.3}.___SAreaLine_153eb_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_153eb_gg_.__color_153eb_gg_{stroke:var(--color_153eb)}.___SAreaLine_153eb_gg_.__transparent_153eb_gg_{opacity:.3}.___SAreaLine_153eb_gg_,.___SArea_153eb_gg_{transition-property:d;transition-duration:var(--duration_153eb);transition-timing-function:ease-in-out}.___SNull_153eb_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_153eb_gg_.__hide_153eb_gg_{display:none}" /*__inner_css_end__*/, "153eb_gg_") /*__reshadow_css_end__*/, {
19
- "__SArea": "___SArea_153eb_gg_",
20
- "_color": "__color_153eb_gg_",
21
- "--color": "--color_153eb",
22
- "_transparent": "__transparent_153eb_gg_",
23
- "__SAreaLine": "___SAreaLine_153eb_gg_",
24
- "--duration": "--duration_153eb",
25
- "__SNull": "___SNull_153eb_gg_",
26
- "_hide": "__hide_153eb_gg_"
18
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_7hfem_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_7hfem_gg_.__color_7hfem_gg_{fill:var(--color_7hfem)}.___SArea_7hfem_gg_.__transparent_7hfem_gg_{opacity:.3}.___SAreaLine_7hfem_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_7hfem_gg_.__color_7hfem_gg_{stroke:var(--color_7hfem)}.___SAreaLine_7hfem_gg_.__transparent_7hfem_gg_{opacity:.3}.___SAreaLine_7hfem_gg_,.___SArea_7hfem_gg_{transition-property:d;transition-duration:var(--duration_7hfem);transition-timing-function:ease-in-out}.___SNull_7hfem_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_7hfem_gg_.__hide_7hfem_gg_{display:none}" /*__inner_css_end__*/, "7hfem_gg_") /*__reshadow_css_end__*/, {
19
+ "__SArea": "___SArea_7hfem_gg_",
20
+ "_color": "__color_7hfem_gg_",
21
+ "--color": "--color_7hfem",
22
+ "_transparent": "__transparent_7hfem_gg_",
23
+ "__SAreaLine": "___SAreaLine_7hfem_gg_",
24
+ "--duration": "--duration_7hfem",
25
+ "__SNull": "___SNull_7hfem_gg_",
26
+ "_hide": "__hide_7hfem_gg_"
27
27
  });
28
28
  var AreaRoot = /*#__PURE__*/function (_Component) {
29
29
  _inherits(AreaRoot, _Component);
package/lib/es6/Axis.js CHANGED
@@ -12,20 +12,20 @@ import { Component, sstyled } from '@semcore/core';
12
12
  import createElement from './createElement';
13
13
  import { scaleOfBandwidth } from './utils';
14
14
  /*__reshadow-styles__:"./style/axis.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_692sb_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_692sb_gg_.__hide_692sb_gg_,.___STick_692sb_gg_.__hide_692sb_gg_{display:none}.___STick_692sb_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_692sb_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_692sb_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_692sb)}.___STitle_692sb_gg_._position_top_692sb_gg_{text-anchor:middle}.___STitle_692sb_gg_._position_bottom_692sb_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_692sb_gg_._position_left_692sb_gg_,.___STitle_692sb_gg_._position_right_692sb_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_692sb_gg_._position_left_692sb_gg_.__verticalWritingMode_692sb_gg_,.___STitle_692sb_gg_._position_right_692sb_gg_.__verticalWritingMode_692sb_gg_{writing-mode:vertical-rl;transform:none}.___STick_692sb_gg_._position_top_692sb_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_692sb_gg_._position_bottom_692sb_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_692sb_gg_._position_right_692sb_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_692sb_gg_._position_left_692sb_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_692sb_gg_._position_custom_0_692sb_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_692sb_gg_._position_custom_1_692sb_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "692sb_gg_") /*__reshadow_css_end__*/, {
16
- "__SAxis": "___SAxis_692sb_gg_",
17
- "_hide": "__hide_692sb_gg_",
18
- "__STick": "___STick_692sb_gg_",
19
- "__SGrid": "___SGrid_692sb_gg_",
20
- "__STitle": "___STitle_692sb_gg_",
21
- "--transform-origin": "--transform-origin_692sb",
22
- "_position_top": "_position_top_692sb_gg_",
23
- "_position_bottom": "_position_bottom_692sb_gg_",
24
- "_position_right": "_position_right_692sb_gg_",
25
- "_position_left": "_position_left_692sb_gg_",
26
- "_verticalWritingMode": "__verticalWritingMode_692sb_gg_",
27
- "_position_custom_0": "_position_custom_0_692sb_gg_",
28
- "_position_custom_1": "_position_custom_1_692sb_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_14wqz_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_14wqz_gg_.__hide_14wqz_gg_,.___STick_14wqz_gg_.__hide_14wqz_gg_{display:none}.___STick_14wqz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_14wqz_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_14wqz_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_14wqz)}.___STitle_14wqz_gg_._position_top_14wqz_gg_{text-anchor:middle}.___STitle_14wqz_gg_._position_bottom_14wqz_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_14wqz_gg_._position_left_14wqz_gg_,.___STitle_14wqz_gg_._position_right_14wqz_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___STitle_14wqz_gg_._position_left_14wqz_gg_.__verticalWritingMode_14wqz_gg_,.___STitle_14wqz_gg_._position_right_14wqz_gg_.__verticalWritingMode_14wqz_gg_{writing-mode:vertical-rl;transform:none}.___STick_14wqz_gg_._position_top_14wqz_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_14wqz_gg_._position_bottom_14wqz_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_14wqz_gg_._position_right_14wqz_gg_{transform:translateX(16px);text-anchor:start;alignment-baseline:middle}.___STick_14wqz_gg_._position_left_14wqz_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}.___STick_14wqz_gg_._position_custom_0_14wqz_gg_{transform:translateY(12px);text-anchor:middle;alignment-baseline:hanging}.___STick_14wqz_gg_._position_custom_1_14wqz_gg_{transform:translateX(-16px);text-anchor:end;alignment-baseline:middle}" /*__inner_css_end__*/, "14wqz_gg_") /*__reshadow_css_end__*/, {
16
+ "__SAxis": "___SAxis_14wqz_gg_",
17
+ "_hide": "__hide_14wqz_gg_",
18
+ "__STick": "___STick_14wqz_gg_",
19
+ "__SGrid": "___SGrid_14wqz_gg_",
20
+ "__STitle": "___STitle_14wqz_gg_",
21
+ "--transform-origin": "--transform-origin_14wqz",
22
+ "_position_top": "_position_top_14wqz_gg_",
23
+ "_position_bottom": "_position_bottom_14wqz_gg_",
24
+ "_position_right": "_position_right_14wqz_gg_",
25
+ "_position_left": "_position_left_14wqz_gg_",
26
+ "_verticalWritingMode": "__verticalWritingMode_14wqz_gg_",
27
+ "_position_custom_0": "_position_custom_0_14wqz_gg_",
28
+ "_position_custom_1": "_position_custom_1_14wqz_gg_"
29
29
  });
30
30
  var CUSTOM_0 = Symbol('custom_0');
31
31
  var CUSTOM_1 = Symbol('custom_1');
package/lib/es6/Bar.js CHANGED
@@ -13,14 +13,14 @@ import createElement from './createElement';
13
13
  import ClipPath from './ClipPath';
14
14
  import { scaleToBand, roundedPath } from './utils';
15
15
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_3az4e_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_3az4e);transition-timing-function:ease-in-out}.___SBar_3az4e_gg_.__color_3az4e_gg_{fill:var(--color_3az4e)}.___SBar_3az4e_gg_.__hide_3az4e_gg_{display:none}.___SBar_3az4e_gg_.__transparent_3az4e_gg_{opacity:.3}.___SBackground_3az4e_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "3az4e_gg_") /*__reshadow_css_end__*/, {
17
- "__SBar": "___SBar_3az4e_gg_",
18
- "--duration": "--duration_3az4e",
19
- "_color": "__color_3az4e_gg_",
20
- "--color": "--color_3az4e",
21
- "_hide": "__hide_3az4e_gg_",
22
- "_transparent": "__transparent_3az4e_gg_",
23
- "__SBackground": "___SBackground_3az4e_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_gnsg7_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_gnsg7);transition-timing-function:ease-in-out}.___SBar_gnsg7_gg_.__color_gnsg7_gg_{fill:var(--color_gnsg7)}.___SBar_gnsg7_gg_.__hide_gnsg7_gg_{display:none}.___SBar_gnsg7_gg_.__transparent_gnsg7_gg_{opacity:.3}.___SBackground_gnsg7_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "gnsg7_gg_") /*__reshadow_css_end__*/, {
17
+ "__SBar": "___SBar_gnsg7_gg_",
18
+ "--duration": "--duration_gnsg7",
19
+ "_color": "__color_gnsg7_gg_",
20
+ "--color": "--color_gnsg7",
21
+ "_hide": "__hide_gnsg7_gg_",
22
+ "_transparent": "__transparent_gnsg7_gg_",
23
+ "__SBackground": "___SBackground_gnsg7_gg_"
24
24
  });
25
25
  export var MIN_HEIGHT = 2;
26
26
  var calcPartBarY = function calcPartBarY(y, minHeight, height) {
package/lib/es6/Bubble.js CHANGED
@@ -20,16 +20,16 @@ import ClipPath from './ClipPath';
20
20
  import { CONSTANT, measureText } from './utils';
21
21
  import Tooltip from './Tooltip';
22
22
  /*__reshadow-styles__:"./style/bubble.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_ta4j6_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_ta4j6);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_ta4j6_gg_:hover{opacity:.8}}.___SBubble_ta4j6_gg_.__color_ta4j6_gg_{fill:var(--color_ta4j6)}.___SBubble_ta4j6_gg_.__transparent_ta4j6_gg_{opacity:.3}.___SCenter_ta4j6_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_ta4j6_gg_.__color_ta4j6_gg_{stroke:var(--color_ta4j6)}.___SCenter_ta4j6_gg_.__transparent_ta4j6_gg_{opacity:.3}.___SLabel_ta4j6_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_ta4j6_gg_._position_right_ta4j6_gg_{text-anchor:end}.___SLabel_ta4j6_gg_._position_left_ta4j6_gg_{text-anchor:start}.___SLabel_ta4j6_gg_.__color_ta4j6_gg_{fill:var(--color_ta4j6)}.___SLabel_ta4j6_gg_.__transparent_ta4j6_gg_{opacity:.3}" /*__inner_css_end__*/, "ta4j6_gg_") /*__reshadow_css_end__*/, {
24
- "__SBubble": "___SBubble_ta4j6_gg_",
25
- "--duration": "--duration_ta4j6",
26
- "_color": "__color_ta4j6_gg_",
27
- "--color": "--color_ta4j6",
28
- "_transparent": "__transparent_ta4j6_gg_",
29
- "__SCenter": "___SCenter_ta4j6_gg_",
30
- "__SLabel": "___SLabel_ta4j6_gg_",
31
- "_position_right": "_position_right_ta4j6_gg_",
32
- "_position_left": "_position_left_ta4j6_gg_"
23
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_qi6mf_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px;transition-property:cx,cy;transition-duration:var(--duration_qi6mf);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_qi6mf_gg_:hover{opacity:.8}}.___SBubble_qi6mf_gg_.__color_qi6mf_gg_{fill:var(--color_qi6mf)}.___SBubble_qi6mf_gg_.__transparent_qi6mf_gg_{opacity:.3}.___SCenter_qi6mf_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_qi6mf_gg_.__color_qi6mf_gg_{stroke:var(--color_qi6mf)}.___SCenter_qi6mf_gg_.__transparent_qi6mf_gg_{opacity:.3}.___SLabel_qi6mf_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_qi6mf_gg_._position_right_qi6mf_gg_{text-anchor:end}.___SLabel_qi6mf_gg_._position_left_qi6mf_gg_{text-anchor:start}.___SLabel_qi6mf_gg_.__color_qi6mf_gg_{fill:var(--color_qi6mf)}.___SLabel_qi6mf_gg_.__transparent_qi6mf_gg_{opacity:.3}" /*__inner_css_end__*/, "qi6mf_gg_") /*__reshadow_css_end__*/, {
24
+ "__SBubble": "___SBubble_qi6mf_gg_",
25
+ "--duration": "--duration_qi6mf",
26
+ "_color": "__color_qi6mf_gg_",
27
+ "--color": "--color_qi6mf",
28
+ "_transparent": "__transparent_qi6mf_gg_",
29
+ "__SCenter": "___SCenter_qi6mf_gg_",
30
+ "__SLabel": "___SLabel_qi6mf_gg_",
31
+ "_position_right": "_position_right_qi6mf_gg_",
32
+ "_position_left": "_position_left_qi6mf_gg_"
33
33
  });
34
34
  var BubbleRoot = /*#__PURE__*/function (_Component) {
35
35
  _inherits(BubbleRoot, _Component);
package/lib/es6/Donut.js CHANGED
@@ -22,13 +22,13 @@ import createElement from './createElement';
22
22
  import { CONSTANT } from './utils';
23
23
  import Tooltip from './Tooltip';
24
24
  /*__reshadow-styles__:"./style/donut.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_1ty36_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_1ty36_gg_.__color_1ty36_gg_{fill:var(--color_1ty36)}.___SPie_1ty36_gg_.__transparent_1ty36_gg_{opacity:.3}.___SEmptyData_1ty36_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_1ty36_gg_.__color_1ty36_gg_{fill:var(--color_1ty36)}.___SLabel_1ty36_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "1ty36_gg_") /*__reshadow_css_end__*/, {
26
- "__SPie": "___SPie_1ty36_gg_",
27
- "_color": "__color_1ty36_gg_",
28
- "--color": "--color_1ty36",
29
- "_transparent": "__transparent_1ty36_gg_",
30
- "__SEmptyData": "___SEmptyData_1ty36_gg_",
31
- "__SLabel": "___SLabel_1ty36_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_mou5r_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_mou5r_gg_.__color_mou5r_gg_{fill:var(--color_mou5r)}.___SPie_mou5r_gg_.__transparent_mou5r_gg_{opacity:.3}.___SEmptyData_mou5r_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_mou5r_gg_.__color_mou5r_gg_{fill:var(--color_mou5r)}.___SLabel_mou5r_gg_{text-anchor:middle;vertical-anchor:middle}" /*__inner_css_end__*/, "mou5r_gg_") /*__reshadow_css_end__*/, {
26
+ "__SPie": "___SPie_mou5r_gg_",
27
+ "_color": "__color_mou5r_gg_",
28
+ "--color": "--color_mou5r",
29
+ "_transparent": "__transparent_mou5r_gg_",
30
+ "__SEmptyData": "___SEmptyData_mou5r_gg_",
31
+ "__SLabel": "___SLabel_mou5r_gg_"
32
32
  });
33
33
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
34
34
  function transitionAnglePie(_ref6) {
package/lib/es6/Dots.js CHANGED
@@ -7,16 +7,16 @@ import trottle from '@semcore/utils/lib/rafTrottle';
7
7
  import createElement from './createElement';
8
8
  import { eventToPoint, invert, interpolateValue } from './utils';
9
9
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
10
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1yy0y_gg_ .___SDot_1yy0y_gg_{transition-duration:var(--duration_1yy0y)}.___SDot_1yy0y_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:var(--radius_1yy0y);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_1yy0y_gg_.__hide_1yy0y_gg_{display:none}.___SDot_1yy0y_gg_.__active_1yy0y_gg_{r:calc(var(--radius_1yy0y)*8/6)}.___SDot_1yy0y_gg_.__color_1yy0y_gg_{fill:var(--color_1yy0y)}.___SDot_1yy0y_gg_.__transparent_1yy0y_gg_{opacity:.3}" /*__inner_css_end__*/, "1yy0y_gg_") /*__reshadow_css_end__*/, {
11
- "__SDots": "___SDots_1yy0y_gg_",
12
- "__SDot": "___SDot_1yy0y_gg_",
13
- "--duration": "--duration_1yy0y",
14
- "--radius": "--radius_1yy0y",
15
- "_hide": "__hide_1yy0y_gg_",
16
- "_active": "__active_1yy0y_gg_",
17
- "_color": "__color_1yy0y_gg_",
18
- "--color": "--color_1yy0y",
19
- "_transparent": "__transparent_1yy0y_gg_"
10
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_9lnsj_gg_ .___SDot_9lnsj_gg_{transition-duration:var(--duration_9lnsj)}.___SDot_9lnsj_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:var(--radius_9lnsj);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-timing-function:ease-in-out}.___SDot_9lnsj_gg_.__hide_9lnsj_gg_{display:none}.___SDot_9lnsj_gg_.__active_9lnsj_gg_{r:calc(var(--radius_9lnsj)*8/6)}.___SDot_9lnsj_gg_.__color_9lnsj_gg_{fill:var(--color_9lnsj)}.___SDot_9lnsj_gg_.__transparent_9lnsj_gg_{opacity:.3}" /*__inner_css_end__*/, "9lnsj_gg_") /*__reshadow_css_end__*/, {
11
+ "__SDots": "___SDots_9lnsj_gg_",
12
+ "__SDot": "___SDot_9lnsj_gg_",
13
+ "--duration": "--duration_9lnsj",
14
+ "--radius": "--radius_9lnsj",
15
+ "_hide": "__hide_9lnsj_gg_",
16
+ "_active": "__active_9lnsj_gg_",
17
+ "_color": "__color_9lnsj_gg_",
18
+ "--color": "--color_9lnsj",
19
+ "_transparent": "__transparent_9lnsj_gg_"
20
20
  });
21
21
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
22
22
  function Dots(props) {
@@ -12,14 +12,14 @@ import createElement from './createElement';
12
12
  import ClipPath from './ClipPath';
13
13
  import { scaleToBand, roundedPath } from './utils';
14
14
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
15
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_3az4e_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_3az4e);transition-timing-function:ease-in-out}.___SBar_3az4e_gg_.__color_3az4e_gg_{fill:var(--color_3az4e)}.___SBar_3az4e_gg_.__hide_3az4e_gg_{display:none}.___SBar_3az4e_gg_.__transparent_3az4e_gg_{opacity:.3}.___SBackground_3az4e_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "3az4e_gg_") /*__reshadow_css_end__*/, {
16
- "__SBar": "___SBar_3az4e_gg_",
17
- "--duration": "--duration_3az4e",
18
- "_color": "__color_3az4e_gg_",
19
- "--color": "--color_3az4e",
20
- "_hide": "__hide_3az4e_gg_",
21
- "_transparent": "__transparent_3az4e_gg_",
22
- "__SBackground": "___SBackground_3az4e_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_gnsg7_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_gnsg7);transition-timing-function:ease-in-out}.___SBar_gnsg7_gg_.__color_gnsg7_gg_{fill:var(--color_gnsg7)}.___SBar_gnsg7_gg_.__hide_gnsg7_gg_{display:none}.___SBar_gnsg7_gg_.__transparent_gnsg7_gg_{opacity:.3}.___SBackground_gnsg7_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "gnsg7_gg_") /*__reshadow_css_end__*/, {
16
+ "__SBar": "___SBar_gnsg7_gg_",
17
+ "--duration": "--duration_gnsg7",
18
+ "_color": "__color_gnsg7_gg_",
19
+ "--color": "--color_gnsg7",
20
+ "_hide": "__hide_gnsg7_gg_",
21
+ "_transparent": "__transparent_gnsg7_gg_",
22
+ "__SBackground": "___SBackground_gnsg7_gg_"
23
23
  });
24
24
  export var MIN_WIDTH = 2;
25
25
  var calcPartBarX = function calcPartBarX(x, minWidth, width) {
package/lib/es6/Hover.js CHANGED
@@ -16,9 +16,9 @@ import trottle from '@semcore/utils/lib/rafTrottle';
16
16
  import createElement from './createElement';
17
17
  import { scaleOfBandwidth, getIndexFromData, eventToPoint, invert, CONSTANT, scaleToBand } from './utils';
18
18
  /*__reshadow-styles__:"./style/hover.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_1ojrc_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_1ojrc_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1ojrc_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_1ojrc_gg_",
21
- "__SHoverRect": "___SHoverRect_1ojrc_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_137si_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_137si_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "137si_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_137si_gg_",
21
+ "__SHoverRect": "___SHoverRect_137si_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {
package/lib/es6/Line.js CHANGED
@@ -14,14 +14,14 @@ import { definedData, definedNullData, scaleOfBandwidth, getNullData, interpolat
14
14
  import Dots from './Dots';
15
15
  import ClipPath from './ClipPath';
16
16
  /*__reshadow-styles__:"./style/line.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_1u8g0_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_1u8g0);transition-timing-function:ease-in-out}.___SLine_1u8g0_gg_.__color_1u8g0_gg_{stroke:var(--color_1u8g0)}.___SLine_1u8g0_gg_.__hide_1u8g0_gg_{display:none}.___SLine_1u8g0_gg_.__transparent_1u8g0_gg_{opacity:.3}.___SNull_1u8g0_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_1u8g0_gg_.__hide_1u8g0_gg_{display:none}" /*__inner_css_end__*/, "1u8g0_gg_") /*__reshadow_css_end__*/, {
18
- "__SLine": "___SLine_1u8g0_gg_",
19
- "--duration": "--duration_1u8g0",
20
- "_color": "__color_1u8g0_gg_",
21
- "--color": "--color_1u8g0",
22
- "_hide": "__hide_1u8g0_gg_",
23
- "_transparent": "__transparent_1u8g0_gg_",
24
- "__SNull": "___SNull_1u8g0_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_15o1q_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_15o1q);transition-timing-function:ease-in-out}.___SLine_15o1q_gg_.__color_15o1q_gg_{stroke:var(--color_15o1q)}.___SLine_15o1q_gg_.__hide_15o1q_gg_{display:none}.___SLine_15o1q_gg_.__transparent_15o1q_gg_{opacity:.3}.___SNull_15o1q_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_15o1q_gg_.__hide_15o1q_gg_{display:none}" /*__inner_css_end__*/, "15o1q_gg_") /*__reshadow_css_end__*/, {
18
+ "__SLine": "___SLine_15o1q_gg_",
19
+ "--duration": "--duration_15o1q",
20
+ "_color": "__color_15o1q_gg_",
21
+ "--color": "--color_15o1q",
22
+ "_hide": "__hide_15o1q_gg_",
23
+ "_transparent": "__transparent_15o1q_gg_",
24
+ "__SNull": "___SNull_15o1q_gg_"
25
25
  });
26
26
  var LineRoot = /*#__PURE__*/function (_Component) {
27
27
  _inherits(LineRoot, _Component);
package/lib/es6/Plot.js CHANGED
@@ -17,9 +17,9 @@ import { eventToPoint, uniqueId } from './utils';
17
17
  import { PlotA11yModule } from './a11y/PlotA11yModule';
18
18
  import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
19
19
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
20
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_13sex_gg_{overflow:hidden}.___SPlot_13sex_gg_:active,.___SPlot_13sex_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_13sex_gg_.__keyboardFocused_13sex_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "13sex_gg_") /*__reshadow_css_end__*/, {
21
- "__SPlot": "___SPlot_13sex_gg_",
22
- "_keyboardFocused": "__keyboardFocused_13sex_gg_"
20
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_vvvaa_gg_{overflow:hidden}.___SPlot_vvvaa_gg_:active,.___SPlot_vvvaa_gg_:focus{outline:0;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_vvvaa_gg_.__keyboardFocused_vvvaa_gg_{border:1px solid var(--intergalactic-chart-palette-order-9, #008ff8);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}" /*__inner_css_end__*/, "vvvaa_gg_") /*__reshadow_css_end__*/, {
21
+ "__SPlot": "___SPlot_vvvaa_gg_",
22
+ "_keyboardFocused": "__keyboardFocused_vvvaa_gg_"
23
23
  });
24
24
  var PlotRoot = /*#__PURE__*/function (_Component) {
25
25
  _inherits(PlotRoot, _Component);
package/lib/es6/Radar.js CHANGED
@@ -21,23 +21,23 @@ import createElement from './createElement';
21
21
  import { CONSTANT, eventToPoint, measureText } from './utils';
22
22
  import Tooltip from './Tooltip';
23
23
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_1epxv_gg_,.___SAxisTick_1epxv_gg_,.___SAxis_1epxv_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_1epxv_gg_,.___SAxisTick_1epxv_gg_{stroke-dasharray:2}.___SAxisLine_1epxv_gg_.__active_1epxv_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_1epxv_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_1epxv_gg_.__xDirection_1epxv_gg_{text-anchor:var(--xDirection_1epxv)}.___SAxisLabel_1epxv_gg_.__yDirection_1epxv_gg_{dominant-baseline:var(--yDirection_1epxv)}.___SPolygonDot_1epxv_gg_,.___SPolygon_1epxv_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_1epxv_gg_{opacity:.2}.___SPolygon_1epxv_gg_.__color_1epxv_gg_{fill:var(--color_1epxv)}.___SPolygonDot_1epxv_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_1epxv_gg_.__transparent_1epxv_gg_{opacity:.3}.___SPolygonDot_1epxv_gg_.__color_1epxv_gg_{fill:var(--color_1epxv)}.___SPolygonLine_1epxv_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_1epxv_gg_.__transparent_1epxv_gg_{opacity:.3}.___SPolygonLine_1epxv_gg_.__color_1epxv_gg_{stroke:var(--color_1epxv)}.___SPieRect_1epxv_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "1epxv_gg_") /*__reshadow_css_end__*/, {
25
- "__SAxis": "___SAxis_1epxv_gg_",
26
- "__SAxisLine": "___SAxisLine_1epxv_gg_",
27
- "__SAxisTick": "___SAxisTick_1epxv_gg_",
28
- "_active": "__active_1epxv_gg_",
29
- "__SAxisLabel": "___SAxisLabel_1epxv_gg_",
30
- "_xDirection": "__xDirection_1epxv_gg_",
31
- "--xDirection": "--xDirection_1epxv",
32
- "_yDirection": "__yDirection_1epxv_gg_",
33
- "--yDirection": "--yDirection_1epxv",
34
- "__SPolygon": "___SPolygon_1epxv_gg_",
35
- "_color": "__color_1epxv_gg_",
36
- "--color": "--color_1epxv",
37
- "__SPolygonDot": "___SPolygonDot_1epxv_gg_",
38
- "_transparent": "__transparent_1epxv_gg_",
39
- "__SPolygonLine": "___SPolygonLine_1epxv_gg_",
40
- "__SPieRect": "___SPieRect_1epxv_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_bxldr_gg_,.___SAxisTick_bxldr_gg_,.___SAxis_bxldr_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_bxldr_gg_,.___SAxisTick_bxldr_gg_{stroke-dasharray:2}.___SAxisLine_bxldr_gg_.__active_bxldr_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_bxldr_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_bxldr_gg_.__xDirection_bxldr_gg_{text-anchor:var(--xDirection_bxldr)}.___SAxisLabel_bxldr_gg_.__yDirection_bxldr_gg_{dominant-baseline:var(--yDirection_bxldr)}.___SPolygonDot_bxldr_gg_,.___SPolygon_bxldr_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_bxldr_gg_{opacity:.2}.___SPolygon_bxldr_gg_.__color_bxldr_gg_{fill:var(--color_bxldr)}.___SPolygonDot_bxldr_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_bxldr_gg_.__transparent_bxldr_gg_{opacity:.3}.___SPolygonDot_bxldr_gg_.__color_bxldr_gg_{fill:var(--color_bxldr)}.___SPolygonLine_bxldr_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_bxldr_gg_.__transparent_bxldr_gg_{opacity:.3}.___SPolygonLine_bxldr_gg_.__color_bxldr_gg_{stroke:var(--color_bxldr)}.___SPieRect_bxldr_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "bxldr_gg_") /*__reshadow_css_end__*/, {
25
+ "__SAxis": "___SAxis_bxldr_gg_",
26
+ "__SAxisLine": "___SAxisLine_bxldr_gg_",
27
+ "__SAxisTick": "___SAxisTick_bxldr_gg_",
28
+ "_active": "__active_bxldr_gg_",
29
+ "__SAxisLabel": "___SAxisLabel_bxldr_gg_",
30
+ "_xDirection": "__xDirection_bxldr_gg_",
31
+ "--xDirection": "--xDirection_bxldr",
32
+ "_yDirection": "__yDirection_bxldr_gg_",
33
+ "--yDirection": "--yDirection_bxldr",
34
+ "__SPolygon": "___SPolygon_bxldr_gg_",
35
+ "_color": "__color_bxldr_gg_",
36
+ "--color": "--color_bxldr",
37
+ "__SPolygonDot": "___SPolygonDot_bxldr_gg_",
38
+ "_transparent": "__transparent_bxldr_gg_",
39
+ "__SPolygonLine": "___SPolygonLine_bxldr_gg_",
40
+ "__SPieRect": "___SPieRect_bxldr_gg_"
41
41
  });
42
42
  var clampAngle = function clampAngle(angle) {
43
43
  angle = angle % (2 * Math.PI);
@@ -21,18 +21,18 @@ import canUseDOM from '@semcore/utils/lib/canUseDOM';
21
21
  import createElement from './createElement';
22
22
  import { measureText } from './utils';
23
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_z2jhs_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_z2jhs_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_z2jhs_gg_.__color_z2jhs_gg_{stroke:var(--color_z2jhs)}.___SCap_z2jhs_gg_.__transparent_z2jhs_gg_,.___SIcon_z2jhs_gg_.__transparent_z2jhs_gg_,.___SLabel_z2jhs_gg_.__transparent_z2jhs_gg_,.___SLine_z2jhs_gg_.__transparent_z2jhs_gg_{opacity:.3}.___SCap_z2jhs_gg_{transition:r .1s}.___SLabel_z2jhs_gg_{fill:var(--color_z2jhs);cursor:var(--text-cursor_z2jhs)}@media (hover:hover){.___SRadian_z2jhs_gg_:hover .___SLabel_z2jhs_gg_{fill:var(--color-hovered_z2jhs)}}@media (prefers-reduced-motion){.___SLineCap_z2jhs_gg_{transition:none}}" /*__inner_css_end__*/, "z2jhs_gg_") /*__reshadow_css_end__*/, {
25
- "__SRadian": "___SRadian_z2jhs_gg_",
26
- "__SLine": "___SLine_z2jhs_gg_",
27
- "_color": "__color_z2jhs_gg_",
28
- "--color": "--color_z2jhs",
29
- "_transparent": "__transparent_z2jhs_gg_",
30
- "__SCap": "___SCap_z2jhs_gg_",
31
- "__SIcon": "___SIcon_z2jhs_gg_",
32
- "__SLabel": "___SLabel_z2jhs_gg_",
33
- "--text-cursor": "--text-cursor_z2jhs",
34
- "--color-hovered": "--color-hovered_z2jhs",
35
- "__SLineCap": "___SLineCap_z2jhs_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_vkhk9_gg_{cursor:pointer;fill:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_vkhk9_gg_{stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SLine_vkhk9_gg_.__color_vkhk9_gg_{stroke:var(--color_vkhk9)}.___SCap_vkhk9_gg_.__transparent_vkhk9_gg_,.___SIcon_vkhk9_gg_.__transparent_vkhk9_gg_,.___SLabel_vkhk9_gg_.__transparent_vkhk9_gg_,.___SLine_vkhk9_gg_.__transparent_vkhk9_gg_{opacity:.3}.___SCap_vkhk9_gg_{transition:r .1s}.___SLabel_vkhk9_gg_{fill:var(--color_vkhk9);cursor:var(--text-cursor_vkhk9)}@media (hover:hover){.___SRadian_vkhk9_gg_:hover .___SLabel_vkhk9_gg_{fill:var(--color-hovered_vkhk9)}}@media (prefers-reduced-motion){.___SLineCap_vkhk9_gg_{transition:none}}" /*__inner_css_end__*/, "vkhk9_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_vkhk9_gg_",
26
+ "__SLine": "___SLine_vkhk9_gg_",
27
+ "_color": "__color_vkhk9_gg_",
28
+ "--color": "--color_vkhk9",
29
+ "_transparent": "__transparent_vkhk9_gg_",
30
+ "__SCap": "___SCap_vkhk9_gg_",
31
+ "__SIcon": "___SIcon_vkhk9_gg_",
32
+ "__SLabel": "___SLabel_vkhk9_gg_",
33
+ "--text-cursor": "--text-cursor_vkhk9",
34
+ "--color-hovered": "--color-hovered_vkhk9",
35
+ "__SLineCap": "___SLineCap_vkhk9_gg_"
36
36
  });
37
37
  var baseAngle = -Math.PI / 2; // The top vertical line
38
38
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -11,15 +11,15 @@ import { Component, sstyled } from '@semcore/core';
11
11
  import createElement from './createElement';
12
12
  import { scaleOfBandwidth } from './utils';
13
13
  /*__reshadow-styles__:"./style/reference-line.shadow.css"*/
14
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_1v2wt_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_1v2wt_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_1v2wt)}.___STitle_1v2wt_gg_._position_top_1v2wt_gg_{text-anchor:middle}.___STitle_1v2wt_gg_._position_bottom_1v2wt_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_1v2wt_gg_._position_left_1v2wt_gg_,.___STitle_1v2wt_gg_._position_right_1v2wt_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_1v2wt_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "1v2wt_gg_") /*__reshadow_css_end__*/, {
15
- "__SReferenceLine": "___SReferenceLine_1v2wt_gg_",
16
- "__STitle": "___STitle_1v2wt_gg_",
17
- "--transform-origin": "--transform-origin_1v2wt",
18
- "_position_top": "_position_top_1v2wt_gg_",
19
- "_position_bottom": "_position_bottom_1v2wt_gg_",
20
- "_position_right": "_position_right_1v2wt_gg_",
21
- "_position_left": "_position_left_1v2wt_gg_",
22
- "__SBackground": "___SBackground_1v2wt_gg_"
14
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SReferenceLine_119rr_gg_{fill:none;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___STitle_119rr_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79);transform-origin:var(--transform-origin_119rr)}.___STitle_119rr_gg_._position_top_119rr_gg_{text-anchor:middle}.___STitle_119rr_gg_._position_bottom_119rr_gg_{text-anchor:middle;alignment-baseline:hanging}.___STitle_119rr_gg_._position_left_119rr_gg_,.___STitle_119rr_gg_._position_right_119rr_gg_{transform:rotate(-90deg);text-anchor:middle;alignment-baseline:middle}.___SBackground_119rr_gg_{fill:var(--intergalactic-chart-grid-period-bg, rgba(196, 199, 207, 0.2))}" /*__inner_css_end__*/, "119rr_gg_") /*__reshadow_css_end__*/, {
15
+ "__SReferenceLine": "___SReferenceLine_119rr_gg_",
16
+ "__STitle": "___STitle_119rr_gg_",
17
+ "--transform-origin": "--transform-origin_119rr",
18
+ "_position_top": "_position_top_119rr_gg_",
19
+ "_position_bottom": "_position_bottom_119rr_gg_",
20
+ "_position_right": "_position_right_119rr_gg_",
21
+ "_position_left": "_position_left_119rr_gg_",
22
+ "__SBackground": "___SBackground_119rr_gg_"
23
23
  });
24
24
  var side2direction = {
25
25
  left: 'vertical',
@@ -18,13 +18,13 @@ import { CONSTANT } from './utils';
18
18
  import ClipPath from './ClipPath';
19
19
  import Tooltip from './Tooltip';
20
20
  /*__reshadow-styles__:"./style/scatterplot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_13v09_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_13v09);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_13v09_gg_:hover{opacity:.8}}.___SScatterPlot_13v09_gg_.__color_13v09_gg_{fill:var(--color_13v09)}.___SScatterPlot_13v09_gg_.__transparent_13v09_gg_{opacity:.3}.___SValue_13v09_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_13v09_gg_.__color_13v09_gg_{stroke:var(--color_13v09)}.___SValue_13v09_gg_.__transparent_13v09_gg_{opacity:.3}" /*__inner_css_end__*/, "13v09_gg_") /*__reshadow_css_end__*/, {
22
- "__SScatterPlot": "___SScatterPlot_13v09_gg_",
23
- "--duration": "--duration_13v09",
24
- "_color": "__color_13v09_gg_",
25
- "--color": "--color_13v09",
26
- "_transparent": "__transparent_13v09_gg_",
27
- "__SValue": "___SValue_13v09_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SScatterPlot_1qixk_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy;transition-duration:var(--duration_1qixk);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SScatterPlot_1qixk_gg_:hover{opacity:.8}}.___SScatterPlot_1qixk_gg_.__color_1qixk_gg_{fill:var(--color_1qixk)}.___SScatterPlot_1qixk_gg_.__transparent_1qixk_gg_{opacity:.3}.___SValue_1qixk_gg_{text-anchor:middle;font-size:var(--intergalactic-fs-50, 10px);stroke:var(--intergalactic-chart-palette-order-9, #008ff8)}.___SValue_1qixk_gg_.__color_1qixk_gg_{stroke:var(--color_1qixk)}.___SValue_1qixk_gg_.__transparent_1qixk_gg_{opacity:.3}" /*__inner_css_end__*/, "1qixk_gg_") /*__reshadow_css_end__*/, {
22
+ "__SScatterPlot": "___SScatterPlot_1qixk_gg_",
23
+ "--duration": "--duration_1qixk",
24
+ "_color": "__color_1qixk_gg_",
25
+ "--color": "--color_1qixk",
26
+ "_transparent": "__transparent_1qixk_gg_",
27
+ "__SValue": "___SValue_1qixk_gg_"
28
28
  });
29
29
  var ScatterPlotRoot = /*#__PURE__*/function (_Component) {
30
30
  _inherits(ScatterPlotRoot, _Component);
@@ -21,14 +21,14 @@ import resolveColor from '@semcore/utils/lib/color';
21
21
  import createElement from './createElement';
22
22
  import { CONSTANT } from './utils';
23
23
  /*__reshadow-styles__:"./style/tooltip.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_1rilm_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_1rilm_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_1rilm_gg_{display:flex;align-items:center}.___SDot_1rilm_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x, 8px);background:var(--intergalactic-icon-secondary-info, #2bb3ff)}.___SDot_1rilm_gg_.__color_1rilm_gg_{background:var(--color_1rilm)}.___SFooter_1rilm_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "1rilm_gg_") /*__reshadow_css_end__*/, {
25
- "__STooltip": "___STooltip_1rilm_gg_",
26
- "__STitle": "___STitle_1rilm_gg_",
27
- "__SDotGroup": "___SDotGroup_1rilm_gg_",
28
- "__SDot": "___SDot_1rilm_gg_",
29
- "_color": "__color_1rilm_gg_",
30
- "--color": "--color_1rilm",
31
- "__SFooter": "___SFooter_1rilm_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_mei7x_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%);position:relative;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-radius:var(--intergalactic-popper-rounded, 6px);border:1px solid var(--intergalactic-border-secondary, #e0e1e9);box-sizing:border-box;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));padding:var(--intergalactic-spacing-3x, 12px)}.___STitle_mei7x_gg_{color:var(--intergalactic-text-secondary, #6c6e79);margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SDotGroup_mei7x_gg_{display:flex;align-items:center}.___SDot_mei7x_gg_{width:8px;height:8px;border-radius:50%;margin-right:var(--intergalactic-spacing-2x, 8px);background:var(--intergalactic-icon-secondary-info, #2bb3ff)}.___SDot_mei7x_gg_.__color_mei7x_gg_{background:var(--color_mei7x)}.___SFooter_mei7x_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9);padding:var(--intergalactic-spacing-1x, 4px) var(--intergalactic-spacing-3x, 12px);border-radius:0 0 var(--intergalactic-rounded-medium, 6px) var(--intergalactic-rounded-medium, 6px);margin:var(--intergalactic-spacing-3x, 12px) calc(-1*var(--intergalactic-spacing-3x, 12px)) calc(-1*var(--intergalactic-spacing-3x, 12px))}" /*__inner_css_end__*/, "mei7x_gg_") /*__reshadow_css_end__*/, {
25
+ "__STooltip": "___STooltip_mei7x_gg_",
26
+ "__STitle": "___STitle_mei7x_gg_",
27
+ "__SDotGroup": "___SDotGroup_mei7x_gg_",
28
+ "__SDot": "___SDot_mei7x_gg_",
29
+ "_color": "__color_mei7x_gg_",
30
+ "--color": "--color_mei7x",
31
+ "__SFooter": "___SFooter_mei7x_gg_"
32
32
  });
33
33
  var TooltipRoot = /*#__PURE__*/function (_Component) {
34
34
  _inherits(TooltipRoot, _Component);
package/lib/es6/Venn.js CHANGED
@@ -18,13 +18,13 @@ import createElement from './createElement';
18
18
  import { CONSTANT } from './utils';
19
19
  import Tooltip from './Tooltip';
20
20
  /*__reshadow-styles__:"./style/venn.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_zpccc_gg_,.___SIntersection_zpccc_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_zpccc_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_zpccc);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_zpccc_gg_:hover{fill-opacity:.7}}.___SCircle_zpccc_gg_.__color_zpccc_gg_{fill:var(--color_zpccc)}.___SCircle_zpccc_gg_.__transparent_zpccc_gg_{opacity:.3}.___SIntersection_zpccc_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_zpccc_gg_:hover{fill-opacity:.1}}.___SIntersection_zpccc_gg_.__transparent_zpccc_gg_{opacity:.3}" /*__inner_css_end__*/, "zpccc_gg_") /*__reshadow_css_end__*/, {
22
- "__SCircle": "___SCircle_zpccc_gg_",
23
- "--duration": "--duration_zpccc",
24
- "_color": "__color_zpccc_gg_",
25
- "--color": "--color_zpccc",
26
- "_transparent": "__transparent_zpccc_gg_",
27
- "__SIntersection": "___SIntersection_zpccc_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCircle_1jtuw_gg_,.___SIntersection_1jtuw_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:2px}.___SCircle_1jtuw_gg_{fill:var(--intergalactic-chart-palette-order-2, #59ddaa);fill-opacity:.5;transition-property:cx,cy;transition-duration:var(--duration_1jtuw);transition-timing-function:ease-in-out}@media (hover:hover){.___SCircle_1jtuw_gg_:hover{fill-opacity:.7}}.___SCircle_1jtuw_gg_.__color_1jtuw_gg_{fill:var(--color_1jtuw)}.___SCircle_1jtuw_gg_.__transparent_1jtuw_gg_{opacity:.3}.___SIntersection_1jtuw_gg_{fill-opacity:0}@media (hover:hover){.___SIntersection_1jtuw_gg_:hover{fill-opacity:.1}}.___SIntersection_1jtuw_gg_.__transparent_1jtuw_gg_{opacity:.3}" /*__inner_css_end__*/, "1jtuw_gg_") /*__reshadow_css_end__*/, {
22
+ "__SCircle": "___SCircle_1jtuw_gg_",
23
+ "--duration": "--duration_1jtuw",
24
+ "_color": "__color_1jtuw_gg_",
25
+ "--color": "--color_1jtuw",
26
+ "_transparent": "__transparent_1jtuw_gg_",
27
+ "__SIntersection": "___SIntersection_1jtuw_gg_"
28
28
  });
29
29
  var VennRoot = /*#__PURE__*/function (_Component) {
30
30
  _inherits(VennRoot, _Component);
@@ -10,8 +10,8 @@ import { normalizeLocale } from './locale';
10
10
  import { localizedMessages } from './translations/module/__intergalactic-dynamic-locales';
11
11
  import { Root, sstyled } from '@semcore/core';
12
12
  /*__reshadow-styles__:"../style/plotA11yModule.shadow.css"*/
13
- var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_dff9x_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_dff9x_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "dff9x_gg_") /*__reshadow_css_end__*/, {
14
- "__SPlotA11yModule": "___SPlotA11yModule_dff9x_gg_"
13
+ var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlotA11yModule_1vlg5_gg_{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;opacity:0}.___SPlotA11yModule_1vlg5_gg_:focus{-webkit-user-select:all;-moz-user-select:all;user-select:all;pointer-events:all;opacity:1}" /*__inner_css_end__*/, "1vlg5_gg_") /*__reshadow_css_end__*/, {
14
+ "__SPlotA11yModule": "___SPlotA11yModule_1vlg5_gg_"
15
15
  });
16
16
  import { Context as I18nContext, useI18n } from '@semcore/utils/lib/enhances/WithI18n';
17
17
  import { Box } from '@semcore/flex-box';