@onereach/ui-components 2.63.0-beta.1896.0 → 2.63.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 (169) hide show
  1. package/dist/v2/{OrConfirm-8d149ece.js → OrConfirm-24e2a1a2.js} +1 -1
  2. package/dist/v2/{OrIconButton-5883eba0.js → OrIconButton-2088a37f.js} +1 -1
  3. package/dist/v2/{OrInlineInput-16a343c1.js → OrInlineInput-f00cba5e.js} +6 -5
  4. package/dist/v2/{OrInlineTextarea-f154bdf5.js → OrInlineTextarea-75de33d0.js} +6 -5
  5. package/dist/v2/{OrInput-4a50fe57.js → OrInput-24028f23.js} +7 -5
  6. package/dist/v2/{OrModal-64c5ae2e.js → OrModal-a1452b11.js} +1 -1
  7. package/dist/v2/{OrNotification-9c164908.js → OrNotification-ac420f39.js} +1 -1
  8. package/dist/v2/{OrSearch-a247f072.js → OrSearch-978a3a6e.js} +1 -1
  9. package/dist/v2/OrSegmentedControl-17df63b8.js +236 -0
  10. package/dist/v2/{OrSelect-bb223cce.js → OrSelect-c6d0a69e.js} +13 -33
  11. package/dist/v2/{OrTabs-b4a9740b.js → OrTabs-f2a60b41.js} +1 -1
  12. package/dist/v2/{OrTag-ab03c4f7.js → OrTag-1ced4e58.js} +1 -1
  13. package/dist/v2/{OrTooltip-caeac590.js → OrTooltip-afe7030b.js} +33 -3
  14. package/dist/v2/components/index.d.ts +1 -0
  15. package/dist/v2/components/{or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts → or-segmented-control-v3/OrSegmentedControl.stories3.d.ts} +1 -1
  16. package/dist/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +77 -0
  17. package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
  18. package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
  19. package/dist/v2/components/or-segmented-control-v3/index.d.ts +3 -0
  20. package/dist/v2/components/or-segmented-control-v3/props.d.ts +4 -0
  21. package/dist/v2/components/or-segmented-control-v3/styles.d.ts +3 -0
  22. package/dist/v2/components/or-segmented-control-v3/types.d.ts +4 -0
  23. package/dist/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
  24. package/dist/v2/components/or-tooltip-v3/styles.d.ts +2 -0
  25. package/dist/v2/directives/index.d.ts +2 -0
  26. package/dist/v2/dropdown-open-0d314aa4.js +28 -0
  27. package/dist/v2/index.d.ts +1 -0
  28. package/dist/v2/index.js +15 -13
  29. package/dist/v2/index2.js +15 -13
  30. package/dist/v2/index20.js +4 -4
  31. package/dist/v2/index31.js +2 -2
  32. package/dist/v2/index34.js +3 -3
  33. package/dist/v2/index36.js +3 -3
  34. package/dist/v2/index38.js +3 -3
  35. package/dist/v2/index50.js +3 -3
  36. package/dist/v2/index52.js +3 -3
  37. package/dist/v2/index62.js +12 -306
  38. package/dist/v2/index63.js +2 -19
  39. package/dist/v2/index65.js +6 -5
  40. package/dist/v2/index78.js +1 -1
  41. package/dist/v2/index80.js +3 -3
  42. package/dist/v2/index88.js +3 -3
  43. package/dist/v2/index91.js +1 -1
  44. package/dist/v2/index92.js +1 -6
  45. package/dist/v2/index93.js +5 -1
  46. package/dist/v2/index94.js +3 -0
  47. package/dist/v2/{types-fb93ea4e.js → types-89aad7fb.js} +1 -1
  48. package/dist/v3/{OrConfirm-456ddee1.js → OrConfirm-371630a4.js} +1 -1
  49. package/dist/v3/{OrIconButton-b8066b5d.js → OrIconButton-5fb3a9aa.js} +1 -1
  50. package/dist/v3/{OrInlineInput-280768ba.js → OrInlineInput-bac4abdd.js} +4 -3
  51. package/dist/v3/{OrInlineTextarea-0f63f344.js → OrInlineTextarea-d1ec1bba.js} +4 -3
  52. package/dist/v3/{OrInput-3eef7945.js → OrInput-256d2530.js} +6 -3
  53. package/dist/v3/{OrModal-f67d37d3.js → OrModal-3a43b7e7.js} +1 -1
  54. package/dist/v3/{OrNotification-fefa1cb4.js → OrNotification-433d16f7.js} +1 -1
  55. package/dist/v3/{OrSearch-15a70678.js → OrSearch-375eab55.js} +1 -1
  56. package/dist/v3/OrSegmentedControl-2bbc0f22.js +184 -0
  57. package/dist/v3/{OrSelect-63ada65d.js → OrSelect-52cfb10d.js} +12 -32
  58. package/dist/v3/{OrTabs-194ca950.js → OrTabs-ac0be933.js} +1 -1
  59. package/dist/v3/{OrTag-144b4ab8.js → OrTag-deaff080.js} +1 -1
  60. package/dist/v3/{OrTooltip-30e05f9e.js → OrTooltip-36c6728c.js} +33 -3
  61. package/dist/v3/components/index.d.ts +1 -0
  62. package/dist/v3/components/{or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts → or-segmented-control-v3/OrSegmentedControl.stories3.d.ts} +1 -1
  63. package/dist/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +77 -0
  64. package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
  65. package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
  66. package/dist/v3/components/or-segmented-control-v3/index.d.ts +3 -0
  67. package/dist/v3/components/or-segmented-control-v3/props.d.ts +4 -0
  68. package/dist/v3/components/or-segmented-control-v3/styles.d.ts +3 -0
  69. package/dist/v3/components/or-segmented-control-v3/types.d.ts +4 -0
  70. package/dist/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
  71. package/dist/v3/components/or-tooltip-v3/styles.d.ts +2 -0
  72. package/dist/v3/directives/index.d.ts +2 -0
  73. package/dist/v3/dropdown-open-0d314aa4.js +28 -0
  74. package/dist/v3/index.d.ts +1 -0
  75. package/dist/v3/index.js +15 -13
  76. package/dist/v3/index2.js +15 -13
  77. package/dist/v3/index20.js +4 -4
  78. package/dist/v3/index31.js +2 -2
  79. package/dist/v3/index34.js +3 -3
  80. package/dist/v3/index36.js +3 -3
  81. package/dist/v3/index38.js +3 -3
  82. package/dist/v3/index50.js +3 -3
  83. package/dist/v3/index52.js +3 -3
  84. package/dist/v3/index62.js +12 -280
  85. package/dist/v3/index63.js +2 -18
  86. package/dist/v3/index65.js +6 -5
  87. package/dist/v3/index78.js +1 -1
  88. package/dist/v3/index80.js +3 -3
  89. package/dist/v3/index88.js +3 -3
  90. package/dist/v3/index91.js +1 -1
  91. package/dist/v3/index92.js +1 -6
  92. package/dist/v3/index93.js +5 -1
  93. package/dist/v3/index94.js +3 -0
  94. package/dist/v3/{types-a2a8f948.js → types-d5d4ab32.js} +1 -1
  95. package/package.json +4 -9
  96. package/src/components/index.ts +1 -0
  97. package/src/components/or-avatar-v3/OrAvatar.docs.mdx +4 -0
  98. package/src/components/or-bottom-sheet-v3/OrBottomSheet.docs.mdx +4 -0
  99. package/src/components/or-button-v3/OrButton.docs.mdx +4 -0
  100. package/src/components/or-card-v3/OrCard.docs.mdx +4 -0
  101. package/src/components/or-checkbox-v3/OrCheckbox.docs.mdx +4 -0
  102. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +1 -1
  103. package/src/components/or-confirm-v3/OrConfirm.docs.mdx +4 -0
  104. package/src/components/or-error-tag-v3/OrErrorTag.docs.mdx +5 -0
  105. package/src/components/or-error-v3/OrError.docs.mdx +4 -0
  106. package/src/components/or-expansion-panel-v3/OrExpansionPanel.docs.mdx +4 -0
  107. package/src/components/or-fab-v3/OrFab.docs.mdx +4 -0
  108. package/src/components/or-hint-v3/OrHint.docs.mdx +4 -0
  109. package/src/components/or-icon-button-v3/OrIconButton.docs.mdx +4 -0
  110. package/src/components/or-icon-v3/OrIcon.docs.mdx +4 -0
  111. package/src/components/or-inline-input-v3/OrInlineInput.docs.mdx +4 -0
  112. package/src/components/or-inline-input-v3/OrInlineInput.vue +2 -2
  113. package/src/components/or-inline-textarea-v3/OrInlineTextarea.docs.mdx +4 -0
  114. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +2 -2
  115. package/src/components/or-input-v3/OrInput.docs.mdx +4 -0
  116. package/src/components/or-input-v3/OrInput.vue +21 -19
  117. package/src/components/or-label-v3/OrLabel.docs.mdx +4 -0
  118. package/src/components/or-link-v3/OrLink.docs.mdx +4 -0
  119. package/src/components/or-loader-v3/OrLoader.docs.mdx +4 -0
  120. package/src/components/or-menu-item-v3/OrMenuItem.docs.mdx +4 -0
  121. package/src/components/or-menu-v3/OrMenu.docs.mdx +4 -0
  122. package/src/components/or-modal-v3/OrModal.docs.mdx +4 -0
  123. package/src/components/or-notification-v3/OrNotification.docs.mdx +4 -0
  124. package/src/components/or-overlay-v3/OrOverlay.docs.mdx +4 -0
  125. package/src/components/or-popover-v3/OrPopover.docs.mdx +4 -0
  126. package/src/components/or-progress-v3/OrProgress.docs.mdx +4 -0
  127. package/src/components/or-radio-v3/OrRadio.docs.mdx +4 -0
  128. package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
  129. package/src/components/or-search-v3/OrSearch.docs.mdx +4 -0
  130. package/src/components/or-segmented-control-v3/OrSegmentedControl.docs.mdx +7 -0
  131. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +106 -0
  132. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +107 -0
  133. package/src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue +64 -0
  134. package/src/components/or-segmented-control-v3/components/or-segmented-control-item/styles.ts +50 -0
  135. package/src/components/or-segmented-control-v3/index.ts +3 -0
  136. package/src/components/or-segmented-control-v3/props.ts +4 -0
  137. package/src/components/or-segmented-control-v3/styles.ts +24 -0
  138. package/src/components/or-segmented-control-v3/types.ts +4 -0
  139. package/src/components/or-select-v3/OrSelect.docs.mdx +4 -0
  140. package/src/components/or-select-v3/OrSelect.vue +9 -6
  141. package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +4 -0
  142. package/src/components/or-skeleton-v3/OrSkeleton.docs.mdx +8 -0
  143. package/src/components/or-switch-v3/OrSwitch.docs.mdx +4 -0
  144. package/src/components/or-switch-v3/OrSwitch.stories3.ts +1 -1
  145. package/src/components/or-tab-v3/OrTab.docs.mdx +4 -0
  146. package/src/components/or-tabs-v3/OrTabs.docs.mdx +4 -0
  147. package/src/components/or-tabs-v3/OrTabs.stories3.ts +9 -4
  148. package/src/components/or-tabs-v3/OrTabs.vue +1 -1
  149. package/src/components/or-tag-v3/OrTag.docs.mdx +4 -0
  150. package/src/components/or-teleport-v3/OrTeleport.docs.mdx +4 -0
  151. package/src/components/or-text-v3/OrText.docs.mdx +4 -0
  152. package/src/components/or-textarea-v3/OrTextarea.docs.mdx +4 -0
  153. package/src/components/or-tooltip-v3/OrTooltip.docs.mdx +3 -0
  154. package/src/components/or-tooltip-v3/OrTooltip.vue +3 -2
  155. package/src/components/or-tooltip-v3/styles.ts +55 -0
  156. package/src/directives/index.ts +2 -0
  157. package/src/hooks/useClassAttribute.ts +1 -1
  158. package/src/index.ts +1 -0
  159. package/dist/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -111
  160. package/dist/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  161. package/dist/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  162. package/dist/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -111
  163. package/dist/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  164. package/dist/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  165. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -16
  166. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -57
  167. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -295
  168. package/src/components/or-rich-text-editor-v3/index.ts +0 -1
  169. package/src/components/or-rich-text-editor-v3/styles.ts +0 -71
