@godaddy/gd-commerce-storefront 0.2.0 → 0.4.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 +118 -3
- package/dist/index.d.ts +225 -7
- package/dist/index.js +825 -326
- package/dist/styles.css +69 -1
- 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;
|
|
@@ -68,12 +71,14 @@
|
|
|
68
71
|
font-family: inherit;
|
|
69
72
|
line-height: 1.5;
|
|
70
73
|
}
|
|
71
|
-
.commerce-storefront :where(
|
|
74
|
+
.commerce-storefront :where(*:not(.commerce-part)) {
|
|
72
75
|
color: inherit;
|
|
73
76
|
font-family: inherit;
|
|
74
77
|
}
|
|
75
78
|
.commerce-storefront *, .commerce-storefront *::before, .commerce-storefront *::after {
|
|
76
79
|
box-sizing: border-box;
|
|
80
|
+
}
|
|
81
|
+
.commerce-storefront :where(*:not(.commerce-part)), .commerce-storefront *::before, .commerce-storefront *::after {
|
|
77
82
|
border-width: 0;
|
|
78
83
|
border-style: solid;
|
|
79
84
|
}
|
|
@@ -119,6 +124,9 @@
|
|
|
119
124
|
white-space: nowrap;
|
|
120
125
|
border-width: 0;
|
|
121
126
|
}
|
|
127
|
+
.commerce-storefront .pointer-events-none {
|
|
128
|
+
pointer-events: none;
|
|
129
|
+
}
|
|
122
130
|
.commerce-storefront .sr-only {
|
|
123
131
|
position: absolute;
|
|
124
132
|
width: 1px;
|
|
@@ -130,30 +138,54 @@
|
|
|
130
138
|
white-space: nowrap;
|
|
131
139
|
border-width: 0;
|
|
132
140
|
}
|
|
141
|
+
.commerce-storefront .absolute {
|
|
142
|
+
position: absolute;
|
|
143
|
+
}
|
|
133
144
|
.commerce-storefront .fixed {
|
|
134
145
|
position: fixed;
|
|
135
146
|
}
|
|
147
|
+
.commerce-storefront .relative {
|
|
148
|
+
position: relative;
|
|
149
|
+
}
|
|
150
|
+
.commerce-storefront .static {
|
|
151
|
+
position: static;
|
|
152
|
+
}
|
|
153
|
+
.commerce-storefront .sticky {
|
|
154
|
+
position: sticky;
|
|
155
|
+
}
|
|
136
156
|
.commerce-storefront .inset-0 {
|
|
137
157
|
inset: calc(var(--spacing) * 0);
|
|
138
158
|
}
|
|
139
159
|
.commerce-storefront .inset-y-0 {
|
|
140
160
|
inset-block: calc(var(--spacing) * 0);
|
|
141
161
|
}
|
|
162
|
+
.commerce-storefront .top-1\/2 {
|
|
163
|
+
top: calc(1/2 * 100%);
|
|
164
|
+
}
|
|
142
165
|
.commerce-storefront .right-0 {
|
|
143
166
|
right: calc(var(--spacing) * 0);
|
|
144
167
|
}
|
|
168
|
+
.commerce-storefront .right-3 {
|
|
169
|
+
right: calc(var(--spacing) * 3);
|
|
170
|
+
}
|
|
145
171
|
.commerce-storefront .z-40 {
|
|
146
172
|
z-index: 40;
|
|
147
173
|
}
|
|
148
174
|
.commerce-storefront .z-50 {
|
|
149
175
|
z-index: 50;
|
|
150
176
|
}
|
|
177
|
+
.commerce-storefront .col-span-2 {
|
|
178
|
+
grid-column: span 2 / span 2;
|
|
179
|
+
}
|
|
151
180
|
.commerce-storefront .my-4 {
|
|
152
181
|
margin-block: calc(var(--spacing) * 4);
|
|
153
182
|
}
|
|
154
183
|
.commerce-storefront .my-8 {
|
|
155
184
|
margin-block: calc(var(--spacing) * 8);
|
|
156
185
|
}
|
|
186
|
+
.commerce-storefront .-mt-4 {
|
|
187
|
+
margin-top: calc(var(--spacing) * -4);
|
|
188
|
+
}
|
|
157
189
|
.commerce-storefront .mt-1 {
|
|
158
190
|
margin-top: calc(var(--spacing) * 1);
|
|
159
191
|
}
|
|
@@ -199,6 +231,9 @@
|
|
|
199
231
|
.commerce-storefront .grid {
|
|
200
232
|
display: grid;
|
|
201
233
|
}
|
|
234
|
+
.commerce-storefront .hidden {
|
|
235
|
+
display: none;
|
|
236
|
+
}
|
|
202
237
|
.commerce-storefront .inline-flex {
|
|
203
238
|
display: inline-flex;
|
|
204
239
|
}
|
|
@@ -229,6 +264,9 @@
|
|
|
229
264
|
.commerce-storefront .w-2\/3 {
|
|
230
265
|
width: calc(2/3 * 100%);
|
|
231
266
|
}
|
|
267
|
+
.commerce-storefront .w-4 {
|
|
268
|
+
width: calc(var(--spacing) * 4);
|
|
269
|
+
}
|
|
232
270
|
.commerce-storefront .w-20 {
|
|
233
271
|
width: calc(var(--spacing) * 20);
|
|
234
272
|
}
|
|
@@ -265,6 +303,13 @@
|
|
|
265
303
|
.commerce-storefront .shrink-0 {
|
|
266
304
|
flex-shrink: 0;
|
|
267
305
|
}
|
|
306
|
+
.commerce-storefront .-translate-y-1\/2 {
|
|
307
|
+
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
308
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
309
|
+
}
|
|
310
|
+
.commerce-storefront .appearance-none {
|
|
311
|
+
appearance: none;
|
|
312
|
+
}
|
|
268
313
|
.commerce-storefront .grid-cols-1 {
|
|
269
314
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
270
315
|
}
|
|
@@ -493,6 +538,9 @@
|
|
|
493
538
|
.commerce-storefront .pt-8 {
|
|
494
539
|
padding-top: calc(var(--spacing) * 8);
|
|
495
540
|
}
|
|
541
|
+
.commerce-storefront .pr-10 {
|
|
542
|
+
padding-right: calc(var(--spacing) * 10);
|
|
543
|
+
}
|
|
496
544
|
.commerce-storefront .pb-10 {
|
|
497
545
|
padding-bottom: calc(var(--spacing) * 10);
|
|
498
546
|
}
|
|
@@ -624,6 +672,11 @@
|
|
|
624
672
|
outline-width: 2px;
|
|
625
673
|
}
|
|
626
674
|
}
|
|
675
|
+
.commerce-storefront .focus-visible\:-outline-offset-4 {
|
|
676
|
+
&:focus-visible {
|
|
677
|
+
outline-offset: calc(4px * -1);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
627
680
|
.commerce-storefront .focus-visible\:outline-offset-2 {
|
|
628
681
|
&:focus-visible {
|
|
629
682
|
outline-offset: 2px;
|
|
@@ -806,6 +859,21 @@
|
|
|
806
859
|
line-height: var(--tw-leading, var(--text-6xl--line-height));
|
|
807
860
|
}
|
|
808
861
|
}
|
|
862
|
+
@property --tw-translate-x {
|
|
863
|
+
syntax: "*";
|
|
864
|
+
inherits: false;
|
|
865
|
+
initial-value: 0;
|
|
866
|
+
}
|
|
867
|
+
@property --tw-translate-y {
|
|
868
|
+
syntax: "*";
|
|
869
|
+
inherits: false;
|
|
870
|
+
initial-value: 0;
|
|
871
|
+
}
|
|
872
|
+
@property --tw-translate-z {
|
|
873
|
+
syntax: "*";
|
|
874
|
+
inherits: false;
|
|
875
|
+
initial-value: 0;
|
|
876
|
+
}
|
|
809
877
|
@property --tw-space-y-reverse {
|
|
810
878
|
syntax: "*";
|
|
811
879
|
inherits: false;
|