@onereach/ui-components 2.74.4-beta.2306.0 → 2.74.4-beta.2307.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 (119) hide show
  1. package/dist/bundled/v2/{OrButton-0a9470c0.js → OrButton-d45772c1.js} +1 -1
  2. package/dist/bundled/v2/{OrCardCollection-f6c1843a.js → OrCardCollection-914c0d96.js} +2 -2
  3. package/dist/bundled/v2/{OrConfirm-de24a0f3.js → OrConfirm-f34221c8.js} +2 -2
  4. package/dist/bundled/v2/{OrInput-bef517bc.js → OrInput-5cd0041e.js} +1 -1
  5. package/dist/bundled/v2/{OrLoader-cf28bfa6.js → OrLoader-864ef92a.js} +5 -20
  6. package/dist/bundled/v2/{OrPagination-19494306.js → OrPagination-582690fd.js} +1 -1
  7. package/dist/bundled/v2/{OrSearch-7fc62333.js → OrSearch-4b0f063b.js} +1 -1
  8. package/dist/bundled/v2/{OrSelect-8117caeb.js → OrSelect-ac49dab5.js} +1 -1
  9. package/dist/bundled/v2/{OrSwitch-51e30de3.js → OrSwitch-782d7b43.js} +1 -1
  10. package/dist/bundled/v2/{OrText-a665b991.js → OrText-15bf85c4.js} +36 -3
  11. package/dist/bundled/v2/components/index.js +11 -11
  12. package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
  13. package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -5
  14. package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -4
  15. package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
  16. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
  17. package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
  18. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  19. package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
  20. package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
  21. package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
  22. package/dist/bundled/v2/components/or-text-v3/OrText.stories3.d.ts +13 -1
  23. package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +27 -2
  24. package/dist/bundled/v2/components/or-text-v3/index.js +1 -1
  25. package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
  26. package/dist/bundled/v2/index.js +12 -12
  27. package/dist/bundled/v2/{types-d2afe7b5.js → types-d0e9ac5c.js} +1 -1
  28. package/dist/bundled/v3/{OrButton-a5b98ee2.js → OrButton-a1448bfa.js} +1 -1
  29. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-e75f9a10.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +2 -2
  30. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-3e9df595.js → OrCardCollection.vue_vue_type_script_lang-b74654c4.js} +3 -3
  31. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-21ba7d14.js → OrConfirm.vue_vue_type_script_lang-a75a86cd.js} +4 -4
  32. package/dist/bundled/v3/{OrInput-e5eb8be7.js → OrInput-b077957e.js} +1 -1
  33. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-852897e6.js → OrInput.vue_vue_type_script_lang-ada50709.js} +2 -2
  34. package/dist/bundled/v3/{OrLoader-663e062d.js → OrLoader-123ef8c4.js} +4 -5
  35. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-8fc03499.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +4 -18
  36. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-cdab5b21.js → OrPagination.vue_vue_type_script_lang-9804669c.js} +2 -2
  37. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-9108d84c.js → OrSearch.vue_vue_type_script_lang-d4b754f2.js} +2 -2
  38. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b36ee220.js → OrSelect.vue_vue_type_script_lang-36567db5.js} +2 -2
  39. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-f6039c8f.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +2 -2
  40. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-e93438ea.js +93 -0
  41. package/dist/bundled/v3/{OrToastContainer-6ade8920.js → OrToastContainer-bafab8a2.js} +1 -1
  42. package/dist/bundled/v3/components/index.js +14 -14
  43. package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
  44. package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -8
  45. package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -7
  46. package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
  47. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
  48. package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
  49. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  50. package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
  51. package/dist/bundled/v3/components/or-select-v3/index.js +5 -5
  52. package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
  53. package/dist/bundled/v3/components/or-text-v3/OrText.stories3.d.ts +13 -1
  54. package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +27 -2
  55. package/dist/bundled/v3/components/or-text-v3/index.js +1 -1
  56. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  57. package/dist/bundled/v3/index.js +22 -22
  58. package/dist/bundled/v3/{types-9a4dc8a9.js → types-150c888c.js} +2 -2
  59. package/dist/esm/v2/{OrButton-49f7f20b.js → OrButton-66964360.js} +1 -1
  60. package/dist/esm/v2/{OrCardCollection-04a08189.js → OrCardCollection-53b55eec.js} +2 -2
  61. package/dist/esm/v2/{OrConfirm-4581e413.js → OrConfirm-ccf4b2c9.js} +2 -2
  62. package/dist/esm/v2/{OrInput-48622687.js → OrInput-b241f15f.js} +1 -1
  63. package/dist/esm/v2/{OrLoader-8f1f3af1.js → OrLoader-76307488.js} +5 -20
  64. package/dist/esm/v2/{OrPagination-c27faf97.js → OrPagination-f7f540d1.js} +1 -1
  65. package/dist/esm/v2/{OrSearch-635c54a6.js → OrSearch-6aaba430.js} +1 -1
  66. package/dist/esm/v2/{OrSelect-b9b2b634.js → OrSelect-84c2079c.js} +1 -1
  67. package/dist/esm/v2/{OrSwitch-10ecff82.js → OrSwitch-8549219a.js} +1 -1
  68. package/dist/esm/v2/{OrText-b12d0682.js → OrText-91d662a0.js} +36 -3
  69. package/dist/esm/v2/components/index.js +11 -11
  70. package/dist/esm/v2/components/or-button-v3/index.js +2 -2
  71. package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
  72. package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
  73. package/dist/esm/v2/components/or-input-v3/index.js +2 -2
  74. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
  75. package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
  76. package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
  77. package/dist/esm/v2/components/or-search-v3/index.js +3 -3
  78. package/dist/esm/v2/components/or-select-v3/index.js +3 -3
  79. package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
  80. package/dist/esm/v2/components/or-text-v3/OrText.stories3.d.ts +13 -1
  81. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +27 -2
  82. package/dist/esm/v2/components/or-text-v3/index.js +1 -1
  83. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  84. package/dist/esm/v2/index.js +11 -11
  85. package/dist/esm/v2/{types-5222144c.js → types-f4b60ff3.js} +1 -1
  86. package/dist/esm/v3/{OrButton-eab948fb.js → OrButton-c56998e7.js} +1 -1
  87. package/dist/esm/v3/{OrCardCollection-4e80d94b.js → OrCardCollection-e5a0c7f2.js} +2 -2
  88. package/dist/esm/v3/{OrConfirm-2198fae7.js → OrConfirm-bb32473d.js} +2 -2
  89. package/dist/esm/v3/{OrInput-88c99fc0.js → OrInput-d924c98e.js} +1 -1
  90. package/dist/esm/v3/{OrLoader-3a918ce9.js → OrLoader-a53d2edf.js} +7 -22
  91. package/dist/esm/v3/{OrPagination-d0ba716f.js → OrPagination-2ef059f6.js} +1 -1
  92. package/dist/esm/v3/{OrSearch-1fd60997.js → OrSearch-e96e6f77.js} +1 -1
  93. package/dist/esm/v3/{OrSelect-14ab8bdf.js → OrSelect-c502e2f1.js} +1 -1
  94. package/dist/esm/v3/{OrSwitch-0e92c92c.js → OrSwitch-1c2196da.js} +1 -1
  95. package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-a3b00048.js} +36 -3
  96. package/dist/esm/v3/components/index.js +11 -11
  97. package/dist/esm/v3/components/or-button-v3/index.js +2 -2
  98. package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
  99. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
  100. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  101. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -18
  102. package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
  103. package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
  104. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  105. package/dist/esm/v3/components/or-select-v3/index.js +3 -3
  106. package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
  107. package/dist/esm/v3/components/or-text-v3/OrText.stories3.d.ts +13 -1
  108. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +27 -2
  109. package/dist/esm/v3/components/or-text-v3/index.js +1 -1
  110. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  111. package/dist/esm/v3/index.js +11 -11
  112. package/dist/esm/v3/{types-7d404d5f.js → types-fd0720cc.js} +1 -1
  113. package/package.json +1 -1
  114. package/src/components/or-loader-v3/OrLoader.stories3.ts +4 -16
  115. package/src/components/or-loader-v3/OrLoader.vue +3 -21
  116. package/src/components/or-loader-v3/styles.ts +2 -1
  117. package/src/components/or-text-v3/OrText.stories3.ts +81 -5
  118. package/src/components/or-text-v3/OrText.vue +37 -3
  119. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-271fb345.js +0 -60
