@politicalwatch/tipi-uikit 1.11.0 → 1.11.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 (39) hide show
  1. package/.stylelintrc.json +15 -0
  2. package/eslint.config.js +16 -0
  3. package/package.json +18 -15
  4. package/src/components/Charts/d3.chart.js +1 -1
  5. package/src/components/Charts/d3.chart.vue +1 -1
  6. package/src/components/Charts/styles.scss +3 -2
  7. package/src/components/Deputy/Deputy.vue +3 -3
  8. package/src/components/Loader/Loader.vue +2 -2
  9. package/src/components/Navbar/Navbar.vue +3 -3
  10. package/src/components/PartyLogo/PartyLogo.vue +0 -1
  11. package/src/components/PartyLogo/PartyLogoIcon.vue +0 -1
  12. package/src/components/TipiCharts/TipiBarchart.vue +9 -0
  13. package/src/styles/01_settings/_settings__breakpoints.scss +0 -4
  14. package/src/styles/01_settings/_settings__colors.scss +0 -2
  15. package/src/styles/01_settings/_settings__fonts.scss +1 -1
  16. package/src/styles/01_settings/_settings__variables.scss +2 -9
  17. package/src/styles/02_tools/_tools__mixins.scss +4 -5
  18. package/src/styles/03_generic/_generic__box-sizing.scss +0 -1
  19. package/src/styles/03_generic/_generic__normalize.scss +33 -5
  20. package/src/styles/04_base/_base__forms.scss +3 -4
  21. package/src/styles/04_base/_base__tables.scss +1 -5
  22. package/src/styles/05_objects/_objects__columns.scss +0 -1
  23. package/src/styles/05_objects/_objects__masonry.scss +0 -1
  24. package/src/styles/05_objects/_objects__media.scss +0 -1
  25. package/src/styles/06_components/_components__button.scss +0 -13
  26. package/src/styles/06_components/_components__forms.scss +1 -1
  27. package/src/styles/06_components/_components__initiative-card.scss +1 -1
  28. package/src/styles/06_components/_components__text.scss +1 -1
  29. package/src/styles/06_components/_components__topic-link.scss +0 -1
  30. package/src/styles/06_components/_components__topics.scss +1 -3
  31. package/src/styles/07_trumps/_trumps__borders.scss +1 -1
  32. package/src/styles/07_trumps/_trumps__colors.scss +3 -3
  33. package/src/styles/07_trumps/_trumps__helpers.scss +5 -5
  34. package/.eslintrc.js +0 -11
  35. package/.stylelintrc +0 -24
  36. package/dist/tipi-uikit.css +0 -2
  37. package/dist/tipi-uikit.es.js +0 -24390
  38. package/dist/tipi-uikit.umd.js +0 -155
  39. /package/{svgo.config.js → svgo.config.cjs} +0 -0
@@ -23,7 +23,6 @@
23
23
  text-decoration: none;
24
24
 
