@onereach/ui-components 2.68.1-beta.2071.0 → 2.69.0-beta.2073.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-a9a779ea.js → OrCardCollection-dac9fd1e.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-18c534df.js → OrConfirm-ff57274f.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-4b82eb59.js} +4 -4
- package/dist/bundled/v2/{OrSearch-9d402f56.js → OrSearch-e34afaee.js} +1 -1
- package/dist/bundled/v2/{OrSelect-f37e751b.js → OrSelect-a2dbc872.js} +3 -3
- package/dist/bundled/v2/components/index.js +6 -6
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
- package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +101 -0
- package/dist/bundled/v2/components/or-empty-state-v3/index.d.ts +3 -0
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +162 -0
- package/dist/bundled/v2/components/or-empty-state-v3/props.d.ts +4 -0
- package/dist/bundled/v2/components/or-empty-state-v3/styles.d.ts +10 -0
- package/dist/bundled/v2/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/bundled/v2/hooks/index.js +1 -1
- package/dist/bundled/v2/index.js +7 -7
- package/dist/bundled/v2/{useOverflow-43299d81.js → useOverflow-dc93a300.js} +10 -6
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3993a015.js → OrCardCollection.vue_vue_type_script_lang-7a07be47.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-289b5600.js → OrConfirm.vue_vue_type_script_lang-2e7fa659.js} +1 -1
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-e97211bb.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ed78b21f.js → OrSearch.vue_vue_type_script_lang-1d2a20e0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c74a63e1.js → OrSelect.vue_vue_type_script_lang-619d6eb7.js} +2 -2
- package/dist/bundled/v3/components/index.js +6 -6
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
- package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +101 -0
- package/dist/bundled/v3/components/or-empty-state-v3/index.d.ts +3 -0
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +134 -0
- package/dist/bundled/v3/components/or-empty-state-v3/props.d.ts +4 -0
- package/dist/bundled/v3/components/or-empty-state-v3/styles.d.ts +10 -0
- package/dist/bundled/v3/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/bundled/v3/hooks/index.js +1 -1
- package/dist/bundled/v3/index.js +12 -12
- package/dist/bundled/v3/{useOverflow-2468b718.js → useOverflow-06bcc7d7.js} +10 -6
- package/dist/esm/v2/{OrCardCollection-4f001551.js → OrCardCollection-e46b220e.js} +1 -1
- package/dist/esm/v2/{OrConfirm-b0b2e43c.js → OrConfirm-74e21c56.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-b8a1627f.js} +4 -4
- package/dist/esm/v2/{OrSearch-ddb7c1fe.js → OrSearch-0c0d1773.js} +1 -1
- package/dist/esm/v2/{OrSelect-528c7480.js → OrSelect-acc13b49.js} +3 -3
- package/dist/esm/v2/components/index.js +6 -6
- package/dist/esm/v2/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
- package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.vue.d.ts +101 -0
- package/dist/esm/v2/components/or-empty-state-v3/index.d.ts +3 -0
- package/dist/esm/v2/components/or-empty-state-v3/index.js +159 -0
- package/dist/esm/v2/components/or-empty-state-v3/props.d.ts +4 -0
- package/dist/esm/v2/components/or-empty-state-v3/styles.d.ts +10 -0
- package/dist/esm/v2/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/esm/v2/components/or-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/index.js +6 -6
- package/dist/esm/{v3/useOverflow-ac506c65.js → v2/useOverflow-a3dc6212.js} +10 -6
- package/dist/esm/v3/{OrCardCollection-5a0febaf.js → OrCardCollection-5924d035.js} +1 -1
- package/dist/esm/v3/{OrConfirm-906427ef.js → OrConfirm-a3f312a6.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-e2ac1182.js} +1 -1
- package/dist/esm/v3/{OrSearch-cdde55ce.js → OrSearch-01225d82.js} +1 -1
- package/dist/esm/v3/{OrSelect-d9c76482.js → OrSelect-fbf4a140.js} +3 -3
- package/dist/esm/v3/components/index.js +6 -6
- package/dist/esm/v3/components/or-card-collection-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +24 -0
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +101 -0
- package/dist/esm/v3/components/or-empty-state-v3/index.d.ts +3 -0
- package/dist/esm/v3/components/or-empty-state-v3/index.js +135 -0
- package/dist/esm/v3/components/or-empty-state-v3/props.d.ts +4 -0
- package/dist/esm/v3/components/or-empty-state-v3/styles.d.ts +10 -0
- package/dist/esm/v3/components/or-empty-state-v3/types.d.ts +2 -0
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-v3/OrTag.stories3.d.ts +5 -0
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/index.js +6 -6
- package/dist/esm/{v2/useOverflow-ac506c65.js → v3/useOverflow-a3dc6212.js} +10 -6
- package/package.json +1 -1
- package/src/components/or-empty-state-v3/OrEmptyState.stories3.ts +87 -0
- package/src/components/or-empty-state-v3/OrEmptyState.vue +121 -0
- package/src/components/or-empty-state-v3/index.ts +3 -0
- package/src/components/or-empty-state-v3/props.ts +4 -0
- package/src/components/or-empty-state-v3/styles.ts +76 -0
- package/src/components/or-empty-state-v3/types.ts +3 -0
- package/src/components/or-input-v3/OrInput.vue +1 -1
- package/src/components/or-select-v3/OrSelect.vue +1 -1
- package/src/components/or-tag-v3/OrTag.stories3.ts +112 -0
- package/src/hooks/useOverflow.ts +5 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { O as OrCard } from './OrCard-58a1ba3e.js';
|
|
3
3
|
import { O as OrIconButton } from './OrIconButton-a215104c.js';
|
|
4
|
-
import { O as OrInput } from './OrInput-
|
|
4
|
+
import { O as OrInput } from './OrInput-4b82eb59.js';
|
|
5
5
|
import { O as OrSortHeader } from './OrSortHeader-396e6a7c.js';
|
|
6
6
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -3,7 +3,7 @@ import { useMagicKeys, whenever } from '@vueuse/core';
|
|
|
3
3
|
import { l as logicAnd } from './index-17f264f9.js';
|
|
4
4
|
import { O as OrOverlay } from './OrOverlay-3c89d622.js';
|
|
5
5
|
import { O as OrButton, a as ButtonColor } from './OrButton-0e91a808.js';
|
|
6
|
-
import { O as OrInput } from './OrInput-
|
|
6
|
+
import { O as OrInput } from './OrInput-4b82eb59.js';
|
|
7
7
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -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-
|
|
367
|
-
source: "input[data-v-
|
|
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-
|
|
373
|
+
const __vue_scope_id__ = "data-v-2f46aeca";
|
|
374
374
|
/* module identifier */
|
|
375
375
|
const __vue_module_identifier__ = undefined;
|
|
376
376
|
/* functional template */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
-
import { O as OrInput } from './OrInput-
|
|
3
|
+
import { O as OrInput } from './OrInput-4b82eb59.js';
|
|
4
4
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
5
5
|
import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
6
|
import { a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
@@ -4,7 +4,7 @@ import { O as OrError } from './OrError-aad17598.js';
|
|
|
4
4
|
import { O as OrExpansionPanel } from './OrExpansionPanel-995caa85.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-f38a1940.js';
|
|
6
6
|
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
7
|
-
import { O as OrInput } from './OrInput-
|
|
7
|
+
import { O as OrInput } from './OrInput-4b82eb59.js';
|
|
8
8
|
import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-79ec54ad.js';
|
|
9
9
|
import { O as OrLabel } from './OrLabel-172c4b89.js';
|
|
10
10
|
import { O as OrMenuItem } from './OrMenuItem-26420908.js';
|
|
@@ -12,7 +12,7 @@ import { O as OrPopover } from './OrPopover-5dc240f1.js';
|
|
|
12
12
|
import { O as OrTag } from './OrTag-6440aa89.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
|
|
14
14
|
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
15
|
-
import { u as useOverflow } from './useOverflow-
|
|
15
|
+
import { u as useOverflow } from './useOverflow-dc93a300.js';
|
|
16
16
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
17
17
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
18
|
|
|
@@ -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, O as OrButtonV3 } from '../OrButton-0e91a808.js';
|
|
9
9
|
export { O as OrCard } from '../OrCard-a6b30f8f.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-89428bbf.js';
|
|
11
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../OrCardCollection-dac9fd1e.js';
|
|
12
12
|
export { O as OrCardV3 } from '../OrCard-58a1ba3e.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-6da755c0.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-4cbddd67.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-edc7a1f5.js';
|
|
|
19
19
|
export { O as OrCollapse } from '../OrCollapse-3aa9a9b7.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-a1a37e83.js';
|
|
21
21
|
export { _ as OrConfirm } from '../OrConfirm-56d01cff.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-ff57274f.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-e212f892.js';
|
|
24
24
|
export { O as OrError } from '../OrError-31503e4c.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from '../OrErrorTag-d0c5bcf4.js';
|
|
@@ -37,7 +37,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-9ad
|
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-7262efdf.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-9c6f9044.js';
|
|
39
39
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, O as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-79ec54ad.js';
|
|
40
|
-
export { I as InputType, O as OrInputV3 } from '../OrInput-
|
|
40
|
+
export { I as InputType, O as OrInputV3 } from '../OrInput-4b82eb59.js';
|
|
41
41
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from '../OrPassword-7da938aa.js';
|
|
42
42
|
export { O as OrInput } from '../OrInput-08f2f666.js';
|
|
43
43
|
export { O as OrSearch } from '../OrSearch-f7cfa52f.js';
|
|
@@ -63,10 +63,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrP
|
|
|
63
63
|
export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
|
|
64
64
|
export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
|
|
65
65
|
export { _ as OrRadioV3 } from '../OrRadio-cd39b20b.js';
|
|
66
|
-
export { _ as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { _ as OrSearchV3 } from '../OrSearch-e34afaee.js';
|
|
67
67
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-21cc914e.js';
|
|
68
68
|
export { _ as OrSelect } from '../OrSelect-a23d4210.js';
|
|
69
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { _ as OrSelectV3 } from '../OrSelect-a2dbc872.js';
|
|
70
70
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
|
|
71
71
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from '../OrSidebar-c95ef614.js';
|
|
72
72
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-242d22f3.js';
|
|
@@ -113,6 +113,6 @@ import '../v4-cf8987a3.js';
|
|
|
113
113
|
import '../useResponsive-e13dfbb0.js';
|
|
114
114
|
import '../useElevation-aac032f4.js';
|
|
115
115
|
import '../dropdown-open-e2a93aaf.js';
|
|
116
|
-
import '../useOverflow-
|
|
116
|
+
import '../useOverflow-dc93a300.js';
|
|
117
117
|
import 'portal-vue/dist/portal-vue.esm.js';
|
|
118
118
|
import 'portal-vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3 } from '../../OrCardCollection-dac9fd1e.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -17,7 +17,7 @@ import '../../OrTeleport.vue2-e9ba3054.js';
|
|
|
17
17
|
import 'portal-vue';
|
|
18
18
|
import '../../useElevation-aac032f4.js';
|
|
19
19
|
import '../../useResponsive-e13dfbb0.js';
|
|
20
|
-
import '../../OrInput-
|
|
20
|
+
import '../../OrInput-4b82eb59.js';
|
|
21
21
|
import '../../OrError-aad17598.js';
|
|
22
22
|
import '../../OrHint-f38a1940.js';
|
|
23
23
|
import '../../OrInputBox-79ec54ad.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-ff57274f.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -12,7 +12,7 @@ import '../../useClassAttribute-9bf33346.js';
|
|
|
12
12
|
import '../../useElevation-aac032f4.js';
|
|
13
13
|
import '../../OrButton-0e91a808.js';
|
|
14
14
|
import '../../OrLoader-6a1f937b.js';
|
|
15
|
-
import '../../OrInput-
|
|
15
|
+
import '../../OrInput-4b82eb59.js';
|
|
16
16
|
import '../../OrError-aad17598.js';
|
|
17
17
|
import '../../OrHint-f38a1940.js';
|
|
18
18
|
import '../../OrIcon-8625385f.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,101 @@
|
|
|
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<import("@vue/composition-api").Data> & import("@vue/composition-api").Data, {}, {
|
|
4
|
+
rootClasses(): string[];
|
|
5
|
+
imageClasses(): string[];
|
|
6
|
+
headingClasses(): string[];
|
|
7
|
+
textClasses(): string[];
|
|
8
|
+
slotClasses(): string[];
|
|
9
|
+
}, {
|
|
10
|
+
/**
|
|
11
|
+
* Size of the component, affects font and icon size.
|
|
12
|
+
* Use Large if the component takes all screen space,
|
|
13
|
+
* and Medium if it is a part of the complex layout.
|
|
14
|
+
*/
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<EmptyStateSize>;
|
|
17
|
+
default: EmptyStateSize;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The heading of the empty state block.
|
|
21
|
+
*/
|
|
22
|
+
heading: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Additional text such as a hint for a user with proposed next steps.
|
|
28
|
+
*/
|
|
29
|
+
text: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Path to the image to display above the heading.
|
|
35
|
+
* Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
|
|
36
|
+
*/
|
|
37
|
+
imageSrc: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
42
|
+
/**
|
|
43
|
+
* Size of the component, affects font and icon size.
|
|
44
|
+
* Use Large if the component takes all screen space,
|
|
45
|
+
* and Medium if it is a part of the complex layout.
|
|
46
|
+
*/
|
|
47
|
+
size: {
|
|
48
|
+
type: PropType<EmptyStateSize>;
|
|
49
|
+
default: EmptyStateSize;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* The heading of the empty state block.
|
|
53
|
+
*/
|
|
54
|
+
heading: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Additional text such as a hint for a user with proposed next steps.
|
|
60
|
+
*/
|
|
61
|
+
text: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Path to the image to display above the heading.
|
|
67
|
+
* Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
|
|
68
|
+
*/
|
|
69
|
+
imageSrc: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
74
|
+
size: EmptyStateSize;
|
|
75
|
+
heading: string;
|
|
76
|
+
text: string;
|
|
77
|
+
imageSrc: string;
|
|
78
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, import("@vue/composition-api").Data, {
|
|
79
|
+
rootClasses(): string[];
|
|
80
|
+
imageClasses(): string[];
|
|
81
|
+
headingClasses(): string[];
|
|
82
|
+
textClasses(): string[];
|
|
83
|
+
slotClasses(): string[];
|
|
84
|
+
}, {}, {}, {}, {}, {
|
|
85
|
+
size: EmptyStateSize;
|
|
86
|
+
heading: string;
|
|
87
|
+
text: string;
|
|
88
|
+
imageSrc: string;
|
|
89
|
+
} & {}, {
|
|
90
|
+
size: EmptyStateSize;
|
|
91
|
+
heading: string;
|
|
92
|
+
text: string;
|
|
93
|
+
imageSrc: string;
|
|
94
|
+
}, true>);
|
|
95
|
+
/**
|
|
96
|
+
* The component to display when there is no content on a page,
|
|
97
|
+
* no records found or selected, or while the data is being loaded.
|
|
98
|
+
* Provides a hint to the user on what to do.
|
|
99
|
+
* Consists of text message, optional icon and optional loader.
|
|
100
|
+
*/
|
|
101
|
+
export default _default;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import '../../index-fa6eb4ca.js';
|
|
2
|
+
import { defineComponent } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
3
|
+
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
4
|
+
import 'vue';
|
|
5
|
+
|
|
6
|
+
var EmptyStateSize;
|
|
7
|
+
(function (EmptyStateSize) {
|
|
8
|
+
EmptyStateSize["L"] = "l";
|
|
9
|
+
EmptyStateSize["M"] = "m";
|
|
10
|
+
})(EmptyStateSize || (EmptyStateSize = {}));
|
|
11
|
+
|
|
12
|
+
const EmptyStateRoot = [
|
|
13
|
+
// Layout
|
|
14
|
+
'grow', 'flex', 'flex-col', 'justify-center', 'items-center',
|
|
15
|
+
// Box
|
|
16
|
+
'w-full',
|
|
17
|
+
// Sizing
|
|
18
|
+
'gap-sm'];
|
|
19
|
+
const EmptyStateImage = [
|
|
20
|
+
// Sizing
|
|
21
|
+
'mb-sm'];
|
|
22
|
+
const EmptyStateImageSizes = {
|
|
23
|
+
[EmptyStateSize.L]: [
|
|
24
|
+
// Box
|
|
25
|
+
'h-3xl'],
|
|
26
|
+
[EmptyStateSize.M]: [
|
|
27
|
+
// Box
|
|
28
|
+
'h-2xl']
|
|
29
|
+
};
|
|
30
|
+
const EmptyStateHeading = [
|
|
31
|
+
// Theme
|
|
32
|
+
'text-on-background', 'dark:text-on-background-dark'];
|
|
33
|
+
const EmptyStateHeadingSizes = {
|
|
34
|
+
[EmptyStateSize.L]: [
|
|
35
|
+
// Typography
|
|
36
|
+
'text-headline-2', 'font-headline-2'],
|
|
37
|
+
[EmptyStateSize.M]: [
|
|
38
|
+
// Typography
|
|
39
|
+
'text-headline-4', 'font-headline-4']
|
|
40
|
+
};
|
|
41
|
+
const EmptyStateText = ['text-center',
|
|
42
|
+
// Theme
|
|
43
|
+
'text-outline', 'dark:text-outline-dark'];
|
|
44
|
+
const EmptyStateContent = EmptyStateText;
|
|
45
|
+
const EmptyStateTextSizes = {
|
|
46
|
+
[EmptyStateSize.L]: [
|
|
47
|
+
// Typography
|
|
48
|
+
'text-body-2-regular', 'font-body-2-regular'],
|
|
49
|
+
[EmptyStateSize.M]: [
|
|
50
|
+
// Typography
|
|
51
|
+
'text-caption-regular', 'font-caption-regular']
|
|
52
|
+
};
|
|
53
|
+
const EmptyStateContentSizes = EmptyStateTextSizes;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The component to display when there is no content on a page,
|
|
57
|
+
* no records found or selected, or while the data is being loaded.
|
|
58
|
+
* Provides a hint to the user on what to do.
|
|
59
|
+
* Consists of text message, optional icon and optional loader.
|
|
60
|
+
*/
|
|
61
|
+
var script = defineComponent({
|
|
62
|
+
name: 'OrEmptyState',
|
|
63
|
+
props: {
|
|
64
|
+
/**
|
|
65
|
+
* Size of the component, affects font and icon size.
|
|
66
|
+
* Use Large if the component takes all screen space,
|
|
67
|
+
* and Medium if it is a part of the complex layout.
|
|
68
|
+
*/
|
|
69
|
+
size: {
|
|
70
|
+
type: String,
|
|
71
|
+
default: EmptyStateSize.M
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* The heading of the empty state block.
|
|
75
|
+
*/
|
|
76
|
+
heading: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: ''
|
|
79
|
+
},
|
|
80
|
+
/**
|
|
81
|
+
* Additional text such as a hint for a user with proposed next steps.
|
|
82
|
+
*/
|
|
83
|
+
text: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: ''
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Path to the image to display above the heading.
|
|
89
|
+
* Image height is fixed depending on `size` prop, width is undefined to preserve aspect ratio.
|
|
90
|
+
*/
|
|
91
|
+
imageSrc: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: undefined
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
computed: {
|
|
97
|
+
rootClasses() {
|
|
98
|
+
return ['or-empty-state', ...EmptyStateRoot];
|
|
99
|
+
},
|
|
100
|
+
imageClasses() {
|
|
101
|
+
return ['or-empty-state_image', ...EmptyStateImage, ...EmptyStateImageSizes[this.size]];
|
|
102
|
+
},
|
|
103
|
+
headingClasses() {
|
|
104
|
+
return ['or-empty-state_heading', ...EmptyStateHeading, ...EmptyStateHeadingSizes[this.size]];
|
|
105
|
+
},
|
|
106
|
+
textClasses() {
|
|
107
|
+
return ['or-empty-state_text', ...EmptyStateText, ...EmptyStateTextSizes[this.size]];
|
|
108
|
+
},
|
|
109
|
+
slotClasses() {
|
|
110
|
+
return ['or-empty-state_content', ...EmptyStateContent, ...EmptyStateContentSizes[this.size]];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
/* script */
|
|
116
|
+
const __vue_script__ = script;
|
|
117
|
+
|
|
118
|
+
/* template */
|
|
119
|
+
var __vue_render__ = function () {
|
|
120
|
+
var _vm = this;
|
|
121
|
+
var _h = _vm.$createElement;
|
|
122
|
+
var _c = _vm._self._c || _h;
|
|
123
|
+
return _c('div', {
|
|
124
|
+
staticClass: "static",
|
|
125
|
+
class: _vm.rootClasses
|
|
126
|
+
}, [_vm.imageSrc ? _c('img', {
|
|
127
|
+
class: _vm.imageClasses,
|
|
128
|
+
attrs: {
|
|
129
|
+
"src": _vm.imageSrc,
|
|
130
|
+
"alt": ""
|
|
131
|
+
}
|
|
132
|
+
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
133
|
+
class: _vm.headingClasses
|
|
134
|
+
}, [_vm._v("\n " + _vm._s(_vm.heading) + "\n ")]), _vm._v(" "), _vm.$slots.default ? _c('div', {
|
|
135
|
+
class: _vm.slotClasses
|
|
136
|
+
}, [_vm._t("default")], 2) : _vm._e(), _vm._v(" "), _c('div', {
|
|
137
|
+
class: _vm.textClasses
|
|
138
|
+
}, [_vm._v("\n " + _vm._s(_vm.text) + "\n ")])]);
|
|
139
|
+
};
|
|
140
|
+
var __vue_staticRenderFns__ = [];
|
|
141
|
+
|
|
142
|
+
/* style */
|
|
143
|
+
const __vue_inject_styles__ = undefined;
|
|
144
|
+
/* scoped */
|
|
145
|
+
const __vue_scope_id__ = "data-v-4ca51b1c";
|
|
146
|
+
/* module identifier */
|
|
147
|
+
const __vue_module_identifier__ = undefined;
|
|
148
|
+
/* functional template */
|
|
149
|
+
const __vue_is_functional_template__ = false;
|
|
150
|
+
/* style inject */
|
|
151
|
+
|
|
152
|
+
/* style inject SSR */
|
|
153
|
+
|
|
154
|
+
/* style inject shadow dom */
|
|
155
|
+
|
|
156
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
157
|
+
render: __vue_render__,
|
|
158
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
159
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
160
|
+
var __vue_component__$1 = __vue_component__;
|
|
161
|
+
|
|
162
|
+
export { EmptyStateSize, __vue_component__$1 as OrEmptyStateV3 };
|
|
@@ -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[]>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { _ as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { _ as OrSearchV3 } from '../../OrSearch-e34afaee.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-79ec54ad.js';
|
|
3
3
|
import '../../index-fa6eb4ca.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
6
|
import '@vueuse/core';
|
|
7
|
-
import '../../OrInput-
|
|
7
|
+
import '../../OrInput-4b82eb59.js';
|
|
8
8
|
import '../../OrError-aad17598.js';
|
|
9
9
|
import '../../useClassAttribute-9bf33346.js';
|
|
10
10
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-a2dbc872.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-79ec54ad.js';
|
|
3
3
|
import '../../index-fa6eb4ca.js';
|
|
4
4
|
import 'vue';
|
|
@@ -12,7 +12,7 @@ import '../../OrError-aad17598.js';
|
|
|
12
12
|
import '../../OrExpansionPanel-995caa85.js';
|
|
13
13
|
import '../../OrIcon-8625385f.js';
|
|
14
14
|
import '../../OrHint-f38a1940.js';
|
|
15
|
-
import '../../OrInput-
|
|
15
|
+
import '../../OrInput-4b82eb59.js';
|
|
16
16
|
import '../../OrIconButton-a215104c.js';
|
|
17
17
|
import '../../OrTooltip-fbfa05fd.js';
|
|
18
18
|
import '@vueuse/core';
|
|
@@ -27,4 +27,4 @@ import '../../useResponsive-e13dfbb0.js';
|
|
|
27
27
|
import '../../OrMenuItem-26420908.js';
|
|
28
28
|
import '../../OrTag-6440aa89.js';
|
|
29
29
|
import '../../dropdown-open-e2a93aaf.js';
|
|
30
|
-
import '../../useOverflow-
|
|
30
|
+
import '../../useOverflow-dc93a300.js';
|
|
@@ -15,3 +15,8 @@ export declare const WithCustomColor: StoryFn<import("vue").ComponentOptions<imp
|
|
|
15
15
|
} | string[], {} & {}, {
|
|
16
16
|
[x: number]: string;
|
|
17
17
|
} | {}, true>)>;
|
|
18
|
+
export declare const InsideContainer: 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, {
|
|
19
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
+
} | string[], {} & {}, {
|
|
21
|
+
[x: number]: string;
|
|
22
|
+
} | {}, true>)>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { u as useClassAttribute } from '../useClassAttribute-9bf33346.js';
|
|
2
2
|
export { u as useElevation } from '../useElevation-aac032f4.js';
|
|
3
|
-
export { u as useOverflow } from '../useOverflow-
|
|
3
|
+
export { u as useOverflow } from '../useOverflow-dc93a300.js';
|
|
4
4
|
export { u as useToggle } from '../useToggle-6166bd53.js';
|
|
5
5
|
export { u as useResponsive } from '../useResponsive-e13dfbb0.js';
|
|
6
6
|
import '../index-fa6eb4ca.js';
|