@policystudio/policy-studio-ui-vue 1.1.89 → 1.1.90-access.1

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 (171) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +75 -67
  3. package/.github/workflows/deploy-storybook.yml +5 -5
  4. package/.nvmrc +1 -0
  5. package/dist/css/psui_styles_output.css +6638 -0
  6. package/dist/index.d.ts +51 -0
  7. package/dist/index.js +106 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/util/GeneralFunctions.d.ts +3 -0
  10. package/dist/util/GeneralFunctions.js +35 -0
  11. package/dist/util/GeneralFunctions.js.map +1 -0
  12. package/dist/util/directives.d.ts +1 -0
  13. package/dist/util/directives.js +22 -0
  14. package/dist/util/directives.js.map +1 -0
  15. package/dist/util/imageLoader.d.ts +6 -0
  16. package/dist/util/imageLoader.js +52 -0
  17. package/dist/util/imageLoader.js.map +1 -0
  18. package/doc/.nvmrc +1 -0
  19. package/doc/.storybook/PolicyStudio.ts +11 -0
  20. package/doc/.storybook/main.ts +27 -0
  21. package/doc/.storybook/manager.ts +7 -0
  22. package/{.storybook/preview.js → doc/.storybook/preview.ts} +2 -3
  23. package/doc/package-lock.json +22653 -0
  24. package/doc/package.json +71 -0
  25. package/doc/shims-vue.d.ts +6 -0
  26. package/{src/stories/Accordion.stories.js → doc/src/stories/Accordion.stories.ts} +4 -5
  27. package/{src/stories/BadgeWithIcon.stories.js → doc/src/stories/BadgeWithIcon.stories.ts} +2 -2
  28. package/{src/stories/BarChart.stories.js → doc/src/stories/BarChart.stories.ts} +2 -2
  29. package/{src/stories/Breadcrumb.stories.js → doc/src/stories/Breadcrumb.stories.ts} +2 -5
  30. package/{src/stories/Button.stories.js → doc/src/stories/Button.stories.ts} +130 -130
  31. package/{src/stories/CardInfos.stories.js → doc/src/stories/CardInfos.stories.ts} +2 -3
  32. package/{src/stories/ChartLegend.stories.js → doc/src/stories/ChartLegend.stories.ts} +2 -3
  33. package/{src/stories/Checkbox.stories.js → doc/src/stories/Checkbox.stories.ts} +2 -2
  34. package/{src/stories/CheckboxSimple.stories.js → doc/src/stories/CheckboxSimple.stories.ts} +2 -2
  35. package/{src/stories/Chips.stories.js → doc/src/stories/Chips.stories.ts} +22 -23
  36. package/{src/stories/ClimateZoneBadge.stories.js → doc/src/stories/ClimateZoneBadge.stories.ts} +3 -2
  37. package/doc/src/stories/Collapse.stories.ts +46 -0
  38. package/{src/stories/CostEffectBar.stories.js → doc/src/stories/CostEffectBar.stories.ts} +3 -2
  39. package/{src/stories/Datatable.stories.js → doc/src/stories/Datatable.stories.ts} +7 -4
  40. package/{src/stories/DateCardInfo.stories.js → doc/src/stories/DateCardInfo.stories.ts} +2 -6
  41. package/{src/stories/Dialog.stories.js → doc/src/stories/Dialog.stories.ts} +2 -2
  42. package/{src/stories/Draggable.stories.js → doc/src/stories/Draggable.stories.ts} +3 -2
  43. package/{src/stories/Dropdown.stories.js → doc/src/stories/Dropdown.stories.ts} +4 -3
  44. package/{src/stories/DropdownList.stories.js → doc/src/stories/DropdownList.stories.ts} +4 -2
  45. package/{src/stories/ElevationSystem.stories.mdx → doc/src/stories/ElevationSystem.mdx} +1 -1
  46. package/{src/stories/HighlightRippleDot.stories.js → doc/src/stories/HighlightRippleDot.stories.ts} +3 -2
  47. package/{src/stories/Icon.stories.js → doc/src/stories/Icon.stories.ts} +3 -1
  48. package/{src/stories/InlineSelector.stories.js → doc/src/stories/InlineSelector.stories.ts} +2 -2
  49. package/{src/stories/Input.stories.js → doc/src/stories/Input.stories.ts} +7 -4
  50. package/{src/stories/InputSelect.stories.js → doc/src/stories/InputSelect.stories.ts} +3 -2
  51. package/{src/stories/InputTextArea.stories.js → doc/src/stories/InputTextArea.stories.ts} +2 -2
  52. package/{src/stories/Introduction.stories.mdx → doc/src/stories/Introduction.mdx} +101 -101
  53. package/{src/stories/MiniTag.stories.js → doc/src/stories/MiniTag.stories.ts} +9 -2
  54. package/{src/stories/ProgressBar.stories.js → doc/src/stories/ProgressBar.stories.ts} +3 -2
  55. package/{src/stories/RadioButton.stories.js → doc/src/stories/RadioButton.stories.ts} +2 -2
  56. package/{src/stories/RadioButtonSimple.stories.js → doc/src/stories/RadioButtonSimple.stories.ts} +2 -2
  57. package/{src/stories/SimpleAlert.stories.js → doc/src/stories/SimpleAlert.stories.ts} +3 -2
  58. package/{src/stories/Slider.stories.js → doc/src/stories/Slider.stories.ts} +6 -2
  59. package/{src/stories/Switch.stories.js → doc/src/stories/Switch.stories.ts} +2 -2
  60. package/{src/stories/TabHeader.stories.js → doc/src/stories/TabHeader.stories.ts} +6 -1
  61. package/{src/stories/TableResults.stories.js → doc/src/stories/TableResults.stories.ts} +11 -7
  62. package/{src/stories/TagScope.stories.js → doc/src/stories/TagScope.stories.ts} +3 -2
  63. package/{src/stories/TestimonialCard.stories.js → doc/src/stories/TestimonialCard.stories.ts} +3 -3
  64. package/{src/stories/Toast.stories.js → doc/src/stories/Toast.stories.ts} +2 -2
  65. package/{src/stories/Toggle.stories.js → doc/src/stories/Toggle.stories.ts} +7 -4
  66. package/{src/stories/Tooltip.stories.js → doc/src/stories/Tooltip.stories.ts} +6 -6
  67. package/{src/stories/Typography.stories.mdx → doc/src/stories/Typography.mdx} +107 -105
  68. package/doc/tsconfig.json +17 -0
  69. package/package.json +43 -39
  70. package/scripts/gulp.js +11 -0
  71. package/scripts/kill-port.sh +12 -0
  72. package/src/App.vue +30 -0
  73. package/src/assets/scss/base.scss +3 -30
  74. package/src/assets/scss/components/PsAccordion.scss +12 -2
  75. package/src/assets/scss/components/PsButton.scss +7 -1
  76. package/src/assets/scss/components/PsChips.scss +12 -7
  77. package/src/assets/scss/components/PsCollapse.scss +71 -0
  78. package/src/assets/scss/components/PsCostEffectBar.scss +4 -4
  79. package/src/assets/scss/components/PsDataTable.scss +1 -1
  80. package/src/assets/scss/components/PsDateCardInfo.scss +4 -5
  81. package/src/assets/scss/components/PsDialog.scss +7 -0
  82. package/src/assets/scss/components/PsDropdownList.scss +1 -1
  83. package/src/assets/scss/components/PsInput.scss +10 -0
  84. package/src/assets/scss/components/PsProgressBar.scss +4 -4
  85. package/src/assets/scss/components/PsSwitch.scss +10 -0
  86. package/src/assets/scss/components/PsTabHeader.scss +64 -2
  87. package/src/assets/scss/components/PsTableResults.scss +51 -82
  88. package/src/assets/scss/components/PsTestimonialCard.scss +1 -1
  89. package/src/assets/scss/components/PsTooltip.scss +149 -145
  90. package/src/components/accordion/PsAccordion.vue +20 -21
  91. package/src/components/accordion/PsAccordionItem.vue +122 -81
  92. package/src/components/badges-and-tags/PsBadgeWithIcon.vue +37 -36
  93. package/src/components/badges-and-tags/PsCardInfos.vue +40 -40
  94. package/src/components/badges-and-tags/PsChartLegend.vue +50 -41
  95. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +13 -19
  96. package/src/components/badges-and-tags/PsCostEffectBar.vue +28 -61
  97. package/src/components/badges-and-tags/PsDateCardInfo.vue +17 -18
  98. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +4 -3
  99. package/src/components/badges-and-tags/PsMiniTag.vue +39 -41
  100. package/src/components/badges-and-tags/PsProgressBar.vue +72 -68
  101. package/src/components/badges-and-tags/PsTagScope.vue +17 -22
  102. package/src/components/badges-and-tags/PsTestimonialCard.vue +25 -30
  103. package/src/components/buttons/PsButton.vue +90 -98
  104. package/src/components/chips/PsChips.vue +118 -103
  105. package/src/components/collapse/PsCollapse.vue +124 -0
  106. package/src/components/controls/PsCheckbox.vue +86 -83
  107. package/src/components/controls/PsCheckboxSimple.vue +97 -97
  108. package/src/components/controls/PsDraggable.vue +100 -99
  109. package/src/components/controls/PsInlineSelector.vue +111 -113
  110. package/src/components/controls/PsRadioButton.vue +72 -60
  111. package/src/components/controls/PsRadioButtonSimple.vue +81 -77
  112. package/src/components/controls/PsSlider.vue +190 -181
  113. package/src/components/controls/PsSwitch.vue +64 -54
  114. package/src/components/controls/PsToggle.vue +62 -57
  115. package/src/components/data-graphics/PsBarChart.vue +22 -23
  116. package/src/components/datatable/PsDataTable.vue +70 -65
  117. package/src/components/datatable/PsDataTableItem.vue +30 -32
  118. package/src/components/forms/PsDropdown.vue +173 -166
  119. package/src/components/forms/PsDropdownList.vue +133 -130
  120. package/src/components/forms/PsInput.vue +163 -146
  121. package/src/components/forms/PsInputSelect.vue +121 -100
  122. package/src/components/forms/PsInputTextArea.vue +84 -74
  123. package/src/components/navigations/PsBreadcrumb.vue +25 -34
  124. package/src/components/notifications/PsDialog.vue +67 -60
  125. package/src/components/notifications/PsSimpleAlert.vue +47 -37
  126. package/src/components/notifications/PsToast.vue +48 -42
  127. package/src/components/table-results/PsTableResults.vue +527 -504
  128. package/src/components/table-results/PsTableResultsBody.vue +69 -68
  129. package/src/components/table-results/PsTableResultsHead.vue +108 -69
  130. package/src/components/table-results/PsTableResultsHeadComparison.vue +88 -69
  131. package/src/components/table-results/PsTableResultsHeadFlexible.vue +112 -72
  132. package/src/components/table-results/PsTableResultsRow.vue +61 -58
  133. package/src/components/tabs/PsTabHeader.vue +138 -116
  134. package/src/components/tooltip/PsDialogTooltip.vue +112 -107
  135. package/src/components/tooltip/PsRichTooltip.vue +46 -43
  136. package/src/components/tooltip/PsTooltip.vue +126 -122
  137. package/src/components/ui/PsDotLoader.vue +6 -10
  138. package/src/components/ui/PsIcon.vue +149 -134
  139. package/src/index.ts +159 -0
  140. package/src/tsconfig.json +12 -0
  141. package/src/types/index.d.ts +6 -0
  142. package/src/util/GeneralFunctions.js +16 -7
  143. package/src/util/directives.ts +24 -0
  144. package/src/util/imageLoader.js +14 -7
  145. package/tailwind.config.js +12 -3
  146. package/tsconfig.json +47 -0
  147. package/.storybook/PolicyStudio.js +0 -10
  148. package/.storybook/eventBus.js +0 -3
  149. package/.storybook/main.js +0 -25
  150. package/.storybook/manager.js +0 -6
  151. package/babel.config.js +0 -3
  152. package/backup-package-lock.json +0 -37194
  153. package/dist/css/psui_styles.css +0 -110965
  154. package/postcss.config.js +0 -8
  155. package/src/components/playground/PsScrollBar.vue +0 -248
  156. package/src/index.js +0 -167
  157. package/src/stories/Playground.stories.js +0 -16
  158. /package/{src → doc/src}/assets/images/multifamily-units.svg +0 -0
  159. /package/{src → doc/src}/assets/images/policy-studio.svg +0 -0
  160. /package/{src/contents/ComparisonData.js → doc/src/contents/ComparisonData.ts} +0 -0
  161. /package/{src/contents/FlexibleData.js → doc/src/contents/FlexibleData.ts} +0 -0
  162. /package/{src/contents/ResultsData.js → doc/src/contents/ResultsData.ts} +0 -0
  163. /package/{src/stories/Colors.stories.mdx → doc/src/stories/Colors.mdx} +0 -0
  164. /package/{src → doc/src}/stories/assets/code-brackets.svg +0 -0
  165. /package/{src → doc/src}/stories/assets/colors.svg +0 -0
  166. /package/{src → doc/src}/stories/assets/comments.svg +0 -0
  167. /package/{src → doc/src}/stories/assets/direction.svg +0 -0
  168. /package/{src → doc/src}/stories/assets/flow.svg +0 -0
  169. /package/{src → doc/src}/stories/assets/plugin.svg +0 -0
  170. /package/{src → doc/src}/stories/assets/repo.svg +0 -0
  171. /package/{src → doc/src}/stories/assets/stackalt.svg +0 -0
