@empathyco/x-components 3.1.0-alpha.2 → 3.1.0-alpha.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.1.0-alpha.3](https://github.com/empathyco/x/compare/@empathyco/x-components@3.1.0-alpha.2...@empathyco/x-components@3.1.0-alpha.3) (2023-11-13)
7
+
8
+
9
+ ### Features
10
+
11
+ * migrate from `vue-cli` to `vite` (#1350) ([52a3b6e](https://github.com/empathyco/x/commit/52a3b6e7d94587f6934e838a2e68c99af97f7999))
12
+
13
+
14
+
6
15
  ## [3.1.0-alpha.2](https://github.com/empathyco/x/compare/@empathyco/x-components@3.1.0-alpha.1...@empathyco/x-components@3.1.0-alpha.2) (2023-11-13)
7
16
 
8
17
 
@@ -1,4 +1,5 @@
1
1
 
2
+
2
3
  .x-uppercase {
3
4
  text-transform: uppercase;
4
5
  }
@@ -14,7 +15,25 @@
14
15
  .x-normal-case {
15
16
  text-transform: none;
16
17
  }
18
+ .x-static {
19
+ position: static !important;
20
+ }
21
+
22
+ .x-fixed {
23
+ position: fixed !important;
24
+ }
25
+
26
+ .x-absolute {
27
+ position: absolute !important;
28
+ }
29
+
30
+ .x-relative {
31
+ position: relative !important;
32
+ }
17
33
 
34
+ .x-sticky {
35
+ position: sticky !important;
36
+ }
18
37
  .x-underline {
19
38
  -webkit-text-decoration-line: underline;
20
39
  text-decoration-line: underline;
@@ -34,25 +53,6 @@
34
53
  -webkit-text-decoration-line: none;
35
54
  text-decoration-line: none;
36
55
  }
37
- .x-static {
38
- position: static !important;
39
- }
40
-
41
- .x-fixed {
42
- position: fixed !important;
43
- }
44
-
45
- .x-absolute {
46
- position: absolute !important;
47
- }
48
-
49
- .x-relative {
50
- position: relative !important;
51
- }
52
-
53
- .x-sticky {
54
- position: sticky !important;
55
- }
56
56
  .x-padding--00 {
57
57
  padding: 0 !important;
58
58
  }
@@ -4895,6 +4895,9 @@
4895
4895
  :root {
4896
4896
  --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
4897
4897
  }
4898
+ :root {
4899
+ --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
4900
+ }
4898
4901
 
4899
4902
  .x-result.x-result--card {
4900
4903
  overflow: hidden;
@@ -8842,7 +8845,4 @@
8842
8845
  --x-size-border-radius-base-m: var(--x-size-base-06);
8843
8846
  --x-size-border-radius-base-pill: 99999px;
8844
8847
  --x-size-border-width-base: 1px;
8845
- }
8846
- :root {
8847
- --x-size-border-radius-result-card: var(--x-size-border-radius-base-s);
8848
8848
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.1.0-alpha.2",
3
+ "version": "3.1.0-alpha.3",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -43,9 +43,10 @@
43
43
  "node": ">=18"
44
44
  },
45
45
  "scripts": {
46
- "serve": "vue-cli-service serve",
46
+ "serve": "vite",
47
+ "preview": "vite build && vite preview",
47
48
  "build": "ts-node --project ./build/tsconfig.json ./build/build.ts",
48
- "build:website": "vue-cli-service build",
49
+ "build:website": "vite build",
49
50
  "postbuild": "pnpm pack --pack-destination ..",
50
51
  "gen:docs": "rimraf ./docs && pnpm run gen:typescript-docs && pnpm run gen:component-docs",
51
52
  "gen:typescript-docs": "api-documenter markdown --input-folder dist/report --output-folder docs/API-reference/api",
@@ -56,10 +57,11 @@
56
57
  "test:unit-cypress": "cypress run --component --browser chrome",
57
58
  "test:unit-coverage": "jest --coverage",
58
59
  "test:unit-watch": "jest --watch",
59
- "test:e2e": "vue-cli-service test:e2e --e2e --browser chrome",
60
- "test:e2e:firefox": "vue-cli-service test:e2e --e2e --browser firefox",
61
- "test:e2e:ci": "vue-cli-service test:e2e --headless --browser chrome",
60
+ "test:e2e": "start-server-and-test preview http://localhost:8080 cypress:open",
61
+ "test:e2e:firefox": "start-server-and-test serve http://localhost:8080 cypress:open:firefox",
62
+ "test:e2e:ci": "start-server-and-test serve http://localhost:8080 cypress:open:ci",
62
63
  "test": "pnpm run test:unit && pnpm run test:e2e:ci",
64
+ "cypress:open:ci": "cypress open --e2e --headless --browser chrome",
63
65
  "cypress:open": "cypress open --e2e --browser chrome",
64
66
  "cypress:open:firefox": "cypress open --e2e --browser firefox",
65
67
  "cypress:open:component": "cypress open --component --browser chrome",
@@ -92,7 +94,7 @@
92
94
  "@badeball/cypress-cucumber-preprocessor": "~17.2.0",
93
95
  "@bahmutov/cypress-esbuild-preprocessor": "~2.2.0",
94
96
  "@cypress/vue2": "~2.0.1",
95
- "@empathyco/x-tailwindcss": "^1.0.1-alpha.0",
97
+ "@empathyco/x-tailwindcss": "^1.1.0-alpha.0",
96
98
  "@microsoft/api-documenter": "~7.22.0",
97
99
  "@microsoft/api-extractor": "~7.35.0",
98
100
  "@rollup/plugin-commonjs": "~25.0.0",
@@ -102,10 +104,7 @@
102
104
  "@types/jest": "~27.5.0",
103
105
  "@types/node": "~18.16.0",
104
106
  "@types/testing-library__jest-dom": "~5.14.5",
105
- "@vue/cli-plugin-e2e-cypress": "~5.0.8",
106
- "@vue/cli-plugin-typescript": "~5.0.8",
107
- "@vue/cli-plugin-vuex": "~5.0.8",
108
- "@vue/cli-service": "~5.0.8",
107
+ "@vitejs/plugin-vue2": "^2.2.0",
109
108
  "@vue/test-utils": "~1.0.3",
110
109
  "@vue/vue2-jest": "~27.0.0-alpha.3",
111
110
  "autoprefixer": "~10.4.4",
@@ -128,11 +127,13 @@
128
127
  "rollup-plugin-typescript2": "~0.34.1",
129
128
  "rollup-plugin-vue": "~5.1.9",
130
129
  "sass": "~1.62.0",
131
- "sass-loader": "~13.3.0",
130
+ "start-server-and-test": "~2.0.0",
132
131
  "tailwindcss": "~3.3.0",
133
132
  "ts-jest": "~27.1.0",
134
133
  "ts-node": "~10.9.1",
135
134
  "typescript": "~4.9.4",
135
+ "vite": "^4.5.0",
136
+ "vite-plugin-vue-inspector": "^4.0.0",
136
137
  "vue": "~2.7.14",
137
138
  "vue-docgen-cli": "~4.67.0",
138
139
  "vue-router": "~3.6.5",
@@ -143,5 +144,5 @@
143
144
  "access": "public",
144
145
  "directory": "dist"
145
146
  },
146
- "gitHead": "1096966c93eab5719555bb24779d94bf15a70570"
147
+ "gitHead": "d40ae0aa9c8fb288879b4ecdb32c0d9ab1342107"
147
148
  }