@onereach/ui-components 8.0.6-beta.3614.0 → 8.0.6

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 (30) hide show
  1. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
  2. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +1 -1
  3. package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +8 -3
  4. package/dist/bundled/v2/components/OrTabsV3/styles.js +2 -2
  5. package/dist/bundled/v2/index.js +1 -1
  6. package/dist/bundled/v2/markdown-3b17cc9b.js +15365 -0
  7. package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-1658b1a2.js → OrRichTextEditor.vue_vue_type_script_lang-667a8827.js} +1 -1
  8. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
  9. package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
  10. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
  11. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +9 -6
  12. package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
  13. package/dist/bundled/v3/components/OrTabsV3/styles.js +2 -2
  14. package/dist/bundled/v3/components/index.js +2 -2
  15. package/dist/bundled/v3/index.js +3 -3
  16. package/dist/bundled/v3/markdown-3b17cc9b.js +15365 -0
  17. package/dist/esm/v2/{OrTabs-db6e7f59.js → OrTabs-20560ebc.js} +10 -5
  18. package/dist/esm/v2/components/index.js +1 -1
  19. package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
  20. package/dist/esm/v2/index.js +1 -1
  21. package/dist/esm/v3/{OrTabs-0660d898.js → OrTabs-faae418d.js} +9 -6
  22. package/dist/esm/v3/components/index.js +1 -1
  23. package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
  24. package/dist/esm/v3/index.js +1 -1
  25. package/package.json +3 -2
  26. package/src/components/or-tabs-v3/OrTabs.vue +9 -3
  27. package/src/components/or-tabs-v3/styles.ts +1 -3
  28. package/dist/bundled/v2/markdown-7d2cd3a5.js +0 -8287
  29. package/dist/bundled/v3/markdown-7d2cd3a5.js +0 -8287
  30. /package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-fabab6e0.js → OrTabs.vue_vue_type_script_lang-e1b245b2.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue-demi';
2
2
  import { u as useFocusTrap } from './useFocusTrap-aa5b17f6.js';
3
3
  import { e as useResizeObserver, o as onClickOutside } from './index-c5cda763.js';
4
- import { B as Blockquote, a as Bold, b as BulletList, C as CodeBlock, H as HardBreak, I as Italic, L as ListItem, O as OrderedList, P as Paragraph, S as Strike, s as serialize, d as deserialize, U as Underline, c as Link, e as Highlight } from './markdown-7d2cd3a5.js';
4
+ import { B as Blockquote, a as Bold, b as BulletList, C as CodeBlock, H as HardBreak, I as Italic, L as ListItem, O as OrderedList, P as Paragraph, S as Strike, s as serialize, d as deserialize, U as Underline, c as Link, e as Highlight } from './markdown-3b17cc9b.js';
5
5
  import { EditorContainer, ToolbarContainer, Toolbar, ToolbarButtonFocused, ToolbarButton, EditorInput } from './components/OrRichTextEditorV3/styles.js';
6
6
  import { c as commonjsGlobal } from './_commonjsHelpers-1789f0cf.js';
7
7
  import { Formats } from './components/OrRichTextEditorV3/props.js';
@@ -1,5 +1,5 @@
1
- import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-1658b1a2.js';
2
- export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-1658b1a2.js';
1
+ import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-667a8827.js';
2
+ export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-667a8827.js';
3
3
  import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
4
4
  import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
5
5
 
@@ -1,2 +1,2 @@
1
1
  export { Formats } from './props.js';
2
- export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-1658b1a2.js';
2
+ export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-667a8827.js';
@@ -1,2 +1,2 @@
1
- export { d as deserialize, s as serialize } from '../../../markdown-7d2cd3a5.js';
1
+ export { d as deserialize, s as serialize } from '../../../markdown-3b17cc9b.js';
2
2
  import '../../../index-f671afe5.js';
@@ -1,6 +1,6 @@
1
- import { s as script } from '../../OrTabs.vue_vue_type_script_lang-fabab6e0.js';
2
- export { s as default } from '../../OrTabs.vue_vue_type_script_lang-fabab6e0.js';
3
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString, createVNode, createCommentVNode, renderSlot } from 'vue';
1
+ import { s as script } from '../../OrTabs.vue_vue_type_script_lang-e1b245b2.js';
2
+ export { s as default } from '../../OrTabs.vue_vue_type_script_lang-e1b245b2.js';
3
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode } from 'vue';
4
4
 
5
5
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6
6
  const _component_OrTab = resolveComponent("OrTab");
@@ -19,7 +19,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
19
19
  selected: tab.value === _ctx.proxyModelValue,
