@datability/8ui 1.4.0 → 1.5.0

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.
@@ -0,0 +1,41 @@
1
+ @font-face {
2
+ font-family: "Sukhumvit Set";
3
+ src: url("./fonts/SukhumvitSet-Thin.ttf") format("truetype");
4
+ font-weight: 100;
5
+ font-display: swap;
6
+ }
7
+
8
+ @font-face {
9
+ font-family: "Sukhumvit Set";
10
+ src: url("./fonts/SukhumvitSet-Light.ttf") format("truetype");
11
+ font-weight: 300;
12
+ font-display: swap;
13
+ }
14
+
15
+ @font-face {
16
+ font-family: "Sukhumvit Set";
17
+ src: url("./fonts/SukhumvitSet-Text.ttf") format("truetype");
18
+ font-weight: 400;
19
+ font-display: swap;
20
+ }
21
+
22
+ @font-face {
23
+ font-family: "Sukhumvit Set";
24
+ src: url("./fonts/SukhumvitSet-Medium.ttf") format("truetype");
25
+ font-weight: 500;
26
+ font-display: swap;
27
+ }
28
+
29
+ @font-face {
30
+ font-family: "Sukhumvit Set";
31
+ src: url("./fonts/SukhumvitSet-SemiBold.ttf") format("truetype");
32
+ font-weight: 600;
33
+ font-display: swap;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: "Sukhumvit Set";
38
+ src: url("./fonts/SukhumvitSet-Bold.ttf") format("truetype");
39
+ font-weight: 700;
40
+ font-display: swap;
41
+ }
@@ -1,11 +1,5 @@
1
1
  export { Display1, Display2, Display3, Display4, H1, H2, H3, H4, H5, H6, Title, Subtitle, LabelLg, LabelMd, LabelSm, Paragraph, CaptionLg, CaptionMd, CaptionSm, CaptionXs, } from './components/typography';
2
2
  export type { PropsTypography, TypographyWeight } from './components/typography/index.type';
3
- export type TValueOption = string | number;
4
- export type TOption = {
5
- label: string;
6
- value: TValueOption;
7
- };
8
- export { DBuiContext, DBuiProvider } from './components/context';
9
3
  export { default as Avatars } from './components/avatars';
10
4
  export type { PropsAvatars, AvatarsSize, AvatarsType } from './components/avatars/index.type';
11
5
  export { default as AvatarGroup } from './components/avatar-group';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datability/8ui",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -9,7 +9,8 @@
9
9
  "require": "./dist/index.umd.js"
10
10
  },
11
11
  "./dist/index.css": "./dist/index.css",
12
- "./style.css": "./dist/index.css"
12
+ "./style.css": "./dist/index.css",
13
+ "./fonts.css": "./dist/styles/fonts.css"
13
14
  },
14
15
  "style": "./dist/index.css",
15
16
  "files": [
@@ -17,13 +18,14 @@
17
18
  ],
18
19
  "scripts": {
19
20
  "dev": "vite",
20
- "build": "vite build && npm run cp-scss && npm run cp-scss-2 && npm run cp-svg",
21
+ "build": "vite build && npm run cp-scss && npm run cp-scss-2 && npm run cp-svg && npm run cp-fonts",
21
22
  "build:demo": "vite build --config vite.config.demo.ts",
22
23
  "lint": "eslint .",
23
24
  "preview": "vite preview",
24
25
  "cp-svg": "copyfiles -u 1 src/components/**/*.svg dist/",
25
26
  "cp-scss": "copyfiles -u 1 src/components/**/*.scss dist/",
26
- "cp-scss-2": "copyfiles -u 1 src/components/**/**/*.scss dist/"
27
+ "cp-scss-2": "copyfiles -u 1 src/components/**/**/*.scss dist/",
28
+ "cp-fonts": "copyfiles -u 1 src/styles/fonts.css src/styles/fonts/*.ttf dist/"
27
29
  },
28
30
  "peerDependencies": {
29
31
  "@hookform/resolvers": "^5.2.2",
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- type TContext = {
3
- openModalCount: number;
4
- setOpenModalCount?: React.Dispatch<React.SetStateAction<number>>;
5
- };
6
- export declare const DBuiContext: React.Context<TContext>;
7
- export declare const DBuiProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
8
- export {};