@onereach/ui-components 5.5.2-beta.3210.0 → 5.6.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 (87) hide show
  1. package/dist/bundled/v2/components/OrCode/OrCode.js +4 -4
  2. package/dist/bundled/v2/components/OrCode/index.d.ts +1 -0
  3. package/dist/bundled/v2/components/OrCode/index.js +2 -0
  4. package/dist/bundled/v2/components/OrCode/lang.js +2 -1
  5. package/dist/bundled/v2/components/OrCode/libs.d.ts +5 -0
  6. package/dist/bundled/v2/components/OrCode/libs.js +2 -0
  7. package/dist/bundled/v2/components/OrCode/theme.js +1 -1
  8. package/dist/bundled/v2/components/OrCodeV3/OrCode.js +4 -3
  9. package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -7
  10. package/dist/bundled/v2/components/OrTagsV3/OrTags.vue.d.ts +0 -12
  11. package/dist/bundled/v2/components/OrTagsV3/index.d.ts +0 -1
  12. package/dist/bundled/v2/components/OrTagsV3/index.js +0 -1
  13. package/dist/bundled/v2/components/OrTagsV3/styles.d.ts +0 -2
  14. package/dist/bundled/v2/components/OrTagsV3/styles.js +5 -11
  15. package/dist/bundled/v2/components/index.js +2 -1
  16. package/dist/bundled/{v3/index-00991c6e.js → v2/index-02646e58.js} +229 -3
  17. package/dist/bundled/v2/index-3d38888c.js +2284 -0
  18. package/dist/bundled/{v3/index-40a6d6e0.js → v2/index-5915e78f.js} +2181 -4433
  19. package/dist/bundled/v2/{index-51f352b6.js → index-6617e2a7.js} +1 -1
  20. package/dist/bundled/v2/index.js +2 -1
  21. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-97567727.js → OrCode.vue_vue_type_script_lang-b8b2b714.js} +4 -3
  22. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-0d7e3257.js → OrCode.vue_vue_type_script_lang-dce07d9f.js} +2 -2
  23. package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-ef8d0d01.js → OrTagInput.vue_vue_type_script_lang-f215bf69.js} +1 -1
  24. package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-f0bb0463.js → OrTags.vue_vue_type_script_lang-bb2c2245.js} +2 -7
  25. package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
  26. package/dist/bundled/v3/components/OrCode/index.d.ts +1 -0
  27. package/dist/bundled/v3/components/OrCode/index.js +3 -1
  28. package/dist/bundled/v3/components/OrCode/lang.js +2 -1
  29. package/dist/bundled/v3/components/OrCode/libs.d.ts +5 -0
  30. package/dist/bundled/v3/components/OrCode/libs.js +2 -0
  31. package/dist/bundled/v3/components/OrCode/theme.js +1 -1
  32. package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
  33. package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
  34. package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +2 -2
  35. package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
  36. package/dist/bundled/v3/components/OrTagsV3/OrTags.js +2 -2
  37. package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +0 -10
  38. package/dist/bundled/v3/components/OrTagsV3/index.d.ts +0 -1
  39. package/dist/bundled/v3/components/OrTagsV3/index.js +1 -2
  40. package/dist/bundled/v3/components/OrTagsV3/styles.d.ts +0 -2
  41. package/dist/bundled/v3/components/OrTagsV3/styles.js +5 -11
  42. package/dist/bundled/v3/components/index.js +6 -5
  43. package/dist/bundled/{v2/index-00991c6e.js → v3/index-02646e58.js} +229 -3
  44. package/dist/bundled/v3/index-3d38888c.js +2284 -0
  45. package/dist/bundled/{v2/index-40a6d6e0.js → v3/index-5915e78f.js} +2181 -4433
  46. package/dist/bundled/v3/{index-51f352b6.js → index-6617e2a7.js} +1 -1
  47. package/dist/bundled/v3/index.js +6 -5
  48. package/dist/esm/v2/{OrCode-34234c09.js → OrCode-ad753142.js} +5 -4
  49. package/dist/esm/v2/{OrTagInput-05af802f.js → OrTagInput-fcc06827.js} +1 -1
  50. package/dist/esm/v2/{OrTags-216a8a05.js → OrTags-43597f24.js} +6 -20
  51. package/dist/esm/v2/components/index.js +8 -7
  52. package/dist/esm/v2/components/or-code/index.d.ts +1 -0
  53. package/dist/esm/v2/components/or-code/index.js +6 -5
  54. package/dist/esm/v2/components/or-code/libs.d.ts +5 -0
  55. package/dist/esm/v2/components/or-tag-input-v3/index.js +2 -2
  56. package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +0 -12
  57. package/dist/esm/v2/components/or-tags-v3/index.d.ts +0 -1
  58. package/dist/esm/v2/components/or-tags-v3/index.js +1 -1
  59. package/dist/esm/v2/components/or-tags-v3/styles.d.ts +0 -2
  60. package/dist/esm/v2/index.js +8 -7
  61. package/dist/esm/v3/{OrCode-0aadc737.js → OrCode-a4ec2041.js} +3 -2
  62. package/dist/esm/v3/{OrTagInput-5e866ea3.js → OrTagInput-313e738c.js} +1 -1
  63. package/dist/esm/v3/{OrTags-2be5eb09.js → OrTags-14b3eb12.js} +6 -20
  64. package/dist/esm/v3/components/index.js +8 -7
  65. package/dist/esm/v3/components/or-code/index.d.ts +1 -0
  66. package/dist/esm/v3/components/or-code/index.js +6 -5
  67. package/dist/esm/v3/components/or-code/libs.d.ts +5 -0
  68. package/dist/esm/v3/components/or-tag-input-v3/index.js +2 -2
  69. package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +0 -10
  70. package/dist/esm/v3/components/or-tags-v3/index.d.ts +0 -1
  71. package/dist/esm/v3/components/or-tags-v3/index.js +1 -1
  72. package/dist/esm/v3/components/or-tags-v3/styles.d.ts +0 -2
  73. package/dist/esm/v3/index.js +8 -7
  74. package/package.json +3 -2
  75. package/src/components/or-code/OrCode.vue +2 -1
  76. package/src/components/or-code/index.ts +1 -0
  77. package/src/components/or-code/libs.ts +7 -0
  78. package/src/components/or-tags-v3/OrTags.vue +1 -8
  79. package/src/components/or-tags-v3/index.ts +0 -1
  80. package/src/components/or-tags-v3/styles.ts +6 -14
  81. package/dist/bundled/v2/components/OrTagsV3/props.d.ts +0 -4
  82. package/dist/bundled/v2/components/OrTagsV3/props.js +0 -7
  83. package/dist/bundled/v3/components/OrTagsV3/props.d.ts +0 -4
  84. package/dist/bundled/v3/components/OrTagsV3/props.js +0 -7
  85. package/dist/esm/v2/components/or-tags-v3/props.d.ts +0 -4
  86. package/dist/esm/v3/components/or-tags-v3/props.d.ts +0 -4
  87. package/src/components/or-tags-v3/props.ts +0 -4
