@frollo/frollo-web-ui 0.1.0 → 0.1.1

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/index.d.ts CHANGED
@@ -73,6 +73,7 @@ declare const _default$7: vue.DefineComponent<{
73
73
  type: StringConstructor;
74
74
  };
75
75
  }, {
76
+ inputBaseClass: vue.Ref<string>;
76
77
  inputValue: vue.WritableComputedRef<string>;
77
78
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
78
79
  /**
@@ -217,6 +218,7 @@ declare const _default$5: vue.DefineComponent<{
217
218
  href: StringConstructor;
218
219
  }, {
219
220
  componentName: vue.ComputedRef<"router-link" | "a" | "div">;
221
+ linkClass: vue.Ref<string>;
220
222
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
221
223
  /**
222
224
  * The header title of the card
@@ -309,6 +311,7 @@ declare const _default$4: vue.DefineComponent<{
309
311
  validator: (value: string) => boolean;
310
312
  };
311
313
  }, {
314
+ baseClass: vue.Ref<string>;
312
315
  textColorClass: vue.ComputedRef<string>;
313
316
  bgColorClass: vue.ComputedRef<string>;
314
317
  sizeClass: vue.ComputedRef<string>;
@@ -389,6 +392,7 @@ declare const _default$3: vue.DefineComponent<{
389
392
  type: StringConstructor;
390
393
  };
391
394
  }, {
395
+ mobileMenuClass: vue.Ref<string>;
392
396
  isMobileMenuOpen: vue.Ref<boolean>;
393
397
  toggleMobileMenu: () => boolean;
394
398
  actionClicked: () => void;
@@ -615,7 +619,7 @@ declare interface ModalServiceProps extends FwModalProps {
615
619
  onConfirm?: () => void;
616
620
  onCancel?: () => void;
617
621
  }
618
- declare const modalService: (options?: ModalServiceProps | undefined, element?: HTMLDivElement | undefined) => {
622
+ declare const modalService: (options?: ModalServiceProps, element?: HTMLDivElement) => {
619
623
  open: () => void;
620
624
  close: () => void;
621
625
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frollo/frollo-web-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Frollo's UI library for components, utilities and configs",
5
5
  "exports": {
6
6
  "./icons": "./icons/index.ts",
@@ -29,7 +29,7 @@
29
29
  "build-storybook": "build-storybook"
30
30
  },
31
31
  "dependencies": {
32
- "vue": "^3.2.31"
32
+ "vue": "^3.2.37"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/core": "^7.17.5",
@@ -40,32 +40,35 @@
40
40
  "@rollup/plugin-node-resolve": "^13.1.3",
41
41
  "@rollup/plugin-replace": "^3.1.0",
42
42
  "@rollup/plugin-url": "^6.1.0",
43
- "@storybook/addon-a11y": "^6.4.19",
44
- "@storybook/addon-actions": "^6.4.19",
45
- "@storybook/addon-essentials": "^6.4.19",
46
- "@storybook/addon-links": "^6.4.19",
43
+ "@storybook/addon-a11y": "~6.4.22",
44
+ "@storybook/addon-actions": "~6.4.22",
45
+ "@storybook/addon-essentials": "~6.4.22",
46
+ "@storybook/addon-links": "~6.4.22",
47
47
  "@storybook/addon-postcss": "^2.0.0",
48
- "@storybook/addon-storysource": "^6.4.19",
49
- "@storybook/builder-webpack5": "^6.4.19",
50
- "@storybook/manager-webpack5": "^6.4.19",
51
- "@storybook/vue3": "^6.4.19",
48
+ "@storybook/addon-storysource": "~6.4.22",
49
+ "@storybook/builder-webpack5": "~6.4.22",
50
+ "@storybook/manager-webpack5": "~6.4.22",
51
+ "@storybook/vue3": "~6.4.22",
52
52
  "@types/jest": "^27.4.0",
53
53
  "@types/lodash-es": "^4.17.6",
54
54
  "@typescript-eslint/eslint-plugin": "^5.12.0",
55
55
  "@vue/cli-plugin-babel": "^5.0.1",
56
+ "@vue/eslint-config-prettier": "^7.0.0",
56
57
  "@vue/eslint-config-typescript": "^10.0.0",
57
58
  "@vue/test-utils": "^2.0.0-rc.17",
58
- "@vue/vue3-jest": "^27.0.0-alpha.4",
59
+ "@vue/vue3-jest": "^28.0.0",
59
60
  "autoprefixer": "^10.4.2",
60
61
  "babel-core": "^7.0.0-bridge.0",
61
- "babel-jest": "^27.5.1",
62
- "babel-loader": "^8.2.3",
62
+ "babel-jest": "^28.1.1",
63
+ "babel-loader": "^8.2.5",
63
64
  "cross-env": "^7.0.3",
64
65
  "css-loader": "^6.6.0",
65
66
  "eslint": "^8.9.0",
66
67
  "eslint-plugin-vue": "^8.4.1",
67
- "jest": "^27.5.1",
68
+ "jest": "^28.1.1",
69
+ "jest-environment-jsdom": "^28.1.1",
68
70
  "lodash-es": "^4.17.21",
71
+ "prettier": "^2.7.1",
69
72
  "rimraf": "^3.0.2",
70
73
  "rollup": "^2.67.2",
71
74
  "rollup-plugin-dts": "^4.1.0",
@@ -76,8 +79,8 @@
76
79
  "sass-loader": "^12.6.0",
77
80
  "tailwind-config-viewer": "^1.7.1",
78
81
  "tailwindcss": "^3.0.23",
79
- "ts-jest": "^27.1.3",
80
- "typescript": "^4.5.5",
82
+ "ts-jest": "^28.0.5",
83
+ "typescript": "^4.7.4",
81
84
  "vee-validate": "^4.5.9",
82
85
  "vue-loader": "^16.8.3",
83
86
  "vue-style-loader": "^4.1.3",
@@ -12,8 +12,8 @@ module.exports = {
12
12
  base: '#4b4b4b',
13
13
  light: '#bcbcbc',
14
14
  lightest: '#f5f5f5',
15
- '10': '#f8f8f8',
16
- '20': '#f2f2f2'
15
+ 10: '#f8f8f8',
16
+ 20: '#f2f2f2'
17
17
  },
18
18
  error: '#eb5757',
19
19
  success: '#00c48c',
@@ -30,19 +30,19 @@ module.exports = {
30
30
  },
31
31
  screens: {
32
32
  // @media (min-width: 640px) { ... }
33
- 'sm': '640px',
34
- 'md': '768px',
35
- 'lg': '1024px',
36
- 'xl': '1280px',
33
+ sm: '640px',
34
+ md: '768px',
35
+ lg: '1024px',
36
+ xl: '1280px',
37
37
  '2xl': '1536px'
38
38
  },
39
39
  // Extends tailwind's properties
40
40
  extend: {
41
41
  minWidth: {
42
- 'banner': '420px'
42
+ banner: '420px'
43
43
  },
44
44
  boxShadow: {
45
- 'card': '0px 1px 7px rgba(0, 0, 0, 0.1714)'
45
+ card: '0px 1px 7px rgba(0, 0, 0, 0.1714)'
46
46
  }
47
47
  }
48
48
  }
@@ -37,6 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  validator: (value: string) => boolean;
38
38
  };
39
39
  }, {
40
+ baseClass: import("vue").Ref<string>;
40
41
  textColorClass: import("vue").ComputedRef<string>;
41
42
  bgColorClass: import("vue").ComputedRef<string>;
42
43
  sizeClass: import("vue").ComputedRef<string>;
@@ -23,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  href: StringConstructor;
24
24
  }, {
25
25
  componentName: import("vue").ComputedRef<"router-link" | "a" | "div">;
26
+ linkClass: import("vue").Ref<string>;
26
27
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
28
  /**
28
29
  * The header title of the card
@@ -56,6 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  type: StringConstructor;
57
57
  };
58
58
  }, {
59
+ inputBaseClass: import("vue").Ref<string>;
59
60
  inputValue: import("vue").WritableComputedRef<string>;
60
61
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
62
  /**
@@ -16,6 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  };
18
18
  }, {
19
+ mobileMenuClass: import("vue").Ref<string>;
19
20
  isMobileMenuOpen: import("vue").Ref<boolean>;
20
21
  toggleMobileMenu: () => boolean;
21
22
  actionClicked: () => void;
@@ -3,7 +3,7 @@ export declare interface ModalServiceProps extends FwModalProps {
3
3
  onConfirm?: () => void;
4
4
  onCancel?: () => void;
5
5
  }
6
- export declare const modalService: (options?: ModalServiceProps | undefined, element?: HTMLDivElement | undefined) => {
6
+ export declare const modalService: (options?: ModalServiceProps, element?: HTMLDivElement) => {
7
7
  open: () => void;
8
8
  close: () => void;
9
9
  };