@nycplanning/streetscape 0.19.2-0 → 0.20.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.
- package/dist/index.js +665 -614
- package/dist/index.js.map +1 -1
- package/dist/theme/components/card.d.ts +1 -1
- package/dist/theme/components/index.d.ts +50 -6
- package/dist/theme/components/tabs.d.ts +49 -5
- package/dist/theme/tokens/index.d.ts +1 -0
- package/dist/theme/tokens/radii.d.ts +1 -0
- package/package.json +14 -11
|
@@ -241,7 +241,7 @@ export declare const components: {
|
|
|
241
241
|
variants?: {
|
|
242
242
|
calm: {
|
|
243
243
|
container: {
|
|
244
|
-
padding:
|
|
244
|
+
padding: number;
|
|
245
245
|
borderRadius: string;
|
|
246
246
|
backgroundColor: string;
|
|
247
247
|
};
|
|
@@ -1062,16 +1062,60 @@ export declare const components: {
|
|
|
1062
1062
|
};
|
|
1063
1063
|
}) | undefined;
|
|
1064
1064
|
sizes?: {
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1065
|
+
md: {
|
|
1066
|
+
tab: {
|
|
1067
|
+
fontSize: string;
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
sm: {
|
|
1071
|
+
tab: {
|
|
1072
|
+
fontSize: string;
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1068
1075
|
} | undefined;
|
|
1069
1076
|
variants?: {
|
|
1070
1077
|
base: {};
|
|
1078
|
+
mapControl: {
|
|
1079
|
+
root: {
|
|
1080
|
+
boxShadow: string;
|
|
1081
|
+
borderRadius: string;
|
|
1082
|
+
};
|
|
1083
|
+
tab: {
|
|
1084
|
+
borderRadius: number;
|
|
1085
|
+
boxShadow: number;
|
|
1086
|
+
color: string;
|
|
1087
|
+
px: number;
|
|
1088
|
+
py: number;
|
|
1089
|
+
fontWeight: number;
|
|
1090
|
+
borderRight: string;
|
|
1091
|
+
borderRightColor: string;
|
|
1092
|
+
_first: {
|
|
1093
|
+
borderLeftRadius: string;
|
|
1094
|
+
};
|
|
1095
|
+
_last: {
|
|
1096
|
+
borderRight: string;
|
|
1097
|
+
borderRadius: string;
|
|
1098
|
+
_selected: {
|
|
1099
|
+
border: string;
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
"button:has(+ &[aria-selected='true'])": {
|
|
1103
|
+
borderRight: number;
|
|
1104
|
+
};
|
|
1105
|
+
_selected: {
|
|
1106
|
+
paddingTop: number;
|
|
1107
|
+
color: string;
|
|
1108
|
+
backgroundColor: string;
|
|
1109
|
+
border: string;
|
|
1110
|
+
borderRadius: string;
|
|
1111
|
+
fontWeight: number;
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1071
1115
|
} | undefined;
|
|
1072
1116
|
defaultProps?: {
|
|
1073
|
-
size?:
|
|
1074
|
-
variant?: "base" | undefined;
|
|
1117
|
+
size?: "sm" | "md" | undefined;
|
|
1118
|
+
variant?: "base" | "mapControl" | undefined;
|
|
1075
1119
|
colorScheme?: string | undefined;
|
|
1076
1120
|
} | undefined;
|
|
1077
1121
|
parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
|
|
@@ -42,16 +42,60 @@ export declare const tabsTheme: {
|
|
|
42
42
|
};
|
|
43
43
|
}) | undefined;
|
|
44
44
|
sizes?: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
md: {
|
|
46
|
+
tab: {
|
|
47
|
+
fontSize: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
sm: {
|
|
51
|
+
tab: {
|
|
52
|
+
fontSize: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
48
55
|
} | undefined;
|
|
49
56
|
variants?: {
|
|
50
57
|
base: {};
|
|
58
|
+
mapControl: {
|
|
59
|
+
root: {
|
|
60
|
+
boxShadow: string;
|
|
61
|
+
borderRadius: string;
|
|
62
|
+
};
|
|
63
|
+
tab: {
|
|
64
|
+
borderRadius: number;
|
|
65
|
+
boxShadow: number;
|
|
66
|
+
color: string;
|
|
67
|
+
px: number;
|
|
68
|
+
py: number;
|
|
69
|
+
fontWeight: number;
|
|
70
|
+
borderRight: string;
|
|
71
|
+
borderRightColor: string;
|
|
72
|
+
_first: {
|
|
73
|
+
borderLeftRadius: string;
|
|
74
|
+
};
|
|
75
|
+
_last: {
|
|
76
|
+
borderRight: string;
|
|
77
|
+
borderRadius: string;
|
|
78
|
+
_selected: {
|
|
79
|
+
border: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
"button:has(+ &[aria-selected='true'])": {
|
|
83
|
+
borderRight: number;
|
|
84
|
+
};
|
|
85
|
+
_selected: {
|
|
86
|
+
paddingTop: number;
|
|
87
|
+
color: string;
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
border: string;
|
|
90
|
+
borderRadius: string;
|
|
91
|
+
fontWeight: number;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
51
95
|
} | undefined;
|
|
52
96
|
defaultProps?: {
|
|
53
|
-
size?:
|
|
54
|
-
variant?: "base" | undefined;
|
|
97
|
+
size?: "sm" | "md" | undefined;
|
|
98
|
+
variant?: "base" | "mapControl" | undefined;
|
|
55
99
|
colorScheme?: string | undefined;
|
|
56
100
|
} | undefined;
|
|
57
101
|
parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nycplanning/streetscape",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@chakra-ui/cli": "^2.4.1",
|
|
26
|
-
"@chakra-ui/icons": "^2.
|
|
26
|
+
"@chakra-ui/icons": "^2.2.4",
|
|
27
27
|
"@chakra-ui/layout": "^2.3.1",
|
|
28
28
|
"@chakra-ui/media-query": "^3.3.0",
|
|
29
29
|
"@chakra-ui/react": "^2.8.1",
|
|
30
|
-
"@chakra-ui/theme-tools": "^2.
|
|
31
|
-
"@emotion/react": "^11.
|
|
32
|
-
"@emotion/styled": "^11.
|
|
30
|
+
"@chakra-ui/theme-tools": "^2.2.6",
|
|
31
|
+
"@emotion/react": "^11.14.0",
|
|
32
|
+
"@emotion/styled": "^11.14.1",
|
|
33
33
|
"framer-motion": "^10.16.4",
|
|
34
34
|
"react": "^18.2.0",
|
|
35
35
|
"react-dom": "^18.2.0"
|
|
@@ -57,22 +57,22 @@
|
|
|
57
57
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
58
58
|
"@typescript-eslint/parser": "^6.7.0",
|
|
59
59
|
"@vitejs/plugin-react": "^4.0.3",
|
|
60
|
-
"commitizen": "^4.3.
|
|
60
|
+
"commitizen": "^4.3.1",
|
|
61
61
|
"concurrently": "^8.2.1",
|
|
62
62
|
"eslint": "^8.49.0",
|
|
63
63
|
"eslint-config-prettier": "^9.0.0",
|
|
64
|
-
"eslint-plugin-prettier": "^5.
|
|
65
|
-
"eslint-plugin-react": "^7.
|
|
64
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
65
|
+
"eslint-plugin-react": "^7.37.5",
|
|
66
66
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
67
|
"eslint-plugin-storybook": "^0.6.13",
|
|
68
68
|
"husky": "^8.0.3",
|
|
69
69
|
"inquirer": "^8.2.6",
|
|
70
70
|
"lint-staged": "^14.0.1",
|
|
71
|
-
"prettier": "3.
|
|
71
|
+
"prettier": "^3.6.2",
|
|
72
72
|
"storybook": "7.6.20",
|
|
73
|
-
"typescript": "^5.
|
|
73
|
+
"typescript": "^5.9.3",
|
|
74
74
|
"vite": "^4.5.3",
|
|
75
|
-
"vite-plugin-dts": "^4.
|
|
75
|
+
"vite-plugin-dts": "^4.5.4",
|
|
76
76
|
"vite-plugin-externalize-deps": "^0.7.0"
|
|
77
77
|
},
|
|
78
78
|
"lint-staged": {
|
|
@@ -85,5 +85,8 @@
|
|
|
85
85
|
"commitizen": {
|
|
86
86
|
"path": "@commitlint/cz-commitlint"
|
|
87
87
|
}
|
|
88
|
+
},
|
|
89
|
+
"engines": {
|
|
90
|
+
"node": "20.x"
|
|
88
91
|
}
|
|
89
92
|
}
|