@@ -15,7 +15,12 @@ export { s as OrCheckboxTreeV3 } from './OrCheckboxTree-f6becd09.js';
15
15
  export { s as OrCheckboxV3 } from './OrCheckbox-9f821a86.js';
16
16
  export { s as OrChip } from './OrChip-74e27265.js';
17
17
  export { s as OrChips } from './OrChips-348b13e4.js';
18
- export { s as OrCode, O as OrCodeLanguages } from './OrCode-0aadc737.js';
18
+ export { s as OrCode, O as OrCodeLanguages } from './OrCode-a4ec2041.js';
19
+ export { basicSetup } from 'codemirror';
20
+ export { lintGutter, linter } from '@codemirror/lint';
21
+ export { javascript } from '@codemirror/lang-javascript';
22
+ export { json, jsonParseLinter } from '@codemirror/lang-json';
23
+ export { html } from '@codemirror/lang-html';
19
24
  export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-bab4d0a1.js';
20
25
  export { s as OrCollapse } from './OrCollapse-d7c0afae.js';
21
26
  export { s 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-252f482b.js';
@@ -97,9 +102,9 @@ export { s as OrTabV3 } from './OrTab-2d567d8e.js';
97
102
  export { s as OrTabs } from './OrTabs-3da3ea89.js';
98
103
  export { s as OrTabsV3, T as TabsVariant } from './OrTabs-7d2f3587.js';
99
104
  export { s as OrTag } from './OrTag-1b3b1296.js';
100
- export { s as OrTagInputV3 } from './OrTagInput-5e866ea3.js';
105
+ export { s as OrTagInputV3 } from './OrTagInput-313e738c.js';
101
106
  export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-6d177cf7.js';
102
- export { s as OrTagsV3, T as TagsOverflow } from './OrTags-2be5eb09.js';
107
+ export { s as OrTagsV3 } from './OrTags-14b3eb12.js';
103
108
  export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
104
109
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
105
110
  export { s as OrTextV3 } from './OrText-d54c951d.js';
@@ -140,11 +145,7 @@ import '@onereach/styles/tailwind.config.json';
140
145
  import '@codemirror/state';
141
146
  import '@codemirror/view';
142
147
  import '@codemirror/commands';
143
- import 'codemirror';
144
- import '@codemirror/lang-html';
145
148
  import '@codemirror/lang-css';
146
- import '@codemirror/lang-json';
147
- import '@codemirror/lang-javascript';
148
149
  import '@codemirror/lang-markdown';
149
150
  import '@codemirror/language';
150
151
  import '@lezer/highlight';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "5.5.2-beta.3210.0",
3
+ "version": "5.6.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -156,5 +156,6 @@
156
156
  "default": "./dist/bundled/v3/components/*/index.js"
157
157
  },
158
158
  "./package.json": "./package.json"
159
- }
159
+ },
160
+ "gitHead": "890c17852130db09dd2239b104786a265453ae81"
160
161
  }
@@ -85,7 +85,7 @@ import { Language, LanguageSupport } from '@codemirror/language';
85
85
  import { EditorState, Extension, Transaction } from '@codemirror/state';
86
86
  import { ViewUpdate, keymap } from '@codemirror/view';
87
87
  import { indentWithTab } from '@codemirror/commands';
88
- import { basicSetup, EditorView } from 'codemirror';
88
+ import { EditorView } from 'codemirror';
89
89
  import { useElementHover } from '@vueuse/core';
90
90
  import { defineComponent, PropType, ref, Ref } from 'vue-demi';
91
91
  import { OrIconButton } from '../or-button-v2';
@@ -95,6 +95,7 @@ import { OrLabel } from '../or-label';
95
95
  import { OrModal } from '../or-modal';
96
96
  import { OrTeleport } from '../or-teleport';
97
97
  import { OrCodeLanguages } from './constants';
98
+ import { basicSetup } from './libs';
98
99
  import languages from './lang';
99
100
  import orCodeTheme from './theme';
100
101
 
@@ -1,2 +1,3 @@
1
1
  export { default as OrCode } from './OrCode.vue';
2
2
  export * from './constants';
3
+ export * from './libs';
@@ -0,0 +1,7 @@
1
+ // used in the bundled expression-components
2
+
3
+ export { basicSetup } from 'codemirror';
4
+ export { linter, lintGutter } from '@codemirror/lint';
5
+ export { javascript } from '@codemirror/lang-javascript';
6
+ export { json, jsonParseLinter } from '@codemirror/lang-json';
7
+ export { html } from '@codemirror/lang-html';
@@ -54,8 +54,7 @@ import { useOverflow } from '../../hooks';
54
54
  import { OrButtonV3 as OrButton } from '../or-button-v3';
