@nycplanning/streetscape 0.15.1 → 0.16.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.
@@ -923,6 +923,64 @@ export declare const components: {
923
923
  } | undefined;
924
924
  parts: ("table" | "caption" | "tbody" | "td" | "tfoot" | "th" | "thead" | "tr")[];
925
925
  };
926
+ Tabs: {
927
+ baseStyle?: ((props: import('@chakra-ui/styled-system').StyleFunctionProps) => {
928
+ root: {
929
+ display: string;
930
+ alignItems: string;
931
+ alignSelf: string;
932
+ };
933
+ tab: {
934
+ flex: number | undefined;
935
+ transitionProperty: string;
936
+ transitionDuration: string;
937
+ paddingX: number;
938
+ paddingY: number;
939
+ background: string;
940
+ textAlign: string;
941
+ fontFamily: string;
942
+ fontWeight: number;
943
+ fontSize: string;
944
+ _focusVisible: {
945
+ zIndex: number;
946
+ boxShadow: string;
947
+ };
948
+ _disabled: {
949
+ cursor: string;
950
+ opacity: number;
951
+ };
952
+ _selected: {
953
+ color: string;
954
+ fontWeight: number;
955
+ borderColor: string;
956
+ borderBottom: string;
957
+ paddingTop: number;
958
+ };
959
+ };
960
+ tablist: {
961
+ justifyContent: string;
962
+ flexDirection: string;
963
+ boxShadow: string;
964
+ };
965
+ tabpanel: {
966
+ p: number;
967
+ };
968
+ }) | undefined;
969
+ sizes?: {
970
+ [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
971
+ keys: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
972
+ }>;
973
+ } | undefined;
974
+ variants?: {
975
+ base: {};
976
+ } | undefined;
977
+ defaultProps?: {
978
+ size?: string | number | undefined;
979
+ variant?: "base" | undefined;
980
+ colorScheme?: string | undefined;
981
+ } | undefined;
982
+ parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
983
+ };
926
984
  Modal: {
927
985
  baseStyle?: ((props: import('@chakra-ui/styled-system').StyleFunctionProps) => {
928
986
  overlay: {
@@ -1044,4 +1102,60 @@ export declare const components: {
1044
1102
  } | undefined;
1045
1103
  parts: ("overlay" | "body" | "dialog" | "footer" | "header" | "dialogContainer" | "closeButton")[];
1046
1104
  };
1105
+ Skeleton: {
1106
+ baseStyle?: {
1107
+ [x: string]: string | number | {
1108
+ [x: string]: string;
1109
+ };
1110
+ _dark: {
1111
+ [x: string]: string;
1112
+ };
1113
+ background: string;
1114
+ borderColor: string;
1115
+ opacity: number;
1116
+ borderRadius: string;
1117
+ } | undefined;
1118
+ sizes?: {
1119
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
1120
+ } | undefined;
1121
+ variants?: {
1122
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
1123
+ } | undefined;
1124
+ defaultProps?: {
1125
+ size?: string | number | undefined;
1126
+ variant?: string | number | undefined;
1127
+ colorScheme?: string | undefined;
1128
+ } | undefined;
1129
+ };
1130
+ Tooltip: {
1131
+ baseStyle?: {
1132
+ [x: string]: string | {
1133
+ [x: string]: string;
1134
+ };
1135
+ bg: string;
1136
+ color: string;
1137
+ _dark: {
1138
+ [x: string]: string;
1139
+ };
1140
+ px: string;
1141
+ py: string;
1142
+ borderRadius: string;
1143
+ fontWeight: string;
1144
+ fontSize: string;
1145
+ boxShadow: string;
1146
+ maxW: string;
1147
+ zIndex: string;
1148
+ } | undefined;
1149
+ sizes?: {
1150
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
1151
+ } | undefined;
1152
+ variants?: {
1153
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
1154
+ } | undefined;
1155
+ defaultProps?: {
1156
+ size?: string | number | undefined;
1157
+ variant?: string | number | undefined;
1158
+ colorScheme?: string | undefined;
1159
+ } | undefined;
1160
+ };
1047
1161
  };
@@ -0,0 +1,25 @@
1
+ export declare const skeletonTheme: {
2
+ baseStyle?: {
3
+ [x: string]: string | number | {
4
+ [x: string]: string;
5
+ };
6
+ _dark: {
7
+ [x: string]: string;
8
+ };
9
+ background: string;
10
+ borderColor: string;
11
+ opacity: number;
12
+ borderRadius: string;
13
+ } | undefined;
14
+ sizes?: {
15
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
16
+ } | undefined;
17
+ variants?: {
18
+ [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
19
+ } | undefined;
20
+ defaultProps?: {
21
+ size?: string | number | undefined;
22
+ variant?: string | number | undefined;
23
+ colorScheme?: string | undefined;
24
+ } | undefined;
25
+ };
@@ -0,0 +1,58 @@
1
+ export declare const tabsTheme: {
2
+ baseStyle?: ((props: import('@chakra-ui/styled-system').StyleFunctionProps) => {
3
+ root: {
4
+ display: string;
5
+ alignItems: string;
6
+ alignSelf: string;
7
+ };
8
+ tab: {
9
+ flex: number | undefined;
10
+ transitionProperty: string;
11
+ transitionDuration: string;
12
+ paddingX: number;
13
+ paddingY: number;
14
+ background: string;
15
+ textAlign: string;
16
+ fontFamily: string;
17
+ fontWeight: number;
18
+ fontSize: string;
19
+ _focusVisible: {
20
+ zIndex: number;
21
+ boxShadow: string;
22
+ };
23
+ _disabled: {
24
+ cursor: string;
25
+ opacity: number;
26
+ };
27
+ _selected: {
28
+ color: string;
29
+ fontWeight: number;
30
+ borderColor: string;
31
+ borderBottom: string;
32
+ paddingTop: number;
33
+ };
34
+ };
35
+ tablist: {
36
+ justifyContent: string;
37
+ flexDirection: string;
38
+ boxShadow: string;
39
+ };
40
+ tabpanel: {
41
+ p: number;
42
+ };
43
+ }) | undefined;
44
+ sizes?: {
45
+ [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
46
+ keys: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
47
+ }>;
48
+ } | undefined;
49
+ variants?: {
50
+ base: {};
51
+ } | undefined;
52
+ defaultProps?: {
53
+ size?: string | number | undefined;
54
+ variant?: "base" | undefined;
55
+ colorScheme?: string | undefined;
56
+ } | undefined;
57
+ parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
58
+ };
@@ -0,0 +1,2 @@
1
+ import { tooltipTheme } from '@chakra-ui/theme/components/tooltip';
2
+ export { tooltipTheme };
@@ -82,6 +82,7 @@ export declare const tokens: {
82
82
  radii: {
83
83
  none: string;
84
84
  base: string;
85
+ sm: string;
85
86
  md: string;
86
87
  full: string;
87
88
  };
@@ -1,6 +1,7 @@
1
1
  export declare const radii: {
2
2
  none: string;
3
3
  base: string;
4
+ sm: string;
4
5
  md: string;
5
6
  full: string;
6
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nycplanning/streetscape",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index.d.ts",