@onereach/ui-components 2.67.4-beta.2005.0 → 2.67.4-beta.2011.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/{OrAvatar-0a2c265f.js → OrAvatar-cf78dc23.js} +1 -1
- package/dist/bundled/v2/{OrButton-705cd0bd.js → OrButton-a64ef907.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-107e528a.js} +3 -3
- package/dist/bundled/v2/{OrCarouselItem-6da755c0.js → OrCarouselItem-3b9696ba.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-f97a57b9.js → OrCheckbox-bbca8d48.js} +1 -1
- package/dist/bundled/v2/{OrChip-000fe7b5.js → OrChip-3f177d05.js} +1 -1
- package/dist/bundled/v2/{OrChips-890b8476.js → OrChips-d100cd91.js} +1 -1
- package/dist/bundled/v2/{OrCode-edc7a1f5.js → OrCode-3c4c2e2f.js} +3 -3
- package/dist/bundled/v2/{OrColorPicker-a1a37e83.js → OrColorPicker-a4d1cdad.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-1d396830.js → OrConfirm-22c7622d.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-a48f9633.js} +2 -2
- package/dist/bundled/v2/{OrDateTimePicker-e212f892.js → OrDateTimePicker-e0120706.js} +2 -2
- package/dist/bundled/v2/{OrFloating-554d6f58.js → OrFloating-e6a0a9e4.js} +1 -1
- package/dist/bundled/v2/{OrIcon-10ec459c.js → OrIcon-a42b5a4b.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-65962c1c.js → OrIconButton-2b29a25c.js} +3 -3
- package/dist/bundled/v2/{OrInlineTextEdit-7262efdf.js → OrInlineTextEdit-a9e7ea97.js} +1 -1
- package/dist/bundled/v2/{OrList-4e84a3b4.js → OrList-ec81b527.js} +3 -3
- package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-9e5ef341.js} +3 -3
- package/dist/bundled/v2/{OrModal-a5411b0d.js → OrModal-63790b45.js} +1 -1
- package/dist/bundled/v2/{OrNotification-3909aaf2.js → OrNotification-18a3f460.js} +2 -2
- package/dist/bundled/v2/{OrOverflowMenu-711e460e.js → OrOverflowMenu-b7af7838.js} +3 -3
- package/dist/bundled/v2/{OrPassword-7da938aa.js → OrPassword-ec0814cb.js} +1 -1
- package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-31844e1e.js} +1 -1
- package/dist/bundled/v2/{OrSelect-bbe8dd58.js → OrSelect-524f4d70.js} +4 -4
- package/dist/bundled/v2/{OrSlider-59d05856.js → OrSlider-e2d0a828.js} +1 -1
- package/dist/bundled/v2/{OrStepper-3fc1a2b3.js → OrStepper-4c51d7d3.js} +1 -1
- package/dist/bundled/v2/{OrTag-79e48fec.js → OrTag-3d2c7e8c.js} +1 -1
- package/dist/bundled/v2/{OrTeleportVue2-3544f185.js → OrTeleportVue2-6f87b101.js} +1 -1
- package/dist/bundled/v2/{OrTextbox-eacd9b19.js → OrTextbox-88c3af79.js} +1 -1
- package/dist/bundled/v2/{OrToastContainer-b03adc37.js → OrToastContainer-fb510f93.js} +2 -2
- package/dist/bundled/v2/{OrTooltip-dfea7af2.js → OrTooltip-9d59f355.js} +1 -1
- package/dist/bundled/v2/components/index.js +31 -32
- package/dist/bundled/v2/components/or-avatar/index.js +5 -5
- package/dist/bundled/v2/components/or-button-v2/index.js +7 -7
- package/dist/bundled/v2/components/or-card-collection/index.js +8 -8
- package/dist/bundled/v2/components/or-carousel/index.js +5 -5
- package/dist/bundled/v2/components/or-checkbox/index.js +5 -5
- package/dist/bundled/v2/components/or-chips/index.js +6 -6
- package/dist/bundled/v2/components/or-code/index.js +8 -8
- package/dist/bundled/v2/components/or-color-picker/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm/index.js +9 -9
- package/dist/bundled/v2/components/or-confirm-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-date-time-picker/index.js +7 -7
- package/dist/bundled/v2/components/or-floating/index.js +3 -3
- package/dist/bundled/v2/components/or-icon/index.js +4 -4
- package/dist/bundled/v2/components/or-inline-text-edit/index.js +7 -7
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v2/components/or-inputs/index.js +8 -8
- package/dist/bundled/v2/components/or-list/index.js +8 -8
- package/dist/bundled/v2/components/or-list-of-inputs/index.js +9 -9
- package/dist/bundled/v2/components/or-modal/index.js +7 -7
- package/dist/bundled/v2/components/or-notification/index.js +7 -7
- package/dist/bundled/v2/components/or-overflow-menu/index.js +8 -8
- package/dist/bundled/v2/components/or-select/index.js +7 -7
- package/dist/bundled/v2/components/or-slider/index.js +5 -5
- package/dist/bundled/v2/components/or-stepper/index.js +6 -6
- package/dist/bundled/v2/components/or-tag/index.js +5 -5
- package/dist/bundled/v2/components/or-teleport/index.js +2 -2
- package/dist/bundled/v2/components/or-textbox/index.js +7 -7
- package/dist/bundled/v2/components/or-toast/index.js +7 -7
- package/dist/bundled/v2/components/or-tooltip/index.js +4 -4
- package/dist/bundled/v2/index.js +31 -32
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrAvatar-4824c57f.js → OrAvatar-099f1a0e.js} +1 -1
- package/dist/esm/v2/{OrButton-c4f9955b.js → OrButton-4773e7d0.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-bb268c94.js} +5 -5
- package/dist/esm/v2/{OrCarouselItem-4e2cf3d8.js → OrCarouselItem-100ad256.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-d5e31846.js → OrCheckbox-efc68852.js} +1 -1
- package/dist/esm/v2/{OrChips-5e0063be.js → OrChips-679a083b.js} +1 -1
- package/dist/esm/v2/{OrChips.vue_rollup-plugin-vue_script-aa8fedaa.js → OrChips.vue_rollup-plugin-vue_script-ed6e3ce0.js} +1 -1
- package/dist/esm/v2/{OrCode-41dd5f9b.js → OrCode-311092bf.js} +4 -4
- package/dist/esm/v2/{OrColorPicker-75abefdd.js → OrColorPicker-dfcb90f5.js} +1 -1
- package/dist/esm/v2/{OrConfirm-e3b3418f.js → OrConfirm-367ac968.js} +1 -1
- package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-f47fdc63.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-349df9b2.js → OrDateTimePicker-b83da147.js} +3 -3
- package/dist/esm/v2/{OrFloating-89d6582a.js → OrFloating-5653b602.js} +1 -1
- package/dist/esm/v2/{OrIcon-819166f6.js → OrIcon-b2e6fa46.js} +2 -2
- package/dist/esm/v2/{OrIconButton-014e86a7.js → OrIconButton-aeeced64.js} +1 -1
- package/dist/esm/v2/{OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js → OrIconButton.vue_rollup-plugin-vue_script-3f619933.js} +4 -4
- package/dist/esm/v2/{OrInlineTextEdit-b47cfc2d.js → OrInlineTextEdit-68902cd4.js} +2 -2
- package/dist/esm/v2/{OrList-d4781f7b.js → OrList-ca8b4b92.js} +4 -4
- package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-762bb29f.js} +5 -5
- package/dist/esm/v2/{OrModal-97e83549.js → OrModal-98589202.js} +2 -2
- package/dist/esm/v2/{OrNotification-a9231a83.js → OrNotification-a61f46ec.js} +3 -3
- package/dist/esm/v2/{OrOverflowMenu-10a4166a.js → OrOverflowMenu-37045bdd.js} +4 -4
- package/dist/esm/v2/{OrPassword-1fa97156.js → OrPassword-927a2614.js} +1 -1
- package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-02af9504.js} +1 -1
- package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrSearch.vue_rollup-plugin-vue_script-95153d67.js} +2 -2
- package/dist/esm/v2/{OrSelect-17cdab3d.js → OrSelect-11ad364b.js} +4 -4
- package/dist/esm/v2/{OrSlider-f7b9c7c2.js → OrSlider-ff899dfc.js} +1 -1
- package/dist/esm/v2/{OrStepper-4f44e7b7.js → OrStepper-b1eeaa41.js} +2 -2
- package/dist/esm/v2/{OrTag-c1fa6901.js → OrTag-201c73db.js} +1 -1
- package/dist/esm/v2/{OrTeleportVue2-8ef4ceca.js → OrTeleportVue2-4412e09f.js} +1 -1
- package/dist/esm/v2/{OrTextbox-2594c980.js → OrTextbox-b6f41ddb.js} +2 -2
- package/dist/esm/v2/{OrToastContainer-2fbd4358.js → OrToastContainer-ff04f6b8.js} +3 -3
- package/dist/esm/v2/{OrTooltip-614b016d.js → OrTooltip-4d2b7434.js} +1 -1
- package/dist/esm/v2/{OrTooltip.vue_rollup-plugin-vue_script-63559536.js → OrTooltip.vue_rollup-plugin-vue_script-92e1c1a2.js} +1 -1
- package/dist/esm/v2/components/index.js +34 -35
- package/dist/esm/v2/components/or-avatar/index.js +6 -6
- package/dist/esm/v2/components/or-button-v2/index.js +9 -9
- package/dist/esm/v2/components/or-card-collection/index.js +11 -11
- package/dist/esm/v2/components/or-carousel/index.js +6 -6
- package/dist/esm/v2/components/or-checkbox/index.js +6 -6
- package/dist/esm/v2/components/or-chips/index.js +7 -7
- package/dist/esm/v2/components/or-code/index.js +10 -10
- package/dist/esm/v2/components/or-color-picker/index.js +4 -4
- package/dist/esm/v2/components/or-confirm/index.js +12 -12
- package/dist/esm/v2/components/or-confirm-v3/index.js +1 -1
- package/dist/esm/v2/components/or-date-time-picker/index.js +9 -9
- package/dist/esm/v2/components/or-floating/index.js +3 -3
- package/dist/esm/v2/components/or-icon/index.js +5 -5
- package/dist/esm/v2/components/or-inline-text-edit/index.js +9 -9
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v2/components/or-inputs/index.js +11 -11
- package/dist/esm/v2/components/or-list/index.js +10 -10
- package/dist/esm/v2/components/or-list-of-inputs/index.js +12 -12
- package/dist/esm/v2/components/or-modal/index.js +9 -9
- package/dist/esm/v2/components/or-notification/index.js +9 -9
- package/dist/esm/v2/components/or-overflow-menu/index.js +10 -10
- package/dist/esm/v2/components/or-select/index.js +8 -8
- package/dist/esm/v2/components/or-slider/index.js +6 -6
- package/dist/esm/v2/components/or-stepper/index.js +9 -9
- package/dist/esm/v2/components/or-tag/index.js +6 -6
- package/dist/esm/v2/components/or-teleport/index.js +2 -2
- package/dist/esm/v2/components/or-textbox/index.js +9 -9
- package/dist/esm/v2/components/or-toast/index.js +9 -9
- package/dist/esm/v2/components/or-tooltip/index.js +5 -5
- package/dist/esm/v2/index.js +34 -35
- package/dist/esm/v3/{OrConfirm-b78c5299.js → OrConfirm-e6735cc8.js} +1 -1
- package/dist/esm/v3/OrInput-4f55c0eb.js +1 -1
- package/dist/esm/v3/{OrInputBox-634230b1.js → OrInputBox-542d2f2c.js} +1 -1
- package/dist/esm/v3/OrSearch-d74891a5.js +1 -1
- package/dist/esm/v3/OrSelect-b3a233cc.js +1 -1
- package/dist/esm/v3/OrTextarea-98895b2a.js +1 -1
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-box-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 +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +2 -2
- package/package.json +9 -1
- package/src/components/or-confirm-v3/OrConfirm.vue +1 -1
- package/src/components/or-input-box-v3/OrInputBox.vue +1 -1
- package/src/components/or-teleport/OrTeleportVue2.vue +1 -1
- package/src/utils/functions/text.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.67.4-beta.
|
|
3
|
+
"version": "2.67.4-beta.2011.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -106,6 +106,14 @@
|
|
|
106
106
|
"types": "./dist/auto/hooks/index.d.ts",
|
|
107
107
|
"default": "./dist/auto/hooks/index.js"
|
|
108
108
|
},
|
|
109
|
+
"./esm/v2/*": {
|
|
110
|
+
"types": "./dist/esm/v2/components/*/index.d.ts",
|
|
111
|
+
"default": "./dist/esm/v2/components/*/index.js"
|
|
112
|
+
},
|
|
113
|
+
"./esm/v3/*": {
|
|
114
|
+
"types": "./dist/esm/v3/components/*/index.d.ts",
|
|
115
|
+
"default": "./dist/esm/v3/components/*/index.js"
|
|
116
|
+
},
|
|
109
117
|
"./esm-css/v2/*": {
|
|
110
118
|
"types": "./dist/esm-css/v2/components/*/index.d.ts",
|
|
111
119
|
"default": "./dist/esm-css/v2/components/*/index.js"
|
|
@@ -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';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
<script lang="ts">
|
|
12
12
|
import { defineComponent } from 'vue-demi';
|
|
13
|
-
import { MountingPortal } from 'portal-vue
|
|
13
|
+
import { MountingPortal } from 'portal-vue';
|
|
14
14
|
import { OR_TELEPORT_PROPS } from './constants';
|
|
15
15
|
|
|
16
16
|
export default defineComponent({
|
|
@@ -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
|
}
|