@fxlt/common-ui 0.0.5-rc1 → 0.0.5-rc3

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.
package/components.css CHANGED
@@ -162,6 +162,9 @@ input[type='password'] {
162
162
  }
163
163
 
164
164
  /* system style */
165
+ .txt-heading-02 {
166
+ @apply font-semibold text-4xl tracking-normal leading-10 text-text-primary;
167
+ }
165
168
  .txt-heading-03 {
166
169
  @apply font-semibold text-3xl tracking-normal leading-10 text-text-primary;
167
170
  }
@@ -1499,6 +1499,7 @@ class ChartComponent {
1499
1499
  avoidLabelOverlap: true,
1500
1500
  data,
1501
1501
  label: {
1502
+ show: this.showPieLabel,
1502
1503
  //{a} Series name
1503
1504
  //{b} Data name (slice label)
1504
1505
  //{c} Data value
@@ -1513,8 +1514,8 @@ class ChartComponent {
1513
1514
  },
1514
1515
  labelLine: {
1515
1516
  show: this.showPieLabel,
1516
- length: 12,
1517
- length2: 12,
1517
+ length: 7,
1518
+ length2: 7,
1518
1519
  },
1519
1520
  itemStyle: {
1520
1521
  borderWidth: 0,
@@ -1548,6 +1549,27 @@ class ChartComponent {
1548
1549
  },
1549
1550
  ],
1550
1551
  },
1552
+ media: [
1553
+ {
1554
+ query: { maxWidth: 350 },
1555
+ option: {
1556
+ graphic: {
1557
+ left: '50%',
1558
+ top: '40%',
1559
+ },
1560
+ series: [
1561
+ {
1562
+ center: ['50%', '40%'],
1563
+ },
1564
+ ],
1565
+ legend: {
1566
+ orient: 'vertical',
1567
+ left: 'center',
1568
+ bottom: 0,
1569
+ },
1570
+ },
1571
+ },
1572
+ ],
1551
1573
  };
1552
1574
  },
1553
1575
  sunburst: (data, colors) => ({