@semcore/d3-chart 3.31.0 → 3.31.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/lib/cjs/Area.js +11 -11
  3. package/lib/cjs/Axis.js +14 -14
  4. package/lib/cjs/Bar.js +10 -10
  5. package/lib/cjs/Bubble.js +12 -12
  6. package/lib/cjs/Donut.js +9 -9
  7. package/lib/cjs/Dots.js +8 -8
  8. package/lib/cjs/HorizontalBar.js +10 -10
  9. package/lib/cjs/Hover.js +3 -3
  10. package/lib/cjs/Line.js +9 -9
  11. package/lib/cjs/Plot.js +3 -3
  12. package/lib/cjs/Radar.js +19 -19
  13. package/lib/cjs/RadialTree.js +11 -11
  14. package/lib/cjs/ReferenceLine.js +9 -9
  15. package/lib/cjs/ScatterPlot.js +9 -9
  16. package/lib/cjs/Tooltip.js +9 -9
  17. package/lib/cjs/Venn.js +9 -9
  18. package/lib/cjs/a11y/PlotA11yModule.js +2 -2
  19. package/lib/cjs/a11y/PlotA11yView.js +4 -4
  20. package/lib/cjs/a11y/PlotA11yView.js.map +1 -1
  21. package/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  22. package/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  23. package/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  24. package/lib/es6/Area.js +11 -11
  25. package/lib/es6/Axis.js +14 -14
  26. package/lib/es6/Bar.js +10 -10
  27. package/lib/es6/Bubble.js +12 -12
  28. package/lib/es6/Donut.js +9 -9
  29. package/lib/es6/Dots.js +8 -8
  30. package/lib/es6/HorizontalBar.js +10 -10
  31. package/lib/es6/Hover.js +3 -3
  32. package/lib/es6/Line.js +9 -9
  33. package/lib/es6/Plot.js +3 -3
  34. package/lib/es6/Radar.js +19 -19
  35. package/lib/es6/RadialTree.js +11 -11
  36. package/lib/es6/ReferenceLine.js +9 -9
  37. package/lib/es6/ScatterPlot.js +9 -9
  38. package/lib/es6/Tooltip.js +9 -9
  39. package/lib/es6/Venn.js +9 -9
  40. package/lib/es6/a11y/PlotA11yModule.js +2 -2
  41. package/lib/es6/a11y/PlotA11yView.js +4 -4
  42. package/lib/es6/a11y/PlotA11yView.js.map +1 -1
  43. package/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  44. package/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  45. package/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  46. package/package.json +7 -7
@@ -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","code","preventDefault","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.code === 'Enter' || event.code === 'Space')) return;\n\n event.preventDefault();\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.code === 'Enter' || event.code === 'Space')) return;\n\n event.preventDefault();\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 </t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AAA,YAAA+H,aAAA,UAAA9G,KAAA,CAAA+G,EAAA,eACG5G,IAAI,CAAC+C,GAAG,CAAC,UAACN,GAAG,EAAEuE,KAAK;IAAA,oBACnBpI,MAAA,YAAA+H,aAAA;MACErE,GAAG,KAAAyE,MAAA,CAAK7E,MAAM,CAACC,MAAM,CAACM,GAAG,CAAC,CACvBJ,MAAM,CAAC,UAAC4E,IAAI;QAAA,OAAK,IAAAC,QAAA,aAAOD,IAAI,MAAK,QAAQ;MAAA,EAAC,CAC1CE,IAAI,CAAC,GAAG,CAAC,OAAAJ,MAAA,CAAIC,KAAK;IAAG,GAEvB7F,IAAI,CACF4B,GAAG,CAAC,UAACT,GAAG;MAAA,OAAM,IAAA4E,QAAA,aAAOzE,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,UAAAqE,KAAA,EAAeJ,KAAK;MAAA,IAAAK,KAAA,OAAAtD,eAAA,aAAAqD,KAAA;QAAlB9E,GAAG,GAAA+E,KAAA;QAAErD,KAAK,GAAAqD,KAAA;MAAA,oBACfzI,MAAA,YAAA+H,aAAA;QAAIrE,GAAG,KAAAyE,MAAA,CAAKzE,GAAG,OAAAyE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAAC1G,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACuD,OAAA,CAAA9H,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","preventDefault","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' || event.key === ' ')) return;\n\n event.preventDefault();\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' || event.key === ' ')) return;\n\n event.preventDefault();\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;AAAA;AAEjF,IAAMC,YAAqC,GAAG,SAAxCA,YAAqCA,CAAAC,KAAA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,CAACA,GAAG,EAAE,EAAE,CAAC;IAAA,CAAC,CAAC,CAC1ES,GAAG,CAAC,UAAAoE,KAAA,EAAeJ,KAAK;MAAA,IAAAK,KAAA,OAAArD,eAAA,aAAAoD,KAAA;QAAlB7E,GAAG,GAAA8E,KAAA;QAAEpD,KAAK,GAAAoD,KAAA;MAAA,oBACfxI,MAAA,YAAA8H,aAAA;QAAIpE,GAAG,KAAAwE,MAAA,CAAKxE,GAAG,OAAAwE,MAAA,CAAIC,KAAK;MAAG,GAAE,IAAAM,sBAAW,EAACzG,IAAI,EAAEoD,KAAK,CAAC,CAAM;IAAA,CAC5D,CAAC,CACD;EAAA,CACN,CAAC,CACI,CACF,CACM;AAEpB,CAAC;AAACsD,OAAA,CAAA7H,YAAA,GAAAA,YAAA"}
@@ -22,10 +22,10 @@ var _BaseLegend2 = require("../BaseLegend");
22
22
  var _intergalacticDynamicLocales = require("../../../translations/__intergalactic-dynamic-locales");
23
23
  var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
24
24
  /*__reshadow-styles__:"./legend-flex.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_qto3y_gg_._direction_row_qto3y_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_qto3y_gg_._direction_column_qto3y_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "qto3y_gg_") /*__reshadow_css_end__*/, {
26
- "__SLegendFlex": "___SLegendFlex_qto3y_gg_",
27
- "_direction_row": "_direction_row_qto3y_gg_",
28
- "_direction_column": "_direction_column_qto3y_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendFlex_1k7rj_gg_._direction_row_1k7rj_gg_{align-items:center;flex-wrap:wrap;gap:8px 16px}.___SLegendFlex_1k7rj_gg_._direction_column_1k7rj_gg_{align-items:flex-start;flex-wrap:wrap;gap:8px}" /*__inner_css_end__*/, "1k7rj_gg_") /*__reshadow_css_end__*/, {
26
+ "__SLegendFlex": "___SLegendFlex_1k7rj_gg_",
27
+ "_direction_row": "_direction_row_1k7rj_gg_",
28
+ "_direction_column": "_direction_column_1k7rj_gg_"
29
29
  });
