@eka-care/medical-records-ui 1.2.22 → 1.2.26

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;
@@ -5957,6 +5967,9 @@ input.mr-sidebar-pagination__page-box:focus {
5957
5967
  background: var(--mr-background, #fff);
5958
5968
  transition: border-color 0.12s, background 0.12s;
5959
5969
  }
5970
+ .mr-rx-card--selectable {
5971
+ cursor: pointer;
5972
+ }
5960
5973
  .mr-rx-card--selected {
5961
5974
  border-color: var(--mr-primary);
5962
5975
  background: #f7faff;
@@ -6137,46 +6150,170 @@ input.mr-sidebar-pagination__page-box:focus {
6137
6150
  color: var(--mr-muted-foreground);
6138
6151
  min-width: 16px;
6139
6152
  }
6153
+ .mr-rx-list-lead {
6154
+ font-weight: 600;
6155
+ }
6140
6156
  .mr-rx-u {
6141
6157
  font-size: 12px;
6142
6158
  font-weight: 400;
6143
6159
  color: var(--mr-muted-foreground);
6144
6160
  }
6145
6161
  .mr-rx-tbl {
6146
- display: flex;
6147
- flex-direction: column;
6162
+ display: grid;
6163
+ width: 100%;
6164
+ border: 1px solid #e5e7eb;
6165
+ border-radius: 8px;
6166
+ background: #fff;
6167
+ overflow-x: auto;
6168
+ overflow-y: hidden;
6169
+ font-family: var(--mr-font-sans);
6148
6170
  }
6149
6171
  .mr-rx-tblh,
6150
6172
  .mr-rx-tblr {
6151
6173
  display: grid;
6152
- gap: 12px;
6153
- align-items: baseline;
6154
- padding: 6px 0;
6155
- font-family: var(--mr-font-sans);
6174
+ grid-template-columns: subgrid;
6175
+ grid-column: 1 / -1;
6176
+ align-items: stretch;
6156
6177
  }
6157
6178
  .mr-rx-tblh {
6158
- border-bottom: 1px solid var(--mr-border);
6179
+ background: #f9fafb;
6180
+ border-bottom: 1px solid #e5e7eb;
6181
+ border-radius: 8px 8px 0 0;
6182
+ }
6183
+ .mr-rx-tblr {
6184
+ border-bottom: 1px solid #e5e7eb;
6185
+ }
6186
+ .mr-rx-tblr:last-child {
6187
+ border-bottom: 0;
6188
+ }
6189
+ .mr-rx-tblh > span,
6190
+ .mr-rx-tblr > span {
6191
+ min-width: 0;
6192
+ border-right: 1px solid #e5e7eb;
6193
+ overflow-wrap: break-word;
6194
+ }
6195
+ .mr-rx-tblh > span:last-child,
6196
+ .mr-rx-tblr > span:last-child {
6197
+ border-right: 0;
6198
+ }
6199
+ .mr-rx-tblh > span {
6200
+ align-content: center;
6201
+ padding: 10px 12px;
6159
6202
  font-size: 12px;
6203
+ line-height: 16px;
6160
6204
  font-weight: 600;
6161
- letter-spacing: 0.06em;
6205
+ letter-spacing: 0.025em;
6162
6206
  text-transform: uppercase;
6163
- color: var(--mr-muted-foreground);
6207
+ color: #767676;
6164
6208
  }
6165
- .mr-rx-tblr {
6209
+ .mr-rx-tblr > span {
6210
+ padding: 10px 16px;
6166
6211
  font-size: 14px;
6167
6212
  line-height: 20px;
6168
- color: var(--mr-foreground);
6169
- border-bottom: 1px solid color-mix(in srgb, var(--mr-border) 50%, transparent);
6213
+ color: #191919;
6214
+ white-space: pre-wrap;
6170
6215
  }
6171
- .mr-rx-tblr:last-child {
6172
- border-bottom: 0;
6216
+ .mr-rx-tblr > span.mr-rx-tbl__empty {
6217
+ color: #9ca3af;
6173
6218
  }
6174
- .mr-rx-tbl span {
6175
- min-width: 0;
6219
+ .mr-rx-li {
6220
+ display: flex;
6221
+ flex-direction: column;
6222
+ gap: 6px;
6223
+ margin: 4px 0;
6224
+ font-family: var(--mr-font-sans);
6225
+ color: #1a1a1a;
6226
+ }
6227
+ .mr-rx-li__item {
6228
+ display: flex;
6229
+ flex-direction: column;
6230
+ padding: 4px 0;
6231
+ }
6232
+ .mr-rx-li__name {
6233
+ font-size: 14px;
6234
+ font-weight: 500;
6235
+ line-height: 20px;
6176
6236
  overflow-wrap: anywhere;
6177
6237
  }
6178
- .mr-rx-mn {
6238
+ .mr-rx-li__attrs {
6239
+ margin-top: 2px;
6240
+ font-size: 12px;
6241
+ line-height: 20px;
6242
+ overflow-wrap: anywhere;
6243
+ }
6244
+ .mr-rx-li__attr + .mr-rx-li__attr::before {
6245
+ content: "\200b";
6246
+ }
6247
+ .mr-rx-li__attr:not(:last-child)::after {
6248
+ content: "\2022";
6249
+ margin: 0 8px;
6250
+ vertical-align: middle;
6251
+ font-size: 8px;
6252
+ }
6253
+ .mr-rx-li__key {
6254
+ color: #6b7280;
6255
+ }
6256
+ .mr-rx-li__key::after {
6257
+ content: ":";
6258
+ margin-right: 4px;
6259
+ }
6260
+ .mr-rx-li-groups {
6261
+ font-family: var(--mr-font-sans);
6262
+ }
6263
+ .mr-rx-li-category {
6264
+ display: grid;
6265
+ grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
6266
+ column-gap: 24px;
6267
+ align-items: start;
6268
+ padding: 10px 0;
6269
+ border-top: 1px solid #f1f3f5;
6270
+ }
6271
+ .mr-rx-li-category__label {
6272
+ padding-top: 5px;
6273
+ color: #6b7280;
6274
+ font-size: 11px;
6275
+ font-weight: 600;
6276
+ line-height: 20px;
6277
+ letter-spacing: 0.06em;
6278
+ text-transform: uppercase;
6279
+ }
6280
+ @media (max-width: 640px) {
6281
+ .mr-rx-li-category {
6282
+ grid-template-columns: minmax(0, 1fr);
6283
+ }
6284
+ }
6285
+ .mr-rx-fields {
6286
+ display: flex;
6287
+ flex-direction: column;
6288
+ margin: 0;
6289
+ font-family: var(--mr-font-sans);
6290
+ }
6291
+ .mr-rx-fields__row {
6292
+ display: grid;
6293
+ grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
6294
+ column-gap: 1.5rem;
6295
+ padding: 5px 0;
6296
+ }
6297
+ .mr-rx-fields dt {
6298
+ font-size: 12px;
6299
+ line-height: 20px;
6179
6300
  font-weight: 500;
6301
+ text-transform: uppercase;
6302
+ letter-spacing: 0.025em;
6303
+ color: #6b7280;
6304
+ }
6305
+ .mr-rx-fields dd {
6306
+ margin: 0;
6307
+ min-height: 20px;
6308
+ font-size: 14px;
6309
+ line-height: 20px;
6310
+ color: #191919;
6311
+ white-space: pre-wrap;
6312
+ overflow-wrap: anywhere;
6313
+ }
6314
+ .mr-rx-fields__hint {
6315
+ margin-left: 10px;
6316
+ color: #9ca3af;
6180
6317
  }
6181
6318
  .mr-rx-kv {
6182
6319
  margin: 0;