25
25
  .c-icon {
26
-
27
26
  path {
28
27
  fill: $primary;
29
28
  }
@@ -36,7 +35,6 @@
36
35
  pointer-events: none;
37
36
 
38
37
  .c-icon {
39
-
40
38
  path {
41
39
  fill: $secondary;
42
40
  }
@@ -54,7 +52,6 @@
54
52
  text-decoration: none;
55
53
 
56
54
  .c-icon {
57
-
58
55
  path {
59
56
  fill: $white;
60
57
  }
@@ -67,7 +64,6 @@
67
64
  background-color: $secondary-light;
68
65
 
69
66
  .c-icon {
70
-
71
67
  path {
72
68
  fill: $secondary;
73
69
  }
@@ -75,7 +71,6 @@
75
71
  }
76
72
 
77
73
  .c-icon {
78
-
79
74
  path {
80
75
  fill: $white;
81
76
  }
@@ -92,7 +87,6 @@
92
87
  text-decoration: none;
93
88
 
94
89
  .c-icon {
95
-
96
90
  path {
97
91
  fill: $secondary;
98
92
  }
@@ -105,7 +99,6 @@
105
99
  background-color: $secondary-light;
106
100
 
107
101
  .c-icon {
108
-
109
102
  path {
110
103
  fill: $secondary;
111
104
  }
@@ -126,7 +119,6 @@
126
119
  color: $white;
127
120
 
128
121
  .c-icon {
129
-
130
122
  path {
131
123
  fill: $white;
132
124
  }
@@ -138,7 +130,6 @@
138
130
  text-decoration: none;
139
131
 
140
132
  .c-icon {
141
-
142
133
  path {
143
134
  fill: $secondary-dark;
144
135
  }
@@ -151,7 +142,6 @@
151
142
  border-color: $secondary;
152
143
 
153
144
  .c-icon {
154
-
155
145
  path {
156
146
  fill: $secondary;
157
147
  }
@@ -160,16 +150,13 @@
160
150
  }
161
151
 
162
152
  &--icon {
163
-
164
153
  &-left {
165
-
166
154
  .c-icon {
167
155
  margin-right: rem($spacer-unit);
168
156
  }
169
157
  }
170
158
 
171
159
  &-right {
172
-
173
160
  .c-icon {
174
161
  margin-left: rem($spacer-unit);
175
162
  }
@@ -359,7 +359,7 @@
359
359
  margin: rem($spacer-unit) 0;
360
360
  }
361
361
 
362
- .cell.day:not(.blank):not(.disabled) {
362
+ .cell.day:not(.blank, .disabled) {
363
363
  @include overline;
364
364
 
365
365
  color: $secondary;
@@ -44,6 +44,6 @@
44
44
  }
45
45
 
46
46
  .c-initiative-meta {
47
- margin-bottom: 0px;
47
+ margin-bottom: 0;
48
48
  }
49
49
  }
@@ -5,7 +5,7 @@
5
5
  @include overline;
6
6
 
7
7
  color: $secondary;
8
- margin: 0 0 rem($spacer-unit) 0;
8
+ margin: 0 0 rem($spacer-unit);
9
9
  }
10
10
 
11
11
  &__value {
@@ -1,5 +1,4 @@
1
1
  .c-topic-link {
2
-
3
2
  &__image-link {
4
3
  display: flex;
5
4
  justify-content: center;
@@ -25,14 +25,13 @@
25
25
  @include overline;
26
26
 
27
27
  color: $secondary;
28
- margin: 0 0 rem($spacer-unit) 0;
28
+ margin: 0 0 rem($spacer-unit);
29
29
  }
30
30
 
31
31
  &--extended {
32
32
  display: block;
33
33
 
34
34
  .c-topics {
35
-
36
35
  &__list {
37
36
  margin-top: rem($spacer-unit * 2);
38
37
 
@@ -97,7 +96,6 @@
97
96
  padding: 0;
98
97
 
99
98
  li {
100
-
101
99
  &::before {
102
100
  display: none;
103
101
  }
@@ -1 +1 @@
1
- @include borders();
1
+ @include borders;
@@ -1,3 +1,3 @@
1
- @include background-colors();
2
- @include text-colors();
3
- @include fill-colors();
1
+ @include background-colors;
2
+ @include text-colors;
3
+ @include fill-colors;
@@ -1,4 +1,4 @@
1
- //Position and align
1
+ // Position and align
2
2
 
3
3
  .u-relative {
4
4
  position: relative !important;
@@ -9,9 +9,9 @@
9
9
  margin-right: auto !important;
10
10
  }
11
11
 
12
- @include text-aligns();
12
+ @include text-aligns;
13
13
 
14
14
  // Margin and sizes
15
- @include margins();
16
- @include paddings();
17
- @include percent-widths();
15
+ @include margins;
16
+ @include paddings;
17
+ @include percent-widths;
package/.eslintrc.js DELETED
@@ -1,11 +0,0 @@
1
- /* eslint-env node */
2
- require('@rushstack/eslint-patch/modern-module-resolution');
3
-
4
- module.exports = {
5
- root: true,
6
- extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/eslint-config-prettier', 'plugin:storybook/recommended'],
7
- rules: {
8
- 'no-console': import.meta.env.NODE_ENV === 'production' ? 'error' : 'off',
9
- 'no-debugger': import.meta.env.NODE_ENV === 'production' ? 'error' : 'off',
10
- },
11
- };
package/.stylelintrc DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "extends": "stylelint-config-standard",
3
- "rules": {
4
- "indentation": 2,
5
- "color-hex-case": "lower",
6
- "color-hex-length": "short",
7
- "color-named": "never",
8
- "selector-combinator-space-after": "always",
9
- "selector-attribute-operator-space-before": "never",
10
- "selector-attribute-operator-space-after": "never",
11
- "selector-attribute-brackets-space-inside": "never",
12
- "declaration-block-trailing-semicolon": "always",
13
- "declaration-no-important": true,
14
- "declaration-colon-space-before": "never",
15
- "declaration-colon-space-after": "always",
16
- "function-url-quotes": "always",
17
- "rule-empty-line-before": "always",
18
- "selector-pseudo-class-parentheses-space-inside": "never",
19
- "media-feature-parentheses-space-inside": "never",
20
- "media-feature-colon-space-before": "never",
21
- "media-feature-colon-space-after": "always",
22
- "at-rule-no-unknown": null
23
- }
24
- }