@mmlogic/components 0.3.6 → 0.3.8

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 (161) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  2. package/dist/cjs/index-BPj2cBXs.js +1570 -0
  3. package/dist/cjs/index.cjs.js +66 -0
  4. package/dist/cjs/loader.cjs.js +13 -0
  5. package/dist/cjs/mosterdcomponents.cjs.js +25 -0
  6. package/dist/cjs/mrd-boolean-field_20.cjs.entry.js +3961 -0
  7. package/dist/cjs/quill-DmFfnC1f.js +16272 -0
  8. package/dist/collection/collection-manifest.json +32 -0
  9. package/dist/collection/components/mrd-boolean-field/mrd-boolean-field.js +199 -0
  10. package/dist/collection/components/mrd-boolean-field/mrd-boolean-field.scss +77 -0
  11. package/dist/collection/components/mrd-currency-field/mrd-currency-field.js +248 -0
  12. package/dist/collection/components/mrd-currency-field/mrd-currency-field.scss +100 -0
  13. package/dist/collection/components/mrd-date-field/mrd-date-field.js +206 -0
  14. package/dist/collection/components/mrd-date-field/mrd-date-field.scss +66 -0
  15. package/dist/collection/components/mrd-datetime-field/mrd-datetime-field.js +240 -0
  16. package/dist/collection/components/mrd-datetime-field/mrd-datetime-field.scss +66 -0
  17. package/dist/collection/components/mrd-email-field/mrd-email-field.js +230 -0
  18. package/dist/collection/components/mrd-email-field/mrd-email-field.scss +69 -0
  19. package/dist/{mosterdcomponents/mrd-field.entry.js → collection/components/mrd-field/mrd-field.js} +179 -28
  20. package/dist/collection/components/mrd-field/mrd-field.scss +118 -0
  21. package/dist/collection/components/mrd-file-field/mrd-file-field.js +341 -0
  22. package/dist/collection/components/mrd-file-field/mrd-file-field.scss +153 -0
  23. package/dist/{mosterdcomponents/mrd-form.entry.js → collection/components/mrd-form/mrd-form.js} +308 -31
  24. package/dist/collection/components/mrd-form/mrd-form.scss +148 -0
  25. package/dist/collection/components/mrd-hyperlink-field/mrd-hyperlink-field.js +291 -0
  26. package/dist/collection/components/mrd-hyperlink-field/mrd-hyperlink-field.scss +91 -0
  27. package/dist/collection/components/mrd-image-field/mrd-image-field.js +356 -0
  28. package/dist/collection/components/mrd-image-field/mrd-image-field.scss +190 -0
  29. package/dist/{mosterdcomponents/mrd-layout-section.entry.js → collection/components/mrd-layout-section/mrd-layout-section.js} +420 -33
  30. package/dist/collection/components/mrd-layout-section/mrd-layout-section.scss +445 -0
  31. package/dist/collection/components/mrd-list-field/mrd-list-field.js +313 -0
  32. package/dist/collection/components/mrd-list-field/mrd-list-field.scss +109 -0
  33. package/dist/collection/components/mrd-longtext-field/mrd-longtext-field.js +227 -0
  34. package/dist/collection/components/mrd-longtext-field/mrd-longtext-field.scss +78 -0
  35. package/dist/collection/components/mrd-number-field/mrd-number-field.js +316 -0
  36. package/dist/collection/components/mrd-number-field/mrd-number-field.scss +77 -0
  37. package/dist/collection/components/mrd-relation-field/mrd-relation-field.js +707 -0
  38. package/dist/collection/components/mrd-relation-field/mrd-relation-field.scss +266 -0
  39. package/dist/collection/components/mrd-secret-field/mrd-secret-field.js +229 -0
  40. package/dist/collection/components/mrd-secret-field/mrd-secret-field.scss +73 -0
  41. package/dist/{mosterdcomponents/mrd-table.entry.js → collection/components/mrd-table/mrd-table.js} +394 -32
  42. package/dist/collection/components/mrd-table/mrd-table.scss +809 -0
  43. package/dist/collection/components/mrd-text-field/mrd-text-field.js +227 -0
  44. package/dist/collection/components/mrd-text-field/mrd-text-field.scss +69 -0
  45. package/dist/collection/components/mrd-textarea-field/mrd-textarea-field.js +267 -0
  46. package/dist/collection/components/mrd-textarea-field/mrd-textarea-field.scss +79 -0
  47. package/dist/collection/components/mrd-time-field/mrd-time-field.js +206 -0
  48. package/dist/collection/components/mrd-time-field/mrd-time-field.scss +66 -0
  49. package/dist/collection/dev/api.js +145 -0
  50. package/dist/collection/dev/app.js +890 -0
  51. package/dist/collection/dev/auth.js +156 -0
  52. package/dist/collection/dev/example-data.js +403 -0
  53. package/dist/collection/dev/sprites.svg +55 -0
  54. package/dist/collection/index.js +1 -0
  55. package/dist/collection/types/client-layout.js +64 -0
  56. package/dist/collection/types/index.js +1 -0
  57. package/dist/{mosterdcomponents/cell-renderer-CbRwLOo8.js → collection/utils/cell-renderer.js} +3 -9
  58. package/dist/{mosterdcomponents/format-BAfsQfy1.js → collection/utils/format.js} +7 -12
  59. package/dist/{mosterdcomponents/i18n-hoGGKbKU.js → collection/utils/i18n.js} +1 -6
  60. package/dist/{mosterdcomponents/validation-ixb43cqU.js → collection/utils/validation.js} +5 -12
  61. package/dist/components/client-layout.js +1 -0
  62. package/dist/components/format.js +1 -0
  63. package/dist/components/i18n.js +1 -0
  64. package/dist/components/index.js +1 -0
  65. package/dist/components/mrd-boolean-field.js +1 -0
  66. package/dist/components/mrd-boolean-field2.js +1 -0
  67. package/dist/components/mrd-currency-field.js +1 -0
  68. package/dist/components/mrd-currency-field2.js +1 -0
  69. package/dist/components/mrd-date-field.js +1 -0
  70. package/dist/components/mrd-date-field2.js +1 -0
  71. package/dist/components/mrd-datetime-field.js +1 -0
  72. package/dist/components/mrd-datetime-field2.js +1 -0
  73. package/dist/components/mrd-email-field.js +1 -0
  74. package/dist/components/mrd-email-field2.js +1 -0
  75. package/dist/components/mrd-field.js +1 -0
  76. package/dist/components/mrd-field2.js +1 -0
  77. package/dist/components/mrd-file-field.js +1 -0
  78. package/dist/components/mrd-file-field2.js +1 -0
  79. package/dist/components/mrd-form.js +1 -0
  80. package/dist/components/mrd-hyperlink-field.js +1 -0
  81. package/dist/components/mrd-hyperlink-field2.js +1 -0
  82. package/dist/components/mrd-image-field.js +1 -0
  83. package/dist/components/mrd-image-field2.js +1 -0
  84. package/dist/components/mrd-layout-section.js +1 -0
  85. package/dist/components/mrd-list-field.js +1 -0
  86. package/dist/components/mrd-list-field2.js +1 -0
  87. package/dist/components/mrd-longtext-field.js +1 -0
  88. package/dist/components/mrd-longtext-field2.js +1 -0
  89. package/dist/components/mrd-number-field.js +1 -0
  90. package/dist/components/mrd-number-field2.js +1 -0
  91. package/dist/components/mrd-relation-field.js +1 -0
  92. package/dist/components/mrd-relation-field2.js +1 -0
  93. package/dist/components/mrd-secret-field.js +1 -0
  94. package/dist/components/mrd-secret-field2.js +1 -0
  95. package/dist/components/mrd-table.js +1 -0
  96. package/dist/components/mrd-table2.js +1 -0
  97. package/dist/components/mrd-text-field.js +1 -0
  98. package/dist/components/mrd-text-field2.js +1 -0
  99. package/dist/components/mrd-textarea-field.js +1 -0
  100. package/dist/components/mrd-textarea-field2.js +1 -0
  101. package/dist/components/mrd-time-field.js +1 -0
  102. package/dist/components/mrd-time-field2.js +1 -0
  103. package/dist/components/quill.js +1 -0
  104. package/dist/components/validation.js +1 -0
  105. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  106. package/dist/esm/index-_tsCCkAi.js +1561 -0
  107. package/dist/{mosterdcomponents/client-layout-D88nn5zf.js → esm/index.js} +1 -4
  108. package/dist/esm/loader.js +11 -0
  109. package/dist/esm/mosterdcomponents.js +21 -0
  110. package/dist/esm/mrd-boolean-field_20.entry.js +3940 -0
  111. package/dist/{mosterdcomponents/quill-C9pgw_k-.js → esm/quill-CiuCgGz_.js} +1347 -16232
  112. package/dist/index.cjs.js +1 -0
  113. package/dist/index.js +1 -0
  114. package/dist/mosterdcomponents/index-6yQUNVww.js.map +1 -0
  115. package/dist/mosterdcomponents/index.esm.js +1 -5
  116. package/dist/mosterdcomponents/mosterdcomponents.css +1 -180
  117. package/dist/mosterdcomponents/mosterdcomponents.esm.js +1 -50
  118. package/dist/mosterdcomponents/p-7bfaee51.entry.js +1 -0
  119. package/dist/mosterdcomponents/p-CiuCgGz_.js +1 -0
  120. package/dist/mosterdcomponents/p-DQuL1Twl.js +1 -0
  121. package/dist/mosterdcomponents/p-_tsCCkAi.js +2 -0
  122. package/package.json +1 -1
  123. package/dist/mosterdcomponents/index-B_tPFIvS.js +0 -4585
  124. package/dist/mosterdcomponents/index-B_tPFIvS.js.map +0 -1
  125. package/dist/mosterdcomponents/index-I5SuYv7a.js +0 -4
  126. package/dist/mosterdcomponents/mrd-boolean-field.entry.js +0 -37
  127. package/dist/mosterdcomponents/mrd-boolean-field.entry.js.map +0 -1
  128. package/dist/mosterdcomponents/mrd-currency-field.entry.js +0 -67
  129. package/dist/mosterdcomponents/mrd-currency-field.entry.js.map +0 -1
  130. package/dist/mosterdcomponents/mrd-date-field.entry.js +0 -46
  131. package/dist/mosterdcomponents/mrd-date-field.entry.js.map +0 -1
  132. package/dist/mosterdcomponents/mrd-datetime-field.entry.js +0 -78
  133. package/dist/mosterdcomponents/mrd-datetime-field.entry.js.map +0 -1
  134. package/dist/mosterdcomponents/mrd-email-field.entry.js +0 -50
  135. package/dist/mosterdcomponents/mrd-email-field.entry.js.map +0 -1
  136. package/dist/mosterdcomponents/mrd-field.entry.js.map +0 -1
  137. package/dist/mosterdcomponents/mrd-file-field.entry.js +0 -108
  138. package/dist/mosterdcomponents/mrd-file-field.entry.js.map +0 -1
  139. package/dist/mosterdcomponents/mrd-form.entry.js.map +0 -1
  140. package/dist/mosterdcomponents/mrd-hyperlink-field.entry.js +0 -87
  141. package/dist/mosterdcomponents/mrd-hyperlink-field.entry.js.map +0 -1
  142. package/dist/mosterdcomponents/mrd-image-field.entry.js +0 -122
  143. package/dist/mosterdcomponents/mrd-image-field.entry.js.map +0 -1
  144. package/dist/mosterdcomponents/mrd-layout-section.entry.js.map +0 -1
  145. package/dist/mosterdcomponents/mrd-list-field.entry.js +0 -107
  146. package/dist/mosterdcomponents/mrd-list-field.entry.js.map +0 -1
  147. package/dist/mosterdcomponents/mrd-longtext-field.entry.js +0 -47
  148. package/dist/mosterdcomponents/mrd-longtext-field.entry.js.map +0 -1
  149. package/dist/mosterdcomponents/mrd-number-field.entry.js +0 -87
  150. package/dist/mosterdcomponents/mrd-number-field.entry.js.map +0 -1
  151. package/dist/mosterdcomponents/mrd-relation-field.entry.js +0 -267
  152. package/dist/mosterdcomponents/mrd-relation-field.entry.js.map +0 -1
  153. package/dist/mosterdcomponents/mrd-secret-field.entry.js +0 -49
  154. package/dist/mosterdcomponents/mrd-secret-field.entry.js.map +0 -1
  155. package/dist/mosterdcomponents/mrd-table.entry.js.map +0 -1
  156. package/dist/mosterdcomponents/mrd-text-field.entry.js +0 -47
  157. package/dist/mosterdcomponents/mrd-text-field.entry.js.map +0 -1
  158. package/dist/mosterdcomponents/mrd-textarea-field.entry.js +0 -86
  159. package/dist/mosterdcomponents/mrd-textarea-field.entry.js.map +0 -1
  160. package/dist/mosterdcomponents/mrd-time-field.entry.js +0 -46
  161. package/dist/mosterdcomponents/mrd-time-field.entry.js.map +0 -1
