Skip to content

Commit

Permalink
update all components to brand-context -v 31.0.1 (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreilys authored Jan 30, 2023
1 parent 75b3bbc commit eb3aa44
Show file tree
Hide file tree
Showing 122 changed files with 4,986 additions and 7,847 deletions.
3 changes: 3 additions & 0 deletions toolkits/global/packages/global-ad/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# History

## 4.0.0 (2023-01-18)
* BREAKING: Upgrade to brand-context v31.0.1

## 3.1.0 (2022-07-28)
* Upgrade to brand-context v25.0.0

Expand Down
144 changes: 84 additions & 60 deletions toolkits/global/packages/global-ad/demo/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
Expand Down Expand Up @@ -58,23 +56,18 @@
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}

/* Text-level semantics
Expand All @@ -91,12 +84,9 @@
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}

/**
Expand All @@ -114,10 +104,8 @@
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}

/**
Expand Down Expand Up @@ -167,23 +155,18 @@
optgroup,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
input { /* 1 */
overflow: visible;
}

Expand All @@ -192,8 +175,7 @@
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
select { /* 1 */
text-transform: none;
}

Expand Down Expand Up @@ -242,18 +224,12 @@
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}

/**
Expand All @@ -276,10 +252,8 @@
*/
[type=checkbox],
[type=radio] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}

/**
Expand All @@ -295,10 +269,8 @@
* 2. Correct the outline style in Safari.
*/
[type=search] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}

/**
Expand All @@ -313,10 +285,8 @@
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}

/* Interactive
Expand Down Expand Up @@ -351,6 +321,21 @@
display: none;
}

body {
line-height: 1.5;
}

button {
cursor: pointer;
}

img {
border: 0;
max-width: 100%;
height: auto;
vertical-align: middle;
}

/**
* Enhanced
* Bootstrap the rest of the styles on cut the mustard
Expand Down Expand Up @@ -522,6 +507,45 @@
font-size: 1.125rem;
}

* {
margin-block: 0;
}

h1, h2, h3, h4, h5 {
margin: 0;
}

:is(p, ol, ul, dl, figure, blockquote, form, pre, table, img, video, aside, section, article) + :is(p, ol, ul, dl, figure, blockquote, form, pre, table, img, video, aside, section, article) {
margin-block-start: 1rem;
}

:is(p, ol, ul, dl, figure, blockquote, pre, table, img, video) + div,
div + :is(p, ol, ul, dl, figure, blockquote, pre, table, img, video) {
margin-block-start: 1rem;
}

* + :is(h2, h3, h4, h5) {
margin-block-start: 2rem;
}

:is(h3, h4, h5) + * {
margin-block-start: 0.5rem;
}

h2 + * {
margin-block-start: 1rem;
}

h1 + * {
margin-block-start: 3rem;
}

[hidden]:first-child + *,
[style*="display:none"]:first-child + *,
[style*="display: none"]:first-child + * {
margin-block-start: 0;
}

/**
* Typography
* Font settings
Expand Down
4 changes: 2 additions & 2 deletions toolkits/global/packages/global-ad/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@springernature/global-ad",
"version": "3.1.0",
"version": "4.0.0",
"license": "MIT",
"description": "adverts",
"keywords": [],
"author": "Springer Nature",
"brandContext": "^25.0.0"
"brandContext": "^31.0.1"
}
3 changes: 3 additions & 0 deletions toolkits/global/packages/global-author-list/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# History

## 7.0.0 (2023-01-18)
* BREAKING: Upgrade to brand-context v31.0.1

## 6.1.0 (2022-07-28)
* Upgrade to brand-context v25.0.0

Expand Down
Loading

0 comments on commit eb3aa44

Please sign in to comment.