aril 1.2.48 → 1.2.50

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 (138) hide show
  1. package/boot/base/src/aril-title-strategy.d.ts +21 -2
  2. package/boot/config/apps/src/interfaces.d.ts +14 -0
  3. package/esm2022/boot/base/src/aril-title-strategy.mjs +50 -3
  4. package/esm2022/boot/bridge/index.mjs +1 -1
  5. package/esm2022/boot/bridge/src/mfe-bridge.mjs +1 -1
  6. package/esm2022/boot/bridge/src/provide-mfe-bridge.mjs +1 -1
  7. package/esm2022/boot/config/api/index.mjs +1 -1
  8. package/esm2022/boot/config/apps/src/apps.service.mjs +1 -1
  9. package/esm2022/boot/config/apps/src/auth.guard.mjs +1 -1
  10. package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
  11. package/esm2022/boot/config/apps/src/route-permissions.mjs +1 -1
  12. package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
  13. package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
  14. package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
  15. package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
  16. package/esm2022/boot/host/src/app.component.mjs +1 -1
  17. package/esm2022/boot/mfe/src/app.component.mjs +13 -13
  18. package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
  19. package/esm2022/boot/pages/index.mjs +1 -1
  20. package/esm2022/boot/pages/src/forbidden.component.mjs +51 -51
  21. package/esm2022/boot/pages/src/notFound.component.mjs +47 -47
  22. package/esm2022/http/lib/enums.mjs +1 -1
  23. package/esm2022/http/src/serviceBase.mjs +1 -1
  24. package/esm2022/http/src/serviceStateMethods.mjs +1 -1
  25. package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
  26. package/esm2022/provider/src/prodiveHostRouter.mjs +1 -1
  27. package/esm2022/provider/src/provideHostKeycloak.mjs +1 -1
  28. package/esm2022/superset/index.mjs +1 -1
  29. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +1 -1
  30. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +16 -8
  31. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +1 -1
  32. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +1 -1
  33. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +19 -11
  34. package/esm2022/theme/layout/index.mjs +1 -1
  35. package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
  36. package/esm2022/theme/layout/service/menu-action-confirm.mjs +73 -0
  37. package/esm2022/theme/layout/service/selection-group.service.mjs +1 -1
  38. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +1 -1
  39. package/esm2022/ui/button/src/button.component.mjs +1 -1
  40. package/esm2022/ui/chip/src/chip.component.mjs +1 -1
  41. package/esm2022/ui/form/src/form-submit-button.component.mjs +3 -3
  42. package/esm2022/ui/table/src/table.component.mjs +3 -3
  43. package/esm2022/ui/table-expand/src/table.component.mjs +3 -3
  44. package/esm2022/ui/treeTable/src/tree-table.component.mjs +1 -1
  45. package/esm2022/ui-business/assetPicker/index.mjs +1 -1
  46. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +3 -3
  47. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +3 -3
  48. package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
  49. package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
  50. package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +3 -3
  51. package/esm2022/ui-business/pdf-preview-modal/index.mjs +1 -1
  52. package/esm2022/ui-business/pdf-preview-modal/src/open-pdf-preview.mjs +1 -1
  53. package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +27 -27
  54. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +3 -3
  55. package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
  56. package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +1 -1
  57. package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +1 -1
  58. package/esm2022/ui-business/trace-id/index.mjs +1 -1
  59. package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +3 -3
  60. package/esm2022/util/activity/index.mjs +1 -1
  61. package/esm2022/util/activity/src/activity.constants.mjs +1 -1
  62. package/esm2022/util/activity/src/activity.service.mjs +1 -1
  63. package/esm2022/util/activity/src/activity.types.mjs +1 -1
  64. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +1 -1
  65. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +1 -1
  66. package/fesm2022/{aril-app.component-YBy2gyza.mjs → aril-app.component-BUjucZ0J.mjs} +13 -13
  67. package/fesm2022/aril-app.component-BUjucZ0J.mjs.map +1 -0
  68. package/fesm2022/aril-boot-base.mjs +49 -2
  69. package/fesm2022/aril-boot-base.mjs.map +1 -1
  70. package/fesm2022/aril-boot-bridge.mjs.map +1 -1
  71. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  72. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  73. package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
  74. package/fesm2022/aril-boot-host.mjs.map +1 -1
  75. package/fesm2022/{aril-boot-mfe-app.component-GbZAGlTf.mjs → aril-boot-mfe-app.component-D1w8I2ug.mjs} +14 -14
  76. package/fesm2022/aril-boot-mfe-app.component-D1w8I2ug.mjs.map +1 -0
  77. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs → aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs} +2 -2
  78. package/fesm2022/aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs.map +1 -0
  79. package/fesm2022/aril-boot-mfe.mjs +1 -1
  80. package/fesm2022/aril-boot-pages.mjs +96 -96
  81. package/fesm2022/aril-boot-pages.mjs.map +1 -1
  82. package/fesm2022/aril-http.mjs.map +1 -1
  83. package/fesm2022/aril-keycloak.mjs.map +1 -1
  84. package/fesm2022/aril-provider.mjs.map +1 -1
  85. package/fesm2022/aril-theme-layout.mjs +113 -28
  86. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  87. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
  88. package/fesm2022/aril-ui-business-assetPicker.mjs +2 -2
  89. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
  90. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +2 -2
  91. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
  92. package/fesm2022/aril-ui-business-multiAssetPicker.mjs +2 -2
  93. package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
  94. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +26 -26
  95. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
  96. package/fesm2022/aril-ui-business-ref-value.mjs +2 -2
  97. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
  98. package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
  99. package/fesm2022/aril-ui-business-trace-id.mjs +2 -2
  100. package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
  101. package/fesm2022/aril-ui-button.mjs.map +1 -1
  102. package/fesm2022/aril-ui-chip.mjs.map +1 -1
  103. package/fesm2022/aril-ui-form.mjs +2 -2
  104. package/fesm2022/aril-ui-form.mjs.map +1 -1
  105. package/fesm2022/aril-ui-table-expand.mjs +2 -2
  106. package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
  107. package/fesm2022/aril-ui-table.mjs +2 -2
  108. package/fesm2022/aril-ui-table.mjs.map +1 -1
  109. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  110. package/fesm2022/aril-util-activity.mjs.map +1 -1
  111. package/fesm2022/aril-util-directives.mjs.map +1 -1
  112. package/fesm2022/aril-util-pipes.mjs.map +1 -1
  113. package/fesm2022/aril.mjs +1 -1
  114. package/fesm2022/aril.mjs.map +1 -1
  115. package/package.json +201 -201
  116. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +127 -127
  117. package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +4 -1
  118. package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
  119. package/theme/layout/app/expandableMenu/expandable-menu.component.ts +387 -373
  120. package/theme/layout/app/general-search/general-search.component.ts +93 -93
  121. package/theme/layout/app/site-map/site-map-sidebar.component.ts +195 -195
  122. package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +4 -1
  123. package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
  124. package/theme/layout/app/static-sidebar/static-sidebar.component.ts +357 -343
  125. package/theme/layout/index.ts +9 -9
  126. package/theme/layout/service/interfaces/enum.ts +19 -19
  127. package/theme/layout/service/menu-action-confirm.d.ts +15 -0
  128. package/theme/layout/service/menu-action-confirm.ts +112 -0
  129. package/theme/layout/service/selection-group.service.ts +144 -144
  130. package/theme/styles/layout/_fonts.scss +81 -81
  131. package/theme/styles/theme/base/components/input/_inputtext.scss +104 -104
  132. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
  133. package/theme/styles/theme/base/components/panel/_stepper.scss +205 -205
  134. package/theme/styles/theme/dark/_variables.scss +933 -933
  135. package/theme/styles/theme/light/_variables.scss +940 -940
  136. package/fesm2022/aril-app.component-YBy2gyza.mjs.map +0 -1
  137. package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +0 -1
  138. package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +0 -1
