@nys-cui/cui-formpill 0.2.9 → 0.2.20

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 (41) hide show
  1. package/component-base/README.md +43 -0
  2. package/component-base/cui.jsonc +6 -0
  3. package/component-base/package.json +42 -0
  4. package/component-base/src/assets/scss/_button-menu.scss +270 -0
  5. package/component-base/src/assets/scss/_buttons.scss +200 -0
  6. package/component-base/src/assets/scss/_cui-asof.scss +86 -0
  7. package/component-base/src/assets/scss/_cui-formpill.scss +284 -0
  8. package/component-base/src/assets/scss/_cui-general.scss +19 -0
  9. package/component-base/src/assets/scss/_cui-message.scss +119 -0
  10. package/component-base/src/assets/scss/_cui-spinner.scss +27 -0
  11. package/component-base/src/assets/scss/_cui-tree.scss +136 -0
  12. package/component-base/src/assets/scss/_cui-widget.scss +128 -0
  13. package/component-base/src/assets/scss/_field-check-group.scss +296 -0
  14. package/component-base/src/assets/scss/_field-radio-group.scss +236 -0
  15. package/component-base/src/assets/scss/_fonts.scss +20 -0
  16. package/component-base/src/assets/scss/_globalNotes.scss +419 -0
  17. package/component-base/src/assets/scss/_grid.scss +489 -0
  18. package/component-base/src/assets/scss/_help.scss +46 -0
  19. package/component-base/src/assets/scss/_inputs.scss +1145 -0
  20. package/component-base/src/assets/scss/_modal.scss +56 -0
  21. package/component-base/src/assets/scss/_normalize.scss +3 -0
  22. package/component-base/src/assets/scss/_popovers.scss +119 -0
  23. package/component-base/src/assets/scss/_quick_lookup.scss +87 -0
  24. package/component-base/src/assets/scss/_sidebar-context.scss +896 -0
  25. package/component-base/src/assets/scss/_table.scss +702 -0
  26. package/component-base/src/assets/scss/_toast.scss +219 -0
  27. package/component-base/src/assets/scss/_utility.scss +64 -0
  28. package/component-base/src/assets/scss/_variables.scss +58 -0
  29. package/component-base/src/assets/scss/main.scss +451 -0
  30. package/component-base/src/assets/scss/normalize/_import-now.scss +11 -0
  31. package/component-base/src/assets/scss/normalize/_normalize-mixin.scss +570 -0
  32. package/component-base/src/assets/scss/normalize/_variables.scss +37 -0
  33. package/component-base/src/assets/scss/normalize/_vertical-rhythm.scss +63 -0
  34. package/component-base/src/assets/scss/readme.md +1 -0
  35. package/component-base/src/modules/dom.js +21 -0
  36. package/component-base/src/screens/index/cui.jsonc +3 -0
  37. package/component-base/src/screens/index/index.js +228 -0
  38. package/component-base/src/screens/index/index.tpl.html +32 -0
  39. package/component-base/src/spa.js +117 -0
  40. package/package.json +1 -1
  41. package/src/cui-formpill.js +452 -999