@@ -2,9 +2,9 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, onBeforeMount, onBeforeUnmount, nextTick } from 'vue';
3
3
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-4d4329cd.js';
4
4
  import './OrIconButton-a2091425.js';
5
- import './OrLoader-663e062d.js';
5
+ import './OrLoader-123ef8c4.js';
6
6
  import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-14871105.js';
7
- import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-8fc03499.js';
7
+ import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-4c3c1ac9.js';
8
8
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
9
9
  import './OrOverlay.vue_vue_type_script_lang-a1f3f02c.js';
10
10
  import { s as script$4 } from './OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { _ as __vue_component__$1 } from './OrLoader-8f1f3af1.js';
2
+ import { _ as __vue_component__$1 } from './OrLoader-76307488.js';
3
3
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
4
4
 
5
5
  var ButtonVariant;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
- import { _ as __vue_component__$3 } from './OrButton-49f7f20b.js';
2
+ import { _ as __vue_component__$3 } from './OrButton-66964360.js';
3
3
  import { _ as __vue_component__$2 } from './OrIconButton-140f940e.js';
4
4
  import { _ as __vue_component__$6 } from './OrIcon-c434985a.js';
5
5
  import { _ as __vue_component__$5 } from './OrMenuItem-4f810513.js';
6
6
  import { _ as __vue_component__$4 } from './OrMenu-1adef5df.js';
