@onereach/ui-components 8.21.2-beta.4043.0 → 8.21.2-beta.4046.0
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/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-65ab0ac8.js → OrSelectV3-235ead67.js} +1 -1
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrSelect-97fdeda6.js → OrSelect-ef65f3e7.js} +1 -1
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrSelect-a72c3f2a.js → OrSelect-7650b722.js} +1 -1
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +1 -1
- package/src/components/or-select-v3/OrSelect.vue +6 -1
|
@@ -805,7 +805,7 @@ var script = defineComponent({
|
|
|
805
805
|
}
|
|
806
806
|
function focus() {
|
|
807
807
|
if (enableSearch.value) {
|
|
808
|
-
const controlInstance = multiple.value ? multipleControl.value : singleControl.value;
|
|
808
|
+
const controlInstance = isMobile.value ? searchControl.value : multiple.value ? multipleControl.value : singleControl.value;
|
|
809
809
|
if (controlInstance) {
|
|
810
810
|
controlInstance.focus();
|
|
811
811
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrSelectV3-
|
|
1
|
+
export { s as default } from '../OrSelectV3-235ead67.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../OrSelectV3-
|
|
1
|
+
export { s as OrSelectV3 } from '../OrSelectV3-235ead67.js';
|
|
2
2
|
export { I as SelectSize } from '../OrInputBoxV3-ddd117f0.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { S as Select, a as SelectControl, c as SelectDropdown, d as SelectDropdownDefault, e as SelectDropdownFlipped, f as SelectDropdownItem, g as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-
|
|
1
|
+
export { S as Select, a as SelectControl, c as SelectDropdown, d as SelectDropdownDefault, e as SelectDropdownFlipped, f as SelectDropdownItem, g as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-235ead67.js';
|
|
@@ -727,7 +727,7 @@ var script = defineComponent({
|
|
|
727
727
|
}
|
|
728
728
|
function focus() {
|
|
729
729
|
if (enableSearch.value) {
|
|
730
|
-
const controlInstance = multiple.value ? multipleControl.value : singleControl.value;
|
|
730
|
+
const controlInstance = isMobile.value ? searchControl.value : multiple.value ? multipleControl.value : singleControl.value;
|
|
731
731
|
if (controlInstance) {
|
|
732
732
|
controlInstance.focus();
|
|
733
733
|
}
|
|
@@ -86,7 +86,7 @@ export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
|
86
86
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
87
87
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-56862f95.js';
|
|
88
88
|
export { s as OrSelect } from './OrSelect-ab9e3084.js';
|
|
89
|
-
export { s as OrSelectV3 } from './OrSelectV3-
|
|
89
|
+
export { s as OrSelectV3 } from './OrSelectV3-235ead67.js';
|
|
90
90
|
export { OrSidebar, OrSidebarSide } from './OrSidebar/index.js';
|
|
91
91
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './OrSidebarV3-d089ce77.js';
|
|
92
92
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeleton-6b7c940e.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -46,7 +46,7 @@ export { s as OrRatingV3 } from './components/OrRatingV3-b6b47938.js';
|
|
|
46
46
|
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-8f5b6fef.js';
|
|
47
47
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './components/OrSegmentedControlV3-56862f95.js';
|
|
48
48
|
export { s as OrSelect } from './components/OrSelect-ab9e3084.js';
|
|
49
|
-
export { s as OrSelectV3 } from './components/OrSelectV3-
|
|
49
|
+
export { s as OrSelectV3 } from './components/OrSelectV3-235ead67.js';
|
|
50
50
|
export { OrSidebar, OrSidebarSide } from './components/OrSidebar/index.js';
|
|
51
51
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './components/OrSidebarV3-d089ce77.js';
|
|
52
52
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './components/OrSkeleton-6b7c940e.js';
|
|
@@ -308,7 +308,7 @@ var script = defineComponent({
|
|
|
308
308
|
}
|
|
309
309
|
function focus() {
|
|
310
310
|
if (enableSearch.value) {
|
|
311
|
-
const controlInstance = multiple.value ? multipleControl.value : singleControl.value;
|
|
311
|
+
const controlInstance = isMobile.value ? searchControl.value : multiple.value ? multipleControl.value : singleControl.value;
|
|
312
312
|
if (controlInstance) {
|
|
313
313
|
controlInstance.focus();
|
|
314
314
|
}
|
|
@@ -104,7 +104,7 @@ export { _ as OrSearch } from '../OrSearch-ddf244e6.js';
|
|
|
104
104
|
export { _ as OrSearchV3 } from '../OrSearch-6d3aa4d5.js';
|
|
105
105
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-00583234.js';
|
|
106
106
|
export { _ as OrSelect } from '../OrSelect-d271f7a3.js';
|
|
107
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
107
|
+
export { _ as OrSelectV3 } from '../OrSelect-ef65f3e7.js';
|
|
108
108
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-054b26c6.js';
|
|
109
109
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-5cd4cbbb.js';
|
|
110
110
|
export { _ as OrSkeletonCircle } from '../OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-ef65f3e7.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -104,7 +104,7 @@ export { _ as OrSearch } from './OrSearch-ddf244e6.js';
|
|
|
104
104
|
export { _ as OrSearchV3 } from './OrSearch-6d3aa4d5.js';
|
|
105
105
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-00583234.js';
|
|
106
106
|
export { _ as OrSelect } from './OrSelect-d271f7a3.js';
|
|
107
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
107
|
+
export { _ as OrSelectV3 } from './OrSelect-ef65f3e7.js';
|
|
108
108
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-054b26c6.js';
|
|
109
109
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-5cd4cbbb.js';
|
|
110
110
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -307,7 +307,7 @@ var script = defineComponent({
|
|
|
307
307
|
}
|
|
308
308
|
function focus() {
|
|
309
309
|
if (enableSearch.value) {
|
|
310
|
-
const controlInstance = multiple.value ? multipleControl.value : singleControl.value;
|
|
310
|
+
const controlInstance = isMobile.value ? searchControl.value : multiple.value ? multipleControl.value : singleControl.value;
|
|
311
311
|
if (controlInstance) {
|
|
312
312
|
controlInstance.focus();
|
|
313
313
|
}
|
|
@@ -100,7 +100,7 @@ export { s as OrSearch } from '../OrSearch-aa57d4e8.js';
|
|
|
100
100
|
export { s as OrSearchV3 } from '../OrSearch-cf97d185.js';
|
|
101
101
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-adbf7f4e.js';
|
|
102
102
|
export { s as OrSelect } from '../OrSelect-a366e668.js';
|
|
103
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
103
|
+
export { s as OrSelectV3 } from '../OrSelect-7650b722.js';
|
|
104
104
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-4ab42b93.js';
|
|
105
105
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-9ac13d35.js';
|
|
106
106
|
export { s as OrSkeletonCircle } from '../OrSkeletonCircle-66e175a0.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -100,7 +100,7 @@ export { s as OrSearch } from './OrSearch-aa57d4e8.js';
|
|
|
100
100
|
export { s as OrSearchV3 } from './OrSearch-cf97d185.js';
|
|
101
101
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-adbf7f4e.js';
|
|
102
102
|
export { s as OrSelect } from './OrSelect-a366e668.js';
|
|
103
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
103
|
+
export { s as OrSelectV3 } from './OrSelect-7650b722.js';
|
|
104
104
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-4ab42b93.js';
|
|
105
105
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-9ac13d35.js';
|
|
106
106
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
package/package.json
CHANGED
|
@@ -569,7 +569,12 @@ export default defineComponent({
|
|
|
569
569
|
|
|
570
570
|
function focus(): void {
|
|
571
571
|
if (enableSearch.value) {
|
|
572
|
-
const controlInstance =
|
|
572
|
+
const controlInstance = isMobile.value
|
|
573
|
+
? searchControl.value
|
|
574
|
+
: multiple.value
|
|
575
|
+
? multipleControl.value
|
|
576
|
+
: singleControl.value;
|
|
577
|
+
|
|
573
578
|
if (controlInstance) {
|
|
574
579
|
(controlInstance.focus as () => void)();
|
|
575
580
|
}
|