@nycplanning/streetscape 0.10.3 → 0.11.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/components/Accordion/Accordion.d.ts +16 -0
- package/dist/components/Accordion/index.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/ButtonGroup.d.ts +4 -0
- package/dist/components/Button/IconButton.d.ts +4 -0
- package/dist/components/Button/index.d.ts +6 -6
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/CloseButton/CloseButton.d.ts +4 -0
- package/dist/components/CloseButton/index.d.ts +2 -2
- package/dist/components/Drawer/Drawer.d.ts +12 -0
- package/dist/components/Drawer/index.d.ts +2 -2
- package/dist/components/FormControl/FormControl.d.ts +4 -0
- package/dist/components/FormControl/FormErrorMessage.d.ts +4 -0
- package/dist/components/FormControl/FormLabel.d.ts +4 -0
- package/dist/components/FormControl/index.d.ts +6 -6
- package/dist/components/Input/Input.d.ts +4 -0
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +28 -0
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Transitions/Transitions.d.ts +16 -0
- package/dist/components/Transitions/index.d.ts +2 -0
- package/dist/components/index.d.ts +11 -10
- package/dist/index.d.ts +5 -5
- package/dist/index.js +698 -687
- package/dist/index.js.map +1 -1
- package/dist/theme/components/accordion.d.ts +2 -2
- package/dist/theme/components/close-button.d.ts +1 -1
- package/dist/theme/components/drawer.d.ts +1 -1
- package/dist/theme/components/form-control.d.ts +2 -2
- package/dist/theme/components/form-error.d.ts +2 -2
- package/dist/theme/components/form-label.d.ts +2 -2
- package/dist/theme/components/index.d.ts +13 -13
- package/dist/theme/components/table.d.ts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/styles.d.ts +1 -1
- package/dist/theme/text-styles.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AccordionProps as ChakraAccordionProps, AccordionItemProps as ChakraAccordionItemProps, AccordionButtonProps as ChakraAccordionButtonProps, AccordionPanelProps as ChakraAccordionPanelProps, AccordionIcon as ChakraAccordionIcon, IconProps as ChakraIconProps } from '@chakra-ui/react';
|
|
2
|
+
export declare const Accordion: import('@chakra-ui/react').ComponentWithAs<"div", ChakraAccordionProps>;
|
|
3
|
+
export interface AccordionProps extends ChakraAccordionProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const AccordionItem: import('@chakra-ui/react').ComponentWithAs<"div", ChakraAccordionItemProps>;
|
|
6
|
+
export interface AccordionItemProps extends ChakraAccordionItemProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const AccordionButton: import('@chakra-ui/react').ComponentWithAs<"button", ChakraAccordionButtonProps>;
|
|
9
|
+
export interface AccordionButtonProps extends ChakraAccordionButtonProps {
|
|
10
|
+
}
|
|
11
|
+
export declare const AccordionPanel: import('@chakra-ui/react').ComponentWithAs<"div", ChakraAccordionPanelProps>;
|
|
12
|
+
export interface AccordionPanelProps extends ChakraAccordionPanelProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const AccordionIcon: typeof ChakraAccordionIcon;
|
|
15
|
+
export interface AccordionIconProps extends ChakraIconProps {
|
|
16
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Accordion, AccordionItem, AccordionButton, AccordionPanel, AccordionIcon, } from
|
|
2
|
-
export type { AccordionProps, AccordionItemProps, AccordionButtonProps, AccordionPanelProps, AccordionIconProps, } from
|
|
1
|
+
export { Accordion, AccordionItem, AccordionButton, AccordionPanel, AccordionIcon, } from './Accordion';
|
|
2
|
+
export type { AccordionProps, AccordionItemProps, AccordionButtonProps, AccordionPanelProps, AccordionIconProps, } from './Accordion';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Button } from
|
|
2
|
-
export { IconButton } from
|
|
3
|
-
export { ButtonGroup } from
|
|
4
|
-
export type { ButtonProps } from
|
|
5
|
-
export type { IconButtonProps } from
|
|
6
|
-
export type { ButtonGroupProps } from
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
export { IconButton } from './IconButton';
|
|
3
|
+
export { ButtonGroup } from './ButtonGroup';
|
|
4
|
+
export type { ButtonProps } from './Button';
|
|
5
|
+
export type { IconButtonProps } from './IconButton';
|
|
6
|
+
export type { ButtonGroupProps } from './ButtonGroup';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkbox } from
|
|
2
|
-
export type { CheckboxProps } from
|
|
1
|
+
export { Checkbox } from './Checkbox';
|
|
2
|
+
export type { CheckboxProps } from './Checkbox';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CloseButton } from
|
|
2
|
-
export type { CloseButtonProps } from
|
|
1
|
+
export { CloseButton } from './CloseButton';
|
|
2
|
+
export type { CloseButtonProps } from './CloseButton';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Drawer as ChakraDrawer, DrawerProps as ChakaDrawerProps, DrawerContentProps as ChakraDrawerContentProps } from '@chakra-ui/react';
|
|
2
|
+
export declare const Drawer: typeof ChakraDrawer;
|
|
3
|
+
export interface DrawerProps extends ChakaDrawerProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const DrawerBody: import('@chakra-ui/react').ComponentWithAs<"div", import('@chakra-ui/react').ModalBodyProps>;
|
|
6
|
+
export declare const DrawerFooter: import('@chakra-ui/react').ComponentWithAs<"footer", import('@chakra-ui/react').ModalFooterProps>;
|
|
7
|
+
export declare const DrawerHeader: import('@chakra-ui/react').ComponentWithAs<"header", import('@chakra-ui/react').ModalHeaderProps>;
|
|
8
|
+
export declare const DrawerOverlay: import('@chakra-ui/react').ComponentWithAs<"div", import('@chakra-ui/react').ModalOverlayProps>;
|
|
9
|
+
export declare const DrawerContent: import('@chakra-ui/react').ComponentWithAs<"section", ChakraDrawerContentProps>;
|
|
10
|
+
export interface DrawerContentProps extends ChakraDrawerContentProps {
|
|
11
|
+
}
|
|
12
|
+
export declare const DrawerCloseButton: import('@chakra-ui/react').ComponentWithAs<"button", import('@chakra-ui/react').CloseButtonProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Drawer } from
|
|
2
|
-
export type { DrawerProps } from
|
|
1
|
+
export { Drawer, DrawerBody, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerContent, DrawerCloseButton, } from './Drawer';
|
|
2
|
+
export type { DrawerProps, DrawerContentProps } from './Drawer';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormErrorMessageProps as ChakraFormErrorMessageProps } from '@chakra-ui/react';
|
|
2
|
+
export declare const FormErrorMessage: import('@chakra-ui/react').ComponentWithAs<"div", ChakraFormErrorMessageProps>;
|
|
3
|
+
export interface FormErrorMessageProps extends ChakraFormErrorMessageProps {
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FormControl } from
|
|
2
|
-
export { FormErrorMessage } from
|
|
3
|
-
export { FormLabel } from
|
|
4
|
-
export type { FormControlProps } from
|
|
5
|
-
export type { FormErrorMessageProps } from
|
|
6
|
-
export type { FormLabelProps } from
|
|
1
|
+
export { FormControl } from './FormControl';
|
|
2
|
+
export { FormErrorMessage } from './FormErrorMessage';
|
|
3
|
+
export { FormLabel } from './FormLabel';
|
|
4
|
+
export type { FormControlProps } from './FormControl';
|
|
5
|
+
export type { FormErrorMessageProps } from './FormErrorMessage';
|
|
6
|
+
export type { FormLabelProps } from './FormLabel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Input } from
|
|
2
|
-
export type { InputProps } from
|
|
1
|
+
export { Input } from './Input';
|
|
2
|
+
export type { InputProps } from './Input';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Select } from
|
|
2
|
-
export type { SelectProps } from
|
|
1
|
+
export { Select } from './Select';
|
|
2
|
+
export type { SelectProps } from './Select';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Switch } from
|
|
2
|
-
export type { SwitchProps } from
|
|
1
|
+
export { Switch } from './Switch';
|
|
2
|
+
export type { SwitchProps } from './Switch';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TableProps as ChakraTableProps, TableHeadProps as ChakraTableHeadProps, TableBodyProps as ChakraTableBodyProps, TableFooterProps as ChakraTableFooterProps, TableRowProps as ChakraTableRowProps, TableColumnHeaderProps as ChakraTableColumnHeaderProps, TableCellProps as ChakraTableCellProps, TableCaptionProps as ChakraTableCaptionProps, TableContainerProps as ChakraTableContainerProps } from '@chakra-ui/react';
|
|
2
|
+
export declare const Table: import('@chakra-ui/react').ComponentWithAs<"table", ChakraTableProps>;
|
|
3
|
+
export interface TableProps extends ChakraTableProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const Thead: import('@chakra-ui/react').ComponentWithAs<"thead", ChakraTableHeadProps>;
|
|
6
|
+
export interface TableHeadProps extends ChakraTableHeadProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Tbody: import('@chakra-ui/react').ComponentWithAs<"tbody", ChakraTableBodyProps>;
|
|
9
|
+
export interface TableBodyProps extends ChakraTableBodyProps {
|
|
10
|
+
}
|
|
11
|
+
export declare const Tfoot: import('@chakra-ui/react').ComponentWithAs<"tfoot", ChakraTableFooterProps>;
|
|
12
|
+
export interface TableFooterProps extends ChakraTableFooterProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const Tr: import('@chakra-ui/react').ComponentWithAs<"tr", ChakraTableRowProps>;
|
|
15
|
+
export interface TableRowProps extends ChakraTableRowProps {
|
|
16
|
+
}
|
|
17
|
+
export declare const Th: import('@chakra-ui/react').ComponentWithAs<"th", ChakraTableColumnHeaderProps>;
|
|
18
|
+
export interface TableColumnHeaderProps extends ChakraTableColumnHeaderProps {
|
|
19
|
+
}
|
|
20
|
+
export declare const Td: import('@chakra-ui/react').ComponentWithAs<"td", ChakraTableCellProps>;
|
|
21
|
+
export interface TableCellProps extends ChakraTableCellProps {
|
|
22
|
+
}
|
|
23
|
+
export declare const TableCaption: import('@chakra-ui/react').ComponentWithAs<"caption", ChakraTableCaptionProps>;
|
|
24
|
+
export interface TableCaptionProps extends ChakraTableCaptionProps {
|
|
25
|
+
}
|
|
26
|
+
export declare const TableContainer: import('@chakra-ui/react').ComponentWithAs<"div", ChakraTableContainerProps>;
|
|
27
|
+
export interface TableContainerProps extends ChakraTableContainerProps {
|
|
28
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Table, Thead, Tbody, Tfoot, Tr, Th, Td, TableCaption, TableContainer, } from
|
|
2
|
-
export type { TableProps, TableHeadProps, TableBodyProps, TableFooterProps, TableRowProps, TableColumnHeaderProps, TableCellProps, TableCaptionProps, TableContainerProps, } from
|
|
1
|
+
export { Table, Thead, Tbody, Tfoot, Tr, Th, Td, TableCaption, TableContainer, } from './Table';
|
|
2
|
+
export type { TableProps, TableHeadProps, TableBodyProps, TableFooterProps, TableRowProps, TableColumnHeaderProps, TableCellProps, TableCaptionProps, TableContainerProps, } from './Table';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FadeProps as ChakraFadeProps, ScaleFadeProps as ChakraScaleFadeProps, SlideProps as ChakraSlideProps, SlideFadeProps as ChakraSlideFadeProps, CollapseProps as ChakraCollapseProps } from '@chakra-ui/react';
|
|
2
|
+
export declare const Fade: import('react').ForwardRefExoticComponent<ChakraFadeProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export interface FadeProps extends ChakraFadeProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ScaleFade: import('react').ForwardRefExoticComponent<ChakraScaleFadeProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export interface ScaleFadeProps extends ChakraScaleFadeProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Slide: import('react').ForwardRefExoticComponent<ChakraSlideProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export interface SlideProps extends ChakraSlideProps {
|
|
10
|
+
}
|
|
11
|
+
export declare const SlideFade: import('react').ForwardRefExoticComponent<ChakraSlideFadeProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export interface SlideFadeProps extends ChakraSlideFadeProps {
|
|
13
|
+
}
|
|
14
|
+
export declare const Collapse: import('react').ForwardRefExoticComponent<ChakraCollapseProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface CollapseProps extends ChakraCollapseProps {
|
|
16
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
1
|
+
export * from './Accordion';
|
|
2
|
+
export * from './Button';
|
|
3
|
+
export * from './CloseButton';
|
|
4
|
+
export * from './Checkbox';
|
|
5
|
+
export * from './Switch';
|
|
6
|
+
export * from './Input';
|
|
7
|
+
export * from './FormControl';
|
|
8
|
+
export * from './Select';
|
|
9
|
+
export * from './Drawer';
|
|
10
|
+
export * from './Table';
|
|
11
|
+
export * from './Transitions';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { theme } from
|
|
2
|
-
import { StreetscapeProvider } from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
import { theme } from './theme';
|
|
2
|
+
import { StreetscapeProvider } from './StreetscapeProvider';
|
|
3
|
+
export * from '@chakra-ui/layout';
|
|
4
|
+
export * from '@chakra-ui/media-query';
|
|
5
|
+
export * from './components';
|
|
6
6
|
export { theme, StreetscapeProvider };
|