@onereach/ui-components 2.74.4-beta.2305.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
@@ -1,5 +1,5 @@
1
1
  import './index-fa6eb4ca.js';
2
- import { O as OrLoader } from './OrLoader-cf28bfa6.js';
2
+ import { O as OrLoader } from './OrLoader-864ef92a.js';
3
3
  import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
4
4
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
5
 
@@ -2,11 +2,11 @@ import './index-fa6eb4ca.js';
2
2
  import { defineComponent, computed, ref, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
3
3
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
4
4
  import { O as OrIconButton } from './OrIconButton-037b9c33.js';
5
- import { O as OrButton } from './OrButton-0a9470c0.js';
5
+ import { O as OrButton } from './OrButton-d45772c1.js';
6
6
  import { O as OrMenu } from './OrMenu-021f347c.js';
7
7
  import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
8
8
  import { O as OrIcon } from './OrIcon-2efd1925.js';
9
- import { O as OrSearch } from './OrSearch-7fc62333.js';
9
+ import { O as OrSearch } from './OrSearch-4b0f063b.js';
10
10
 
11
11
  const CardCollectionRoot = [
12
12
  // Layout
@@ -2,8 +2,8 @@ import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
2
2
  import { l as logicAnd } from './index-17f264f9.js';
3
3
  import './index-fa6eb4ca.js';
4
4
  import { O as OrOverlay } from './OrOverlay-cb55bf20.js';
5
- import { O as OrButton, a as ButtonColor } from './OrButton-0a9470c0.js';
6
- import { O as OrInput } from './OrInput-bef517bc.js';
5
+ import { O as OrButton, a as ButtonColor } from './OrButton-d45772c1.js';
6
+ import { O as OrInput } from './OrInput-5cd0041e.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
 
@@ -5,7 +5,7 @@ import { O as OrIcon } from './OrIcon-2efd1925.js';
5
5
  import { O as OrIconButton } from './OrIconButton-037b9c33.js';
6
6
  import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
7
7
  import { O as OrLabel } from './OrLabel-aff09c39.js';
8
- import { O as OrLoader } from './OrLoader-cf28bfa6.js';
8
+ import { O as OrLoader } from './OrLoader-864ef92a.js';
9
9
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
10
10
  import { u as useValidationAttributes } from './useValidationAttributes-6df7bcf9.js';
11
11
  import { u as useResponsive } from './useResponsive-e13dfbb0.js';
@@ -21,7 +21,7 @@ var LoaderSize;
21
21
 
22
22
  const LoaderRoot = [
23
23
  // Layout
24
- 'flex', 'flex-col', 'gap-md'];
24
+ 'contents', 'flex', 'flex-col', 'space-y-md'];
25
25
  const LoaderRootColors = {
26
26
  'primary': [
27
27
  // Theme
@@ -42,17 +42,10 @@ var script = defineComponent({
42
42
  type: String,
43
43
  default: LoaderVariant.Circular
44
44
  },
45
- /**
46
- * Defines a semantic color of the loading indicator.
47
- * Use `'inherit'` option to set your own color from the parent (not recommended).
48
- */
49
45
  color: {
50
46
  type: String,
51
47
  default: LoaderColor.Primary
52
48
  },
53
- /**
54
- * Defines a diameter of the circular loader. Ignored for linear one.
55
- */
56
49
  size: {
57
50
  type: String,
58
51
  default: LoaderSize.M
@@ -78,26 +71,19 @@ var script = defineComponent({
78
71
  // State
79
72
  const computedSize = computed(() => {
80
73
  switch (props.size) {
81
- case LoaderSize.M:
74
+ case 'm':
82
75
  return 20;
83
- case LoaderSize.S:
76
+ case 's':
84
77
  return 16;
85
78
  }
86
79
  });
87
- /**
88
- * Preserves circular loading indicator from shrinking caused by external styles.
89
- */
90
- const wrapperStyle = computed(() => {
91
- return `min-width: ${computedSize.value}px;`;
92
- });
93
80
  return {
94
81
  root,
95
82
  rootStyles,
96
83
  containerStyles,
97
84
  titleStyles,
98
85
  descriptionStyles,
99
- computedSize,
100
- wrapperStyle
86
+ computedSize
101
87
  };
102
88
  }
103
89
  });
@@ -116,8 +102,7 @@ var __vue_render__ = function () {
116
102
  }, [_vm.title ? [_c('div', {
117
103
  class: _vm.titleStyles
118
104
  }, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
119
- class: _vm.containerStyles,
120
- style: _vm.wrapperStyle
105
+ class: _vm.containerStyles
121
106
  }, [_vm.variant === 'circular' ? [_c('svg', {
122
107
  attrs: {
123
108
  "viewBox": "0 0 16 16",
@@ -1,5 +1,5 @@
1
1
  import './index-fa6eb4ca.js';
2
- import { O as OrButton } from './OrButton-0a9470c0.js';
2
+ import { O as OrButton } from './OrButton-d45772c1.js';
3
3
  import { O as OrIcon } from './OrIcon-2efd1925.js';
4
4
  import { O as OrMenu } from './OrMenu-021f347c.js';
5
5
  import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
@@ -1,6 +1,6 @@
1
1
  import { debouncedWatch } from '@vueuse/core';
2
2
  import './index-fa6eb4ca.js';
3
- import { O as OrInput } from './OrInput-bef517bc.js';
3
+ import { O as OrInput } from './OrInput-5cd0041e.js';
4
4
  import { defineComponent, ref, computed, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
5
5
  import { a as InputBoxSize } from './OrInputBox-e54dcef9.js';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -4,7 +4,7 @@ import { O as OrError } from './OrError-52f668a4.js';
4
4
  import { O as OrExpansionPanel } from './OrExpansionPanel-8968da49.js';
5
5
  import { O as OrHint } from './OrHint-fde53334.js';
6
6
  import { O as OrIcon } from './OrIcon-2efd1925.js';
7
- import { O as OrInput } from './OrInput-bef517bc.js';
7
+ import { O as OrInput } from './OrInput-5cd0041e.js';
8
8
  import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
9
9
  import { O as OrLabel } from './OrLabel-aff09c39.js';
10
10
  import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
@@ -1,6 +1,6 @@
1
1
  import './index-fa6eb4ca.js';
2
2
  import { O as OrLabel, L as LabelVariant } from './OrLabel-aff09c39.js';
3
- import { O as OrLoader } from './OrLoader-cf28bfa6.js';
3
+ import { O as OrLoader } from './OrLoader-864ef92a.js';
4
4
  import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-cf61643f.js';
5
5
  import { defineComponent, ref, computed, reactive } from '@vue/composition-api/dist/vue-composition-api.mjs';
6
6
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -18,16 +18,31 @@ const RestText = [
18
18
  // Layout
19
19
  'shrink'];
20
20
 
21
+ /**
22
+ * Use `OrText` component to crop un-wrapped single-line text with ellipsis inside narrow containers.
23
+ * Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
24
+ * that have same beginning and differ in the ending part.
25
+ */
21
26
  var script = defineComponent({
22
27
  name: 'OrText',
23
28
  props: {
29
+ /**
30
+ * Text to crop.
31
+ */
24
32
  text: {
25
33
  type: String,
26
34
  required: true
27
35
  },
36
+ /**
37
+ * The index counted from the end of the string where ellipsis will be placed.
38
+ * Defines how many ending characters will remain visible.
39
+ * By default, ellipsis is placed in the end of the line.
40
+ *
41
+ * Note: Negative values behave same as corresponding positives still counting from the end of the line.
42
+ */
28
43
  sliceIndex: {
29
44
  type: Number,
30
- default: undefined
45
+ default: 0
31
46
  }
32
47
  },
33
48
  expose: ['root'],
@@ -38,15 +53,33 @@ var script = defineComponent({
38
53
  const rootStyles = computed(() => ['or-text', ...TextRoot]);
39
54
  const mainTextStyles = computed(() => [...MainText]);
40
55
  const restTextStyles = computed(() => [...RestText]);
56
+ /**
57
+ * Preserves whitespace at the last position as <code>&nbsp;</code>
58
+ * @param str A string to escape
59
+ */
60
+ const escapeLast = str => str && str.slice(0, -1) + '\xa0';
61
+ /**
62
+ * Preserves whitespace at the first position as <code>&nbsp;</code>
63
+ * @param str A string to escape
64
+ */
65
+ const escapeFirst = str => str && '\xa0' + str.slice(1);
41
66
  // State
42
67
  const mainText = computed(() => {
43
68
  if (props.sliceIndex) {
44
- return props.text.slice(0, Math.abs(props.sliceIndex) * -1);
69
+ let mainPart = props.text.slice(0, -Math.abs(props.sliceIndex));
70
+ if (mainPart[mainPart.length - 1] === ' ') {
71
+ mainPart = escapeLast(mainPart);
72
+ }
73
+ return mainPart;
45
74
  }
46
75
  return props.text;
47
76
  });
48
77
  const restText = computed(() => {
49
- return props.text.slice(mainText.value.length);
78
+ let restPart = props.text.slice(mainText.value.length);
79
+ if (restPart[0] === ' ') {
80
+ restPart = escapeFirst(restPart);
81
+ }
82
+ return restPart;
50
83
  });
51
84
  return {
52
85
  root,
@@ -5,10 +5,10 @@ export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { O as OrButtonV2 } from '../OrButton-705cd0bd.js';
6
6
  export { O as OrIconButton } from '../OrIconButton-65962c1c.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 '../constants-c5d1139f.js';
8
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-0a9470c0.js';
8
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../OrButton-d45772c1.js';
9
9
  export { O as OrCard } from '../OrCard-a6b30f8f.js';
10
10
  export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-166cfcc6.js';
11
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-f6c1843a.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-914c0d96.js';
12
12
  export { _ as OrCardV3 } from '../OrCard-45d5869b.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-fc6876ec.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-55b89b17.js';
22
- export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-de24a0f3.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-f34221c8.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-4675604d.js';
@@ -38,7 +38,7 @@ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-91a
38
38
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-7262efdf.js';
39
39
  export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-2d842751.js';
40
40
  export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, O as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-e54dcef9.js';
41
- export { I as InputType, O as OrInputV3 } from '../OrInput-bef517bc.js';
41
+ export { I as InputType, O as OrInputV3 } from '../OrInput-5cd0041e.js';
42
42
  export { O as OrInput } from '../OrInput-df1a14fa.js';
43
43
  export { O as OrLabel } from '../OrLabel-74c73ba4.js';
44
44
  export { L as LabelVariant, O as OrLabelV3 } from '../OrLabel-aff09c39.js';
@@ -46,7 +46,7 @@ export { L as LinkColor, _ as OrLinkV3 } from '../OrLink-0d952e87.js';
46
46
  export { O as OrList } from '../OrList-4e84a3b4.js';
47
47
  export { _ as OrListOfInputs } from '../OrListOfInputs-ab7f9d97.js';
48
48
  export { L as LoaderViews, O as OrLoader } from '../OrLoader-05057239.js';
49
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../OrLoader-cf28bfa6.js';
49
+ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../OrLoader-864ef92a.js';
50
50
  export { O as OrMenuItemV3 } from '../OrMenuItem-f295292e.js';
51
51
  export { O as OrMenuV3 } from '../OrMenu-021f347c.js';
52
52
  export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-0697699f.js';
@@ -59,17 +59,17 @@ export { _ as OrOverflowMenu } from '../OrOverflowMenu-711e460e.js';
59
59
  export { O as OrOverlay } from '../OrOverlay-47967a8b.js';
60
60
  export { O as OrOverlayV3 } from '../OrOverlay-cb55bf20.js';
61
61
  export { _ as OrPassword } from '../OrPassword-a818e7b5.js';
62
- export { _ as OrPaginationV3 } from '../OrPagination-19494306.js';
62
+ export { _ as OrPaginationV3 } from '../OrPagination-582690fd.js';
63
63
  export { O as OrProgress, a as OrProgressColors, b as OrProgressTypes } from '../OrProgress-de947341.js';
64
64
  export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-15fe65ec.js';
65
65
  export { _ as OrRadio } from '../OrRadio-187d6fc7.js';
66
66
  export { _ as OrRadioGroup } from '../OrRadioGroup-aa9f0757.js';
67
67
  export { _ as OrRadioV3 } from '../OrRadio-fe23947a.js';
68
68
  export { O as OrSearch } from '../OrSearch-832d7978.js';
69
- export { O as OrSearchV3 } from '../OrSearch-7fc62333.js';
69
+ export { O as OrSearchV3 } from '../OrSearch-4b0f063b.js';
70
70
  export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-878279bf.js';
71
71
  export { _ as OrSelect } from '../OrSelect-a23d4210.js';
72
- export { _ as OrSelectV3 } from '../OrSelect-8117caeb.js';
72
+ export { _ as OrSelectV3 } from '../OrSelect-ac49dab5.js';
73
73
  export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-e2b2c9ec.js';
74
74
  export { _ as OrSidebarV3 } from '../OrSidebar-b7a27e27.js';
75
75
  export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-e8632afe.js';
@@ -79,7 +79,7 @@ export { _ as OrSlider } from '../OrSlider-59d05856.js';
79
79
  export { _ as OrSortHeaderV3 } from '../OrSortHeader-b1b961fc.js';
80
80
  export { _ as OrStepper } from '../OrStepper-3fc1a2b3.js';
81
81
  export { _ as OrSwitch } from '../OrSwitch-47670dbd.js';
82
- export { _ as OrSwitchV3 } from '../OrSwitch-51e30de3.js';
82
+ export { _ as OrSwitchV3 } from '../OrSwitch-782d7b43.js';
83
83
  export { _ as OrTab } from '../OrTab-b2c6d977.js';
84
84
  export { O as OrTabHeaderItem } from '../OrTabHeaderItem-d39c3cf7.js';
85
85
  export { O as OrTabV3 } from '../OrTab-8c5acf8a.js';
@@ -89,13 +89,13 @@ export { _ as OrTag } from '../OrTag-79e48fec.js';
89
89
  export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-59ab76c5.js';
90
90
  export { O as OrTeleport } from '../OrTeleportVue2-3544f185.js';
91
91
  export { O as OrTeleportV3 } from '../OrTeleport.vue2-e9ba3054.js';
92
- export { _ as OrTextV3 } from '../OrText-a665b991.js';
92
+ export { _ as OrTextV3 } from '../OrText-15bf85c4.js';
93
93
  export { _ as OrTextarea } from '../OrTextarea-71ff236d.js';
94
94
  export { _ as OrTextareaV3 } from '../OrTextarea-1201353b.js';
95
95
  export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-eacd9b19.js';
96
96
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
97
97
  export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-b03adc37.js';
98
- export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-d2afe7b5.js';
98
+ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-d0e9ac5c.js';
99
99
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d4280.js';
100
100
  export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
101
101
  export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
@@ -1,6 +1,6 @@
1
- export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-0a9470c0.js';
1
+ export { a as ButtonColor, b as ButtonType, B as ButtonVariant, O as OrButtonV3 } from '../../OrButton-d45772c1.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
5
- import '../../OrLoader-cf28bfa6.js';
5
+ import '../../OrLoader-864ef92a.js';
6
6
  import '../../normalize-component-6e8e3d80.js';
@@ -1,4 +1,4 @@
1
- export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-f6c1843a.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-914c0d96.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -15,12 +15,12 @@ import '../../OrTeleport.vue2-e9ba3054.js';
15
15
  import 'portal-vue';
16
16
  import '../../useElevation-b6e7590a.js';
17
17
  import '../../useResponsive-e13dfbb0.js';
18
- import '../../OrButton-0a9470c0.js';
19
- import '../../OrLoader-cf28bfa6.js';
18
+ import '../../OrButton-d45772c1.js';
19
+ import '../../OrLoader-864ef92a.js';
20
20
  import '../../OrMenu-021f347c.js';
21
21
  import '../../OrMenuItem-f295292e.js';
22
- import '../../OrSearch-7fc62333.js';
23
- import '../../OrInput-bef517bc.js';
22
+ import '../../OrSearch-4b0f063b.js';
23
+ import '../../OrInput-5cd0041e.js';
24
24
  import '../../OrError-52f668a4.js';
25
25
  import '../../OrHint-fde53334.js';
26
26
  import '../../OrInputBox-e54dcef9.js';
@@ -1,4 +1,4 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-de24a0f3.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-f34221c8.js';
2
2
  import '@vueuse/core';
3
3
  import '../../index-17f264f9.js';
4
4
  import '../../index-fa6eb4ca.js';
@@ -9,9 +9,9 @@ import '../../OrTeleport.vue2-e9ba3054.js';
9
9
  import 'portal-vue';
10
10
  import '../../normalize-component-6e8e3d80.js';
11
11
  import '../../useElevation-b6e7590a.js';
12
- import '../../OrButton-0a9470c0.js';
13
- import '../../OrLoader-cf28bfa6.js';
14
- import '../../OrInput-bef517bc.js';
12
+ import '../../OrButton-d45772c1.js';
13
+ import '../../OrLoader-864ef92a.js';
14
+ import '../../OrInput-5cd0041e.js';
15
15
  import '../../OrError-52f668a4.js';
16
16
  import '../../OrHint-fde53334.js';
17
17
  import '../../OrIcon-2efd1925.js';
@@ -1,4 +1,4 @@
1
- export { I as InputType, O as OrInputV3 } from '../../OrInput-bef517bc.js';
1
+ export { I as InputType, O as OrInputV3 } from '../../OrInput-5cd0041e.js';
2
2
  export { a as InputSize } from '../../OrInputBox-e54dcef9.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -19,7 +19,7 @@ import 'portal-vue';
19
19
  import '../../useElevation-b6e7590a.js';
20
20
  import '../../useResponsive-e13dfbb0.js';
21
21
  import '../../OrLabel-aff09c39.js';
22
- import '../../OrLoader-cf28bfa6.js';
22
+ import '../../OrLoader-864ef92a.js';
23
23
  import '../../useIdAttribute-cf61643f.js';
24
24
  import '../../useValidationAttributes-6df7bcf9.js';
25
25
  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,4 +1,4 @@
1
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../../OrLoader-cf28bfa6.js';
1
+ export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, O as OrLoaderV3 } from '../../OrLoader-864ef92a.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -1,9 +1,9 @@
1
- export { _ as OrPaginationV3 } from '../../OrPagination-19494306.js';
1
+ export { _ as OrPaginationV3 } from '../../OrPagination-582690fd.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
5
- import '../../OrButton-0a9470c0.js';
6
- import '../../OrLoader-cf28bfa6.js';
5
+ import '../../OrButton-d45772c1.js';
6
+ import '../../OrLoader-864ef92a.js';
7
7
  import '../../normalize-component-6e8e3d80.js';
8
8
  import '../../OrIcon-2efd1925.js';
9
9
  import '../../OrMenu-021f347c.js';
@@ -1,10 +1,10 @@
1
- export { O as OrSearchV3 } from '../../OrSearch-7fc62333.js';
1
+ export { O as OrSearchV3 } from '../../OrSearch-4b0f063b.js';
2
2
  export { a as SearchSize } from '../../OrInputBox-e54dcef9.js';
3
3
  import '@vueuse/core';
4
4
  import '../../index-fa6eb4ca.js';
5
5
  import 'vue';
6
6
  import '@vue/composition-api/dist/vue-composition-api.mjs';
7
- import '../../OrInput-bef517bc.js';
7
+ import '../../OrInput-5cd0041e.js';
8
8
  import '../../OrError-52f668a4.js';
9
9
  import '../../normalize-component-6e8e3d80.js';
10
10
  import '../../OrHint-fde53334.js';
@@ -20,7 +20,7 @@ import 'portal-vue';
20
20
  import '../../useElevation-b6e7590a.js';
21
21
  import '../../useResponsive-e13dfbb0.js';
22
22
  import '../../OrLabel-aff09c39.js';
23
- import '../../OrLoader-cf28bfa6.js';
23
+ import '../../OrLoader-864ef92a.js';
24
24
  import '../../useIdAttribute-cf61643f.js';
25
25
  import '../../useValidationAttributes-6df7bcf9.js';
26
26
  import '../../browser-82dea9ed.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrSelectV3 } from '../../OrSelect-8117caeb.js';
1
+ export { _ as OrSelectV3 } from '../../OrSelect-ac49dab5.js';
2
2
  export { a as SelectSize } from '../../OrInputBox-e54dcef9.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -12,7 +12,7 @@ import '../../OrError-52f668a4.js';
12
12
  import '../../OrExpansionPanel-8968da49.js';
13
13
  import '../../OrIcon-2efd1925.js';
14
14
  import '../../OrHint-fde53334.js';
15
- import '../../OrInput-bef517bc.js';
15
+ import '../../OrInput-5cd0041e.js';
16
16
  import '../../OrIconButton-037b9c33.js';
17
17
  import '../../OrTooltip-9ef540f0.js';
18
18
  import '@vueuse/core';
@@ -24,7 +24,7 @@ import '../../OrTeleport.vue2-e9ba3054.js';
24
24
  import 'portal-vue';
25
25
  import '../../useElevation-b6e7590a.js';
26
26
  import '../../useResponsive-e13dfbb0.js';
27
- import '../../OrLoader-cf28bfa6.js';
27
+ import '../../OrLoader-864ef92a.js';
28
28
  import '../../useValidationAttributes-6df7bcf9.js';
29
29
  import '../../OrMenuItem-f295292e.js';
30
30
  import '../../OrTag-59ab76c5.js';
@@ -1,9 +1,9 @@
1
- export { _ as OrSwitchV3 } from '../../OrSwitch-51e30de3.js';
1
+ export { _ as OrSwitchV3 } from '../../OrSwitch-782d7b43.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
5
5
  import '../../OrLabel-aff09c39.js';
6
6
  import '../../normalize-component-6e8e3d80.js';
7
- import '../../OrLoader-cf28bfa6.js';
7
+ import '../../OrLoader-864ef92a.js';
8
8
  import '../../useIdAttribute-cf61643f.js';
9
9
  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,4 +1,4 @@
1
- export { _ as OrTextV3 } from '../../OrText-a665b991.js';
1
+ export { _ as OrTextV3 } from '../../OrText-15bf85c4.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -1,4 +1,4 @@
1
- export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../../types-d2afe7b5.js';
1
+ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../../types-d0e9ac5c.js';
2
2
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-3a3d4280.js';
3
3
  import '@vueuse/core';
4
4
  import '../../index-fa6eb4ca.js';
@@ -16,5 +16,5 @@ import '../../OrTeleport.vue2-e9ba3054.js';
16
16
  import 'portal-vue';
17
17
  import '../../useElevation-b6e7590a.js';
18
18
  import '../../useResponsive-e13dfbb0.js';
19
- import '../../OrLoader-cf28bfa6.js';
19
+ import '../../OrLoader-864ef92a.js';
20
20
  import '../../browser-82dea9ed.js';