30
30
  var LegendFlexRoot = /*#__PURE__*/function (_BaseLegend) {
31
31
  (0, _inherits2["default"])(LegendFlexRoot, _BaseLegend);
@@ -24,23 +24,23 @@ var _Pattern = require("../../../Pattern");
24
24
  var _utils = require("../../../utils");
25
25
  var _excluded = ["color"];
26
26
  /*__reshadow-styles__:"./legend-item.shadow.css"*/
27
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_10j6x_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_10j6x_gg_:hover{cursor:pointer}.___SLegendItem_10j6x_gg_.__disabled_10j6x_gg_:hover{cursor:default}}.___SPointShape_10j6x_gg_.__color_10j6x_gg_{background-color:var(--color_10j6x);margin-right:8px;flex-shrink:0}.___SPointShape_10j6x_gg_._shape_Circle_10j6x_gg_._size_l_10j6x_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_10j6x_gg_._shape_Circle_10j6x_gg_._size_m_10j6x_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_10j6x_gg_._shape_Line_10j6x_gg_._size_l_10j6x_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_10j6x_gg_._shape_Line_10j6x_gg_._size_m_10j6x_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_10j6x_gg_._shape_Square_10j6x_gg_._size_l_10j6x_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_10j6x_gg_._shape_Square_10j6x_gg_._size_m_10j6x_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_10j6x_gg_._shape_Pattern_10j6x_gg_{background-color:transparent;margin-right:4px}.___SIcon_10j6x_gg_{line-height:0;margin-right:4px}.___SIcon_10j6x_gg_._size_l_10j6x_gg_{margin-top:4px}.___SIcon_10j6x_gg_._size_m_10j6x_gg_{margin-top:2px}.___SLabel_10j6x_gg_{min-width:0}.___SAdditionalLabel_10j6x_gg_._size_l_10j6x_gg_,.___SCount_10j6x_gg_._size_l_10j6x_gg_,.___SLabel_10j6x_gg_._size_l_10j6x_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_10j6x_gg_._size_m_10j6x_gg_,.___SCount_10j6x_gg_._size_m_10j6x_gg_,.___SLabel_10j6x_gg_._size_m_10j6x_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_10j6x_gg_,.___SCount_10j6x_gg_{margin-left:4px}.___SAdditionalLabel_10j6x_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_10j6x_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_10j6x_gg_._size_l_10j6x_gg_::before{margin-top:10px}.___SAdditionalLabel_10j6x_gg_._size_m_10j6x_gg_::before{margin-top:8px}.___SPatternSymbol_10j6x_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "10j6x_gg_") /*__reshadow_css_end__*/, {
28
- "__SLegendItem": "___SLegendItem_10j6x_gg_",
29
- "_disabled": "__disabled_10j6x_gg_",
30
- "__SPointShape": "___SPointShape_10j6x_gg_",
31
- "_color": "__color_10j6x_gg_",
32
- "--color": "--color_10j6x",
33
- "_shape_Circle": "_shape_Circle_10j6x_gg_",
34
- "_size_l": "_size_l_10j6x_gg_",
35
- "_size_m": "_size_m_10j6x_gg_",
36
- "_shape_Line": "_shape_Line_10j6x_gg_",
37
- "_shape_Square": "_shape_Square_10j6x_gg_",
38
- "_shape_Pattern": "_shape_Pattern_10j6x_gg_",
39
- "__SIcon": "___SIcon_10j6x_gg_",
40
- "__SLabel": "___SLabel_10j6x_gg_",
41
- "__SAdditionalLabel": "___SAdditionalLabel_10j6x_gg_",
42
- "__SCount": "___SCount_10j6x_gg_",
43
- "__SPatternSymbol": "___SPatternSymbol_10j6x_gg_"
27
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendItem_12voi_gg_{min-width:0;align-items:flex-start}@media (hover:hover){.___SLegendItem_12voi_gg_:hover{cursor:pointer}.___SLegendItem_12voi_gg_.__disabled_12voi_gg_:hover{cursor:default}}.___SPointShape_12voi_gg_.__color_12voi_gg_{background-color:var(--color_12voi);margin-right:8px;flex-shrink:0}.___SPointShape_12voi_gg_._shape_Circle_12voi_gg_._size_l_12voi_gg_{width:16px;height:16px;border-radius:8px;margin-top:4px}.___SPointShape_12voi_gg_._shape_Circle_12voi_gg_._size_m_12voi_gg_{width:12px;height:12px;border-radius:6px;margin-top:4px}.___SPointShape_12voi_gg_._shape_Line_12voi_gg_._size_l_12voi_gg_{width:16px;height:4px;border-radius:3px;margin-top:9px}.___SPointShape_12voi_gg_._shape_Line_12voi_gg_._size_m_12voi_gg_{width:12px;height:4px;border-radius:3px;margin-top:8px}.___SPointShape_12voi_gg_._shape_Square_12voi_gg_._size_l_12voi_gg_{width:16px;height:16px;border-radius:2px;margin-top:4px}.___SPointShape_12voi_gg_._shape_Square_12voi_gg_._size_m_12voi_gg_{width:12px;height:12px;border-radius:2px;margin-top:4px}.___SPointShape_12voi_gg_._shape_Pattern_12voi_gg_{background-color:transparent;margin-right:4px}.___SIcon_12voi_gg_{line-height:0;margin-right:4px}.___SIcon_12voi_gg_._size_l_12voi_gg_{margin-top:4px}.___SIcon_12voi_gg_._size_m_12voi_gg_{margin-top:2px}.___SLabel_12voi_gg_{min-width:0}.___SAdditionalLabel_12voi_gg_._size_l_12voi_gg_,.___SCount_12voi_gg_._size_l_12voi_gg_,.___SLabel_12voi_gg_._size_l_12voi_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SAdditionalLabel_12voi_gg_._size_m_12voi_gg_,.___SCount_12voi_gg_._size_m_12voi_gg_,.___SLabel_12voi_gg_._size_m_12voi_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SAdditionalLabel_12voi_gg_,.___SCount_12voi_gg_{margin-left:4px}.___SAdditionalLabel_12voi_gg_{white-space:nowrap;display:flex;align-items:flex-start}.___SAdditionalLabel_12voi_gg_::before{content:\"\";display:inline-block;background-color:var(--intergalactic-text-secondary, #6c6e79);height:4px;width:4px;border-radius:2px;margin-right:4px}.___SAdditionalLabel_12voi_gg_._size_l_12voi_gg_::before{margin-top:10px}.___SAdditionalLabel_12voi_gg_._size_m_12voi_gg_::before{margin-top:8px}.___SPatternSymbol_12voi_gg_{transform:scale(.8)}" /*__inner_css_end__*/, "12voi_gg_") /*__reshadow_css_end__*/, {
28
+ "__SLegendItem": "___SLegendItem_12voi_gg_",
29
+ "_disabled": "__disabled_12voi_gg_",
30
+ "__SPointShape": "___SPointShape_12voi_gg_",
31
+ "_color": "__color_12voi_gg_",
32
+ "--color": "--color_12voi",
33
+ "_shape_Circle": "_shape_Circle_12voi_gg_",
34
+ "_size_l": "_size_l_12voi_gg_",
35
+ "_size_m": "_size_m_12voi_gg_",
36
+ "_shape_Line": "_shape_Line_12voi_gg_",
37
+ "_shape_Square": "_shape_Square_12voi_gg_",
38
+ "_shape_Pattern": "_shape_Pattern_12voi_gg_",
39
+ "__SIcon": "___SIcon_12voi_gg_",
40
+ "__SLabel": "___SLabel_12voi_gg_",
41
+ "__SAdditionalLabel": "___SAdditionalLabel_12voi_gg_",
42
+ "__SCount": "___SCount_12voi_gg_",
43
+ "__SPatternSymbol": "___SPatternSymbol_12voi_gg_"
44
44
  });
