@onereach/ui-components 2.68.1-beta.2071.0 → 2.68.1
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/{OrCardCollection-a9a779ea.js → OrCardCollection-dac9fd1e.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-ff57274f.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-4b82eb59.js} +4 -4
- package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-e34afaee.js} +1 -1
- package/dist/bundled/v2/{OrSelect-f37e751b.js → OrSelect-a2dbc872.js} +3 -3
- package/dist/bundled/v2/components/index.js +6 -6
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/bundled/v2/hooks/index.js +1 -1
- package/dist/bundled/v2/index.js +7 -7
- package/dist/bundled/v2/{useOverflow-43299d81.js → useOverflow-dc93a300.js} +10 -6
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-7a07be47.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-2e7fa659.js} +1 -1
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-e97211bb.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-1d2a20e0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c74a63e1.js → OrSelect.vue_vue_type_script_lang-619d6eb7.js} +2 -2
- package/dist/bundled/v3/components/index.js +6 -6
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/bundled/v3/hooks/index.js +1 -1
- package/dist/bundled/v3/index.js +12 -12
- package/dist/bundled/v3/{useOverflow-2468b718.js → useOverflow-06bcc7d7.js} +10 -6
- package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-e46b220e.js} +1 -1
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-74e21c56.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-b8a1627f.js} +4 -4
- package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-0c0d1773.js} +1 -1
- package/dist/esm/v2/{OrSelect-528c7480.js → OrSelect-acc13b49.js} +3 -3
- package/dist/esm/v2/components/index.js +6 -6
- package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/index.js +6 -6
- package/dist/esm/{v3/useOverflow-ac506c65.js → v2/useOverflow-a3dc6212.js} +10 -6
- package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-5924d035.js} +1 -1
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-a3f312a6.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-e2ac1182.js} +1 -1
- package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-01225d82.js} +1 -1
- package/dist/esm/v3/{OrSelect-d9c76482.js → OrSelect-fbf4a140.js} +3 -3
- package/dist/esm/v3/components/index.js +6 -6
- package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/index.js +6 -6
- package/dist/esm/{v2/useOverflow-ac506c65.js → v3/useOverflow-a3dc6212.js} +10 -6
- package/package.json +3 -2
- package/src/components/or-input-v3/OrInput.vue +1 -1
- package/src/components/or-select-v3/OrSelect.vue +1 -1
- package/src/components/or-tag-v3/OrTag.stories3.ts +112 -0
- package/src/hooks/useOverflow.ts +5 -2
|
@@ -14,12 +14,16 @@ function useOverflow(container) {
|
|
|
14
14
|
innerItems,
|
|
15
15
|
outerItems
|
|
16
16
|
}, child) => {
|
|
17
|
-
const item = child
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
const item = child;
|
|
18
|
+
const {
|
|
19
|
+
x: itemOffset,
|
|
20
|
+
width: itemWidth
|
|
21
|
+
} = item.getBoundingClientRect();
|
|
22
|
+
const {
|
|
23
|
+
x: containerOffset,
|
|
24
|
+
width: containerWidth
|
|
25
|
+
} = container.getBoundingClientRect();
|
|
26
|
+
if (itemOffset + itemWidth >= containerOffset + containerWidth) {
|
|
23
27
|
item.style.setProperty('visibility', 'hidden');
|
|
24
28
|
return {
|
|
25
29
|
innerItems,
|
|
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { _ as __vue_component__$1 } from './OrCard-de799db0.js';
|
|
5
5
|
import { _ as __vue_component__$2 } from './OrIconButton-e17e4944.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
|
|
7
7
|
import { _ as __vue_component__$4 } from './OrSortHeader-19bf94ca.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-357a5756.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -301,7 +301,7 @@ var __vue_render__ = function () {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
|
|
304
|
-
class: ['layout-row']
|
|
304
|
+
class: ['layout-row', 'm-[-4px] md:m-[-2px]']
|
|
305
305
|
}, [_vm.type === 'password' ? [_c('OrIconButton', {
|
|
306
306
|
attrs: {
|
|
307
307
|
"icon": {
|
|
@@ -363,14 +363,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
363
363
|
/* style */
|
|
364
364
|
const __vue_inject_styles__ = function (inject) {
|
|
365
365
|
if (!inject) return;
|
|
366
|
-
inject("data-v-
|
|
367
|
-
source: "input[data-v-
|
|
366
|
+
inject("data-v-2f46aeca_0", {
|
|
367
|
+
source: "input[data-v-2f46aeca]{min-width:0;background:0 0;outline:0}input[type=number][data-v-2f46aeca]::-webkit-inner-spin-button{display:none}input[type=search][data-v-2f46aeca]::-webkit-search-cancel-button{display:none}",
|
|
368
368
|
map: undefined,
|
|
369
369
|
media: undefined
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
372
|
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = "data-v-
|
|
373
|
+
const __vue_scope_id__ = "data-v-2f46aeca";
|
|
374
374
|
/* module identifier */
|
|
375
375
|
const __vue_module_identifier__ = undefined;
|
|
376
376
|
/* functional template */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrInput-b8a1627f.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-4d5a318d.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { u as useOverflow } from './useOverflow-
|
|
4
|
+
import { u as useOverflow } from './useOverflow-a3dc6212.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import { _ as __vue_component__$1 } from './OrCheckbox-567e387c.js';
|
|
7
7
|
import { _ as __vue_component__$2 } from './OrError-d267ee9a.js';
|
|
@@ -9,7 +9,7 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-968ddc61.js';
|
|
|
9
9
|
import { _ as __vue_component__$4 } from './OrHint-42dc9ebb.js';
|
|
10
10
|
import { _ as __vue_component__$5 } from './OrIcon-5e394c62.js';
|
|
11
11
|
import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-4d5a318d.js';
|
|
12
|
-
import { _ as __vue_component__$6 } from './OrInput-
|
|
12
|
+
import { _ as __vue_component__$6 } from './OrInput-b8a1627f.js';
|
|
13
13
|
import { _ as __vue_component__$8 } from './OrLabel-2a9f1477.js';
|
|
14
14
|
import { _ as __vue_component__$9 } from './OrMenuItem-c7f28480.js';
|
|
15
15
|
import { _ as __vue_component__$a } from './OrPopover-9bafbdb4.js';
|
|
@@ -370,7 +370,7 @@ var __vue_render__ = function () {
|
|
|
370
370
|
})]] : [_c('span', {
|
|
371
371
|
class: _vm.placeholderStyles
|
|
372
372
|
}, [_vm._v(_vm._s(_vm.placeholder))])]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
|
|
373
|
-
class: ['layout-row']
|
|
373
|
+
class: ['layout-row', 'm-[-4px] md:m-[-2px]']
|
|
374
374
|
}, [_c('OrIcon', {
|
|
375
375
|
attrs: {
|
|
376
376
|
"icon": _vm.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-357a5756.js';
|
|
9
9
|
export { _ as OrCard } from '../OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-f6b07557.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-e46b220e.js';
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-41dd5f9b.js';
|
|
|
19
19
|
export { _ as OrCollapse } from '../OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-74e21c56.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from '../OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-782dd714.js';
|
|
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-cfe
|
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-b47cfc2d.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-897b5377.js';
|
|
39
39
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-4d5a318d.js';
|
|
40
|
-
export { I as InputType, _ as OrInputV3 } from '../OrInput-
|
|
40
|
+
export { I as InputType, _ as OrInputV3 } from '../OrInput-b8a1627f.js';
|
|
41
41
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-1fa97156.js';
|
|
42
42
|
export { _ as OrInput } from '../OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
|
|
43
43
|
export { _ as OrSearch } from '../OrSearch-0589d17d.js';
|
|
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
63
63
|
export { _ as OrRadio } from '../OrRadio-e4198532.js';
|
|
64
64
|
export { _ as OrRadioGroup } from '../OrRadioGroup-d9d32cba.js';
|
|
65
65
|
export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from '../OrSearch-0c0d1773.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from '../OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from '../OrSelect-acc13b49.js';
|
|
70
70
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
|
|
71
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
|
|
@@ -121,6 +121,6 @@ import '../useElevation-31bfe1f6.js';
|
|
|
121
121
|
import '../useResponsive-a02e95b7.js';
|
|
122
122
|
import '@vueuse/integrations/useFocusTrap';
|
|
123
123
|
import '../dropdown-open-0d314aa4.js';
|
|
124
|
-
import '../useOverflow-
|
|
124
|
+
import '../useOverflow-a3dc6212.js';
|
|
125
125
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
126
126
|
import 'portal-vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-e46b220e.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -15,7 +15,7 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
15
15
|
import '../../OrOverlay-18ba2dc6.js';
|
|
16
16
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
17
17
|
import 'portal-vue';
|
|
18
|
-
import '../../OrInput-
|
|
18
|
+
import '../../OrInput-b8a1627f.js';
|
|
19
19
|
import '../../OrError-d267ee9a.js';
|
|
20
20
|
import '../../OrHint-42dc9ebb.js';
|
|
21
21
|
import '../../OrInputBox-4d5a318d.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-74e21c56.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-357a5756.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -9,7 +9,7 @@ import '../../OrOverlay-18ba2dc6.js';
|
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
11
11
|
import 'portal-vue';
|
|
12
|
-
import '../../OrInput-
|
|
12
|
+
import '../../OrInput-b8a1627f.js';
|
|
13
13
|
import '../../OrError-d267ee9a.js';
|
|
14
14
|
import '../../OrHint-42dc9ebb.js';
|
|
15
15
|
import '../../OrIconButton-e17e4944.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, _ as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, _ as OrInputV3 } from '../../OrInput-b8a1627f.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { _ as OrSearchV3 } from '../../OrSearch-0c0d1773.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-b8a1627f.js';
|
|
7
7
|
import '../../OrError-d267ee9a.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../../OrHint-42dc9ebb.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-acc13b49.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-4d5a318d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../useOverflow-
|
|
6
|
+
import '../../useOverflow-a3dc6212.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
8
|
import '../../OrCheckbox-567e387c.js';
|
|
9
9
|
import '../../OrLabel-2a9f1477.js';
|
|
@@ -13,7 +13,7 @@ import '../../OrError-d267ee9a.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-968ddc61.js';
|
|
14
14
|
import '../../OrIcon-5e394c62.js';
|
|
15
15
|
import '../../OrHint-42dc9ebb.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-b8a1627f.js';
|
|
17
17
|
import '../../OrIconButton-e17e4944.js';
|
|
18
18
|
import '../../OrTooltip-513bee30.js';
|
|
19
19
|
import '../../OrPopover-9bafbdb4.js';
|
|
@@ -15,3 +15,8 @@ export declare const WithCustomColor: StoryFn<import("vue").ComponentOptions<imp
|
|
|
15
15
|
} | string[], {} & {}, {
|
|
16
16
|
[x: number]: string;
|
|
17
17
|
} | {}, true>)>;
|
|
18
|
+
export declare const InsideContainer: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
+
} | string[], {} & {}, {
|
|
21
|
+
[x: number]: string;
|
|
22
|
+
} | {}, true>)>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { u as useClassAttribute } from '../useClassAttribute-47fdb016.js';
|
|
2
2
|
export { u as useElevation } from '../useElevation-31bfe1f6.js';
|
|
3
|
-
export { u as useOverflow } from '../useOverflow-
|
|
3
|
+
export { u as useOverflow } from '../useOverflow-a3dc6212.js';
|
|
4
4
|
export { u as useResponsive } from '../useResponsive-a02e95b7.js';
|
|
5
5
|
export { u as useToggle } from '../useToggle-29e4d7c7.js';
|
|
6
6
|
import 'vue-demi';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-357a5756.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-e46b220e.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-41dd5f9b.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-74e21c56.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
|
|
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-cfee
|
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-897b5377.js';
|
|
39
39
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-4d5a318d.js';
|
|
40
|
-
export { I as InputType, _ as OrInputV3 } from './OrInput-
|
|
40
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-b8a1627f.js';
|
|
41
41
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-1fa97156.js';
|
|
42
42
|
export { _ as OrInput } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
|
|
43
43
|
export { _ as OrSearch } from './OrSearch-0589d17d.js';
|
|
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
63
63
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
64
64
|
export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
|
|
65
65
|
export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from './OrSearch-0c0d1773.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
68
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from './OrSelect-acc13b49.js';
|
|
70
70
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
71
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -98,7 +98,7 @@ export { _ as OrTooltipV3 } from './OrTooltip-513bee30.js';
|
|
|
98
98
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
99
99
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
100
100
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
101
|
-
export { u as useOverflow } from './useOverflow-
|
|
101
|
+
export { u as useOverflow } from './useOverflow-a3dc6212.js';
|
|
102
102
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
103
103
|
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
104
104
|
import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
|
|
@@ -14,12 +14,16 @@ function useOverflow(container) {
|
|
|
14
14
|
innerItems,
|
|
15
15
|
outerItems
|
|
16
16
|
}, child) => {
|
|
17
|
-
const item = child
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
const item = child;
|
|
18
|
+
const {
|
|
19
|
+
x: itemOffset,
|
|
20
|
+
width: itemWidth
|
|
21
|
+
} = item.getBoundingClientRect();
|
|
22
|
+
const {
|
|
23
|
+
x: containerOffset,
|
|
24
|
+
width: containerWidth
|
|
25
|
+
} = container.getBoundingClientRect();
|
|
26
|
+
if (itemOffset + itemWidth >= containerOffset + containerWidth) {
|
|
23
27
|
item.style.setProperty('visibility', 'hidden');
|
|
24
28
|
return {
|
|
25
29
|
innerItems,
|
|
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1 } from './OrCard-fd92f7c8.js';
|
|
5
5
|
import { s as script$2 } from './OrIconButton-1eebcafc.js';
|
|
6
|
-
import { s as script$3 } from './OrInput-
|
|
6
|
+
import { s as script$3 } from './OrInput-e2ac1182.js';
|
|
7
7
|
import { s as script$4 } from './OrSortHeader-fe1a9cf8.js';
|
|
8
8
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { s as script$2, a as ButtonColor } from './OrButton-f4b9ee51.js';
|
|
3
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
|
-
import { s as script$3 } from './OrInput-
|
|
4
|
+
import { s as script$3 } from './OrInput-e2ac1182.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
@@ -145,7 +145,7 @@ var script = defineComponent({
|
|
|
145
145
|
|
|
146
146
|
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
147
147
|
const _hoisted_2 = {
|
|
148
|
-
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
148
|
+
class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
|
|
149
149
|
};
|
|
150
150
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151
151
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
+
import { s as script$1 } from './OrInput-e2ac1182.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-5247ab25.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { u as useOverflow } from './useOverflow-
|
|
4
|
+
import { u as useOverflow } from './useOverflow-a3dc6212.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import { s as script$1 } from './OrCheckbox-3e139eac.js';
|
|
7
7
|
import { s as script$2 } from './OrError-ec8c709d.js';
|
|
@@ -9,7 +9,7 @@ import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
|
|
|
9
9
|
import { s as script$4 } from './OrHint-74bb732d.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b195169c.js';
|
|
11
11
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-5247ab25.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-e2ac1182.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
@@ -288,7 +288,7 @@ var script = defineComponent({
|
|
|
288
288
|
|
|
289
289
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
290
290
|
const _hoisted_2 = {
|
|
291
|
-
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
291
|
+
class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
|
|
292
292
|
};
|
|
293
293
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
294
294
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-f4b9ee51.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../OrCardCollection-5924d035.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from '../OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-a3f312a6.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
@@ -34,7 +34,7 @@ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-310
|
|
|
34
34
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
35
35
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-b28c3d8c.js';
|
|
36
36
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-5247ab25.js';
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
37
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-e2ac1182.js';
|
|
38
38
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
|
|
39
39
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
40
40
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
|
|
@@ -58,10 +58,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
58
58
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
61
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from '../OrSearch-01225d82.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
63
63
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
64
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
64
|
+
export { s as OrSelectV3 } from '../OrSelect-fbf4a140.js';
|
|
65
65
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
66
66
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
67
67
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -115,4 +115,4 @@ import '../useElevation-31bfe1f6.js';
|
|
|
115
115
|
import '../useResponsive-a02e95b7.js';
|
|
116
116
|
import '@vueuse/integrations/useFocusTrap';
|
|
117
117
|
import '../dropdown-open-0d314aa4.js';
|
|
118
|
-
import '../useOverflow-
|
|
118
|
+
import '../useOverflow-a3dc6212.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from '../../OrCardCollection-5924d035.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -14,7 +14,7 @@ import '../../useResponsive-a02e95b7.js';
|
|
|
14
14
|
import '../../OrBottomSheet-62817aec.js';
|
|
15
15
|
import '../../OrOverlay-738a44d5.js';
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
|
-
import '../../OrInput-
|
|
17
|
+
import '../../OrInput-e2ac1182.js';
|
|
18
18
|
import '../../OrError-ec8c709d.js';
|
|
19
19
|
import '../../OrHint-74bb732d.js';
|
|
20
20
|
import '../../OrInputBox-5247ab25.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-a3f312a6.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-f4b9ee51.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -8,7 +8,7 @@ import 'vue';
|
|
|
8
8
|
import '../../OrOverlay-738a44d5.js';
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
11
|
-
import '../../OrInput-
|
|
11
|
+
import '../../OrInput-e2ac1182.js';
|
|
12
12
|
import '../../OrError-ec8c709d.js';
|
|
13
13
|
import '../../OrHint-74bb732d.js';
|
|
14
14
|
import '../../OrIconButton-1eebcafc.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-e2ac1182.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-5247ab25.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-01225d82.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-5247ab25.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-e2ac1182.js';
|
|
7
7
|
import '../../OrError-ec8c709d.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import '../../OrHint-74bb732d.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-fbf4a140.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-5247ab25.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../useOverflow-
|
|
6
|
+
import '../../useOverflow-a3dc6212.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
8
|
import '../../OrCheckbox-3e139eac.js';
|
|
9
9
|
import '../../OrLabel-bdaec602.js';
|
|
@@ -13,7 +13,7 @@ import '../../OrError-ec8c709d.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-311e64cf.js';
|
|
14
14
|
import '../../OrIcon-b195169c.js';
|
|
15
15
|
import '../../OrHint-74bb732d.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-e2ac1182.js';
|
|
17
17
|
import '../../OrIconButton-1eebcafc.js';
|
|
18
18
|
import '../../OrTooltip-50d27b4f.js';
|
|
19
19
|
import '../../OrPopover-1075dd38.js';
|
|
@@ -15,3 +15,8 @@ export declare const WithCustomColor: StoryFn<import("vue").ComponentOptions<imp
|
|
|
15
15
|
} | string[], {} & {}, {
|
|
16
16
|
[x: number]: string;
|
|
17
17
|
} | {}, true>)>;
|
|
18
|
+
export declare const InsideContainer: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
+
} | string[], {} & {}, {
|
|
21
|
+
[x: number]: string;
|
|
22
|
+
} | {}, true>)>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { u as useClassAttribute } from '../useClassAttribute-47fdb016.js';
|
|
2
2
|
export { u as useElevation } from '../useElevation-31bfe1f6.js';
|
|
3
|
-
export { u as useOverflow } from '../useOverflow-
|
|
3
|
+
export { u as useOverflow } from '../useOverflow-a3dc6212.js';
|
|
4
4
|
export { u as useResponsive } from '../useResponsive-a02e95b7.js';
|
|
5
5
|
export { u as useToggle } from '../useToggle-29e4d7c7.js';
|
|
6
6
|
import 'vue-demi';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-f4b9ee51.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-5924d035.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-a3f312a6.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
|
|
@@ -34,7 +34,7 @@ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-3102
|
|
|
34
34
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
35
35
|
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-b28c3d8c.js';
|
|
36
36
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-5247ab25.js';
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
37
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-e2ac1182.js';
|
|
38
38
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
39
39
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
40
40
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
|
|
@@ -58,10 +58,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
58
58
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
61
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from './OrSearch-01225d82.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
63
63
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
64
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
64
|
+
export { s as OrSelectV3 } from './OrSelect-fbf4a140.js';
|
|
65
65
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
66
66
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
67
67
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -92,7 +92,7 @@ export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
|
|
|
92
92
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
93
93
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
94
94
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
95
|
-
export { u as useOverflow } from './useOverflow-
|
|
95
|
+
export { u as useOverflow } from './useOverflow-a3dc6212.js';
|
|
96
96
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
97
97
|
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
98
98
|
import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
|
|
@@ -14,12 +14,16 @@ function useOverflow(container) {
|
|
|
14
14
|
innerItems,
|
|
15
15
|
outerItems
|
|
16
16
|
}, child) => {
|
|
17
|
-
const item = child
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
const item = child;
|
|
18
|
+
const {
|
|
19
|
+
x: itemOffset,
|
|
20
|
+
width: itemWidth
|
|
21
|
+
} = item.getBoundingClientRect();
|
|
22
|
+
const {
|
|
23
|
+
x: containerOffset,
|
|
24
|
+
width: containerWidth
|
|
25
|
+
} = container.getBoundingClientRect();
|
|
26
|
+
if (itemOffset + itemWidth >= containerOffset + containerWidth) {
|
|
23
27
|
item.style.setProperty('visibility', 'hidden');
|
|
24
28
|
return {
|
|
25
29
|
innerItems,
|