@elaraai/east-ui 0.0.1-beta.3 → 0.0.1-beta.5
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/README.md +3 -2
- package/dist/src/buttons/button/index.d.ts +57 -0
- package/dist/src/buttons/button/index.d.ts.map +1 -1
- package/dist/src/buttons/button/index.js +57 -0
- package/dist/src/buttons/button/index.js.map +1 -1
- package/dist/src/buttons/icon-button/index.d.ts +62 -0
- package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.js +62 -0
- package/dist/src/buttons/icon-button/index.js.map +1 -1
- package/dist/src/charts/index.d.ts +603 -18
- package/dist/src/charts/index.d.ts.map +1 -1
- package/dist/src/charts/index.js +603 -20
- package/dist/src/charts/index.js.map +1 -1
- package/dist/src/charts/sparkline/index.d.ts +47 -0
- package/dist/src/charts/sparkline/index.d.ts.map +1 -1
- package/dist/src/charts/sparkline/index.js +47 -0
- package/dist/src/charts/sparkline/index.js.map +1 -1
- package/dist/src/collections/data-list/index.d.ts +89 -0
- package/dist/src/collections/data-list/index.d.ts.map +1 -1
- package/dist/src/collections/data-list/index.js +89 -0
- package/dist/src/collections/data-list/index.js.map +1 -1
- package/dist/src/collections/gantt/index.d.ts +692 -4
- package/dist/src/collections/gantt/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.js +177 -4
- package/dist/src/collections/gantt/index.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +511 -0
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +99 -0
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/tree-view/index.d.ts +170 -0
- package/dist/src/collections/tree-view/index.d.ts.map +1 -1
- package/dist/src/collections/tree-view/index.js +170 -0
- package/dist/src/collections/tree-view/index.js.map +1 -1
- package/dist/src/component.d.ts +103 -0
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +15 -1
- package/dist/src/component.js.map +1 -1
- package/dist/src/container/card/index.d.ts +266 -0
- package/dist/src/container/card/index.d.ts.map +1 -1
- package/dist/src/container/card/index.js +60 -0
- package/dist/src/container/card/index.js.map +1 -1
- package/dist/src/disclosure/accordion/index.d.ts +495 -0
- package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
- package/dist/src/disclosure/accordion/index.js +83 -0
- package/dist/src/disclosure/accordion/index.js.map +1 -1
- package/dist/src/disclosure/carousel/index.d.ts +266 -4
- package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.js +60 -4
- package/dist/src/disclosure/carousel/index.js.map +1 -1
- package/dist/src/disclosure/tabs/index.d.ts +591 -0
- package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.js +179 -0
- package/dist/src/disclosure/tabs/index.js.map +1 -1
- package/dist/src/display/avatar/index.d.ts +35 -0
- package/dist/src/display/avatar/index.d.ts.map +1 -1
- package/dist/src/display/avatar/index.js +35 -0
- package/dist/src/display/avatar/index.js.map +1 -1
- package/dist/src/display/badge/index.d.ts +35 -0
- package/dist/src/display/badge/index.d.ts.map +1 -1
- package/dist/src/display/badge/index.js +35 -0
- package/dist/src/display/badge/index.js.map +1 -1
- package/dist/src/display/icon/index.d.ts +78 -6
- package/dist/src/display/icon/index.d.ts.map +1 -1
- package/dist/src/display/icon/index.js +78 -6
- package/dist/src/display/icon/index.js.map +1 -1
- package/dist/src/display/stat/index.d.ts +67 -2
- package/dist/src/display/stat/index.d.ts.map +1 -1
- package/dist/src/display/stat/index.js +68 -3
- package/dist/src/display/stat/index.js.map +1 -1
- package/dist/src/display/tag/index.d.ts +48 -0
- package/dist/src/display/tag/index.d.ts.map +1 -1
- package/dist/src/display/tag/index.js +48 -0
- package/dist/src/display/tag/index.js.map +1 -1
- package/dist/src/feedback/alert/index.d.ts +64 -0
- package/dist/src/feedback/alert/index.d.ts.map +1 -1
- package/dist/src/feedback/alert/index.js +64 -0
- package/dist/src/feedback/alert/index.js.map +1 -1
- package/dist/src/feedback/progress/index.d.ts +54 -0
- package/dist/src/feedback/progress/index.d.ts.map +1 -1
- package/dist/src/feedback/progress/index.js +54 -0
- package/dist/src/feedback/progress/index.js.map +1 -1
- package/dist/src/forms/checkbox/index.d.ts +38 -0
- package/dist/src/forms/checkbox/index.d.ts.map +1 -1
- package/dist/src/forms/checkbox/index.js +38 -0
- package/dist/src/forms/checkbox/index.js.map +1 -1
- package/dist/src/forms/field/index.d.ts +248 -0
- package/dist/src/forms/field/index.d.ts.map +1 -1
- package/dist/src/forms/field/index.js +42 -0
- package/dist/src/forms/field/index.js.map +1 -1
- package/dist/src/forms/fieldset/index.d.ts +30 -3
- package/dist/src/forms/fieldset/index.d.ts.map +1 -1
- package/dist/src/forms/fieldset/index.js +30 -3
- package/dist/src/forms/fieldset/index.js.map +1 -1
- package/dist/src/forms/file-upload/index.d.ts +48 -4
- package/dist/src/forms/file-upload/index.d.ts.map +1 -1
- package/dist/src/forms/file-upload/index.js +48 -4
- package/dist/src/forms/file-upload/index.js.map +1 -1
- package/dist/src/forms/input/index.d.ts +93 -14
- package/dist/src/forms/input/index.d.ts.map +1 -1
- package/dist/src/forms/input/index.js +93 -14
- package/dist/src/forms/input/index.js.map +1 -1
- package/dist/src/forms/select/index.d.ts +10 -6
- package/dist/src/forms/select/index.d.ts.map +1 -1
- package/dist/src/forms/select/index.js +10 -6
- package/dist/src/forms/select/index.js.map +1 -1
- package/dist/src/forms/slider/index.d.ts +15 -0
- package/dist/src/forms/slider/index.d.ts.map +1 -1
- package/dist/src/forms/slider/index.js +15 -0
- package/dist/src/forms/slider/index.js.map +1 -1
- package/dist/src/forms/switch/index.d.ts +20 -0
- package/dist/src/forms/switch/index.d.ts.map +1 -1
- package/dist/src/forms/switch/index.js +20 -0
- package/dist/src/forms/switch/index.js.map +1 -1
- package/dist/src/forms/tags-input/index.d.ts +33 -4
- package/dist/src/forms/tags-input/index.d.ts.map +1 -1
- package/dist/src/forms/tags-input/index.js +33 -4
- package/dist/src/forms/tags-input/index.js.map +1 -1
- package/dist/src/forms/textarea/index.d.ts +36 -4
- package/dist/src/forms/textarea/index.d.ts.map +1 -1
- package/dist/src/forms/textarea/index.js +36 -4
- package/dist/src/forms/textarea/index.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/layout/box/index.d.ts +341 -0
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/box/index.js +135 -0
- package/dist/src/layout/box/index.js.map +1 -1
- package/dist/src/layout/grid/index.d.ts +515 -0
- package/dist/src/layout/grid/index.d.ts.map +1 -1
- package/dist/src/layout/grid/index.js +103 -0
- package/dist/src/layout/grid/index.js.map +1 -1
- package/dist/src/layout/separator/index.d.ts +41 -0
- package/dist/src/layout/separator/index.d.ts.map +1 -1
- package/dist/src/layout/separator/index.js +41 -0
- package/dist/src/layout/separator/index.js.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +504 -0
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.js +92 -0
- package/dist/src/layout/splitter/index.js.map +1 -1
- package/dist/src/layout/stack/index.d.ts +364 -0
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.js +158 -0
- package/dist/src/layout/stack/index.js.map +1 -1
- package/dist/src/overlays/action-bar/index.d.ts +105 -0
- package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
- package/dist/src/overlays/action-bar/index.js +105 -0
- package/dist/src/overlays/action-bar/index.js.map +1 -1
- package/dist/src/overlays/dialog/index.d.ts +500 -0
- package/dist/src/overlays/dialog/index.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.js +88 -0
- package/dist/src/overlays/dialog/index.js.map +1 -1
- package/dist/src/overlays/drawer/index.d.ts +476 -0
- package/dist/src/overlays/drawer/index.d.ts.map +1 -1
- package/dist/src/overlays/drawer/index.js +64 -0
- package/dist/src/overlays/drawer/index.js.map +1 -1
- package/dist/src/overlays/hover-card/index.d.ts +489 -0
- package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.js +77 -0
- package/dist/src/overlays/hover-card/index.js.map +1 -1
- package/dist/src/overlays/menu/index.d.ts +338 -8
- package/dist/src/overlays/menu/index.d.ts.map +1 -1
- package/dist/src/overlays/menu/index.js +132 -8
- package/dist/src/overlays/menu/index.js.map +1 -1
- package/dist/src/overlays/popover/index.d.ts +496 -0
- package/dist/src/overlays/popover/index.d.ts.map +1 -1
- package/dist/src/overlays/popover/index.js +84 -0
- package/dist/src/overlays/popover/index.js.map +1 -1
- package/dist/src/overlays/toggle-tip/index.d.ts +273 -0
- package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
- package/dist/src/overlays/toggle-tip/index.js +67 -0
- package/dist/src/overlays/toggle-tip/index.js.map +1 -1
- package/dist/src/overlays/tooltip/index.d.ts +284 -0
- package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
- package/dist/src/overlays/tooltip/index.js +78 -0
- package/dist/src/overlays/tooltip/index.js.map +1 -1
- package/dist/src/typography/code/index.d.ts +61 -0
- package/dist/src/typography/code/index.d.ts.map +1 -0
- package/dist/src/typography/code/index.js +65 -0
- package/dist/src/typography/code/index.js.map +1 -0
- package/dist/src/typography/code/types.d.ts +56 -0
- package/dist/src/typography/code/types.d.ts.map +1 -0
- package/dist/src/typography/code/types.js +39 -0
- package/dist/src/typography/code/types.js.map +1 -0
- package/dist/src/typography/code-block/index.d.ts +86 -0
- package/dist/src/typography/code-block/index.d.ts.map +1 -0
- package/dist/src/typography/code-block/index.js +78 -0
- package/dist/src/typography/code-block/index.js.map +1 -0
- package/dist/src/typography/code-block/types.d.ts +100 -0
- package/dist/src/typography/code-block/types.d.ts.map +1 -0
- package/dist/src/typography/code-block/types.js +70 -0
- package/dist/src/typography/code-block/types.js.map +1 -0
- package/dist/src/typography/heading/index.d.ts +92 -0
- package/dist/src/typography/heading/index.d.ts.map +1 -0
- package/dist/src/typography/heading/index.js +73 -0
- package/dist/src/typography/heading/index.js.map +1 -0
- package/dist/src/typography/heading/types.d.ts +108 -0
- package/dist/src/typography/heading/types.d.ts.map +1 -0
- package/dist/src/typography/heading/types.js +76 -0
- package/dist/src/typography/heading/types.js.map +1 -0
- package/dist/src/typography/highlight/index.d.ts +48 -0
- package/dist/src/typography/highlight/index.d.ts.map +1 -0
- package/dist/src/typography/highlight/index.js +60 -0
- package/dist/src/typography/highlight/index.js.map +1 -0
- package/dist/src/typography/highlight/types.d.ts +26 -0
- package/dist/src/typography/highlight/types.d.ts.map +1 -0
- package/dist/src/typography/highlight/types.js +21 -0
- package/dist/src/typography/highlight/types.js.map +1 -0
- package/dist/src/typography/index.d.ts +16 -120
- package/dist/src/typography/index.d.ts.map +1 -1
- package/dist/src/typography/index.js +24 -128
- package/dist/src/typography/index.js.map +1 -1
- package/dist/src/typography/link/index.d.ts +56 -0
- package/dist/src/typography/link/index.d.ts.map +1 -0
- package/dist/src/typography/link/index.js +66 -0
- package/dist/src/typography/link/index.js.map +1 -0
- package/dist/src/typography/link/types.d.ts +49 -0
- package/dist/src/typography/link/types.d.ts.map +1 -0
- package/dist/src/typography/link/types.js +38 -0
- package/dist/src/typography/link/types.js.map +1 -0
- package/dist/src/typography/list/index.d.ts +59 -0
- package/dist/src/typography/list/index.d.ts.map +1 -0
- package/dist/src/typography/list/index.js +61 -0
- package/dist/src/typography/list/index.js.map +1 -0
- package/dist/src/typography/list/types.d.ts +47 -0
- package/dist/src/typography/list/types.d.ts.map +1 -0
- package/dist/src/typography/list/types.js +36 -0
- package/dist/src/typography/list/types.js.map +1 -0
- package/dist/src/typography/mark/index.d.ts +57 -0
- package/dist/src/typography/mark/index.d.ts.map +1 -0
- package/dist/src/typography/mark/index.js +58 -0
- package/dist/src/typography/mark/index.js.map +1 -0
- package/dist/src/typography/mark/types.d.ts +49 -0
- package/dist/src/typography/mark/types.d.ts.map +1 -0
- package/dist/src/typography/mark/types.js +38 -0
- package/dist/src/typography/mark/types.js.map +1 -0
- package/dist/src/typography/text/index.d.ts +122 -0
- package/dist/src/typography/text/index.d.ts.map +1 -0
- package/dist/src/typography/text/index.js +130 -0
- package/dist/src/typography/text/index.js.map +1 -0
- package/dist/src/typography/{types.d.ts → text/types.d.ts} +2 -2
- package/dist/src/typography/text/types.d.ts.map +1 -0
- package/dist/src/typography/{types.js → text/types.js} +1 -1
- package/dist/src/typography/text/types.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/typography/types.d.ts.map +0 -1
- package/dist/src/typography/types.js.map +0 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { type SubtypeExprOrValue, OptionType, StringType, StructType, VariantType, NullType } from "@elaraai/east";
|
|
6
|
+
import { TextAlignType, type TextAlignLiteral } from "../../style.js";
|
|
7
|
+
/**
|
|
8
|
+
* Heading size type for typography scaling.
|
|
9
|
+
*
|
|
10
|
+
* @property xs - Extra small heading
|
|
11
|
+
* @property sm - Small heading
|
|
12
|
+
* @property md - Medium heading
|
|
13
|
+
* @property lg - Large heading
|
|
14
|
+
* @property xl - Extra large heading
|
|
15
|
+
* @property 2xl - 2x large heading
|
|
16
|
+
* @property 3xl - 3x large heading
|
|
17
|
+
* @property 4xl - 4x large heading
|
|
18
|
+
* @property 5xl - 5x large heading
|
|
19
|
+
* @property 6xl - 6x large heading
|
|
20
|
+
*/
|
|
21
|
+
export declare const HeadingSizeType: VariantType<{
|
|
22
|
+
xs: NullType;
|
|
23
|
+
sm: NullType;
|
|
24
|
+
md: NullType;
|
|
25
|
+
lg: NullType;
|
|
26
|
+
xl: NullType;
|
|
27
|
+
"2xl": NullType;
|
|
28
|
+
"3xl": NullType;
|
|
29
|
+
"4xl": NullType;
|
|
30
|
+
"5xl": NullType;
|
|
31
|
+
"6xl": NullType;
|
|
32
|
+
}>;
|
|
33
|
+
export type HeadingSizeType = typeof HeadingSizeType;
|
|
34
|
+
export type HeadingSizeLiteral = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
35
|
+
/**
|
|
36
|
+
* Heading semantic level type.
|
|
37
|
+
*
|
|
38
|
+
* @property h1 - Level 1 heading (most important)
|
|
39
|
+
* @property h2 - Level 2 heading
|
|
40
|
+
* @property h3 - Level 3 heading
|
|
41
|
+
* @property h4 - Level 4 heading
|
|
42
|
+
* @property h5 - Level 5 heading
|
|
43
|
+
* @property h6 - Level 6 heading (least important)
|
|
44
|
+
*/
|
|
45
|
+
export declare const HeadingAsType: VariantType<{
|
|
46
|
+
h1: NullType;
|
|
47
|
+
h2: NullType;
|
|
48
|
+
h3: NullType;
|
|
49
|
+
h4: NullType;
|
|
50
|
+
h5: NullType;
|
|
51
|
+
h6: NullType;
|
|
52
|
+
}>;
|
|
53
|
+
export type HeadingAsType = typeof HeadingAsType;
|
|
54
|
+
export type HeadingAsLiteral = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
55
|
+
/**
|
|
56
|
+
* The concrete East type for Heading component data.
|
|
57
|
+
*
|
|
58
|
+
* @property value - The heading text
|
|
59
|
+
* @property size - Visual size of the heading
|
|
60
|
+
* @property as - Semantic HTML element (h1-h6)
|
|
61
|
+
* @property color - Text color
|
|
62
|
+
* @property textAlign - Text alignment
|
|
63
|
+
*/
|
|
64
|
+
export declare const HeadingType: StructType<{
|
|
65
|
+
value: StringType;
|
|
66
|
+
size: OptionType<VariantType<{
|
|
67
|
+
xs: NullType;
|
|
68
|
+
sm: NullType;
|
|
69
|
+
md: NullType;
|
|
70
|
+
lg: NullType;
|
|
71
|
+
xl: NullType;
|
|
72
|
+
"2xl": NullType;
|
|
73
|
+
"3xl": NullType;
|
|
74
|
+
"4xl": NullType;
|
|
75
|
+
"5xl": NullType;
|
|
76
|
+
"6xl": NullType;
|
|
77
|
+
}>>;
|
|
78
|
+
as: OptionType<VariantType<{
|
|
79
|
+
h1: NullType;
|
|
80
|
+
h2: NullType;
|
|
81
|
+
h3: NullType;
|
|
82
|
+
h4: NullType;
|
|
83
|
+
h5: NullType;
|
|
84
|
+
h6: NullType;
|
|
85
|
+
}>>;
|
|
86
|
+
color: OptionType<StringType>;
|
|
87
|
+
textAlign: OptionType<VariantType<{
|
|
88
|
+
left: NullType;
|
|
89
|
+
center: NullType;
|
|
90
|
+
right: NullType;
|
|
91
|
+
justify: NullType;
|
|
92
|
+
}>>;
|
|
93
|
+
}>;
|
|
94
|
+
export type HeadingType = typeof HeadingType;
|
|
95
|
+
/**
|
|
96
|
+
* Style configuration for Heading components.
|
|
97
|
+
*/
|
|
98
|
+
export type HeadingStyle = {
|
|
99
|
+
/** Visual size of the heading */
|
|
100
|
+
size?: SubtypeExprOrValue<HeadingSizeType> | HeadingSizeLiteral;
|
|
101
|
+
/** Semantic HTML element (h1-h6) */
|
|
102
|
+
as?: SubtypeExprOrValue<HeadingAsType> | HeadingAsLiteral;
|
|
103
|
+
/** Text color */
|
|
104
|
+
color?: SubtypeExprOrValue<StringType>;
|
|
105
|
+
/** Text alignment */
|
|
106
|
+
textAlign?: SubtypeExprOrValue<TextAlignType> | TextAlignLiteral;
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/typography/heading/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,QAAQ,EACX,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAMtE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;EAW1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AACrD,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAM1G;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa;;;;;;;EAOxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AACjD,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAMvE;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC;AAM7C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACvB,iCAAiC;IACjC,IAAI,CAAC,EAAE,kBAAkB,CAAC,eAAe,CAAC,GAAG,kBAAkB,CAAC;IAChE,oCAAoC;IACpC,EAAE,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC;IAC1D,iBAAiB;IACjB,KAAK,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACvC,qBAAqB;IACrB,SAAS,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,GAAG,gBAAgB,CAAC;CACpE,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { OptionType, StringType, StructType, VariantType, NullType, } from "@elaraai/east";
|
|
6
|
+
import { TextAlignType } from "../../style.js";
|
|
7
|
+
// ============================================================================
|
|
8
|
+
// Heading Size Type
|
|
9
|
+
// ============================================================================
|
|
10
|
+
/**
|
|
11
|
+
* Heading size type for typography scaling.
|
|
12
|
+
*
|
|
13
|
+
* @property xs - Extra small heading
|
|
14
|
+
* @property sm - Small heading
|
|
15
|
+
* @property md - Medium heading
|
|
16
|
+
* @property lg - Large heading
|
|
17
|
+
* @property xl - Extra large heading
|
|
18
|
+
* @property 2xl - 2x large heading
|
|
19
|
+
* @property 3xl - 3x large heading
|
|
20
|
+
* @property 4xl - 4x large heading
|
|
21
|
+
* @property 5xl - 5x large heading
|
|
22
|
+
* @property 6xl - 6x large heading
|
|
23
|
+
*/
|
|
24
|
+
export const HeadingSizeType = VariantType({
|
|
25
|
+
xs: NullType,
|
|
26
|
+
sm: NullType,
|
|
27
|
+
md: NullType,
|
|
28
|
+
lg: NullType,
|
|
29
|
+
xl: NullType,
|
|
30
|
+
"2xl": NullType,
|
|
31
|
+
"3xl": NullType,
|
|
32
|
+
"4xl": NullType,
|
|
33
|
+
"5xl": NullType,
|
|
34
|
+
"6xl": NullType,
|
|
35
|
+
});
|
|
36
|
+
// ============================================================================
|
|
37
|
+
// Heading As Type
|
|
38
|
+
// ============================================================================
|
|
39
|
+
/**
|
|
40
|
+
* Heading semantic level type.
|
|
41
|
+
*
|
|
42
|
+
* @property h1 - Level 1 heading (most important)
|
|
43
|
+
* @property h2 - Level 2 heading
|
|
44
|
+
* @property h3 - Level 3 heading
|
|
45
|
+
* @property h4 - Level 4 heading
|
|
46
|
+
* @property h5 - Level 5 heading
|
|
47
|
+
* @property h6 - Level 6 heading (least important)
|
|
48
|
+
*/
|
|
49
|
+
export const HeadingAsType = VariantType({
|
|
50
|
+
h1: NullType,
|
|
51
|
+
h2: NullType,
|
|
52
|
+
h3: NullType,
|
|
53
|
+
h4: NullType,
|
|
54
|
+
h5: NullType,
|
|
55
|
+
h6: NullType,
|
|
56
|
+
});
|
|
57
|
+
// ============================================================================
|
|
58
|
+
// Heading Type
|
|
59
|
+
// ============================================================================
|
|
60
|
+
/**
|
|
61
|
+
* The concrete East type for Heading component data.
|
|
62
|
+
*
|
|
63
|
+
* @property value - The heading text
|
|
64
|
+
* @property size - Visual size of the heading
|
|
65
|
+
* @property as - Semantic HTML element (h1-h6)
|
|
66
|
+
* @property color - Text color
|
|
67
|
+
* @property textAlign - Text alignment
|
|
68
|
+
*/
|
|
69
|
+
export const HeadingType = StructType({
|
|
70
|
+
value: StringType,
|
|
71
|
+
size: OptionType(HeadingSizeType),
|
|
72
|
+
as: OptionType(HeadingAsType),
|
|
73
|
+
color: OptionType(StringType),
|
|
74
|
+
textAlign: OptionType(TextAlignType),
|
|
75
|
+
});
|
|
76
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/typography/heading/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEH,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,QAAQ,GACX,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAyB,MAAM,gBAAgB,CAAC;AAEtE,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACvC,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;CAClB,CAAC,CAAC;AAKH,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;IACrC,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;IACZ,EAAE,EAAE,QAAQ;CACf,CAAC,CAAC;AAKH,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC;IAClC,KAAK,EAAE,UAAU;IACjB,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC;IACjC,EAAE,EAAE,UAAU,CAAC,aAAa,CAAC;IAC7B,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;IAC7B,SAAS,EAAE,UAAU,CAAC,aAAa,CAAC;CACvC,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { type SubtypeExprOrValue, type ExprType, StringType, ArrayType } from "@elaraai/east";
|
|
6
|
+
import { UIComponentType } from "../../component.js";
|
|
7
|
+
import { type HighlightStyle } from "./types.js";
|
|
8
|
+
export { HighlightType, type HighlightStyle } from "./types.js";
|
|
9
|
+
/**
|
|
10
|
+
* Creates a Highlight component for highlighting text portions.
|
|
11
|
+
*
|
|
12
|
+
* @param value - The text containing content to highlight
|
|
13
|
+
* @param query - String or array of strings to highlight
|
|
14
|
+
* @param style - Optional styling configuration
|
|
15
|
+
* @returns An East expression representing the highlight component
|
|
16
|
+
*/
|
|
17
|
+
declare function createHighlight(value: SubtypeExprOrValue<StringType>, query: SubtypeExprOrValue<ArrayType<StringType>> | string | string[], style?: HighlightStyle): ExprType<UIComponentType>;
|
|
18
|
+
/**
|
|
19
|
+
* Highlight component for highlighting portions of text.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Use `Highlight.Root(value, query, style)` to highlight matching text.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* import { East } from "@elaraai/east";
|
|
27
|
+
* import { Highlight, UIComponentType } from "@elaraai/east-ui";
|
|
28
|
+
*
|
|
29
|
+
* const example = East.function([], UIComponentType, $ => {
|
|
30
|
+
* return Highlight.Root(
|
|
31
|
+
* "Search results for: react components",
|
|
32
|
+
* ["react", "components"],
|
|
33
|
+
* { color: "yellow.200" }
|
|
34
|
+
* );
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare const Highlight: {
|
|
39
|
+
readonly Root: typeof createHighlight;
|
|
40
|
+
readonly Types: {
|
|
41
|
+
readonly Highlight: import("@elaraai/east").StructType<{
|
|
42
|
+
value: StringType;
|
|
43
|
+
query: ArrayType<StringType>;
|
|
44
|
+
color: import("@elaraai/east").OptionType<StringType>;
|
|
45
|
+
}>;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/typography/highlight/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EAEb,UAAU,EACV,SAAS,EAEZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGhE,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAMhE;;;;;;;GAOG;AACH,iBAAS,eAAe,CACpB,KAAK,EAAE,kBAAkB,CAAC,UAAU,CAAC,EACrC,KAAK,EAAE,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,EAAE,EACpE,KAAK,CAAC,EAAE,cAAc,GACvB,QAAQ,CAAC,eAAe,CAAC,CAa3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,SAAS;;;;;;;;;CAKZ,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { East, StringType, ArrayType, variant, } from "@elaraai/east";
|
|
6
|
+
import { UIComponentType } from "../../component.js";
|
|
7
|
+
import { HighlightType } from "./types.js";
|
|
8
|
+
// Re-export types
|
|
9
|
+
export { HighlightType } from "./types.js";
|
|
10
|
+
// ============================================================================
|
|
11
|
+
// Highlight Component
|
|
12
|
+
// ============================================================================
|
|
13
|
+
/**
|
|
14
|
+
* Creates a Highlight component for highlighting text portions.
|
|
15
|
+
*
|
|
16
|
+
* @param value - The text containing content to highlight
|
|
17
|
+
* @param query - String or array of strings to highlight
|
|
18
|
+
* @param style - Optional styling configuration
|
|
19
|
+
* @returns An East expression representing the highlight component
|
|
20
|
+
*/
|
|
21
|
+
function createHighlight(value, query, style) {
|
|
22
|
+
// Normalize query to array
|
|
23
|
+
const queryArray = typeof query === "string"
|
|
24
|
+
? [query]
|
|
25
|
+
: Array.isArray(query)
|
|
26
|
+
? query
|
|
27
|
+
: query;
|
|
28
|
+
return East.value(variant("Highlight", {
|
|
29
|
+
value: value,
|
|
30
|
+
query: queryArray,
|
|
31
|
+
color: style?.color ? variant("some", style.color) : variant("none", null),
|
|
32
|
+
}), UIComponentType);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Highlight component for highlighting portions of text.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Use `Highlight.Root(value, query, style)` to highlight matching text.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* import { East } from "@elaraai/east";
|
|
43
|
+
* import { Highlight, UIComponentType } from "@elaraai/east-ui";
|
|
44
|
+
*
|
|
45
|
+
* const example = East.function([], UIComponentType, $ => {
|
|
46
|
+
* return Highlight.Root(
|
|
47
|
+
* "Search results for: react components",
|
|
48
|
+
* ["react", "components"],
|
|
49
|
+
* { color: "yellow.200" }
|
|
50
|
+
* );
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export const Highlight = {
|
|
55
|
+
Root: createHighlight,
|
|
56
|
+
Types: {
|
|
57
|
+
Highlight: HighlightType,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typography/highlight/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAGH,IAAI,EACJ,UAAU,EACV,SAAS,EACT,OAAO,GACV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAuB,MAAM,YAAY,CAAC;AAEhE,kBAAkB;AAClB,OAAO,EAAE,aAAa,EAAuB,MAAM,YAAY,CAAC;AAEhE,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAE/E;;;;;;;GAOG;AACH,SAAS,eAAe,CACpB,KAAqC,EACrC,KAAoE,EACpE,KAAsB;IAEtB,2BAA2B;IAC3B,MAAM,UAAU,GAAG,OAAO,KAAK,KAAK,QAAQ;QACxC,CAAC,CAAC,CAAC,KAAK,CAAC;QACT,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAClB,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,KAAK,CAAC;IAEhB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE;QACnC,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC;KAC7E,CAAC,EAAE,eAAe,CAAC,CAAC;AACzB,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE;QACH,SAAS,EAAE,aAAa;KAC3B;CACK,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { type SubtypeExprOrValue, OptionType, StringType, StructType, ArrayType } from "@elaraai/east";
|
|
6
|
+
/**
|
|
7
|
+
* The concrete East type for Highlight component data.
|
|
8
|
+
*
|
|
9
|
+
* @property value - The text containing content to highlight
|
|
10
|
+
* @property query - String or array of strings to highlight within the text
|
|
11
|
+
* @property color - Background color for highlighted portions
|
|
12
|
+
*/
|
|
13
|
+
export declare const HighlightType: StructType<{
|
|
14
|
+
value: StringType;
|
|
15
|
+
query: ArrayType<StringType>;
|
|
16
|
+
color: OptionType<StringType>;
|
|
17
|
+
}>;
|
|
18
|
+
export type HighlightType = typeof HighlightType;
|
|
19
|
+
/**
|
|
20
|
+
* Style configuration for Highlight components.
|
|
21
|
+
*/
|
|
22
|
+
export type HighlightStyle = {
|
|
23
|
+
/** Background color for highlighted text */
|
|
24
|
+
color?: SubtypeExprOrValue<StringType>;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/typography/highlight/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,EACZ,MAAM,eAAe,CAAC;AAMvB;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;EAIxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAMjD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
import { OptionType, StringType, StructType, ArrayType, } from "@elaraai/east";
|
|
6
|
+
// ============================================================================
|
|
7
|
+
// Highlight Type
|
|
8
|
+
// ============================================================================
|
|
9
|
+
/**
|
|
10
|
+
* The concrete East type for Highlight component data.
|
|
11
|
+
*
|
|
12
|
+
* @property value - The text containing content to highlight
|
|
13
|
+
* @property query - String or array of strings to highlight within the text
|
|
14
|
+
* @property color - Background color for highlighted portions
|
|
15
|
+
*/
|
|
16
|
+
export const HighlightType = StructType({
|
|
17
|
+
value: StringType,
|
|
18
|
+
query: ArrayType(StringType),
|
|
19
|
+
color: OptionType(StringType),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/typography/highlight/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEH,UAAU,EACV,UAAU,EACV,UAAU,EACV,SAAS,GACZ,MAAM,eAAe,CAAC;AAEvB,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC;IACpC,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,SAAS,CAAC,UAAU,CAAC;IAC5B,KAAK,EAAE,UAAU,CAAC,UAAU,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -2,124 +2,20 @@
|
|
|
2
2
|
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
3
|
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* import { Text } from "@elaraai/east-ui";
|
|
22
|
-
*
|
|
23
|
-
* // Simple text
|
|
24
|
-
* const text = Text.Root("Hello");
|
|
25
|
-
*
|
|
26
|
-
* // Styled text with string literals
|
|
27
|
-
* const styledText = Text.Root("World", {
|
|
28
|
-
* color: "blue.500",
|
|
29
|
-
* fontWeight: "bold",
|
|
30
|
-
* textAlign: "center",
|
|
31
|
-
* });
|
|
32
|
-
*
|
|
33
|
-
* // Access the type
|
|
34
|
-
* const textType = Text.Types.Text;
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
declare function createText(value: SubtypeExprOrValue<StringType>, style?: TextStyle): ExprType<UIComponentType>;
|
|
38
|
-
/**
|
|
39
|
-
* Text component for displaying styled text content.
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* Use `Text.Root(value, style)` to create text, or access `Text.Types.Text` for the East type.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```ts
|
|
46
|
-
* import { Text } from "@elaraai/east-ui";
|
|
47
|
-
*
|
|
48
|
-
* // Create styled text
|
|
49
|
-
* const text = Text.Root("Hello", { color: "blue.500", fontWeight: "bold" });
|
|
50
|
-
*
|
|
51
|
-
* // Access the type
|
|
52
|
-
* const textType = Text.Types.Text;
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
export declare const Text: {
|
|
56
|
-
readonly Root: typeof createText;
|
|
57
|
-
readonly Types: {
|
|
58
|
-
readonly Text: import("@elaraai/east").StructType<{
|
|
59
|
-
value: StringType;
|
|
60
|
-
color: import("@elaraai/east").OptionType<StringType>;
|
|
61
|
-
background: import("@elaraai/east").OptionType<StringType>;
|
|
62
|
-
fontWeight: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
63
|
-
normal: import("@elaraai/east").NullType;
|
|
64
|
-
bold: import("@elaraai/east").NullType;
|
|
65
|
-
semibold: import("@elaraai/east").NullType;
|
|
66
|
-
medium: import("@elaraai/east").NullType;
|
|
67
|
-
light: import("@elaraai/east").NullType;
|
|
68
|
-
}>>;
|
|
69
|
-
fontStyle: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
70
|
-
normal: import("@elaraai/east").NullType;
|
|
71
|
-
italic: import("@elaraai/east").NullType;
|
|
72
|
-
}>>;
|
|
73
|
-
fontSize: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
74
|
-
xs: import("@elaraai/east").NullType;
|
|
75
|
-
sm: import("@elaraai/east").NullType;
|
|
76
|
-
md: import("@elaraai/east").NullType;
|
|
77
|
-
lg: import("@elaraai/east").NullType;
|
|
78
|
-
}>>;
|
|
79
|
-
textTransform: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
80
|
-
uppercase: import("@elaraai/east").NullType;
|
|
81
|
-
lowercase: import("@elaraai/east").NullType;
|
|
82
|
-
capitalize: import("@elaraai/east").NullType;
|
|
83
|
-
none: import("@elaraai/east").NullType;
|
|
84
|
-
}>>;
|
|
85
|
-
textAlign: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
86
|
-
left: import("@elaraai/east").NullType;
|
|
87
|
-
center: import("@elaraai/east").NullType;
|
|
88
|
-
right: import("@elaraai/east").NullType;
|
|
89
|
-
justify: import("@elaraai/east").NullType;
|
|
90
|
-
}>>;
|
|
91
|
-
textOverflow: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
92
|
-
clip: import("@elaraai/east").NullType;
|
|
93
|
-
ellipsis: import("@elaraai/east").NullType;
|
|
94
|
-
}>>;
|
|
95
|
-
whiteSpace: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
96
|
-
normal: import("@elaraai/east").NullType;
|
|
97
|
-
nowrap: import("@elaraai/east").NullType;
|
|
98
|
-
pre: import("@elaraai/east").NullType;
|
|
99
|
-
"pre-wrap": import("@elaraai/east").NullType;
|
|
100
|
-
"pre-line": import("@elaraai/east").NullType;
|
|
101
|
-
}>>;
|
|
102
|
-
overflow: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
103
|
-
visible: import("@elaraai/east").NullType;
|
|
104
|
-
hidden: import("@elaraai/east").NullType;
|
|
105
|
-
scroll: import("@elaraai/east").NullType;
|
|
106
|
-
auto: import("@elaraai/east").NullType;
|
|
107
|
-
}>>;
|
|
108
|
-
borderWidth: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
109
|
-
none: import("@elaraai/east").NullType;
|
|
110
|
-
thin: import("@elaraai/east").NullType;
|
|
111
|
-
medium: import("@elaraai/east").NullType;
|
|
112
|
-
thick: import("@elaraai/east").NullType;
|
|
113
|
-
}>>;
|
|
114
|
-
borderStyle: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
115
|
-
solid: import("@elaraai/east").NullType;
|
|
116
|
-
dashed: import("@elaraai/east").NullType;
|
|
117
|
-
dotted: import("@elaraai/east").NullType;
|
|
118
|
-
double: import("@elaraai/east").NullType;
|
|
119
|
-
none: import("@elaraai/east").NullType;
|
|
120
|
-
}>>;
|
|
121
|
-
borderColor: import("@elaraai/east").OptionType<StringType>;
|
|
122
|
-
}>;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
5
|
+
export { Text } from "./text/index.js";
|
|
6
|
+
export { TextType, type TextStyle } from "./text/types.js";
|
|
7
|
+
export { Code } from "./code/index.js";
|
|
8
|
+
export { CodeType, CodeVariantType, type CodeStyle } from "./code/types.js";
|
|
9
|
+
export { Heading } from "./heading/index.js";
|
|
10
|
+
export { HeadingType, HeadingSizeType, HeadingAsType, type HeadingStyle } from "./heading/types.js";
|
|
11
|
+
export { Link } from "./link/index.js";
|
|
12
|
+
export { LinkType, LinkVariantType, type LinkStyle } from "./link/types.js";
|
|
13
|
+
export { Highlight } from "./highlight/index.js";
|
|
14
|
+
export { HighlightType, type HighlightStyle } from "./highlight/types.js";
|
|
15
|
+
export { Mark } from "./mark/index.js";
|
|
16
|
+
export { MarkType, MarkVariantType, type MarkStyle } from "./mark/types.js";
|
|
17
|
+
export { List } from "./list/index.js";
|
|
18
|
+
export { ListType, ListVariantType, type ListStyle } from "./list/types.js";
|
|
19
|
+
export { CodeBlock } from "./code-block/index.js";
|
|
20
|
+
export { CodeBlockType, type CodeBlockStyle } from "./code-block/types.js";
|
|
125
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typography/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG3D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5E,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGpG,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5E,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG1E,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5E,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|