sanity-plugin-mux-input
5.0.95.0.10
dist/index.js~
dist/index.jsModified+8−8
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -376,9 +376,9 @@
}
function useDialogState() {
return useState(!1);
}
-const PLUGIN_VERSION_QUERY = { sanityVersion: "5.0.9" };
+const PLUGIN_VERSION_QUERY = { sanityVersion: "5.0.10" };
function saveSecrets(client, token, secretKey, enableSignedUrls, signingKeyId, signingKeyPrivate, drmConfigId) {
let doc = {
_id: "secrets.mux",
_type: "mux.apiKey",
@@ -4262,9 +4262,9 @@
preload: "metadata",
crossOrigin: "anonymous",
metadata: {
player_name: "Sanity Admin Dashboard",
- player_version: "5.0.9",
+ player_version: "5.0.10",
page_type: "Preview Player"
},
audio: isAudio,
_hlsConfig: hlsConfig,
@@ -8332,18 +8332,18 @@
});
function withFocusRing(component) {
return styled(component).withConfig({
displayName: "",
- componentId: "sc-zbnvzo-0"
- })((props) => {
+ componentId: "sc-4nfsev-0"
+ })(({ $border, theme }) => {
let border = {
- width: +!!props.$border,
+ width: +!!$border,
color: "var(--card-border-color)"
};
- return css`--card-focus-box-shadow:${focusRingBorderStyle(border)};border-radius:${rem(props.theme.sanity.radius[1])};outline:none;box-shadow:var(--card-focus-box-shadow);&:focus{--card-focus-box-shadow:${focusRingStyle({
- base: props.theme.sanity.color.base,
+ return css`--card-focus-box-shadow:${focusRingBorderStyle(border)};border-radius:${rem(theme.sanity.radius[1])};outline:none;box-shadow:var(--card-focus-box-shadow);&:focus{--card-focus-box-shadow:${focusRingStyle({
+ base: theme.sanity.color.base,
border,
- focusRing: props.theme.sanity.focusRing
+ focusRing: theme.sanity.focusRing
})};}`;
});
}
const UploadCardWithFocusRing = withFocusRing(Card);