45
45
  var LegendItemRoot = /*#__PURE__*/function (_Component) {
46
46
  (0, _inherits2["default"])(LegendItemRoot, _Component);
@@ -18,12 +18,12 @@ var _flexBox = require("@semcore/flex-box");
18
18
  var _LegendItem = require("../LegendItem/LegendItem");
19
19
  var _BaseLegend2 = require("../BaseLegend");
20
20
  /*__reshadow-styles__:"./legend-table.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_1g9zp_gg_.__columns-count_1g9zp_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_1g9zp_gg_._size_l_1g9zp_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_1g9zp_gg_._size_m_1g9zp_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "1g9zp_gg_") /*__reshadow_css_end__*/, {
22
- "__SLegendTable": "___SLegendTable_1g9zp_gg_",
23
- "_columns-count": "__columns-count_1g9zp_gg_",
24
- "__SColumnItem": "___SColumnItem_1g9zp_gg_",
25
- "_size_l": "_size_l_1g9zp_gg_",
26
- "_size_m": "_size_m_1g9zp_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SLegendTable_l586u_gg_.__columns-count_l586u_gg_{font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;display:grid;grid-template-columns:auto .2fr;align-items:center;height:-moz-fit-content;height:fit-content;grid-column-gap:16px;grid-row-gap:8px}.___SColumnItem_l586u_gg_._size_l_l586u_gg_{font-size:var(--intergalactic-fs-300, 16px);text-align:right}.___SColumnItem_l586u_gg_._size_m_l586u_gg_{font-size:var(--intergalactic-fs-200, 14px);text-align:right}" /*__inner_css_end__*/, "l586u_gg_") /*__reshadow_css_end__*/, {
22
+ "__SLegendTable": "___SLegendTable_l586u_gg_",
23
+ "_columns-count": "__columns-count_l586u_gg_",
24
+ "__SColumnItem": "___SColumnItem_l586u_gg_",
25
+ "_size_l": "_size_l_l586u_gg_",
26
+ "_size_m": "_size_m_l586u_gg_"
27
27
  });
28
28
  var LegendTableRoot = /*#__PURE__*/function (_BaseLegend) {
29
29
  (0, _inherits2["default"])(LegendTableRoot, _BaseLegend);
package/lib/es6/Area.js CHANGED
@@ -16,17 +16,17 @@ import { definedData, scaleOfBandwidth, getNullData, definedNullData, interpolat
16
16
  import AnimatedClipPath from './AnimatedClipPath';
17
17
  import { PatternFill } from './Pattern';
18
18
  /*__reshadow-styles__:"./style/area.shadow.css"*/
19
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_1w82h_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1w82h_gg_.__color_1w82h_gg_{fill:var(--color_1w82h)}.___SArea_1w82h_gg_.__pattern_1w82h_gg_{fill:var(--pattern_1w82h);fill-opacity:.7}.___SArea_1w82h_gg_.__transparent_1w82h_gg_{opacity:.3}.___SAreaLine_1w82h_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1w82h_gg_.__color_1w82h_gg_{stroke:var(--color_1w82h)}.___SAreaLine_1w82h_gg_.__transparent_1w82h_gg_{opacity:.3}.___SAreaLine_1w82h_gg_,.___SArea_1w82h_gg_{transition-property:d;transition-duration:var(--duration_1w82h);transition-timing-function:ease-in-out}.___SNull_1w82h_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1w82h_gg_.__hide_1w82h_gg_{display:none}" /*__inner_css_end__*/, "1w82h_gg_") /*__reshadow_css_end__*/, {
20
- "__SArea": "___SArea_1w82h_gg_",
21
- "_color": "__color_1w82h_gg_",
22
- "--color": "--color_1w82h",
23
- "_pattern": "__pattern_1w82h_gg_",
24
- "--pattern": "--pattern_1w82h",
25
- "_transparent": "__transparent_1w82h_gg_",
26
- "__SAreaLine": "___SAreaLine_1w82h_gg_",
27
- "--duration": "--duration_1w82h",
28
- "__SNull": "___SNull_1w82h_gg_",
29
- "_hide": "__hide_1w82h_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SArea_1by4q_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);fill-opacity:.2}.___SArea_1by4q_gg_.__color_1by4q_gg_{fill:var(--color_1by4q)}.___SArea_1by4q_gg_.__pattern_1by4q_gg_{fill:var(--pattern_1by4q);fill-opacity:.7}.___SArea_1by4q_gg_.__transparent_1by4q_gg_{opacity:.3}.___SAreaLine_1by4q_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SAreaLine_1by4q_gg_.__color_1by4q_gg_{stroke:var(--color_1by4q)}.___SAreaLine_1by4q_gg_.__transparent_1by4q_gg_{opacity:.3}.___SAreaLine_1by4q_gg_,.___SArea_1by4q_gg_{transition-property:d;transition-duration:var(--duration_1by4q);transition-timing-function:ease-in-out}.___SNull_1by4q_gg_{fill:transparent;stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf);stroke-dasharray:4}.___SNull_1by4q_gg_.__hide_1by4q_gg_{display:none}" /*__inner_css_end__*/, "1by4q_gg_") /*__reshadow_css_end__*/, {
20
+ "__SArea": "___SArea_1by4q_gg_",
21
+ "_color": "__color_1by4q_gg_",
22
+ "--color": "--color_1by4q",
23
+ "_pattern": "__pattern_1by4q_gg_",
24
+ "--pattern": "--pattern_1by4q",
25
+ "_transparent": "__transparent_1by4q_gg_",
26
+ "__SAreaLine": "___SAreaLine_1by4q_gg_",
27
+ "--duration": "--duration_1by4q",
28
+ "__SNull": "___SNull_1by4q_gg_",
29
+ "_hide": "__hide_1by4q_gg_"
30
30
  });
