@riosst100/pwa-marketplace 2.8.3 → 2.8.5
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/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
module.exports = componentOverrideMapping = {
|
|
2
2
|
[`@magento/venia-ui/lib/components/Adapter/adapter.js`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/Adapter/adapter.js',
|
|
3
|
+
[`@magento/venia-ui/lib/components/ToastContainer/toast.module.css`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/ToastContainer/toast.module.css',
|
|
4
|
+
[`@magento/venia-ui/lib/components/ToastContainer/toastContainer.module.css`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/ToastContainer/toastContainer.module.css',
|
|
3
5
|
[`@magento/venia-ui/lib/components/Header/header.js`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/Header/header.js',
|
|
4
6
|
[`@magento/venia-ui/lib/components/Header/storeSwitcher.js`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/Header/storeSwitcher.js',
|
|
5
7
|
[`@magento/venia-ui/lib/components/Header/switcherItem.js`]: '@riosst100/pwa-marketplace/src/overwrites/venia-ui/lib/components/Header/switcherItem.js',
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
/* composes: bg-white from global;
|
|
3
|
+
composes: border from global;
|
|
4
|
+
composes: border-shaded-10 from global;
|
|
5
|
+
composes: border-solid from global;
|
|
6
|
+
composes: font-light from global;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
composes: rounded-sm from global;
|
|
11
|
+
composes: text-colorDefault from global;
|
|
12
|
+
composes: text-sm from global; */
|
|
13
|
+
composes: gap-x-2 from global;
|
|
14
|
+
composes: gap-y-3 from global;
|
|
15
|
+
composes: grid from global;
|
|
16
|
+
composes: mx-auto from global;
|
|
17
|
+
composes: my-0 from global;
|
|
18
|
+
composes: p-xs from global;
|
|
19
|
+
composes: items-start from global;
|
|
20
|
+
composes: justify-items-start from global;
|
|
21
|
+
composes: leading-tight from global;
|
|
22
|
+
|
|
23
|
+
animation: ease-in-out;
|
|
24
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
|
|
25
|
+
grid-template-areas: 'icon message controls';
|
|
26
|
+
grid-auto-columns: min-content auto min-content;
|
|
27
|
+
width: 100%;
|
|
28
|
+
box-shadow: none;
|
|
29
|
+
border-bottom-width: 3px !important;
|
|
30
|
+
border-radius: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes toast-pulsate {
|
|
34
|
+
0% {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
50% {
|
|
38
|
+
opacity: 0.5;
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.icon {
|
|
46
|
+
grid-area: icon;
|
|
47
|
+
height: 0px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.infoToast {
|
|
51
|
+
composes: root;
|
|
52
|
+
|
|
53
|
+
/* composes: border-b-4 from global;
|
|
54
|
+
composes: w-full from global;
|
|
55
|
+
composes: border-solid from global;
|
|
56
|
+
composes: border-info from global; */
|
|
57
|
+
|
|
58
|
+
background-color: #fef7ea;
|
|
59
|
+
border: 2px solid #febf21;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.infoToast > .icon {
|
|
63
|
+
--stroke: #febf21;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.warningToast {
|
|
67
|
+
composes: root;
|
|
68
|
+
|
|
69
|
+
background-color: #fef7ea;
|
|
70
|
+
border: 2px solid #febf21;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.warningToast > .icon {
|
|
74
|
+
--stroke: #febf21;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.errorToast {
|
|
78
|
+
composes: root;
|
|
79
|
+
|
|
80
|
+
background-color: #fcefea;
|
|
81
|
+
border: 2px solid #fa575b;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.errorToast > .icon {
|
|
85
|
+
--stroke: #fa575b;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.successToast {
|
|
89
|
+
composes: root;
|
|
90
|
+
|
|
91
|
+
background-color: #f1f9f4;
|
|
92
|
+
border: 2px solid #51dc6b;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.successToast > .icon {
|
|
96
|
+
--stroke: #51dc6b;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.message {
|
|
100
|
+
composes: flex from global;
|
|
101
|
+
composes: text-sm from global;
|
|
102
|
+
grid-area: message;
|
|
103
|
+
margin-top: 2px;
|
|
104
|
+
|
|
105
|
+
/* For wrapping...*/
|
|
106
|
+
/* These are technically the same, but use both */
|
|
107
|
+
composes: break-words from global;
|
|
108
|
+
|
|
109
|
+
/* TODO @TW review */
|
|
110
|
+
-ms-word-break: break-all;
|
|
111
|
+
/* This is the dangerous one in WebKit, as it breaks things wherever */
|
|
112
|
+
word-break: break-all;
|
|
113
|
+
/* Instead use this non-standard one: */
|
|
114
|
+
word-break: break-word;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.actions {
|
|
118
|
+
display: grid;
|
|
119
|
+
grid-template-columns: 1fr 1fr;
|
|
120
|
+
gap: 1.25rem;
|
|
121
|
+
grid-column: 2 / span 1;
|
|
122
|
+
grid-row: 2 / span 1;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.controls {
|
|
126
|
+
composes: border-l from global;
|
|
127
|
+
composes: border-solid from global;
|
|
128
|
+
composes: border-subtle from global;
|
|
129
|
+
composes: pl-3 from global;
|
|
130
|
+
grid-area: controls;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.actionButton {
|
|
134
|
+
composes: font-semibold from global;
|
|
135
|
+
composes: text-colorDefault from global;
|
|
136
|
+
composes: underline from global;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.dismissButton {
|
|
140
|
+
composes: text-subtle from global;
|
|
141
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.root {
|
|
2
|
+
composes: bottom-3 from global;
|
|
3
|
+
composes: fixed from global;
|
|
4
|
+
composes: gap-y-xs from global;
|
|
5
|
+
composes: grid from global;
|
|
6
|
+
composes: mb-xs from global;
|
|
7
|
+
composes: min-w-full from global;
|
|
8
|
+
composes: z-toast from global;
|
|
9
|
+
|
|
10
|
+
composes: lg_min-w-auto from global;
|
|
11
|
+
composes: lg_right-md from global;
|
|
12
|
+
position: fixed;
|
|
13
|
+
/* bottom: 30px; */
|
|
14
|
+
left: 50%;
|
|
15
|
+
transform: translateX(-50%);
|
|
16
|
+
/* opacity: 0; */
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
transition: opacity 0.5s, transform 0.5s;
|
|
19
|
+
z-index: 9999;
|
|
20
|
+
}
|