@@ -0,0 +1,419 @@
1
+ #globalNotes {
2
+
3
+ &::part(modal) {
4
+ min-width: 75vw;
5
+ max-width: 90vw;
6
+ max-height: 90vh;
7
+ }
8
+
9
+ &::part(modal-header) {
10
+ border: 0;
11
+ padding: 0;
12
+ }
13
+
14
+ cui-section {
15
+ margin-bottom: 0;
16
+ max-width: initial;
17
+
18
+ div[slot="section-contents"] {
19
+ margin: 0;
20
+ position: relative;
21
+
22
+ .close-icon {
23
+ background: rgba(0, 0, 0, 0);
24
+ border: 0;
25
+ border-radius: 32px;
26
+ display: block;
27
+ height: 32px;
28
+ position: absolute;
29
+ right: 10px;
30
+ width: 32px;
31
+ top: -55px;
32
+
33
+ cui-icon {
34
+ position: relative;
35
+
36
+ svg {
37
+ height: 24px;
38
+ left: -11px;
39
+ position: relative;
40
+ width: 24px;
41
+
42
+ line {
43
+ //fill: #a1a1a1 !important;
44
+ stroke: #a1a1a1 !important;
45
+ }
46
+
47
+ }
48
+ }
49
+
50
+ &:hover {
51
+ background: #ccc;
52
+ cui-icon {
53
+ svg {
54
+ line {
55
+ stroke: #787878 !important;
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ }
63
+
64
+ &::part(section-title) {
65
+ margin-top: 0;
66
+ }
67
+
68
+ &::part(root-section) {
69
+ box-shadow: initial;
70
+ }
71
+
72
+ .grid {
73
+ padding: 0 1em;
74
+ }
75
+
76
+ .grid.button-row {
77
+ cui-button {
78
+ button {
79
+ margin-bottom: 0;
80
+ }
81
+
82
+ & + cui-button {
83
+ margin-right: 0;
84
+ }
85
+ }
86
+ }
87
+
88
+ }
89
+
90
+ cui-form {
91
+ div[slot="form-contents"] {
92
+ margin: 0 1em;
93
+ }
94
+ }
95
+
96
+ .existing-notes {
97
+ border-top: 1px solid #CCC;
98
+ margin-top: 1em;
99
+ padding-top: 1em;
100
+
101
+ cui-section {
102
+ max-width: initial;
103
+
104
+ &::part(section-header),
105
+ &::part(root-section) {
106
+ border: 0;
107
+ }
108
+
109
+ &::part(section-header) {
110
+ margin-bottom: 10px;
111
+ }
112
+
113
+ .notes-list {
114
+ list-style-type: none;
115
+ margin: 0 1em;
116
+ padding: 0;
117
+
118
+ li {
119
+ .note {
120
+ display: flex;
121
+
122
+ .user-icon-container {
123
+ flex: 0 0 50px;
124
+
125
+ rpso-usericon {
126
+ display: flex;
127
+ justify-content: center;
128
+ margin-top: 7px;
129
+ }
130
+ }
131
+
132
+ .note-info {
133
+ border-bottom: 1px solid #CCC;
134
+ display: flex;
135
+ flex-direction: column;
136
+ flex: 1;
137
+ margin-bottom: 10px;
138
+ margin-left: 10px;
139
+ padding-bottom: 10px;
140
+ padding-left: 10px;
141
+ width: 100%;
142
+
143
+ .note-to-row {
144
+ padding-bottom: 10px;
145
+
146
+ span {
147
+ display: inline-block;
148
+ margin-right: 1em;
149
+
150
+ &.note-date {
151
+ font-weight: 600;
152
+ color: #A1A1A1;
153
+ }
154
+
155
+ }
156
+
157
+
158
+ }
159
+
160
+ .note-text {
161
+ p {
162
+ font-weight: 600;
163
+ }
164
+ }
165
+ }
166
+
167
+ }
168
+
169
+ &:last-child {
170
+ margin-bottom: 1.5em;
171
+
172
+ .note {
173
+ .note-info {
174
+ border: 0;
175
+ margin-bottom: 0;
176
+ padding-bottom: 0;
177
+ }
178
+ }
179
+
180
+ }
181
+ }
182
+ }
183
+
184
+ .no-notes {
185
+ font-size: 16px;
186
+ text-align: center;
187
+ margin-bottom: 2em;
188
+ }
189
+
190
+ }
191
+
192
+ }
193
+
194
+ }
195
+
196
+ #globalFinalist
197
+ {
198
+ &::part(modal) {
199
+ min-width: 30vw;
200
+ max-width: 100vw;
201
+ max-height: 90vh;
202
+ }
203
+
204
+ cui-section {
205
+ margin-bottom: 0;
206
+ max-width: initial;
207
+
208
+ div[slot="section-text"] {
209
+ position: relative;
210
+
211
+ .close-icon {
212
+ background: rgba(0,0,0,0);
213
+ border: 0;
214
+ border-radius: 32px;
215
+ display: block;
216
+ height: 32px;
217
+ position: absolute;
218
+ right: 10px;
219
+ width: 32px;
220
+ top: -55px;
221
+
222
+ cui-icon {
223
+ position: relative;
224
+
225
+ svg {
226
+ height: 24px;
227
+ left: -11px;
228
+ position: relative;
229
+ width: 24px;
230
+
231
+ line {
232
+ stroke: #a1a1a1 !important
233
+ }
234
+ }
235
+ }
236
+
237
+ &:hover {
238
+ background: #ccc;
239
+ cui-icon {
240
+ svg {
241
+ line {
242
+ stroke: #787878 !important;
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+
250
+ div[slot="section-contents"]
251
+ {
252
+ margin-bottom: 15px;
253
+ }
254
+ }
255
+ }
256
+
257
+ #shareDialog {
258
+ &::part(modal) {
259
+ min-width: 25vw;
260
+ max-height: 50vh;
261
+ }
262
+
263
+ .descRow {
264
+ margin-bottom: 10px;
265
+ display: flex;
266
+ flex-direction: column;
267
+ }
268
+ }
269
+
270
+ #saveOptions {
271
+ &::part(modal) {
272
+ min-width: 20vw;
273
+ width: fit-content;
274
+ // max-height: 90vh;
275
+ }
276
+
277
+ cui-text::part(label-wrapper) {
278
+ min-width: 0px;
279
+ }
280
+
281
+ #instructions {
282
+ padding-right: 5px;
283
+ }
284
+ }
285
+
286
+ #copyFrom {
287
+ &::part(modal) {
288
+ min-width: 40vw;
289
+ // max-height: 90vh;
290
+ }
291
+ }
292
+ #saveOptions,
293
+ #shareDialog,
294
+ #copyFrom
295
+ {
296
+ &::part(modal) {
297
+ overflow: visible;
298
+ display: block;
299
+ height: fit-content;
300
+ }
301
+
302
+ cui-section {
303
+ margin-bottom: 0;
304
+ max-width: initial;
305
+
306
+ div[slot="section-text"] {
307
+ position: relative;
308
+
309
+ .close-icon {
310
+ background: rgba(0,0,0,0);
311
+ border: 0;
312
+ border-radius: 32px;
313
+ display: block;
314
+ height: 32px;
315
+ position: absolute;
316
+ right: 10px;
317
+ width: 32px;
318
+ top: -55px;
319
+
320
+ cui-icon {
321
+ position: relative;
322
+
323
+ svg {
324
+ height: 24px;
325
+ left: -11px;
326
+ position: relative;
327
+ width: 24px;
328
+
329
+ line {
330
+ stroke: #a1a1a1 !important
331
+ }
332
+ }
333
+ }
334
+
335
+ &:hover {
336
+ background: #ccc;
337
+ cui-icon {
338
+ svg {
339
+ line {
340
+ stroke: #787878 !important;
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+
348
+ div[slot="section-contents"]
349
+ {
350
+ #instructions
351
+ {
352
+ margin-bottom: 10px;
353
+ margin-left: 5px;
354
+ }
355
+ }
356
+
357
+ &::part(root-section) {
358
+ box-shadow: unset;
359
+ }
360
+ }
361
+ }
362
+
363
+ // Prototype max width
364
+ @media screen and (min-width: 950px) {
365
+
366
+ #globalNotes {
367
+
368
+ &::part(modal) {
369
+ max-height: 50vh;
370
+ }
371
+
372
+ }
373
+ }
374
+
375
+ #extendSession {
376
+
377
+ div {
378
+
379
+ display:flex;
380
+ flex-direction:column;
381
+ align-items:center;
382
+ gap:10px;
383
+ padding-top:12px;
384
+ padding-inline:20px;
385
+ }
386
+ }
387
+
388
+ @media screen and (min-width: 1175px) {
389
+ #copyFrom,
390
+ #saveOptions,
391
+ #shareDialog {
392
+ cui-text::part(label-wrapper),
393
+ cui-radio-group::part(label-wrapper),
394
+ cui-listbox::part(label-wrapper)
395
+ {
396
+ min-width: 0px;
397
+ margin-left: 5px;
398
+ }
399
+
400
+ cui-listbox::part(label-wrapper)
401
+ {
402
+ flex-basis: unset;
403
+ }
404
+
405
+ .descRow {
406
+ flex-direction: row !important;
407
+
408
+ .shareDescLabel {
409
+ margin-left: 5px;
410
+ }
411
+
412
+ .shareDesc {
413
+ margin-left: 10px;
414
+ }
415
+ }
416
+
417
+
418
+ }
419
+ }