@dss-kit/ui-kit 0.1.11 → 0.1.13
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/README.md +21 -21
- package/dist/components/builders/Box/Box.d.ts.map +1 -1
- package/dist/components/builders/Text/Text.d.ts +6 -6
- package/dist/components/builders/Text/Text.d.ts.map +1 -1
- package/dist/components/builders/Text/utils/systemToClass.d.ts +1 -1
- package/dist/components/builders/Text/utils/systemToClass.d.ts.map +1 -1
- package/dist/components/controls/Button/styles.d.ts +2 -2
- package/dist/components/controls/Button/styles.d.ts.map +1 -1
- package/dist/components/controls/Input/Input.d.ts +4 -0
- package/dist/components/controls/Input/Input.d.ts.map +1 -1
- package/dist/components/controls/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/controls/Select/Select.d.ts +1 -1
- package/dist/components/controls/Select/Select.d.ts.map +1 -1
- package/dist/root.css +1 -1
- package/dist/styles/utils/breakpoints/base.scss +11 -11
- package/dist/styles/utils/breakpoints/index.scss +3 -3
- package/dist/styles/utils/breakpoints/screen.scss +61 -61
- package/dist/styles/utils/breakpoints/semantic.scss +31 -31
- package/dist/styles/utils/fonts/font-family.scss +3 -3
- package/dist/styles/utils/fonts/index.scss +1 -1
- package/dist/styles/utils/index.scss +5 -5
- package/dist/styles/utils/size/index.scss +1 -1
- package/dist/styles/utils/size/modifiers.scss +29 -29
- package/dist/styles/utils/style/index.scss +1 -1
- package/dist/styles/utils/style/variants.scss +34 -34
- package/dist/styles/utils/typography/_font-weight.scss +33 -33
- package/dist/styles/utils/typography/_variants.scss +85 -85
- package/dist/styles/utils/typography/index.scss +2 -2
- package/dist/ui-kit.cjs.js +4 -4
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +2177 -2094
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +69 -69
- package/dist/components/builders/Box/type.d.ts +0 -43
- package/dist/components/builders/Box/type.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dss-kit/ui-kit",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "./dist/ui-kit.cjs.js",
|
|
6
|
-
"module": "./dist/ui-kit.es.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/ui-kit.es.js",
|
|
11
|
-
"require": "./dist/ui-kit.cjs.js",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./ui-kit.css": "./dist/ui-kit.css",
|
|
15
|
-
"./root.css": "./dist/root.css",
|
|
16
|
-
"./styles/utils": "./dist/styles/utils/index.scss"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"dist"
|
|
20
|
-
],
|
|
21
|
-
"sideEffects": false,
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build:base": "vite build",
|
|
24
|
-
"build:root": "vite build --config vite.config.root.ts",
|
|
25
|
-
"build": "npm run build:base && npm run build:root",
|
|
26
|
-
"dev": "vite",
|
|
27
|
-
"type-check": "tsc --noEmit",
|
|
28
|
-
"check": "npx @biomejs/biome check",
|
|
29
|
-
"format": "npx @biomejs/biome format --write",
|
|
30
|
-
"lint": "npx @biomejs/biome lint --write",
|
|
31
|
-
"test": "jest",
|
|
32
|
-
"storybook": "storybook dev -p 6006",
|
|
33
|
-
"storybook:build": "storybook build"
|
|
34
|
-
},
|
|
35
|
-
"peerDependencies": {
|
|
36
|
-
"@emotion/css": "^11.13.5",
|
|
37
|
-
"framer-motion": "^12.23.22",
|
|
38
|
-
"react": ">=18.0.0 <20.0.0",
|
|
39
|
-
"react-dom": ">=18.0.0 <20.0.0"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@tanstack/react-virtual": "^3.13.12",
|
|
43
|
-
"classnames": "^2.5.1"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@biomejs/biome": "2.2.7",
|
|
47
|
-
"@storybook/addon-docs": "^9.0.14",
|
|
48
|
-
"@storybook/react-vite": "^9.0.14",
|
|
49
|
-
"@testing-library/react": "^16.0.0",
|
|
50
|
-
"@types/jest": "^29.5.12",
|
|
51
|
-
"@types/node": "^22.3.0",
|
|
52
|
-
"@types/react": "^18.3.3",
|
|
53
|
-
"@types/react-dom": "^18.3.3",
|
|
54
|
-
"@vitejs/plugin-react": "^4.6.0",
|
|
55
|
-
"globals": "^15.9.0",
|
|
56
|
-
"jest": "^29.7.0",
|
|
57
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
58
|
-
"jest-transform-stub": "^2.0.0",
|
|
59
|
-
"sass": "^1.77.8",
|
|
60
|
-
"storybook": "^9.0.14",
|
|
61
|
-
"ts-jest": "^29.2.5",
|
|
62
|
-
"ts-node": "^10.9.2",
|
|
63
|
-
"typescript": "^5.5.3",
|
|
64
|
-
"vite": "^7.0.0",
|
|
65
|
-
"vite-plugin-dts": "^4.5.4",
|
|
66
|
-
"vite-plugin-static-copy": "^3.1.0",
|
|
67
|
-
"vite-plugin-svgr": "^4.2.0"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dss-kit/ui-kit",
|
|
3
|
+
"version": "0.1.13",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/ui-kit.cjs.js",
|
|
6
|
+
"module": "./dist/ui-kit.es.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/ui-kit.es.js",
|
|
11
|
+
"require": "./dist/ui-kit.cjs.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./ui-kit.css": "./dist/ui-kit.css",
|
|
15
|
+
"./root.css": "./dist/root.css",
|
|
16
|
+
"./styles/utils": "./dist/styles/utils/index.scss"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build:base": "vite build",
|
|
24
|
+
"build:root": "vite build --config vite.config.root.ts",
|
|
25
|
+
"build": "npm run build:base && npm run build:root",
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"type-check": "tsc --noEmit",
|
|
28
|
+
"check": "npx @biomejs/biome check",
|
|
29
|
+
"format": "npx @biomejs/biome format --write",
|
|
30
|
+
"lint": "npx @biomejs/biome lint --write",
|
|
31
|
+
"test": "jest",
|
|
32
|
+
"storybook": "storybook dev -p 6006",
|
|
33
|
+
"storybook:build": "storybook build"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@emotion/css": "^11.13.5",
|
|
37
|
+
"framer-motion": "^12.23.22",
|
|
38
|
+
"react": ">=18.0.0 <20.0.0",
|
|
39
|
+
"react-dom": ">=18.0.0 <20.0.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@tanstack/react-virtual": "^3.13.12",
|
|
43
|
+
"classnames": "^2.5.1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@biomejs/biome": "2.2.7",
|
|
47
|
+
"@storybook/addon-docs": "^9.0.14",
|
|
48
|
+
"@storybook/react-vite": "^9.0.14",
|
|
49
|
+
"@testing-library/react": "^16.0.0",
|
|
50
|
+
"@types/jest": "^29.5.12",
|
|
51
|
+
"@types/node": "^22.3.0",
|
|
52
|
+
"@types/react": "^18.3.3",
|
|
53
|
+
"@types/react-dom": "^18.3.3",
|
|
54
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
55
|
+
"globals": "^15.9.0",
|
|
56
|
+
"jest": "^29.7.0",
|
|
57
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
58
|
+
"jest-transform-stub": "^2.0.0",
|
|
59
|
+
"sass": "^1.77.8",
|
|
60
|
+
"storybook": "^9.0.14",
|
|
61
|
+
"ts-jest": "^29.2.5",
|
|
62
|
+
"ts-node": "^10.9.2",
|
|
63
|
+
"typescript": "^5.5.3",
|
|
64
|
+
"vite": "^7.0.0",
|
|
65
|
+
"vite-plugin-dts": "^4.5.4",
|
|
66
|
+
"vite-plugin-static-copy": "^3.1.0",
|
|
67
|
+
"vite-plugin-svgr": "^4.2.0"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const colorTokens: {
|
|
2
|
-
readonly fill: {
|
|
3
|
-
readonly accent: readonly ["primary", "secondary", "hover", "inverse"];
|
|
4
|
-
readonly positive: readonly ["primary", "secondary", "hover", "inverse"];
|
|
5
|
-
readonly negative: readonly ["primary", "secondary", "hover", "inverse"];
|
|
6
|
-
readonly warning: readonly ["primary", "secondary", "hover", "inverse"];
|
|
7
|
-
readonly neutral: readonly ["primary", "secondary", "hover", "inverse"];
|
|
8
|
-
};
|
|
9
|
-
readonly "fill-bg": {
|
|
10
|
-
readonly bg: readonly ["primary", "primary-inverse", "secondary", "secondary-inverse", "tertiary", "tertiary-inverse", "tint", "tint-low", "elevation-primary", "elevation-secondary", "elevation-tertiary"];
|
|
11
|
-
};
|
|
12
|
-
readonly border: {
|
|
13
|
-
readonly accent: readonly ["primary", "secondary", "hover", "inverse"];
|
|
14
|
-
readonly positive: readonly ["primary", "secondary", "hover", "inverse"];
|
|
15
|
-
readonly negative: readonly ["primary", "secondary", "hover", "inverse"];
|
|
16
|
-
readonly warning: readonly ["primary", "secondary", "hover", "inverse"];
|
|
17
|
-
readonly neutral: readonly ["primary", "secondary", "hover", "inverse"];
|
|
18
|
-
};
|
|
19
|
-
readonly text: {
|
|
20
|
-
readonly primary: readonly [];
|
|
21
|
-
readonly secondary: readonly [];
|
|
22
|
-
readonly tertiary: readonly [];
|
|
23
|
-
readonly inverse: readonly [];
|
|
24
|
-
readonly positive: readonly [];
|
|
25
|
-
readonly negative: readonly [];
|
|
26
|
-
readonly warning: readonly [];
|
|
27
|
-
};
|
|
28
|
-
readonly icon: {
|
|
29
|
-
readonly primary: readonly [];
|
|
30
|
-
readonly secondary: readonly [];
|
|
31
|
-
readonly tertiary: readonly [];
|
|
32
|
-
readonly inverse: readonly [];
|
|
33
|
-
readonly positive: readonly [];
|
|
34
|
-
readonly negative: readonly [];
|
|
35
|
-
readonly warning: readonly [];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type TokenMap = typeof colorTokens;
|
|
39
|
-
export type TokenForRole<R extends keyof TokenMap> = {
|
|
40
|
-
[P in keyof TokenMap[R]]: TokenMap[R][P] extends readonly string[] ? TokenMap[R][P] extends [] ? `${Extract<P, string>}` : `${Extract<P, string>}-${TokenMap[R][P][number]}` : never;
|
|
41
|
-
}[keyof TokenMap[R]];
|
|
42
|
-
export {};
|
|
43
|
-
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../src/components/builders/Box/type.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDP,CAAC;AAEX,KAAK,QAAQ,GAAG,OAAO,WAAW,CAAC;AAEnC,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,QAAQ,IAAI;KAClD,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,GAC9D,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,GACvB,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,GACvB,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,GACnD,KAAK;CACV,CAAC,MAAM,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC"}
|