@bethinkpl/design-system 15.0.3 → 15.1.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/design-system.umd.js +1451 -1121
- package/dist/design-system.umd.js.map +1 -1
- package/dist/lib/js/components/PopOver/PopOver.consts.d.ts +4 -0
- package/dist/lib/js/components/PopOver/PopOver.stories.d.ts +1 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.consts.d.ts +38 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.d.ts +1 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.stories.d.ts +531 -0
- package/dist/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue.d.ts +267 -0
- package/dist/lib/js/components/ProgressDonutChart/index.d.ts +3 -0
- package/dist/lib/js/index.d.ts +2 -0
- package/docs/iframe.html +1 -1
- package/docs/main.c8783f38.iframe.bundle.js +1 -0
- package/docs/project.json +1 -1
- package/lib/js/components/Badges/Badge/Badge.vue +2 -2
- package/lib/js/components/Badges/BadgeScore/BadgeScore.vue +2 -2
- package/lib/js/components/Banner/Banner.vue +15 -15
- package/lib/js/components/Buttons/IconButton/IconButton.vue +2 -2
- package/lib/js/components/IconText/IconText.vue +1 -1
- package/lib/js/components/Modals/Modal/Modal.vue +42 -49
- package/lib/js/components/NumberInCircle/NumberInCircle.vue +7 -7
- package/lib/js/components/Pagination/Pagination.vue +17 -17
- package/lib/js/components/Pill/Pill.vue +2 -2
- package/lib/js/components/PopOver/PopOver.consts.ts +5 -0
- package/lib/js/components/PopOver/PopOver.stories.ts +49 -8
- package/lib/js/components/PopOver/PopOver.vue +61 -5
- package/lib/js/components/ProgressBar/ProgressBar.vue +2 -2
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.consts.ts +47 -0
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.spec.ts +97 -0
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.stories.ts +64 -0
- package/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue +293 -0
- package/lib/js/components/ProgressDonutChart/index.ts +4 -0
- package/lib/js/components/SectionHeader/SectionHeader.vue +1 -1
- package/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue +2 -2
- package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue +4 -4
- package/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue +2 -2
- package/lib/js/components/SurveyToggle/SurveyToggle.vue +5 -5
- package/lib/js/components/Toggles/CounterToggle/CounterToggle.vue +2 -2
- package/lib/js/index.ts +2 -0
- package/lib/js/styles/ItemsList.vue +1 -1
- package/lib/styles/components/_buttons.scss +2 -2
- package/lib/styles/components/_items-list-item.scss +1 -1
- package/lib/styles/components/_links.scss +2 -2
- package/lib/styles/mixins/_layout.scss +1 -1
- package/lib/styles/mixins/_scrollbars.scss +2 -2
- package/lib/styles/storybook.scss +3 -3
- package/package.json +3 -3
- package/stylelint.config.js +2 -0
- package/docs/main.ad3bccd0.iframe.bundle.js +0 -1
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
@include formText-s-default-regular;
|
|
20
20
|
|
|
21
21
|
border: 1px solid $color-neutral-border-weak;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
box-shadow: inset 0 1px 3px var(--raw-gray-400);
|
|
24
22
|
border-radius: $radius-s;
|
|
23
|
+
box-shadow: inset 0 1px 3px var(--raw-gray-400);
|
|
24
|
+
box-sizing: border-box;
|
|
25
25
|
min-height: 2em;
|
|
26
26
|
padding: $space-xxs;
|
|
27
27
|
resize: none;
|
|
@@ -186,10 +186,10 @@ $survey-toggle-colors: (
|
|
|
186
186
|
&__ring {
|
|
187
187
|
// TODO: IT-4131 mixin
|
|
188
188
|
align-items: center;
|
|
189
|
-
display: flex;
|
|
190
|
-
justify-content: center;
|
|
191
189
|
border: 3px solid $color-neutral-border;
|
|
192
190
|
border-radius: 100%;
|
|
191
|
+
display: flex;
|
|
192
|
+
justify-content: center;
|
|
193
193
|
transition: border-color ease-in-out $default-transition-time;
|
|
194
194
|
width: 100%;
|
|
195
195
|
}
|
|
@@ -205,18 +205,18 @@ $survey-toggle-colors: (
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
&__icon {
|
|
208
|
-
display: flex;
|
|
209
208
|
color: $color-inverted-icon;
|
|
209
|
+
display: flex;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
&__label {
|
|
213
213
|
@include label-xs-default-bold;
|
|
214
214
|
|
|
215
215
|
color: $color-neutral-text;
|
|
216
|
-
text-align: center;
|
|
217
216
|
margin-top: $space-xxs;
|
|
218
|
-
min-height: 2em;
|
|
219
217
|
max-width: 100%;
|
|
218
|
+
min-height: 2em;
|
|
219
|
+
text-align: center;
|
|
220
220
|
|
|
221
221
|
@media #{breakpoint-s()} {
|
|
222
222
|
@include label-s-default-regular;
|
|
@@ -171,8 +171,8 @@ $counter-toggle-colors: (
|
|
|
171
171
|
@mixin setCounterToggleDisabled($disabled-color, $disabled-icon, $disabled-background) {
|
|
172
172
|
&:disabled,
|
|
173
173
|
&.-disabled {
|
|
174
|
-
color: $disabled-color;
|
|
175
174
|
background-color: $disabled-background;
|
|
175
|
+
color: $disabled-color;
|
|
176
176
|
|
|
177
177
|
.counterToggle__icon {
|
|
178
178
|
color: $disabled-icon;
|
|
@@ -222,13 +222,13 @@ $counter-toggle-colors: (
|
|
|
222
222
|
border-radius: $radius-s;
|
|
223
223
|
cursor: pointer;
|
|
224
224
|
display: inline-flex;
|
|
225
|
-
width: auto;
|
|
226
225
|
justify-content: center;
|
|
227
226
|
padding: $space-xxs;
|
|
228
227
|
position: relative;
|
|
229
228
|
transition: color ease-in-out $default-transition-time,
|
|
230
229
|
background-color ease-in-out $default-transition-time;
|
|
231
230
|
user-select: none;
|
|
231
|
+
width: auto;
|
|
232
232
|
|
|
233
233
|
&.-selected {
|
|
234
234
|
@each $color-name, $color-map in $counter-toggle-colors {
|
package/lib/js/index.ts
CHANGED
|
@@ -56,6 +56,8 @@ export { default as Dropdown } from './components/Dropdown';
|
|
|
56
56
|
export * from './components/Dropdown/Dropdown.consts';
|
|
57
57
|
export { default as ProgressBar } from './components/ProgressBar';
|
|
58
58
|
export * from './components/ProgressBar/ProgressBar.consts';
|
|
59
|
+
export { default as ProgressDonutChart } from './components/ProgressDonutChart';
|
|
60
|
+
export * from './components/ProgressDonutChart/ProgressDonutChart.consts';
|
|
59
61
|
export { default as IconText } from './components/IconText';
|
|
60
62
|
export * from './components/IconText/IconText.consts';
|
|
61
63
|
export { default as Pagination } from './components/Pagination';
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
) {
|
|
65
65
|
&:disabled,
|
|
66
66
|
&.-disabled {
|
|
67
|
+
background-color: $disabled-background;
|
|
67
68
|
border-color: $disabled-border;
|
|
68
69
|
color: $disabled-color;
|
|
69
|
-
background-color: $disabled-background;
|
|
70
70
|
|
|
71
71
|
.a-button__icon {
|
|
72
72
|
color: $disabled-icon;
|
|
@@ -174,8 +174,8 @@ $button-disabled-alpha: 0.6;
|
|
|
174
174
|
border-radius: 100px;
|
|
175
175
|
cursor: pointer;
|
|
176
176
|
display: inline-flex;
|
|
177
|
-
min-height: $button-medium-min-height;
|
|
178
177
|
justify-content: center;
|
|
178
|
+
min-height: $button-medium-min-height;
|
|
179
179
|
outline: none;
|
|
180
180
|
padding: $space-xxxxs $space-s;
|
|
181
181
|
position: relative;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
|
|
41
41
|
&__attributes {
|
|
42
42
|
color: var(--color-neutral-data-medium);
|
|
43
|
-
font-style: var(--typography-font-style-italic);
|
|
44
43
|
font-size: var(--typography-font-size-xs);
|
|
44
|
+
font-style: var(--typography-font-style-italic);
|
|
45
45
|
line-height: var(--typography-line-height-s);
|
|
46
46
|
width: 25%;
|
|
47
47
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import '../settings/colors/tokens';
|
|
2
2
|
|
|
3
3
|
.a-link {
|
|
4
|
-
cursor: pointer;
|
|
5
4
|
color: $color-primary-text;
|
|
5
|
+
cursor: pointer;
|
|
6
6
|
|
|
7
7
|
&:hover {
|
|
8
8
|
color: $color-primary-text;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.a-linkInText {
|
|
13
|
-
cursor: pointer;
|
|
14
13
|
color: inherit;
|
|
14
|
+
cursor: pointer;
|
|
15
15
|
text-decoration: underline;
|
|
16
16
|
|
|
17
17
|
&:hover {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@mixin scrollbar($size, $foreground-color, $background-color: white) {
|
|
2
2
|
::-webkit-scrollbar {
|
|
3
|
-
width: $size;
|
|
4
3
|
height: $size;
|
|
4
|
+
width: $size;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
::-webkit-scrollbar-thumb {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
|
|
16
16
|
@mixin scrollbar-on-self($size, $foreground-color, $background-color: white) {
|
|
17
17
|
&::-webkit-scrollbar {
|
|
18
|
-
width: $size;
|
|
19
18
|
height: $size;
|
|
19
|
+
width: $size;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&::-webkit-scrollbar-thumb {
|
|
@@ -14,9 +14,9 @@ $fontFamily: 'BlinkMacSystemFont', -apple-system, 'Segoe UI', 'Roboto', 'Oxygen'
|
|
|
14
14
|
|
|
15
15
|
html,
|
|
16
16
|
body {
|
|
17
|
-
-webkit-text-size-adjust: 100%;
|
|
18
|
-
-webkit-font-smoothing: antialiased;
|
|
19
17
|
font-family: 'Lato', sans-serif;
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
-webkit-text-size-adjust: 100%;
|
|
20
20
|
|
|
21
21
|
&.styleguide {
|
|
22
22
|
@include text-l-default-regular;
|
|
@@ -47,8 +47,8 @@ html {
|
|
|
47
47
|
|
|
48
48
|
.sbIconList {
|
|
49
49
|
display: flex;
|
|
50
|
-
font-size: 10px;
|
|
51
50
|
flex-wrap: wrap;
|
|
51
|
+
font-size: 10px;
|
|
52
52
|
|
|
53
53
|
&__icon {
|
|
54
54
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bethinkpl/design-system",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.2",
|
|
4
4
|
"description": "Bethink universe design-system",
|
|
5
5
|
"repository": "git@github.com:bethinkpl/design-system.git",
|
|
6
6
|
"author": "nerdy@bethink.pl",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@fortawesome/fontawesome-svg-core": "6.1.1",
|
|
34
34
|
"@fortawesome/free-brands-svg-icons": "6.1.1",
|
|
35
|
+
"@fortawesome/pro-duotone-svg-icons": "6.1.1",
|
|
35
36
|
"@fortawesome/pro-light-svg-icons": "6.1.1",
|
|
36
37
|
"@fortawesome/pro-regular-svg-icons": "6.1.1",
|
|
37
38
|
"@fortawesome/pro-solid-svg-icons": "6.1.1",
|
|
38
|
-
"@fortawesome/pro-duotone-svg-icons": "6.1.1",
|
|
39
39
|
"@fortawesome/vue-fontawesome": "2.0.6",
|
|
40
40
|
"@storybook/addon-actions": "6.5.13",
|
|
41
41
|
"@storybook/addon-controls": "^6.5.13",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"storybook-addon-designs": "^6.3.1",
|
|
69
69
|
"stylelint": "13.6.1",
|
|
70
70
|
"stylelint-config-standard": "20.0.0",
|
|
71
|
-
"stylelint-order": "
|
|
71
|
+
"stylelint-order": "6.0.3",
|
|
72
72
|
"stylelint-scss": "3.18.0",
|
|
73
73
|
"ts-jest": "^26.5.6",
|
|
74
74
|
"ts-node": "^10.9.1",
|