@sc-360-v2/storefront-cms-library 0.3.85 → 0.3.87
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/dist/builder.js +1 -1
- package/dist/bundle.scss +1 -1
- package/dist/bundleDetails.scss +1 -1
- package/dist/cart-details.scss +0 -4
- package/dist/embroider-preview-element.scss +94 -0
- package/dist/embroider-template-1.scss +417 -0
- package/dist/embroidery.scss +177 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/my-templates.scss +250 -268
- package/dist/request-for-quotes.scss +9 -6
- package/dist/types/builder/elements/embroidery/index.d.ts +39 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +1 -0
- package/dist/types/builder/enums/index.d.ts +4 -1
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/allocations.d.ts +295 -0
- package/dist/types/builder/tools/element-edit/embroidery.d.ts +795 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/volumePricing copy.d.ts +207 -0
- package/dist/types/builder/tools/element-edit/volumePricing.d.ts +5 -78
- package/dist/uom-selector.scss +4 -4
- package/dist/volume-pricing copy 2.scss +1491 -0
- package/dist/volume-pricing.scss +438 -740
- package/dist/website.js +1 -1
- package/dist/widget.scss +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "./functions.scss" as *;
|
|
4
|
+
@use "./embroider-template-1.scss" as *;
|
|
5
|
+
|
|
6
|
+
$mainWrapper: ".emb__main__wrapper";
|
|
7
|
+
$libraryWrapper: ".emb__library__wrapper";
|
|
8
|
+
$embBtn: ".emb__config__btn";
|
|
9
|
+
$embBtnIcon: ".emb__cnf__icn";
|
|
10
|
+
$embBtnText: "[data-type='text']";
|
|
11
|
+
$apiLoader: '[data-spinner-state="loading"]';
|
|
12
|
+
|
|
13
|
+
@mixin spinnerStylesV2() {
|
|
14
|
+
&::before {
|
|
15
|
+
content: "";
|
|
16
|
+
position: var(--_p-absolute);
|
|
17
|
+
--_sz-vl: 10px;
|
|
18
|
+
width: var(--_sz-vl);
|
|
19
|
+
height: var(--_sz-vl);
|
|
20
|
+
display: var(--_d-flex);
|
|
21
|
+
right: 12px;
|
|
22
|
+
top: 50%;
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
border: 0.25rem solid
|
|
25
|
+
color-mix(
|
|
26
|
+
in srgb,
|
|
27
|
+
var(--_sf-bd-cr-e, #{prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-bd-cr)}) 65%,
|
|
28
|
+
var(--_sf-fnt-clr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-cr)) 35%
|
|
29
|
+
);
|
|
30
|
+
border-top-color: var(--_sf-fnt-clr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-cr));
|
|
31
|
+
animation: circlerotate 2s ease-in-out infinite forwards;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@keyframes circlerotate {
|
|
35
|
+
from {
|
|
36
|
+
transform: translate(0%, -50%) rotate(0deg);
|
|
37
|
+
}
|
|
38
|
+
to {
|
|
39
|
+
transform: translate(0%, -50%) rotate(360deg);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-div-type="element"] {
|
|
45
|
+
&[data-element-type="embroidery"] {
|
|
46
|
+
& > .wrapper {
|
|
47
|
+
width: 100%;
|
|
48
|
+
min-height: prepareMediaVariable(--_ctm-lt-mn-ht);
|
|
49
|
+
padding: prepareMediaVariable(--_ctm-lt-pg);
|
|
50
|
+
border-radius: prepareMediaVariable(--_ctm-dn-ey-cr-br-rs);
|
|
51
|
+
background-color: prepareMediaVariable(--_ctm-dn-ey-cr-bd-cr);
|
|
52
|
+
|
|
53
|
+
display: var(--_d-flex) !important;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
row-gap: 16px;
|
|
56
|
+
|
|
57
|
+
&[data-show-border="true"] {
|
|
58
|
+
border-color: prepareMediaVariable(--_ctm-dn-ey-cr-br-cr);
|
|
59
|
+
border-style: prepareMediaVariable(--_ctm-dn-ey-cr-br-se);
|
|
60
|
+
border-width: prepareMediaVariable(--_ctm-dn-ey-cr-br-wh);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&[data-show-boxshadow="true"] {
|
|
64
|
+
box-shadow: prepareMediaVariable(--_ctm-dn-ey-cr-sw-ae)
|
|
65
|
+
prepareMediaVariable(--_ctm-dn-ey-cr-sw-br) prepareMediaVariable(--_ctm-dn-ey-cr-sw-sd)
|
|
66
|
+
prepareMediaVariable(--_ctm-dn-ey-cr-sw-cr);
|
|
67
|
+
}
|
|
68
|
+
// Config Button
|
|
69
|
+
& > #{$embBtn} {
|
|
70
|
+
display: var(--_d-flex);
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: var(--_ctm-lt-gp);
|
|
74
|
+
padding: prepareMediaVariable(--_ctm-lt-bn-pg);
|
|
75
|
+
border-radius: var(--_sf-br-rs, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-br-rs));
|
|
76
|
+
background-color: var(--_sf-bd-cr-e, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-bd-cr));
|
|
77
|
+
|
|
78
|
+
&[data-icon-position="left"] {
|
|
79
|
+
flex-direction: row-reverse;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
--_sf-br-rs: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-br-rs)};
|
|
84
|
+
--_sf-bd-cr-e: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-bd-cr)};
|
|
85
|
+
|
|
86
|
+
--_sf-br-cr: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-br-cr)};
|
|
87
|
+
--_sf-br-st: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-br-se)};
|
|
88
|
+
--_sf-br-wt: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-br-wh)};
|
|
89
|
+
|
|
90
|
+
--_sf-bx-xy: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-sw-ae)};
|
|
91
|
+
--_sf-bx-br: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-sw-br)};
|
|
92
|
+
--_sf-bx-sd: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-sw-sd)};
|
|
93
|
+
--_sf-bx-cr: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-sw-cr)};
|
|
94
|
+
|
|
95
|
+
--_sf-icn-sz: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-in-se)};
|
|
96
|
+
--_sf-icn-cr: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-in-c1)};
|
|
97
|
+
|
|
98
|
+
--_sf-fnt-fmy: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-ft-fy)};
|
|
99
|
+
--_sf-fnt-sz: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-ft-se)};
|
|
100
|
+
--_sf-fnt-clr: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-cr)};
|
|
101
|
+
--_sf-fnt-wet: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-ft-wt)};
|
|
102
|
+
--_sf-fnt-td: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-ue)};
|
|
103
|
+
--_sf-fnt-sty: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-ft-se-ic)};
|
|
104
|
+
--_sf-fnt-lts: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-lr-sg)};
|
|
105
|
+
--_sf-fnt-lht: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-le-ht)};
|
|
106
|
+
--_sf-fnt-ta: #{prepareMediaVariable(--_ctm-dn-ce-bn-hr-se-tt-an)};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&[data-show-shadow="true"] {
|
|
110
|
+
border-color: var(--_sf-br-cr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-br-cr));
|
|
111
|
+
border-style: var(--_sf-br-st, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-br-se));
|
|
112
|
+
border-width: var(--_sf-br-wt, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-br-wh));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&[data-show-border="true"] {
|
|
116
|
+
box-shadow: var(--_sf-bx-xy, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-sw-ae))
|
|
117
|
+
var(--_sf-bx-br, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-sw-br))
|
|
118
|
+
var(--_sf-bx-sd, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-sw-sd))
|
|
119
|
+
var(--_sf-bx-cr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-sw-cr));
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&[data-show-icon="false"] {
|
|
123
|
+
--_sf-btn-icn-dp: var(--_d-none);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&[data-state="open"] {
|
|
127
|
+
--_sf-rt-icn-vl: -90deg;
|
|
128
|
+
}
|
|
129
|
+
&#{$apiLoader} {
|
|
130
|
+
--_sf-btn-icn-dp: var(--_d-none);
|
|
131
|
+
position: var(--_p-relative);
|
|
132
|
+
|
|
133
|
+
@include spinnerStylesV2();
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
& > span {
|
|
137
|
+
&#{$embBtnText} {
|
|
138
|
+
display: var(--_d-flex);
|
|
139
|
+
width: 100%;
|
|
140
|
+
|
|
141
|
+
font-family:
|
|
142
|
+
var(--_sf-fnt-fmy, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-ft-fy)), sans-serif;
|
|
143
|
+
font-size: var(--_sf-fnt-sz, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-ft-se));
|
|
144
|
+
font-weight: var(--_sf-fnt-wet, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-ft-wt));
|
|
145
|
+
font-style: var(--_sf-fnt-sty, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-ft-se-ic));
|
|
146
|
+
color: var(--_sf-fnt-clr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-cr));
|
|
147
|
+
letter-spacing: var(--_sf-fnt-lts, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-lr-sg));
|
|
148
|
+
line-height: var(--_sf-fnt-lht, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-le-ht));
|
|
149
|
+
text-decoration: var(--_sf-fnt-td, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-ue));
|
|
150
|
+
text-align: var(--_sf-fnt-ta, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-tt-an));
|
|
151
|
+
}
|
|
152
|
+
&#{$embBtnIcon} {
|
|
153
|
+
display: var(--_sf-btn-icn-dp, var(--_d-flex));
|
|
154
|
+
transition: transform 0.45s ease-in-out;
|
|
155
|
+
transform: rotate(var(--_sf-rt-icn-vl, 0deg));
|
|
156
|
+
|
|
157
|
+
svg {
|
|
158
|
+
width: var(--_sf-icn-sz, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-in-se));
|
|
159
|
+
height: var(--_sf-icn-sz, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-in-se));
|
|
160
|
+
|
|
161
|
+
path {
|
|
162
|
+
stroke: var(--_sf-icn-cr, prepareMediaVariable(--_ctm-dn-ce-bn-dt-se-in-c1));
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// Playground
|
|
170
|
+
& > #{$mainWrapper} {
|
|
171
|
+
& > #{$libraryWrapper} {
|
|
172
|
+
@include EmbroideryTemplate1Styles();
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|