@amsterdam/design-system-css 3.2.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -2
- package/README.md +10 -6
- package/dist/accordion/accordion.css +1 -1
- package/dist/accordion/accordion.css.map +1 -1
- package/dist/alert/alert.css +1 -1
- package/dist/alert/alert.css.map +1 -1
- package/dist/avatar/avatar.css +1 -1
- package/dist/avatar/avatar.css.map +1 -1
- package/dist/badge/badge.css +1 -1
- package/dist/badge/badge.css.map +1 -1
- package/dist/body/body.css +1 -0
- package/dist/body/body.css.map +1 -0
- package/dist/breakout/breakout.css +1 -1
- package/dist/breakout/breakout.css.map +1 -1
- package/dist/button/button.css +1 -1
- package/dist/button/button.css.map +1 -1
- package/dist/call-to-action-link/call-to-action-link.css +1 -1
- package/dist/call-to-action-link/call-to-action-link.css.map +1 -1
- package/dist/checkbox/checkbox.css +1 -1
- package/dist/checkbox/checkbox.css.map +1 -1
- package/dist/description-list/description-list.css +1 -1
- package/dist/description-list/description-list.css.map +1 -1
- package/dist/dialog/dialog.css +1 -1
- package/dist/dialog/dialog.css.map +1 -1
- package/dist/field-set/field-set.css.map +1 -1
- package/dist/grid/grid.css +1 -1
- package/dist/grid/grid.css.map +1 -1
- package/dist/heading/heading.css +1 -1
- package/dist/heading/heading.css.map +1 -1
- package/dist/icon/icon.css +1 -1
- package/dist/icon/icon.css.map +1 -1
- package/dist/image-slider/image-slider.css +1 -1
- package/dist/image-slider/image-slider.css.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/label/label.css.map +1 -1
- package/dist/menu/menu.css +1 -1
- package/dist/menu/menu.css.map +1 -1
- package/dist/page-footer/page-footer.css +1 -1
- package/dist/page-footer/page-footer.css.map +1 -1
- package/dist/page-header/page-header.css +1 -1
- package/dist/page-header/page-header.css.map +1 -1
- package/dist/pagination/pagination.css +1 -1
- package/dist/pagination/pagination.css.map +1 -1
- package/dist/paragraph/paragraph.css.map +1 -1
- package/dist/progress-list/progress-list.css +1 -1
- package/dist/progress-list/progress-list.css.map +1 -1
- package/dist/prose/prose.css +1 -0
- package/dist/prose/prose.css.map +1 -0
- package/dist/radio/radio.css +1 -1
- package/dist/radio/radio.css.map +1 -1
- package/dist/search-field/search-field.css +1 -1
- package/dist/search-field/search-field.css.map +1 -1
- package/dist/spotlight/spotlight.css +1 -1
- package/dist/spotlight/spotlight.css.map +1 -1
- package/dist/switch/switch.css +1 -1
- package/dist/switch/switch.css.map +1 -1
- package/dist/tab-navigation/tab-navigation.css +1 -0
- package/dist/tab-navigation/tab-navigation.css.map +1 -0
- package/dist/table/table.css +1 -1
- package/dist/table/table.css.map +1 -1
- package/package.json +4 -4
- package/src/common/hide-input.scss +1 -0
- package/src/common/print-exact.scss +16 -0
- package/src/components/accordion/accordion.scss +1 -5
- package/src/components/alert/alert.scss +4 -0
- package/src/components/aspect-ratio/README.md +8 -10
- package/src/components/avatar/avatar.scss +4 -0
- package/src/components/badge/badge.scss +2 -0
- package/src/components/body/README.md +15 -0
- package/src/components/{document/document.scss → body/body.scss} +2 -1
- package/src/components/breadcrumb/README.md +6 -7
- package/src/components/breakout/breakout.scss +20 -8
- package/src/components/button/button.scss +2 -0
- package/src/components/call-to-action-link/call-to-action-link.scss +2 -0
- package/src/components/description-list/description-list.scss +44 -9
- package/src/components/dialog/dialog.scss +32 -11
- package/src/components/field-set/field-set.scss +1 -5
- package/src/components/gap/README.md +4 -3
- package/src/components/grid/README.md +4 -0
- package/src/components/grid/_mixins.scss +49 -11
- package/src/components/grid/grid.scss +49 -3
- package/src/components/heading/heading.scss +1 -10
- package/src/components/icon/icon.scss +0 -7
- package/src/components/image-slider/image-slider.scss +1 -1
- package/src/components/index.scss +3 -3
- package/src/components/label/label.scss +1 -5
- package/src/components/logo/README.md +2 -1
- package/src/components/margin/README.md +3 -1
- package/src/components/menu/menu.scss +32 -29
- package/src/components/page-footer/page-footer.scss +16 -4
- package/src/components/page-header/README.md +8 -24
- package/src/components/page-header/page-header.scss +37 -23
- package/src/components/pagination/pagination.scss +4 -0
- package/src/components/paragraph/paragraph.scss +1 -5
- package/src/components/progress-list/README.md +2 -1
- package/src/components/progress-list/progress-list.scss +90 -10
- package/src/components/prose/README.md +15 -0
- package/src/components/prose/prose.scss +104 -0
- package/src/components/search-field/search-field.scss +2 -0
- package/src/components/spotlight/spotlight.scss +4 -0
- package/src/components/standalone-link/standalone-link.scss +0 -5
- package/src/components/tab-navigation/README.md +13 -0
- package/src/components/tab-navigation/tab-navigation.scss +101 -0
- package/src/components/table/README.md +4 -5
- package/src/components/table/table.scss +1 -0
- package/src/components/tabs/README.md +9 -27
- package/dist/document/document.css +0 -1
- package/dist/document/document.css.map +0 -1
- package/dist/icon/icon.deprecated.css +0 -1
- package/dist/icon/icon.deprecated.css.map +0 -1
- package/dist/page-heading/page-heading.deprecated.css +0 -1
- package/dist/page-heading/page-heading.deprecated.css.map +0 -1
- package/src/components/icon/icon.deprecated.scss +0 -12
- package/src/components/page-heading/README.md +0 -3
- package/src/components/page-heading/page-heading.deprecated.scss +0 -32
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
$_ams-body-block: ".ams-blockquote, .ams-image, .ams-paragraph--large, .ams-table";
|
|
7
|
+
$_ams-button-or-cta: ".ams-button, .ams-call-to-action-link";
|
|
8
|
+
$_ams-list-or-paragraph: ".ams-description-list, .ams-link-list, .ams-ordered-list, .ams-paragraph:not(.ams-paragraph--large), .ams-unordered-list";
|
|
9
|
+
$_ams-paragraph: ".ams-paragraph:not(.ams-paragraph--large)";
|
|
10
|
+
|
|
11
|
+
.ams-prose {
|
|
12
|
+
/* Fallback for older browsers: uniform spacing */
|
|
13
|
+
> .ams-heading {
|
|
14
|
+
margin-block-end: var(--ams-space-s);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
> :not(.ams-heading) {
|
|
18
|
+
margin-block-end: var(--ams-space-m);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> :last-child {
|
|
22
|
+
margin-block-end: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Context-aware spacing for browsers with :has() support */
|
|
26
|
+
/* stylelint-disable-next-line scss/operator-no-unspaced -- Prettier removes the space after ‘*’, which is valid CSS. */
|
|
27
|
+
@supports selector(:has(+ *)) {
|
|
28
|
+
/* Reset fallback margins */
|
|
29
|
+
> * {
|
|
30
|
+
margin-block-end: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Body-to-body default */
|
|
34
|
+
> :not(.ams-heading):has(+ :not(.ams-heading)) {
|
|
35
|
+
margin-block-end: var(--ams-space-m);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Heavy body element (Blockquote, Image, Paragraph (large), Table) on either side */
|
|
39
|
+
> :is(#{$_ams-body-block}):has(+ :not(.ams-heading)),
|
|
40
|
+
> :not(.ams-heading):has(+ :is(#{$_ams-body-block})) {
|
|
41
|
+
margin-block-end: var(--ams-space-l);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Button or CTA Link followed by Button or CTA Link */
|
|
45
|
+
> :is(#{$_ams-button-or-cta}):has(+ :is(#{$_ams-button-or-cta})) {
|
|
46
|
+
margin-block-end: var(--ams-space-l);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Paragraph (large) before Blockquote or Image needs extra air */
|
|
50
|
+
> .ams-paragraph--large:has(+ :is(.ams-blockquote, .ams-image)) {
|
|
51
|
+
margin-block-end: var(--ams-space-xl);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Body content before an accordion needs a slightly larger gap */
|
|
55
|
+
> :not(.ams-heading):has(+ .ams-accordion) {
|
|
56
|
+
margin-block-end: var(--ams-space-l);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Body before a level 4 heading: default */
|
|
60
|
+
> :not(.ams-heading):has(+ :is(.ams-heading--4)) {
|
|
61
|
+
margin-block-end: var(--ams-space-l);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* List or regular Paragraph before a level 4 heading: tighter */
|
|
65
|
+
> :is(#{$_ams-list-or-paragraph}):has(+ :is(.ams-heading--4)) {
|
|
66
|
+
margin-block-end: var(--ams-space-m);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Any element before a level 3 heading (subsection boundary) */
|
|
70
|
+
> *:has(+ .ams-heading--3) {
|
|
71
|
+
margin-block-end: var(--ams-space-l);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Any element before a level 2 heading (section boundary) */
|
|
75
|
+
> *:has(+ .ams-heading--2) {
|
|
76
|
+
margin-block-end: var(--ams-space-xl);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Heading level 3 followed by its content */
|
|
80
|
+
> .ams-heading--3:has(+ :not(.ams-heading)) {
|
|
81
|
+
margin-block-end: var(--ams-space-xs);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Heading level 2 followed by its content */
|
|
85
|
+
> .ams-heading--2:has(+ :not(.ams-heading)) {
|
|
86
|
+
margin-block-end: var(--ams-space-s);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Heading level 1 followed by a regular Paragraph */
|
|
90
|
+
> .ams-heading--1:has(+ #{$_ams-paragraph}) {
|
|
91
|
+
margin-block-end: var(--ams-space-xs);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Heading level 1 followed by a Paragraph (large), typically lead or metadata */
|
|
95
|
+
> .ams-heading--1:has(+ .ams-paragraph--large) {
|
|
96
|
+
margin-block-end: var(--ams-space-m);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Heading level 2 or 3 followed by another heading */
|
|
100
|
+
> :is(.ams-heading--2, .ams-heading--3):has(+ .ams-heading) {
|
|
101
|
+
margin-block-end: var(--ams-space-m);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright Gemeente Amsterdam
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
@use "../../common/print-exact" as *;
|
|
6
7
|
@use "../../common/resets" as *;
|
|
7
8
|
@use "../../common/text-rendering" as *;
|
|
8
9
|
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
padding-inline: var(--ams-search-field-input-padding-inline);
|
|
31
32
|
touch-action: manipulation;
|
|
32
33
|
|
|
34
|
+
@include print-exact;
|
|
33
35
|
@include text-rendering;
|
|
34
36
|
|
|
35
37
|
&:focus {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- @license CC0-1.0 -->
|
|
2
|
+
|
|
3
|
+
# Tab Navigation
|
|
4
|
+
|
|
5
|
+
A horizontal or vertical list of links, styled as tabs, to navigate between a set of related pages.
|
|
6
|
+
|
|
7
|
+
## Guidelines
|
|
8
|
+
|
|
9
|
+
- Use Tab Navigation for navigating between pages that each have their own main content.
|
|
10
|
+
Thanks to using links, every tab’s content has its own url that the user can open in a new window, share, or bookmark.
|
|
11
|
+
- Use [Tabs](https://designsystem.amsterdam/?path=/docs/components-containers-tabs--docs) instead to switch between small pieces of secondary content without navigating away.
|
|
12
|
+
- Use the vertical orientation to stack links below each other, e.g. in a sidebar.
|
|
13
|
+
- Add `aria-current="page"` to the link pointing to the current page.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license EUPL-1.2+
|
|
3
|
+
* Copyright Gemeente Amsterdam
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
@use "../../common/breakpoint" as *;
|
|
7
|
+
@use "../../common/hyphenation" as *;
|
|
8
|
+
@use "../../common/resets" as *;
|
|
9
|
+
|
|
10
|
+
.ams-tab-navigation__list {
|
|
11
|
+
@include reset-ul;
|
|
12
|
+
|
|
13
|
+
box-shadow: var(--ams-tab-navigation-list-box-shadow);
|
|
14
|
+
display: flex;
|
|
15
|
+
overflow-x: auto;
|
|
16
|
+
overscroll-behavior-x: contain;
|
|
17
|
+
scroll-snap-type: x mandatory;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (min-width: $ams-breakpoint-medium) {
|
|
21
|
+
.ams-tab-navigation--vertical {
|
|
22
|
+
@include hyphenation;
|
|
23
|
+
|
|
24
|
+
.ams-tab-navigation__list {
|
|
25
|
+
box-shadow: var(--ams-tab-navigation-list-vertical-box-shadow);
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
overflow-x: visible;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ams-tab-navigation__item {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
scroll-snap-align: start;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ams-tab-navigation__link {
|
|
38
|
+
align-items: center;
|
|
39
|
+
color: var(--ams-tab-navigation-link-color);
|
|
40
|
+
cursor: var(--ams-tab-navigation-link-cursor);
|
|
41
|
+
display: flex;
|
|
42
|
+
font-family: var(--ams-tab-navigation-link-font-family);
|
|
43
|
+
font-size: var(--ams-tab-navigation-link-font-size);
|
|
44
|
+
font-weight: var(--ams-tab-navigation-link-font-weight);
|
|
45
|
+
gap: var(--ams-tab-navigation-link-gap);
|
|
46
|
+
line-height: var(--ams-tab-navigation-link-line-height);
|
|
47
|
+
outline-offset: var(--ams-tab-navigation-link-outline-offset);
|
|
48
|
+
padding-block: var(--ams-tab-navigation-link-padding-block);
|
|
49
|
+
padding-inline: var(--ams-tab-navigation-link-padding-inline);
|
|
50
|
+
text-decoration-line: none;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
color: var(--ams-tab-navigation-link-hover-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:hover:not([aria-current="page"]) {
|
|
57
|
+
box-shadow: var(--ams-tab-navigation-link-hover-box-shadow);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[aria-current="page"] {
|
|
61
|
+
box-shadow: var(--ams-tab-navigation-link-current-box-shadow);
|
|
62
|
+
font-weight: var(--ams-tab-navigation-link-current-font-weight);
|
|
63
|
+
|
|
64
|
+
@media (forced-colors: active) {
|
|
65
|
+
background-color: SelectedItem;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (min-width: $ams-breakpoint-medium) {
|
|
70
|
+
.ams-tab-navigation--vertical &:hover:not([aria-current="page"]) {
|
|
71
|
+
box-shadow: var(--ams-tab-navigation-link-vertical-hover-box-shadow);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.ams-tab-navigation--vertical &[aria-current="page"] {
|
|
75
|
+
box-shadow: var(--ams-tab-navigation-link-vertical-current-box-shadow);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ams-tab-navigation__link-label-wrapper {
|
|
81
|
+
display: grid;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ams-tab-navigation__link-label,
|
|
85
|
+
.ams-tab-navigation__link-label-hidden {
|
|
86
|
+
display: initial;
|
|
87
|
+
grid-area: 1 / 1;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// This hidden label is used to prevent a layout shift when the link is current
|
|
91
|
+
// and the link text becomes bold.
|
|
92
|
+
.ams-tab-navigation__link-label-hidden {
|
|
93
|
+
font-weight: var(--ams-tab-navigation-link-current-font-weight);
|
|
94
|
+
pointer-events: none;
|
|
95
|
+
-webkit-user-select: none;
|
|
96
|
+
|
|
97
|
+
/* Safari support is added with the prefixed property. */
|
|
98
|
+
/* stylelint-disable-next-line plugin/use-baseline */
|
|
99
|
+
user-select: none;
|
|
100
|
+
visibility: hidden;
|
|
101
|
+
}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# Table
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
Table is used to display simple information that does not need to be filtered or edited.
|
|
5
|
+
Structures data in rows and columns to help users work with large amounts of information.
|
|
7
6
|
|
|
8
7
|
## Guidelines
|
|
9
8
|
|
|
10
|
-
- Add a caption
|
|
11
|
-
-
|
|
12
|
-
|
|
9
|
+
- Add a caption so users can find and understand the table without reading its data.
|
|
10
|
+
- Use a [Heading](https://designsystem.amsterdam/?path=/docs/components-text-heading--docs) in the caption, at the level that fits the document outline.
|
|
11
|
+
It becomes the table’s accessible name, announced by screen readers on every encounter.
|
|
@@ -2,33 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
# Tabs
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Discloses related pieces of content in a secondary area on the page.
|
|
6
6
|
|
|
7
7
|
## Guidelines
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
| key | element |
|
|
18
|
-
| :------------- | :--------------------------------------------- |
|
|
19
|
-
| Enter or Space | Open or close the tab that has the focus |
|
|
20
|
-
| Tab | Go to the next element that can have focus |
|
|
21
|
-
| Shift + Tab | Go to the next element that can have focus |
|
|
22
|
-
| Left arrow | If the tabs have focus: go to the previous tab |
|
|
23
|
-
| Right arrow | If the tabs have focus: go to the next tab |
|
|
24
|
-
| Home | If the tabs have focus: go to the first tab |
|
|
25
|
-
| End | If the tabs have focus, go to the last tab |
|
|
26
|
-
|
|
27
|
-
### Caution
|
|
28
|
-
|
|
29
|
-
Do not use tabs if the content in each tab functions just as well on separate pages.
|
|
30
|
-
|
|
31
|
-
## References
|
|
32
|
-
|
|
33
|
-
- [W3C - Tabs Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/)
|
|
34
|
-
- [MDN - Tab Aria Roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tab_role)
|
|
9
|
+
- Use Tabs to let related content fragments share a space on the current page.
|
|
10
|
+
Each tab has a button that shows its content in a panel.
|
|
11
|
+
- Do not make it toggle between large amounts of primary content.
|
|
12
|
+
That would come down to navigating between pages.
|
|
13
|
+
In this context, use [Tab Navigation](/docs/components-navigation-tab-navigation--docs) to offer the user the benefits of links.
|
|
14
|
+
- The content of each tab must be usable independent of the others.
|
|
15
|
+
- Create a panel for each button.
|
|
16
|
+
Add an `aria-controls` attribute to each button and match its value to the `id` of the associated panel.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ams-body{margin-block:0;margin-inline:0}/*# sourceMappingURL=document.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/components/document/document.scss","../../src/common/resets.scss"],"names":[],"mappings":"AAQA,UCFE,eACA","file":"document.css"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ams-icon--heading-0{--ams-line-height: var(--ams-icon-heading-0-line-height);font-size:var(--ams-icon-heading-0-font-size);line-height:var(--ams-icon-heading-0-line-height)}/*# sourceMappingURL=icon.deprecated.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/components/icon/icon.deprecated.scss"],"names":[],"mappings":"AAMA,qBACE,yDAEA,8CACA","file":"icon.deprecated.css"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ams-page-heading{margin-block:0;box-sizing:border-box;break-after:avoid;break-inside:avoid;color:var(--ams-page-heading-color);font-family:var(--ams-page-heading-font-family);font-size:var(--ams-page-heading-font-size);font-weight:var(--ams-page-heading-font-weight);line-height:var(--ams-page-heading-line-height);text-wrap:var(--ams-page-heading-text-wrap);hyphenate-limit-chars:var(--ams-typography-hyphenate-limit-chars);hyphens:auto;overflow-wrap:break-word;text-rendering:optimizeLegibility;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}.ams-page-heading--inverse{color:var(--ams-page-heading-inverse-color)}/*# sourceMappingURL=page-heading.deprecated.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/components/page-heading/page-heading.deprecated.scss","../../src/common/resets.scss","../../src/common/hyphenation.scss","../../src/common/text-rendering.scss"],"names":[],"mappings":"AAUA,kBC0CE,eDvCA,sBAEA,kBACA,mBACA,oCACA,gDACA,4CACA,gDACA,gDAEA,4CEfA,kEAEA,aACA,yBCDA,kCACA,2BACA,8BAIA,sBHaF,2BACE","file":"page-heading.deprecated.css"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// Deprecated. Use ‘heading 1’ instead.
|
|
7
|
-
.ams-icon--heading-0 {
|
|
8
|
-
--ams-line-height: var(--ams-icon-heading-0-line-height);
|
|
9
|
-
|
|
10
|
-
font-size: var(--ams-icon-heading-0-font-size);
|
|
11
|
-
line-height: var(--ams-icon-heading-0-line-height);
|
|
12
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license EUPL-1.2+
|
|
3
|
-
* Copyright Gemeente Amsterdam
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
@use "../../common/hyphenation" as *;
|
|
7
|
-
@use "../../common/resets" as *;
|
|
8
|
-
@use "../../common/text-rendering" as *;
|
|
9
|
-
|
|
10
|
-
/* @deprecated We no longer use this size of headings. Use `.ams-heading.ams-heading--1` instead. */
|
|
11
|
-
.ams-page-heading {
|
|
12
|
-
@include reset-hx;
|
|
13
|
-
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
/* stylelint-disable-next-line plugin/use-baseline */
|
|
16
|
-
break-after: avoid;
|
|
17
|
-
break-inside: avoid;
|
|
18
|
-
color: var(--ams-page-heading-color);
|
|
19
|
-
font-family: var(--ams-page-heading-font-family);
|
|
20
|
-
font-size: var(--ams-page-heading-font-size);
|
|
21
|
-
font-weight: var(--ams-page-heading-font-weight);
|
|
22
|
-
line-height: var(--ams-page-heading-line-height);
|
|
23
|
-
/* stylelint-disable-next-line plugin/use-baseline */
|
|
24
|
-
text-wrap: var(--ams-page-heading-text-wrap);
|
|
25
|
-
|
|
26
|
-
@include hyphenation;
|
|
27
|
-
@include text-rendering;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ams-page-heading--inverse {
|
|
31
|
-
color: var(--ams-page-heading-inverse-color);
|
|
32
|
-
}
|