@elaraai/east-ui 0.0.1-beta.4 → 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/collections/gantt/index.d.ts +515 -0
- package/dist/src/collections/gantt/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.d.ts +412 -0
- package/dist/src/collections/table/index.d.ts.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 +206 -0
- package/dist/src/container/card/index.d.ts.map +1 -1
- package/dist/src/disclosure/accordion/index.d.ts +412 -0
- package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.d.ts +206 -0
- package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.d.ts +412 -0
- package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
- package/dist/src/forms/field/index.d.ts +206 -0
- package/dist/src/forms/field/index.d.ts.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 +206 -0
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/grid/index.d.ts +412 -0
- package/dist/src/layout/grid/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +412 -0
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.d.ts +206 -0
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.d.ts +412 -0
- package/dist/src/overlays/dialog/index.d.ts.map +1 -1
- package/dist/src/overlays/drawer/index.d.ts +412 -0
- package/dist/src/overlays/drawer/index.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.d.ts +412 -0
- package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
- package/dist/src/overlays/menu/index.d.ts +206 -0
- package/dist/src/overlays/menu/index.d.ts.map +1 -1
- package/dist/src/overlays/popover/index.d.ts +412 -0
- package/dist/src/overlays/popover/index.d.ts.map +1 -1
- package/dist/src/overlays/toggle-tip/index.d.ts +206 -0
- package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
- package/dist/src/overlays/tooltip/index.d.ts +206 -0
- package/dist/src/overlays/tooltip/index.d.ts.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 -159
- package/dist/src/typography/index.d.ts.map +1 -1
- package/dist/src/typography/index.js +24 -167
- 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
|
@@ -85,6 +85,109 @@ export declare const ToggleTipType: StructType<{
|
|
|
85
85
|
}>>;
|
|
86
86
|
borderColor: OptionType<StringType>;
|
|
87
87
|
}>;
|
|
88
|
+
Code: StructType<{
|
|
89
|
+
value: StringType;
|
|
90
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
91
|
+
subtle: import("@elaraai/east").NullType;
|
|
92
|
+
surface: import("@elaraai/east").NullType;
|
|
93
|
+
outline: import("@elaraai/east").NullType;
|
|
94
|
+
}>>;
|
|
95
|
+
colorPalette: OptionType<StringType>;
|
|
96
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
97
|
+
xs: import("@elaraai/east").NullType;
|
|
98
|
+
sm: import("@elaraai/east").NullType;
|
|
99
|
+
md: import("@elaraai/east").NullType;
|
|
100
|
+
lg: import("@elaraai/east").NullType;
|
|
101
|
+
}>>;
|
|
102
|
+
}>;
|
|
103
|
+
Heading: StructType<{
|
|
104
|
+
value: StringType;
|
|
105
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
106
|
+
xs: import("@elaraai/east").NullType;
|
|
107
|
+
sm: import("@elaraai/east").NullType;
|
|
108
|
+
md: import("@elaraai/east").NullType;
|
|
109
|
+
lg: import("@elaraai/east").NullType;
|
|
110
|
+
xl: import("@elaraai/east").NullType;
|
|
111
|
+
"2xl": import("@elaraai/east").NullType;
|
|
112
|
+
"3xl": import("@elaraai/east").NullType;
|
|
113
|
+
"4xl": import("@elaraai/east").NullType;
|
|
114
|
+
"5xl": import("@elaraai/east").NullType;
|
|
115
|
+
"6xl": import("@elaraai/east").NullType;
|
|
116
|
+
}>>;
|
|
117
|
+
as: OptionType<import("@elaraai/east").VariantType<{
|
|
118
|
+
h1: import("@elaraai/east").NullType;
|
|
119
|
+
h2: import("@elaraai/east").NullType;
|
|
120
|
+
h3: import("@elaraai/east").NullType;
|
|
121
|
+
h4: import("@elaraai/east").NullType;
|
|
122
|
+
h5: import("@elaraai/east").NullType;
|
|
123
|
+
h6: import("@elaraai/east").NullType;
|
|
124
|
+
}>>;
|
|
125
|
+
color: OptionType<StringType>;
|
|
126
|
+
textAlign: OptionType<import("@elaraai/east").VariantType<{
|
|
127
|
+
left: import("@elaraai/east").NullType;
|
|
128
|
+
center: import("@elaraai/east").NullType;
|
|
129
|
+
right: import("@elaraai/east").NullType;
|
|
130
|
+
justify: import("@elaraai/east").NullType;
|
|
131
|
+
}>>;
|
|
132
|
+
}>;
|
|
133
|
+
Link: StructType<{
|
|
134
|
+
value: StringType;
|
|
135
|
+
href: StringType;
|
|
136
|
+
external: OptionType<import("@elaraai/east").BooleanType>;
|
|
137
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
138
|
+
underline: import("@elaraai/east").NullType;
|
|
139
|
+
plain: import("@elaraai/east").NullType;
|
|
140
|
+
}>>;
|
|
141
|
+
colorPalette: OptionType<StringType>;
|
|
142
|
+
}>;
|
|
143
|
+
Highlight: StructType<{
|
|
144
|
+
value: StringType;
|
|
145
|
+
query: import("@elaraai/east").ArrayType<StringType>;
|
|
146
|
+
color: OptionType<StringType>;
|
|
147
|
+
}>;
|
|
148
|
+
Mark: StructType<{
|
|
149
|
+
value: StringType;
|
|
150
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
151
|
+
subtle: import("@elaraai/east").NullType;
|
|
152
|
+
solid: import("@elaraai/east").NullType;
|
|
153
|
+
text: import("@elaraai/east").NullType;
|
|
154
|
+
plain: import("@elaraai/east").NullType;
|
|
155
|
+
}>>;
|
|
156
|
+
colorPalette: OptionType<StringType>;
|
|
157
|
+
}>;
|
|
158
|
+
List: StructType<{
|
|
159
|
+
items: import("@elaraai/east").ArrayType<StringType>;
|
|
160
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
161
|
+
ordered: import("@elaraai/east").NullType;
|
|
162
|
+
unordered: import("@elaraai/east").NullType;
|
|
163
|
+
}>>;
|
|
164
|
+
gap: OptionType<StringType>;
|
|
165
|
+
colorPalette: OptionType<StringType>;
|
|
166
|
+
}>;
|
|
167
|
+
CodeBlock: StructType<{
|
|
168
|
+
code: StringType;
|
|
169
|
+
language: OptionType<import("@elaraai/east").VariantType<{
|
|
170
|
+
typescript: import("@elaraai/east").NullType;
|
|
171
|
+
javascript: import("@elaraai/east").NullType;
|
|
172
|
+
json: import("@elaraai/east").NullType;
|
|
173
|
+
html: import("@elaraai/east").NullType;
|
|
174
|
+
css: import("@elaraai/east").NullType;
|
|
175
|
+
python: import("@elaraai/east").NullType;
|
|
176
|
+
rust: import("@elaraai/east").NullType;
|
|
177
|
+
go: import("@elaraai/east").NullType;
|
|
178
|
+
sql: import("@elaraai/east").NullType;
|
|
179
|
+
bash: import("@elaraai/east").NullType;
|
|
180
|
+
markdown: import("@elaraai/east").NullType;
|
|
181
|
+
yaml: import("@elaraai/east").NullType;
|
|
182
|
+
xml: import("@elaraai/east").NullType;
|
|
183
|
+
plaintext: import("@elaraai/east").NullType;
|
|
184
|
+
}>>;
|
|
185
|
+
showLineNumbers: OptionType<import("@elaraai/east").BooleanType>;
|
|
186
|
+
highlightLines: OptionType<import("@elaraai/east").ArrayType<import("@elaraai/east").IntegerType>>;
|
|
187
|
+
maxHeight: OptionType<StringType>;
|
|
188
|
+
showCopyButton: OptionType<import("@elaraai/east").BooleanType>;
|
|
189
|
+
title: OptionType<StringType>;
|
|
190
|
+
}>;
|
|
88
191
|
Button: StructType<{
|
|
89
192
|
label: StringType;
|
|
90
193
|
style: OptionType<StructType<{
|
|
@@ -3677,6 +3780,109 @@ export declare const ToggleTip: {
|
|
|
3677
3780
|
}>>;
|
|
3678
3781
|
borderColor: OptionType<StringType>;
|
|
3679
3782
|
}>;
|
|
3783
|
+
Code: StructType<{
|
|
3784
|
+
value: StringType;
|
|
3785
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3786
|
+
subtle: import("@elaraai/east").NullType;
|
|
3787
|
+
surface: import("@elaraai/east").NullType;
|
|
3788
|
+
outline: import("@elaraai/east").NullType;
|
|
3789
|
+
}>>;
|
|
3790
|
+
colorPalette: OptionType<StringType>;
|
|
3791
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
3792
|
+
xs: import("@elaraai/east").NullType;
|
|
3793
|
+
sm: import("@elaraai/east").NullType;
|
|
3794
|
+
md: import("@elaraai/east").NullType;
|
|
3795
|
+
lg: import("@elaraai/east").NullType;
|
|
3796
|
+
}>>;
|
|
3797
|
+
}>;
|
|
3798
|
+
Heading: StructType<{
|
|
3799
|
+
value: StringType;
|
|
3800
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
3801
|
+
xs: import("@elaraai/east").NullType;
|
|
3802
|
+
sm: import("@elaraai/east").NullType;
|
|
3803
|
+
md: import("@elaraai/east").NullType;
|
|
3804
|
+
lg: import("@elaraai/east").NullType;
|
|
3805
|
+
xl: import("@elaraai/east").NullType;
|
|
3806
|
+
"2xl": import("@elaraai/east").NullType;
|
|
3807
|
+
"3xl": import("@elaraai/east").NullType;
|
|
3808
|
+
"4xl": import("@elaraai/east").NullType;
|
|
3809
|
+
"5xl": import("@elaraai/east").NullType;
|
|
3810
|
+
"6xl": import("@elaraai/east").NullType;
|
|
3811
|
+
}>>;
|
|
3812
|
+
as: OptionType<import("@elaraai/east").VariantType<{
|
|
3813
|
+
h1: import("@elaraai/east").NullType;
|
|
3814
|
+
h2: import("@elaraai/east").NullType;
|
|
3815
|
+
h3: import("@elaraai/east").NullType;
|
|
3816
|
+
h4: import("@elaraai/east").NullType;
|
|
3817
|
+
h5: import("@elaraai/east").NullType;
|
|
3818
|
+
h6: import("@elaraai/east").NullType;
|
|
3819
|
+
}>>;
|
|
3820
|
+
color: OptionType<StringType>;
|
|
3821
|
+
textAlign: OptionType<import("@elaraai/east").VariantType<{
|
|
3822
|
+
left: import("@elaraai/east").NullType;
|
|
3823
|
+
center: import("@elaraai/east").NullType;
|
|
3824
|
+
right: import("@elaraai/east").NullType;
|
|
3825
|
+
justify: import("@elaraai/east").NullType;
|
|
3826
|
+
}>>;
|
|
3827
|
+
}>;
|
|
3828
|
+
Link: StructType<{
|
|
3829
|
+
value: StringType;
|
|
3830
|
+
href: StringType;
|
|
3831
|
+
external: OptionType<import("@elaraai/east").BooleanType>;
|
|
3832
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3833
|
+
underline: import("@elaraai/east").NullType;
|
|
3834
|
+
plain: import("@elaraai/east").NullType;
|
|
3835
|
+
}>>;
|
|
3836
|
+
colorPalette: OptionType<StringType>;
|
|
3837
|
+
}>;
|
|
3838
|
+
Highlight: StructType<{
|
|
3839
|
+
value: StringType;
|
|
3840
|
+
query: import("@elaraai/east").ArrayType<StringType>;
|
|
3841
|
+
color: OptionType<StringType>;
|
|
3842
|
+
}>;
|
|
3843
|
+
Mark: StructType<{
|
|
3844
|
+
value: StringType;
|
|
3845
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3846
|
+
subtle: import("@elaraai/east").NullType;
|
|
3847
|
+
solid: import("@elaraai/east").NullType;
|
|
3848
|
+
text: import("@elaraai/east").NullType;
|
|
3849
|
+
plain: import("@elaraai/east").NullType;
|
|
3850
|
+
}>>;
|
|
3851
|
+
colorPalette: OptionType<StringType>;
|
|
3852
|
+
}>;
|
|
3853
|
+
List: StructType<{
|
|
3854
|
+
items: import("@elaraai/east").ArrayType<StringType>;
|
|
3855
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3856
|
+
ordered: import("@elaraai/east").NullType;
|
|
3857
|
+
unordered: import("@elaraai/east").NullType;
|
|
3858
|
+
}>>;
|
|
3859
|
+
gap: OptionType<StringType>;
|
|
3860
|
+
colorPalette: OptionType<StringType>;
|
|
3861
|
+
}>;
|
|
3862
|
+
CodeBlock: StructType<{
|
|
3863
|
+
code: StringType;
|
|
3864
|
+
language: OptionType<import("@elaraai/east").VariantType<{
|
|
3865
|
+
typescript: import("@elaraai/east").NullType;
|
|
3866
|
+
javascript: import("@elaraai/east").NullType;
|
|
3867
|
+
json: import("@elaraai/east").NullType;
|
|
3868
|
+
html: import("@elaraai/east").NullType;
|
|
3869
|
+
css: import("@elaraai/east").NullType;
|
|
3870
|
+
python: import("@elaraai/east").NullType;
|
|
3871
|
+
rust: import("@elaraai/east").NullType;
|
|
3872
|
+
go: import("@elaraai/east").NullType;
|
|
3873
|
+
sql: import("@elaraai/east").NullType;
|
|
3874
|
+
bash: import("@elaraai/east").NullType;
|
|
3875
|
+
markdown: import("@elaraai/east").NullType;
|
|
3876
|
+
yaml: import("@elaraai/east").NullType;
|
|
3877
|
+
xml: import("@elaraai/east").NullType;
|
|
3878
|
+
plaintext: import("@elaraai/east").NullType;
|
|
3879
|
+
}>>;
|
|
3880
|
+
showLineNumbers: OptionType<import("@elaraai/east").BooleanType>;
|
|
3881
|
+
highlightLines: OptionType<import("@elaraai/east").ArrayType<import("@elaraai/east").IntegerType>>;
|
|
3882
|
+
maxHeight: OptionType<StringType>;
|
|
3883
|
+
showCopyButton: OptionType<import("@elaraai/east").BooleanType>;
|
|
3884
|
+
title: OptionType<StringType>;
|
|
3885
|
+
}>;
|
|
3680
3886
|
Button: StructType<{
|
|
3681
3887
|
label: StringType;
|
|
3682
3888
|
style: OptionType<StructType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/overlays/toggle-tip/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,UAAU,EAAE,UAAU,EACtB,UAAU,EAEb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAEH,KAAK,cAAc,EAEtB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACH,kBAAkB,EAClB,KAAK,cAAc,EACnB,aAAa,GAChB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD;;;;;;;;;;GAUG;AACH,eA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ringType;
|
|
90
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
91
|
+
subtle: import("@elaraai/east").NullType;
|
|
92
|
+
surface: import("@elaraai/east").NullType;
|
|
93
|
+
outline: import("@elaraai/east").NullType;
|
|
94
|
+
}>>;
|
|
95
|
+
colorPalette: OptionType<StringType>;
|
|
96
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
97
|
+
xs: import("@elaraai/east").NullType;
|
|
98
|
+
sm: import("@elaraai/east").NullType;
|
|
99
|
+
md: import("@elaraai/east").NullType;
|
|
100
|
+
lg: import("@elaraai/east").NullType;
|
|
101
|
+
}>>;
|
|
102
|
+
}>;
|
|
103
|
+
Heading: StructType<{
|
|
104
|
+
value: StringType;
|
|
105
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
106
|
+
xs: import("@elaraai/east").NullType;
|
|
107
|
+
sm: import("@elaraai/east").NullType;
|
|
108
|
+
md: import("@elaraai/east").NullType;
|
|
109
|
+
lg: import("@elaraai/east").NullType;
|
|
110
|
+
xl: import("@elaraai/east").NullType;
|
|
111
|
+
"2xl": import("@elaraai/east").NullType;
|
|
112
|
+
"3xl": import("@elaraai/east").NullType;
|
|
113
|
+
"4xl": import("@elaraai/east").NullType;
|
|
114
|
+
"5xl": import("@elaraai/east").NullType;
|
|
115
|
+
"6xl": import("@elaraai/east").NullType;
|
|
116
|
+
}>>;
|
|
117
|
+
as: OptionType<import("@elaraai/east").VariantType<{
|
|
118
|
+
h1: import("@elaraai/east").NullType;
|
|
119
|
+
h2: import("@elaraai/east").NullType;
|
|
120
|
+
h3: import("@elaraai/east").NullType;
|
|
121
|
+
h4: import("@elaraai/east").NullType;
|
|
122
|
+
h5: import("@elaraai/east").NullType;
|
|
123
|
+
h6: import("@elaraai/east").NullType;
|
|
124
|
+
}>>;
|
|
125
|
+
color: OptionType<StringType>;
|
|
126
|
+
textAlign: OptionType<import("@elaraai/east").VariantType<{
|
|
127
|
+
left: import("@elaraai/east").NullType;
|
|
128
|
+
center: import("@elaraai/east").NullType;
|
|
129
|
+
right: import("@elaraai/east").NullType;
|
|
130
|
+
justify: import("@elaraai/east").NullType;
|
|
131
|
+
}>>;
|
|
132
|
+
}>;
|
|
133
|
+
Link: StructType<{
|
|
134
|
+
value: StringType;
|
|
135
|
+
href: StringType;
|
|
136
|
+
external: OptionType<BooleanType>;
|
|
137
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
138
|
+
underline: import("@elaraai/east").NullType;
|
|
139
|
+
plain: import("@elaraai/east").NullType;
|
|
140
|
+
}>>;
|
|
141
|
+
colorPalette: OptionType<StringType>;
|
|
142
|
+
}>;
|
|
143
|
+
Highlight: StructType<{
|
|
144
|
+
value: StringType;
|
|
145
|
+
query: import("@elaraai/east").ArrayType<StringType>;
|
|
146
|
+
color: OptionType<StringType>;
|
|
147
|
+
}>;
|
|
148
|
+
Mark: StructType<{
|
|
149
|
+
value: StringType;
|
|
150
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
151
|
+
subtle: import("@elaraai/east").NullType;
|
|
152
|
+
solid: import("@elaraai/east").NullType;
|
|
153
|
+
text: import("@elaraai/east").NullType;
|
|
154
|
+
plain: import("@elaraai/east").NullType;
|
|
155
|
+
}>>;
|
|
156
|
+
colorPalette: OptionType<StringType>;
|
|
157
|
+
}>;
|
|
158
|
+
List: StructType<{
|
|
159
|
+
items: import("@elaraai/east").ArrayType<StringType>;
|
|
160
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
161
|
+
ordered: import("@elaraai/east").NullType;
|
|
162
|
+
unordered: import("@elaraai/east").NullType;
|
|
163
|
+
}>>;
|
|
164
|
+
gap: OptionType<StringType>;
|
|
165
|
+
colorPalette: OptionType<StringType>;
|
|
166
|
+
}>;
|
|
167
|
+
CodeBlock: StructType<{
|
|
168
|
+
code: StringType;
|
|
169
|
+
language: OptionType<import("@elaraai/east").VariantType<{
|
|
170
|
+
typescript: import("@elaraai/east").NullType;
|
|
171
|
+
javascript: import("@elaraai/east").NullType;
|
|
172
|
+
json: import("@elaraai/east").NullType;
|
|
173
|
+
html: import("@elaraai/east").NullType;
|
|
174
|
+
css: import("@elaraai/east").NullType;
|
|
175
|
+
python: import("@elaraai/east").NullType;
|
|
176
|
+
rust: import("@elaraai/east").NullType;
|
|
177
|
+
go: import("@elaraai/east").NullType;
|
|
178
|
+
sql: import("@elaraai/east").NullType;
|
|
179
|
+
bash: import("@elaraai/east").NullType;
|
|
180
|
+
markdown: import("@elaraai/east").NullType;
|
|
181
|
+
yaml: import("@elaraai/east").NullType;
|
|
182
|
+
xml: import("@elaraai/east").NullType;
|
|
183
|
+
plaintext: import("@elaraai/east").NullType;
|
|
184
|
+
}>>;
|
|
185
|
+
showLineNumbers: OptionType<BooleanType>;
|
|
186
|
+
highlightLines: OptionType<import("@elaraai/east").ArrayType<import("@elaraai/east").IntegerType>>;
|
|
187
|
+
maxHeight: OptionType<StringType>;
|
|
188
|
+
showCopyButton: OptionType<BooleanType>;
|
|
189
|
+
title: OptionType<StringType>;
|
|
190
|
+
}>;
|
|
88
191
|
Button: StructType<{
|
|
89
192
|
label: StringType;
|
|
90
193
|
style: OptionType<StructType<{
|
|
@@ -3693,6 +3796,109 @@ export declare const Tooltip: {
|
|
|
3693
3796
|
}>>;
|
|
3694
3797
|
borderColor: OptionType<StringType>;
|
|
3695
3798
|
}>;
|
|
3799
|
+
Code: StructType<{
|
|
3800
|
+
value: StringType;
|
|
3801
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3802
|
+
subtle: import("@elaraai/east").NullType;
|
|
3803
|
+
surface: import("@elaraai/east").NullType;
|
|
3804
|
+
outline: import("@elaraai/east").NullType;
|
|
3805
|
+
}>>;
|
|
3806
|
+
colorPalette: OptionType<StringType>;
|
|
3807
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
3808
|
+
xs: import("@elaraai/east").NullType;
|
|
3809
|
+
sm: import("@elaraai/east").NullType;
|
|
3810
|
+
md: import("@elaraai/east").NullType;
|
|
3811
|
+
lg: import("@elaraai/east").NullType;
|
|
3812
|
+
}>>;
|
|
3813
|
+
}>;
|
|
3814
|
+
Heading: StructType<{
|
|
3815
|
+
value: StringType;
|
|
3816
|
+
size: OptionType<import("@elaraai/east").VariantType<{
|
|
3817
|
+
xs: import("@elaraai/east").NullType;
|
|
3818
|
+
sm: import("@elaraai/east").NullType;
|
|
3819
|
+
md: import("@elaraai/east").NullType;
|
|
3820
|
+
lg: import("@elaraai/east").NullType;
|
|
3821
|
+
xl: import("@elaraai/east").NullType;
|
|
3822
|
+
"2xl": import("@elaraai/east").NullType;
|
|
3823
|
+
"3xl": import("@elaraai/east").NullType;
|
|
3824
|
+
"4xl": import("@elaraai/east").NullType;
|
|
3825
|
+
"5xl": import("@elaraai/east").NullType;
|
|
3826
|
+
"6xl": import("@elaraai/east").NullType;
|
|
3827
|
+
}>>;
|
|
3828
|
+
as: OptionType<import("@elaraai/east").VariantType<{
|
|
3829
|
+
h1: import("@elaraai/east").NullType;
|
|
3830
|
+
h2: import("@elaraai/east").NullType;
|
|
3831
|
+
h3: import("@elaraai/east").NullType;
|
|
3832
|
+
h4: import("@elaraai/east").NullType;
|
|
3833
|
+
h5: import("@elaraai/east").NullType;
|
|
3834
|
+
h6: import("@elaraai/east").NullType;
|
|
3835
|
+
}>>;
|
|
3836
|
+
color: OptionType<StringType>;
|
|
3837
|
+
textAlign: OptionType<import("@elaraai/east").VariantType<{
|
|
3838
|
+
left: import("@elaraai/east").NullType;
|
|
3839
|
+
center: import("@elaraai/east").NullType;
|
|
3840
|
+
right: import("@elaraai/east").NullType;
|
|
3841
|
+
justify: import("@elaraai/east").NullType;
|
|
3842
|
+
}>>;
|
|
3843
|
+
}>;
|
|
3844
|
+
Link: StructType<{
|
|
3845
|
+
value: StringType;
|
|
3846
|
+
href: StringType;
|
|
3847
|
+
external: OptionType<BooleanType>;
|
|
3848
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3849
|
+
underline: import("@elaraai/east").NullType;
|
|
3850
|
+
plain: import("@elaraai/east").NullType;
|
|
3851
|
+
}>>;
|
|
3852
|
+
colorPalette: OptionType<StringType>;
|
|
3853
|
+
}>;
|
|
3854
|
+
Highlight: StructType<{
|
|
3855
|
+
value: StringType;
|
|
3856
|
+
query: import("@elaraai/east").ArrayType<StringType>;
|
|
3857
|
+
color: OptionType<StringType>;
|
|
3858
|
+
}>;
|
|
3859
|
+
Mark: StructType<{
|
|
3860
|
+
value: StringType;
|
|
3861
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3862
|
+
subtle: import("@elaraai/east").NullType;
|
|
3863
|
+
solid: import("@elaraai/east").NullType;
|
|
3864
|
+
text: import("@elaraai/east").NullType;
|
|
3865
|
+
plain: import("@elaraai/east").NullType;
|
|
3866
|
+
}>>;
|
|
3867
|
+
colorPalette: OptionType<StringType>;
|
|
3868
|
+
}>;
|
|
3869
|
+
List: StructType<{
|
|
3870
|
+
items: import("@elaraai/east").ArrayType<StringType>;
|
|
3871
|
+
variant: OptionType<import("@elaraai/east").VariantType<{
|
|
3872
|
+
ordered: import("@elaraai/east").NullType;
|
|
3873
|
+
unordered: import("@elaraai/east").NullType;
|
|
3874
|
+
}>>;
|
|
3875
|
+
gap: OptionType<StringType>;
|
|
3876
|
+
colorPalette: OptionType<StringType>;
|
|
3877
|
+
}>;
|
|
3878
|
+
CodeBlock: StructType<{
|
|
3879
|
+
code: StringType;
|
|
3880
|
+
language: OptionType<import("@elaraai/east").VariantType<{
|
|
3881
|
+
typescript: import("@elaraai/east").NullType;
|
|
3882
|
+
javascript: import("@elaraai/east").NullType;
|
|
3883
|
+
json: import("@elaraai/east").NullType;
|
|
3884
|
+
html: import("@elaraai/east").NullType;
|
|
3885
|
+
css: import("@elaraai/east").NullType;
|
|
3886
|
+
python: import("@elaraai/east").NullType;
|
|
3887
|
+
rust: import("@elaraai/east").NullType;
|
|
3888
|
+
go: import("@elaraai/east").NullType;
|
|
3889
|
+
sql: import("@elaraai/east").NullType;
|
|
3890
|
+
bash: import("@elaraai/east").NullType;
|
|
3891
|
+
markdown: import("@elaraai/east").NullType;
|
|
3892
|
+
yaml: import("@elaraai/east").NullType;
|
|
3893
|
+
xml: import("@elaraai/east").NullType;
|
|
3894
|
+
plaintext: import("@elaraai/east").NullType;
|
|
3895
|
+
}>>;
|
|
3896
|
+
showLineNumbers: OptionType<BooleanType>;
|
|
3897
|
+
highlightLines: OptionType<import("@elaraai/east").ArrayType<import("@elaraai/east").IntegerType>>;
|
|
3898
|
+
maxHeight: OptionType<StringType>;
|
|
3899
|
+
showCopyButton: OptionType<BooleanType>;
|
|
3900
|
+
title: OptionType<StringType>;
|
|
3901
|
+
}>;
|
|
3696
3902
|
Button: StructType<{
|
|
3697
3903
|
label: StringType;
|
|
3698
3904
|
style: OptionType<StructType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/overlays/tooltip/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EAEb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAEH,SAAS,EAET,KAAK,YAAY,EACpB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACH,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,KAAK,YAAY,EACjB,KAAK,gBAAgB,GACxB,MAAM,YAAY,CAAC;AAMpB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/overlays/tooltip/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,UAAU,EACV,WAAW,EACX,UAAU,EACV,UAAU,EAEb,MAAM,e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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAEH;;;;;;;;;WASG;;;;;;;;;;;;;;;;;;QAEH;;;;;;;;;;;;;;;;;;;WAmBG;;;;;;;;;;;;;;;;CAGD,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 } from "@elaraai/east";
|
|
6
|
+
import { UIComponentType } from "../../component.js";
|
|
7
|
+
import { type CodeStyle } from "./types.js";
|
|
8
|
+
export { CodeType, CodeVariantType, type CodeStyle } from "./types.js";
|
|
9
|
+
/**
|
|
10
|
+
* Creates a Code component for displaying inline code.
|
|
11
|
+
*
|
|
12
|
+
* @param value - The code text to display
|
|
13
|
+
* @param style - Optional styling configuration
|
|
14
|
+
* @returns An East expression representing the code component
|
|
15
|
+
*/
|
|
16
|
+
declare function createCode(value: SubtypeExprOrValue<StringType>, style?: CodeStyle): ExprType<UIComponentType>;
|
|
17
|
+
/**
|
|
18
|
+
* Code component for displaying inline code snippets.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Use `Code.Root(value, style)` to create inline code display.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { East } from "@elaraai/east";
|
|
26
|
+
* import { Code, UIComponentType } from "@elaraai/east-ui";
|
|
27
|
+
*
|
|
28
|
+
* const example = East.function([], UIComponentType, $ => {
|
|
29
|
+
* return Code.Root("const x = 42", {
|
|
30
|
+
* colorPalette: "purple",
|
|
31
|
+
* variant: "surface",
|
|
32
|
+
* });
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare const Code: {
|
|
37
|
+
readonly Root: typeof createCode;
|
|
38
|
+
readonly Types: {
|
|
39
|
+
readonly Code: import("@elaraai/east").StructType<{
|
|
40
|
+
value: StringType;
|
|
41
|
+
variant: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
42
|
+
subtle: import("@elaraai/east").NullType;
|
|
43
|
+
surface: import("@elaraai/east").NullType;
|
|
44
|
+
outline: import("@elaraai/east").NullType;
|
|
45
|
+
}>>;
|
|
46
|
+
colorPalette: import("@elaraai/east").OptionType<StringType>;
|
|
47
|
+
size: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
48
|
+
xs: import("@elaraai/east").NullType;
|
|
49
|
+
sm: import("@elaraai/east").NullType;
|
|
50
|
+
md: import("@elaraai/east").NullType;
|
|
51
|
+
lg: import("@elaraai/east").NullType;
|
|
52
|
+
}>>;
|
|
53
|
+
}>;
|
|
54
|
+
readonly Variant: import("@elaraai/east").VariantType<{
|
|
55
|
+
subtle: import("@elaraai/east").NullType;
|
|
56
|
+
surface: import("@elaraai/east").NullType;
|
|
57
|
+
outline: import("@elaraai/east").NullType;
|
|
58
|
+
}>;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/typography/code/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EAEb,UAAU,EAEb,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAMvE;;;;;;GAMG;AACH,iBAAS,UAAU,CACf,KAAK,EAAE,kBAAkB,CAAC,UAAU,CAAC,EACrC,KAAK,CAAC,EAAE,SAAS,GAClB,QAAQ,CAAC,eAAe,CAAC,CAmB3B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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, variant, } from "@elaraai/east";
|
|
6
|
+
import { SizeType } from "../../style.js";
|
|
7
|
+
import { UIComponentType } from "../../component.js";
|
|
8
|
+
import { CodeType, CodeVariantType } from "./types.js";
|
|
9
|
+
// Re-export types
|
|
10
|
+
export { CodeType, CodeVariantType } from "./types.js";
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// Code Component
|
|
13
|
+
// ============================================================================
|
|
14
|
+
/**
|
|
15
|
+
* Creates a Code component for displaying inline code.
|
|
16
|
+
*
|
|
17
|
+
* @param value - The code text to display
|
|
18
|
+
* @param style - Optional styling configuration
|
|
19
|
+
* @returns An East expression representing the code component
|
|
20
|
+
*/
|
|
21
|
+
function createCode(value, style) {
|
|
22
|
+
const variantValue = style?.variant
|
|
23
|
+
? (typeof style.variant === "string"
|
|
24
|
+
? East.value(variant(style.variant, null), CodeVariantType)
|
|
25
|
+
: style.variant)
|
|
26
|
+
: undefined;
|
|
27
|
+
const sizeValue = style?.size
|
|
28
|
+
? (typeof style.size === "string"
|
|
29
|
+
? East.value(variant(style.size, null), SizeType)
|
|
30
|
+
: style.size)
|
|
31
|
+
: undefined;
|
|
32
|
+
return East.value(variant("Code", {
|
|
33
|
+
value: value,
|
|
34
|
+
variant: variantValue ? variant("some", variantValue) : variant("none", null),
|
|
35
|
+
colorPalette: style?.colorPalette ? variant("some", style.colorPalette) : variant("none", null),
|
|
36
|
+
size: sizeValue ? variant("some", sizeValue) : variant("none", null),
|
|
37
|
+
}), UIComponentType);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Code component for displaying inline code snippets.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Use `Code.Root(value, style)` to create inline code display.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* import { East } from "@elaraai/east";
|
|
48
|
+
* import { Code, UIComponentType } from "@elaraai/east-ui";
|
|
49
|
+
*
|
|
50
|
+
* const example = East.function([], UIComponentType, $ => {
|
|
51
|
+
* return Code.Root("const x = 42", {
|
|
52
|
+
* colorPalette: "purple",
|
|
53
|
+
* variant: "surface",
|
|
54
|
+
* });
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export const Code = {
|
|
59
|
+
Root: createCode,
|
|
60
|
+
Types: {
|
|
61
|
+
Code: CodeType,
|
|
62
|
+
Variant: CodeVariantType,
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=index.js.map
|