@icure/form 1.1.22 → 1.1.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.
Files changed (79) hide show
  1. package/.yarn/cache/@lit-labs-ssr-dom-shim-npm-1.2.1-d14ce3e3e5-5667c44f58.zip +0 -0
  2. package/.yarn/cache/{lit-element-npm-4.0.6-bfca4f9870-4f73cd1c0d.zip → lit-element-npm-4.1.0-98fef2c259-16cc7e343f.zip} +0 -0
  3. package/.yarn/cache/lit-html-npm-3.2.0-5c83bb0b92-fa566878ef.zip +0 -0
  4. package/.yarn/cache/{lit-npm-3.1.4-b7dcc2d5a3-c6ffa5580f.zip → lit-npm-3.2.0-e29d8256b0-b34e667481.zip} +0 -0
  5. package/.yarn/cache/prosemirror-model-npm-1.22.3-f92a11e7ca-dfc1f80fad.zip +0 -0
  6. package/.yarn/cache/prosemirror-transform-npm-1.10.0-c36ebced12-4cacb4ef83.zip +0 -0
  7. package/.yarn/cache/prosemirror-view-npm-1.34.2-c94b518ce1-5895d76c3f.zip +0 -0
  8. package/.yarn/cache/tslib-npm-2.7.0-21668f5c21-1606d5c89f.zip +0 -0
  9. package/.yarn/cache/wicg-inert-npm-3.1.3-38590e83f2-45b3cfec63.zip +0 -0
  10. package/.yarn/install-state.gz +0 -0
  11. package/components/common/field.d.ts +4 -2
  12. package/components/common/field.js +22 -0
  13. package/components/common/field.js.map +1 -1
  14. package/components/common/metadata-buttons-bar.d.ts +1 -0
  15. package/components/common/metadata-buttons-bar.js +256 -235
  16. package/components/common/metadata-buttons-bar.js.map +1 -1
  17. package/components/common/styles/paths.d.ts +1 -0
  18. package/components/common/styles/paths.js +14 -1
  19. package/components/common/styles/paths.js.map +1 -1
  20. package/components/common/utils.d.ts +1 -0
  21. package/components/common/utils.js +7 -1
  22. package/components/common/utils.js.map +1 -1
  23. package/components/icure-button-group/index.d.ts +3 -1
  24. package/components/icure-button-group/index.js +233 -216
  25. package/components/icure-button-group/index.js.map +1 -1
  26. package/components/icure-date-picker/index.js +205 -209
  27. package/components/icure-date-picker/index.js.map +1 -1
  28. package/components/icure-dropdown-field/index.js +206 -210
  29. package/components/icure-dropdown-field/index.js.map +1 -1
  30. package/components/icure-form/fields/button-group/checkbox.js +2 -0
  31. package/components/icure-form/fields/button-group/checkbox.js.map +1 -1
  32. package/components/icure-form/fields/button-group/radio-button.js +2 -0
  33. package/components/icure-form/fields/button-group/radio-button.js.map +1 -1
  34. package/components/icure-form/fields/date-picker/date-picker.js +2 -0
  35. package/components/icure-form/fields/date-picker/date-picker.js.map +1 -1
  36. package/components/icure-form/fields/date-picker/date-time-picker.js +2 -0
  37. package/components/icure-form/fields/date-picker/date-time-picker.js.map +1 -1
  38. package/components/icure-form/fields/date-picker/time-picker.js +2 -0
  39. package/components/icure-form/fields/date-picker/time-picker.js.map +1 -1
  40. package/components/icure-form/fields/dropdown/dropdown-field.d.ts +1 -3
  41. package/components/icure-form/fields/dropdown/dropdown-field.js +3 -7
  42. package/components/icure-form/fields/dropdown/dropdown-field.js.map +1 -1
  43. package/components/icure-form/fields/items-list-field/items-list-field.js +2 -0
  44. package/components/icure-form/fields/items-list-field/items-list-field.js.map +1 -1
  45. package/components/icure-form/fields/measure-field/measure-field.js +2 -0
  46. package/components/icure-form/fields/measure-field/measure-field.js.map +1 -1
  47. package/components/icure-form/fields/number-field/number-field.js +2 -0
  48. package/components/icure-form/fields/number-field/number-field.js.map +1 -1
  49. package/components/icure-form/fields/text-field/text-field.d.ts +0 -1
  50. package/components/icure-form/fields/text-field/text-field.js +0 -5
  51. package/components/icure-form/fields/text-field/text-field.js.map +1 -1
  52. package/components/icure-form/fields/token-field/token-field.d.ts +2 -0
  53. package/components/icure-form/fields/token-field/token-field.js +20 -4
  54. package/components/icure-form/fields/token-field/token-field.js.map +1 -1
  55. package/components/icure-form/index.js +200 -205
  56. package/components/icure-form/index.js.map +1 -1
  57. package/components/icure-form/renderer/form/form.js +8 -5
  58. package/components/icure-form/renderer/form/form.js.map +1 -1
  59. package/components/icure-label/index.js +200 -205
  60. package/components/icure-label/index.js.map +1 -1
  61. package/components/icure-text-field/index.d.ts +7 -3
  62. package/components/icure-text-field/index.js +276 -247
  63. package/components/icure-text-field/index.js.map +1 -1
  64. package/components/icure-text-field/schema/token-schema.js +2 -2
  65. package/components/icure-text-field/schema/token-schema.js.map +1 -1
  66. package/components/model/index.js +1 -0
  67. package/components/model/index.js.map +1 -1
  68. package/components/themes/icure-blue/index.js +64 -53
  69. package/components/themes/icure-blue/index.js.map +1 -1
  70. package/package.json +1 -1
  71. package/utils/code-utils.js +2 -2
  72. package/utils/code-utils.js.map +1 -1
  73. package/.yarn/cache/@lit-labs-ssr-dom-shim-npm-1.2.0-6bda8c35cb-704621c28d.zip +0 -0
  74. package/.yarn/cache/lit-html-npm-3.1.4-58e56c5010-428593679c.zip +0 -0
  75. package/.yarn/cache/prosemirror-model-npm-1.22.2-9238026de4-f4004a4ebe.zip +0 -0
  76. package/.yarn/cache/prosemirror-transform-npm-1.9.0-fd256f82f0-c2d63c1fb0.zip +0 -0
  77. package/.yarn/cache/prosemirror-view-npm-1.33.9-dd77e3e48f-d3bd6cef56.zip +0 -0
  78. package/.yarn/cache/tslib-npm-2.6.3-0fd136b3be-74fce0e100.zip +0 -0
  79. package/.yarn/cache/wicg-inert-npm-3.1.2-786d525c4e-538c5cb7f2.zip +0 -0
