@onereach/ui-components-vue2 19.4.2 → 19.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 (36) hide show
  1. package/dist/bundled/components/OrDataGridV3/index.js +19 -4
  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 +29 -28
  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/OrStatusV3/OrStatus.js +31 -6
  17. package/dist/bundled/components/OrStatusV3/styles.d.ts +0 -2
  18. package/dist/bundled/components/OrStatusV3/styles.js +1 -25
  19. package/dist/bundled/components/index.d.ts +1 -0
  20. package/dist/bundled/components/index.js +3 -1
  21. package/dist/bundled/index.js +5 -3
  22. package/dist/esm/components/index.d.ts +1 -0
  23. package/dist/esm/components/index.js +2 -1
  24. package/dist/esm/components/or-data-grid-v3/index.js +20 -4
  25. package/dist/esm/components/or-indicator-v3/OrIndicator.vue.d.ts +2 -0
  26. package/dist/esm/components/or-indicator-v3/index.d.ts +2 -0
  27. package/dist/esm/components/or-indicator-v3/index.js +151 -0
  28. package/dist/esm/components/or-indicator-v3/props.d.ts +14 -0
  29. package/dist/esm/components/or-indicator-v3/styles.d.ts +4 -0
  30. package/dist/esm/components/or-notification-v3/index.js +34 -42
  31. package/dist/esm/components/or-notification-v3/props.d.ts +3 -0
  32. package/dist/esm/components/or-notification-v3/styles.d.ts +0 -2
  33. package/dist/esm/components/or-status-v3/index.js +30 -29
  34. package/dist/esm/components/or-status-v3/styles.d.ts +0 -2
  35. package/dist/esm/index.js +2 -1
  36. package/package.json +3 -3
@@ -15,6 +15,7 @@ import { DataGrid } from './styles.js';
15
15
  import __vue_component__$D from '../OrPaginationV3/OrPagination.js';
16
16
  import __vue_component__$E from '../OrSearchV3/OrSearch.js';
17
17
  import __vue_component__$F from '../OrSkeletonTextV3/OrSkeletonText.js';
18
+ import __vue_component__$G from '../OrNotificationV3/OrNotification.js';
18
19
 
