@nypl/design-system-react-components 3.1.5-rc → 3.1.6
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.
|
@@ -34222,13 +34222,11 @@ const { defineMultiStyleConfig: QP, definePartsStyle: qP } = I2(["container", "b
|
|
|
34222
34222
|
callout: f4.four
|
|
34223
34223
|
}, MF = xF({
|
|
34224
34224
|
baseStyle: e6(
|
|
34225
|
-
({ isCapitalized: r, isUppercase: a, isLowercase: o, noSpace: s
|
|
34225
|
+
({ isCapitalized: r, isUppercase: a, isLowercase: o, noSpace: s }) => ({
|
|
34226
34226
|
base: {
|
|
34227
|
-
|
|
34228
|
-
// passed as children to the Heading component.
|
|
34229
|
-
a: {
|
|
34227
|
+
"a:only-child": {
|
|
34230
34228
|
...Tc,
|
|
34231
|
-
textDecoration:
|
|
34229
|
+
textDecoration: "none"
|
|
34232
34230
|
},
|
|
34233
34231
|
color: "ui.typography.heading",
|
|
34234
34232
|
margin: "0",
|
|
@@ -56,6 +56,6 @@ export declare const ModalTrigger: ChakraComponent<React.ForwardRefExoticCompone
|
|
|
56
56
|
/**
|
|
57
57
|
* This hook function can be used to render the `Modal` component with a custom
|
|
58
58
|
* open button(s) and optional custom close button(s). You must render your own
|
|
59
|
-
* button and pass the appropriate `onOpen` and ` handler for the modal to open.
|
|
59
|
+
* button and pass the appropriate `onOpen` and `onClose` handler for the modal to open.
|
|
60
60
|
*/
|
|
61
61
|
export declare function useModal(): any;
|
|
@@ -162,9 +162,9 @@ export declare const headings: {
|
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
declare const Heading: {
|
|
165
|
-
baseStyle?: ({ isCapitalized, isUppercase, isLowercase, noSpace
|
|
165
|
+
baseStyle?: ({ isCapitalized, isUppercase, isLowercase, noSpace }: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
166
166
|
base: {
|
|
167
|
-
a: {
|
|
167
|
+
"a:only-child": {
|
|
168
168
|
textDecoration: string;
|
|
169
169
|
_dark: {
|
|
170
170
|
color: string;
|