31
31
  var AreaRoot = /*#__PURE__*/function (_Component) {
32
32
  _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_cqtrp_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_cqtrp_gg_.__hide_cqtrp_gg_,.___STick_cqtrp_gg_.__hide_cqtrp_gg_{display:none}.___STick_cqtrp_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_cqtrp_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_cqtrp_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_cqtrp)}.___STitle_cqtrp_gg_._position_top_cqtrp_gg_{text-anchor:middle}.___STitle_cqtrp_gg_._position_bottom_cqtrp_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_cqtrp_gg_._position_left_cqtrp_gg_,.___STitle_cqtrp_gg_._position_right_cqtrp_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_cqtrp_gg_._position_left_cqtrp_gg_.__verticalWritingMode_cqtrp_gg_,.___STitle_cqtrp_gg_._position_right_cqtrp_gg_.__verticalWritingMode_cqtrp_gg_{writing-mode:vertical-rl;transform:none}.___STick_cqtrp_gg_._position_top_cqtrp_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_cqtrp_gg_._position_bottom_cqtrp_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_cqtrp_gg_._position_right_cqtrp_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_cqtrp_gg_._position_left_cqtrp_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_cqtrp_gg_._position_custom_0_cqtrp_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_cqtrp_gg_._position_custom_1_cqtrp_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "cqtrp_gg_") /*__reshadow_css_end__*/, {
16
- "__SAxis": "___SAxis_cqtrp_gg_",
17
- "_hide": "__hide_cqtrp_gg_",
18
- "__STick": "___STick_cqtrp_gg_",
19
- "__SGrid": "___SGrid_cqtrp_gg_",
20
- "__STitle": "___STitle_cqtrp_gg_",
21
- "--transform-origin": "--transform-origin_cqtrp",
22
- "_position_top": "_position_top_cqtrp_gg_",
23
- "_position_bottom": "_position_bottom_cqtrp_gg_",
24
- "_position_right": "_position_right_cqtrp_gg_",
25
- "_position_left": "_position_left_cqtrp_gg_",
26
- "_verticalWritingMode": "__verticalWritingMode_cqtrp_gg_",
27
- "_position_custom_0": "_position_custom_0_cqtrp_gg_",
28
- "_position_custom_1": "_position_custom_1_cqtrp_gg_"
15
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxis_x2fov_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SAxis_x2fov_gg_.__hide_x2fov_gg_,.___STick_x2fov_gg_.__hide_x2fov_gg_{display:none}.___STick_x2fov_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-chart-grid-text-label, #6c6e79)}.___SGrid_x2fov_gg_{fill:transparent;stroke:var(--intergalactic-border-secondary, #e0e1e9)}.___STitle_x2fov_gg_{font-size:var(--intergalactic-fs-100, 12px);fill:var(--intergalactic-text-hint, #6c6e79);transform-origin:var(--transform-origin_x2fov)}.___STitle_x2fov_gg_._position_top_x2fov_gg_{text-anchor:middle}.___STitle_x2fov_gg_._position_bottom_x2fov_gg_{text-anchor:middle;dominant-baseline:hanging}.___STitle_x2fov_gg_._position_left_x2fov_gg_,.___STitle_x2fov_gg_._position_right_x2fov_gg_{transform:rotate(-90deg);text-anchor:middle;dominant-baseline:middle}.___STitle_x2fov_gg_._position_left_x2fov_gg_.__verticalWritingMode_x2fov_gg_,.___STitle_x2fov_gg_._position_right_x2fov_gg_.__verticalWritingMode_x2fov_gg_{writing-mode:vertical-rl;transform:none}.___STick_x2fov_gg_._position_top_x2fov_gg_{transform:translateY(-12px);text-anchor:middle}.___STick_x2fov_gg_._position_bottom_x2fov_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_x2fov_gg_._position_right_x2fov_gg_{transform:translateX(16px);text-anchor:start;dominant-baseline:middle}.___STick_x2fov_gg_._position_left_x2fov_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}.___STick_x2fov_gg_._position_custom_0_x2fov_gg_{transform:translateY(12px);text-anchor:middle;dominant-baseline:hanging}.___STick_x2fov_gg_._position_custom_1_x2fov_gg_{transform:translateX(-16px);text-anchor:end;dominant-baseline:middle}" /*__inner_css_end__*/, "x2fov_gg_") /*__reshadow_css_end__*/, {
16
+ "__SAxis": "___SAxis_x2fov_gg_",
17
+ "_hide": "__hide_x2fov_gg_",
18
+ "__STick": "___STick_x2fov_gg_",
19
+ "__SGrid": "___SGrid_x2fov_gg_",
20
+ "__STitle": "___STitle_x2fov_gg_",
21
+ "--transform-origin": "--transform-origin_x2fov",
22
+ "_position_top": "_position_top_x2fov_gg_",
23
+ "_position_bottom": "_position_bottom_x2fov_gg_",
24
+ "_position_right": "_position_right_x2fov_gg_",
25
+ "_position_left": "_position_left_x2fov_gg_",
26
+ "_verticalWritingMode": "__verticalWritingMode_x2fov_gg_",
27
+ "_position_custom_0": "_position_custom_0_x2fov_gg_",
28
+ "_position_custom_1": "_position_custom_1_x2fov_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
@@ -14,16 +14,16 @@ import AnimatedClipPath from './AnimatedClipPath';
14
14
  import { scaleToBand, roundedPath } from './utils';
15
15
  import { PatternFill } from './Pattern';
16
16
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_3ead1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_3ead1);transition-timing-function:ease-in-out}.___SBar_3ead1_gg_.__color_3ead1_gg_{fill:var(--color_3ead1)}.___SBar_3ead1_gg_.__pattern_3ead1_gg_.__color_3ead1_gg_{fill:var(--pattern_3ead1);stroke:var(--color_3ead1);stroke-width:1px}.___SBar_3ead1_gg_.__hide_3ead1_gg_{display:none}.___SBar_3ead1_gg_.__transparent_3ead1_gg_{opacity:.3}.___SBackground_3ead1_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "3ead1_gg_") /*__reshadow_css_end__*/, {
18
- "__SBar": "___SBar_3ead1_gg_",
19
- "--duration": "--duration_3ead1",
20
- "_color": "__color_3ead1_gg_",
21
- "--color": "--color_3ead1",
22
- "_pattern": "__pattern_3ead1_gg_",
23
- "--pattern": "--pattern_3ead1",
24
- "_hide": "__hide_3ead1_gg_",
25
- "_transparent": "__transparent_3ead1_gg_",
26
- "__SBackground": "___SBackground_3ead1_gg_"
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1vxat_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1vxat);transition-timing-function:ease-in-out}.___SBar_1vxat_gg_.__color_1vxat_gg_{fill:var(--color_1vxat)}.___SBar_1vxat_gg_.__pattern_1vxat_gg_.__color_1vxat_gg_{fill:var(--pattern_1vxat);stroke:var(--color_1vxat);stroke-width:1px}.___SBar_1vxat_gg_.__hide_1vxat_gg_{display:none}.___SBar_1vxat_gg_.__transparent_1vxat_gg_{opacity:.3}.___SBackground_1vxat_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1vxat_gg_") /*__reshadow_css_end__*/, {
18
+ "__SBar": "___SBar_1vxat_gg_",
19
+ "--duration": "--duration_1vxat",
20
+ "_color": "__color_1vxat_gg_",
21
+ "--color": "--color_1vxat",
22
+ "_pattern": "__pattern_1vxat_gg_",
23
+ "--pattern": "--pattern_1vxat",
24
+ "_hide": "__hide_1vxat_gg_",
25
+ "_transparent": "__transparent_1vxat_gg_",
26
+ "__SBackground": "___SBackground_1vxat_gg_"
27
27
  });
28
28
  export var MIN_HEIGHT = 2;
