@adcops/autocore-react 3.0.34 → 3.0.38

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 +32 -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,431 @@
1
+ // core
2
+ .p-treetable {
3
+ position: relative;
4
+ }
5
+
6
+ .p-treetable > .p-treetable-wrapper {
7
+ overflow: auto;
8
+ }
9
+
10
+ .p-treetable table {
11
+ border-collapse: collapse;
12
+ width: 100%;
13
+ table-layout: fixed;
14
+ }
15
+
16
+ .p-treetable .p-sortable-column {
17
+ cursor: pointer;
18
+ user-select: none;
19
+ }
20
+
21
+ .p-treetable-selectable .p-treetable-tbody > tr {
22
+ cursor: pointer;
23
+ }
24
+
25
+ .p-treetable-toggler {
26
+ cursor: pointer;
27
+ user-select: none;
28
+ display: inline-flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ flex-shrink: 0;
32
+ vertical-align: middle;
33
+ overflow: hidden;
34
+ position: relative;
35
+ }
36
+
37
+ .p-treetable-toggler + .p-checkbox {
38
+ vertical-align: middle;
39
+ }
40
+
41
+ .p-treetable-toggler + .p-checkbox + span {
42
+ vertical-align: middle;
43
+ }
44
+
45
+ /* Resizable */
46
+ .p-treetable-resizable > .p-treetable-wrapper {
47
+ overflow-x: auto;
48
+ }
49
+
50
+ .p-treetable-resizable .p-treetable-thead > tr > th,
51
+ .p-treetable-resizable .p-treetable-tfoot > tr > td,
52
+ .p-treetable-resizable .p-treetable-tbody > tr > td {
53
+ overflow: hidden;
54
+ }
55
+
56
+ .p-treetable-resizable .p-resizable-column {
57
+ background-clip: padding-box;
58
+ position: relative;
59
+ }
60
+
61
+ .p-treetable-resizable-fit .p-resizable-column:last-child .p-column-resizer {
62
+ display: none;
63
+ }
64
+
65
+ .p-treetable .p-column-resizer {
66
+ display: block;
67
+ position: absolute;
68
+ top: 0;
69
+ right: 0;
70
+ margin: 0;
71
+ width: 0.5rem;
72
+ height: 100%;
73
+ padding: 0px;
74
+ cursor: col-resize;
75
+ border: 1px solid transparent;
76
+ }
77
+
78
+ .p-treetable .p-column-resizer-helper {
79
+ width: 1px;
80
+ position: absolute;
81
+ z-index: 10;
82
+ display: none;
83
+ }
84
+
85
+ /* Scrollable */
86
+ .p-treetable-scrollable-wrapper {
87
+ position: relative;
88
+ }
89
+ .p-treetable-scrollable-header,
90
+ .p-treetable-scrollable-footer {
91
+ overflow: hidden;
92
+ border: 0 none;
93
+ }
94
+
95
+ .p-treetable-scrollable-body {
96
+ overflow: auto;
97
+ position: relative;
98
+ }
99
+
100
+ .p-treetable-virtual-table {
101
+ position: absolute;
102
+ }
103
+
104
+ /* Frozen Columns */
105
+ .p-treetable-frozen-view .p-treetable-scrollable-body {
106
+ overflow: hidden;
107
+ }
108
+
109
+ .p-treetable-unfrozen-view {
110
+ position: absolute;
111
+ top: 0px;
112
+ left: 0px;
113
+ }
114
+
115
+ /* Reorder */
116
+ .p-treetable-reorder-indicator-up,
117
+ .p-treetable-reorder-indicator-down {
118
+ position: absolute;
119
+ display: none;
120
+ }
121
+
122
+ /* Loader */
123
+ .p-treetable .p-treetable-loading-overlay {
124
+ position: absolute;
125
+ display: flex;
126
+ align-items: center;
127
+ justify-content: center;
128
+ z-index: 2;
129
+ }
130
+
131
+ /* Alignment */
132
+ .p-treetable .p-treetable-thead > tr > th.p-align-left > .p-column-header-content,
133
+ .p-treetable .p-treetable-tbody > tr > td.p-align-left,
134
+ .p-treetable .p-treetable-tfoot > tr > td.p-align-left {
135
+ text-align: left;
136
+ justify-content: flex-start;
137
+ }
138
+ .p-treetable .p-treetable-thead > tr > th.p-align-right > .p-column-header-content,
139
+ .p-treetable .p-treetable-tbody > tr > td.p-align-right,
140
+ .p-treetable .p-treetable-tfoot > tr > td.p-align-right {
141
+ text-align: right;
142
+ justify-content: flex-end;
143
+ }
144
+ .p-treetable .p-treetable-thead > tr > th.p-align-center > .p-column-header-content,
145
+ .p-treetable .p-treetable-tbody > tr > td.p-align-center,
146
+ .p-treetable .p-treetable-tfoot > tr > td.p-align-center {
147
+ text-align: center;
148
+ justify-content: center;
149
+ }
150
+
151
+
152
+ // theme
153
+ .p-treetable {
154
+ .p-paginator-top {
155
+ border-width: $tableTopPaginatorBorderWidth;
156
+ border-radius: 0;
157
+ }
158
+
159
+ .p-paginator-bottom {
160
+ border-width: $tableBottomPaginatorBorderWidth;
161
+ border-radius: 0;
162
+ }
163
+
164
+ .p-treetable-header {
165
+ background: $tableHeaderBg;
166
+ color: $tableHeaderTextColor;
167
+ border: $tableHeaderBorder;
168
+ border-width: $tableHeaderBorderWidth;
169
+ padding: $tableHeaderPadding;
170
+ font-weight: $tableHeaderFontWeight;
171
+ }
172
+
173
+ .p-treetable-footer {
174
+ background: $tableFooterBg;
175
+ color: $tableFooterTextColor;
176
+ border: $tableFooterBorder;
177
+ border-width: $tableFooterBorderWidth;
178
+ padding: $tableFooterPadding;
179
+ font-weight: $tableFooterFontWeight;
180
+ }
181
+
182
+ .p-treetable-thead > tr > th {
183
+ text-align: $tableCellContentAlignment;
184
+ padding: $tableHeaderCellPadding;
185
+ border: $tableHeaderCellBorder;
186
+ border-width: $tableHeaderCellBorderWidth;
187
+ font-weight: $tableHeaderCellFontWeight;
188
+ color: $tableHeaderCellTextColor;
189
+ background: $tableHeaderCellBg;
190
+ transition: $listItemTransition;
191
+ }
192
+
193
+ .p-treetable-tfoot > tr > td {
194
+ text-align: $tableCellContentAlignment;
195
+ padding: $tableFooterCellPadding;
196
+ border: $tableFooterCellBorder;
197
+ border-width: $tableFooterCellBorderWidth;
198
+ font-weight: $tableFooterCellFontWeight;
199
+ color: $tableFooterCellTextColor;
200
+ background: $tableFooterCellBg;
201
+ }
202
+
203
+ .p-sortable-column {
204
+ outline-color: $focusOutlineColor;
205
+
206
+ .p-sortable-column-icon {
207
+ color: $tableHeaderCellIconColor;
208
+ margin-left: $inlineSpacing;
209
+ }
210
+
211
+ .p-sortable-column-badge {
212
+ border-radius: 50%;
213
+ height: $tableSortableColumnBadgeSize;
214
+ min-width: $tableSortableColumnBadgeSize;
215
+ line-height: $tableSortableColumnBadgeSize;
216
+ color: $highlightTextColor;
217
+ background: $highlightBg;
218
+ margin-left: $inlineSpacing;
219
+ }
220
+
221
+ &:not(.p-highlight):hover {
222
+ background: $tableHeaderCellHoverBg;
223
+ color: $tableHeaderCellTextHoverColor;
224
+
225
+ .p-sortable-column-icon {
226
+ color: $tableHeaderCellIconHoverColor;
227
+ }
228
+ }
229
+
230
+ &.p-highlight {
231
+ background: $tableHeaderCellHighlightBg;
232
+ color: $tableHeaderCellHighlightTextColor;
233
+
234
+ .p-sortable-column-icon {
235
+ color: $tableHeaderCellHighlightTextColor;
236
+ }
237
+ }
238
+ }
239
+
240
+ .p-treetable-tbody {
241
+ > tr {
242
+ background: $tableBodyRowBg;
243
+ color: $tableBodyRowTextColor;
244
+ transition: $listItemTransition;
245
+
246
+ > td {
247
+ text-align: $tableCellContentAlignment;
248
+ border: $tableBodyCellBorder;
249
+ border-width: $tableBodyCellBorderWidth;
250
+ padding: $tableBodyCellPadding;
251
+
252
+ .p-treetable-toggler {
253
+ @include action-icon();
254
+ & {
255
+ margin-right: $inlineSpacing;
256
+ }
257
+
258
+ & + .p-checkbox {
259
+ margin-right: $inlineSpacing;
260
+
261
+ .p-indeterminate {
262
+ .p-checkbox-icon {
263
+ color: $textColor;
264
+ }
265
+ }
266
+ }
267
+ }
268
+ }
269
+
270
+ &:focus-visible {
271
+ outline: .15rem solid $focusOutlineColor;
272
+ outline-offset: -.15rem;
273
+ }
274
+
275
+ &.p-highlight {
276
+ background: $highlightBg;
277
+ color: $highlightTextColor;
278
+
279
+ .p-treetable-toggler {
280
+ color: $highlightTextColor;
281
+
282
+ &:hover {
283
+ color: $highlightTextColor;
284
+ }
285
+
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ &.p-treetable-selectable,
292
+ &.p-treetable-hoverable-rows {
293
+ .p-treetable-tbody > tr:not(.p-highlight):hover {
294
+ background: $tableBodyRowHoverBg;
295
+ color: $tableBodyRowTextHoverColor;
296
+
297
+ .p-treetable-toggler {
298
+ color: $tableBodyRowTextHoverColor;
299
+ }
300
+ }
301
+ }
302
+
303
+ .p-column-resizer-helper {
304
+ background: $tableResizerHelperBg;
305
+ }
306
+
307
+ .p-treetable-scrollable-header,
308
+ .p-treetable-scrollable-footer {
309
+ background: $panelHeaderBg;
310
+ }
311
+
312
+ .p-treetable-loading-icon {
313
+ font-size: $loadingIconFontSize;
314
+
315
+ &.p-icon {
316
+ width: $loadingIconFontSize;
317
+ height: $loadingIconFontSize;
318
+ }
319
+ }
320
+
321
+ &.p-treetable-gridlines {
322
+ .p-treetable-header {
323
+ border-width: 1px 1px 0 1px;
324
+ }
325
+
326
+ .p-treetable-footer {
327
+ border-width: 0 1px 1px 1px;
328
+ }
329
+
330
+ .p-treetable-top {
331
+ border-width: 0 1px 0 1px;
332
+ }
333
+
334
+ .p-treetable-bottom {
335
+ border-width: 0 1px 1px 1px;
336
+ }
337
+
338
+ .p-treetable-thead {
339
+ > tr {
340
+ > th {
341
+ border-width: 1px;
342
+ }
343
+ }
344
+ }
345
+
346
+ .p-treetable-tbody {
347
+ > tr {
348
+ > td {
349
+ border-width: 1px;
350
+ }
351
+ }
352
+ }
353
+
354
+ .p-treetable-tfoot {
355
+ > tr {
356
+ > td {
357
+ border-width: 1px;
358
+ }
359
+ }
360
+ }
361
+ }
362
+
363
+ &.p-treetable-striped {
364
+ .p-treetable-tbody {
365
+ > tr.p-row-odd {
366
+ background: $tableBodyRowEvenBg;
367
+
368
+ &.p-highlight {
369
+ background: $highlightBg;
370
+ color: $highlightTextColor;
371
+
372
+ .p-row-toggler {
373
+ color: $highlightTextColor;
374
+
375
+ &:hover {
376
+ color: $highlightTextColor;
377
+ }
378
+ }
379
+ }
380
+
381
+ & + .p-row-expanded {
382
+ background: $tableBodyRowEvenBg;
383
+ }
384
+ }
385
+ }
386
+ }
387
+
388
+ &.p-treetable-sm {
389
+ .p-treetable-header {
390
+ @include scaledPadding($tableHeaderPadding, $scaleSM);
391
+ }
392
+
393
+ .p-treetable-thead > tr > th {
394
+ @include scaledPadding($tableHeaderCellPadding, $tableScaleSM);
395
+ }
396
+
397
+ .p-treetable-tbody > tr > td {
398
+ @include scaledPadding($tableBodyCellPadding, $tableScaleSM);
399
+ }
400
+
401
+ .p-treetable-tfoot > tr > td {
402
+ @include scaledPadding($tableFooterPadding, $tableScaleSM);
403
+ }
404
+
405
+ .p-treetable-footer {
406
+ @include scaledPadding($tableFooterPadding, $tableScaleSM);
407
+ }
408
+ }
409
+
410
+ &.p-treetable-lg {
411
+ .p-treetable-header {
412
+ @include scaledPadding($tableHeaderPadding, $tableScaleLG);
413
+ }
414
+
415
+ .p-treetable-thead > tr > th {
416
+ @include scaledPadding($tableHeaderCellPadding, $tableScaleLG);
417
+ }
418
+
419
+ .p-treetable-tbody > tr > td {
420
+ @include scaledPadding($tableBodyCellPadding, $tableScaleLG);
421
+ }
422
+
423
+ .p-treetable-tfoot > tr > td {
424
+ @include scaledPadding($tableFooterPadding, $tableScaleLG);
425
+ }
426
+
427
+ .p-treetable-footer {
428
+ @include scaledPadding($tableFooterPadding, $tableScaleLG);
429
+ }
430
+ }
431
+ }
@@ -0,0 +1,41 @@
1
+ .p-fileupload {
2
+ .p-fileupload-buttonbar {
3
+ background: $panelHeaderBg;
4
+ padding: $panelHeaderPadding;
5
+ border: $panelHeaderBorder;
6
+ color: $panelHeaderTextColor;
7
+ border-bottom: 0 none;
8
+ border-top-right-radius: $borderRadius;
9
+ border-top-left-radius: $borderRadius;
10
+ gap: $inlineSpacing;
11
+
12
+ .p-button {
13
+ margin-right: $inlineSpacing;
14
+ }
15
+ }
16
+
17
+ .p-fileupload-content {
18
+ background: $panelContentBg;
19
+ padding: $fileUploadContentPadding;
20
+ border: $panelContentBorder;
21
+ color: $panelContentTextColor;
22
+ border-bottom-right-radius: $borderRadius;
23
+ border-bottom-left-radius: $borderRadius;
24
+ }
25
+
26
+ .p-progressbar {
27
+ height: $fileUploadProgressBarHeight;
28
+ }
29
+
30
+ .p-fileupload-row {
31
+ > div {
32
+ padding: $tableBodyCellPadding;
33
+ }
34
+ }
35
+
36
+ &.p-fileupload-advanced {
37
+ .p-message {
38
+ margin-top: 0;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,95 @@
1
+ @use 'sass:math';
2
+
3
+ .p-autocomplete {
4
+ .p-autocomplete-loader {
5
+ right: nth($inputPadding, 2);
6
+ }
7
+
8
+ &.p-autocomplete-dd {
9
+ .p-autocomplete-loader {
10
+ right: nth($inputPadding, 2) + $buttonIconOnlyWidth;
11
+ }
12
+ }
13
+
14
+ .p-autocomplete-multiple-container {
15
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
16
+ gap: $inlineSpacing;
17
+
18
+ &:not(.p-disabled):hover {
19
+ border-color: $inputHoverBorderColor;
20
+ }
21
+
22
+ &:not(.p-disabled).p-focus {
23
+ @include focused-input();
24
+ }
25
+
26
+ .p-autocomplete-input-token {
27
+ padding: math.div(nth($inputPadding, 1), 2) 0;
28
+
29
+ input {
30
+ font-family: var(--font-family);
31
+ font-feature-settings: var(--font-feature-settings, normal);
32
+ font-size: $inputTextFontSize;
33
+ color: $textColor;
34
+ padding: 0;
35
+ margin: 0;
36
+ }
37
+ }
38
+
39
+ .p-autocomplete-token {
40
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
41
+ margin-right: $inlineSpacing;
42
+ background: $highlightBg;
43
+ color: $highlightTextColor;
44
+ border-radius: $borderRadius;
45
+
46
+ .p-autocomplete-token-icon {
47
+ margin-left: $inlineSpacing;
48
+ }
49
+ }
50
+ }
51
+
52
+ &.p-invalid.p-component > .p-inputtext {
53
+ @include invalid-input();
54
+ }
55
+ }
56
+
57
+ .p-autocomplete-panel {
58
+ background: $inputOverlayBg;
59
+ color: $inputListTextColor;
60
+ border: $inputOverlayBorder;
61
+ border-radius: $borderRadius;
62
+ box-shadow: $inputOverlayShadow;
63
+
64
+ .p-autocomplete-items {
65
+ padding: $inputListPadding;
66
+
67
+ .p-autocomplete-item {
68
+ margin: $inputListItemMargin;
69
+ padding: $inputListItemPadding;
70
+ border: $inputListItemBorder;
71
+ color: $inputListItemTextColor;
72
+ background: $inputListItemBg;
73
+ transition: $listItemTransition;
74
+ border-radius: $inputListItemBorderRadius;
75
+
76
+ &:hover {
77
+ color: $inputListItemTextHoverColor;
78
+ background: $inputListItemHoverBg;
79
+ }
80
+
81
+ &.p-highlight {
82
+ color: $highlightTextColor;
83
+ background: $highlightBg;
84
+ }
85
+ }
86
+
87
+ .p-autocomplete-item-group {
88
+ margin: $submenuHeaderMargin;
89
+ padding: $submenuHeaderPadding;
90
+ color: $submenuHeaderTextColor;
91
+ background: $submenuHeaderBg;
92
+ font-weight: $submenuHeaderFontWeight;
93
+ }
94
+ }
95
+ }