@finmars/ui 1.0.45 → 1.0.46

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.
@@ -17054,6 +17054,7 @@ const Y6 = /* @__PURE__ */ ft({
17054
17054
  rules: {},
17055
17055
  focused: { type: Boolean },
17056
17056
  loading: { type: Boolean },
17057
+ scrollStrategy: { default: "block" },
17057
17058
  noDataText: {},
17058
17059
  disabled: { type: Boolean }
17059
17060
  },
@@ -17087,7 +17088,7 @@ const Y6 = /* @__PURE__ */ ft({
17087
17088
  height: 200,
17088
17089
  offset: "6",
17089
17090
  "item-size": k.itemSize,
17090
- "scroll-strategy": "none",
17091
+ "scroll-strategy": k.scrollStrategy,
17091
17092
  disabled: k.disabled,
17092
17093
  "onClick:item": E(g),
17093
17094
  "onMenu:keydown": E(y)
@@ -17149,7 +17150,7 @@ const Y6 = /* @__PURE__ */ ft({
17149
17150
  ]),
17150
17151
  key: "0"
17151
17152
  } : void 0
17152
- ]), 1032, ["modelValue", "id", "items", "item-size", "disabled", "onClick:item", "onMenu:keydown"]));
17153
+ ]), 1032, ["modelValue", "id", "items", "item-size", "scroll-strategy", "disabled", "onClick:item", "onMenu:keydown"]));
17153
17154
  }
17154
17155
  }), q6 = { class: "fm-slider__thumbLabel" }, X6 = {
17155
17156
  __name: "Slider",
@@ -55,6 +55,7 @@ export interface FmSelectProps<T extends any & FmSelectOption, K extends string
55
55
  rules?: Array<(value: T) => boolean | string>;
56
56
  focused?: boolean;
57
57
  loading?: boolean;
58
+ scrollStrategy?: 'close' | 'block' | 'none' | 'reposition';
58
59
  noDataText?: string;
59
60
  disabled?: boolean;
60
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finmars/ui",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "vite dev --config vite.config.dev.js",