@hopper-ui/styled-system 2.5.6 → 2.5.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.
@@ -1,98 +0,0 @@
1
- // package.json
2
- var package_default = {
3
- name: "@hopper-ui/styled-system",
4
- author: "Workleap",
5
- version: "2.5.6",
6
- description: "The styled-system package.",
7
- license: "Apache-2.0",
8
- repository: {
9
- type: "git",
10
- url: "git+https://github.com/workleap/wl-hopper.git",
11
- directory: "packages/styled-system"
12
- },
13
- publishConfig: {
14
- access: "public",
15
- provenance: true
16
- },
17
- type: "module",
18
- sideEffects: [
19
- "*.css"
20
- ],
21
- main: "dist/index.js",
22
- types: "dist/index.d.ts",
23
- style: "dist/index.css",
24
- exports: {
25
- ".": {
26
- import: "./dist/index.js",
27
- types: "./dist/index.d.ts",
28
- default: "./dist/index.js"
29
- },
30
- "./index.css": "./dist/index.css"
31
- },
32
- files: [
33
- "/dist",
34
- "CHANGELOG.md",
35
- "README.md"
36
- ],
37
- scripts: {
38
- dev: "tsup --config ./tsup.dev.ts",
39
- build: "tsup --config ./tsup.build.ts",
40
- eslint: "eslint . --max-warnings=0 --cache --cache-location node_modules/.cache/eslint",
41
- stylelint: 'stylelint "**/*.css" --allow-empty-input --config ../../.stylelintrc.js --cache --cache-location node_modules/.cache/stylelint --max-warnings=0',
42
- typecheck: "tsc",
43
- test: "jest"
44
- },
45
- peerDependencies: {
46
- react: "^18 || ^19",
47
- "react-dom": "^18 || ^19"
48
- },
49
- dependencies: {
50
- "@react-aria/ssr": "^3.9.7",
51
- clsx: "^2.1.1"
52
- },
53
- devDependencies: {
54
- "@hopper-ui/tokens": "workspace:*",
55
- "@swc/core": "1.10.0",
56
- "@swc/helpers": "0.5.15",
57
- "@swc/jest": "0.2.37",
58
- "@testing-library/dom": "10.4.0",
59
- "@testing-library/jest-dom": "6.6.3",
60
- "@testing-library/react": "16.0.1",
61
- "@types/eslint": "8.56.12",
62
- "@types/jest": "29.5.14",
63
- "@types/react": "18.3.13",
64
- "@types/react-dom": "18.3.1",
65
- "@types/react-test-renderer": "18.3.0",
66
- "@workleap/eslint-plugin": "3.2.3",
67
- "@workleap/swc-configs": "2.2.3",
68
- "@workleap/tsup-configs": "3.0.6",
69
- "@workleap/typescript-configs": "3.0.2",
70
- eslint: "8.57.1",
71
- "identity-obj-proxy": "3.0.0",
72
- jest: "29.7.0",
73
- "jest-environment-jsdom": "29.7.0",
74
- "jest-fail-on-console": "3.3.1",
75
- postcss: "8.4.49",
76
- "postcss-modules": "6.0.1",
77
- react: "18.3.1",
78
- "react-dom": "18.3.1",
79
- "react-test-renderer": "18.3.1",
80
- "ts-jest": "29.2.5",
81
- tsup: "8.3.5",
82
- typescript: "5.5.4"
83
- }
84
- };
85
-
86
- // src/styledSystemRootCssClass.ts
87
- var HopperRootCssClass = "hop";
88
- var StyledSystemRootCssClass = `${HopperRootCssClass}-${package_default.version.replaceAll(".", "-")}`;
89
- function getRootCSSClasses(colorScheme) {
90
- return [
91
- HopperRootCssClass,
92
- `${HopperRootCssClass}-${colorScheme}`,
93
- StyledSystemRootCssClass,
94
- `${StyledSystemRootCssClass}-${colorScheme}`
95
- ].join(" ");
96
- }
97
-
98
- export { HopperRootCssClass, StyledSystemRootCssClass, getRootCSSClasses };
@@ -1,9 +0,0 @@
1
- /* src/styledSystemRootCssClass.css */
2
- .hop {
3
- font-family: var(--hop-body-md-font-family);
4
- font-size: var(--hop-body-md-font-size);
5
- font-weight: var(--hop-body-md-font-weight);
6
- -webkit-font-smoothing: antialiased;
7
- line-height: var(--hop-body-md-line-height);
8
- color: var(--hop-neutral-text);
9
- }
@@ -1,9 +0,0 @@
1
- /* src/styledSystemRootCssClass.css */
2
- .hop {
3
- font-family: var(--hop-body-md-font-family);
4
- font-size: var(--hop-body-md-font-size);
5
- font-weight: var(--hop-body-md-font-weight);
6
- -webkit-font-smoothing: antialiased;
7
- line-height: var(--hop-body-md-line-height);
8
- color: var(--hop-neutral-text);
9
- }
@@ -1,9 +0,0 @@
1
- /* src/styledSystemRootCssClass.css */
2
- .hop {
3
- font-family: var(--hop-body-md-font-family);
4
- font-size: var(--hop-body-md-font-size);
5
- font-weight: var(--hop-body-md-font-weight);
6
- -webkit-font-smoothing: antialiased;
7
- line-height: var(--hop-body-md-line-height);
8
- color: var(--hop-neutral-text);
9
- }