Skip to content

Commit 117fcba

Browse files
authored
Merge pull request #49 from Mastercard/develop
Replace dist files with latest version
2 parents f2aa3dc + f6e7d8c commit 117fcba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+7364
-703
lines changed

packages/made-css/dist/3.0.0/made-css-variables.css

Lines changed: 704 additions & 518 deletions
Large diffs are not rendered by default.

packages/made-css/dist/3.0.0/made-css-variables.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/made-css/dist/3.0.0/made.css

Lines changed: 312 additions & 133 deletions
Large diffs are not rendered by default.

packages/made-css/dist/3.0.0/made.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/made-css/dist/3.0.0/package.json

Lines changed: 0 additions & 50 deletions
This file was deleted.

packages/made-css/dist/3.0.0/src/01-settings/tokens.css

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
* {
2+
box-sizing: border-box;
3+
}
4+
5+
html,
6+
body {
7+
background-color: var(--made-color-background-default);
8+
color: var(--made-color-text-default-on-light);
9+
font-family: var(--made-font-body-family-default);
10+
-webkit-font-smoothing: antialiased;
11+
letter-spacing: var(--made-letter-spacing-default);
12+
line-height: var(--made-font-body-line-height);
13+
}
14+
15+
body {
16+
font-size: var(--made-font-body-size-default);
17+
}
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
h1,
2+
h2,
3+
h3,
4+
h4,
5+
h5,
6+
h6 {
7+
font-weight: var(--made-font-weight-default);
8+
margin: 0;
9+
}
10+
11+
h1,
12+
.made-u-h1 {
13+
font-family: var(--made-font-heading-family-level-01);
14+
font-size: var(--made-font-heading-size-level-01);
15+
font-weight: var(--made-font-heading-weight-level-01);
16+
line-height: var(--made-font-heading-line-height-level-01);
17+
margin: 0;
18+
}
19+
20+
h2,
21+
.made-u-h2 {
22+
font-family: var(--made-font-heading-family-level-02);
23+
font-size: var(--made-font-heading-size-level-02);
24+
font-weight: var(--made-font-heading-weight-level-02);
25+
line-height: var(--made-font-heading-line-height-level-02);
26+
margin: 0;
27+
}
28+
29+
h3,
30+
.made-u-h3 {
31+
font-family: var(--made-font-heading-family-level-03);
32+
font-size: var(--made-font-heading-size-level-03);
33+
font-weight: var(--made-font-heading-weight-level-03);
34+
line-height: var(--made-font-heading-line-height-level-03);
35+
margin: 0;
36+
}
37+
38+
h4,
39+
.made-u-h4 {
40+
font-family: var(--made-font-heading-family-level-04);
41+
font-size: var(--made-font-heading-size-level-04);
42+
font-weight: var(--made-font-heading-weight-level-04);
43+
line-height: var(--made-font-heading-line-height-level-04);
44+
margin: 0;
45+
}
46+
47+
h5,
48+
.made-u-h5 {
49+
font-family: var(--made-font-heading-family-level-05);
50+
font-size: var(--made-font-heading-size-level-05);
51+
font-weight: var(--made-font-heading-weight-level-05);
52+
line-height: var(--made-font-heading-line-height-level-05);
53+
margin: 0;
54+
}
55+
56+
h6,
57+
.made-u-h6 {
58+
font-family: var(--made-font-heading-family-level-06);
59+
font-size: var(--made-font-heading-size-level-06);
60+
font-weight: var(--made-font-heading-weight-level-06);
61+
line-height: var(--made-font-heading-line-height-level-06);
62+
margin: 0;
63+
}
64+
65+
p {
66+
font-family: var(--made-font-body-family-default);
67+
font-size: var(--made-font-body-size-default);
68+
margin: 0 0 var(--made-space-4-x) 0;
69+
}
70+
71+
strong {
72+
font-family: var(--made-font-body-family-bold);
73+
font-weight: var(--made-font-body-weight-default);
74+
}
75+
76+
a {
77+
color: var(--made-link-color-default);
78+
font-family: var(--made-font-body-family-bold);
79+
text-decoration: none;
80+
}
81+
82+
a:hover {
83+
text-decoration: underline;
84+
}
85+
86+
a:focus {
87+
outline: 2px solid var(--made-color-action-border-focus);
88+
outline-offset: 2px;
89+
}
90+
91+
a:disabled,
92+
.made-u-link--disabled,
93+
a[aria-disabled='true'] {
94+
color: var(--made-color-action-text-disabled);
95+
cursor: not-allowed;
96+
text-decoration: none;
97+
}
98+
99+
.made-u-link--on-dark {
100+
color: var(--made-link-color-on-dark);
101+
}
102+
103+
.made-u-link--on-dark:focus {
104+
outline: 2px solid var(--made-color-action-border-focus-on-dark);
105+
}
106+
107+
.made-u-link--disabled {
108+
color: var(--made-color-action-text-disabled);
109+
cursor: default;
110+
text-decoration: none;
111+
}
112+
113+
.made-u-link--disabled:hover {
114+
text-decoration: none;
115+
}
116+
117+
.made-u-body--small {
118+
font-size: var(--made-font-body-size-small);
119+
}
120+
121+
.made-u-body--large {
122+
font-size: var(--made-font-body-size-large);
123+
}
124+
125+
.made-u-display--01 {
126+
font-family: var(--made-font-heading-family-display-01);
127+
font-size: var(--made-font-heading-size-display-01);
128+
font-weight: var(--made-font-heading-weight-display-01);
129+
line-height: var(--made-font-heading-line-height-display-01);
130+
margin: 0;
131+
}
132+
133+
.made-u-display--02 {
134+
font-family: var(--made-font-heading-family-display-02);
135+
font-size: var(--made-font-heading-size-display-02);
136+
font-weight: var(--made-font-heading-weight-display-02);
137+
line-height: var(--made-font-heading-line-height-display-02);
138+
margin: 0;
139+
}
140+
141+
.made-u-display--03 {
142+
font-family: var(--made-font-heading-family-display-03);
143+
font-size: var(--made-font-heading-size-display-03);
144+
font-weight: var(--made-font-heading-weight-display-03);
145+
line-height: var(--made-font-heading-line-height-display-03);
146+
margin: 0;
147+
}
148+
149+
.made-u-eyebrow--01 {
150+
font-family: var(--made-font-heading-family-eyebrow-01);
151+
font-size: var(--made-font-heading-size-eyebrow-01);
152+
font-weight: var(--made-font-heading-weight-eyebrow-01);
153+
letter-spacing: var(--made-font-heading-letter-spacing-eyebrow-01);
154+
line-height: var(--made-font-heading-line-height-eyebrow-01);
155+
margin: 0;
156+
text-transform: uppercase;
157+
}
158+
159+
.made-u-eyebrow--02 {
160+
font-family: var(--made-font-heading-family-eyebrow-02);
161+
font-size: var(--made-font-heading-size-eyebrow-02);
162+
font-weight: var(--made-font-heading-weight-eyebrow-02);
163+
letter-spacing: var(--made-font-heading-letter-spacing-eyebrow-02);
164+
line-height: var(--made-font-heading-line-height-eyebrow-02);
165+
margin: 0;
166+
text-transform: uppercase;
167+
}
168+
169+
.made-u-text--on-dark {
170+
color: var(--made-color-text-default-on-dark);
171+
}
172+
173+
.made-u-helper-text {
174+
color: var(--made-color-text-helper);
175+
font-size: var(--made-font-body-size-small);
176+
}
177+
178+
.made-u-text-disabled {
179+
color: var(--made-color-action-text-disabled);
180+
}
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
.made-c-accordion {
2+
background-color: var(--made-color-background-default);
3+
border-top: 1px solid var(--made-color-border-default-on-light);
4+
margin: 0;
5+
padding: 0;
6+
}
7+
8+
.made-c-accordion__item {
9+
background-color: var(--made-color-background-default);
10+
border-bottom: 1px solid var(--made-color-border-default-on-light);
11+
list-style: none;
12+
}
13+
14+
.made-c-accordion__header {
15+
align-items: center;
16+
background-color: var(--made-color-background-default);
17+
border: 0;
18+
color: var(--made-color-text-default-on-light);
19+
cursor: pointer;
20+
display: flex;
21+
font-family: var(--made-font-body-family-default);
22+
font-size: var(--made-font-body-size-large);
23+
justify-content: space-between;
24+
line-height: var(--made-line-height-default);
25+
padding: var(--made-space-5-x) var(--made-space-4-x) var(--made-space-5-x) var(--made-space-3-x);
26+
text-align: left;
27+
width: 100%;
28+
}
29+
30+
.made-c-accordion__header:disabled,
31+
.made-c-accordion__header:disabled:hover,
32+
.made-c-accordion__header:disabled svg {
33+
background-color: var(--made-color-background-default);
34+
color: var(--made-color-action-text-disabled);
35+
}
36+
37+
.made-c-accordion__description {
38+
margin: 0;
39+
}
40+
41+
.made-c-accordion__header--active {
42+
font-family: var(--made-font-weight-bold);
43+
}
44+
45+
.made-c-accordion__header:hover {
46+
background-color: var(--made-color-action-background-hover);
47+
color: var(--made-color-action-text-on-hover);
48+
}
49+
50+
.made-c-accordion__icon {
51+
color: var(--made-color-text-default-on-light);
52+
transition: all 110ms cubic-bezier(.2, 0, .38, .9);
53+
}
54+
55+
.made-c-accordion__header--active .made-c-accordion__icon {
56+
transform: rotate(-180deg);
57+
}
58+
59+
.made-c-accordion__header:focus {
60+
background-color: var(--made-color-action-background-hover);
61+
outline: 2px solid var(--made-color-action-border-focus);
62+
outline-offset: -2px;
63+
}
64+
65+
.made-c-accordion__content {
66+
display: none;
67+
line-height: var(--made-font-body-line-height);
68+
padding: 0 var(--made-space-15-x) var(--made-space-6-x) var(--made-space-3-x);
69+
}
70+
71+
.made-c-accordion__content--active {
72+
display: flex;
73+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.made-c-action-bar {
2+
display: flex;
3+
flex-wrap: wrap;
4+
list-style: none;
5+
margin: 0;
6+
padding: 0;
7+
}
8+
9+
.made-c-action-bar__item {
10+
border-right: 1px solid var(--made-color-border-default-on-light);
11+
margin-bottom: var(--made-space-1-x);
12+
padding: 0 var(--made-space-4-x) 0 var(--made-space-4-x);
13+
position: relative;
14+
}
15+
16+
.made-c-action-bar__item:first-child {
17+
padding-left: 0;
18+
}
19+
20+
.made-c-action-bar__item:last-child {
21+
border: 0;
22+
}
23+
24+
.made-c-action-bar__icon {
25+
vertical-align: middle;
26+
}

0 commit comments

Comments
 (0)