Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Oct 21, 2022
1 parent 73143be commit 10845c9
Show file tree
Hide file tree
Showing 46 changed files with 772 additions and 772 deletions.
Expand Up @@ -92,7 +92,7 @@ exports[`generateTypes has to match SecondaryComponent snapshot 1`] = `
export type ElementSecondary = string | number | boolean;
/**
* NB: Do not change the docs (comments) in here. The docs are updated during build time by \\"generateTypes.js\\" and \\"fetchPropertiesFromDocs.js\\".
* NB: Do not change the docs (comments) in here. The docs are updated during build time by "generateTypes.js" and "fetchPropertiesFromDocs.js".
*/
export interface ElementProps extends React.HTMLProps<HTMLElement> {
/**
Expand Down
Expand Up @@ -6,7 +6,7 @@ exports[`babelPluginCorrectTypes has to match snapshot 1`] = `
*
*/
import React from 'react';
import { PropTypes } from \\"react\\";
import { PropTypes } from "react";
import SecondaryComponent, { secondaryDefaultProps, secondaryPropTypes } from './SecondaryComponent';
import ClassComponent from './ClassComponent';
export const primaryPropTypes = {
Expand Down
Expand Up @@ -6,7 +6,7 @@ exports[`babelPluginIncludeDocs has to match code snapshot 1`] = `
*
*/
import React from 'react';
import { PropTypes } from \\"react\\";
import { PropTypes } from "react";
import SecondaryComponent, { secondaryDefaultProps, secondaryPropTypes } from './SecondaryComponent';
import ClassComponent from './ClassComponent';
export const primaryPropTypes = {
Expand Down Expand Up @@ -158,7 +158,7 @@ exports[`babelPluginIncludeDocs has to match code snapshot in strict mode 1`] =
*
*/
import React from 'react';
import { PropTypes } from \\"react\\";
import { PropTypes } from "react";
import SecondaryComponent, { secondaryDefaultProps, secondaryPropTypes } from './SecondaryComponent';
import ClassComponent from './ClassComponent';
export const primaryPropTypes = {
Expand Down Expand Up @@ -310,7 +310,7 @@ exports[`babelPluginIncludeDocs has to match collectProps snapshot given by onCo
*
*/
import React from 'react';
import { PropTypes } from \\"react\\";
import { PropTypes } from "react";
import SecondaryComponent, { secondaryDefaultProps, secondaryPropTypes } from './SecondaryComponent';
import ClassComponent from './ClassComponent';
export const primaryPropTypes = {
Expand Down Expand Up @@ -457,7 +457,7 @@ Element.defaultProps = {
`;

exports[`babelPluginIncludeDocs has to match collectProps snapshot given by onComplete 2`] = `
Array [
[
"boolean",
"number",
"spacing",
Expand Down Expand Up @@ -485,8 +485,8 @@ Array [
`;

exports[`babelPluginIncludeDocs has to match docs snapshot 1`] = `
Array [
Object {
[
{
"bottom": "Text \`margin-bottom\`.",
"children": "Text \`spacing\` or \`children\`.",
"left": "Text \`margin-left\`.",
Expand Down
Expand Up @@ -148,7 +148,7 @@ exports[`Accordion component have to match snapshot 1`] = `
animate={false}
className="dnb-accordion__content"
innerRef={
Object {
{
"current": null,
}
}
Expand Down Expand Up @@ -194,8 +194,8 @@ exports[`Accordion scss have to match default theme snapshot 1`] = `
background-color: var(--color-white);
--border-color: var(--color-black-8);
box-shadow: inset 0 0 0 0.0625rem var(--border-color);
/* iOS fix - because \\"inset\\" works not fine with border-radius */
/* Safari fix - because \\"inset\\" works not fine with border-radius if the user zooms the page */
/* iOS fix - because "inset" works not fine with border-radius */
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
border-color: transparent; }
@supports (-webkit-touch-callout: none) {
.dnb-accordion__variant--outlined > .dnb-accordion__header {
Expand All @@ -221,8 +221,8 @@ exports[`Accordion scss have to match default theme snapshot 1`] = `
html:not([data-whatintent='touch']) .dnb-accordion__variant--outlined > .dnb-accordion__header:focus:not([disabled]) {
--border-color: var(--color-emerald-green);
box-shadow: inset 0 0 0 0.125rem var(--border-color);
/* iOS fix - because \\"inset\\" works not fine with border-radius */
/* Safari fix - because \\"inset\\" works not fine with border-radius if the user zooms the page */
/* iOS fix - because "inset" works not fine with border-radius */
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
border-color: transparent; }
@supports (-webkit-touch-callout: none) {
html[data-whatinput='keyboard'] .dnb-accordion__variant--outlined > .dnb-accordion__header:focus:not([disabled]), html[data-whatinput='keyboard']
Expand Down Expand Up @@ -304,8 +304,8 @@ html[data-whatinput='keyboard']
html[data-whatinput='keyboard'] .dnb-accordion__variant--outlined.dnb-accordion--expanded > .dnb-accordion__header:not([disabled]):not(:active):not(:hover):focus {
--border-color: var(--color-emerald-green);
box-shadow: inset 0 0 0 0.125rem var(--border-color);
/* iOS fix - because \\"inset\\" works not fine with border-radius */
/* Safari fix - because \\"inset\\" works not fine with border-radius if the user zooms the page */
/* iOS fix - because "inset" works not fine with border-radius */
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
border-color: transparent; }
@supports (-webkit-touch-callout: none) {
html[data-whatinput='keyboard'] .dnb-accordion__variant--outlined.dnb-accordion--expanded > .dnb-accordion__header:not([disabled]):not(:active):not(:hover):focus {
Expand Down
Expand Up @@ -7,14 +7,14 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
aria_live_options="aria_live_options"
class="class"
className="className"
custom_element={Object {}}
custom_element={{}}
custom_method={[Function]}
data={
Array [
[
"AA c",
"BB cc zethx",
Object {
"content": Array [
{
"content": [
"CC",
"cc",
],
Expand Down Expand Up @@ -62,7 +62,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
on_type={[Function]}
open_on_focus="open_on_focus"
opened={true}
options_render={Object {}}
options_render={{}}
page_offset="page_offset"
placeholder="placeholder"
portal_class="portal_class"
Expand Down Expand Up @@ -101,14 +101,14 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
cache_hash={null}
class="class"
className="className"
custom_element={Object {}}
custom_element={{}}
custom_method={[Function]}
data={
Array [
[
"AA c",
"BB cc zethx",
Object {
"content": Array [
{
"content": [
"CC",
"cc",
],
Expand Down Expand Up @@ -165,7 +165,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
on_type={[Function]}
open_on_focus="open_on_focus"
opened={null}
options_render={Object {}}
options_render={{}}
page_offset="page_offset"
placeholder="placeholder"
portal_class="portal_class"
Expand Down Expand Up @@ -209,14 +209,14 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
aria_live_options="aria_live_options"
class="class"
className="className"
custom_element={Object {}}
custom_element={{}}
custom_method={[Function]}
data={
Array [
[
"AA c",
"BB cc zethx",
Object {
"content": Array [
{
"content": [
"CC",
"cc",
],
Expand Down Expand Up @@ -264,7 +264,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
on_type={[Function]}
open_on_focus="open_on_focus"
opened={true}
options_render={Object {}}
options_render={{}}
page_offset="page_offset"
placeholder="placeholder"
portal_class="portal_class"
Expand Down Expand Up @@ -814,7 +814,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
<Tooltip
id="autocomplete-id-submit-button-tooltip"
targetElement={
Object {
{
"current": <button
aria-describedby="autocomplete-id-submit-button-tooltip"
aria-expanded="true"
Expand All @@ -841,7 +841,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
animatePosition={false}
arrow="center"
attributes={
Object {
{
"children": "submit_button_title",
"className": "dnb-tooltip",
}
Expand Down Expand Up @@ -876,7 +876,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
</button>
}
targetElement={
Object {
{
"current": <button
aria-describedby="autocomplete-id-submit-button-tooltip"
aria-expanded="true"
Expand Down Expand Up @@ -904,7 +904,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
animatePosition={false}
arrow="center"
attributes={
Object {
{
"children": "submit_button_title",
"className": "dnb-tooltip",
}
Expand Down Expand Up @@ -989,7 +989,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
animatePosition={false}
arrow="center"
attributes={
Object {
{
"children": "submit_button_title",
"className": "dnb-tooltip",
}
Expand Down Expand Up @@ -1054,7 +1054,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
onMouseMove={[Function]}
onTouchStart={[Function]}
role="tooltip"
style={Object {}}
style={{}}
>
<span
className="dnb-tooltip__arrow dnb-tooltip__arrow__arrow--center dnb-tooltip__arrow__position--top"
Expand Down Expand Up @@ -1114,7 +1114,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
on_show={null}
on_state_update={null}
opened={null}
options_render={Object {}}
options_render={{}}
portal_class="portal_class"
prepared_data={null}
prevent_close="prevent_close"
Expand Down Expand Up @@ -1165,7 +1165,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
on_show={null}
on_state_update={null}
opened={null}
options_render={Object {}}
options_render={{}}
portal_class="portal_class"
prepared_data={null}
prevent_close="prevent_close"
Expand Down Expand Up @@ -1206,13 +1206,13 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
role="listbox"
showFocusRing={false}
style={
Object {
{
"maxHeight": "1rem",
}
}
tabIndex="-1"
triangleRef={
Object {
{
"current": <li
aria-hidden="true"
class="dnb-drawer-list__triangle"
Expand All @@ -1228,7 +1228,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
id="autocomplete-id-ul"
role="listbox"
style={
Object {
{
"maxHeight": "1rem",
}
}
Expand Down Expand Up @@ -1386,20 +1386,20 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
<Suffix
className="dnb-autocomplete__suffix"
context={
Object {
{
"align_autocomplete": null,
"ariaLiveDelay": 1,
"aria_live_options": "aria_live_options",
"children": "children",
"class": "class",
"className": "className",
"custom_element": Object {},
"custom_element": {},
"custom_method": [Function],
"data": Array [
"data": [
"AA c",
"BB cc zethx",
Object {
"content": Array [
{
"content": [
"CC",
"cc",
],
Expand Down Expand Up @@ -1446,7 +1446,7 @@ exports[`Autocomplete markup have to match snapshot 1`] = `
"on_type": [Function],
"open_on_focus": "open_on_focus",
"opened": true,
"options_render": Object {},
"options_render": {},
"page_offset": "page_offset",
"placeholder": "placeholder",
"portal_class": "portal_class",
Expand Down Expand Up @@ -1731,7 +1731,7 @@ exports[`Autocomplete scss have to match snapshot 1`] = `
.dnb-tooltip--active {
visibility: visible;
/*
because of the first \\"show\\" we also use animation
because of the first "show" we also use animation
also, use forwards because of the usage of visibility
*/
animation: show-tooltip 200ms var(--easing-default) forwards; }
Expand Down Expand Up @@ -3146,8 +3146,8 @@ legend.dnb-form-label {
.dnb-autocomplete .dnb-input__submit-button__button[disabled]:not(.dnb-button--has-text) {
--border-color: var(--color-black-55);
box-shadow: inset 0 0 0 var(--input-border-width) var(--border-color);
/* iOS fix - because \\"inset\\" works not fine with border-radius */
/* Safari fix - because \\"inset\\" works not fine with border-radius if the user zooms the page */
/* iOS fix - because "inset" works not fine with border-radius */
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
border-color: transparent; }
@supports (-webkit-touch-callout: none) {
.dnb-autocomplete .dnb-input__submit-button__button[disabled]:not(.dnb-button--has-text) {
Expand Down
Expand Up @@ -161,7 +161,7 @@ exports[`Breadcrumb scss have to match snapshot 1`] = `
.dnb-tooltip--active {
visibility: visible;
/*
because of the first \\"show\\" we also use animation
because of the first "show" we also use animation
also, use forwards because of the usage of visibility
*/
animation: show-tooltip 200ms var(--easing-default) forwards; }
Expand Down

0 comments on commit 10845c9

Please sign in to comment.