@volverjs/style 0.1.2-beta.23 → 0.1.2-beta.24

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": "@volverjs/style",
3
- "version": "0.1.2-beta.23",
3
+ "version": "0.1.2-beta.24",
4
4
  "description": "@volverjs/style is a lightweight responsive CSS utility library to accompany @volverjs/ui and static webpages as well.",
5
5
  "main": "dist/style.css",
6
6
  "style": "dist/style.css",
@@ -155,11 +155,11 @@
155
155
  "devDependencies": {
156
156
  "@iconify/vue": "^4.0.0",
157
157
  "@vitejs/plugin-vue": "^3.2.0",
158
- "@vueuse/core": "^9.5.0",
159
- "@vueuse/head": "^1.0.10",
160
- "eslint": "^8.27.0",
158
+ "@vueuse/core": "^9.6.0",
159
+ "@vueuse/head": "^1.0.18",
160
+ "eslint": "^8.28.0",
161
161
  "eslint-config-prettier": "^8.5.0",
162
- "eslint-plugin-vue": "^9.7.0",
162
+ "eslint-plugin-vue": "^9.8.0",
163
163
  "glob": "^8.0.3",
164
164
  "icss-utils": "^5.1.0",
165
165
  "markdown-it-anchor": "^8.6.5",
@@ -175,20 +175,20 @@
175
175
  "stylelint-config-recommended-scss": "^8.0.0",
176
176
  "stylelint-config-recommended-vue": "^1.4.0",
177
177
  "stylelint-config-standard-scss": "^6.1.0",
178
- "unplugin-auto-import": "^0.11.4",
179
- "unplugin-vue-components": "^0.22.9",
180
- "vite": "^3.2.3",
181
- "vite-plugin-css-export": "^1.1.0",
178
+ "unplugin-auto-import": "^0.11.5",
179
+ "unplugin-vue-components": "^0.22.11",
180
+ "vite": "^3.2.4",
181
+ "vite-plugin-css-export": "^1.2.0",
182
182
  "vite-plugin-eslint": "^1.8.1",
183
183
  "vite-plugin-handlebars": "^1.6.0",
184
184
  "vite-plugin-markdown": "^2.1.0",
185
185
  "vite-plugin-pages": "^0.27.1",
186
- "vite-plugin-stylelint": "^3.0.8",
186
+ "vite-plugin-stylelint": "^3.0.9",
187
187
  "vite-plugin-vue-layouts": "^0.7.0",
188
- "vite-ssg": "^0.21.2",
188
+ "vite-ssg": "^0.22.0",
189
189
  "vite-ssg-sitemap": "^0.4.3",
190
190
  "vue": "^3.2.45",
191
- "vue-live": "^2.1.0",
191
+ "vue-live": "2.1.0",
192
192
  "vue-router": "^4.1.6"
193
193
  },
