@onereach/ui-components-vue2 19.4.1 → 19.5.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 (38) hide show
  1. package/dist/bundled/components/OrDrawerV3/OrDrawer.js +1 -1
  2. package/dist/bundled/components/OrIndicatorV3/OrIndicator.js +90 -0
  3. package/dist/bundled/components/OrIndicatorV3/OrIndicator.vue.d.ts +2 -0
  4. package/dist/bundled/components/OrIndicatorV3/index.d.ts +2 -0
  5. package/dist/bundled/components/OrIndicatorV3/index.js +2 -0
  6. package/dist/bundled/components/OrIndicatorV3/props.d.ts +14 -0
  7. package/dist/bundled/components/OrIndicatorV3/props.js +18 -0
  8. package/dist/bundled/components/OrIndicatorV3/styles.d.ts +4 -0
  9. package/dist/bundled/components/OrIndicatorV3/styles.js +50 -0
  10. package/dist/bundled/components/OrNotificationV3/OrNotification.js +22 -27
  11. package/dist/bundled/components/OrNotificationV3/index.js +1 -1
  12. package/dist/bundled/components/OrNotificationV3/props.d.ts +3 -0
  13. package/dist/bundled/components/OrNotificationV3/props.js +7 -1
  14. package/dist/bundled/components/OrNotificationV3/styles.d.ts +0 -2
  15. package/dist/bundled/components/OrNotificationV3/styles.js +1 -16
  16. package/dist/bundled/components/OrPopoverV3/utils/isPrevented.js +3 -0
  17. package/dist/bundled/components/OrStatusV3/OrStatus.js +31 -6
  18. package/dist/bundled/components/OrStatusV3/styles.d.ts +0 -2
  19. package/dist/bundled/components/OrStatusV3/styles.js +1 -25
  20. package/dist/bundled/components/index.d.ts +1 -0
  21. package/dist/bundled/components/index.js +3 -1
  22. package/dist/bundled/index.js +4 -2
  23. package/dist/esm/components/index.d.ts +1 -0
  24. package/dist/esm/components/index.js +2 -1
  25. package/dist/esm/components/or-drawer-v3/index.js +1 -1
  26. package/dist/esm/components/or-indicator-v3/OrIndicator.vue.d.ts +2 -0
  27. package/dist/esm/components/or-indicator-v3/index.d.ts +2 -0
  28. package/dist/esm/components/or-indicator-v3/index.js +151 -0
  29. package/dist/esm/components/or-indicator-v3/props.d.ts +14 -0
  30. package/dist/esm/components/or-indicator-v3/styles.d.ts +4 -0
  31. package/dist/esm/components/or-notification-v3/index.js +27 -41
  32. package/dist/esm/components/or-notification-v3/props.d.ts +3 -0
  33. package/dist/esm/components/or-notification-v3/styles.d.ts +0 -2
  34. package/dist/esm/components/or-popover-v3/utils/index.js +3 -0
  35. package/dist/esm/components/or-status-v3/index.js +30 -29
  36. package/dist/esm/components/or-status-v3/styles.d.ts +0 -2
  37. package/dist/esm/index.js +2 -1
  38. package/package.json +3 -3
@@ -50,6 +50,7 @@ export * from './or-icon';
50
50
  export * from './or-icon-button-v2';
51
51
  export * from './or-icon-button-v3';
52
52
  export * from './or-icon-v3';
53
+ export * from './or-indicator-v3';
53
54
  export * from './or-inline-input-box-v3';
54
55
  export * from './or-inline-input-v3';
55
56
  export * from './or-inline-text-edit';
@@ -66,6 +66,7 @@ export { OrHintV3 } from './or-hint-v3/index.js';
66
66
  export { OrIcon, OrIconColors, OrIconType } from './or-icon/index.js';
67
67
  export { IconButtonColor, OrIconButtonV3 } from './or-icon-button-v3/index.js';
68
68
  export { IconSize, IconVariant, OrIconV3 } from './or-icon-v3/index.js';
69
+ export { IndicatorColor, IndicatorSize, OrIndicatorV3 } from './or-indicator-v3/index.js';
69
70
  export { InlineInputBoxSize, OrInlineInputBoxV3 } from './or-inline-input-box-v3/index.js';
70
71
  export { InlineInputType, OrInlineInputV3 } from './or-inline-input-v3/index.js';
71
72
  export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './or-inline-text-edit/index.js';
