@eka-care/medical-records-ui 1.2.20 → 1.2.24

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/dist/index.css CHANGED
@@ -296,6 +296,10 @@
296
296
  color: var(--mr-primary);
297
297
  background: var(--mr-selected-bg);
298
298
  }
299
+ .mr-tag-chip--source {
300
+ padding: 0 6px;
301
+ flex-shrink: 0;
302
+ }
299
303
  .mr-tag-chip__label {
300
304
  overflow: hidden;
301
305
  text-overflow: ellipsis;
@@ -5886,7 +5890,13 @@ input.mr-sidebar-pagination__page-box:focus {
5886
5890
  width: 12px;
5887
5891
  height: 12px;
5888
5892
  }
5889
- .mr-sv__record-item:hover .mr-sv__smart-pill,
5893
+ .mr-sv__smart-star .mr-sv__smart-pill {
5894
+ left: auto;
5895
+ right: -4px;
5896
+ top: calc(100% + 6px);
5897
+ transform: none;
5898
+ }
5899
+ .mr-sv__smart-star:hover .mr-sv__smart-pill,
5890
5900
  .mr-cf-card:hover .mr-sv__smart-pill {
5891
5901
  opacity: 1;
5892
5902
  visibility: visible;
@@ -6019,6 +6029,104 @@ input.mr-sidebar-pagination__page-box:focus {
6019
6029
  font-family: var(--mr-font-sans);
6020
6030
  white-space: pre-wrap;
6021
6031
  }
6032
+ .mr-rx-md {
6033
+ font-size: 14px;
6034
+ line-height: 22px;
6035
+ color: var(--mr-foreground);
6036
+ font-family: var(--mr-font-sans);
6037
+ overflow-wrap: anywhere;
6038
+ }
6039
+ .mr-rx-md > :first-child {
6040
+ margin-top: 0;
6041
+ }
6042
+ .mr-rx-md > :last-child {
6043
+ margin-bottom: 0;
6044
+ }
6045
+ .mr-rx-md p,
6046
+ .mr-rx-md ul,
6047
+ .mr-rx-md ol,
6048
+ .mr-rx-md blockquote,
6049
+ .mr-rx-md pre,
6050
+ .mr-rx-md table {
6051
+ margin: 0 0 10px;
6052
+ }
6053
+ .mr-rx-md p,
6054
+ .mr-rx-md th,
6055
+ .mr-rx-md td {
6056
+ white-space: pre-wrap;
6057
+ }
6058
+ .mr-rx-md ul,
6059
+ .mr-rx-md ol {
6060
+ padding-left: 20px;
6061
+ }
6062
+ .mr-rx-md ul ul,
6063
+ .mr-rx-md ul ol,
6064
+ .mr-rx-md ol ul,
6065
+ .mr-rx-md ol ol {
6066
+ margin-bottom: 0;
6067
+ }
6068
+ .mr-rx-md h1,
6069
+ .mr-rx-md h2,
6070
+ .mr-rx-md h3,
6071
+ .mr-rx-md h4,
6072
+ .mr-rx-md h5,
6073
+ .mr-rx-md h6 {
6074
+ margin: 14px 0 6px;
6075
+ font-size: 15px;
6076
+ font-weight: 600;
6077
+ line-height: 22px;
6078
+ }
6079
+ .mr-rx-md h1 {
6080
+ font-size: 17px;
6081
+ }
6082
+ .mr-rx-md h2 {
6083
+ font-size: 16px;
6084
+ }
6085
+ .mr-rx-md blockquote {
6086
+ padding-left: 12px;
6087
+ border-left: 3px solid var(--mr-border);
6088
+ color: var(--mr-muted-foreground);
6089
+ }
6090
+ .mr-rx-md code {
6091
+ padding: 1px 4px;
6092
+ border-radius: 4px;
6093
+ background: var(--mr-secondary);
6094
+ font-size: 13px;
6095
+ }
6096
+ .mr-rx-md pre {
6097
+ overflow-x: auto;
6098
+ padding: 8px 12px;
6099
+ border-radius: 6px;
6100
+ background: var(--mr-secondary);
6101
+ }
6102
+ .mr-rx-md pre code {
6103
+ padding: 0;
6104
+ background: none;
6105
+ }
6106
+ .mr-rx-md a {
6107
+ color: var(--mr-primary);
6108
+ }
6109
+ .mr-rx-md hr {
6110
+ margin: 12px 0;
6111
+ border: 0;
6112
+ border-top: 1px solid var(--mr-border);
6113
+ }
6114
+ .mr-rx-md table {
6115
+ width: 100%;
6116
+ table-layout: fixed;
6117
+ border-collapse: collapse;
6118
+ }
6119
+ .mr-rx-md th,
6120
+ .mr-rx-md td {
6121
+ padding: 8px 12px;
6122
+ border: 1px solid var(--mr-border);
6123
+ text-align: left;
6124
+ vertical-align: top;
6125
+ }
6126
+ .mr-rx-md th {
6127
+ background: var(--mr-secondary);
6128
+ font-weight: 600;
6129
+ }
6022
6130
  .mr-rx-list {
6023
6131
  margin: 0;
6024
6132
  padding: 0;
@@ -6045,40 +6153,132 @@ input.mr-sidebar-pagination__page-box:focus {
6045
6153
  color: var(--mr-muted-foreground);
6046
6154
  }
6047
6155
  .mr-rx-tbl {
6048
- display: flex;
6049
- flex-direction: column;
6156
+ display: grid;
6157
+ width: 100%;
6158
+ border: 1px solid #e5e7eb;
6159
+ border-radius: 8px;
6160
+ background: #fff;
6161
+ overflow-x: auto;
6162
+ overflow-y: hidden;
6163
+ font-family: var(--mr-font-sans);
6050
6164
  }
6051
6165
  .mr-rx-tblh,
6052
6166
  .mr-rx-tblr {
6053
6167
  display: grid;
6054
- gap: 12px;
6055
- align-items: baseline;
6056
- padding: 6px 0;
6057
- font-family: var(--mr-font-sans);
6168
+ grid-template-columns: subgrid;
6169
+ grid-column: 1 / -1;
6170
+ align-items: stretch;
6058
6171
  }
6059
6172
  .mr-rx-tblh {
6060
- border-bottom: 1px solid var(--mr-border);
6173
+ background: #f9fafb;
6174
+ border-bottom: 1px solid #e5e7eb;
6175
+ border-radius: 8px 8px 0 0;
6176
+ }
6177
+ .mr-rx-tblr {
6178
+ border-bottom: 1px solid #e5e7eb;
6179
+ }
6180
+ .mr-rx-tblr:last-child {
6181
+ border-bottom: 0;
6182
+ }
6183
+ .mr-rx-tblh > span,
6184
+ .mr-rx-tblr > span {
6185
+ min-width: 0;
6186
+ border-right: 1px solid #e5e7eb;
6187
+ overflow-wrap: break-word;
6188
+ }
6189
+ .mr-rx-tblh > span:last-child,
6190
+ .mr-rx-tblr > span:last-child {
6191
+ border-right: 0;
6192
+ }
6193
+ .mr-rx-tblh > span {
6194
+ align-content: center;
6195
+ padding: 10px 12px;
6061
6196
  font-size: 12px;
6197
+ line-height: 16px;
6062
6198
  font-weight: 600;
6063
- letter-spacing: 0.06em;
6199
+ letter-spacing: 0.025em;
6064
6200
  text-transform: uppercase;
6065
- color: var(--mr-muted-foreground);
6201
+ color: #767676;
6066
6202
  }
6067
- .mr-rx-tblr {
6203
+ .mr-rx-tblr > span {
6204
+ padding: 10px 16px;
6068
6205
  font-size: 14px;
6069
6206
  line-height: 20px;
6207
+ color: #191919;
6208
+ white-space: pre-wrap;
6209
+ }
6210
+ .mr-rx-tblr > span.mr-rx-tbl__empty {
6211
+ color: #9ca3af;
6212
+ }
6213
+ .mr-rx-dx {
6214
+ display: flex;
6215
+ flex-direction: column;
6216
+ gap: 10px;
6217
+ font-family: var(--mr-font-sans);
6070
6218
  color: var(--mr-foreground);
6071
- border-bottom: 1px solid color-mix(in srgb, var(--mr-border) 50%, transparent);
6072
6219
  }
6073
- .mr-rx-tblr:last-child {
6074
- border-bottom: 0;
6220
+ .mr-rx-dx__item {
6221
+ padding: 4px 0;
6075
6222
  }
6076
- .mr-rx-tbl span {
6077
- min-width: 0;
6223
+ .mr-rx-dx__name {
6224
+ overflow: hidden;
6225
+ text-overflow: ellipsis;
6226
+ font-size: 14px;
6227
+ font-weight: 500;
6228
+ line-height: 20px;
6229
+ min-height: 20px;
6230
+ }
6231
+ .mr-rx-dx__name:not(:last-child) {
6232
+ margin-bottom: 2px;
6233
+ }
6234
+ .mr-rx-dx__attr {
6235
+ display: inline;
6236
+ font-size: 12px;
6237
+ line-height: 20px;
6078
6238
  overflow-wrap: anywhere;
6079
6239
  }
6080
- .mr-rx-mn {
6240
+ .mr-rx-dx__attr + .mr-rx-dx__attr::before {
6241
+ content: "\2022";
6242
+ margin: 0 8px;
6243
+ vertical-align: middle;
6244
+ font-size: 8px;
6245
+ }
6246
+ .mr-rx-dx__key::after {
6247
+ content: ":";
6248
+ margin-right: 4px;
6249
+ }
6250
+ .mr-rx-fields {
6251
+ display: flex;
6252
+ flex-direction: column;
6253
+ margin: 0;
6254
+ font-family: var(--mr-font-sans);
6255
+ }
6256
+ .mr-rx-fields__row {
6257
+ display: grid;
6258
+ grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
6259
+ column-gap: 1.5rem;
6260
+ padding: 5px 0;
6261
+ }
6262
+ .mr-rx-fields dt {
6263
+ font-size: 12px;
6264
+ line-height: 20px;
6081
6265
  font-weight: 500;
6266
+ text-transform: uppercase;
6267
+ letter-spacing: 0.025em;
6268
+ color: #6b7280;
6269
+ }
6270
+ .mr-rx-fields dd {
6271
+ margin: 0;
6272
+ min-height: 20px;
6273
+ font-size: 14px;
6274
+ line-height: 20px;
6275
+ color: #191919;
6276
+ white-space: pre-wrap;
6277
+ overflow-wrap: anywhere;
6278
+ }
6279
+ .mr-rx-fields__hint {
6280
+ margin-left: 10px;
6281
+ color: #9ca3af;
6082
6282
  }
6083
6283
  .mr-rx-kv {
6084
6284
  margin: 0;