@@ -1,104 +1,104 @@
1
- .p-inputtext {
2
- font-family: var(--font-family);
3
- font-feature-settings: var(--font-feature-settings, normal);
4
- font-size: $inputTextFontSize;
5
- color: $inputTextColor;
6
- background: $inputBg;
7
- padding: $inputPadding;
8
- border: $inputBorder;
9
- transition: $formElementTransition;
10
- appearance: none;
11
- border-radius: $borderRadius;
12
-
13
- &:enabled:hover {
14
- border-color: $inputHoverBorderColor;
15
- }
16
-
17
- &:enabled:focus {
18
- @include focused-input();
19
- }
20
-
21
- &.ng-dirty.ng-invalid {
22
- @include invalid-input();
23
- }
24
-
25
- &.p-inputtext-sm {
26
- @include scaledFontSize($inputTextFontSize, $scaleSM);
27
- @include scaledPadding($inputPadding, $scaleSM);
28
- }
29
-
30
- &.p-inputtext-lg {
31
- @include scaledFontSize($inputTextFontSize, $scaleLG);
32
- @include scaledPadding($inputPadding, $scaleLG);
33
- }
34
- }
35
-
36
- .p-float-label > label {
37
- left: nth($inputPadding, 2);
38
- color: $inputPlaceholderTextColor;
39
- transition-duration: $transitionDuration;
40
- }
41
-
42
- .p-float-label > .ng-invalid.ng-dirty + label {
43
- color: $inputErrorBorderColor;
44
- }
45
-
46
- .p-input-icon-left, .p-input-icon-right, .p-inputtext {
47
- width: 100%;
48
- }
49
-
50
- .p-input-icon-left > .p-icon-wrapper.p-icon,
51
- .p-input-icon-left > i:first-of-type {
52
- left: nth($inputPadding, 2);
53
- color: $inputIconColor;
54
- }
55
-
56
- .p-input-icon-left > .p-inputtext {
57
- padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
58
- }
59
-
60
- .p-input-icon-left.p-float-label > label {
61
- left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
62
- }
63
-
64
- .p-input-icon-right > .p-icon-wrapper,
65
- .p-input-icon-right > i:last-of-type {
66
- right: nth($inputPadding, 2);
67
- color: $inputIconColor;
68
- }
69
-
70
- .p-input-icon-right > .p-inputtext {
71
- padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
72
- }
73
-
74
- @include placeholder {
75
- color: $inputPlaceholderTextColor;
76
- }
77
-
78
- .p-input-filled {
79
- .p-inputtext {
80
- background-color: $inputFilledBg;
81
-
82
- &:enabled:hover {
83
- background-color: $inputFilledHoverBg;
84
- }
85
-
86
- &:enabled:focus {
87
- background-color: $inputFilledFocusBg;
88
- }
89
- }
90
- }
91
-
92
- .p-inputtext-sm {
93
- .p-inputtext {
94
- @include scaledFontSize($inputTextFontSize, $scaleSM);
95
- @include scaledPadding($inputPadding, $scaleSM);
96
- }
97
- }
98
-
99
- .p-inputtext-lg {
100
- .p-inputtext {
101
- @include scaledFontSize($inputTextFontSize, $scaleLG);
102
- @include scaledPadding($inputPadding, $scaleLG);
103
- }
104
- }
1
+ .p-inputtext {
2
+ font-family: var(--font-family);
3
+ font-feature-settings: var(--font-feature-settings, normal);
4
+ font-size: $inputTextFontSize;
5
+ color: $inputTextColor;
6
+ background: $inputBg;
7
+ padding: $inputPadding;
8
+ border: $inputBorder;
9
+ transition: $formElementTransition;
10
+ appearance: none;
11
+ border-radius: $borderRadius;
12
+
13
+ &:enabled:hover {
14
+ border-color: $inputHoverBorderColor;
15
+ }
16
+
17
+ &:enabled:focus {
18
+ @include focused-input();
19
+ }
20
+
21
+ &.ng-dirty.ng-invalid {
22
+ @include invalid-input();
23
+ }
24
+
25
+ &.p-inputtext-sm {
26
+ @include scaledFontSize($inputTextFontSize, $scaleSM);
27
+ @include scaledPadding($inputPadding, $scaleSM);
28
+ }
29
+
30
+ &.p-inputtext-lg {
31
+ @include scaledFontSize($inputTextFontSize, $scaleLG);
32
+ @include scaledPadding($inputPadding, $scaleLG);
33
+ }
34
+ }
35
+
36
+ .p-float-label > label {
37
+ left: nth($inputPadding, 2);
38
+ color: $inputPlaceholderTextColor;
39
+ transition-duration: $transitionDuration;
40
+ }
41
+
42
+ .p-float-label > .ng-invalid.ng-dirty + label {
43
+ color: $inputErrorBorderColor;
44
+ }
45
+
46
+ .p-input-icon-left, .p-input-icon-right, .p-inputtext {
47
+ width: 100%;
48
+ }
49
+
50
+ .p-input-icon-left > .p-icon-wrapper.p-icon,
51
+ .p-input-icon-left > i:first-of-type {
52
+ left: nth($inputPadding, 2);
53
+ color: $inputIconColor;
54
+ }
55
+
56
+ .p-input-icon-left > .p-inputtext {
57
+ padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
58
+ }
59
+
60
+ .p-input-icon-left.p-float-label > label {
61
+ left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
62
+ }
63
+
64
+ .p-input-icon-right > .p-icon-wrapper,
65
+ .p-input-icon-right > i:last-of-type {
66
+ right: nth($inputPadding, 2);
67
+ color: $inputIconColor;
68
+ }
69
+
70
+ .p-input-icon-right > .p-inputtext {
71
+ padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
72
+ }
73
+
74
+ @include placeholder {
75
+ color: $inputPlaceholderTextColor;
76
+ }
77
+
78
+ .p-input-filled {
79
+ .p-inputtext {
80
+ background-color: $inputFilledBg;
81
+
82
+ &:enabled:hover {
83
+ background-color: $inputFilledHoverBg;
84
+ }
85
+
86
+ &:enabled:focus {
87
+ background-color: $inputFilledFocusBg;
88
+ }
89
+ }
90
+ }
91
+
92
+ .p-inputtext-sm {
93
+ .p-inputtext {
94
+ @include scaledFontSize($inputTextFontSize, $scaleSM);
95
+ @include scaledPadding($inputPadding, $scaleSM);
96
+ }
97
+ }
98
+
99
+ .p-inputtext-lg {
100
+ .p-inputtext {
101
+ @include scaledFontSize($inputTextFontSize, $scaleLG);
102
+ @include scaledPadding($inputPadding, $scaleLG);
103
+ }
104
+ }
@@ -1,27 +1,27 @@
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
-
24
- .p-sidebar-footer {
25
- padding: $panelHeaderPadding;
26
- }
27
- }
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
+
24
+ .p-sidebar-footer {
25
+ padding: $panelHeaderPadding;
26
+ }
27
+ }
@@ -1,206 +1,206 @@
1
- @use "sass:math";
2
-
3
- //core
4
- .p-stepper .p-stepper-nav {
5
- position: relative;
6
- display: flex;
7
- justify-content: space-between;
8
- align-items: center;
9
- margin: 0;
10
- padding: 0;
11
- list-style-type: none;
12
- overflow-x: auto;
13
- }
14
-
15
- .p-stepper-vertical .p-stepper-nav {
16
- flex-direction: column;
17
- }
18
-
19
- .p-stepper-header {
20
- position: relative;
21
- display: flex;
22
- flex: 1 1 auto;
23
- align-items: center;
24
-
25
- &:last-of-type {
26
- flex: initial;
27
- }
28
- }
29
-
30
- .p-stepper-header .p-stepper-action {
31
- border: 0 none;
32
- display: inline-flex;
33
- align-items: center;
34
- text-decoration: none;
35
- cursor: pointer;
36
- font-family: inherit;
37
-
38
- &:focus-visible {
39
- @include focused();
40
- }
41
- }
42
-
43
- .p-stepper-header button {
44
- font-family: inherit;
45
- }
46
-
47
- .p-stepper.p-stepper-readonly .p-stepper-header {
48
- cursor: auto;
49
- }
50
-
51
- .p-stepper-header.p-highlight .p-stepper-action {
52
- cursor: default;
53
- }
54
-
55
- .p-stepper-title {
56
- display: block;
57
- white-space: nowrap;
58
- overflow: hidden;
59
- text-overflow: ellipsis;
60
- max-width: 100%;
61
- }
62
-
63
- .p-stepper-number {
64
- display: flex;
65
- align-items: center;
66
- justify-content: center;
67
- }
68
-
69
- .p-stepper-separator {
70
- flex: 1 1 0;
71
- }
72
-
73
- //theme
74
- .p-stepper {
75
- .p-stepper-nav {
76
- display: flex;
77
- justify-content: space-between;
78
- margin: 0;
79
- padding: 0;
80
- list-style-type: none;
81
- }
82
-
83
- .p-stepper-header {
84
- padding: $inlineSpacing;
85
-
86
- .p-stepper-action {
87
- transition: $listItemTransition;
88
- border-radius: $borderRadius;
89
- background: $stepsItemBg;
90
- outline-color: transparent;
91
-
92
- .p-stepper-number {
93
- color: $stepsItemNumberColor;
94
- border: $stepsItemBorder;
95
- border-width: 2px;
96
- background: $stepsItemBg;
97
- min-width: $stepsItemNumberWidth;
98
- height: $stepsItemNumberHeight;
99
- line-height: $stepsItemNumberHeight;
100
- font-size: $stepsItemNumberFontSize;
101
- border-radius: $stepsItemNumberBorderRadius;
102
- transition: $actionIconTransition;
103
- }
104
-
105
- .p-stepper-title {
106
- margin-left: $inlineSpacing;
107
- color: $stepsItemTextColor;
108
- font-weight: $stepsItemActiveFontWeight;
109
- transition: $actionIconTransition;
110
- }
111
-
112
- &:not(.p-disabled):focus-visible {
113
- @include focused();
114
- }
115
- }
116
-
117
- &.p-highlight {
118
- .p-stepper-number {
119
- background: $highlightBg;
120
- color: $highlightTextColor;
121
- }
122
-
123
- .p-stepper-title {
124
- color: $textColor;
125
- }
126
- }
127
-
128
- &:not(.p-disabled):focus-visible {
129
- @include focused();
130
- }
131
-
132
- &:has(~ .p-highlight) {
133
- @if variable-exists(primaryColor) {
134
- .p-stepper-separator {
135
- background-color: $primaryColor;
136
- }
137
- }
138
- }
139
- }
140
-
141
- .p-stepper-panels {
142
- background: $tabviewContentBg;
143
- padding: $tabviewContentPadding;
144
- color: $tabviewContentTextColor;
145
- }
146
-
147
- .p-stepper-separator {
148
- background-color: $timelineEventColor;
149
- width: 100%;
150
- height: 2px;
151
- margin-inline-start: calc($inlineSpacing * 2);
152
- transition: $listItemTransition;
153
- }
154
-
155
- &.p-stepper-vertical {
156
- display: flex;
157
- flex-direction: column;
158
-
159
- .p-stepper-toggleable-content {
160
- display: flex;
161
- flex: 1 1 auto;
162
- background: $tabviewContentBg;
163
- color: $tabviewContentTextColor;
164
- }
165
-
166
- .p-stepper-panel {
167
- display: flex;
168
- flex-direction: column;
169
- flex: initial;
170
-
171
- &.p-stepper-panel-active {
172
- flex: 1 1 auto;
173
- }
174
-
175
- .p-stepper-header {
176
- flex: initial;
177
- }
178
-
179
- .p-stepper-content {
180
- width: 100%;
181
- padding-left: calc($inlineSpacing * 2);
182
- }
183
-
184
- .p-stepper-separator {
185
- flex: 0 0 auto;
186
- width: 2px;
187
- height: auto;
188
- margin-inline-start: calc($inlineSpacing * 7 / 2 + 2px);
189
- }
190
-
191
- &:has(~ .p-stepper-panel-active) {
192
- @if variable-exists(primaryColor) {
193
- .p-stepper-separator {
194
- background-color: $primaryColor;
195
- }
196
- }
197
- }
198
-
199
- &:last-of-type {
200
- .p-stepper-content {
201
- padding-left: calc($inlineSpacing * 6);
202
- }
203
- }
204
- }
205
- }
1
+ @use "sass:math";
2
+
3
+ //core
4
+ .p-stepper .p-stepper-nav {
5
+ position: relative;
6
+ display: flex;
7
+ justify-content: space-between;
8
+ align-items: center;
9
+ margin: 0;
10
+ padding: 0;
11
+ list-style-type: none;
12
+ overflow-x: auto;
13
+ }
14
+
15
+ .p-stepper-vertical .p-stepper-nav {
16
+ flex-direction: column;
17
+ }
18
+
19
+ .p-stepper-header {
20
+ position: relative;
21
+ display: flex;
22
+ flex: 1 1 auto;
23
+ align-items: center;
24
+
25
+ &:last-of-type {
26
+ flex: initial;
27
+ }
28
+ }
29
+
30
+ .p-stepper-header .p-stepper-action {
31
+ border: 0 none;
32
+ display: inline-flex;
33
+ align-items: center;
34
+ text-decoration: none;
35
+ cursor: pointer;
36
+ font-family: inherit;
37
+
38
+ &:focus-visible {
39
+ @include focused();
40
+ }
41
+ }
42
+
43
+ .p-stepper-header button {
44
+ font-family: inherit;
45
+ }
46
+
47
+ .p-stepper.p-stepper-readonly .p-stepper-header {
48
+ cursor: auto;
49
+ }
50
+
51
+ .p-stepper-header.p-highlight .p-stepper-action {
52
+ cursor: default;
53
+ }
54
+
55
+ .p-stepper-title {
56
+ display: block;
57
+ white-space: nowrap;
58
+ overflow: hidden;
59
+ text-overflow: ellipsis;
60
+ max-width: 100%;
61
+ }
62
+
63
+ .p-stepper-number {
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ }
68
+
69
+ .p-stepper-separator {
70
+ flex: 1 1 0;
71
+ }
72
+
73
+ //theme
74
+ .p-stepper {
75
+ .p-stepper-nav {
76
+ display: flex;
77
+ justify-content: space-between;
78
+ margin: 0;
79
+ padding: 0;
80
+ list-style-type: none;
81
+ }
82
+
83
+ .p-stepper-header {
84
+ padding: $inlineSpacing;
85
+
86
+ .p-stepper-action {
87
+ transition: $listItemTransition;
88
+ border-radius: $borderRadius;
89
+ background: $stepsItemBg;
90
+ outline-color: transparent;
91
+
92
+ .p-stepper-number {
93
+ color: $stepsItemNumberColor;
94
+ border: $stepsItemBorder;
95
+ border-width: 2px;
96
+ background: $stepsItemBg;
97
+ min-width: $stepsItemNumberWidth;
98
+ height: $stepsItemNumberHeight;
99
+ line-height: $stepsItemNumberHeight;
100
+ font-size: $stepsItemNumberFontSize;
101
+ border-radius: $stepsItemNumberBorderRadius;
102
+ transition: $actionIconTransition;
103
+ }
104
+
105
+ .p-stepper-title {
106
+ margin-left: $inlineSpacing;
107
+ color: $stepsItemTextColor;
108
+ font-weight: $stepsItemActiveFontWeight;
109
+ transition: $actionIconTransition;
110
+ }
111
+
112
+ &:not(.p-disabled):focus-visible {
113
+ @include focused();
114
+ }
115
+ }
116
+
117
+ &.p-highlight {
118
+ .p-stepper-number {
119
+ background: $highlightBg;
120
+ color: $highlightTextColor;
121
+ }
122
+
123
+ .p-stepper-title {
124
+ color: $textColor;
125
+ }
126
+ }
127
+
128
+ &:not(.p-disabled):focus-visible {
129
+ @include focused();
130
+ }
131
+
132
+ &:has(~ .p-highlight) {
133
+ @if variable-exists(primaryColor) {
134
+ .p-stepper-separator {
135
+ background-color: $primaryColor;
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ .p-stepper-panels {
142
+ background: $tabviewContentBg;
143
+ padding: $tabviewContentPadding;
144
+ color: $tabviewContentTextColor;
145
+ }
146
+
147
+ .p-stepper-separator {
148
+ background-color: $timelineEventColor;
149
+ width: 100%;
150
+ height: 2px;
151
+ margin-inline-start: calc($inlineSpacing * 2);
152
+ transition: $listItemTransition;
153
+ }
154
+
155
+ &.p-stepper-vertical {
156
+ display: flex;
157
+ flex-direction: column;
158
+
159
+ .p-stepper-toggleable-content {
160
+ display: flex;
161
+ flex: 1 1 auto;
162
+ background: $tabviewContentBg;
163
+ color: $tabviewContentTextColor;
164
+ }
165
+
166
+ .p-stepper-panel {
167
+ display: flex;
168
+ flex-direction: column;
169
+ flex: initial;
170
+
171
+ &.p-stepper-panel-active {
172
+ flex: 1 1 auto;
173
+ }
174
+
175
+ .p-stepper-header {
176
+ flex: initial;
177
+ }
178
+
179
+ .p-stepper-content {
180
+ width: 100%;
181
+ padding-left: calc($inlineSpacing * 2);
182
+ }
183
+
184
+ .p-stepper-separator {
185
+ flex: 0 0 auto;
186
+ width: 2px;
187
+ height: auto;
188
+ margin-inline-start: calc($inlineSpacing * 7 / 2 + 2px);
189
+ }
190
+
191
+ &:has(~ .p-stepper-panel-active) {
192
+ @if variable-exists(primaryColor) {
193
+ .p-stepper-separator {
194
+ background-color: $primaryColor;
195
+ }
196
+ }
197
+ }
198
+
199
+ &:last-of-type {
200
+ .p-stepper-content {
201
+ padding-left: calc($inlineSpacing * 6);
202
+ }
203
+ }
204
+ }
205
+ }
206
206
  }