bonkers-ui 1.0.63 → 1.0.64

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.
Files changed (38) hide show
  1. package/_types/sizing.js.map +1 -1
  2. package/bonkers-ui.umd.js +2 -2
  3. package/bonkers-ui.umd.js.map +1 -1
  4. package/components/ui-alert/index.d.ts +23 -56
  5. package/components/ui-badge/index.d.ts +33 -68
  6. package/components/ui-button/index.d.ts +51 -86
  7. package/components/ui-card-cta/index.d.ts +39 -75
  8. package/components/ui-card-result/index.d.ts +39 -75
  9. package/components/ui-card-simple/index.d.ts +9 -39
  10. package/components/ui-checkbox/index.d.ts +47 -84
  11. package/components/ui-dropdown/index.d.ts +47 -90
  12. package/components/ui-dropdown/ui-dropdown.vue.d.ts +0 -3
  13. package/components/ui-dropdown/ui-dropdown.vue.js +19 -20
  14. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
  15. package/components/ui-icon-wrapper/index.d.ts +31 -64
  16. package/components/ui-input/_typings.d.ts +2 -2
  17. package/components/ui-input/index.d.ts +148 -193
  18. package/components/ui-list-item/index.d.ts +74 -111
  19. package/components/ui-modal/index.d.ts +31 -64
  20. package/components/ui-modal/ui-backdrop/index.d.ts +9 -39
  21. package/components/ui-notification-badge/index.d.ts +22 -54
  22. package/components/ui-order-card/index.d.ts +29 -62
  23. package/components/ui-plain-radio/index.d.ts +60 -98
  24. package/components/ui-radio/index.d.ts +60 -98
  25. package/components/ui-radio-compact/index.d.ts +45 -81
  26. package/components/ui-radio-fancy/index.d.ts +70 -108
  27. package/components/ui-result-card-range/index.d.ts +33 -68
  28. package/components/ui-ripple/index.d.ts +9 -39
  29. package/components/ui-select/index.d.ts +41 -77
  30. package/components/ui-snackbar/index.d.ts +29 -62
  31. package/components/ui-table/index.d.ts +22 -54
  32. package/components/ui-table/ui-table-cell/index.d.ts +21 -54
  33. package/components/ui-table/ui-table-row/index.d.ts +16 -48
  34. package/components/ui-toggle/index.d.ts +62 -101
  35. package/components/ui-typography/index.d.ts +61 -100
  36. package/components/ui-typography/ui-typography.vue.js +2 -2
  37. package/components/ui-verification-input/index.d.ts +29 -63
  38. package/package.json +35 -35
@@ -1,74 +1,40 @@
1
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
1
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
2
2
  import UiVerificationInput from "./ui-verification-input.vue";
3
3
  export { UiVerificationInput };
4
4
  /**
5
5
  * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
6
6
  */
