@dataloop-ai/components 0.17.7 → 0.17.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.17.7",
3
+ "version": "0.17.9",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -18,7 +18,7 @@
18
18
  name="axe-x-labels"
19
19
  >
20
20
  <dl-chart-labels
21
- :font-size="labelStyles.labelSize"
21
+ :font-size="labelStyles.fontSize"
22
22
  :title="labelStyles.title"
23
23
  :title-size="labelStyles.titleSize"
24
24
  :title-color="labelStyles.titleColor"
@@ -18,7 +18,7 @@
18
18
  name="axe-x-labels"
19
19
  >
20
20
  <dl-chart-labels
21
- :font-size="labelStyles.labelSize"
21
+ :font-size="labelStyles.fontSize"
22
22
  :title="labelStyles.title"
23
23
  :title-size="labelStyles.titleSize"
24
24
  :title-color="labelStyles.titleColor"
@@ -548,6 +548,7 @@ export default defineComponent({
548
548
  defaultLineChartProps.options,
549
549
  props.options
550
550
  )
551
+
551
552
  return {
552
553
  title: options.scales.x.title.text,
553
554
  titleSize: `${options.scales.x.title.font.size}px`,
@@ -101,7 +101,7 @@ export default defineComponent({
101
101
  }
102
102
  },
103
103
  inlineStyles(): Record<string, string> {
104
- return { display: this.inline ? 'inline' : 'flex' }
104
+ return { display: this.inline ? 'inline-flex' : 'flex' }
105
105
  },
106
106
  // needed to allow external source of icons that do not use class based
107
107
  externalIcon(): boolean {
@@ -144,7 +144,7 @@ export default defineComponent({
144
144
  try {
145
145
  svgElement.src = this.svgSource
146
146
  ? `${this.svgSource}/${this.icon}.svg`
147
- : require(`@dataloop-ai/icons/assets/${this.icon}.svg`)
147
+ : `https://raw.githubusercontent.com/dataloop-ai/icons/main/assets/${this.icon}.svg`
148
148
  } catch (e) {
149
149
  reject(e)
150
150
  }