55
55
  import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
56
56
  import { OrTagV3 as OrTag } from '../or-tag-v3';
57
- import { TagsOverflow } from './props';
58
- import { Tags, TagsContainer, TagsContainerOverflows, TagsOverflowButton, TagsOverflowPopover } from './styles';
57
+ import { Tags, TagsContainer, TagsOverflowButton, TagsOverflowPopover } from './styles';
59
58
 
60
59
  export default defineComponent({
61
60
  name: 'OrTags',
@@ -72,11 +71,6 @@ export default defineComponent({
72
71
  default: () => [],
73
72
  },
74
73
 
75
- overflow: {
76
- type: String as PropType<`${TagsOverflow}`>,
77
- default: TagsOverflow.Default,
78
- },
79
-
80
74
  tagProps: {
81
75
  type: Object as PropType<InstanceType<typeof OrTag>['$props']>,
82
76
  default: undefined,
@@ -114,7 +108,6 @@ export default defineComponent({
114
108
 
115
109
  const containerStyles = computed(() => [
116
110
  ...TagsContainer,
117
- ...TagsContainerOverflows[props.overflow],
118
111
  ]);
119
112
 
120
113
  const overflowButtonStyles = computed(() => [
@@ -1,2 +1 @@
1
1
  export { default as OrTagsV3 } from './OrTags.vue';
2
- export * from './props';
@@ -1,9 +1,10 @@
1
- import { TagsOverflow } from './props';
2
-
3
1
  export const Tags: string[] = [
4
2
  // Layout
5
3
  'layout-row',
6
4
 
5
+ // Overflow
6
+ 'overflow-hidden',
7
+
7
8
  // Spacing
8
9
  'gap-sm',
9
10
 
@@ -16,22 +17,13 @@ export const TagsContainer: string[] = [
16
17
  // Layout
17
18
  'layout-row',
18
19
 
20
+ // Overflow
21
+ 'overflow-hidden',
22
+
19
23
  // Spacing
20
24
  'gap-sm',
21
25
  ];
22
26
 
23
- export const TagsContainerOverflows: Record<TagsOverflow, string[]> = {
24
- [TagsOverflow.Default]: [
25
- // Overflow
26
- 'overflow-hidden',
27
- ],
28
-
29
- [TagsOverflow.Wrap]: [
30
- // Layout
31
- '!flex-wrap',
32
- ],
33
- };
34
-
35
27
  export const TagsOverflowButton: string[] = [
36
28
  // Typography
37
29
  'typography-caption-regular',
@@ -1,4 +0,0 @@
1
- export declare enum TagsOverflow {
2
- Default = "default",
3
- Wrap = "wrap"
4
- }
@@ -1,7 +0,0 @@
1
- var TagsOverflow;
2
- (function (TagsOverflow) {
3
- TagsOverflow["Default"] = "default";
4
- TagsOverflow["Wrap"] = "wrap";
5
- })(TagsOverflow || (TagsOverflow = {}));
6
-
7
- export { TagsOverflow };
@@ -1,4 +0,0 @@
1
- export declare enum TagsOverflow {
2
- Default = "default",
3
- Wrap = "wrap"
4
- }
@@ -1,7 +0,0 @@
1
- var TagsOverflow;
2
- (function (TagsOverflow) {
3
- TagsOverflow["Default"] = "default";
4
- TagsOverflow["Wrap"] = "wrap";
5
- })(TagsOverflow || (TagsOverflow = {}));
6
-
7
- export { TagsOverflow };
@@ -1,4 +0,0 @@
1
- export declare enum TagsOverflow {
2
- Default = "default",
3
- Wrap = "wrap"
4
- }
@@ -1,4 +0,0 @@
1
- export declare enum TagsOverflow {
2
- Default = "default",
3
- Wrap = "wrap"
4
- }
@@ -1,4 +0,0 @@
1
- export enum TagsOverflow {
2
- Default = 'default',
3
- Wrap = 'wrap',
4
- }