@royaloperahouse/chord 2.3.2-a-chord-development → 2.3.3-a-chord-development
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/CHANGELOG.md +3 -0
- package/dist/chord.cjs.development.js +94 -14
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +94 -14
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +2 -0
- package/dist/types/types.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -125,20 +125,100 @@ var BadgeWrapper = /*#__PURE__*/styled__default.svg(_templateObject || (_templat
|
|
|
125
125
|
|
|
126
126
|
var StreamBadge = function StreamBadge(_ref) {
|
|
127
127
|
var _ref$fillColor = _ref.fillColor,
|
|
128
|
-
fillColor = _ref$fillColor === void 0 ? exports.Colors.White : _ref$fillColor
|
|
128
|
+
fillColor = _ref$fillColor === void 0 ? exports.Colors.White : _ref$fillColor,
|
|
129
|
+
_ref$align = _ref.align,
|
|
130
|
+
align = _ref$align === void 0 ? 'center' : _ref$align;
|
|
129
131
|
return /*#__PURE__*/React__default.createElement(BadgeWrapper, {
|
|
130
132
|
fillColor: fillColor,
|
|
131
133
|
width: "100%",
|
|
132
134
|
height: "100%",
|
|
133
|
-
viewBox: "
|
|
134
|
-
fill: "none",
|
|
135
|
+
viewBox: "110 450 865 200",
|
|
135
136
|
xmlns: "http://www.w3.org/2000/svg"
|
|
136
137
|
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
137
|
-
d: "
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
d: "
|
|
141
|
-
|
|
138
|
+
d: "M416.81,485.21c0-9.38-6.6-14.94-18.59-14.94h-23.1v60.79h22.84c13.2,0,20.58-7.12,20.58-17.97,0-7.3-4.86-13.11-13.46-14.07,7.9-1.13,11.73-7.47,11.73-13.8ZM389.28,481.3h5.47c5.47,0,7.64,2.69,7.64,6.51s-2.17,6.51-7.73,6.51h-5.38v-13.03ZM395.79,519.59h-6.51v-14.59h6.42c4.95,0,8.43,2.69,8.43,7.29s-3.39,7.29-8.34,7.29Z",
|
|
139
|
+
"stroke-width": "0"
|
|
140
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
141
|
+
d: "M435.74,518.9h19.19l3.73,12.16h14.76l-20.67-60.79h-14.85l-20.67,60.79h14.76l3.73-12.16ZM445.29,487.55l5.82,18.85h-11.64l5.82-18.85Z",
|
|
142
|
+
"stroke-width": "0"
|
|
143
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
144
|
+
d: "M774.06,500.66c0-18.15-13.89-31.7-32.56-31.7s-32.56,13.54-32.56,31.7,13.98,31.7,32.56,31.7,32.56-13.55,32.56-31.7ZM723.44,500.66c0-10.59,7.81-18.58,18.06-18.58s18.06,7.99,18.06,18.58-7.73,18.58-18.06,18.58-18.06-7.99-18.06-18.58Z",
|
|
145
|
+
"stroke-width": "0"
|
|
146
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
147
|
+
points: "511.38 470.27 511.38 531.06 542.64 531.06 542.64 518.38 525.53 518.38 525.53 470.27 511.38 470.27",
|
|
148
|
+
"stroke-width": "0"
|
|
149
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
150
|
+
points: "610.2 531.06 610.2 482.95 623.83 482.95 623.83 470.27 582.41 470.27 582.41 482.95 596.04 482.95 596.04 531.06 610.2 531.06",
|
|
151
|
+
"stroke-width": "0"
|
|
152
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
153
|
+
points: "578.59 482.95 578.59 470.27 546.46 470.27 546.46 531.06 578.59 531.06 578.59 518.38 560.61 518.38 560.61 506.74 575.03 506.74 575.03 494.06 560.61 494.06 560.61 482.95 578.59 482.95",
|
|
154
|
+
"stroke-width": "0"
|
|
155
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
156
|
+
points: "475.86 470.27 475.86 531.06 507.12 531.06 507.12 518.38 490.01 518.38 490.01 470.27 475.86 470.27",
|
|
157
|
+
"stroke-width": "0"
|
|
158
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
159
|
+
points: "324.76 470.27 324.76 531.06 356.02 531.06 356.02 518.38 338.92 518.38 338.92 470.27 324.76 470.27",
|
|
160
|
+
"stroke-width": "0"
|
|
161
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
162
|
+
d: "M800.98,508.48c12.33,0,20.58-7.99,20.58-19.11s-8.25-19.1-20.58-19.1h-23.19v60.79h14.16v-22.58h9.03ZM791.95,481.91h6.42c6.25,0,8.68,3.21,8.68,7.47s-2.43,7.56-8.68,7.56h-6.42v-15.02Z",
|
|
163
|
+
"stroke-width": "0"
|
|
164
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
165
|
+
d: "M923.95,470.27l-19.45,57.31-11.03-20.75c7.12-2.95,11.46-9.38,11.46-17.45,0-11.03-8.25-19.1-20.58-19.1h-23.19v60.79h14.15v-22.58h3.56l11.55,22.58h27.62l3.73-12.16h19.19l3.74,12.16h14.76l-20.67-60.79h-14.85ZM881.74,496.93h-6.43v-15.02h6.43c6.25,0,8.68,3.21,8.68,7.47s-2.43,7.56-8.68,7.56ZM925.51,506.39l5.82-18.85,5.82,18.85h-11.64Z",
|
|
166
|
+
"stroke-width": "0"
|
|
167
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
168
|
+
d: "M636.25,511c0,12.24,9.38,21.36,22.49,21.36,7.21,0,13.2-2.78,18.24-7.38l4.86,6.08h17.8l-13.37-16.59,9.81-14.33-10.85-7.47-7.64,11.12-16.85-20.84h18.93v-12.68h-36.64v12.68l6.68,8.25c-8.94,4.34-13.46,11.46-13.46,19.8ZM657.61,501.01l11.29,14.07c-2.26,2.34-5.21,4.17-9.03,4.17-5.64,0-9.21-4-9.21-8.77,0-4.26,2.87-7.81,6.95-9.46Z",
|
|
169
|
+
"stroke-width": "0"
|
|
170
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
171
|
+
d: "M176.87,529.41c-9.38-5.9-17.02-14.16-22.06-23.01,6.6-3.04,10.6-9.29,10.6-17.02,0-11.03-8.25-19.1-20.58-19.1h-23.19v60.79h14.15v-22.84h5.13c6.16,12.68,16.06,24.49,27.87,31.78h0l8.08-10.59ZM142.23,496.93h-6.43v-15.02h6.43c6.25,0,8.68,3.21,8.68,7.47s-2.43,7.56-8.68,7.56Z",
|
|
172
|
+
"stroke-width": "0"
|
|
173
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
174
|
+
d: "M284.56,518.9h19.19l3.74,12.16h14.76l-20.67-60.79h-14.85l-20.67,60.79h14.76l3.73-12.16ZM294.11,487.55l5.82,18.85h-11.64l5.82-18.85Z",
|
|
175
|
+
"stroke-width": "0"
|
|
176
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
177
|
+
d: "M201.1,468.97c-18.58,0-32.56,13.54-32.56,31.7s13.98,31.7,32.56,31.7,32.56-13.55,32.56-31.7-13.89-31.7-32.56-31.7ZM201.1,519.25c-10.25,0-18.06-7.99-18.06-18.58s7.81-18.58,18.06-18.58,18.06,7.99,18.06,18.58-7.73,18.58-18.06,18.58Z",
|
|
178
|
+
"stroke-width": "0"
|
|
179
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
180
|
+
points: "254.42 490.41 242.44 470.27 226.37 470.27 247.3 504.92 247.3 531.06 261.46 531.06 261.46 504.74 282.3 470.27 266.32 470.27 254.42 490.41",
|
|
181
|
+
"stroke-width": "0"
|
|
182
|
+
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
183
|
+
points: "857.34 482.95 857.34 470.27 825.21 470.27 825.21 531.06 857.34 531.06 857.34 518.38 839.36 518.38 839.36 506.74 853.78 506.74 853.78 494.06 839.36 494.06 839.36 482.95 857.34 482.95",
|
|
184
|
+
"stroke-width": "0"
|
|
185
|
+
})), align === 'left' && /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
186
|
+
d: "M151.07,588.98c.36-1.96.53-3.12.53-5.25,0-6.14-4.54-9.88-10.68-9.88s-10.68,3.74-10.68,9.88c0,7.83,8.19,9.17,15.22,11.84,7.21,2.76,16.02,6.41,16.02,17.98s-9.08,18.16-20.47,18.16-20.47-6.85-20.47-18.16c0-2.58.53-4.54,1.07-5.87l7.92-.45c-.62,2.05-.98,4.01-.98,6.32,0,7.03,5.43,11.04,12.46,11.04s12.46-4,12.46-11.04c0-8.19-8.99-10.24-14.95-12.37-8.37-3.03-16.29-6.59-16.29-17.62s8.63-16.82,18.69-16.82,18.69,6.32,18.69,16.82c0,1.69-.27,3.74-.62,4.9l-7.92.53Z",
|
|
187
|
+
"stroke-width": "0"
|
|
188
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
189
|
+
d: "M184,630.37v-55.18h-16.91v-7.12h41.83v7.12h-16.91v55.18h-8.01Z",
|
|
190
|
+
"stroke-width": "0"
|
|
191
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
192
|
+
d: "M249.5,630.37c-1.69-2.58-1.33-11.04-1.6-16.2-.18-4.18-.98-6.32-2.49-7.83-1.6-1.51-4.18-2.22-7.48-2.22h-10.68v26.26h-8.01v-62.3h20.56c6.59,0,10.68,1.87,13.71,4.89,3.2,3.2,5.34,7.74,5.34,12.91,0,7.3-5.16,14.42-14.15,15.04,6.41.71,10.5,4.9,11.04,12.82l.36,5.52c.27,3.74.36,6.14.8,7.92.27,1.07.8,2.31,1.96,2.85v.36h-9.35ZM239.09,596.99c4.63,0,7.03-1.07,8.72-2.85,1.87-1.96,3.03-4.9,3.03-8.01s-1.16-5.96-3.03-7.92c-1.69-1.78-4.09-3.03-8.72-3.03h-11.84v21.81h11.84Z",
|
|
193
|
+
"stroke-width": "0"
|
|
194
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
195
|
+
d: "M271.93,630.37v-62.3h34.27v7.12h-26.26v20.03h19.14v7.12h-19.14v20.92h27.15v7.12h-35.16Z",
|
|
196
|
+
"stroke-width": "0"
|
|
197
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
198
|
+
d: "M353.01,630.37l-4.54-14.24h-22.7l-4.54,14.24h-8.1l20.03-62.3h8.01l20.03,62.3h-8.19ZM338.5,584.53c-.89-2.76-1.16-3.92-1.42-5.16-.27,1.25-.53,2.4-1.42,5.16l-7.57,24.48h18.07l-7.65-24.48Z",
|
|
199
|
+
"stroke-width": "0"
|
|
200
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
201
|
+
d: "M416.55,630.37v-37.83c0-2.22,0-4.09.09-6.23-.8,2.58-1.25,3.92-2.23,6.23l-15.75,38.72h-1.78l-15.75-38.72c-.98-2.31-1.42-3.65-2.23-6.23.09,2.14.09,4.01.09,6.23v37.83h-7.92v-62.3h8.01l16.11,39.07c1.25,3.03,1.69,4.18,2.67,6.76.98-2.58,1.42-3.74,2.67-6.76l15.93-39.07h8.01v62.3h-7.92Z",
|
|
202
|
+
"stroke-width": "0"
|
|
203
|
+
})), align === 'center' && /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
204
|
+
d: "M401.56,585.29c.36-1.96.53-3.12.53-5.25,0-6.14-4.54-9.88-10.68-9.88s-10.68,3.74-10.68,9.88c0,7.83,8.19,9.17,15.22,11.84,7.21,2.76,16.02,6.41,16.02,17.98s-9.08,18.16-20.47,18.16-20.47-6.85-20.47-18.16c0-2.58.53-4.54,1.07-5.87l7.92-.45c-.62,2.05-.98,4.01-.98,6.32,0,7.03,5.43,11.04,12.46,11.04s12.46-4,12.46-11.04c0-8.19-8.99-10.24-14.95-12.37-8.37-3.03-16.29-6.59-16.29-17.62s8.63-16.82,18.69-16.82,18.69,6.32,18.69,16.82c0,1.69-.27,3.74-.62,4.9l-7.92.53Z",
|
|
205
|
+
"stroke-width": "0"
|
|
206
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
207
|
+
d: "M434.49,626.68v-55.18h-16.91v-7.12h41.83v7.12h-16.91v55.18h-8.01Z",
|
|
208
|
+
"stroke-width": "0"
|
|
209
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
210
|
+
d: "M500,626.68c-1.69-2.58-1.33-11.04-1.6-16.2-.18-4.18-.98-6.32-2.49-7.83-1.6-1.51-4.18-2.22-7.48-2.22h-10.68v26.26h-8.01v-62.3h20.56c6.59,0,10.68,1.87,13.71,4.89,3.2,3.2,5.34,7.74,5.34,12.91,0,7.3-5.16,14.42-14.15,15.04,6.41.71,10.5,4.9,11.04,12.82l.36,5.52c.27,3.74.36,6.14.8,7.92.27,1.07.8,2.31,1.96,2.85v.36h-9.35ZM489.58,593.3c4.63,0,7.03-1.07,8.72-2.85,1.87-1.96,3.03-4.9,3.03-8.01s-1.16-5.96-3.03-7.92c-1.69-1.78-4.09-3.03-8.72-3.03h-11.84v21.81h11.84Z",
|
|
211
|
+
"stroke-width": "0"
|
|
212
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
213
|
+
d: "M522.42,626.68v-62.3h34.27v7.12h-26.26v20.03h19.14v7.12h-19.14v20.92h27.15v7.12h-35.16Z",
|
|
214
|
+
"stroke-width": "0"
|
|
215
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
216
|
+
d: "M603.5,626.68l-4.54-14.24h-22.7l-4.54,14.24h-8.1l20.03-62.3h8.01l20.03,62.3h-8.19ZM588.99,580.84c-.89-2.76-1.16-3.92-1.42-5.16-.27,1.25-.53,2.4-1.42,5.16l-7.57,24.48h18.07l-7.65-24.48Z",
|
|
217
|
+
"stroke-width": "0"
|
|
218
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
219
|
+
d: "M667.05,626.68v-37.83c0-2.22,0-4.09.09-6.23-.8,2.58-1.25,3.92-2.23,6.23l-15.75,38.72h-1.78l-15.75-38.72c-.98-2.31-1.42-3.65-2.23-6.23.09,2.14.09,4.01.09,6.23v37.83h-7.92v-62.3h8.01l16.11,39.07c1.25,3.03,1.69,4.18,2.67,6.76.98-2.58,1.42-3.74,2.67-6.76l15.93-39.07h8.01v62.3h-7.92Z",
|
|
220
|
+
"stroke-width": "0"
|
|
221
|
+
})));
|
|
142
222
|
};
|
|
143
223
|
|
|
144
224
|
var CinemaBadge = function CinemaBadge(_ref) {
|
|
@@ -3840,6 +3920,8 @@ var ErrorLabel$2 = /*#__PURE__*/styled__default.p(_templateObject5$3 || (_templa
|
|
|
3840
3920
|
});
|
|
3841
3921
|
|
|
3842
3922
|
/**
|
|
3923
|
+
* @deprecated
|
|
3924
|
+
*
|
|
3843
3925
|
* # IMPORTANT
|
|
3844
3926
|
* Please use the `<TextField />` component instead of this component if possible.
|
|
3845
3927
|
* This component was introduced due to incompatibilities between versions of the Chord library.
|
|
@@ -8088,7 +8170,9 @@ var PageHeadingStream = function PageHeadingStream(_ref) {
|
|
|
8088
8170
|
theme: exports.ThemeType.Stream
|
|
8089
8171
|
}, /*#__PURE__*/React__default.createElement(StreamWrapper, null, /*#__PURE__*/React__default.createElement(PageHeading, Object.assign({}, rest, {
|
|
8090
8172
|
link: streamLink
|
|
8091
|
-
}), /*#__PURE__*/React__default.createElement(StreamBadge,
|
|
8173
|
+
}), /*#__PURE__*/React__default.createElement(StreamBadge, {
|
|
8174
|
+
align: "left"
|
|
8175
|
+
}))));
|
|
8092
8176
|
};
|
|
8093
8177
|
|
|
8094
8178
|
var _templateObject$10, _templateObject2$I, _templateObject3$A, _templateObject5$m, _templateObject6$g, _templateObject7$b, _templateObject8$9, _templateObject9$4, _templateObject10$4;
|
|
@@ -8196,11 +8280,7 @@ var renderBranding = function renderBranding(brandingStyle, invert, brandingText
|
|
|
8196
8280
|
}, truncate(stripAllHtmlTags(brandingText), 25));
|
|
8197
8281
|
|
|
8198
8282
|
case 'StreamLogo':
|
|
8199
|
-
return /*#__PURE__*/React__default.createElement(
|
|
8200
|
-
color: color,
|
|
8201
|
-
fontSize: 12,
|
|
8202
|
-
productName: TextLogoProduct.Stream
|
|
8203
|
-
});
|
|
8283
|
+
return /*#__PURE__*/React__default.createElement(StreamBadge, null);
|
|
8204
8284
|
|
|
8205
8285
|
case 'CinemaLogo':
|
|
8206
8286
|
return /*#__PURE__*/React__default.createElement(Logo, {
|