@rokt/dcui-orchestrator 0.0.4-rc.2 → 0.0.4-rc.3

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.
@@ -1,6 +1,6 @@
1
1
  import { BackgroundStylingProperties, BasicStateStylingBlock, BorderStylingProperties, ConditionalStyleTransition, ContainerStylingProperties, DimensionStylingProperties, FlexChildStylingProperties, LayoutStyle, NonInteractableChildren, SpacingStylingProperties, TextStylingProperties, WhenPredicate } from '@rokt/dcui-layout-schema';
2
2
  import { PluginCatalogItem } from '../../../../../libraries/domain/src/models';
3
- export interface DropDownStyles {
3
+ export interface CatalogDropDownStyles {
4
4
  container?: null | ContainerStylingProperties;
5
5
  background?: null | BackgroundStylingProperties;
6
6
  border?: null | BorderStylingProperties;
@@ -9,29 +9,28 @@ export interface DropDownStyles {
9
9
  spacing?: null | SpacingStylingProperties;
10
10
  text?: null | TextStylingProperties;
11
11
  }
12
- export interface DropDownTransitions {
13
- own?: null | DropDownStyles;
12
+ export interface CatalogDropDownTransitions {
13
+ own?: null | CatalogDropDownStyles;
14
14
  }
15
- export interface DropDownElements {
16
- own: BasicStateStylingBlock<DropDownStyles>[];
17
- dropDownSelectedElement?: null | BasicStateStylingBlock<DropDownStyles>[];
18
- dropDownListContainer?: null | BasicStateStylingBlock<DropDownStyles>[];
19
- dropDownListElement?: null | BasicStateStylingBlock<DropDownStyles>[];
15
+ export interface CatalogDropDownElements {
16
+ own: BasicStateStylingBlock<CatalogDropDownStyles>[];
17
+ dropDownSelectedElement?: null | BasicStateStylingBlock<CatalogDropDownStyles>[];
18
+ dropDownListContainer?: null | BasicStateStylingBlock<CatalogDropDownStyles>[];
19
+ dropDownListElement?: null | BasicStateStylingBlock<CatalogDropDownStyles>[];
20
20
  }
21
- export interface DropDownOptionData {
21
+ export interface CatalogDropDownOptionData {
22
22
  catalogItem: PluginCatalogItem;
23
23
  index: number;
24
24
  }
25
- interface DropDownModel<NonInteractableChildren, Predicates> {
26
- styles?: null | LayoutStyle<DropDownElements, ConditionalStyleTransition<DropDownTransitions, Predicates>>;
25
+ interface CatalogDropDownModel<NonInteractableChildren, Predicates> {
26
+ styles?: null | LayoutStyle<CatalogDropDownElements, ConditionalStyleTransition<CatalogDropDownTransitions, Predicates>>;
27
27
  openTemplate: NonInteractableChildren;
28
28
  closedTemplate: NonInteractableChildren;
29
- closedDefaultTemplate: NonInteractableChildren;
30
- options: DropDownOptionData[];
29
+ options: CatalogDropDownOptionData[];
31
30
  }
32
- export interface DropDownProps {
31
+ export interface CatalogDropDownProps {
33
32
  /**
34
- * - `openTemplate`, `closedTemplate`, `closedDefaultTemplate`: it can accept below nodes,
33
+ * - `openTemplate`, `closedTemplate`: it can accept below nodes,
35
34
  * * `Row`
36
35
  * * `FlowRow
37
36
  * * `Column`
@@ -68,8 +67,8 @@ export interface DropDownProps {
68
67
  * - `spacing`
69
68
  * - `text`
70
69
  */
71
- schema: DropDownModel<NonInteractableChildren, WhenPredicate>;
70
+ schema: CatalogDropDownModel<NonInteractableChildren, WhenPredicate>;
72
71
  testId?: string;
73
72
  }
74
- export declare function DropDown(props: DropDownProps): import("react/jsx-runtime").JSX.Element;
73
+ export declare function CatalogDropDown(props: CatalogDropDownProps): import("react/jsx-runtime").JSX.Element;
75
74
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "0.0.4-rc.2",
3
+ "version": "0.0.4-rc.3",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",