7
7
  import './OrPopover-b3746279.js';
8
- import { _ as __vue_component__$7 } from './OrSearch-635c54a6.js';
8
+ import { _ as __vue_component__$7 } from './OrSearch-6aaba430.js';
9
9
  import './OrInputBox-53d1f66d.js';
10
10
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
11
11
 
@@ -1,8 +1,8 @@
1
1
  import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { logicAnd } from '@vueuse/math';
3
3
  import { defineComponent, ref, computed, watch } from 'vue-demi';
4
- import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-49f7f20b.js';
5
- import { _ as __vue_component__$3 } from './OrInput-48622687.js';
4
+ import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-66964360.js';
5
+ import { _ as __vue_component__$3 } from './OrInput-b241f15f.js';
6
6
  import { _ as __vue_component__$1 } from './OrOverlay-2ded265b.js';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
8
8
 
@@ -9,7 +9,7 @@ import { _ as __vue_component__$4 } from './OrIconButton-140f940e.js';
9
9
  import { _ as __vue_component__$3 } from './OrIcon-c434985a.js';
10
10
  import { _ as __vue_component__$5, a as InputBoxSize } from './OrInputBox-53d1f66d.js';
11
11
  import { _ as __vue_component__$6 } from './OrLabel-0945a4d9.js';
12
- import { _ as __vue_component__$7 } from './OrLoader-8f1f3af1.js';
12
+ import { _ as __vue_component__$7 } from './OrLoader-76307488.js';
13
13
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
14
14
  import { c as createInjector } from './browser-82dea9ed.js';
15
15
 
@@ -20,7 +20,7 @@ var LoaderSize;
20
20
 
