@adcops/autocore-react 3.0.34 → 3.0.36

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 (173) hide show
  1. package/dist/assets/BlocklyLogo.js +1 -9
  2. package/dist/assets/Distance.js +1 -5
  3. package/dist/assets/JogLong.js +1 -3
  4. package/dist/assets/JogMedium.js +1 -3
  5. package/dist/assets/JogShort.js +1 -3
  6. package/dist/assets/PythonLogo.js +1 -21
  7. package/dist/assets/Rotation3D.js +1 -3
  8. package/dist/assets/RotationCcw.js +1 -10
  9. package/dist/assets/RotationCcwA.js +1 -16
  10. package/dist/assets/RotationCcwB.js +1 -16
  11. package/dist/assets/RotationCcwC.js +1 -16
  12. package/dist/assets/RotationCw.js +1 -10
  13. package/dist/assets/RotationCwA.js +1 -16
  14. package/dist/assets/RotationCwB.js +1 -16
  15. package/dist/assets/RotationCwC.js +1 -16
  16. package/dist/assets/Run.js +1 -3
  17. package/dist/assets/Speed.js +1 -5
  18. package/dist/assets/SpeedFast.js +1 -3
  19. package/dist/assets/SpeedMedium.js +1 -3
  20. package/dist/assets/SpeedNone.js +1 -3
  21. package/dist/assets/SpeedSlow.js +1 -3
  22. package/dist/assets/Walk.js +1 -3
  23. package/dist/assets/index.js +1 -22
  24. package/dist/components/BlocklyEditor.css +71 -2
  25. package/dist/components/BlocklyEditor.js +1 -508
  26. package/dist/components/CodeEditor.js +1 -108
  27. package/dist/components/FileList.js +1 -218
  28. package/dist/components/FileSelect.js +1 -63
  29. package/dist/components/FitText.js +1 -13
  30. package/dist/components/Indicator.js +1 -113
  31. package/dist/components/IndicatorButton.js +1 -187
  32. package/dist/components/IndicatorRect.js +1 -93
  33. package/dist/components/JogPanel.js +1 -295
  34. package/dist/components/Lamp.js +1 -161
  35. package/dist/components/Osk.js +1 -125
  36. package/dist/components/OskDialog.js +1 -128
  37. package/dist/components/ProgressBarWithValue.js +1 -18
  38. package/dist/components/TextInput.js +1 -139
  39. package/dist/components/ToggleGroup.js +1 -204
  40. package/dist/components/ValueDisplay.js +1 -160
  41. package/dist/components/ValueIndicator.js +1 -38
  42. package/dist/components/ValueInput.js +1 -158
  43. package/dist/core/ActionMode.js +1 -18
  44. package/dist/core/EventEmitterContext.js +1 -252
  45. package/dist/core/IndicatorButtonState.js +1 -9
  46. package/dist/core/IndicatorColor.js +1 -36
  47. package/dist/core/MaskPatterns.js +1 -80
  48. package/dist/core/NumerableTypes.js +1 -10
  49. package/dist/core/PositionContext.js +1 -24
  50. package/dist/core/UniqueId.js +1 -32
  51. package/dist/core/ValueSimulator.js +1 -233
  52. package/dist/core/hoc.js +1 -44
  53. package/dist/hooks/adsHooks.js +1 -253
  54. package/dist/hooks/commandHooks.js +1 -252
  55. package/dist/hooks/index.js +1 -10
  56. package/dist/hooks/useScaledValue.js +1 -86
  57. package/dist/hub/CommandMessage.js +1 -9
  58. package/dist/hub/HubBase.js +1 -310
  59. package/dist/hub/HubSimulate.js +1 -46
  60. package/dist/hub/HubTauri.js +1 -130
  61. package/dist/hub/HubWebSocket.js +1 -240
  62. package/dist/hub/index.js +1 -57
  63. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-Italic-VariableFont_wght.ttf +0 -0
  64. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf +0 -0
  65. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf +0 -0
  66. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Regular.woff2 +0 -0
  67. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2 +0 -0
  68. package/dist/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf +0 -0
  69. package/dist/themes/adc-dark/blue/theme.css +7097 -0
  70. package/dist/themes/adc-dark/blue/theme.css.map +1 -0
  71. package/package.json +8 -2
  72. package/src/components/BlocklyEditor.css +71 -2
  73. package/src/themes/adc-dark/_extensions.scss +166 -0
  74. package/src/themes/adc-dark/_variables.scss +913 -0
  75. package/src/themes/adc-dark/blue/_fonts.scss +24 -0
  76. package/src/themes/adc-dark/blue/adc_theme.scss +31 -0
  77. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-Italic-VariableFont_wght.ttf +0 -0
  78. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf +0 -0
  79. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf +0 -0
  80. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-Regular.woff2 +0 -0
  81. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-RegularItalic.woff2 +0 -0
  82. package/src/themes/adc-dark/blue/fonts/AtkinsonHyperlegibleNext-VariableFont_wght.ttf +0 -0
  83. package/src/themes/adc-dark/blue/theme.scss +14 -0
  84. package/src/themes/theme-base/_colors.scss +18 -0
  85. package/src/themes/theme-base/_common.scss +75 -0
  86. package/src/themes/theme-base/_components.scss +111 -0
  87. package/src/themes/theme-base/_mixins.scss +243 -0
  88. package/src/themes/theme-base/components/button/_button.scss +644 -0
  89. package/src/themes/theme-base/components/button/_speeddial.scss +91 -0
  90. package/src/themes/theme-base/components/button/_splitbutton.scss +359 -0
  91. package/src/themes/theme-base/components/data/_carousel.scss +39 -0
  92. package/src/themes/theme-base/components/data/_datascroller.scss +47 -0
  93. package/src/themes/theme-base/components/data/_datatable.scss +389 -0
  94. package/src/themes/theme-base/components/data/_dataview.scss +47 -0
  95. package/src/themes/theme-base/components/data/_filter.scss +138 -0
  96. package/src/themes/theme-base/components/data/_orderlist.scss +86 -0
  97. package/src/themes/theme-base/components/data/_organizationchart.scss +50 -0
  98. package/src/themes/theme-base/components/data/_paginator.scss +91 -0
  99. package/src/themes/theme-base/components/data/_picklist.scss +74 -0
  100. package/src/themes/theme-base/components/data/_timeline.scss +38 -0
  101. package/src/themes/theme-base/components/data/_tree.scss +184 -0
  102. package/src/themes/theme-base/components/data/_treetable.scss +431 -0
  103. package/src/themes/theme-base/components/file/_fileupload.scss +41 -0
  104. package/src/themes/theme-base/components/input/_autocomplete.scss +95 -0
  105. package/src/themes/theme-base/components/input/_calendar.scss +251 -0
  106. package/src/themes/theme-base/components/input/_cascadeselect.scss +107 -0
  107. package/src/themes/theme-base/components/input/_checkbox.scss +181 -0
  108. package/src/themes/theme-base/components/input/_chips.scss +102 -0
  109. package/src/themes/theme-base/components/input/_colorpicker.scss +18 -0
  110. package/src/themes/theme-base/components/input/_dropdown.scss +252 -0
  111. package/src/themes/theme-base/components/input/_editor.scss +122 -0
  112. package/src/themes/theme-base/components/input/_iconfield.scss +10 -0
  113. package/src/themes/theme-base/components/input/_inputgroup.scss +74 -0
  114. package/src/themes/theme-base/components/input/_inputicon.scss +15 -0
  115. package/src/themes/theme-base/components/input/_inputnumber.scss +5 -0
  116. package/src/themes/theme-base/components/input/_inputotp.scss +10 -0
  117. package/src/themes/theme-base/components/input/_inputswitch.scss +100 -0
  118. package/src/themes/theme-base/components/input/_inputtext.scss +101 -0
  119. package/src/themes/theme-base/components/input/_listbox.scss +139 -0
  120. package/src/themes/theme-base/components/input/_mention.scss +31 -0
  121. package/src/themes/theme-base/components/input/_multiselect.scss +278 -0
  122. package/src/themes/theme-base/components/input/_password.scss +33 -0
  123. package/src/themes/theme-base/components/input/_radiobutton.scss +170 -0
  124. package/src/themes/theme-base/components/input/_rating.scss +81 -0
  125. package/src/themes/theme-base/components/input/_selectbutton.scss +50 -0
  126. package/src/themes/theme-base/components/input/_slider.scss +49 -0
  127. package/src/themes/theme-base/components/input/_togglebutton.scss +99 -0
  128. package/src/themes/theme-base/components/input/_treeselect.scss +151 -0
  129. package/src/themes/theme-base/components/input/_tristatecheckbox.scss +46 -0
  130. package/src/themes/theme-base/components/menu/_breadcrumb.scss +42 -0
  131. package/src/themes/theme-base/components/menu/_contextmenu.scss +39 -0
  132. package/src/themes/theme-base/components/menu/_dock.scss +109 -0
  133. package/src/themes/theme-base/components/menu/_megamenu.scss +141 -0
  134. package/src/themes/theme-base/components/menu/_menu.scss +33 -0
  135. package/src/themes/theme-base/components/menu/_menubar.scss +216 -0
  136. package/src/themes/theme-base/components/menu/_panelmenu.scss +153 -0
  137. package/src/themes/theme-base/components/menu/_slidemenu.scss +60 -0
  138. package/src/themes/theme-base/components/menu/_steps.scss +57 -0
  139. package/src/themes/theme-base/components/menu/_tabmenu.scss +50 -0
  140. package/src/themes/theme-base/components/menu/_tieredmenu.scss +43 -0
  141. package/src/themes/theme-base/components/messages/_inlinemessage.scss +69 -0
  142. package/src/themes/theme-base/components/messages/_message.scss +107 -0
  143. package/src/themes/theme-base/components/messages/_toast.scss +100 -0
  144. package/src/themes/theme-base/components/misc/_avatar.scss +34 -0
  145. package/src/themes/theme-base/components/misc/_badge.scss +77 -0
  146. package/src/themes/theme-base/components/misc/_blockui.scss +0 -0
  147. package/src/themes/theme-base/components/misc/_chip.scss +39 -0
  148. package/src/themes/theme-base/components/misc/_inplace.scss +17 -0
  149. package/src/themes/theme-base/components/misc/_metergroup.scss +81 -0
  150. package/src/themes/theme-base/components/misc/_progressbar.scss +17 -0
  151. package/src/themes/theme-base/components/misc/_scrolltop.scss +25 -0
  152. package/src/themes/theme-base/components/misc/_skeleton.scss +8 -0
  153. package/src/themes/theme-base/components/misc/_tag.scss +40 -0
  154. package/src/themes/theme-base/components/misc/_terminal.scss +12 -0
  155. package/src/themes/theme-base/components/multimedia/_galleria.scss +153 -0
  156. package/src/themes/theme-base/components/multimedia/_image.scss +54 -0
  157. package/src/themes/theme-base/components/overlay/_confirmpopup.scss +72 -0
  158. package/src/themes/theme-base/components/overlay/_dialog.scss +78 -0
  159. package/src/themes/theme-base/components/overlay/_overlaypanel.scss +64 -0
  160. package/src/themes/theme-base/components/overlay/_sidebar.scss +23 -0
  161. package/src/themes/theme-base/components/overlay/_tooltip.scss +33 -0
  162. package/src/themes/theme-base/components/panel/_accordion.scss +118 -0
  163. package/src/themes/theme-base/components/panel/_card.scss +30 -0
  164. package/src/themes/theme-base/components/panel/_divider.scss +31 -0
  165. package/src/themes/theme-base/components/panel/_fieldset.scss +47 -0
  166. package/src/themes/theme-base/components/panel/_panel.scss +47 -0
  167. package/src/themes/theme-base/components/panel/_scrollpanel.scss +10 -0
  168. package/src/themes/theme-base/components/panel/_splitter.scss +23 -0
  169. package/src/themes/theme-base/components/panel/_stepper.scss +136 -0
  170. package/src/themes/theme-base/components/panel/_tabview.scss +147 -0
  171. package/src/themes/theme-base/components/panel/_toolbar.scss +11 -0
  172. package/tools/build-themes.cjs +66 -0
  173. package/tools/copy-distribution-files.cjs +20 -16