@@ -88,7 +89,7 @@ export { OrMenuV3 } from './or-menu-v3/index.js';
88
89
  export { OrModal, OrModalSizes } from './or-modal/index.js';
89
90
  export { ModalSize, OrModalV3 } from './or-modal-v3/index.js';
90
91
  export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE, OrNotification } from './or-notification/index.js';
91
- export { NotificationVariant, OrNotificationV3 } from './or-notification-v3/index.js';
92
+ export { NotificationVariant, OrNotificationV3, VariantToIconName } from './or-notification-v3/index.js';
92
93
  export { OrNumberInput } from './or-number-input/index.js';
93
94
  export { OrOverflowMenu } from './or-overflow-menu/index.js';
94
95
  export { OrOverlay } from './or-overlay/index.js';
@@ -100,7 +100,7 @@ var script = defineComponent({
100
100
  // Effects
101
101
  onClickOutside(root, event => {
102
102
  const path = event.composedPath();
103
- const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3'];
103
+ const ignoreClasses = ['or-popover-v3', 'or-bottom-sheet-v3', 'or-modal-v3', 'or-confirm-v3'];
104
104
  if (!path.some(({
105
105
  classList
106
106
  }) => ignoreClasses.some(ignoreClass => classList === null || classList === void 0 ? void 0 : classList.contains(ignoreClass)))) {
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as OrIndicatorV3 } from './OrIndicator.vue';
2
+ export * from './props';
@@ -0,0 +1,151 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { OrIconV3 as __vue_component__$1, IconVariant, IconSize } from '../or-icon-v3/index.js';
3
+ import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
4
+
5
+ var IndicatorColor;
6
+ (function (IndicatorColor) {
7
+ IndicatorColor["Success"] = "success";
8
+ IndicatorColor["Neutral"] = "neutral";
9
+ IndicatorColor["Warning"] = "warning";
10
+ IndicatorColor["Outline"] = "outline";
11
+ IndicatorColor["Error"] = "error";
12
+ IndicatorColor["Inherit"] = "inherit";
13
+ })(IndicatorColor || (IndicatorColor = {}));
14
+ var IndicatorSize;
15
+ (function (IndicatorSize) {
16
+ IndicatorSize["XL"] = "xl";
17
+ IndicatorSize["L"] = "l";
18
+ IndicatorSize["M"] = "m";
19
+ IndicatorSize["S"] = "s";
20
+ })(IndicatorSize || (IndicatorSize = {}));
21
+
22
+ const IndicatorShape = {
23
+ [IndicatorSize.XL]: [
24
+ // Layout
25
+ 'shrink-0',
26
+ // Box
27
+ 'w-[24px]', 'h-[24px]',
28
+ // Shape
29
+ 'rounded-full'],
30
+ [IndicatorSize.L]: [
31
+ // Layout
32
+ 'shrink-0',
33
+ // Box
34
+ 'w-[20px]', 'h-[20px]',
35
+ // Shape
36
+ 'rounded-full'],
37
+ [IndicatorSize.M]: [
38
+ // Layout
39
+ 'shrink-0',
40
+ // Box
41
+ 'w-[16px]', 'h-[16px]',
42
+ // Shape
43
+ 'rounded-full'],
44
+ [IndicatorSize.S]: [
45
+ // Layout
46
+ 'shrink-0',
47
+ // Box
48
+ 'w-[8px]', 'h-[8px]',
49
+ // Shape
50
+ 'rounded-full']
51
+ };
52
+ const IndicatorThemes = {
53
+ [IndicatorColor.Error]: ['theme-foreground-on-error', 'dark:theme-foreground-on-error-dark', 'theme-background-error', 'dark:theme-background-error-dark'],
54
+ [IndicatorColor.Neutral]: ['theme-foreground-on-primary', 'dark:theme-foreground-on-primary-dark', 'theme-background-primary', 'dark:theme-background-primary-dark'],
55
+ [IndicatorColor.Inherit]: [],
56
+ [IndicatorColor.Outline]: ['theme-foreground-on-secondary', 'dark:theme-foreground-on-secondary-dark', 'theme-background-secondary', 'dark:theme-background-secondary-dark'],
57
+ [IndicatorColor.Success]: ['theme-foreground-on-success', 'dark:theme-foreground-on-success-dark', 'theme-background-success', 'dark:theme-background-success-dark'],
58
+ [IndicatorColor.Warning]: ['theme-foreground-on-warning', 'dark:theme-foreground-on-warning-dark', 'theme-background-warning', 'dark:theme-background-warning-dark']
59
+ };
60
+ const IndicatorIconThemes = {
61
+ [IndicatorColor.Error]: ['theme-foreground-error', 'dark:theme-foreground-error-dark'],
62
+ [IndicatorColor.Neutral]: ['theme-foreground-primary', 'dark:theme-foreground-primary-dark'],
63
+ [IndicatorColor.Inherit]: [],
64
+ [IndicatorColor.Outline]: ['theme-foreground-secondary', 'dark:theme-foreground-secondary-dark'],
65
+ [IndicatorColor.Success]: ['theme-foreground-success', 'dark:theme-foreground-success-dark'],
66
+ [IndicatorColor.Warning]: ['theme-foreground-warning', 'dark:theme-foreground-warning-dark']
67
+ };
68
+
69
+ var script = defineComponent({
70
+ name: 'OrIndicator',
71
+ components: {
72
+ OrIcon: __vue_component__$1
73
+ },
74
+ props: {
75
+ size: {
76
+ type: String,
77
+ default: () => IndicatorSize.M
78
+ },
79
+ color: {
80
+ type: String,
81
+ default: IndicatorColor.Neutral
82
+ },
83
+ icon: {
84
+ type: [String, Object, undefined],
85
+ default: undefined
86
+ }
87
+ },
88
+ setup(props) {
89
+ // Refs
90
+ const root = ref();
91
+ // Styles
92
+ const rootStyles = computed(() => ['or-indicator-v3', ...(!props.icon ? IndicatorShape[props.size] : []), ...(!props.icon ? IndicatorThemes[props.color] : [])]);
93
+ const iconContainerStyles = computed(() => [...IndicatorIconThemes[props.color]]);
94
+ // Icon props
95
+ const iconProps = computed(() => {
96
+ return typeof props.icon === 'string' ? {
97
+ icon: props.icon,
98
+ variant: IconVariant.Inherit,
99
+ size: props.size === IndicatorSize.S ? IconSize.M : props.size
100
+ } : {
101
+ variant: IconVariant.Inherit,
102
+ size: props.size === IndicatorSize.S ? IconSize.M : props.size,
103
+ ...props.icon
104
+ };
105
+ });
106
+ return {
107
+ iconContainerStyles,
108
+ iconProps,
109
+ root,
110
+ rootStyles
111
+ };
112
+ }
113
+ });
114
+
115
+ /* script */
116
+ const __vue_script__ = script;
117
+
118
+ /* template */
119
+ var __vue_render__ = function () {
120
+ var _vm = this;
121
+ var _h = _vm.$createElement;
122
+ var _c = _vm._self._c || _h;
123
+ return _c('div', {
124
+ ref: 'root',
125
+ class: _vm.rootStyles
126
+ }, [_vm.icon ? _c('OrIcon', _vm._b({
127
+ class: _vm.iconContainerStyles
128
+ }, 'OrIcon', _vm.iconProps, false)) : _vm._e()], 1);
129
+ };
130
+ var __vue_staticRenderFns__ = [];
131
+
132
+ /* style */
133
+ const __vue_inject_styles__ = undefined;
134
+ /* scoped */
135
+ const __vue_scope_id__ = undefined;
136
+ /* module identifier */
137
+ const __vue_module_identifier__ = undefined;
138
+ /* functional template */
139
+ const __vue_is_functional_template__ = false;
140
+ /* style inject */
141
+
142
+ /* style inject SSR */
143
+
144
+ /* style inject shadow dom */
145
+
146
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
147
+ render: __vue_render__,
148
+ staticRenderFns: __vue_staticRenderFns__
149
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
150
+
151
+ export { IndicatorColor, IndicatorSize, __vue_component__ as OrIndicatorV3 };
@@ -0,0 +1,14 @@
1
+ export declare enum IndicatorColor {
2
+ Success = "success",
3
+ Neutral = "neutral",
4
+ Warning = "warning",
5
+ Outline = "outline",
6
+ Error = "error",
7
+ Inherit = "inherit"
8
+ }
9
+ export declare enum IndicatorSize {
10
+ XL = "xl",
11
+ L = "l",
12
+ M = "m",
13
+ S = "s"
14
+ }
@@ -0,0 +1,4 @@
1
+ import { IndicatorColor, IndicatorSize } from './props';
2
+ export declare const IndicatorShape: Record<IndicatorSize, string[]>;
3
+ export declare const IndicatorThemes: Record<IndicatorColor, string[]>;
4
+ export declare const IndicatorIconThemes: Record<IndicatorColor, string[]>;
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { OrIconButtonV3 as __vue_component__$2 } from '../or-icon-button-v3/index.js';
3
- import { OrIconV3 as __vue_component__$1 } from '../or-icon-v3/index.js';
3
+ import { OrIndicatorV3 as __vue_component__$1, IndicatorColor } from '../or-indicator-v3/index.js';
4
4
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
5
5
  import '../../constants-873d04a2.js';
6
+ import '../or-icon-v3/index.js';
6
7
  import '../or-tooltip-v3/index.js';
7
8
  import '../../types/index.js';
8
9
  import '../../dom-11141778.js';
@@ -32,6 +33,12 @@ var NotificationVariant;
32
33
  NotificationVariant["Error"] = "error";
33
34
  NotificationVariant["Info"] = "info";
34
35
  })(NotificationVariant || (NotificationVariant = {}));
36
+ const VariantToIconName = {
37
+ [NotificationVariant.Success]: 'check_circle',
38
+ [NotificationVariant.Warning]: 'warning',
39
+ [NotificationVariant.Error]: 'error',
40
+ [NotificationVariant.Info]: 'info'
41
+ };
35
42
 
36
43
  const Notification = [
37
44
  // Layout
@@ -70,26 +77,11 @@ const NotificationVariants = {
70
77
  // Theme (children)
71
78
  '[&_:any-link]:theme-foreground-primary', 'dark:[&_:any-link]:theme-foreground-primary-dark']
72
79
  };
73
- const NotificationIcon = [];
74
- const NotificationIconVariants = {
75
- [NotificationVariant.Success]: [
76
- // Theme
77
- 'theme-foreground-success', 'dark:theme-foreground-success-dark'],
78
- [NotificationVariant.Warning]: [
79
- // Theme
80
- 'theme-foreground-warning', 'dark:theme-foreground-warning-dark'],
81
- [NotificationVariant.Error]: [
82
- // Theme
83
- 'theme-foreground-error', 'dark:theme-foreground-error-dark'],
84
- [NotificationVariant.Info]: [
85
- // Theme
86
- 'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
87
- };
88
80
 
89
81
  var script = defineComponent({
90
82
  name: 'OrNotification',
91
83
  components: {
92
- OrIcon: __vue_component__$1,
84
+ OrIndicator: __vue_component__$1,
93
85
  OrIconButton: __vue_component__$2
94
86
  },
95
87
  props: {
@@ -108,26 +100,26 @@ var script = defineComponent({
108
100
  const root = ref();
109
101
  // Styles
110
102
  const rootStyles = computed(() => ['or-notification-v3', ...Notification, ...NotificationVariants[props.variant]]);
111
- const iconStyles = computed(() => [...NotificationIcon, ...NotificationIconVariants[props.variant]]);
112
- // State
113
- // eslint-disable-next-line vue/return-in-computed-property
114
- const icon = computed(() => {
115
- switch (props.variant) {
116
- case 'success':
117
- return 'check_circle';
118
- case 'warning':
119
- return 'warning';
120
- case 'error':
121
- return 'error';
122
- case 'info':
123
- return 'info';
124
- }
103
+ const indicatorProps = computed(() => {
104
+ const VariantToIndicatorColor = {
105
+ [NotificationVariant.Success]: IndicatorColor.Success,
106
+ [NotificationVariant.Warning]: IndicatorColor.Warning,
107
+ [NotificationVariant.Error]: IndicatorColor.Error,
108
+ [NotificationVariant.Info]: IndicatorColor.Neutral
109
+ };
110
+ return {
111
+ icon: {
112
+ icon: VariantToIconName[props.variant],
113
+ variant: 'filled-bold'
114
+ },
115
+ color: VariantToIndicatorColor[props.variant],
116
+ size: 'm'
117
+ };
125
118
  });
126
119
  return {
127
120
  root,
128
121
  rootStyles,
129
- iconStyles,
130
- icon
122
+ indicatorProps
131
123
  };
132
124
  }
133
125
  });
@@ -145,13 +137,7 @@ var __vue_render__ = function () {
145
137
  class: _vm.rootStyles
146
138
  }, [_c('div', {
147
139
  class: ['mt-[2px] md:mt-[2.5px]']
148
- }, [_c('OrIcon', {
149
- class: _vm.iconStyles,
150
- attrs: {
151
- "icon": _vm.icon,
152
- "variant": 'filled-bold'
153
- }
154
- })], 1), _vm._v(" "), _c('div', {
140
+ }, [_c('OrIndicator', _vm._b({}, 'OrIndicator', _vm.indicatorProps, false))], 1), _vm._v(" "), _c('div', {
155
141
  class: ['grow']
156
142
  }, [_vm._t("default")], 2), _vm._v(" "), _c('div', {
157
143
  class: ['mt-[2px] md:mt-[2.5px]']
@@ -189,4 +175,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
189
175
  staticRenderFns: __vue_staticRenderFns__
190
176
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
191
177
 
192
- export { NotificationVariant, __vue_component__ as OrNotificationV3 };
178
+ export { NotificationVariant, __vue_component__ as OrNotificationV3, VariantToIconName };
@@ -4,3 +4,6 @@ export declare enum NotificationVariant {
4
4
  Error = "error",
5
5
  Info = "info"
6
6
  }
7
+ export declare const VariantToIconName: {
8
+ [key in NotificationVariant]: string;
9
+ };
@@ -1,5 +1,3 @@
1
1
  import { NotificationVariant } from './props';
2
2
  export declare const Notification: string[];
3
3
  export declare const NotificationVariants: Record<NotificationVariant, string[]>;
4
- export declare const NotificationIcon: string[];
5
- export declare const NotificationIconVariants: Record<NotificationVariant, string[]>;
@@ -15,6 +15,9 @@ function isPrevented(path, trigger) {
15
15
  if (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')) {
16
16
  return true;
17
17
  }
18
+ if (classList === null || classList === void 0 ? void 0 : classList.contains('or-confirm-v3')) {
19
+ return true;
20
+ }
18
21
  }
19
22
  return false;
20
23
  });
@@ -1,6 +1,8 @@
1
1
  import { formatTimeAgo } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed } from 'vue-demi';
3
+ import { OrIndicatorV3 as __vue_component__$1, IndicatorColor, IndicatorSize } from '../or-indicator-v3/index.js';
3
4
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
5
+ import '../or-icon-v3/index.js';
4
6
 
5
7
  var StatusVariant;
6
8
  (function (StatusVariant) {
@@ -46,30 +48,6 @@ const StatusSizes = {
46
48
  // Typography
47
49
  'typography-caption-regular']
48
50
  };
49
- const StatusIndicator = [
50
- // Layout
51
- 'shrink-0',
52
- // Box
53
- 'w-[10px] md:w-[8px]', 'h-[10px] md:h-[8px]',
54
- // Shape
55
- 'rounded-full'];
56
- const StatusIndicatorVariants = {
57
- [StatusVariant.Neutral]: [
58
- // Theme
59
- 'theme-background-primary', 'dark:theme-background-primary-dark'],
60
- [StatusVariant.Disabled]: [
61
- // Theme
62
- 'theme-background-current', 'dark:theme-background-current-dark'],
63
- [StatusVariant.Success]: [
64
- // Theme
65
- 'theme-background-success-hover', 'dark:theme-background-success-hover-dark'],
66
- [StatusVariant.Warning]: [
67
- // Theme
68
- 'theme-background-warning-hover', 'dark:theme-background-warning-hover-dark'],
69
- [StatusVariant.Error]: [
70
- // Theme
71
- 'theme-background-error-hover', 'dark:theme-background-error-hover-dark']
72
- };
73
51
  const StatusTimestamp = [
74
52
  // Layout
75
53
  'shrink-0',
@@ -78,6 +56,9 @@ const StatusTimestamp = [
78
56
 
79
57
  var script = defineComponent({
80
58
  name: 'OrStatus',
59
+ components: {
60
+ OrIndicator: __vue_component__$1
61
+ },
81
62
  props: {
82
63
  variant: {
83
64
  type: String,
@@ -98,12 +79,34 @@ var script = defineComponent({
98
79
  const root = ref();
99
80
  // Styles
100
81
  const rootStyles = computed(() => ['or-status-v3', ...Status, ...StatusVariants[props.variant], ...StatusSizes[props.size]]);
101
- const indicatorStyles = computed(() => [...StatusIndicator, ...StatusIndicatorVariants[props.variant]]);
102
82
  const timestampStyles = computed(() => [...StatusTimestamp]);
83
+ const indicatorProps = computed(() => {
84
+ let color;
85
+ switch (props.variant) {
86
+ case StatusVariant.Error:
87
+ color = IndicatorColor.Error;
88
+ break;
89
+ case StatusVariant.Success:
90
+ color = IndicatorColor.Success;
91
+ break;
92
+ case StatusVariant.Warning:
93
+ color = IndicatorColor.Warning;
94
+ break;
95
+ case StatusVariant.Disabled:
96
+ color = IndicatorColor.Outline;
97
+ break;
98
+ default:
99
+ color = IndicatorColor.Neutral;
100
+ }
101
+ return {
102
+ size: IndicatorSize.S,
103
+ color
104
+ };
105
+ });
103
106
  return {
104
107
  root,
105
108
  rootStyles,
106
- indicatorStyles,
109
+ indicatorProps,
107
110
  timestampStyles,
108
111
  formatTimeAgo
109
112
  };
@@ -121,9 +124,7 @@ var __vue_render__ = function () {
121
124
  return _c('div', {
122
125
  ref: 'root',
123
126
  class: _vm.rootStyles
124
- }, [_c('div', {
125
- class: _vm.indicatorStyles
126
- }), _vm._v(" "), _c('span', {
127
+ }, [_c('OrIndicator', _vm._b({}, 'OrIndicator', _vm.indicatorProps, false)), _vm._v(" "), _c('span', {
127
128
  class: ['truncate']
128
129
  }, [_vm._t("default")], 2), _vm._v(" "), _vm.timestamp ? [_c('span', {
129
130
  class: _vm.timestampStyles
@@ -2,6 +2,4 @@ import { StatusSize, StatusVariant } from './props';
2
2
  export declare const Status: string[];
3
3
  export declare const StatusVariants: Record<StatusVariant, string[]>;
4
4
  export declare const StatusSizes: Record<StatusSize, string[]>;
5
- export declare const StatusIndicator: string[];
6
- export declare const StatusIndicatorVariants: Record<StatusVariant, string[]>;
7
5
  export declare const StatusTimestamp: string[];
package/dist/esm/index.js CHANGED
@@ -66,6 +66,7 @@ export { OrHintV3 } from './components/or-hint-v3/index.js';
66
66
  export { OrIcon, OrIconColors, OrIconType } from './components/or-icon/index.js';
67
67
  export { IconButtonColor, OrIconButtonV3 } from './components/or-icon-button-v3/index.js';
68
68
  export { IconSize, IconVariant, OrIconV3 } from './components/or-icon-v3/index.js';
69
+ export { IndicatorColor, IndicatorSize, OrIndicatorV3 } from './components/or-indicator-v3/index.js';
69
70
  export { InlineInputBoxSize, OrInlineInputBoxV3 } from './components/or-inline-input-box-v3/index.js';
70
71
  export { InlineInputType, OrInlineInputV3 } from './components/or-inline-input-v3/index.js';
71
72
  export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './components/or-inline-text-edit/index.js';
@@ -88,7 +89,7 @@ export { OrMenuV3 } from './components/or-menu-v3/index.js';
88
89
  export { OrModal, OrModalSizes } from './components/or-modal/index.js';
89
90
  export { ModalSize, OrModalV3 } from './components/or-modal-v3/index.js';
90
91
  export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE, OrNotification } from './components/or-notification/index.js';
91
- export { NotificationVariant, OrNotificationV3 } from './components/or-notification-v3/index.js';
92
+ export { NotificationVariant, OrNotificationV3, VariantToIconName } from './components/or-notification-v3/index.js';
92
93
  export { OrNumberInput } from './components/or-number-input/index.js';
93
94
  export { OrOverflowMenu } from './components/or-overflow-menu/index.js';
94
95
  export { OrOverlay } from './components/or-overlay/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "19.4.1",
3
+ "version": "19.5.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2",
6
6
  "sideEffects": false,
@@ -35,7 +35,7 @@
35
35
  "@codemirror/view": "^6",
36
36
  "@floating-ui/dom": "1.5.3",
37
37
  "@lezer/highlight": "*",
38
- "@onereach/styles": "^19.4.1",
38
+ "@onereach/styles": "^19.5.0",
39
39
  "@splidejs/splide": "4.0.6",
40
40
  "@tiptap/core": "2.0.3",
41
41
  "@tiptap/extension-blockquote": "2.0.3",
@@ -134,5 +134,5 @@
134
134
  "default": "./dist/bundled/components/*/index.js"
135
135
  }
136
136
  },
137
- "gitHead": "e4d92db0a04d7d6ae57881105d6a1aa9d3d29477"
137
+ "gitHead": "85b030b0fb73e63f9c0b677f35a0e7ab9ad60e8b"
138
138
  }