21
21
  const LoaderRoot = [
22
22
  // Layout
23
- 'flex', 'flex-col', 'gap-md'];
23
+ 'contents', 'flex', 'flex-col', 'space-y-md'];
24
24
  const LoaderRootColors = {
25
25
  'primary': [
26
26
  // Theme
@@ -41,17 +41,10 @@ var script = defineComponent({
41
41
  type: String,
42
42
  default: LoaderVariant.Circular
43
43
  },
44
- /**
45
- * Defines a semantic color of the loading indicator.
46
- * Use `'inherit'` option to set your own color from the parent (not recommended).
47
- */
48
44
  color: {
49
45
  type: String,
50
46
  default: LoaderColor.Primary
51
47
  },
52
- /**
53
- * Defines a diameter of the circular loader. Ignored for linear one.
54
- */
55
48
  size: {
56
49
  type: String,
57
50
  default: LoaderSize.M
@@ -77,26 +70,19 @@ var script = defineComponent({
77
70
  // State
78
71
  const computedSize = computed(() => {
79
72
  switch (props.size) {
80
- case LoaderSize.M:
73
+ case 'm':
81
74
  return 20;
82
- case LoaderSize.S:
75
+ case 's':
83
76
  return 16;
84
77
  }
85
78
  });
86
- /**
87
- * Preserves circular loading indicator from shrinking caused by external styles.
88
- */
89
- const wrapperStyle = computed(() => {
90
- return `min-width: ${computedSize.value}px;`;
91
- });
92
79
  return {
93
80
  root,
94
81
  rootStyles,
95
82
  containerStyles,
96
83
  titleStyles,
97
84
  descriptionStyles,
98
- computedSize,
99
- wrapperStyle
85
+ computedSize
100
86
  };
101
87
  }
102
88
  });
@@ -115,8 +101,7 @@ var __vue_render__ = function () {
115
101
  }, [_vm.title ? [_c('div', {
116
102
  class: _vm.titleStyles
117
103
  }, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
118
- class: _vm.containerStyles,
119
- style: _vm.wrapperStyle
104
+ class: _vm.containerStyles
120
105
  }, [_vm.variant === 'circular' ? [_c('svg', {
121
106
  attrs: {
122
107
  "viewBox": "0 0 16 16",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { _ as __vue_component__$1 } from './OrButton-49f7f20b.js';
2
+ import { _ as __vue_component__$1 } from './OrButton-66964360.js';
3
3
  import { _ as __vue_component__$2 } from './OrIcon-c434985a.js';
4
4
  import { _ as __vue_component__$4 } from './OrMenuItem-4f810513.js';
5
5
  import { _ as __vue_component__$3 } from './OrMenu-1adef5df.js';
@@ -1,6 +1,6 @@
1
1
  import { debouncedWatch } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, watch } from 'vue-demi';
3
- import { _ as __vue_component__$1 } from './OrInput-48622687.js';
3
+ import { _ as __vue_component__$1 } from './OrInput-b241f15f.js';
4
4
  import { a as InputBoxSize } from './OrInputBox-53d1f66d.js';
5
5
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
6
6
 
@@ -8,7 +8,7 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-0a12d957.js';
8
8
  import { _ as __vue_component__$4 } from './OrHint-78b399cb.js';
9
9
  import { _ as __vue_component__$5 } from './OrIcon-c434985a.js';
10
10
  import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-53d1f66d.js';
11
- import { _ as __vue_component__$6 } from './OrInput-48622687.js';
11
+ import { _ as __vue_component__$6 } from './OrInput-b241f15f.js';
12
12
  import { _ as __vue_component__$8 } from './OrLabel-0945a4d9.js';
13
13
  import { _ as __vue_component__$9 } from './OrMenuItem-4f810513.js';
14
14
  import { _ as __vue_component__$a } from './OrPopover-b3746279.js';
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, reactive } from 'vue-demi';
2
2
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
3
3
  import '@vueuse/core';
4
4
  import { _ as __vue_component__$1, L as LabelVariant } from './OrLabel-0945a4d9.js';
5
- import { _ as __vue_component__$2 } from './OrLoader-8f1f3af1.js';
5
+ import { _ as __vue_component__$2 } from './OrLoader-76307488.js';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
7
7
  import { c as createInjector } from './browser-82dea9ed.js';
8
8
 
@@ -17,16 +17,31 @@ const RestText = [
17
17
  // Layout
18
18
  'shrink'];
19
19
 
20
+ /**
21
+ * Use `OrText` component to crop un-wrapped single-line text with ellipsis inside narrow containers.
22
+ * Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
23
+ * that have same beginning and differ in the ending part.
24
+ */
20
25
  var script = defineComponent({
21
26
  name: 'OrText',
22
27
  props: {
28
+ /**
29
+ * Text to crop.
30
+ */
23
31
  text: {
24
32
  type: String,
25
33
  required: true
26
34
  },
35
+ /**
36
+ * The index counted from the end of the string where ellipsis will be placed.
37
+ * Defines how many ending characters will remain visible.
38
+ * By default, ellipsis is placed in the end of the line.
39
+ *
40
+ * Note: Negative values behave same as corresponding positives still counting from the end of the line.
41
+ */
27
42
  sliceIndex: {
28
43
  type: Number,
29
- default: undefined
44
+ default: 0
30
45
  }
31
46
  },
32
47
  expose: ['root'],
@@ -37,15 +52,33 @@ var script = defineComponent({
37
52
  const rootStyles = computed(() => ['or-text', ...TextRoot]);
38
53
  const mainTextStyles = computed(() => [...MainText]);
39
54
  const restTextStyles = computed(() => [...RestText]);
55
+ /**
56
+ * Preserves whitespace at the last position as <code>&nbsp;</code>
57
+ * @param str A string to escape
58
+ */
59
+ const escapeLast = str => str && str.slice(0, -1) + '\xa0';
60
+ /**
61
+ * Preserves whitespace at the first position as <code>&nbsp;</code>
62
+ * @param str A string to escape
63
+ */
64
+ const escapeFirst = str => str && '\xa0' + str.slice(1);
40
65
  // State
41
66
  const mainText = computed(() => {
42
67
  if (props.sliceIndex) {
43
- return props.text.slice(0, Math.abs(props.sliceIndex) * -1);
68
+ let mainPart = props.text.slice(0, -Math.abs(props.sliceIndex));
69
+ if (mainPart[mainPart.length - 1] === ' ') {
70
+ mainPart = escapeLast(mainPart);
71
+ }
72
+ return mainPart;
44
73
  }
45
74
  return props.text;
46
75
  });
47
76
  const restText = computed(() => {
48
- return props.text.slice(mainText.value.length);
77
+ let restPart = props.text.slice(mainText.value.length);
78
+ if (restPart[0] === ' ') {
79
+ restPart = escapeFirst(restPart);
80
+ }
81
+ return restPart;
49
82
  });
50
83
  return {
51
84
  root,
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { _ as OrButtonV2 } from '../OrButton-c4f9955b.js';
6
6
  export { _ as OrIconButton } from '../OrIconButton-014e86a7.js';
7
7
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-49f7f20b.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../OrButton-66964360.js';
9
9
  export { _ as OrCard } from '../OrCard-b7268256.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-19582949.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-04a08189.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-53b55eec.js';
12
12
  export { _ as OrCardV3 } from '../OrCard-e89c44ef.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-d4400b42.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-ede619eb.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-4581e413.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-ccf4b2c9.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-7cd5dc68.js';
@@ -38,7 +38,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-01f
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-b47cfc2d.js';
39
39
  export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-421ff4d1.js';
40
40
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, _ as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-53d1f66d.js';
41
- export { I as InputType, _ as OrInputV3 } from '../OrInput-48622687.js';
41
+ export { I as InputType, _ as OrInputV3 } from '../OrInput-b241f15f.js';
42
42
  export { _ as OrInput } from '../OrInput-6e6cfd11.js';
43
43
  export { _ as OrLabel } from '../OrLabel-33b41516.js';
44
44
  export { L as LabelVariant, _ as OrLabelV3 } from '../OrLabel-0945a4d9.js';
@@ -46,7 +46,7 @@ export { L as LinkColor, _ as OrLinkV3 } from '../OrLink-597e0e18.js';
46
46
  export { _ as OrList } from '../OrList-d4781f7b.js';
47
47
  export { _ as OrListOfInputs } from '../OrListOfInputs-4298fa2c.js';
48
48
  export { L as LoaderViews, _ as OrLoader } from '../OrLoader-003941a2.js';
49
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../OrLoader-8f1f3af1.js';
49
+ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../OrLoader-76307488.js';
50
50
  export { _ as OrMenuItemV3 } from '../OrMenuItem-4f810513.js';
51
51
  export { _ as OrMenuV3 } from '../OrMenu-1adef5df.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-b3746279.js';
@@ -59,17 +59,17 @@ export { _ as OrOverflowMenu } from '../OrOverflowMenu-10a4166a.js';
59
59
  export { _ as OrOverlay } from '../OrOverlay-3b52865d.js';
60
60
  export { _ as OrOverlayV3 } from '../OrOverlay-2ded265b.js';
61
61
  export { _ as OrPassword } from '../OrPassword-e6d5e968.js';
62
- export { _ as OrPaginationV3 } from '../OrPagination-c27faf97.js';
62
+ export { _ as OrPaginationV3 } from '../OrPagination-f7f540d1.js';
63
63
  export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-4ee24824.js';
64
64
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-b7d1c689.js';
65
65
  export { _ as OrRadio } from '../OrRadio-e4198532.js';
66
66
  export { _ as OrRadioGroup } from '../OrRadioGroup-d9d32cba.js';
67
67
  export { _ as OrRadioV3 } from '../OrRadio-87a4d226.js';
68
68
  export { _ as OrSearch } from '../OrSearch-b4f4d59b.js';
69
- export { _ as OrSearchV3 } from '../OrSearch-635c54a6.js';
69
+ export { _ as OrSearchV3 } from '../OrSearch-6aaba430.js';
70
70
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-7486115b.js';
71
71
  export { _ as OrSelect } from '../OrSelect-dae2b069.js';
72
- export { _ as OrSelectV3 } from '../OrSelect-b9b2b634.js';
72
+ export { _ as OrSelectV3 } from '../OrSelect-84c2079c.js';
73
73
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-7d6125bb.js';
74
74
  export { _ as OrSidebarV3 } from '../OrSidebar-6b246de1.js';
75
75
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-9178923e.js';
@@ -79,7 +79,7 @@ export { _ as OrSlider } from '../OrSlider-f7b9c7c2.js';
79
79
  export { _ as OrSortHeaderV3 } from '../OrSortHeader-ffe6bc57.js';
80
80
  export { _ as OrStepper } from '../OrStepper-4f44e7b7.js';
81
81
  export { _ as OrSwitch } from '../OrSwitch-f25f27f9.js';
82
- export { _ as OrSwitchV3 } from '../OrSwitch-10ecff82.js';
82
+ export { _ as OrSwitchV3 } from '../OrSwitch-8549219a.js';
83
83
  export { _ as OrTab } from '../OrTab-eade8ab6.js';
84
84
  export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-d1a340d1.js';
85
85
  export { _ as OrTabV3 } from '../OrTab-1ff87c76.js';
@@ -89,13 +89,13 @@ export { _ as OrTag } from '../OrTag-c1fa6901.js';
89
89
  export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-1ed1265c.js';
90
90
  export { _ as OrTeleport } from '../OrTeleportVue2-8ef4ceca.js';
91
91
  export { _ as OrTeleportV3 } from '../OrTeleport.vue2-fb92f29f.js';
92
- export { _ as OrTextV3 } from '../OrText-b12d0682.js';
92
+ export { _ as OrTextV3 } from '../OrText-91d662a0.js';
93
93
  export { _ as OrTextarea } from '../OrTextarea-91a95068.js';
94
94
  export { _ as OrTextareaV3 } from '../OrTextarea-373d0554.js';
95
95
  export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-2594c980.js';
96
96
  export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-2fbd4358.js';
97
97
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
98
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-5222144c.js';
98
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-f4b60ff3.js';
99
99
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
100
100
  export { _ as OrTooltip } from '../OrTooltip-614b016d.js';
101
101
  export { _ as OrTooltipContent } from '../OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
@@ -1,4 +1,4 @@
1
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-49f7f20b.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from '../../OrButton-66964360.js';
2
2
  import 'vue-demi';
3
- import '../../OrLoader-8f1f3af1.js';
3
+ import '../../OrLoader-76307488.js';
4
4
  import '../../normalize-component-6e8e3d80.js';
@@ -1,7 +1,7 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-04a08189.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-53b55eec.js';
2
2
  import 'vue-demi';
3
- import '../../OrButton-49f7f20b.js';
4
- import '../../OrLoader-8f1f3af1.js';
3
+ import '../../OrButton-66964360.js';
4
+ import '../../OrLoader-76307488.js';
5
5
  import '../../normalize-component-6e8e3d80.js';
6
6
  import '../../OrIconButton-140f940e.js';
7
7
  import '../../OrIcon-c434985a.js';
@@ -17,8 +17,8 @@ import '../../OrTeleport.vue2-fb92f29f.js';
17
17
  import 'portal-vue';
18
18
  import '../../OrMenuItem-4f810513.js';
19
19
  import '../../OrMenu-1adef5df.js';
20
- import '../../OrSearch-635c54a6.js';
21
- import '../../OrInput-48622687.js';
20
+ import '../../OrSearch-6aaba430.js';
21
+ import '../../OrInput-b241f15f.js';
22
22
  import '../../useIdAttribute-859439f0.js';
23
23
  import '../../useValidationAttributes-d1abbe34.js';
24
24
  import '../../OrError-13845bb0.js';
@@ -1,11 +1,11 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-4581e413.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-ccf4b2c9.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
5
- import '../../OrButton-49f7f20b.js';
6
- import '../../OrLoader-8f1f3af1.js';
5
+ import '../../OrButton-66964360.js';
6
+ import '../../OrLoader-76307488.js';
7
7
  import '../../normalize-component-6e8e3d80.js';
8
- import '../../OrInput-48622687.js';
8
+ import '../../OrInput-b241f15f.js';
9
9
  import '../../useIdAttribute-859439f0.js';
10
10
  import '../../useResponsive-a02e95b7.js';
11
11
  import '../../useValidationAttributes-d1abbe34.js';
@@ -1,4 +1,4 @@
1
- export { I as InputType, _ as OrInputV3 } from '../../OrInput-48622687.js';
1
+ export { I as InputType, _ as OrInputV3 } from '../../OrInput-b241f15f.js';
2
2
  export { a as InputSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../useIdAttribute-859439f0.js';
@@ -19,5 +19,5 @@ import '../../OrOverlay-2ded265b.js';
19
19
  import '../../OrTeleport.vue2-fb92f29f.js';
20
20
  import 'portal-vue';
21
21
  import '../../OrLabel-0945a4d9.js';
22
- import '../../OrLoader-8f1f3af1.js';
22
+ import '../../OrLoader-76307488.js';
23
23
  import '../../browser-82dea9ed.js';
@@ -6,24 +6,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
6
6
  containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
7
7
  titleStyles: import("@vue/composition-api").ComputedRef<string[]>;
8
8
  descriptionStyles: import("@vue/composition-api").ComputedRef<string[]>;
9
- computedSize: import("@vue/composition-api").ComputedRef<20 | 16>;
10
- wrapperStyle: import("@vue/composition-api").ComputedRef<string>;
9
+ computedSize: import("@vue/composition-api").ComputedRef<20 | 16 | undefined>;
11
10
  }> & import("@vue/composition-api").Data, {}, {}, {
12
11
  variant: {
13
12
  type: PropType<LoaderVariant>;
14
13
  default: LoaderVariant;
15
14
  };
16
- /**
17
- * Defines a semantic color of the loading indicator.
18
- * Use `'inherit'` option to set your own color from the parent (not recommended).
19
- */
20
15
  color: {
21
16
  type: PropType<LoaderColor>;
22
17
  default: LoaderColor;
23
18
  };
24
- /**
25
- * Defines a diameter of the circular loader. Ignored for linear one.
26
- */
27
19
  size: {
28
20
  type: PropType<LoaderSize>;
29
21
  default: LoaderSize;
@@ -41,17 +33,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
41
33
  type: PropType<LoaderVariant>;
42
34
  default: LoaderVariant;
43
35
  };
44
- /**
45
- * Defines a semantic color of the loading indicator.
46
- * Use `'inherit'` option to set your own color from the parent (not recommended).
47
- */
48
36
  color: {
49
37
  type: PropType<LoaderColor>;
50
38
  default: LoaderColor;
51
39
  };
52
- /**
53
- * Defines a diameter of the circular loader. Ignored for linear one.
54
- */
55
40
  size: {
56
41
  type: PropType<LoaderSize>;
57
42
  default: LoaderSize;
@@ -76,8 +61,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
76
61
  containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
77
62
  titleStyles: import("@vue/composition-api").ComputedRef<string[]>;
78
63
  descriptionStyles: import("@vue/composition-api").ComputedRef<string[]>;
79
- computedSize: import("@vue/composition-api").ComputedRef<20 | 16>;
80
- wrapperStyle: import("@vue/composition-api").ComputedRef<string>;
64
+ computedSize: import("@vue/composition-api").ComputedRef<20 | 16 | undefined>;
81
65
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
82
66
  variant: LoaderVariant;
83
67
  color: LoaderColor;
@@ -1,3 +1,3 @@
1
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../../OrLoader-8f1f3af1.js';
1
+ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../../OrLoader-76307488.js';
2
2
  import 'vue-demi';
3
3
  import '../../normalize-component-6e8e3d80.js';
@@ -1,7 +1,7 @@
1
- export { _ as OrPaginationV3 } from '../../OrPagination-c27faf97.js';
1
+ export { _ as OrPaginationV3 } from '../../OrPagination-f7f540d1.js';
2
2
  import 'vue-demi';
3
- import '../../OrButton-49f7f20b.js';
4
- import '../../OrLoader-8f1f3af1.js';
3
+ import '../../OrButton-66964360.js';
4
+ import '../../OrLoader-76307488.js';
5
5
  import '../../normalize-component-6e8e3d80.js';
6
6
  import '../../OrIcon-c434985a.js';
7
7
  import '../../OrMenuItem-4f810513.js';
@@ -1,8 +1,8 @@
1
- export { _ as OrSearchV3 } from '../../OrSearch-635c54a6.js';
1
+ export { _ as OrSearchV3 } from '../../OrSearch-6aaba430.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
5
- import '../../OrInput-48622687.js';
5
+ import '../../OrInput-b241f15f.js';
6
6
  import '../../useIdAttribute-859439f0.js';
7
7
  import '../../useResponsive-a02e95b7.js';
8
8
  import '../../useValidationAttributes-d1abbe34.js';
@@ -20,5 +20,5 @@ import '../../OrOverlay-2ded265b.js';
20
20
  import '../../OrTeleport.vue2-fb92f29f.js';
21
21
  import 'portal-vue';
22
22
  import '../../OrLabel-0945a4d9.js';
23
- import '../../OrLoader-8f1f3af1.js';
23
+ import '../../OrLoader-76307488.js';
24
24
  import '../../browser-82dea9ed.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-b9b2b634.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-84c2079c.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-53d1f66d.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-0d314aa4.js';
@@ -13,7 +13,7 @@ import '../../OrError-13845bb0.js';
13
13
  import '../../OrExpansionPanel-0a12d957.js';
14
14
  import '../../OrIcon-c434985a.js';
15
15
  import '../../OrHint-78b399cb.js';
16
- import '../../OrInput-48622687.js';
16
+ import '../../OrInput-b241f15f.js';
17
17
  import '../../useResponsive-a02e95b7.js';
18
18
  import '../../useValidationAttributes-d1abbe34.js';
19
19
  import '../../OrIconButton-140f940e.js';
@@ -25,6 +25,6 @@ import '../../OrBottomSheet-c9bfe63f.js';
25
25
  import '../../OrOverlay-2ded265b.js';
26
26
  import '../../OrTeleport.vue2-fb92f29f.js';
27
27
  import 'portal-vue';
28
- import '../../OrLoader-8f1f3af1.js';
28
+ import '../../OrLoader-76307488.js';
29
29
  import '../../OrMenuItem-4f810513.js';
30
30
  import '../../OrTag-1ed1265c.js';
@@ -1,8 +1,8 @@
1
- export { _ as OrSwitchV3 } from '../../OrSwitch-10ecff82.js';
1
+ export { _ as OrSwitchV3 } from '../../OrSwitch-8549219a.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-859439f0.js';
4
4
  import '@vueuse/core';
5
5
  import '../../OrLabel-0945a4d9.js';
6
6
  import '../../normalize-component-6e8e3d80.js';
7
- import '../../OrLoader-8f1f3af1.js';
7
+ import '../../OrLoader-76307488.js';
8
8
  import '../../browser-82dea9ed.js';
@@ -1,12 +1,24 @@
1
1
  import { Meta, StoryFn } from '@storybook/vue3';
2
+ import OrText from './OrText.vue';
2
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, {
3
4
  [x: string]: ((...args: any[]) => any) | null;
4
5
  } | string[], {} & {}, {
5
6
  [x: number]: string;
6
7
  } | {}, true>)>;
7
8
  export default _default;
8
- export declare const Text: 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, {
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, {
9
10
  [x: string]: ((...args: any[]) => any) | null;
10
11
  } | string[], {} & {}, {
11
12
  [x: number]: string;
12
13
  } | {}, true>)>;
14
+ export declare const MiddleCrop: 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 TooFarLeft: 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 ComplexContainer: StoryFn<typeof OrText>;
@@ -6,22 +6,42 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
6
6
  mainText: import("@vue/composition-api").ComputedRef<string>;
7
7
  restText: import("@vue/composition-api").ComputedRef<string>;
8
8
  }> & import("@vue/composition-api").Data, {}, {}, {
9
+ /**
10
+ * Text to crop.
11
+ */
9
12
  text: {
10
13
  type: StringConstructor;
11
14
  required: true;
12
15
  };
16
+ /**
17
+ * The index counted from the end of the string where ellipsis will be placed.
18
+ * Defines how many ending characters will remain visible.
19
+ * By default, ellipsis is placed in the end of the line.
20
+ *
21
+ * Note: Negative values behave same as corresponding positives still counting from the end of the line.
22
+ */
13
23
  sliceIndex: {
14
24
  type: NumberConstructor;
15
- default: undefined;
25
+ default: number;
16
26
  };
17
27
  }, import("@vue/composition-api").ExtractPropTypes<{
28
+ /**
29
+ * Text to crop.
30
+ */
18
31
  text: {
19
32
  type: StringConstructor;
20
33
  required: true;
21
34
  };
35
+ /**
36
+ * The index counted from the end of the string where ellipsis will be placed.
37
+ * Defines how many ending characters will remain visible.
38
+ * By default, ellipsis is placed in the end of the line.
39
+ *
40
+ * Note: Negative values behave same as corresponding positives still counting from the end of the line.
41
+ */
22
42
  sliceIndex: {
23
43
  type: NumberConstructor;
24
- default: undefined;
44
+ default: number;
25
45
  };
26
46
  }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
27
47
  text: string;
@@ -39,4 +59,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
39
59
  } & {}, {
40
60
  sliceIndex: number;
41
61
  }, true>);
62
+ /**
63
+ * Use `OrText` component to crop un-wrapped single-line text with ellipsis inside narrow containers.
64
+ * Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
65
+ * that have same beginning and differ in the ending part.
66
+ */
42
67
  export default _default;
@@ -1,3 +1,3 @@
1
- export { _ as OrTextV3 } from '../../OrText-b12d0682.js';
1
+ export { _ as OrTextV3 } from '../../OrText-91d662a0.js';
2
2
  import 'vue-demi';
3
3
  import '../../normalize-component-6e8e3d80.js';
@@ -1,4 +1,4 @@
1
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-5222144c.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-f4b60ff3.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
@@ -14,5 +14,5 @@ import '../../useElevation-92fce12c.js';
14
14
  import '../../useResponsive-a02e95b7.js';
15
15
  import '../../OrBottomSheet-c9bfe63f.js';
16
16
  import '../../OrOverlay-2ded265b.js';
17
- import '../../OrLoader-8f1f3af1.js';
17
+ import '../../OrLoader-76307488.js';
18
18
  import '../../browser-82dea9ed.js';