@nycplanning/streetscape 0.19.2-0 → 0.21.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.
Files changed (53) hide show
  1. package/dist/StreetscapeProvider.d.ts +0 -1
  2. package/dist/components/Accordion/Accordion.d.ts +4 -4
  3. package/dist/components/Button/ButtonGroup.d.ts +1 -1
  4. package/dist/components/Button/IconButton.d.ts +1 -1
  5. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  6. package/dist/components/CloseButton/CloseButton.d.ts +1 -1
  7. package/dist/components/Combobox/Combobox.d.ts +29 -0
  8. package/dist/components/Combobox/index.d.ts +2 -0
  9. package/dist/components/Drawer/Drawer.d.ts +6 -6
  10. package/dist/components/FormControl/FormControl.d.ts +1 -1
  11. package/dist/components/FormControl/FormErrorMessage.d.ts +1 -1
  12. package/dist/components/FormControl/FormLabel.d.ts +1 -1
  13. package/dist/components/Icon/MapPinIcon.d.ts +2 -0
  14. package/dist/components/Icon/index.d.ts +1 -0
  15. package/dist/components/Input/Input.d.ts +1 -1
  16. package/dist/components/Modal/Modal.d.ts +6 -6
  17. package/dist/components/NumberInput/Number-Decrement-Stepper.d.ts +1 -1
  18. package/dist/components/NumberInput/Number-Increment-Stepper.d.ts +1 -1
  19. package/dist/components/NumberInput/Number-Input-Field.d.ts +1 -1
  20. package/dist/components/NumberInput/Number-Input-Stepper.d.ts +1 -1
  21. package/dist/components/NumberInput/Number-Input.d.ts +1 -1
  22. package/dist/components/Popover/Popover.d.ts +21 -0
  23. package/dist/components/Popover/index.d.ts +2 -0
  24. package/dist/components/Skeleton/Skeleton.d.ts +1 -1
  25. package/dist/components/Slider/Slider.d.ts +16 -0
  26. package/dist/components/Slider/index.d.ts +2 -0
  27. package/dist/components/Switch/Switch.d.ts +1 -1
  28. package/dist/components/Table/Table.d.ts +9 -9
  29. package/dist/components/Tabs/Tabs.d.ts +5 -5
  30. package/dist/components/Tag/Tag.d.ts +5 -5
  31. package/dist/components/Toast/index.d.ts +2 -0
  32. package/dist/components/index.d.ts +4 -0
  33. package/dist/index.js +1397 -2326
  34. package/dist/index.js.map +1 -1
  35. package/dist/theme/components/alert.d.ts +75 -0
  36. package/dist/theme/components/card.d.ts +1 -1
  37. package/dist/theme/components/close-button.d.ts +1 -1
  38. package/dist/theme/components/combobox.d.ts +113 -0
  39. package/dist/theme/components/form-control.d.ts +2 -2
  40. package/dist/theme/components/form-error.d.ts +2 -2
  41. package/dist/theme/components/index.d.ts +342 -23
  42. package/dist/theme/components/popover.d.ts +83 -0
  43. package/dist/theme/components/slider.d.ts +53 -0
  44. package/dist/theme/components/switch.d.ts +24 -6
  45. package/dist/theme/components/tabs.d.ts +54 -7
  46. package/dist/theme/components/tag.d.ts +2 -2
  47. package/dist/theme/semantic-tokens/colors.d.ts +1 -0
  48. package/dist/theme/semantic-tokens/index.d.ts +1 -0
  49. package/dist/theme/tokens/colors.d.ts +1 -0
  50. package/dist/theme/tokens/font-sizes.d.ts +1 -0
  51. package/dist/theme/tokens/index.d.ts +3 -0
  52. package/dist/theme/tokens/radii.d.ts +1 -0
  53. package/package.json +16 -11
