@bethinkpl/design-system 36.2.0 → 37.0.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.
Files changed (79) hide show
  1. package/README.md +4 -4
  2. package/dist/design-system.css +1 -1
  3. package/dist/design-system.js +70 -70
  4. package/dist/design-system.js.map +1 -1
  5. package/lib/js/components/Badge/Badge.vue +3 -3
  6. package/lib/js/components/BadgeScore/BadgeScore.vue +4 -4
  7. package/lib/js/components/Banner/Banner.vue +19 -19
  8. package/lib/js/components/Buttons/IconButton/IconButton.vue +3 -3
  9. package/lib/js/components/Cards/Card/Card.vue +9 -9
  10. package/lib/js/components/Cards/CardExpandable/CardExpandable.vue +2 -2
  11. package/lib/js/components/Chip/Chip.vue +5 -5
  12. package/lib/js/components/DatePickers/DateBox/DateBox.vue +3 -3
  13. package/lib/js/components/DatePickers/DatePicker/DatePicker.vue +4 -4
  14. package/lib/js/components/DatePickers/DateRangePicker/DateRangePicker.vue +1 -1
  15. package/lib/js/components/Drawer/DrawerContent/DrawerContent.vue +2 -2
  16. package/lib/js/components/Drawer/DrawerDivider/DrawerDivider.vue +1 -1
  17. package/lib/js/components/Drawer/DrawerHeader/DrawerHeader.vue +5 -5
  18. package/lib/js/components/Drawer/DrawerListItem/DrawerListItem.vue +2 -2
  19. package/lib/js/components/Drawer/DrawerListItemGroup/DrawerListItemGroup.vue +1 -1
  20. package/lib/js/components/Drawer/DrawerTile/DrawerTile.vue +1 -1
  21. package/lib/js/components/Dropdown/Dropdown.vue +2 -2
  22. package/lib/js/components/Form/Checkbox/Checkbox.vue +6 -6
  23. package/lib/js/components/Form/CheckboxGroupField/CheckboxGroupField.vue +1 -1
  24. package/lib/js/components/Form/FormControlLabel/FormControlLabel.vue +3 -3
  25. package/lib/js/components/Form/FormField/FormField.vue +12 -12
  26. package/lib/js/components/Form/FormField/FormFieldMessage/FormFieldMessage.vue +1 -1
  27. package/lib/js/components/Form/InputField/InputField.vue +2 -2
  28. package/lib/js/components/Form/SelectionControl/SelectionControl.vue +12 -12
  29. package/lib/js/components/Headers/OverlayHeader/OverlayHeader.vue +15 -15
  30. package/lib/js/components/Headers/PageHeader/PageHeader.vue +5 -5
  31. package/lib/js/components/Headers/SectionHeader/SectionHeader.vue +20 -20
  32. package/lib/js/components/IconText/IconText.vue +3 -3
  33. package/lib/js/components/Icons/FeatureIcon/FeatureIcon.vue +9 -9
  34. package/lib/js/components/Layouts/ThreeColumnLayout/ThreeColumnLayout.vue +1 -1
  35. package/lib/js/components/Menu/Menu/Menu.vue +2 -2
  36. package/lib/js/components/Menu/MenuDivider/MenuDivider.vue +1 -1
  37. package/lib/js/components/Menu/MenuItem/MenuItem.vue +14 -14
  38. package/lib/js/components/Modal/Modal.vue +10 -10
  39. package/lib/js/components/Modals/Modal/Modal.vue +20 -20
  40. package/lib/js/components/NumberInCircle/NumberInCircle.vue +1 -1
  41. package/lib/js/components/Pagination/Pagination.vue +4 -4
  42. package/lib/js/components/PopOver/PopOver.vue +24 -24
  43. package/lib/js/components/ProgressBar/ProgressBar.vue +5 -5
  44. package/lib/js/components/ProgressBar/ProgressBarLabelDataWrapper.vue +4 -4
  45. package/lib/js/components/ProgressBar/ProgressBarLegend.vue +4 -4
  46. package/lib/js/components/ProgressBar/ProgressBarLegendItem.vue +8 -8
  47. package/lib/js/components/ProgressDonutChart/ProgressDonutChart.vue +2 -2
  48. package/lib/js/components/RichList/BasicRichListItem/BasicRichListItem.vue +3 -3
  49. package/lib/js/components/RichList/GroupRichListItem/GroupRichListItem.vue +1 -1
  50. package/lib/js/components/RichList/RichListItem/RichListItem.vue +36 -36
  51. package/lib/js/components/SectionTitle/SectionTitle.vue +2 -2
  52. package/lib/js/components/SelectList/SelectList.vue +1 -1
  53. package/lib/js/components/SelectList/SelectListItem/SelectListItem.vue +5 -5
  54. package/lib/js/components/SelectList/SelectListItemContainer/SelectListItemContainer.vue +1 -1
  55. package/lib/js/components/SelectList/SelectListItemDivider/SelectListItemDivider.vue +1 -1
  56. package/lib/js/components/SelectList/SelectListSectionTitle/SelectListSectionTitle.vue +2 -2
  57. package/lib/js/components/SelectionTile/SelectionTile.vue +4 -4
  58. package/lib/js/components/SpinnerLoading/SpinnerLoading.vue +1 -1
  59. package/lib/js/components/StatsLayout/StatsLayout.vue +6 -6
  60. package/lib/js/components/Statuses/AccessStatus/AccessStatus.vue +1 -1
  61. package/lib/js/components/Statuses/BlockadeStatus/BlockadeStatus.vue +1 -1
  62. package/lib/js/components/SurveyQuestions/SurveyQuestionOpenEnded/SurveyQuestionOpenEnded.vue +3 -3
  63. package/lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue +9 -9
  64. package/lib/js/components/SurveyQuestions/SurveyQuestionTextarea.vue +1 -1
  65. package/lib/js/components/SurveyToggle/SurveyToggle.vue +3 -3
  66. package/lib/js/components/Switch/Switch.vue +4 -4
  67. package/lib/js/components/TabItem/TabItem.vue +4 -4
  68. package/lib/js/components/TextGroup/TextGroup.vue +1 -1
  69. package/lib/js/components/Tile/Tile.vue +4 -4
  70. package/lib/js/components/Toast/Toast.vue +8 -8
  71. package/lib/js/components/Toggles/CounterToggle/CounterToggle.vue +2 -2
  72. package/lib/js/components/Toggles/ToggleButton/ToggleButton.vue +7 -7
  73. package/lib/js/components/Well/Well.vue +5 -5
  74. package/lib/js/styles/ItemsList.vue +2 -2
  75. package/lib/js/styles/Spacings/Spacings.stories.ts +6 -14
  76. package/lib/styles/components/_buttons.scss +9 -9
  77. package/lib/styles/components/_items-list-item.scss +2 -2
  78. package/lib/styles/settings/_spacings.scss +13 -10
  79. package/package.json +1 -1