29
29
  var calcPartBarY = function calcPartBarY(y, minHeight, height) {
package/lib/es6/Bubble.js CHANGED
@@ -18,18 +18,18 @@ import { getBubbleChartValueScale, CONSTANT, measureText } from './utils';
18
18
  import Tooltip from './Tooltip';
19
19
  import { PatternFill } from './Pattern';
20
20
  /*__reshadow-styles__:"./style/bubble.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_15kn7_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_15kn7);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_15kn7_gg_:hover{opacity:.8}}.___SBubble_15kn7_gg_.__color_15kn7_gg_{fill:var(--color_15kn7)}.___SBubble_15kn7_gg_.__pattern_15kn7_gg_.__color_15kn7_gg_{fill:var(--pattern_15kn7);stroke:var(--color_15kn7);stroke-width:1px}.___SBubble_15kn7_gg_.__transparent_15kn7_gg_{opacity:.3}.___SCenter_15kn7_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_15kn7_gg_.__color_15kn7_gg_{stroke:var(--color_15kn7)}.___SCenter_15kn7_gg_.__transparent_15kn7_gg_{opacity:.3}.___SLabel_15kn7_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_15kn7_gg_._position_right_15kn7_gg_{text-anchor:end}.___SLabel_15kn7_gg_._position_left_15kn7_gg_{text-anchor:start}.___SLabel_15kn7_gg_.__color_15kn7_gg_{fill:var(--color_15kn7)}.___SLabel_15kn7_gg_.__transparent_15kn7_gg_{opacity:.3}" /*__inner_css_end__*/, "15kn7_gg_") /*__reshadow_css_end__*/, {
22
- "__SBubble": "___SBubble_15kn7_gg_",
23
- "_color": "__color_15kn7_gg_",
24
- "--color": "--color_15kn7",
25
- "_pattern": "__pattern_15kn7_gg_",
26
- "--pattern": "--pattern_15kn7",
27
- "_transparent": "__transparent_15kn7_gg_",
28
- "__SCenter": "___SCenter_15kn7_gg_",
29
- "__SLabel": "___SLabel_15kn7_gg_",
30
- "_position_right": "_position_right_15kn7_gg_",
31
- "_position_left": "_position_left_15kn7_gg_",
32
- "--duration": "--duration_15kn7"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBubble_1sly4_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_1sly4);transition-timing-function:ease-in-out;opacity:.5}@media (hover:hover){.___SBubble_1sly4_gg_:hover{opacity:.8}}.___SBubble_1sly4_gg_.__color_1sly4_gg_{fill:var(--color_1sly4)}.___SBubble_1sly4_gg_.__pattern_1sly4_gg_.__color_1sly4_gg_{fill:var(--pattern_1sly4);stroke:var(--color_1sly4);stroke-width:1px}.___SBubble_1sly4_gg_.__transparent_1sly4_gg_{opacity:.3}.___SCenter_1sly4_gg_{text-anchor:middle;font-size:calc(var(--intergalactic-fs-100, 12px) - 1px);stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SCenter_1sly4_gg_.__color_1sly4_gg_{stroke:var(--color_1sly4)}.___SCenter_1sly4_gg_.__transparent_1sly4_gg_{opacity:.3}.___SLabel_1sly4_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SLabel_1sly4_gg_._position_right_1sly4_gg_{text-anchor:end}.___SLabel_1sly4_gg_._position_left_1sly4_gg_{text-anchor:start}.___SLabel_1sly4_gg_.__color_1sly4_gg_{fill:var(--color_1sly4)}.___SLabel_1sly4_gg_.__transparent_1sly4_gg_{opacity:.3}" /*__inner_css_end__*/, "1sly4_gg_") /*__reshadow_css_end__*/, {
22
+ "__SBubble": "___SBubble_1sly4_gg_",
23
+ "_color": "__color_1sly4_gg_",
24
+ "--color": "--color_1sly4",
25
+ "_pattern": "__pattern_1sly4_gg_",
26
+ "--pattern": "--pattern_1sly4",
27
+ "_transparent": "__transparent_1sly4_gg_",
28
+ "__SCenter": "___SCenter_1sly4_gg_",
29
+ "__SLabel": "___SLabel_1sly4_gg_",
30
+ "_position_right": "_position_right_1sly4_gg_",
31
+ "_position_left": "_position_left_1sly4_gg_",
32
+ "--duration": "--duration_1sly4"
33
33
  });
