faw_toast 1.4.1 → 1.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/assets/javascripts/faw_toast.min.js +1 -0
- data/app/assets/stylesheets/faw_toast.min.css +1 -0
- data/lib/faw_toast/version.rb +1 -1
- data/lib/generators/faw_toast/install/install_generator.rb +2 -2
- data/package.json +18 -0
- data/yarn.lock +296 -0
- metadata +6 -4
- data/app/assets/stylesheets/faw_toast.css +0 -141
- data/app/assets/stylesheets/faw_toast.css.map +0 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b7a986efd1b40e607bc0c80da0d14d03bc2bb2c4d1d0f3ccddf214609b79f6a
|
|
4
|
+
data.tar.gz: b495c1297bc878f4fee022ba875d7bd998dfee0d35a28beb5255b1f67e499d67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10bf9135a71e84ef98f8da16347ad4770194f38a274baf4ea2996fdb96085e5bc540c0948e4c82b45f88574b9c249c1fe65a66513fe6e07e7325cf36808bd7b5
|
|
7
|
+
data.tar.gz: f1fb9ebb8a2ebc02b810a92d7dbe195f06c379ca9a0f45121832d16624fbda66a5b34a5f8ffa1e90616520f644cc3d2a15f9b8e0aaf2059c8cb184041264adec
|
data/README.md
CHANGED
|
@@ -42,8 +42,8 @@ This will:
|
|
|
42
42
|
1. Create a configuration initializer at `config/initializers/faw_toast.rb`
|
|
43
43
|
2. Include the following into your `application.html.erb`
|
|
44
44
|
* Add a style tag for the configurable css variables
|
|
45
|
-
* `<%= stylesheet_link_tag "faw_toast", "data-turbo-track": "reload" %>`
|
|
46
|
-
* `<%= javascript_include_tag "faw_toast", "data-turbo-track": "reload", type: "module" %>`
|
|
45
|
+
* `<%= stylesheet_link_tag "faw_toast.min", "data-turbo-track": "reload" %>`
|
|
46
|
+
* `<%= javascript_include_tag "faw_toast.min", "data-turbo-track": "reload", type: "module" %>`
|
|
47
47
|
* Add the toast container div
|
|
48
48
|
|
|
49
49
|
If you are using `sprockets` you may need to add the following lines to your `app/config/manifest.js`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{document.addEventListener("DOMContentLoaded",a);document.addEventListener("turbo:load",a);function a(){function o(){document.querySelectorAll(".faw-toast").forEach(function(t){t.addEventListener("animationend",function(e){(e.animationName==="faw-toast-slideOutRight"||e.animationName==="faw-toast-slideOutLeft"||e.animationName==="faw-toast-slideOutTop"||e.animationName==="faw-toast-slideOutBottom")&&t.remove()})})}o(),new MutationObserver(function(n){n.forEach(function(t){t.addedNodes.length&&o()})}).observe(document.body,{childList:!0,subtree:!0})}})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.faw-toast-container{position:fixed;z-index:9999;display:flex;flex-direction:column;gap:.5rem}.faw-toast-container.faw-toast-top-left{top:1rem;left:.5rem}.faw-toast-container.faw-toast-top-center{top:1rem;left:50%;transform:translateX(-50%)}.faw-toast-container.faw-toast-top-right{top:3rem;right:.5rem}.faw-toast-container.faw-toast-bottom-right{bottom:1rem;right:.5rem}.faw-toast-container.faw-toast-bottom-center{bottom:1rem;left:50%;transform:translateX(-50%)}.faw-toast-container.faw-toast-bottom-left{bottom:1rem;left:.5rem}.faw-toast{padding:1rem;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.2);position:relative;overflow:hidden;max-width:24rem;min-width:300px;text-align:center;background-color:#fff}.faw-toast.faw-toast-slide-left{animation:faw-toast-slideInLeft .3s ease-in-out,faw-toast-slideOutLeft .3s ease-in-out var(--faw-toast-duration) forwards}.faw-toast.faw-toast-slide-top{animation:faw-toast-slideInTop .3s ease-in-out,faw-toast-slideOutTop .3s ease-in-out var(--faw-toast-duration) forwards}.faw-toast.faw-toast-slide-right{animation:faw-toast-slideInRight .3s ease-in-out,faw-toast-slideOutRight .3s ease-in-out var(--faw-toast-duration) forwards}.faw-toast.faw-toast-slide-bottom{animation:faw-toast-slideInBottom .3s ease-in-out,faw-toast-slideOutBottom .3s ease-in-out var(--faw-toast-duration) forwards}.faw-toast.faw-toast-border-left-10{border-left-width:10px;border-left-style:solid}.faw-toast.faw-toast-border-top-10{border-top-width:10px;border-top-style:solid}.faw-toast.faw-toast-border-right-10{border-right-width:10px;border-right-style:solid}.faw-toast.faw-toast-border-green{border-color:#10b981}.faw-toast.faw-toast-border-red{border-color:#ef4444}.faw-toast.faw-toast-border-sky{border-color:#0284c7}.faw-toast.faw-toast-border-indigo{border-color:#6366f1}.faw-toast .faw-toast-content{flex:1}.faw-toast .faw-toast-close{cursor:pointer;color:#6b7280}.faw-toast .faw-toast-close:hover{color:#111827}.faw-toast .faw-toast-progress{position:absolute;bottom:0;left:0;height:3px;background-color:var(--faw-toast-progress-bar-bg);width:100%;animation:faw-toast-progress var(--faw-toast-duration) linear forwards}@keyframes faw-toast-slideInRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes faw-toast-slideOutRight{from{transform:translateX(0);opacity:1}to{transform:translateX(100%);opacity:0}}@keyframes faw-toast-slideInLeft{from{transform:translateX(-100%);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes faw-toast-slideOutLeft{from{transform:translateX(0);opacity:1}to{transform:translateX(-100%);opacity:0}}@keyframes faw-toast-slideInTop{from{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes faw-toast-slideOutTop{from{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}@keyframes faw-toast-slideInBottom{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes faw-toast-slideOutBottom{from{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes faw-toast-progress{from{width:100%}to{width:0}}
|
data/lib/faw_toast/version.rb
CHANGED
|
@@ -22,13 +22,13 @@ module FawToast
|
|
|
22
22
|
|
|
23
23
|
def add_stylesheet_tag
|
|
24
24
|
inject_into_file "app/views/layouts/application.html.erb", after: "<%= stylesheet_link_tag \"application\", \"data-turbo-track\": \"reload\" %>" do
|
|
25
|
-
"\n <%= stylesheet_link_tag \"faw_toast\", \"data-turbo-track\": \"reload\" %>"
|
|
25
|
+
"\n <%= stylesheet_link_tag \"faw_toast.min\", \"data-turbo-track\": \"reload\" %>"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def add_javascript_tag
|
|
30
30
|
inject_into_file "app/views/layouts/application.html.erb", before: "</head>" do
|
|
31
|
-
" <%= javascript_include_tag \"faw_toast\", \"data-turbo-track\": \"reload\" %>\n"
|
|
31
|
+
" <%= javascript_include_tag \"faw_toast.min\", \"data-turbo-track\": \"reload\" %>\n"
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
data/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "faw_toast",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Toast notification system for Rails",
|
|
5
|
+
"private": true,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "yarn run build:css && yarn run build:js",
|
|
8
|
+
"build:css": "sass app/assets/stylesheets/faw_toast.scss:app/assets/stylesheets/faw_toast.min.css --no-source-map --style=compressed",
|
|
9
|
+
"build:js": "esbuild app/assets/javascripts/faw_toast.js --bundle --minify --outfile=app/assets/javascripts/faw_toast.min.js",
|
|
10
|
+
"watch": "yarn run watch:css && yarn run watch:js",
|
|
11
|
+
"watch:css": "sass app/assets/stylesheets/faw_toast.scss:app/assets/stylesheets/faw_toast.min.css --watch",
|
|
12
|
+
"watch:js": "esbuild app/assets/javascripts/faw_toast.js --bundle --watch --outfile=app/assets/javascripts/faw_toast.min.js"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"esbuild": "^0.19.0",
|
|
16
|
+
"sass": "^1.69.0"
|
|
17
|
+
}
|
|
18
|
+
}
|
data/yarn.lock
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
+
# yarn lockfile v1
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
"@esbuild/aix-ppc64@0.19.12":
|
|
6
|
+
version "0.19.12"
|
|
7
|
+
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f"
|
|
8
|
+
integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==
|
|
9
|
+
|
|
10
|
+
"@esbuild/android-arm64@0.19.12":
|
|
11
|
+
version "0.19.12"
|
|
12
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4"
|
|
13
|
+
integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==
|
|
14
|
+
|
|
15
|
+
"@esbuild/android-arm@0.19.12":
|
|
16
|
+
version "0.19.12"
|
|
17
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824"
|
|
18
|
+
integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==
|
|
19
|
+
|
|
20
|
+
"@esbuild/android-x64@0.19.12":
|
|
21
|
+
version "0.19.12"
|
|
22
|
+
resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d"
|
|
23
|
+
integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==
|
|
24
|
+
|
|
25
|
+
"@esbuild/darwin-arm64@0.19.12":
|
|
26
|
+
version "0.19.12"
|
|
27
|
+
resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e"
|
|
28
|
+
integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==
|
|
29
|
+
|
|
30
|
+
"@esbuild/darwin-x64@0.19.12":
|
|
31
|
+
version "0.19.12"
|
|
32
|
+
resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd"
|
|
33
|
+
integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==
|
|
34
|
+
|
|
35
|
+
"@esbuild/freebsd-arm64@0.19.12":
|
|
36
|
+
version "0.19.12"
|
|
37
|
+
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487"
|
|
38
|
+
integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==
|
|
39
|
+
|
|
40
|
+
"@esbuild/freebsd-x64@0.19.12":
|
|
41
|
+
version "0.19.12"
|
|
42
|
+
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c"
|
|
43
|
+
integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==
|
|
44
|
+
|
|
45
|
+
"@esbuild/linux-arm64@0.19.12":
|
|
46
|
+
version "0.19.12"
|
|
47
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b"
|
|
48
|
+
integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==
|
|
49
|
+
|
|
50
|
+
"@esbuild/linux-arm@0.19.12":
|
|
51
|
+
version "0.19.12"
|
|
52
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef"
|
|
53
|
+
integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==
|
|
54
|
+
|
|
55
|
+
"@esbuild/linux-ia32@0.19.12":
|
|
56
|
+
version "0.19.12"
|
|
57
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601"
|
|
58
|
+
integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==
|
|
59
|
+
|
|
60
|
+
"@esbuild/linux-loong64@0.19.12":
|
|
61
|
+
version "0.19.12"
|
|
62
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299"
|
|
63
|
+
integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==
|
|
64
|
+
|
|
65
|
+
"@esbuild/linux-mips64el@0.19.12":
|
|
66
|
+
version "0.19.12"
|
|
67
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec"
|
|
68
|
+
integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==
|
|
69
|
+
|
|
70
|
+
"@esbuild/linux-ppc64@0.19.12":
|
|
71
|
+
version "0.19.12"
|
|
72
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8"
|
|
73
|
+
integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==
|
|
74
|
+
|
|
75
|
+
"@esbuild/linux-riscv64@0.19.12":
|
|
76
|
+
version "0.19.12"
|
|
77
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf"
|
|
78
|
+
integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==
|
|
79
|
+
|
|
80
|
+
"@esbuild/linux-s390x@0.19.12":
|
|
81
|
+
version "0.19.12"
|
|
82
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8"
|
|
83
|
+
integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==
|
|
84
|
+
|
|
85
|
+
"@esbuild/linux-x64@0.19.12":
|
|
86
|
+
version "0.19.12"
|
|
87
|
+
resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78"
|
|
88
|
+
integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==
|
|
89
|
+
|
|
90
|
+
"@esbuild/netbsd-x64@0.19.12":
|
|
91
|
+
version "0.19.12"
|
|
92
|
+
resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b"
|
|
93
|
+
integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==
|
|
94
|
+
|
|
95
|
+
"@esbuild/openbsd-x64@0.19.12":
|
|
96
|
+
version "0.19.12"
|
|
97
|
+
resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0"
|
|
98
|
+
integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==
|
|
99
|
+
|
|
100
|
+
"@esbuild/sunos-x64@0.19.12":
|
|
101
|
+
version "0.19.12"
|
|
102
|
+
resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30"
|
|
103
|
+
integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==
|
|
104
|
+
|
|
105
|
+
"@esbuild/win32-arm64@0.19.12":
|
|
106
|
+
version "0.19.12"
|
|
107
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae"
|
|
108
|
+
integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==
|
|
109
|
+
|
|
110
|
+
"@esbuild/win32-ia32@0.19.12":
|
|
111
|
+
version "0.19.12"
|
|
112
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67"
|
|
113
|
+
integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==
|
|
114
|
+
|
|
115
|
+
"@esbuild/win32-x64@0.19.12":
|
|
116
|
+
version "0.19.12"
|
|
117
|
+
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae"
|
|
118
|
+
integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==
|
|
119
|
+
|
|
120
|
+
"@parcel/watcher-android-arm64@2.5.4":
|
|
121
|
+
version "2.5.4"
|
|
122
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.4.tgz#88c67bde2c3efa997a0b1fea540080c6ade0322c"
|
|
123
|
+
integrity sha512-hoh0vx4v+b3BNI7Cjoy2/B0ARqcwVNrzN/n7DLq9ZB4I3lrsvhrkCViJyfTj/Qi5xM9YFiH4AmHGK6pgH1ss7g==
|
|
124
|
+
|
|
125
|
+
"@parcel/watcher-darwin-arm64@2.5.4":
|
|
126
|
+
version "2.5.4"
|
|
127
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.5.4.tgz#d9dc037cff8a4ab7839a79c5287a6e6660f7ab27"
|
|
128
|
+
integrity sha512-kphKy377pZiWpAOyTgQYPE5/XEKVMaj6VUjKT5VkNyUJlr2qZAn8gIc7CPzx+kbhvqHDT9d7EqdOqRXT6vk0zw==
|
|
129
|
+
|
|
130
|
+
"@parcel/watcher-darwin-x64@2.5.4":
|
|
131
|
+
version "2.5.4"
|
|
132
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.5.4.tgz#da0e13e16ee6d378242e2cfb469d72667624383a"
|
|
133
|
+
integrity sha512-UKaQFhCtNJW1A9YyVz3Ju7ydf6QgrpNQfRZ35wNKUhTQ3dxJ/3MULXN5JN/0Z80V/KUBDGa3RZaKq1EQT2a2gg==
|
|
134
|
+
|
|
135
|
+
"@parcel/watcher-freebsd-x64@2.5.4":
|
|
136
|
+
version "2.5.4"
|
|
137
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.5.4.tgz#feb7cc9ec680bae3e91dddcdb4fe1c399ed52cc1"
|
|
138
|
+
integrity sha512-Dib0Wv3Ow/m2/ttvLdeI2DBXloO7t3Z0oCp4bAb2aqyqOjKPPGrg10pMJJAQ7tt8P4V2rwYwywkDhUia/FgS+Q==
|
|
139
|
+
|
|
140
|
+
"@parcel/watcher-linux-arm-glibc@2.5.4":
|
|
141
|
+
version "2.5.4"
|
|
142
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.5.4.tgz#fa4e9cf8228c8c433e2f035e8b16aa299d892a78"
|
|
143
|
+
integrity sha512-I5Vb769pdf7Q7Sf4KNy8Pogl/URRCKu9ImMmnVKYayhynuyGYMzuI4UOWnegQNa2sGpsPSbzDsqbHNMyeyPCgw==
|
|
144
|
+
|
|
145
|
+
"@parcel/watcher-linux-arm-musl@2.5.4":
|
|
146
|
+
version "2.5.4"
|
|
147
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.5.4.tgz#9ee6792e2d8810af9871ee5bbc2aa04e0b079d62"
|
|
148
|
+
integrity sha512-kGO8RPvVrcAotV4QcWh8kZuHr9bXi9a3bSZw7kFarYR0+fGliU7hd/zevhjw8fnvIKG3J9EO5G6sXNGCSNMYPQ==
|
|
149
|
+
|
|
150
|
+
"@parcel/watcher-linux-arm64-glibc@2.5.4":
|
|
151
|
+
version "2.5.4"
|
|
152
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.5.4.tgz#624c6d874d99afa79305720f96a0c233d4ad7fde"
|
|
153
|
+
integrity sha512-KU75aooXhqGFY2W5/p8DYYHt4hrjHZod8AhcGAmhzPn/etTa+lYCDB2b1sJy3sWJ8ahFVTdy+EbqSBvMx3iFlw==
|
|
154
|
+
|
|
155
|
+
"@parcel/watcher-linux-arm64-musl@2.5.4":
|
|
156
|
+
version "2.5.4"
|
|
157
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.5.4.tgz#5341e88b9e645d31c015ed40f384e60e49bd74d2"
|
|
158
|
+
integrity sha512-Qx8uNiIekVutnzbVdrgSanM+cbpDD3boB1f8vMtnuG5Zau4/bdDbXyKwIn0ToqFhIuob73bcxV9NwRm04/hzHQ==
|
|
159
|
+
|
|
160
|
+
"@parcel/watcher-linux-x64-glibc@2.5.4":
|
|
161
|
+
version "2.5.4"
|
|
162
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.5.4.tgz#be5bcc49d3f6d21cc81bb531970a05d3721e385c"
|
|
163
|
+
integrity sha512-UYBQvhYmgAv61LNUn24qGQdjtycFBKSK3EXr72DbJqX9aaLbtCOO8+1SkKhD/GNiJ97ExgcHBrukcYhVjrnogA==
|
|
164
|
+
|
|
165
|
+
"@parcel/watcher-linux-x64-musl@2.5.4":
|
|
166
|
+
version "2.5.4"
|
|
167
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.5.4.tgz#bffd3895b1f0cc8fd1436e409fd65d0a901281c0"
|
|
168
|
+
integrity sha512-YoRWCVgxv8akZrMhdyVi6/TyoeeMkQ0PGGOf2E4omODrvd1wxniXP+DBynKoHryStks7l+fDAMUBRzqNHrVOpg==
|
|
169
|
+
|
|
170
|
+
"@parcel/watcher-win32-arm64@2.5.4":
|
|
171
|
+
version "2.5.4"
|
|
172
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.5.4.tgz#7fb8aedea5b34ba97a01e1555929d01f4eb72fe4"
|
|
173
|
+
integrity sha512-iby+D/YNXWkiQNYcIhg8P5hSjzXEHaQrk2SLrWOUD7VeC4Ohu0WQvmV+HDJokZVJ2UjJ4AGXW3bx7Lls9Ln4TQ==
|
|
174
|
+
|
|
175
|
+
"@parcel/watcher-win32-ia32@2.5.4":
|
|
176
|
+
version "2.5.4"
|
|
177
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.5.4.tgz#f7f94ebdb21dedf37b12e030a82d4211798a1c26"
|
|
178
|
+
integrity sha512-vQN+KIReG0a2ZDpVv8cgddlf67J8hk1WfZMMP7sMeZmJRSmEax5xNDNWKdgqSe2brOKTQQAs3aCCUal2qBHAyg==
|
|
179
|
+
|
|
180
|
+
"@parcel/watcher-win32-x64@2.5.4":
|
|
181
|
+
version "2.5.4"
|
|
182
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.5.4.tgz#8d895c9723f7fffdf4b360fd1becf1b6bcb571df"
|
|
183
|
+
integrity sha512-3A6efb6BOKwyw7yk9ro2vus2YTt2nvcd56AuzxdMiVOxL9umDyN5PKkKfZ/gZ9row41SjVmTVQNWQhaRRGpOKw==
|
|
184
|
+
|
|
185
|
+
"@parcel/watcher@^2.4.1":
|
|
186
|
+
version "2.5.4"
|
|
187
|
+
resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.5.4.tgz#a6575b0a018b4e263589c1e7bc2ceb73c1ee84de"
|
|
188
|
+
integrity sha512-WYa2tUVV5HiArWPB3ydlOc4R2ivq0IDrlqhMi3l7mVsFEXNcTfxYFPIHXHXIh/ca/y/V5N4E1zecyxdIBjYnkQ==
|
|
189
|
+
dependencies:
|
|
190
|
+
detect-libc "^2.0.3"
|
|
191
|
+
is-glob "^4.0.3"
|
|
192
|
+
node-addon-api "^7.0.0"
|
|
193
|
+
picomatch "^4.0.3"
|
|
194
|
+
optionalDependencies:
|
|
195
|
+
"@parcel/watcher-android-arm64" "2.5.4"
|
|
196
|
+
"@parcel/watcher-darwin-arm64" "2.5.4"
|
|
197
|
+
"@parcel/watcher-darwin-x64" "2.5.4"
|
|
198
|
+
"@parcel/watcher-freebsd-x64" "2.5.4"
|
|
199
|
+
"@parcel/watcher-linux-arm-glibc" "2.5.4"
|
|
200
|
+
"@parcel/watcher-linux-arm-musl" "2.5.4"
|
|
201
|
+
"@parcel/watcher-linux-arm64-glibc" "2.5.4"
|
|
202
|
+
"@parcel/watcher-linux-arm64-musl" "2.5.4"
|
|
203
|
+
"@parcel/watcher-linux-x64-glibc" "2.5.4"
|
|
204
|
+
"@parcel/watcher-linux-x64-musl" "2.5.4"
|
|
205
|
+
"@parcel/watcher-win32-arm64" "2.5.4"
|
|
206
|
+
"@parcel/watcher-win32-ia32" "2.5.4"
|
|
207
|
+
"@parcel/watcher-win32-x64" "2.5.4"
|
|
208
|
+
|
|
209
|
+
chokidar@^4.0.0:
|
|
210
|
+
version "4.0.3"
|
|
211
|
+
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.3.tgz#7be37a4c03c9aee1ecfe862a4a23b2c70c205d30"
|
|
212
|
+
integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==
|
|
213
|
+
dependencies:
|
|
214
|
+
readdirp "^4.0.1"
|
|
215
|
+
|
|
216
|
+
detect-libc@^2.0.3:
|
|
217
|
+
version "2.1.2"
|
|
218
|
+
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.1.2.tgz#689c5dcdc1900ef5583a4cb9f6d7b473742074ad"
|
|
219
|
+
integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==
|
|
220
|
+
|
|
221
|
+
esbuild@^0.19.0:
|
|
222
|
+
version "0.19.12"
|
|
223
|
+
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04"
|
|
224
|
+
integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==
|
|
225
|
+
optionalDependencies:
|
|
226
|
+
"@esbuild/aix-ppc64" "0.19.12"
|
|
227
|
+
"@esbuild/android-arm" "0.19.12"
|
|
228
|
+
"@esbuild/android-arm64" "0.19.12"
|
|
229
|
+
"@esbuild/android-x64" "0.19.12"
|
|
230
|
+
"@esbuild/darwin-arm64" "0.19.12"
|
|
231
|
+
"@esbuild/darwin-x64" "0.19.12"
|
|
232
|
+
"@esbuild/freebsd-arm64" "0.19.12"
|
|
233
|
+
"@esbuild/freebsd-x64" "0.19.12"
|
|
234
|
+
"@esbuild/linux-arm" "0.19.12"
|
|
235
|
+
"@esbuild/linux-arm64" "0.19.12"
|
|
236
|
+
"@esbuild/linux-ia32" "0.19.12"
|
|
237
|
+
"@esbuild/linux-loong64" "0.19.12"
|
|
238
|
+
"@esbuild/linux-mips64el" "0.19.12"
|
|
239
|
+
"@esbuild/linux-ppc64" "0.19.12"
|
|
240
|
+
"@esbuild/linux-riscv64" "0.19.12"
|
|
241
|
+
"@esbuild/linux-s390x" "0.19.12"
|
|
242
|
+
"@esbuild/linux-x64" "0.19.12"
|
|
243
|
+
"@esbuild/netbsd-x64" "0.19.12"
|
|
244
|
+
"@esbuild/openbsd-x64" "0.19.12"
|
|
245
|
+
"@esbuild/sunos-x64" "0.19.12"
|
|
246
|
+
"@esbuild/win32-arm64" "0.19.12"
|
|
247
|
+
"@esbuild/win32-ia32" "0.19.12"
|
|
248
|
+
"@esbuild/win32-x64" "0.19.12"
|
|
249
|
+
|
|
250
|
+
immutable@^5.0.2:
|
|
251
|
+
version "5.1.4"
|
|
252
|
+
resolved "https://registry.yarnpkg.com/immutable/-/immutable-5.1.4.tgz#e3f8c1fe7b567d56cf26698f31918c241dae8c1f"
|
|
253
|
+
integrity sha512-p6u1bG3YSnINT5RQmx/yRZBpenIl30kVxkTLDyHLIMk0gict704Q9n+thfDI7lTRm9vXdDYutVzXhzcThxTnXA==
|
|
254
|
+
|
|
255
|
+
is-extglob@^2.1.1:
|
|
256
|
+
version "2.1.1"
|
|
257
|
+
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
|
258
|
+
integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
|
|
259
|
+
|
|
260
|
+
is-glob@^4.0.3:
|
|
261
|
+
version "4.0.3"
|
|
262
|
+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
|
263
|
+
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
|
264
|
+
dependencies:
|
|
265
|
+
is-extglob "^2.1.1"
|
|
266
|
+
|
|
267
|
+
node-addon-api@^7.0.0:
|
|
268
|
+
version "7.1.1"
|
|
269
|
+
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558"
|
|
270
|
+
integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==
|
|
271
|
+
|
|
272
|
+
picomatch@^4.0.3:
|
|
273
|
+
version "4.0.3"
|
|
274
|
+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
|
|
275
|
+
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
|
|
276
|
+
|
|
277
|
+
readdirp@^4.0.1:
|
|
278
|
+
version "4.1.2"
|
|
279
|
+
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.1.2.tgz#eb85801435fbf2a7ee58f19e0921b068fc69948d"
|
|
280
|
+
integrity sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==
|
|
281
|
+
|
|
282
|
+
sass@^1.69.0:
|
|
283
|
+
version "1.97.2"
|
|
284
|
+
resolved "https://registry.yarnpkg.com/sass/-/sass-1.97.2.tgz#e515a319092fd2c3b015228e3094b40198bff0da"
|
|
285
|
+
integrity sha512-y5LWb0IlbO4e97Zr7c3mlpabcbBtS+ieiZ9iwDooShpFKWXf62zz5pEPdwrLYm+Bxn1fnbwFGzHuCLSA9tBmrw==
|
|
286
|
+
dependencies:
|
|
287
|
+
chokidar "^4.0.0"
|
|
288
|
+
immutable "^5.0.2"
|
|
289
|
+
source-map-js ">=0.6.2 <2.0.0"
|
|
290
|
+
optionalDependencies:
|
|
291
|
+
"@parcel/watcher" "^2.4.1"
|
|
292
|
+
|
|
293
|
+
"source-map-js@>=0.6.2 <2.0.0":
|
|
294
|
+
version "1.2.1"
|
|
295
|
+
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
|
|
296
|
+
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faw_toast
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- alexwebgr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -56,8 +56,8 @@ files:
|
|
|
56
56
|
- README.md
|
|
57
57
|
- Rakefile
|
|
58
58
|
- app/assets/javascripts/faw_toast.js
|
|
59
|
-
- app/assets/
|
|
60
|
-
- app/assets/stylesheets/faw_toast.css
|
|
59
|
+
- app/assets/javascripts/faw_toast.min.js
|
|
60
|
+
- app/assets/stylesheets/faw_toast.min.css
|
|
61
61
|
- app/assets/stylesheets/faw_toast.scss
|
|
62
62
|
- app/views/faw_toast/_toast.html.erb
|
|
63
63
|
- lib/faw_toast.rb
|
|
@@ -67,6 +67,8 @@ files:
|
|
|
67
67
|
- lib/faw_toast/version.rb
|
|
68
68
|
- lib/generators/faw_toast/install/install_generator.rb
|
|
69
69
|
- lib/generators/faw_toast/install/templates/faw_toast.rb
|
|
70
|
+
- package.json
|
|
71
|
+
- yarn.lock
|
|
70
72
|
homepage: https://github.com/alexwebgr/faw_toast
|
|
71
73
|
licenses:
|
|
72
74
|
- MIT
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
.faw-toast-container {
|
|
2
|
-
position: fixed;
|
|
3
|
-
z-index: 9999;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 0.5rem; }
|
|
7
|
-
.faw-toast-container.faw-toast-top-left {
|
|
8
|
-
top: 1rem;
|
|
9
|
-
left: 0.5rem; }
|
|
10
|
-
.faw-toast-container.faw-toast-top-center {
|
|
11
|
-
top: 1rem;
|
|
12
|
-
left: 50%;
|
|
13
|
-
transform: translateX(-50%); }
|
|
14
|
-
.faw-toast-container.faw-toast-top-right {
|
|
15
|
-
top: 3rem;
|
|
16
|
-
right: 0.5rem; }
|
|
17
|
-
.faw-toast-container.faw-toast-bottom-right {
|
|
18
|
-
bottom: 1rem;
|
|
19
|
-
right: 0.5rem; }
|
|
20
|
-
.faw-toast-container.faw-toast-bottom-center {
|
|
21
|
-
bottom: 1rem;
|
|
22
|
-
left: 50%;
|
|
23
|
-
transform: translateX(-50%); }
|
|
24
|
-
.faw-toast-container.faw-toast-bottom-left {
|
|
25
|
-
bottom: 1rem;
|
|
26
|
-
left: 0.5rem; }
|
|
27
|
-
|
|
28
|
-
.faw-toast {
|
|
29
|
-
padding: 1rem;
|
|
30
|
-
border-radius: 4px;
|
|
31
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
32
|
-
position: relative;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
max-width: 24rem;
|
|
35
|
-
min-width: 300px;
|
|
36
|
-
text-align: center;
|
|
37
|
-
background-color: white; }
|
|
38
|
-
.faw-toast.faw-toast-slide-left {
|
|
39
|
-
animation: faw-toast-slideInLeft 0.3s ease-in-out, faw-toast-slideOutLeft 0.3s ease-in-out var(--faw-toast-duration) forwards; }
|
|
40
|
-
.faw-toast.faw-toast-slide-top {
|
|
41
|
-
animation: faw-toast-slideInTop 0.3s ease-in-out, faw-toast-slideOutTop 0.3s ease-in-out var(--faw-toast-duration) forwards; }
|
|
42
|
-
.faw-toast.faw-toast-slide-right {
|
|
43
|
-
animation: faw-toast-slideInRight 0.3s ease-in-out, faw-toast-slideOutRight 0.3s ease-in-out var(--faw-toast-duration) forwards; }
|
|
44
|
-
.faw-toast.faw-toast-slide-bottom {
|
|
45
|
-
animation: faw-toast-slideInBottom 0.3s ease-in-out, faw-toast-slideOutBottom 0.3s ease-in-out var(--faw-toast-duration) forwards; }
|
|
46
|
-
.faw-toast.faw-toast-border-left-10 {
|
|
47
|
-
border-left-width: 10px;
|
|
48
|
-
border-left-style: solid; }
|
|
49
|
-
.faw-toast.faw-toast-border-top-10 {
|
|
50
|
-
border-top-width: 10px;
|
|
51
|
-
border-top-style: solid; }
|
|
52
|
-
.faw-toast.faw-toast-border-right-10 {
|
|
53
|
-
border-right-width: 10px;
|
|
54
|
-
border-right-style: solid; }
|
|
55
|
-
.faw-toast.faw-toast-border-green {
|
|
56
|
-
border-color: #10b981; }
|
|
57
|
-
.faw-toast.faw-toast-border-red {
|
|
58
|
-
border-color: #ef4444; }
|
|
59
|
-
.faw-toast.faw-toast-border-sky {
|
|
60
|
-
border-color: #0284c7; }
|
|
61
|
-
.faw-toast.faw-toast-border-indigo {
|
|
62
|
-
border-color: #6366f1; }
|
|
63
|
-
.faw-toast .faw-toast-content {
|
|
64
|
-
flex: 1; }
|
|
65
|
-
.faw-toast .faw-toast-close {
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
color: #6b7280; }
|
|
68
|
-
.faw-toast .faw-toast-close:hover {
|
|
69
|
-
color: #111827; }
|
|
70
|
-
.faw-toast .faw-toast-progress {
|
|
71
|
-
position: absolute;
|
|
72
|
-
bottom: 0;
|
|
73
|
-
left: 0;
|
|
74
|
-
height: 3px;
|
|
75
|
-
background-color: var(--faw-toast-progress-bar-bg);
|
|
76
|
-
width: 100%;
|
|
77
|
-
animation: faw-toast-progress var(--faw-toast-duration) linear forwards; }
|
|
78
|
-
|
|
79
|
-
@keyframes faw-toast-slideInRight {
|
|
80
|
-
from {
|
|
81
|
-
transform: translateX(100%);
|
|
82
|
-
opacity: 0; }
|
|
83
|
-
to {
|
|
84
|
-
transform: translateX(0);
|
|
85
|
-
opacity: 1; } }
|
|
86
|
-
@keyframes faw-toast-slideOutRight {
|
|
87
|
-
from {
|
|
88
|
-
transform: translateX(0);
|
|
89
|
-
opacity: 1; }
|
|
90
|
-
to {
|
|
91
|
-
transform: translateX(100%);
|
|
92
|
-
opacity: 0; } }
|
|
93
|
-
@keyframes faw-toast-slideInLeft {
|
|
94
|
-
from {
|
|
95
|
-
transform: translateX(-100%);
|
|
96
|
-
opacity: 0; }
|
|
97
|
-
to {
|
|
98
|
-
transform: translateX(0);
|
|
99
|
-
opacity: 1; } }
|
|
100
|
-
@keyframes faw-toast-slideOutLeft {
|
|
101
|
-
from {
|
|
102
|
-
transform: translateX(0);
|
|
103
|
-
opacity: 1; }
|
|
104
|
-
to {
|
|
105
|
-
transform: translateX(-100%);
|
|
106
|
-
opacity: 0; } }
|
|
107
|
-
@keyframes faw-toast-slideInTop {
|
|
108
|
-
from {
|
|
109
|
-
transform: translateY(-100%);
|
|
110
|
-
opacity: 0; }
|
|
111
|
-
to {
|
|
112
|
-
transform: translateY(0);
|
|
113
|
-
opacity: 1; } }
|
|
114
|
-
@keyframes faw-toast-slideOutTop {
|
|
115
|
-
from {
|
|
116
|
-
transform: translateY(0);
|
|
117
|
-
opacity: 1; }
|
|
118
|
-
to {
|
|
119
|
-
transform: translateY(-100%);
|
|
120
|
-
opacity: 0; } }
|
|
121
|
-
@keyframes faw-toast-slideInBottom {
|
|
122
|
-
from {
|
|
123
|
-
transform: translateY(100%);
|
|
124
|
-
opacity: 0; }
|
|
125
|
-
to {
|
|
126
|
-
transform: translateY(0);
|
|
127
|
-
opacity: 1; } }
|
|
128
|
-
@keyframes faw-toast-slideOutBottom {
|
|
129
|
-
from {
|
|
130
|
-
transform: translateY(0);
|
|
131
|
-
opacity: 1; }
|
|
132
|
-
to {
|
|
133
|
-
transform: translateY(100%);
|
|
134
|
-
opacity: 0; } }
|
|
135
|
-
@keyframes faw-toast-progress {
|
|
136
|
-
from {
|
|
137
|
-
width: 100%; }
|
|
138
|
-
to {
|
|
139
|
-
width: 0; } }
|
|
140
|
-
|
|
141
|
-
/*# sourceMappingURL=faw_toast.css.map */
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"mappings": "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",
|
|
4
|
-
"sources": ["faw_toast.scss"],
|
|
5
|
-
"names": [],
|
|
6
|
-
"file": "faw_toast.css"
|
|
7
|
-
}
|