@@ -35,6 +35,9 @@
35
35
  @import './components/PsBarChart.scss';
36
36
  @import './components/PsSimpleAlert.scss';
37
37
  @import './components/PsBreadcrumb.scss';
38
+ @import './components/PsCollapse.scss';
39
+
40
+
38
41
  @import "tailwindcss/base";
39
42
  @import "tailwindcss/components";
40
43
  @import "tailwindcss/utilities";
@@ -67,35 +70,5 @@ html {
67
70
  -webkit-font-smoothing: antialiased;
68
71
  }
69
72
 
70
- .psui-card {
71
- @apply .psui-w-full .psui-bg-white .psui-rounded-lg .psui-px-6 .psui-py-4 .psui-shadow-elevation-5;
72
-
73
- &-header {
74
- @apply .psui-flex .psui-items-center .psui-justify-between .psui-mb-4;
75
-
76
- h4 {
77
- @apply .psui-text-h6 .psui-font-bold .psui-text-gray-80;
78
- }
79
- }
80
- }
81
-
82
- .psui-show-childrens-on-hover {
83
- &:hover {
84
- * {
85
- opacity: 1 !important;
86
- }
87
- }
88
73
 
89
- &.absolute-childrens {
90
- @apply psui-relative;
91
-
92
- .helper {
93
- @apply psui-absolute psui-top-0;
94
- right: -18px;
95
- }
96
- }
97
- }
98
74
 
