@volverjs/style 0.1.12-beta.8 → 0.1.12-beta.9

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.8",
27
+ "version": "0.1.12-beta.9",
28
28
  "engines": {
29
29
  "node": ">= 12.x"
30
30
  },
@@ -41,24 +41,24 @@
41
41
  "@vitejs/plugin-vue": "^4.3.4",
42
42
  "@vueuse/core": "^10.4.1",
43
43
  "@vueuse/head": "^2.0.0",
44
- "eslint": "^8.49.0",
44
+ "eslint": "^8.50.0",
45
45
  "eslint-config-prettier": "^9.0.0",
46
46
  "eslint-plugin-vue": "^9.17.0",
47
- "glob": "^10.3.4",
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.29",
51
+ "postcss": "^8.4.30",
52
52
  "postcss-html": "^1.5.0",
53
- "postcss-preset-env": "^9.1.3",
53
+ "postcss-preset-env": "^9.1.4",
54
54
  "prism-themes": "^1.9.0",
55
55
  "prismjs": "^1.29.0",
56
56
  "reduce-css-calc": "^2.1.8",
57
- "remark": "^14.0.3",
58
- "remark-frontmatter": "^4.0.1",
59
- "remark-gfm": "^3.0.1",
57
+ "remark": "^15.0.1",
58
+ "remark-frontmatter": "^5.0.0",
59
+ "remark-gfm": "^4.0.0",
60
60
  "remark-lint": "^9.1.2",
61
- "sass": "^1.66.1",
61
+ "sass": "^1.68.0",
62
62
  "stylelint": "^15.10.3",
63
63
  "stylelint-config-prettier": "^9.0.5",
64
64
  "stylelint-config-recommended-scss": "^13.0.0",
@@ -74,11 +74,11 @@
74
74
  "vite-plugin-pages": "^0.31.0",
75
75
  "vite-plugin-stylelint": "^5.1.1",
76
76
  "vite-plugin-vue-layouts": "^0.8.0",
77
- "vite-ssg": "^0.23.1",
77
+ "vite-ssg": "^0.23.3",
78
78
  "vite-ssg-sitemap": "^0.5.1",
79
79
  "vue": "^3.3.4",
80
80
  "vue-live": "^2.5.4",
81
- "vue-router": "^4.2.4"
81
+ "vue-router": "^4.2.5"
82
82
  },
83
83
  "exports": {
84
84
  ".": "./dist/volver.css",
@@ -57,6 +57,10 @@
57
57
  @extend %list-decimal !optional;
58
58
  }
59
59
 
60
+ &:where(li > p) {
61
+ @extend %inline-block !optional;
62
+ }
63
+
60
64
  &:where(b, strong, th) {
61
65
  @extend %font-bold !optional;
62
66
  }
@@ -217,6 +221,7 @@
217
221
  // table
218
222
  &:where(table) {
219
223
  @extend %vv-table !optional;
224
+ @extend %vv-table--bordered !optional;
220
225
 
221
226
  :where(tr) {
222
227
  @extend %vv-table__tr !optional;
@@ -224,10 +229,16 @@
224
229
 
225
230
  :where(td) {
226
231
  @extend %vv-table__td !optional;
232
+ @extend %vv-table-modifier-bordered__td !optional;
227
233
  }
228
234
 
229
235
  :where(th) {
230
236
  @extend %vv-table__th !optional;
237
+ @extend %vv-table-modifier-bordered__th !optional;
238
+ }
239
+
240
+ :where(caption) {
241
+ @extend %vv-table__caption !optional;
231
242
  }
232
243
  }
233
244
 
@@ -11,10 +11,10 @@ $input: (
11
11
  line-height: var(--leading-normal),
12
12
  min-height: var(--spacing-52),
13
13
  min-width: 0,
14
+ spacing-top: var(--spacing-sm),
15
+ spacing-right: var(--spacing-sm),
14
16
  spacing-bottom: var(--spacing-sm),
15
17
  spacing-left: var(--spacing-sm),
16
- spacing-right: var(--spacing-sm),
17
- spacing-top: var(--spacing-sm),
18
18
  text-overflow: ellipsis,
19
19
  label: (
20
20
  color: var(--color-word-2),
@@ -18,7 +18,7 @@ $vv-nav: (
18
18
  [padding]: var(--nav-item-padding),
19
19
  ),
20
20
  item-label: (
21
- _alias: 'li > a',
21
+ _alias: 'li > :is(a, button)',
22
22
  display: flex,
23
23
  align-items: center,
24
24
  will-change: background-color color,
@@ -29,6 +29,10 @@ $vv-table: (
29
29
  ),
30
30
  ),
31
31
  ),
32
+ tfoot-tr: (
33
+ _alias: 'tfoot > tr',
34
+ border-width: 1px 0 0 0,
35
+ ),
32
36
  th: (
33
37
  _alias: 'th',
34
38
  font-weight: var(--font-semibold),
@@ -48,7 +52,21 @@ $vv-table: (
48
52
  modifier: (
49
53
  inline-spacing: (
50
54
  --table-cell-padding: var(--spacing-md),
51
- border-width: 0,
55
+ ),
56
+ bordered: (
57
+ --table-cell-padding: var(--spacing-md),
58
+ element: (
59
+ th: (
60
+ border-width: 1px,
61
+ border-style: solid,
62
+ border-color: var(--color-surface-5),
63
+ ),
64
+ td: (
65
+ border-width: 1px,
66
+ border-style: solid,
67
+ border-color: var(--color-surface-5),
68
+ ),
69
+ ),
52
70
  ),
53
71
  ),
54
72
  ) !default;