@wistia/ui 0.18.17 → 0.18.18-beta.c603c0ce.1c25242
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/index.cjs +92 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +155 -117
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.
|
|
3
|
+
* @license @wistia/ui v0.18.18-beta.c603c0ce.1c25242
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13958,12 +13958,22 @@ import { useRef as useRef15 } from "react";
|
|
|
13958
13958
|
import { styled as styled58, keyframes as keyframes4 } from "styled-components";
|
|
13959
13959
|
import { isNotNil as isNotNil25 } from "@wistia/type-guards";
|
|
13960
13960
|
import { jsx as jsx278, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
13961
|
+
var pulse = keyframes4`
|
|
13962
|
+
0%,
|
|
13963
|
+
100% {
|
|
13964
|
+
opacity: 1;
|
|
13965
|
+
}
|
|
13966
|
+
50% {
|
|
13967
|
+
opacity: 0.5;
|
|
13968
|
+
}
|
|
13969
|
+
`;
|
|
13961
13970
|
var StyledDataCard = styled58.div`
|
|
13962
13971
|
--wui-data-card-text: var(--wui-color-text-button);
|
|
13963
13972
|
--wui-color-text: var(--wui-data-card-text);
|
|
13964
13973
|
--wui-data-card-background: var(--wui-color-bg-surface-secondary);
|
|
13965
13974
|
--wui-data-card-background-hover: var(--wui-color-bg-surface-secondary-hover);
|
|
13966
13975
|
--wui-data-card-background-active: var(--wui-color-bg-surface-secondary-active);
|
|
13976
|
+
--wui-data-card-skeleton-color: var(--wui-color-bg-surface-tertiary);
|
|
13967
13977
|
|
|
13968
13978
|
display: grid;
|
|
13969
13979
|
grid-template-areas: 'label slot' 'value value';
|
|
@@ -13991,6 +14001,16 @@ var StyledDataCard = styled58.div`
|
|
|
13991
14001
|
grid-template-rows: auto auto auto;
|
|
13992
14002
|
}
|
|
13993
14003
|
|
|
14004
|
+
[data-wui-data-card-skeleton='true'] {
|
|
14005
|
+
pointer-events: none;
|
|
14006
|
+
background-color: var(--wui-data-card-skeleton-color);
|
|
14007
|
+
animation: ${pulse} 1.5s var(--wui-motion-ease-in-out) 0.5s infinite;
|
|
14008
|
+
color: transparent;
|
|
14009
|
+
user-select: none;
|
|
14010
|
+
border-radius: var(--wui-border-radius-01);
|
|
14011
|
+
width: fit-content;
|
|
14012
|
+
}
|
|
14013
|
+
|
|
13994
14014
|
&[data-click-region] {
|
|
13995
14015
|
&:not([disabled]) {
|
|
13996
14016
|
cursor: pointer;
|
|
@@ -14022,6 +14042,7 @@ var StyledDataCard = styled58.div`
|
|
|
14022
14042
|
--wui-data-card-background-hover: var(--wui-color-bg-surface-selected-hover);
|
|
14023
14043
|
--wui-data-card-background-active: var(--wui-color-bg-surface-selected-active);
|
|
14024
14044
|
--wui-data-card-focus-ring: var(--wui-color-border-selected);
|
|
14045
|
+
--wui-data-card-skeleton-color: var(--wui-color-bg-surface-selected-active);
|
|
14025
14046
|
}
|
|
14026
14047
|
}
|
|
14027
14048
|
|
|
@@ -14032,38 +14053,19 @@ var StyledDataCard = styled58.div`
|
|
|
14032
14053
|
${({ $colorScheme }) => getColorScheme($colorScheme)}
|
|
14033
14054
|
}
|
|
14034
14055
|
`;
|
|
14035
|
-
var shimmer = keyframes4`
|
|
14036
|
-
0% {
|
|
14037
|
-
background-position: 200% 0;
|
|
14038
|
-
}
|
|
14039
|
-
100% {
|
|
14040
|
-
background-position: -200% 0;
|
|
14041
|
-
}
|
|
14042
|
-
`;
|
|
14043
|
-
var LoadingBackground = styled58.div`
|
|
14044
|
-
background: linear-gradient(
|
|
14045
|
-
90deg,
|
|
14046
|
-
var(--wui-color-bg-surface-tertiary) 25%,
|
|
14047
|
-
var(--wui-color-bg-surface-secondary) 37%,
|
|
14048
|
-
var(--wui-color-bg-surface-tertiary) 63%
|
|
14049
|
-
);
|
|
14050
|
-
background-size: 200% 100%;
|
|
14051
|
-
animation: ${shimmer} 1.5s infinite;
|
|
14052
|
-
border-radius: var(--wui-border-radius-01);
|
|
14053
|
-
`;
|
|
14054
|
-
var StyledLoadingLabel = styled58(LoadingBackground)`
|
|
14055
|
-
width: 80px;
|
|
14056
|
-
height: var(--wui-typography-heading-6-line-height);
|
|
14057
|
-
`;
|
|
14058
|
-
var StyledLoadingValue = styled58(LoadingBackground)`
|
|
14059
|
-
width: 90%;
|
|
14060
|
-
height: var(--wui-typography-heading-3-line-height);
|
|
14061
|
-
`;
|
|
14062
14056
|
var StyledLabel3 = styled58(Heading)`
|
|
14063
14057
|
grid-area: label;
|
|
14058
|
+
|
|
14059
|
+
&[data-wui-data-card-skeleton='true'] {
|
|
14060
|
+
width: 80px;
|
|
14061
|
+
}
|
|
14064
14062
|
`;
|
|
14065
14063
|
var StyledValue = styled58(Heading)`
|
|
14066
14064
|
grid-area: value;
|
|
14065
|
+
|
|
14066
|
+
&[data-wui-data-card-skeleton='true'] {
|
|
14067
|
+
width: min(90%, 156px);
|
|
14068
|
+
}
|
|
14067
14069
|
`;
|
|
14068
14070
|
var StyledSlot = styled58.div`
|
|
14069
14071
|
display: flex;
|
|
@@ -14097,17 +14099,19 @@ var DataCardInner = ({
|
|
|
14097
14099
|
/* @__PURE__ */ jsx278(
|
|
14098
14100
|
StyledLabel3,
|
|
14099
14101
|
{
|
|
14102
|
+
"data-wui-data-card-skeleton": isLoading,
|
|
14100
14103
|
renderAs: "dt",
|
|
14101
14104
|
variant: "heading6",
|
|
14102
|
-
children:
|
|
14105
|
+
children: label
|
|
14103
14106
|
}
|
|
14104
14107
|
),
|
|
14105
14108
|
/* @__PURE__ */ jsx278(
|
|
14106
14109
|
StyledValue,
|
|
14107
14110
|
{
|
|
14111
|
+
"data-wui-data-card-skeleton": isLoading,
|
|
14108
14112
|
renderAs: "dd",
|
|
14109
14113
|
variant: "heading3",
|
|
14110
|
-
children:
|
|
14114
|
+
children: value
|
|
14111
14115
|
}
|
|
14112
14116
|
),
|
|
14113
14117
|
isNotNil25(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx278(StyledSlot, { children: upperRightSlot }),
|
|
@@ -15071,11 +15075,23 @@ var FormErrorSummary = ({ description }) => {
|
|
|
15071
15075
|
|
|
15072
15076
|
// src/components/FormField/FormField.tsx
|
|
15073
15077
|
import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
|
|
15074
|
-
import { styled as styled68 } from "styled-components";
|
|
15078
|
+
import { styled as styled68, css as css36 } from "styled-components";
|
|
15075
15079
|
import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
|
|
15076
|
-
import {
|
|
15080
|
+
import { jsx as jsx293, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
15081
|
+
var inlineErrorStyles = css36`
|
|
15082
|
+
grid-template-rows: 1fr auto;
|
|
15083
|
+
grid-template-areas: 'label-description input' '. error';
|
|
15084
|
+
`;
|
|
15085
|
+
var inlineBaseGridAreaStyles = css36`
|
|
15086
|
+
grid-template-rows: 1fr;
|
|
15087
|
+
grid-template-areas: 'label-description input';
|
|
15088
|
+
`;
|
|
15089
|
+
var blockGridErrorStyles = css36`
|
|
15090
|
+
grid-template-rows: auto 1fr auto;
|
|
15091
|
+
grid-template-areas: 'label-description' 'input' 'error';
|
|
15092
|
+
`;
|
|
15077
15093
|
var StyledFormField = styled68.div`
|
|
15078
|
-
--form-field-spacing: var(--wui-space-
|
|
15094
|
+
--form-field-spacing: var(--wui-space-02);
|
|
15079
15095
|
--form-field-spacing-inline: var(--wui-space-02);
|
|
15080
15096
|
--form-field-error-color: var(--wui-color-text-secondary-error);
|
|
15081
15097
|
|
|
@@ -15089,21 +15105,28 @@ var StyledFormField = styled68.div`
|
|
|
15089
15105
|
&[data-label-position='inline-compact'] {
|
|
15090
15106
|
gap: var(--form-field-spacing-inline);
|
|
15091
15107
|
grid-template-columns: auto 1fr;
|
|
15092
|
-
|
|
15108
|
+
${inlineBaseGridAreaStyles}
|
|
15109
|
+
${({ $hasError }) => $hasError && inlineErrorStyles}
|
|
15093
15110
|
}
|
|
15094
15111
|
|
|
15095
15112
|
&[data-label-position='inline'] {
|
|
15096
15113
|
gap: var(--form-field-spacing-inline);
|
|
15097
15114
|
grid-template-columns: minmax(auto, 1fr) 1fr;
|
|
15098
|
-
|
|
15115
|
+
${inlineBaseGridAreaStyles}
|
|
15116
|
+
${({ $hasError }) => $hasError && inlineErrorStyles}
|
|
15099
15117
|
}
|
|
15100
15118
|
|
|
15101
15119
|
&[data-label-position='block'] {
|
|
15102
15120
|
gap: var(--form-field-spacing);
|
|
15103
15121
|
grid-template-columns: 1fr;
|
|
15104
|
-
grid-template-rows: 1fr;
|
|
15122
|
+
grid-template-rows: auto 1fr;
|
|
15123
|
+
grid-template-areas: 'label-description' 'input';
|
|
15124
|
+
${({ $hasError }) => $hasError && blockGridErrorStyles}
|
|
15105
15125
|
}
|
|
15106
15126
|
`;
|
|
15127
|
+
var ErrorText = styled68(Text)`
|
|
15128
|
+
grid-area: error;
|
|
15129
|
+
`;
|
|
15107
15130
|
var StyledErrorList = styled68.ul`
|
|
15108
15131
|
margin: 0;
|
|
15109
15132
|
padding: 0;
|
|
@@ -15111,13 +15134,14 @@ var StyledErrorList = styled68.ul`
|
|
|
15111
15134
|
display: flex;
|
|
15112
15135
|
flex-direction: column;
|
|
15113
15136
|
gap: var(--wui-space-01);
|
|
15137
|
+
grid-area: error;
|
|
15114
15138
|
`;
|
|
15115
15139
|
var ErrorMessages = ({ errors, id }) => {
|
|
15116
15140
|
const isErrorArray = isArray4(errors);
|
|
15117
15141
|
const isMultipleErrors = isErrorArray && errors.length > 1;
|
|
15118
15142
|
if (!isErrorArray) {
|
|
15119
15143
|
return /* @__PURE__ */ jsx293(
|
|
15120
|
-
|
|
15144
|
+
ErrorText,
|
|
15121
15145
|
{
|
|
15122
15146
|
colorScheme: "error",
|
|
15123
15147
|
id,
|
|
@@ -15130,7 +15154,7 @@ var ErrorMessages = ({ errors, id }) => {
|
|
|
15130
15154
|
}
|
|
15131
15155
|
if (!isMultipleErrors) {
|
|
15132
15156
|
return /* @__PURE__ */ jsx293(
|
|
15133
|
-
|
|
15157
|
+
ErrorText,
|
|
15134
15158
|
{
|
|
15135
15159
|
colorScheme: "error",
|
|
15136
15160
|
id,
|
|
@@ -15175,12 +15199,16 @@ var FormField = ({
|
|
|
15175
15199
|
const descriptionId = `${computedId}-description`;
|
|
15176
15200
|
const errorId = `${computedId}-error`;
|
|
15177
15201
|
const ariaDescribedby = [descriptionId, errorId].filter(Boolean).join(" ") || void 0;
|
|
15202
|
+
const hasDescription = isNotNil28(description);
|
|
15203
|
+
const hasError = isNotNil28(computedError);
|
|
15204
|
+
const shouldRenderLabelDescriptionWrapper = !isIntegratedLabel || hasDescription;
|
|
15178
15205
|
let childProps = {
|
|
15179
15206
|
name,
|
|
15180
15207
|
id: computedId,
|
|
15181
15208
|
label: isIntegratedLabel ? label : void 0,
|
|
15182
15209
|
"aria-describedby": ariaDescribedby,
|
|
15183
|
-
"aria-invalid":
|
|
15210
|
+
"aria-invalid": hasError,
|
|
15211
|
+
style: { gridArea: "input" },
|
|
15184
15212
|
...props
|
|
15185
15213
|
};
|
|
15186
15214
|
if (isUndefined4(value) && isNotUndefined12(defaultValue)) {
|
|
@@ -15210,28 +15238,38 @@ var FormField = ({
|
|
|
15210
15238
|
StyledFormField,
|
|
15211
15239
|
{
|
|
15212
15240
|
...props,
|
|
15241
|
+
$hasError: hasError,
|
|
15213
15242
|
"data-label-position": labelPosition ?? formState.labelPosition,
|
|
15214
15243
|
children: [
|
|
15215
|
-
|
|
15216
|
-
|
|
15244
|
+
shouldRenderLabelDescriptionWrapper ? /* @__PURE__ */ jsxs47(
|
|
15245
|
+
Stack,
|
|
15217
15246
|
{
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15247
|
+
direction: "vertical",
|
|
15248
|
+
gap: "space-01",
|
|
15249
|
+
style: {
|
|
15250
|
+
gridArea: "label-description"
|
|
15251
|
+
},
|
|
15252
|
+
children: [
|
|
15253
|
+
!isIntegratedLabel && /* @__PURE__ */ jsx293(
|
|
15254
|
+
Label,
|
|
15255
|
+
{
|
|
15256
|
+
htmlFor: computedId,
|
|
15257
|
+
required,
|
|
15258
|
+
children: label
|
|
15259
|
+
}
|
|
15260
|
+
),
|
|
15261
|
+
hasDescription ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null
|
|
15262
|
+
]
|
|
15221
15263
|
}
|
|
15222
|
-
),
|
|
15223
|
-
isNotNil28(description) ? /* @__PURE__ */ jsx293(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
|
|
15264
|
+
) : null,
|
|
15224
15265
|
cloneElement8(children, childProps),
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
}
|
|
15233
|
-
)
|
|
15234
|
-
] }) : null
|
|
15266
|
+
hasError ? /* @__PURE__ */ jsx293(
|
|
15267
|
+
ErrorMessages,
|
|
15268
|
+
{
|
|
15269
|
+
errors: computedError,
|
|
15270
|
+
id: errorId
|
|
15271
|
+
}
|
|
15272
|
+
) : null
|
|
15235
15273
|
]
|
|
15236
15274
|
}
|
|
15237
15275
|
);
|
|
@@ -15267,24 +15305,24 @@ RadioGroup.displayName = "RadioGroup_UI";
|
|
|
15267
15305
|
|
|
15268
15306
|
// src/components/Grid/Grid.tsx
|
|
15269
15307
|
import { forwardRef as forwardRef22 } from "react";
|
|
15270
|
-
import { styled as styled69, css as
|
|
15308
|
+
import { styled as styled69, css as css37 } from "styled-components";
|
|
15271
15309
|
import { isRecord as isRecord5 } from "@wistia/type-guards";
|
|
15272
15310
|
import { jsx as jsx295 } from "react/jsx-runtime";
|
|
15273
15311
|
var DEFAULT_ELEMENT5 = "div";
|
|
15274
15312
|
var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
|
|
15275
15313
|
if (minChildWidth === "auto" && maxColumns === "auto") {
|
|
15276
|
-
return
|
|
15314
|
+
return css37`
|
|
15277
15315
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
15278
15316
|
`;
|
|
15279
15317
|
}
|
|
15280
15318
|
const gridMode = expandItems ? "auto-fit" : "auto-fill";
|
|
15281
15319
|
const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
|
|
15282
15320
|
if (maxColumns === "auto") {
|
|
15283
|
-
return
|
|
15321
|
+
return css37`
|
|
15284
15322
|
grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
|
|
15285
15323
|
`;
|
|
15286
15324
|
}
|
|
15287
|
-
return
|
|
15325
|
+
return css37`
|
|
15288
15326
|
/* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
|
|
15289
15327
|
--wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
|
|
15290
15328
|
--wui-grid-max-column-width: calc(
|
|
@@ -15568,7 +15606,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
|
|
|
15568
15606
|
|
|
15569
15607
|
// src/components/List/List.tsx
|
|
15570
15608
|
import { isNotNil as isNotNil30 } from "@wistia/type-guards";
|
|
15571
|
-
import { styled as styled74, css as
|
|
15609
|
+
import { styled as styled74, css as css38 } from "styled-components";
|
|
15572
15610
|
|
|
15573
15611
|
// src/components/List/ListItem.tsx
|
|
15574
15612
|
import { styled as styled73 } from "styled-components";
|
|
@@ -15587,7 +15625,7 @@ ListItem.displayName = "ListItem_UI";
|
|
|
15587
15625
|
|
|
15588
15626
|
// src/components/List/List.tsx
|
|
15589
15627
|
import { jsx as jsx300, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
15590
|
-
var spacesStyle =
|
|
15628
|
+
var spacesStyle = css38`
|
|
15591
15629
|
overflow: hidden;
|
|
15592
15630
|
padding-left: 0;
|
|
15593
15631
|
vertical-align: bottom;
|
|
@@ -15609,7 +15647,7 @@ var spacesStyle = css37`
|
|
|
15609
15647
|
}
|
|
15610
15648
|
}
|
|
15611
15649
|
`;
|
|
15612
|
-
var commasStyle =
|
|
15650
|
+
var commasStyle = css38`
|
|
15613
15651
|
${spacesStyle};
|
|
15614
15652
|
|
|
15615
15653
|
li {
|
|
@@ -15619,7 +15657,7 @@ var commasStyle = css37`
|
|
|
15619
15657
|
}
|
|
15620
15658
|
}
|
|
15621
15659
|
`;
|
|
15622
|
-
var slashesStyle =
|
|
15660
|
+
var slashesStyle = css38`
|
|
15623
15661
|
${spacesStyle};
|
|
15624
15662
|
|
|
15625
15663
|
li {
|
|
@@ -15630,7 +15668,7 @@ var slashesStyle = css37`
|
|
|
15630
15668
|
}
|
|
15631
15669
|
}
|
|
15632
15670
|
`;
|
|
15633
|
-
var breadcrumbsStyle =
|
|
15671
|
+
var breadcrumbsStyle = css38`
|
|
15634
15672
|
${spacesStyle};
|
|
15635
15673
|
|
|
15636
15674
|
li {
|
|
@@ -15641,7 +15679,7 @@ var breadcrumbsStyle = css37`
|
|
|
15641
15679
|
}
|
|
15642
15680
|
}
|
|
15643
15681
|
`;
|
|
15644
|
-
var unbulletedStyle =
|
|
15682
|
+
var unbulletedStyle = css38`
|
|
15645
15683
|
list-style: none;
|
|
15646
15684
|
padding-left: 0;
|
|
15647
15685
|
`;
|
|
@@ -15823,7 +15861,7 @@ var ModalHeader = ({
|
|
|
15823
15861
|
|
|
15824
15862
|
// src/components/Modal/ModalContent.tsx
|
|
15825
15863
|
import { forwardRef as forwardRef25 } from "react";
|
|
15826
|
-
import { styled as styled78, css as
|
|
15864
|
+
import { styled as styled78, css as css39, keyframes as keyframes5 } from "styled-components";
|
|
15827
15865
|
import { Content as DialogContent } from "@radix-ui/react-dialog";
|
|
15828
15866
|
|
|
15829
15867
|
// src/private/hooks/useFocusRestore/useFocusRestore.ts
|
|
@@ -15869,7 +15907,7 @@ var modalExit = keyframes5`
|
|
|
15869
15907
|
transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
|
|
15870
15908
|
}
|
|
15871
15909
|
`;
|
|
15872
|
-
var centeredModalStyles =
|
|
15910
|
+
var centeredModalStyles = css39`
|
|
15873
15911
|
--wui-modal-screen-offset: var(--wui-space-05);
|
|
15874
15912
|
--wui-modal-translate-y: -50%;
|
|
15875
15913
|
|
|
@@ -15885,7 +15923,7 @@ var centeredModalStyles = css38`
|
|
|
15885
15923
|
animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
|
|
15886
15924
|
}
|
|
15887
15925
|
`;
|
|
15888
|
-
var fixedTopModalStyles =
|
|
15926
|
+
var fixedTopModalStyles = css39`
|
|
15889
15927
|
--wui-modal-screen-offset-top: 15vh;
|
|
15890
15928
|
--wui-modal-screen-offset-bottom: 5vh;
|
|
15891
15929
|
--wui-modal-translate-y: 0%;
|
|
@@ -15926,7 +15964,7 @@ var slideOutRight = keyframes5`
|
|
|
15926
15964
|
transform: translateX(100%);
|
|
15927
15965
|
}
|
|
15928
15966
|
`;
|
|
15929
|
-
var rightSidePanelModalStyles =
|
|
15967
|
+
var rightSidePanelModalStyles = css39`
|
|
15930
15968
|
--wui-modal-screen-offset: var(--wui-space-05);
|
|
15931
15969
|
|
|
15932
15970
|
height: calc(100vh - var(--wui-modal-screen-offset) * 2);
|
|
@@ -16124,7 +16162,7 @@ ModalCallout.displayName = "ModalCallout_UI";
|
|
|
16124
16162
|
|
|
16125
16163
|
// src/components/Popover/Popover.tsx
|
|
16126
16164
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
16127
|
-
import { styled as styled82, css as
|
|
16165
|
+
import { styled as styled82, css as css41 } from "styled-components";
|
|
16128
16166
|
|
|
16129
16167
|
// src/private/helpers/getControls/getControlProps.tsx
|
|
16130
16168
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
@@ -16134,7 +16172,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
16134
16172
|
|
|
16135
16173
|
// src/components/Popover/PopoverArrow.tsx
|
|
16136
16174
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
16137
|
-
import { styled as styled81, css as
|
|
16175
|
+
import { styled as styled81, css as css40, keyframes as keyframes7 } from "styled-components";
|
|
16138
16176
|
import { jsx as jsx307, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
16139
16177
|
var StyledPath = styled81.path`
|
|
16140
16178
|
fill: var(--wui-color-border-secondary);
|
|
@@ -16168,7 +16206,7 @@ var StyledCircle = styled81.circle`
|
|
|
16168
16206
|
}
|
|
16169
16207
|
|
|
16170
16208
|
@media (prefers-reduced-motion: no-preference) {
|
|
16171
|
-
${({ $isAnimated }) => $isAnimated &&
|
|
16209
|
+
${({ $isAnimated }) => $isAnimated && css40`
|
|
16172
16210
|
animation-name: ${circleAnimation};
|
|
16173
16211
|
`}
|
|
16174
16212
|
}
|
|
@@ -16217,7 +16255,7 @@ import { jsx as jsx308, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
|
16217
16255
|
var StyledContent2 = styled82(Content2)`
|
|
16218
16256
|
z-index: var(--wui-zindex-popover);
|
|
16219
16257
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
16220
|
-
${({ $unstyled }) => !$unstyled &&
|
|
16258
|
+
${({ $unstyled }) => !$unstyled && css41`
|
|
16221
16259
|
border-radius: var(--wui-border-radius-02);
|
|
16222
16260
|
padding: var(--wui-space-04);
|
|
16223
16261
|
max-width: var(--wui-popover-max-width, 320px);
|
|
@@ -16367,17 +16405,17 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
16367
16405
|
// src/components/Radio/Radio.tsx
|
|
16368
16406
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
16369
16407
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
16370
|
-
import { styled as styled84, css as
|
|
16408
|
+
import { styled as styled84, css as css42 } from "styled-components";
|
|
16371
16409
|
import { jsx as jsx310, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16372
|
-
var sizeSmall2 =
|
|
16410
|
+
var sizeSmall2 = css42`
|
|
16373
16411
|
--wui-radio-size: 14px;
|
|
16374
16412
|
--wui-radio-icon-size: 7px;
|
|
16375
16413
|
`;
|
|
16376
|
-
var sizeMedium2 =
|
|
16414
|
+
var sizeMedium2 = css42`
|
|
16377
16415
|
--wui-radio-size: 16px;
|
|
16378
16416
|
--wui-radio-icon-size: 8px;
|
|
16379
16417
|
`;
|
|
16380
|
-
var sizeLarge2 =
|
|
16418
|
+
var sizeLarge2 = css42`
|
|
16381
16419
|
--wui-radio-size: 20px;
|
|
16382
16420
|
--wui-radio-icon-size: 10px;
|
|
16383
16421
|
`;
|
|
@@ -16518,17 +16556,17 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16518
16556
|
|
|
16519
16557
|
// src/components/RadioCard/RadioCardRoot.tsx
|
|
16520
16558
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16521
|
-
import { styled as styled85, css as
|
|
16559
|
+
import { styled as styled85, css as css43 } from "styled-components";
|
|
16522
16560
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16523
16561
|
import { jsx as jsx311, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
16524
|
-
var checkedStyles =
|
|
16562
|
+
var checkedStyles = css43`
|
|
16525
16563
|
--wui-radio-card-border-color: var(--wui-color-focus-ring);
|
|
16526
16564
|
--wui-color-icon: var(--wui-color-icon-selected);
|
|
16527
16565
|
--wui-radio-card-background-color: var(--wui-color-bg-surface-info);
|
|
16528
16566
|
--wui-color-text: var(--wui-color-text-info);
|
|
16529
16567
|
--wui-color-text-secondary: var(--wui-color-text-info);
|
|
16530
16568
|
`;
|
|
16531
|
-
var disabledStyles =
|
|
16569
|
+
var disabledStyles = css43`
|
|
16532
16570
|
--wui-radio-card-border-color: var(--wui-color-border-disabled);
|
|
16533
16571
|
--wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
|
|
16534
16572
|
--wui-radio-card-cursor: not-allowed;
|
|
@@ -16536,10 +16574,10 @@ var disabledStyles = css42`
|
|
|
16536
16574
|
--wui-color-text: var(--wui-color-text-disabled);
|
|
16537
16575
|
--wui-color-text-secondary: var(--wui-color-text-disabled);
|
|
16538
16576
|
`;
|
|
16539
|
-
var focusStyles =
|
|
16577
|
+
var focusStyles = css43`
|
|
16540
16578
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
16541
16579
|
`;
|
|
16542
|
-
var imageCoverStyles =
|
|
16580
|
+
var imageCoverStyles = css43`
|
|
16543
16581
|
--wui-radio-card-image-inset: 0px;
|
|
16544
16582
|
--wui-radio-card-border-width: 0px;
|
|
16545
16583
|
--wui-inset-shadow-width: 1px;
|
|
@@ -16945,7 +16983,7 @@ ScrollArea.displayName = "ScrollArea_UI";
|
|
|
16945
16983
|
|
|
16946
16984
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16947
16985
|
import { forwardRef as forwardRef32 } from "react";
|
|
16948
|
-
import { styled as styled91, css as
|
|
16986
|
+
import { styled as styled91, css as css45 } from "styled-components";
|
|
16949
16987
|
import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
|
|
16950
16988
|
import { isNil as isNil18 } from "@wistia/type-guards";
|
|
16951
16989
|
|
|
@@ -16983,7 +17021,7 @@ var useSelectedItemStyle = () => {
|
|
|
16983
17021
|
};
|
|
16984
17022
|
|
|
16985
17023
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16986
|
-
import { styled as styled90, css as
|
|
17024
|
+
import { styled as styled90, css as css44 } from "styled-components";
|
|
16987
17025
|
import { isUndefined as isUndefined5 } from "@wistia/type-guards";
|
|
16988
17026
|
|
|
16989
17027
|
// src/components/SegmentedControl/useSegmentedControlValue.tsx
|
|
@@ -17000,7 +17038,7 @@ var useSegmentedControlValue = () => {
|
|
|
17000
17038
|
|
|
17001
17039
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
17002
17040
|
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17003
|
-
var selectedItemIndicatorStyles =
|
|
17041
|
+
var selectedItemIndicatorStyles = css44`
|
|
17004
17042
|
background-color: var(--wui-color-bg-fill-white);
|
|
17005
17043
|
border-radius: var(--wui-border-radius-rounded);
|
|
17006
17044
|
box-shadow: var(--wui-elevation-01);
|
|
@@ -17032,7 +17070,7 @@ var SelectedItemIndicator = () => {
|
|
|
17032
17070
|
|
|
17033
17071
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
17034
17072
|
import { jsx as jsx318, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
17035
|
-
var segmentedControlStyles =
|
|
17073
|
+
var segmentedControlStyles = css45`
|
|
17036
17074
|
display: inline-flex;
|
|
17037
17075
|
background-color: var(--wui-color-bg-surface-secondary);
|
|
17038
17076
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -17082,11 +17120,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
|
|
|
17082
17120
|
|
|
17083
17121
|
// src/components/SegmentedControl/SegmentedControlItem.tsx
|
|
17084
17122
|
import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
|
|
17085
|
-
import { styled as styled92, css as
|
|
17123
|
+
import { styled as styled92, css as css46 } from "styled-components";
|
|
17086
17124
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
17087
17125
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
17088
17126
|
import { jsxs as jsxs61 } from "react/jsx-runtime";
|
|
17089
|
-
var segmentedControlItemStyles =
|
|
17127
|
+
var segmentedControlItemStyles = css46`
|
|
17090
17128
|
all: unset; /* ToggleGroupItem is a button element */
|
|
17091
17129
|
align-items: center;
|
|
17092
17130
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -17227,7 +17265,7 @@ import {
|
|
|
17227
17265
|
ScrollDownButton
|
|
17228
17266
|
} from "@radix-ui/react-select";
|
|
17229
17267
|
import { forwardRef as forwardRef34 } from "react";
|
|
17230
|
-
import { styled as styled93, css as
|
|
17268
|
+
import { styled as styled93, css as css47 } from "styled-components";
|
|
17231
17269
|
import { jsx as jsx319, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17232
17270
|
var StyledTrigger2 = styled93(Trigger3)`
|
|
17233
17271
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -17298,7 +17336,7 @@ var StyledContent3 = styled93(Content3)`
|
|
|
17298
17336
|
margin: var(--wui-space-02) 0;
|
|
17299
17337
|
}
|
|
17300
17338
|
`;
|
|
17301
|
-
var scrollButtonStyles =
|
|
17339
|
+
var scrollButtonStyles = css47`
|
|
17302
17340
|
align-items: center;
|
|
17303
17341
|
display: flex;
|
|
17304
17342
|
justify-content: center;
|
|
@@ -17584,25 +17622,25 @@ var Slider = ({
|
|
|
17584
17622
|
Slider.displayName = "Slider_UI";
|
|
17585
17623
|
|
|
17586
17624
|
// src/components/Table/Table.tsx
|
|
17587
|
-
import { styled as styled97, css as
|
|
17625
|
+
import { styled as styled97, css as css48 } from "styled-components";
|
|
17588
17626
|
import { jsx as jsx323 } from "react/jsx-runtime";
|
|
17589
17627
|
var StyledTable = styled97.table`
|
|
17590
17628
|
width: 100%;
|
|
17591
17629
|
border-collapse: collapse;
|
|
17592
17630
|
|
|
17593
|
-
${({ $divided }) => $divided &&
|
|
17631
|
+
${({ $divided }) => $divided && css48`
|
|
17594
17632
|
tr {
|
|
17595
17633
|
border-bottom: 1px solid var(--wui-color-border);
|
|
17596
17634
|
}
|
|
17597
17635
|
`}
|
|
17598
17636
|
|
|
17599
|
-
${({ $striped }) => $striped &&
|
|
17637
|
+
${({ $striped }) => $striped && css48`
|
|
17600
17638
|
tbody tr:nth-child(even) {
|
|
17601
17639
|
background-color: var(--wui-color-bg-surface-secondary);
|
|
17602
17640
|
}
|
|
17603
17641
|
`}
|
|
17604
17642
|
|
|
17605
|
-
${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader &&
|
|
17643
|
+
${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && css48`
|
|
17606
17644
|
thead {
|
|
17607
17645
|
${visuallyHiddenStyle}
|
|
17608
17646
|
}
|
|
@@ -17645,9 +17683,9 @@ var TableBody = ({ children, ...props }) => {
|
|
|
17645
17683
|
|
|
17646
17684
|
// src/components/Table/TableCell.tsx
|
|
17647
17685
|
import { useContext as useContext17 } from "react";
|
|
17648
|
-
import { styled as styled99, css as
|
|
17686
|
+
import { styled as styled99, css as css49 } from "styled-components";
|
|
17649
17687
|
import { jsx as jsx325 } from "react/jsx-runtime";
|
|
17650
|
-
var sharedStyles =
|
|
17688
|
+
var sharedStyles = css49`
|
|
17651
17689
|
color: var(--wui-color-text);
|
|
17652
17690
|
padding: var(--wui-space-02);
|
|
17653
17691
|
text-align: left;
|
|
@@ -17930,9 +17968,9 @@ import {
|
|
|
17930
17968
|
|
|
17931
17969
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
17932
17970
|
import { isNotNil as isNotNil41 } from "@wistia/type-guards";
|
|
17933
|
-
import { css as
|
|
17971
|
+
import { css as css50 } from "styled-components";
|
|
17934
17972
|
var gradients = {
|
|
17935
|
-
defaultDarkOne:
|
|
17973
|
+
defaultDarkOne: css50`
|
|
17936
17974
|
background-color: #222d66;
|
|
17937
17975
|
background-image:
|
|
17938
17976
|
radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
|
|
@@ -17940,7 +17978,7 @@ var gradients = {
|
|
|
17940
17978
|
radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
|
|
17941
17979
|
radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
|
|
17942
17980
|
`,
|
|
17943
|
-
defaultDarkTwo:
|
|
17981
|
+
defaultDarkTwo: css50`
|
|
17944
17982
|
background-color: #222d66;
|
|
17945
17983
|
background-image:
|
|
17946
17984
|
radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
|
|
@@ -17948,7 +17986,7 @@ var gradients = {
|
|
|
17948
17986
|
radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
|
|
17949
17987
|
radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
|
|
17950
17988
|
`,
|
|
17951
|
-
defaultLightOne:
|
|
17989
|
+
defaultLightOne: css50`
|
|
17952
17990
|
background-color: #ccd5ff;
|
|
17953
17991
|
background-image:
|
|
17954
17992
|
radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
|
|
@@ -17956,13 +17994,13 @@ var gradients = {
|
|
|
17956
17994
|
radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
|
|
17957
17995
|
radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
|
|
17958
17996
|
`,
|
|
17959
|
-
defaultLightTwo:
|
|
17997
|
+
defaultLightTwo: css50`
|
|
17960
17998
|
background-color: #ccd5ff;
|
|
17961
17999
|
background-image:
|
|
17962
18000
|
radial-gradient(ellipse at top, #ccd5ff, transparent),
|
|
17963
18001
|
radial-gradient(ellipse at bottom, #6b84ff, transparent);
|
|
17964
18002
|
`,
|
|
17965
|
-
defaultMidOne:
|
|
18003
|
+
defaultMidOne: css50`
|
|
17966
18004
|
background-color: #6b84ff;
|
|
17967
18005
|
background-image:
|
|
17968
18006
|
radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
|
|
@@ -17970,13 +18008,13 @@ var gradients = {
|
|
|
17970
18008
|
radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
|
|
17971
18009
|
radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
|
|
17972
18010
|
`,
|
|
17973
|
-
defaultMidTwo:
|
|
18011
|
+
defaultMidTwo: css50`
|
|
17974
18012
|
background-color: #6b84ff;
|
|
17975
18013
|
background-image:
|
|
17976
18014
|
radial-gradient(ellipse at top, #2949e5, transparent),
|
|
17977
18015
|
radial-gradient(ellipse at bottom, #ccd5ff, transparent);
|
|
17978
18016
|
`,
|
|
17979
|
-
green:
|
|
18017
|
+
green: css50`
|
|
17980
18018
|
background-color: #fafffa;
|
|
17981
18019
|
background-image:
|
|
17982
18020
|
radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
|
|
@@ -17984,7 +18022,7 @@ var gradients = {
|
|
|
17984
18022
|
radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
|
|
17985
18023
|
radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
|
|
17986
18024
|
`,
|
|
17987
|
-
greenWithPop:
|
|
18025
|
+
greenWithPop: css50`
|
|
17988
18026
|
background-color: #fafffa;
|
|
17989
18027
|
background-image:
|
|
17990
18028
|
radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
|
|
@@ -17992,7 +18030,7 @@ var gradients = {
|
|
|
17992
18030
|
radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
|
|
17993
18031
|
radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
|
|
17994
18032
|
`,
|
|
17995
|
-
pink:
|
|
18033
|
+
pink: css50`
|
|
17996
18034
|
background-color: #fffff0;
|
|
17997
18035
|
background-image:
|
|
17998
18036
|
radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
|
|
@@ -18000,7 +18038,7 @@ var gradients = {
|
|
|
18000
18038
|
radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
|
|
18001
18039
|
radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
|
|
18002
18040
|
`,
|
|
18003
|
-
pinkWithPop:
|
|
18041
|
+
pinkWithPop: css50`
|
|
18004
18042
|
background-color: #fffff0;
|
|
18005
18043
|
background-image:
|
|
18006
18044
|
radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
|
|
@@ -18008,7 +18046,7 @@ var gradients = {
|
|
|
18008
18046
|
radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
|
|
18009
18047
|
radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
|
|
18010
18048
|
`,
|
|
18011
|
-
playfulGradientOne:
|
|
18049
|
+
playfulGradientOne: css50`
|
|
18012
18050
|
background-color: #f7f8ff;
|
|
18013
18051
|
background-image:
|
|
18014
18052
|
radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
|
|
@@ -18016,7 +18054,7 @@ var gradients = {
|
|
|
18016
18054
|
radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
|
|
18017
18055
|
radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
|
|
18018
18056
|
`,
|
|
18019
|
-
playfulGradientTwo:
|
|
18057
|
+
playfulGradientTwo: css50`
|
|
18020
18058
|
background-color: #f7f8ff;
|
|
18021
18059
|
background-image:
|
|
18022
18060
|
radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
|
|
@@ -18024,13 +18062,13 @@ var gradients = {
|
|
|
18024
18062
|
radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
|
|
18025
18063
|
radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
|
|
18026
18064
|
`,
|
|
18027
|
-
purple:
|
|
18065
|
+
purple: css50`
|
|
18028
18066
|
background-color: #f2caff;
|
|
18029
18067
|
background-image:
|
|
18030
18068
|
radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
|
|
18031
18069
|
radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
|
|
18032
18070
|
`,
|
|
18033
|
-
purpleWithPop:
|
|
18071
|
+
purpleWithPop: css50`
|
|
18034
18072
|
background-color: #f2caff;
|
|
18035
18073
|
background-image:
|
|
18036
18074
|
radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
|
|
@@ -18038,7 +18076,7 @@ var gradients = {
|
|
|
18038
18076
|
radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
|
|
18039
18077
|
radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
|
|
18040
18078
|
`,
|
|
18041
|
-
yellow:
|
|
18079
|
+
yellow: css50`
|
|
18042
18080
|
background-color: #fffff0;
|
|
18043
18081
|
background-image:
|
|
18044
18082
|
radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
|
|
@@ -18046,7 +18084,7 @@ var gradients = {
|
|
|
18046
18084
|
radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
|
|
18047
18085
|
radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
|
|
18048
18086
|
`,
|
|
18049
|
-
yellowWithPop:
|
|
18087
|
+
yellowWithPop: css50`
|
|
18050
18088
|
background-color: #fffff0;
|
|
18051
18089
|
background-image:
|
|
18052
18090
|
radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
|
|
@@ -18507,7 +18545,7 @@ var ThumbnailCollage = ({
|
|
|
18507
18545
|
};
|
|
18508
18546
|
|
|
18509
18547
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18510
|
-
import { styled as styled110, css as
|
|
18548
|
+
import { styled as styled110, css as css51 } from "styled-components";
|
|
18511
18549
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18512
18550
|
import { jsx as jsx337, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
18513
18551
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
@@ -18565,12 +18603,12 @@ var WistiaLogoComponent = styled110.svg`
|
|
|
18565
18603
|
${({ $opticallyCentered, $iconOnly }) => {
|
|
18566
18604
|
if ($opticallyCentered) {
|
|
18567
18605
|
if ($iconOnly) {
|
|
18568
|
-
return
|
|
18606
|
+
return css51`
|
|
18569
18607
|
aspect-ratio: 1;
|
|
18570
18608
|
padding: 11.85% 3.12% 13.91%;
|
|
18571
18609
|
`;
|
|
18572
18610
|
}
|
|
18573
|
-
return
|
|
18611
|
+
return css51`
|
|
18574
18612
|
aspect-ratio: 127 / 32;
|
|
18575
18613
|
`;
|
|
18576
18614
|
}
|