20
20
  onClick: withModifiers($event => _ctx.proxyModelValue = tab.value, ["stop"])
21
21
  }, {
22
- default: withCtx(() => [createTextVNode(toDisplayString(tab.label), 1 /* TEXT */)]),
22
+ default: withCtx(() => [renderSlot(_ctx.$slots, "tab", {
23
+ tab: tab,
24
+ activeTab: _ctx.activeTab
25
+ }, () => [createTextVNode(toDisplayString(tab.label), 1 /* TEXT */)])]),
23
26
 
24
27
  _: 2 /* DYNAMIC */
25
28
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "onClick"]);
@@ -27,7 +30,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
27
30
  key: 0
28
31
  }, [createVNode(_component_OrTab, {
29
32
  ref: "overflowTab",
30
- onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.overflowMenu.open(), ["stop"]))
33
+ onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.overflowMenu && _ctx.overflowMenu.open(), ["stop"]))
31
34
  }, {
32
35
  default: withCtx(() => [createVNode(_component_OrIcon, {
33
36
  icon: 'more_horiz',
@@ -43,7 +46,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
43
46
  key: tab.value,
44
47
  onClick: withModifiers($event => {
45
48
  _ctx.proxyModelValue = tab.value;
46
- _ctx.overflowMenu.close();
49
+ _ctx.overflowMenu && _ctx.overflowMenu.close();
47
50
  }, ["stop"])
48
51
  }, {
49
52
  default: withCtx(() => [createTextVNode(toDisplayString(tab.label), 1 /* TEXT */)]),
@@ -1,2 +1,2 @@
1
1
  export { TabsVariant } from './props.js';
2
- export { s as OrTabsV3 } from '../../OrTabs.vue_vue_type_script_lang-fabab6e0.js';
2
+ export { s as OrTabsV3 } from '../../OrTabs.vue_vue_type_script_lang-e1b245b2.js';
@@ -2,7 +2,7 @@ const TabsRoot = [
2
2
  // Layout
3
3
  'grid', 'grid-flow-col', 'items-center',
4
4
  // Box
5
- 'overflow-hidden', 'flex-shrink-0',
5
+ 'shrink-0',
6
6
  // Spacing
7
7
  'gap-lg',
8
8
  // Theme
@@ -19,7 +19,7 @@ const TabsContainer = [
19
19
  // Layout
20
20
  'layout-column',
21
21
  // Box
22
- 'h-full', 'overflow-hidden',
22
+ 'h-full',
23
23
  // Spacing
24
24
  'gap-lg'];
25
25
  const TabsContent = [
@@ -132,7 +132,7 @@ export { s as OrRadioGroupV3 } from '../OrRadioGroup.vue_vue_type_script_lang-8f
132
132
  export { s as OrRadioV3 } from '../OrRadio.vue_vue_type_script_lang-750ce51f.js';
133
133
  export { s as OrResizeablePanelV3 } from '../OrResizeablePanel.vue_vue_type_script_lang-7f801e52.js';
134
134
  export { ResizeablePanelPadding, ResizeablePanelPlacement, ResizeablePanelPadding as SidebarPadding } from './OrResizeablePanelV3/props.js';
135
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-1658b1a2.js';
135
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-667a8827.js';
136
136
  export { Formats } from './OrRichTextEditorV3/props.js';
137
137
  export { s as OrSearch } from '../OrSearch.vue_vue_type_script_lang-89527d71.js';
138
138
  export { s as OrSearchV3 } from '../OrSearch.vue_vue_type_script_lang-12a88f3e.js';
@@ -160,7 +160,7 @@ export { s as OrTab } from '../OrTab.vue_vue_type_script_lang-d9ee65b6.js';
160
160
  export { s as OrTabHeaderItem } from '../OrTabHeaderItem.vue_vue_type_script_lang-e1a0b91f.js';
161
161
  export { s as OrTabV3 } from '../OrTab.vue_vue_type_script_lang-a300956d.js';
162
162
  export { s as OrTabs } from '../OrTabs.vue_vue_type_script_lang-9129d34b.js';
163
- export { s as OrTabsV3 } from '../OrTabs.vue_vue_type_script_lang-fabab6e0.js';
163
+ export { s as OrTabsV3 } from '../OrTabs.vue_vue_type_script_lang-e1b245b2.js';
164
164
  export { TabsVariant } from './OrTabsV3/props.js';
165
165
  export { s as OrTag } from '../OrTag.vue_vue_type_script_lang-b62c0b79.js';
166
166
  export { s as OrTagInputV3 } from '../OrTagInput.vue_vue_type_script_lang-a8bd77c7.js';