194
194
  "scripts": {
@@ -10,7 +10,6 @@ $vv-badge: (
10
10
  [border-color]: var(--badge-background-color),
11
11
  border-style: solid,
12
12
  border-radius: 0.5em,
13
- line-height: 2em,
14
13
  min-height: 2em,
15
14
  min-width: 2em,
16
15
  padding: 0 0.5em,
@@ -50,11 +49,19 @@ $vv-badge: (
50
49
  [color]: var(--badge-background-color),
51
50
  ),
52
51
  white: (
53
- --badge-background-color: alpha-color('white', 80%),
52
+ --badge-background-color:
53
+ hsla(
54
+ var(--color-white-hue) var(--color-white-saturation)
55
+ var(--color-white-lightness) / 80%
56
+ ),
54
57
  --badge-color: var(--color-black),
55
58
  ),
56
59
  black: (
57
- --badge-background-color: alpha-color('black', 80%),
60
+ --badge-background-color:
61
+ hsla(
62
+ var(--color-black-hue) var(--color-black-saturation)
63
+ var(--color-black-lightness) / 80%
64
+ ),
58
65
  --badge-color: var(--color-white),
59
66
  ),
60
67
  danger: (
@@ -1,16 +1,17 @@
1
1
  $vv-button: (
2
2
  --button-border-width: var(--border-2),
3
+ --button-line-height: var(--leading-normal),
4
+ [border-width]: var(--button-border-width),
5
+ [line-height]: var(--button-line-height),
3
6
  position: relative,
4
7
  background: var(--color-brand),
5
8
  border-radius: 0.5ch,
6
- [border-width]: var(--button-border-width),
7
9
  border-style: solid,
8
10
  border-color: var(--color-brand),
9
11
  color: var(--color-white),
10
12
  font-family: var(--font-sans),
11
13
  font-weight: var(--font-semibold),
12
14
  gap: 1ch,
13
- line-height: var(--leading-normal),
14
15
  padding-block: 0.75ch,
15
16
  padding-inline: 1.75ch,
16
17
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
@@ -51,6 +52,7 @@ $vv-button: (
51
52
  flex-shrink: 0,
52
53
  stroke-linecap: round,
53
54
  stroke-linejoin: round,
55
+ [min-height]: calc(var(--button-line-height) * 1em),
54
56
  ),
55
57
  label: (
56
58
  white-space: nowrap,
@@ -99,7 +101,7 @@ $vv-button: (
99
101
  background: var(--color-gray-lighten-3),
100
102
  ),
101
103
  selected: (
102
- background: var(--color-gray-lighten-3),
104
+ background: var(--color-gray-lighten-4),
103
105
  ),
104
106
  ),
105
107
  ),
@@ -216,14 +218,14 @@ $vv-button: (
216
218
  ),
217
219
  action: (
218
220
  --button-border-width: var(--border),
219
- font-size: 0.875em,
221
+ --button-line-height: var(--leading-snug),
222
+ font-size: var(--text-14),
220
223
  background: var(--color-surface-1),
221
224
  color: var(--color-word-1),
222
225
  border-color: var(--color-word-5),
223
226
  font-weight: var(--font-normal),
224
227
  padding-inline: 0.75ch,
225
228
  padding-block: 0.5ch,
226
- line-height: var(--leading-snug),
227
229
  text-shadow: none,
228
230
  state: (
229
231
  focus-visible: (
@@ -251,6 +253,7 @@ $vv-button: (
251
253
  ),
252
254
  action-quiet: (
253
255
  --button-border-width: var(--border),
256
+ --button-line-height: var(--leading-snug),
254
257
  font-size: var(--text-14),
255
258
  background: transparent,
256
259
  color: var(--color-word-1),
@@ -258,7 +261,6 @@ $vv-button: (
258
261
  font-weight: var(--font-normal),
259
262
  padding-inline: 0.75ch,
260
263
  padding-block: 0.5ch,
261
- line-height: var(--leading-snug),
262
264
  text-shadow: none,
263
265
  state: (
264
266
  focus-visible: (
@@ -67,6 +67,7 @@ $vv-input-text: (
67
67
  [padding]: var(--input-padding-top) var(--input-padding-right)
68
68
  var(--input-padding-bottom) var(--input-padding-left),
69
69
  min-height: var(--input-min-height),
70
+ min-width: 0,
70
71
  pseudo: (
71
72
  placeholder: (
72
73
  color: var(--input-placeholder-color),
@@ -79,7 +80,11 @@ $vv-input-text: (
79
80
  opacity: 0,
80
81
  ),
81
82
  search-cancel-button: (
82
- display: none,
83
+ position: absolute,
84
+ padding: var(--spacing-sm),
85
+ top: 0,
86
+ right: 0,
87
+ opacity: 0,
83
88
  ),
84
89
  color-swatch: (
85
90
  height: var(--spacing-20),
@@ -91,6 +96,12 @@ $vv-input-text: (
91
96
  inner-spin-button: (
92
97
  display: none,
93
98
  ),
99
+ datetime-edit-fields-wrapper: (
100
+ padding: 0,
101
+ ),
102
+ datetime-edit-day-field: (
103
+ padding: 0,
104
+ ),
94
105
  ),
95
106
  state: (
96
107
  disabled: (
@@ -13,7 +13,6 @@ $vv-nav: (
13
13
  _alias: 'li',
14
14
  ),
15
15
  heading-label: (
16
- _alias: '[aria-hidden="true"]',
17
16
  display: block,
18
17
  font-weight: var(--font-semibold),
19
18
  [padding]: var(--nav-item-padding),
@@ -4,6 +4,10 @@ $vv-table: (
4
4
  border-collapse: collapse,
5
5
  border-color: var(--color-surface-5),
6
6
  element: (
7
+ caption: (
8
+ _alias: 'caption',
9
+ caption-side: bottom,
10
+ ),
7
11
  tr: (
8
12
  _alias: 'tr',
9
13
  border-width: 0 0 1px 0,
@@ -24,12 +28,14 @@ $vv-table: (
24
28
  font-weight: semibold,
25
29
  font-size: var(--text-sm),
26
30
  color: var(--color-word-2),
31
+ vertical-align: middle,
27
32
  [padding]: var(--table-cell-padding),
28
33
  ),
29
34
  td: (
30
35
  _alias: 'td',
31
36
  border-style: solid,
32
37
  font-size: var(--text-xs),
38
+ vertical-align: middle,
33
39
  [padding]: var(--table-cell-padding),
34
40
  ),
35
41
  ),
@@ -93,7 +93,6 @@ $vv-toast: (
93
93
  [animation]: pie-masks var(--toast-pie-animation-duration)
94
94
  steps(1, end) reverse,
95
95
  z-index: 1,
96
- opactiy: 1,
97
96
  ),
98
97
  ),
99
98
  modifier: (
@@ -137,6 +137,10 @@
137
137
  $default: $key;
138
138
  }
139
139
 
140
+ @if type-of($default) == 'string' {
141
+ $default: string.unquote($default);
142
+ }
143
+
140
144
  %#{$prefix}#{$class-name} {
141
145
  @include media-breakpoint-up($breakpoint, $bps) {
142
146
  @if type-of($attribute) != 'list' {
@@ -648,7 +652,9 @@
648
652
  outer-spin-button,
649
653
  progress-bar,
650
654
  progress-value,
651
- progress-inner-element
655
+ progress-inner-element,
656
+ datetime-edit-fields-wrapper,
657
+ datetime-edit-day-field
652
658
  ),
653
659
  $pseudo-element
654
660
  )
@@ -711,6 +717,8 @@
711
717
  progress-value,
712
718
  inner-element,
713
719
  marker,
720
+ datetime-edit-fields-wrapper,
721
+ datetime-edit-day-field,
714
722
  -webkit-progress-bar,
715
723
  -webkit-progress-value,
716
724
  -webkit-inner-element,