34
34
  var BubbleRoot = /*#__PURE__*/function (_Component) {
35
35
  _inherits(BubbleRoot, _Component);
package/lib/es6/Donut.js CHANGED
@@ -23,15 +23,15 @@ import { CONSTANT, getChartDefaultColorName } from './utils';
23
23
  import Tooltip from './Tooltip';
24
24
  import { PatternFill } from './Pattern';
25
25
  /*__reshadow-styles__:"./style/donut.shadow.css"*/
26
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_arwvo_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_arwvo_gg_.__color_arwvo_gg_{fill:var(--color_arwvo)}.___SPie_arwvo_gg_.__pattern_arwvo_gg_.__color_arwvo_gg_{fill:var(--pattern_arwvo);stroke:var(--color_arwvo);stroke-width:1px}.___SPie_arwvo_gg_.__transparent_arwvo_gg_{opacity:.3}.___SEmptyData_arwvo_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_arwvo_gg_.__color_arwvo_gg_{fill:var(--color_arwvo)}.___SLabel_arwvo_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "arwvo_gg_") /*__reshadow_css_end__*/, {
27
- "__SPie": "___SPie_arwvo_gg_",
28
- "_color": "__color_arwvo_gg_",
29
- "--color": "--color_arwvo",
30
- "_pattern": "__pattern_arwvo_gg_",
31
- "--pattern": "--pattern_arwvo",
32
- "_transparent": "__transparent_arwvo_gg_",
33
- "__SEmptyData": "___SEmptyData_arwvo_gg_",
34
- "__SLabel": "___SLabel_arwvo_gg_"
26
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPie_126sd_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPie_126sd_gg_.__color_126sd_gg_{fill:var(--color_126sd)}.___SPie_126sd_gg_.__pattern_126sd_gg_.__color_126sd_gg_{fill:var(--pattern_126sd);stroke:var(--color_126sd);stroke-width:1px}.___SPie_126sd_gg_.__transparent_126sd_gg_{opacity:.3}.___SEmptyData_126sd_gg_{fill:var(--intergalactic-chart-palette-order-null, #e0e1e9)}.___SEmptyData_126sd_gg_.__color_126sd_gg_{fill:var(--color_126sd)}.___SLabel_126sd_gg_{text-anchor:middle;vertical-anchor:middle;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}" /*__inner_css_end__*/, "126sd_gg_") /*__reshadow_css_end__*/, {
27
+ "__SPie": "___SPie_126sd_gg_",
28
+ "_color": "__color_126sd_gg_",
29
+ "--color": "--color_126sd",
30
+ "_pattern": "__pattern_126sd_gg_",
31
+ "--pattern": "--pattern_126sd",
32
+ "_transparent": "__transparent_126sd_gg_",
33
+ "__SEmptyData": "___SEmptyData_126sd_gg_",
34
+ "__SLabel": "___SLabel_126sd_gg_"
35
35
  });
36
36
  var DEFAULT_INSTANCE = Symbol('DEFAULT_INSTANCE');
37
37
  function transitionAnglePie(_ref6) {
package/lib/es6/Dots.js CHANGED
@@ -7,14 +7,14 @@ import trottle from '@semcore/utils/lib/rafTrottle';
7
7
  import createElement from './createElement';
8
8
  import { eventToPoint, invert, interpolateValue, getChartDefaultColorName } from './utils';
9
9
  /*__reshadow-styles__:"./style/dot.shadow.css"*/
10
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1pfz2_gg_ .___SDot_1pfz2_gg_{transition-duration:var(--duration_1pfz2)}.___SDot_1pfz2_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_1pfz2_gg_.__hide_1pfz2_gg_{display:none}.___SDot_1pfz2_gg_.__color_1pfz2_gg_{fill:var(--color_1pfz2)}.___SDot_1pfz2_gg_.__transparent_1pfz2_gg_{opacity:.3}" /*__inner_css_end__*/, "1pfz2_gg_") /*__reshadow_css_end__*/, {
11
- "__SDot": "___SDot_1pfz2_gg_",
12
- "_hide": "__hide_1pfz2_gg_",
13
- "_color": "__color_1pfz2_gg_",
14
- "--color": "--color_1pfz2",
15
- "_transparent": "__transparent_1pfz2_gg_",
16
- "__SDots": "___SDots_1pfz2_gg_",
17
- "--duration": "--duration_1pfz2"
10
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SDots_1a7r2_gg_ .___SDot_1a7r2_gg_{transition-duration:var(--duration_1a7r2)}.___SDot_1a7r2_gg_{stroke-width:1px;stroke:var(--intergalactic-chart-grid-border, #ffffff);fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:cx,cy,x,y;transition-timing-function:ease-in-out}.___SDot_1a7r2_gg_.__hide_1a7r2_gg_{display:none}.___SDot_1a7r2_gg_.__color_1a7r2_gg_{fill:var(--color_1a7r2)}.___SDot_1a7r2_gg_.__transparent_1a7r2_gg_{opacity:.3}" /*__inner_css_end__*/, "1a7r2_gg_") /*__reshadow_css_end__*/, {
11
+ "__SDot": "___SDot_1a7r2_gg_",
12
+ "_hide": "__hide_1a7r2_gg_",
13
+ "_color": "__color_1a7r2_gg_",
14
+ "--color": "--color_1a7r2",
15
+ "_transparent": "__transparent_1a7r2_gg_",
16
+ "__SDots": "___SDots_1a7r2_gg_",
17
+ "--duration": "--duration_1a7r2"
18
18
  });
19
19
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
20
20
  var EXCLUDE_PROPS = ['data', 'scale', 'value', 'display'];
@@ -13,16 +13,16 @@ import AnimatedClipPath from './AnimatedClipPath';
13
13
  import { scaleToBand, roundedPath } from './utils';
14
14
  import { PatternFill } from './Pattern';
15
15
  /*__reshadow-styles__:"./style/bar.shadow.css"*/
16
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_3ead1_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_3ead1);transition-timing-function:ease-in-out}.___SBar_3ead1_gg_.__color_3ead1_gg_{fill:var(--color_3ead1)}.___SBar_3ead1_gg_.__pattern_3ead1_gg_.__color_3ead1_gg_{fill:var(--pattern_3ead1);stroke:var(--color_3ead1);stroke-width:1px}.___SBar_3ead1_gg_.__hide_3ead1_gg_{display:none}.___SBar_3ead1_gg_.__transparent_3ead1_gg_{opacity:.3}.___SBackground_3ead1_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "3ead1_gg_") /*__reshadow_css_end__*/, {
17
- "__SBar": "___SBar_3ead1_gg_",
18
- "--duration": "--duration_3ead1",
19
- "_color": "__color_3ead1_gg_",
20
- "--color": "--color_3ead1",
21
- "_pattern": "__pattern_3ead1_gg_",
22
- "--pattern": "--pattern_3ead1",
23
- "_hide": "__hide_3ead1_gg_",
24
- "_transparent": "__transparent_3ead1_gg_",
25
- "__SBackground": "___SBackground_3ead1_gg_"
16
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBar_1vxat_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:height,width,y;transition-duration:var(--duration_1vxat);transition-timing-function:ease-in-out}.___SBar_1vxat_gg_.__color_1vxat_gg_{fill:var(--color_1vxat)}.___SBar_1vxat_gg_.__pattern_1vxat_gg_.__color_1vxat_gg_{fill:var(--pattern_1vxat);stroke:var(--color_1vxat);stroke-width:1px}.___SBar_1vxat_gg_.__hide_1vxat_gg_{display:none}.___SBar_1vxat_gg_.__transparent_1vxat_gg_{opacity:.3}.___SBackground_1vxat_gg_{fill:var(--intergalactic-chart-palette-order-other-data, #c4c7cf)}" /*__inner_css_end__*/, "1vxat_gg_") /*__reshadow_css_end__*/, {
17
+ "__SBar": "___SBar_1vxat_gg_",
18
+ "--duration": "--duration_1vxat",
19
+ "_color": "__color_1vxat_gg_",
20
+ "--color": "--color_1vxat",
21
+ "_pattern": "__pattern_1vxat_gg_",
22
+ "--pattern": "--pattern_1vxat",
23
+ "_hide": "__hide_1vxat_gg_",
24
+ "_transparent": "__transparent_1vxat_gg_",
25
+ "__SBackground": "___SBackground_1vxat_gg_"
26
26
  });
27
27
  export var MIN_WIDTH = 2;
