@rijkshuisstijl-community/components-css 1.0.0-alpha.26 → 1.0.0-alpha.6

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.
Files changed (49) hide show
  1. package/button/README.md +3 -0
  2. package/button/index.scss +10 -12
  3. package/package.json +11 -7
  4. package/accordion/index.scss +0 -68
  5. package/action-group/index.scss +0 -11
  6. package/alert/index.scss +0 -27
  7. package/article/index.scss +0 -1
  8. package/blockquote/_mixin.scss +0 -85
  9. package/blockquote/index.scss +0 -34
  10. package/breadcrumb-nav/index.scss +0 -25
  11. package/button/_mixin.scss +0 -36
  12. package/checkbox/_mixin.scss +0 -103
  13. package/checkbox/index.scss +0 -34
  14. package/dot-badge/_mixin.scss +0 -12
  15. package/dot-badge/index.scss +0 -9
  16. package/fieldset/index.scss +0 -11
  17. package/figure/index.scss +0 -18
  18. package/footer/index.scss +0 -37
  19. package/form/index.scss +0 -3
  20. package/form-field/index.scss +0 -13
  21. package/form-field-error-message/index.scss +0 -15
  22. package/form-field-radio-option/index.scss +0 -13
  23. package/hero/_mixin.scss +0 -93
  24. package/hero/index.scss +0 -73
  25. package/index.scss +0 -40
  26. package/link/_mixin.scss +0 -34
  27. package/link/index.scss +0 -41
  28. package/link-list/index.scss +0 -9
  29. package/link-list-card/index.scss +0 -10
  30. package/logo/_mixin.scss +0 -53
  31. package/logo/index.scss +0 -26
  32. package/navbar/index.scss +0 -55
  33. package/navigation-list/_mixin.scss +0 -88
  34. package/navigation-list/index.scss +0 -43
  35. package/ordered-list/index.scss +0 -18
  36. package/radio/index.scss +0 -27
  37. package/radio-group/_mixin.scss +0 -12
  38. package/radio-group/index.scss +0 -10
  39. package/select/index.scss +0 -19
  40. package/separator/index.scss +0 -14
  41. package/side-nav/index.scss +0 -50
  42. package/skip-link/_mixin.scss +0 -13
  43. package/skip-link/index.scss +0 -43
  44. package/table/index.scss +0 -56
  45. package/textarea/index.scss +0 -8
  46. package/textbox/index.scss +0 -6
  47. package/toggletip/_mixin.scss +0 -59
  48. package/toggletip/index.scss +0 -48
  49. package/unordered-list/index.scss +0 -27