@@ -1,18 +1,15 @@
1
- import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch } from 'vue-demi';
2
- import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
1
+ export { _ as OrSearchV3 } from './OrSearch-978a3a6e.js';
2
+ export { a as SearchSize } from './OrInputBox-208dceac.js';
3
+ import 'vue-demi';
3
4
  import '@vueuse/core';
4
- import { Editor } from '@tiptap/core';
5
- import StarterKit from '@tiptap/starter-kit';
6
- import Underline from '@tiptap/extension-underline';
7
- import Highlight from '@tiptap/extension-highlight';
8
- import Placeholder from '@tiptap/extension-placeholder';
9
- import { _ as __vue_component__$1 } from './OrIconButton-5883eba0.js';
10
- import { _ as __vue_component__$2 } from './OrLabel-5670468e.js';
11
- import { flatMap } from 'lodash';
12
- import { s as styleInject } from './style-inject.es-4c6f2515.js';
13
- import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
5
+ import './useClassAttribute-47fdb016.js';
6
+ import './OrInput-24028f23.js';
7
+ import './OrError-be656098.js';
8
+ import './normalize-component-6e8e3d80.js';
9
+ import './OrHint-44356417.js';
10
+ import './OrIconButton-2088a37f.js';
14
11
  import './OrIcon-124f3bad.js';