@@ -0,0 +1,445 @@
1
+ .mrd-layout-section {
2
+ font-family: var(--mrd-font-family);
3
+ font-size: var(--mrd-font-size-base);
4
+ color: var(--mrd-color-neutral-800);
5
+ }
6
+
7
+ .mrd-layout-section__field {
8
+ display: grid;
9
+ grid-template-columns: 200px 1fr;
10
+ align-items: baseline;
11
+ gap: 0 var(--mrd-space-2);
12
+ padding: var(--mrd-space-1) 0;
13
+ }
14
+
15
+ .mrd-layout-section__field-label {
16
+ font-size: var(--mrd-font-size-xs);
17
+ font-weight: var(--mrd-font-weight-normal);
18
+ color: var(--mrd-color-neutral-500);
19
+ padding-top: 1px;
20
+ }
21
+
22
+ .mrd-layout-section__field-value {
23
+ font-size: var(--mrd-font-size-sm);
24
+ font-weight: var(--mrd-font-weight-medium);
25
+ color: var(--mrd-color-neutral-800);
26
+ word-break: break-word;
27
+ display: inline-flex;
28
+ align-items: center;
29
+ gap: var(--mrd-space-1);
30
+ }
31
+
32
+ .mrd-layout-section__history-wrap {
33
+ position: relative;
34
+ display: inline-flex;
35
+ align-items: center;
36
+ }
37
+
38
+ .mrd-layout-section__history-btn {
39
+ display: inline-flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: 1.25rem;
43
+ height: 1.25rem;
44
+ padding: 0;
45
+ background: transparent;
46
+ border: none;
47
+ border-radius: var(--mrd-border-radius-sm);
48
+ color: var(--mrd-color-neutral-400);
49
+ cursor: pointer;
50
+ flex-shrink: 0;
51
+ transition: color var(--mrd-transition-fast), background-color var(--mrd-transition-fast);
52
+ }
53
+
54
+ .mrd-layout-section__history-btn:hover {
55
+ color: var(--mrd-color-neutral-700);
56
+ background-color: var(--mrd-color-neutral-100);
57
+ }
58
+
59
+ .mrd-layout-section__history-btn:focus {
60
+ outline: none;
61
+ box-shadow: var(--mrd-shadow-focus);
62
+ }
63
+
64
+ .mrd-layout-section__history-icon {
65
+ width: 0.875rem;
66
+ height: 0.875rem;
67
+ }
68
+
69
+ .mrd-layout-section__history-popover {
70
+ position: absolute;
71
+ top: calc(100% + 0.25rem);
72
+ left: 0;
73
+ min-width: 24rem;
74
+ max-width: 24rem;
75
+ background-color: var(--mrd-color-white);
76
+ border: var(--mrd-border-width) solid var(--mrd-border-color);
77
+ border-radius: var(--mrd-border-radius-md);
78
+ box-shadow: var(--mrd-shadow-md);
79
+ padding: var(--mrd-space-1) 0;
80
+ z-index: var(--mrd-z-dropdown);
81
+ }
82
+
83
+ .mrd-layout-section__history-entry {
84
+ font-family: var(--mrd-font-family);
85
+ font-size: var(--mrd-font-size-sm);
86
+ font-weight: var(--mrd-font-weight-normal);
87
+ color: var(--mrd-color-neutral-700);
88
+ padding: var(--mrd-space-2) var(--mrd-space-3);
89
+ line-height: var(--mrd-line-height-normal);
90
+ }
91
+
92
+ .mrd-layout-section__history-entry:not(:last-child) {
93
+ border-bottom: var(--mrd-border-width) solid var(--mrd-color-neutral-100);
94
+ }
95
+
96
+ .mrd-layout-section__field-header {
97
+ font-size: var(--mrd-font-size-2xl);
98
+ font-weight: var(--mrd-font-weight-bold);
99
+ color: var(--mrd-color-neutral-900);
100
+ margin: 0 0 var(--mrd-space-4) 0;
101
+ padding: 0;
102
+ }
103
+
104
+ .mrd-layout-section__header {
105
+ font-size: var(--mrd-font-size-xl);
106
+ font-weight: var(--mrd-font-weight-semibold);
107
+ color: var(--mrd-color-neutral-800);
108
+ margin: var(--mrd-space-4) 0 var(--mrd-space-2) 0;
109
+ padding: 0;
110
+ }
111
+
112
+ .mrd-layout-section__text {
113
+ font-size: var(--mrd-font-size-base);
114
+ color: var(--mrd-color-neutral-700);
115
+ line-height: var(--mrd-line-height-relaxed);
116
+ margin: var(--mrd-space-2) 0;
117
+ }
118
+
119
+ .mrd-layout-section__navigate {
120
+ display: inline-flex;
121
+ align-items: center;
122
+ gap: var(--mrd-space-2);
123
+ padding: var(--mrd-space-2) var(--mrd-space-3);
124
+ background: none;
125
+ border: 1px solid var(--mrd-color-neutral-300);
126
+ border-radius: var(--mrd-border-radius);
127
+ font-family: var(--mrd-font-family);
128
+ font-size: var(--mrd-font-size-sm);
129
+ color: var(--mrd-color-primary);
130
+ cursor: pointer;
131
+ margin: var(--mrd-space-2) 0;
132
+ }
133
+
134
+ .mrd-layout-section__navigate:hover {
135
+ background-color: var(--mrd-color-primary-light);
136
+ border-color: var(--mrd-color-primary);
137
+ }
138
+
139
+ .mrd-layout-section__link {
140
+ color: var(--mrd-color-primary);
141
+ text-decoration: none;
142
+ }
143
+
144
+ .mrd-layout-section__link:hover {
145
+ text-decoration: underline;
146
+ }
147
+
148
+ .mrd-layout-section__relation-link {
149
+ background: none;
150
+ border: none;
151
+ padding: 0;
152
+ font-family: var(--mrd-font-family);
153
+ font-size: var(--mrd-font-size-sm);
154
+ font-weight: var(--mrd-font-weight-semibold);
155
+ color: var(--mrd-color-primary);
156
+ cursor: pointer;
157
+ text-align: left;
158
+ }
159
+
160
+ .mrd-layout-section__relation-link:hover {
161
+ text-decoration: underline;
162
+ }
163
+
164
+ .mrd-layout-section__download-link {
165
+ display: inline-flex;
166
+ align-items: center;
167
+ gap: var(--mrd-space-1);
168
+ background: none;
169
+ border: none;
170
+ padding: 0;
171
+ font-family: var(--mrd-font-family);
172
+ font-size: var(--mrd-font-size-sm);
173
+ color: var(--mrd-color-primary);
174
+ cursor: pointer;
175
+ text-align: left;
176
+ }
177
+
178
+ .mrd-layout-section__download-link:hover {
179
+ text-decoration: underline;
180
+ color: var(--mrd-color-primary-dark);
181
+ }
182
+
183
+ .mrd-layout-section__file-icon {
184
+ flex-shrink: 0;
185
+ width: 1rem;
186
+ height: 1rem;
187
+ }
188
+
189
+ .mrd-layout-section__boolean--true {
190
+ color: var(--mrd-color-success);
191
+ font-weight: var(--mrd-font-weight-semibold);
192
+ }
193
+
194
+ .mrd-layout-section__boolean--false {
195
+ color: var(--mrd-color-neutral-400);
196
+ }
197
+
198
+ .mrd-layout-section__field--block {
199
+ grid-template-columns: 1fr;
200
+ }
201
+
202
+ .mrd-layout-section__badge {
203
+ display: inline-block;
204
+ font-size: var(--mrd-font-size-xs);
205
+ font-weight: var(--mrd-font-weight-medium);
206
+ padding: 2px var(--mrd-space-3);
207
+ border-radius: 10px;
208
+ }
209
+
210
+ .mrd-layout-section__badge-dot-row {
211
+ display: inline-flex;
212
+ align-items: center;
213
+ gap: var(--mrd-space-2);
214
+ }
215
+
216
+ .mrd-layout-section__badge-dot {
217
+ display: inline-block;
218
+ width: 10px;
219
+ height: 10px;
220
+ border-radius: 50%;
221
+ flex-shrink: 0;
222
+ }
223
+
224
+ .mrd-layout-section__secret-masked {
225
+ font-family: var(--mrd-font-family);
226
+ font-size: var(--mrd-font-size-base);
227
+ color: var(--mrd-label-color);
228
+ letter-spacing: 0.15em;
229
+ user-select: none;
230
+ pointer-events: none;
231
+ }
232
+
233
+ .mrd-layout-section__pre {
234
+ font-family: var(--mrd-font-family-mono);
235
+ font-size: var(--mrd-font-size-xs);
236
+ background-color: var(--mrd-color-neutral-50);
237
+ border: 1px solid var(--mrd-color-neutral-200);
238
+ border-radius: var(--mrd-border-radius);
239
+ padding: var(--mrd-space-3);
240
+ margin: 0;
241
+ max-height: calc(10 * 1.5 * var(--mrd-font-size-xs));
242
+ overflow-x: auto;
243
+ overflow-y: auto;
244
+ white-space: pre-wrap;
245
+ word-break: break-word;
246
+ }
247
+
248
+ .mrd-layout-section__group {
249
+ margin: var(--mrd-space-4) 0;
250
+ }
251
+
252
+ .mrd-layout-section__group-title {
253
+ font-size: var(--mrd-font-size-sm);
254
+ font-weight: var(--mrd-font-weight-semibold);
255
+ color: var(--mrd-color-neutral-500);
256
+ margin: 0 0 var(--mrd-space-2) 0;
257
+ padding-bottom: 0;
258
+ text-transform: uppercase;
259
+ letter-spacing: 0.05em;
260
+ }
261
+
262
+ .mrd-layout-section__related-view {
263
+ margin: var(--mrd-space-4) 0;
264
+ }
265
+
266
+ .mrd-layout-section__related-view-title {
267
+ font-size: var(--mrd-font-size-lg);
268
+ font-weight: var(--mrd-font-weight-semibold);
269
+ color: var(--mrd-color-neutral-800);
270
+ margin: 0 0 var(--mrd-space-3) 0;
271
+ }
272
+
273
+ .mrd-layout-section__search {
274
+ position: relative;
275
+ margin: var(--mrd-space-2) 0;
276
+ }
277
+
278
+ .mrd-layout-section__search-wrap {
279
+ position: relative;
280
+ }
281
+
282
+ .mrd-layout-section__search-icon {
283
+ position: absolute;
284
+ left: var(--mrd-input-padding-x);
285
+ top: 50%;
286
+ transform: translateY(-50%);
287
+ width: 1rem;
288
+ height: 1rem;
289
+ color: var(--mrd-color-neutral-400);
290
+ pointer-events: none;
291
+ }
292
+
293
+ .mrd-layout-section__search-input {
294
+ display: block;
295
+ width: 100%;
296
+ height: var(--mrd-input-height);
297
+ padding: var(--mrd-input-padding-y) var(--mrd-input-padding-x) var(--mrd-input-padding-y) calc(var(--mrd-input-padding-x) + 1rem + var(--mrd-space-2));
298
+ font-family: var(--mrd-font-family);
299
+ font-size: var(--mrd-font-size-base);
300
+ color: var(--mrd-input-color);
301
+ background-color: var(--mrd-input-bg);
302
+ border: var(--mrd-border-width) solid var(--mrd-border-color);
303
+ border-radius: var(--mrd-border-radius);
304
+ outline: none;
305
+ appearance: none;
306
+ box-sizing: border-box;
307
+ }
308
+
309
+ .mrd-layout-section__search-input:focus {
310
+ border-color: var(--mrd-border-color-focus);
311
+ box-shadow: var(--mrd-shadow-focus);
312
+ }
313
+
314
+ .mrd-layout-section__search-input::placeholder {
315
+ color: var(--mrd-input-placeholder-color);
316
+ }
317
+
318
+ .mrd-layout-section__search-results {
319
+ position: absolute;
320
+ top: 100%;
321
+ left: 0;
322
+ right: 0;
323
+ background-color: var(--mrd-color-white);
324
+ border: 1px solid var(--mrd-color-neutral-300);
325
+ border-top: none;
326
+ border-radius: 0 0 var(--mrd-border-radius) var(--mrd-border-radius);
327
+ box-shadow: var(--mrd-shadow-sm);
328
+ z-index: 100;
329
+ max-height: 300px;
330
+ overflow-y: auto;
331
+ list-style: none;
332
+ margin: 0;
333
+ padding: var(--mrd-space-1) 0;
334
+ }
335
+
336
+ .mrd-layout-section__search-result {
337
+ margin: 0;
338
+ padding: 0;
339
+ }
340
+
341
+ .mrd-layout-section__search-result-btn {
342
+ display: flex;
343
+ flex-direction: column;
344
+ width: 100%;
345
+ padding: var(--mrd-space-2) var(--mrd-space-3);
346
+ background: none;
347
+ border: none;
348
+ text-align: left;
349
+ cursor: pointer;
350
+ font-family: var(--mrd-font-family);
351
+ }
352
+
353
+ .mrd-layout-section__search-result-btn:hover {
354
+ background-color: var(--mrd-color-primary-light);
355
+ }
356
+
357
+ .mrd-layout-section__search-result-label {
358
+ font-size: var(--mrd-font-size-sm);
359
+ font-weight: var(--mrd-font-weight-medium);
360
+ color: var(--mrd-color-neutral-800);
361
+ }
362
+
363
+ .mrd-layout-section__search-result-desc {
364
+ font-size: var(--mrd-font-size-xs);
365
+ color: var(--mrd-color-neutral-500);
366
+ margin-top: var(--mrd-space-1);
367
+ }
368
+
369
+ .mrd-layout-section__image-thumb-btn {
370
+ background: none;
371
+ border: none;
372
+ padding: 0;
373
+ cursor: pointer;
374
+ display: inline-block;
375
+ border-radius: var(--mrd-border-radius);
376
+ overflow: hidden;
377
+ line-height: 0;
378
+ }
379
+
380
+ .mrd-layout-section__image-thumb-btn:hover .mrd-layout-section__image-thumb {
381
+ opacity: 0.85;
382
+ }
383
+
384
+ .mrd-layout-section__image-thumb {
385
+ display: block;
386
+ max-width: 160px;
387
+ max-height: 100px;
388
+ border-radius: var(--mrd-border-radius);
389
+ object-fit: cover;
390
+ transition: opacity 0.15s;
391
+ }
392
+
393
+ .mrd-layout-section__modal-backdrop {
394
+ position: fixed;
395
+ inset: 0;
396
+ background: rgba(0, 0, 0, 0.6);
397
+ z-index: 300;
398
+ display: flex;
399
+ align-items: center;
400
+ justify-content: center;
401
+ }
402
+
403
+ .mrd-layout-section__modal {
404
+ position: relative;
405
+ background: #fff;
406
+ border-radius: var(--mrd-border-radius);
407
+ padding: var(--mrd-space-3);
408
+ max-width: min(90vw, 900px);
409
+ max-height: 90vh;
410
+ display: flex;
411
+ align-items: center;
412
+ justify-content: center;
413
+ box-shadow: var(--mrd-shadow-lg);
414
+ }
415
+
416
+ .mrd-layout-section__modal-close {
417
+ position: absolute;
418
+ top: var(--mrd-space-2);
419
+ right: var(--mrd-space-2);
420
+ background: rgba(0, 0, 0, 0.5);
421
+ border: none;
422
+ border-radius: 50%;
423
+ width: 28px;
424
+ height: 28px;
425
+ display: flex;
426
+ align-items: center;
427
+ justify-content: center;
428
+ color: #fff;
429
+ cursor: pointer;
430
+ font-size: var(--mrd-font-size-sm);
431
+ line-height: 1;
432
+ z-index: 1;
433
+ }
434
+
435
+ .mrd-layout-section__modal-close:hover {
436
+ background: rgba(0, 0, 0, 0.8);
437
+ }
438
+
439
+ .mrd-layout-section__modal-image {
440
+ display: block;
441
+ max-width: 100%;
442
+ max-height: calc(90vh - 2rem);
443
+ border-radius: var(--mrd-border-radius);
444
+ object-fit: contain;
445
+ }