@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
@@ -0,0 +1,75 @@
1
+ export declare const alertTheme: {
2
+ baseStyle?: import('@chakra-ui/system').PartsStyleInterpolation<{
3
+ keys: ("container" | "icon" | "spinner" | "title" | "description")[];
4
+ }> | undefined;
5
+ sizes?: {
6
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
7
+ keys: ("container" | "icon" | "spinner" | "title" | "description")[];
8
+ }>;
9
+ } | undefined;
10
+ variants?: {
11
+ outline: {
12
+ container: {
13
+ border: string;
14
+ borderColor: string;
15
+ borderRadius: string;
16
+ alignItems: string;
17
+ width: string;
18
+ minWidth: string;
19
+ '&[data-status="error"]': {
20
+ borderColor: string;
21
+ };
22
+ '&[data-status="success"]': {
23
+ borderColor: string;
24
+ };
25
+ '&[data-status="loading"]': {
26
+ borderColor: string;
27
+ };
28
+ bg?: string | undefined;
29
+ px?: string | undefined;
30
+ py?: string | undefined;
31
+ };
32
+ title: {
33
+ color: string;
34
+ fontSize: string;
35
+ lineHeight: string;
36
+ fontWeight?: string | undefined;
37
+ marginEnd?: string | undefined;
38
+ };
39
+ description: {
40
+ color: string;
41
+ fontSize: string;
42
+ lineHeight: string;
43
+ };
44
+ icon: {
45
+ color: string;
46
+ marginTop: number;
47
+ height: number;
48
+ width: number;
49
+ '&[data-status="error"]': {
50
+ color: string;
51
+ };
52
+ '&[data-status="success"]': {
53
+ color: string;
54
+ };
55
+ flexShrink?: number | undefined;
56
+ marginEnd?: string | undefined;
57
+ w?: string | undefined;
58
+ h?: string | undefined;
59
+ };
60
+ spinner: {
61
+ color: string;
62
+ flexShrink?: number | undefined;
63
+ marginEnd?: string | undefined;
64
+ w?: string | undefined;
65
+ h?: string | undefined;
66
+ };
67
+ };
68
+ } | undefined;
69
+ defaultProps?: {
70
+ size?: string | number | undefined;
71
+ variant?: "outline" | undefined;
72
+ colorScheme?: string | undefined;
73
+ } | undefined;
74
+ parts: ("container" | "icon" | "spinner" | "title" | "description")[];
75
+ };
@@ -40,7 +40,7 @@ export declare const cardTheme: {
40
40
  variants?: {
41
41
  calm: {
42
42
  container: {
43
- padding: string;
43
+ padding: number;
44
44
  borderRadius: string;
45
45
  backgroundColor: string;
46
46
  };
@@ -49,7 +49,7 @@ export declare const closeButtonTheme: {
49
49
  [key: string]: import('@chakra-ui/styled-system').SystemStyleInterpolation;
50
50
  } | undefined;
51
51
  defaultProps?: {
52
- size?: "sm" | "md" | "lg" | undefined;
52
+ size?: "md" | "sm" | "lg" | undefined;
53
53
  variant?: string | number | undefined;
54
54
  colorScheme?: string | undefined;
55
55
  } | undefined;
@@ -0,0 +1,113 @@
1
+ export declare const comboboxTheme: {
2
+ baseStyle?: {
3
+ root: {
4
+ borderRadius: string;
5
+ display: string;
6
+ flexDir: string;
7
+ gap: number;
8
+ };
9
+ input: {
10
+ field: {
11
+ paddingInlineStart: number;
12
+ fontFamily: string;
13
+ fontSize: string;
14
+ borderRadius: string;
15
+ outlineColor: string;
16
+ _hover: {
17
+ borderColor: string;
18
+ };
19
+ _focus: {
20
+ borderColor: string;
21
+ };
22
+ background?: string | undefined;
23
+ border?: string | undefined;
24
+ borderColor?: string | undefined;
25
+ color?: string | undefined;
26
+ py?: number | undefined;
27
+ px?: number | undefined;
28
+ width?: string | undefined;
29
+ _invalid?: {
30
+ border: string;
31
+ borderColor: string;
32
+ } | undefined;
33
+ _focusVisible?: {
34
+ border: string;
35
+ borderColor: string;
36
+ } | undefined;
37
+ _disabled?: {
38
+ border: string;
39
+ borderColor: string;
40
+ background: string;
41
+ } | undefined;
42
+ };
43
+ };
44
+ control: {
45
+ display: string;
46
+ width: string;
47
+ position: string;
48
+ isolation: string;
49
+ alignItems: string;
50
+ borderRadius: string;
51
+ };
52
+ clearTrigger: {
53
+ display: string;
54
+ width: number;
55
+ height: number;
56
+ padding: number;
57
+ justifyContent: string;
58
+ alignItems: string;
59
+ alignSelf: string;
60
+ position: string;
61
+ right: number;
62
+ zIndex: number;
63
+ };
64
+ content: {
65
+ borderRadius: string;
66
+ paddingY: number;
67
+ paddingLeft: number;
68
+ paddingRight: number;
69
+ color: string;
70
+ boxShadow: string;
71
+ };
72
+ item: {
73
+ display: string;
74
+ padding: number;
75
+ alignItems: string;
76
+ borderRadius: string;
77
+ cursor: string;
78
+ _hover: {
79
+ bgColor: string;
80
+ };
81
+ _focus: {
82
+ bgColor: string;
83
+ };
84
+ _highlighted: {
85
+ bgColor: string;
86
+ };
87
+ '&[data-state="checked"]': {
88
+ cursor: string;
89
+ color: string;
90
+ bgColor: string;
91
+ };
92
+ };
93
+ itemText: {
94
+ fontSize: string;
95
+ };
96
+ } | undefined;
97
+ sizes?: {
98
+ [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
99
+ keys: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
100
+ }>;
101
+ } | undefined;
102
+ variants?: {
103
+ [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
104
+ keys: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
105
+ }>;
106
+ } | undefined;
107
+ defaultProps?: {
108
+ size?: string | number | undefined;
109
+ variant?: string | number | undefined;
110
+ colorScheme?: string | undefined;
111
+ } | undefined;
112
+ parts: ("root" | "content" | "label" | "control" | "itemGroup" | "item" | "trigger" | "positioner" | "list" | "input" | "clearTrigger" | "itemGroupLabel" | "itemIndicator" | "itemText" | "empty")[];
113
+ };
@@ -6,12 +6,12 @@ export declare const formControlTheme: {
6
6
  };
7
7
  } | undefined;
8
8
  sizes?: {
9
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
9
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
10
10
  keys: ("container" | "requiredIndicator" | "helperText")[];
11
11
  }>;
12
12
  } | undefined;
13
13
  variants?: {
14
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
14
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
15
15
  keys: ("container" | "requiredIndicator" | "helperText")[];
16
16
  }>;
17
17
  } | undefined;
@@ -7,12 +7,12 @@ export declare const formErrorTheme: {
7
7
  };
8
8
  } | undefined;
9
9
  sizes?: {
10
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
10
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
11
11
  keys: ("icon" | "text")[];
12
12
  }>;
13
13
  } | undefined;
14
14
  variants?: {
15
- [key: string]: import('@chakra-ui/styled-system').PartsStyleInterpolation<{
15
+ [key: string]: import('@chakra-ui/system').PartsStyleInterpolation<{
16
16
  keys: ("icon" | "text")[];
17
17
  }>;
18
18
  } | undefined;