@phila/phila-ui-radio 0.0.3 → 0.0.5

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.
@@ -1,7 +1,7 @@
1
- import { InputProps } from "@phila/phila-ui-core";
2
- import { RadioProps } from "./types";
3
- import PhilaUICore from "@phila/phila-ui-core";
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps & RadioProps>, {
1
+ import { InputProps, default as PhilaUICore } from '@phila/phila-ui-core';
2
+ import { RadioProps } from './types';
3
+
4
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps & RadioProps>, {
5
5
  id: any;
6
6
  errors(): never[];
7
7
  label: string;
@@ -16,10 +16,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  "option-2": string;
17
17
  "option-3": string;
18
18
  };
19
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
20
  "update:modelValue": (...args: any[]) => void;
21
21
  change: (...args: any[]) => void;
22
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps & RadioProps>, {
22
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputProps & RadioProps>, {
23
23
  id: any;
24
24
  errors(): never[];
25
25
  label: string;
package/dist/types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import Radio from './Radio.vue';
2
- declare module '@vue/runtime-core' {
1
+ import { default as Radio } from './Radio.vue';
2
+
3
+ declare module 'vue' {
3
4
  interface GlobalComponents {
4
5
  Radio: typeof Radio;
5
6
  }
@@ -14,3 +15,4 @@ export interface RadioProps {
14
15
  small?: boolean;
15
16
  options: object | Array<string | number | object>;
16
17
  }
18
+ export default Radio;
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
2
  "name": "@phila/phila-ui-radio",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
- "main": "./dist/radio.umd.cjs",
10
- "module": "./dist/radio.js",
9
+ "main": "./dist/Radio.umd.cjs",
10
+ "module": "./dist/Radio.js",
11
11
  "types": "./dist/types.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
14
  "import": {
15
15
  "types": "./dist/types.d.ts",
16
- "default": "./dist/radio.js"
16
+ "default": "./dist/Radio.js"
17
17
  },
18
- "require": "./dist/radio.umd.cjs"
18
+ "require": "./dist/Radio.umd.cjs"
19
19
  }
20
20
  },
21
21
  "scripts": {
22
22
  "dev": "vite",
23
23
  "prepublish": "npm i && npm run build",
24
- "build": "vite build && vue-tsc --declaration --emitDeclarationOnly --outdir ./dist",
24
+ "build": "vue-tsc && vite build",
25
25
  "preview": "vite preview"
26
26
  },
27
27
  "dependencies": {
@@ -43,5 +43,5 @@
43
43
  "registry": "https://registry.npmjs.com/",
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "41f3602a8182b747db366652993576f74555dd20"
46
+ "gitHead": "090157c232a9fa70f05d68b09a5cf22618d2bb68"
47
47
  }
File without changes
File without changes