@godaddy/gd-commerce-storefront 0.3.0 → 0.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.
- package/README.md +166 -12
- package/dist/index.d.ts +303 -9
- package/dist/index.js +1265 -617
- package/dist/styles.css +87 -6
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
3
3
|
.commerce-storefront *, .commerce-storefront ::before, .commerce-storefront ::after, .commerce-storefront ::backdrop {
|
|
4
|
+
--tw-translate-x: 0;
|
|
5
|
+
--tw-translate-y: 0;
|
|
6
|
+
--tw-translate-z: 0;
|
|
4
7
|
--tw-space-y-reverse: 0;
|
|
5
8
|
--tw-divide-y-reverse: 0;
|
|
6
9
|
--tw-border-style: solid;
|
|
@@ -121,6 +124,12 @@
|
|
|
121
124
|
white-space: nowrap;
|
|
122
125
|
border-width: 0;
|
|
123
126
|
}
|
|
127
|
+
.commerce-storefront .pointer-events-auto {
|
|
128
|
+
pointer-events: auto;
|
|
129
|
+
}
|
|
130
|
+
.commerce-storefront .pointer-events-none {
|
|
131
|
+
pointer-events: none;
|
|
132
|
+
}
|
|
124
133
|
.commerce-storefront .sr-only {
|
|
125
134
|
position: absolute;
|
|
126
135
|
width: 1px;
|
|
@@ -132,20 +141,29 @@
|
|
|
132
141
|
white-space: nowrap;
|
|
133
142
|
border-width: 0;
|
|
134
143
|
}
|
|
144
|
+
.commerce-storefront .absolute {
|
|
145
|
+
position: absolute;
|
|
146
|
+
}
|
|
135
147
|
.commerce-storefront .fixed {
|
|
136
148
|
position: fixed;
|
|
137
149
|
}
|
|
150
|
+
.commerce-storefront .relative {
|
|
151
|
+
position: relative;
|
|
152
|
+
}
|
|
153
|
+
.commerce-storefront .static {
|
|
154
|
+
position: static;
|
|
155
|
+
}
|
|
138
156
|
.commerce-storefront .sticky {
|
|
139
157
|
position: sticky;
|
|
140
158
|
}
|
|
141
159
|
.commerce-storefront .inset-0 {
|
|
142
160
|
inset: calc(var(--spacing) * 0);
|
|
143
161
|
}
|
|
144
|
-
.commerce-storefront .
|
|
145
|
-
|
|
162
|
+
.commerce-storefront .top-1\/2 {
|
|
163
|
+
top: calc(1/2 * 100%);
|
|
146
164
|
}
|
|
147
|
-
.commerce-storefront .right-
|
|
148
|
-
right: calc(var(--spacing) *
|
|
165
|
+
.commerce-storefront .right-3 {
|
|
166
|
+
right: calc(var(--spacing) * 3);
|
|
149
167
|
}
|
|
150
168
|
.commerce-storefront .z-40 {
|
|
151
169
|
z-index: 40;
|
|
@@ -153,12 +171,36 @@
|
|
|
153
171
|
.commerce-storefront .z-50 {
|
|
154
172
|
z-index: 50;
|
|
155
173
|
}
|
|
174
|
+
.commerce-storefront .col-span-2 {
|
|
175
|
+
grid-column: span 2 / span 2;
|
|
176
|
+
}
|
|
177
|
+
.commerce-storefront .container {
|
|
178
|
+
width: 100%;
|
|
179
|
+
@media (width >= 40rem) {
|
|
180
|
+
max-width: 40rem;
|
|
181
|
+
}
|
|
182
|
+
@media (width >= 48rem) {
|
|
183
|
+
max-width: 48rem;
|
|
184
|
+
}
|
|
185
|
+
@media (width >= 64rem) {
|
|
186
|
+
max-width: 64rem;
|
|
187
|
+
}
|
|
188
|
+
@media (width >= 80rem) {
|
|
189
|
+
max-width: 80rem;
|
|
190
|
+
}
|
|
191
|
+
@media (width >= 96rem) {
|
|
192
|
+
max-width: 96rem;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
156
195
|
.commerce-storefront .my-4 {
|
|
157
196
|
margin-block: calc(var(--spacing) * 4);
|
|
158
197
|
}
|
|
159
198
|
.commerce-storefront .my-8 {
|
|
160
199
|
margin-block: calc(var(--spacing) * 8);
|
|
161
200
|
}
|
|
201
|
+
.commerce-storefront .-mt-4 {
|
|
202
|
+
margin-top: calc(var(--spacing) * -4);
|
|
203
|
+
}
|
|
162
204
|
.commerce-storefront .mt-1 {
|
|
163
205
|
margin-top: calc(var(--spacing) * 1);
|
|
164
206
|
}
|
|
@@ -180,8 +222,8 @@
|
|
|
180
222
|
.commerce-storefront .mt-auto {
|
|
181
223
|
margin-top: auto;
|
|
182
224
|
}
|
|
183
|
-
.commerce-storefront .
|
|
184
|
-
margin-
|
|
225
|
+
.commerce-storefront .mr-auto {
|
|
226
|
+
margin-right: auto;
|
|
185
227
|
}
|
|
186
228
|
.commerce-storefront .mb-2 {
|
|
187
229
|
margin-bottom: calc(var(--spacing) * 2);
|
|
@@ -207,6 +249,9 @@
|
|
|
207
249
|
.commerce-storefront .grid {
|
|
208
250
|
display: grid;
|
|
209
251
|
}
|
|
252
|
+
.commerce-storefront .hidden {
|
|
253
|
+
display: none;
|
|
254
|
+
}
|
|
210
255
|
.commerce-storefront .inline-flex {
|
|
211
256
|
display: inline-flex;
|
|
212
257
|
}
|
|
@@ -237,6 +282,9 @@
|
|
|
237
282
|
.commerce-storefront .w-2\/3 {
|
|
238
283
|
width: calc(2/3 * 100%);
|
|
239
284
|
}
|
|
285
|
+
.commerce-storefront .w-4 {
|
|
286
|
+
width: calc(var(--spacing) * 4);
|
|
287
|
+
}
|
|
240
288
|
.commerce-storefront .w-20 {
|
|
241
289
|
width: calc(var(--spacing) * 20);
|
|
242
290
|
}
|
|
@@ -273,6 +321,13 @@
|
|
|
273
321
|
.commerce-storefront .shrink-0 {
|
|
274
322
|
flex-shrink: 0;
|
|
275
323
|
}
|
|
324
|
+
.commerce-storefront .-translate-y-1\/2 {
|
|
325
|
+
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
326
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
327
|
+
}
|
|
328
|
+
.commerce-storefront .appearance-none {
|
|
329
|
+
appearance: none;
|
|
330
|
+
}
|
|
276
331
|
.commerce-storefront .grid-cols-1 {
|
|
277
332
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
278
333
|
}
|
|
@@ -300,6 +355,9 @@
|
|
|
300
355
|
.commerce-storefront .justify-center {
|
|
301
356
|
justify-content: center;
|
|
302
357
|
}
|
|
358
|
+
.commerce-storefront .justify-end {
|
|
359
|
+
justify-content: flex-end;
|
|
360
|
+
}
|
|
303
361
|
.commerce-storefront .gap-2 {
|
|
304
362
|
gap: calc(var(--spacing) * 2);
|
|
305
363
|
}
|
|
@@ -501,6 +559,9 @@
|
|
|
501
559
|
.commerce-storefront .pt-8 {
|
|
502
560
|
padding-top: calc(var(--spacing) * 8);
|
|
503
561
|
}
|
|
562
|
+
.commerce-storefront .pr-10 {
|
|
563
|
+
padding-right: calc(var(--spacing) * 10);
|
|
564
|
+
}
|
|
504
565
|
.commerce-storefront .pb-10 {
|
|
505
566
|
padding-bottom: calc(var(--spacing) * 10);
|
|
506
567
|
}
|
|
@@ -632,6 +693,11 @@
|
|
|
632
693
|
outline-width: 2px;
|
|
633
694
|
}
|
|
634
695
|
}
|
|
696
|
+
.commerce-storefront .focus-visible\:-outline-offset-4 {
|
|
697
|
+
&:focus-visible {
|
|
698
|
+
outline-offset: calc(4px * -1);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
635
701
|
.commerce-storefront .focus-visible\:outline-offset-2 {
|
|
636
702
|
&:focus-visible {
|
|
637
703
|
outline-offset: 2px;
|
|
@@ -814,6 +880,21 @@
|
|
|
814
880
|
line-height: var(--tw-leading, var(--text-6xl--line-height));
|
|
815
881
|
}
|
|
816
882
|
}
|
|
883
|
+
@property --tw-translate-x {
|
|
884
|
+
syntax: "*";
|
|
885
|
+
inherits: false;
|
|
886
|
+
initial-value: 0;
|
|
887
|
+
}
|
|
888
|
+
@property --tw-translate-y {
|
|
889
|
+
syntax: "*";
|
|
890
|
+
inherits: false;
|
|
891
|
+
initial-value: 0;
|
|
892
|
+
}
|
|
893
|
+
@property --tw-translate-z {
|
|
894
|
+
syntax: "*";
|
|
895
|
+
inherits: false;
|
|
896
|
+
initial-value: 0;
|
|
897
|
+
}
|
|
817
898
|
@property --tw-space-y-reverse {
|
|
818
899
|
syntax: "*";
|
|
819
900
|
inherits: false;
|