Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const EmbedControls = (props) => {
value={title || ''}
onChange={(value) => setAttributes({ title: value })}
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
</BaseControl>
</PanelRow>
Expand Down Expand Up @@ -188,6 +189,7 @@ const EmbedControls = (props) => {
setAttributes({ width: Number.parseInt(value) })
}
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
<TextControl
type="number"
Expand All @@ -202,6 +204,7 @@ const EmbedControls = (props) => {
})
}
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
</div>
</BaseControl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const EmbedControlsInLoop = (props) => {
setAttributes({ width: Number.parseInt(value) })
}
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
<TextControl
type="number"
Expand All @@ -86,6 +87,7 @@ const EmbedControlsInLoop = (props) => {
})
}
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
</div>
</BaseControl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ const StoriesInspectorControls = (props) => {
}
className="web-stories-settings-archive-link"
__nextHasNoMarginBottom
__next40pxDefaultSize
/>
)}
</PanelBody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ KeywordSearch.propTypes = {
onChange: PropTypes.func,
};

const STABLE_ARRAY = [];

function SelectStories({
stories = [],
selectedStories = [],
stories = STABLE_ARRAY,
selectedStories = STABLE_ARRAY,
setSelectedStories,
hasAllStories,
isLoading,
Expand All @@ -150,7 +152,7 @@ function SelectStories({
};
return {
// Only load users when capability has been fetched already.
authors: capabilities ? getUsers(query) : [],
authors: capabilities ? getUsers(query) : STABLE_ARRAY,
};
},
[authorKeyword]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/@types/glider-js/index.d.ts b/node_modules/@types/glider-js/index.d.ts
index 35a953d..655ded6 100644
index 2be4c56..1b838c6 100644
--- a/node_modules/@types/glider-js/index.d.ts
+++ b/node_modules/@types/glider-js/index.d.ts
@@ -97,7 +97,7 @@ declare namespace Glider {
Expand All @@ -11,7 +11,7 @@ index 35a953d..655ded6 100644

/**
* This prevents resizing items to fit when `slidesToShow` is set to
@@ -242,13 +242,13 @@ declare class Glider<T extends HTMLElement = HTMLDivElement> {
@@ -247,13 +247,13 @@ declare class Glider<T extends HTMLElement = HTMLDivElement> {
* @param slideIndexs string | number
* @param isActuallyDotIndex boolean
*/
Expand All @@ -27,7 +27,7 @@ index 35a953d..655ded6 100644

/**
* Overrides options set during initialization. If called when a
@@ -271,6 +271,10 @@ declare class Glider<T extends HTMLElement = HTMLDivElement> {
@@ -276,6 +276,10 @@ declare class Glider<T extends HTMLElement = HTMLDivElement> {
resize(): void;

init(): void;
Expand Down
Loading