@ditojs/ui 2.31.0 → 2.32.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/ui",
3
- "version": "2.31.0",
3
+ "version": "2.32.2",
4
4
  "type": "module",
5
5
  "description": "Dito.js UI is a simple UI library, built with Vue.js for use in Dito.js Admin and elsewhere",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/ui",
@@ -39,16 +39,16 @@
39
39
  "ie_mob >= 11"
40
40
  ],
41
41
  "dependencies": {
42
- "@ditojs/utils": "^2.31.0",
42
+ "@ditojs/utils": "^2.32.2",
43
43
  "@soda/get-current-script": "^1.0.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@ditojs/build": "^2.31.0",
47
- "@vitejs/plugin-vue": "^5.0.4",
48
- "@vue/compiler-sfc": "3.4.25",
49
- "pug": "^3.0.2",
50
- "sass": "1.75.0",
51
- "vite": "^5.2.10"
46
+ "@ditojs/build": "^2.32.2",
47
+ "@vitejs/plugin-vue": "^5.1.4",
48
+ "@vue/compiler-sfc": "^3.5.6",
49
+ "pug": "^3.0.3",
50
+ "sass": "^1.78.0",
51
+ "vite": "^5.4.6"
52
52
  },
53
- "gitHead": "65ab50e5cf1ca68cc7383963f16a8b73aa60a2ae"
53
+ "gitHead": "e39e6be34ced2fea17083c0d8a2cb90d41aaf435"
54
54
  }
@@ -193,6 +193,12 @@ export default {
193
193
 
194
194
  &-ellipsis-prev,
195
195
  &-ellipsis-next {
196
+ background: none;
197
+ border: 0;
198
+ padding: 0;
199
+ margin: 0;
200
+ color: $color-text;
201
+
196
202
  &::before {
197
203
  @extend %icon-ellipsis;
198
204
  }
@@ -201,12 +207,6 @@ export default {
201
207
  @extend %icon-chevrons;
202
208
  }
203
209
 
204
- background: none;
205
- border: 0;
206
- padding: 0;
207
- margin: 0;
208
- color: $color-text;
209
-
210
210
  &:focus {
211
211
  color: $color-active;
212
212
  }
@@ -2,5 +2,5 @@
2
2
 
3
3
  @function rounded($value, $precision: 1) {
4
4
  $pow10: math.pow(10, $precision);
5
- @return calc(round($value * $pow10) / $pow10);
5
+ @return calc(math.round($value * $pow10) / $pow10);
6
6
  }
@@ -1,5 +1,6 @@
1
1
  @use 'sass:list';
2
2
  @use 'sass:map';
3
+ @use 'sass:meta';
3
4
  @use 'sass:string';
4
5
  @use 'sass:selector';
5
6
 
@@ -7,7 +8,7 @@
7
8
  // The `browser-query()` mixin works in conjunction with the `data-agent-*`
8
9
  // attributes on `.dito-root`. It creates a CSS query for each provided
9
10
  // browser and matches against it to target that provided browser.
10
- @if type-of($browsers) != 'list' {
11
+ @if meta.type-of($browsers) != 'list' {
11
12
  // Convert `$browsers` to a list, so that we don't accidentally iterate over
12
13
  // the properties of maps further down in `@each`.
13
14
  // TODO: Switch to `$browsers: [$browsers]` once we switched to stylelint
@@ -19,7 +20,7 @@
19
20
  $browser: null;
20
21
  $platform: null;
21
22
  $version: null;
22
- @if type-of($entry) == 'map' {
23
+ @if meta.type-of($entry) == 'map' {
23
24
  $browser: map.get($entry, 'browser');
24
25
  $platform: map.get($entry, 'platform');
25
26
  $version: map.get($entry, 'version');