@onereach/ui-components 5.0.1-beta.3131.0 → 5.0.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/components/OrCheckboxV3/OrCheckbox.js +2 -3
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +3 -7
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.vue.d.ts +5 -16
- package/dist/bundled/v2/components/OrLabelV3/props.d.ts +1 -2
- package/dist/bundled/v2/components/OrLabelV3/props.js +0 -1
- package/dist/bundled/v2/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrLabelV3/styles.js +5 -14
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +24 -142
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +0 -14
- package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +1 -3
- package/dist/bundled/v2/components/OrSelectV3/styles.js +2 -12
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/directives/dropdown-close.js +2 -0
- package/dist/bundled/v2/directives/dropdown-open.js +3 -1
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c93da401.js → OrCardCollection.vue_vue_type_script_lang-40124ef0.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-38736023.js → OrCheckbox.vue_vue_type_script_lang-eeb6b419.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-51bbd047.js → OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js} +2 -2
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-e67747a4.js → OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-0e34e3c4.js → OrCode.vue_vue_type_script_lang-a99a2768.js} +1 -1
- package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-230d4d9c.js → OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-383e286f.js → OrConfirm.vue_vue_type_script_lang-3f6484d7.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-ae3aabc6.js → OrDatePicker.vue_vue_type_script_lang-15cde361.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-911a50a3.js → OrDateTimePicker.vue_vue_type_script_lang-e3f9a844.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-eff1f44b.js → OrDateTimePickerPopoverHeader-d9eef487.js} +1 -1
- package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-d67479fc.js → OrFormGroup.vue_vue_type_script_lang-1c6844d6.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-ec80afeb.js → OrInput.vue_vue_type_script_lang-0ddddd27.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-fcdfd80d.js → OrLabel.vue_vue_type_script_lang-3e11ab8a.js} +3 -6
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-08ab2220.js → OrRadio.vue_vue_type_script_lang-48c2bc6b.js} +1 -1
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-d84948fc.js → OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-12bbade9.js → OrSearch.vue_vue_type_script_lang-495149b0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-5f42a363.js → OrSelect.vue_vue_type_script_lang-cb556343.js} +8 -36
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-14b4ec0a.js → OrSwitch.vue_vue_type_script_lang-ee55263f.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-00010fb4.js → OrTagInput.vue_vue_type_script_lang-9f594179.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-a7cfbe82.js → OrTextarea.vue_vue_type_script_lang-7562cca1.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-a3554386.js → OrTimePicker.vue_vue_type_script_lang-7de3a004.js} +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +5 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +6 -6
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +5 -5
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +4 -5
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +3 -3
- package/dist/bundled/v3/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +3 -3
- package/dist/bundled/v3/components/OrCombinedInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +3 -3
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
- package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +3 -4
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +3 -12
- package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/props.d.ts +1 -2
- package/dist/bundled/v3/components/OrLabelV3/props.js +0 -1
- package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrLabelV3/styles.js +5 -14
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +5 -5
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +4 -4
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +3 -3
- package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +43 -93
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +0 -7
- package/dist/bundled/v3/components/OrSelectV3/index.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +1 -3
- package/dist/bundled/v3/components/OrSelectV3/styles.js +2 -12
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +3 -3
- package/dist/bundled/v3/components/OrSwitchV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +3 -3
- package/dist/bundled/v3/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +3 -3
- package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +3 -3
- package/dist/bundled/v3/components/index.js +21 -21
- package/dist/bundled/v3/directives/dropdown-close.js +2 -0
- package/dist/bundled/v3/directives/dropdown-open.js +3 -1
- package/dist/bundled/v3/index.js +22 -22
- package/dist/esm/v2/{OrCardCollection-10ae5e3a.js → OrCardCollection-9aaa7a3c.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-ae903071.js → OrCheckbox-db66b4ea.js} +3 -4
- package/dist/esm/v2/{OrCheckboxGroup-74dc7c1d.js → OrCheckboxGroup-a04f27fe.js} +2 -2
- package/dist/esm/v2/{OrCheckboxTree-19f5d69b.js → OrCheckboxTree-f48db82f.js} +1 -1
- package/dist/esm/v2/{OrCode-65f78f9f.js → OrCode-dd915faf.js} +1 -1
- package/dist/esm/v2/{OrCombinedInput-2639e3e1.js → OrCombinedInput-45187323.js} +1 -1
- package/dist/esm/v2/{OrConfirm-d2ae622a.js → OrConfirm-a0875502.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-3eef3059.js → OrDatePicker-0b119ef4.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-aeebd5ea.js → OrDateTimePicker-061c7472.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-5044ee23.js → OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-83eb5ad1.js → OrDateTimePickerPopoverHeader-30ec0bf4.js} +1 -1
- package/dist/esm/v2/{OrFormGroup-9000fcdf.js → OrFormGroup-29a514db.js} +1 -1
- package/dist/esm/v2/{OrInput-fbed0b61.js → OrInput-99ccfff7.js} +3 -3
- package/dist/esm/v2/{OrLabel-4a3d8904.js → OrLabel-63380256.js} +6 -18
- package/dist/esm/v2/{OrRadio-0fc3ae14.js → OrRadio-b32dfbfe.js} +1 -1
- package/dist/esm/v2/{OrRadioGroup-1108883d.js → OrRadioGroup-d1c2e460.js} +2 -2
- package/dist/esm/v2/{OrSearch-598dee09.js → OrSearch-f49e5f70.js} +1 -1
- package/dist/esm/v2/{OrSelect-36461157.js → OrSelect-5e9508c9.js} +27 -156
- package/dist/esm/v2/{OrSwitch-a3da6bec.js → OrSwitch-e49ce2d8.js} +1 -1
- package/dist/esm/v2/{OrTagInput-400f0605.js → OrTagInput-5b1ac86e.js} +1 -1
- package/dist/esm/v2/{OrTextarea-6fe8b65f.js → OrTextarea-824f7048.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-b6c79be1.js → OrTimePicker-d73ce31e.js} +4 -4
- package/dist/esm/v2/components/index.js +23 -23
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +2 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +5 -16
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-label-v3/props.d.ts +1 -2
- package/dist/esm/v2/components/or-label-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -14
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/styles.d.ts +1 -3
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/directives/index.js +1 -1
- package/dist/esm/{v3/dropdown-open-06d651cf.js → v2/dropdown-open-e1f90e0a.js} +5 -1
- package/dist/esm/v2/index.js +23 -23
- package/dist/esm/v3/{OrCardCollection-7d647b53.js → OrCardCollection-5a10ca80.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-a571fc90.js → OrCheckbox-09f62aab.js} +2 -3
- package/dist/esm/v3/{OrCheckboxGroup-7fe25d85.js → OrCheckboxGroup-6c054793.js} +2 -2
- package/dist/esm/v3/{OrCheckboxTree-bea23696.js → OrCheckboxTree-bb32455e.js} +1 -1
- package/dist/esm/v3/{OrCode-fd372d76.js → OrCode-98aceeef.js} +1 -1
- package/dist/esm/v3/{OrCombinedInput-6dd0f75d.js → OrCombinedInput-2800ee8b.js} +1 -1
- package/dist/esm/v3/{OrConfirm-de678c6c.js → OrConfirm-8d0351b9.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-10c4e1ea.js → OrDatePicker-819007d7.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-044dd6fb.js → OrDateTimePicker-7b08665c.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ae493df9.js → OrDateTimePickerPopoverHeader-c3900e9a.js} +1 -1
- package/dist/esm/v3/{OrFormGroup-c4631ef0.js → OrFormGroup-9f581536.js} +1 -1
- package/dist/esm/v3/{OrInput-487c7632.js → OrInput-cfc9d445.js} +1 -1
- package/dist/esm/v3/{OrLabel-d4c46bb6.js → OrLabel-4da56db0.js} +7 -19
- package/dist/esm/v3/{OrRadio-48cd02a9.js → OrRadio-7b722b16.js} +1 -1
- package/dist/esm/v3/{OrRadioGroup-82d10aa8.js → OrRadioGroup-58c0214c.js} +2 -2
- package/dist/esm/v3/{OrSearch-998e4390.js → OrSearch-c823ee5e.js} +1 -1
- package/dist/esm/v3/{OrSelect-1ef6f9d9.js → OrSelect-d4bbddf1.js} +47 -135
- package/dist/esm/v3/{OrSwitch-f4d9e196.js → OrSwitch-a6efd081.js} +1 -1
- package/dist/esm/v3/{OrTagInput-65e725b0.js → OrTagInput-b5f6be7c.js} +1 -1
- package/dist/esm/v3/{OrTextarea-f3412790.js → OrTextarea-6c471ccd.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-ef98ec36.js → OrTimePicker-27be4172.js} +4 -4
- package/dist/esm/v3/components/index.js +22 -22
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +5 -5
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +2 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-form-group-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +3 -12
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-label-v3/props.d.ts +1 -2
- package/dist/esm/v3/components/or-label-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-radio-group-v3/index.js +4 -4
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -7
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/styles.d.ts +1 -3
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v3/directives/index.js +1 -1
- package/dist/esm/{v2/dropdown-open-06d651cf.js → v3/dropdown-open-e1f90e0a.js} +5 -1
- package/dist/esm/v3/index.js +22 -22
- package/package.json +4 -9
- package/src/components/or-checkbox-v3/OrCheckbox.vue +0 -1
- package/src/components/or-input-v3/OrInput.vue +0 -1
- package/src/components/or-label-v3/OrLabel.vue +5 -9
- package/src/components/or-label-v3/props.ts +0 -1
- package/src/components/or-label-v3/styles.ts +4 -16
- package/src/components/or-select-v3/OrSelect.vue +27 -123
- package/src/components/or-select-v3/styles.ts +1 -18
- package/src/components/or-toast/constants.ts +4 -4
- package/src/directives/dropdown-close.ts +3 -0
- package/src/directives/dropdown-open.ts +4 -1
- package/dist/bundled/v2/components/OrSelect/stories.helpers.d.ts +0 -6
- package/dist/bundled/v3/components/OrSelect/stories.helpers.d.ts +0 -6
- package/dist/esm/v2/components/or-select/stories.helpers.d.ts +0 -6
- package/dist/esm/v3/components/or-select/stories.helpers.d.ts +0 -6
- package/src/components/or-avatar/OrAvatar.stories.ts +0 -44
- package/src/components/or-button/OrButton.stories.ts +0 -364
- package/src/components/or-button-v2/OrButton.stories.ts +0 -136
- package/src/components/or-card/OrCard.stories.ts +0 -58
- package/src/components/or-card-collection/OrCardCollection.stories.ts +0 -110
- package/src/components/or-checkbox/OrCheckbox.stories.ts +0 -383
- package/src/components/or-chips/OrChips.stories.ts +0 -96
- package/src/components/or-chips/or-chip/OrChip.stories.ts +0 -59
- package/src/components/or-code/OrCode.stories.ts +0 -328
- package/src/components/or-collapse/OrCollapse.stories.ts +0 -654
- package/src/components/or-color-picker/OrColorPicker.stories.ts +0 -48
- package/src/components/or-confirm/OrConfirm.stories.ts +0 -175
- package/src/components/or-date-time-picker/OrDateTimePicker.stories.ts +0 -162
- package/src/components/or-error/OrError.stories.ts +0 -35
- package/src/components/or-floating/OrFloating.stories.ts +0 -81
- package/src/components/or-hint/OrHint.stories.ts +0 -26
- package/src/components/or-icon/OrIcon.stories.ts +0 -74
- package/src/components/or-icon/or-icon-tips.stories.mdx +0 -26
- package/src/components/or-icon-button-v2/OrIconButton.stories.ts +0 -134
- package/src/components/or-inline-text-edit/OrInlineTextEdit.stories.ts +0 -187
- package/src/components/or-input/OrInput.stories.ts +0 -375
- package/src/components/or-input/or-textbox-migration.stories.mdx +0 -32
- package/src/components/or-label/OrLabel.stories.ts +0 -64
- package/src/components/or-list/OrList.stories.ts +0 -229
- package/src/components/or-list-of-inputs/OrListOfInputs.stories.ts +0 -164
- package/src/components/or-loader/OrLoader.stories.ts +0 -43
- package/src/components/or-modal/OrModal.stories.ts +0 -215
- package/src/components/or-notification/OrNotification.stories.ts +0 -98
- package/src/components/or-number-input/OrNumberInput.stories.ts +0 -354
- package/src/components/or-overflow-menu/OrOverflowMenu.stories.ts +0 -167
- package/src/components/or-overlay/OrOverlay.stories.ts +0 -53
- package/src/components/or-password/OrPassword.stories.ts +0 -367
- package/src/components/or-progress/OrProgress.stories.ts +0 -162
- package/src/components/or-radio/OrRadio.stories.ts +0 -143
- package/src/components/or-search/OrSearch.stories.ts +0 -402
- package/src/components/or-select/OrSelect.stories.ts +0 -330
- package/src/components/or-select/partials/OrSelectContent.stories.ts +0 -191
- package/src/components/or-select/partials/OrSelectInput.stories.ts +0 -115
- package/src/components/or-select/stories.helpers.ts +0 -40
- package/src/components/or-sidebar/OrSidebar.stories.ts +0 -242
- package/src/components/or-skeleton/OrSkeleton.stories.ts +0 -120
- package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.stories.ts +0 -35
- package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.stories.ts +0 -53
- package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.stories.ts +0 -52
- package/src/components/or-slider/OrSlider.stories.ts +0 -49
- package/src/components/or-stepper/OrStepper.stories.ts +0 -50
- package/src/components/or-switch/OrSwitch.stories.ts +0 -194
- package/src/components/or-tabs/OrTabs.stories.ts +0 -166
- package/src/components/or-tag/OrTag.stories.ts +0 -87
- package/src/components/or-teleport/OrTeleport.stories.ts +0 -54
- package/src/components/or-textarea/OrTextarea.stories.ts +0 -367
- package/src/components/or-textbox/OrTextbox.stories.ts +0 -596
- package/src/components/or-toast/OrToast.stories.ts +0 -59
- package/src/components/or-toast/or-toast-container/OrToastContainer.stories.mdx +0 -101
- package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +0 -96
- package/src/components/or-tooltip/OrTooltip.stories.ts +0 -205
- package/src/hooks/useResponsive/useResponsive.stories.mdx +0 -26
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-f3d67e5d.js → OrDateTimePickerPopoverHeader-a4f77733.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$2 } from './OrIconButton-311050dc.js';
|
|
3
|
-
import { _ as __vue_component__$4 } from './OrSearch-
|
|
3
|
+
import { _ as __vue_component__$4 } from './OrSearch-f49e5f70.js';
|
|
4
4
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
5
5
|
import { _ as __vue_component__$3 } from './OrSorting-fad7928f.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -5,7 +5,7 @@ import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
8
|
-
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-
|
|
8
|
+
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-63380256.js';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -133,7 +133,7 @@ var script = defineComponent({
|
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
var css_248z = "input[data-v-
|
|
136
|
+
var css_248z = "input[data-v-07623e1e]{appearance:none;line-height:0}";
|
|
137
137
|
styleInject(css_248z);
|
|
138
138
|
|
|
139
139
|
/* script */
|
|
@@ -174,7 +174,6 @@ var __vue_render__ = function () {
|
|
|
174
174
|
attrs: {
|
|
175
175
|
"control-id": _vm.controlAttributes.id,
|
|
176
176
|
"variant": _vm.labelVariant,
|
|
177
|
-
"selected": _vm.isChecked,
|
|
178
177
|
"required": _vm.required,
|
|
179
178
|
"disabled": _vm.disabled
|
|
180
179
|
},
|
|
@@ -194,7 +193,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
194
193
|
/* style */
|
|
195
194
|
const __vue_inject_styles__ = undefined;
|
|
196
195
|
/* scoped */
|
|
197
|
-
const __vue_scope_id__ = "data-v-
|
|
196
|
+
const __vue_scope_id__ = "data-v-07623e1e";
|
|
198
197
|
/* module identifier */
|
|
199
198
|
const __vue_module_identifier__ = undefined;
|
|
200
199
|
/* functional template */
|
|
@@ -3,8 +3,8 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { _ as __vue_component__$1 } from './OrCheckboxTree-
|
|
7
|
-
import { _ as __vue_component__$2, F as FormGroupDirection } from './OrFormGroup-
|
|
6
|
+
import { _ as __vue_component__$1 } from './OrCheckboxTree-f48db82f.js';
|
|
7
|
+
import { _ as __vue_component__$2, F as FormGroupDirection } from './OrFormGroup-29a514db.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
10
10
|
var script = defineComponent({
|
|
@@ -4,7 +4,7 @@ import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$3 } from './OrButton-a23ee9f0.js';
|
|
7
|
-
import { _ as __vue_component__$2 } from './OrCheckbox-
|
|
7
|
+
import { _ as __vue_component__$2 } from './OrCheckbox-db66b4ea.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
@@ -18,7 +18,7 @@ import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
|
18
18
|
import { _ as __vue_component__$3 } from './OrIconButton-311050dc.js';
|
|
19
19
|
import { _ as __vue_component__$4 } from './OrInputBox-7dc5b9e9.js';
|
|
20
20
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
21
|
-
import { _ as __vue_component__$5 } from './OrLabel-
|
|
21
|
+
import { _ as __vue_component__$5 } from './OrLabel-63380256.js';
|
|
22
22
|
import { _ as __vue_component__$6 } from './OrModal-3dafa3ce.js';
|
|
23
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
4
|
-
import { _ as __vue_component__$3 } from './OrLabel-
|
|
4
|
+
import { _ as __vue_component__$3 } from './OrLabel-63380256.js';
|
|
5
5
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
@@ -5,7 +5,7 @@ import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-a23ee9f0.js';
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrInput-99ccfff7.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrOverlay-f819eff9.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
|
-
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
2
|
+
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-30ec0bf4.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
10
10
|
import { _ as __vue_component__$a } from './OrIconButton-311050dc.js';
|
|
11
11
|
import { _ as __vue_component__$9 } from './OrIcon-d35a84d8.js';
|
|
12
12
|
import { _ as __vue_component__$b } from './OrInputBox-7dc5b9e9.js';
|
|
13
13
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
14
|
-
import { _ as __vue_component__$c } from './OrLabel-
|
|
14
|
+
import { _ as __vue_component__$c } from './OrLabel-63380256.js';
|
|
15
15
|
import { _ as __vue_component__$d } from './OrPopover-36e2fc9f.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
2
|
-
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
2
|
+
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
@@ -10,9 +10,9 @@ import { _ as __vue_component__$c } from './OrIconButton-311050dc.js';
|
|
|
10
10
|
import { _ as __vue_component__$b } from './OrIcon-d35a84d8.js';
|
|
11
11
|
import { _ as __vue_component__$d } from './OrInputBox-7dc5b9e9.js';
|
|
12
12
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
13
|
-
import { _ as __vue_component__$e } from './OrLabel-
|
|
13
|
+
import { _ as __vue_component__$e } from './OrLabel-63380256.js';
|
|
14
14
|
import { _ as __vue_component__$f } from './OrPopover-36e2fc9f.js';
|
|
15
|
-
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
15
|
+
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-30ec0bf4.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrButton-a23ee9f0.js';
|
|
18
18
|
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { _ as __vue_component__$6 } from './OrButton-a23ee9f0.js';
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrLabel-
|
|
8
|
+
import { _ as __vue_component__$7 } from './OrLabel-63380256.js';
|
|
9
9
|
import { _ as __vue_component__$9 } from './OrIconButton-311050dc.js';
|
|
10
10
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
11
11
|
import { _ as __vue_component__$b } from './OrMenuItem-c1c97ebe.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrLabel-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrLabel-63380256.js';
|
|
3
3
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
4
4
|
import { _ as __vue_component__$3 } from './OrHint-aa221198.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -12,7 +12,7 @@ import { _ as __vue_component__$4 } from './OrIconButton-311050dc.js';
|
|
|
12
12
|
import { _ as __vue_component__$3 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$5 } from './OrInputBox-7dc5b9e9.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
15
|
-
import { _ as __vue_component__$6 } from './OrLabel-
|
|
15
|
+
import { _ as __vue_component__$6 } from './OrLabel-63380256.js';
|
|
16
16
|
import { _ as __vue_component__$7 } from './OrLoader-b0c381f9.js';
|
|
17
17
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
18
18
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -158,7 +158,7 @@ var script = defineComponent({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
|
|
161
|
-
var css_248z = "input[data-v-
|
|
161
|
+
var css_248z = "input[data-v-76960543]{min-width:0;background:0 0;outline:0}input[type=number][data-v-76960543]::-webkit-inner-spin-button{display:none}input[type=search][data-v-76960543]::-webkit-search-cancel-button{display:none}";
|
|
162
162
|
styleInject(css_248z);
|
|
163
163
|
|
|
164
164
|
/* script */
|
|
@@ -418,7 +418,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
418
418
|
/* style */
|
|
419
419
|
const __vue_inject_styles__ = undefined;
|
|
420
420
|
/* scoped */
|
|
421
|
-
const __vue_scope_id__ = "data-v-
|
|
421
|
+
const __vue_scope_id__ = "data-v-76960543";
|
|
422
422
|
/* module identifier */
|
|
423
423
|
const __vue_module_identifier__ = undefined;
|
|
424
424
|
/* functional template */
|
|
@@ -5,31 +5,23 @@ var LabelVariant;
|
|
|
5
5
|
(function (LabelVariant) {
|
|
6
6
|
LabelVariant["Input"] = "input";
|
|
7
7
|
LabelVariant["Toggle"] = "toggle";
|
|
8
|
-
LabelVariant["MenuItem"] = "menu-item";
|
|
9
8
|
})(LabelVariant || (LabelVariant = {}));
|
|
10
9
|
|
|
11
|
-
const
|
|
10
|
+
const LabelRoot = [
|
|
12
11
|
// Layout
|
|
13
12
|
'layout-row justify-between',
|
|
14
13
|
// Spacing
|
|
15
14
|
'gap-sm'];
|
|
16
|
-
const
|
|
17
|
-
|
|
15
|
+
const LabelRootVariants = {
|
|
16
|
+
'input': [
|
|
18
17
|
// Typography
|
|
19
18
|
'typography-caption-regular',
|
|
20
19
|
// Theme
|
|
21
20
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'],
|
|
22
|
-
|
|
21
|
+
'toggle': [
|
|
23
22
|
// Typography
|
|
24
23
|
'typography-body-2-regular',
|
|
25
24
|
// Theme
|
|
26
|
-
'theme-foreground-default', 'dark:theme-foreground-default-dark'],
|
|
27
|
-
[LabelVariant.MenuItem]: [
|
|
28
|
-
// Typography
|
|
29
|
-
'typography-body-2-regular',
|
|
30
|
-
// Typography (selected)
|
|
31
|
-
'selected:typography-body-2-semibold',
|
|
32
|
-
// Theme
|
|
33
25
|
'theme-foreground-default', 'dark:theme-foreground-default-dark']
|
|
34
26
|
};
|
|
35
27
|
const LabelText = [
|
|
@@ -44,6 +36,7 @@ const LabelAddon = [
|
|
|
44
36
|
'whitespace-nowrap'];
|
|
45
37
|
|
|
46
38
|
var script = defineComponent({
|
|
39
|
+
name: 'OrLabel',
|
|
47
40
|
props: {
|
|
48
41
|
controlId: {
|
|
49
42
|
type: String,
|
|
@@ -53,10 +46,6 @@ var script = defineComponent({
|
|
|
53
46
|
type: String,
|
|
54
47
|
default: LabelVariant.Input
|
|
55
48
|
},
|
|
56
|
-
selected: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: false
|
|
59
|
-
},
|
|
60
49
|
required: {
|
|
61
50
|
type: Boolean,
|
|
62
51
|
default: false
|
|
@@ -71,7 +60,7 @@ var script = defineComponent({
|
|
|
71
60
|
// Refs
|
|
72
61
|
const root = ref();
|
|
73
62
|
// Styles
|
|
74
|
-
const rootStyles = computed(() => ['or-label-v3', ...
|
|
63
|
+
const rootStyles = computed(() => ['or-label-v3', ...LabelRoot, ...LabelRootVariants[props.variant]]);
|
|
75
64
|
const textStyles = computed(() => [...LabelText]);
|
|
76
65
|
const addonStyles = computed(() => [...LabelAddon]);
|
|
77
66
|
return {
|
|
@@ -95,7 +84,6 @@ var __vue_render__ = function () {
|
|
|
95
84
|
ref: "root",
|
|
96
85
|
class: _vm.rootStyles,
|
|
97
86
|
attrs: {
|
|
98
|
-
"selected": _vm.selected ? '' : null,
|
|
99
87
|
"disabled": _vm.disabled ? '' : null
|
|
100
88
|
}
|
|
101
89
|
}, [_c('label', {
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-
|
|
7
|
+
import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-63380256.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { _ as __vue_component__$1 } from './OrFormGroup-
|
|
7
|
-
import { _ as __vue_component__$2 } from './OrRadio-
|
|
6
|
+
import { _ as __vue_component__$1 } from './OrFormGroup-29a514db.js';
|
|
7
|
+
import { _ as __vue_component__$2 } from './OrRadio-b32dfbfe.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
10
10
|
var script = defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-99ccfff7.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, toRef, onMounted, watch } from 'vue-demi';
|
|
2
|
-
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
2
|
+
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
|
-
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
7
6
|
import '@onereach/styles/tailwind.config';
|
|
8
7
|
import 'tailwindcss/resolveConfig';
|
|
9
8
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
10
|
-
import { _ as __vue_component__$1 } from './OrCheckbox-
|
|
9
|
+
import { _ as __vue_component__$1 } from './OrCheckbox-db66b4ea.js';
|
|
11
10
|
import { _ as __vue_component__$2 } from './OrError-4ffc1c39.js';
|
|
12
11
|
import { _ as __vue_component__$3 } from './OrExpansionPanel-f1d8fcc9.js';
|
|
13
12
|
import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
@@ -15,14 +14,14 @@ import { _ as __vue_component__$6 } from './OrIconButton-311050dc.js';
|
|
|
15
14
|
import { _ as __vue_component__$5 } from './OrIcon-d35a84d8.js';
|
|
16
15
|
import { _ as __vue_component__$8 } from './OrInputBox-7dc5b9e9.js';
|
|
17
16
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
18
|
-
import { _ as __vue_component__$7 } from './OrInput-
|
|
19
|
-
import { _ as __vue_component__$9 } from './OrLabel-
|
|
17
|
+
import { _ as __vue_component__$7 } from './OrInput-99ccfff7.js';
|
|
18
|
+
import { _ as __vue_component__$9 } from './OrLabel-63380256.js';
|
|
20
19
|
import { _ as __vue_component__$a } from './OrMenuItem-c1c97ebe.js';
|
|
21
20
|
import { _ as __vue_component__$b } from './OrPopover-36e2fc9f.js';
|
|
22
21
|
import { _ as __vue_component__$c } from './OrTag-d21ee9c1.js';
|
|
23
22
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
23
|
|
|
25
|
-
const
|
|
24
|
+
const SelectRoot = [
|
|
26
25
|
// Layout
|
|
27
26
|
'layout-column',
|
|
28
27
|
// Spacing
|
|
@@ -38,11 +37,6 @@ const SelectControl = [
|
|
|
38
37
|
'gap-xs',
|
|
39
38
|
// Typography
|
|
40
39
|
'typography-inherit'];
|
|
41
|
-
const SelectSearchControl = [
|
|
42
|
-
// Layout
|
|
43
|
-
'grow',
|
|
44
|
-
// Spacing
|
|
45
|
-
'!mx-lg md:!mx-none', '!my-sm md:!my-none'];
|
|
46
40
|
const SelectPlaceholder = [
|
|
47
41
|
// Theme
|
|
48
42
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
@@ -67,11 +61,6 @@ const SelectDropdownFlipped = [
|
|
|
67
61
|
'rounded-t-md',
|
|
68
62
|
// Theme
|
|
69
63
|
'!border-b-0'];
|
|
70
|
-
const SelectDropdownItem = [
|
|
71
|
-
// Typography
|
|
72
|
-
'!typography-body-2-regular',
|
|
73
|
-
// Typography (selected)
|
|
74
|
-
'selected:!typography-body-2-semibold'];
|
|
75
64
|
const SelectNoSearchResults = [
|
|
76
65
|
// Layout
|
|
77
66
|
'layout-row justify-center',
|
|
@@ -83,6 +72,7 @@ const SelectNoSearchResults = [
|
|
|
83
72
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
84
73
|
|
|
85
74
|
var script = defineComponent({
|
|
75
|
+
name: 'OrSelect',
|
|
86
76
|
components: {
|
|
87
77
|
OrCheckbox: __vue_component__$1,
|
|
88
78
|
OrError: __vue_component__$2,
|
|
@@ -191,8 +181,6 @@ var script = defineComponent({
|
|
|
191
181
|
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
192
182
|
});
|
|
193
183
|
const control = ref();
|
|
194
|
-
const searchControl = ref();
|
|
195
|
-
const mobileSearchControl = ref();
|
|
196
184
|
const popover = ref();
|
|
197
185
|
const popoverRoot = computed(() => {
|
|
198
186
|
var _a;
|
|
@@ -203,15 +191,13 @@ var script = defineComponent({
|
|
|
203
191
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
204
192
|
});
|
|
205
193
|
// Styles
|
|
206
|
-
const rootStyles = computed(() => ['or-select-v3', ...
|
|
194
|
+
const rootStyles = computed(() => ['or-select-v3', ...SelectRoot]);
|
|
207
195
|
const controlStyles = computed(() => [...SelectControl]);
|
|
208
|
-
const searchControlStyles = computed(() => [...SelectSearchControl]);
|
|
209
196
|
const placeholderStyles = computed(() => [...SelectPlaceholder]);
|
|
210
197
|
const dropdownStyles = computed(() => {
|
|
211
198
|
var _a;
|
|
212
199
|
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
213
200
|
});
|
|
214
|
-
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
215
201
|
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
216
202
|
// State
|
|
217
203
|
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
@@ -228,7 +214,7 @@ var script = defineComponent({
|
|
|
228
214
|
const selection = computed(() => {
|
|
229
215
|
const modelValue = proxyModelValue.value;
|
|
230
216
|
if (Array.isArray(modelValue)) {
|
|
231
|
-
return modelValue.map(value => props.options.find(option => option.value === value))
|
|
217
|
+
return modelValue.map(value => props.options.find(option => option.value === value));
|
|
232
218
|
}
|
|
233
219
|
return props.options.find(option => option.value === modelValue);
|
|
234
220
|
});
|
|
@@ -288,43 +274,22 @@ var script = defineComponent({
|
|
|
288
274
|
proxyModelValue.value = modelValue.filter(value => value !== option.value);
|
|
289
275
|
}
|
|
290
276
|
}
|
|
291
|
-
function focusSearchControl() {
|
|
292
|
-
setTimeout(() => {
|
|
293
|
-
var _a, _b;
|
|
294
|
-
if (isMobile.value) {
|
|
295
|
-
(_a = mobileSearchControl.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
296
|
-
} else {
|
|
297
|
-
(_b = searchControl.value) === null || _b === void 0 ? void 0 : _b.focus();
|
|
298
|
-
}
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
function clearSearchControl() {
|
|
302
|
-
searchText.value = '';
|
|
303
|
-
}
|
|
304
277
|
const {
|
|
305
278
|
innerItems,
|
|
306
279
|
outerItems
|
|
307
280
|
} = useOverflow(control);
|
|
308
|
-
// Utils
|
|
309
|
-
const {
|
|
310
|
-
isMobile
|
|
311
|
-
} = useResponsive();
|
|
312
281
|
return {
|
|
313
282
|
root,
|
|
314
283
|
inputBox,
|
|
315
284
|
inputBoxRoot,
|
|
316
285
|
control,
|
|
317
|
-
searchControl,
|
|
318
|
-
mobileSearchControl,
|
|
319
286
|
popover,
|
|
320
287
|
popoverRoot,
|
|
321
288
|
popoverState,
|
|
322
289
|
rootStyles,
|
|
323
290
|
controlStyles,
|
|
324
|
-
searchControlStyles,
|
|
325
291
|
placeholderStyles,
|
|
326
292
|
dropdownStyles,
|
|
327
|
-
dropdownItemStyles,
|
|
328
293
|
noSearchResultsStyles,
|
|
329
294
|
controlId,
|
|
330
295
|
proxyModelValue,
|
|
@@ -338,11 +303,8 @@ var script = defineComponent({
|
|
|
338
303
|
toggle,
|
|
339
304
|
close,
|
|
340
305
|
deselect,
|
|
341
|
-
focusSearchControl,
|
|
342
|
-
clearSearchControl,
|
|
343
306
|
innerItems,
|
|
344
|
-
outerItems
|
|
345
|
-
isMobile
|
|
307
|
+
outerItems
|
|
346
308
|
};
|
|
347
309
|
}
|
|
348
310
|
});
|
|
@@ -409,10 +371,10 @@ var __vue_render__ = function () {
|
|
|
409
371
|
return _vm.$emit('blur', $event);
|
|
410
372
|
}
|
|
411
373
|
}
|
|
412
|
-
}, [_vm.multiple ? [
|
|
413
|
-
return _vm._l(_vm.selection, function (option) {
|
|
374
|
+
}, [_vm.multiple ? [_vm.proxyModelValue && _vm.proxyModelValue.length > 0 ? [_vm._t("valueTemplate", function () {
|
|
375
|
+
return _vm._l(_vm.selection, function (option, i) {
|
|
414
376
|
return _c('OrTag', {
|
|
415
|
-
key:
|
|
377
|
+
key: i,
|
|
416
378
|
attrs: {
|
|
417
379
|
"variant": 'reset',
|
|
418
380
|
"disabled": _vm.disabled || _vm.readonly
|
|
@@ -426,88 +388,19 @@ var __vue_render__ = function () {
|
|
|
426
388
|
});
|
|
427
389
|
}, {
|
|
428
390
|
"model": _vm.proxyModelValue
|
|
429
|
-
}), _vm._v(" "), _vm.popoverState === 'open' && _vm.enableSearch ? [_c('OrInput', {
|
|
430
|
-
ref: "searchControl",
|
|
431
|
-
class: _vm.searchControlStyles,
|
|
432
|
-
attrs: {
|
|
433
|
-
"type": 'search',
|
|
434
|
-
"placeholder": 'Search',
|
|
435
|
-
"size": _vm.size,
|
|
436
|
-
"disable-default-styles": true
|
|
437
|
-
},
|
|
438
|
-
on: {
|
|
439
|
-
"click": function ($event) {
|
|
440
|
-
$event.stopPropagation();
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
model: {
|
|
444
|
-
value: _vm.searchText,
|
|
445
|
-
callback: function ($$v) {
|
|
446
|
-
_vm.searchText = $$v;
|
|
447
|
-
},
|
|
448
|
-
expression: "searchText"
|
|
449
|
-
}
|
|
450
|
-
})] : _vm._e()] : [_vm.popoverState === 'open' && _vm.enableSearch ? [_c('OrInput', {
|
|
451
|
-
ref: "searchControl",
|
|
452
|
-
class: _vm.searchControlStyles,
|
|
453
|
-
attrs: {
|
|
454
|
-
"type": 'search',
|
|
455
|
-
"placeholder": 'Search',
|
|
456
|
-
"size": _vm.size,
|
|
457
|
-
"disable-default-styles": true
|
|
458
|
-
},
|
|
459
|
-
on: {
|
|
460
|
-
"click": function ($event) {
|
|
461
|
-
$event.stopPropagation();
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
model: {
|
|
465
|
-
value: _vm.searchText,
|
|
466
|
-
callback: function ($$v) {
|
|
467
|
-
_vm.searchText = $$v;
|
|
468
|
-
},
|
|
469
|
-
expression: "searchText"
|
|
470
|
-
}
|
|
471
391
|
})] : [_c('span', {
|
|
472
|
-
class: _vm.placeholderStyles
|
|
473
|
-
|
|
474
|
-
"disabled": _vm.disabled ? '' : null
|
|
475
|
-
}
|
|
476
|
-
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]]] : [_vm.popoverState === 'open' && _vm.enableSearch ? [_c('OrInput', {
|
|
477
|
-
ref: "searchControl",
|
|
478
|
-
class: _vm.searchControlStyles,
|
|
479
|
-
attrs: {
|
|
480
|
-
"type": 'search',
|
|
481
|
-
"placeholder": 'Search',
|
|
482
|
-
"size": _vm.size,
|
|
483
|
-
"disable-default-styles": true
|
|
484
|
-
},
|
|
485
|
-
on: {
|
|
486
|
-
"click": function ($event) {
|
|
487
|
-
$event.stopPropagation();
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
model: {
|
|
491
|
-
value: _vm.searchText,
|
|
492
|
-
callback: function ($$v) {
|
|
493
|
-
_vm.searchText = $$v;
|
|
494
|
-
},
|
|
495
|
-
expression: "searchText"
|
|
496
|
-
}
|
|
497
|
-
})] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
392
|
+
class: _vm.placeholderStyles
|
|
393
|
+
}, [_vm._v(_vm._s(_vm.placeholder))])]] : [!_vm.isEmptyModelValue ? [_vm._t("valueTemplate", function () {
|
|
498
394
|
return [_c('span', {
|
|
499
395
|
staticClass: "truncate"
|
|
500
|
-
}, [_vm._v("\n
|
|
396
|
+
}, [_vm._v("\n " + _vm._s(_vm.selection && _vm.selection.label) + "\n ")])];
|
|
501
397
|
}, {
|
|
502
398
|
"model": _vm.proxyModelValue
|
|
503
399
|
})] : [_c('span', {
|
|
504
|
-
class: _vm.placeholderStyles
|
|
505
|
-
|
|
506
|
-
"disabled": _vm.disabled ? '' : null
|
|
507
|
-
}
|
|
508
|
-
}, [_vm._v("\n " + _vm._s(_vm.placeholder) + "\n ")])]]]], 2), _vm._v(" "), _vm.multiple && _vm.outerItems.length > 0 ? [_vm._v("\n +" + _vm._s(_vm.outerItems.length) + "\n ")] : _vm._e(), _vm._v(" "), _c('div', {
|
|
400
|
+
class: _vm.placeholderStyles
|
|
401
|
+
}, [_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', {
|
|
509
402
|
class: ['layout-inline-row', 'gap-sm']
|
|
510
|
-
}, [_vm.
|
|
403
|
+
}, [!_vm.multiple && _vm.proxyModelValue ? [_c('OrIconButton', {
|
|
511
404
|
attrs: {
|
|
512
405
|
"icon": 'close',
|
|
513
406
|
"color": 'inherit',
|
|
@@ -516,7 +409,7 @@ var __vue_render__ = function () {
|
|
|
516
409
|
on: {
|
|
517
410
|
"click": function ($event) {
|
|
518
411
|
$event.stopPropagation();
|
|
519
|
-
return _vm.$emit('update:modelValue',
|
|
412
|
+
return _vm.$emit('update:modelValue', undefined);
|
|
520
413
|
}
|
|
521
414
|
}
|
|
522
415
|
})] : _vm._e(), _vm._v(" "), _c('OrIcon', {
|
|
@@ -533,21 +426,13 @@ var __vue_render__ = function () {
|
|
|
533
426
|
"full-width": true,
|
|
534
427
|
"custom-styles": _vm.dropdownStyles,
|
|
535
428
|
"disable-default-styles": true
|
|
536
|
-
},
|
|
537
|
-
on: {
|
|
538
|
-
"open": function ($event) {
|
|
539
|
-
return _vm.focusSearchControl();
|
|
540
|
-
},
|
|
541
|
-
"close": function ($event) {
|
|
542
|
-
return _vm.clearSearchControl();
|
|
543
|
-
}
|
|
544
429
|
}
|
|
545
|
-
}, [_vm.
|
|
546
|
-
ref: "mobileSearchControl",
|
|
547
|
-
class: _vm.searchControlStyles,
|
|
430
|
+
}, [_vm.enableSearch ? [_c('OrInput', {
|
|
548
431
|
attrs: {
|
|
549
432
|
"type": 'search',
|
|
550
|
-
"placeholder": 'Search'
|
|
433
|
+
"placeholder": 'Search',
|
|
434
|
+
"size": 's',
|
|
435
|
+
"disable-default-styles": true
|
|
551
436
|
},
|
|
552
437
|
model: {
|
|
553
438
|
value: _vm.searchText,
|
|
@@ -564,16 +449,13 @@ var __vue_render__ = function () {
|
|
|
564
449
|
}
|
|
565
450
|
}, [_vm.multiple ? _vm._l(group, function (option, i) {
|
|
566
451
|
return _c('OrMenuItem', {
|
|
567
|
-
key: i
|
|
568
|
-
attrs: {
|
|
569
|
-
"selected": _vm.proxyModelValue && _vm.proxyModelValue.includes(option.value)
|
|
570
|
-
}
|
|
452
|
+
key: i
|
|
571
453
|
}, [_vm._t("optionTemplate", function () {
|
|
572
454
|
return [_c('OrCheckbox', {
|
|
573
455
|
attrs: {
|
|
574
456
|
"value": option.value,
|
|
575
457
|
"label": option.label,
|
|
576
|
-
"label-variant": '
|
|
458
|
+
"label-variant": 'input'
|
|
577
459
|
},
|
|
578
460
|
model: {
|
|
579
461
|
value: _vm.proxyModelValue,
|
|
@@ -590,10 +472,6 @@ var __vue_render__ = function () {
|
|
|
590
472
|
}) : _vm._l(group, function (option, i) {
|
|
591
473
|
return _c('OrMenuItem', {
|
|
592
474
|
key: i,
|
|
593
|
-
class: _vm.dropdownItemStyles,
|
|
594
|
-
attrs: {
|
|
595
|
-
"selected": _vm.proxyModelValue === option.value
|
|
596
|
-
},
|
|
597
475
|
on: {
|
|
598
476
|
"click": function ($event) {
|
|
599
477
|
$event.stopPropagation();
|
|
@@ -610,15 +488,12 @@ var __vue_render__ = function () {
|
|
|
610
488
|
})], 2);
|
|
611
489
|
}) : [_vm.multiple ? _vm._l(_vm.resolvedSearchOptions, function (option, i) {
|
|
612
490
|
return _c('OrMenuItem', {
|
|
613
|
-
key: i
|
|
614
|
-
attrs: {
|
|
615
|
-
"selected": _vm.proxyModelValue && _vm.proxyModelValue.includes(option.value)
|
|
616
|
-
}
|
|
491
|
+
key: i
|
|
617
492
|
}, [_c('OrCheckbox', {
|
|
618
493
|
attrs: {
|
|
619
494
|
"value": option.value,
|
|
620
495
|
"label": option.label,
|
|
621
|
-
"label-variant": '
|
|
496
|
+
"label-variant": 'input'
|
|
622
497
|
},
|
|
623
498
|
model: {
|
|
624
499
|
value: _vm.proxyModelValue,
|
|
@@ -634,10 +509,6 @@ var __vue_render__ = function () {
|
|
|
634
509
|
}) : _vm._l(_vm.resolvedSearchOptions, function (option, i) {
|
|
635
510
|
return _c('OrMenuItem', {
|
|
636
511
|
key: i,
|
|
637
|
-
class: _vm.dropdownItemStyles,
|
|
638
|
-
attrs: {
|
|
639
|
-
"selected": _vm.proxyModelValue === option.value
|
|
640
|
-
},
|
|
641
512
|
on: {
|
|
642
513
|
"click": function ($event) {
|
|
643
514
|
$event.stopPropagation();
|