@onereach/ui-components 2.68.0-beta.2016.0 → 2.68.0-beta.2017.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.
Files changed (57) hide show
  1. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +44 -0
  2. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +146 -0
  3. package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +3 -0
  4. package/dist/bundled/v2/components/or-empty-state-v3/index.js +242 -0
  5. package/dist/bundled/v2/components/or-empty-state-v3/props.d.ts +4 -0
  6. package/dist/bundled/v2/components/or-empty-state-v3/styles.d.ts +15 -0
  7. package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +2 -0
  8. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
  9. package/dist/bundled/v2/index.js +1 -1
  10. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +44 -0
  11. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +146 -0
  12. package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +3 -0
  13. package/dist/bundled/v3/components/or-empty-state-v3/index.js +217 -0
  14. package/dist/bundled/v3/components/or-empty-state-v3/props.d.ts +4 -0
  15. package/dist/bundled/v3/components/or-empty-state-v3/styles.d.ts +15 -0
  16. package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +2 -0
  17. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
  18. package/dist/bundled/v3/index.js +1 -1
  19. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +44 -0
  20. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +146 -0
  21. package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +3 -0
  22. package/dist/esm/v2/components/or-empty-state-v3/index.js +240 -0
  23. package/dist/esm/v2/components/or-empty-state-v3/props.d.ts +4 -0
  24. package/dist/esm/v2/components/or-empty-state-v3/styles.d.ts +15 -0
  25. package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +2 -0
  26. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
  27. package/dist/esm/v3/OrInput-4f55c0eb.js +1 -1
  28. package/dist/esm/v3/{OrInputBox-542d2f2c.js → OrInputBox-634230b1.js} +1 -1
  29. package/dist/esm/v3/OrSearch-d74891a5.js +1 -1
  30. package/dist/esm/v3/OrSelect-b3a233cc.js +1 -1
  31. package/dist/esm/v3/OrTextarea-98895b2a.js +1 -1
  32. package/dist/esm/v3/components/index.js +1 -1
  33. package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
  34. package/dist/esm/v3/components/or-confirm-v3/index.js +1 -1
  35. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +44 -0
  36. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +146 -0
  37. package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +3 -0
  38. package/dist/esm/v3/components/or-empty-state-v3/index.js +217 -0
  39. package/dist/esm/v3/components/or-empty-state-v3/props.d.ts +4 -0
  40. package/dist/esm/v3/components/or-empty-state-v3/styles.d.ts +15 -0
  41. package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +2 -0
  42. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
  43. package/dist/esm/v3/components/or-input-box-v3/index.js +2 -2
  44. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  45. package/dist/esm/v3/components/or-search-v3/index.js +1 -1
  46. package/dist/esm/v3/components/or-select-v3/index.js +1 -1
  47. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  48. package/dist/esm/v3/index.js +1 -1
  49. package/package.json +2 -10
  50. package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +221 -0
  51. package/src/components/or-empty-state-v3/OrEmptyState.vue +185 -0
  52. package/src/components/or-empty-state-v3/index.ts +3 -0
  53. package/src/components/or-empty-state-v3/props.ts +4 -0
  54. package/src/components/or-empty-state-v3/styles.ts +121 -0
  55. package/src/components/or-empty-state-v3/types.ts +3 -0
  56. package/src/components/or-input-box-v3/OrInputBox.vue +1 -1
  57. package/src/utils/functions/text.ts +2 -2
