@onereach/ui-components 19.4.0-beta.5060.0 → 19.4.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.
- package/dist/bundled/components/OrNotificationV3/OrNotification.js +1 -1
- package/dist/bundled/components/OrNotificationV3/OrNotification.vue.d.ts +2 -9
- package/dist/bundled/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/components/OrNotificationV3/props.d.ts +0 -3
- package/dist/bundled/components/OrNotificationV3/props.js +1 -1
- package/dist/bundled/components/OrNotificationV3/styles.d.ts +2 -0
- package/dist/bundled/components/OrNotificationV3/styles.js +1 -1
- package/dist/bundled/components/{OrNotificationV3-16c72dc7.js → OrNotificationV3-d111cab4.js} +41 -28
- package/dist/bundled/components/OrStatusV3/OrStatus.js +1 -1
- package/dist/bundled/components/OrStatusV3/OrStatus.vue.d.ts +1 -5
- package/dist/bundled/components/OrStatusV3/index.js +1 -1
- package/dist/bundled/components/OrStatusV3/props.js +1 -1
- package/dist/bundled/components/OrStatusV3/styles.d.ts +2 -0
- package/dist/bundled/components/OrStatusV3/styles.js +1 -1
- package/dist/bundled/components/{OrStatusV3-321cf0bf.js → OrStatusV3-ba86f8fa.js} +31 -32
- package/dist/bundled/components/index.d.ts +0 -1
- package/dist/bundled/components/index.js +2 -3
- package/dist/bundled/hooks/useTheme.js +68 -0
- package/dist/bundled/index.js +3 -4
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/components/index.js +1 -2
- package/dist/esm/components/or-notification-v3/OrNotification.vue.d.ts +2 -9
- package/dist/esm/components/or-notification-v3/index.js +41 -29
- package/dist/esm/components/or-notification-v3/props.d.ts +0 -3
- package/dist/esm/components/or-notification-v3/styles.d.ts +2 -0
- package/dist/esm/components/or-status-v3/OrStatus.vue.d.ts +1 -5
- package/dist/esm/components/or-status-v3/index.js +30 -32
- package/dist/esm/components/or-status-v3/styles.d.ts +2 -0
- package/dist/esm/index.js +1 -2
- package/package.json +4 -3
- package/src/components/index.ts +0 -1
- package/src/components/or-notification-v3/OrNotification.vue +32 -21
- package/src/components/or-notification-v3/props.ts +0 -7
- package/src/components/or-notification-v3/styles.ts +28 -0
- package/src/components/or-status-v3/OrStatus.vue +10 -34
- package/src/components/or-status-v3/styles.ts +44 -0
- package/dist/bundled/components/OrIndicatorV3/OrIndicator.js +0 -1
- package/dist/bundled/components/OrIndicatorV3/OrIndicator.vue.d.ts +0 -47
- package/dist/bundled/components/OrIndicatorV3/index.d.ts +0 -2
- package/dist/bundled/components/OrIndicatorV3/index.js +0 -1
- package/dist/bundled/components/OrIndicatorV3/props.d.ts +0 -14
- package/dist/bundled/components/OrIndicatorV3/props.js +0 -1
- package/dist/bundled/components/OrIndicatorV3/styles.d.ts +0 -4
- package/dist/bundled/components/OrIndicatorV3/styles.js +0 -1
- package/dist/bundled/components/OrIndicatorV3-41afc9d2.js +0 -123
- package/dist/esm/components/or-indicator-v3/OrIndicator.vue.d.ts +0 -47
- package/dist/esm/components/or-indicator-v3/index.d.ts +0 -2
- package/dist/esm/components/or-indicator-v3/index.js +0 -123
- package/dist/esm/components/or-indicator-v3/props.d.ts +0 -14
- package/dist/esm/components/or-indicator-v3/styles.d.ts +0 -4
- package/src/components/or-indicator-v3/OrIndicator.vue +0 -74
- package/src/components/or-indicator-v3/index.ts +0 -2
- package/src/components/or-indicator-v3/props.ts +0 -15
- package/src/components/or-indicator-v3/styles.ts +0 -114
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrNotificationV3-
|
|
1
|
+
export { s as default } from '../OrNotificationV3-d111cab4.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IndicatorColor } from '../or-indicator-v3';
|
|
3
2
|
import { NotificationVariant } from './props';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
variant: {
|
|
@@ -13,14 +12,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
12
|
}, {
|
|
14
13
|
root: import("vue").Ref<HTMLElement | undefined>;
|
|
15
14
|
rootStyles: import("vue").ComputedRef<string[]>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
icon: string;
|
|
19
|
-
variant: string;
|
|
20
|
-
};
|
|
21
|
-
color: IndicatorColor;
|
|
22
|
-
size: string;
|
|
23
|
-
}>;
|
|
15
|
+
iconStyles: import("vue").ComputedRef<string[]>;
|
|
16
|
+
icon: import("vue").ComputedRef<"warning" | "error" | "info" | "check_circle">;
|
|
24
17
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
18
|
variant: {
|
|
26
19
|
type: PropType<"success" | "warning" | "error" | "info">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { N as NotificationVariant, s as OrNotificationV3
|
|
1
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from '../OrNotificationV3-d111cab4.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { N as NotificationVariant
|
|
1
|
+
export { N as NotificationVariant } from '../OrNotificationV3-d111cab4.js';
|
|
@@ -1,3 +1,5 @@
|
|
|
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[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as Notification, b as NotificationVariants } from '../OrNotificationV3-
|
|
1
|
+
export { a as Notification, c as NotificationIcon, d as NotificationIconVariants, b as NotificationVariants } from '../OrNotificationV3-d111cab4.js';
|
package/dist/bundled/components/{OrNotificationV3-16c72dc7.js → OrNotificationV3-d111cab4.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode,
|
|
2
|
-
import { s as script$1
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, renderSlot, createBlock, withModifiers, createCommentVNode } from 'vue';
|
|
2
|
+
import { s as script$1 } from './OrIconV3-9807ee48.js';
|
|
3
3
|
import { s as script$2 } from './OrIconButtonV3-47bef849.js';
|
|
4
4
|
|
|
5
5
|
var NotificationVariant;
|
|
@@ -9,12 +9,6 @@ var NotificationVariant;
|
|
|
9
9
|
NotificationVariant["Error"] = "error";
|
|
10
10
|
NotificationVariant["Info"] = "info";
|
|
11
11
|
})(NotificationVariant || (NotificationVariant = {}));
|
|
12
|
-
const VariantToIconName = {
|
|
13
|
-
[NotificationVariant.Success]: 'check_circle',
|
|
14
|
-
[NotificationVariant.Warning]: 'warning',
|
|
15
|
-
[NotificationVariant.Error]: 'error',
|
|
16
|
-
[NotificationVariant.Info]: 'info'
|
|
17
|
-
};
|
|
18
12
|
|
|
19
13
|
const Notification = [
|
|
20
14
|
// Layout
|
|
@@ -53,11 +47,26 @@ const NotificationVariants = {
|
|
|
53
47
|
// Theme (children)
|
|
54
48
|
'[&_:any-link]:theme-foreground-primary', 'dark:[&_:any-link]:theme-foreground-primary-dark']
|
|
55
49
|
};
|
|
50
|
+
const NotificationIcon = [];
|
|
51
|
+
const NotificationIconVariants = {
|
|
52
|
+
[NotificationVariant.Success]: [
|
|
53
|
+
// Theme
|
|
54
|
+
'theme-foreground-success', 'dark:theme-foreground-success-dark'],
|
|
55
|
+
[NotificationVariant.Warning]: [
|
|
56
|
+
// Theme
|
|
57
|
+
'theme-foreground-warning', 'dark:theme-foreground-warning-dark'],
|
|
58
|
+
[NotificationVariant.Error]: [
|
|
59
|
+
// Theme
|
|
60
|
+
'theme-foreground-error', 'dark:theme-foreground-error-dark'],
|
|
61
|
+
[NotificationVariant.Info]: [
|
|
62
|
+
// Theme
|
|
63
|
+
'theme-foreground-primary', 'dark:theme-foreground-primary-dark']
|
|
64
|
+
};
|
|
56
65
|
|
|
57
66
|
var script = defineComponent({
|
|
58
67
|
name: 'OrNotification',
|
|
59
68
|
components: {
|
|
60
|
-
|
|
69
|
+
OrIcon: script$1,
|
|
61
70
|
OrIconButton: script$2
|
|
62
71
|
},
|
|
63
72
|
props: {
|
|
@@ -76,26 +85,26 @@ var script = defineComponent({
|
|
|
76
85
|
const root = ref();
|
|
77
86
|
// Styles
|
|
78
87
|
const rootStyles = computed(() => ['or-notification-v3', ...Notification, ...NotificationVariants[props.variant]]);
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
};
|
|
88
|
+
const iconStyles = computed(() => [...NotificationIcon, ...NotificationIconVariants[props.variant]]);
|
|
89
|
+
// State
|
|
90
|
+
// eslint-disable-next-line vue/return-in-computed-property
|
|
91
|
+
const icon = computed(() => {
|
|
92
|
+
switch (props.variant) {
|
|
93
|
+
case 'success':
|
|
94
|
+
return 'check_circle';
|
|
95
|
+
case 'warning':
|
|
96
|
+
return 'warning';
|
|
97
|
+
case 'error':
|
|
98
|
+
return 'error';
|
|
99
|
+
case 'info':
|
|
100
|
+
return 'info';
|
|
101
|
+
}
|
|
94
102
|
});
|
|
95
103
|
return {
|
|
96
104
|
root,
|
|
97
105
|
rootStyles,
|
|
98
|
-
|
|
106
|
+
iconStyles,
|
|
107
|
+
icon
|
|
99
108
|
};
|
|
100
109
|
}
|
|
101
110
|
});
|
|
@@ -110,12 +119,16 @@ const _hoisted_3 = {
|
|
|
110
119
|
class: /*#__PURE__*/normalizeClass(['mt-[2px] md:mt-[2.5px]'])
|
|
111
120
|
};
|
|
112
121
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
113
|
-
const
|
|
122
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
114
123
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
115
124
|
return openBlock(), createElementBlock("div", {
|
|
116
125
|
ref: 'root',
|
|
117
126
|
class: normalizeClass(_ctx.rootStyles)
|
|
118
|
-
}, [createElementVNode("div", _hoisted_1, [createVNode(
|
|
127
|
+
}, [createElementVNode("div", _hoisted_1, [createVNode(_component_OrIcon, {
|
|
128
|
+
class: normalizeClass(_ctx.iconStyles),
|
|
129
|
+
icon: _ctx.icon,
|
|
130
|
+
variant: 'filled-bold'
|
|
131
|
+
}, null, 8 /* PROPS */, ["class", "icon"])]), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")]), createElementVNode("div", _hoisted_3, [!_ctx.disableClose ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
119
132
|
key: 0,
|
|
120
133
|
icon: 'close',
|
|
121
134
|
size: 'm',
|
|
@@ -126,4 +139,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
126
139
|
script.render = render;
|
|
127
140
|
script.__file = "src/components/or-notification-v3/OrNotification.vue";
|
|
128
141
|
|
|
129
|
-
export { NotificationVariant as N,
|
|
142
|
+
export { NotificationVariant as N, Notification as a, NotificationVariants as b, NotificationIcon as c, NotificationIconVariants as d, script as s };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrStatusV3-
|
|
1
|
+
export { s as default } from '../OrStatusV3-ba86f8fa.js';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { formatTimeAgo } from '@vueuse/core';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
import { StatusSize, StatusVariant } from './props';
|
|
4
|
-
import { IndicatorColor, IndicatorSize } from '../or-indicator-v3';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{
|
|
6
5
|
variant: {
|
|
7
6
|
type: PropType<"neutral" | "disabled" | "success" | "warning" | "error">;
|
|
@@ -18,10 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
17
|
}, {
|
|
19
18
|
root: import("vue").Ref<HTMLElement | undefined>;
|
|
20
19
|
rootStyles: import("vue").ComputedRef<string[]>;
|
|
21
|
-
|
|
22
|
-
size: IndicatorSize;
|
|
23
|
-
color: IndicatorColor.Success | IndicatorColor.Neutral | IndicatorColor.Warning | IndicatorColor.Outline | IndicatorColor.Error;
|
|
24
|
-
}>;
|
|
20
|
+
indicatorStyles: import("vue").ComputedRef<string[]>;
|
|
25
21
|
timestampStyles: import("vue").ComputedRef<string[]>;
|
|
26
22
|
formatTimeAgo: typeof formatTimeAgo;
|
|
27
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrStatusV3, a as StatusSize, S as StatusVariant } from '../OrStatusV3-
|
|
1
|
+
export { s as OrStatusV3, a as StatusSize, S as StatusVariant } from '../OrStatusV3-ba86f8fa.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as StatusSize, S as StatusVariant } from '../OrStatusV3-
|
|
1
|
+
export { a as StatusSize, S as StatusVariant } from '../OrStatusV3-ba86f8fa.js';
|
|
@@ -2,4 +2,6 @@ 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[]>;
|
|
5
7
|
export declare const StatusTimestamp: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as Status, d as StatusSizes,
|
|
1
|
+
export { b as Status, e as StatusIndicator, f as StatusIndicatorVariants, d as StatusSizes, g as StatusTimestamp, c as StatusVariants } from '../OrStatusV3-ba86f8fa.js';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed,
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toDisplayString, createCommentVNode } from 'vue';
|
|
2
2
|
import { y as formatTimeAgo } from './OrAutocompleteV3-c25a261c.js';
|
|
3
|
-
import { s as script$1, I as IndicatorColor, a as IndicatorSize } from './OrIndicatorV3-41afc9d2.js';
|
|
4
3
|
|
|
5
4
|
var StatusVariant;
|
|
6
5
|
(function (StatusVariant) {
|
|
@@ -46,6 +45,30 @@ const StatusSizes = {
|
|
|
46
45
|
// Typography
|
|
47
46
|
'typography-caption-regular']
|
|
48
47
|
};
|
|
48
|
+
const StatusIndicator = [
|
|
49
|
+
// Layout
|
|
50
|
+
'shrink-0',
|
|
51
|
+
// Box
|
|
52
|
+
'w-[10px] md:w-[8px]', 'h-[10px] md:h-[8px]',
|
|
53
|
+
// Shape
|
|
54
|
+
'rounded-full'];
|
|
55
|
+
const StatusIndicatorVariants = {
|
|
56
|
+
[StatusVariant.Neutral]: [
|
|
57
|
+
// Theme
|
|
58
|
+
'theme-background-primary', 'dark:theme-background-primary-dark'],
|
|
59
|
+
[StatusVariant.Disabled]: [
|
|
60
|
+
// Theme
|
|
61
|
+
'theme-background-current', 'dark:theme-background-current-dark'],
|
|
62
|
+
[StatusVariant.Success]: [
|
|
63
|
+
// Theme
|
|
64
|
+
'theme-background-success-hover', 'dark:theme-background-success-hover-dark'],
|
|
65
|
+
[StatusVariant.Warning]: [
|
|
66
|
+
// Theme
|
|
67
|
+
'theme-background-warning-hover', 'dark:theme-background-warning-hover-dark'],
|
|
68
|
+
[StatusVariant.Error]: [
|
|
69
|
+
// Theme
|
|
70
|
+
'theme-background-error-hover', 'dark:theme-background-error-hover-dark']
|
|
71
|
+
};
|
|
49
72
|
const StatusTimestamp = [
|
|
50
73
|
// Layout
|
|
51
74
|
'shrink-0',
|
|
@@ -54,9 +77,6 @@ const StatusTimestamp = [
|
|
|
54
77
|
|
|
55
78
|
var script = defineComponent({
|
|
56
79
|
name: 'OrStatus',
|
|
57
|
-
components: {
|
|
58
|
-
OrIndicator: script$1
|
|
59
|
-
},
|
|
60
80
|
props: {
|
|
61
81
|
variant: {
|
|
62
82
|
type: String,
|
|
@@ -77,34 +97,12 @@ var script = defineComponent({
|
|
|
77
97
|
const root = ref();
|
|
78
98
|
// Styles
|
|
79
99
|
const rootStyles = computed(() => ['or-status-v3', ...Status, ...StatusVariants[props.variant], ...StatusSizes[props.size]]);
|
|
100
|
+
const indicatorStyles = computed(() => [...StatusIndicator, ...StatusIndicatorVariants[props.variant]]);
|
|
80
101
|
const timestampStyles = computed(() => [...StatusTimestamp]);
|
|
81
|
-
const indicatorProps = computed(() => {
|
|
82
|
-
let color;
|
|
83
|
-
switch (props.variant) {
|
|
84
|
-
case StatusVariant.Error:
|
|
85
|
-
color = IndicatorColor.Error;
|
|
86
|
-
break;
|
|
87
|
-
case StatusVariant.Success:
|
|
88
|
-
color = IndicatorColor.Success;
|
|
89
|
-
break;
|
|
90
|
-
case StatusVariant.Warning:
|
|
91
|
-
color = IndicatorColor.Warning;
|
|
92
|
-
break;
|
|
93
|
-
case StatusVariant.Disabled:
|
|
94
|
-
color = IndicatorColor.Outline;
|
|
95
|
-
break;
|
|
96
|
-
default:
|
|
97
|
-
color = IndicatorColor.Neutral;
|
|
98
|
-
}
|
|
99
|
-
return {
|
|
100
|
-
size: IndicatorSize.S,
|
|
101
|
-
color
|
|
102
|
-
};
|
|
103
|
-
});
|
|
104
102
|
return {
|
|
105
103
|
root,
|
|
106
104
|
rootStyles,
|
|
107
|
-
|
|
105
|
+
indicatorStyles,
|
|
108
106
|
timestampStyles,
|
|
109
107
|
formatTimeAgo
|
|
110
108
|
};
|
|
@@ -115,11 +113,12 @@ const _hoisted_1 = {
|
|
|
115
113
|
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
116
114
|
};
|
|
117
115
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
118
|
-
const _component_OrIndicator = resolveComponent("OrIndicator");
|
|
119
116
|
return openBlock(), createElementBlock("div", {
|
|
120
117
|
ref: 'root',
|
|
121
118
|
class: normalizeClass(_ctx.rootStyles)
|
|
122
|
-
}, [
|
|
119
|
+
}, [createElementVNode("div", {
|
|
120
|
+
class: normalizeClass(_ctx.indicatorStyles)
|
|
121
|
+
}, null, 2 /* CLASS */), createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "default")]), _ctx.timestamp ? (openBlock(), createElementBlock("span", {
|
|
123
122
|
key: 0,
|
|
124
123
|
class: normalizeClass(_ctx.timestampStyles)
|
|
125
124
|
}, " (" + toDisplayString(_ctx.formatTimeAgo(_ctx.timestamp)) + ") ", 3 /* TEXT, CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
@@ -128,4 +127,4 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
128
127
|
script.render = render;
|
|
129
128
|
script.__file = "src/components/or-status-v3/OrStatus.vue";
|
|
130
129
|
|
|
131
|
-
export { StatusVariant as S, StatusSize as a, Status as b, StatusVariants as c, StatusSizes as d,
|
|
130
|
+
export { StatusVariant as S, StatusSize as a, Status as b, StatusVariants as c, StatusSizes as d, StatusIndicator as e, StatusIndicatorVariants as f, StatusTimestamp as g, script as s };
|
|
@@ -50,7 +50,6 @@ 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';
|
|
54
53
|
export * from './or-inline-input-box-v3';
|
|
55
54
|
export * from './or-inline-input-v3';
|
|
56
55
|
export * from './or-inline-text-edit';
|
|
@@ -50,7 +50,6 @@ export { s as OrHintV3 } from './OrHintV3-a9a95858.js';
|
|
|
50
50
|
export { OrIcon, OrIconColors, OrIconType } from './OrIcon/index.js';
|
|
51
51
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButtonV3-47bef849.js';
|
|
52
52
|
export { I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIconV3-9807ee48.js';
|
|
53
|
-
export { I as IndicatorColor, a as IndicatorSize, s as OrIndicatorV3 } from './OrIndicatorV3-41afc9d2.js';
|
|
54
53
|
export { I as InlineInputBoxSize, s as OrInlineInputBoxV3 } from './OrInlineInputBoxV3-591609a8.js';
|
|
55
54
|
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInputV3-78be3ed8.js';
|
|
56
55
|
export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './OrInlineTextEdit/index.js';
|
|
@@ -71,7 +70,7 @@ export { s as OrMenuV3 } from './OrMenuV3-e7d4f361.js';
|
|
|
71
70
|
export { s as OrModal, O as OrModalSizes } from './OrModal-84dcf453.js';
|
|
72
71
|
export { M as ModalSize, s as OrModalV3 } from './OrModalV3-4caade87.js';
|
|
73
72
|
export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE, OrNotification } from './OrNotification/index.js';
|
|
74
|
-
export { N as NotificationVariant, s as OrNotificationV3
|
|
73
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotificationV3-d111cab4.js';
|
|
75
74
|
export { default as OrNumberInput } from './OrNumberInput/OrNumberInput.js';
|
|
76
75
|
export { default as OrOverflowMenu } from './OrOverflowMenu/OrOverflowMenu.js';
|
|
77
76
|
export { default as OrOverlay } from './OrOverlay/OrOverlay.js';
|
|
@@ -102,7 +101,7 @@ export { a as OrSkeletonCircleV3, b as OrSkeletonRectV3, s as OrSkeletonTextV3 }
|
|
|
102
101
|
export { default as OrSlider } from './OrSlider/OrSlider.js';
|
|
103
102
|
export { s as OrSliderV3, a as SliderColor, S as SliderOrientation } from './OrSliderV3-973d3c73.js';
|
|
104
103
|
export { s as OrSortingV3 } from './OrSortingV3-6edcd36f.js';
|
|
105
|
-
export { s as OrStatusV3, a as StatusSize, S as StatusVariant } from './OrStatusV3-
|
|
104
|
+
export { s as OrStatusV3, a as StatusSize, S as StatusVariant } from './OrStatusV3-ba86f8fa.js';
|
|
106
105
|
export { default as OrStepper } from './OrStepper/OrStepper.js';
|
|
107
106
|
export { default as OrSwitch } from './OrSwitch/OrSwitch.js';
|
|
108
107
|
export { s as OrSwitchV3 } from './OrSwitchV3-7c418f3e.js';
|
|
@@ -611,24 +611,58 @@ var theme = {
|
|
|
611
611
|
white: "var(--or-c-white)",
|
|
612
612
|
black: "var(--or-c-black)",
|
|
613
613
|
primary: "var(--or-c-primary-light)",
|
|
614
|
+
"on-primary": "var(--or-c-on-primary-light)",
|
|
615
|
+
"on-primary-container": "var(--or-c-on-primary-container-light)",
|
|
614
616
|
secondary: "var(--or-c-secondary-light)",
|
|
617
|
+
"on-secondary": "var(--or-c-on-secondary-light)",
|
|
618
|
+
"on-secondary-container": "var(--or-c-on-secondary-container-light)",
|
|
615
619
|
tertiary: "var(--or-c-tertiary-light)",
|
|
620
|
+
"on-tertiary": "var(--or-c-on-tertiary-light)",
|
|
621
|
+
"on-tertiary-container": "var(--or-c-on-tertiary-container-light)",
|
|
616
622
|
error: "var(--or-c-error-light)",
|
|
623
|
+
"on-error": "var(--or-c-on-error-light)",
|
|
624
|
+
"on-error-container": "var(--or-c-on-error-container-light)",
|
|
617
625
|
success: "var(--or-c-success-light)",
|
|
626
|
+
"on-success": "var(--or-c-on-success-light)",
|
|
627
|
+
"on-success-container": "var(--or-c-on-success-container-light)",
|
|
618
628
|
warning: "var(--or-c-warning-light)",
|
|
629
|
+
"on-warning": "var(--or-c-on-warning-light)",
|
|
630
|
+
"on-warning-container": "var(--or-c-on-warning-container-light)",
|
|
631
|
+
"on-background": "var(--or-c-on-background-light)",
|
|
632
|
+
"on-surface": "var(--or-c-on-surface-light)",
|
|
633
|
+
"on-surface-variant": "var(--or-c-on-surface-variant-light)",
|
|
634
|
+
"inverse-on-surface": "var(--or-c-inverse-on-surface-light)",
|
|
619
635
|
"inverse-primary": "var(--or-c-inverse-primary-light)",
|
|
620
636
|
outline: "var(--or-c-outline-light)",
|
|
637
|
+
"on-disabled": "var(--or-c-on-disabled-light)",
|
|
621
638
|
"primary-opacity-0-08": "var(--or-c-primary-opacity-0-08-light)",
|
|
622
639
|
"primary-opacity-0-12": "var(--or-c-primary-opacity-0-12-light)",
|
|
623
640
|
"primary-opacity-0-16": "var(--or-c-primary-opacity-0-16-light)",
|
|
624
641
|
"primary-dark": "var(--or-c-primary-dark)",
|
|
642
|
+
"on-primary-dark": "var(--or-c-on-primary-dark)",
|
|
643
|
+
"on-primary-container-dark": "var(--or-c-on-primary-container-dark)",
|
|
625
644
|
"secondary-dark": "var(--or-c-secondary-dark)",
|
|
645
|
+
"on-secondary-dark": "var(--or-c-on-secondary-dark)",
|
|
646
|
+
"on-secondary-container-dark": "var(--or-c-on-secondary-container-dark)",
|
|
626
647
|
"tertiary-dark": "var(--or-c-tertiary-dark)",
|
|
648
|
+
"on-tertiary-dark": "var(--or-c-on-tertiary-dark)",
|
|
649
|
+
"on-tertiary-container-dark": "var(--or-c-on-tertiary-container-dark)",
|
|
627
650
|
"error-dark": "var(--or-c-error-dark)",
|
|
651
|
+
"on-error-dark": "var(--or-c-on-error-dark)",
|
|
652
|
+
"on-error-container-dark": "var(--or-c-on-error-container-dark)",
|
|
628
653
|
"success-dark": "var(--or-c-success-dark)",
|
|
654
|
+
"on-success-dark": "var(--or-c-on-success-dark)",
|
|
655
|
+
"on-success-container-dark": "var(--or-c-on-success-container-dark)",
|
|
629
656
|
"warning-dark": "var(--or-c-warning-dark)",
|
|
657
|
+
"on-warning-dark": "var(--or-c-on-warning-dark)",
|
|
658
|
+
"on-warning-container-dark": "var(--or-c-on-warning-container-dark)",
|
|
659
|
+
"on-background-dark": "var(--or-c-on-background-dark)",
|
|
660
|
+
"on-surface-dark": "var(--or-c-on-surface-dark)",
|
|
661
|
+
"on-surface-variant-dark": "var(--or-c-on-surface-variant-dark)",
|
|
662
|
+
"inverse-on-surface-dark": "var(--or-c-inverse-on-surface-dark)",
|
|
630
663
|
"inverse-primary-dark": "var(--or-c-inverse-primary-dark)",
|
|
631
664
|
"outline-dark": "var(--or-c-outline-dark)",
|
|
665
|
+
"on-disabled-dark": "var(--or-c-on-disabled-dark)",
|
|
632
666
|
"primary-opacity-0-08-dark": "var(--or-c-primary-opacity-0-08-dark)",
|
|
633
667
|
"primary-opacity-0-12-dark": "var(--or-c-primary-opacity-0-12-dark)",
|
|
634
668
|
"primary-opacity-0-16-dark": "var(--or-c-primary-opacity-0-16-dark)",
|
|
@@ -2353,24 +2387,58 @@ var theme = {
|
|
|
2353
2387
|
white: "var(--or-c-white)",
|
|
2354
2388
|
black: "var(--or-c-black)",
|
|
2355
2389
|
primary: "var(--or-c-primary-light)",
|
|
2390
|
+
"on-primary": "var(--or-c-on-primary-light)",
|
|
2391
|
+
"on-primary-container": "var(--or-c-on-primary-container-light)",
|
|
2356
2392
|
secondary: "var(--or-c-secondary-light)",
|
|
2393
|
+
"on-secondary": "var(--or-c-on-secondary-light)",
|
|
2394
|
+
"on-secondary-container": "var(--or-c-on-secondary-container-light)",
|
|
2357
2395
|
tertiary: "var(--or-c-tertiary-light)",
|
|
2396
|
+
"on-tertiary": "var(--or-c-on-tertiary-light)",
|
|
2397
|
+
"on-tertiary-container": "var(--or-c-on-tertiary-container-light)",
|
|
2358
2398
|
error: "var(--or-c-error-light)",
|
|
2399
|
+
"on-error": "var(--or-c-on-error-light)",
|
|
2400
|
+
"on-error-container": "var(--or-c-on-error-container-light)",
|
|
2359
2401
|
success: "var(--or-c-success-light)",
|
|
2402
|
+
"on-success": "var(--or-c-on-success-light)",
|
|
2403
|
+
"on-success-container": "var(--or-c-on-success-container-light)",
|
|
2360
2404
|
warning: "var(--or-c-warning-light)",
|
|
2405
|
+
"on-warning": "var(--or-c-on-warning-light)",
|
|
2406
|
+
"on-warning-container": "var(--or-c-on-warning-container-light)",
|
|
2407
|
+
"on-background": "var(--or-c-on-background-light)",
|
|
2408
|
+
"on-surface": "var(--or-c-on-surface-light)",
|
|
2409
|
+
"on-surface-variant": "var(--or-c-on-surface-variant-light)",
|
|
2410
|
+
"inverse-on-surface": "var(--or-c-inverse-on-surface-light)",
|
|
2361
2411
|
"inverse-primary": "var(--or-c-inverse-primary-light)",
|
|
2362
2412
|
outline: "var(--or-c-outline-light)",
|
|
2413
|
+
"on-disabled": "var(--or-c-on-disabled-light)",
|
|
2363
2414
|
"primary-opacity-0-08": "var(--or-c-primary-opacity-0-08-light)",
|
|
2364
2415
|
"primary-opacity-0-12": "var(--or-c-primary-opacity-0-12-light)",
|
|
2365
2416
|
"primary-opacity-0-16": "var(--or-c-primary-opacity-0-16-light)",
|
|
2366
2417
|
"primary-dark": "var(--or-c-primary-dark)",
|
|
2418
|
+
"on-primary-dark": "var(--or-c-on-primary-dark)",
|
|
2419
|
+
"on-primary-container-dark": "var(--or-c-on-primary-container-dark)",
|
|
2367
2420
|
"secondary-dark": "var(--or-c-secondary-dark)",
|
|
2421
|
+
"on-secondary-dark": "var(--or-c-on-secondary-dark)",
|
|
2422
|
+
"on-secondary-container-dark": "var(--or-c-on-secondary-container-dark)",
|
|
2368
2423
|
"tertiary-dark": "var(--or-c-tertiary-dark)",
|
|
2424
|
+
"on-tertiary-dark": "var(--or-c-on-tertiary-dark)",
|
|
2425
|
+
"on-tertiary-container-dark": "var(--or-c-on-tertiary-container-dark)",
|
|
2369
2426
|
"error-dark": "var(--or-c-error-dark)",
|
|
2427
|
+
"on-error-dark": "var(--or-c-on-error-dark)",
|
|
2428
|
+
"on-error-container-dark": "var(--or-c-on-error-container-dark)",
|
|
2370
2429
|
"success-dark": "var(--or-c-success-dark)",
|
|
2430
|
+
"on-success-dark": "var(--or-c-on-success-dark)",
|
|
2431
|
+
"on-success-container-dark": "var(--or-c-on-success-container-dark)",
|
|
2371
2432
|
"warning-dark": "var(--or-c-warning-dark)",
|
|
2433
|
+
"on-warning-dark": "var(--or-c-on-warning-dark)",
|
|
2434
|
+
"on-warning-container-dark": "var(--or-c-on-warning-container-dark)",
|
|
2435
|
+
"on-background-dark": "var(--or-c-on-background-dark)",
|
|
2436
|
+
"on-surface-dark": "var(--or-c-on-surface-dark)",
|
|
2437
|
+
"on-surface-variant-dark": "var(--or-c-on-surface-variant-dark)",
|
|
2438
|
+
"inverse-on-surface-dark": "var(--or-c-inverse-on-surface-dark)",
|
|
2372
2439
|
"inverse-primary-dark": "var(--or-c-inverse-primary-dark)",
|
|
2373
2440
|
"outline-dark": "var(--or-c-outline-dark)",
|
|
2441
|
+
"on-disabled-dark": "var(--or-c-on-disabled-dark)",
|
|
2374
2442
|
"primary-opacity-0-08-dark": "var(--or-c-primary-opacity-0-08-dark)",
|
|
2375
2443
|
"primary-opacity-0-12-dark": "var(--or-c-primary-opacity-0-12-dark)",
|
|
2376
2444
|
"primary-opacity-0-16-dark": "var(--or-c-primary-opacity-0-16-dark)",
|