@exakt/ui 0.0.32 → 0.0.34

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/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "exakt-ui",
3
3
  "configKey": "exakt",
4
- "version": "0.0.32"
4
+ "version": "0.0.34"
5
5
  }
package/dist/module.mjs CHANGED
@@ -5,7 +5,7 @@ const defaults = {
5
5
  colors: {
6
6
  primary: "#008dff",
7
7
  dark: "#212121",
8
- light: "#f5f5f5",
8
+ light: "#ffffff",
9
9
  red: "#f44336",
10
10
  blue: "#2196f3"
11
11
  },
@@ -37,9 +37,11 @@
37
37
  </div>
38
38
  <span
39
39
  class="actual-content d-flex"
40
- :class="{fullwidth: props.justify == 'space-between'}"
41
- :style="{justifyContent:
42
- justify, alignContent: props.align, alignItems: props.align}"
40
+ :class="{ fullwidth: props.justify == 'space-between' }"
41
+ :style="{
42
+ justifyContent:
43
+ justify, alignContent: props.align, alignItems: props.align
44
+ }"
43
45
  >
44
46
  <slot />
45
47
  </span>
@@ -113,7 +115,9 @@ const textColor = computed(() => {
113
115
  if (props.color) {
114
116
  return props.color;
115
117
  }
116
-
118
+ if (props.background == 'transparent') {
119
+ return 'var(--e-color-dark)'
120
+ }
117
121
  const rgb = backgroundColorRgb.value;
118
122
 
119
123
  const brightness = Math.round(
@@ -177,10 +181,12 @@ const hoverColor = computed(() => {
177
181
  box-sizing: border-box;
178
182
 
179
183
  border: transparent solid 0.1rem;
184
+
180
185
  &:focus-visible {
181
186
  transition: border-width 0.2s;
182
187
  border: var(--e-color-dark) solid 0.1rem;
183
188
  }
189
+
184
190
  &.loading {
185
191
  pointer-events: none;
186
192
 
@@ -29,13 +29,13 @@ const emit = defineEmits(["update:modelValue"]);
29
29
  //background-color: red;
30
30
 
31
31
  &.opaque-on-desktop {
32
- background-color: rgba(var(--e-color-light-rgb), 0.5);
32
+ background-color: rgba(var(--e-color-light-rgb), 0.7);
33
33
  }
34
34
  }
35
35
 
36
36
  @media screen and (max-width: $e-md-screen-breakpoint) {
37
37
  .focus-sheet {
38
- background-color: rgba(var(--e-color-light-rgb), 0.5);
38
+ background-color: rgba(var(--e-color-light-rgb), 0.7);
39
39
  }
40
40
  }
41
41
  </style>
@@ -11,14 +11,17 @@ $directions: (
11
11
  margin-#{$direction}: #{0.2rem * $i};
12
12
  }
13
13
  }
14
+
14
15
  .my-#{$i} {
15
16
  margin-top: #{0.2rem * $i};
16
17
  margin-bottom: #{0.2rem * $i};
17
18
  }
19
+
18
20
  .mx-#{$i} {
19
21
  margin-left: #{0.2rem * $i};
20
22
  margin-right: #{0.2rem * $i};
21
23
  }
24
+
22
25
  .ma-#{$i} {
23
26
  margin: #{0.2rem * $i} !important;
24
27
  }
@@ -28,14 +31,17 @@ $directions: (
28
31
  padding-#{$direction}: #{0.2rem * $i};
29
32
  }
30
33
  }
34
+
31
35
  .py-#{$i} {
32
36
  padding-top: #{0.2rem * $i};
33
37
  padding-bottom: #{0.2rem * $i};
34
38
  }
39
+
35
40
  .px-#{$i} {
36
41
  padding-left: #{0.2rem * $i};
37
42
  padding-right: #{0.2rem * $i};
38
43
  }
44
+
39
45
  .pa-#{$i} {
40
46
  padding: #{0.2rem * $i} !important;
41
47
  }
@@ -96,6 +102,13 @@ $directions: (
96
102
  align-items: center;
97
103
  }
98
104
 
105
+ .flex-align-center {
106
+ display: flex;
107
+ align-items: center;
108
+ align-content: center;
109
+
110
+ }
111
+
99
112
  .justify-space-between {
100
113
  justify-content: space-between;
101
114
  }
@@ -153,10 +166,12 @@ body {
153
166
  .text-center {
154
167
  text-align: center;
155
168
  }
156
- .text-secondary{
169
+
170
+ .text-secondary {
157
171
  opacity: 0.8;
158
172
  font-size: small;
159
173
  }
174
+
160
175
  .e-blur {
161
176
  background-color: rgba(0, 0, 0, 0.9);
162
177
  }
@@ -169,8 +184,9 @@ body {
169
184
  }
170
185
 
171
186
  .e-disabled {
172
- opacity: 0.7;
187
+ opacity: 0.5;
173
188
  pointer-events: none;
189
+ cursor: not-allowed !important;
174
190
  }
175
191
 
176
192
  router-link,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exakt/ui",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "A UI library for Nuxt.js",
5
5
  "license": "MIT",
6
6
  "type": "module",