@onereach/ui-components 2.69.7-beta.2176.0 → 2.69.7-beta.2178.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/v2/{OrCardCollection-43c04eb1.js → OrCardCollection-c4209a92.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-38bf5592.js → OrConfirm-cab6535b.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-d7f24f8c.js → OrIconButton-a215104c.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-cac9b9a9.js → OrInlineInput-9add2e1e.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-860f6c37.js → OrInlineTextarea-9c6f9044.js} +1 -1
- package/dist/bundled/v2/{OrInput-930e823a.js → OrInput-8b90e08f.js} +1 -1
- package/dist/bundled/v2/{OrModal-b875854b.js → OrModal-f89de11f.js} +12 -3
- package/dist/bundled/v2/{OrNotification-773b5eff.js → OrNotification-d76a062d.js} +13 -5
- package/dist/bundled/v2/{OrSearch-d1ab9324.js → OrSearch-76b002cf.js} +1 -1
- package/dist/bundled/v2/{OrSelect-71e2c47f.js → OrSelect-4ccfe085.js} +2 -2
- package/dist/bundled/v2/{OrTag-242e44d4.js → OrTag-6e081da1.js} +2 -2
- package/dist/bundled/v2/components/index.js +12 -12
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/index.js +12 -12
- package/dist/bundled/v2/{types-b5083f9b.js → types-fdd34542.js} +17 -8
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-7dfa7e49.js → OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-934a4cee.js → OrConfirm.vue_vue_type_script_lang-f57ffa1a.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-39a56d98.js → OrIconButton-1581013c.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-94499be9.js → OrIconButton.vue_vue_type_script_lang-f6f801ff.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-d5697ee2.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-5976515a.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
- package/dist/bundled/v3/{OrInput-f2c55e6c.js → OrInput-fa782fc1.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-3352c72b.js → OrInput.vue_vue_type_script_lang-f6d793d3.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-f9629150.js → OrModal.vue_vue_type_script_lang-80a7b906.js} +9 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-34d5475b.js → OrNotification.vue_vue_type_script_lang-fbb35355.js} +9 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-62b067cd.js → OrSearch.vue_vue_type_script_lang-014ad470.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-093e6c3c.js → OrSelect.vue_vue_type_script_lang-bfdb053f.js} +3 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-47e88acf.js → OrTag.vue_vue_type_script_lang-d9a039f9.js} +3 -3
- package/dist/bundled/v3/{OrToastContainer-29d7b8e5.js → OrToastContainer-7c3c0b12.js} +1 -1
- package/dist/bundled/v3/components/index.js +14 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/index.js +30 -27
- package/dist/bundled/v3/{types-e6a2856c.js → types-dcc78caa.js} +16 -7
- package/dist/esm/v2/{OrCardCollection-c2075a71.js → OrCardCollection-57d11adf.js} +2 -2
- package/dist/esm/v2/{OrConfirm-5cca4c1d.js → OrConfirm-ec7aef0e.js} +1 -1
- package/dist/esm/v2/{OrIconButton-a6a844c8.js → OrIconButton-e17e4944.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-27c959f5.js → OrInlineInput-cfeeea33.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-c6b40bcf.js → OrInlineTextarea-897b5377.js} +1 -1
- package/dist/esm/v2/{OrInput-507232aa.js → OrInput-2f16a7ac.js} +1 -1
- package/dist/esm/v2/{OrModal-e937a1d2.js → OrModal-5b37a50a.js} +12 -3
- package/dist/esm/v2/{OrNotification-d4128a8b.js → OrNotification-c765f111.js} +13 -5
- package/dist/esm/v2/{OrSearch-91d5decf.js → OrSearch-2f260b09.js} +1 -1
- package/dist/esm/v2/{OrSelect-7a14b7aa.js → OrSelect-7f41b973.js} +2 -2
- package/dist/esm/v2/{OrTag-94d7a3fc.js → OrTag-c3868001.js} +2 -2
- package/dist/esm/v2/components/index.js +12 -12
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v2/index.js +12 -12
- package/dist/esm/v2/{types-1c944cfa.js → types-8d58d7b5.js} +17 -8
- package/dist/esm/v3/{OrCardCollection-ed902be3.js → OrCardCollection-2a6514f3.js} +2 -2
- package/dist/esm/v3/{OrConfirm-8dcd8715.js → OrConfirm-5d56cbd3.js} +1 -1
- package/dist/esm/v3/{OrIconButton-78ac5dcf.js → OrIconButton-1eebcafc.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-6dc16916.js → OrInlineInput-31026cd0.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-3e723cb6.js → OrInlineTextarea-b28c3d8c.js} +1 -1
- package/dist/esm/v3/{OrInput-ac074e42.js → OrInput-41691fb3.js} +1 -1
- package/dist/esm/v3/{OrModal-d0c18d64.js → OrModal-381554a6.js} +12 -3
- package/dist/esm/v3/{OrNotification-52bc3f2b.js → OrNotification-34d9c99b.js} +12 -4
- package/dist/esm/v3/{OrSearch-b7c6c958.js → OrSearch-e5a2e93e.js} +1 -1
- package/dist/esm/v3/{OrSelect-7a077589.js → OrSelect-085eba28.js} +2 -2
- package/dist/esm/v3/{OrTag-debc75df.js → OrTag-c81c1869.js} +2 -2
- package/dist/esm/v3/components/index.js +12 -12
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v3/index.js +12 -12
- package/dist/esm/v3/{types-eba6dda9.js → types-8a338300.js} +15 -6
- package/package.json +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.vue +1 -1
- package/src/components/or-icon-button-v3/styles.ts +0 -3
- package/src/components/or-modal-v3/OrModal.vue +13 -6
- package/src/components/or-modal-v3/styles.ts +9 -0
- package/src/components/or-notification-v3/OrNotification.vue +12 -6
- package/src/components/or-notification-v3/styles.ts +9 -0
- package/src/components/or-tag-v3/styles.ts +3 -0
- package/src/components/or-toast-v3/OrToast.vue +13 -6
- package/src/components/or-toast-v3/styles.ts +9 -0
|
@@ -2,9 +2,9 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-1eebcafc.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-b3cf4231.js';
|
|
7
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString,
|
|
7
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, withModifiers, createBlock, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
|
10
10
|
var errorPng = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAABGdBTUEAALGOfPtRkwAAETJJREFUeAHt3e+PXFUZB/AzuzuzNE0bWbRSYiwvmzbUYIyS2tYFCUhriPGNif0DTHwLKuyCgdBuEarxhSHhD+CFb0TRFgmKCCgaLQUaCEkjbLG/RLZbWrc7+6Nzfb7T+8yeufPr/jjn3vPcOSdc7s7MnTvnPOfTc885986dirKYVvfuvU3VapNqaenw2PPPr1r8KL9rwxFYveeeMTU+fr9aXn557OjRvxnefXN3Af1/xMaOsc/Vu+7aqoLgaSrAIVo/Zutz/H4tRQB1dq3unm7WpYWPqdA+rQBcufvurapafSY4c2ZHcPy4UgsLD6zu23fQQhn8Li1EoFlXVGeoO9Qh6rJZpxY+y/gukdGVffuOrdx6a7BcqwXLSgXLN9wQrExOBvS8R2g84mZ3iDpCXaHOmnVHdYi6bNYpGhaXk45vhfEBIC0rExMeocuVR3ljfKirJj6uOwkI++HjwniE7grsha9Vdy4jjIOvVRDfEjqncBC+Vt25iJDxLet9vrDp5ox3rD1CZxAyvuXIYbejzrhO0bUy2CfESDh1Aj41NvZMcPbsF4N33lE0bI+9r8rEhKrs2KHU+vUz1SNHpmO/0W9oLALARzMUU8Hbb6vgwoX4+63VVGX7dlW56aY31Orq/uoLL7wX/83tW6YGmAVfKwuEcMQjbIUjzz8YX4PwqST4OJOGEKYCaAQfF8Qj5Ejkts6Mj3NqAGFigEbxcUE8Qo6E9bUxfJzTjAgTnQmxgg8FoUMA+iHojzQDxIXza6M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29ODf31vvz80+NvkIXinyZ7nFHF2fuvKLUZlcRenxr+PgvSQiBD92EF2l5U6k3AqW+S12m481ByN+V+niXUq+cdRShx8fkOtcSEEbxVZXa/3Ol3kNpWqPg1wnhVx1E6PF1oos+4zLCKD66ufv+n4X42gDigWsIPb4otd6PXUQ4CB9K02oBuWiuIPT4uEbir11CGAcfStYBEE8WjdDjQy2kSy4gjIsPJewKEC8UhdDjQ/SzpSIRJsGHUvYEiBfzRujxIepmUhEIk+JDSfsCxAZ5IfT4EG2zKU+EafChtAMBYiPbCD0+RNlOygNhWnwocSyA2NAWQo8P0bWbbCLMgg+ljg0QG5tG6PEhqvkkGwiz4kPJEwHEG0wh9PgQzXyTSYQm8KH0iQHiTVkRenyIYjHJBEJT+BCBVADxxrQIPT5Er9iUBaFJfIhCaoB4c1KEHh+i5kZKg9A0PkQiE0DsIC5Cjw/RcislQWgDH6KRGSB2Mgihx4couZniILSFDxExAhA76oeQfu6q47fXhuULRIiN66kbwgnKNH5WzCY+xMUYQOysG8KN9PwHtLh6c0jk2yeluiG8kQKzQAtfRh+9mNRE3IwCRIZ0hCv0HRO69r9ZgCJvCG4iUMOwDx0h3cZ49wYq9DFa3qD/bOBDTNE9s5LuU2or7fyXlPEd9E2ox2k95Q+7VkJtfKf43jEdfmfGlXqA1m9TI/Kdn2qX0Zv8wApaKFsK71fqK1SA2wnf4cPXuhQm8+73ZTECVHdjVHf3U939ieqOvrdmJ/0fyqUZLiX8LYYAAAAASUVORK5CYII=";
|
|
@@ -28,6 +28,11 @@ const ToastRoot = [
|
|
|
28
28
|
'links:text-inverse-primary', 'dark:links:text-inverse-primary-dark',
|
|
29
29
|
// Elevation
|
|
30
30
|
'shadow-card', 'dark:shadow-card-dark'];
|
|
31
|
+
const ToastActionButton = [
|
|
32
|
+
// Layout
|
|
33
|
+
'contents',
|
|
34
|
+
// Theme
|
|
35
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
31
36
|
const ToastContainer = [
|
|
32
37
|
// Position
|
|
33
38
|
'absolute',
|
|
@@ -109,6 +114,7 @@ var script$1 = defineComponent({
|
|
|
109
114
|
'self-center',
|
|
110
115
|
// Theme
|
|
111
116
|
'text-inverse-primary', 'dark:text-inverse-primary-dark']);
|
|
117
|
+
const actionButtonStyle = computed(() => [...ToastActionButton]);
|
|
112
118
|
// State
|
|
113
119
|
const emojiSrc = computed(() => {
|
|
114
120
|
switch (props.toastType) {
|
|
@@ -137,6 +143,7 @@ var script$1 = defineComponent({
|
|
|
137
143
|
}
|
|
138
144
|
return {
|
|
139
145
|
root,
|
|
146
|
+
actionButtonStyle,
|
|
140
147
|
toastIconStyle,
|
|
141
148
|
rootStyles,
|
|
142
149
|
loaderStyle,
|
|
@@ -183,12 +190,14 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
183
190
|
href: _ctx.link.href,
|
|
184
191
|
target: _ctx.hrefTarget,
|
|
185
192
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onLinkClick && _ctx.onLinkClick(...args))
|
|
186
|
-
}, toDisplayString(_ctx.link.title), 9 /* TEXT, PROPS */, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.dismissible ? (openBlock(),
|
|
193
|
+
}, toDisplayString(_ctx.link.title), 9 /* TEXT, PROPS */, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.dismissible ? (openBlock(), createElementBlock("div", {
|
|
187
194
|
key: 1,
|
|
188
|
-
|
|
189
|
-
|
|
195
|
+
class: normalizeClass(_ctx.actionButtonStyle)
|
|
196
|
+
}, [createVNode(_component_OrIconButton, {
|
|
197
|
+
icon: "close",
|
|
198
|
+
class: "dark:theme-foreground-inherit",
|
|
190
199
|
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.onClose(), ["stop"]))
|
|
191
|
-
})) : createCommentVNode("v-if", true)])], 2 /* CLASS */);
|
|
200
|
+
})], 2 /* CLASS */)) : createCommentVNode("v-if", true)])], 2 /* CLASS */);
|
|
192
201
|
}
|
|
193
202
|
|
|
194
203
|
var css_248z$1 = ".or-toast__link[data-v-837e78fc] {\n word-break: break-word;\n white-space: nowrap;\n cursor: pointer;\n}";
|
package/package.json
CHANGED
|
@@ -32,9 +32,6 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
|
32
32
|
'theme-preset-3-primary',
|
|
33
33
|
'dark:theme-preset-3-primary-dark',
|
|
34
34
|
|
|
35
|
-
'theme-foreground-outline',
|
|
36
|
-
'dark:theme-foreground-outline-dark',
|
|
37
|
-
|
|
38
35
|
// Theme (hover)
|
|
39
36
|
'hover:outline-primary-opacity-0-08',
|
|
40
37
|
'dark:hover:outline-primary-opacity-0-08-dark',
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
<slot name="header" />
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
<div :class="closeButtonStyles">
|
|
17
|
+
<OrIconButton
|
|
18
|
+
:icon="'close'"
|
|
19
|
+
:size="'l'"
|
|
20
|
+
@click.stop="close"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
21
23
|
</div>
|
|
22
24
|
|
|
23
25
|
<div :class="['grow', 'overflow-y-auto']">
|
|
@@ -35,7 +37,7 @@ import { useClassAttribute } from '../../hooks';
|
|
|
35
37
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
36
38
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
37
39
|
import { ModalSize } from './props';
|
|
38
|
-
import { ModalHeader, ModalRoot, ModalRootSizes } from './styles';
|
|
40
|
+
import { ModalCloseButton, ModalHeader, ModalRoot, ModalRootSizes } from './styles';
|
|
39
41
|
|
|
40
42
|
export default defineComponent({
|
|
41
43
|
name: 'OrModal',
|
|
@@ -88,6 +90,10 @@ export default defineComponent({
|
|
|
88
90
|
...ModalHeader,
|
|
89
91
|
]);
|
|
90
92
|
|
|
93
|
+
const closeButtonStyles = computed(() => [
|
|
94
|
+
...ModalCloseButton,
|
|
95
|
+
]);
|
|
96
|
+
|
|
91
97
|
// State
|
|
92
98
|
const isActive = ref(false);
|
|
93
99
|
|
|
@@ -117,6 +123,7 @@ export default defineComponent({
|
|
|
117
123
|
root,
|
|
118
124
|
rootStyles,
|
|
119
125
|
headerStyles,
|
|
126
|
+
closeButtonStyles,
|
|
120
127
|
isActive,
|
|
121
128
|
open,
|
|
122
129
|
close,
|
|
@@ -15,11 +15,12 @@
|
|
|
15
15
|
<slot />
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
<div :class="actionStyles">
|
|
19
|
+
<OrIconButton
|
|
20
|
+
:icon="'close'"
|
|
21
|
+
@click.stop="$emit('close')"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
23
24
|
</div>
|
|
24
25
|
</template>
|
|
25
26
|
|
|
@@ -29,7 +30,7 @@ import { useClassAttribute } from '../../hooks';
|
|
|
29
30
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
30
31
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
31
32
|
import { NotificationVariant } from './props';
|
|
32
|
-
import { NotificationIcon, NotificationIconVariants, NotificationRoot, NotificationRootVariants } from './styles';
|
|
33
|
+
import { NotificationAction, NotificationIcon, NotificationIconVariants, NotificationRoot, NotificationRootVariants } from './styles';
|
|
33
34
|
|
|
34
35
|
export default defineComponent({
|
|
35
36
|
name: 'OrNotification',
|
|
@@ -71,6 +72,10 @@ export default defineComponent({
|
|
|
71
72
|
...NotificationIconVariants[props.variant],
|
|
72
73
|
]);
|
|
73
74
|
|
|
75
|
+
const actionStyles = computed(() => [
|
|
76
|
+
...NotificationAction,
|
|
77
|
+
]);
|
|
78
|
+
|
|
74
79
|
// State
|
|
75
80
|
const icon = computed(() => {
|
|
76
81
|
switch (props.variant) {
|
|
@@ -92,6 +97,7 @@ export default defineComponent({
|
|
|
92
97
|
root,
|
|
93
98
|
rootStyles,
|
|
94
99
|
iconStyles,
|
|
100
|
+
actionStyles,
|
|
95
101
|
icon,
|
|
96
102
|
};
|
|
97
103
|
},
|
|
@@ -97,3 +97,12 @@ export const NotificationIconVariants: Record<NotificationVariant, string[]> = {
|
|
|
97
97
|
'dark:theme-foreground-primary-dark',
|
|
98
98
|
],
|
|
99
99
|
};
|
|
100
|
+
|
|
101
|
+
export const NotificationAction: string[] = [
|
|
102
|
+
// Layout
|
|
103
|
+
'contents',
|
|
104
|
+
|
|
105
|
+
// Theme
|
|
106
|
+
'theme-foreground-outline',
|
|
107
|
+
'dark:theme-foreground-outline-dark',
|
|
108
|
+
];
|
|
@@ -44,11 +44,13 @@
|
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
46
|
<template v-if="dismissible">
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
<div :class="actionButtonStyle">
|
|
48
|
+
<OrIconButton
|
|
49
|
+
icon="close"
|
|
50
|
+
class="dark:theme-foreground-inherit"
|
|
51
|
+
@click.stop="onClose()"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
52
54
|
</template>
|
|
53
55
|
</div>
|
|
54
56
|
</div>
|
|
@@ -61,7 +63,7 @@ import successPng from '../../assets/success.png';
|
|
|
61
63
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
62
64
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
63
65
|
import { ToastType } from './props';
|
|
64
|
-
import { messageStyleVariant, ToastRoot } from './styles';
|
|
66
|
+
import { messageStyleVariant, ToastActionButton, ToastRoot } from './styles';
|
|
65
67
|
import { ToastLink } from './types';
|
|
66
68
|
|
|
67
69
|
export default defineComponent({
|
|
@@ -132,6 +134,10 @@ export default defineComponent({
|
|
|
132
134
|
'dark:text-inverse-primary-dark',
|
|
133
135
|
]);
|
|
134
136
|
|
|
137
|
+
const actionButtonStyle = computed(() => [
|
|
138
|
+
...ToastActionButton,
|
|
139
|
+
]);
|
|
140
|
+
|
|
135
141
|
// State
|
|
136
142
|
const emojiSrc = computed(() => {
|
|
137
143
|
switch (props.toastType) {
|
|
@@ -162,6 +168,7 @@ export default defineComponent({
|
|
|
162
168
|
|
|
163
169
|
return {
|
|
164
170
|
root,
|
|
171
|
+
actionButtonStyle,
|
|
165
172
|
toastIconStyle,
|
|
166
173
|
rootStyles,
|
|
167
174
|
loaderStyle,
|
|
@@ -35,6 +35,15 @@ export const ToastRoot: string[] = [
|
|
|
35
35
|
'dark:shadow-card-dark',
|
|
36
36
|
];
|
|
37
37
|
|
|
38
|
+
export const ToastActionButton: string[] = [
|
|
39
|
+
// Layout
|
|
40
|
+
'contents',
|
|
41
|
+
|
|
42
|
+
// Theme
|
|
43
|
+
'theme-foreground-outline',
|
|
44
|
+
'dark:theme-foreground-outline-dark',
|
|
45
|
+
];
|
|
46
|
+
|
|
38
47
|
export const ToastContainer: string[] = [
|
|
39
48
|
// Position
|
|
40
49
|
'absolute',
|