@onereach/ui-components 2.72.2-beta.2276.0 → 2.72.2-beta.2278.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 (94) hide show
  1. package/dist/bundled/v2/{OrButton-f1f28b9b.js → OrButton-d45772c1.js} +1 -1
  2. package/dist/bundled/v2/{OrCardCollection-35abc63a.js → OrCardCollection-4ac89ea5.js} +1 -1
  3. package/dist/bundled/v2/{OrConfirm-c5717fec.js → OrConfirm-8c0e957d.js} +1 -1
  4. package/dist/bundled/v2/{OrLoader-07f84c71.js → OrLoader-864ef92a.js} +4 -11
  5. package/dist/bundled/v2/{OrPagination-1b65273d.js → OrPagination-daf25de2.js} +1 -1
  6. package/dist/bundled/v2/{OrSwitch-3804a2d8.js → OrSwitch-782d7b43.js} +1 -1
  7. package/dist/bundled/v2/{OrText-a665b991.js → OrText-15bf85c4.js} +36 -3
  8. package/dist/bundled/v2/components/index.js +8 -8
  9. package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
  10. package/dist/bundled/v2/components/or-card-collection-v3/index.js +3 -3
  11. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
  12. package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
  13. package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
  14. package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
  15. package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
  16. package/dist/bundled/v2/components/or-text-v3/OrText.stories3.d.ts +13 -1
  17. package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +27 -2
  18. package/dist/bundled/v2/components/or-text-v3/index.js +1 -1
  19. package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
  20. package/dist/bundled/v2/index.js +9 -9
  21. package/dist/bundled/v2/{types-13daf4de.js → types-309b7b94.js} +1 -1
  22. package/dist/bundled/v3/{OrButton-d8b1c4ac.js → OrButton-a1448bfa.js} +1 -1
  23. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-d31b504f.js → OrButton.vue_vue_type_script_lang-3b1e442b.js} +2 -2
  24. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-23f82328.js → OrCardCollection.vue_vue_type_script_lang-f76c3264.js} +2 -2
  25. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ab682ec1.js → OrConfirm.vue_vue_type_script_lang-eb2bfce2.js} +2 -2
  26. package/dist/bundled/v3/{OrLoader-40942969.js → OrLoader-123ef8c4.js} +1 -1
  27. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-9efedfe7.js → OrLoader.vue_vue_type_script_lang-4c3c1ac9.js} +4 -11
  28. package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c0eceb82.js → OrPagination.vue_vue_type_script_lang-f64827ef.js} +2 -2
  29. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-25f16621.js → OrSwitch.vue_vue_type_script_lang-31994be7.js} +2 -2
  30. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-e93438ea.js +93 -0
  31. package/dist/bundled/v3/{OrToastContainer-2e9489f9.js → OrToastContainer-6fe12712.js} +1 -1
  32. package/dist/bundled/v3/components/index.js +10 -10
  33. package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
  34. package/dist/bundled/v3/components/or-card-collection-v3/index.js +5 -5
  35. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
  36. package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
  37. package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
  38. package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
  39. package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
  40. package/dist/bundled/v3/components/or-text-v3/OrText.stories3.d.ts +13 -1
  41. package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +27 -2
  42. package/dist/bundled/v3/components/or-text-v3/index.js +1 -1
  43. package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
  44. package/dist/bundled/v3/index.js +17 -17
  45. package/dist/bundled/v3/{types-8f6f3598.js → types-22fbf9d6.js} +2 -2
  46. package/dist/esm/v2/{OrButton-d067bcac.js → OrButton-66964360.js} +1 -1
  47. package/dist/esm/v2/{OrCardCollection-cab5acb9.js → OrCardCollection-5a9eda35.js} +1 -1
  48. package/dist/esm/v2/{OrConfirm-efe95ff6.js → OrConfirm-9dbdedd7.js} +1 -1
  49. package/dist/esm/v2/{OrLoader-a6ae193f.js → OrLoader-76307488.js} +4 -11
  50. package/dist/esm/v2/{OrPagination-1acb7176.js → OrPagination-1adbcadb.js} +1 -1
  51. package/dist/esm/v2/{OrSwitch-c2429fc0.js → OrSwitch-8549219a.js} +1 -1
  52. package/dist/esm/v2/{OrText-b12d0682.js → OrText-91d662a0.js} +36 -3
  53. package/dist/esm/v2/components/index.js +8 -8
  54. package/dist/esm/v2/components/or-button-v3/index.js +2 -2
  55. package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
  56. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
  57. package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
  58. package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
  59. package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
  60. package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
  61. package/dist/esm/v2/components/or-text-v3/OrText.stories3.d.ts +13 -1
  62. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +27 -2
  63. package/dist/esm/v2/components/or-text-v3/index.js +1 -1
  64. package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
  65. package/dist/esm/v2/index.js +8 -8
  66. package/dist/esm/v2/{types-4a75cef1.js → types-1f95d710.js} +1 -1
  67. package/dist/esm/v3/{OrButton-d9f6c316.js → OrButton-c56998e7.js} +1 -1
  68. package/dist/esm/v3/{OrCardCollection-04b36455.js → OrCardCollection-e4fde5b4.js} +1 -1
  69. package/dist/esm/v3/{OrConfirm-d7d6255c.js → OrConfirm-37454a63.js} +1 -1
  70. package/dist/esm/v3/{OrLoader-1709eb68.js → OrLoader-a53d2edf.js} +4 -11
  71. package/dist/esm/v3/{OrPagination-7cbdbb05.js → OrPagination-da9e5017.js} +1 -1
  72. package/dist/esm/v3/{OrSwitch-54988e7a.js → OrSwitch-1c2196da.js} +1 -1
  73. package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-a3b00048.js} +36 -3
  74. package/dist/esm/v3/components/index.js +8 -8
  75. package/dist/esm/v3/components/or-button-v3/index.js +2 -2
  76. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  77. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  78. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -16
  79. package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
  80. package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
  81. package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
  82. package/dist/esm/v3/components/or-text-v3/OrText.stories3.d.ts +13 -1
  83. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +27 -2
  84. package/dist/esm/v3/components/or-text-v3/index.js +1 -1
  85. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  86. package/dist/esm/v3/index.js +8 -8
  87. package/dist/esm/v3/{types-c3417028.js → types-b79e4387.js} +1 -1
  88. package/package.json +1 -1
  89. package/src/components/or-loader-v3/OrLoader.stories3.ts +4 -16
  90. package/src/components/or-loader-v3/OrLoader.vue +2 -10
  91. package/src/components/or-loader-v3/styles.ts +2 -1
  92. package/src/components/or-text-v3/OrText.stories3.ts +81 -5
  93. package/src/components/or-text-v3/OrText.vue +37 -3
  94. 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-e0566ecf.js';
