@onereach/ui-components 2.68.2 → 2.69.0-beta.2076.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 (84) hide show
  1. package/dist/bundled/v2/{OrCardCollection-a9a779ea.js → OrCardCollection-dac9fd1e.js} +1 -1
  2. package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-ff57274f.js} +1 -1
  3. package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-4b82eb59.js} +4 -4
  4. package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-e34afaee.js} +1 -1
  5. package/dist/bundled/v2/{OrSelect-759b4410.js → OrSelect-a2dbc872.js} +2 -2
  6. package/dist/bundled/v2/components/index.js +5 -5
  7. package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
  8. package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
  9. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
  10. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +103 -0
  11. package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +3 -0
  12. package/dist/bundled/v2/components/or-empty-state-v3/index.js +161 -0
  13. package/dist/bundled/v2/components/or-empty-state-v3/props.d.ts +4 -0
  14. package/dist/bundled/v2/components/or-empty-state-v3/styles.d.ts +10 -0
  15. package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +2 -0
  16. package/dist/bundled/v2/components/or-input-v3/index.js +1 -1
  17. package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
  18. package/dist/bundled/v2/components/or-select-v3/index.js +2 -2
  19. package/dist/bundled/v2/index.js +6 -6
  20. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-7a07be47.js} +1 -1
  21. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-2e7fa659.js} +1 -1
  22. package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-e97211bb.js} +1 -1
  23. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-1d2a20e0.js} +1 -1
  24. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-dfadd12f.js → OrSelect.vue_vue_type_script_lang-619d6eb7.js} +1 -1
  25. package/dist/bundled/v3/components/index.js +5 -5
  26. package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
  27. package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
  28. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
  29. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +103 -0
  30. package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +3 -0
  31. package/dist/bundled/v3/components/or-empty-state-v3/index.js +134 -0
  32. package/dist/bundled/v3/components/or-empty-state-v3/props.d.ts +4 -0
  33. package/dist/bundled/v3/components/or-empty-state-v3/styles.d.ts +10 -0
  34. package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +2 -0
  35. package/dist/bundled/v3/components/or-search-v3/index.js +2 -2
  36. package/dist/bundled/v3/components/or-select-v3/index.js +2 -2
  37. package/dist/bundled/v3/index.js +11 -11
  38. package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-e46b220e.js} +1 -1
  39. package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-74e21c56.js} +1 -1
  40. package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-b8a1627f.js} +4 -4
  41. package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-0c0d1773.js} +1 -1
  42. package/dist/esm/v2/{OrSelect-ac382aa6.js → OrSelect-acc13b49.js} +2 -2
  43. package/dist/esm/v2/components/index.js +5 -5
  44. package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
  45. package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
  46. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
  47. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +103 -0
  48. package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +3 -0
  49. package/dist/esm/v2/components/or-empty-state-v3/index.js +158 -0
  50. package/dist/esm/v2/components/or-empty-state-v3/props.d.ts +4 -0
  51. package/dist/esm/v2/components/or-empty-state-v3/styles.d.ts +10 -0
  52. package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +2 -0
  53. package/dist/esm/v2/components/or-input-v3/index.js +1 -1
  54. package/dist/esm/v2/components/or-search-v3/index.js +2 -2
  55. package/dist/esm/v2/components/or-select-v3/index.js +2 -2
  56. package/dist/esm/v2/index.js +5 -5
  57. package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-5924d035.js} +1 -1
  58. package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-a3f312a6.js} +1 -1
  59. package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-e2ac1182.js} +1 -1
  60. package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-01225d82.js} +1 -1
  61. package/dist/esm/v3/{OrSelect-fee9c099.js → OrSelect-fbf4a140.js} +2 -2
  62. package/dist/esm/v3/components/index.js +5 -5
  63. package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
  64. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  65. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
  66. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +103 -0
  67. package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +3 -0
  68. package/dist/esm/v3/components/or-empty-state-v3/index.js +135 -0
  69. package/dist/esm/v3/components/or-empty-state-v3/props.d.ts +4 -0
  70. package/dist/esm/v3/components/or-empty-state-v3/styles.d.ts +10 -0
  71. package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +2 -0
  72. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  73. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  74. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  75. package/dist/esm/v3/index.js +5 -5
  76. package/package.json +2 -3
  77. package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +87 -0
  78. package/src/components/or-empty-state-v3/OrEmptyState.vue +116 -0
  79. package/src/components/or-empty-state-v3/index.ts +3 -0
  80. package/src/components/or-empty-state-v3/props.ts +4 -0
  81. package/src/components/or-empty-state-v3/styles.ts +72 -0
  82. package/src/components/or-empty-state-v3/types.ts +3 -0
  83. package/src/components/or-input-v3/OrInput.vue +1 -1
  84. package/src/components/or-select-v3/OrSelect.vue +1 -1
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { _ as __vue_component__$1 } from './OrCard-de799db0.js';
5
5
  import { _ as __vue_component__$2 } from './OrIconButton-e17e4944.js';
