@rokt/dcui-orchestrator 0.2.1-rc.35 → 0.2.1-rc.36
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,4 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BasicStateStylingBlock, LayoutSchemaModel, LayoutStyle, ConditionalStyleTransition, TextStylingProperties, WhenPredicate } from '@rokt/dcui-layout-schema';
|
|
2
|
+
import { InlineContainerStyles } from '@rokt/dcui-layout-schema';
|
|
3
|
+
interface InlineContainerTextStyles extends InlineContainerStyles {
|
|
4
|
+
text?: TextStylingProperties;
|
|
5
|
+
}
|
|
6
|
+
export interface InlineContainerTextElements {
|
|
7
|
+
own: BasicStateStylingBlock<InlineContainerTextStyles>[];
|
|
8
|
+
}
|
|
9
|
+
export interface InlineContainerTextTransitions {
|
|
10
|
+
own?: null | InlineContainerTextStyles;
|
|
11
|
+
}
|
|
12
|
+
export interface InlineContainerTextModel<Children, Predicates> {
|
|
13
|
+
a11yLabel?: null | string;
|
|
14
|
+
styles?: null | LayoutStyle<InlineContainerTextElements, ConditionalStyleTransition<InlineContainerTextTransitions, Predicates>>;
|
|
15
|
+
children: Children[];
|
|
16
|
+
}
|
|
2
17
|
interface InlineContainerProps<Children extends LayoutSchemaModel> {
|
|
3
18
|
/**
|
|
4
19
|
* - `a11yLabel`: define a custom accessibility label for the screen reader
|
|
@@ -29,7 +44,7 @@ interface InlineContainerProps<Children extends LayoutSchemaModel> {
|
|
|
29
44
|
* * `background`
|
|
30
45
|
* * `border`
|
|
31
46
|
*/
|
|
32
|
-
schema:
|
|
47
|
+
schema: InlineContainerTextModel<Children, WhenPredicate>;
|
|
33
48
|
testId?: string;
|
|
34
49
|
}
|
|
35
50
|
/** The Inline Container is a layout node that organises and aligns content horizontally,
|