@policystudio/policy-studio-ui-vue 1.0.30 → 1.0.33

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 (78) hide show
  1. package/.eslintrc.js +36 -35
  2. package/.storybook/preview.js +7 -1
  3. package/README.md +6 -2
  4. package/babel.config.js +1 -1
  5. package/dist/css/psui_styles.css +483 -143
  6. package/package.json +16 -5
  7. package/postcss.config.js +1 -1
  8. package/src/assets/images/multifamily-units.svg +10 -0
  9. package/src/assets/scss/base.scss +2 -0
  10. package/src/assets/scss/components/PsAccordion.scss +28 -11
  11. package/src/assets/scss/components/PsButton.scss +21 -4
  12. package/src/assets/scss/components/PsCardInfos.scss +1 -1
  13. package/src/assets/scss/components/PsCheckbox.scss +4 -5
  14. package/src/assets/scss/components/PsChips.scss +17 -12
  15. package/src/assets/scss/components/PsDataTable.scss +17 -0
  16. package/src/assets/scss/components/PsDialog.scss +5 -2
  17. package/src/assets/scss/components/PsDraggable.scss +64 -0
  18. package/src/assets/scss/components/PsDropdown.scss +9 -24
  19. package/src/assets/scss/components/PsDropdownList.scss +19 -0
  20. package/src/assets/scss/components/PsInput.scss +8 -3
  21. package/src/assets/scss/components/PsInputSelect.scss +6 -3
  22. package/src/assets/scss/components/PsInputTextArea.scss +5 -2
  23. package/src/assets/scss/components/PsRadioButton.scss +5 -5
  24. package/src/assets/scss/components/PsSwitch.scss +4 -4
  25. package/src/assets/scss/components/PsTabHeader.scss +14 -0
  26. package/src/assets/scss/components/PsToast.scss +3 -3
  27. package/src/assets/scss/components/PsToggle.scss +6 -2
  28. package/src/assets/scss/components/PsTooltip.scss +50 -18
  29. package/src/components/accordion/PsAccordion.vue +7 -23
  30. package/src/components/accordion/PsAccordionItem.vue +42 -26
  31. package/src/components/badges-and-tags/PsCardInfos.vue +12 -0
  32. package/src/components/badges-and-tags/PsChartLegend.vue +13 -0
  33. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +7 -0
  34. package/src/components/badges-and-tags/PsCostEffectBar.vue +6 -0
  35. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -1
  36. package/src/components/badges-and-tags/PsMiniTag.vue +6 -0
  37. package/src/components/badges-and-tags/PsProgressBar.vue +17 -9
  38. package/src/components/buttons/PsButton.vue +22 -1
  39. package/src/components/chips/PsChips.vue +33 -12
  40. package/src/components/controls/PsCheckbox.vue +32 -16
  41. package/src/components/controls/PsDraggable.vue +39 -150
  42. package/src/components/controls/PsInlineSelector.vue +30 -0
  43. package/src/components/controls/PsRadioButton.vue +28 -15
  44. package/src/components/controls/PsSwitch.vue +17 -11
  45. package/src/components/controls/PsToggle.vue +33 -12
  46. package/src/components/datatable/PsDataTable.vue +21 -1
  47. package/src/components/datatable/PsDataTableItem.vue +1 -1
  48. package/src/components/forms/PsDropdown.vue +73 -101
  49. package/src/components/forms/PsDropdownList.vue +82 -0
  50. package/src/components/forms/PsInput.vue +28 -1
  51. package/src/components/forms/PsInputSelect.vue +21 -0
  52. package/src/components/forms/PsInputTextArea.vue +54 -41
  53. package/src/components/notifications/PsDialog.vue +15 -0
  54. package/src/components/notifications/PsToast.vue +12 -0
  55. package/src/components/playground/PsScrollBar.vue +248 -0
  56. package/src/components/tabs/PsTabHeader.vue +31 -5
  57. package/src/components/tooltip/PsDialogTooltip.vue +107 -24
  58. package/src/components/tooltip/PsRichTooltip.vue +12 -9
  59. package/src/components/tooltip/PsTooltip.vue +27 -11
  60. package/src/components/ui/PsIcon.vue +30 -0
  61. package/src/index.js +30 -2
  62. package/src/stories/Accordion.stories.js +12 -48
  63. package/src/stories/Button.stories.js +30 -7
  64. package/src/stories/Chips.stories.js +11 -24
  65. package/src/stories/Dropdown.stories.js +81 -14
  66. package/src/stories/Icon.stories.js +21 -0
  67. package/src/stories/InlineSelector.stories.js +1 -1
  68. package/src/stories/Playground.stories.js +16 -0
  69. package/src/stories/Switch.stories.js +8 -2
  70. package/src/stories/Toast.stories.js +16 -16
  71. package/src/stories/Tooltip.stories.js +6 -6
  72. package/src/stories/Typography.stories.mdx +22 -18
  73. package/src/util/GeneralFunctions.js +8 -0
  74. package/src/util/imageLoader.js +1 -1
  75. package/tailwind.config.js +7 -3
  76. package/vetur/attributes.json +1376 -0
  77. package/vetur/tags.json +632 -0
  78. package/src/components/forms/PsDropdownCopy.vue +0 -212
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.30",
3
+ "version": "1.0.33",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -12,11 +12,16 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "lint": "vue-cli-service lint",
15
- "storybook": "start-storybook -p 6006",
16
- "build-storybook": "build-storybook",
15
+ "build-storybook": "STORYBOOK_ENV=production build-storybook",
17
16
  "build-tailwind": "postcss src/assets/scss/base.scss -o dist/css/psui_styles.css",
18
- "publish": "npm run lint && npm run build-tailwind && npm publish",
19
- "dev": "watch 'npm run build-tailwind' ./src/assets"
17
+ "build-temp-tailwind": "postcss src/assets/scss/base.scss -o temp/css/psui_styles.css",
18
+ "publish": "npm run lint && npm run build-tailwind && build-storybook && npm publish",
19
+ "serve": "concurrently --kill-others \"npm run watch-storybook\" \"npm run watch-tailwind\"",
20
+ "serve-prod": "concurrently --kill-others \"npm run watch-storybook\" \"npm run watch-prod-tailwind\"",
21
+ "watch-storybook": "start-storybook -p 6006",
22
+ "watch-prod-tailwind": "watch 'npm run build-tailwind' ./src/assets",
23
+ "watch-tailwind": "watch 'npm run build-temp-tailwind' ./src/assets",
24
+ "build-prop-intellisense": "vue-int --input src/components --output vetur --recursive"
20
25
  },
21
26
  "dependencies": {
22
27
  "core-js": "^3.6.5",
@@ -35,6 +40,7 @@
35
40
  "@vue/eslint-config-prettier": "^6.0.0",
36
41
  "babel-eslint": "^10.1.0",
37
42
  "babel-loader": "^8.2.3",
43
+ "concurrently": "^7.0.0",
38
44
  "eslint": "^6.7.2",
39
45
  "eslint-plugin-prettier": "^3.3.1",
40
46
  "eslint-plugin-vue": "^6.2.2",
@@ -44,8 +50,13 @@
44
50
  "postcss-nested": "^5.0.6",
45
51
  "prettier": "^2.2.1",
46
52
  "tailwindcss": "^1.9.6",
53
+ "vue-intellisense": "^1.0.1",
47
54
  "vue-loader": "^15.9.8",
48
55
  "vue-template-compiler": "^2.6.11",
49
56
  "watch": "^1.0.2"
57
+ },
58
+ "vetur": {
59
+ "tags": "vetur/tags.json",
60
+ "attributes": "vetur/attributes.json"
50
61
  }
51
62
  }
package/postcss.config.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  plugins: {
3
3
  'postcss-nested': {},
4
- "postcss-import": {},
4
+ 'postcss-import': {},
5
5
  tailwindcss: {},
6
6
  autoprefixer: {},
7
7
  },
