@can2421/ui-components 1.0.46 → 1.0.48

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@can2421/ui-components",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "exports": {
5
5
  ".": {
6
- "types": "./dist/components/src/index.d.ts",
6
+ "types": "./dist/index.d.ts",
7
7
  "import": "./dist/ui-components.mjs",
8
8
  "require": "./dist/ui-components.umd.js"
9
9
  },
@@ -26,7 +26,7 @@
26
26
  "vite-plugin-dts": "^4.5.4"
27
27
  },
28
28
  "scripts": {
29
- "build": "vite build && node scripts/build-all-styles.js && vite build:dts",
29
+ "build": "vite build && node scripts/build-all-styles.js",
30
30
  "build:styles": "node scripts/build-all-styles.js",
31
31
  "build:dts": "vue-tsc -p tsconfig.dts.json"
32
32
  }
@@ -1,13 +0,0 @@
1
- import type { ExtractPropTypes, PropType } from 'vue';
2
- export type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'info';
3
- export declare const buttonProps: {
4
- readonly type: {
5
- readonly type: PropType<ButtonType>;
6
- readonly default: "";
7
- };
8
- readonly size: StringConstructor;
9
- readonly disabled: BooleanConstructor;
10
- readonly plain: BooleanConstructor;
11
- readonly round: BooleanConstructor;
12
- };
13
- export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
@@ -1,36 +0,0 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => any;
4
- };
5
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- readonly type: {
7
- readonly type: import("vue").PropType<import("./button.types").ButtonType>;
8
- readonly default: "";
9
- };
10
- readonly size: StringConstructor;
11
- readonly disabled: BooleanConstructor;
12
- readonly plain: BooleanConstructor;
13
- readonly round: BooleanConstructor;
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
- readonly type: {
16
- readonly type: import("vue").PropType<import("./button.types").ButtonType>;
17
- readonly default: "";
18
- };
19
- readonly size: StringConstructor;
20
- readonly disabled: BooleanConstructor;
21
- readonly plain: BooleanConstructor;
22
- readonly round: BooleanConstructor;
23
- }>> & Readonly<{}>, {
24
- readonly type: import("./button.types").ButtonType;
25
- readonly disabled: boolean;
26
- readonly plain: boolean;
27
- readonly round: boolean;
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
- declare const _default: typeof __VLS_export;
31
- export default _default;
32
- type __VLS_WithSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
@@ -1,6 +0,0 @@
1
- import type { App, MaybeRef, Ref } from 'vue';
2
- import type { ConfigProviderContext } from './types';
3
- export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
4
- export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
5
- export declare function provideGlobalConfig(config: MaybeRef<ConfigProviderContext>, app?: App): Ref<ConfigProviderContext, ConfigProviderContext> | undefined;
6
- export declare function useNamespace(className: string): string;
@@ -1,18 +0,0 @@
1
- import type { ConfigProviderContext } from './types';
2
- declare var __VLS_1: {
3
- config: ConfigProviderContext | undefined;
4
- };
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_1) => any;
7
- };
8
- declare const __VLS_base: import("vue").DefineComponent<ConfigProviderContext, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConfigProviderContext> & Readonly<{}>, {
9
- namespace: string;
10
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
14
- type __VLS_WithSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,4 +0,0 @@
1
- import type { InjectionKey, Ref } from 'vue';
2
- import type { ConfigProviderContext } from './types';
3
- export declare const configProviderContextKey: InjectionKey<Ref<ConfigProviderContext>>;
4
- export declare const defaultNamespace = "c";
@@ -1,3 +0,0 @@
1
- export interface ConfigProviderContext {
2
- namespace: string;
3
- }