@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.
- 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 +6638 -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 +12 -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 +10 -0
- package/src/assets/scss/components/PsProgressBar.scss +4 -4
- package/src/assets/scss/components/PsSwitch.scss +10 -0
- package/src/assets/scss/components/PsTabHeader.scss +64 -2
- package/src/assets/scss/components/PsTableResults.scss +51 -82
- 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 +122 -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 +64 -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 +527 -504
- 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 -110965
- 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
|
-
}
|
|
@@ -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
|
|
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 {
|
|
@@ -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
|
|
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 {
|
|
@@ -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-
|
|
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;
|
|
@@ -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-
|
|
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-
|
|
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 {
|