hooks
4 years ago
images
4 years ago
BulkActionCheckbox.tsx
4 years ago
BulkActionSelect.module.scss
4 years ago
BulkActionSelect.tsx
4 years ago
Filters.tsx
4 years ago
FormSelect.module.scss
4 years ago
FormSelect.tsx
4 years ago
Input.module.scss
4 years ago
Input.tsx
4 years ago
ListTable.module.scss
4 years ago
ListTable.tsx
4 years ago
ListTablePage.module.scss
3 years ago
ListTableRows.module.scss
3 years ago
ListTableRows.tsx
4 years ago
Pagination.module.scss
4 years ago
Pagination.tsx
4 years ago
README.MD
4 years ago
RowAction.module.scss
4 years ago
RowAction.tsx
4 years ago
Select.module.scss
4 years ago
Select.tsx
4 years ago
TableCell.module.scss
4 years ago
TableCell.tsx
4 years ago
TestLabel.module.scss
4 years ago
TestLabel.tsx
4 years ago
TypeBadge.module.scss
4 years ago
TypeBadge.tsx
4 years ago
api.ts
4 years ago
index.tsx
4 years ago
ListTable.module.scss
154 lines
| 1 | .initialLoad { |
| 2 | inline-size: 100%; |
| 3 | display: flex; |
| 4 | align-items: center; |
| 5 | justify-content: center; |
| 6 | |
| 7 | & > * { |
| 8 | display: flex; |
| 9 | flex-direction: column; |
| 10 | align-items: center; |
| 11 | justify-content: space-evenly; |
| 12 | inline-size: 26em; |
| 13 | block-size: 20em; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | .tableGroup { |
| 18 | background-color: #fff; |
| 19 | border: 0.0625em solid #ddd; |
| 20 | border-radius: 0.3125em; |
| 21 | overflow: auto; |
| 22 | position: relative; |
| 23 | max-inline-size: 100%; |
| 24 | box-shadow: 0 0 0.5625em rgb(68 68 68 / 0.05); |
| 25 | } |
| 26 | |
| 27 | .table { |
| 28 | border-radius: inherit; |
| 29 | border-spacing: 0; |
| 30 | inline-size: 100%; |
| 31 | font-size: 1em; |
| 32 | table-layout: fixed; |
| 33 | } |
| 34 | |
| 35 | /* Visually hidden class omitting position: absolute since that breaks the table |
| 36 | * semantics */ |
| 37 | .tableCaption { |
| 38 | width: 1px; |
| 39 | height: 1px; |
| 40 | padding: 0; |
| 41 | margin: -1px; |
| 42 | overflow: hidden; |
| 43 | clip: rect(0, 0, 0, 0); |
| 44 | white-space: nowrap; |
| 45 | border-width: 0; |
| 46 | } |
| 47 | |
| 48 | .tableColumnHeader { |
| 49 | border-bottom: 0.0625em solid #ddd; |
| 50 | color: #0878b0; |
| 51 | font-weight: 700; |
| 52 | padding: 1em; |
| 53 | inline-size: 8rem; |
| 54 | text-align: start; |
| 55 | |
| 56 | &.start { |
| 57 | text-align: start; |
| 58 | } |
| 59 | |
| 60 | &.center { |
| 61 | text-align: center; |
| 62 | } |
| 63 | |
| 64 | &.end { |
| 65 | text-align: end; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | .tableContent { |
| 70 | overflow: auto; |
| 71 | } |
| 72 | |
| 73 | .selectAll { |
| 74 | width: 2rem; |
| 75 | } |
| 76 | |
| 77 | #updateError { |
| 78 | display: flex; |
| 79 | flex-direction: column; |
| 80 | justify-content: space-around; |
| 81 | padding-inline: 2.5em; |
| 82 | padding-block: 1em; |
| 83 | height: 5em; |
| 84 | position: relative; |
| 85 | background: #fff; |
| 86 | border: 1px solid #c3c4c7; |
| 87 | border-left-color: #d63638; |
| 88 | border-left-width: 0.25rem; |
| 89 | box-shadow: 0 1px 1px rgb(0 0 0 / 4%); |
| 90 | margin: 0.3125em 0.9375em 0.125em; |
| 91 | } |
| 92 | |
| 93 | .dismiss { |
| 94 | background: none; |
| 95 | border: none; |
| 96 | color: #787c82; |
| 97 | display: block; |
| 98 | position: absolute; |
| 99 | margin: 0.5em; |
| 100 | right: 0; |
| 101 | top: 0; |
| 102 | font: normal 16px/20px dashicons; |
| 103 | speak: never; |
| 104 | height: 1.5rem; |
| 105 | text-align: center; |
| 106 | width: 1.5rem; |
| 107 | -webkit-font-smoothing: antialiased; |
| 108 | |
| 109 | &:hover { |
| 110 | color: #d63638; |
| 111 | } |
| 112 | |
| 113 | &:active { |
| 114 | color: #787c82; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | .statusMessage { |
| 119 | font-weight: 600; |
| 120 | font-size: 1.2em; |
| 121 | padding-inline: 2.5em; |
| 122 | padding-block: 2em; |
| 123 | } |
| 124 | |
| 125 | .overlay { |
| 126 | display: flex; |
| 127 | align-items: center; |
| 128 | justify-content: center; |
| 129 | position: absolute; |
| 130 | block-size: 100%; |
| 131 | inline-size: 100%; |
| 132 | background: rgba(255, 255, 255, 0.7); |
| 133 | z-index: 10; |
| 134 | border-radius: inherit; |
| 135 | overflow: hidden; |
| 136 | } |
| 137 | |
| 138 | .appear { |
| 139 | animation: appear 0.1s ease-in; |
| 140 | } |
| 141 | |
| 142 | .disappear { |
| 143 | animation: appear 0.1s ease-in reverse; |
| 144 | } |
| 145 | |
| 146 | @keyframes appear { |
| 147 | 0% { |
| 148 | opacity: 0; |
| 149 | } |
| 150 | 100% { |
| 151 | opacity: 1; |
| 152 | } |
| 153 | } |
| 154 |