@@ -22,37 +22,58 @@ const baseCss = (0, lit_2.css) `@charset "UTF-8";
22
22
 
23
23
  .ProseMirror {
24
24
  position: relative;
25
- }
26
-
27
- .ProseMirror {
28
25
  width: 100%;
29
26
  word-wrap: break-word;
30
27
  white-space: pre-wrap;
31
28
  -webkit-font-variant-ligatures: none;
32
29
  font-variant-ligatures: none;
33
30
  font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
31
+ padding: 6px 8px 2px 8px;
32
+ line-height: 1.2;
33
+ color: #274768;
34
+ font-size: 14px;
35
+ font-weight: 400;
36
+ outline: none;
37
+ }
38
+ .ProseMirror p:last-child,
39
+ .ProseMirror h1:last-child,
40
+ .ProseMirror h2:last-child,
41
+ .ProseMirror h3:last-child,
42
+ .ProseMirror h4:last-child,
43
+ .ProseMirror h5:last-child,
44
+ .ProseMirror h6:last-child {
45
+ margin-bottom: 2px;
46
+ }
47
+ .ProseMirror p {
48
+ margin-bottom: 1em;
34
49
  }
35
-
36
50
  .ProseMirror pre {
37
51
  white-space: pre-wrap;
38
52
  }
39
-
40
53
  .ProseMirror li {
41
54
  position: relative;
42
55
  }
56
+ .ProseMirror ul,
57
+ .ProseMirror ol {
58
+ padding-left: 30px;
59
+ }
60
+ .ProseMirror blockquote {
61
+ padding-left: 1em;
62
+ border-left: 3px solid #eee;
63
+ margin-left: 0;
64
+ margin-right: 0;
65
+ }
43
66
 
67
+ .ProseMirror-hideselection {
68
+ caret-color: transparent;
69
+ }
44
70
  .ProseMirror-hideselection *::selection {
45
71
  background: transparent;
46
72
  }
47
-
48
73
  .ProseMirror-hideselection *::-moz-selection {
49
74
  background: transparent;
50
75
  }
51
76
 
52
- .ProseMirror-hideselection {
53
- caret-color: transparent;
54
- }
55
-
56
77
  .ProseMirror-selectednode {
57
78
  outline: 2px solid #8cf;
58
79
  }
@@ -61,8 +82,7 @@ const baseCss = (0, lit_2.css) `@charset "UTF-8";
61
82
  li.ProseMirror-selectednode {
62
83
  outline: none;
63
84
  }