@@ -0,0 +1,44 @@
1
+ import { Meta, StoryFn } from '@storybook/vue3';
2
+ import OrEmptyState from './OrEmptyState.vue';
3
+ declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
4
+ [x: string]: ((...args: any[]) => any) | null;
5
+ } | string[], {} & {}, {
6
+ [x: number]: string;
7
+ } | {}, true>)>;
8
+ export default _default;
9
+ export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
10
+ [x: string]: ((...args: any[]) => any) | null;
11
+ } | string[], {} & {}, {
12
+ [x: number]: string;
13
+ } | {}, true>)>;
14
+ export declare const LinearLoader: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
15
+ [x: string]: ((...args: any[]) => any) | null;
16
+ } | string[], {} & {}, {
17
+ [x: number]: string;
18
+ } | {}, true>)>;
19
+ export declare const CircularLoader: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
20
+ [x: string]: ((...args: any[]) => any) | null;
21
+ } | string[], {} & {}, {
22
+ [x: number]: string;
23
+ } | {}, true>)>;
24
+ export declare const MaterialIcon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
25
+ [x: string]: ((...args: any[]) => any) | null;
26
+ } | string[], {} & {}, {
27
+ [x: number]: string;
28
+ } | {}, true>)>;
29
+ export declare const ImageIcon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
30
+ [x: string]: ((...args: any[]) => any) | null;
31
+ } | string[], {} & {}, {
32
+ [x: number]: string;
33
+ } | {}, true>)>;
34
+ export declare const LargeSize: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
35
+ [x: string]: ((...args: any[]) => any) | null;
36
+ } | string[], {} & {}, {
37
+ [x: number]: string;
38
+ } | {}, true>)>;
39
+ export declare const ExtraContentInSlot: StoryFn<typeof OrEmptyState>;
40
+ export declare const Containers: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
41
+ [x: string]: ((...args: any[]) => any) | null;
42
+ } | string[], {} & {}, {
43
+ [x: number]: string;
44
+ } | {}, true>)>;
@@ -0,0 +1,146 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { EmptyStateLoader, EmptyStateSize } from '.';
3
+ import { LoaderVariant } from '../or-loader-v3';
4
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data> & import("@vue/composition-api").Data, {}, {
5
+ loaderVariant(): LoaderVariant | undefined;
6
+ rootClasses(): string[];
7
+ iconContainerClasses(): string[];
8
+ iconClasses(): string[];
9
+ imageClasses(): string[];
10
+ headingClasses(): string[];
11
+ textClasses(): string[];
12
+ slotClasses(): string[];
13
+ loaderClasses(): string[];
14
+ }, {
15
+ /**
16
+ * Size of the component, affects font and icon size.
17
+ * Use Large if the component takes all screen space,
18
+ * and Medium if it is a part of the complex layout.
19
+ */
20
+ size: {
21
+ type: PropType<EmptyStateSize>;
22
+ default: EmptyStateSize;
23
+ };
24
+ /**
25
+ * The heading of the empty state block.
26
+ */
27
+ heading: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ /**
32
+ * Additional text such as a hint for a user with proposed next steps.
33
+ */
34
+ text: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ /**
39
+ * Material icon name to display above the heading.
40
+ */
41
+ icon: {
42
+ type: StringConstructor;
43
+ default: undefined;
44
+ };
45
+ /**
46
+ * Path to the image to display above the heading.
47
+ * Image height is scaled to 48px, width is undefined to preserve aspect ratio.
48
+ */
49
+ imageSrc: {
50
+ type: StringConstructor;
51
+ default: undefined;
52
+ };
53
+ /**
54
+ * If provided, then loader is being displayed.
55
+ * Accepts booleans and OrLoader::variant values. `true` falls back to 'linear'.
56
+ */
57
+ loader: {
58
+ type: PropType<EmptyStateLoader>;
59
+ default: boolean;
60
+ };
61
+ }, import("@vue/composition-api").ExtractPropTypes<{
62
+ /**
63
+ * Size of the component, affects font and icon size.
64
+ * Use Large if the component takes all screen space,
65
+ * and Medium if it is a part of the complex layout.
66
+ */
67
+ size: {
68
+ type: PropType<EmptyStateSize>;
69
+ default: EmptyStateSize;
70
+ };
71
+ /**
72
+ * The heading of the empty state block.
73
+ */
74
+ heading: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ /**
79
+ * Additional text such as a hint for a user with proposed next steps.
80
+ */
81
+ text: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ /**
86
+ * Material icon name to display above the heading.
87
+ */
88
+ icon: {
89
+ type: StringConstructor;
90
+ default: undefined;
91
+ };
92
+ /**
93
+ * Path to the image to display above the heading.
94
+ * Image height is scaled to 48px, width is undefined to preserve aspect ratio.
95
+ */
96
+ imageSrc: {
97
+ type: StringConstructor;
98
+ default: undefined;
99
+ };
100
+ /**
101
+ * If provided, then loader is being displayed.
102
+ * Accepts booleans and OrLoader::variant values. `true` falls back to 'linear'.
103
+ */
104
+ loader: {
105
+ type: PropType<EmptyStateLoader>;
106
+ default: boolean;
107
+ };
108
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
109
+ size: EmptyStateSize;
110
+ heading: string;
111
+ text: string;
112
+ icon: string;
113
+ imageSrc: string;
114
+ loader: EmptyStateLoader;
115
+ } & {}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, import("@vue/composition-api").Data, {
116
+ loaderVariant(): LoaderVariant | undefined;
117
+ rootClasses(): string[];
118
+ iconContainerClasses(): string[];
119
+ iconClasses(): string[];
120
+ imageClasses(): string[];
121
+ headingClasses(): string[];
122
+ textClasses(): string[];
123
+ slotClasses(): string[];
124
+ loaderClasses(): string[];
125
+ }, {}, {}, {}, {}, {
126
+ size: EmptyStateSize;
127
+ heading: string;
128
+ text: string;
129
+ icon: string;
130
+ imageSrc: string;
131
+ loader: EmptyStateLoader;
132
+ } & {}, {
133
+ size: EmptyStateSize;
134
+ heading: string;
135
+ text: string;
136
+ icon: string;
137
+ imageSrc: string;
138
+ loader: EmptyStateLoader;
139
+ }, true>);
140
+ /**
141
+ * The component to display when there is no content on a page,
142
+ * no records found or selected, or while the data is being loaded.
143
+ * Provides a hint to the user on what to do.
144
+ * Consists of text message, optional icon and optional loader.
145
+ */
146
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as OrEmptyStateV3 } from './OrEmptyState.vue';
2
+ export * from './types';
3
+ export * from './props';
@@ -0,0 +1,242 @@
1
+ import '../../index-fa6eb4ca.js';
2
+ import { O as OrIcon } from '../../OrIcon-ce8fd08b.js';
3
+ import { O as OrLoader, L as LoaderVariant } from '../../OrLoader-76f2615f.js';
4
+ import { defineComponent } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
+ import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
6
+ import 'vue';
7
+ import '../../useClassAttribute-9bf33346.js';
8
+
9
+ var EmptyStateSize;
10
+ (function (EmptyStateSize) {
11
+ EmptyStateSize["L"] = "l";
12
+ EmptyStateSize["M"] = "m";
13
+ })(EmptyStateSize || (EmptyStateSize = {}));
14
+
15
+ const EmptyStateRoot = [
16
+ // Layout
17
+ 'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
18
+ // Box
19
+ 'w-full',
20
+ // Sizing
21
+ 'gap-sm'];
22
+ const EmptyStateIconContainer = [
23
+ // Theme
24
+ 'text-on-surface-variant', 'dark:text-on-surface-variant-dark'];
25
+ const EmptyStateIconContainerSizes = {
26
+ [EmptyStateSize.L]: [
27
+ // Typography
28
+ 'text-[64px]'],
29
+ [EmptyStateSize.M]: [
30
+ // Typography
31
+ 'text-[48px]']
32
+ };
33
+ const EmptyStateIcon = [
34
+ // Sizing
35
+ 'mb-sm'];
36
+ const EmptyStateIconSizes = {
37
+ [EmptyStateSize.L]: [
38
+ // Box
39
+ 'w-3xl', 'h-3xl'],
40
+ [EmptyStateSize.M]: [
41
+ // Box
42
+ 'w-2xl', 'h-2xl']
43
+ };
44
+ const EmptyStateImage = EmptyStateIcon;
45
+ const EmptyStateImageSizes = {
46
+ [EmptyStateSize.L]: [
47
+ // Box
48
+ 'h-3xl'],
49
+ [EmptyStateSize.M]: [
50
+ // Box
51
+ 'h-2xl']
52
+ };
53
+ const EmptyStateHeading = [
54
+ // Theme
55
+ 'text-on-background', 'dark:text-on-background-dark'];
56
+ const EmptyStateHeadingSizes = {
57
+ [EmptyStateSize.L]: [
58
+ // Typography
59
+ 'text-headline-2', 'font-headline-2'],
60
+ [EmptyStateSize.M]: [
61
+ // Typography
62
+ 'text-headline-4', 'font-headline-4']
63
+ };
64
+ const EmptyStateText = ['text-center',
65
+ // Theme
66
+ 'text-outline', 'dark:text-outline-dark'];
67
+ const EmptyStateContent = EmptyStateText;
68
+ const EmptyStateTextSizes = {
69
+ [EmptyStateSize.L]: [
70
+ // Typography
71
+ 'text-body-2-regular', 'font-body-2-regular'],
72
+ [EmptyStateSize.M]: [
73
+ // Typography
74
+ 'text-caption-regular', 'font-caption-regular']
75
+ };
76
+ const EmptyStateContentSizes = EmptyStateTextSizes;
77
+ const EmptyStateLoaderStyles = [
78
+ // Layout
79
+ 'flex', 'justify-center',
80
+ // Box
81
+ 'w-2/5', 'max-w-[432px]',
82
+ // Sizing
83
+ 'my-sm'];
84
+
85
+ /**
86
+ * The component to display when there is no content on a page,
87
+ * no records found or selected, or while the data is being loaded.
88
+ * Provides a hint to the user on what to do.
89
+ * Consists of text message, optional icon and optional loader.
90
+ */
91
+ var script = defineComponent({
92
+ name: 'OrEmptyState',
93
+ components: {
94
+ OrIcon,
95
+ OrLoader
96
+ },
97
+ props: {
98
+ /**
99
+ * Size of the component, affects font and icon size.
100
+ * Use Large if the component takes all screen space,
101
+ * and Medium if it is a part of the complex layout.
102
+ */
103
+ size: {
104
+ type: String,
105
+ default: EmptyStateSize.M
106
+ },
107
+ /**
108
+ * The heading of the empty state block.
109
+ */
110
+ heading: {
111
+ type: String,
112
+ default: ''
113
+ },
114
+ /**
115
+ * Additional text such as a hint for a user with proposed next steps.
116
+ */
117
+ text: {
118
+ type: String,
119
+ default: ''
120
+ },
121
+ /**
122
+ * Material icon name to display above the heading.
123
+ */
124
+ icon: {
125
+ type: String,
126
+ default: undefined
127
+ },
128
+ /**
129
+ * Path to the image to display above the heading.
130
+ * Image height is scaled to 48px, width is undefined to preserve aspect ratio.
131
+ */
132
+ imageSrc: {
133
+ type: String,
134
+ default: undefined
135
+ },
136
+ /**
137
+ * If provided, then loader is being displayed.
138
+ * Accepts booleans and OrLoader::variant values. `true` falls back to 'linear'.
139
+ */
140
+ loader: {
141
+ type: [String, Boolean],
142
+ default: false
143
+ }
144
+ },
145
+ computed: {
146
+ loaderVariant() {
147
+ if (typeof this.loader === 'string') {
148
+ return this.loader;
149
+ } else if (this.loader === true) {
150
+ return LoaderVariant.Linear;
151
+ } else {
152
+ return undefined;
153
+ }
154
+ },
155
+ rootClasses() {
156
+ return ['or-empty-state', ...EmptyStateRoot];
157
+ },
158
+ iconContainerClasses() {
159
+ return ['or-empty-state_icon-container', ...EmptyStateIconContainer, ...EmptyStateIconContainerSizes[this.size]];
160
+ },
161
+ iconClasses() {
162
+ return ['or-empty-state_icon', ...EmptyStateIcon, ...EmptyStateIconSizes[this.size]];
163
+ },
164
+ imageClasses() {
165
+ return ['or-empty-state_image', ...EmptyStateImage, ...EmptyStateImageSizes[this.size]];
166
+ },
167
+ headingClasses() {
168
+ return ['or-empty-state_heading', ...EmptyStateHeading, ...EmptyStateHeadingSizes[this.size]];
169
+ },
170
+ textClasses() {
171
+ return ['or-empty-state_text', ...EmptyStateText, ...EmptyStateTextSizes[this.size]];
172
+ },
173
+ slotClasses() {
174
+ return ['or-empty-state_content', ...EmptyStateContent, ...EmptyStateContentSizes[this.size]];
175
+ },
176
+ loaderClasses() {
177
+ return ['or-empty-state_loader', ...EmptyStateLoaderStyles];
178
+ }
179
+ }
180
+ });
181
+
182
+ /* script */
183
+ const __vue_script__ = script;
184
+
185
+ /* template */
186
+ var __vue_render__ = function () {
187
+ var _vm = this;
188
+ var _h = _vm.$createElement;
189
+ var _c = _vm._self._c || _h;
190
+ return _c('div', {
191
+ class: _vm.rootClasses
192
+ }, [_c('div', {
193
+ class: _vm.iconContainerClasses
194
+ }, [_vm.icon ? _c('OrIcon', {
195
+ class: _vm.iconClasses,
196
+ attrs: {
197
+ "icon": _vm.icon,
198
+ "size": "inherit"
199
+ }
200
+ }) : _vm._e()], 1), _vm._v(" "), _vm.imageSrc ? _c('img', {
201
+ class: _vm.imageClasses,
202
+ attrs: {
203
+ "src": _vm.imageSrc,
204
+ "alt": ""
205
+ }
206
+ }) : _vm._e(), _vm._v(" "), _c('div', {
207
+ class: _vm.headingClasses
208
+ }, [_vm._v("\n " + _vm._s(_vm.heading) + "\n ")]), _vm._v(" "), _vm.loader ? _c('div', {
209
+ class: _vm.loaderClasses
210
+ }, [_c('OrLoader', {
211
+ attrs: {
212
+ "variant": _vm.loaderVariant
213
+ }
214
+ })], 1) : _vm._e(), _vm._v(" "), _vm.$slots.default ? _c('div', {
215
+ class: _vm.slotClasses
216
+ }, [_vm._t("default")], 2) : _vm._e(), _vm._v(" "), _c('div', {
217
+ class: _vm.textClasses
218
+ }, [_vm._v("\n " + _vm._s(_vm.text) + "\n ")])]);
219
+ };
220
+ var __vue_staticRenderFns__ = [];
221
+
222
+ /* style */
223
+ const __vue_inject_styles__ = undefined;
224
+ /* scoped */
225
+ const __vue_scope_id__ = "data-v-5c0c84b1";
226
+ /* module identifier */
227
+ const __vue_module_identifier__ = undefined;
228
+ /* functional template */
229
+ const __vue_is_functional_template__ = false;
230
+ /* style inject */
231
+
232
+ /* style inject SSR */
233
+
234
+ /* style inject shadow dom */
235
+
236
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
237
+ render: __vue_render__,
238
+ staticRenderFns: __vue_staticRenderFns__
239
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
240
+ var __vue_component__$1 = __vue_component__;
241
+
242
+ export { EmptyStateSize, __vue_component__$1 as OrEmptyStateV3 };
@@ -0,0 +1,4 @@
1
+ export declare enum EmptyStateSize {
2
+ L = "l",
3
+ M = "m"
4
+ }
@@ -0,0 +1,15 @@
1
+ import { EmptyStateSize } from './props';
2
+ export declare const EmptyStateRoot: string[];
3
+ export declare const EmptyStateIconContainer: string[];
4
+ export declare const EmptyStateIconContainerSizes: Record<EmptyStateSize, string[]>;
5
+ export declare const EmptyStateIcon: string[];
6
+ export declare const EmptyStateIconSizes: Record<EmptyStateSize, string[]>;
7
+ export declare const EmptyStateImage: string[];
8
+ export declare const EmptyStateImageSizes: Record<EmptyStateSize, string[]>;
9
+ export declare const EmptyStateHeading: string[];
10
+ export declare const EmptyStateHeadingSizes: Record<EmptyStateSize, string[]>;
11
+ export declare const EmptyStateText: string[];
12
+ export declare const EmptyStateContent: string[];
13
+ export declare const EmptyStateTextSizes: Record<EmptyStateSize, string[]>;
14
+ export declare const EmptyStateContentSizes: Record<EmptyStateSize, string[]>;
15
+ export declare const EmptyStateLoaderStyles: string[];
@@ -0,0 +1,2 @@
1
+ import { LoaderVariant } from '../or-loader-v3';
2
+ export declare type EmptyStateLoader = boolean | LoaderVariant | undefined;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue-demi';
2
- import { InputBoxVariant } from './props';
2
+ import { InputBoxVariant } from '.';
3
3
  import { InputBoxSize } from './props';
4
4
  declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
5
5
  root: import("@vue/composition-api").Ref<HTMLElement | undefined>;