@civicactions/cmsds-open-data-components 2.1.1 → 3.0.0-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civicactions/cmsds-open-data-components",
3
- "version": "2.1.1",
3
+ "version": "3.0.0-alpha.2",
4
4
  "description": "Components for the open data catalog frontend using CMS Design System",
5
5
  "main": "dist/main.js",
6
6
  "source": "src/index.ts",
@@ -1,9 +0,0 @@
1
- .dc-c-additional-info-table {
2
- table {
3
- width: 100%;
4
- }
5
- }
6
-
7
- .dc-c-additional-info-table a {
8
- word-break: break-all;
9
- }
@@ -1,32 +0,0 @@
1
- .dc-c-breadcrumb__list {
2
- margin-top: 0;
3
- margin-bottom: 0;
4
- list-style-type: none;
5
- padding-left: 0;
6
- > li {
7
- margin-bottom: 0;
8
- max-width: unset;
9
- &::after {
10
- font-family: 'Font Awesome 5 Pro';
11
- content: '\f054';
12
- margin: 0 10px;
13
- font-size: 10px;
14
- font-weight: 600;
15
- }
16
- &:last-child {
17
- &::after {
18
- content: '';
19
- margin: 0;
20
- }
21
- }
22
- }
23
- display: block;
24
- }
25
-
26
- .dc-c-breadcrumb__list-item {
27
- display: inline-block;
28
- }
29
-
30
- .dc-c-breadcrumb__link {
31
- display: inline;
32
- }
File without changes
@@ -1,10 +0,0 @@
1
- .dc-dataset-search--facets-container .ds-c-accordion__content {
2
- max-height: 32rem;
3
- }
4
-
5
- .dc-dataset-search--facets {
6
- display: block;
7
- list-style: none;
8
- position: relative;
9
- max-height: 32rem;
10
- }
@@ -1,20 +0,0 @@
1
- @import '~@cmsgov/design-system/dist/scss/settings/variables/color';
2
-
3
- .dc-dataset-searchlist-item {
4
- h2 a {
5
- text-decoration: none;
6
- &:hover {
7
- text-decoration: underline;
8
- }
9
- }
10
-
11
- ul {
12
- list-style: none;
13
- }
14
-
15
- .dc-dataset-searchlist-item--keyword {
16
- background: $color-primary-alt-lightest;
17
- border: none;
18
- color: $color-base;
19
- }
20
- }
@@ -1,4 +0,0 @@
1
- .dc-c-dataset-tags--tag {
2
- display: inline-block;
3
- background: $color-primary-alt-lightest;
4
- }
@@ -1,24 +0,0 @@
1
- .dc-c-datatable {
2
- width: 100%;
3
- .dc-c-table-header-cell {
4
- .dc-c-resize-handle {
5
- display: inline-block;
6
- width: 10px;
7
- height: 100%;
8
- position: absolute;
9
- right: 0;
10
- top: 0;
11
- transform: translateX(50%);
12
- z-index: 1;
13
- touch-action: none;
14
- &.isResizing {
15
- background: #adb0b5;
16
- }
17
- }
18
- &:hover {
19
- .dc-c-resize-handle {
20
- background: #d6d7d9;
21
- }
22
- }
23
- }
24
- }
@@ -1,9 +0,0 @@
1
- @import './datatable.scss';
2
- @import './dataset-tags.scss';
3
- @import './dataset-downloads.scss';
4
- @import './pagination.scss';
5
- @import './dataset-search-list-item.scss';
6
- @import './dataset-search-facets.scss';
7
- @import './additional-information-table.scss';
8
- @import './breadcrumb.scss';
9
- @import './resource-information-table.scss';
@@ -1,59 +0,0 @@
1
- @import '~@cmsgov/design-system/dist/scss/settings/variables/color';
2
-
3
- .dc-pagination {
4
- ol {
5
- list-style: none;
6
- }
7
- button {
8
- text-decoration: none;
9
- }
10
- .dc-pagination-current__button {
11
- font-weight: bold;
12
- color: $color-base;
13
- text-decoration: underline;
14
- }
15
- .dc-pagination--previous__button,
16
- .dc-pagination--next__button {
17
- height: 100%;
18
- &:disabled {
19
- background: transparent !important;
20
- &::before,
21
- &::after {
22
- color: $color-base;
23
- }
24
- }
25
- &::before,
26
- &::after {
27
- font-family: 'Font Awesome 5 Pro';
28
- color: $color-primary;
29
- font-size: 16px;
30
- padding-right: 10px;
31
- display: inline-block;
32
- line-height: 16px;
33
- height: 16px;
34
- width: 16px;
35
- margin-left: 10px;
36
- text-align: center;
37
- vertical-align: middle;
38
- font-weight: lighter;
39
- }
40
- }
41
-
42
- .dc-pagination--previous {
43
- margin-right: auto;
44
- }
45
- .dc-pagination--next {
46
- margin-left: auto;
47
- }
48
-
49
- .dc-pagination--previous__button {
50
- &::before {
51
- content: '\f053';
52
- }
53
- }
54
- .dc-pagination--next__button {
55
- &::after {
56
- content: '\f054';
57
- }
58
- }
59
- }
@@ -1,5 +0,0 @@
1
- .dc-c-resource-info-table {
2
- table {
3
- width: 100%;
4
- }
5
- }
@@ -1,24 +0,0 @@
1
- @import './components';
2
- @import './templates';
3
-
4
- main {
5
- padding-bottom: 100px;
6
- }
7
-
8
- .dc-c-word-break--all {
9
- word-break: break-all;
10
- }
11
-
12
- html a:focus {
13
- background-color: transparent;
14
- }
15
-
16
- button.ds-c-dialog__close {
17
- &:focus {
18
- background-color: transparent;
19
- outline: 3px solid #bd13b8;
20
- box-shadow: none;
21
- outline-offset: inherit;
22
- border-radius: 0px;
23
- }
24
- }
@@ -1,38 +0,0 @@
1
- @import '~@cmsgov/design-system/dist/scss/settings/variables/color';
2
-
3
- .dc-dataset-search-list {
4
- list-style: none;
5
- }
6
-
7
- .dc-c-clear-filters {
8
- font-weight: 300;
9
- }
10
-
11
- .dc-fulltext--input-container {
12
- width: 100%;
13
- input {
14
- max-width: inherit;
15
- }
16
- }
17
-
18
- .dc-search-header {
19
- display: relative;
20
- &::after {
21
- content: '';
22
- display: block;
23
- width: 48px;
24
- height: 4px;
25
- margin: 16px 0;
26
- background-color: $color-primary-alt-light;
27
- }
28
- }
29
-
30
- .dataset-results-count {
31
- font-weight: bold;
32
- }
33
-
34
- .dc-dataset-search--facets-container .ds-c-accordion__button {
35
- display: flex;
36
- justify-content: space-between;
37
- padding: 16px 24px 16px 24px;
38
- }
@@ -1,44 +0,0 @@
1
- .dc-resource-header {
2
- &::before {
3
- content: '';
4
- display: block;
5
- width: 48px;
6
- height: 4px;
7
- margin: 8px 0;
8
- background-color: $color-primary-alt-light;
9
- }
10
- }
11
-
12
- .dc-truncate {
13
- max-width: 85%;
14
- overflow: hidden;
15
- text-overflow: ellipsis;
16
- white-space: nowrap;
17
- }
18
-
19
- .dc-c-table-header-group > div {
20
- position: relative;
21
- }
22
-
23
- .dc-c-resize-handle {
24
- top: 0;
25
- bottom: 0;
26
- right: 0;
27
- position: absolute;
28
- background-color: $color-gray-light;
29
- width: 10px;
30
- min-width: 10px;
31
- display: block;
32
- margin-left: -10px;
33
- border-bottom: 2px solid #323a45;
34
- border-top: 2px solid #323a45;
35
- z-index: 1;
36
- &.isResizing,
37
- &:hover {
38
- background-color: $color-primary;
39
- }
40
- }
41
-
42
- .dc-c-metadata-description {
43
- white-space: pre-line;
44
- }
@@ -1,19 +0,0 @@
1
- .dc-c-resource-action {
2
- min-height: 100%;
3
- }
4
-
5
- .dc-filtered-resource-toggle {
6
- align-self: center;
7
- }
8
-
9
- .dc-c-filterd-resouce-drawer {
10
- .ds-c-help-drawer__footer {
11
- h4 {
12
- display: none;
13
- }
14
- }
15
- }
16
-
17
- .dc-c-resource-header--buttons {
18
- display: flex;
19
- }
@@ -1,83 +0,0 @@
1
- @import '~@cmsgov/design-system/dist/scss/settings/variables/color';
2
-
3
- .dc-c-footer {
4
- background-color: white;
5
- ul {
6
- margin: 0;
7
- padding: 0;
8
- list-style: none;
9
- }
10
- }
11
-
12
- .dc-c-footer--middle-container {
13
- background: linear-gradient(90deg, #f6f9fd 50%, #e8f0fa 50%);
14
- }
15
-
16
- .dc-c-footer__title {
17
- font-weight: 400;
18
- color: $color-gray;
19
- span {
20
- font-weight: 700;
21
- }
22
- }
23
-
24
- .dc-c-footer__resources {
25
- background: #f6f9fd;
26
- }
27
-
28
- .dc-c-footer__utility {
29
- background: $color-white;
30
- }
31
-
32
- .dc-c-footer__utility li {
33
- list-style: none;
34
- }
35
-
36
- .dc-c-footer__cms-information {
37
- background: #e8f0fa;
38
- }
39
-
40
- .dc-footer--heading {
41
- text-transform: uppercase;
42
- }
43
-
44
- .dc-c-emailupdates {
45
- background-image: linear-gradient(
46
- 35deg,
47
- $color-primary-darkest,
48
- $color-primary-darker,
49
- $color-primary
50
- );
51
- color: $color-white;
52
- }
53
- .dc-c-footer--svg-icon {
54
- width: 40px;
55
- height: 40px;
56
- font-size: 42px;
57
- display: inline-block;
58
- text-align: center;
59
- position: relative;
60
-
61
- svg.svg-inline--fa {
62
- width: 1em;
63
- height: 1em;
64
- }
65
-
66
- .fa-circle {
67
- fill: #6f757c;
68
- }
69
-
70
- .fa-inverse {
71
- font-size: 25px;
72
- padding-left: 2px;
73
- fill: $color-white;
74
- }
75
- }
76
- .svg-inline--fa {
77
- bottom: 0;
78
- left: 0;
79
- margin: auto;
80
- position: absolute;
81
- right: 0;
82
- top: 0;
83
- }