reburn-ui 0.3.6 → 0.3.8

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.
@@ -156,26 +156,19 @@
156
156
  style:--chart-grid-color={gridColor ? getThemeColor(gridColor) : undefined}
157
157
  style:--chart-text-color={textColor ? getThemeColor(textColor) : undefined}
158
158
  >
159
- <svg
160
- class="chart"
161
- width="100%"
162
- height="100%"
163
- viewBox="0 0 {context.chartWidth} {context.chartHeight}"
164
- preserveAspectRatio="none"
165
- bind:this={context.chartRef}
166
- bind:clientWidth={context.chartWidth}
167
- bind:clientHeight={context.chartHeight}
168
- >
169
- {@render children(context)}
170
-
171
- {#if xGrid}
172
- <ChartXGrid />
173
- {/if}
174
-
175
- {#if yGrid}
176
- <ChartYGrid />
177
- {/if}
178
- </svg>
159
+ <div class="chart-container" bind:clientWidth={context.chartWidth} bind:clientHeight={context.chartHeight}>
160
+ <svg class="chart" viewBox="0 0 {context.chartWidth} {context.chartHeight}" bind:this={context.chartRef}>
161
+ {@render children(context)}
162
+
163
+ {#if xGrid}
164
+ <ChartXGrid />
165
+ {/if}
166
+
167
+ {#if yGrid}
168
+ <ChartYGrid />
169
+ {/if}
170
+ </svg>
171
+ </div>
179
172
 
180
173
  {#if isBrowser() && withTooltip && context.chartRef}
181
174
  <NewChartTooltip {...tooltipProps} />
@@ -209,9 +202,9 @@
209
202
  --chart-grid-color: rgba(105, 105, 105, 0.6);
210
203
  }
211
204
 
212
- .chart {
205
+ .chart-container {
213
206
  grid-area: chart;
214
- overflow: visible;
207
+ overflow: hidden;
215
208
  }
216
209
 
217
210
  .y-axis-container {
@@ -1,4 +1,5 @@
1
+ export { CreateFloating } from './CreateFloating.svelte.js';
1
2
  export { default as FloatingArrow } from './FloatingArrow.svelte';
2
3
  export { getFloatingPosition } from './get-floating-position.js';
3
- export { DelayedHover } from './use-delayed-hover.svelte';
4
4
  export type { ArrowPosition, FloatingAxesOffsets, FloatingPlacement, FloatingPosition, FloatingSide, FloatingStrategy } from './types.js';
5
+ export { DelayedHover } from './use-delayed-hover.svelte';
@@ -1,3 +1,4 @@
1
+ export { CreateFloating } from './CreateFloating.svelte.js';
1
2
  export { default as FloatingArrow } from './FloatingArrow.svelte';
2
3
  export { getFloatingPosition } from './get-floating-position.js';
3
4
  export { DelayedHover } from './use-delayed-hover.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reburn-ui",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -55,7 +55,7 @@
55
55
  "@iconify/json": "^2.2.366",
56
56
  "@iconify/tools": "^4.1.2",
57
57
  "@iconify/types": "^2.0.0",
58
- "@iconify/utils": "^2.3.0",
58
+ "@iconify/utils": "^3.0.0",
59
59
  "attr-accept": "^2.2.5",
60
60
  "d3": "^7.9.0",
61
61
  "dayjs": "^1.11.13",
@@ -68,7 +68,7 @@
68
68
  "@eslint/compat": "^1.3.1",
69
69
  "@eslint/js": "^9.32.0",
70
70
  "@sveltejs/adapter-auto": "^6.0.1",
71
- "@sveltejs/kit": "^2.27.0",
71
+ "@sveltejs/kit": "^2.27.1",
72
72
  "@sveltejs/package": "^2.4.0",
73
73
  "@sveltejs/vite-plugin-svelte": "^6.1.0",
74
74
  "@types/bun": "^1.2.19",
@@ -83,7 +83,7 @@
83
83
  "postcss-preset-mantine": "^1.18.0",
84
84
  "postcss-simple-vars": "^7.0.1",
85
85
  "publint": "^0.3.12",
86
- "sass-embedded": "^1.89.2",
86
+ "sass-embedded": "^1.90.0",
87
87
  "sonda": "^0.9.0",
88
88
  "svelte": "^5.37.3",
89
89
  "svelte-check": "^4.3.1",