15
- import './OrTooltip-caeac590.js';
12
+ import './OrTooltip-afe7030b.js';
16
13
  import './OrPopover-9080fc00.js';
17
14
  import '@floating-ui/dom';
18
15
  import './useElevation-0e973238.js';
@@ -21,296 +18,5 @@ import './OrBottomSheet-f09adbbb.js';
21
18
  import './OrOverlay-4838a9b0.js';
22
19
  import './OrTeleport.vue2-fb92f29f.js';
23
20
  import 'portal-vue';
24
-
25
- const EditorContainer = [
26
- // Colors
27
- 'border-disabled', 'dark:border-outline-dark', 'focus-within:theme-border-1-primary', 'dark:focus-within:theme-border-1-primary-dark', 'focus-within:bg-primary-opacity-0-08', 'dark:focus-within:bg-primary-opacity-0-08-dark', 'focus-within:theme-outline-primary', 'dark:focus-within:theme-outline-primary-dark',
28
- // Sizing
29
- 'border-1', 'rounded-md'];
30
- const EditorContainerFilled = [
31
- //Colors
32
- 'bg-primary-opacity-0-08', 'dark:bg-primary-opacity-0-08-dark'];
33
- const ToolbarContainer = [
34
- // Layout
35
- 'flex',
36
- //Spacing
37
- 'py-sm',
38
- //Sizing
39
- 'border-b-1',
40
- //Colors
41
- 'border-b-disabled', 'dark:border-b-outline-dark'];
42
- const Toolbar = [
43
- // Layout
44
- 'flex',
45
- // Spacing
46
- 'px-sm', 'gap-md',
47
- // Sizing
48
- 'border-r-1',
49
- //Colors
50
- 'border-r-disabled', 'dark:border-r-outline-dark',
51
- // Last child
52
- 'last-of-type:border-none'];
53
- const ToolbarButton = [
54
- // Typography
55
- 'text-on-disabled', 'dark:text-outline-dark'];
56
- const ToolbarButtonActive = [
57
- // Typography
58
- 'text-on-background', 'dark:text-on-background-dark'];
59
- const EditorInput = [
60
- // Spacing
61
- 'p-sm',
62
- // Typography
63
- 'typography-body-2-regular', 'text-on-background', 'dark:text-on-background-dark',
64
- // Sizing
65
- 'min-h-[88px]'];
66
-
67
- var script = defineComponent({
68
- name: 'OrRichTextEditor',
69
- components: {
70
- OrIconButton: __vue_component__$1,
71
- OrLabel: __vue_component__$2
72
- },
73
- inheritAttrs: false,
74
- props: {
75
- modelValue: {
76
- type: String,
77
- default: '',
78
- required: false
79
- },
80
- toolbar: {
81
- type: Array,
82
- default: () => [['bold', 'italic', 'strike'], ['underline', 'highlight'], ['bulletList', 'orderedList'], ['undo', 'redo']]
83
- },
84
- description: {
85
- type: String,
86
- default: ''
87
- },
88
- placeholder: {
89
- type: String,
90
- default: 'Write something...'
91
- },
92
- autofocus: {
93
- type: Boolean,
94
- default: false
95
- }
96
- },
97
- emits: ['update:modelValue'],
98
- setup(props, {
99
- emit
100
- }) {
101
- // Refs
102
- let editor = null;
103
- const editorRef = ref();
104
- const containerRef = ref();
105
- const isActive = ref({});
106
- const isFilled = ref(false);
107
- const iconsEnum = ref({
108
- bold: 'format_bold',
109
- italic: 'format_italic',
110
- underline: 'format_underlined',
111
- strike: 'format_strikethrough',
112
- bulletList: 'format_list_bulleted',
113
- orderedList: 'format_list_numbered',
114
- link: 'link',
115
- highlight: 'highlight',
116
- redo: 'redo',
117
- undo: 'undo'
118
- });
119
- const iconTooltipsEnum = ref({
120
- bold: 'Bold',
121
- italic: 'Italic',
122
- underline: 'Underline',
123
- strike: 'Strike',
124
- bulletList: 'Bulleted List',
125
- orderedList: 'Numbered List',
126
- link: 'Link',
127
- highlight: 'Highlight',
128
- redo: 'Redo',
129
- undo: 'Undo'
130
- });
131
- onMounted(() => {
132
- editor = new Editor({
133
- onUpdate: ({
134
- editor
135
- }) => {
136
- setActiveFormats();
137
- const html = editor.getHTML();
138
- const text = editor.getText();
139
- emit('update:modelValue', text === '' ? text : html);
140
- isFilled.value = text !== '';
141
- },
142
- element: editorRef.value,
143
- content: props.modelValue,
144
- autofocus: props.autofocus,
145
- extensions: [StarterKit, Underline,
146
- // Link.configure({
147
- // openOnClick: true,
148
- // linkOnPaste: true,
149
- // protocols: ['ftp', 'mailto'],
150
- // validate: href => /^https?:\/\//.test(href),
151
- // HTMLAttributes: {
152
- // class: 'text-primary cursor-pointer',
153
- // },
154
- // }),
155
- Highlight, Placeholder.configure({
156
- placeholder: props.placeholder,
157
- emptyEditorClass: 'is-editor-empty text-outline'
158
- })],
159
- editorProps: {
160
- attributes: {
161
- class: 'focus:outline-none'
162
- }
163
- }
164
- });
165
- setActiveFormats();
166
- isFilled.value = props.modelValue !== '';
167
- });
168
- onBeforeUnmount(() => {
169
- editor === null || editor === void 0 ? void 0 : editor.destroy();
170
- });
171
- // Methods
172
- const handleEditorClick = () => {
173
- setActiveFormats();
174
- editor === null || editor === void 0 ? void 0 : editor.commands.focus();
175
- };
176
- const handleToolbarClick = item => {
177
- if (item === 'bulletList' || item === 'orderedList') {
178
- item === 'bulletList' ? editor === null || editor === void 0 ? void 0 : editor.commands.toggleBulletList() : editor === null || editor === void 0 ? void 0 : editor.commands.toggleOrderedList();
179
- } else if (item === 'undo' || item === 'redo') {
180
- item === 'undo' ? editor === null || editor === void 0 ? void 0 : editor.commands.undo() : editor === null || editor === void 0 ? void 0 : editor.commands.redo();
181
- } else {
182
- editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleMark(item).run();
183
- }
184
- };
185
- const setActiveFormats = () => {
186
- const toolbarList = flatMap(props.toolbar);
187
- toolbarList.forEach(item => {
188
- isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive(item)) || false;
189
- });
190
- };
191
- // Styles
192
- const classAttribute = useClassAttribute();
193
- const rootStyles = computed(() => {
194
- return ['or-rich-text-editor', classAttribute.value];
195
- });
196
- const containerStyles = computed(() => {
197
- return [...EditorContainer, ...(isFilled.value ? EditorContainerFilled : [])];
198
- });
199
- const toolbarContainerStyles = computed(() => {
200
- return [...ToolbarContainer];
201
- });
202
- const toolbarStyles = computed(() => {
203
- return [...Toolbar];
204
- });
205
- const editorInputStyles = computed(() => {
206
- return ['tiptap-editor', ...EditorInput];
207
- });
208
- const toolbarButtonStyles = item => {
209
- return [
210
- // Layout
211
- 'flex',
212
- // Spacing
213
- 'gap-md', ...(isActive.value[item] ? ToolbarButtonActive : ToolbarButton)];
214
- };
215
- //Effects
216
- watch(() => props.modelValue, value => {
217
- if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML())) {
218
- editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
219
- }
220
- });
221
- return {
222
- editor,
223
- editorRef,
224
- containerRef,
225
- iconsEnum,
226
- handleToolbarClick,
227
- handleEditorClick,
228
- isActive,
229
- iconTooltipsEnum,
230
- containerStyles,
231
- toolbarContainerStyles,
232
- toolbarStyles,
233
- rootStyles,
234
- toolbarButtonStyles,
235
- editorInputStyles
236
- };
237
- }
238
- });
239
-
240
- var css_248z = ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}";
241
- styleInject(css_248z);
242
-
243
- /* script */
244
- const __vue_script__ = script;
245
- /* template */
246
- var __vue_render__ = function () {
247
- var _vm = this;
248
- var _h = _vm.$createElement;
249
- var _c = _vm._self._c || _h;
250
- return _c('div', _vm._b({
251
- ref: "root",
252
- class: _vm.rootStyles
253
- }, 'div', _vm.$attrs, false), [_c('or-label', [_vm._v("\n " + _vm._s(_vm.description) + "\n ")]), _vm._v(" "), _c('div', {
254
- ref: "containerRef",
255
- class: _vm.containerStyles,
256
- on: {
257
- "click": function ($event) {
258
- return _vm.handleEditorClick();
259
- }
260
- }
261
- }, [_c('div', {
262
- class: _vm.toolbarContainerStyles
263
- }, _vm._l(_vm.toolbar, function (tool) {
264
- return _c('div', {
265
- key: tool,
266
- class: _vm.toolbarStyles
267
- }, _vm._l(tool, function (item) {
268
- return _c('div', {
269
- key: item,
270
- class: _vm.toolbarButtonStyles(item)
271
- }, [_c('or-icon-button', {
272
- attrs: {
273
- "tooltip": {
274
- text: _vm.iconTooltipsEnum[item],
275
- placement: 'top'
276
- },
277
- "icon": {
278
- icon: _vm.iconsEnum[item],
279
- variant: 'inherit',
280
- size: 's'
281
- }
282
- },
283
- on: {
284
- "click": function ($event) {
285
- return _vm.handleToolbarClick(item);
286
- }
287
- }
288
- })], 1);
289
- }), 0);
290
- }), 0), _vm._v(" "), _c('div', {
291
- ref: "editorRef",
292
- class: _vm.editorInputStyles
293
- })])], 1);
294
- };
295
- var __vue_staticRenderFns__ = [];
296
-
297
- /* style */
298
- const __vue_inject_styles__ = undefined;
299
- /* scoped */
300
- const __vue_scope_id__ = undefined;
301
- /* module identifier */
302
- const __vue_module_identifier__ = undefined;
303
- /* functional template */
304
- const __vue_is_functional_template__ = false;
305
- /* style inject */
306
-
307
- /* style inject SSR */
308
-
309
- /* style inject shadow dom */
310
-
311
- const __vue_component__ = /*#__PURE__*/normalizeComponent({
312
- render: __vue_render__,
313
- staticRenderFns: __vue_staticRenderFns__
314
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
315
-
316
- export { __vue_component__ as OrRichTextEditor };
21
+ import './OrLabel-5670468e.js';
22
+ import './style-inject.es-4c6f2515.js';
@@ -1,22 +1,5 @@
1
- export { _ as OrSearchV3 } from './OrSearch-a247f072.js';
2
- export { a as SearchSize } from './OrInputBox-208dceac.js';
1
+ export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-17df63b8.js';
3
2
  import 'vue-demi';
4
- import '@vueuse/core';
5
3
  import './useClassAttribute-47fdb016.js';
6
- import './OrInput-4a50fe57.js';
7
- import './OrError-be656098.js';
4
+ import '@vueuse/core';
8
5
  import './normalize-component-6e8e3d80.js';
9
- import './OrHint-44356417.js';
10
- import './OrIconButton-5883eba0.js';
11
- import './OrIcon-124f3bad.js';
12
- import './OrTooltip-caeac590.js';
13
- import './OrPopover-9080fc00.js';
14
- import '@floating-ui/dom';
15
- import './useElevation-0e973238.js';
16
- import './useResponsive-a02e95b7.js';
17
- import './OrBottomSheet-f09adbbb.js';
18
- import './OrOverlay-4838a9b0.js';
19
- import './OrTeleport.vue2-fb92f29f.js';
20
- import 'portal-vue';
21
- import './OrLabel-5670468e.js';
22
- import './style-inject.es-4c6f2515.js';
@@ -1,6 +1,7 @@
1
- export { _ as OrSelectV3 } from './OrSelect-bb223cce.js';
1
+ export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
2
2
  export { a as SelectSize } from './OrInputBox-208dceac.js';
3
3
  import 'vue-demi';
4
+ import './dropdown-open-0d314aa4.js';
4
5
  import './useClassAttribute-47fdb016.js';
5
6
  import './useOverflow-ac506c65.js';
6
7
  import '@vueuse/core';
@@ -12,9 +13,9 @@ import './OrError-be656098.js';
12
13
  import './OrExpansionPanel-ce82a6fd.js';
13
14
  import './OrIcon-124f3bad.js';
14
15
  import './OrHint-44356417.js';
15
- import './OrInput-4a50fe57.js';
16
- import './OrIconButton-5883eba0.js';
17
- import './OrTooltip-caeac590.js';
16
+ import './OrInput-24028f23.js';
17
+ import './OrIconButton-2088a37f.js';
18
+ import './OrTooltip-afe7030b.js';
18
19
  import './OrPopover-9080fc00.js';
19
20
  import '@floating-ui/dom';
20
21
  import './useElevation-0e973238.js';
@@ -24,4 +25,4 @@ import './OrOverlay-4838a9b0.js';
24
25
  import './OrTeleport.vue2-fb92f29f.js';
25
26
  import 'portal-vue';
26
27
  import './OrMenuItem-3a28db7b.js';
27
- import './OrTag-ab03c4f7.js';
28
+ import './OrTag-1ced4e58.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-b4a9740b.js';
1
+ export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-f2a60b41.js';
2
2
  import '@vueuse/core';
3
3
  import 'vue-demi';
4
4
  import './useClassAttribute-47fdb016.js';
@@ -1,11 +1,11 @@
1
- export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-ab03c4f7.js';
1
+ export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-1ced4e58.js';
2
2
  import 'vue-demi';
3
3
  import './useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
5
- import './OrIconButton-5883eba0.js';
5
+ import './OrIconButton-2088a37f.js';
6
6
  import './OrIcon-124f3bad.js';
7
7
  import './normalize-component-6e8e3d80.js';
8
- import './OrTooltip-caeac590.js';
8
+ import './OrTooltip-afe7030b.js';
9
9
  import './OrPopover-9080fc00.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
@@ -1,14 +1,14 @@
1
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-fb93ea4e.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-89aad7fb.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';
5
5
  import './OrTeleport.vue2-fb92f29f.js';
6
6
  import 'portal-vue';
7
7
  import './normalize-component-6e8e3d80.js';
8
- import './OrIconButton-5883eba0.js';
8
+ import './OrIconButton-2088a37f.js';
9
9
  import './useClassAttribute-47fdb016.js';
10
10
  import './OrIcon-124f3bad.js';
11
- import './OrTooltip-caeac590.js';
11
+ import './OrTooltip-afe7030b.js';
12
12
  import './OrPopover-9080fc00.js';
13
13
  import '@floating-ui/dom';
14
14
  import './useElevation-0e973238.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrTooltipV3 } from './OrTooltip-caeac590.js';
1
+ export { _ as OrTooltipV3 } from './OrTooltip-afe7030b.js';
2
2
  export { P as TooltipPlacement } from './OrPopover-9080fc00.js';
3
3
  import '@vueuse/core';
4
4
  import 'vue-demi';
@@ -1,7 +1,2 @@
1
- export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
- export { u as useElevation } from './useElevation-0e973238.js';
3
- export { u as useOverflow } from './useOverflow-ac506c65.js';
4
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
- export { u as useToggle } from './useToggle-29e4d7c7.js';
1
+ export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
6
2
  import 'vue-demi';
7
- import '@vueuse/core';
@@ -1,3 +1,7 @@
1
+ export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
+ export { u as useElevation } from './useElevation-0e973238.js';
3
+ export { u as useOverflow } from './useOverflow-ac506c65.js';
1
4
  export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
- import '@vueuse/core';
5
+ export { u as useToggle } from './useToggle-29e4d7c7.js';
3
6
  import 'vue-demi';
7
+ import '@vueuse/core';
@@ -0,0 +1,3 @@
1
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
+ import '@vueuse/core';
3
+ import 'vue-demi';
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
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
- import { _ as __vue_component__$2 } from './OrIconButton-5883eba0.js';
5
+ import { _ as __vue_component__$2 } from './OrIconButton-2088a37f.js';
6
6
  import { _ as __vue_component__$3 } from './OrLoader-bd088836.js';
7
7
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { s as script$2, a as ButtonColor } from './OrButton-12b36e89.js';
3
3
  import { s as script$1 } from './OrOverlay-27050c19.js';
4
- import { s as script$3 } from './OrInput-3eef7945.js';
4
+ import { s as script$3 } from './OrInput-256d2530.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
6
6
  import { logicAnd } from '@vueuse/math';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrIcon-b3906e35.js';
5
- import { s as script$2 } from './OrTooltip-30e05f9e.js';
5
+ import { s as script$2 } from './OrTooltip-36c6728c.js';
6
6
  import './OrPopover-3525c670.js';
7
7
  import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
8
8
 
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$3 } from './OrIconButton-b8066b5d.js';
6
+ import { s as script$3 } from './OrIconButton-5fb3a9aa.js';
7
7
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-1b473796.js';
8
8
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -129,14 +129,15 @@ var script = defineComponent({
129
129
  activated.value = false;
130
130
  }
131
131
  function reset() {
132
+ var _a;
132
133
  if (draftModelValue.value !== proxyModelValue.value) {
133
- draftModelValue.value = proxyModelValue.value;
134
+ draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
134
135
  }
135
136
  activated.value = false;
136
137
  }
137
138
  // Effects
138
139
  watch(proxyModelValue, value => {
139
- draftModelValue.value = value;
140
+ draftModelValue.value = value !== null && value !== void 0 ? value : '';
140
141
  }, {
141
142
  immediate: true
142
143
  });
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$3 } from './OrIconButton-b8066b5d.js';
6
+ import { s as script$3 } from './OrIconButton-5fb3a9aa.js';
7
7
  import { s as script$4 } from './OrInlineInputBox-1b473796.js';
8
8
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
@@ -115,14 +115,15 @@ var script = defineComponent({
115
115
  activated.value = false;
116
116
  }
117
117
  function reset() {
118
+ var _a;
118
119
  if (draftModelValue.value !== proxyModelValue.value) {
119
- draftModelValue.value = proxyModelValue.value;
120
+ draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
120
121
  }
121
122
  activated.value = false;
122
123
  }
123
124
  // Effects
124
125
  watch(proxyModelValue, value => {
125
- draftModelValue.value = value;
126
+ draftModelValue.value = value !== null && value !== void 0 ? value : '';
126
127
  }, {
127
128
  immediate: true
128
129
  });
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$4 } from './OrIconButton-b8066b5d.js';
6
+ import { s as script$4 } from './OrIconButton-5fb3a9aa.js';
7
7
  import { s as script$3 } from './OrIcon-b3906e35.js';
8
8
  import { s as script$5, a as InputBoxSize } from './OrInputBox-634230b1.js';
9
9
  import { s as script$6 } from './OrLabel-7d4fe80b.js';
@@ -144,6 +144,9 @@ var script = defineComponent({
144
144
  });
145
145
 
146
146
  const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
147
+ const _hoisted_2 = {
148
+ class: /*#__PURE__*/normalizeClass(['-m-xs', 'ml-none'])
149
+ };
147
150
  function render(_ctx, _cache, $props, $setup, $data, $options) {
148
151
  const _component_OrLabel = resolveComponent("OrLabel");
149
152
  const _component_OrIconButton = resolveComponent("OrIconButton");
@@ -186,7 +189,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
186
189
  onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
187
190
  onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
188
191
  onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
189
- }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
192
+ }), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
190
193
  key: 0,
191
194
  icon: {
192
195
  icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
@@ -207,7 +210,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
207
210
  key: 1,
208
211
  icon: 'search',
209
212
  variant: 'outlined'
210
- }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)]),
213
+ }))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
211
214
  _: 1 /* STABLE */
212
215
  }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
213
216
  key: 1,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
- import { s as script$2 } from './OrIconButton-b8066b5d.js';
4
+ import { s as script$2 } from './OrIconButton-5fb3a9aa.js';
5
5
  import { s as script$1 } from './OrOverlay-27050c19.js';
6
6
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
- import { s as script$2 } from './OrIconButton-b8066b5d.js';
4
+ import { s as script$2 } from './OrIconButton-5fb3a9aa.js';
5
5
  import { s as script$1 } from './OrIcon-b3906e35.js';
6
6
  import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, renderSlot, withModifiers } from 'vue';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { debouncedWatch } from '@vueuse/core';
3
3
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
4
- import { s as script$1 } from './OrInput-3eef7945.js';
4
+ import { s as script$1 } from './OrInput-256d2530.js';
5
5
  import { a as InputBoxSize } from './OrInputBox-634230b1.js';
6
6
  import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
7
7