28
28
  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_f0tyo_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_f0tyo_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "f0tyo_gg_") /*__reshadow_css_end__*/, {
20
- "__SHoverLine": "___SHoverLine_f0tyo_gg_",
21
- "__SHoverRect": "___SHoverRect_f0tyo_gg_"
19
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHoverLine_rybhm_gg_{stroke:var(--intergalactic-chart-grid-x-axis, #c4c7cf)}.___SHoverRect_rybhm_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "rybhm_gg_") /*__reshadow_css_end__*/, {
20
+ "__SHoverLine": "___SHoverLine_rybhm_gg_",
21
+ "__SHoverRect": "___SHoverRect_rybhm_gg_"
22
22
  });
23
23
  import Tooltip from './Tooltip';
24
24
  var Hover = /*#__PURE__*/function (_Component) {
package/lib/es6/Line.js CHANGED
@@ -15,15 +15,15 @@ import Dots from './Dots';
15
15
  import AnimatedClipPath from './AnimatedClipPath';
16
16
  import { resolvePatternDasharray } from './Pattern';
17
17
  /*__reshadow-styles__:"./style/line.shadow.css"*/
18
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_plj9c_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_plj9c);transition-timing-function:ease-in-out}.___SLine_plj9c_gg_.__color_plj9c_gg_{stroke:var(--color_plj9c)}.___SLine_plj9c_gg_.__hide_plj9c_gg_{display:none}.___SLine_plj9c_gg_.__transparent_plj9c_gg_{opacity:.3}.___SNull_plj9c_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_plj9c_gg_.__hide_plj9c_gg_{display:none}.___SAria_plj9c_gg_{transition-property:d;transition-duration:var(--duration_plj9c);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_plj9c_gg_.__color_plj9c_gg_{fill:var(--color_plj9c)}" /*__inner_css_end__*/, "plj9c_gg_") /*__reshadow_css_end__*/, {
19
- "__SLine": "___SLine_plj9c_gg_",
20
- "--duration": "--duration_plj9c",
21
- "_color": "__color_plj9c_gg_",
22
- "--color": "--color_plj9c",
23
- "_hide": "__hide_plj9c_gg_",
24
- "_transparent": "__transparent_plj9c_gg_",
25
- "__SNull": "___SNull_plj9c_gg_",
26
- "__SAria": "___SAria_plj9c_gg_"
18
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SLine_yvzao_gg_{fill:transparent;stroke-width:3;stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);transition-property:d;transition-duration:var(--duration_yvzao);transition-timing-function:ease-in-out}.___SLine_yvzao_gg_.__color_yvzao_gg_{stroke:var(--color_yvzao)}.___SLine_yvzao_gg_.__hide_yvzao_gg_{display:none}.___SLine_yvzao_gg_.__transparent_yvzao_gg_{opacity:.3}.___SNull_yvzao_gg_{fill:transparent;stroke:var(--intergalactic-border-primary, #c4c7cf);stroke-dasharray:4}.___SNull_yvzao_gg_.__hide_yvzao_gg_{display:none}.___SAria_yvzao_gg_{transition-property:d;transition-duration:var(--duration_yvzao);transition-timing-function:ease-in-out;opacity:.3;fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SAria_yvzao_gg_.__color_yvzao_gg_{fill:var(--color_yvzao)}" /*__inner_css_end__*/, "yvzao_gg_") /*__reshadow_css_end__*/, {
19
+ "__SLine": "___SLine_yvzao_gg_",
20
+ "--duration": "--duration_yvzao",
21
+ "_color": "__color_yvzao_gg_",
22
+ "--color": "--color_yvzao",
23
+ "_hide": "__hide_yvzao_gg_",
24
+ "_transparent": "__transparent_yvzao_gg_",
25
+ "__SNull": "___SNull_yvzao_gg_",
26
+ "__SAria": "___SAria_yvzao_gg_"
27
27
  });
28
28
  var LineRoot = /*#__PURE__*/function (_Component) {
29
29
  _inherits(LineRoot, _Component);
package/lib/es6/Plot.js CHANGED
@@ -18,9 +18,9 @@ import { PlotA11yModule } from './a11y/PlotA11yModule';
18
18
  import { makeDataHintsHandlers, makeDataHintsContainer } from './a11y/hints';
19
19
  import colorResolverEnhance from '@semcore/utils/lib/enhances/resolveColorEnhance';
20
20
  /*__reshadow-styles__:"./style/plot.shadow.css"*/
21
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_yektd_gg_{overflow:hidden}.___SPlot_yektd_gg_:active,.___SPlot_yektd_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_yektd_gg_.__keyboardFocused_yektd_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__*/, "yektd_gg_") /*__reshadow_css_end__*/, {
22
- "__SPlot": "___SPlot_yektd_gg_",
23
- "_keyboardFocused": "__keyboardFocused_yektd_gg_"
21
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPlot_hlzck_gg_{overflow:hidden}.___SPlot_hlzck_gg_:active,.___SPlot_hlzck_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}foreignObject[data-aria-only]{pointer-events:none}.___SPlot_hlzck_gg_.__keyboardFocused_hlzck_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__*/, "hlzck_gg_") /*__reshadow_css_end__*/, {
22
+ "__SPlot": "___SPlot_hlzck_gg_",
23
+ "_keyboardFocused": "__keyboardFocused_hlzck_gg_"
24
24
  });