@@ -61,13 +61,13 @@ $selection-tile-min-height: 48px;
61
61
  align-items: center;
62
62
  background-color: $color-neutral-background-weak;
63
63
  border-radius: $radius-s;
64
- column-gap: $space-2xs;
64
+ column-gap: $space-4;
65
65
  cursor: pointer;
66
66
  display: flex;
67
67
  justify-content: space-between;
68
68
  min-height: $selection-tile-min-height;
69
69
  outline: 1px solid $color-neutral-border;
70
- padding: $space-xs;
70
+ padding: $space-6;
71
71
  transition:
72
72
  color ease-in-out $default-transition-time,
73
73
  outline-color ease-in-out $default-transition-time,
@@ -80,14 +80,14 @@ $selection-tile-min-height: 48px;
80
80
 
81
81
  &__wrapper {
82
82
  align-items: center;
83
- column-gap: $space-2xs;
83
+ column-gap: $space-4;
84
84
  display: flex;
85
85
  }
86
86
 
87
87
  &__textWrapper {
88
88
  display: flex;
89
89
  flex-direction: column;
90
- row-gap: $space-4xs;
90
+ row-gap: $space-2;
91
91
  }
92
92
 
93
93
  &__title {
@@ -16,7 +16,7 @@
16
16
  align-items: center;
17
17
  color: $color-neutral-text;
18
18
  display: inline-flex;
19
- gap: $space-2xs;
19
+ gap: $space-4;
20
20
  }
