forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
packages/components/src/unit-control/test/__snapshots__/index.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`UnitControl Basic rendering should render custom className 1`] = ` | ||
Snapshot Diff: | ||
- First value | ||
+ Second value | ||
@@ -1,18 +1,18 @@ | ||
<div> | ||
<div | ||
- class="components-flex components-input-control components-number-control components-unit-control components-unit-control-wrapper e1bagdl32 ep09it41 em5sgkm7 css-zruo0h-View-Flex-base-ItemsColumn-Root-Input-htmlArrowStyles-ValueInput e19lxcc00" | ||
+ class="components-flex components-input-control components-number-control components-unit-control components-unit-control-wrapper hello e1bagdl32 ep09it41 em5sgkm7 css-zruo0h-View-Flex-base-ItemsColumn-Root-Input-htmlArrowStyles-ValueInput e19lxcc00" | ||
data-wp-c16t="true" | ||
data-wp-component="Flex" | ||
> | ||
<div | ||
class="components-input-control__container css-1o1a8cj-Container-containerDisabledStyles-containerWidthStyles em5sgkm6" | ||
> | ||
<input | ||
autocomplete="off" | ||
class="components-input-control__input css-1hsyo1w-Input-dragStyles-fontSizeStyles-sizeStyles-customPaddings em5sgkm5" | ||
- id="inspector-input-control-1" | ||
+ id="inspector-input-control-2" | ||
inputmode="numeric" | ||
max="Infinity" | ||
min="-Infinity" | ||
step="1" | ||
type="number" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters