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

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 (69) hide show
  1. package/.storybook/preview.js +7 -1
  2. package/README.md +6 -2
  3. package/dist/css/psui_styles.css +461 -139
  4. package/package.json +15 -5
  5. package/src/assets/scss/base.scss +2 -0
  6. package/src/assets/scss/components/PsAccordion.scss +28 -11
  7. package/src/assets/scss/components/PsButton.scss +21 -4
  8. package/src/assets/scss/components/PsCardInfos.scss +1 -1
  9. package/src/assets/scss/components/PsCheckbox.scss +4 -5
  10. package/src/assets/scss/components/PsChips.scss +13 -8
  11. package/src/assets/scss/components/PsDialog.scss +5 -2
  12. package/src/assets/scss/components/PsDraggable.scss +64 -0
  13. package/src/assets/scss/components/PsDropdown.scss +5 -22
  14. package/src/assets/scss/components/PsDropdownList.scss +19 -0
  15. package/src/assets/scss/components/PsInput.scss +8 -3
  16. package/src/assets/scss/components/PsInputSelect.scss +6 -3
  17. package/src/assets/scss/components/PsInputTextArea.scss +5 -2
  18. package/src/assets/scss/components/PsRadioButton.scss +5 -5
  19. package/src/assets/scss/components/PsSwitch.scss +4 -4
  20. package/src/assets/scss/components/PsTabHeader.scss +14 -0
  21. package/src/assets/scss/components/PsToast.scss +3 -3
  22. package/src/assets/scss/components/PsToggle.scss +6 -2
  23. package/src/assets/scss/components/PsTooltip.scss +51 -18
  24. package/src/components/accordion/PsAccordion.vue +7 -23
  25. package/src/components/accordion/PsAccordionItem.vue +41 -25
  26. package/src/components/badges-and-tags/PsCardInfos.vue +12 -0
  27. package/src/components/badges-and-tags/PsChartLegend.vue +13 -0
  28. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +7 -0
  29. package/src/components/badges-and-tags/PsCostEffectBar.vue +6 -0
  30. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -1
  31. package/src/components/badges-and-tags/PsMiniTag.vue +6 -0
  32. package/src/components/badges-and-tags/PsProgressBar.vue +17 -9
  33. package/src/components/buttons/PsButton.vue +22 -1
  34. package/src/components/chips/PsChips.vue +24 -3
  35. package/src/components/controls/PsCheckbox.vue +32 -16
  36. package/src/components/controls/PsDraggable.vue +39 -150
  37. package/src/components/controls/PsInlineSelector.vue +30 -0
  38. package/src/components/controls/PsRadioButton.vue +28 -15
  39. package/src/components/controls/PsSwitch.vue +20 -11
  40. package/src/components/controls/PsToggle.vue +33 -12
  41. package/src/components/datatable/PsDataTable.vue +18 -0
  42. package/src/components/forms/PsDropdown.vue +18 -60
  43. package/src/components/forms/PsDropdownList.vue +82 -0
  44. package/src/components/forms/PsInput.vue +28 -1
  45. package/src/components/forms/PsInputSelect.vue +21 -0
  46. package/src/components/forms/PsInputTextArea.vue +53 -40
  47. package/src/components/notifications/PsDialog.vue +15 -0
  48. package/src/components/notifications/PsToast.vue +12 -0
  49. package/src/components/playground/PsScrollBar.vue +15 -0
  50. package/src/components/tabs/PsTabHeader.vue +18 -0
  51. package/src/components/tooltip/PsDialogTooltip.vue +103 -20
  52. package/src/components/tooltip/PsRichTooltip.vue +6 -3
  53. package/src/components/tooltip/PsTooltip.vue +19 -3
  54. package/src/components/ui/PsIcon.vue +30 -0
  55. package/src/index.js +30 -2
  56. package/src/stories/Accordion.stories.js +12 -48
  57. package/src/stories/Button.stories.js +30 -7
  58. package/src/stories/Chips.stories.js +14 -2
  59. package/src/stories/Dropdown.stories.js +36 -13
  60. package/src/stories/Playground.stories.js +16 -0
  61. package/src/stories/Switch.stories.js +8 -2
  62. package/src/stories/Toast.stories.js +16 -16
  63. package/src/stories/Tooltip.stories.js +6 -6
  64. package/src/stories/Typography.stories.mdx +22 -18
  65. package/src/util/GeneralFunctions.js +8 -0
  66. package/tailwind.config.js +7 -3
  67. package/vetur/attributes.json +1376 -0
  68. package/vetur/tags.json +632 -0
  69. 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.31",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -12,11 +12,15 @@
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
+ "watch-storybook": "start-storybook -p 6006",
21
+ "watch-prod-tailwind": "watch 'npm run build-tailwind' ./src/assets",
22
+ "watch-tailwind": "watch 'npm run build-temp-tailwind' ./src/assets",
23
+ "build-prop-intellisense": "vue-int --input src/components --output vetur --recursive"
20
24
  },
21
25
  "dependencies": {
22
26
  "core-js": "^3.6.5",
@@ -35,6 +39,7 @@
35
39
  "@vue/eslint-config-prettier": "^6.0.0",
36
40
  "babel-eslint": "^10.1.0",
37
41
  "babel-loader": "^8.2.3",
42
+ "concurrently": "^7.0.0",
38
43
  "eslint": "^6.7.2",
39
44
  "eslint-plugin-prettier": "^3.3.1",
40
45
  "eslint-plugin-vue": "^6.2.2",
@@ -44,8 +49,13 @@
44
49
  "postcss-nested": "^5.0.6",
45
50
  "prettier": "^2.2.1",
46
51
  "tailwindcss": "^1.9.6",
52
+ "vue-intellisense": "^1.0.1",
47
53
  "vue-loader": "^15.9.8",
48
54
  "vue-template-compiler": "^2.6.11",
49
55
  "watch": "^1.0.2"
56
+ },
57
+ "vetur": {
58
+ "tags": "vetur/tags.json",
59
+ "attributes": "vetur/attributes.json"
50
60
  }
51
61
  }
@@ -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
 
@@ -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
  }
@@ -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,19 +1,8 @@
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;
3
+ @apply psui-relative psui-inline-block psui-text-left;
6
4
 
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 {
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;
@@ -27,18 +16,12 @@
27
16
  }
28
17
  }
29
18
 
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;
19
+ &-dialog-wrapper {
20
+ @apply psui-hidden psui-origin-top-right psui-py-4 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;
33
21
 
34
- &-category-divider {
22
+ &-dialog {
35
23
  @apply w-full;
36
-
37
- h2 {
38
- @apply psui-text-gray-20 psui-font-bold psui-whitespace-no-wrap psui-mb-4;
39
- }
40
24
  }
41
-
42
25
  }
43
26
  }
44
27
  }
@@ -0,0 +1,19 @@
1
+ @layer components {
2
+ .psui-el-dropdown-menu-list {
3
+ @apply psui-w-full psui-font-bold;
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
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
  }
@@ -12,7 +12,7 @@
12
12
  .psui-el-switch-button {
13
13
  &.toggle-false{
14
14
  &::before {
15
- @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
15
+ @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-300 psui-shadow-elevation-20;
16
16
  box-shadow: 0 0 98px 6px rgba(0, 0, 0, 0.2);
17
17
  left: 2px;
18
18
  top: 2px;
@@ -24,7 +24,7 @@
24
24
  @apply psui-bg-green-20;
25
25
 
26
26
  &::before {
27
- @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
27
+ @apply psui-absolute psui-h-3 psui-w-3 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-300 psui-shadow-elevation-20;
28
28
  box-shadow: 0 0 98px 6px rgba(0, 0, 0, 0.2);
29
29
  left: 16px;
30
30
  top: 2px;
@@ -44,7 +44,7 @@
44
44
 
45
45
  &.toggle-false{
46
46
  &::before {
47
- @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
47
+ @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-300 psui-shadow-elevation-20;
48
48
  left: 2px;
49
49
  top: 2px;
50
50
  content: '';
@@ -55,7 +55,7 @@
55
55
  @apply psui-bg-green-20;
56
56
 
57
57
  &::before {
58
- @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-500 psui-shadow-elevation-20;
58
+ @apply psui-absolute psui-h-5 psui-w-5 psui-bg-white psui-rounded-full psui-transition-all psui-ease-in-out psui-duration-300 psui-shadow-elevation-20;
59
59
  left: 24px;
60
60
  top:2px;
61
61
  content: '';
@@ -8,6 +8,10 @@
8
8
  &.status-disabled {
9
9
  @apply cursor-not-allowed
10
10
  }
11
+
12
+ &:focus {
13
+ outline: none;
14
+ }
11
15
  }
12
16
 
13
17
  &.status-disabled {
@@ -24,6 +28,7 @@
24
28
  button {
25
29
  @apply psui-bg-gray-10 psui-text-gray-60;
26
30
  padding: 6px 12px;
31
+ box-shadow: inset 0px 0px 8px rgba(40, 50, 59, 0.05);
27
32
 
28
33
  &:not(:last-child) {
29
34
  margin-right: 1px;
@@ -39,6 +44,7 @@
39
44
 
40
45
  &:hover {
41
46
  @apply psui-text-blue-60;
47
+ box-shadow: inset 0px 0px 8px rgba(40, 50, 59, 0.05);
42
48
  }
43
49
 
44
50
  &.status-active {
@@ -62,6 +68,10 @@
62
68
  border-bottom: 3px solid transparent;
63
69
  padding: 11.5px 0;
64
70
 
71
+ &:hover {
72
+ @apply psui-text-blue-60;
73
+ }
74
+
65
75
  &:not(:last-child) {
66
76
  margin-right: 20px;
67
77
  }
@@ -85,6 +95,10 @@
85
95
  @apply psui-bg-gray-10 psui-text-gray-50 psui-rounded-t;
86
96
  padding: 9px 12px;
87
97
 
98
+ &:hover {
99
+ @apply psui-text-blue-60;
100
+ }
101
+
88
102
  &:not(:last-child) {
89
103
  margin-right: 4px;
90
104
  }
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .psui-el-toast {
3
- @apply psui-flex psui-items-center psui-text-big psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-font-bold;
3
+ @apply psui-flex psui-items-center psui-text-big psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-font-bold psui-shadow-elevation-20;
4
4
 
5
5
  .psui-el-toast-icon {
6
6
  @apply psui-flex psui-mr-4;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .psui-el-toast-actions {
15
- @apply psui-flex psui-gap-4
15
+ @apply psui-flex psui-gap-4 psui-text-accentSmall;
16
16
  }
17
17
 
18
18
  &.fill-intense.layout{
@@ -35,7 +35,7 @@
35
35
 
36
36
  &.fill-soft.layout {
37
37
  &-info {
38
- @apply psui-text-blue-60 psui-bg-blue-20
38
+ @apply psui-text-blue-60 psui-bg-blue-20;
39
39
  }
40
40
 
41
41
  &-success {