@rokt/dcui-orchestrator 0.4.1-rc.5 → 0.4.1-rc.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.
- package/dist/extensions/address-form/src/components/address-form.d.ts +2 -1
- package/dist/extensions/address-form/src/components/edit-address-form-view.d.ts +2 -1
- package/dist/extensions/address-form/src/components/form-button.d.ts +1 -0
- package/dist/extensions/address-form/src/components/input-field.d.ts +1 -0
- package/dist/extensions/loading/src/loading.d.ts +2 -1
- package/dist/extensions/loading/src/partner-text.d.ts +2 -1
- package/dist/extensions/loading/src/skeleton.d.ts +1 -0
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/bottom-sheet.d.ts +6 -6
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/factory.d.ts +1 -1
- package/dist/extensions/minimized-bottomsheet/src/components/bottom-sheet/hooks.d.ts +4 -4
- package/dist/extensions/minimized-bottomsheet/src/components/bottomsheet-wrapper/overlay-wrapper.d.ts +2 -1
- package/dist/extensions/minimized-bottomsheet/src/components/drag-handle/drag-handle.d.ts +2 -1
- package/dist/extensions/minimized-bottomsheet/src/components/overlay/factory.d.ts +1 -1
- package/dist/extensions/minimized-bottomsheet/src/components/overlay/overlay.d.ts +2 -2
- package/dist/extensions/minimized-bottomsheet/src/components/overlay-wrapper/overlay-wrapper.d.ts +1 -1
- package/dist/extensions/minimized-bottomsheet/src/hooks/useScrollTrap.d.ts +1 -1
- package/dist/extensions/shimmer-background/src/shimmer-background.d.ts +2 -1
- package/dist/extensions/timer-progression/src/components/timer/timer.d.ts +2 -1
- package/dist/index.cjs +51 -51
- package/dist/index.js +40 -40
- package/dist/libraries/dcui-components/src/components/action-button/action-button.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/action-button/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/base-stylesheet/base-stylesheet.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/basic-text/basic-text.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/basic-text/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/button-state-trigger/button-state-trigger.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/button-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/catalog-carousel-collection.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/catalog-carousel-collection/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/catalog-quantity-option/catalog-quantity-option.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/catalog-quantity-option/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/catalog-stacked-collection/catalog-stacked-collection.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/catalog-stacked-collection/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/close-button/close-button.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/close-button/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/column/column.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/column/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/copy-to-clipboard-button/copy-to-clipboard-button.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/copy-to-clipboard-button/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/creative-response/creative-response.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/creative-response/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-icon/data-icon.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/data-icon/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-image/data-image.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/data-image/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/data-image-carousel/carousel-indicators.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/data-image-carousel/data-image-carousel.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/data-image-carousel/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/error-boundary/error-boundary.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/extension/context.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/extension/escape-hatch.d.ts +1 -1
- package/dist/libraries/dcui-components/src/components/extension/models.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/flow-row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/flow-row/flow-row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/form/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/form/form.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/icon-group/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/icon-group/icon-group.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/inline-container/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/inline-container/inline-container.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/layout-timer/timer-countdown-provider.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/module-context-wrapper/module-context-wrapper.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/node-mapper/node-mapper.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/partner-event-button-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/partner-event-button-trigger/partner-event-button-trigger.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/rich-text/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/rich-text/rich-text.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/row/row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-column/scrollable-column.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-row/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/scrollable-row/scrollable-row.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/slide-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/slide-state-trigger/slide-state-trigger.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/static-icon/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-icon/static-icon.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/static-image/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-image/static-image.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/static-link/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/static-link/static-link.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/style-mapper/style-consumer.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/text-input/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/text-input/text-input.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/timer-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/toggle-button-state-trigger/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/toggle-button-state-trigger/toggle-button-state-trigger.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/transition-effect/directional-transition-effect.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/transition-effect/transition-effect.d.ts +2 -2
- package/dist/libraries/dcui-components/src/components/when/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/when/when.d.ts +2 -1
- package/dist/libraries/dcui-components/src/components/zstack/factory.d.ts +1 -0
- package/dist/libraries/dcui-components/src/components/zstack/zstack.d.ts +1 -0
- package/dist/libraries/dcui-components/src/contexts/browser-support-context.d.ts +1 -1
- package/dist/libraries/dcui-components/src/contexts/catalog-item-context.d.ts +2 -2
- package/dist/libraries/dcui-components/src/contexts/gateway-context.d.ts +1 -1
- package/dist/libraries/dcui-components/src/contexts/layout-schema-context.d.ts +2 -2
- package/dist/libraries/dcui-components/src/contexts/log-additional-information.d.ts +1 -1
- package/dist/libraries/dcui-components/src/contexts/node-mapper-context.d.ts +2 -2
- package/dist/libraries/dcui-components/src/contexts/offer-data-context.d.ts +2 -2
- package/dist/libraries/dcui-components/src/utils/node-factories.d.ts +1 -0
- package/dist/libraries/dcui-components/src/utils/use-focus-trap.d.ts +1 -1
- package/dist/libraries/dcui-components/src/utils/use-scroll-mask-visibility.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/bottom-sheet.d.ts +2 -2
- package/dist/libraries/layout-renderer-utils/src/components/bottom-sheet/factory.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/drag-handle.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/factory.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/hooks.d.ts +7 -7
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet-wrapper.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/components/minimizable-bottomsheet/minimizable-bottomsheet.d.ts +6 -6
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/factory.d.ts +1 -0
- package/dist/libraries/layout-renderer-utils/src/components/minimize-button/minimize-button.d.ts +2 -1
- package/dist/libraries/layout-renderer-utils/src/components/overlay/factory.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/overlay/overlay.d.ts +2 -2
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/attached-overlay-wrapper.d.ts +1 -1
- package/dist/libraries/layout-renderer-utils/src/components/overlay-wrapper/overlay-wrapper.d.ts +1 -1
- package/dist/libraries/module-connector/src/models/module-attributes.d.ts +1 -1
- package/dist/libraries/orchestrator/src/components/app/app.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/carousel-distribution/carousel-distribution.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/carousel-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/grouped-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/grouped-distribution/grouped-distribution.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/one-by-one-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/one-by-one-distribution/one-by-one-distribution.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/progress-control/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/progress-control/progress-control.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/progress-indicator/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/progress-indicator/progress-indicator.d.ts +2 -1
- package/dist/libraries/orchestrator/src/components/slot/slot.d.ts +3 -3
- package/dist/libraries/orchestrator/src/components/stacked-distribution/factory.d.ts +1 -0
- package/dist/libraries/orchestrator/src/components/stacked-distribution/stacked-distribution.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/app/view.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/catalog-partner-event-button/catalog-partner-event-button.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/catalog-quantity-counter/catalog-quantity-counter.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/catalog-quantity-counter/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/catalog-radio-group/catalog-radio-group.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/catalog-radio-group/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/catalog-response-button/catalog-response-button.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/catalog-response-button/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/catalog-url-link/catalog-url-link.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/insurance-rich-text/insurance-rich-text.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/mapped-icons/mapped-icon.d.ts +1 -0
- package/dist/modules/add-to-cart/src/components/read-more-text/read-more-text.d.ts +1 -1
- package/dist/modules/add-to-cart/src/components/read-more-text-container/read-more-text-container.d.ts +1 -1
- package/dist/modules/add-to-cart/src/components/scroll-to-target/scroll-to-target.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/tooltip/tooltip.d.ts +2 -1
- package/dist/modules/add-to-cart/src/components/when-catalog-quantity/when-catalog-quantity.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/app/view.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-combined-collection/catalog-combined-collection.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-combined-collection/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/catalog-device-pay-button.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-device-pay-button/retryable-device-pay-error.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-discount-callout-tag/catalog-discount-callout-tag.d.ts +3 -2
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/catalog-dropdown.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-dropdown/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/catalog-image-gallery.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-imagegallery/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-response-button/catalog-response-button.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-response-button/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/catalog-selectors-stacked.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-selectors-stacked/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/catalog-thumbnail-gallery.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/catalog-thumbnail-gallery/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/checkbox/checkbox.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/checkout-state-button-trigger/checkout-state-button-trigger.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/color-swatch/color-swatch.d.ts +1 -1
- package/dist/modules/instant-purchase/src/components/custom-state-validation-trigger-button/custom-state-validation-trigger-button.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/dismiss-instant-purchase-button/dismiss-instant-purchase-button.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/escapehatch-catalog-drop-down/catalog-drop-down.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/escapehatch-catalog-image-gallery/catalog-image-gallery.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/inline-container/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/inline-container/inline-container.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/loading-spinner/loading-spinner.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/offer-lifecycle-timer/offer-lifecycle-timer.d.ts +1 -1
- package/dist/modules/instant-purchase/src/components/read-more-text-container/read-more-text-container.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/rich-text/factory.d.ts +1 -0
- package/dist/modules/instant-purchase/src/components/rich-text/rich-text.d.ts +2 -1
- package/dist/modules/instant-purchase/src/components/snackbar/snackbar.d.ts +2 -1
- package/dist/modules/instant-purchase/src/validators/validator-provider.d.ts +1 -1
- package/dist/modules/layouts-xp-sandbox/src/components/app/view.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/layouts-xp-sandbox/src/components/image-carousel/image-carousel.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/image-carousel/indicator.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/product-catalog-carousel/navigation.d.ts +3 -2
- package/dist/modules/layouts-xp-sandbox/src/components/product-catalog-carousel/product-catalog-carousel.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/product-tier-carousel/product-tier-carousel.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/rich-text/rich-text.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/components/text-animate/text-animate.d.ts +2 -1
- package/dist/modules/layouts-xp-sandbox/src/contexts/image-carousel-context.d.ts +1 -1
- package/dist/modules/standard-marketing/src/components/app/view.d.ts +2 -1
- package/dist/modules/standard-marketing/src/components/catalog-response-button/catalog-response-button.d.ts +2 -1
- package/dist/modules/standard-marketing/src/components/catalog-response-button/factory.d.ts +1 -0
- package/dist/modules/standard-marketing/src/components/escape-hatch/factory.d.ts +1 -0
- package/dist/modules/standard-marketing/src/components/escape-hatch-checkbox/escape-hatch-checkbox.d.ts +2 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { InputModel } from './input-field';
|
|
2
3
|
import { ButtonModel } from './form-button';
|
|
3
4
|
import { BasicStateStylingBlock, ConditionalStyleTransition, LayoutStyle, WhenPredicate, ContainerStylingProperties, DimensionStylingProperties, SpacingStylingProperties, BackgroundStylingProperties, BorderStylingProperties, TextStylingProperties, FlexChildStylingProperties } from '@rokt/dcui-layout-schema';
|
|
@@ -92,5 +93,5 @@ export interface FormProps {
|
|
|
92
93
|
* customizable grouping, styling, and breakpoint-specific layouts.<br>
|
|
93
94
|
* *Where can we use this: __address forms__, __contact forms__, __registration forms__, __checkout forms__, __any data collection form__*
|
|
94
95
|
* */
|
|
95
|
-
export declare function Form(props: FormProps):
|
|
96
|
+
export declare function Form(props: FormProps): React.JSX.Element | undefined;
|
|
96
97
|
export default Form;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
2
3
|
export interface EditFormModel {
|
|
3
4
|
fields: Record<string, boolean>;
|
|
@@ -19,5 +20,5 @@ export interface EditFormViewProps {
|
|
|
19
20
|
* *Where can we use this: __address displays__, __form summaries__, __saved data views__,
|
|
20
21
|
* __edit interfaces__, __user profiles__, __confirmation screens__*
|
|
21
22
|
* */
|
|
22
|
-
export declare function EditFormView(props: EditFormViewProps):
|
|
23
|
+
export declare function EditFormView(props: EditFormViewProps): React.JSX.Element;
|
|
23
24
|
export default EditFormView;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare function PartnerText({ styles, hasLoaded, partnerText, animationSpeedMS, }: {
|
|
2
3
|
hasLoaded: boolean;
|
|
3
4
|
partnerText: string[];
|
|
4
5
|
animationSpeedMS: number;
|
|
5
6
|
styles: Record<string, any>;
|
|
6
|
-
}):
|
|
7
|
+
}): React.JSX.Element | null;
|
|
7
8
|
export { PartnerText };
|
|
@@ -14,21 +14,21 @@ type BottomSheetContainerProps = {
|
|
|
14
14
|
startMinimized: boolean;
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
schema: MinimizedBottomSheetProps['schema'];
|
|
17
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
17
|
+
ref: React.RefObject<HTMLDivElement | null>;
|
|
18
18
|
testId?: string;
|
|
19
19
|
slots: PluginSlot<LayoutSchemaModel>[];
|
|
20
20
|
currentIndex: number;
|
|
21
|
-
minimizedChildRef: React.RefObject<HTMLDivElement>;
|
|
22
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
23
|
-
maximizedChildRef: React.RefObject<HTMLDivElement>;
|
|
21
|
+
minimizedChildRef: React.RefObject<HTMLDivElement | null>;
|
|
22
|
+
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
23
|
+
maximizedChildRef: React.RefObject<HTMLDivElement | null>;
|
|
24
24
|
};
|
|
25
25
|
type BottomSheetWithSlotsProps = Omit<MinimizedBottomSheetProps, 'slots' | 'currentIndex'>;
|
|
26
|
-
export declare function BottomSheetWithSlots(props: BottomSheetWithSlotsProps):
|
|
26
|
+
export declare function BottomSheetWithSlots(props: BottomSheetWithSlotsProps): React.JSX.Element;
|
|
27
27
|
/**The BottomSheet is a display node that is pinned to the bottom of the viewport.
|
|
28
28
|
* This is a Modal Bottomsheet, requiring user interaction before engaging with background content
|
|
29
29
|
* It should only be used for Mobile layouts.
|
|
30
30
|
* *Where can we use this: __outer layout__*
|
|
31
31
|
*/
|
|
32
|
-
export declare function BottomSheet(props: MinimizedBottomSheetProps):
|
|
32
|
+
export declare function BottomSheet(props: MinimizedBottomSheetProps): React.JSX.Element | null;
|
|
33
33
|
export declare const BottomSheetContainer: React.ForwardRefExoticComponent<Omit<BottomSheetContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
34
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { type JSX } from 'react';
|
|
2
2
|
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
3
3
|
import { BottomSheetWithSlots } from './bottom-sheet';
|
|
4
4
|
export declare const ConnectedBottomSheet: import("react-redux").ConnectedComponent<typeof BottomSheetWithSlots, {
|
|
@@ -2,8 +2,8 @@ export declare const INITIAL_WRAPPER_HEIGHT = 100000;
|
|
|
2
2
|
export declare const MINIMIZED_STATE_KEY = "Minimized";
|
|
3
3
|
export declare const MAXIMIZED_STATE_KEY = "Maximized";
|
|
4
4
|
export declare const useBottomSheetDragEvents: (startMinimized: boolean) => {
|
|
5
|
-
wrapperRef: import("react").RefObject<HTMLDivElement>;
|
|
6
|
-
containerRef: import("react").RefObject<HTMLDivElement>;
|
|
7
|
-
minimizedChildRef: import("react").RefObject<HTMLDivElement>;
|
|
8
|
-
maximizedChildRef: import("react").RefObject<HTMLDivElement>;
|
|
5
|
+
wrapperRef: import("react").RefObject<HTMLDivElement | null>;
|
|
6
|
+
containerRef: import("react").RefObject<HTMLDivElement | null>;
|
|
7
|
+
minimizedChildRef: import("react").RefObject<HTMLDivElement | null>;
|
|
8
|
+
maximizedChildRef: import("react").RefObject<HTMLDivElement | null>;
|
|
9
9
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { MinimizedBottomSheetProps } from '../bottom-sheet';
|
|
2
3
|
export declare enum ContainerMode {
|
|
3
4
|
BottomSheet = 0,
|
|
4
5
|
Overlay = 1
|
|
5
6
|
}
|
|
6
|
-
export declare function OverlayWrapper({ schema, testId }: MinimizedBottomSheetProps):
|
|
7
|
+
export declare function OverlayWrapper({ schema, testId }: MinimizedBottomSheetProps): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function DragHandle(): React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { type JSX } from 'react';
|
|
2
2
|
import { LayoutSchemaModel } from '@rokt/dcui-layout-schema';
|
|
3
3
|
import { Overlay } from './overlay';
|
|
4
4
|
export declare const ConnectedOverlay: import("react-redux").ConnectedComponent<typeof Overlay, {
|
|
@@ -3,7 +3,7 @@ import { OverlayProps } from './types';
|
|
|
3
3
|
type OverlayContainerProps = {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
schema: OverlayProps['schema'];
|
|
6
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
6
|
+
ref: React.RefObject<HTMLDivElement | null>;
|
|
7
7
|
testId?: string;
|
|
8
8
|
};
|
|
9
9
|
/**The Overlay is a display node that suits various purposes,
|
|
@@ -14,6 +14,6 @@ type OverlayContainerProps = {
|
|
|
14
14
|
* The `a11yLabel` on the Overlay define a custom accessibility label for the screen reader. <br>
|
|
15
15
|
* *Where can we use this: __outer layout__*
|
|
16
16
|
*/
|
|
17
|
-
export declare function Overlay(props: OverlayProps):
|
|
17
|
+
export declare function Overlay(props: OverlayProps): React.JSX.Element;
|
|
18
18
|
export declare const OverlayContainer: React.ForwardRefExoticComponent<Omit<OverlayContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
export {};
|
package/dist/extensions/minimized-bottomsheet/src/components/overlay-wrapper/overlay-wrapper.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export declare enum ContainerMode {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function OverlayWrapper({ isOpen, schema, testId, children: container, }: (OverlayProps | BottomSheetProps) & {
|
|
9
9
|
children(containerChildren: React.ReactNode, ref: React.ForwardedRef<HTMLDivElement>): React.ReactNode;
|
|
10
|
-
}):
|
|
10
|
+
}): React.JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
export declare function useScrollTrap(ref: RefObject<HTMLElement>, enableScrolling: boolean): void;
|
|
2
|
+
export declare function useScrollTrap(ref: RefObject<HTMLElement | null>, enableScrolling: boolean): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export type ShimmerBackgroundProps = {
|
|
2
3
|
linearGradient: string;
|
|
3
4
|
color1: string;
|
|
@@ -7,5 +8,5 @@ export type ShimmerBackgroundProps = {
|
|
|
7
8
|
additionalStyles?: string;
|
|
8
9
|
gradientAngle?: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function ShimmerBackground({ linearGradient, color1, color2, color3, duration, additionalStyles, gradientAngle }: ShimmerBackgroundProps):
|
|
11
|
+
export declare function ShimmerBackground({ linearGradient, color1, color2, color3, duration, additionalStyles, gradientAngle }: ShimmerBackgroundProps): React.JSX.Element;
|
|
11
12
|
export default ShimmerBackground;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface TimerProps {
|
|
2
3
|
/**
|
|
3
4
|
* - `data`: JSON string
|
|
@@ -26,4 +27,4 @@ export interface TimerProps {
|
|
|
26
27
|
*/
|
|
27
28
|
data: object | null;
|
|
28
29
|
}
|
|
29
|
-
export declare function Timer(props: TimerProps):
|
|
30
|
+
export declare function Timer(props: TimerProps): React.JSX.Element;
|