@nypl/design-system-react-components 3.5.0-rc → 3.5.0-rc-svg-2
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/src/index.d.ts
CHANGED
|
@@ -60,7 +60,6 @@ export type { LogoNames, LogoProps, LogoSizes } from "./components/Logo/Logo";
|
|
|
60
60
|
export { default as MatchMedia } from "../src/__tests__/mediaMatchMock";
|
|
61
61
|
export { default as Menu } from "./components/Menu/Menu";
|
|
62
62
|
export type { ActionItem, DividerItem, GroupItem, ListItemsData, MenuProps, } from "./components/Menu/Menu";
|
|
63
|
-
export type { default as SubNav, SubNavButton, SubNavLink, } from "./components/SubNav/SubNav";
|
|
64
63
|
export { ModalTrigger, useModal } from "./components/Modal/Modal";
|
|
65
64
|
export type { BaseModalProps, ConfirmationModalProps, DefaultModalProps, ModalProps, ModalTypeProps, } from "./components/Modal/Modal";
|
|
66
65
|
export { default as MultiSelect } from "./components/MultiSelect/MultiSelect";
|
|
@@ -99,6 +98,7 @@ export { default as StructuredContent } from "./components/StructuredContent/Str
|
|
|
99
98
|
export type { StructuredContentImagePosition, StructuredContentProps, } from "./components/StructuredContent/StructuredContent";
|
|
100
99
|
export { default as StyledList } from "./components/StyledList/StyledList";
|
|
101
100
|
export type { StyledListProps, StyledListTextSizes, } from "./components/StyledList/StyledList";
|
|
101
|
+
export { default as SubNav, SubNavButton, SubNavLink, } from "./components/SubNav/SubNav";
|
|
102
102
|
export { default as Table } from "./components/Table/Table";
|
|
103
103
|
export type { TableBodyTextSizes, TableProps } from "./components/Table/Table";
|
|
104
104
|
export { default as Tabs, TabList, Tab, TabPanels, TabPanel, } from "./components/Tabs/Tabs";
|
|
@@ -50,8 +50,7 @@ declare const _default: {
|
|
|
50
50
|
};
|
|
51
51
|
gridTemplateColumns: string;
|
|
52
52
|
paddingY: number;
|
|
53
|
-
|
|
54
|
-
gap: string;
|
|
53
|
+
rowGap: string;
|
|
55
54
|
};
|
|
56
55
|
sizes?: {
|
|
57
56
|
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
@@ -59,12 +58,12 @@ declare const _default: {
|
|
|
59
58
|
variants?: {
|
|
60
59
|
left: {
|
|
61
60
|
gridTemplateColumns: {
|
|
62
|
-
md: "
|
|
61
|
+
md: "271px 1fr";
|
|
63
62
|
};
|
|
64
63
|
};
|
|
65
64
|
right: {
|
|
66
65
|
gridTemplateColumns: {
|
|
67
|
-
md: "1fr
|
|
66
|
+
md: "1fr 271px";
|
|
68
67
|
};
|
|
69
68
|
};
|
|
70
69
|
};
|
|
@@ -81,6 +80,7 @@ declare const _default: {
|
|
|
81
80
|
md: "1 / span 2";
|
|
82
81
|
};
|
|
83
82
|
height: string;
|
|
83
|
+
paddingX: string;
|
|
84
84
|
};
|
|
85
85
|
sizes?: {
|
|
86
86
|
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
@@ -100,6 +100,7 @@ declare const _default: {
|
|
|
100
100
|
base: "1";
|
|
101
101
|
md: "1 / span 2";
|
|
102
102
|
};
|
|
103
|
+
paddingX: string;
|
|
103
104
|
};
|
|
104
105
|
sizes?: {
|
|
105
106
|
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
@@ -116,16 +117,23 @@ declare const _default: {
|
|
|
116
117
|
minWidth: {
|
|
117
118
|
md: number;
|
|
118
119
|
};
|
|
120
|
+
paddingRight: string;
|
|
121
|
+
paddingLeft: {
|
|
122
|
+
base: "s";
|
|
123
|
+
md: "l";
|
|
124
|
+
};
|
|
119
125
|
overflow: {
|
|
120
126
|
base: "unset";
|
|
121
127
|
md: "hidden";
|
|
122
128
|
};
|
|
123
129
|
};
|
|
124
130
|
right: {
|
|
125
|
-
gridColumn:
|
|
126
|
-
|
|
127
|
-
|
|
131
|
+
gridColumn: string;
|
|
132
|
+
paddingRight: {
|
|
133
|
+
base: "s";
|
|
134
|
+
md: "l";
|
|
128
135
|
};
|
|
136
|
+
paddingLeft: string;
|
|
129
137
|
overflow: {
|
|
130
138
|
base: "unset";
|
|
131
139
|
md: "hidden";
|
|
@@ -146,12 +154,22 @@ declare const _default: {
|
|
|
146
154
|
variants?: {
|
|
147
155
|
left: {
|
|
148
156
|
gridColumn: string;
|
|
157
|
+
paddingLeft: string;
|
|
158
|
+
paddingRight: {
|
|
159
|
+
base: "s";
|
|
160
|
+
md: number;
|
|
161
|
+
};
|
|
149
162
|
};
|
|
150
163
|
right: {
|
|
151
164
|
gridColumn: {
|
|
152
165
|
base: "1";
|
|
153
166
|
md: "2";
|
|
154
167
|
};
|
|
168
|
+
paddingLeft: {
|
|
169
|
+
base: "s";
|
|
170
|
+
md: number;
|
|
171
|
+
};
|
|
172
|
+
paddingRight: string;
|
|
155
173
|
};
|
|
156
174
|
};
|
|
157
175
|
defaultProps?: {
|