@onereach/ui-components 2.67.3 → 2.67.4-beta.2004.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.
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { InputBoxVariant } from '.';
2
+ import { InputBoxVariant } from './props';
3
3
  import { InputBoxSize } from './props';
4
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { InputBoxVariant } from '.';
2
+ import { InputBoxVariant } from './props';
3
3
  import { InputBoxSize } from './props';
4
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { InputBoxVariant } from '.';
2
+ import { InputBoxVariant } from './props';
3
3
  import { InputBoxSize } from './props';
4
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
6
  import { s as script$4 } from './OrIconButton-85abafab.js';
7
7
  import { s as script$3 } from './OrIcon-e2fa4cf8.js';
8
- import { s as script$5, a as InputBoxSize } from './OrInputBox-634230b1.js';
8
+ import { s as script$5, a as InputBoxSize } from './OrInputBox-542d2f2c.js';
9
9
  import { s as script$6 } from './OrLabel-7d4fe80b.js';
10
10
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
11
11
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
3
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
3
  import '@vueuse/core';
4
+ import { openBlock, createElementBlock, mergeProps, renderSlot } from 'vue';
5
5
 
6
6
  var InputBoxVariant;
7
7
  (function (InputBoxVariant) {
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
4
  import { s as script$1 } from './OrInput-4f55c0eb.js';
5
- import { a as InputBoxSize } from './OrInputBox-634230b1.js';
5
+ import { a as InputBoxSize } from './OrInputBox-542d2f2c.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7
 
8
8
  var script = defineComponent({
@@ -8,7 +8,7 @@ import { s as script$2 } from './OrError-19a62a18.js';
8
8
  import { s as script$3 } from './OrExpansionPanel-65afdfad.js';
9
9
  import { s as script$4 } from './OrHint-73835593.js';
10
10
  import { s as script$5 } from './OrIcon-e2fa4cf8.js';
11
- import { s as script$7, a as InputBoxSize } from './OrInputBox-634230b1.js';
11
+ import { s as script$7, a as InputBoxSize } from './OrInputBox-542d2f2c.js';
12
12
  import { s as script$6 } from './OrInput-4f55c0eb.js';
13
13
  import { s as script$8 } from './OrLabel-7d4fe80b.js';
14
14
  import { s as script$9 } from './OrMenuItem-d001f0f6.js';
@@ -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 './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$3, a as InputBoxSize } from './OrInputBox-634230b1.js';
6
+ import { s as script$3, a as InputBoxSize } from './OrInputBox-542d2f2c.js';
7
7
  import { s as script$4 } from './OrLabel-7d4fe80b.js';
8
8
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -33,7 +33,7 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
33
33
  export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-299e2275.js';
34
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
35
35
  export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-40ee5ffb.js';
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-634230b1.js';
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-542d2f2c.js';
37
37
  export { I as InputType, s as OrInputV3 } from '../OrInput-4f55c0eb.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';
@@ -17,7 +17,7 @@ import '../../OrTeleport.vue3-8099178c.js';
17
17
  import '../../OrInput-4f55c0eb.js';
18
18
  import '../../OrError-19a62a18.js';
19
19
  import '../../OrHint-73835593.js';
20
- import '../../OrInputBox-634230b1.js';
20
+ import '../../OrInputBox-542d2f2c.js';
21
21
  import '../../OrLabel-7d4fe80b.js';
22
22
  import '../../style-inject.es-4c6f2515.js';
23
23
  import '../../OrSortHeader-9d645226.js';
@@ -18,7 +18,7 @@ import '../../OrPopover-94a8f21d.js';
18
18
  import '@floating-ui/dom';
19
19
  import '../../useResponsive-a02e95b7.js';
20
20
  import '../../OrBottomSheet-0eb33b18.js';
21
- import '../../OrInputBox-634230b1.js';
21
+ import '../../OrInputBox-542d2f2c.js';
22
22
  import '../../OrLabel-7d4fe80b.js';
23
23
  import '../../style-inject.es-4c6f2515.js';
24
24
  import '@vueuse/math';
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { InputBoxVariant } from '.';
2
+ import { InputBoxVariant } from './props';
3
3
  import { InputBoxSize } from './props';
4
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
@@ -1,5 +1,5 @@
1
- export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-634230b1.js';
1
+ export { a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from '../../OrInputBox-542d2f2c.js';
2
2
  import 'vue-demi';
3
- import 'vue';
4
3
  import '../../useClassAttribute-47fdb016.js';
5
4
  import '@vueuse/core';
5
+ import 'vue';
@@ -1,5 +1,5 @@
1
1
  export { I as InputType, s as OrInputV3 } from '../../OrInput-4f55c0eb.js';
2
- export { a as InputSize } from '../../OrInputBox-634230b1.js';
2
+ export { a as InputSize } from '../../OrInputBox-542d2f2c.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
@@ -1,5 +1,5 @@
1
1
  export { s as OrSearchV3 } from '../../OrSearch-d74891a5.js';
2
- export { a as SearchSize } from '../../OrInputBox-634230b1.js';
2
+ export { a as SearchSize } from '../../OrInputBox-542d2f2c.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import '../../useClassAttribute-47fdb016.js';
@@ -1,5 +1,5 @@
1
1
  export { s as OrSelectV3 } from '../../OrSelect-b3a233cc.js';
2
- export { a as SelectSize } from '../../OrInputBox-634230b1.js';
2
+ export { a as SelectSize } from '../../OrInputBox-542d2f2c.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
5
5
  import '../../useClassAttribute-47fdb016.js';
@@ -1,5 +1,5 @@
1
1
  export { s as OrTextareaV3 } from '../../OrTextarea-98895b2a.js';
2
- export { a as TextareaSize } from '../../OrInputBox-634230b1.js';
2
+ export { a as TextareaSize } from '../../OrInputBox-542d2f2c.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
5
5
  import '@vueuse/core';
@@ -33,7 +33,7 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
33
33
  export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-299e2275.js';
34
34
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
35
35
  export { s as OrInlineTextareaV3 } from './OrInlineTextarea-40ee5ffb.js';
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-634230b1.js';
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-542d2f2c.js';
37
37
  export { I as InputType, s as OrInputV3 } from './OrInput-4f55c0eb.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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.67.3",
3
+ "version": "2.67.4-beta.2004.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -123,6 +123,5 @@
123
123
  "default": "./dist/bundled/v3/components/*/index.js"
124
124
  },
125
125
  "./package.json": "./package.json"
126
- },
127
- "gitHead": "5bdf2ad50cacee9a40f2ac3ceb73befcbe5b895c"
126
+ }
128
127
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  <script lang="ts">
15
15
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
16
- import { InputBoxVariant } from '.';
16
+ import { InputBoxVariant } from './props';
17
17
  import { useClassAttribute } from '../../hooks';
18
18
  import { InputBoxSize } from './props';
19
19
  import { InputBoxRoot, InputBoxRootSizes, InputBoxRootVariants } from './styles';
@@ -2,7 +2,7 @@ import { RX_ABBREVIATION_FROM_STRING } from '../constants/regex';
2
2
 
3
3
  export function getAbbreviation(text: string | null, limit?: number): string {
4
4
  if (typeof text != 'string' || !text) return '';
5
- return (text.match(RX_ABBREVIATION_FROM_STRING) ?? [])
6
- .reduce((previous, next) => previous + ((+next === 0 || parseInt(next)) ? parseInt(next) : next[0] || ''), '')
5
+ return ((text.match(RX_ABBREVIATION_FROM_STRING) ?? []) as string[])
6
+ .reduce((previous: string, next: string) => previous + ((+next === 0 || parseInt(next)) ? parseInt(next) : next[0] || ''), '')
7
7
  .toUpperCase().substring(0, limit);
8
8
  }