@lobehub/charts 6.1.0 → 6.1.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.
@@ -133,7 +133,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
133
133
  font-size: var(--benchmark-label-font-size, 14px);
134
134
  font-weight: 600;
135
135
  line-height: 1.3;
136
- color: ${cssVar.colorText} !important;
136
+ color: ${cssVar.colorText};
137
137
  text-overflow: ellipsis;
138
138
  white-space: pre-line;
139
139
 
@@ -1 +1 @@
1
- {"version":3,"file":"styles.mjs","names":[],"sources":["../../src/BenchmarkRankingChart/styles.ts"],"sourcesContent":["import { createStaticStyles } from '@lobehub/ui';\n\nconst prefixCls = 'ant';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n axisLabelSpacer: css`\n flex-shrink: 0;\n width: 100%;\n `,\n bar: css`\n position: absolute;\n inset-block-start: 50%;\n inset-inline-start: 0;\n transform: translateY(-50%);\n\n max-width: 100%;\n border-radius: 0;\n\n transition: all 0.25s ${cssVar.motionEaseInOut};\n `,\n barHover: css`\n &:hover {\n .${prefixCls}-benchmark-ranking-bar {\n filter: brightness(1.08);\n }\n }\n `,\n barTrack: css`\n position: relative;\n overflow: visible;\n width: 100%;\n height: 100%;\n `,\n container: css`\n align-items: stretch;\n min-width: 0;\n `,\n emphasis: css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n errorBar: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 2;\n inset-block-start: 50%;\n transform: translateY(-50%);\n\n height: 0;\n border-block-start: 1.5px solid #fff;\n\n mix-blend-mode: difference;\n\n &::before,\n &::after {\n content: '';\n\n position: absolute;\n inset-block-start: 50%;\n transform: translateY(-50%);\n\n width: 0;\n height: 10px;\n border-inline-start: 1.5px solid #fff;\n }\n\n &::before {\n inset-inline-start: 0;\n }\n\n &::after {\n inset-inline-end: 0;\n }\n `,\n gridLine: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 0;\n inset-block-start: 0;\n\n width: 0;\n border-inline-start: 1px dashed ${cssVar.colorBorderSecondary};\n `,\n icon: css`\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n\n width: 24px;\n height: 24px;\n `,\n identity: css`\n display: flex;\n flex: 1;\n gap: 10px;\n align-items: center;\n\n min-width: 0;\n `,\n labelColumn: css`\n flex-shrink: 0;\n min-width: 0;\n padding-inline-end: 16px;\n `,\n labelRow: css`\n min-width: 0;\n `,\n labelStack: css`\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 2px;\n justify-content: center;\n\n min-width: 0;\n `,\n name: css`\n overflow: hidden;\n\n font-size: var(--benchmark-label-font-size, 14px);\n font-weight: 600;\n line-height: 1.3;\n color: ${cssVar.colorText};\n text-overflow: ellipsis;\n white-space: pre-line;\n `,\n nameLink: css`\n overflow: hidden;\n\n font-size: var(--benchmark-label-font-size, 14px);\n font-weight: 600;\n line-height: 1.3;\n color: ${cssVar.colorText} !important;\n text-overflow: ellipsis;\n white-space: pre-line;\n\n &:hover {\n color: ${cssVar.colorLinkHover} !important;\n }\n `,\n plot: css`\n position: relative;\n overflow: visible;\n flex: 1;\n min-width: 80px;\n `,\n plotRow: css`\n position: relative;\n width: 100%;\n min-width: 0;\n `,\n plotRows: css`\n position: relative;\n z-index: 1;\n width: 100%;\n `,\n provider: css`\n overflow: hidden;\n\n font-size: var(--benchmark-subtitle-font-size, 12px);\n line-height: 1.3;\n color: ${cssVar.colorTextDescription};\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n rank: css`\n flex-shrink: 0;\n\n min-width: 20px;\n margin-inline-end: 12px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: var(--benchmark-value-label-font-size, 14px);\n font-variant-numeric: tabular-nums;\n line-height: 1.3;\n color: ${cssVar.colorTextQuaternary};\n text-align: start;\n `,\n score: css`\n flex-shrink: 0;\n\n min-width: 40px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: var(--benchmark-value-label-font-size, 14px);\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n line-height: 1.3;\n color: ${cssVar.colorText};\n text-align: end;\n `,\n scoreColumn: css`\n flex-shrink: 0;\n min-width: 48px;\n padding-inline-start: 16px;\n `,\n scoreError: css`\n margin-inline-start: 4px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: calc(var(--benchmark-value-label-font-size, 14px) - 2px);\n font-weight: 400;\n color: ${cssVar.colorTextSecondary};\n `,\n scoreRow: css`\n width: 100%;\n `,\n tooltipTrigger: css`\n width: 100%;\n min-width: 0;\n height: 100%;\n `,\n xAxis: css`\n position: relative;\n margin-block-start: 4px;\n padding-block-start: 0;\n `,\n xAxisLabel: css`\n margin-block-start: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n color: ${cssVar.colorTextSecondary};\n text-align: center;\n `,\n xAxisLine: css`\n width: 100%;\n height: 0;\n border-block-start: 1px solid ${cssVar.colorBorder};\n `,\n xAxisTick: css`\n position: absolute;\n inset-block-start: 6px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: 12px;\n line-height: 16px;\n color: ${cssVar.colorTextDescription};\n white-space: nowrap;\n `,\n xAxisTicks: css`\n position: relative;\n height: 22px;\n `,\n yAxisLine: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 2;\n inset-block: 0;\n inset-inline-start: 0;\n\n width: 0;\n border-inline-start: 1px solid ${cssVar.colorBorder};\n `,\n}));\n"],"mappings":";;AAEA,MAAM,YAAY;AAElB,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,iBAAiB,GAAG;;;;CAIpB,KAAK,GAAG;;;;;;;;;4BASkB,OAAO,gBAAgB;;CAEjD,UAAU,GAAG;;SAEN,UAAU;;;;;CAKjB,UAAU,GAAG;;;;;;CAMb,WAAW,GAAG;;;;CAId,UAAU,GAAG;;;;;CAKb,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCb,UAAU,GAAG;;;;;;;;sCAQuB,OAAO,qBAAqB;;CAEhE,MAAM,GAAG;;;;;;;;;CAST,UAAU,GAAG;;;;;;;;CAQb,aAAa,GAAG;;;;;CAKhB,UAAU,GAAG;;;CAGb,YAAY,GAAG;;;;;;;;;CASf,MAAM,GAAG;;;;;;aAME,OAAO,UAAU;;;;CAI5B,UAAU,GAAG;;;;;;aAMF,OAAO,UAAU;;;;;eAKf,OAAO,eAAe;;;CAGnC,MAAM,GAAG;;;;;;CAMT,SAAS,GAAG;;;;;CAKZ,UAAU,GAAG;;;;;CAKb,UAAU,GAAG;;;;;aAKF,OAAO,qBAAqB;;;;CAIvC,MAAM,GAAG;;;;;;;;;;aAUE,OAAO,oBAAoB;;;CAGtC,OAAO,GAAG;;;;;;;;;;aAUC,OAAO,UAAU;;;CAG5B,aAAa,GAAG;;;;;CAKhB,YAAY,GAAG;;;;;;aAMJ,OAAO,mBAAmB;;CAErC,UAAU,GAAG;;;CAGb,gBAAgB,GAAG;;;;;CAKnB,OAAO,GAAG;;;;;CAKV,YAAY,GAAG;;;;;;aAMJ,OAAO,mBAAmB;;;CAGrC,WAAW,GAAG;;;oCAGoB,OAAO,YAAY;;CAErD,WAAW,GAAG;;;;;;;aAOH,OAAO,qBAAqB;;;CAGvC,YAAY,GAAG;;;;CAIf,WAAW,GAAG;;;;;;;;;qCASqB,OAAO,YAAY;;AAExD,EAAE"}
1
+ {"version":3,"file":"styles.mjs","names":[],"sources":["../../src/BenchmarkRankingChart/styles.ts"],"sourcesContent":["import { createStaticStyles } from '@lobehub/ui';\n\nconst prefixCls = 'ant';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n axisLabelSpacer: css`\n flex-shrink: 0;\n width: 100%;\n `,\n bar: css`\n position: absolute;\n inset-block-start: 50%;\n inset-inline-start: 0;\n transform: translateY(-50%);\n\n max-width: 100%;\n border-radius: 0;\n\n transition: all 0.25s ${cssVar.motionEaseInOut};\n `,\n barHover: css`\n &:hover {\n .${prefixCls}-benchmark-ranking-bar {\n filter: brightness(1.08);\n }\n }\n `,\n barTrack: css`\n position: relative;\n overflow: visible;\n width: 100%;\n height: 100%;\n `,\n container: css`\n align-items: stretch;\n min-width: 0;\n `,\n emphasis: css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n errorBar: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 2;\n inset-block-start: 50%;\n transform: translateY(-50%);\n\n height: 0;\n border-block-start: 1.5px solid #fff;\n\n mix-blend-mode: difference;\n\n &::before,\n &::after {\n content: '';\n\n position: absolute;\n inset-block-start: 50%;\n transform: translateY(-50%);\n\n width: 0;\n height: 10px;\n border-inline-start: 1.5px solid #fff;\n }\n\n &::before {\n inset-inline-start: 0;\n }\n\n &::after {\n inset-inline-end: 0;\n }\n `,\n gridLine: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 0;\n inset-block-start: 0;\n\n width: 0;\n border-inline-start: 1px dashed ${cssVar.colorBorderSecondary};\n `,\n icon: css`\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n\n width: 24px;\n height: 24px;\n `,\n identity: css`\n display: flex;\n flex: 1;\n gap: 10px;\n align-items: center;\n\n min-width: 0;\n `,\n labelColumn: css`\n flex-shrink: 0;\n min-width: 0;\n padding-inline-end: 16px;\n `,\n labelRow: css`\n min-width: 0;\n `,\n labelStack: css`\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 2px;\n justify-content: center;\n\n min-width: 0;\n `,\n name: css`\n overflow: hidden;\n\n font-size: var(--benchmark-label-font-size, 14px);\n font-weight: 600;\n line-height: 1.3;\n color: ${cssVar.colorText};\n text-overflow: ellipsis;\n white-space: pre-line;\n `,\n nameLink: css`\n overflow: hidden;\n\n font-size: var(--benchmark-label-font-size, 14px);\n font-weight: 600;\n line-height: 1.3;\n color: ${cssVar.colorText};\n text-overflow: ellipsis;\n white-space: pre-line;\n\n &:hover {\n color: ${cssVar.colorLinkHover} !important;\n }\n `,\n plot: css`\n position: relative;\n overflow: visible;\n flex: 1;\n min-width: 80px;\n `,\n plotRow: css`\n position: relative;\n width: 100%;\n min-width: 0;\n `,\n plotRows: css`\n position: relative;\n z-index: 1;\n width: 100%;\n `,\n provider: css`\n overflow: hidden;\n\n font-size: var(--benchmark-subtitle-font-size, 12px);\n line-height: 1.3;\n color: ${cssVar.colorTextDescription};\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n rank: css`\n flex-shrink: 0;\n\n min-width: 20px;\n margin-inline-end: 12px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: var(--benchmark-value-label-font-size, 14px);\n font-variant-numeric: tabular-nums;\n line-height: 1.3;\n color: ${cssVar.colorTextQuaternary};\n text-align: start;\n `,\n score: css`\n flex-shrink: 0;\n\n min-width: 40px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: var(--benchmark-value-label-font-size, 14px);\n font-weight: 600;\n font-variant-numeric: tabular-nums;\n line-height: 1.3;\n color: ${cssVar.colorText};\n text-align: end;\n `,\n scoreColumn: css`\n flex-shrink: 0;\n min-width: 48px;\n padding-inline-start: 16px;\n `,\n scoreError: css`\n margin-inline-start: 4px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: calc(var(--benchmark-value-label-font-size, 14px) - 2px);\n font-weight: 400;\n color: ${cssVar.colorTextSecondary};\n `,\n scoreRow: css`\n width: 100%;\n `,\n tooltipTrigger: css`\n width: 100%;\n min-width: 0;\n height: 100%;\n `,\n xAxis: css`\n position: relative;\n margin-block-start: 4px;\n padding-block-start: 0;\n `,\n xAxisLabel: css`\n margin-block-start: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n color: ${cssVar.colorTextSecondary};\n text-align: center;\n `,\n xAxisLine: css`\n width: 100%;\n height: 0;\n border-block-start: 1px solid ${cssVar.colorBorder};\n `,\n xAxisTick: css`\n position: absolute;\n inset-block-start: 6px;\n\n font-family: 'Geist Mono', SFMono-Regular, Consolas, 'Liberation Mono', monospace;\n font-size: 12px;\n line-height: 16px;\n color: ${cssVar.colorTextDescription};\n white-space: nowrap;\n `,\n xAxisTicks: css`\n position: relative;\n height: 22px;\n `,\n yAxisLine: css`\n pointer-events: none;\n\n position: absolute;\n z-index: 2;\n inset-block: 0;\n inset-inline-start: 0;\n\n width: 0;\n border-inline-start: 1px solid ${cssVar.colorBorder};\n `,\n}));\n"],"mappings":";;AAEA,MAAM,YAAY;AAElB,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,iBAAiB,GAAG;;;;CAIpB,KAAK,GAAG;;;;;;;;;4BASkB,OAAO,gBAAgB;;CAEjD,UAAU,GAAG;;SAEN,UAAU;;;;;CAKjB,UAAU,GAAG;;;;;;CAMb,WAAW,GAAG;;;;CAId,UAAU,GAAG;;;;;CAKb,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCb,UAAU,GAAG;;;;;;;;sCAQuB,OAAO,qBAAqB;;CAEhE,MAAM,GAAG;;;;;;;;;CAST,UAAU,GAAG;;;;;;;;CAQb,aAAa,GAAG;;;;;CAKhB,UAAU,GAAG;;;CAGb,YAAY,GAAG;;;;;;;;;CASf,MAAM,GAAG;;;;;;aAME,OAAO,UAAU;;;;CAI5B,UAAU,GAAG;;;;;;aAMF,OAAO,UAAU;;;;;eAKf,OAAO,eAAe;;;CAGnC,MAAM,GAAG;;;;;;CAMT,SAAS,GAAG;;;;;CAKZ,UAAU,GAAG;;;;;CAKb,UAAU,GAAG;;;;;aAKF,OAAO,qBAAqB;;;;CAIvC,MAAM,GAAG;;;;;;;;;;aAUE,OAAO,oBAAoB;;;CAGtC,OAAO,GAAG;;;;;;;;;;aAUC,OAAO,UAAU;;;CAG5B,aAAa,GAAG;;;;;CAKhB,YAAY,GAAG;;;;;;aAMJ,OAAO,mBAAmB;;CAErC,UAAU,GAAG;;;CAGb,gBAAgB,GAAG;;;;;CAKnB,OAAO,GAAG;;;;;CAKV,YAAY,GAAG;;;;;;aAMJ,OAAO,mBAAmB;;;CAGrC,WAAW,GAAG;;;oCAGoB,OAAO,YAAY;;CAErD,WAAW,GAAG;;;;;;;aAOH,OAAO,qBAAqB;;;CAGvC,YAAY,GAAG;;;;CAIf,WAAW,GAAG;;;;;;;;;qCASqB,OAAO,YAAY;;AAExD,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/charts",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "React modern charts components built on recharts",
5
5
  "keywords": [
6
6
  "lobehub",