@volverjs/style 0.1.12-beta.13 → 0.1.12-beta.15

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
@@ -24,7 +24,7 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/volverjs/style/issues"
26
26
  },
27
- "version": "0.1.12-beta.13",
27
+ "version": "0.1.12-beta.15",
28
28
  "engines": {
29
29
  "node": ">= 12.x"
30
30
  },
@@ -38,19 +38,19 @@
38
38
  ],
39
39
  "devDependencies": {
40
40
  "@iconify/vue": "^4.1.1",
41
- "@vitejs/plugin-vue": "^4.4.0",
42
- "@vueuse/core": "^10.4.1",
41
+ "@vitejs/plugin-vue": "^5.0.0",
42
+ "@vueuse/core": "^10.7.1",
43
43
  "@vueuse/head": "^2.0.0",
44
- "eslint": "^8.50.0",
45
- "eslint-config-prettier": "^9.0.0",
46
- "eslint-plugin-vue": "^9.17.0",
44
+ "eslint": "^8.56.0",
45
+ "eslint-config-prettier": "^9.1.0",
46
+ "eslint-plugin-vue": "^9.19.2",
47
47
  "glob": "^10.3.10",
48
48
  "icss-utils": "^5.1.0",
49
49
  "markdown-it-anchor": "^8.6.7",
50
50
  "markdown-it-prism": "^2.3.0",
51
- "postcss": "^8.4.31",
51
+ "postcss": "^8.4.32",
52
52
  "postcss-html": "^1.5.0",
53
- "postcss-preset-env": "^9.1.4",
53
+ "postcss-preset-env": "^9.3.0",
54
54
  "prism-themes": "^1.9.0",
55
55
  "prismjs": "^1.29.0",
56
56
  "reduce-css-calc": "^2.1.8",
@@ -58,25 +58,24 @@
58
58
  "remark-frontmatter": "^5.0.0",
59
59
  "remark-gfm": "^4.0.0",
60
60
  "remark-lint": "^9.1.2",
61
- "sass": "^1.68.0",
62
- "stylelint": "^15.10.3",
63
- "stylelint-config-prettier": "^9.0.5",
64
- "stylelint-config-recommended-scss": "^13.0.0",
61
+ "sass": "^1.69.6",
62
+ "stylelint": "^16.1.0",
63
+ "stylelint-config-recommended-scss": "^14.0.0",
65
64
  "stylelint-config-recommended-vue": "^1.5.0",
66
- "stylelint-config-standard-scss": "^11.0.0",
67
- "unplugin-auto-import": "^0.16.6",
68
- "unplugin-vue-components": "^0.25.2",
69
- "vite": "^4.4.11",
65
+ "stylelint-config-standard-scss": "^12.0.0",
66
+ "unplugin-auto-import": "^0.17.3",
67
+ "unplugin-vue-components": "^0.26.0",
68
+ "vite": "^5.0.10",
70
69
  "vite-plugin-css-export": "^2.0.0",
71
70
  "vite-plugin-eslint": "^1.8.1",
72
71
  "vite-plugin-handlebars": "^1.6.0",
73
72
  "vite-plugin-markdown": "^2.1.0",
74
- "vite-plugin-pages": "^0.31.0",
75
- "vite-plugin-stylelint": "^5.1.1",
76
- "vite-plugin-vue-layouts": "^0.8.0",
77
- "vite-ssg": "^0.23.3",
78
- "vite-ssg-sitemap": "^0.6.0",
79
- "vue": "^3.3.4",
73
+ "vite-plugin-pages": "^0.32.0",
74
+ "vite-plugin-stylelint": "^5.3.1",
75
+ "vite-plugin-vue-layouts": "^0.11.0",
76
+ "vite-ssg": "^0.23.6",
77
+ "vite-ssg-sitemap": "^0.6.1",
78
+ "vue": "^3.4.0",
80
79
  "vue-live": "^2.5.4",
81
80
  "vue-router": "^4.2.5"
82
81
  },
@@ -232,6 +231,7 @@
232
231
  "dev": "vite --port 3000 --open",
233
232
  "build": "node ./scripts/build.js",
234
233
  "design-tokens": "node ./scripts/generateDesignTokens.js",
235
- "styleguide": "vite-ssg build"
234
+ "styleguide": "vite-ssg build",
235
+ "preview": "vite preview"
236
236
  }
237
237
  }
package/src/export.scss CHANGED
@@ -233,6 +233,7 @@
233
233
  @each $size, $value in $spacing {
234
234
  spacing__#{$size}: $value;
235
235
  }