7
7
  declare const deprecatedDefault: {
8
- new (...args: any[]): {
9
- $: ComponentInternalInstance;
10
- $data: {};
11
- $props: Partial<{}> & Omit<{
12
- readonly inputsCount: number;
13
- readonly type?: "text" | undefined;
14
- onOnFiled?: ((...args: any[]) => any) | undefined;
15
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
16
- inputsCount: {
17
- type: PropType<number>;
18
- required: true;
19
- };
20
- type: {
21
- type: PropType<"text">;
22
- };
23
- }>> & {
24
- onOnFiled?: ((...args: any[]) => any) | undefined;
25
- }, never>;
26
- $attrs: {
27
- [x: string]: unknown;
8
+ new (...args: any[]): CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
9
+ inputsCount: {
10
+ type: PropType<number>;
11
+ required: true;
28
12
  };
29
- $refs: {
30
- [x: string]: unknown;
13
+ type: {
14
+ type: PropType<"text">;
31
15
  };
32
- $slots: Readonly<{
33
- [name: string]: Slot<any> | undefined;
34
- }>;
35
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
36
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
37
- $emit: (event: "onFiled", ...args: any[]) => void;
38
- $el: any;
39
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
40
- inputsCount: {
41
- type: PropType<number>;
42
- required: true;
43
- };
44
- type: {
45
- type: PropType<"text">;
46
- };
47
- }>> & {
48
- onOnFiled?: ((...args: any[]) => any) | undefined;
49
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
- onFiled: (...args: any[]) => void;
51
- }, string, {}, {}, string, {}> & {
52
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
53
- created?: ((() => void) | (() => void)[]) | undefined;
54
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
55
- mounted?: ((() => void) | (() => void)[]) | undefined;
56
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
57
- updated?: ((() => void) | (() => void)[]) | undefined;
58
- activated?: ((() => void) | (() => void)[]) | undefined;
59
- deactivated?: ((() => void) | (() => void)[]) | undefined;
60
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
61
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
62
- destroyed?: ((() => void) | (() => void)[]) | undefined;
63
- unmounted?: ((() => void) | (() => void)[]) | undefined;
64
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
65
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
66
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
16
+ }>> & {
17
+ onOnFiled?: ((...args: any[]) => any) | undefined;
18
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
+ onFiled: (...args: any[]) => void;
20
+ }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
21
+ inputsCount: {
22
+ type: PropType<number>;
23
+ required: true;
67
24
  };
68
- $forceUpdate: () => void;
69
- $nextTick: typeof nextTick;
70
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
71
- } & Readonly<ExtractPropTypes<{
25
+ type: {
26
+ type: PropType<"text">;
27
+ };
28
+ }>> & {
29
+ onOnFiled?: ((...args: any[]) => any) | undefined;
30
+ }, {}, true, {}, {}, {
31
+ P: {};
32
+ B: {};
33
+ D: {};
34
+ C: {};
35
+ M: {};
36
+ Defaults: {};
37
+ }, Readonly<ExtractPropTypes<{
72
38
  inputsCount: {
73
39
  type: PropType<number>;
74
40
  required: true;
@@ -78,7 +44,7 @@ declare const deprecatedDefault: {
78
44
  };
79
45
  }>> & {
80
46
  onOnFiled?: ((...args: any[]) => any) | undefined;
81
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
47
+ }, {}, {}, {}, {}, {}>;
82
48
  __isFragment?: undefined;
83
49
  __isTeleport?: undefined;
84
50
  __isSuspense?: undefined;
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "bonkers-ui",
3
- "version": "v1.0.63",
3
+ "version": "v1.0.64",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "storybook": "storybook dev -p 6006",
7
7
  "build-storybook": "storybook build",
8
8
  "build": "vue-tsc && vite build",
9
- "postbuild": " node postbuild.js",
10
9
  "lint:script": "eslint --fix './src/**/*.{ts,tsx,vue}'",
11
10
  "lint:style": "stylelint --fix './src/**/*.{css,scss,vue}'",
12
11
  "lint:markup": "vue-tsc --noEmit",
@@ -17,13 +16,8 @@
17
16
  "i": "bun install --frozen-lockfile"
18
17
  },
19
18
  "dependencies": {
20
- "bun-types": "^1.0.14",
21
- "eslint-plugin-tailwindcss": "^3.13.0",
22
- "shelljs": "^0.8.5",
23
- "storybook-addon-designs": "^6.3.1",
24
- "tailwindcss": "^3.3.5",
25
- "vue": "^3.3.8",
26
- "vue-router": "^4.2.5"
19
+ "tailwindcss": "^3.4.0",
20
+ "vue": "^3.3.13"
27
21
  },
28
22
  "peerDependencies": {
29
23
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
@@ -31,50 +25,53 @@
31
25
  "@fortawesome/free-regular-svg-icons": "^6.4.2",
32
26
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
33
27
  "@fortawesome/vue-fontawesome": "^3.0.5",
28
+ "tailwindcss": "^3.0.0",
34
29
  "vue": "^3.0.0"
35
30
  },
36
31
  "devDependencies": {
37
- "@rollup/plugin-typescript": "^11.1.5",
38
- "@storybook/addon-essentials": "^7.5.3",
39
- "@storybook/addon-links": "^7.5.3",
40
- "@storybook/addon-mdx-gfm": "^7.5.3",
41
- "@storybook/vue3": "^7.5.3",
42
- "@storybook/vue3-vite": "^7.5.3",
32
+ "vue-router": "^4.2.5",
33
+ "bun-types": "^1.0.18",
34
+ "eslint-plugin-tailwindcss": "^3.13.0",
35
+ "shelljs": "^0.8.5",
36
+ "@storybook/addon-essentials": "^7.6.6",
37
+ "@storybook/addon-links": "^7.6.6",
38
+ "@storybook/vue3": "^7.6.6",
39
+ "@storybook/vue3-vite": "^7.6.6",
43
40
  "@types/glob": "^8.1.0",
44
- "@typescript-eslint/eslint-plugin": "^6.12.0",
45
- "@typescript-eslint/parser": "^6.12.0",
46
- "@vitejs/plugin-vue": "^4.5.0",
41
+ "@typescript-eslint/eslint-plugin": "^6.15.0",
42
+ "@typescript-eslint/parser": "^6.15.0",
43
+ "@vitejs/plugin-vue": "^4.5.2",
47
44
  "@vue/eslint-config-typescript": "^12.0.0",
48
- "@vue/test-utils": "^2.4.2",
45
+ "@vue/test-utils": "^2.4.3",
49
46
  "autoprefixer": "^10.4.16",
50
- "eslint": "8.54.0",
47
+ "eslint": "8.56.0",
51
48
  "eslint-plugin-storybook": "^0.6.15",
52
- "eslint-plugin-vue": "^9.18.1",
49
+ "eslint-plugin-vue": "^9.19.2",
53
50
  "gh-pages": "^6.1.0",
54
51
  "husky": "4.3.8",
55
- "jsdom": "^22.1.0",
56
- "lint-staged": "^15.1.0",
57
- "postcss": "^8.4.31",
58
- "postcss-cli": "^10.1.0",
52
+ "jsdom": "^23.0.1",
53
+ "lint-staged": "^15.2.0",
54
+ "postcss": "^8.4.32",
55
+ "postcss-cli": "^11.0.0",
59
56
  "postcss-html": "^1.5.0",
60
57
  "react": "^18.2.0",
61
58
  "react-dom": "^18.2.0",
62
- "storybook": "^7.5.3",
59
+ "storybook": "^7.6.6",
63
60
  "storybook-tailwind-dark-mode": "^1.0.22",
64
- "stylelint": "^15.11.0",
65
- "stylelint-config-recommended": "^13.0.0",
61
+ "stylelint": "15.11.0",
62
+ "stylelint-config-recommended": "^14.0.0",
66
63
  "stylelint-config-recommended-vue": "^1.5.0",
67
- "stylelint-config-standard": "^34.0.0",
68
- "typescript": "^5.3.2",
69
- "vite": "^5.0.2",
64
+ "stylelint-config-standard": "^35.0.0",
65
+ "typescript": "^5.3.3",
66
+ "vite": "^5.0.10",
70
67
  "vite-plugin-css-injected-by-js": "^3.3.0",
71
- "vite-plugin-dts": "^3.6.3",
68
+ "vite-plugin-dts": "^3.6.4",
72
69
  "vite-plugin-static-copy": "^1.0.0",
73
- "vite-tsconfig-paths": "^4.2.1",
74
- "vitest": "^0.34.6",
70
+ "vite-tsconfig-paths": "^4.2.2",
71
+ "vitest": "^1.1.0",
75
72
  "vue-eslint-parser": "^9.3.2",
76
73
  "vue-loader": "^17.3.1",
77
- "vue-tsc": "^1.8.22"
74
+ "vue-tsc": "^1.8.25"
78
75
  },
79
76
  "lint-staged": {
80
77
  "*.{ts,tsx,vue}": [
@@ -107,5 +104,8 @@
107
104
  "types": "./components/*/index.d.ts",
108
105
  "import": "./components/*/index.js"
109
106
  }
107
+ },
108
+ "overrides": {
109
+ "rollup": "npm:@rollup/wasm-node"
110
110
  }
111
111
  }