25
25
  var PlotRoot = /*#__PURE__*/function (_Component) {
26
26
  _inherits(PlotRoot, _Component);
package/lib/es6/Radar.js CHANGED
@@ -22,25 +22,25 @@ import { CONSTANT, eventToPoint, getChartDefaultColorName, measureText } from '.
22
22
  import Tooltip from './Tooltip';
23
23
  import { PatternFill, PatternSymbol, getPatternSymbolSize } from './Pattern';
24
24
  /*__reshadow-styles__:"./style/radar.shadow.css"*/
25
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_9egfi_gg_,.___SAxisTick_9egfi_gg_,.___SAxis_9egfi_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_9egfi_gg_,.___SAxisTick_9egfi_gg_{stroke-dasharray:2}.___SAxisLine_9egfi_gg_.__active_9egfi_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_9egfi_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_9egfi_gg_.__xDirection_9egfi_gg_{text-anchor:var(--xDirection_9egfi)}.___SAxisLabel_9egfi_gg_.__yDirection_9egfi_gg_{dominant-baseline:var(--yDirection_9egfi)}.___SPolygonDot_9egfi_gg_,.___SPolygon_9egfi_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_9egfi_gg_{opacity:.2}.___SPolygon_9egfi_gg_.__color_9egfi_gg_{fill:var(--color_9egfi)}.___SPolygon_9egfi_gg_.__pattern_9egfi_gg_.__color_9egfi_gg_{fill:var(--pattern_9egfi);stroke:var(--color_9egfi);stroke-width:1px}.___SPolygonDot_9egfi_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_9egfi_gg_.__transparent_9egfi_gg_{opacity:.3}.___SPolygonDot_9egfi_gg_.__color_9egfi_gg_{fill:var(--color_9egfi)}.___SPolygonLine_9egfi_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_9egfi_gg_.__transparent_9egfi_gg_{opacity:.3}.___SPolygonLine_9egfi_gg_.__color_9egfi_gg_{stroke:var(--color_9egfi)}.___SPieRect_9egfi_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "9egfi_gg_") /*__reshadow_css_end__*/, {
26
- "__SAxis": "___SAxis_9egfi_gg_",
27
- "__SAxisLine": "___SAxisLine_9egfi_gg_",
28
- "__SAxisTick": "___SAxisTick_9egfi_gg_",
29
- "_active": "__active_9egfi_gg_",
30
- "__SAxisLabel": "___SAxisLabel_9egfi_gg_",
31
- "_xDirection": "__xDirection_9egfi_gg_",
32
- "--xDirection": "--xDirection_9egfi",
33
- "_yDirection": "__yDirection_9egfi_gg_",
34
- "--yDirection": "--yDirection_9egfi",
35
- "__SPolygon": "___SPolygon_9egfi_gg_",
36
- "_color": "__color_9egfi_gg_",
37
- "--color": "--color_9egfi",
38
- "_pattern": "__pattern_9egfi_gg_",
39
- "--pattern": "--pattern_9egfi",
40
- "__SPolygonDot": "___SPolygonDot_9egfi_gg_",
41
- "_transparent": "__transparent_9egfi_gg_",
42
- "__SPolygonLine": "___SPolygonLine_9egfi_gg_",
43
- "__SPieRect": "___SPieRect_9egfi_gg_"
25
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SAxisLine_13ygz_gg_,.___SAxisTick_13ygz_gg_,.___SAxis_13ygz_gg_{stroke:var(--intergalactic-chart-grid-line, #e0e1e9);stroke-width:1;fill:transparent}.___SAxisLine_13ygz_gg_,.___SAxisTick_13ygz_gg_{stroke-dasharray:2}.___SAxisLine_13ygz_gg_.__active_13ygz_gg_{stroke:var(--intergalactic-chart-grid-y-accent-hover-line, #a9abb6)}.___SAxisLabel_13ygz_gg_{text-anchor:middle;dominant-baseline:central;font-size:12px}.___SAxisLabel_13ygz_gg_.__xDirection_13ygz_gg_{text-anchor:var(--xDirection_13ygz)}.___SAxisLabel_13ygz_gg_.__yDirection_13ygz_gg_{dominant-baseline:var(--yDirection_13ygz)}.___SPolygonDot_13ygz_gg_,.___SPolygon_13ygz_gg_{fill:var(--intergalactic-chart-palette-order-1, #2bb3ff)}.___SPolygon_13ygz_gg_{opacity:.2}.___SPolygon_13ygz_gg_.__color_13ygz_gg_{fill:var(--color_13ygz)}.___SPolygon_13ygz_gg_.__pattern_13ygz_gg_.__color_13ygz_gg_{fill:var(--pattern_13ygz);stroke:var(--color_13ygz);stroke-width:1px}.___SPolygonDot_13ygz_gg_{stroke-width:2px;stroke:var(--intergalactic-chart-grid-border, #ffffff);r:6px}.___SPolygonDot_13ygz_gg_.__transparent_13ygz_gg_{opacity:.3}.___SPolygonDot_13ygz_gg_.__color_13ygz_gg_{fill:var(--color_13ygz)}.___SPolygonLine_13ygz_gg_{stroke:var(--intergalactic-chart-palette-order-1, #2bb3ff);stroke-width:3;fill:transparent}.___SPolygonLine_13ygz_gg_.__transparent_13ygz_gg_{opacity:.3}.___SPolygonLine_13ygz_gg_.__color_13ygz_gg_{stroke:var(--color_13ygz)}.___SPieRect_13ygz_gg_{fill:var(--intergalactic-chart-grid-bar-chart-hover, rgba(196, 199, 207, 0.3))}" /*__inner_css_end__*/, "13ygz_gg_") /*__reshadow_css_end__*/, {
26
+ "__SAxis": "___SAxis_13ygz_gg_",
27
+ "__SAxisLine": "___SAxisLine_13ygz_gg_",
28
+ "__SAxisTick": "___SAxisTick_13ygz_gg_",
29
+ "_active": "__active_13ygz_gg_",
30
+ "__SAxisLabel": "___SAxisLabel_13ygz_gg_",
31
+ "_xDirection": "__xDirection_13ygz_gg_",
32
+ "--xDirection": "--xDirection_13ygz",
33
+ "_yDirection": "__yDirection_13ygz_gg_",
34
+ "--yDirection": "--yDirection_13ygz",
35
+ "__SPolygon": "___SPolygon_13ygz_gg_",
36
+ "_color": "__color_13ygz_gg_",
37
+ "--color": "--color_13ygz",
38
+ "_pattern": "__pattern_13ygz_gg_",
39
+ "--pattern": "--pattern_13ygz",
40
+ "__SPolygonDot": "___SPolygonDot_13ygz_gg_",
41
+ "_transparent": "__transparent_13ygz_gg_",
42
+ "__SPolygonLine": "___SPolygonLine_13ygz_gg_",
43
+ "__SPieRect": "___SPieRect_13ygz_gg_"
44
44
  });
45
45
  var clampAngle = function clampAngle(angle) {
46
46
  angle = angle % (2 * Math.PI);
@@ -21,17 +21,17 @@ import createElement from './createElement';
21
21
  import { getChartDefaultColorName, measureText } from './utils';
22
22
  import { PatternSymbol, getPatternSymbolSize } from './Pattern';
23
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
24
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_1nk21_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1nk21_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_1nk21_gg_.__color_1nk21_gg_{stroke:var(--color_1nk21)}.___SLine_1nk21_gg_.__transparent_1nk21_gg_{opacity:.3}.___SCap_1nk21_gg_{transition:r .1s}.___SCap_1nk21_gg_.__pattern_1nk21_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_1nk21_gg_.__transparent_1nk21_gg_,.___SIcon_1nk21_gg_.__transparent_1nk21_gg_,.___SLabel_1nk21_gg_.__transparent_1nk21_gg_{opacity:.3}.___SLabel_1nk21_gg_{fill:var(--color_1nk21)}@media (hover:hover){.___SRadian_1nk21_gg_:hover .___SLabel_1nk21_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_1nk21_gg_{transition:none}}" /*__inner_css_end__*/, "1nk21_gg_") /*__reshadow_css_end__*/, {
25
- "__SRadian": "___SRadian_1nk21_gg_",
26
- "__SLine": "___SLine_1nk21_gg_",
27
- "_color": "__color_1nk21_gg_",
28
- "--color": "--color_1nk21",
29
- "_transparent": "__transparent_1nk21_gg_",
30
- "__SCap": "___SCap_1nk21_gg_",
31
- "_pattern": "__pattern_1nk21_gg_",
32
- "__SIcon": "___SIcon_1nk21_gg_",
33
- "__SLabel": "___SLabel_1nk21_gg_",
34
- "__SLineCap": "___SLineCap_1nk21_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_fzf2m_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_fzf2m_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_fzf2m_gg_.__color_fzf2m_gg_{stroke:var(--color_fzf2m)}.___SLine_fzf2m_gg_.__transparent_fzf2m_gg_{opacity:.3}.___SCap_fzf2m_gg_{transition:r .1s}.___SCap_fzf2m_gg_.__pattern_fzf2m_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_fzf2m_gg_.__transparent_fzf2m_gg_,.___SIcon_fzf2m_gg_.__transparent_fzf2m_gg_,.___SLabel_fzf2m_gg_.__transparent_fzf2m_gg_{opacity:.3}.___SLabel_fzf2m_gg_{fill:var(--color_fzf2m)}@media (hover:hover){.___SRadian_fzf2m_gg_:hover .___SLabel_fzf2m_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_fzf2m_gg_{transition:none}}" /*__inner_css_end__*/, "fzf2m_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_fzf2m_gg_",
26
+ "__SLine": "___SLine_fzf2m_gg_",
27
+ "_color": "__color_fzf2m_gg_",
28
+ "--color": "--color_fzf2m",
29
+ "_transparent": "__transparent_fzf2m_gg_",
30
+ "__SCap": "___SCap_fzf2m_gg_",
31
+ "_pattern": "__pattern_fzf2m_gg_",
32
+ "__SIcon": "___SIcon_fzf2m_gg_",
33
+ "__SLabel": "___SLabel_fzf2m_gg_",
34
+ "__SLineCap": "___SLineCap_fzf2m_gg_"
35
35
  });
36
36
  var baseAngle = -Math.PI / 2; // The top vertical line
37
37
  var RadialTreeBase = /*#__PURE__*/function (_Component) {