@@ -0,0 +1,389 @@
1
+ .p-datatable {
2
+ .p-paginator-top {
3
+ border-width: $tableTopPaginatorBorderWidth;
4
+ border-radius: 0;
5
+ }
6
+
7
+ .p-paginator-bottom {
8
+ border-width: $tableBottomPaginatorBorderWidth;
9
+ border-radius: 0;
10
+ }
11
+
12
+ .p-datatable-header {
13
+ background: $tableHeaderBg;
14
+ color: $tableHeaderTextColor;
15
+ border: $tableHeaderBorder;
16
+ border-width: $tableHeaderBorderWidth;
17
+ padding: $tableHeaderPadding;
18
+ font-weight: $tableHeaderFontWeight;
19
+ }
20
+
21
+ .p-datatable-footer {
22
+ background: $tableFooterBg;
23
+ color: $tableFooterTextColor;
24
+ border: $tableFooterBorder;
25
+ border-width: $tableFooterBorderWidth;
26
+ padding: $tableFooterPadding;
27
+ font-weight: $tableFooterFontWeight;
28
+ }
29
+
30
+ .p-datatable-thead > tr > th {
31
+ text-align: $tableCellContentAlignment;
32
+ padding: $tableHeaderCellPadding;
33
+ border: $tableHeaderCellBorder;
34
+ border-width: $tableHeaderCellBorderWidth;
35
+ font-weight: $tableHeaderCellFontWeight;
36
+ color: $tableHeaderCellTextColor;
37
+ background: $tableHeaderCellBg;
38
+ transition: $listItemTransition;
39
+ }
40
+
41
+ .p-datatable-tfoot > tr > td {
42
+ text-align: $tableCellContentAlignment;
43
+ padding: $tableFooterCellPadding;
44
+ border: $tableFooterCellBorder;
45
+ border-width: $tableFooterCellBorderWidth;
46
+ font-weight: $tableFooterCellFontWeight;
47
+ color: $tableFooterCellTextColor;
48
+ background: $tableFooterCellBg;
49
+ }
50
+
51
+ .p-sortable-column {
52
+ .p-sortable-column-icon {
53
+ color: $tableHeaderCellIconColor;
54
+ margin-left: $inlineSpacing;
55
+ }
56
+
57
+ .p-sortable-column-badge {
58
+ border-radius: 50%;
59
+ height: $tableSortableColumnBadgeSize;
60
+ min-width: $tableSortableColumnBadgeSize;
61
+ line-height: $tableSortableColumnBadgeSize;
62
+ color: $highlightTextColor;
63
+ background: $highlightBg;
64
+ margin-left: $inlineSpacing;
65
+ }
66
+
67
+ &:not(.p-highlight):not(.p-sortable-disabled):hover {
68
+ background: $tableHeaderCellHoverBg;
69
+ color: $tableHeaderCellTextHoverColor;
70
+
71
+ .p-sortable-column-icon {
72
+ color: $tableHeaderCellIconHoverColor;
73
+ }
74
+ }
75
+
76
+ &.p-highlight {
77
+ background: $tableHeaderCellHighlightBg;
78
+ color: $tableHeaderCellHighlightTextColor;
79
+
80
+ .p-sortable-column-icon {
81
+ color: $tableHeaderCellHighlightTextColor;
82
+ }
83
+
84
+ &:not(.p-sortable-disabled):hover {
85
+ background: $tableHeaderCellHighlightHoverBg;
86
+ color: $tableHeaderCellHighlightTextColor;
87
+
88
+ .p-sortable-column-icon {
89
+ color: $tableHeaderCellHighlightTextColor;
90
+ }
91
+ }
92
+ }
93
+
94
+ &:focus-visible {
95
+ box-shadow: $inputListItemFocusShadow;
96
+ outline: 0 none;
97
+ }
98
+ }
99
+
100
+ .p-datatable-tbody {
101
+ > tr {
102
+ background: $tableBodyRowBg;
103
+ color: $tableBodyRowTextColor;
104
+ transition: $listItemTransition;
105
+
106
+ > td {
107
+ text-align: $tableCellContentAlignment;
108
+ border: $tableBodyCellBorder;
109
+ border-width: $tableBodyCellBorderWidth;
110
+ padding: $tableBodyCellPadding;
111
+
112
+ .p-row-toggler,
113
+ .p-row-editor-init,
114
+ .p-row-editor-save,
115
+ .p-row-editor-cancel {
116
+ @include action-icon();
117
+ }
118
+
119
+ .p-row-editor-save {
120
+ margin-right: $inlineSpacing;
121
+ }
122
+
123
+ > .p-column-title {
124
+ font-weight: $tableHeaderCellFontWeight;
125
+ }
126
+
127
+ &.p-highlight {
128
+ background: $highlightBg;
129
+ color: $highlightTextColor;
130
+ }
131
+ }
132
+
133
+ &.p-highlight {
134
+ background: $highlightBg;
135
+ color: $highlightTextColor;
136
+ }
137
+
138
+ &.p-highlight-contextmenu {
139
+ outline: 0.15rem solid $focusOutlineColor;
140
+ outline-offset: -0.15rem;
141
+ }
142
+
143
+ &.p-datatable-dragpoint-top > td {
144
+ box-shadow: inset 0 2px 0 0 $highlightBg;
145
+ }
146
+
147
+ &.p-datatable-dragpoint-bottom > td {
148
+ box-shadow: inset 0 -2px 0 0 $highlightBg;
149
+ }
150
+ }
151
+ }
152
+
153
+ &.p-datatable-selectable {
154
+ .p-datatable-tbody > tr.p-selectable-row {
155
+ &:not(.p-highlight):not(.p-datatable-emptymessage):hover {
156
+ background: $tableBodyRowHoverBg;
157
+ color: $tableBodyRowTextHoverColor;
158
+ }
159
+
160
+ &:focus-visible {
161
+ outline: .15rem solid $focusOutlineColor;
162
+ outline-offset: -.15rem;
163
+ }
164
+ }
165
+ }
166
+
167
+ &.p-datatable-selectable-cell {
168
+ .p-datatable-tbody > tr.p-selectable-row {
169
+ & > td.p-selectable-cell {
170
+ &:not(.p-highlight):hover {
171
+ background: $tableBodyRowHoverBg;
172
+ color: $tableBodyRowTextHoverColor;
173
+ }
174
+
175
+ &:focus-visible {
176
+ outline: .15rem solid $focusOutlineColor;
177
+ outline-offset: -.15rem;
178
+ }
179
+ }
180
+ }
181
+ }
182
+
183
+ &.p-datatable-hoverable-rows {
184
+ .p-datatable-tbody > tr:not(.p-highlight):not(.p-datatable-emptymessage):hover {
185
+ background: $tableBodyRowHoverBg;
186
+ color: $tableBodyRowTextHoverColor;
187
+ }
188
+ }
189
+
190
+ .p-column-resizer-helper {
191
+ background: $tableResizerHelperBg;
192
+ }
193
+
194
+ .p-datatable-scrollable-header,
195
+ .p-datatable-scrollable-footer {
196
+ background: $panelHeaderBg;
197
+ }
198
+
199
+ &.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table,
200
+ &.p-datatable-scrollable > .p-datatable-wrapper > .p-virtualscroller > .p-datatable-table {
201
+ > .p-datatable-thead,
202
+ > .p-datatable-tfoot {
203
+ background-color: $tableHeaderCellBg;
204
+ }
205
+ }
206
+
207
+ .p-datatable-loading-icon {
208
+ font-size: $loadingIconFontSize;
209
+ &.p-icon {
210
+ width: $loadingIconFontSize;
211
+ height: $loadingIconFontSize;
212
+ }
213
+ }
214
+
215
+ &.p-datatable-gridlines {
216
+ .p-datatable-header {
217
+ border-width: 1px 1px 0 1px;
218
+ }
219
+
220
+ .p-datatable-footer {
221
+ border-width: 0 1px 1px 1px;
222
+ }
223
+
224
+ .p-paginator-top {
225
+ border-width: 0 1px 0 1px;
226
+ }
227
+
228
+ .p-paginator-bottom {
229
+ border-width: 0 1px 1px 1px;
230
+ }
231
+
232
+ .p-datatable-thead {
233
+ > tr {
234
+ > th {
235
+ border-width: 1px 0 1px 1px;
236
+
237
+ &:last-child {
238
+ border-width: 1px;
239
+ }
240
+ }
241
+ }
242
+ }
243
+
244
+ .p-datatable-tbody {
245
+ > tr {
246
+ > td {
247
+ border-width: 1px 0 0 1px;
248
+
249
+ &:last-child {
250
+ border-width: 1px 1px 0 1px;
251
+ }
252
+ }
253
+
254
+ &:last-child {
255
+ > td {
256
+ border-width: 1px 0 1px 1px;
257
+
258
+ &:last-child {
259
+ border-width: 1px;
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+
266
+ .p-datatable-tfoot {
267
+ > tr {
268
+ > td {
269
+ border-width: 1px 0 1px 1px;
270
+
271
+ &:last-child {
272
+ border-width: 1px 1px 1px 1px;
273
+ }
274
+ }
275
+ }
276
+ }
277
+
278
+ .p-datatable-thead + .p-datatable-tfoot {
279
+ > tr {
280
+ > td {
281
+ border-width: 0 0 1px 1px;
282
+
283
+ &:last-child {
284
+ border-width: 0 1px 1px 1px;
285
+ }
286
+ }
287
+ }
288
+ }
289
+
290
+ &:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody {
291
+ > tr {
292
+ > td {
293
+ border-width: 0 0 1px 1px;
294
+
295
+ &:last-child {
296
+ border-width: 0 1px 1px 1px;
297
+ }
298
+ }
299
+ }
300
+ }
301
+
302
+ &:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody {
303
+ > tr {
304
+ &:last-child {
305
+ > td {
306
+ border-width: 0 0 0 1px;
307
+
308
+ &:last-child {
309
+ border-width: 0 1px 0 1px;
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+
317
+ &.p-datatable-striped {
318
+ .p-datatable-tbody {
319
+ > tr.p-row-odd {
320
+ background: $tableBodyRowEvenBg;
321
+
322
+ &.p-highlight {
323
+ background: $highlightBg;
324
+ color: $highlightTextColor;
325
+
326
+ .p-row-toggler {
327
+ color: $highlightTextColor;
328
+
329
+ &:hover {
330
+ color: $highlightTextColor;
331
+ }
332
+ }
333
+ }
334
+
335
+ & + .p-row-expanded {
336
+ background: $tableBodyRowEvenBg;
337
+ }
338
+ }
339
+ }
340
+ }
341
+
342
+ &.p-datatable-sm {
343
+ .p-datatable-header {
344
+ @include scaledPadding($tableHeaderPadding, $tableScaleSM);
345
+ }
346
+
347
+ .p-datatable-thead > tr > th {
348
+ @include scaledPadding($tableHeaderCellPadding, $tableScaleSM);
349
+ }
350
+
351
+ .p-datatable-tbody > tr > td {
352
+ @include scaledPadding($tableBodyCellPadding, $tableScaleSM);
353
+ }
354
+
355
+ .p-datatable-tfoot > tr > td {
356
+ @include scaledPadding($tableFooterPadding, $tableScaleSM);
357
+ }
358
+
359
+ .p-datatable-footer {
360
+ @include scaledPadding($tableFooterPadding, $tableScaleSM);
361
+ }
362
+ }
363
+
364
+ &.p-datatable-lg {
365
+ .p-datatable-header {
366
+ @include scaledPadding($tableHeaderPadding, $tableScaleLG);
367
+ }
368
+
369
+ .p-datatable-thead > tr > th {
370
+ @include scaledPadding($tableHeaderCellPadding, $tableScaleLG);
371
+ }
372
+
373
+ .p-datatable-tbody > tr > td {
374
+ @include scaledPadding($tableBodyCellPadding, $tableScaleLG);
375
+ }
376
+
377
+ .p-datatable-tfoot > tr > td {
378
+ @include scaledPadding($tableFooterPadding, $tableScaleLG);
379
+ }
380
+
381
+ .p-datatable-footer {
382
+ @include scaledPadding($tableFooterPadding, $tableScaleLG);
383
+ }
384
+ }
385
+ }
386
+
387
+ .p-datatable-drag-selection-helper {
388
+ background: $tableDragHelperBg;
389
+ }
@@ -0,0 +1,47 @@
1
+ .p-dataview {
2
+ .p-paginator-top {
3
+ border-width: $tableTopPaginatorBorderWidth;
4
+ border-radius: 0;
5
+ }
6
+
7
+ .p-paginator-bottom {
8
+ border-width: $tableBottomPaginatorBorderWidth;
9
+ border-radius: 0;
10
+ }
11
+
12
+ .p-dataview-header {
13
+ background: $tableHeaderBg;
14
+ color: $tableHeaderTextColor;
15
+ border: $tableHeaderBorder;
16
+ border-width: $tableHeaderBorderWidth;
17
+ padding: $tableHeaderPadding;
18
+ font-weight: $tableHeaderFontWeight;
19
+ }
20
+
21
+ .p-dataview-content {
22
+ background: $tableBodyRowBg;
23
+ color: $tableBodyRowTextColor;
24
+ border: $dataViewContentBorder;
25
+ padding: $dataViewContentPadding;
26
+ }
27
+
28
+ .p-dataview-footer {
29
+ background: $tableFooterBg;
30
+ color: $tableFooterTextColor;
31
+ border: $tableFooterBorder;
32
+ border-width: $tableFooterBorderWidth;
33
+ padding: $tableFooterPadding;
34
+ font-weight: $tableFooterFontWeight;
35
+ border-bottom-left-radius: $borderRadius;
36
+ border-bottom-right-radius: $borderRadius;
37
+ }
38
+
39
+ .p-dataview-loading-icon {
40
+ font-size: $loadingIconFontSize;
41
+
42
+ &.p-icon {
43
+ width: $loadingIconFontSize;
44
+ height: $loadingIconFontSize;
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,138 @@
1
+ .p-column-filter-row {
2
+ .p-column-filter-menu-button,
3
+ .p-column-filter-clear-button {
4
+ margin-left: $inlineSpacing;
5
+ }
6
+ }
7
+
8
+ .p-column-filter-menu-button {
9
+ width: $actionIconWidth;
10
+ height: $actionIconHeight;
11
+ color: $actionIconColor;
12
+ border: $actionIconBorder;
13
+ background: $actionIconBg;
14
+ border-radius: $actionIconBorderRadius;
15
+ transition: $actionIconTransition;
16
+
17
+ &:hover {
18
+ color: $actionIconHoverColor;
19
+ border-color: $actionIconHoverBorderColor;
20
+ background: $actionIconHoverBg;
21
+ }
22
+
23
+ &.p-column-filter-menu-button-open,
24
+ &.p-column-filter-menu-button-open:hover {
25
+ background: $actionIconHoverBg;
26
+ color: $actionIconHoverColor;
27
+ }
28
+
29
+ &.p-column-filter-menu-button-active,
30
+ &.p-column-filter-menu-button-active:hover {
31
+ background: $highlightBg;
32
+ color: $highlightTextColor;
33
+ }
34
+
35
+ &:focus-visible {
36
+ @include focused();
37
+ }
38
+
39
+ }
40
+
41
+ .p-column-filter-clear-button {
42
+ width: $actionIconWidth;
43
+ height: $actionIconHeight;
44
+ color: $actionIconColor;
45
+ border: $actionIconBorder;
46
+ background: $actionIconBg;
47
+ border-radius: $actionIconBorderRadius;
48
+ transition: $actionIconTransition;
49
+
50
+ &:hover {
51
+ color: $actionIconHoverColor;
52
+ border-color: $actionIconHoverBorderColor;
53
+ background: $actionIconHoverBg;
54
+ }
55
+
56
+ &:focus-visible {
57
+ @include focused();
58
+ }
59
+ }
60
+
61
+ .p-column-filter-overlay {
62
+ background: $inputOverlayBg;
63
+ color: $inputListTextColor;
64
+ border: $inputOverlayBorder;
65
+ border-radius: $borderRadius;
66
+ box-shadow: $inputOverlayShadow;
67
+ min-width: $menuWidth;
68
+
69
+ .p-column-filter-row-items {
70
+ padding: $inputListPadding;
71
+
72
+ .p-column-filter-row-item {
73
+ margin: $inputListItemMargin;
74
+ padding: $inputListItemPadding;
75
+ border: $inputListItemBorder;
76
+ color: $inputListItemTextColor;
77
+ background: $inputListItemBg;
78
+ transition: $listItemTransition;
79
+ border-radius: $inputListItemBorderRadius;
80
+
81
+ &.p-highlight {
82
+ color: $highlightTextColor;
83
+ background: $highlightBg;
84
+ }
85
+
86
+ &:not(.p-highlight):not(.p-disabled):hover {
87
+ color: $inputListItemTextHoverColor;
88
+ background: $inputListItemHoverBg;
89
+ }
90
+
91
+ &:focus-visible {
92
+ @include focused-listitem();
93
+ }
94
+ }
95
+
96
+ .p-column-filter-separator {
97
+ border-top: $divider;
98
+ margin: $menuSeparatorMargin;
99
+ }
100
+ }
101
+ }
102
+
103
+ .p-column-filter-overlay-menu {
104
+ .p-column-filter-operator {
105
+ padding: $inputListHeaderPadding;
106
+ border-bottom: $inputListHeaderBorder;
107
+ color: $inputListHeaderTextColor;
108
+ background: $inputOverlayHeaderBg;
109
+ margin: $inputListHeaderMargin;
110
+ border-top-right-radius: $borderRadius;
111
+ border-top-left-radius: $borderRadius;
112
+ }
113
+
114
+ .p-column-filter-constraint {
115
+ padding: $panelContentPadding;
116
+ border-bottom: $divider;
117
+
118
+ .p-column-filter-matchmode-dropdown {
119
+ margin-bottom: $inlineSpacing;
120
+ }
121
+
122
+ .p-column-filter-remove-button {
123
+ margin-top: $inlineSpacing;
124
+ }
125
+
126
+ &:last-child {
127
+ border-bottom: 0 none;
128
+ }
129
+ }
130
+
131
+ .p-column-filter-add-rule {
132
+ padding: $panelFooterPadding;
133
+ }
134
+
135
+ .p-column-filter-buttonbar {
136
+ padding: $panelContentPadding;
137
+ }
138
+ }
@@ -0,0 +1,86 @@
1
+ .p-orderlist {
2
+ .p-orderlist-controls {
3
+ padding: $panelContentPadding;
4
+
5
+ .p-button {
6
+ margin-bottom: $inlineSpacing;
7
+ }
8
+ }
9
+
10
+ .p-orderlist-header {
11
+ background: $panelHeaderBg;
12
+ color: $panelHeaderTextColor;
13
+ border: $panelHeaderBorder;
14
+ padding: $panelHeaderPadding;
15
+ font-weight: $panelHeaderFontWeight;
16
+ border-bottom: 0 none;
17
+ border-top-right-radius: $borderRadius;
18
+ border-top-left-radius: $borderRadius;
19
+ }
20
+
21
+ .p-orderlist-filter-container {
22
+ padding: $panelHeaderPadding;
23
+ background: $panelContentBg;
24
+ border: $panelHeaderBorder;
25
+ border-bottom: 0 none;
26
+
27
+ .p-orderlist-filter-input {
28
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
29
+ }
30
+
31
+ .p-orderlist-filter-icon {
32
+ right: nth($inputPadding, 2);
33
+ color: $inputIconColor;
34
+ }
35
+ }
36
+
37
+ .p-orderlist-list {
38
+ border: $panelContentBorder;
39
+ background: $panelContentBg;
40
+ color: $panelContentTextColor;
41
+ padding: $inputListPadding;
42
+ border-bottom-right-radius: $borderRadius;
43
+ border-bottom-left-radius: $borderRadius;
44
+ outline: 0 none;
45
+
46
+ .p-orderlist-item {
47
+ padding: $inputListItemPadding;
48
+ margin: $inputListItemMargin;
49
+ border: $inputListItemBorder;
50
+ color: $inputListItemTextColor;
51
+ background: $inputListItemBg;
52
+ transition: transform $transitionDuration, $listItemTransition;
53
+
54
+ &:not(.p-highlight):hover {
55
+ background: $inputListItemHoverBg;
56
+ color: $inputListItemTextHoverColor;
57
+ }
58
+
59
+ &.p-focus {
60
+ color: $inputListItemTextFocusColor;
61
+ background: $inputListItemFocusBg;
62
+ }
63
+
64
+ &.p-highlight {
65
+ color: $highlightTextColor;
66
+ background: $highlightBg;
67
+
68
+ &.p-focus {
69
+ background: $highlightFocusBg;
70
+ }
71
+ }
72
+ }
73
+ }
74
+
75
+ &.p-orderlist-striped {
76
+ .p-orderlist-list {
77
+ .p-orderlist-item:nth-child(even) {
78
+ background: $panelContentEvenRowBg;
79
+
80
+ &:hover {
81
+ background: $inputListItemHoverBg;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,50 @@
1
+ .p-organizationchart {
2
+ .p-organizationchart-node-content {
3
+ &.p-organizationchart-selectable-node:not(.p-highlight):hover {
4
+ background: $inputListItemHoverBg;
5
+ color: $inputListItemTextHoverColor;
6
+ }
7
+
8
+ &.p-highlight {
9
+ background: $highlightBg;
10
+ color: $highlightTextColor;
11
+
12
+ .p-node-toggler {
13
+ i {
14
+ color: darken($highlightBg, 25%);
15
+ }
16
+ }
17
+ }
18
+ }
19
+
20
+ .p-organizationchart-line-down {
21
+ background: $organizationChartConnectorColor;
22
+ }
23
+
24
+ .p-organizationchart-line-left {
25
+ border-right: $panelContentBorder;
26
+ border-color: $organizationChartConnectorColor;
27
+ }
28
+
29
+ .p-organizationchart-line-top {
30
+ border-top: $panelContentBorder;
31
+ border-color: $organizationChartConnectorColor;
32
+ }
33
+
34
+ .p-organizationchart-node-content {
35
+ border: $panelContentBorder;
36
+ background: $panelContentBg;
37
+ color: $panelContentTextColor;
38
+ padding: $panelContentPadding;
39
+ }
40
+
41
+ .p-organizationchart-node-content .p-node-toggler {
42
+ background: inherit;
43
+ color: inherit;
44
+ border-radius: 50%;
45
+
46
+ &:focus-visible {
47
+ @include focused();
48
+ }
49
+ }
50
+ }