@@ -1,50 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .rhc-side-nav {
7
- display: flex;
8
- flex-direction: column;
9
- row-gap: var(--rhc-sidenav-row-gap);
10
- &__list {
11
- list-style: none;
12
- margin-block: 0;
13
- padding-block: 0;
14
- padding-inline: 0;
15
- }
16
- &__link {
17
- align-items: center;
18
- color: var(--rhc-sidenav-link-color);
19
- column-gap: var(--rhc-sidenav-link-column-gap);
20
- display: flex;
21
- font-family: var(--rhc-sidenav-link-font-family), sans-serif;
22
- font-size: var(--rhc-sidenav-link-font-size);
23
- font-weight: var(--rhc-sidenav-link-font-weight);
24
- line-height: var(--rhc-sidenav-link-line-height);
25
- padding-block-end: var(--rhc-sidenav-link-padding-block-end);
26
- padding-block-start: var(--rhc-sidenav-link-padding-block-start);
27
- text-decoration: var(--rhc-sidenav-link-text-decoration);
28
- &[aria-current="page"] {
29
- color: var(--rhc-sidenav-link-current-color);
30
- font-weight: var(--rhc-sidenav-link-current-font-weight);
31
- }
32
- &:active {
33
- color: var(--rhc-sidenav-link-active-color);
34
- text-decoration: var(--rhc-sidenav-link-active-text-decoration);
35
- }
36
- &:focus {
37
- background-color: var(--rhc-sidenav-link-focus-background-color);
38
- color: var(--rhc-sidenav-link-focus-color);
39
- text-decoration: var(--rhc-sidenav-link-focus-text-decoration);
40
- }
41
- &:focus-visible {
42
- border-color: var(--rhc-color-focus-border-color);
43
- border-width: var(--rhc-border-width-m);
44
- }
45
- &:hover {
46
- color: var(--rhc-sidenav-link-hover-color);
47
- text-decoration: var(--rhc-sidenav-link-hover-text-decoration);
48
- }
49
- }
50
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-skip-link {
7
- box-shadow: var(--utrecht-skip-link-box-block-end-shadow-offset-x)
8
- var(--utrecht-skip-link-box-block-end-shadow-offset-y) var(--utrecht-skip-link-box-block-end-shadow-blur-radius)
9
- var(--utrecht-skip-link-box-block-end-shadow-spread-radius) var(--utrecht-skip-link-box-block-end-shadow-color);
10
- font-weight: var(--utrecht-skip-link-font-weight, inherit);
11
- position: revert;
12
- text-underline-offset: var(--utrecht-skip-link-text-underline-offset, inherit);
13
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @import "./mixin";
7
-
8
- .rhc-skip-link {
9
- @include rhc-skip-link;
10
- }
11
-
12
- .rhc-skip-link--hidden,
13
- .rhc-skip-link--visible-on-focus {
14
- inset-block-start: -9999px;
15
- position: fixed;
16
- }
17
-
18
- .rhc-skip-link--focus,
19
- .rhc-skip-link:focus {
20
- @include rhc-skip-link;
21
-
22
- background-color: var(--utrecht-skip-link-focus-background-color, inherit);
23
- border-color: var(--utrecht-skip-link-focus-border-color, inherit);
24
- border-style: var(--utrecht-skip-link-focus-border-style, inherit);
25
- border-width: var(--utrecht-skip-link-focus-border-width, inherit);
26
- color: var(--utrecht-skip-link-focus-color, inherit);
27
- outline-color: var(--utrecht-skip-link-focus-outline-color, revert);
28
- outline-offset: var(--utrecht-skip-link-focus-outline-offset, revert);
29
- outline-style: var(--utrecht-skip-link-focus-outline-style, revert);
30
- outline-width: var(--utrecht-skip-link-focus-outline-width, revert);
31
- position: revert;
32
- text-decoration: var(--utrecht-skip-link-focus-text-decoration, inherit);
33
- }
34
-
35
- .rhc-skip-link--focus-visible,
36
- .rhc-skip-link:focus-visible {
37
- @include rhc-skip-link;
38
-
39
- outline-color: var(--utrecht-skip-link-focus-visible-outline-color, var(--utrecht-focus-outline-color));
40
- outline-offset: var(--utrecht-skip-link-focus-visible-outline-offset, var(--utrecht-focus-outline-offset));
41
- outline-style: var(--utrecht-skip-link-focus-visible-outline-style, var(--utrecht-focus-outline-style));
42
- outline-width: var(--utrecht-skip-link-focus-visible-outline-width, var(--utrecht-focus-outline-width));
43
- }
package/table/index.scss DELETED
@@ -1,56 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-table {
7
- &__caption {
8
- text-align: start !important;
9
- &--rtl {
10
- text-align: end !important;
11
- }
12
- }
13
- &__cell {
14
- color: var(--rhc-color-foreground-lint);
15
- }
16
-
17
- &__header {
18
- tr:last-child > th {
19
- border-block-end-color: var(--utrecht-table-header-border-block-end-color);
20
- border-block-end-style: solid;
21
- border-block-end-width: var(
22
- --utrecht-table-header-sticky-border-block-end-width,
23
- var(--utrecht-table-header-border-block-end-width, 0)
24
- );
25
- }
26
-
27
- &--align-right {
28
- --_utrecht-table-cell-text-align: end;
29
- }
30
- &--align-center {
31
- --_utrecht-table-cell-text-align: center;
32
- }
33
- &--align-left {
34
- --_utrecht-table-cell-text-align: start;
35
- }
36
-
37
- &--cell {
38
- &-row {
39
- --utrecht-table-header-cell-font-weight: --utrecht-table-row-border-block-end-width;
40
-
41
- border-block-end-color: var(--utrecht-table-row-border-block-end-color);
42
- border-block-end-style: solid;
43
- border-block-end-width: var(--utrecht-table-row-border-block-end-width, 2px);
44
- }
45
- }
46
- }
47
-
48
- &__footer {
49
- color: var(--utrecht-table-footer-color);
50
- td {
51
- --utrecht-table-footer-font-weight: var(--utrecht-table-footer-font-weight, bold);
52
-
53
- font-weight: var(--utrecht-table-footer-font-weight, bold);
54
- }
55
- }
56
- }
@@ -1,8 +0,0 @@
1
- .utrecht-textarea {
2
- &:focus {
3
- border-width: var(--utrecht-textarea-focus-border-width, var(--rhc-border-width-m, 2px));
4
- }
5
- &--html-textarea:read-only {
6
- --utrecht-textarea-read-only-border: var(--utrecht-textarea-read-only-background-color, --rhc-color-grijs-100);
7
- }
8
- }
@@ -1,6 +0,0 @@
1
- .utrecht-textbox:focus {
2
- border-width: var(--utrecht-textbox-focus-border-width, var(--rhc-border-width-m, 2px));
3
- }
4
- .utrecht-textbox--invalid:focus {
5
- border-width: var(--utrecht-textbox-focus-border-width, var(--rhc-border-width-m, 2px));
6
- }
@@ -1,59 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @mixin rhc-toggletip {
7
- background-color: transparent;
8
- border-radius: var(--rhc-toggletip-border-radius);
9
- display: inline-flex;
10
- flex-direction: column;
11
- size: var(--rhc-toggletip-size);
12
- }
13
-
14
- @mixin rhc-toggletip__summary {
15
- cursor: pointer;
16
- display: inline-flex;
17
- margin-block-end: var(--rhc-toggletip-gap, 16px);
18
- max-inline-size: var(--rhc-toggletip-size);
19
- size: var(--rhc-toggletip-size);
20
- }
21
-
22
- @mixin rhc-toggletip__button {
23
- background-color: var(--rhc-toggletip-background-color);
24
- border-color: var(--rhc-toggletip-border-color);
25
- border-radius: var(--rhc-toggletip-border-radius);
26
- border-width: var(--rhc-toggletip-border-width);
27
- color: var(--rhc-toggletip-color);
28
- cursor: pointer;
29
- display: inline-flex;
30
- max-inline-size: var(--rhc-toggletip-size);
31
- padding-block: 0;
32
- padding-inline: 0;
33
- size: var(--rhc-toggletip-size);
34
- }
35
-
36
- @mixin rhc-toggletip__button--no-pointer-events {
37
- pointer-events: none;
38
- }
39
-
40
- @mixin rhc-toggletip__icon {
41
- size: var(--rhc-toggletip-icon-size);
42
- }
43
-
44
- @mixin rhc-toggletip--active {
45
- background-color: var(--rhc-toggletip-active-background-color);
46
- border-color: var(--rhc-toggletip-active-border-color);
47
- border-style: solid;
48
- color: var(--rhc-toggletip-active-color);
49
- }
50
-
51
- @mixin rhc-toggletip--hover {
52
- background-color: var(--rhc-toggletip-hover-background-color);
53
- color: var(--rhc-toggletip-hover-color);
54
- }
55
-
56
- @mixin rhc-toggletip--focus {
57
- background-color: var(--rhc-toggletip-focus-background-color);
58
- color: var(--rhc-toggletip-focus-color);
59
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- @import "./mixin";
7
-
8
- .rhc-toggletip {
9
- @include rhc-toggletip;
10
- }
11
-
12
- .rhc-toggletip__summary {
13
- @include rhc-toggletip__summary;
14
- }
15
-
16
- .rhc-toggletip__button {
17
- @include rhc-toggletip__button;
18
- }
19
-
20
- .rhc-toggletip__summary .rhc-toggletip__button {
21
- // If button is not used standalone the summary should take precedence
22
- @include rhc-toggletip__button--no-pointer-events;
23
- }
24
-
25
- .rhc-toggletip__button:focus {
26
- @include rhc-toggletip--focus;
27
- }
28
-
29
- .rhc-toggletip__button:hover {
30
- @include rhc-toggletip--hover;
31
- }
32
-
33
- .rhc-toggletip__summary:focus .rhc-toggletip__button {
34
- @include rhc-toggletip--focus;
35
- }
36
-
37
- .rhc-toggletip__summary:hover .rhc-toggletip__button {
38
- @include rhc-toggletip--hover;
39
- }
40
-
41
- .rhc-toggletip:active .rhc-toggletip__button,
42
- .rhc-toggletip[open] .rhc-toggletip__button {
43
- @include rhc-toggletip--active;
44
- }
45
-
46
- .rhc-toggletip__icon {
47
- @include rhc-toggletip__icon;
48
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * @license EUPL-1.2
3
- * Copyright (c) 2021 Community for NL Design System
4
- */
5
-
6
- .utrecht-unordered-list {
7
- color: var(--utrecht-unordered-list-color);
8
- font-family: var(--utrecht-unordered-list-font-family);
9
- font-size: var(--utrecht-unordered-list-font-size);
10
- font-weight: var(--utrecht-unordered-list-font-weight);
11
- line-height: var(--utrecht-unordered-list-line-heigh);
12
- padding-inline-start: var(--utrecht-unordered-list-padding-inline-start);
13
- }
14
-
15
- .utrecht-unordered-list__item {
16
- margin-block-end: var(--utrecht-unordered-list-item-margin-block-end);
17
- margin-block-start: var(--utrecht-unordered-list-item-margin-block-start);
18
- padding-inline-start: var(--utrecht-unordered-list-item-padding-inline-start);
19
- }
20
-
21
- .utrecht-unordered-list--nested {
22
- margin-inline-start: 0;
23
- }
24
-
25
- .utrecht-unordered-list--nested > .utrecht-unordered-list__item::marker {
26
- content: "○";
27
- }