@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,153 @@
1
+ .p-galleria {
2
+ .p-galleria-close {
3
+ margin: $galleriaCloseIconMargin;
4
+ background: $galleriaCloseIconBg;
5
+ color: $galleriaCloseIconColor;
6
+ width: $galleriaCloseIconWidth;
7
+ height: $galleriaCloseIconHeight;
8
+ transition: $actionIconTransition;
9
+ border-radius: $galleriaCloseIconBorderRadius;
10
+
11
+ .p-galleria-close-icon {
12
+ font-size: $galleriaCloseIconFontSize;
13
+
14
+ &.p-icon {
15
+ width: $galleriaCloseIconFontSize;
16
+ height: $galleriaCloseIconFontSize;
17
+ }
18
+ }
19
+
20
+ &:hover {
21
+ background: $galleriaCloseIconHoverBg;
22
+ color: $galleriaCloseIconHoverColor;
23
+ }
24
+ }
25
+
26
+ .p-galleria-item-nav {
27
+ background: $galleriaItemNavigatorBg;
28
+ color: $galleriaItemNavigatorColor;
29
+ width: $galleriaItemNavigatorWidth;
30
+ height: $galleriaItemNavigatorHeight;
31
+ transition: $actionIconTransition;
32
+ border-radius: $galleriaItemNavigatorBorderRadius;
33
+ margin: $galleriaItemNavigatorMargin;
34
+
35
+ .p-galleria-item-prev-icon,
36
+ .p-galleria-item-next-icon {
37
+ font-size: $galleriaItemNavigatorFontSize;
38
+
39
+ &.p-icon {
40
+ width: $galleriaCloseIconFontSize;
41
+ height: $galleriaCloseIconFontSize;
42
+ }
43
+ }
44
+
45
+ &:not(.p-disabled) {
46
+ &:hover {
47
+ background: $galleriaItemNavigatorHoverBg;
48
+ color: $galleriaItemNavigatorHoverColor;
49
+ }
50
+ }
51
+ }
52
+
53
+ .p-galleria-caption {
54
+ background: $galleriaCaptionBg;
55
+ color: $galleriaCaptionTextColor;
56
+ padding: $galleriaCaptionPadding;
57
+ }
58
+
59
+ .p-galleria-indicators {
60
+ padding: $galleriaIndicatorsPadding;
61
+
62
+ .p-galleria-indicator {
63
+ button {
64
+ background-color: $galleriaIndicatorBg;
65
+ width: $galleriaIndicatorWidth;
66
+ height: $galleriaIndicatorHeight;
67
+ transition: $actionIconTransition;
68
+ border-radius: $galleriaIndicatorBorderRadius;
69
+
70
+ &:hover {
71
+ background: $galleriaIndicatorHoverBg;
72
+ }
73
+ }
74
+
75
+ &.p-highlight {
76
+ button {
77
+ background: $highlightBg;
78
+ color: $highlightTextColor;
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ &.p-galleria-indicators-bottom,
85
+ &.p-galleria-indicators-top {
86
+ .p-galleria-indicator {
87
+ margin-right: $inlineSpacing;
88
+ }
89
+ }
90
+
91
+ &.p-galleria-indicators-left,
92
+ &.p-galleria-indicators-right {
93
+ .p-galleria-indicator {
94
+ margin-bottom: $inlineSpacing;
95
+ }
96
+ }
97
+
98
+ &.p-galleria-indicator-onitem {
99
+ .p-galleria-indicators {
100
+ background: $galleriaIndicatorsBgOnItem;
101
+
102
+ .p-galleria-indicator {
103
+ button {
104
+ background: $galleriaIndicatorBgOnItem;
105
+
106
+ &:hover {
107
+ background: $galleriaIndicatorHoverBgOnItem;
108
+ }
109
+ }
110
+
111
+ &.p-highlight {
112
+ button {
113
+ background: $highlightBg;
114
+ color: $highlightTextColor;
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+
121
+ .p-galleria-thumbnail-container {
122
+ background: $galleriaThumbnailContainerBg;
123
+ padding: $galleriaThumbnailContainerPadding;
124
+
125
+ .p-galleria-thumbnail-prev,
126
+ .p-galleria-thumbnail-next {
127
+ margin: $inlineSpacing;
128
+ background-color: $galleriaThumbnailNavigatorBg;
129
+ color: $galleriaThumbnailNavigatorColor;
130
+ width: $galleriaThumbnailNavigatorWidth;
131
+ height: $galleriaThumbnailNavigatorHeight;
132
+ transition: $actionIconTransition;
133
+ border-radius: $galleriaThumbnailNavigatorBorderRadius;
134
+
135
+ &:hover {
136
+ background: $galleriaThumbnailNavigatorHoverBg;
137
+ color: $galleriaThumbnailNavigatorHoverColor;
138
+ }
139
+ }
140
+
141
+ .p-galleria-thumbnail-item-content {
142
+ transition: $listItemTransition;
143
+
144
+ &:focus-visible {
145
+ @include focused();
146
+ }
147
+ }
148
+ }
149
+ }
150
+
151
+ .p-galleria-mask {
152
+ --maskbg: #{$galleriaMaskBg};
153
+ }
@@ -0,0 +1,54 @@
1
+ .p-image-mask {
2
+ --maskbg: #{$imageMaskBg};
3
+ }
4
+
5
+ .p-image-preview-indicator {
6
+ background-color: transparent;
7
+ color: $imagePreviewIndicatorColor;
8
+ transition: $actionIconTransition;
9
+
10
+ .p-icon {
11
+ width: $imagePreviewActionIconFontSize;
12
+ height: $imagePreviewActionIconFontSize;
13
+ }
14
+ }
15
+
16
+ .p-image-preview-container {
17
+ &:hover {
18
+ > .p-image-preview-indicator {
19
+ background-color: $imagePreviewIndicatorBg;
20
+ }
21
+ }
22
+ }
23
+
24
+ .p-image-toolbar {
25
+ padding: $imagePreviewToolbarPadding;
26
+ }
27
+
28
+ .p-image-action.p-link {
29
+ color: $imagePreviewActionIconColor;
30
+ background-color: $imagePreviewActionIconBg;
31
+ width: $imagePreviewActionIconWidth;
32
+ height: $imagePreviewActionIconHeight;
33
+ border-radius: $imagePreviewActionIconBorderRadius;
34
+ transition: $actionIconTransition;
35
+ margin-right: $inlineSpacing;
36
+
37
+ &:last-child {
38
+ margin-right: 0;
39
+ }
40
+
41
+ &:hover {
42
+ color: $imagePreviewActionIconHoverColor;
43
+ background-color: $imagePreviewActionIconHoverBg;
44
+ }
45
+
46
+ span {
47
+ font-size: $imagePreviewActionIconFontSize;
48
+ }
49
+
50
+ .p-icon {
51
+ width: $imagePreviewActionIconFontSize;
52
+ height: $imagePreviewActionIconFontSize;
53
+ }
54
+ }
@@ -0,0 +1,72 @@
1
+ .p-confirm-popup {
2
+ background: $overlayContentBg;
3
+ color: $panelContentTextColor;
4
+ border: $overlayContentBorder;
5
+ border-radius: $borderRadius;
6
+ box-shadow: $overlayContainerShadow;
7
+
8
+ .p-confirm-popup-content {
9
+ padding: $confirmPopupContentPadding;
10
+ }
11
+
12
+ .p-confirm-popup-footer {
13
+ text-align: right;
14
+ padding: $confirmPopupFooterPadding;
15
+
16
+ button {
17
+ margin: 0 $inlineSpacing 0 0;
18
+ width: auto;
19
+
20
+ &:last-child {
21
+ margin: 0;
22
+ }
23
+ }
24
+ }
25
+
26
+ &:after {
27
+ border: solid transparent;
28
+ border-color: rgba($overlayContentBg, 0);
29
+ border-bottom-color: $overlayContentBg;
30
+ }
31
+
32
+ &:before {
33
+ border: solid transparent;
34
+
35
+ @if (nth($overlayContentBorder, 2) == 'none') {
36
+ border-color: rgba($overlayContentBg, 0);
37
+ border-bottom-color: scale-color($overlayContentBg, $lightness: -5%);
38
+ }
39
+ @else {
40
+ border-color: rgba(nth($overlayContentBorder, 3), 0);
41
+ border-bottom-color: scale-color(nth($overlayContentBorder, 3), $lightness: -5%);
42
+ }
43
+ }
44
+
45
+ &.p-confirm-popup-flipped {
46
+ &:after {
47
+ border-top-color: $overlayContentBg;
48
+ }
49
+
50
+ &:before {
51
+ @if (nth($overlayContentBorder, 2) == 'none') {
52
+ border-top-color: $overlayContentBg;
53
+ }
54
+ @else {
55
+ border-top-color: nth($overlayContentBorder, 3);
56
+ }
57
+ }
58
+ }
59
+
60
+ .p-confirm-popup-icon {
61
+ font-size: $primeIconFontSize * 1.5;
62
+
63
+ &.p-icon {
64
+ width: $primeIconFontSize * 1.5;
65
+ height: $primeIconFontSize * 1.5;
66
+ }
67
+ }
68
+
69
+ .p-confirm-popup-message {
70
+ margin-left: $inlineSpacing * 2;
71
+ }
72
+ }
@@ -0,0 +1,78 @@
1
+ .p-dialog {
2
+ border-radius: $borderRadius;
3
+ box-shadow: $overlayContainerShadow;
4
+ border: $overlayContentBorder;
5
+
6
+ .p-dialog-header {
7
+ border-bottom: $dialogHeaderBorder;
8
+ background: $dialogHeaderBg;
9
+ color: $dialogHeaderTextColor;
10
+ padding: $dialogHeaderPadding;
11
+ border-top-right-radius: $borderRadius;
12
+ border-top-left-radius: $borderRadius;
13
+
14
+ .p-dialog-title {
15
+ font-weight: $dialogHeaderFontWeight;
16
+ font-size: $dialogHeaderFontSize;
17
+ }
18
+
19
+ .p-dialog-header-icon {
20
+ @include action-icon();
21
+ & {
22
+ margin-right: $inlineSpacing;
23
+ }
24
+
25
+ &:last-child {
26
+ margin-right: 0;
27
+ }
28
+ }
29
+ }
30
+
31
+ .p-dialog-content {
32
+ background: $overlayContentBg;
33
+ color: $panelContentTextColor;
34
+ padding: $dialogContentPadding;
35
+
36
+ &:last-of-type {
37
+ border-bottom-right-radius: $borderRadius;
38
+ border-bottom-left-radius: $borderRadius;
39
+ }
40
+ }
41
+
42
+ .p-dialog-footer {
43
+ border-top: $dialogFooterBorder;
44
+ background: $overlayContentBg;
45
+ color: $panelFooterTextColor;
46
+ padding: $dialogFooterPadding;
47
+ text-align: right;
48
+ border-bottom-right-radius: $borderRadius;
49
+ border-bottom-left-radius: $borderRadius;
50
+
51
+ button {
52
+ margin: 0 $inlineSpacing 0 0;
53
+ width: auto;
54
+ }
55
+ }
56
+
57
+ &.p-dialog-maximized {
58
+ .p-dialog-header, .p-dialog-content:last-of-type {
59
+ border-radius: 0;
60
+ }
61
+ }
62
+
63
+
64
+ &.p-confirm-dialog {
65
+ .p-confirm-dialog-icon {
66
+ font-size: $primeIconFontSize * 2;
67
+
68
+ &.p-icon {
69
+ width: $primeIconFontSize * 2;
70
+ height: $primeIconFontSize * 2;
71
+ }
72
+ }
73
+
74
+ .p-confirm-dialog-message {
75
+ margin-left: $inlineSpacing * 2;
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,64 @@
1
+ @use 'sass:math';
2
+
3
+ .p-overlaypanel {
4
+ background: $overlayContentBg;
5
+ color: $panelContentTextColor;
6
+ border: $overlayContentBorder;
7
+ border-radius: $borderRadius;
8
+ box-shadow: $overlayContainerShadow;
9
+
10
+ .p-overlaypanel-content {
11
+ padding: $panelContentPadding;
12
+ }
13
+
14
+ .p-overlaypanel-close {
15
+ background: $buttonBg;
16
+ color: $buttonTextColor;
17
+ width: $actionIconWidth;
18
+ height: $actionIconHeight;
19
+ transition: $actionIconTransition;
20
+ border-radius: $actionIconBorderRadius;
21
+ position: absolute;
22
+ top: math.div(-1 * $actionIconWidth, 2);
23
+ right: math.div(-1 * $actionIconWidth, 2);
24
+
25
+ &:enabled:hover {
26
+ background: $buttonHoverBg;
27
+ color: $buttonTextHoverColor;
28
+ }
29
+ }
30
+
31
+ &:after {
32
+ border: solid transparent;
33
+ border-color: rgba($overlayContentBg, 0);
34
+ border-bottom-color: $overlayContentBg;
35
+ }
36
+
37
+ &:before {
38
+ border: solid transparent;
39
+
40
+ @if (nth($overlayContentBorder, 2) == 'none') {
41
+ border-color: rgba($overlayContentBg, 0);
42
+ border-bottom-color: scale-color($overlayContentBg, $lightness: -5%);
43
+ }
44
+ @else {
45
+ border-color: rgba(nth($overlayContentBorder, 3), 0);
46
+ border-bottom-color: scale-color(nth($overlayContentBorder, 3), $lightness: -5%);
47
+ }
48
+ }
49
+
50
+ &.p-overlaypanel-flipped {
51
+ &:after {
52
+ border-top-color: $overlayContentBg;
53
+ }
54
+
55
+ &:before {
56
+ @if (nth($overlayContentBorder, 2) == 'none') {
57
+ border-top-color: $overlayContentBg;
58
+ }
59
+ @else {
60
+ border-top-color: nth($overlayContentBorder, 3);
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,23 @@
1
+ .p-sidebar {
2
+ background: $overlayContentBg;
3
+ color: $panelContentTextColor;
4
+ border: $overlayContentBorder;
5
+ box-shadow: $overlayContainerShadow;
6
+
7
+ .p-sidebar-header {
8
+ padding: $panelHeaderPadding;
9
+
10
+ .p-sidebar-close,
11
+ .p-sidebar-icon {
12
+ @include action-icon();
13
+ }
14
+
15
+ & + .p-sidebar-content {
16
+ padding-top: 0;
17
+ }
18
+ }
19
+
20
+ .p-sidebar-content {
21
+ padding: $panelContentPadding;
22
+ }
23
+ }
@@ -0,0 +1,33 @@
1
+ .p-tooltip {
2
+ .p-tooltip-text {
3
+ background: $tooltipBg;
4
+ color: $tooltipTextColor;
5
+ padding: $tooltipPadding;
6
+ box-shadow: $inputOverlayShadow;
7
+ border-radius: $borderRadius;
8
+ }
9
+
10
+ &.p-tooltip-right {
11
+ .p-tooltip-arrow {
12
+ border-right-color: $tooltipBg;
13
+ }
14
+ }
15
+
16
+ &.p-tooltip-left {
17
+ .p-tooltip-arrow {
18
+ border-left-color: $tooltipBg;
19
+ }
20
+ }
21
+
22
+ &.p-tooltip-top {
23
+ .p-tooltip-arrow {
24
+ border-top-color: $tooltipBg;
25
+ }
26
+ }
27
+
28
+ &.p-tooltip-bottom {
29
+ .p-tooltip-arrow {
30
+ border-bottom-color: $tooltipBg;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,118 @@
1
+ .p-accordion {
2
+ .p-accordion-header {
3
+ .p-accordion-header-link {
4
+ padding: $accordionHeaderPadding;
5
+ border: $accordionHeaderBorder;
6
+ color: $accordionHeaderTextColor;
7
+ background: $accordionHeaderBg;
8
+ font-weight: $accordionHeaderFontWeight;
9
+ border-radius: $borderRadius;
10
+ transition: $listItemTransition;
11
+
12
+ .p-accordion-toggle-icon {
13
+ margin-right: $inlineSpacing;
14
+ }
15
+ }
16
+
17
+ &:not(.p-disabled) {
18
+ .p-accordion-header-link {
19
+ &:focus-visible {
20
+ @include focused();
21
+ }
22
+ }
23
+ }
24
+
25
+ &:not(.p-highlight):not(.p-disabled):hover {
26
+ .p-accordion-header-link {
27
+ background: $accordionHeaderHoverBg;
28
+ border-color: $accordionHeaderHoverBorderColor;
29
+ color: $accordionHeaderTextHoverColor;
30
+ }
31
+ }
32
+
33
+ &:not(.p-disabled).p-highlight {
34
+ .p-accordion-header-link {
35
+ background: $accordionHeaderActiveBg;
36
+ border-color: $accordionHeaderActiveBorderColor;
37
+ color: $accordionHeaderTextActiveColor;
38
+ border-bottom-right-radius: 0;
39
+ border-bottom-left-radius: 0;
40
+ }
41
+
42
+ &:hover {
43
+ .p-accordion-header-link {
44
+ border-color: $accordionHeaderActiveHoverBorderColor;
45
+ background: $accordionHeaderActiveHoverBg;
46
+ color: $accordionHeaderTextActiveHoverColor;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ .p-accordion-content {
53
+ padding: $accordionContentPadding;
54
+ border: $accordionContentBorder;
55
+ background: $accordionContentBg;
56
+ color: $accordionContentTextColor;
57
+ border-top: 0;
58
+ border-top-right-radius: 0;
59
+ border-top-left-radius: 0;
60
+ border-bottom-right-radius: $borderRadius;
61
+ border-bottom-left-radius: $borderRadius;
62
+ }
63
+
64
+ .p-accordion-tab {
65
+ margin-bottom: $accordionSpacing;
66
+
67
+ @if $accordionSpacing == 0 {
68
+ .p-accordion-header {
69
+ .p-accordion-header-link {
70
+ border-radius: 0;
71
+ }
72
+ }
73
+
74
+ .p-accordion-content {
75
+ border-bottom-right-radius: 0;
76
+ border-bottom-left-radius: 0;
77
+ }
78
+
79
+ &:not(:first-child) {
80
+ .p-accordion-header {
81
+ .p-accordion-header-link {
82
+ border-top: 0 none;
83
+ }
84
+
85
+ &:not(.p-highlight):not(.p-disabled):hover,
86
+ &:not(.p-disabled).p-highlight:hover {
87
+ .p-accordion-header-link {
88
+ border-top: 0 none;
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ &:first-child {
95
+ .p-accordion-header {
96
+ .p-accordion-header-link {
97
+ border-top-right-radius: $borderRadius;
98
+ border-top-left-radius: $borderRadius;
99
+ }
100
+ }
101
+ }
102
+
103
+ &:last-child {
104
+ .p-accordion-header:not(.p-highlight) {
105
+ .p-accordion-header-link {
106
+ border-bottom-right-radius: $borderRadius;
107
+ border-bottom-left-radius: $borderRadius;
108
+ }
109
+
110
+ .p-accordion-content {
111
+ border-bottom-right-radius: $borderRadius;
112
+ border-bottom-left-radius: $borderRadius;
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
@@ -0,0 +1,30 @@
1
+ .p-card {
2
+ background: $panelContentBg;
3
+ color: $panelContentTextColor;
4
+ box-shadow: $cardShadow;
5
+ border-radius: $borderRadius;
6
+
7
+ .p-card-body {
8
+ padding: $cardBodyPadding;
9
+ }
10
+
11
+ .p-card-title {
12
+ font-size: $cardTitleFontSize;
13
+ font-weight: $cardTitleFontWeight;
14
+ margin-bottom: $inlineSpacing;
15
+ }
16
+
17
+ .p-card-subtitle {
18
+ font-weight: $cardSubTitleFontWeight;
19
+ margin-bottom: $inlineSpacing;
20
+ color: $cardSubTitleColor;
21
+ }
22
+
23
+ .p-card-content {
24
+ padding: $cardContentPadding;
25
+ }
26
+
27
+ .p-card-footer {
28
+ padding: $cardFooterPadding;
29
+ }
30
+ }
@@ -0,0 +1,31 @@
1
+ .p-divider {
2
+ .p-divider-content {
3
+ background-color: $panelContentBg;
4
+ }
5
+
6
+ &.p-divider-horizontal {
7
+ margin: $dividerHorizontalMargin;
8
+ padding: $dividerHorizontalPadding;
9
+
10
+ &:before {
11
+ border-top: $dividerSize $dividerColor;
12
+ }
13
+
14
+ .p-divider-content {
15
+ padding: 0 $inlineSpacing;
16
+ }
17
+ }
18
+
19
+ &.p-divider-vertical {
20
+ margin: $dividerVerticalMargin;
21
+ padding: $dividerVerticalPadding;
22
+
23
+ &:before {
24
+ border-left: $dividerSize $dividerColor;
25
+ }
26
+
27
+ .p-divider-content {
28
+ padding: $inlineSpacing 0;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,47 @@
1
+ .p-fieldset {
2
+ border: $panelContentBorder;
3
+ background: $panelContentBg;
4
+ color: $panelContentTextColor;
5
+ border-radius: $borderRadius;
6
+
7
+ .p-fieldset-legend {
8
+ padding: $panelHeaderPadding;
9
+ border: $panelHeaderBorder;
10
+ color: $panelHeaderTextColor;
11
+ background: $panelHeaderBg;
12
+ font-weight: $panelHeaderFontWeight;
13
+ border-radius: $borderRadius;
14
+ }
15
+
16
+ &.p-fieldset-toggleable {
17
+ .p-fieldset-legend {
18
+ padding: 0;
19
+ transition: $actionIconTransition;
20
+
21
+ a {
22
+ padding: $panelHeaderPadding;
23
+ color: $panelHeaderTextColor;
24
+ border-radius: $borderRadius;
25
+ transition: $listItemTransition;
26
+
27
+ .p-fieldset-toggler {
28
+ margin-right: $inlineSpacing;
29
+ }
30
+
31
+ &:focus-visible {
32
+ @include focused();
33
+ }
34
+ }
35
+
36
+ &:hover {
37
+ background: $panelHeaderHoverBg;
38
+ border-color: $panelHeaderHoverBorderColor;
39
+ color: $panelHeaderTextHoverColor;
40
+ }
41
+ }
42
+ }
43
+
44
+ .p-fieldset-content {
45
+ padding: $panelContentPadding;
46
+ }
47
+ }