6
- import { _ as __vue_component__$3 } from './OrInput-2f16a7ac.js';
6
+ import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
7
7
  import { _ as __vue_component__$4 } from './OrSortHeader-19bf94ca.js';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-357a5756.js';
3
3
  import { _ as __vue_component__$1 } from './OrOverlay-18ba2dc6.js';
4
- import { _ as __vue_component__$3 } from './OrInput-2f16a7ac.js';
4
+ import { _ as __vue_component__$3 } from './OrInput-b8a1627f.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
6
6
  import { logicAnd } from '@vueuse/math';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -301,7 +301,7 @@ var __vue_render__ = function () {
301
301
  }
302
302
  }
303
303
  }, 'input', _vm.$attrs, false)), _vm._v(" "), _c('div', {
304
- class: ['layout-row']
304
+ class: ['layout-row', 'm-[-4px] md:m-[-2px]']
305
305
  }, [_vm.type === 'password' ? [_c('OrIconButton', {
306
306
  attrs: {
307
307
  "icon": {
@@ -363,14 +363,14 @@ var __vue_staticRenderFns__ = [];
363
363
  /* style */
364
364
  const __vue_inject_styles__ = function (inject) {
365
365
  if (!inject) return;
366
- inject("data-v-677a1aa4_0", {
367
- source: "input[data-v-677a1aa4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-677a1aa4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-677a1aa4]::-webkit-search-cancel-button{display:none}",
366
+ inject("data-v-2f46aeca_0", {
367
+ source: "input[data-v-2f46aeca]{min-width:0;background:0 0;outline:0}input[type=number][data-v-2f46aeca]::-webkit-inner-spin-button{display:none}input[type=search][data-v-2f46aeca]::-webkit-search-cancel-button{display:none}",
368
368
  map: undefined,
369
369
  media: undefined
370
370
  });
371
371
  };
372
372
  /* scoped */
373
- const __vue_scope_id__ = "data-v-677a1aa4";
373
+ const __vue_scope_id__ = "data-v-2f46aeca";
374
374
  /* module identifier */
375
375
  const __vue_module_identifier__ = undefined;
376
376
  /* functional template */
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { _ as __vue_component__$1 } from './OrInput-2f16a7ac.js';
4
+ import { _ as __vue_component__$1 } from './OrInput-b8a1627f.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-4d5a318d.js';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
7
7
 
@@ -9,7 +9,7 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-968ddc61.js';
9
9
  import { _ as __vue_component__$4 } from './OrHint-42dc9ebb.js';
10
10
  import { _ as __vue_component__$5 } from './OrIcon-5e394c62.js';
11
11
  import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-4d5a318d.js';
12
- import { _ as __vue_component__$6 } from './OrInput-2f16a7ac.js';
12
+ import { _ as __vue_component__$6 } from './OrInput-b8a1627f.js';
13
13
  import { _ as __vue_component__$8 } from './OrLabel-2a9f1477.js';
14
14
  import { _ as __vue_component__$9 } from './OrMenuItem-c7f28480.js';
15
15
  import { _ as __vue_component__$a } from './OrPopover-9bafbdb4.js';
@@ -370,7 +370,7 @@ var __vue_render__ = function () {
370
370
  })]] : [_c('span', {
371
371
  class: _vm.placeholderStyles
372
372
  }, [_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', {
373
- class: ['layout-row']
373
+ class: ['layout-row', 'm-[-4px] md:m-[-2px]']
374
374
  }, [_c('OrIcon', {
375
375
  attrs: {
376
376
  "icon": _vm.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
@@ -8,7 +8,7 @@ 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-357a5756.js';
9
9
  export { _ as OrCard } from '../OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-f6b07557.js';
11
- export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-4f001551.js';
11
+ export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-e46b220e.js';
12
12
  export { _ as OrCardV3 } from '../OrCard-de799db0.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from '../OrCheckbox-915f1f0a.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-41dd5f9b.js';
19
19
  export { _ as OrCollapse } from '../OrCollapse-4d892ca3.js';
20
20
  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-75abefdd.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-d7112dd3.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-b0b2e43c.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-74e21c56.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from '../OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from '../OrErrorTag-782dd714.js';
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-cfe
37
37
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-b47cfc2d.js';
38
38
  export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-897b5377.js';
39
39
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-4d5a318d.js';
40
- export { I as InputType, _ as OrInputV3 } from '../OrInput-2f16a7ac.js';
40
+ export { I as InputType, _ as OrInputV3 } from '../OrInput-b8a1627f.js';
41
41
  export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-1fa97156.js';
42
42
  export { _ as OrInput } from '../OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
43
43
  export { _ as OrSearch } from '../OrSearch-0589d17d.js';
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
63
63
  export { _ as OrRadio } from '../OrRadio-e4198532.js';
64
64
  export { _ as OrRadioGroup } from '../OrRadioGroup-d9d32cba.js';
65
65
  export { _ as OrRadioV3 } from '../OrRadio-848ce55d.js';
66
- export { _ as OrSearchV3 } from '../OrSearch-ddb7c1fe.js';
66
+ export { _ as OrSearchV3 } from '../OrSearch-0c0d1773.js';
67
67
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-e8dce8f9.js';
68
68
  export { _ as OrSelect } from '../OrSelect-dae2b069.js';
69
- export { _ as OrSelectV3 } from '../OrSelect-ac382aa6.js';
69
+ export { _ as OrSelectV3 } from '../OrSelect-acc13b49.js';
70
70
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
71
71
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-fabc7bc9.js';
72
72
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-cc94bdc9.js';
@@ -1,4 +1,4 @@
1
- export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-4f001551.js';
1
+ export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-e46b220e.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -15,7 +15,7 @@ import '../../OrBottomSheet-16c2e610.js';
15
15
  import '../../OrOverlay-18ba2dc6.js';
16
16
  import '../../OrTeleport.vue2-fb92f29f.js';
17
17
  import 'portal-vue';
18
- import '../../OrInput-2f16a7ac.js';
18
+ import '../../OrInput-b8a1627f.js';
19
19
  import '../../OrError-d267ee9a.js';
20
20
  import '../../OrHint-42dc9ebb.js';
21
21
  import '../../OrInputBox-4d5a318d.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-b0b2e43c.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-74e21c56.js';
2
2
  import 'vue-demi';
3
3
  import '../../OrButton-357a5756.js';
4
4
  import '../../useClassAttribute-47fdb016.js';
@@ -9,7 +9,7 @@ import '../../OrOverlay-18ba2dc6.js';
9
9
  import '../../useElevation-31bfe1f6.js';
10
10
  import '../../OrTeleport.vue2-fb92f29f.js';
11
11
  import 'portal-vue';
12
- import '../../OrInput-2f16a7ac.js';
12
+ import '../../OrInput-b8a1627f.js';
13
13
  import '../../OrError-d267ee9a.js';
14
14
  import '../../OrHint-42dc9ebb.js';
15
15
  import '../../OrIconButton-e17e4944.js';
@@ -0,0 +1,24 @@
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 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, {
15
+ [x: string]: ((...args: any[]) => any) | null;
16
+ } | string[], {} & {}, {
17
+ [x: number]: string;
18
+ } | {}, true>)>;
19
+ 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, {
20
+ [x: string]: ((...args: any[]) => any) | null;
21
+ } | string[], {} & {}, {
22
+ [x: number]: string;
23
+ } | {}, true>)>;
24
+ export declare const ExtraContentInSlot: StoryFn<typeof OrEmptyState>;
@@ -0,0 +1,103 @@
1
+ import { PropType } from 'vue-demi';
2
+ import { EmptyStateSize } from '.';
3
+ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
+ rootClasses: import("@vue/composition-api").ComputedRef<string[]>;
6
+ imageClasses: import("@vue/composition-api").ComputedRef<string[]>;
7
+ headingClasses: import("@vue/composition-api").ComputedRef<string[]>;
8
+ textClasses: import("@vue/composition-api").ComputedRef<string[]>;
9
+ slotClasses: import("@vue/composition-api").ComputedRef<string[]>;
10
+ }> & import("@vue/composition-api").Data, {}, {}, {
11
+ /**
12
+ * Size of the component, affects font and icon size.
13
+ * Use Large if the component takes all screen space,
14
+ * and Medium if it is a part of the complex layout.
15
+ */
16
+ size: {
17
+ type: PropType<EmptyStateSize>;
18
+ default: EmptyStateSize;
19
+ };
20
+ /**
21
+ * The heading of the empty state block.
22
+ */
23
+ heading: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ /**
28
+ * Additional text such as a hint for a user with proposed next steps.
29
+ */
30
+ text: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ /**
35
+ * Path to the image to display above the heading.
36
+ * Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
37
+ */
38
+ imageSrc: {
39
+ type: StringConstructor;
40
+ default: undefined;
41
+ };
42
+ }, import("@vue/composition-api").ExtractPropTypes<{
43
+ /**
44
+ * Size of the component, affects font and icon size.
45
+ * Use Large if the component takes all screen space,
46
+ * and Medium if it is a part of the complex layout.
47
+ */
48
+ size: {
49
+ type: PropType<EmptyStateSize>;
50
+ default: EmptyStateSize;
51
+ };
52
+ /**
53
+ * The heading of the empty state block.
54
+ */
55
+ heading: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ /**
60
+ * Additional text such as a hint for a user with proposed next steps.
61
+ */
62
+ text: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ /**
67
+ * Path to the image to display above the heading.
68
+ * Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
69
+ */
70
+ imageSrc: {
71
+ type: StringConstructor;
72
+ default: undefined;
73
+ };
74
+ }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
75
+ size: EmptyStateSize;
76
+ heading: string;
77
+ text: string;
78
+ imageSrc: string;
79
+ } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
80
+ root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
81
+ rootClasses: import("@vue/composition-api").ComputedRef<string[]>;
82
+ imageClasses: import("@vue/composition-api").ComputedRef<string[]>;
83
+ headingClasses: import("@vue/composition-api").ComputedRef<string[]>;
84
+ textClasses: import("@vue/composition-api").ComputedRef<string[]>;
85
+ slotClasses: import("@vue/composition-api").ComputedRef<string[]>;
86
+ }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
87
+ size: EmptyStateSize;
88
+ heading: string;
89
+ text: string;
90
+ imageSrc: string;
91
+ } & {}, {
92
+ size: EmptyStateSize;
93
+ heading: string;
94
+ text: string;
95
+ imageSrc: string;
96
+ }, true>);
97
+ /**
98
+ * The component to display when there is no content on a page,
99
+ * no records found or selected, or while the data is being loaded.
100
+ * Provides a hint to the user on what to do.
101
+ * Consists of text message, optional icon and optional loader.
102
+ */
103
+ 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,158 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
3
+
4
+ var EmptyStateSize;
5
+ (function (EmptyStateSize) {
6
+ EmptyStateSize["L"] = "l";
7
+ EmptyStateSize["M"] = "m";
8
+ })(EmptyStateSize || (EmptyStateSize = {}));
9
+
10
+ const EmptyStateRoot = [
11
+ // Layout
12
+ 'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
13
+ // Box
14
+ 'w-full',
15
+ // Sizing
16
+ 'gap-sm'];
17
+ const EmptyStateImage = [
18
+ // Sizing
19
+ 'mb-sm'];
20
+ const EmptyStateImageSizes = {
21
+ [EmptyStateSize.L]: [
22
+ // Box
23
+ 'h-3xl'],
24
+ [EmptyStateSize.M]: [
25
+ // Box
26
+ 'h-2xl']
27
+ };
28
+ const EmptyStateHeading = [
29
+ // Theme
30
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
31
+ const EmptyStateHeadingSizes = {
32
+ [EmptyStateSize.L]: [
33
+ // Typography
34
+ 'typography-headline-2'],
35
+ [EmptyStateSize.M]: [
36
+ // Typography
37
+ 'typography-headline-4']
38
+ };
39
+ const EmptyStateText = ['text-center',
40
+ // Theme
41
+ 'text-outline', 'dark:text-outline-dark'];
42
+ const EmptyStateContent = EmptyStateText;
43
+ const EmptyStateTextSizes = {
44
+ [EmptyStateSize.L]: [
45
+ // Typography
46
+ 'typography-body-2-regular'],
47
+ [EmptyStateSize.M]: [
48
+ // Typography
49
+ 'typography-caption-regular']
50
+ };
51
+ const EmptyStateContentSizes = EmptyStateTextSizes;
52
+
53
+ /**
54
+ * The component to display when there is no content on a page,
55
+ * no records found or selected, or while the data is being loaded.
56
+ * Provides a hint to the user on what to do.
57
+ * Consists of text message, optional icon and optional loader.
58
+ */
59
+ var script = defineComponent({
60
+ name: 'OrEmptyState',
61
+ props: {
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: String,
69
+ default: EmptyStateSize.M
70
+ },
71
+ /**
72
+ * The heading of the empty state block.
73
+ */
74
+ heading: {
75
+ type: String,
76
+ default: ''
77
+ },
78
+ /**
79
+ * Additional text such as a hint for a user with proposed next steps.
80
+ */
81
+ text: {
82
+ type: String,
83
+ default: ''
84
+ },
85
+ /**
86
+ * Path to the image to display above the heading.
87
+ * Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
88
+ */
89
+ imageSrc: {
90
+ type: String,
91
+ default: undefined
92
+ }
93
+ },
94
+ setup(props) {
95
+ const root = ref();
96
+ const rootClasses = computed(() => ['or-empty-state', ...EmptyStateRoot]);
97
+ const imageClasses = computed(() => ['or-empty-state_image', ...EmptyStateImage, ...EmptyStateImageSizes[props.size]]);
98
+ const headingClasses = computed(() => ['or-empty-state_heading', ...EmptyStateHeading, ...EmptyStateHeadingSizes[props.size]]);
99
+ const textClasses = computed(() => ['or-empty-state_text', ...EmptyStateText, ...EmptyStateTextSizes[props.size]]);
100
+ const slotClasses = computed(() => ['or-empty-state_content', ...EmptyStateContent, ...EmptyStateContentSizes[props.size]]);
101
+ return {
102
+ root,
103
+ rootClasses,
104
+ imageClasses,
105
+ headingClasses,
106
+ textClasses,
107
+ slotClasses
108
+ };
109
+ }
110
+ });
111
+
112
+ /* script */
113
+ const __vue_script__ = script;
114
+
115
+ /* template */
116
+ var __vue_render__ = function () {
117
+ var _vm = this;
118
+ var _h = _vm.$createElement;
119
+ var _c = _vm._self._c || _h;
120
+ return _c('div', {
121
+ ref: "root",
122
+ class: _vm.rootClasses
123
+ }, [_vm.imageSrc ? _c('img', {
124
+ class: _vm.imageClasses,
125
+ attrs: {
126
+ "src": _vm.imageSrc,
127
+ "alt": ""
128
+ }
129
+ }) : _vm._e(), _vm._v(" "), _c('div', {
130
+ class: _vm.headingClasses
131
+ }, [_vm._v("\n " + _vm._s(_vm.heading) + "\n ")]), _vm._v(" "), _vm.$slots.default ? _c('div', {
132
+ class: _vm.slotClasses
133
+ }, [_vm._t("default")], 2) : _vm._e(), _vm._v(" "), _c('div', {
134
+ class: _vm.textClasses
135
+ }, [_vm._v("\n " + _vm._s(_vm.text) + "\n ")])]);
136
+ };
137
+ var __vue_staticRenderFns__ = [];
138
+
139
+ /* style */
140
+ const __vue_inject_styles__ = undefined;
141
+ /* scoped */
142
+ const __vue_scope_id__ = undefined;
143
+ /* module identifier */
144
+ const __vue_module_identifier__ = undefined;
145
+ /* functional template */
146
+ const __vue_is_functional_template__ = false;
147
+ /* style inject */
148
+
149
+ /* style inject SSR */
150
+
151
+ /* style inject shadow dom */
152
+
153
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
154
+ render: __vue_render__,
155
+ staticRenderFns: __vue_staticRenderFns__
156
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
157
+
158
+ export { EmptyStateSize, __vue_component__ as OrEmptyStateV3 };
@@ -0,0 +1,4 @@
1
+ export declare enum EmptyStateSize {
2
+ L = "l",
3
+ M = "m"
4
+ }
@@ -0,0 +1,10 @@
1
+ import { EmptyStateSize } from './props';
2
+ export declare const EmptyStateRoot: string[];
3
+ export declare const EmptyStateImage: string[];
4
+ export declare const EmptyStateImageSizes: Record<EmptyStateSize, string[]>;
5
+ export declare const EmptyStateHeading: string[];
6
+ export declare const EmptyStateHeadingSizes: Record<EmptyStateSize, string[]>;
7
+ export declare const EmptyStateText: string[];
8
+ export declare const EmptyStateContent: string[];
9
+ export declare const EmptyStateTextSizes: Record<EmptyStateSize, string[]>;
10
+ export declare const EmptyStateContentSizes: Record<EmptyStateSize, string[]>;
@@ -0,0 +1,2 @@
1
+ import { LoaderVariant } from '../or-loader-v3';
2
+ export declare type EmptyStateLoader = boolean | LoaderVariant | undefined;
@@ -1,4 +1,4 @@
1
- export { I as InputType, _ as OrInputV3 } from '../../OrInput-2f16a7ac.js';
1
+ export { I as InputType, _ as OrInputV3 } from '../../OrInput-b8a1627f.js';
2
2
  export { a as InputSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useClassAttribute-47fdb016.js';
@@ -1,9 +1,9 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-ddb7c1fe.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-0c0d1773.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '@vueuse/core';
5
5
  import '../../useClassAttribute-47fdb016.js';
6
- import '../../OrInput-2f16a7ac.js';
6
+ import '../../OrInput-b8a1627f.js';
7
7
  import '../../OrError-d267ee9a.js';
8
8
  import '../../normalize-component-6e8e3d80.js';
9
9
  import '../../OrHint-42dc9ebb.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-ac382aa6.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-acc13b49.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-4d5a318d.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,7 +13,7 @@ import '../../OrError-d267ee9a.js';
13
13
  import '../../OrExpansionPanel-968ddc61.js';
14
14
  import '../../OrIcon-5e394c62.js';
15
15
  import '../../OrHint-42dc9ebb.js';
16
- import '../../OrInput-2f16a7ac.js';
16
+ import '../../OrInput-b8a1627f.js';
17
17
  import '../../OrIconButton-e17e4944.js';
18
18
  import '../../OrTooltip-513bee30.js';
19
19
  import '../../OrPopover-9bafbdb4.js';
@@ -8,7 +8,7 @@ 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-357a5756.js';
9
9
  export { _ as OrCard } from './OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
11
- export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-4f001551.js';
11
+ export { C as CardCollectionView, _ as OrCardCollectionV3 } from './OrCardCollection-e46b220e.js';
12
12
  export { _ as OrCardV3 } from './OrCard-de799db0.js';
13
13
  export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
14
14
  export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-41dd5f9b.js';
19
19
  export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
20
20
  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-75abefdd.js';
21
21
  export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-b0b2e43c.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-74e21c56.js';
23
23
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
24
24
  export { _ as OrError } from './OrError-081130bb.js';
25
25
  export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-cfee
37
37
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
38
38
  export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-897b5377.js';
39
39
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-4d5a318d.js';
40
- export { I as InputType, _ as OrInputV3 } from './OrInput-2f16a7ac.js';
40
+ export { I as InputType, _ as OrInputV3 } from './OrInput-b8a1627f.js';
41
41
  export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-1fa97156.js';
42
42
  export { _ as OrInput } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
43
43
  export { _ as OrSearch } from './OrSearch-0589d17d.js';
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
63
63
  export { _ as OrRadio } from './OrRadio-e4198532.js';
64
64
  export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
65
65
  export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
66
- export { _ as OrSearchV3 } from './OrSearch-ddb7c1fe.js';
66
+ export { _ as OrSearchV3 } from './OrSearch-0c0d1773.js';
67
67
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
68
68
  export { _ as OrSelect } from './OrSelect-dae2b069.js';
69
- export { _ as OrSelectV3 } from './OrSelect-ac382aa6.js';
69
+ export { _ as OrSelectV3 } from './OrSelect-acc13b49.js';
70
70
  export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
71
71
  export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
72
72
  export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrCard-fd92f7c8.js';
5
5
  import { s as script$2 } from './OrIconButton-1eebcafc.js';
6
- import { s as script$3 } from './OrInput-41691fb3.js';
6
+ import { s as script$3 } from './OrInput-e2ac1182.js';
7
7
  import { s as script$4 } from './OrSortHeader-fe1a9cf8.js';
8
8
  import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { s as script$2, a as ButtonColor } from './OrButton-f4b9ee51.js';
3
3
  import { s as script$1 } from './OrOverlay-738a44d5.js';
4
- import { s as script$3 } from './OrInput-41691fb3.js';
4
+ import { s as script$3 } from './OrInput-e2ac1182.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
6
6
  import { logicAnd } from '@vueuse/math';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
@@ -145,7 +145,7 @@ var script = defineComponent({
145
145
 
146
146
  const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
147
147
  const _hoisted_2 = {
148
- class: /*#__PURE__*/normalizeClass(['layout-row'])
148
+ class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
149
149
  };
150
150
  function render(_ctx, _cache, $props, $setup, $data, $options) {
151
151
  const _component_OrLabel = resolveComponent("OrLabel");
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { s as script$1 } from './OrInput-41691fb3.js';
4
+ import { s as script$1 } from './OrInput-e2ac1182.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-5247ab25.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7
 
@@ -9,7 +9,7 @@ import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
9
9
  import { s as script$4 } from './OrHint-74bb732d.js';
10
10
  import { s as script$5 } from './OrIcon-b195169c.js';
11
11
  import { s as script$7, a as InputBoxSize } from './OrInputBox-5247ab25.js';
12
- import { s as script$6 } from './OrInput-41691fb3.js';
12
+ import { s as script$6 } from './OrInput-e2ac1182.js';
13
13
  import { s as script$8 } from './OrLabel-bdaec602.js';
14
14
  import { s as script$9 } from './OrMenuItem-9da279f6.js';
15
15
  import { s as script$a } from './OrPopover-1075dd38.js';
@@ -288,7 +288,7 @@ var script = defineComponent({
288
288
 
289
289
  const _hoisted_1 = ["id", "tabindex", "disabled"];
290
290
  const _hoisted_2 = {
291
- class: /*#__PURE__*/normalizeClass(['layout-row'])
291
+ class: /*#__PURE__*/normalizeClass(['layout-row', 'm-[-4px] md:m-[-2px]'])
292
292
  };
293
293
  function render(_ctx, _cache, $props, $setup, $data, $options) {
294
294
  const _component_OrLabel = resolveComponent("OrLabel");