@onereach/ui-components 2.69.1-beta.2101.0 → 2.69.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/{OrAvatar-1ada4581.js → OrAvatar-2fa559e1.js} +1 -7
- package/dist/bundled/v2/{OrSelect-759b4410.js → OrSelect-b20a9be0.js} +1 -1
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/components/or-avatar-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-avatar-v3/props.d.ts +1 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v2/hooks/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v2/{useOverflow-dc93a300.js → useOverflow-bae6342f.js} +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-a0a72134.js → OrAvatar.vue_vue_type_script_lang-22e46ce1.js} +1 -7
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-dfadd12f.js → OrSelect.vue_vue_type_script_lang-15285ce4.js} +1 -1
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/components/or-avatar-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-avatar-v3/props.d.ts +1 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +2 -2
- package/dist/bundled/v3/hooks/index.js +1 -1
- package/dist/bundled/v3/index.js +6 -6
- package/dist/bundled/v3/{useOverflow-06bcc7d7.js → useOverflow-6dce216b.js} +1 -1
- package/dist/esm/v2/{OrAvatar-95b029b4.js → OrAvatar-0afdef36.js} +1 -7
- package/dist/esm/v2/{OrSelect-ac382aa6.js → OrSelect-f0ff5a85.js} +1 -1
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-avatar-v3/props.d.ts +1 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v2/{useOverflow-a3dc6212.js → useOverflow-af6161c8.js} +1 -1
- package/dist/esm/v3/{OrAvatar-9ed782da.js → OrAvatar-ef88d31c.js} +1 -7
- package/dist/esm/v3/{OrSelect-fee9c099.js → OrSelect-7e813982.js} +1 -1
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v3/components/or-avatar-v3/props.d.ts +1 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/index.js +3 -3
- package/dist/esm/v3/{useOverflow-a3dc6212.js → useOverflow-af6161c8.js} +1 -1
- package/package.json +3 -2
- package/src/components/or-avatar-v3/props.ts +0 -1
- package/src/components/or-avatar-v3/styles.ts +0 -9
- package/src/hooks/useOverflow.ts +1 -1
|
@@ -24,7 +24,7 @@ function useOverflow(container) {
|
|
|
24
24
|
x: containerOffset,
|
|
25
25
|
width: containerWidth
|
|
26
26
|
} = container.getBoundingClientRect();
|
|
27
|
-
if (itemOffset + itemWidth
|
|
27
|
+
if (itemOffset + itemWidth > containerOffset + containerWidth) {
|
|
28
28
|
item.style.setProperty('visibility', 'hidden');
|
|
29
29
|
return {
|
|
30
30
|
innerItems,
|
|
@@ -8,7 +8,6 @@ var AvatarSize;
|
|
|
8
8
|
AvatarSize["L"] = "l";
|
|
9
9
|
AvatarSize["M"] = "m";
|
|
10
10
|
AvatarSize["S"] = "s";
|
|
11
|
-
AvatarSize["XS"] = "xs";
|
|
12
11
|
})(AvatarSize || (AvatarSize = {}));
|
|
13
12
|
var AvatarColor;
|
|
14
13
|
(function (AvatarColor) {
|
|
@@ -50,12 +49,7 @@ const AvatarRootSizes = {
|
|
|
50
49
|
// Box
|
|
51
50
|
'w-[32px]', 'h-[32px]',
|
|
52
51
|
// Typography
|
|
53
|
-
'text-[16px]']
|
|
54
|
-
'xs': [
|
|
55
|
-
// Box
|
|
56
|
-
'w-[24px]', 'h-[24px]',
|
|
57
|
-
// Typography
|
|
58
|
-
'text-[12px]']
|
|
52
|
+
'text-[16px]']
|
|
59
53
|
};
|
|
60
54
|
const AvatarRootColors = {
|
|
61
55
|
[AvatarColor.blue]: [
|
|
@@ -12,7 +12,7 @@ import './OrPopover-c462ce77.js';
|
|
|
12
12
|
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-92d9fb12.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-293d2de2.js';
|
|
14
14
|
import { u as useClassAttribute } from './useClassAttribute-00888f78.js';
|
|
15
|
-
import { u as useOverflow } from './useOverflow-
|
|
15
|
+
import { u as useOverflow } from './useOverflow-6dce216b.js';
|
|
16
16
|
import { s as script$4 } from './OrError.vue_vue_type_script_lang-cc6c135f.js';
|
|
17
17
|
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-8e657168.js';
|
|
18
18
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-a119a715.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from '../OrAvatar.vue_vue_type_script_lang-07889664.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar.vue_vue_type_script_lang-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar.vue_vue_type_script_lang-22e46ce1.js';
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton.vue_vue_type_script_lang-c0800f20.js';
|
|
5
5
|
export { s as OrButtonV2 } from '../OrButton.vue_vue_type_script_lang-ffc66d00.js';
|
|
@@ -66,7 +66,7 @@ export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-2e666a56.js'
|
|
|
66
66
|
export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-ed78b21f.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl.vue_vue_type_script_lang-579406f5.js';
|
|
68
68
|
export { s as OrSelect } from '../OrSelect.vue_vue_type_script_lang-26c0a70a.js';
|
|
69
|
-
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-
|
|
69
|
+
export { s as OrSelectV3 } from '../OrSelect.vue_vue_type_script_lang-15285ce4.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar.vue_vue_type_script_lang-7c55ac0a.js';
|
|
71
71
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar.vue_vue_type_script_lang-ce0b152c.js';
|
|
72
72
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js';
|
|
@@ -130,4 +130,4 @@ import '../useResponsive-9d397e2a.js';
|
|
|
130
130
|
import '../useElevation-c8d5d3ba.js';
|
|
131
131
|
import '../OrMenuItem-4feaba6c.js';
|
|
132
132
|
import '../dropdown-open-293d2de2.js';
|
|
133
|
-
import '../useOverflow-
|
|
133
|
+
import '../useOverflow-6dce216b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../../OrAvatar.vue_vue_type_script_lang-
|
|
1
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../../OrAvatar.vue_vue_type_script_lang-22e46ce1.js';
|
|
2
2
|
import 'vue';
|
|
3
3
|
import '../../color-1f348774.js';
|
|
4
4
|
import '../../useClassAttribute-00888f78.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-15285ce4.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox.vue_vue_type_script_lang-5ee4ee45.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '../../OrCheckbox.vue_vue_type_script_lang-8b36e06c.js';
|
|
@@ -31,4 +31,4 @@ import '../../OrMenuItem-4feaba6c.js';
|
|
|
31
31
|
import '../../OrMenuItem.vue_vue_type_script_lang-0ffaef05.js';
|
|
32
32
|
import '../../OrTag.vue_vue_type_script_lang-92d9fb12.js';
|
|
33
33
|
import '../../dropdown-open-293d2de2.js';
|
|
34
|
-
import '../../useOverflow-
|
|
34
|
+
import '../../useOverflow-6dce216b.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { u as useClassAttribute } from '../useClassAttribute-00888f78.js';
|
|
2
2
|
export { u as useElevation } from '../useElevation-c8d5d3ba.js';
|
|
3
|
-
export { u as useOverflow } from '../useOverflow-
|
|
3
|
+
export { u as useOverflow } from '../useOverflow-6dce216b.js';
|
|
4
4
|
export { u as useToggle } from '../useToggle-09b6cb90.js';
|
|
5
5
|
export { u as useResponsive } from '../useResponsive-9d397e2a.js';
|
|
6
6
|
import 'vue';
|