@@ -1,5 +1,5 @@
1
1
  export declare const tabsTheme: {
2
- baseStyle?: ((props: import('@chakra-ui/styled-system').StyleFunctionProps) => {
2
+ baseStyle?: ((props: import('@chakra-ui/system').StyleFunctionProps) => {
3
3
  root: {
4
4
  display: string;
5
5
  alignItems: string;
@@ -13,7 +13,6 @@ export declare const tabsTheme: {
13
13
  paddingY: number;
14
14
  background: string;
15
15
  textAlign: string;
16
- fontFamily: string;
17
16
  fontWeight: number;
18
17
  fontSize: string;
19
18
  _focusVisible: {
@@ -42,16 +41,64 @@ export declare const tabsTheme: {
42
41
  };
43
42
  }) | undefined;
44
43
  sizes?: {
45
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
46
- keys: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
47
- }>;
44
+ md: {
45
+ tab: {
46
+ fontSize: string;
47
+ };
48
+ };
49
+ sm: {
50
+ tab: {
51
+ fontSize: string;
52
+ };
53
+ };
48
54
  } | undefined;
49
55
  variants?: {
50
56
  base: {};
57
+ mapControl: {
58
+ root: {
59
+ boxShadow: string;
60
+ borderRadius: string;
61
+ backgroundColor: string;
62
+ };
63
+ tablist: {
64
+ boxShadow: string;
65
+ };
66
+ tab: {
67
+ borderRadius: number;
68
+ boxShadow: number;
69
+ color: string;
70
+ px: number;
71
+ py: number;
72
+ fontWeight: number;
73
+ borderRight: string;
74
+ borderRightColor: string;
75
+ _first: {
76
+ borderLeftRadius: string;
77
+ };
78
+ _last: {
79
+ borderRight: string;
80
+ borderRadius: string;
81
+ _selected: {
82
+ border: string;
83
+ };
84
+ };
85
+ "button:has(+ &[aria-selected='true'])": {
86
+ borderRight: number;
87
+ };
88
+ _selected: {
89
+ paddingTop: number;
90
+ color: string;
91
+ backgroundColor: string;
92
+ border: string;
93
+ borderRadius: string;
94
+ fontWeight: number;
95
+ };
96
+ };
97
+ };
51
98
  } | undefined;
52
99
  defaultProps?: {
53
- size?: string | number | undefined;
54
- variant?: "base" | undefined;
100
+ size?: "sm" | "md" | undefined;
101
+ variant?: "base" | "mapControl" | undefined;
55
102
  colorScheme?: string | undefined;
56
103
  } | undefined;
57
104
  parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
@@ -46,12 +46,12 @@ export declare const tagTheme: {
46
46
  } | undefined;
47
47
  } | undefined;
48
48
  sizes?: {
49
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
49
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
50
50
  keys: ("container" | "label" | "closeButton")[];
51
51
  }>;
52
52
  } | undefined;
53
53
  variants?: {
54
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
54
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
55
55
  keys: ("container" | "label" | "closeButton")[];
56
56
  }>;
57
57
  } | undefined;
@@ -1,5 +1,6 @@
1
1
  export declare const colors: {
2
2
  "primary.50": string;
3
+ "primary.100": string;
3
4
  "primary.500": string;
4
5
  "primary.600": string;
5
6
  "primary.700": string;
@@ -1,6 +1,7 @@
1
1
  export declare const semanticTokens: {
2
2
  colors: {
3
3
  "primary.50": string;
4
+ "primary.100": string;
4
5
  "primary.500": string;
5
6
  "primary.600": string;
6
7
  "primary.700": string;
@@ -15,6 +15,7 @@ export declare const colors: {
15
15
  };
16
16
  teal: {
17
17
  50: string;
18
+ 100: string;
18
19
  500: string;
19
20
  600: string;
20
21
  700: string;
@@ -1,4 +1,5 @@
1
1
  export declare const fontSizes: {
2
+ "2xs": string;
2
3
  xs: string;
3
4
  sm: string;
4
5
  md: string;
@@ -26,6 +26,7 @@ export declare const tokens: {
26
26
  };
27
27
  teal: {
28
28
  50: string;
29
+ 100: string;
29
30
  500: string;
30
31
  600: string;
31
32
  700: string;
@@ -56,6 +57,7 @@ export declare const tokens: {
56
57
  };
57
58
  };
58
59
  fontSizes: {
60
+ "2xs": string;
59
61
  xs: string;
60
62
  sm: string;
61
63
  md: string;
@@ -84,6 +86,7 @@ export declare const tokens: {
84
86
  base: string;
85
87
  sm: string;
86
88
  md: string;
89
+ lg: string;
87
90
  full: string;
88
91
  };
89
92
  shadows: {
@@ -3,5 +3,6 @@ export declare const radii: {
3
3
  base: string;
4
4
  sm: string;
5
5
  md: string;
6
+ lg: string;
6
7
  full: string;
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nycplanning/streetscape",
3
- "version": "0.19.2-0",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index.d.ts",
@@ -22,14 +22,16 @@
22
22
  "prepare": "husky install"
23
23
  },
24
24
  "dependencies": {
25
+ "@ark-ui/react": "^5.31.0",
25
26
  "@chakra-ui/cli": "^2.4.1",
26
- "@chakra-ui/icons": "^2.1.1",
27
+ "@chakra-ui/icons": "^2.2.4",
27
28
  "@chakra-ui/layout": "^2.3.1",
28
29
  "@chakra-ui/media-query": "^3.3.0",
29
30
  "@chakra-ui/react": "^2.8.1",
30
- "@chakra-ui/theme-tools": "^2.1.1",
31
- "@emotion/react": "^11.11.1",
32
- "@emotion/styled": "^11.11.0",
31
+ "@chakra-ui/styled-system": "^2.12.0",
32
+ "@chakra-ui/theme-tools": "^2.2.6",
33
+ "@emotion/react": "^11.14.0",
34
+ "@emotion/styled": "^11.14.1",
33
35
  "framer-motion": "^10.16.4",
34
36
  "react": "^18.2.0",
35
37
  "react-dom": "^18.2.0"
@@ -57,22 +59,22 @@
57
59
  "@typescript-eslint/eslint-plugin": "^6.7.0",
58
60
  "@typescript-eslint/parser": "^6.7.0",
59
61
  "@vitejs/plugin-react": "^4.0.3",
60
- "commitizen": "^4.3.0",
62
+ "commitizen": "^4.3.1",
61
63
  "concurrently": "^8.2.1",
62
64
  "eslint": "^8.49.0",
63
65
  "eslint-config-prettier": "^9.0.0",
64
- "eslint-plugin-prettier": "^5.0.0",
65
- "eslint-plugin-react": "^7.33.2",
66
+ "eslint-plugin-prettier": "^5.5.4",
67
+ "eslint-plugin-react": "^7.37.5",
66
68
  "eslint-plugin-react-hooks": "^4.6.0",
67
69
  "eslint-plugin-storybook": "^0.6.13",
68
70
  "husky": "^8.0.3",
69
71
  "inquirer": "^8.2.6",
70
72
  "lint-staged": "^14.0.1",
71
- "prettier": "3.0.3",
73
+ "prettier": "^3.6.2",
72
74
  "storybook": "7.6.20",
73
- "typescript": "^5.0.2",
75
+ "typescript": "^5.9.3",
74
76
  "vite": "^4.5.3",
75
- "vite-plugin-dts": "^4.0.0",
77
+ "vite-plugin-dts": "^4.5.4",
76
78
  "vite-plugin-externalize-deps": "^0.7.0"
77
79
  },
78
80
  "lint-staged": {
@@ -85,5 +87,8 @@
85
87
  "commitizen": {
86
88
  "path": "@commitlint/cz-commitlint"
87
89
  }
90
+ },
91
+ "engines": {
92
+ "node": "20.x"
88
93
  }
89
94
  }