64
-
65
- li.ProseMirror-selectednode:after {
85
+ li.ProseMirror-selectednode :after {
66
86
  content: "";
67
87
  position: absolute;
68
88
  left: -32px;
@@ -78,7 +98,6 @@ li.ProseMirror-selectednode:after {
78
98
  pointer-events: none;
79
99
  position: absolute;
80
100
  }
81
-
82
101
  .ProseMirror-gapcursor:after {
83
102
  content: "";
84
103
  display: block;
@@ -104,7 +123,6 @@ li.ProseMirror-selectednode:after {
104
123
  border: none;
105
124
  margin: 1em 0;
106
125
  }
107
-
108
126
  .ProseMirror-example-setup-style hr:after {
109
127
  content: "";
110
128
  display: block;
@@ -113,18 +131,6 @@ li.ProseMirror-selectednode:after {
113
131
  line-height: 2px;
114
132
  }
115
133
 
116
- .ProseMirror ul,
117
- .ProseMirror ol {
118
- padding-left: 30px;
119
- }
120
-
121
- .ProseMirror blockquote {
122
- padding-left: 1em;
123
- border-left: 3px solid #eee;
124
- margin-left: 0;
125
- margin-right: 0;
126
- }
127
-
128
134
  .ProseMirror-example-setup-style img {
129
135
  cursor: default;
130
136
  }
@@ -138,21 +144,18 @@ li.ProseMirror-selectednode:after {
138
144
  z-index: 11;
139
145
  box-shadow: -0.5px 2px 5px rgba(0, 0, 0, 0.2);
140
146
  }
141
-
142
147
  .ProseMirror-prompt h5 {
143
148
  margin: 0;
144
149
  font-weight: normal;
145
150
  font-size: 100%;
146
151
  color: #444;
147
152
  }
148
-
149
153
  .ProseMirror-prompt input[type=text],
150
154
  .ProseMirror-prompt textarea {
151
155
  background: #eee;
152
156
  border: none;
153
157
  outline: none;
154
158
  }
155
-
156
159
  .ProseMirror-prompt input[type=text] {
157
160
  padding: 0 4px;
158
161
  }
@@ -166,7 +169,6 @@ li.ProseMirror-selectednode:after {
166
169
  background: transparent;
167
170
  padding: 0;
168
171
  }
169
-
170
172
  .ProseMirror-prompt-close:after {
171
173
  content: "✕";
172
174
  font-size: 12px;
@@ -197,29 +199,6 @@ li.ProseMirror-selectednode:after {
197
199
  align-items: flex-end;
198
200
  }
199
201
 
200
- .ProseMirror p:last-child,
201
- .ProseMirror h1:last-child,
202
- .ProseMirror h2:last-child,
203
- .ProseMirror h3:last-child,
204
- .ProseMirror h4:last-child,
205
- .ProseMirror h5:last-child,
206
- .ProseMirror h6:last-child {
207
- margin-bottom: 2px;
208
- }
209
-
210
- .ProseMirror {
211
- padding: 6px 8px 2px 8px;
212
- line-height: 1.2;
213
- color: #274768;
214
- font-size: 14px;
215
- font-weight: 400;
216
- outline: none;
217
- }
218
-
219
- .ProseMirror p {
220
- margin-bottom: 1em;
221
- }
222
-
223
202
  .icure-input {
224
203
  background: #edf2f7;
225
204
  border-radius: 8px;
@@ -247,29 +226,22 @@ li.ProseMirror-selectednode:after {
247
226
  align-items: flex-start;
248
227
  }
249
228
  #editor.tokens-list .ProseMirror li, #editor.styled-tokens-list .ProseMirror li {
250
- display: inline-block;
229
+ display: flex;
230
+ flex-direction: row;
251
231
  border-radius: 8px;
252
232
  padding: 2px 4px;
253
233
  margin-right: 2px;
254
234
  background-color: #dadada;
255
235
  border-color: rgba(42, 61, 108, 0.44);
236
+ min-height: 20px;
256
237
  }
257
238
  #editor.tokens-list .ProseMirror li span, #editor.styled-tokens-list .ProseMirror li span {
258
- min-width: 26px;
259
239
  display: inline-block;
240
+ min-height: 18px;
260
241
  }
261
242
  #editor.tokens-list .ProseMirror li span br, #editor.styled-tokens-list .ProseMirror li span br {
262
243
  display: none;
263
244
  }
264
- #editor.tokens-list .ProseMirror li span:after:hover, #editor.styled-tokens-list .ProseMirror li span:after:hover {
265
- background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzAwMDAwMCIgZmlsbD0iIzAwMDAwMCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K") no-repeat center/16px;
266
- }
267
- #editor.tokens-list .ProseMirror li span:after, #editor.styled-tokens-list .ProseMirror li span:after {
268
- content: " ";
269
- min-width: 22px;
270
- background: transparent url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxu cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3 Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iIzg4ODg4OCIgZmlsbD0iIzg4ODg4OCIg d2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiPjxwYXRoIGQ9Ik0xNiw4YTEsMSwwLDAs MC0xLjQxNCwwTDEyLDEwLjU4Niw5LjQxNCw4QTEsMSwwLDAsMCw4LDkuNDE0TDEw LjU4NiwxMiw4LDE0LjU4NkExLDEsMCwwLDAsOS40MTQsMTZMMTIsMTMuNDE0LDE0 LjU4NiwxNkExLDEsMCwwLDAsMTYsMTQuNTg2TDEzLjQxNCwxMiwxNiw5LjQxNEEx LDEsMCwwLDAsMTYsOFoiLz48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwx MiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIs MTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48L3N2Zz4K") no-repeat center/16px;
271
- display: inline-block;
272
- }
273
245
  #editor.items-list .ProseMirror {
274
246
  display: flex;
275
247
  flex-direction: column;
@@ -305,66 +277,82 @@ h3 {
305
277
  margin-top: 0;
306
278
  }
307
279
 
308
- .extra {
309
- flex-shrink: 0;
280
+ .icure-input-metadata-container {
310
281
  display: flex;
311
- flex-flow: row nowrap;
312
- align-items: center;
313
- padding: 0 8px;
314
- transition: all 0.24s cubic-bezier(0.42, 0.01, 1, 0.62);
315
282
  }
316
-
317
- .extra > .info {
318
- color: #809ab4;
319
- font-size: 12px;
320
- width: 100%;
321
- height: auto;
322
- overflow: hidden;
323
- pointer-events: none;
324
- text-align: right;
283
+ .icure-input-metadata-container .icure-metadata-container {
284
+ display: flex;
285
+ flex-grow: 1;
286
+ padding: 0 4px;
287
+ border: 1px solid #DDE3E7;
288
+ border-left: none;
289
+ border-radius: 0 6px 6px 0;
290
+ outline: 0;
291
+ box-sizing: border-box;
325
292
  }
326
-
327
- .extra > .info > span {
328
- font-weight: 700;
293
+ .icure-input-metadata-container .icure-metadata-container__validationError {
294
+ border-color: red;
329
295
  }
330
296
 
331
- .extra .buttons-container {
297
+ .extra {
298
+ min-width: 20px;
299
+ width: auto;
300
+ height: 20px;
332
301
  position: relative;
333
- display: flex;
334
- height: 100%;
335
- flex-flow: row nowrap;
336
- align-items: center;
337
- justify-content: flex-end;
338
- width: 0;
339
- transition: all 0.24s cubic-bezier(0.14, 0.69, 0.87, 0.54);
302
+ transition: all 0.24s cubic-bezier(0.42, 0.01, 1, 0.62);
303
+ }
304
+ .extra:hover .info {
305
+ display: none;
340
306
  }
341
-
342
307
  .extra:hover .buttons-container .menu-container .btn {
343
308
  animation: slideIn 0.24s ease-in forwards;
344
309
  pointer-events: none;
345
310
  display: unset !important;
346
311
  }
347
-
348
- .extra.forced:hover .buttons-container .menu-container .btn {
349
- animation: none;
350
- pointer-events: all;
312
+ .extra.forced .info, .extra.forced .extra .info.hidden {
313
+ opacity: 0 !important;
314
+ z-index: 0 !important;
315
+ display: none;
351
316
  }
352
-
353
317
  .extra.forced .buttons-container .btn {
354
318
  opacity: 1 !important;
355
319
  display: unset !important;
356
320
  }
357
-
358
- .extra .buttons-container .btn.forced {
359
- opacity: 1 !important;
360
- display: unset !important;
321
+ .extra.forced:hover .buttons-container .menu-container .btn {
322
+ animation: none;
323
+ pointer-events: all;
361
324
  }
362
-
363
- .extra.forced .info, .extra .info.hidden {
364
- opacity: 0 !important;
365
- z-index: 0 !important;
325
+ .extra--metadataButtonsBar {
326
+ height: 100%;
327
+ display: flex;
328
+ align-items: center;
329
+ padding: 0 4px;
330
+ }
331
+ .extra .info {
332
+ color: #809ab4;
333
+ font-size: 15px;
334
+ width: 100%;
335
+ height: auto;
336
+ overflow: hidden;
337
+ pointer-events: none;
338
+ text-align: center;
339
+ }
340
+ .extra .info span {
341
+ font-weight: 700;
342
+ }
343
+ .extra .info.hidden {
344
+ display: none;
345
+ }
346
+ .extra .buttons-container {
347
+ display: flex;
348
+ height: 20px;
349
+ width: auto;
350
+ flex-flow: row nowrap;
351
+ align-items: center;
352
+ justify-content: flex-end;
353
+ transition: all 0.24s cubic-bezier(0.14, 0.69, 0.87, 0.54);
354
+ z-index: 1000;
366
355
  }
367
-
368
356
  .extra .buttons-container .btn {
369
357
  border: none;
370
358
  background: transparent;
@@ -374,32 +362,44 @@ h3 {
374
362
  opacity: 0;
375
363
  cursor: pointer;
376
364
  height: 20px;
377
- width: 10px;
378
365
  margin-left: 4px;
379
366
  margin-right: 4px;
380
367
  padding: 0;
381
368
  }
382
-
383
- .extra .buttons-container .menu-container:last-child .btn {
384
- margin-right: 0;
369
+ .extra .buttons-container .btn svg {
370
+ width: 15px;
371
+ height: 15px;
385
372
  }
386
-
387
373
  .extra .buttons-container .btn svg path {
388
374
  fill: #809ab4;
389
375
  }
390
-
376
+ .extra .buttons-container .btn.forced {
377
+ opacity: 1 !important;
378
+ display: unset !important;
379
+ }
391
380
  .extra .buttons-container .btn.forced svg path {
392
381
  fill: crimson !important;
393
382
  }
394
-
383
+ .extra .buttons-container .btn:focus, .extra .buttons-container .btn:focus-within {
384
+ border: none;
385
+ outline: none;
386
+ }
395
387
  .extra .buttons-container .btn:hover svg path {
396
388
  fill: #274768;
397
389
  }
398
-
390
+ .extra .buttons-container .menu-container .btn:hover::before {
391
+ content: "";
392
+ display: block;
393
+ border-color: #274768 transparent transparent transparent;
394
+ border-style: solid;
395
+ border-width: 4px;
396
+ position: absolute;
397
+ top: -6px;
398
+ }
399
399
  .extra .buttons-container .menu-container .btn:hover::after {
400
400
  content: attr(data-content);
401
401
  position: absolute;
402
- top: -22px;
402
+ top: -21px;
403
403
  height: 16px;
404
404
  left: 50%;
405
405
  transform: translateX(-50%);
@@ -415,21 +415,8 @@ h3 {
415
415
  font-size: 12px;
416
416
  line-height: 0;
417
417
  }
418
-
419
- .extra .buttons-container .btn:focus,
420
- .extra .buttons-container .btn:focus-within {
421
- border: none;
422
- outline: none;
423
- }
424
-
425
- .extra .buttons-container .menu-container .btn:hover::before {
426
- content: "";
427
- display: block;
428
- border-color: #274768 transparent transparent transparent;
429
- border-style: solid;
430
- border-width: 4px;
431
- position: absolute;
432
- top: -6px;
418
+ .extra .buttons-container .menu-container:last-child .btn {
419
+ margin-right: 0;
433
420
  }
434
421
 
435
422
  @keyframes slideIn {
@@ -449,15 +436,47 @@ h3 {
449
436
  align-items: center;
450
437
  height: fit-content;
451
438
  }
439
+ .menu-container .item {
440
+ height: 30px;
441
+ width: 100%;
442
+ background: transparent;
443
+ border-radius: 4px;
444
+ font-size: 14px;
445
+ color: #274768;
446
+ display: flex;
447
+ flex-flow: row nowrap;
448
+ align-items: center;
449
+ justify-content: flex-start;
450
+ box-shadow: none;
451
+ border: none;
452
+ white-space: nowrap;
453
+ overflow-x: hidden;
454
+ text-overflow: ellipsis;
455
+ }
456
+ .menu-container .item.existing {
457
+ background-color: #BFE8EA;
458
+ }
459
+ .menu-container .item.selected {
460
+ color: white;
461
+ background-color: #084B83;
462
+ }
463
+ .menu-container .item:hover {
464
+ background: #DCE7F2;
465
+ color: #274768;
466
+ font-weight: 500;
467
+ border-radius: 4px;
468
+ }
452
469
 
453
470
  .value-date-menu {
454
471
  width: unset !important;
455
472
  }
456
473
 
457
474
  .menu {
458
- display: block;
475
+ display: flex;
476
+ flex-direction: column;
477
+ gap: 2px;
459
478
  position: absolute;
460
- top: 20px;
479
+ top: 32px;
461
480
  right: -12px;
462
481
  z-index: 2;
463
482
  background: #fff;
@@ -499,56 +518,27 @@ h3 {
499
518
  }
500
519
 
501
520
  .menu-trigger:focus .menu {
502
- display: block;
503
- }
504
-
505
- .menu-container .item {
506
- height: 22px;
507
- width: 100%;
508
- background: transparent;
509
- border-radius: 4px;
510
- font-size: 14px;
511
- color: #274768;
512
521
  display: flex;
513
- flex-flow: row nowrap;
514
- align-items: center;
515
- justify-content: flex-start;
516
- box-shadow: none;
517
- border: none;
518
- white-space: nowrap;
519
- overflow-x: hidden;
520
- text-overflow: ellipsis;
521
- }
522
-
523
- .menu-container .item:hover {
524
- background: #f5f9fd;
525
- font-weight: 500;
526
- border-radius: 4px;
527
522
  }
528
523
 
529
524
  span {
530
525
  position: relative;
531
526
  z-index: 1;
532
527
  }
533
-
534
528
  span.date {
535
529
  margin-right: 1px;
536
530
  }
537
-
538
531
  span.time {
539
532
  margin-left: 1px;
540
533
  }
541
-
542
534
  span.measure {
543
535
  display: inline-block;
544
536
  margin-right: 1px;
545
537
  }
546
-
547
538
  span.unit {
548
539
  margin-left: 1px;
549
540
  display: inline-block;
550
541
  }
551
-
552
542
  span[data-content]:hover::after {
553
543
  position: absolute;
554
544
  content: attr(data-content);
@@ -560,7 +550,6 @@ span[data-content]:hover::after {
560
550
  left: 0px;
561
551
  padding: 0px 2px;
562
552
  }
563
-
564
553
  span[data-content]::before {
565
554
  position: absolute;
566
555
  content: "";
@@ -592,7 +581,6 @@ span[data-content]::before {
592
581
  cursor: pointer;
593
582
  border-radius: 0 2px 2px 0;
594
583
  }
595
-
596
584
  .companion:hover {
597
585
  font-weight: 700;
598
586
  background: hsl(202, 100%, 50%);
@@ -615,14 +603,19 @@ span[data-content]::before {
615
603
  background: white;
616
604
  box-shadow: 0 1.1px 1.1px rgba(0, 0, 0, 0.022), 0 2.7px 2.7px rgba(0, 0, 0, 0.032), 0 5px 5px rgba(0, 0, 0, 0.04), 0 8.9px 8.9px rgba(0, 0, 0, 0.048), 0 16.7px 16.7px rgba(0, 0, 0, 0.058), 0 40px 40px rgba(0, 0, 0, 0.08);
617
605
  }
618
-
619
606
  .suggestion-palette ul {
620
607
  white-space: nowrap;
621
608
  list-style-type: none;
622
609
  margin: 0;
623
610
  padding: 0;
624
611
  }
625
-
612
+ .suggestion-palette ul li:not(:first-child) svg.tab-icn,
613
+ .suggestion-palette ul li:not(.focused) svg.return-icn, .suggestion-palette ul.focused li:first-child svg.tab-icn {
614
+ height: 0;
615
+ width: 0;
616
+ transform: scale(0);
617
+ opacity: 0;
618
+ }
626
619
  .suggestion-palette ul li {
627
620
  padding: 0 8px;
628
621
  font-size: 11px;
@@ -634,6 +627,12 @@ span[data-content]::before {
634
627
  border-radius: 4px;
635
628
  color: rgb(39, 71, 104);
636
629
  }
630
+ .suggestion-palette ul li.focused {
631
+ background-color: rgb(237, 242, 247);
632
+ }
633
+ .suggestion-palette ul li.focused svg.return-icn {
634
+ animation: growIn 0.24s ease-in forwards;
635
+ }
637
636
  .suggestion-palette ul li svg {
638
637
  height: 12px;
639
638
  width: 12px;
@@ -644,23 +643,6 @@ span[data-content]::before {
644
643
  fill: rgb(128, 154, 180);
645
644
  }
646
645
 
647
- .suggestion-palette ul li:not(:first-child) svg.tab-icn,
648
- .suggestion-palette ul li:not(.focused) svg.return-icn,
649
- .suggestion-palette ul.focused li:first-child svg.tab-icn {
650
- height: 0;
651
- width: 0;
652
- transform: scale(0);
653
- opacity: 0;
654
- }
655
-
656
- .suggestion-palette ul li.focused {
657
- background-color: rgb(237, 242, 247);
658
- }
659
-
660
- .suggestion-palette ul li.focused svg.return-icn {
661
- animation: growIn 0.24s ease-in forwards;
662
- }
663
-
664
646
  @keyframes growIn {
665
647
  0% {
666
648
  transform: scale(0.5);
@@ -769,7 +751,6 @@ app-date-picker {
769
751
  -ms-user-select: none; /* IE 10 and IE 11 */
770
752
  user-select: none; /* Standard syntax */
771
753
  }
772
-
773
754
  .option:hover {
774
755
  color: #656565;
775
756
  background-color: #ededed;
@@ -797,13 +778,6 @@ app-date-picker {
797
778
  position: relative;
798
779
  }
799
780
 
800
- .icure-form {
801
- background-color: rgba(0, 0, 0, 0);
802
- display: grid;
803
- gap: 0 6px;
804
- grid-template-columns: repeat(24, 1fr);
805
- }
806
-
807
781
  .group {
808
782
  align-items: end;
809
783
  display: grid;
@@ -819,6 +793,12 @@ app-date-picker {
819
793
  background-color: #e7f0fd;
820
794
  }
821
795
 
796
+ .icure-form {
797
+ background-color: rgba(0, 0, 0, 0);
798
+ display: grid;
799
+ gap: 16px 6px;
800
+ grid-template-columns: repeat(24, 1fr);
801
+ }
822
802
  .icure-form hr {
823
803
  display: block;
824
804
  margin-top: 20px;
@@ -854,16 +834,22 @@ app-date-picker {
854
834
  }
855
835
 
856
836
  .icure-form-field {
857
- align-items: end;
858
837
  display: grid;
838
+ align-items: flex-start;
859
839
  }
860
840
 
861
841
  .error {
862
842
  color: red;
863
843
  font-size: 12px;
844
+ margin-top: 4px;
864
845
  }
865
846
 
866
- .icure-text-field > .icure-label, .icure-button-group > .icure-label {
847
+ .icure-text-field .icure-label-extra, .icure-button-group .icure-label-extra {
848
+ display: flex;
849
+ width: 100%;
850
+ gap: 12px;
851
+ }
852
+ .icure-text-field .icure-label, .icure-button-group .icure-label {
867
853
  z-index: 1;
868
854
  pointer-events: none;
869
855
  line-height: 1.4em;
@@ -876,9 +862,8 @@ app-date-picker {
876
862
  max-width: 85%;
877
863
  min-width: 0;
878
864
  }
879
- .icure-text-field > .icure-label.float, .icure-button-group > .icure-label.float {
880
- display: inline-block;
881
- height: 1.4em;
865
+ .icure-text-field .icure-label.float, .icure-button-group .icure-label.float {
866
+ display: flex;
882
867
  white-space: nowrap;
883
868
  text-overflow: ellipsis;
884
869
  overflow: hidden;
@@ -887,9 +872,6 @@ app-date-picker {
887
872
  .icure-text-field {
888
873
  position: relative;
889
874
  width: 100%;
890
- flex-direction: row;
891
- justify-content: stretch;
892
- align-items: center;
893
875
  }
894
876
  .icure-text-field > .icure-label {
895
877
  transition: transform 0.2s ease-out, color 0.2s ease-out;
@@ -911,12 +893,14 @@ app-date-picker {
911
893
  }
912
894
  .icure-text-field .icure-input,
913
895
  .icure-text-field .input-container {
914
- border-radius: 2px;
915
- padding: 0 8px;
896
+ padding: 8px;
916
897
  width: 100%;
917
898
  box-sizing: border-box;
918
899
  border-width: 1px;
919
900
  border-style: solid;
901
+ border-color: #DDE3E7;
902
+ border-radius: 2px;
903
+ box-sizing: border-box;
920
904
  outline: 0;
921
905
  font: inherit;
922
906
  font-size: 14px;
@@ -927,9 +911,15 @@ app-date-picker {
927
911
  position: relative;
928
912
  -webkit-appearance: none;
929
913
  background-color: #ffffff;
930
- border-color: red;
931
914
  color: #000000;
932
- box-sizing: border-box;
915
+ }
916
+ .icure-text-field .icure-input__validationError,
917
+ .icure-text-field .input-container__validationError {
918
+ border-color: red;
919
+ }
920
+ .icure-text-field .icure-input__withMetadata,
921
+ .icure-text-field .input-container__withMetadata {
922
+ border-radius: 6px 0 0 6px;
933
923
  }
934
924
  .icure-text-field .icure-input:focus, .icure-text-field .icure-input:focus-within,
935
925
  .icure-text-field .input-container:focus,
@@ -984,13 +974,13 @@ app-date-picker {
984
974
  color: #656565;
985
975
  opacity: 0.5;
986
976
  }
987
- .icure-text-field .icure-input .extra .buttons-container .btn svg path,
988
- .icure-text-field .input-container .extra .buttons-container .btn svg path {
977
+ .icure-text-field .icure-input .extra .btn svg path,
978
+ .icure-text-field .input-container .extra .btn svg path {
989
979
  fill: #656565;
990
980
  opacity: 0.5;
991
981
  }
992
- .icure-text-field .icure-input .extra .buttons-container .btn svg path:hover,
993
- .icure-text-field .input-container .extra .buttons-container .btn svg path:hover {
982
+ .icure-text-field .icure-input .extra .btn svg path:hover,
983
+ .icure-text-field .input-container .extra .btn svg path:hover {
994
984
  fill: #656565;
995
985
  opacity: 1;
996
986
  }
@@ -1004,6 +994,11 @@ input[type=radio] {
1004
994
  accent-color: #06a070;
1005
995
  }
1006
996
 
997
+ .icure-button-group {
998
+ display: flex;
999
+ flex-direction: column;
1000
+ gap: 4px;
1001
+ }
1007
1002
  .icure-button-group > div {
1008
1003
  display: grid;
1009
1004
  }