@dss-kit/ui-kit 0.2.17 → 0.2.18
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/dist/components/shared/Avatar/Avatar.d.ts +48 -2
- package/dist/components/shared/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/shared/Avatar/Avatar.stories.d.ts +2 -2
- package/dist/components/shared/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/components/shared/Avatar/index.d.ts +0 -1
- package/dist/components/shared/Avatar/index.d.ts.map +1 -1
- package/dist/ui-kit.cjs.js +8 -8
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +2754 -2665
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +5 -3
- package/dist/components/shared/Avatar/Avatar.types.d.ts +0 -14
- package/dist/components/shared/Avatar/Avatar.types.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dss-kit/ui-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/ui-kit.cjs.js",
|
|
6
6
|
"module": "./dist/ui-kit.es.js",
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
"./root.css": "./dist/root.css",
|
|
16
16
|
"./styles/utils": "./dist/styles/utils/index.scss"
|
|
17
17
|
},
|
|
18
|
-
"files": [
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
19
21
|
"sideEffects": false,
|
|
20
22
|
"scripts": {
|
|
21
23
|
"build:base": "vite build",
|
|
@@ -23,7 +25,7 @@
|
|
|
23
25
|
"build": "npm run build:base && npm run build:root",
|
|
24
26
|
"dev": "vite",
|
|
25
27
|
"type-check": "tsc --noEmit",
|
|
26
|
-
"biome:check": "npx @biomejs/biome check --max-diagnostics 100",
|
|
28
|
+
"biome:check": "npx @biomejs/biome check --no-errors-on-unmatched --max-diagnostics 100",
|
|
27
29
|
"biome:format": "npx @biomejs/biome format --write --max-diagnostics 100",
|
|
28
30
|
"biome:lint": "npx @biomejs/biome lint --write --max-diagnostics 100",
|
|
29
31
|
"lint-staged": "lint-staged",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { CustomType, NegativeType, NeutralType, PositiveType, PrimaryType, SecondaryType, Size, WarningType } from '../../../types/tokens.types.ts';
|
|
3
|
-
type AvatarAttributes = Pick<ComponentProps<"div">, "className" | "children">;
|
|
4
|
-
type AvatarRestAttributes = Omit<ComponentProps<"div">, keyof AvatarAttributes>;
|
|
5
|
-
type AvatarSize = Extract<Size, "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"> | CustomType;
|
|
6
|
-
type AvatarColor = PrimaryType | SecondaryType | NegativeType | PositiveType | WarningType | CustomType | NeutralType;
|
|
7
|
-
export interface IAvatarProps extends AvatarAttributes {
|
|
8
|
-
size?: AvatarSize;
|
|
9
|
-
color?: AvatarColor;
|
|
10
|
-
fullRound?: boolean;
|
|
11
|
-
attr?: AvatarRestAttributes;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=Avatar.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,IAAI,EACJ,WAAW,EACZ,MAAM,yBAAyB,CAAC;AAEjC,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;AAE9E,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,gBAAgB,CAAC,CAAC;AAEhF,KAAK,UAAU,GACX,OAAO,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC,GAC/D,UAAU,CAAC;AACf,KAAK,WAAW,GACZ,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B"}
|