99
- .psui-transition {
100
- @apply psui-transition-all psui-ease-in-out psui-duration-150;
101
- }
@@ -5,10 +5,20 @@
5
5
  &-item {
6
6
  border-bottom: 1px solid #e6ecf2;
7
7
 
8
+ &:focus {
9
+ outline: none;
10
+ }
11
+
12
+ &:focus-visible {
13
+ outline: 2px solid #2563EB;
14
+ outline-offset: 2px;
15
+ border-radius: 6px;
16
+ }
17
+
8
18
  &.disabled {
9
19
  .psui-el-accordion-item-header {
10
20
  .psui-el-accordion-item-header-wrapper {
11
- @apply psui-text-gray-50 pointer-events-none;
21
+ @apply psui-text-gray-50 psui-pointer-events-none;
12
22
 
13
23
  }
14
24
  }
@@ -101,7 +111,7 @@
101
111
  overflow: hidden;
102
112
  }
103
113
 
104
- .accordion-fade-enter,
114
+ .accordion-fade-enter-from,
105
115
  .accordion-fade-leave-to {
106
116
  height: 0 !important;
107
117
  margin-bottom: 0 !important;
@@ -16,6 +16,12 @@
16
16
  outline: none;
17
17
  }
18
18
 
19
+ &:focus-visible {
20
+ outline: 2px solid #2563EB;
21
+ outline-offset: 2px;
22
+ border-radius: 6px;
23
+ }
24
+
19
25
  &.icon-right {
20
26
  @apply psui-flex-row-reverse;
21
27
  }
@@ -135,7 +141,7 @@
135
141
  }
