@onereach/ui-components 2.69.5-beta.2146.0 → 2.69.6-beta.2148.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/{OrCardCollection-f622df47.js → OrCardCollection-c4209a92.js} +13 -9
- package/dist/bundled/v2/OrEmptyState-9fb413f9.js +160 -0
- package/dist/bundled/v2/{OrSearch-a11b3621.js → OrSearch-76b002cf.js} +1 -1
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +3 -2
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -0
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +3 -159
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +4 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-15645a65.js → OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js} +10 -2
- package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-da7d6c42.js +111 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0ae8a6dd.js → OrSearch.vue_vue_type_script_lang-014ad470.js} +1 -1
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +3 -2
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -0
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +2 -134
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +219 -193
- package/dist/esm/v2/{OrCardCollection-43aa4a3c.js → OrCardCollection-57d11adf.js} +13 -9
- package/dist/esm/v2/OrEmptyState-2481f13f.js +158 -0
- package/dist/esm/v2/{OrSearch-62d91301.js → OrSearch-2f260b09.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +3 -2
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -0
- package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
- package/dist/esm/v2/components/or-empty-state-v3/index.js +3 -158
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +1 -1
- package/dist/esm/v2/index.js +3 -2
- package/dist/esm/v3/{OrCardCollection-6b5e6b76.js → OrCardCollection-2a6514f3.js} +15 -6
- package/dist/esm/v3/OrEmptyState-bb8e3145.js +135 -0
- package/dist/esm/v3/OrInput-41691fb3.js +1 -1
- package/dist/esm/v3/{OrInputBox-5247ab25.js → OrInputBox-6d1b6059.js} +1 -1
- package/dist/esm/v3/{OrSearch-aafb93b4.js → OrSearch-e5a2e93e.js} +2 -2
- package/dist/esm/v3/OrSelect-7e813982.js +1 -1
- package/dist/esm/v3/OrTextarea-bb9ef3f2.js +1 -1
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +4 -3
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +5 -0
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -0
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +1 -1
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-empty-state-v3/index.js +3 -135
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -2
- package/dist/esm/v3/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +4 -3
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/or-card/OrCard.stories.ts +1 -1
- package/src/components/or-card-collection/OrCardCollection.stories.ts +1 -1
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +16 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +13 -1
- package/src/components/or-card-collection-v3/styles.ts +3 -1
- package/src/components/or-empty-state-v3/OrEmptyState.vue +16 -10
- package/src/components/or-input-box-v3/OrInputBox.vue +1 -2
- package/src/components/or-search-v3/OrSearch.stories3.ts +1 -1
- package/src/components/or-search-v3/OrSearch.vue +1 -1
- package/src/components/or-teleport-v3/OrTeleport.stories3.ts +1 -1
|
@@ -37,8 +37,10 @@
|
|
|
37
37
|
:class="toolbarPanelStyles"
|
|
38
38
|
>
|
|
39
39
|
<OrSearch
|
|
40
|
-
|
|
40
|
+
:model-value="proxySearch"
|
|
41
41
|
class="md:w-[350px]"
|
|
42
|
+
:placeholder="searchPlaceholder"
|
|
43
|
+
:debounce="searchDebounce"
|
|
42
44
|
size="s"
|
|
43
45
|
@search="handleSearch"
|
|
44
46
|
/>
|
|
@@ -152,6 +154,16 @@ export default defineComponent({
|
|
|
152
154
|
type: String,
|
|
153
155
|
default: '',
|
|
154
156
|
},
|
|
157
|
+
|
|
158
|
+
searchPlaceholder: {
|
|
159
|
+
type: String,
|
|
160
|
+
default: undefined,
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
searchDebounce: {
|
|
164
|
+
type: Number,
|
|
165
|
+
default: undefined,
|
|
166
|
+
},
|
|
155
167
|
},
|
|
156
168
|
|
|
157
169
|
emits: [
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
-
:class="rootClasses"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
:class="rootClasses"
|
|
5
|
+
>
|
|
6
|
+
<img
|
|
7
|
+
v-if="imageSrc"
|
|
8
|
+
:src="imageSrc"
|
|
9
|
+
:class="imageClasses"
|
|
10
|
+
alt=""
|
|
11
|
+
>
|
|
9
12
|
<div :class="headingClasses">
|
|
10
13
|
{{ heading }}
|
|
11
14
|
</div>
|
|
12
|
-
<div
|
|
15
|
+
<div
|
|
16
|
+
v-if="$slots.default"
|
|
17
|
+
:class="slotClasses"
|
|
18
|
+
>
|
|
13
19
|
<!-- @slot Additional content can be inserted via default slot. The slot uses the same font as a `text` prop. -->
|
|
14
|
-
<slot/>
|
|
20
|
+
<slot />
|
|
15
21
|
</div>
|
|
16
22
|
<div :class="textClasses">
|
|
17
23
|
{{ text }}
|
|
@@ -21,7 +27,7 @@
|
|
|
21
27
|
|
|
22
28
|
<script lang="ts">
|
|
23
29
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
24
|
-
import { EmptyStateSize } from '
|
|
30
|
+
import { EmptyStateSize } from './props';
|
|
25
31
|
import {
|
|
26
32
|
EmptyStateContent,
|
|
27
33
|
EmptyStateContentSizes,
|
|
@@ -31,7 +37,7 @@ import {
|
|
|
31
37
|
EmptyStateImageSizes,
|
|
32
38
|
EmptyStateRoot,
|
|
33
39
|
EmptyStateText,
|
|
34
|
-
EmptyStateTextSizes
|
|
40
|
+
EmptyStateTextSizes,
|
|
35
41
|
} from './styles';
|
|
36
42
|
|
|
37
43
|
/**
|
|
@@ -110,7 +116,7 @@ export default defineComponent({
|
|
|
110
116
|
headingClasses,
|
|
111
117
|
textClasses,
|
|
112
118
|
slotClasses,
|
|
113
|
-
}
|
|
119
|
+
};
|
|
114
120
|
},
|
|
115
121
|
});
|
|
116
122
|
</script>
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
<script lang="ts">
|
|
15
15
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
16
|
-
import { InputBoxVariant } from '.';
|
|
17
16
|
import { useClassAttribute } from '../../hooks';
|
|
18
|
-
import { InputBoxSize } from './props';
|
|
17
|
+
import { InputBoxSize, InputBoxVariant } from './props';
|
|
19
18
|
import { InputBoxRoot, InputBoxRootSizes, InputBoxRootVariants } from './styles';
|
|
20
19
|
|
|
21
20
|
export default defineComponent({
|