@onereach/ui-components 5.0.2 → 5.1.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/components/OrCheckboxV3/OrCheckbox.js +3 -2
- 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 +7 -3
- package/dist/bundled/v2/components/OrLabelV3/OrLabel.vue.d.ts +16 -5
- package/dist/bundled/v2/components/OrLabelV3/props.d.ts +2 -1
- package/dist/bundled/v2/components/OrLabelV3/props.js +1 -0
- package/dist/bundled/v2/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrLabelV3/styles.js +14 -5
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +99 -25
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +23 -0
- package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +14 -4
- 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 +0 -2
- package/dist/bundled/v2/directives/dropdown-open.js +1 -3
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ef25e74b.js → OrCardCollection.vue_vue_type_script_lang-32a5019d.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-eeb6b419.js → OrCheckbox.vue_vue_type_script_lang-38736023.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js → OrCheckboxGroup.vue_vue_type_script_lang-51bbd047.js} +2 -2
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js → OrCheckboxTree.vue_vue_type_script_lang-e67747a4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-aca7f503.js → OrCode.vue_vue_type_script_lang-1bf2766c.js} +1 -1
- package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js → OrCombinedInput.vue_vue_type_script_lang-230d4d9c.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2ca0f55a.js → OrConfirm.vue_vue_type_script_lang-d37994d8.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-86ca7af9.js → OrDatePicker.vue_vue_type_script_lang-f73b9f07.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-92429c31.js → OrDateTimePicker.vue_vue_type_script_lang-df504a2e.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-d9eef487.js → OrDateTimePickerPopoverHeader-eff1f44b.js} +1 -1
- package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-1c6844d6.js → OrFormGroup.vue_vue_type_script_lang-d67479fc.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-3927acb7.js → OrInput.vue_vue_type_script_lang-4a4bec95.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-3e11ab8a.js → OrLabel.vue_vue_type_script_lang-fcdfd80d.js} +6 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-48c2bc6b.js → OrRadio.vue_vue_type_script_lang-08ab2220.js} +1 -1
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js → OrRadioGroup.vue_vue_type_script_lang-d84948fc.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-787d1b44.js → OrSearch.vue_vue_type_script_lang-e055677e.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-932be22a.js → OrSelect.vue_vue_type_script_lang-19739ac1.js} +35 -8
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-ee55263f.js → OrSwitch.vue_vue_type_script_lang-14b4ec0a.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-85c70a2a.js → OrTagInput.vue_vue_type_script_lang-972ba1bb.js} +1 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-7562cca1.js → OrTextarea.vue_vue_type_script_lang-a7cfbe82.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-15702833.js → OrTimePicker.vue_vue_type_script_lang-e4274a52.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 +5 -4
- 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 +4 -3
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +12 -3
- package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLabelV3/props.d.ts +2 -1
- package/dist/bundled/v3/components/OrLabelV3/props.js +1 -0
- package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrLabelV3/styles.js +14 -5
- 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 +66 -40
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +15 -0
- package/dist/bundled/v3/components/OrSelectV3/index.js +4 -4
- package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +3 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +14 -4
- 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 +0 -2
- package/dist/bundled/v3/directives/dropdown-open.js +1 -3
- package/dist/bundled/v3/index.js +22 -22
- package/dist/esm/v2/{OrCardCollection-16d7fede.js → OrCardCollection-35add276.js} +1 -1
- package/dist/esm/v2/{OrCheckbox-db66b4ea.js → OrCheckbox-ae903071.js} +4 -3
- package/dist/esm/v2/{OrCheckboxGroup-a04f27fe.js → OrCheckboxGroup-74dc7c1d.js} +2 -2
- package/dist/esm/v2/{OrCheckboxTree-f48db82f.js → OrCheckboxTree-19f5d69b.js} +1 -1
- package/dist/esm/v2/{OrCode-c772c8f5.js → OrCode-c2675f47.js} +1 -1
- package/dist/esm/v2/{OrCombinedInput-45187323.js → OrCombinedInput-2639e3e1.js} +1 -1
- package/dist/esm/v2/{OrConfirm-389d7e31.js → OrConfirm-9f43fb6a.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-dab6a28b.js → OrDatePicker-29e3897a.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-b927b51a.js → OrDateTimePicker-5913e464.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-78b7ad39.js → OrDateTimePicker.vue_rollup-plugin-vue_script-e22f3b7b.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-1bd2a85f.js → OrDateTimePickerPopoverHeader-3a5c05ac.js} +1 -1
- package/dist/esm/v2/{OrFormGroup-29a514db.js → OrFormGroup-9000fcdf.js} +1 -1
- package/dist/esm/v2/{OrInput-57211a5b.js → OrInput-a6183a78.js} +3 -3
- package/dist/esm/v2/{OrLabel-63380256.js → OrLabel-4a3d8904.js} +18 -6
- package/dist/esm/v2/{OrRadio-b32dfbfe.js → OrRadio-0fc3ae14.js} +1 -1
- package/dist/esm/v2/{OrRadioGroup-d1c2e460.js → OrRadioGroup-1108883d.js} +2 -2
- package/dist/esm/v2/{OrSearch-95447225.js → OrSearch-15ecfbf0.js} +1 -1
- package/dist/esm/v2/{OrSelect-c92299c7.js → OrSelect-ee398af5.js} +115 -30
- package/dist/esm/v2/{OrSwitch-e49ce2d8.js → OrSwitch-a3da6bec.js} +1 -1
- package/dist/esm/v2/{OrTagInput-7c95be61.js → OrTagInput-adef254c.js} +1 -1
- package/dist/esm/v2/{OrTextarea-824f7048.js → OrTextarea-6fe8b65f.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-fe172ae6.js → OrTimePicker-9738c72f.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 +16 -5
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-label-v3/props.d.ts +2 -1
- 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 +23 -0
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-select-v3/styles.d.ts +3 -1
- 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/v2/{dropdown-open-e1f90e0a.js → dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v2/index.js +23 -23
- package/dist/esm/v3/{OrCardCollection-a03fe4ee.js → OrCardCollection-e4a72381.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-09f62aab.js → OrCheckbox-a571fc90.js} +3 -2
- package/dist/esm/v3/{OrCheckboxGroup-6c054793.js → OrCheckboxGroup-7fe25d85.js} +2 -2
- package/dist/esm/v3/{OrCheckboxTree-bb32455e.js → OrCheckboxTree-bea23696.js} +1 -1
- package/dist/esm/v3/{OrCode-e0046019.js → OrCode-efdc9eee.js} +1 -1
- package/dist/esm/v3/{OrCombinedInput-2800ee8b.js → OrCombinedInput-6dd0f75d.js} +1 -1
- package/dist/esm/v3/{OrConfirm-fd33e48c.js → OrConfirm-fa35ffd0.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-dae900de.js → OrDatePicker-40e867e5.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-3d4aeabe.js → OrDateTimePicker-888a2f98.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-3c371f05.js → OrDateTimePickerPopoverHeader-8f0408b2.js} +1 -1
- package/dist/esm/v3/{OrFormGroup-9f581536.js → OrFormGroup-c4631ef0.js} +1 -1
- package/dist/esm/v3/{OrInput-41b40eee.js → OrInput-8463ca1d.js} +1 -1
- package/dist/esm/v3/{OrLabel-4da56db0.js → OrLabel-d4c46bb6.js} +19 -7
- package/dist/esm/v3/{OrRadio-7b722b16.js → OrRadio-48cd02a9.js} +1 -1
- package/dist/esm/v3/{OrRadioGroup-58c0214c.js → OrRadioGroup-82d10aa8.js} +2 -2
- package/dist/esm/v3/{OrSearch-e6f6573f.js → OrSearch-9c694c80.js} +1 -1
- package/dist/esm/v3/{OrSelect-db90c428.js → OrSelect-3a39f89e.js} +109 -46
- package/dist/esm/v3/{OrSwitch-a6efd081.js → OrSwitch-f4d9e196.js} +1 -1
- package/dist/esm/v3/{OrTagInput-f11a2d68.js → OrTagInput-8cc92992.js} +1 -1
- package/dist/esm/v3/{OrTextarea-6c471ccd.js → OrTextarea-f3412790.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-b1ff46c1.js → OrTimePicker-e3b5ef7f.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 +12 -3
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-label-v3/props.d.ts +2 -1
- 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 +15 -0
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-select-v3/styles.d.ts +3 -1
- 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/v3/{dropdown-open-e1f90e0a.js → dropdown-open-06d651cf.js} +1 -5
- package/dist/esm/v3/index.js +22 -22
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -0
- package/src/components/or-input-v3/OrInput.vue +1 -0
- package/src/components/or-label-v3/OrLabel.vue +9 -5
- package/src/components/or-label-v3/props.ts +1 -0
- package/src/components/or-label-v3/styles.ts +16 -4
- package/src/components/or-select-v3/OrSelect.vue +90 -21
- package/src/components/or-select-v3/styles.ts +20 -3
- package/src/directives/dropdown-close.ts +0 -3
- package/src/directives/dropdown-open.ts +1 -4
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-a4f77733.js → OrDateTimePickerPopoverHeader-f3d67e5d.js} +0 -0
|
@@ -10,6 +10,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
10
|
} | {}, true> | undefined>;
|
|
11
11
|
inputBoxRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
12
12
|
control: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
13
|
+
searchControl: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
13
14
|
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
14
15
|
[x: string]: ((...args: any[]) => any) | null;
|
|
15
16
|
} | string[], {} & {}, {
|
|
@@ -19,8 +20,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
19
20
|
popoverState: import("@vue/composition-api").ComputedRef<undefined>;
|
|
20
21
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
21
22
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
23
|
+
searchControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
22
24
|
placeholderStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
23
25
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
26
|
+
dropdownItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
24
27
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
25
28
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
26
29
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
|
|
@@ -37,8 +40,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
37
40
|
toggle: () => void;
|
|
38
41
|
close: () => void;
|
|
39
42
|
deselect: (option: SelectOption) => void;
|
|
43
|
+
clearSearchControl: () => void;
|
|
40
44
|
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
41
45
|
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
46
|
+
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
47
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
42
48
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
43
49
|
options: {
|
|
44
50
|
type: PropType<SelectOption[]>;
|
|
@@ -68,6 +74,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
68
74
|
type: StringConstructor;
|
|
69
75
|
default: undefined;
|
|
70
76
|
};
|
|
77
|
+
searchPlaceholder: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
71
81
|
hint: {
|
|
72
82
|
type: StringConstructor;
|
|
73
83
|
default: undefined;
|
|
@@ -133,6 +143,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
133
143
|
type: StringConstructor;
|
|
134
144
|
default: undefined;
|
|
135
145
|
};
|
|
146
|
+
searchPlaceholder: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: undefined;
|
|
149
|
+
};
|
|
136
150
|
hint: {
|
|
137
151
|
type: StringConstructor;
|
|
138
152
|
default: undefined;
|
|
@@ -177,6 +191,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
177
191
|
multiple: boolean;
|
|
178
192
|
size: SelectSize;
|
|
179
193
|
placeholder: string;
|
|
194
|
+
searchPlaceholder: string;
|
|
180
195
|
hint: string;
|
|
181
196
|
error: string | boolean;
|
|
182
197
|
required: boolean;
|
|
@@ -197,6 +212,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
197
212
|
} | {}, true> | undefined>;
|
|
198
213
|
inputBoxRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
199
214
|
control: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
215
|
+
searchControl: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
200
216
|
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
201
217
|
[x: string]: ((...args: any[]) => any) | null;
|
|
202
218
|
} | string[], {} & {}, {
|
|
@@ -206,8 +222,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
206
222
|
popoverState: import("@vue/composition-api").ComputedRef<undefined>;
|
|
207
223
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
208
224
|
controlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
225
|
+
searchControlStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
209
226
|
placeholderStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
210
227
|
dropdownStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
228
|
+
dropdownItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
211
229
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
212
230
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
213
231
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | object | string[] | object[] | number[]>;
|
|
@@ -224,8 +242,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
224
242
|
toggle: () => void;
|
|
225
243
|
close: () => void;
|
|
226
244
|
deselect: (option: SelectOption) => void;
|
|
245
|
+
clearSearchControl: () => void;
|
|
227
246
|
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
228
247
|
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
248
|
+
isDesktop: import("@vue/composition-api").Ref<boolean>;
|
|
249
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
229
250
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
230
251
|
modelValue: string | number | object | string[] | object[] | number[];
|
|
231
252
|
label: string;
|
|
@@ -234,6 +255,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
234
255
|
multiple: boolean;
|
|
235
256
|
size: SelectSize;
|
|
236
257
|
placeholder: string;
|
|
258
|
+
searchPlaceholder: string;
|
|
237
259
|
hint: string;
|
|
238
260
|
error: string | boolean;
|
|
239
261
|
required: boolean;
|
|
@@ -253,6 +275,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
253
275
|
multiple: boolean;
|
|
254
276
|
size: SelectSize;
|
|
255
277
|
placeholder: string;
|
|
278
|
+
searchPlaceholder: string;
|
|
256
279
|
hint: string;
|
|
257
280
|
error: string | boolean;
|
|
258
281
|
required: boolean;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-ee398af5.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
-
import '../../dropdown-open-
|
|
4
|
+
import '../../dropdown-open-06d651cf.js';
|
|
5
5
|
import '../../useOverflow-c856b7b7.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import '../../useProxyModelValue-940010d2.js';
|
|
8
|
+
import '../../useResponsive-a02e95b7.js';
|
|
8
9
|
import '@onereach/styles/tailwind.config';
|
|
9
10
|
import 'tailwindcss/resolveConfig';
|
|
10
11
|
import '../../isEmptyValue-fd56a6e4.js';
|
|
11
|
-
import '../../OrCheckbox-
|
|
12
|
+
import '../../OrCheckbox-ae903071.js';
|
|
12
13
|
import '../../useIdAttribute-859439f0.js';
|
|
13
|
-
import '../../OrLabel-
|
|
14
|
+
import '../../OrLabel-4a3d8904.js';
|
|
14
15
|
import '../../normalize-component-6e8e3d80.js';
|
|
15
16
|
import '../../style-inject.es-4c6f2515.js';
|
|
16
17
|
import '../../OrError-4ffc1c39.js';
|
|
@@ -23,14 +24,13 @@ import '../../OrTooltip-dbe9383a.js';
|
|
|
23
24
|
import '../../OrPopover-66817adb.js';
|
|
24
25
|
import '@floating-ui/dom';
|
|
25
26
|
import '../../useElevation-a50ec347.js';
|
|
26
|
-
import '../../useResponsive-a02e95b7.js';
|
|
27
27
|
import '../../OrBottomSheet-c20810b8.js';
|
|
28
28
|
import '../../OrOverlay-f819eff9.js';
|
|
29
29
|
import '../../OrTeleport.vue2-424c7f33.js';
|
|
30
30
|
import 'portal-vue';
|
|
31
31
|
import '../../useTheme-e23d13c8.js';
|
|
32
32
|
import '../../OrInputBox-7dc5b9e9.js';
|
|
33
|
-
import '../../OrInput-
|
|
33
|
+
import '../../OrInput-a6183a78.js';
|
|
34
34
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
35
35
|
import '../../OrLoader-b0c381f9.js';
|
|
36
36
|
import '../../OrMenuItem-c1c97ebe.js';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Select: string[];
|
|
2
2
|
export declare const SelectControl: string[];
|
|
3
|
+
export declare const SelectSearchControl: string[];
|
|
3
4
|
export declare const SelectPlaceholder: string[];
|
|
4
5
|
export declare const SelectDropdown: string[];
|
|
5
6
|
export declare const SelectDropdownDefault: string[];
|
|
6
7
|
export declare const SelectDropdownFlipped: string[];
|
|
8
|
+
export declare const SelectDropdownItem: string[];
|
|
7
9
|
export declare const SelectNoSearchResults: string[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { _ as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { _ as OrSwitchV3 } from '../../OrSwitch-a3da6bec.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind.config';
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
|
-
import '../../OrLabel-
|
|
8
|
+
import '../../OrLabel-4a3d8904.js';
|
|
9
9
|
import '../../normalize-component-6e8e3d80.js';
|
|
10
10
|
import '../../OrLoader-b0c381f9.js';
|
|
11
11
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTagInputV3 } from '../../OrTagInput-
|
|
1
|
+
export { _ as OrTagInputV3 } from '../../OrTagInput-adef254c.js';
|
|
2
2
|
export { I as TagInputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -24,7 +24,7 @@ import '../../OrTeleport.vue2-424c7f33.js';
|
|
|
24
24
|
import 'portal-vue';
|
|
25
25
|
import '../../useTheme-e23d13c8.js';
|
|
26
26
|
import '../../OrInputBox-7dc5b9e9.js';
|
|
27
|
-
import '../../OrLabel-
|
|
27
|
+
import '../../OrLabel-4a3d8904.js';
|
|
28
28
|
import '../../OrTags-b4de9652.js';
|
|
29
29
|
import '../../useOverflow-c856b7b7.js';
|
|
30
30
|
import '../../OrButton-a23ee9f0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrTextareaV3 } from '../../OrTextarea-
|
|
1
|
+
export { _ as OrTextareaV3 } from '../../OrTextarea-6fe8b65f.js';
|
|
2
2
|
export { I as TextareaSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -11,5 +11,5 @@ import '../../OrError-4ffc1c39.js';
|
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
12
12
|
import '../../OrHint-aa221198.js';
|
|
13
13
|
import '../../OrInputBox-7dc5b9e9.js';
|
|
14
|
-
import '../../OrLabel-
|
|
14
|
+
import '../../OrLabel-4a3d8904.js';
|
|
15
15
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { _ as OrTimePickerV3 } from '../../OrTimePicker-
|
|
2
|
-
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
export { _ as OrTimePickerV3 } from '../../OrTimePicker-9738c72f.js';
|
|
2
|
+
export { D as TimePickerFormat } from '../../OrDateTimePicker.vue_rollup-plugin-vue_script-e22f3b7b.js';
|
|
3
3
|
export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../dropdown-open-
|
|
5
|
+
import '../../dropdown-open-06d651cf.js';
|
|
6
6
|
import '@vueuse/core';
|
|
7
7
|
import '../../useProxyModelValue-940010d2.js';
|
|
8
8
|
import '@onereach/styles/tailwind.config';
|
|
9
9
|
import 'tailwindcss/resolveConfig';
|
|
10
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
10
|
+
import '../../OrDateTimePickerPopoverHeader-3a5c05ac.js';
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
12
12
|
import '../../OrButton-a23ee9f0.js';
|
|
13
13
|
import '../../OrLoader-b0c381f9.js';
|
|
14
|
-
import '../../OrLabel-
|
|
14
|
+
import '../../OrLabel-4a3d8904.js';
|
|
15
15
|
import '../../OrIconButton-667d8f83.js';
|
|
16
16
|
import '../../OrIcon-d35a84d8.js';
|
|
17
17
|
import '../../OrTooltip-dbe9383a.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { D as DropdownClose, a as DropdownOpen } from '../dropdown-open-
|
|
1
|
+
export { D as DropdownClose, a as DropdownOpen } from '../dropdown-open-06d651cf.js';
|
|
2
2
|
import 'vue-demi';
|
|
@@ -2,8 +2,6 @@ import { isVue3 } from 'vue-demi';
|
|
|
2
2
|
|
|
3
3
|
const created$1 = (element, binding) => {
|
|
4
4
|
element.addEventListener('keydown', event => {
|
|
5
|
-
event.preventDefault();
|
|
6
|
-
event.stopPropagation();
|
|
7
5
|
if (['Escape'].includes(event.key)) {
|
|
8
6
|
binding.value(event);
|
|
9
7
|
}
|
|
@@ -15,15 +13,13 @@ const DropdownClose = {
|
|
|
15
13
|
|
|
16
14
|
const created = (element, binding) => {
|
|
17
15
|
element.addEventListener('keydown', event => {
|
|
18
|
-
event.preventDefault();
|
|
19
|
-
event.stopPropagation();
|
|
20
16
|
if (['Enter', ' '].includes(event.key)) {
|
|
21
17
|
binding.value(event);
|
|
22
18
|
}
|
|
23
19
|
});
|
|
24
20
|
element.addEventListener('click', event => {
|
|
25
|
-
event.preventDefault();
|
|
26
21
|
event.stopPropagation();
|
|
22
|
+
event.preventDefault();
|
|
27
23
|
binding.value(event);
|
|
28
24
|
});
|
|
29
25
|
};
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -8,27 +8,27 @@ 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-a23ee9f0.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-bea023f8.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-35add276.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
|
|
13
13
|
export { _ as OrCheckbox } from './OrCheckbox-fcd6b64c.js';
|
|
14
|
-
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-
|
|
15
|
-
export { _ as OrCheckboxTreeV3 } from './OrCheckboxTree-
|
|
16
|
-
export { _ as OrCheckboxV3 } from './OrCheckbox-
|
|
14
|
+
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-74dc7c1d.js';
|
|
15
|
+
export { _ as OrCheckboxTreeV3 } from './OrCheckboxTree-19f5d69b.js';
|
|
16
|
+
export { _ as OrCheckboxV3 } from './OrCheckbox-ae903071.js';
|
|
17
17
|
export { _ as OrChip } from './OrChip-6cae6dab.js';
|
|
18
18
|
export { _ as OrChips } from './OrChips-dd82c2b6.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-34234c09.js';
|
|
20
|
-
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-
|
|
20
|
+
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-c2675f47.js';
|
|
21
21
|
export { _ as OrCollapse } from './OrCollapse-9d22b072.js';
|
|
22
22
|
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-7a4f2fcb.js';
|
|
23
|
-
export { _ as OrCombinedInputV3 } from './OrCombinedInput-
|
|
23
|
+
export { _ as OrCombinedInputV3 } from './OrCombinedInput-2639e3e1.js';
|
|
24
24
|
export { _ as OrInputBoxV3 } from './OrInputBox-7dc5b9e9.js';
|
|
25
25
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
26
26
|
export { _ as OrConfirm } from './OrConfirm-807585ea.js';
|
|
27
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
28
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
27
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-9f43fb6a.js';
|
|
28
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-29e3897a.js';
|
|
29
29
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-7f4ecc89.js';
|
|
30
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
31
|
-
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
30
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-5913e464.js';
|
|
31
|
+
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-e22f3b7b.js';
|
|
32
32
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
33
33
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
34
34
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -36,7 +36,7 @@ export { _ as OrErrorV3 } from './OrError-4ffc1c39.js';
|
|
|
36
36
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from './OrExpansionPanel-f1d8fcc9.js';
|
|
37
37
|
export { F as FabColor, _ as OrFabV3 } from './OrFab-f3a590c0.js';
|
|
38
38
|
export { _ as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-b41017c7.js';
|
|
39
|
-
export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroup-
|
|
39
|
+
export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroup-9000fcdf.js';
|
|
40
40
|
export { _ as OrHint } from './OrHint-7eadc91e.js';
|
|
41
41
|
export { _ as OrHintV3 } from './OrHint-aa221198.js';
|
|
42
42
|
export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-d26e8a1e.js';
|
|
@@ -47,9 +47,9 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-9322
|
|
|
47
47
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-2ec8a8b4.js';
|
|
48
48
|
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-60a9de36.js';
|
|
49
49
|
export { _ as OrInput } from './OrInput-7a12709e.js';
|
|
50
|
-
export { I as InputType, _ as OrInputV3 } from './OrInput-
|
|
50
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-a6183a78.js';
|
|
51
51
|
export { _ as OrLabel } from './OrLabel-fcceec1b.js';
|
|
52
|
-
export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-
|
|
52
|
+
export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-4a3d8904.js';
|
|
53
53
|
export { L as LinkColor, _ as OrLinkV3 } from './OrLink-cf3a0091.js';
|
|
54
54
|
export { _ as OrList } from './OrList-f98a05a4.js';
|
|
55
55
|
export { _ as OrListOfInputs } from './OrListOfInputs-1eaeb7e9.js';
|
|
@@ -72,13 +72,13 @@ export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './
|
|
|
72
72
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-e079e857.js';
|
|
73
73
|
export { _ as OrRadio } from './OrRadio-811ad5a4.js';
|
|
74
74
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
75
|
-
export { _ as OrRadioGroupV3 } from './OrRadioGroup-
|
|
76
|
-
export { _ as OrRadioV3 } from './OrRadio-
|
|
75
|
+
export { _ as OrRadioGroupV3 } from './OrRadioGroup-1108883d.js';
|
|
76
|
+
export { _ as OrRadioV3 } from './OrRadio-0fc3ae14.js';
|
|
77
77
|
export { _ as OrSearch } from './OrSearch-ac542dd6.js';
|
|
78
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
78
|
+
export { _ as OrSearchV3 } from './OrSearch-15ecfbf0.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-d4e32f80.js';
|
|
80
80
|
export { _ as OrSelect } from './OrSelect-c0d04cf6.js';
|
|
81
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from './OrSelect-ee398af5.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
|
|
83
83
|
export { _ as OrSidebarV3 } from './OrSidebar-18d20059.js';
|
|
84
84
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-b490ff86.js';
|
|
@@ -93,23 +93,23 @@ export { _ as OrSlider } from './OrSlider-c913a2b6.js';
|
|
|
93
93
|
export { _ as OrSortingV3 } from './OrSorting-501484aa.js';
|
|
94
94
|
export { _ as OrStepper } from './OrStepper-8dc4059a.js';
|
|
95
95
|
export { _ as OrSwitch } from './OrSwitch-322328f7.js';
|
|
96
|
-
export { _ as OrSwitchV3 } from './OrSwitch-
|
|
96
|
+
export { _ as OrSwitchV3 } from './OrSwitch-a3da6bec.js';
|
|
97
97
|
export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
98
98
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
99
99
|
export { _ as OrTabV3 } from './OrTab-88036fe9.js';
|
|
100
100
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
101
101
|
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-8e1ffb33.js';
|
|
102
102
|
export { _ as OrTag } from './OrTag-b5803a20.js';
|
|
103
|
-
export { _ as OrTagInputV3 } from './OrTagInput-
|
|
103
|
+
export { _ as OrTagInputV3 } from './OrTagInput-adef254c.js';
|
|
104
104
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-7a14e88b.js';
|
|
105
105
|
export { _ as OrTagsV3 } from './OrTags-b4de9652.js';
|
|
106
106
|
export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
107
107
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-424c7f33.js';
|
|
108
108
|
export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
109
109
|
export { _ as OrTextarea } from './OrTextarea-9febab19.js';
|
|
110
|
-
export { _ as OrTextareaV3 } from './OrTextarea-
|
|
110
|
+
export { _ as OrTextareaV3 } from './OrTextarea-6fe8b65f.js';
|
|
111
111
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-cb15a62f.js';
|
|
112
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
112
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-9738c72f.js';
|
|
113
113
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-ecffc69f.js';
|
|
114
114
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
115
115
|
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-186e4996.js';
|
|
@@ -118,7 +118,7 @@ export { _ as OrTooltip } from './OrTooltip-2f267924.js';
|
|
|
118
118
|
export { _ as OrTooltipContent } from './OrTooltipContent-57a25502.js';
|
|
119
119
|
export { _ as OrTooltipV3 } from './OrTooltip-dbe9383a.js';
|
|
120
120
|
export { _ as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-dfc8a086.js';
|
|
121
|
-
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-
|
|
121
|
+
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-06d651cf.js';
|
|
122
122
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
123
123
|
export { u as useElevation } from './useElevation-a50ec347.js';
|
|
124
124
|
export { u as useOverflow } from './useOverflow-c856b7b7.js';
|
|
@@ -154,7 +154,7 @@ import '@codemirror/lang-markdown';
|
|
|
154
154
|
import '@codemirror/language';
|
|
155
155
|
import '@lezer/highlight';
|
|
156
156
|
import '@vueuse/math';
|
|
157
|
-
import './OrDateTimePickerPopoverHeader-
|
|
157
|
+
import './OrDateTimePickerPopoverHeader-3a5c05ac.js';
|
|
158
158
|
import 'lodash/padStart';
|
|
159
159
|
import '@floating-ui/dom';
|
|
160
160
|
import './OrTooltip.vue_rollup-plugin-vue_styles.0-0aca0c11.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { s as script$2 } from './OrIconButton-de8b6cd0.js';
|
|
3
|
-
import { s as script$4 } from './OrSearch-
|
|
3
|
+
import { s as script$4 } from './OrSearch-9c694c80.js';
|
|
4
4
|
import './OrInputBox-912a6254.js';
|
|
5
5
|
import { s as script$3 } from './OrSorting-dc01b9de.js';
|
|
6
6
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createBlock, createCommentVNode, createVNode, normalizeProps, guardReactiveProps, withCtx } from 'vue';
|
|
@@ -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 { s as script$1, L as LabelVariant } from './OrLabel-
|
|
8
|
+
import { s as script$1, L as LabelVariant } from './OrLabel-d4c46bb6.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
|
|
@@ -158,6 +158,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
158
158
|
key: 0,
|
|
159
159
|
"control-id": _ctx.controlAttributes.id,
|
|
160
160
|
variant: _ctx.labelVariant,
|
|
161
|
+
selected: _ctx.isChecked,
|
|
161
162
|
required: _ctx.required,
|
|
162
163
|
disabled: _ctx.disabled
|
|
163
164
|
}, {
|
|
@@ -165,7 +166,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
165
166
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
|
|
166
167
|
|
|
167
168
|
_: 3 /* FORWARDED */
|
|
168
|
-
}, 8 /* PROPS */, ["control-id", "variant", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
169
|
+
}, 8 /* PROPS */, ["control-id", "variant", "selected", "required", "disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
var css_248z = "\ninput[data-v-5358d710] {\n appearance: none;\n line-height: 0;\n}\n";
|
|
@@ -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 { s as script$1 } from './OrCheckboxTree-
|
|
7
|
-
import { s as script$2, F as FormGroupDirection } from './OrFormGroup-
|
|
6
|
+
import { s as script$1 } from './OrCheckboxTree-bea23696.js';
|
|
7
|
+
import { s as script$2, F as FormGroupDirection } from './OrFormGroup-c4631ef0.js';
|
|
8
8
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
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 { s as script$3 } from './OrButton-4a3c3e7b.js';
|
|
7
|
-
import { s as script$2 } from './OrCheckbox-
|
|
7
|
+
import { s as script$2 } from './OrCheckbox-a571fc90.js';
|
|
8
8
|
import { s as script$1 } from './OrIcon-62793572.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createElementVNode, createBlock, withCtx, createVNode, createCommentVNode, renderList } from 'vue';
|
|
10
10
|
|
|
@@ -17,7 +17,7 @@ import { s as script$1 } from './OrError-c01d0c29.js';
|
|
|
17
17
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
18
18
|
import { s as script$3 } from './OrIconButton-de8b6cd0.js';
|
|
19
19
|
import { s as script$4 } from './OrInputBox-912a6254.js';
|
|
20
|
-
import { s as script$5 } from './OrLabel-
|
|
20
|
+
import { s as script$5 } from './OrLabel-d4c46bb6.js';
|
|
21
21
|
import { s as script$6 } from './OrModal-00a8822e.js';
|
|
22
22
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, renderSlot, createVNode, withModifiers, createTextVNode, toDisplayString, createCommentVNode, withDirectives, vShow } from 'vue';
|
|
23
23
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
3
3
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
4
|
-
import { s as script$3 } from './OrLabel-
|
|
4
|
+
import { s as script$3 } from './OrLabel-d4c46bb6.js';
|
|
5
5
|
import { I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, withDirectives, vShow, createVNode } from 'vue';
|
|
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 { s as script$2, a as ButtonColor } from './OrButton-4a3c3e7b.js';
|
|
8
|
-
import { s as script$3 } from './OrInput-
|
|
8
|
+
import { s as script$3 } from './OrInput-8463ca1d.js';
|
|
9
9
|
import { s as script$1 } from './OrOverlay-99e696e8.js';
|
|
10
10
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
11
11
|
|
|
@@ -1,16 +1,16 @@
|
|
|
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-06d651cf.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 { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { s as script$1, a as script$2, b as script$3, c as script$4, d as script$5, e as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-8f0408b2.js';
|
|
8
8
|
import { s as script$7 } from './OrError-c01d0c29.js';
|
|
9
9
|
import { s as script$8 } from './OrHint-06ab89d7.js';
|
|
10
10
|
import { s as script$a } from './OrIconButton-de8b6cd0.js';
|
|
11
11
|
import { s as script$9 } from './OrIcon-62793572.js';
|
|
12
12
|
import { s as script$b, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
13
|
-
import { s as script$c } from './OrLabel-
|
|
13
|
+
import { s as script$c } from './OrLabel-d4c46bb6.js';
|
|
14
14
|
import { s as script$d } from './OrPopover-84f83a8c.js';
|
|
15
15
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, withModifiers, createVNode, Fragment, createElementVNode } from 'vue';
|
|
16
16
|
|
|
@@ -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-06d651cf.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
@@ -9,9 +9,9 @@ import { s as script$b } from './OrHint-06ab89d7.js';
|
|
|
9
9
|
import { s as script$d } from './OrIconButton-de8b6cd0.js';
|
|
10
10
|
import { s as script$c } from './OrIcon-62793572.js';
|
|
11
11
|
import { s as script$e, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
12
|
-
import { s as script$f } from './OrLabel-
|
|
12
|
+
import { s as script$f } from './OrLabel-d4c46bb6.js';
|
|
13
13
|
import { s as script$g } from './OrPopover-84f83a8c.js';
|
|
14
|
-
import { s as script$4, a as script$5, b as script$6, c as script$7, d as script$8, e as script$9, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
14
|
+
import { s as script$4, a as script$5, b as script$6, c as script$7, d as script$8, e as script$9, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-8f0408b2.js';
|
|
15
15
|
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withModifiers, withCtx, createVNode, createCommentVNode, resolveDirective, renderSlot, withDirectives } from 'vue';
|
|
16
16
|
import { s as script$3 } from './OrButton-4a3c3e7b.js';
|
|
17
17
|
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withModifiers, withCtx, createVNode, renderSlot } from 'vue';
|
|
7
7
|
import { s as script$6 } from './OrButton-4a3c3e7b.js';
|
|
8
|
-
import { s as script$7 } from './OrLabel-
|
|
8
|
+
import { s as script$7 } from './OrLabel-d4c46bb6.js';
|
|
9
9
|
import { s as script$9 } from './OrIconButton-de8b6cd0.js';
|
|
10
10
|
import { s as script$8 } from './OrIcon-62793572.js';
|
|
11
11
|
import { s as script$b } from './OrMenuItem-54062d59.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrLabel-
|
|
2
|
+
import { s as script$1 } from './OrLabel-d4c46bb6.js';
|
|
3
3
|
import { s as script$2 } from './OrError-c01d0c29.js';
|
|
4
4
|
import { s as script$3 } from './OrHint-06ab89d7.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
@@ -11,7 +11,7 @@ import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
|
11
11
|
import { s as script$4 } from './OrIconButton-de8b6cd0.js';
|
|
12
12
|
import { s as script$3 } from './OrIcon-62793572.js';
|
|
13
13
|
import { s as script$5, I as InputBoxSize } from './OrInputBox-912a6254.js';
|
|
14
|
-
import { s as script$6 } from './OrLabel-
|
|
14
|
+
import { s as script$6 } from './OrLabel-d4c46bb6.js';
|
|
15
15
|
import { s as script$7 } from './OrLoader-b79022da.js';
|
|
16
16
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, Fragment, withModifiers, withDirectives, createElementVNode, mergeProps, vModelDynamic, createSlots, vShow } from 'vue';
|
|
17
17
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -5,23 +5,31 @@ var LabelVariant;
|
|
|
5
5
|
(function (LabelVariant) {
|
|
6
6
|
LabelVariant["Input"] = "input";
|
|
7
7
|
LabelVariant["Toggle"] = "toggle";
|
|
8
|
+
LabelVariant["MenuItem"] = "menu-item";
|
|
8
9
|
})(LabelVariant || (LabelVariant = {}));
|
|
9
10
|
|
|
10
|
-
const
|
|
11
|
+
const Label = [
|
|
11
12
|
// Layout
|
|
12
13
|
'layout-row justify-between',
|
|
13
14
|
// Spacing
|
|
14
15
|
'gap-sm'];
|
|
15
|
-
const
|
|
16
|
-
|
|
16
|
+
const LabelVariants = {
|
|
17
|
+
[LabelVariant.Input]: [
|
|
17
18
|
// Typography
|
|
18
19
|
'typography-caption-regular',
|
|
19
20
|
// Theme
|
|
20
21
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'],
|
|
21
|
-
|
|
22
|
+
[LabelVariant.Toggle]: [
|
|
22
23
|
// Typography
|
|
23
24
|
'typography-body-2-regular',
|
|
24
25
|
// 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
|
|
25
33
|
'theme-foreground-default', 'dark:theme-foreground-default-dark']
|
|
26
34
|
};
|
|
27
35
|
const LabelText = [
|
|
@@ -36,7 +44,6 @@ const LabelAddon = [
|
|
|
36
44
|
'whitespace-nowrap'];
|
|
37
45
|
|
|
38
46
|
var script = defineComponent({
|
|
39
|
-
name: 'OrLabel',
|
|
40
47
|
props: {
|
|
41
48
|
controlId: {
|
|
42
49
|
type: String,
|
|
@@ -46,6 +53,10 @@ var script = defineComponent({
|
|
|
46
53
|
type: String,
|
|
47
54
|
default: LabelVariant.Input
|
|
48
55
|
},
|
|
56
|
+
selected: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: false
|
|
59
|
+
},
|
|
49
60
|
required: {
|
|
50
61
|
type: Boolean,
|
|
51
62
|
default: false
|
|
@@ -60,7 +71,7 @@ var script = defineComponent({
|
|
|
60
71
|
// Refs
|
|
61
72
|
const root = ref();
|
|
62
73
|
// Styles
|
|
63
|
-
const rootStyles = computed(() => ['or-label-v3', ...
|
|
74
|
+
const rootStyles = computed(() => ['or-label-v3', ...Label, ...LabelVariants[props.variant]]);
|
|
64
75
|
const textStyles = computed(() => [...LabelText]);
|
|
65
76
|
const addonStyles = computed(() => [...LabelAddon]);
|
|
66
77
|
return {
|
|
@@ -72,12 +83,13 @@ var script = defineComponent({
|
|
|
72
83
|
}
|
|
73
84
|
});
|
|
74
85
|
|
|
75
|
-
const _hoisted_1 = ["disabled"];
|
|
86
|
+
const _hoisted_1 = ["selected", "disabled"];
|
|
76
87
|
const _hoisted_2 = ["for", "required", "disabled"];
|
|
77
88
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78
89
|
return openBlock(), createElementBlock("div", {
|
|
79
90
|
ref: "root",
|
|
80
91
|
class: normalizeClass(_ctx.rootStyles),
|
|
92
|
+
selected: _ctx.selected ? '' : null,
|
|
81
93
|
disabled: _ctx.disabled ? '' : null
|
|
82
94
|
}, [createElementVNode("label", {
|
|
83
95
|
class: normalizeClass(_ctx.textStyles),
|