@funnest/charts-ui 0.11.4 → 0.11.5

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 (2) hide show
  1. package/dist/index.js +13 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3108,7 +3108,10 @@ function usePageLayer(anchor, settings) {
3108
3108
  }
3109
3109
  function Info({ text }) {
3110
3110
  return /* @__PURE__ */ a3("span", { class: "fnc-info", tabIndex: 0, role: "img", "aria-label": text, onClick: (e3) => e3.preventDefault(), children: [
3111
- "i",
3111
+ /* @__PURE__ */ a3("svg", { width: "18", height: "18", viewBox: "0 0 18 18", "aria-hidden": "true", children: [
3112
+ /* @__PURE__ */ a3("circle", { cx: "9", cy: "5.6", r: "1.25", fill: "currentColor" }),
3113
+ /* @__PURE__ */ a3("rect", { x: "8", y: "7.9", width: "2", height: "5.6", rx: "1", fill: "currentColor" })
3114
+ ] }),
3112
3115
  /* @__PURE__ */ a3("span", { class: "fnc-info-tip", "aria-hidden": "true", children: text })
3113
3116
  ] });
3114
3117
  }
@@ -6222,9 +6225,12 @@ var CSS = (
6222
6225
  .fnc-dialog.fnc-settings-dialog { width: min(940px, calc(100% - 32px)); height: min(660px, 100%); max-height: none; }
6223
6226
  .fnc-settings-body { display: flex; flex: 1; min-height: 0; }
6224
6227
  .fnc-settings-side { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; border-right: 1px solid var(--fnc-border); }
6225
- .fnc-settings-side .fnc-settings-tabs { flex: none; justify-content: center; justify-content: safe center; gap: 4px; padding: 10px 16px; }
6226
- /* The tabs as wide as their words (the pill hugs the label), the row of them in the middle. */
6228
+ /* The tabs as wide as their words (the pill hugs the label), from the left: the first word starts
6229
+ where the sections' titles (\uD14C\uB9C8, \uCE94\uB4E4\u2026) do \u2014 the row has the form's side padding, and the first
6230
+ pill reaches left by its own padding. */
6231
+ .fnc-settings-side .fnc-settings-tabs { flex: none; gap: 4px; padding: 10px 20px; }
6227
6232
  .fnc-settings-tabs .fnc-tab { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0 14px; }
6233
+ .fnc-settings-tabs .fnc-tab:first-child { margin-left: -14px; }
6228
6234
  .fnc-root .fnc-dialog form.fnc-settings-form { flex: 1; min-height: 0; overflow-y: auto; }
6229
6235
  .fnc-settings-preview { display: flex; flex-direction: column; gap: 8px; flex: 1.2 1 0; min-width: 0; padding: 20px; }
6230
6236
  .fnc-settings-preview-chart { position: relative; flex: 1; min-height: 160px; border: 1px solid var(--fnc-border); border-radius: 12px; overflow: hidden; }
@@ -6233,8 +6239,9 @@ var CSS = (
6233
6239
  .fnc-backdrop:has(> .fnc-settings-dialog) { padding: 0; align-items: stretch; }
6234
6240
  .fnc-dialog.fnc-settings-dialog { width: 100%; height: 100%; border-radius: 0; }
6235
6241
  .fnc-settings-dialog .fnc-dialog-head { height: 44px; }
6236
- .fnc-settings-side .fnc-settings-tabs { padding: 6px 12px; }
6242
+ .fnc-settings-side .fnc-settings-tabs { padding: 6px 16px; }
6237
6243
  .fnc-settings-tabs .fnc-tab { padding: 0 12px; }
6244
+ .fnc-settings-tabs .fnc-tab:first-child { margin-left: -12px; }
6238
6245
  .fnc-settings-preview { padding: 8px 12px; }
6239
6246
  .fnc-settings-preview .fnc-section, .fnc-settings-preview .fnc-toggle-hint { display: none; }
6240
6247
  .fnc-settings-preview-chart .fnc-ranges { display: none; }
@@ -6258,9 +6265,6 @@ var CSS = (
6258
6265
  border-radius: 50%;
6259
6266
  background: var(--fnc-surface);
6260
6267
  color: var(--fnc-text-2);
6261
- font-size: 11px;
6262
- font-weight: 700;
6263
- line-height: 1;
6264
6268
  cursor: help;
6265
6269
  }
6266
6270
  .fnc-info:focus-visible { outline: 2px solid var(--fnc-accent); outline-offset: 2px; }
@@ -6300,8 +6304,9 @@ var CSS = (
6300
6304
  .fnc-settings-preview-chart { flex: none; height: clamp(170px, 34dvh, 280px); min-height: 0; }
6301
6305
  .fnc-settings-preview-chart .fnc-ranges { display: none; }
6302
6306
  .fnc-settings-side { flex: 1; min-height: 0; border-right: 0; }
6303
- .fnc-settings-side .fnc-settings-tabs { padding: 8px 12px; }
6307
+ .fnc-settings-side .fnc-settings-tabs { padding: 8px 20px; }
6304
6308
  .fnc-settings-tabs .fnc-tab { padding: 0 12px; }
6309
+ .fnc-settings-tabs .fnc-tab:first-child { margin-left: -12px; }
6305
6310
  .fnc-form-actions.fnc-settings-actions { padding: 8px 16px; }
6306
6311
  }
6307
6312
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnest/charts-ui",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "Pro trading UI (toolbar, drawing tools, sheets) for Funnest Charts. Framework-agnostic.",
5
5
  "keywords": [
6
6
  "chart",
@@ -42,7 +42,7 @@
42
42
  "NOTICE"
43
43
  ],
44
44
  "dependencies": {
45
- "@funnest/charts": "0.11.4"
45
+ "@funnest/charts": "0.11.5"
46
46
  },
47
47
  "devDependencies": {
48
48
  "preact": "^11.2.0"