@policystudio/policy-studio-ui-vue 1.1.90-beta.0 → 1.1.90-beta.2
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/dist/css/psui_styles.css +4035 -110277
- package/package.json +2 -2
- package/postcss.config.js +1 -1
- package/src/assets/scss/base.scss +27 -23
- package/src/assets/scss/components/PsAccordion.scss +1 -1
- package/src/assets/scss/components/PsChips.scss +3 -3
- package/src/assets/scss/components/PsCostEffectBar.scss +4 -4
- package/src/assets/scss/components/PsProgressBar.scss +4 -4
- package/src/assets/scss/components/PsTabHeader.scss +1 -1
- package/src/assets/scss/components/PsTableResults.scss +1 -1
- package/src/assets/scss/components/PsTestimonialCard.scss +1 -1
- package/tailwind.config.js +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@policystudio/policy-studio-ui-vue",
|
|
3
|
-
"version": "1.1.90-beta.
|
|
3
|
+
"version": "1.1.90-beta.2",
|
|
4
4
|
"description": "Policy Studio UI",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "Policy Studio Team",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-dom": "^18.2.0",
|
|
61
61
|
"storybook": "^7.6.7",
|
|
62
|
-
"tailwindcss": "^
|
|
62
|
+
"tailwindcss": "^3.4.1",
|
|
63
63
|
"vue-eslint-parser": "^9.3.2",
|
|
64
64
|
"vue-loader": "^17.4.2",
|
|
65
65
|
"watch": "^1.0.2"
|
package/postcss.config.js
CHANGED
|
@@ -67,35 +67,39 @@ html {
|
|
|
67
67
|
-webkit-font-smoothing: antialiased;
|
|
68
68
|
}
|
|
69
69
|
|
|
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
70
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
@layer components {
|
|
72
|
+
.psui-card {
|
|
73
|
+
@apply .psui-w-full .psui-bg-white .psui-rounded-lg .psui-px-6 .psui-py-4 .psui-shadow-elevation-5;
|
|
74
|
+
|
|
75
|
+
&-header {
|
|
76
|
+
@apply .psui-flex .psui-items-center .psui-justify-between .psui-mb-4;
|
|
77
|
+
|
|
78
|
+
h4 {
|
|
79
|
+
@apply .psui-text-h6 .psui-font-bold .psui-text-gray-80;
|
|
80
|
+
}
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
|
-
}
|
|
81
83
|
|
|
82
|
-
.psui-show-childrens-on-hover {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
.psui-show-childrens-on-hover {
|
|
85
|
+
&:hover {
|
|
86
|
+
* {
|
|
87
|
+
opacity: 1 !important;
|
|
88
|
+
}
|
|
86
89
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
|
|
91
|
+
&.absolute-childrens {
|
|
92
|
+
@apply psui-relative;
|
|
93
|
+
|
|
94
|
+
.helper {
|
|
95
|
+
@apply psui-absolute psui-top-0;
|
|
96
|
+
right: -18px;
|
|
97
|
+
}
|
|
95
98
|
}
|
|
96
99
|
}
|
|
100
|
+
|
|
101
|
+
.psui-transition {
|
|
102
|
+
@apply psui-transition-all psui-ease-in-out psui-duration-150;
|
|
103
|
+
}
|
|
97
104
|
}
|
|
98
105
|
|
|
99
|
-
.psui-transition {
|
|
100
|
-
@apply psui-transition-all psui-ease-in-out psui-duration-150;
|
|
101
|
-
}
|
|
@@ -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;
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
|
|
127
127
|
&,
|
|
128
128
|
.psui-el-chips-close {
|
|
129
|
-
@apply
|
|
129
|
+
@apply psui-text-gray-50;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.psui-el-chips-icon-prepend {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
&,
|
|
142
142
|
.psui-el-chips-close {
|
|
143
|
-
@apply
|
|
143
|
+
@apply psui-text-blue-60;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.psui-el-chips-icon-prepend {
|
|
@@ -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,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 {
|
|
@@ -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 {
|
package/tailwind.config.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
prefix: 'psui-',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
content: [
|
|
6
|
+
'./index.html',
|
|
7
|
+
'./src/**/*.vue',
|
|
8
|
+
'./src/**/*.js',
|
|
9
|
+
'./src/**/*.ts',
|
|
10
|
+
'./src/**/*.jsx',
|
|
11
|
+
'./src/**/*.tsx',
|
|
12
|
+
],
|
|
13
|
+
darkMode: 'media', // or 'media' or 'class'
|
|
5
14
|
theme: {
|
|
6
15
|
colors: {
|
|
7
16
|
'white': '#ffffff ',
|