@washingtonpost/subs-de-inputs 1.10.1 → 1.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/DEDisclosure/DisclosureWithBannerStatus.d.ts +2 -3
- package/dist/components/DEDisclosure/DisclosureWithoutBannerStatus.d.ts +2 -3
- package/dist/components/DEDisclosure/hooks/useOnetrust.d.ts +1 -1
- package/dist/components/DEDisclosure/index.d.ts +1 -2
- package/dist/components/DEDisclosure/utils/getConfig.d.ts +1 -1
- package/dist/components/DEDisclosure/utils/hydrateLinks.d.ts +1 -1
- package/dist/components/DESelect/Dropdown.d.ts +1 -1
- package/dist/components/DESelect/index.d.ts +2 -2
- package/dist/index.cjs +699 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +664 -7
- package/dist/index.js.map +1 -0
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/twpdeu.d.ts +2 -2
- package/dist/services/getAttributes.d.ts +1 -1
- package/dist/services/ingest.d.ts +2 -2
- package/dist/utils/push.d.ts +2 -2
- package/package.json +20 -17
- package/dist/subs-de-inputs.cjs.development.js +0 -783
- package/dist/subs-de-inputs.cjs.development.js.map +0 -1
- package/dist/subs-de-inputs.cjs.production.min.js +0 -2
- package/dist/subs-de-inputs.cjs.production.min.js.map +0 -1
- package/dist/subs-de-inputs.esm.js +0 -769
- package/dist/subs-de-inputs.esm.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import type { DisclosureConfigValue } from '../../interfaces/disclosure';
|
|
1
|
+
import { ReactEventHandler, default as React } from 'react';
|
|
2
|
+
import { DisclosureConfigValue } from '../../interfaces/disclosure';
|
|
4
3
|
interface DEDisclosureWithBannerStatusProps {
|
|
5
4
|
config: DisclosureConfigValue;
|
|
6
5
|
allowCookieStore?: boolean;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import type { DisclosureConfigValue } from '../../interfaces/disclosure';
|
|
1
|
+
import { ReactEventHandler, default as React } from 'react';
|
|
2
|
+
import { DisclosureConfigValue } from '../../interfaces/disclosure';
|
|
4
3
|
interface DEDisclosureWithoutBannerStatusProps {
|
|
5
4
|
config: DisclosureConfigValue;
|
|
6
5
|
onFinished: ({ isFinished, isError, }: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { ReactEventHandler, default as React } from 'react';
|
|
3
2
|
interface DisclosureProps {
|
|
4
3
|
/** callback function to be called when the disclosure is finished loading */
|
|
5
4
|
onFinished?: ({ isFinished, isError, }: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DisclosureConfigValue } from '../../../interfaces/disclosure';
|
|
2
2
|
export declare const getConfig: () => Promise<DisclosureConfigValue | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
type hydrateLinksType = (str: string, onLinkClick: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void) => string | JSX.Element;
|
|
3
3
|
export declare const hydrateLinks: hydrateLinksType;
|
|
4
4
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Attribute, AttributeValue } from '../../interfaces';
|
|
3
3
|
interface DESelectProps {
|
|
4
4
|
source: string;
|
|
5
5
|
fieldName: string;
|