21
21
  </style>
22
22
 
@@ -65,20 +65,20 @@ $right-column-width: 96px;
65
65
  .ds-statsLayout {
66
66
  display: flex;
67
67
  flex-direction: column;
68
- gap: $space-xs;
68
+ gap: $space-6;
69
69
 
70
70
  &__content,
71
71
  &__summary,
72
72
  &__stats {
73
73
  display: flex;
74
74
  flex-direction: column;
75
- gap: $space-s;
75
+ gap: $space-8;
76
76
  }
77
77
 
78
78
  &__wrapper {
79
79
  display: flex;
80
80
  flex-direction: column;
81
- gap: $space-l;
81
+ gap: $space-16;
82
82
  }
83
83
 
84
84
  &__gridHeader {
@@ -97,12 +97,12 @@ $right-column-width: 96px;
97
97
 
98
98
  &__gridHeaderLeftColumn {
99
99
  flex: 1 0 0;
100
- padding: $space-2xs;
100
+ padding: $space-4;
101
101
  }
102
102
 
103
103
  &__gridHeaderRightColumn {
104
104
  justify-content: flex-end;
105
- padding: $space-2xs;
105
+ padding: $space-4;
106
106
  }
107
107
 
108
108
  &__overallStats,
@@ -112,7 +112,7 @@ $right-column-width: 96px;
112
112
  }
113
113
 
114
114
  &__statsList {
115
- row-gap: $space-s;
115
+ row-gap: $space-8;
116
116
  }
117
117
 
118
118
  &__statsDivider {
@@ -19,7 +19,7 @@
19
19
 
20
20
  &__icon {
21
21
  color: $color-neutral-icon;
22
- margin-right: $space-4xs;
22
+ margin-right: $space-2;
23
23
  }
24
24
 
25
25
  &.-ds-active {
@@ -19,7 +19,7 @@
19
19
 
20
20
  &__icon {
21
21
  color: $color-neutral-icon;
22
- margin-right: $space-4xs;
22
+ margin-right: $space-2;
23
23
  }
24
24
 
25
25
  &.-ds-active {
@@ -54,7 +54,7 @@
54
54
  &__header {
55
55
  display: flex;
56
56
  justify-content: space-between;
57
- margin-bottom: $space-s;
57
+ margin-bottom: $space-8;
58
58
  // header without explanation iconButton has to be the same size as with iconButton
59
59
  min-height: $icon-button-medium-size;
60
60
  }
@@ -67,7 +67,7 @@
67
67
 
68
68
  &__explanation {
69
69
  align-self: flex-start;
70
- margin-left: $space-4xs;
70
+ margin-left: $space-2;
71
71
  }
72
72
 
73
73
  &__content {
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  &__input {
79
- margin-top: $space-2xs;
79
+ margin-top: $space-4;
80
80
  }
81
81
  }
82
82
  </style>
@@ -131,7 +131,7 @@
131
131
 
132
132
  display: flex;
133
133
  justify-content: space-between;
134
- margin-bottom: $space-m;
134
+ margin-bottom: $space-12;
135
135
  // title without explanation iconButton has to be the same size as with iconButton
136
136
  min-height: $icon-button-medium-size;
137
137
  }
@@ -142,7 +142,7 @@
142
142
 
143
143
  &__explanation {
144
144
  align-self: flex-start;
145
- margin-left: $space-4xs;
145
+ margin-left: $space-2;
146
146
  }
147
147
 
148
148
  &__content {
@@ -151,11 +151,11 @@
151
151
  container-type: inline-size;
152
152
  display: flex;
153
153
  overflow-x: auto;
154
- padding: $space-s $space-2xs;
154
+ padding: $space-8 $space-4;
155
155
 
156
156
  @media #{breakpoint-s()} {
157
- gap: $space-l;
158
- padding: $space-s $space-l;
157
+ gap: $space-16;
158
+ padding: $space-8 $space-16;
159
159
 
160
160
  &:not(.-ds-oneContainer) {
161
161
  justify-content: center;
@@ -184,7 +184,7 @@
184
184
  &__separator {
185
185
  border-bottom: none;
186
186
  border-top: 1px solid $color-neutral-border-weak;
187
- margin: $space-m 0 $space-s 0;
187
+ margin: $space-12 0 $space-8 0;
188
188
  }
189
189
 
190
190
  &__elaboration {
@@ -197,18 +197,18 @@
197
197
  }
198
198
 
199
199
  &__elaborationInput {
200
- margin-top: $space-2xs;
200
+ margin-top: $space-4;
201
201
  }
202
202
 
203
203
  &__container {
204
204
  display: flex;
205
205
  flex: 1;
206
206
  flex-direction: row;
207
- gap: $space-4xs;
207
+ gap: $space-2;
208
208
  justify-content: space-between;
209
209
 
210
210
  @container (width > 400px) {
211
- gap: $space-l;
211
+ gap: $space-16;
212
212
  justify-content: initial;
213
213
  }
214
214
 
@@ -23,7 +23,7 @@
23
23
  box-shadow: inset 0 1px 3px var(--raw-gray-400);
24
24
  box-sizing: border-box;
25
25
  min-height: 2em;
26
- padding: $space-2xs;
26
+ padding: $space-4;
27
27
  resize: none;
28
28
 
29
29
  &:disabled {
@@ -147,7 +147,7 @@ $survey-toggle-colors: (
147
147
  width: $survey-toggle-size;
148
148
 
149
149
  @media #{breakpoint-s()} {
150
- width: $survey-toggle-size + 2 * $space-3xs;
150
+ width: $survey-toggle-size + 2 * $space-3;
151
151
  }
152
152
 
153
153
  &__toggle {
@@ -160,7 +160,7 @@ $survey-toggle-colors: (
160
160
  border-radius: 100%;
161
161
  display: flex;
162
162
  height: $survey-toggle-size;
163
- padding: $space-2xs;
163
+ padding: $space-4;
164
164
  transition:
165
165
  background-color ease-in-out $default-transition-time,
166
166
  box-shadow ease-in-out $default-transition-time;
@@ -205,7 +205,7 @@ $survey-toggle-colors: (
205
205
  @include label-xs-default-bold;
206
206
 
207
207
  color: $color-neutral-text;
208
- margin-top: $space-2xs;
208
+ margin-top: $space-4;
209
209
  max-width: 100%;
210
210
  min-height: 2em;
211
211
  text-align: center;
@@ -119,14 +119,14 @@ $switch-transition: all $default-transition-time ease-out;
119
119
  cursor: pointer;
120
120
  display: flex;
121
121
  flex-grow: 1;
122
- gap: $space-3xs;
122
+ gap: $space-3;
123
123
  justify-content: center;
124
124
  margin: -1px;
125
125
  max-width: calc(100% - 64px);
126
126
  min-height: 32px;
127
127
  min-width: 64px;
128
128
  overflow: hidden;
129
- padding: 0 $space-s;
129
+ padding: 0 $space-8;
130
130
  position: relative;
131
131
  transition: $switch-transition;
132
132
  z-index: 2;
@@ -188,11 +188,11 @@ $switch-transition: all $default-transition-time ease-out;
188
188
  }
189
189
 
190
190
  &.-ds-small &__item {
191
- gap: $space-4xs;
191
+ gap: $space-2;
192
192
  max-width: calc(100% - 48px);
193
193
  min-height: 24px;
194
194
  min-width: 48px;
195
- padding: 0 $space-xs;
195
+ padding: 0 $space-6;
196
196
  }
197
197
 
198
198
  &.-ds-disabled &__item {
@@ -80,15 +80,15 @@
80
80
  &.-ds-sizeSmall {
81
81
  @include label-m-default-bold;
82
82
 
83
- column-gap: $space-4xs;
84
- padding: $space-xs;
83
+ column-gap: $space-2;
84
+ padding: $space-6;
85
85
  }
86
86
 
87
87
  &.-ds-sizeMedium {
88
88
  @include label-l-default-bold;
89
89
 
90
- column-gap: $space-2xs;
91
- padding: $space-xs $space-s;
90
+ column-gap: $space-4;
91
+ padding: $space-6 $space-8;
92
92
  }
93
93
  }
94
94
  </style>
@@ -203,7 +203,7 @@ $text-group-colors: (
203
203
  &__eyebrow {
204
204
  @include info-s-default-bold;
205
205
 
206
- margin-bottom: $space-5xs;
206
+ margin-bottom: $space-1;
207
207
 
208
208
  &.-ds-uppercase {
209
209
  @include info-s-extensive-bold-uppercase;
@@ -300,10 +300,10 @@ $tile-colors: (
300
300
  border-radius: $radius-s;
301
301
  display: flex;
302
302
  flex-direction: row;
303
- gap: $space-xs;
303
+ gap: $space-6;
304
304
  justify-content: center;
305
305
  min-height: 48px;
306
- padding: $space-2xs $space-xs;
306
+ padding: $space-4 $space-6;
307
307
  transition: background-color ease-in-out $default-transition-time;
308
308
 
309
309
  &.-ds-disabled {
@@ -359,7 +359,7 @@ $tile-colors: (
359
359
 
360
360
  color: $color-neutral-text;
361
361
  flex-grow: 1;
362
- margin-left: $space-xs;
362
+ margin-left: $space-6;
363
363
  text-align: right;
364
364
 
365
365
  &.-ds-max-width-small {
@@ -381,7 +381,7 @@ $tile-colors: (
381
381
  &__eyebrowText {
382
382
  @include info-m-default-bold;
383
383
 
384
- margin-bottom: $space-4xs;
384
+ margin-bottom: $space-2;
385
385
 
386
386
  &.-ds-uppercase {
387
387
  @include info-m-extensive-bold-uppercase();
@@ -44,17 +44,17 @@
44
44
  width: 100%;
45
45
 
46
46
  &.-ds-size-small {
47
- max-width: 320px + $space-s * 2;
48
- padding: $space-s;
47
+ max-width: 320px + $space-8 * 2;
48
+ padding: $space-8;
49
49
  }
50
50
 
51
51
  &.-ds-size-medium {
52
- max-width: 500px + $space-s * 2;
53
- padding: $space-s;
52
+ max-width: 500px + $space-8 * 2;
53
+ padding: $space-8;
54
54
 
55
55
  @media (#{breakpoint-s()}) {
56
- max-width: 500px + $space-m * 2;
57
- padding: $space-m;
56
+ max-width: 500px + $space-12 * 2;
57
+ padding: $space-12;
58
58
  }
59
59
  }
60
60
 
@@ -79,10 +79,10 @@
79
79
  }
80
80
 
81
81
  &__footerButtons {
82
- column-gap: $space-xs;
82
+ column-gap: $space-6;
83
83
  display: flex;
84
84
  justify-content: flex-end;
85
- padding: 0 $space-s $space-s;
85
+ padding: 0 $space-8 $space-8;
86
86
  }
87
87
  }
88
88
  </style>
@@ -206,7 +206,7 @@ $counter-toggle-colors: (
206
206
  cursor: pointer;
207
207
  display: inline-flex;
208
208
  justify-content: center;
209
- padding: $space-2xs;
209
+ padding: $space-4;
210
210
  position: relative;
211
211
  transition:
212
212
  color ease-in-out $default-transition-time,
@@ -246,7 +246,7 @@ $counter-toggle-colors: (
246
246
  &__counter {
247
247
  @include label-s-extensive-bold-uppercase();
248
248
 
249
- margin-left: $space-5xs;
249
+ margin-left: $space-1;
250
250
  }
251
251
  }
252
252
  </style>
@@ -326,7 +326,7 @@ $toggle-button-colors: (
326
326
  &__contentWrapper {
327
327
  align-items: center;
328
328
  display: flex;
329
- gap: $space-4xs;
329
+ gap: $space-2;
330
330
  justify-content: center;
331
331
  }
332
332
 
@@ -360,10 +360,10 @@ $toggle-button-colors: (
360
360
  &.-ds-small {
361
361
  min-height: $toggle-button-size-small;
362
362
  min-width: $toggle-button-size-small;
363
- padding: substract-border($space-3xs, 'small') substract-border($space-xs, 'small');
363
+ padding: substract-border($space-3, 'small') substract-border($space-6, 'small');
364
364
 
365
365
  &.-ds-hasSmallHorizontalPadding {
366
- padding: substract-border($space-3xs, 'small') substract-border($space-5xs, 'small');
366
+ padding: substract-border($space-3, 'small') substract-border($space-1, 'small');
367
367
  }
368
368
 
369
369
  #{$root}__content.-ds-small {
@@ -378,10 +378,10 @@ $toggle-button-colors: (
378
378
  &.-ds-medium {
379
379
  min-height: $toggle-button-size-medium;
380
380
  min-width: $toggle-button-size-medium;
381
- padding: substract-border($space-2xs, 'medium') substract-border($space-xs, 'medium');
381
+ padding: substract-border($space-4, 'medium') substract-border($space-6, 'medium');
382
382
 
383
383
  &.-ds-hasSmallHorizontalPadding {
384
- padding: substract-border($space-2xs, 'medium') substract-border($space-5xs, 'medium');
384
+ padding: substract-border($space-4, 'medium') substract-border($space-1, 'medium');
385
385
  }
386
386
 
387
387
  #{$root}__content.-ds-small {
@@ -397,10 +397,10 @@ $toggle-button-colors: (
397
397
  border-width: $toggle-button-border-size-large;
398
398
  min-height: $toggle-button-size-large;
399
399
  min-width: $toggle-button-size-large;
400
- padding: substract-border($space-xs, 'large') substract-border($space-s, 'large');
400
+ padding: substract-border($space-6, 'large') substract-border($space-8, 'large');
401
401
 
402
402
  &.-ds-hasSmallHorizontalPadding {
403
- padding: substract-border($space-2xs, 'large') substract-border($space-5xs, 'large');
403
+ padding: substract-border($space-4, 'large') substract-border($space-1, 'large');
404
404
  }
405
405
  }
406
406
 
@@ -55,25 +55,25 @@
55
55
 
56
56
  &__accessorySlot {
57
57
  display: flex;
58
- gap: $space-4xs;
58
+ gap: $space-2;
59
59
  position: absolute;
60
60
  right: 0;
61
61
  top: -10px;
62
62
  }
63
63
 
64
64
  &.-ds-medium {
65
- padding: $space-s;
65
+ padding: $space-8;
66
66
 
67
67
  #{$root}__accessorySlot {
68
- right: $space-s;
68
+ right: $space-8;
69
69
  }
70
70
  }
71
71
 
72
72
  &.-ds-small {
73
- padding: $space-xs;
73
+ padding: $space-6;
74
74
 
75
75
  #{$root}__accessorySlot {
76
- right: $space-xs;
76
+ right: $space-6;
77
77
  }
78
78
  }
79
79
  }
@@ -56,8 +56,8 @@
56
56
 
57
57
  &__row {
58
58
  border: 1px solid var(--raw-gray-100);
59
- margin-bottom: $space-m;
60
- padding: $space-m;
59
+ margin-bottom: $space-12;
60
+ padding: $space-12;
61
61
  }
62
62
 
63
63
  &__categories {
@@ -4,20 +4,12 @@ export default {
4
4
  title: 'foundations/Spacings',
5
5
  } as Meta;
6
6
 
7
- const spacings = [
8
- { name: 'space-4xl', value: 80 },
9
- { name: 'space-3xl', value: 64 },
10
- { name: 'space-2xl', value: 56 },
11
- { name: 'space-xl', value: 40 },
12
- { name: 'space-l', value: 32 },
13
- { name: 'space-m', value: 24 },
14
- { name: 'space-s', value: 16 },
15
- { name: 'space-xs', value: 12 },
16
- { name: 'space-2xs', value: 8 },
17
- { name: 'space-3xs', value: 6 },
18
- { name: 'space-4xs', value: 4 },
19
- { name: 'space-5xs', value: 2 },
20
- ];
7
+ const spaceBase = 2;
8
+
9
+ const spacings = [28, 20, 16, 12, 10, 8, 6, 5, 4, 3, 2, 1].map((multiplier) => ({
10
+ name: `space-${multiplier}`,
11
+ value: spaceBase * multiplier,
12
+ }));
21
13
 
22
14
  const StoryTemplate: StoryFn = () => ({
23
15
  data() {
@@ -162,7 +162,7 @@ $button-disabled-alpha: 0.6;
162
162
  justify-content: center;
163
163
  min-height: $button-medium-min-height;
164
164
  outline: none;
165
- padding: $space-4xs $space-s;
165
+ padding: $space-2 $space-8;
166
166
  position: relative;
167
167
  transform-style: preserve-3d;
168
168
  transition:
@@ -205,8 +205,8 @@ $button-disabled-alpha: 0.6;
205
205
  @include button-l-default-bold-uppercase;
206
206
 
207
207
  min-height: $button-large-min-height;
208
- padding-left: $space-m;
209
- padding-right: $space-m;
208
+ padding-left: $space-12;
209
+ padding-right: $space-12;
210
210
  }
211
211
 
212
212
  &.-ds-text {
@@ -244,12 +244,12 @@ $button-disabled-alpha: 0.6;
244
244
 
245
245
  &.-ds-rounded {
246
246
  border-radius: $radius-s;
247
- padding-left: $space-xs;
248
- padding-right: $space-xs;
247
+ padding-left: $space-6;
248
+ padding-right: $space-6;
249
249
 
250
250
  &.-ds-large {
251
- padding-left: $space-s;
252
- padding-right: $space-s;
251
+ padding-left: $space-8;
252
+ padding-right: $space-8;
253
253
  }
254
254
  }
255
255
  }
@@ -306,11 +306,11 @@ $button-disabled-alpha: 0.6;
306
306
 
307
307
  &__icon {
308
308
  &.-ds-left {
309
- margin-right: $space-4xs;
309
+ margin-right: $space-2;
310
310
  }
311
311
 
312
312
  &.-ds-right {
313
- margin-left: $space-4xs;
313
+ margin-left: $space-2;
314
314
  }
315
315
  }
316
316
 
@@ -6,7 +6,7 @@
6
6
  width: 100%;
7
7
 
8
8
  td {
9
- padding: $space-m $space-m;
9
+ padding: $space-12 $space-12;
10
10
  }
11
11
 
12
12
  &__row {
@@ -16,7 +16,7 @@
16
16
  &__tile {
17
17
  box-shadow: rgb(0 0 0 / 10%) 0 1px 3px 0;
18
18
  display: block;
19
- height: $space-xl;
19
+ height: $space-20;
20
20
  width: 100%;
21
21
  }
22
22
 
@@ -1,13 +1,16 @@
1
- $space-5xs: 2px;
2
- $space-4xs: 4px;
3
- $space-3xs: 6px;
4
- $space-2xs: 8px;
5
- $space-xs: 12px;
6
- $space-s: 16px;
7
- $space-m: 24px;
8
- $space-l: 32px;
9
- $space-xl: 40px;
10
- $space-2xl: 56px;
1
+ $space-base: 2px;
2
+ $space-1: $space-base * 1;
3
+ $space-2: $space-base * 2;
4
+ $space-3: $space-base * 3;
5
+ $space-4: $space-base * 4;
6
+ $space-5: $space-base * 5;
7
+ $space-6: $space-base * 6;
8
+ $space-8: $space-base * 8;
9
+ $space-10: $space-base * 10;
10
+ $space-12: $space-base * 12;
11
+ $space-16: $space-base * 16;
12
+ $space-20: $space-base * 20;
13
+ $space-28: $space-base * 28;
11
14
 
12
15
  // deprecated
13
16
  $DEPRECATED-space-3xl: 64px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bethinkpl/design-system",
3
- "version": "36.2.0",
3
+ "version": "37.0.2",
4
4
  "description": "Bethink universe design-system",
5
5
  "repository": {
6
6
  "type": "git",