@policystudio/policy-studio-ui-vue 1.1.88 → 1.1.90-access.0
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.
- package/.eslintignore +1 -0
- package/.eslintrc.js +75 -67
- package/.github/workflows/deploy-storybook.yml +5 -5
- package/.nvmrc +1 -0
- package/dist/css/psui_styles_output.css +6617 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +106 -0
- package/dist/index.js.map +1 -0
- package/dist/util/GeneralFunctions.d.ts +3 -0
- package/dist/util/GeneralFunctions.js +35 -0
- package/dist/util/GeneralFunctions.js.map +1 -0
- package/dist/util/directives.d.ts +1 -0
- package/dist/util/directives.js +22 -0
- package/dist/util/directives.js.map +1 -0
- package/dist/util/imageLoader.d.ts +6 -0
- package/dist/util/imageLoader.js +52 -0
- package/dist/util/imageLoader.js.map +1 -0
- package/doc/.nvmrc +1 -0
- package/doc/.storybook/PolicyStudio.ts +11 -0
- package/doc/.storybook/main.ts +27 -0
- package/doc/.storybook/manager.ts +7 -0
- package/{.storybook/preview.js → doc/.storybook/preview.ts} +2 -3
- package/doc/package-lock.json +22653 -0
- package/doc/package.json +71 -0
- package/doc/shims-vue.d.ts +6 -0
- package/{src/stories/Accordion.stories.js → doc/src/stories/Accordion.stories.ts} +4 -5
- package/{src/stories/BadgeWithIcon.stories.js → doc/src/stories/BadgeWithIcon.stories.ts} +2 -2
- package/{src/stories/BarChart.stories.js → doc/src/stories/BarChart.stories.ts} +2 -2
- package/{src/stories/Breadcrumb.stories.js → doc/src/stories/Breadcrumb.stories.ts} +2 -5
- package/{src/stories/Button.stories.js → doc/src/stories/Button.stories.ts} +130 -130
- package/{src/stories/CardInfos.stories.js → doc/src/stories/CardInfos.stories.ts} +2 -3
- package/{src/stories/ChartLegend.stories.js → doc/src/stories/ChartLegend.stories.ts} +2 -3
- package/{src/stories/Checkbox.stories.js → doc/src/stories/Checkbox.stories.ts} +2 -2
- package/{src/stories/CheckboxSimple.stories.js → doc/src/stories/CheckboxSimple.stories.ts} +2 -2
- package/{src/stories/Chips.stories.js → doc/src/stories/Chips.stories.ts} +22 -23
- package/{src/stories/ClimateZoneBadge.stories.js → doc/src/stories/ClimateZoneBadge.stories.ts} +3 -2
- package/doc/src/stories/Collapse.stories.ts +46 -0
- package/{src/stories/CostEffectBar.stories.js → doc/src/stories/CostEffectBar.stories.ts} +3 -2
- package/{src/stories/Datatable.stories.js → doc/src/stories/Datatable.stories.ts} +7 -4
- package/{src/stories/DateCardInfo.stories.js → doc/src/stories/DateCardInfo.stories.ts} +2 -6
- package/{src/stories/Dialog.stories.js → doc/src/stories/Dialog.stories.ts} +2 -2
- package/{src/stories/Draggable.stories.js → doc/src/stories/Draggable.stories.ts} +3 -2
- package/{src/stories/Dropdown.stories.js → doc/src/stories/Dropdown.stories.ts} +4 -3
- package/{src/stories/DropdownList.stories.js → doc/src/stories/DropdownList.stories.ts} +4 -2
- package/{src/stories/ElevationSystem.stories.mdx → doc/src/stories/ElevationSystem.mdx} +1 -1
- package/{src/stories/HighlightRippleDot.stories.js → doc/src/stories/HighlightRippleDot.stories.ts} +3 -2
- package/{src/stories/Icon.stories.js → doc/src/stories/Icon.stories.ts} +3 -1
- package/{src/stories/InlineSelector.stories.js → doc/src/stories/InlineSelector.stories.ts} +2 -2
- package/{src/stories/Input.stories.js → doc/src/stories/Input.stories.ts} +7 -4
- package/{src/stories/InputSelect.stories.js → doc/src/stories/InputSelect.stories.ts} +3 -2
- package/{src/stories/InputTextArea.stories.js → doc/src/stories/InputTextArea.stories.ts} +2 -2
- package/{src/stories/Introduction.stories.mdx → doc/src/stories/Introduction.mdx} +101 -101
- package/{src/stories/MiniTag.stories.js → doc/src/stories/MiniTag.stories.ts} +9 -2
- package/{src/stories/ProgressBar.stories.js → doc/src/stories/ProgressBar.stories.ts} +3 -2
- package/{src/stories/RadioButton.stories.js → doc/src/stories/RadioButton.stories.ts} +2 -2
- package/{src/stories/RadioButtonSimple.stories.js → doc/src/stories/RadioButtonSimple.stories.ts} +2 -2
- package/{src/stories/SimpleAlert.stories.js → doc/src/stories/SimpleAlert.stories.ts} +3 -2
- package/{src/stories/Slider.stories.js → doc/src/stories/Slider.stories.ts} +6 -2
- package/{src/stories/Switch.stories.js → doc/src/stories/Switch.stories.ts} +2 -2
- package/{src/stories/TabHeader.stories.js → doc/src/stories/TabHeader.stories.ts} +6 -1
- package/{src/stories/TableResults.stories.js → doc/src/stories/TableResults.stories.ts} +11 -7
- package/{src/stories/TagScope.stories.js → doc/src/stories/TagScope.stories.ts} +3 -2
- package/{src/stories/TestimonialCard.stories.js → doc/src/stories/TestimonialCard.stories.ts} +3 -3
- package/{src/stories/Toast.stories.js → doc/src/stories/Toast.stories.ts} +2 -2
- package/{src/stories/Toggle.stories.js → doc/src/stories/Toggle.stories.ts} +7 -4
- package/{src/stories/Tooltip.stories.js → doc/src/stories/Tooltip.stories.ts} +6 -6
- package/{src/stories/Typography.stories.mdx → doc/src/stories/Typography.mdx} +107 -105
- package/doc/tsconfig.json +17 -0
- package/package.json +43 -39
- package/scripts/gulp.js +11 -0
- package/scripts/kill-port.sh +12 -0
- package/src/App.vue +30 -0
- package/src/assets/scss/base.scss +3 -30
- package/src/assets/scss/components/PsAccordion.scss +2 -2
- package/src/assets/scss/components/PsButton.scss +7 -1
- package/src/assets/scss/components/PsChips.scss +12 -7
- package/src/assets/scss/components/PsCollapse.scss +71 -0
- package/src/assets/scss/components/PsCostEffectBar.scss +4 -4
- package/src/assets/scss/components/PsDataTable.scss +1 -1
- package/src/assets/scss/components/PsDateCardInfo.scss +4 -5
- package/src/assets/scss/components/PsDialog.scss +7 -0
- package/src/assets/scss/components/PsDropdownList.scss +1 -1
- package/src/assets/scss/components/PsInput.scss +9 -0
- package/src/assets/scss/components/PsProgressBar.scss +4 -4
- package/src/assets/scss/components/PsTabHeader.scss +57 -2
- package/src/assets/scss/components/PsTableResults.scss +53 -22
- package/src/assets/scss/components/PsTestimonialCard.scss +1 -1
- package/src/assets/scss/components/PsTooltip.scss +149 -145
- package/src/components/accordion/PsAccordion.vue +20 -21
- package/src/components/accordion/PsAccordionItem.vue +121 -81
- package/src/components/badges-and-tags/PsBadgeWithIcon.vue +37 -36
- package/src/components/badges-and-tags/PsCardInfos.vue +40 -40
- package/src/components/badges-and-tags/PsChartLegend.vue +50 -41
- package/src/components/badges-and-tags/PsClimateZoneBadge.vue +13 -19
- package/src/components/badges-and-tags/PsCostEffectBar.vue +28 -61
- package/src/components/badges-and-tags/PsDateCardInfo.vue +17 -18
- package/src/components/badges-and-tags/PsHighlightRippleDot.vue +4 -3
- package/src/components/badges-and-tags/PsMiniTag.vue +39 -41
- package/src/components/badges-and-tags/PsProgressBar.vue +72 -68
- package/src/components/badges-and-tags/PsTagScope.vue +17 -22
- package/src/components/badges-and-tags/PsTestimonialCard.vue +25 -30
- package/src/components/buttons/PsButton.vue +90 -98
- package/src/components/chips/PsChips.vue +118 -103
- package/src/components/collapse/PsCollapse.vue +124 -0
- package/src/components/controls/PsCheckbox.vue +86 -83
- package/src/components/controls/PsCheckboxSimple.vue +97 -97
- package/src/components/controls/PsDraggable.vue +100 -99
- package/src/components/controls/PsInlineSelector.vue +111 -113
- package/src/components/controls/PsRadioButton.vue +72 -60
- package/src/components/controls/PsRadioButtonSimple.vue +81 -77
- package/src/components/controls/PsSlider.vue +190 -181
- package/src/components/controls/PsSwitch.vue +63 -54
- package/src/components/controls/PsToggle.vue +62 -57
- package/src/components/data-graphics/PsBarChart.vue +22 -23
- package/src/components/datatable/PsDataTable.vue +70 -65
- package/src/components/datatable/PsDataTableItem.vue +30 -32
- package/src/components/forms/PsDropdown.vue +173 -166
- package/src/components/forms/PsDropdownList.vue +133 -130
- package/src/components/forms/PsInput.vue +163 -146
- package/src/components/forms/PsInputSelect.vue +121 -100
- package/src/components/forms/PsInputTextArea.vue +84 -74
- package/src/components/navigations/PsBreadcrumb.vue +25 -34
- package/src/components/notifications/PsDialog.vue +67 -60
- package/src/components/notifications/PsSimpleAlert.vue +47 -37
- package/src/components/notifications/PsToast.vue +48 -42
- package/src/components/table-results/PsTableResults.vue +534 -506
- package/src/components/table-results/PsTableResultsBody.vue +69 -68
- package/src/components/table-results/PsTableResultsHead.vue +108 -69
- package/src/components/table-results/PsTableResultsHeadComparison.vue +88 -69
- package/src/components/table-results/PsTableResultsHeadFlexible.vue +112 -72
- package/src/components/table-results/PsTableResultsRow.vue +61 -58
- package/src/components/tabs/PsTabHeader.vue +138 -116
- package/src/components/tooltip/PsDialogTooltip.vue +112 -107
- package/src/components/tooltip/PsRichTooltip.vue +46 -43
- package/src/components/tooltip/PsTooltip.vue +126 -122
- package/src/components/ui/PsDotLoader.vue +6 -10
- package/src/components/ui/PsIcon.vue +149 -134
- package/src/index.ts +159 -0
- package/src/tsconfig.json +12 -0
- package/src/types/index.d.ts +6 -0
- package/src/util/GeneralFunctions.js +16 -7
- package/src/util/directives.ts +24 -0
- package/src/util/imageLoader.js +14 -7
- package/tailwind.config.js +12 -3
- package/tsconfig.json +47 -0
- package/.storybook/PolicyStudio.js +0 -10
- package/.storybook/eventBus.js +0 -3
- package/.storybook/main.js +0 -25
- package/.storybook/manager.js +0 -6
- package/babel.config.js +0 -3
- package/backup-package-lock.json +0 -37194
- package/dist/css/psui_styles.css +0 -110890
- package/postcss.config.js +0 -8
- package/src/components/playground/PsScrollBar.vue +0 -248
- package/src/index.js +0 -167
- package/src/stories/Playground.stories.js +0 -16
- /package/{src → doc/src}/assets/images/multifamily-units.svg +0 -0
- /package/{src → doc/src}/assets/images/policy-studio.svg +0 -0
- /package/{src/contents/ComparisonData.js → doc/src/contents/ComparisonData.ts} +0 -0
- /package/{src/contents/FlexibleData.js → doc/src/contents/FlexibleData.ts} +0 -0
- /package/{src/contents/ResultsData.js → doc/src/contents/ResultsData.ts} +0 -0
- /package/{src/stories/Colors.stories.mdx → doc/src/stories/Colors.mdx} +0 -0
- /package/{src → doc/src}/stories/assets/code-brackets.svg +0 -0
- /package/{src → doc/src}/stories/assets/colors.svg +0 -0
- /package/{src → doc/src}/stories/assets/comments.svg +0 -0
- /package/{src → doc/src}/stories/assets/direction.svg +0 -0
- /package/{src → doc/src}/stories/assets/flow.svg +0 -0
- /package/{src → doc/src}/stories/assets/plugin.svg +0 -0
- /package/{src → doc/src}/stories/assets/repo.svg +0 -0
- /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
|
-
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
&.disabled {
|
|
9
9
|
.psui-el-accordion-item-header {
|
|
10
10
|
.psui-el-accordion-item-header-wrapper {
|
|
11
|
-
@apply psui-text-gray-50 pointer-events-none;
|
|
11
|
+
@apply psui-text-gray-50 psui-pointer-events-none;
|
|
12
12
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
overflow: hidden;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.accordion-fade-enter,
|
|
104
|
+
.accordion-fade-enter-from,
|
|
105
105
|
.accordion-fade-leave-to {
|
|
106
106
|
height: 0 !important;
|
|
107
107
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
+
@apply psui-overflow-visible;
|
|
4
4
|
|
|
5
5
|
div {
|
|
6
|
-
@apply
|
|
6
|
+
@apply psui-relative psui-h-2 psui-rounded-2xl;
|
|
7
7
|
width: 100px;
|
|
8
8
|
|
|
9
9
|
span {
|
|
10
|
-
@apply
|
|
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
|
|
18
|
+
@apply psui-overflow-hidden;
|
|
19
19
|
|
|
20
20
|
&-percentage {
|
|
21
21
|
border-radius: unset;
|
|
@@ -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
|
-
|
|
8
|
-
|
|
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
|
}
|
|
@@ -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
|
|
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 {
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
@layer components{
|
|
2
2
|
|
|
3
3
|
.psui-el-input {
|
|
4
|
+
&:focus {
|
|
5
|
+
outline: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:focus-visible {
|
|
9
|
+
outline: 2px solid #2563EB;
|
|
10
|
+
outline-offset: 2px;
|
|
11
|
+
border-radius: 6px;
|
|
12
|
+
}
|
|
4
13
|
|
|
5
14
|
&-prepend {
|
|
6
15
|
@apply psui-pl-2 psui-flex psui-items-center psui-pointer-events-none
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.psui-el-progress-bar {
|
|
3
|
-
@apply
|
|
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
|
|
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
|
|
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
|
|
25
|
+
@apply psui-h-2 psui-rounded-tl-full psui-rounded-bl-full;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@keyframes animate-stripes {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
button {
|
|
7
7
|
@apply transition-default psui-text-small;
|
|
8
8
|
&.status-disabled {
|
|
9
|
-
@apply cursor-not-allowed;
|
|
9
|
+
@apply psui-cursor-not-allowed;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&:focus {
|
|
@@ -20,6 +20,61 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
/* Layout Policy Design */
|
|
24
|
+
&.layout-policy-design {
|
|
25
|
+
button {
|
|
26
|
+
padding: 8px 2px 7px 0px;
|
|
27
|
+
margin-right: 8px;
|
|
28
|
+
@apply psui-flex psui-items-center psui-relative;
|
|
29
|
+
|
|
30
|
+
&:not(:first-child) {
|
|
31
|
+
margin-left: 8px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
&:after {
|
|
36
|
+
content: '';
|
|
37
|
+
@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;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
> div {
|
|
42
|
+
@apply psui-text-gray-60;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.status-active {
|
|
47
|
+
@apply psui-border-blue-60;
|
|
48
|
+
|
|
49
|
+
&:after {
|
|
50
|
+
@apply psui-opacity-100;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
> div {
|
|
54
|
+
@apply psui-text-blue-60;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
> span {
|
|
58
|
+
@apply psui-font-bold psui-text-gray-70;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> div {
|
|
63
|
+
@apply psui-text-gray-50 psui-mr-1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
> span {
|
|
67
|
+
line-height: 120%;
|
|
68
|
+
font-size: 14px;
|
|
69
|
+
@apply psui-text-gray-60 psui-font-bold;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/* ----------------------------------------- */
|
|
77
|
+
|
|
23
78
|
/* Layout Standard */
|
|
24
79
|
/* ----------------------------------------- */
|
|
25
80
|
&.layout-standard {
|
|
@@ -91,7 +146,7 @@
|
|
|
91
146
|
}
|
|
92
147
|
|
|
93
148
|
&.status-active {
|
|
94
|
-
@apply psui-text-blue-60 psui-border-blue-50
|
|
149
|
+
@apply psui-text-blue-60 psui-border-blue-50;
|
|
95
150
|
}
|
|
96
151
|
}
|
|
97
152
|
}
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
@layer components{
|
|
2
2
|
.psui-el-table-results-wrapper {
|
|
3
|
-
@apply psui-w-full psui-whitespace-
|
|
3
|
+
@apply psui-w-full psui-whitespace-nowrap psui-flex psui-overflow-auto;
|
|
4
4
|
|
|
5
5
|
&.table-flexible {
|
|
6
|
-
@apply psui-pr-4
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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;
|
|
@@ -479,9 +501,9 @@
|
|
|
479
501
|
}
|
|
480
502
|
}
|
|
481
503
|
}
|
|
482
|
-
|
|
483
504
|
}
|
|
484
505
|
|
|
506
|
+
|
|
485
507
|
&.is-disabled {
|
|
486
508
|
td {
|
|
487
509
|
&.hover-color {
|
|
@@ -491,14 +513,10 @@
|
|
|
491
513
|
}
|
|
492
514
|
}
|
|
493
515
|
}
|
|
516
|
+
|
|
494
517
|
|
|
495
518
|
td {
|
|
496
|
-
@apply psui-text-gray-70 psui-h-
|
|
497
|
-
padding-top: 0.688rem;
|
|
498
|
-
padding-bottom: 0.688rem;
|
|
499
|
-
min-height: 41.5px;
|
|
500
|
-
padding-left: 20px;
|
|
501
|
-
|
|
519
|
+
@apply psui-text-gray-70 psui-h-[32px] psui-text-right psui-text-small;
|
|
502
520
|
|
|
503
521
|
&.hover-color {
|
|
504
522
|
background-color: #ECF7FB !important;
|
|
@@ -520,10 +538,7 @@
|
|
|
520
538
|
|
|
521
539
|
&:first-child {
|
|
522
540
|
@apply psui-pr-8 psui-text-left psui-block psui-sticky psui-z-10 psui-left-0;
|
|
523
|
-
padding-top: 8px;
|
|
524
|
-
padding-bottom: 8px;
|
|
525
541
|
width: 352px;
|
|
526
|
-
padding-left: 0px;
|
|
527
542
|
}
|
|
528
543
|
|
|
529
544
|
&:nth-child(2) {
|
|
@@ -544,6 +559,10 @@
|
|
|
544
559
|
}
|
|
545
560
|
}
|
|
546
561
|
|
|
562
|
+
&:nth-child(n+3) {
|
|
563
|
+
padding-right: 20px;
|
|
564
|
+
}
|
|
565
|
+
|
|
547
566
|
.psui-el-tooltip-dialog {
|
|
548
567
|
text-align: left;
|
|
549
568
|
max-width: 180px;
|
|
@@ -566,7 +585,7 @@
|
|
|
566
585
|
}
|
|
567
586
|
|
|
568
587
|
td {
|
|
569
|
-
@apply psui-h-auto psui-
|
|
588
|
+
@apply psui-h-auto psui-py-1;
|
|
570
589
|
min-height: 1rem;
|
|
571
590
|
}
|
|
572
591
|
|
|
@@ -729,6 +748,18 @@
|
|
|
729
748
|
}
|
|
730
749
|
}
|
|
731
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
|
+
}
|
|
732
764
|
}
|
|
733
|
-
|
|
734
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 {
|