136
142
 
137
143
  &.layout-onlytext {
138
- @apply psui-bg-white psui-text-blue-60;
144
+ @apply psui-text-blue-60;
139
145
 
140
146
  &.disabled {
141
147
  @apply psui-text-gray-40 psui-cursor-default
@@ -1,4 +1,4 @@
1
- @layer components{
1
+ @layer components {
2
2
 
3
3
  .psui-el-chips {
4
4
  @apply psui-inline-flex psui-relative;
@@ -19,7 +19,15 @@
19
19
  &:checked {
20
20
  + label {
21
21
  @apply psui-text-blue-60 psui-bg-blue-20;
22
-
22
+
23
+ &.layout-disabled {
24
+ @apply psui-bg-gray-20 psui-text-gray-40 psui-cursor-default;
25
+
26
+ &:before {
27
+ @apply psui-text-gray-30 psui-cursor-default;
28
+ }
29
+ }
30
+
23
31
  &:before {
24
32
  @apply psui-text-blue-50;
25
33
  }
@@ -82,8 +90,6 @@
82
90
  }
83
91
 
84
92
  &.type-button {
85
-
86
-
87
93
  label {
88
94
  @apply psui-flex psui-items-center psui-justify-center psui-text-gray-60 psui-transition-all psui-cursor-pointer psui-rounded psui-py-1 psui-px-3 psui-text-small;
89
95
  background-color: #F6F7F8;
@@ -99,7 +105,6 @@
99
105
  &.checked {
100
106
  @apply psui-text-blue-60 psui-bg-blue-20;
101
107
  }
102
-
103
108
  }
104
109
 
105
110
  &.layout-with-icon {
@@ -126,7 +131,7 @@
126
131
 
127
132
  &,
128
133
  .psui-el-chips-close {
129
- @apply .psui-text-gray-50;
134
+ @apply psui-text-gray-50;
130
135
  }
131
136
 
132
137
  .psui-el-chips-icon-prepend {
@@ -140,7 +145,7 @@
140
145
 
141
146
  &,
142
147
  .psui-el-chips-close {
143
- @apply .psui-text-blue-60;
148
+ @apply psui-text-blue-60;
144
149
  }
145
150
 
146
151
  .psui-el-chips-icon-prepend {
@@ -0,0 +1,71 @@
1
+ @layer components {
2
+
3
+ .psui-el-collapse {
4
+
5
+ .psui-el-collapse-item-content {
6
+ @apply psui-relative psui-pl-4;
7
+
8
+ &::before {
9
+ @apply psui-bg-gray-30 psui-ml-2;
10
+ content: "";
11
+ position: absolute;
12
+ top: 0;
13
+ left: 0;
14
+ width: 1px;
15
+ height: 100%;
16
+ transform: translateX(-50%);
17
+ }
18
+ }
19
+
20
+
21
+
22
+ .psui-el-collapse-item-header {
23
+ @apply psui-flex psui-items-center psui-cursor-pointer;
24
+
25
+ .psui-el-collapse-item-icon {
26
+ @apply psui-text-gray-50 psui-transition-all;
27
+ transition-duration: 0.4s;
28
+ font-size: 16px;
29
+ }
30
+
31
+ .psui-el-collapse-item-header-wrapper {
32
+ @apply psui-flex psui-items-center psui-py-2 psui-text-small psui-w-full;
33
+
34
+ .psui-el-collapse-item-title {
35
+ @apply psui-ml-1 psui-text-gray-70 hover:psui-text-blue-60;
36
+
37
+ &.disabled {
38
+ @apply psui-text-gray-50;
39
+ }
40
+
41
+ }
42
+
43
+ .psui-el-collapse-item-header-action {
44
+ @apply psui-invisible psui-ml-auto psui-text-gray-70 hover:psui-text-blue-60;
45
+ }
46
+ }
47
+
48
+ &:hover {
49
+ .psui-el-collapse-item-header-wrapper {
50
+ .psui-el-collapse-item-header-action {
51
+ @apply psui-visible;
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+
58
+ .collapse-fade-enter-active,
59
+ .collapse-fade-leave-active {
60
+ will-change: height, margin-bottom;
61
+ transition: height 0.4s ease-in-out, margin-bottom 0.4s ease-in-out;
62
+ overflow: hidden;
63
+ }
64
+
65
+ .collapse-fade-enter-from,
66
+ .collapse-fade-leave-to {
67
+ height: 0 !important;
68
+ margin-bottom: 0 !important;
69
+ }
70
+ }
71
+ }
@@ -1,13 +1,13 @@
1
1
  @layer components {
2
2
  .psui-el-cost-effect-bar {
3
- @apply .psui-overflow-visible;
3
+ @apply psui-overflow-visible;
4
4
 
5
5
  div {
6
- @apply .psui-relative .psui-h-2 .psui-rounded-2xl;
6
+ @apply psui-relative psui-h-2 psui-rounded-2xl;
7
7
  width: 100px;
8
8
 
9
9
  span {
10
- @apply .psui-absolute .psui-rounded-sm .psui-z-10;
10
+ @apply psui-absolute psui-rounded-sm psui-z-10;
11
11
  background-color: #d6dde5;
12
12
  width: 2px;
13
13
  height: 14px;
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .psui-el-simple-progress-bar {
18
- @apply .psui-overflow-hidden;
18
+ @apply psui-overflow-hidden;
19
19
 
20
20
  &-percentage {
21
21
  border-radius: unset;
@@ -58,7 +58,7 @@
58
58
  td,
59
59
  tr {
60
60
  padding: 7px 16px;
61
- @apply .psui-text-gray-80;
61
+ @apply psui-text-gray-80;
62
62
  }
63
63
  }
64
64
  }
@@ -1,13 +1,12 @@
1
1
  @layer components {
2
2
  .psui-el-date-card {
3
3
  @apply psui-flex psui-flex-col psui-bg-blue-60 psui-text-blue-20 psui-text-small psui-font-bold psui-text-center psui-overflow-hidden psui-rounded;
4
- width: 61px;
5
4
 
6
- &-month-day,
7
- &-year {
8
- @apply psui-py-1;
5
+ &-month-day, &-year {
6
+ @apply psui-text-small;
7
+ padding: 4px 8px;
9
8
  }
10
-
9
+
11
10
  &-year {
12
11
  @apply psui-bg-blue-50 psui-w-full psui-font-bold;
13
12
  }
@@ -79,5 +79,12 @@
79
79
  @apply psui-text-yellow-70;
80
80
  }
81
81
  }
82
+
83
+ &.theme-gray {
84
+ @apply psui-bg-gray-10 psui-text-gray-50;
85
+ .psui-el-dialog-message {
86
+ @apply psui-text-gray-70;
87
+ }
88
+ }
82
89
  }
83
90
  }
@@ -3,7 +3,7 @@
3
3
  @apply psui-w-full psui-flex psui-flex-col psui-font-medium psui-my-4;
4
4
 
5
5
  .psui-el-dropdown-menu-list-item {
6
- @apply psui-flex psui-items-end psui-justify-between psui-mx-0 psui-text-small psui-text-gray-60 psui-cursor-pointer psui-transition-all psui-show-childrens-on-hover;
6
+ @apply psui-flex psui-items-end psui-justify-between psui-mx-0 psui-text-small psui-text-gray-60 psui-cursor-pointer psui-transition-all;
7
7
  padding: 7px 20px;
8
8
 
9
9
  &-left-label {
@@ -2,6 +2,16 @@
2
2
 
3
3
  .psui-el-input {
4
4
 
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+
9
+ &:focus-visible {
10
+ outline: 2px solid #2563EB;
11
+ outline-offset: 2px;
12
+ border-radius: 6px;
13
+ }
14
+
5
15
  &-prepend {
6
16
  @apply psui-pl-2 psui-flex psui-items-center psui-pointer-events-none
7
17
  }
@@ -1,10 +1,10 @@
1
1
  @layer components {
2
2
  .psui-el-progress-bar {
3
- @apply .psui-relative .psui-h-2 .psui-rounded-full .psui-bg-red-10;
3
+ @apply psui-relative psui-h-2 psui-rounded-full psui-bg-red-10;
4
4
  width: 100px;
5
5
 
6
6
  &.is-breakeven {
7
- @apply .psui-bg-blue-20;
7
+ @apply psui-bg-blue-20;
8
8
  }
9
9
 
10
10
  &-percentage {
@@ -16,13 +16,13 @@
16
16
  }
17
17
 
18
18
  &-divider {
19
- @apply .psui-absolute .psui-rounded-full .psui-z-auto .psui-bg-gray-30;
19
+ @apply psui-absolute psui-rounded-full psui-z-auto psui-bg-gray-30;
20
20
  width: 2px; height: 14px;
21
21
  top: -3px;
22
22
  }
23
23
 
24
24
  &-value {
25
- @apply .psui-h-2 .psui-rounded-tl-full .psui-rounded-bl-full;
25
+ @apply psui-h-2 psui-rounded-tl-full psui-rounded-bl-full;
26
26
  }
27
27
 
28
28
  @keyframes animate-stripes {
@@ -2,6 +2,16 @@
2
2
  .psui-el-switch {
3
3
  @apply psui-relative psui-inline-block psui-rounded-3xl;
4
4
 
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+
9
+ &:focus-visible {
10
+ outline: 2px solid #2563EB;
11
+ outline-offset: 2px;
12
+ border-radius: 6px;
13
+ }
14
+
5
15
  &.disabled {
6
16
  pointer-events: none;
7
17
  .psui-el-switch-button {
@@ -5,13 +5,20 @@
5
5
 
6
6
  button {
7
7
  @apply transition-default psui-text-small;
8
+
8
9
  &.status-disabled {
9
- @apply cursor-not-allowed;
10
+ @apply psui-cursor-not-allowed;
10
11
  }
11
12
 
12
13
  &:focus {
13
14
  outline: none;
14
15
  }
16
+
17
+ &:focus-visible {
18
+ outline: 2px solid #2563EB;
19
+ outline-offset: 2px;
20
+ border-radius: 6px;
21
+ }
15
22
  }
16
23
 
17
24
  &.status-disabled {
@@ -20,6 +27,61 @@
20
27
  }
21
28
  }
22
29
 
30
+ /* Layout Policy Design */
31
+ &.layout-policy-design {
32
+ button {
33
+ padding: 8px 2px 7px 0px;
34
+ margin-right: 8px;
35
+ @apply psui-flex psui-items-center psui-relative;
36
+
37
+ &:not(:first-child) {
38
+ margin-left: 8px;
39
+ }
40
+
41
+
42
+ &:after {
43
+ content: '';
44
+ @apply psui-transition-all psui-h-[3px] psui-block psui-w-full psui-absolute psui-bottom-0 psui-left-0 psui-opacity-0 psui-bg-blue-60;
45
+ }
46
+
47
+ &:hover {
48
+ > div {
49
+ @apply psui-text-gray-60;
50
+ }
51
+ }
52
+
53
+ &.status-active {
54
+ @apply psui-border-blue-60;
55
+
56
+ &:after {
57
+ @apply psui-opacity-100;
58
+ }
59
+
60
+ > div {
61
+ @apply psui-text-blue-60;
62
+ }
63
+
64
+ > span {
65
+ @apply psui-font-bold psui-text-gray-70;
66
+ }
67
+ }
68
+
69
+ > div {
70
+ @apply psui-text-gray-50 psui-mr-1;
71
+ }
72
+
73
+ > span {
74
+ line-height: 120%;
75
+ font-size: 14px;
76
+ @apply psui-text-gray-60 psui-font-bold;
77
+ }
78
+ }
79
+ }
80
+
81
+
82
+
83
+ /* ----------------------------------------- */
84
+
23
85
  /* Layout Standard */
24
86
  /* ----------------------------------------- */
25
87
  &.layout-standard {
@@ -91,7 +153,7 @@
91
153
  }
92
154
 
93
155
  &.status-active {
94
- @apply psui-text-blue-60 psui-border-blue-50
156
+ @apply psui-text-blue-60 psui-border-blue-50;
95
157
  }
96
158
  }
97
159
  }
@@ -1,15 +1,30 @@
1
1
  @layer components{
2
2
  .psui-el-table-results-wrapper {
3
- @apply psui-w-full psui-whitespace-no-wrap psui-flex psui-overflow-auto;
3
+ @apply psui-w-full psui-whitespace-nowrap psui-flex psui-overflow-auto;
4
4
 
5
5
  &.table-flexible {
6
- @apply psui-pr-4 psui-pb-2;
6
+ @apply psui-pr-4;
7
7
  }
8
8
  }
9
9
 
10
10
  .psui-el-table-results {
11
11
  @apply psui-relative psui-align-top psui-w-full psui-max-w-full psui-text-p;
12
12
 
13
+ .is-warning-column {
14
+ padding-right: 12px;
15
+ }
16
+
17
+ .warning-svg-position {
18
+ position: absolute;
19
+ right: calc(-1rem + 15px);
20
+ top: 4px;
21
+ .psui-el-tooltip-trigger {
22
+ margin-right: calc(0.313rem + 1px);
23
+ margin-bottom: 0.125rem;
24
+ margin-left: -0.094rem;
25
+ }
26
+ }
27
+
13
28
  &.layout-results {
14
29
  tr {
15
30
  th, td {
@@ -358,13 +373,11 @@
358
373
 
359
374
  tr {
360
375
  .title {
361
- @apply psui-text-small psui-font-bold psui-leading-4;
376
+ @apply psui-text-small psui-leading-4;
362
377
  }
363
378
 
364
379
  th {
365
380
  @apply psui-text-gray-50 psui-text-right psui-w-auto psui-align-top;
366
- padding-top: 0.438rem;
367
- padding-bottom: 0.625rem;
368
381
 
369
382
  .description {
370
383
  @apply psui-text-xsmall psui-font-normal;
@@ -408,12 +421,10 @@
408
421
  }
409
422
 
410
423
  > div {
411
- @apply psui-flex psui-flex-row psui-border-b psui-border-gray-30;
412
- padding-top: 0.5rem;
413
- padding-bottom: 0.625rem;
424
+ @apply psui-flex psui-flex-row psui-border-b psui-border-gray-30 psui-py-2;
414
425
 
415
426
  > .title {
416
- @apply psui-text-accentSmall psui-text-gray-60 psui-font-bold psui-uppercase;
427
+ @apply psui-text-accentSmall psui-text-blue-80 psui-font-bold psui-uppercase;
417
428
 
418
429
  }
419
430
  }
@@ -427,7 +438,18 @@
427
438
 
428
439
  &:not(:first-of-type) {
429
440
  th {
430
- padding-left: 20px;
441
+ &:not(:first-of-type) {
442
+ > div {
443
+ > div {
444
+ @apply psui-mx-auto;
445
+ }
446
+ }
447
+ }
448
+
449
+ > div {
450
+ @apply psui-border-b psui-border-gray-20 psui-pr-[20px];
451
+
452
+ }
431
453
 
432
454
  .title {
433
455
  @apply psui-text-blue-80;
@@ -481,20 +503,6 @@
481
503
  }
482
504
  }
483
505
 
484
- &.combined_measure_margin_aux {
485
-
486
- td {
487
- content: '' !important;
488
- background-color: white !important;
489
- max-height: 10px;
490
- visibility: hidden;
491
-
492
- &:nth-child(3) {
493
- visibility: visible;
494
- }
495
-
496
- }
497
- }
498
506
 
499
507
  &.is-disabled {
500
508
  td {
@@ -506,61 +514,9 @@
506
514
  }
507
515
  }
508
516
 
509
- &.visible {
510
- display: none
511
- }
512
-
513
- &.appended-row {
514
- @apply psui-bg-blue-10 psui-border psui-rounded-md;
515
- height: 36px;
516
-
517
- td {
518
- @apply psui-bg-gray-10 psui-text-gray-70;
519
- transition: background-color 0.5s ease;
520
-
521
- .title {
522
- margin-left: 6px;
523
- }
524
-
525
- &:first-child {
526
- @apply psui-sticky;
527
- min-width: 330px;
528
-
529
- &:after,&:before {
530
- content: '';
531
- @apply psui-absolute psui-top-0;
532
- }
533
-
534
- &:before {
535
- @apply psui-bg-gray-10 psui-rounded-bl-full ;
536
- box-shadow: -3px 3px 0px 0px #ffffff;
537
- z-index: 30;
538
- top: 25px;
539
- left: 0;
540
- width: 10px;
541
- height: 10px;
542
- }
543
-
544
- &:after {
545
- @apply psui-bg-gray-10 psui-rounded-tl-full ;
546
- box-shadow: -3px -3px 0px 0px #ffffff;
547
- z-index: 30;
548
- top: 0;
549
- left: 0;
550
- width: 10px;
551
- height: 10px;
552
- }
553
- }
554
- }
555
- }
556
517
 
557
518
  td {
558
- @apply psui-text-gray-70 psui-h-10 psui-text-right psui-text-small;
559
- padding-top: 0.688rem;
560
- padding-bottom: 0.688rem;
561
- min-height: 41.5px;
562
- padding-left: 20px;
563
-
519
+ @apply psui-text-gray-70 psui-h-[32px] psui-text-right psui-text-small;
564
520
 
565
521
  &.hover-color {
566
522
  background-color: #ECF7FB !important;
@@ -582,10 +538,7 @@
582
538
 
583
539
  &:first-child {
584
540
  @apply psui-pr-8 psui-text-left psui-block psui-sticky psui-z-10 psui-left-0;
585
- padding-top: 8px;
586
- padding-bottom: 8px;
587
541
  width: 352px;
588
- padding-left: 0px;
589
542
  }
590
543
 
591
544
  &:nth-child(2) {
@@ -606,6 +559,10 @@
606
559
  }
607
560
  }
608
561
 
562
+ &:nth-child(n+3) {
563
+ padding-right: 20px;
564
+ }
565
+
609
566
  .psui-el-tooltip-dialog {
610
567
  text-align: left;
611
568
  max-width: 180px;
@@ -628,7 +585,7 @@
628
585
  }
629
586
 
630
587
  td {
631
- @apply psui-h-auto psui-pt-2 psui-pb-0;
588
+ @apply psui-h-auto psui-py-1;
632
589
  min-height: 1rem;
633
590
  }
634
591
 
@@ -791,6 +748,18 @@
791
748
  }
792
749
  }
793
750
  }
751
+ .psui-show-childrens-on-hover:hover * {
752
+ opacity: 1!important
753
+ }
754
+
755
+ .psui-show-childrens-on-hover.absolute-childrens {
756
+ position: relative
757
+ }
758
+
759
+ .psui-show-childrens-on-hover.absolute-childrens .helper {
760
+ position: absolute;
761
+ top: 0;
762
+ right: -18px
763
+ }
794
764
  }
795
-
796
765
  }
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .psui-el-testimonial {
3
- @apply psui-relative psui-bg-white psui-shadow-elevation-5 psui-flex psui-flex-col psui-rounded-lg w-full;
3
+ @apply psui-relative psui-bg-white psui-shadow-elevation-5 psui-flex psui-flex-col psui-rounded-lg psui-w-full;
4
4
  padding: 56px 42px 40px 32px;
5
5
 
6
6
  &-icon {