@nys-cui/cui-formpill 0.2.10 → 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 -1000
@@ -0,0 +1,219 @@
1
+ cui-toaster {
2
+
3
+ &::part(toaster) {
4
+ padding: 0 5px;
5
+ }
6
+
7
+ }
8
+
9
+ cui-toast {
10
+
11
+ &::part(cui-toast) {
12
+ box-shadow: rgba(0, 0, 0, .75) 1px 1px 2px 0px;
13
+ padding: 12px 56px 12px 36px;
14
+ }
15
+
16
+ &::part(cui-toast-icon) {
17
+ color: #FFF;
18
+ left: 12px;
19
+ }
20
+
21
+ &::part(cui-toast-close) {
22
+ background-image: url(../images/message-error.svg);
23
+ background-size: 18px;
24
+ right: 15px;
25
+ top: 50%;
26
+ }
27
+
28
+ &::part(cui-toast-timer) {
29
+ height: 32px;
30
+ width: 32px;
31
+ top: calc(50% + 3px);
32
+ }
33
+
34
+ &::part(time-slot) {
35
+ height: 32px;
36
+ width: 16px;
37
+ }
38
+
39
+ &::part(timer-lt),
40
+ &::part(timer-rt) {
41
+ height: 18px;
42
+ width: 18px;
43
+ margin-left: -13px;
44
+ border-width: 4px;
45
+ }
46
+
47
+ p {
48
+ color: #FFF;
49
+ margin-left: 10px !important;
50
+ }
51
+
52
+ cui-icon {
53
+ svg {
54
+ display: block;
55
+ height: 24px;
56
+ width: 24px;
57
+ }
58
+ }
59
+
60
+ &.toast-warning {
61
+ cui-icon {
62
+ svg {
63
+ path {
64
+ stroke: #222;
65
+ }
66
+ }
67
+ }
68
+
69
+ p {
70
+ color: #222;
71
+ }
72
+ }
73
+
74
+ &.toast-info {
75
+ cui-icon {
76
+ svg {
77
+ path {
78
+ stroke: #FFF;
79
+
80
+ &#dot {
81
+ fill: #FFF;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ //will remove after using more elegant solution down the line
89
+ &.toast-info,
90
+ &.toast-success,
91
+ &.toast-error {
92
+ &::part(cui-toast-close) {
93
+ background-image: url(../images/message-error-white.svg);
94
+ }
95
+ }
96
+ }
97
+
98
+
99
+
100
+ cui-notification-toaster {
101
+
102
+ &::part(toaster) {
103
+ padding: 0 5px;
104
+ }
105
+
106
+ }
107
+
108
+ cui-notification-toast {
109
+
110
+ &::part(cui-notification) {
111
+ box-shadow: rgba(0, 0, 0, .75) 1px 1px 2px 0px;
112
+ padding: 15px 56px 16px 50px;
113
+ }
114
+
115
+ &::part(cui-notification-icon) {
116
+ color: #FFF;
117
+ left: 12px;
118
+ }
119
+
120
+ &::part(cui-notification-close) {
121
+ background-image: url(../images/close.svg);
122
+ background-size: 22px;
123
+ right: 10px;
124
+ top: 20px;
125
+ }
126
+
127
+ &::part(cui-notification-timer) {
128
+ height: 48px;
129
+ width: 32px;
130
+ top: 31px;
131
+ }
132
+
133
+ &::part(time-slot) {
134
+ height: 32px;
135
+ width: 16px;
136
+ }
137
+
138
+ &::part(timer-lt),
139
+ &::part(timer-rt) {
140
+ height: 18px;
141
+ width: 18px;
142
+ margin-left: -13px;
143
+ border-width: 4px;
144
+ }
145
+
146
+ p {
147
+ color: #a1a1a1;
148
+
149
+ &.cui-notification-time {
150
+ margin-top: 20px;
151
+ }
152
+ }
153
+
154
+
155
+ &.notification-toast-warning {
156
+ cui-icon {
157
+ svg {
158
+ fill: rgb(51, 153, 102);
159
+ display: block;
160
+ height: 34px;
161
+ width: 34px;
162
+ }
163
+ }
164
+ }
165
+
166
+ &.notification-toast-info {
167
+ cui-icon {
168
+ svg {
169
+ fill: #397dbb;
170
+ display: block;
171
+ height: 34px;
172
+ width: 34px;
173
+ }
174
+ }
175
+ }
176
+
177
+ &.notification-toast-success {
178
+ cui-icon {
179
+ svg {
180
+ fill: rgb(51, 153, 102);
181
+ display: block;
182
+ height: 34px;
183
+ width: 34px;
184
+ }
185
+ }
186
+ }
187
+
188
+ &.notification-toast-error {
189
+ cui-icon {
190
+ svg {
191
+ fill: #bd4e4e;
192
+ display: block;
193
+ height: 34px;
194
+ width: 34px;
195
+ }
196
+ }
197
+ }
198
+
199
+ &.notification-toast-share {
200
+ cui-icon {
201
+ svg {
202
+ fill: #397dbb;
203
+ display: block;
204
+ height: 34px;
205
+ width: 34px;
206
+ margin-left: -2px;
207
+ }
208
+ }
209
+ }
210
+
211
+ //will remove after using more elegant solution down the line
212
+ &.notification-toast-info,
213
+ &.notification-toast-success,
214
+ &.notification-toast-error {
215
+ &::part(cui-notification-close) {
216
+ background-image: url(../images/close.svg);
217
+ }
218
+ }
219
+ }
@@ -0,0 +1,64 @@
1
+ .no-margin {
2
+ margin: 0 !important;
3
+ }
4
+
5
+ .no-margin-top {
6
+ margin-top: 0 !important;
7
+ }
8
+
9
+ .no-margin-bottom {
10
+ margin-bottom: 0 !important;
11
+ }
12
+
13
+ .no-margin-right {
14
+ margin-right: 0 !important;
15
+ }
16
+ .no-margin-left {
17
+ margin-left: 0 !important;
18
+ }
19
+
20
+ .hidden {
21
+ display: none;
22
+ }
23
+
24
+ .cui-hide-from-screen{
25
+
26
+ text-indent: -9999em;
27
+
28
+ white-space: nowrap;
29
+
30
+ overflow: hidden;
31
+
32
+ display: inline-block;
33
+
34
+ }
35
+
36
+ .caret-container{
37
+ display:flex;
38
+ gap: 6px;
39
+ justify-content: center;
40
+ }
41
+
42
+ .hide-label{
43
+
44
+ &::part(label-wrapper) {
45
+ display:none;
46
+ }
47
+ }
48
+
49
+ .vcr-width{
50
+ @media screen and (min-width: 1175px){
51
+ &::part(label-wrapper) {
52
+ min-width: auto;
53
+ max-width: max-content;
54
+ }
55
+
56
+ }
57
+
58
+ }
59
+
60
+ .print-key{
61
+ display:flex;
62
+ align-items: center;
63
+
64
+ }
@@ -0,0 +1,58 @@
1
+ // Generic Colors
2
+ $black: #000;
3
+ $charcoal: #333;
4
+ $white: #FFF;
5
+
6
+ // Style Guild Colors
7
+ $defaultBackground: #F6F6F6;
8
+ $activeRegionBackground: $white;
9
+ $contextBackground: #EDEDED;
10
+ $contextBorderColor: #8C8C8C;
11
+ $defaultFooterBackground: #7FA9AE;
12
+
13
+ // Page
14
+ $pageTitleTextColor: #A1A1A1;
15
+ $pageTitleIconColor: #A1A1A1;
16
+ $pageTextColor: $charcoal;
17
+ $pageHoverColor: #787878;
18
+
19
+ // Sections
20
+ $sectionBackground: $activeRegionBackground;
21
+ $sectionHeaderBorderColor: #CCC;
22
+ $sectionHeaderButtonHoverColor: #CCC;
23
+ $sectionHeaderTextColor: #A1A1A1;
24
+ $sectionHeaderIconColor: #A1A1A1;
25
+ $sectionShadowBoxColor: rgba(0, 0, 0, 0.2);
26
+ $sectionShadowBoxX: 0;
27
+ $sectionShadowBoxY: 1px;
28
+ $sectionShadowBoxBlur: 2px;
29
+
30
+ // Buttons
31
+ $buttonBorderRadius: 5px;
32
+ $primaryButtonBackground: #397DBB;
33
+ $primaryButtonTextColor: #FFF;
34
+ $secondaryButtonBackground: #F6F3F4;
35
+ $secondaryButtonBorderColor: #A1A1A1;
36
+ $secondaryButtonTextColor: #333;
37
+
38
+ // Table
39
+ $tableBorderColor: #A1A1A1;
40
+ $tableHeaderBackground: #CCCCCC;
41
+ $tableBodyBackgroundColorEven: #FFF;
42
+ $tableBodyBackgroundColorOdd: #EBEBEB;
43
+ $tableBodyBackgroundColorEditable: #FFF;
44
+ $tableBodyBackgroundColorUneditable: #EBEBEB;
45
+ $tableBodyTextColor: #333;
46
+
47
+ // Inputs
48
+ $inputBorderColor: #8C8C8C;
49
+ $inputBorderRadius: 5px;
50
+ $inputLabelTextColor: #333333;
51
+
52
+ // Menus
53
+ $menuSeperatorColor: #DDD;
54
+ $menuHeaderColor: #A1A1A1;
55
+
56
+ // Messaging Colors
57
+ $errorColor: #F06359;
58
+ $successColor: #339966;