@brighterly/ui-kit 0.0.6 → 0.0.8

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.
@@ -7,29 +7,32 @@ interface BtnPrimaryProps {
7
7
  tooltip?: string | null;
8
8
  dataQa?: string | null;
9
9
  }
10
- declare var __VLS_1: {};
11
- type __VLS_Slots = {} & {
12
- content?: (props: typeof __VLS_1) => any;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ content?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLButtonElement;
13
17
  };
14
- declare const __VLS_base: import("vue").DefineComponent<BtnPrimaryProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<BtnPrimaryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
20
  click: () => any;
16
- }, string, import("vue").PublicProps, Readonly<BtnPrimaryProps> & Readonly<{
21
+ }, string, import('vue').PublicProps, Readonly<BtnPrimaryProps> & Readonly<{
17
22
  onClick?: () => any;
18
23
  }>, {
19
- color: "blue" | "orange" | "amber" | "red";
20
24
  text: string;
21
25
  disabled: boolean;
26
+ color: "blue" | "orange" | "amber" | "red";
22
27
  size: "big" | "medium" | "small";
23
- tooltip: string | null;
24
28
  elementWidth: "auto" | "full";
29
+ tooltip: string | null;
25
30
  dataQa: string | null;
26
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
- declare const _default: typeof __VLS_export;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
33
  export default _default;
30
- type __VLS_WithSlots<T, S> = T & {
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
35
  new (): {
32
36
  $slots: S;
33
37
  };
34
38
  };
35
- //# sourceMappingURL=ButtonPrimary.vue.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,2 +1 @@
1
- export { default as ButtonPrimary } from "./components/Buttons/ButtonPrimary.vue";
2
- //# sourceMappingURL=index.d.ts.map
1
+ export { default as ButtonPrimary } from './components/Buttons/ButtonPrimary.vue';
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@brighterly/ui-kit",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Official Brighterly ui-kit",
5
+ "type": "module",
5
6
  "homepage": "https://gitlab.com/brighterly/libs/ui-kit#readme",
6
7
  "bugs": {
7
8
  "url": "https://gitlab.com/brighterly/libs/ui-kit/issues"
@@ -10,9 +11,10 @@
10
11
  "type": "git",
11
12
  "url": "git+ssh://git@gitlab.com/brighterly/libs/ui-kit.git"
12
13
  },
13
- "license": "ISC",
14
- "author": "",
15
- "type": "module",
14
+ "main": "./dist/ui-kit.es.js",
15
+ "module": "./dist/ui-kit.es.js",
16
+ "types": "./dist/index.d.ts",
17
+ "style": "./dist/ui-kit.css",
16
18
  "exports": {
17
19
  ".": {
18
20
  "types": "./dist/index.d.ts",
@@ -20,17 +22,15 @@
20
22
  },
21
23
  "./style.css": "./dist/ui-kit.css"
22
24
  },
23
- "main": "./dist/ui-kit.es.js",
24
- "types": "./dist/index.d.ts",
25
25
  "files": [
26
26
  "dist"
27
27
  ],
28
28
  "scripts": {
29
- "build": "vite build && vue-tsc -p tsconfig.build.json",
30
- "prepare": "pnpm run build"
29
+ "build": "vite build && vue-tsc --noEmit"
31
30
  },
32
31
  "dependencies": {
33
- "@vueuse/core": "^14.1.0"
32
+ "@vueuse/core": "^14.1.0",
33
+ "vite-plugin-dts": "^4.5.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@tsconfig/node24": "^24.0.4",
@@ -48,7 +48,5 @@
48
48
  },
49
49
  "sideEffects": [
50
50
  "**/*.css"
51
- ],
52
- "module": "./dist/ui-kit.es.js",
53
- "style": "./dist/ui-kit.css"
51
+ ]
54
52
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"ButtonPrimary.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/ButtonPrimary.vue"],"names":[],"mappings":"AAqGA,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;IAC3C,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAA;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAsED,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;WAlFN,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK;UAFpC,MAAM;cACF,OAAO;UAEX,KAAK,GAAG,QAAQ,GAAG,OAAO;aAEvB,MAAM,GAAG,IAAI;kBADR,MAAM,GAAG,MAAM;YAErB,MAAM,GAAG,IAAI;4EAkFtB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wCAAwC,CAAC"}
package/dist/style.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import "./assets/index.scss";
2
- //# sourceMappingURL=style.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC"}
File without changes