merchi_cart 0.0.7-u → 0.0.7-v

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.
Binary file
@@ -0,0 +1,208 @@
1
+ .merchi-cart-header {
2
+ margin-bottom: 1rem;
3
+ }
4
+
5
+ .merchi-cart-body {
6
+ display: block;
7
+ min-height: 100px;
8
+ height: 450px;
9
+ }
10
+
11
+ .merchi-loading-container {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ justify-content: center;
16
+ height: var(--bs-height-md, 100px);
17
+ }
18
+
19
+ .merchi-loading-container-text {
20
+ font-size: 1.2rem;
21
+ font-weight: bold;
22
+ text-align: center;
23
+ }
24
+
25
+ .merchi-payment-gateway-inactive {
26
+ height: 300px;
27
+ background: url("../assets/merchi-swipe-outline.png");
28
+ background-repeat: no-repeat;
29
+ background-position: center center;
30
+ background-size: 276px 215px;
31
+ margin-top: 100px;
32
+ }
33
+
34
+ .merchi-tab-panel {
35
+ display: none;
36
+ padding: 1rem;
37
+ }
38
+
39
+ .merchi-cart-tab-content {
40
+ padding: 15px;
41
+ }
42
+
43
+ .merchi-cart-tab-content > .merchi-cart-tab-panel {
44
+ display: none;
45
+ }
46
+
47
+ .merchi-cart-tab-content > .active {
48
+ display: block;
49
+ }
50
+
51
+ .merchi-cart-clear-container {
52
+ display: flex;
53
+ justify-content: center;
54
+ align-items: center;
55
+ }
56
+
57
+ .merchi-cart-clear-text {
58
+ font-size: 16px;
59
+ margin-top: 3rem;
60
+ margin-bottom: 3rem;
61
+ }
62
+
63
+ .merchi-cart-item-table-head {
64
+ border: none;
65
+ background-color: #f8f9fa;
66
+ padding: 0.5rem;
67
+ padding-left: 0.75rem;
68
+ padding-right: 0.75rem;
69
+ text-transform: uppercase;
70
+ }
71
+
72
+ .merchi-cart-item-table-head-right {
73
+ border: none;
74
+ background-color: #f8f9fa;
75
+ padding: 0.5rem;
76
+ padding-left: 0.75rem;
77
+ padding-right: 0.75rem;
78
+ text-transform: uppercase;
79
+ text-align: right;
80
+ }
81
+
82
+ .merchi-cart-success-message {
83
+ font-size: 16px;
84
+ padding-bottom: 4rem;
85
+ padding-top: 4rem;
86
+ }
87
+
88
+ /* Merchi checkout */
89
+ .merchi-row {
90
+ display: flex;
91
+ flex-direction: column;
92
+ }
93
+
94
+ @media (min-width: 768px) {
95
+ .merchi-row {
96
+ flex-direction: row;
97
+ }
98
+ .merchi-column {
99
+ width: 50%;
100
+ padding-right: 10px;
101
+ }
102
+ .merchi-column:last-child {
103
+ padding-left: 10px;
104
+ padding-right: 0;
105
+ }
106
+ }
107
+ .merchi-collapse {
108
+ display: none;
109
+ }
110
+
111
+ .merchi-collapse.show {
112
+ display: block;
113
+ }
114
+
115
+ .merchi-nav {
116
+ display: flex;
117
+ flex-wrap: wrap;
118
+ padding-left: 0;
119
+ margin-bottom: 0;
120
+ list-style: none;
121
+ }
122
+
123
+ .merchi-nav-link {
124
+ cursor: pointer;
125
+ display: block;
126
+ padding: 0.5rem 1rem;
127
+ width: 100%;
128
+ border: 0px;
129
+ border-radius: 0.375rem;
130
+ }
131
+
132
+ .merchi-nav-link:hover, .merchi-nav-link:focus {
133
+ text-decoration: none;
134
+ }
135
+
136
+ .merchi-nav-link.disabled {
137
+ color: #6c757d;
138
+ pointer-events: none;
139
+ cursor: default;
140
+ }
141
+
142
+ .merchi-nav-tabs .merchi-nav-item {
143
+ margin-bottom: -1px;
144
+ }
145
+
146
+ .merchi-nav-tabs .merchi-nav-link {
147
+ border: 1px solid transparent;
148
+ border-top-left-radius: 0.25rem;
149
+ border-top-right-radius: 0.25rem;
150
+ }
151
+
152
+ .merchi-nav-tabs .merchi-nav-link:hover, .merchi-nav-tabs .merchi-nav-link:focus {
153
+ border-color: #e9ecef #e9ecef #dee2e6;
154
+ }
155
+
156
+ .merchi-nav-tabs .merchi-nav-link.disabled {
157
+ color: #6c757d;
158
+ background-color: transparent;
159
+ border-color: transparent;
160
+ }
161
+
162
+ .merchi-nav-tabs .merchi-nav-link.active,
163
+ .merchi-nav-tabs .merchi-nav-item.show .merchi-nav-link {
164
+ color: #495057;
165
+ background-color: #fff;
166
+ border-color: #dee2e6 #dee2e6 #fff;
167
+ }
168
+
169
+ .merchi-nav-pills .merchi-nav-link {
170
+ border-radius: 0.25rem;
171
+ }
172
+
173
+ .merchi-nav-pills .merchi-nav-link.active,
174
+ .merchi-nav-pills .show > .merchi-nav-link {
175
+ color: #fff;
176
+ background-color: #303dbf;
177
+ }
178
+
179
+ .merchi-nav-fill .merchi-nav-item {
180
+ flex: 1 1 auto;
181
+ text-align: center;
182
+ }
183
+
184
+ .merchi-no-cart-items {
185
+ display: flex;
186
+ flex-direction: column;
187
+ align-items: center;
188
+ justify-content: center;
189
+ height: 450px;
190
+ }
191
+
192
+ .btn-close {
193
+ background: transparent;
194
+ border: 0px;
195
+ cursor: pointer;
196
+ color: inherit;
197
+ float: right;
198
+ }
199
+
200
+ .merchi-loading-template {
201
+ height: 500px;
202
+ background: url("../assets/merchi-monster-loader.gif");
203
+ background-repeat: no-repeat;
204
+ background-position: center center;
205
+ background-size: 150px 150px;
206
+ }
207
+
208
+ /*# sourceMappingURL=globals.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../src/styles/globals.scss"],"names":[],"mappings":"AAAA;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA;;;AAGF;AACA;EACE;EACA;;;AAGF;EACE;IACE;;EAGF;IACE;IACA;;EAGF;IACE;IACA;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAKF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;AAAA;EAEE;EACA;EACA;;;AAGF;EACE;;;AAGF;AAAA;EAEE;EACA;;;AAGF;EACE;EACA;;;AAEF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA","file":"globals.css"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_cart",
3
- "version": "0.0.7u",
3
+ "version": "0.0.7v",
4
4
  "description": "Merchi's cart",
5
5
  "source": "src/index.ts",
6
6
  "main": "lib/index.js",
@@ -10,8 +10,8 @@
10
10
  "build:esm": "babel src --out-dir esm --config-file ./babel.esm.config.cjs --extensions '.js,.ts,.tsx' --source-maps inline --verbose && yarn copy-assets && yarn compile-sass",
11
11
  "build:lib": "babel src --out-dir lib --config-file ./babel.build.config.cjs --extensions '.js,.ts,.tsx' --source-maps inline --verbose && yarn copy-assets && yarn compile-sass",
12
12
  "build": "yarn build:esm && yarn build:lib",
13
- "copy-assets": "copyfiles -u 1 src/assets/**/* lib",
14
- "compile-sass": "sass src/styles/globals.scss lib/styles/globals.css",
13
+ "copy-assets": "copyfiles -u 1 src/assets/**/* esm && copyfiles -u 1 src/assets/**/* lib",
14
+ "compile-sass": "sass src/styles/globals.scss esm/styles/globals.css && sass src/styles/globals.scss lib/styles/globals.css",
15
15
  "start": "react-scripts start",
16
16
  "test": "react-scripts test",
17
17
  "eject": "react-scripts eject"
@@ -86,6 +86,7 @@
86
86
  "babel-plugin-inline-import": "^3.0.0",
87
87
  "babel-plugin-inline-react-svg": "^2.0.2",
88
88
  "browser-or-node": "^3.0.0-pre.0",
89
+ "compile-sass": "^2.0.0",
89
90
  "eslint": "8.47.0",
90
91
  "eslint-config-next": "13.4.16",
91
92
  "js-cookie": "^3.0.5",