@@ -0,0 +1,10 @@
1
+ <svg width="39" height="38" viewBox="0 0 39 38" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path d="M18.2274 34.9462V30.9159M18.2274 34.9462H3.12439V30.9159H4.56681M18.2274 34.9462H21.1123H23.8274M34.3911 10.2129V34.9462H31.3789H28.6214M34.3911 10.2129L35.7911 10.8068V7.74167L18.2274 1.61667V4.27349M34.3911 10.2129L18.2274 4.27349M16.2759 11.6129L4.56681 16.7498M18.2274 7.74167L3.12439 14.6833V17.3826L4.56681 16.7498M18.2274 7.74167V30.9159M18.2274 7.74167V4.27349M8.34257 30.9159V25.7826H14.4941V30.9159M8.34257 30.9159H14.4941M8.34257 30.9159H4.56681M14.4941 30.9159H18.2274M4.56681 30.9159V16.7498M23.8274 34.9462V27.3947H28.6214V34.9462M23.8274 34.9462H28.6214M8.34257 18.825L12.5001 17.0432H14.4941V22.4735H8.34257V18.825ZM21.1123 18.4432H24.5062V23.7886H21.1123V18.4432ZM27.985 18.4432H31.3789V23.7886H27.985V18.4432ZM21.1123 15.1341H24.5062V9.70379L21.1123 8.34621V15.1341ZM27.985 15.1341H31.3789V12.1644L27.985 10.8068V15.1341Z" stroke="#A9AEB0" stroke-width="1.4" stroke-linejoin="round"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0">
7
+ <rect width="37.3333" height="37.3333" fill="white" transform="translate(0.791016 0.333344)"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
@@ -18,6 +18,7 @@
18
18
  @import './components/PsSwitch.scss';
19
19
  @import './components/PsProgressBar.scss';
20
20
  @import './components/PsDropdown.scss';
21
+ @import './components/PsDropdownList.scss';
21
22
  @import './components/PsSlider.scss';
22
23
  @import './components/PsToast.scss';
23
24
  @import './components/PsMiniTag.scss';
@@ -25,6 +26,7 @@
25
26
  @import './components/PsTooltip.scss';
26
27
  @import './components/PsInputTextArea.scss';
27
28
  @import './components/PsInputSelect.scss';
29
+ @import './components/PsDraggable.scss';
28
30
  @import "tailwindcss/base";
29
31
  @import "tailwindcss/components";
30
32
  @import "tailwindcss/utilities";
@@ -9,27 +9,25 @@
9
9
  @apply psui-flex psui-cursor-pointer psui-transition-all psui-justify-between transition-default psui-text-gray-80;
10
10
  padding-top: 16px;
11
11
  padding-bottom: 16px;
12
+
12
13
  &:hover {
13
14
  @apply psui-text-blue-60;
14
15
  }
15
16
  }
16
17
 
17
- &-content {
18
- padding-bottom: 24px;
19
- }
20
-
21
18
  &-icon {
19
+ @apply psui-icon;
22
20
  font-size: 20px;
23
21
  width: 20px;
24
- }
25
-
22
+ transition: transform 0.4s ease-in-out;
23
+ }
24
+
26
25
  }
27
26
 
28
27
  &.layout-big {
29
28
  .psui-el-accordion-item {
30
29
  &-header, &-content {
31
- padding-left: 16px;
32
- padding-right: 16px;
30
+ @apply psui-pl-4 psui-pr-4;
33
31
  }
34
32
  &-title {
35
33
  @apply psui-text-h5 psui-font-bold;
@@ -46,8 +44,14 @@
46
44
  @apply psui-text-small psui-font-bold;
47
45
  }
48
46
  &-icon {
49
- @apply psui-text-gray-60
50
- }
47
+ @apply psui-text-gray-60;
48
+ }
49
+
50
+ &.status-opened {
51
+ .psui-el-accordion-item-icon {
52
+ transform: rotate(180deg);
53
+ }
54
+ }
51
55
  }
52
56
  }
53
57
 
@@ -60,8 +64,21 @@
60
64
  }
61
65
  }
62
66
 
67
+ .psui-el-accordion-item-content {
68
+ @apply psui-list-none psui-text-gray-60 psui-mb-5;
69
+ }
63
70
 
71
+ .accordion-fade-enter-active,
72
+ .accordion-fade-leave-active {
73
+ will-change: height, margin-bottom;
74
+ transition: height 0.4s ease, margin-bottom 0.4s ease-in-out;
75
+ overflow: hidden;
76
+ }
64
77
 
78
+ .accordion-fade-enter,
79
+ .accordion-fade-leave-to {
80
+ height: 0 !important;
81
+ margin-bottom: 0 !important;
82
+ }
65
83
  }
66
-
67
84
  }
@@ -2,7 +2,8 @@
2
2
 