5
- import './OrLoader-40942969.js';
5
+ import './OrLoader-123ef8c4.js';
6
6
  import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js';
7
- import { s as script$3 } from './OrLoader.vue_vue_type_script_lang-9efedfe7.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-7edd25f6.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-a6ae193f.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,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
- import { _ as __vue_component__$3 } from './OrButton-d067bcac.js';
2
+ import { _ as __vue_component__$3 } from './OrButton-66964360.js';
3
3
  import { _ as __vue_component__$2 } from './OrIconButton-04a3566d.js';
4
4
  import { _ as __vue_component__$6 } from './OrIcon-f34e0e6f.js';
5
5
  import { _ as __vue_component__$5 } from './OrMenuItem-7b7fbf8a.js';
@@ -1,7 +1,7 @@
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-d067bcac.js';
4
+ import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-66964360.js';
5
5
  import { _ as __vue_component__$3 } from './OrInput-59a15d80.js';
6
6
  import { _ as __vue_component__$1 } from './OrOverlay-a019186f.js';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -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
@@ -73,13 +66,13 @@ var script = defineComponent({
73
66
  const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
74
67
  const titleStyles = computed(() => [...LoaderTitle]);
75
68
  const descriptionStyles = computed(() => [...LoaderDescription]);
76
- const containerStyles = computed(() => [...LoaderContainer, `min-w-[${computedSize}px]`]);
69
+ const containerStyles = computed(() => [...LoaderContainer]);
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
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { _ as __vue_component__$1 } from './OrButton-d067bcac.js';
2
+ import { _ as __vue_component__$1 } from './OrButton-66964360.js';
3
3
  import { _ as __vue_component__$2 } from './OrIcon-f34e0e6f.js';
4
4
  import { _ as __vue_component__$4 } from './OrMenuItem-7b7fbf8a.js';
5
5
  import { _ as __vue_component__$3 } from './OrMenu-c276db74.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-a6ae193f.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-d067bcac.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-cab5acb9.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-5a9eda35.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-efe95ff6.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-9dbdedd7.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-80f82cdf.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-a6ae193f.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-7b7fbf8a.js';
51
51
  export { _ as OrMenuV3 } from '../OrMenu-c276db74.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-d5d4f62a.js';
@@ -59,7 +59,7 @@ export { _ as OrOverflowMenu } from '../OrOverflowMenu-10a4166a.js';
59
59
  export { _ as OrOverlay } from '../OrOverlay-3b52865d.js';
60
60
  export { _ as OrOverlayV3 } from '../OrOverlay-a019186f.js';
61
61
  export { _ as OrPassword } from '../OrPassword-e6d5e968.js';
62
- export { _ as OrPaginationV3 } from '../OrPagination-1acb7176.js';
62
+ export { _ as OrPaginationV3 } from '../OrPagination-1adbcadb.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';
@@ -78,7 +78,7 @@ export { _ as OrSlider } from '../OrSlider-f7b9c7c2.js';
78
78
  export { _ as OrSortHeaderV3 } from '../OrSortHeader-592727dc.js';
79
79
  export { _ as OrStepper } from '../OrStepper-4f44e7b7.js';
80
80
  export { _ as OrSwitch } from '../OrSwitch-f25f27f9.js';
81
- export { _ as OrSwitchV3 } from '../OrSwitch-c2429fc0.js';
81
+ export { _ as OrSwitchV3 } from '../OrSwitch-8549219a.js';
82
82
  export { _ as OrTab } from '../OrTab-eade8ab6.js';
83
83
  export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-d1a340d1.js';
84
84
  export { _ as OrTabV3 } from '../OrTab-1ff87c76.js';
@@ -88,13 +88,13 @@ export { _ as OrTag } from '../OrTag-c1fa6901.js';
88
88
  export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-b2906865.js';
89
89
  export { _ as OrTeleport } from '../OrTeleportVue2-8ef4ceca.js';
90
90
  export { _ as OrTeleportV3 } from '../OrTeleport.vue2-fb92f29f.js';
91
- export { _ as OrTextV3 } from '../OrText-b12d0682.js';
91
+ export { _ as OrTextV3 } from '../OrText-91d662a0.js';
92
92
  export { _ as OrTextarea } from '../OrTextarea-91a95068.js';
93
93
  export { _ as OrTextareaV3 } from '../OrTextarea-a5a3572b.js';
94
94
  export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-2594c980.js';
95
95
  export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-2fbd4358.js';
96
96
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
97
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-4a75cef1.js';
97
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-1f95d710.js';
98
98
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
99
99
  export { _ as OrTooltip } from '../OrTooltip-614b016d.js';
100
100
  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-d067bcac.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-a6ae193f.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-cab5acb9.js';
1
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-5a9eda35.js';
2
2
  import 'vue-demi';
3
- import '../../OrButton-d067bcac.js';
4
- import '../../OrLoader-a6ae193f.js';
3
+ import '../../OrButton-66964360.js';
4
+ import '../../OrLoader-76307488.js';
5
5
  import '../../normalize-component-6e8e3d80.js';
6
6
  import '../../OrIconButton-04a3566d.js';
7
7
  import '../../OrIcon-f34e0e6f.js';
@@ -1,9 +1,9 @@
1
- export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-efe95ff6.js';
1
+ export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-9dbdedd7.js';
2
2
  import '@vueuse/core';
3
3
  import '@vueuse/math';
4
4
  import 'vue-demi';
5
- import '../../OrButton-d067bcac.js';
6
- import '../../OrLoader-a6ae193f.js';
5
+ import '../../OrButton-66964360.js';
6
+ import '../../OrLoader-76307488.js';
7
7
  import '../../normalize-component-6e8e3d80.js';
8
8
  import '../../OrInput-59a15d80.js';
9
9
  import '../../useIdAttribute-859439f0.js';
@@ -6,23 +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>;
9
+ computedSize: import("@vue/composition-api").ComputedRef<20 | 16 | undefined>;
10
10
  }> & import("@vue/composition-api").Data, {}, {}, {
11
11
  variant: {
12
12
  type: PropType<LoaderVariant>;
13
13
  default: LoaderVariant;
14
14
  };
15
- /**
16
- * Defines a semantic color of the loading indicator.
17
- * Use `'inherit'` option to set your own color from the parent (not recommended).
18
- */
19
15
  color: {
20
16
  type: PropType<LoaderColor>;
21
17
  default: LoaderColor;
22
18
  };
23
- /**
24
- * Defines a diameter of the circular loader. Ignored for linear one.
25
- */
26
19
  size: {
27
20
  type: PropType<LoaderSize>;
28
21
  default: LoaderSize;
@@ -40,17 +33,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
40
33
  type: PropType<LoaderVariant>;
41
34
  default: LoaderVariant;
42
35
  };
43
- /**
44
- * Defines a semantic color of the loading indicator.
45
- * Use `'inherit'` option to set your own color from the parent (not recommended).
46
- */
47
36
  color: {
48
37
  type: PropType<LoaderColor>;
49
38
  default: LoaderColor;
50
39
  };
51
- /**
52
- * Defines a diameter of the circular loader. Ignored for linear one.
53
- */
54
40
  size: {
55
41
  type: PropType<LoaderSize>;
56
42
  default: LoaderSize;
@@ -75,7 +61,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
75
61
  containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
76
62
  titleStyles: import("@vue/composition-api").ComputedRef<string[]>;
77
63
  descriptionStyles: import("@vue/composition-api").ComputedRef<string[]>;
78
- computedSize: import("@vue/composition-api").ComputedRef<20 | 16>;
64
+ computedSize: import("@vue/composition-api").ComputedRef<20 | 16 | undefined>;
79
65
  }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
80
66
  variant: LoaderVariant;
81
67
  color: LoaderColor;
@@ -1,3 +1,3 @@
1
- export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from '../../OrLoader-a6ae193f.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-1acb7176.js';
1
+ export { _ as OrPaginationV3 } from '../../OrPagination-1adbcadb.js';
2
2
  import 'vue-demi';
3
- import '../../OrButton-d067bcac.js';
4
- import '../../OrLoader-a6ae193f.js';
3
+ import '../../OrButton-66964360.js';
4
+ import '../../OrLoader-76307488.js';
5
5
  import '../../normalize-component-6e8e3d80.js';
6
6
  import '../../OrIcon-f34e0e6f.js';
7
7
  import '../../OrMenuItem-7b7fbf8a.js';
@@ -1,8 +1,8 @@
1
- export { _ as OrSwitchV3 } from '../../OrSwitch-c2429fc0.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-a6ae193f.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-4a75cef1.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../../types-1f95d710.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-31bfe1f6.js';
14
14
  import '../../useResponsive-a02e95b7.js';
15
15
  import '../../OrBottomSheet-37200385.js';
16
16
  import '../../OrOverlay-a019186f.js';
17
- import '../../OrLoader-a6ae193f.js';
17
+ import '../../OrLoader-76307488.js';
18
18
  import '../../browser-82dea9ed.js';
@@ -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-d067bcac.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-cab5acb9.js';
11
+ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-5a9eda35.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-efe95ff6.js';
22
+ export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-9dbdedd7.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-80f82cdf.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-a6ae193f.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-7b7fbf8a.js';
51
51
  export { _ as OrMenuV3 } from './OrMenu-c276db74.js';
52
52
  export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-d5d4f62a.js';
@@ -59,7 +59,7 @@ export { _ as OrOverflowMenu } from './OrOverflowMenu-10a4166a.js';
59
59
  export { _ as OrOverlay } from './OrOverlay-3b52865d.js';
60
60
  export { _ as OrOverlayV3 } from './OrOverlay-a019186f.js';
61
61
  export { _ as OrPassword } from './OrPassword-e6d5e968.js';
62
- export { _ as OrPaginationV3 } from './OrPagination-1acb7176.js';
62
+ export { _ as OrPaginationV3 } from './OrPagination-1adbcadb.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';
@@ -78,7 +78,7 @@ export { _ as OrSlider } from './OrSlider-f7b9c7c2.js';
78
78
  export { _ as OrSortHeaderV3 } from './OrSortHeader-592727dc.js';
79
79
  export { _ as OrStepper } from './OrStepper-4f44e7b7.js';
80
80
  export { _ as OrSwitch } from './OrSwitch-f25f27f9.js';
81
- export { _ as OrSwitchV3 } from './OrSwitch-c2429fc0.js';
81
+ export { _ as OrSwitchV3 } from './OrSwitch-8549219a.js';
82
82
  export { _ as OrTab } from './OrTab-eade8ab6.js';
83
83
  export { _ as OrTabHeaderItem } from './OrTabHeaderItem-d1a340d1.js';
84
84
  export { _ as OrTabV3 } from './OrTab-1ff87c76.js';
@@ -88,13 +88,13 @@ export { _ as OrTag } from './OrTag-c1fa6901.js';
88
88
  export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-b2906865.js';
89
89
  export { _ as OrTeleport } from './OrTeleportVue2-8ef4ceca.js';
90
90
  export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
91
- export { _ as OrTextV3 } from './OrText-b12d0682.js';
91
+ export { _ as OrTextV3 } from './OrText-91d662a0.js';
92
92
  export { _ as OrTextarea } from './OrTextarea-91a95068.js';
93
93
  export { _ as OrTextareaV3 } from './OrTextarea-a5a3572b.js';
94
94
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2594c980.js';
95
95
  export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-2fbd4358.js';
96
96
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
97
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-4a75cef1.js';
97
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-1f95d710.js';
98
98
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
99
99
  export { _ as OrTooltip } from './OrTooltip-614b016d.js';
100
100
  export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
3
3
  import { _ as __vue_component__$4 } from './OrTeleport.vue2-fb92f29f.js';
4
4
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
5
5
  import { _ as __vue_component__$2 } from './OrIconButton-04a3566d.js';
6
- import { _ as __vue_component__$3 } from './OrLoader-a6ae193f.js';
6
+ import { _ as __vue_component__$3 } from './OrLoader-76307488.js';
7
7
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
8
8
  import { c as createInjector } from './browser-82dea9ed.js';
9
9
 
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { s as script$1 } from './OrLoader-1709eb68.js';
2
+ import { s as script$1 } from './OrLoader-a53d2edf.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
4
4
 
5
5
  var ButtonVariant;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, watch } from 'vue-demi';
2
- import { s as script$3 } from './OrButton-d9f6c316.js';
2
+ import { s as script$3 } from './OrButton-c56998e7.js';
3
3
  import { s as script$2 } from './OrIconButton-2dcfb83e.js';
4
4
  import { s as script$6 } from './OrIcon-34f59f73.js';
5
5
  import { s as script$5 } from './OrMenuItem-58707d47.js';
@@ -1,7 +1,7 @@
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 { s as script$2, a as ButtonColor } from './OrButton-d9f6c316.js';
4
+ import { s as script$2, a as ButtonColor } from './OrButton-c56998e7.js';
5
5
  import { s as script$3 } from './OrInput-bd054213.js';
6
6
  import { s as script$1 } from './OrOverlay-afad3aa4.js';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
@@ -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
@@ -73,13 +66,13 @@ var script = defineComponent({
73
66
  const rootStyles = computed(() => ['or-loader', ...LoaderRoot, ...LoaderRootColors[props.color]]);
74
67
  const titleStyles = computed(() => [...LoaderTitle]);
75
68
  const descriptionStyles = computed(() => [...LoaderDescription]);
76
- const containerStyles = computed(() => [...LoaderContainer, `min-w-[${computedSize}px]`]);
69
+ const containerStyles = computed(() => [...LoaderContainer]);
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
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { s as script$1 } from './OrButton-d9f6c316.js';
2
+ import { s as script$1 } from './OrButton-c56998e7.js';
3
3
  import { s as script$2 } from './OrIcon-34f59f73.js';
4
4
  import { s as script$4 } from './OrMenuItem-58707d47.js';
5
5
  import { s as script$3 } from './OrMenu-7f3ea117.js';