19
20
  const DataGridFooter = [
20
21
  // Layout
@@ -1283,7 +1284,8 @@ var script = defineComponent({
1283
1284
  OrDataGridToolbar: __vue_component__$2,
1284
1285
  OrPagination: __vue_component__$D,
1285
1286
  OrSearch: __vue_component__$E,
1286
- OrSkeletonText: __vue_component__$F
1287
+ OrSkeletonText: __vue_component__$F,
1288
+ OrNotification: __vue_component__$G
1287
1289
  },
1288
1290
  model: {
1289
1291
  prop: 'modelValue',
@@ -1313,9 +1315,13 @@ var script = defineComponent({
1313
1315
  loading: {
1314
1316
  type: Boolean,
1315
1317
  default: false
1318
+ },
1319
+ notification: {
1320
+ type: Object,
1321
+ default: undefined
1316
1322
  }
1317
1323
  },
1318
- emits: ['update:modelValue', 'update:item'],
1324
+ emits: ['update:modelValue', 'update:item', 'close-notification'],
1319
1325
  expose: ['root'],
1320
1326
  setup(props, context) {
1321
1327
  // Refs & Styles
@@ -1561,7 +1567,16 @@ var __vue_render__ = function () {
1561
1567
  expression: "sortingModel"
1562
1568
  }
1563
1569
  }, [_vm._v("\n " + _vm._s(column.label) + "\n ")]);
1564
- })], 2)], 1), _vm._v(" "), _c('OrDataGridTableContent', [_vm.loading ? _vm._l(10, function (n) {
1570
+ })], 2)], 1), _vm._v(" "), _vm.notification ? [_c('div', {
1571
+ staticClass: "grid col-span-full"
1572
+ }, [_c('OrNotification', _vm._b({
1573
+ staticClass: "rounded-0",
1574
+ on: {
1575
+ "close": function ($event) {
1576
+ return _vm.$emit('close-notification');
1577
+ }
1578
+ }
1579
+ }, 'OrNotification', _vm.notification, false), [_vm.$slots['notification'] ? [_vm._t('notification')] : _vm._e()], 2)], 1)] : _vm._e(), _vm._v(" "), _c('OrDataGridTableContent', [_vm.loading ? _vm._l(10, function (n) {
1565
1580
  return _c('OrDataGridTableContentRow', {
1566
1581
  key: n,
1567
1582
  attrs: {
@@ -1646,7 +1661,7 @@ var __vue_render__ = function () {
1646
1661
  attrs: {
1647
1662
  "variant": _vm.variant
1648
1663
  }
1649
- }, [_vm._t('empty')], 2)] : _vm._e()], 2)], 1), _vm._v(" "), _vm.$slots['extra-row'] ? [_c('OrDataGridTableFooter', [_c('OrDataGridTableFooterRow', {
1664
+ }, [_vm._t('empty')], 2)] : _vm._e()], 2)], 2), _vm._v(" "), _vm.$slots['extra-row'] ? [_c('OrDataGridTableFooter', [_c('OrDataGridTableFooterRow', {
1650
1665
  class: ['shrink-0'],
1651
1666
  attrs: {
1652
1667
  "variant": _vm.variant
@@ -0,0 +1,90 @@
1
+ import { defineComponent, ref, computed } from 'vue-demi';
2
+ import { IndicatorSize, IndicatorColor } from './props.js';
3
+ import { IndicatorShape, IndicatorThemes, IndicatorIconThemes } from './styles.js';
4
+ import __vue_component__$1 from '../OrIconV3/OrIcon.js';
5
+ import { IconVariant, IconSize } from '../OrIconV3/props.js';
6
+ import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
7
+
8
+ var script = defineComponent({
9
+ name: 'OrIndicator',
10
+ components: {
11
+ OrIcon: __vue_component__$1
12
+ },
13
+ props: {
14
+ size: {
15
+ type: String,
16
+ default: () => IndicatorSize.M
17
+ },
18
+ color: {
19
+ type: String,
20
+ default: IndicatorColor.Neutral
21
+ },
22
+ icon: {
23
+ type: [String, Object, undefined],
24
+ default: undefined
25
+ }
26
+ },
27
+ setup(props) {
28
+ // Refs
29
+ const root = ref();
30
+ // Styles
31
+ const rootStyles = computed(() => ['or-indicator-v3', ...(!props.icon ? IndicatorShape[props.size] : []), ...(!props.icon ? IndicatorThemes[props.color] : [])]);
32
+ const iconContainerStyles = computed(() => [...IndicatorIconThemes[props.color]]);
33
+ // Icon props
34
+ const iconProps = computed(() => {
35
+ return typeof props.icon === 'string' ? {
36
+ icon: props.icon,
37
+ variant: IconVariant.Inherit,
38
+ size: props.size === IndicatorSize.S ? IconSize.M : props.size
39
+ } : {
40
+ variant: IconVariant.Inherit,
41
+ size: props.size === IndicatorSize.S ? IconSize.M : props.size,
42
+ ...props.icon
43
+ };
44
+ });
45
+ return {
46
+ iconContainerStyles,
47
+ iconProps,
48
+ root,
49
+ rootStyles
50
+ };
51
+ }
52
+ });
53
+
54
+ /* script */
55
+ const __vue_script__ = script;
56
+
57
+ /* template */
58
+ var __vue_render__ = function () {
59
+ var _vm = this;
60
+ var _h = _vm.$createElement;
61
+ var _c = _vm._self._c || _h;
62
+ return _c('div', {
63
+ ref: 'root',
64
+ class: _vm.rootStyles
65
+ }, [_vm.icon ? _c('OrIcon', _vm._b({
66
+ class: _vm.iconContainerStyles
67
+ }, 'OrIcon', _vm.iconProps, false)) : _vm._e()], 1);
68
+ };
69
+ var __vue_staticRenderFns__ = [];
70
+
71
+ /* style */
72
+ const __vue_inject_styles__ = undefined;
73
+ /* scoped */
74
+ const __vue_scope_id__ = undefined;
75
+ /* module identifier */
76
+ const __vue_module_identifier__ = undefined;
77
+ /* functional template */
78
+ const __vue_is_functional_template__ = false;
79
+ /* style inject */
80
+
81
+ /* style inject SSR */
82
+
83
+ /* style inject shadow dom */
84
+
85
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
86
+ render: __vue_render__,
87
+ staticRenderFns: __vue_staticRenderFns__
88
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
89
+
90
+ export { __vue_component__ as default };
@@ -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,2 @@
1
+ export { default as OrIndicatorV3 } from './OrIndicator.js';
2
+ export { IndicatorColor, IndicatorSize } from './props.js';
@@ -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,18 @@
1
+ var IndicatorColor;
2
+ (function (IndicatorColor) {
3
+ IndicatorColor["Success"] = "success";
4
+ IndicatorColor["Neutral"] = "neutral";
5
+ IndicatorColor["Warning"] = "warning";
6
+ IndicatorColor["Outline"] = "outline";
7
+ IndicatorColor["Error"] = "error";
8
+ IndicatorColor["Inherit"] = "inherit";
9
+ })(IndicatorColor || (IndicatorColor = {}));
10
+ var IndicatorSize;
11
+ (function (IndicatorSize) {
12
+ IndicatorSize["XL"] = "xl";
13
+ IndicatorSize["L"] = "l";
14
+ IndicatorSize["M"] = "m";
15
+ IndicatorSize["S"] = "s";
16
+ })(IndicatorSize || (IndicatorSize = {}));
17
+
18
+ export { IndicatorColor, IndicatorSize };
@@ -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[]>;
@@ -0,0 +1,50 @@
1
+ import { IndicatorSize, IndicatorColor } from './props.js';
2
+
3
+ const IndicatorShape = {
4
+ [IndicatorSize.XL]: [
5
+ // Layout
6
+ 'shrink-0',
7
+ // Box
8
+ 'w-[24px]', 'h-[24px]',
9
+ // Shape
10
+ 'rounded-full'],
11
+ [IndicatorSize.L]: [
12
+ // Layout
13
+ 'shrink-0',
14
+ // Box
15
+ 'w-[20px]', 'h-[20px]',
16
+ // Shape
17
+ 'rounded-full'],
18
+ [IndicatorSize.M]: [
19
+ // Layout
20
+ 'shrink-0',
21
+ // Box
22
+ 'w-[16px]', 'h-[16px]',
23
+ // Shape
24
+ 'rounded-full'],
25
+ [IndicatorSize.S]: [
26
+ // Layout
27
+ 'shrink-0',
28
+ // Box
29
+ 'w-[8px]', 'h-[8px]',
30
+ // Shape
31
+ 'rounded-full']
32
+ };
33
+ const IndicatorThemes = {
34
+ [IndicatorColor.Error]: ['theme-foreground-on-error', 'dark:theme-foreground-on-error-dark', 'theme-background-error', 'dark:theme-background-error-dark'],
35
+ [IndicatorColor.Neutral]: ['theme-foreground-on-primary', 'dark:theme-foreground-on-primary-dark', 'theme-background-primary', 'dark:theme-background-primary-dark'],
36
+ [IndicatorColor.Inherit]: [],
37
+ [IndicatorColor.Outline]: ['theme-foreground-on-secondary', 'dark:theme-foreground-on-secondary-dark', 'theme-background-secondary', 'dark:theme-background-secondary-dark'],
38
+ [IndicatorColor.Success]: ['theme-foreground-on-success', 'dark:theme-foreground-on-success-dark', 'theme-background-success', 'dark:theme-background-success-dark'],
39
+ [IndicatorColor.Warning]: ['theme-foreground-on-warning', 'dark:theme-foreground-on-warning-dark', 'theme-background-warning', 'dark:theme-background-warning-dark']
40
+ };
41
+ const IndicatorIconThemes = {
42
+ [IndicatorColor.Error]: ['theme-foreground-error', 'dark:theme-foreground-error-dark'],
43
+ [IndicatorColor.Neutral]: ['theme-foreground-primary', 'dark:theme-foreground-primary-dark'],
44
+ [IndicatorColor.Inherit]: [],
45
+ [IndicatorColor.Outline]: ['theme-foreground-secondary', 'dark:theme-foreground-secondary-dark'],
46
+ [IndicatorColor.Success]: ['theme-foreground-success', 'dark:theme-foreground-success-dark'],
47
+ [IndicatorColor.Warning]: ['theme-foreground-warning', 'dark:theme-foreground-warning-dark']
48
+ };
49
+
50
+ export { IndicatorIconThemes, IndicatorShape, IndicatorThemes };
@@ -1,14 +1,15 @@
1
1
  import { defineComponent, ref, computed } from 'vue-demi';
2
- import { NotificationVariant } from './props.js';
3
- import { Notification, NotificationVariants, NotificationIcon, NotificationIconVariants } from './styles.js';
4
- import __vue_component__$1 from '../OrIconV3/OrIcon.js';
2
+ import { NotificationVariant, VariantToIconName } from './props.js';
3
+ import { Notification, NotificationVariants } from './styles.js';
4
+ import __vue_component__$1 from '../OrIndicatorV3/OrIndicator.js';
5
5
  import __vue_component__$2 from '../OrIconButtonV3/OrIconButton.js';
6
+ import { IndicatorColor } from '../OrIndicatorV3/props.js';
6
7
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
7
8
 
8
9
  var script = defineComponent({
9
10
  name: 'OrNotification',
10
11
  components: {
11
- OrIcon: __vue_component__$1,
12
+ OrIndicator: __vue_component__$1,
12
13
  OrIconButton: __vue_component__$2
13
14
  },
14
15
  props: {
@@ -19,6 +20,10 @@ var script = defineComponent({
19
20
  disableClose: {
20
21
  type: Boolean,
21
22
  default: false
23
+ },
24
+ message: {
25
+ type: String,
26
+ default: undefined
22
27
  }
23
28
  },
24
29
  expose: ['root'],
@@ -27,26 +32,26 @@ var script = defineComponent({
27
32
  const root = ref();
28
33
  // Styles
29
34
  const rootStyles = computed(() => ['or-notification-v3', ...Notification, ...NotificationVariants[props.variant]]);
30
- const iconStyles = computed(() => [...NotificationIcon, ...NotificationIconVariants[props.variant]]);
31
- // State
32
- // eslint-disable-next-line vue/return-in-computed-property
33
- const icon = computed(() => {
34
- switch (props.variant) {
35
- case 'success':
36
- return 'check_circle';
37
- case 'warning':
38
- return 'warning';
39
- case 'error':
40
- return 'error';
41
- case 'info':
42
- return 'info';
43
- }
35
+ const indicatorProps = computed(() => {
36
+ const VariantToIndicatorColor = {
37
+ [NotificationVariant.Success]: IndicatorColor.Success,
38
+ [NotificationVariant.Warning]: IndicatorColor.Warning,
39
+ [NotificationVariant.Error]: IndicatorColor.Error,
40
+ [NotificationVariant.Info]: IndicatorColor.Neutral
41
+ };
42
+ return {
43
+ icon: {
44
+ icon: VariantToIconName[props.variant],
45
+ variant: 'filled-bold'
46
+ },
47
+ color: VariantToIndicatorColor[props.variant],
48
+ size: 'm'
49
+ };
44
50
  });
45
51
  return {
46
52
  root,
47
53
  rootStyles,
48
- iconStyles,
49
- icon
54
+ indicatorProps
50
55
  };
51
56
  }
52
57
  });
@@ -64,15 +69,11 @@ var __vue_render__ = function () {
64
69
  class: _vm.rootStyles
65
70
  }, [_c('div', {
66
71
  class: ['mt-[2px] md:mt-[2.5px]']
67
- }, [_c('OrIcon', {
68
- class: _vm.iconStyles,
69
- attrs: {
70
- "icon": _vm.icon,
71
- "variant": 'filled-bold'
72
- }
73
- })], 1), _vm._v(" "), _c('div', {
72
+ }, [_c('OrIndicator', _vm._b({}, 'OrIndicator', _vm.indicatorProps, false))], 1), _vm._v(" "), _c('div', {
74
73
  class: ['grow']
75
- }, [_vm._t("default")], 2), _vm._v(" "), _c('div', {
74
+ }, [_vm._t("default", function () {
75
+ return [_vm._v(" " + _vm._s(_vm.message) + " ")];
76
+ })], 2), _vm._v(" "), _c('div', {
76
77
  class: ['mt-[2px] md:mt-[2.5px]']
77
78
  }, [!_vm.disableClose ? _c('OrIconButton', {
78
79
  attrs: {
@@ -1,2 +1,2 @@
1
1
  export { default as OrNotificationV3 } from './OrNotification.js';
2
- export { NotificationVariant } from './props.js';
2
+ export { NotificationVariant, VariantToIconName } from './props.js';
@@ -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
+ };
@@ -5,5 +5,11 @@ var NotificationVariant;
5
5
  NotificationVariant["Error"] = "error";
6
6
  NotificationVariant["Info"] = "info";
7
7
  })(NotificationVariant || (NotificationVariant = {}));
8
+ const VariantToIconName = {
9
+ [NotificationVariant.Success]: 'check_circle',
10
+ [NotificationVariant.Warning]: 'warning',
11
+ [NotificationVariant.Error]: 'error',
12
+ [NotificationVariant.Info]: 'info'
13
+ };
8
14
 
9
- export { NotificationVariant };
15
+ export { NotificationVariant, VariantToIconName };
@@ -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[]>;
@@ -37,20 +37,5 @@ const NotificationVariants = {
37
37
  // Theme (children)
38
38
  '[&_:any-link]:theme-foreground-primary', 'dark:[&_:any-link]:theme-foreground-primary-dark']
39
39
  };
40
- const NotificationIcon = [];
41
- const NotificationIconVariants = {
42
- [NotificationVariant.Success]: [
43
- // Theme
44
- 'theme-foreground-success', 'dark:theme-foreground-success-dark'],
45
- [NotificationVariant.Warning]: [
46
- // Theme
47
- 'theme-foreground-warning', 'dark:theme-foreground-warning-dark'],
48
- [NotificationVariant.Error]: [
49
- // Theme
50
- 'theme-foreground-error', 'dark:theme-foreground-error-dark'],
51
- [NotificationVariant.Info]: [
52
- // Theme
53
- 'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
54
- };
55
40
 
56
- export { Notification, NotificationIcon, NotificationIconVariants, NotificationVariants };
41
+ export { Notification, NotificationVariants };
@@ -1,11 +1,16 @@
1
1
  import { g as formatTimeAgo } from '../../index-fe4d407a.js';
2
2
  import { defineComponent, ref, computed } from 'vue-demi';
3
3
  import { StatusVariant, StatusSize } from './props.js';
4
- import { Status, StatusVariants, StatusSizes, StatusIndicator, StatusIndicatorVariants, StatusTimestamp } from './styles.js';
4
+ import { Status, StatusVariants, StatusSizes, StatusTimestamp } from './styles.js';
5
+ import __vue_component__$1 from '../OrIndicatorV3/OrIndicator.js';
6
+ import { IndicatorColor, IndicatorSize } from '../OrIndicatorV3/props.js';
5
7
  import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
6
8
 
7
9
  var script = defineComponent({
8
10
  name: 'OrStatus',
11
+ components: {
12
+ OrIndicator: __vue_component__$1
13
+ },
9
14
  props: {
10
15
  variant: {
11
16
  type: String,
@@ -26,12 +31,34 @@ var script = defineComponent({
26
31
  const root = ref();
27
32
  // Styles
28
33
  const rootStyles = computed(() => ['or-status-v3', ...Status, ...StatusVariants[props.variant], ...StatusSizes[props.size]]);
29
- const indicatorStyles = computed(() => [...StatusIndicator, ...StatusIndicatorVariants[props.variant]]);
30
34
  const timestampStyles = computed(() => [...StatusTimestamp]);
35
+ const indicatorProps = computed(() => {
36
+ let color;
37
+ switch (props.variant) {
38
+ case StatusVariant.Error:
39
+ color = IndicatorColor.Error;
40
+ break;
41
+ case StatusVariant.Success:
42
+ color = IndicatorColor.Success;
43
+ break;
44
+ case StatusVariant.Warning:
45
+ color = IndicatorColor.Warning;
46
+ break;
47
+ case StatusVariant.Disabled:
48
+ color = IndicatorColor.Outline;
49
+ break;
50
+ default:
51
+ color = IndicatorColor.Neutral;
52
+ }
53
+ return {
54
+ size: IndicatorSize.S,
55
+ color
56
+ };
57
+ });
31
58
  return {
32
59
  root,
33
60
  rootStyles,
34
- indicatorStyles,
61
+ indicatorProps,
35
62
  timestampStyles,
36
63
  formatTimeAgo
37
64
  };
@@ -49,9 +76,7 @@ var __vue_render__ = function () {
49
76
  return _c('div', {
50
77
  ref: 'root',
51
78
  class: _vm.rootStyles
52
- }, [_c('div', {
53
- class: _vm.indicatorStyles
54
- }), _vm._v(" "), _c('span', {
79
+ }, [_c('OrIndicator', _vm._b({}, 'OrIndicator', _vm.indicatorProps, false)), _vm._v(" "), _c('span', {
55
80
  class: ['truncate']
56
81
  }, [_vm._t("default")], 2), _vm._v(" "), _vm.timestamp ? [_c('span', {
57
82
  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[];
@@ -30,34 +30,10 @@ const StatusSizes = {
30
30
  // Typography
31
31
  'typography-caption-regular']
32
32
  };
33
- const StatusIndicator = [
34
- // Layout
35
- 'shrink-0',
36
- // Box
37
- 'w-[10px] md:w-[8px]', 'h-[10px] md:h-[8px]',
38
- // Shape
39
- 'rounded-full'];
40
- const StatusIndicatorVariants = {
41
- [StatusVariant.Neutral]: [
42
- // Theme
43
- 'theme-background-primary', 'dark:theme-background-primary-dark'],
44
- [StatusVariant.Disabled]: [
45
- // Theme
46
- 'theme-background-current', 'dark:theme-background-current-dark'],
47
- [StatusVariant.Success]: [
48
- // Theme
49
- 'theme-background-success-hover', 'dark:theme-background-success-hover-dark'],
50
- [StatusVariant.Warning]: [
51
- // Theme
52
- 'theme-background-warning-hover', 'dark:theme-background-warning-hover-dark'],
53
- [StatusVariant.Error]: [
54
- // Theme
55
- 'theme-background-error-hover', 'dark:theme-background-error-hover-dark']
56
- };
57
33
  const StatusTimestamp = [
58
34
  // Layout
59
35
  'shrink-0',
60
36
  // Theme
61
37
  'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
62
38
 
63
- export { Status, StatusIndicator, StatusIndicatorVariants, StatusSizes, StatusTimestamp, StatusVariants };
39
+ export { Status, StatusSizes, StatusTimestamp, StatusVariants };
@@ -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';
@@ -93,6 +93,8 @@ export { default as OrIconButtonV3 } from './OrIconButtonV3/OrIconButton.js';
93
93
  export { IconButtonColor } from './OrIconButtonV3/props.js';
94
94
  export { default as OrIconV3 } from './OrIconV3/OrIcon.js';
95
95
  export { IconSize, IconVariant } from './OrIconV3/props.js';
96
+ export { default as OrIndicatorV3 } from './OrIndicatorV3/OrIndicator.js';
97
+ export { IndicatorColor, IndicatorSize } from './OrIndicatorV3/props.js';
96
98
  export { default as OrInlineInputBoxV3 } from './OrInlineInputBoxV3/OrInlineInputBox.js';
97
99
  export { InlineInputBoxSize } from './OrInlineInputBoxV3/props.js';
98
100
  export { InlineInputType, OrInlineInputV3 } from './OrInlineInputV3/index.js';
@@ -124,7 +126,7 @@ export { ModalSize } from './OrModalV3/props.js';
124
126
  export { default as OrNotification } from './OrNotification/OrNotification.js';
125
127
  export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE } from './OrNotification/constants.js';
126
128
  export { default as OrNotificationV3 } from './OrNotificationV3/OrNotification.js';
127
- export { NotificationVariant } from './OrNotificationV3/props.js';
129
+ export { NotificationVariant, VariantToIconName } from './OrNotificationV3/props.js';
128
130
  export { default as OrNumberInput } from './OrNumberInput/OrNumberInput.js';
129
131
  export { default as OrOverflowMenu } from './OrOverflowMenu/OrOverflowMenu.js';
130
132
  export { default as OrOverlay } from './OrOverlay/OrOverlay.js';