3
3
  .psui-el-button {
4
4
 
5
- @apply psui-font-bold psui-items-center psui-flex psui-content-center psui-rounded-md transition-default;
5
+ @apply psui-font-bold psui-items-center psui-flex psui-content-center psui-rounded-md psui-transition-all psui-ease-in-out;
6
+ transition-duration: 130ms;
6
7
 
7
8
  span {
8
9
  @apply psui-font-bold psui-flex-shrink-0;
@@ -42,7 +43,7 @@
42
43
 
43
44
  &.size-medium {
44
45
  @apply psui-flex psui-items-center psui-content-center;
45
- padding: 7px 16px;
46
+ padding: 7px 13px;
46
47
  font-size: 14px;
47
48
 
48
49
  &.icon-left i {
@@ -120,9 +121,12 @@
120
121
  &.layout-ghost {
121
122
  @apply psui-bg-blue-20 psui-text-blue-60;
122
123
 
123
- &.hover,
124
+ &.hover {
125
+ @apply psui-bg-blue-10
126
+ }
127
+
124
128
  &:active:not(.disabled) {
125
- box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05);
129
+ box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05)
126
130
  }
127
131
 
128
132
  &.disabled {
@@ -141,5 +145,18 @@
141
145
  @apply psui-text-blue-50
142
146
  }
143
147
  }
148
+
149
+ &.layout-caution {
150
+ @apply psui-bg-red-10 psui-text-red-20;
151
+
152
+ &.hover,
153
+ &:active:not(.disabled) {
154
+ @apply psui-bg-red-10 psui-text-red-70;
155
+ }
156
+
157
+ &.disabled {
158
+ @apply psui-text-gray-40 psui-bg-gray-20 psui-cursor-default
159
+ }
160
+ }
144
161
  }
145
162
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  &-content {
11
- @apply psui-w-full psui-flex psui-justify-center psui-items-center psui-text-p;
11
+ @apply psui-w-full psui-flex psui-justify-end psui-items-center psui-text-p;
12
12
  }
13
13
 
14
14
  &-icon {
@@ -1,7 +1,7 @@
1
1
  @layer components {
2
2
 
3
3
  .psui-el-checkbox {
4
- @apply psui-relative psui-text-gray-50;
4
+ @apply psui-relative psui-text-gray-50 psui-bg-gray-10;
5
5
 
6
6
  &.disabled {
7
7
  .psui-el-checkmark {
@@ -37,7 +37,7 @@
37
37
  }
38
38
  }
39
39
  .psui-el-checkmark {
40
- @apply psui-block psui-cursor-pointer;
40
+ @apply psui-flex psui-cursor-pointer psui-items-center;
41
41
  height: 18px;
42
42
 
43
43
  span {
@@ -46,7 +46,7 @@
46
46
 
47
47
  &::before {
48
48
  content:'check_box_outline_blank';
49
- @apply psui-text-gray-40 psui-align-text-bottom;
49
+ @apply psui-text-gray-40;
50
50
  font-family:'Material Icons Round';
51
51
  font-size: 18px;
52
52
  }
@@ -76,11 +76,10 @@
76
76
  }
77
77
  }
78
78
  .psui-el-checkmark {
79
- @apply psui-flex psui-cursor-pointer psui-content-center;
79
+ @apply psui-flex psui-cursor-pointer psui-items-center;
80
80
  height: 24px;
81
81
 
82
82
  span {
83
- margin-top: 1px;
84
83
  margin-left: 8px;
85
84
  }
86
85
 
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  label {
31
- @apply psui-flex psui-items-center psui-justify-center psui-text-gray-50 psui-bg-white psui-transition-all psui-cursor-pointer psui-rounded;
31
+ @apply psui-flex psui-items-center psui-justify-center psui-text-gray-50 psui-bg-gray-10 psui-transition-all psui-cursor-pointer psui-rounded;
32
32
  padding: 4px 8px 4px 6px;
33
33
 
34
34
  &:before {
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  &:hover {
43
- @apply psui-text-blue-60;
43
+ @apply psui-text-blue-60 psui-bg-gray-10;
44
44
  &:before {
45
45
  @apply psui-text-blue-50;
46
46
  }
@@ -83,8 +83,8 @@
83
83
 
84
84
  &.type-button {
85
85
  label {
86
- @apply psui-flex psui-items-center psui-justify-center psui-text-gray-60 psui-bg-gray-10 psui-transition-all psui-cursor-pointer psui-rounded psui-py-1 psui-px-3 psui-text-small;
87
-
86
+ @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;
87
+ background-color: #F6F7F8;
88
88
  &:hover {
89
89
  @apply psui-text-blue-60 psui-bg-white;
90
90
  }
@@ -116,7 +116,11 @@
116
116
  @apply psui-rounded-full psui-bg-gray-10 psui-text-gray-40 psui-text-xsmall psui-font-bold psui-pl-1 psui-py-1 psui-pr-2;
117
117
 
118
118
  &:hover {
119
- @apply psui-text-gray-50;
119
+
120
+ &,
121
+ .psui-el-chips-close {
122
+ @apply .psui-text-gray-50;
123
+ }
120
124
 
121
125
  .psui-el-chips-icon-prepend {
122
126
  @apply psui-bg-gray-40;
@@ -125,7 +129,12 @@
125
129
 
126
130
  &:focus,
127
131
  &:active {
128
- @apply psui-bg-blue-20 psui-text-blue-60;
132
+ @apply psui-bg-blue-20;
133
+
134
+ &,
135
+ .psui-el-chips-close {
136
+ @apply .psui-text-blue-60;
137
+ }
129
138
 
130
139
  .psui-el-chips-icon-prepend {
131
140
  @apply psui-bg-blue-60;
@@ -137,16 +146,12 @@
137
146
  font-size: 18px;
138
147
 
139
148
  &-prepend {
140
- @apply psui-bg-gray-30 psui-rounded-full psui-text-white psui-mr-2;
149
+ @apply psui-bg-gray-30 psui-rounded-full psui-text-white psui-mr-2 psui-w-6 psui-h-6 psui-flex psui-items-center psui-justify-center;
141
150
  }
142
151
  }
143
152
 
144
153
  .psui-el-chips-close {
145
- @apply psui-text-gray-40 psui-flex psui-items-center psui-justify-center;
146
-
147
- span {
148
- @apply psui-ml-2;
149
- }
154
+ @apply psui-text-gray-40 psui-flex psui-items-center psui-justify-center psui-ml-2;
150
155
  }
151
156
  }
152
157
  }
@@ -45,6 +45,23 @@
45
45
  border-bottom: 0;
46
46
  }
47
47
  }
48
+
49
+ &-rich {
50
+ thead {
51
+ th {
52
+ padding: 15px 16px;
53
+ }
54
+ }
55
+
56
+ tbody {
57
+ th,
58
+ td,
59
+ tr {
60
+ padding: 7px 16px;
61
+ @apply .psui-text-gray-80;
62
+ }
63
+ }
64
+ }
48
65
  }
49
66
 
50
67
  }
@@ -1,7 +1,9 @@
1
1
  @layer components {
2
2
 
3
3
  .psui-el-dialog {
4
- @apply psui-flex psui-justify-start psui-items-start psui-pr-3 psui-pl-2 psui-py-2 psui-rounded-md;
4
+ @apply psui-flex psui-justify-start psui-items-start psui-pr-3 psui-pl-2 psui-rounded-md;
5
+ padding-top: 8.8px;
6
+ padding-bottom: 8.8px;
5
7
 
6
8
  &-wrapper {
7
9
  @apply psui-flex psui-flex-grow
@@ -25,7 +27,8 @@
25
27
  }
26
28
 
27
29
  &.layout-vertical {
28
- @apply psui-pr-2 psui-pl-2 psui-flex psui-items-start;
30
+ @apply psui-flex psui-items-start;
31
+ padding: 9.6px 9.6px 11.2px 9.6px;
29
32
 
30
33
  .psui-el-dialog-wrapper {
31
34
  @apply psui-flex-col psui-text-small
@@ -0,0 +1,64 @@
1
+ @layer components {
2
+ .psui-el-draggable {
3
+ @apply psui-w-full psui-flex psui-flex-wrap psui-justify-start psui-gap-2;
4
+
5
+ .psui-el-draggable-wrapper {
6
+ @apply psui-w-full psui-rounded-lg psui-bg-gray-20 psui-p-2 psui-flex psui-items-center psui-flex-col;
7
+ padding: 8px 8px 0px 8px;
8
+
9
+ }
10
+
11
+ .psui-el-draggable-title {
12
+ @apply psui-w-full psui-flex psui-rounded-sm psui-items-center psui-cursor-grab psui-align-middle;
13
+
14
+ &:active {
15
+ @apply psui-cursor-grabbing;
16
+ }
17
+
18
+ padding: 6px 16px;
19
+
20
+ h2 {
21
+ @apply psui-w-full psui-text-gray-80 psui-font-bold psui-uppercase;
22
+ font-size: 12px;
23
+ }
24
+
25
+ i {
26
+ @apply psui-icon psui-text-gray-40;
27
+ font-size: 18px;
28
+ }
29
+ }
30
+
31
+
32
+ .psui-el-draggable-list-items-wrapper {
33
+ @apply psui-w-full psui-flex psui-flex-wrap;
34
+
35
+ li {
36
+ @apply psui-w-full psui-mb-2 psui-shadow-elevation-5 psui-bg-white psui-rounded psui-flex psui-items-center;
37
+ padding: 7px 16px;
38
+
39
+ &:hover {
40
+ @apply psui-text-gray-50 psui-cursor-grab
41
+ }
42
+
43
+ &:active {
44
+ @apply psui-cursor-grabbing
45
+ }
46
+ }
47
+
48
+ .psui-el-draggable-item-wrapper {
49
+ @apply psui-select-none psui-w-full psui-flex psui-items-center
50
+ }
51
+
52
+ .psui-el-draggable-item-icon {
53
+ @apply psui-flex psui-justify-end psui-ml-auto;
54
+
55
+ i {
56
+ @apply psui-icon psui-text-gray-30;
57
+ font-size: 18px;
58
+
59
+
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
@@ -1,25 +1,15 @@
1
1
  @layer components {
2
2
  .psui-el-dropdown-menu {
3
- @apply psui-relative psui-inline-block psui-text-left psui-bg-white;
4
- padding: 0px 20px;
5
- width: 230px;
6
-
7
- &:hover {
8
- @apply psui-cursor-pointer psui-bg-blue-10 psui-text-blue-60;
9
-
10
- }
11
-
12
- &:first-child {
13
-
14
- }
15
-
16
- &-button {
3
+ @apply psui-relative psui-inline-block psui-text-left;
4
+
5
+ button {
17
6
  @apply psui-inline-flex psui-justify-center psui-items-center psui-w-full psui-font-medium psui-leading-none;
18
7
  background-color: transparent;
19
8
  padding-top: 2.5px;
20
9
  padding-bottom: 2.5px;
21
10
  min-height: 27px;
22
11
  font-size: 0.875rem;
12
+
23
13
 
24
14
  &:focus {
25
15
  outline: none;
@@ -27,18 +17,13 @@
27
17
  }
28
18
  }
29
19
 
30
- &-dialog {
31
- @apply psui-hidden psui-origin-top-right psui-fixed psui-mt-2 psui-w-auto psui-rounded psui-shadow-lg psui-z-50 psui-opacity-0;
32
- transition: opacity 150ms ease-in-out;
33
-
34
- &-category-divider {
35
- @apply w-full;
20
+ &-dialog-wrapper {
21
+ @apply psui-hidden psui-origin-top-right psui-bg-white psui-fixed psui-w-auto psui-rounded-md psui-z-50 psui-opacity-0 psui-shadow-elevation-20 psui-transition-all psui-duration-100 psui-ease-in;
22
+
23
+ &-dialog {
24
+ @apply psui-w-full;
36
25
 
37
- h2 {
38
- @apply psui-text-gray-20 psui-font-bold psui-whitespace-no-wrap psui-mb-4;
39
- }
40
26
  }
41
-
42
27
  }
43
28
  }
44
29
  }
@@ -0,0 +1,19 @@
1
+ @layer components {
2
+ .psui-el-dropdown-menu-list {
3
+ @apply psui-w-full psui-font-bold psui-my-3;
4
+
5
+ li {
6
+ @apply psui-w-full psui-text-gray-60 psui-text-small psui-list-none psui-flex psui-flex-col psui-cursor-pointer;
7
+ padding: 7px 20px;
8
+ font-weight: 700;
9
+
10
+ &:hover {
11
+ @apply psui-text-blue-60 psui-bg-blue-10;
12
+ }
13
+
14
+ span {
15
+ @apply psui-w-full;
16
+ }
17
+ }
18
+ }
19
+ }
@@ -11,15 +11,20 @@
11
11
  }
12
12
 
13
13
  &-hint {
14
- @apply psui-text-gray-50 psui-text-xsmall psui-mt-1
14
+ @apply psui-text-gray-50 psui-mt-1;
15
+ font-size: 12px;
16
+ line-height: 24px;
15
17
  }
16
18
 
17
19
  &-wrapper {
18
- @apply psui-relative psui-w-full psui-border psui-border-gray-30 psui-rounded-md psui-bg-white psui-flex transition-default
20
+ @apply psui-relative psui-w-full psui-border psui-border-gray-30 psui-rounded-md psui-bg-white psui-flex;
21
+ transition: ease 130ms;
19
22
  }
20
23
 
21
24
  label {
22
- @apply psui-font-bold psui-text-gray-80
25
+ @apply psui-font-bold psui-text-gray-80;
26
+ line-height: 32px;
27
+
23
28
  }
24
29
 
25
30
  input {
@@ -1,6 +1,7 @@
1
1
  @layer components {
2
2
  .psui-el-input-select {
3
3
  @apply psui-w-full psui-flex psui-flex-col psui-relative psui-text-gray-40 psui-box-border;
4
+ transition: ease 130ms;
4
5
 
5
6
  &.disabled {
6
7
  @apply psui-pointer-events-none;
@@ -31,7 +32,7 @@
31
32
  content: 'arrow_drop_down';
32
33
  font-family: 'Material Icons Round';
33
34
  font-size: 24px;
34
- top: 26px;
35
+ top: 38px;
35
36
  right: 15px;
36
37
  z-index: -20;
37
38
  }
@@ -54,13 +55,15 @@
54
55
 
55
56
 
56
57
  label {
57
- @apply psui-flex psui-text-gray-80 psui-text-big psui-items-center psui-w-full psui-font-bold psui-pointer-events-none
58
+ @apply psui-flex psui-text-gray-80 psui-items-center psui-w-full psui-font-bold psui-pointer-events-none;
59
+ font-size: 16px;
60
+ line-height: 32px;
58
61
  }
59
62
 
60
63
  .psui-el-input-helper {
61
64
  @apply psui-text-gray-50;
62
65
  font-size: 12px;
63
- line-height: 120%;
66
+ line-height: 24px;
64
67
  }
65
68
 
66
69
  &.layout-mini {
@@ -19,9 +19,12 @@
19
19
 
20
20
  .psui-el-input-textarea-wrapper {
21
21
  @apply psui-flex psui-flex-col;
22
+ transition: ease 130ms;
22
23
 
23
24
  label {
24
- @apply psui-h-full psui-flex psui-items-center psui-font-bold psui-text-big psui-py-1
25
+ @apply psui-h-full psui-flex psui-items-center psui-font-bold psui-text-big psui-py-1;
26
+ font-size: 16px;
27
+ line-height: 32px;
25
28
  }
26
29
 
27
30
  textarea {
@@ -42,7 +45,7 @@
42
45
  .psui-el-input-textarea-message {
43
46
  @apply psui-text-gray-50 psui-flex psui-font-normal;
44
47
  font-size: 12px;
45
- line-height: 120%;
48
+ line-height: 24px;
46
49
  padding: 5px 0px;
47
50
  }
48
51
  }
@@ -1,7 +1,7 @@
1
1
  @layer components {
2
2
 
3
3
  .psui-el-radio {
4
- @apply psui-relative psui-text-gray-50;
4
+ @apply psui-relative psui-text-gray-50 psui-flex psui-bg-gray-10;
5
5
 
6
6
  &.disabled {
7
7
  .psui-el-checkmark {
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .psui-el-checkmark {
31
- @apply psui-block psui-cursor-pointer;
31
+ @apply psui-cursor-pointer psui-flex psui-items-center;
32
32
  height: 18px;
33
33
 
34
34
  span {
@@ -37,7 +37,7 @@
37
37
 
38
38
  &::before {
39
39
  content: 'radio_button_unchecked';
40
- @apply psui-text-gray-40 psui-align-text-bottom;
40
+ @apply psui-text-gray-40;
41
41
  font-family: 'Material Icons Round';
42
42
  font-size: 18px;
43
43
  }
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  .psui-el-checkmark {
62
- @apply psui-block psui-cursor-pointer;
62
+ @apply psui-cursor-pointer psui-flex psui-items-center;
63
63
  height: 24px;
64
64
 
65
65
  span {
@@ -68,7 +68,7 @@
68
68
 
69
69
  &::before {
70
70
  content: 'radio_button_unchecked';
71
- @apply psui-text-gray-40 psui-align-text-bottom;
71
+ @apply psui-text-gray-40;
72
72
  font-family: 'Material Icons Round';
73
73
  font-size: 24px;
74
74
  }