comand-component-library 4.1.18 → 4.1.20

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.1.18",
3
+ "version": "4.1.20",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",
@@ -12,15 +12,18 @@
12
12
  "build-lib": "vite build && gulp",
13
13
  "preview": "vite preview"
14
14
  },
15
- "main": "dist/comand-component-library.umd.cjs",
16
- "module": "dist/comand-component-library.js",
17
15
  "files": [
18
16
  "dist",
19
17
  "src"
20
18
  ],
19
+ "exports": {
20
+ ".": "./dist/comand-component-library.js",
21
+ "./css.js": "./src/css.js",
22
+ "./style.css": "./dist/style.css"
23
+ },
21
24
  "dependencies": {
22
25
  "clickout-event": "^1.1.2",
23
- "comand-frontend-framework": "^4.1.2",
26
+ "comand-frontend-framework": "^4.1.3",
24
27
  "comand-ui-iconfonts": "^1.0.14",
25
28
  "core-js": "^3.20.1",
26
29
  "prismjs": "^1.27.0",
package/src/css.js ADDED
@@ -0,0 +1,23 @@
1
+ /* begin imports css from comand-frontend-framework ---------------------------------------------------------------------------------------- */
2
+ /* import generated css from components */
3
+ import 'comand-frontend-framework/styles.css'
4
+ /* end imports css from comand-frontend-framework ---------------------------------------------------------------------------------------- */
5
+
6
+ /* begin imports from comand-ui-iconfonts---------------------------------------------------------------------------------------- */
7
+ /* import additional iconfont containing base-icons */
8
+ import 'comand-ui-iconfonts/src/fonts/base-iconfont/base-iconfont.css'
9
+
10
+ /* import additional iconfont containing company-logos */
11
+ import 'comand-ui-iconfonts/src/fonts/logos-iconfont/logos-iconfont.css'
12
+
13
+ /* import additional iconfont containing editmode-icons */
14
+ import 'comand-ui-iconfonts/src/fonts/editmode-iconfont/editmode-iconfont.css'
15
+ /* end imports from comand-ui-iconfonts---------------------------------------------------------------------------------------- */
16
+
17
+ /* begin imports from comand-component-library ---------------------------------------------------------------------------------------- */
18
+ /* import css for global-styles */
19
+ import './assets/styles/component-library-global-styles.scss'
20
+
21
+ /* import css for global transitions */
22
+ import './assets/styles/transitions.css'
23
+ /* end imports from comand-component-library ---------------------------------------------------------------------------------------- */
package/src/main.js CHANGED
@@ -1,6 +1,5 @@
1
- /* begin imports css from comand-frontend-framework ---------------------------------------------------------------------------------------- */
2
- import "comand-frontend-framework/styles"
3
- /* end imports css from comand-frontend-framework ---------------------------------------------------------------------------------------- */
1
+ // import all required css
2
+ import "./css.js"
4
3
 
5
4
  import { createApp } from "vue"
6
5
 
@@ -20,18 +19,6 @@ import directiveFocus from "./directives/focus"
20
19
  import directiveFancybox from "./directives/fancybox"
21
20
  /* end import directives ---------------------------------------------------------------------------------------- */
22
21
 
23
- /* begin imports css from comand-ui-iconfonts-dependency ---------------------------------------------------------------------------------------- */
24
- import 'comand-ui-iconfonts/src/fonts/base-iconfont/base-iconfont.css'
25
- import 'comand-ui-iconfonts/src/fonts/logos-iconfont/logos-iconfont.css'
26
- import 'comand-ui-iconfonts/src/fonts/editmode-iconfont/editmode-iconfont.css'
27
- /* end imports css from comand-ui-iconfonts-dependency ---------------------------------------------------------------------------------------- */
28
-
29
- /* import css for global-styles */
30
- import '@/assets/styles/component-library-global-styles.scss'
31
-
32
- /* import css for global transitions */
33
- import '@/assets/styles/transitions.css'
34
-
35
22
  /* import css-example for your custom styles */
36
23
  import '@/assets/styles/template.css'
37
24