236
+
236
237
  @each $size, $value in $spacing-dynamic {
237
238
  @if type-of($value) == 'map' {
238
239
  @each $subKey, $subValue in $value {
@@ -247,6 +248,7 @@
247
248
  @each $size, $value in $font-size {
248
249
  font-size__#{$size}: $value;
249
250
  }
251
+
250
252
  @each $size, $value in $font-size-dynamic {
251
253
  @if type-of($value) == 'map' {
252
254
  @each $subKey, $subValue in $value {
@@ -64,7 +64,7 @@ $vv-alert: (
64
64
  left: 50%,
65
65
  background-color: var(--color-gray),
66
66
  [animation]: pie-masks var(--alert-duration) steps(1, end) reverse,
67
- z-index: 1,
67
+ z-index: var(--z-1),
68
68
  ),
69
69
  ),
70
70
  modifier: (
@@ -175,6 +175,12 @@ $vv-input-file: (
175
175
  ),
176
176
  ),
177
177
  ),
178
+ drop-area-action: (
179
+ position: absolute,
180
+ top: var(--spacing-8),
181
+ right: var(--spacing-8),
182
+ z-index: var(--z-1),
183
+ ),
178
184
  preview: (
179
185
  position: absolute,
180
186
  display: flex,
@@ -193,7 +199,7 @@ $vv-input-file: (
193
199
  height: var(--border-2),
194
200
  bottom: 0,
195
201
  left: 0,
196
- z-index: 1,
202
+ z-index: var(--z-1),
197
203
  pseudo: (
198
204
  -webkit-progress-bar: (
199
205
  background-color: transparent,
@@ -228,6 +234,11 @@ $vv-input-file: (
228
234
  gap: var(--spacing-8),
229
235
  background-color: var(--input-background-color),
230
236
  padding: var(--spacing-8),
237
+ state: (
238
+ active: (
239
+ background-color: var(--color-surface-2),
240
+ ),
241
+ ),
231
242
  ),
232
243
  item-name: (
233
244
  white-space: nowrap,
@@ -241,14 +252,22 @@ $vv-input-file: (
241
252
  align-self: flex-end,
242
253
  ),
243
254
  item-link: (
255
+ white-space: nowrap,
256
+ text-overflow: ellipsis,
257
+ overflow: hidden,
244
258
  cursor: pointer,
245
259
  text-decoration: underline,
246
260
  ),
247
261
  item-icon: (
248
262
  flex-shrink: 0,
249
263
  ),
264
+ item-action: (
265
+ flex-shrink: 0,
266
+ cursor: pointer,
267
+ ),
250
268
  item-remove: (
251
269
  flex-shrink: 0,
270
+ cursor: pointer,
252
271
  background-image: var(--bg-close),
253
272
  width: 1.4em,
254
273
  height: 1.4em,
@@ -258,7 +277,6 @@ $vv-input-file: (
258
277
  border-radius: var(--rounded-full),
259
278
  background-color: var(--color-surface-3),
260
279
  margin-inline-start: auto,
261
- cursor: pointer,
262
280
  transition: var(--transition-colors),
263
281
  state: (
264
282
  hover: (
@@ -305,7 +305,7 @@ $vv-input-text: (
305
305
  ),
306
306
  label: (
307
307
  position: absolute,
308
- z-index: 1,
308
+ z-index: var(--z-1),
309
309
  min-height: var(--input-min-height),
310
310
  line-height: var(--input-min-height),
311
311
  pointer-events: none,
@@ -257,7 +257,7 @@ $vv-select: (
257
257
  ),
258
258
  label: (
259
259
  position: absolute,
260
- z-index: 1,
260
+ z-index: var(--z-1),
261
261
  min-height: var(--input-min-height),
262
262
  line-height: var(--input-min-height),
263
263
  pointer-events: none,
@@ -225,7 +225,7 @@ $vv-textarea: (
225
225
  ),
226
226
  label: (
227
227
  position: absolute,
228
- z-index: 1,
228
+ z-index: var(--z-1),
229
229
  min-height: var(--input-min-height),
230
230
  line-height: var(--input-min-height),
231
231
  pointer-events: none,
@@ -63,7 +63,6 @@
63
63
  $attribute: display,
64
64
  $zero-specificity: $zero-specificity-for-utilities
65
65
  );
66
-
67
66
  @include spread-map-into-utilities(
68
67
  $map: $display-with-breakpoints,
69
68
  $attribute: display,
@@ -135,9 +134,11 @@
135
134
  $value in map.merge($placement, map.merge($spacing, $spacing-dynamic))
136
135
  {
137
136
  $var: $value;
137
+
138
138
  @if not map-has-key($placement, $size) {
139
139
  // check if value is not a map (spacing-dynamic)
140
140
  $var: var(--spacing-#{$size});
141
+
141
142
  @if type-of($value) != 'map' {
142
143
  $var: var(--spacing-#{$size}, #{$value});
143
144
  }
@@ -147,6 +148,7 @@
147
148
  %inset-#{$size} {
148
149
  inset: #{$var};
149
150
  }
151
+
150
152
  @include wrap-with-where(
151
153
  $selector: '.inset-#{$size}',
152
154
  $enabled: $zero-specificity-for-utilities
@@ -158,6 +160,7 @@
158
160
  %inset-x-#{$size} {
159
161
  inset-inline: #{$var};
160
162
  }
163
+
161
164
  @include wrap-with-where(
162
165
  $selector: '.inset-x-#{$size}',
163
166
  $enabled: $zero-specificity-for-utilities
@@ -169,6 +172,7 @@
169
172
  %inset-y-#{$size} {
170
173
  inset-block: #{$var};
171
174
  }
175
+
172
176
  @include wrap-with-where(
173
177
  $selector: '.inset-y-#{$size}',
174
178
  $enabled: $zero-specificity-for-utilities
@@ -181,6 +185,7 @@
181
185
  %#{$direction}-#{$size} {
182
186
  #{$direction}: #{$var};
183
187
  }
188
+
184
189
  @include wrap-with-where(
185
190
  $selector: '.#{$direction}-#{$size}',
186
191
  $enabled: $zero-specificity-for-utilities