@makeswift/runtime 0.0.0-e0c0445 → 0.0.0-e76fc43
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/box-model.js +1 -0
- package/components.js +1 -0
- package/dist/actions.cjs.js +73 -16
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +67 -16
- package/dist/actions.es.js.map +1 -1
- package/dist/box-models.cjs.js +25 -15
- package/dist/box-models.cjs.js.map +1 -1
- package/dist/box-models.es.js +25 -15
- package/dist/box-models.es.js.map +1 -1
- package/dist/components.cjs.js +2012 -333
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +1888 -219
- package/dist/components.es.js.map +1 -1
- package/dist/deepEqual.cjs.js +40 -0
- package/dist/deepEqual.cjs.js.map +1 -0
- package/dist/deepEqual.es.js +39 -0
- package/dist/deepEqual.es.js.map +1 -0
- package/dist/descriptors.cjs.js.map +1 -1
- package/dist/descriptors.es.js.map +1 -1
- package/dist/immutable.es.cjs.js +4459 -0
- package/dist/immutable.es.cjs.js.map +1 -0
- package/dist/immutable.es.es.js +4450 -0
- package/dist/immutable.es.es.js.map +1 -0
- package/dist/instances.cjs.js +89 -0
- package/dist/instances.cjs.js.map +1 -0
- package/dist/instances.es.js +87 -0
- package/dist/instances.es.js.map +1 -0
- package/dist/main.cjs.js +1 -0
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +1 -1
- package/dist/prop-controllers.cjs.js +2 -0
- package/dist/prop-controllers.cjs.js.map +1 -1
- package/dist/prop-controllers.es.js +1 -0
- package/dist/prop-controllers.es.js.map +1 -1
- package/dist/react-builder-preview.cjs.js +172 -33
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +180 -41
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react.cjs2.js +50 -14
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es2.js +52 -17
- package/dist/react.es2.js.map +1 -1
- package/dist/shallowEqual.cjs.js +24 -0
- package/dist/shallowEqual.cjs.js.map +1 -0
- package/dist/shallowEqual.es.js +23 -0
- package/dist/shallowEqual.es.js.map +1 -0
- package/dist/types/components/builtin/Text/Text.d.ts +16 -0
- package/dist/types/components/builtin/Text/Text.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts +24 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts +9 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +25 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts +13 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts +5 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/hooks/useRichText.d.ts +1 -0
- package/dist/types/components/builtin/Text/hooks/useRichText.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/index.d.ts +2 -0
- package/dist/types/components/builtin/Text/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/prop-controllers.d.ts +286 -0
- package/dist/types/components/builtin/Text/prop-controllers.d.ts.map +1 -0
- package/dist/types/components/builtin/index.d.ts +1 -0
- package/dist/types/components/builtin/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useRichText.d.ts +18 -0
- package/dist/types/components/hooks/useRichText.d.ts.map +1 -0
- package/dist/types/components/hooks/useTypography.d.ts +24 -0
- package/dist/types/components/hooks/useTypography.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/shared/RichTextEditor/components/Block/index.d.ts +24 -0
- package/dist/types/components/shared/RichTextEditor/components/Block/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts +9 -0
- package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +23 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts +13 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/index.d.ts +5 -0
- package/dist/types/components/shared/RichTextEditor/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Link.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Link.d.ts.map +1 -0
- package/dist/types/components/utils/contants.d.ts +5 -0
- package/dist/types/components/utils/contants.d.ts.map +1 -0
- package/dist/types/components/utils/devices.d.ts +1 -0
- package/dist/types/components/utils/devices.d.ts.map +1 -1
- package/dist/types/components/utils/intersection.d.ts +4 -0
- package/dist/types/components/utils/intersection.d.ts.map +1 -0
- package/dist/types/components/utils/keys.d.ts +5 -0
- package/dist/types/components/utils/keys.d.ts.map +1 -0
- package/dist/types/components/utils/queries.d.ts +6 -4
- package/dist/types/components/utils/queries.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
- package/dist/types/prop-controllers/index.d.ts +2 -0
- package/dist/types/prop-controllers/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/instances.d.ts +63 -4
- package/dist/types/prop-controllers/instances.d.ts.map +1 -1
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/actions.d.ts +88 -13
- package/dist/types/state/actions.d.ts.map +1 -1
- package/dist/types/state/modules/box-models.d.ts +5 -5
- package/dist/types/state/modules/box-models.d.ts.map +1 -1
- package/dist/types/state/modules/prop-controller-handles.d.ts +4 -8
- package/dist/types/state/modules/prop-controller-handles.d.ts.map +1 -1
- package/dist/types/state/react-builder-preview.d.ts +2 -0
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +1 -0
- package/dist/types/state/react-page.d.ts.map +1 -1
- package/dist/types/utils/coalesce.d.ts +3 -0
- package/dist/types/utils/coalesce.d.ts.map +1 -0
- package/dist/types/utils/constants.d.ts +6 -0
- package/dist/types/utils/constants.d.ts.map +1 -0
- package/dist/types/utils/intersection.d.ts +4 -0
- package/dist/types/utils/intersection.d.ts.map +1 -0
- package/dist/types/utils/keys.d.ts +5 -0
- package/dist/types/utils/keys.d.ts.map +1 -0
- package/dist/types/utils/shallowMerge.d.ts +2 -0
- package/dist/types/utils/shallowMerge.d.ts.map +1 -0
- package/package.json +35 -4
- package/prop-controllers.js +1 -0
- package/react.js +1 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { Props } from '@makeswift/runtime/prop-controllers';
|
|
2
|
+
export declare const PropControllers: {
|
|
3
|
+
id: {
|
|
4
|
+
type: "ElementID";
|
|
5
|
+
options: Record<string, never> | ((props: Record<string, unknown>, decideMode: Props.Device) => Record<string, never>);
|
|
6
|
+
};
|
|
7
|
+
text: {
|
|
8
|
+
type: "RichText";
|
|
9
|
+
options: {
|
|
10
|
+
preset?: {
|
|
11
|
+
object?: "value" | undefined;
|
|
12
|
+
annotations?: {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
object?: "annotation" | undefined;
|
|
15
|
+
key: string;
|
|
16
|
+
type: string;
|
|
17
|
+
data?: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
} | undefined;
|
|
20
|
+
anchor?: {
|
|
21
|
+
object?: "point" | undefined;
|
|
22
|
+
key?: string | undefined;
|
|
23
|
+
offset?: number | undefined;
|
|
24
|
+
path?: number[] | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
focus?: {
|
|
27
|
+
object?: "point" | undefined;
|
|
28
|
+
key?: string | undefined;
|
|
29
|
+
offset?: number | undefined;
|
|
30
|
+
path?: number[] | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
};
|
|
33
|
+
} | undefined;
|
|
34
|
+
data?: {
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
} | undefined;
|
|
37
|
+
document?: {
|
|
38
|
+
object?: "document" | undefined;
|
|
39
|
+
nodes?: (any | {
|
|
40
|
+
object?: "block" | undefined;
|
|
41
|
+
type: string;
|
|
42
|
+
key?: string | undefined;
|
|
43
|
+
nodes?: (any | {
|
|
44
|
+
object?: "inline" | undefined;
|
|
45
|
+
type: string;
|
|
46
|
+
key?: string | undefined;
|
|
47
|
+
nodes?: (any | {
|
|
48
|
+
object?: "text" | undefined;
|
|
49
|
+
key?: string | undefined;
|
|
50
|
+
text?: string | undefined;
|
|
51
|
+
marks?: {
|
|
52
|
+
object?: "mark" | undefined;
|
|
53
|
+
type: string;
|
|
54
|
+
data?: {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
} | undefined;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
})[] | undefined;
|
|
59
|
+
data?: {
|
|
60
|
+
[x: string]: any;
|
|
61
|
+
} | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
object?: "text" | undefined;
|
|
64
|
+
key?: string | undefined;
|
|
65
|
+
text?: string | undefined;
|
|
66
|
+
marks?: {
|
|
67
|
+
object?: "mark" | undefined;
|
|
68
|
+
type: string;
|
|
69
|
+
data?: {
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
} | undefined;
|
|
72
|
+
}[] | undefined;
|
|
73
|
+
})[] | undefined;
|
|
74
|
+
data?: {
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
} | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
object?: "inline" | undefined;
|
|
79
|
+
type: string;
|
|
80
|
+
key?: string | undefined;
|
|
81
|
+
nodes?: (any | {
|
|
82
|
+
object?: "text" | undefined;
|
|
83
|
+
key?: string | undefined;
|
|
84
|
+
text?: string | undefined;
|
|
85
|
+
marks?: {
|
|
86
|
+
object?: "mark" | undefined;
|
|
87
|
+
type: string;
|
|
88
|
+
data?: {
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
} | undefined;
|
|
91
|
+
}[] | undefined;
|
|
92
|
+
})[] | undefined;
|
|
93
|
+
data?: {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
} | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
object?: "text" | undefined;
|
|
98
|
+
key?: string | undefined;
|
|
99
|
+
text?: string | undefined;
|
|
100
|
+
marks?: {
|
|
101
|
+
object?: "mark" | undefined;
|
|
102
|
+
type: string;
|
|
103
|
+
data?: {
|
|
104
|
+
[x: string]: any;
|
|
105
|
+
} | undefined;
|
|
106
|
+
}[] | undefined;
|
|
107
|
+
})[] | undefined;
|
|
108
|
+
key?: string | undefined;
|
|
109
|
+
data?: {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
} | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
selection?: {
|
|
114
|
+
object?: "selection" | undefined;
|
|
115
|
+
anchor?: {
|
|
116
|
+
object?: "point" | undefined;
|
|
117
|
+
key?: string | undefined;
|
|
118
|
+
offset?: number | undefined;
|
|
119
|
+
path?: number[] | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
focus?: {
|
|
122
|
+
object?: "point" | undefined;
|
|
123
|
+
key?: string | undefined;
|
|
124
|
+
offset?: number | undefined;
|
|
125
|
+
path?: number[] | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
isFocused?: boolean | undefined;
|
|
128
|
+
marks?: {
|
|
129
|
+
object?: "mark" | undefined;
|
|
130
|
+
type: string;
|
|
131
|
+
data?: {
|
|
132
|
+
[x: string]: any;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
138
|
+
preset?: {
|
|
139
|
+
object?: "value" | undefined;
|
|
140
|
+
annotations?: {
|
|
141
|
+
[x: string]: {
|
|
142
|
+
object?: "annotation" | undefined;
|
|
143
|
+
key: string;
|
|
144
|
+
type: string;
|
|
145
|
+
data?: {
|
|
146
|
+
[x: string]: any;
|
|
147
|
+
} | undefined;
|
|
148
|
+
anchor?: {
|
|
149
|
+
object?: "point" | undefined;
|
|
150
|
+
key?: string | undefined;
|
|
151
|
+
offset?: number | undefined;
|
|
152
|
+
path?: number[] | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
focus?: {
|
|
155
|
+
object?: "point" | undefined;
|
|
156
|
+
key?: string | undefined;
|
|
157
|
+
offset?: number | undefined;
|
|
158
|
+
path?: number[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
};
|
|
161
|
+
} | undefined;
|
|
162
|
+
data?: {
|
|
163
|
+
[x: string]: any;
|
|
164
|
+
} | undefined;
|
|
165
|
+
document?: {
|
|
166
|
+
object?: "document" | undefined;
|
|
167
|
+
nodes?: (any | {
|
|
168
|
+
object?: "block" | undefined;
|
|
169
|
+
type: string;
|
|
170
|
+
key?: string | undefined;
|
|
171
|
+
nodes?: (any | {
|
|
172
|
+
object?: "inline" | undefined;
|
|
173
|
+
type: string;
|
|
174
|
+
key?: string | undefined;
|
|
175
|
+
nodes?: (any | {
|
|
176
|
+
object?: "text" | undefined;
|
|
177
|
+
key?: string | undefined;
|
|
178
|
+
text?: string | undefined;
|
|
179
|
+
marks?: {
|
|
180
|
+
object?: "mark" | undefined;
|
|
181
|
+
type: string;
|
|
182
|
+
data?: {
|
|
183
|
+
[x: string]: any;
|
|
184
|
+
} | undefined;
|
|
185
|
+
}[] | undefined;
|
|
186
|
+
})[] | undefined;
|
|
187
|
+
data?: {
|
|
188
|
+
[x: string]: any;
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
object?: "text" | undefined;
|
|
192
|
+
key?: string | undefined;
|
|
193
|
+
text?: string | undefined;
|
|
194
|
+
marks?: {
|
|
195
|
+
object?: "mark" | undefined;
|
|
196
|
+
type: string;
|
|
197
|
+
data?: {
|
|
198
|
+
[x: string]: any;
|
|
199
|
+
} | undefined;
|
|
200
|
+
}[] | undefined;
|
|
201
|
+
})[] | undefined;
|
|
202
|
+
data?: {
|
|
203
|
+
[x: string]: any;
|
|
204
|
+
} | undefined;
|
|
205
|
+
} | {
|
|
206
|
+
object?: "inline" | undefined;
|
|
207
|
+
type: string;
|
|
208
|
+
key?: string | undefined;
|
|
209
|
+
nodes?: (any | {
|
|
210
|
+
object?: "text" | undefined;
|
|
211
|
+
key?: string | undefined;
|
|
212
|
+
text?: string | undefined;
|
|
213
|
+
marks?: {
|
|
214
|
+
object?: "mark" | undefined;
|
|
215
|
+
type: string;
|
|
216
|
+
data?: {
|
|
217
|
+
[x: string]: any;
|
|
218
|
+
} | undefined;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
})[] | undefined;
|
|
221
|
+
data?: {
|
|
222
|
+
[x: string]: any;
|
|
223
|
+
} | undefined;
|
|
224
|
+
} | {
|
|
225
|
+
object?: "text" | undefined;
|
|
226
|
+
key?: string | undefined;
|
|
227
|
+
text?: string | undefined;
|
|
228
|
+
marks?: {
|
|
229
|
+
object?: "mark" | undefined;
|
|
230
|
+
type: string;
|
|
231
|
+
data?: {
|
|
232
|
+
[x: string]: any;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
})[] | undefined;
|
|
236
|
+
key?: string | undefined;
|
|
237
|
+
data?: {
|
|
238
|
+
[x: string]: any;
|
|
239
|
+
} | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
selection?: {
|
|
242
|
+
object?: "selection" | undefined;
|
|
243
|
+
anchor?: {
|
|
244
|
+
object?: "point" | undefined;
|
|
245
|
+
key?: string | undefined;
|
|
246
|
+
offset?: number | undefined;
|
|
247
|
+
path?: number[] | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
focus?: {
|
|
250
|
+
object?: "point" | undefined;
|
|
251
|
+
key?: string | undefined;
|
|
252
|
+
offset?: number | undefined;
|
|
253
|
+
path?: number[] | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
isFocused?: boolean | undefined;
|
|
256
|
+
marks?: {
|
|
257
|
+
object?: "mark" | undefined;
|
|
258
|
+
type: string;
|
|
259
|
+
data?: {
|
|
260
|
+
[x: string]: any;
|
|
261
|
+
} | undefined;
|
|
262
|
+
}[] | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
width: {
|
|
268
|
+
type: "Width";
|
|
269
|
+
options: {
|
|
270
|
+
preset?: Props.WidthValue | undefined;
|
|
271
|
+
defaultValue?: Props.Length | undefined;
|
|
272
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
273
|
+
preset?: Props.WidthValue | undefined;
|
|
274
|
+
defaultValue?: Props.Length | undefined;
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
margin: {
|
|
278
|
+
type: "Margin";
|
|
279
|
+
options: {
|
|
280
|
+
preset?: Props.MarginValue | undefined;
|
|
281
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
282
|
+
preset?: Props.MarginValue | undefined;
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
//# sourceMappingURL=prop-controllers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/prop-controllers.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAA;AAE3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D3B,CAAA"}
|
|
@@ -9,4 +9,5 @@ export { default as Image } from './Image';
|
|
|
9
9
|
export { default as Navigation } from './Navigation';
|
|
10
10
|
export { default as Root } from './Root';
|
|
11
11
|
export { default as SocialLinks } from './SocialLinks';
|
|
12
|
+
export { default as Text } from './Text';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builtin/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builtin/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Value, ValueJSON } from 'slate';
|
|
2
|
+
import { Editor } from 'slate-react';
|
|
3
|
+
import { Controller } from '@makeswift/builder';
|
|
4
|
+
export declare function useRichText(controller?: Controller<ValueJSON> | {
|
|
5
|
+
id?: null;
|
|
6
|
+
value?: ValueJSON;
|
|
7
|
+
}): <P extends Record<string, unknown>>(props: P) => P & {
|
|
8
|
+
key: number;
|
|
9
|
+
ref: import("react").Dispatch<import("react").SetStateAction<Editor | null>>;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
readOnly: boolean;
|
|
12
|
+
value: Value;
|
|
13
|
+
onChange: ({ value: nextEditorValue }: {
|
|
14
|
+
value: Value;
|
|
15
|
+
}) => void;
|
|
16
|
+
onFocus: () => void;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=useRichText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRichText.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useRichText.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAKL,UAAU,EACX,MAAM,oBAAoB,CAAA;AAa3B,wBAAgB,WAAW,CACzB,UAAU,GAAE,UAAU,CAAC,SAAS,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAO;;;;;;;eA8Id,KAAK;;;EA8CjE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ColorValue } from '../utils/types';
|
|
2
|
+
import type { Length as LengthValue } from '../../prop-controllers';
|
|
3
|
+
import { DeviceOverride } from '../../prop-controllers';
|
|
4
|
+
export declare type TypographyStyleValue = {
|
|
5
|
+
fontFamily?: string;
|
|
6
|
+
fontWeight?: number;
|
|
7
|
+
fontSize?: LengthValue;
|
|
8
|
+
color?: ColorValue;
|
|
9
|
+
textAlign?: string;
|
|
10
|
+
lineHeight?: number;
|
|
11
|
+
letterSpacing?: number;
|
|
12
|
+
uppercase?: boolean;
|
|
13
|
+
underline?: boolean;
|
|
14
|
+
strikethrough?: boolean;
|
|
15
|
+
italic?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export declare type TypographyStyle = Array<DeviceOverride<TypographyStyleValue>>;
|
|
18
|
+
export declare type Typography = {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
style: TypographyStyle;
|
|
22
|
+
};
|
|
23
|
+
export declare function useTypography(typographyId: string | null | undefined): Typography | null | undefined;
|
|
24
|
+
//# sourceMappingURL=useTypography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTypography.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useTypography.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGvD,oBAAY,oBAAoB,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,oBAAY,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAA;AAEzE,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,wBAAgB,aAAa,CAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACtC,UAAU,GAAG,IAAI,GAAG,SAAS,CAS/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
10
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
+
}, string | number | symbol>, string | number | symbol> | Pick<Pick<{
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
[x: number]: any;
|
|
14
|
+
[x: symbol]: any;
|
|
15
|
+
} & {
|
|
16
|
+
theme?: any;
|
|
17
|
+
} & {
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
} & {
|
|
20
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
21
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
22
|
+
}, string | number | symbol>, string | number | symbol>) & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Block/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmCA,wBAKE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LinkPropControllerValue } from '../../../../prop-controllers';
|
|
3
|
+
declare type BaseProps = {
|
|
4
|
+
link?: LinkPropControllerValue;
|
|
5
|
+
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<BaseProps & Omit<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>>, keyof BaseProps> & React.RefAttributes<HTMLAnchorElement>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Link/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAClE,CAAA;;AAID,wBA2GE"}
|
package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DeviceOverride, Color, LengthValue } from '../../../../../services';
|
|
2
|
+
import { TypographyStyle } from '../../../../../hooks';
|
|
3
|
+
export declare type TypographyMarkDataValue = {
|
|
4
|
+
fontWeight?: number;
|
|
5
|
+
fontSize?: LengthValue;
|
|
6
|
+
fontFamily?: string;
|
|
7
|
+
color?: Color;
|
|
8
|
+
textAlign?: string;
|
|
9
|
+
lineHeight?: number;
|
|
10
|
+
letterSpacing?: number;
|
|
11
|
+
uppercase?: boolean;
|
|
12
|
+
italic?: boolean;
|
|
13
|
+
underline?: boolean;
|
|
14
|
+
strikethrough?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare type TypographyMarkValue = {
|
|
17
|
+
id: string | null | undefined;
|
|
18
|
+
style: TypographyStyle;
|
|
19
|
+
};
|
|
20
|
+
export declare type TypographyMarkData = Array<DeviceOverride<TypographyMarkDataValue>>;
|
|
21
|
+
export declare const overrideTypographyStyle: <A>(source: DeviceOverride<A>[], override: DeviceOverride<A>[]) => DeviceOverride<A>[];
|
|
22
|
+
export default function useTypographyMark(value: TypographyMarkValue | null | undefined): TypographyMarkData | null | undefined;
|
|
23
|
+
//# sourceMappingURL=useTypographyMark.d.ts.map
|
package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTypographyMark.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAsB,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAEhG,OAAO,EAAiB,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAErE,oBAAY,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAC7B,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,oBAAY,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC,CAAA;AAqB/E,eAAO,MAAM,uBAAuB,wFAanC,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,KAAK,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,GAC5C,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAuBvC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { TypographyMarkValue, TypographyMarkData, overrideTypographyStyle } from './hooks/useTypographyMark';
|
|
3
|
+
export type { TypographyMarkValue };
|
|
4
|
+
export { overrideTypographyStyle };
|
|
5
|
+
declare const Span: import("styled-components").StyledComponent<"span", any, {
|
|
6
|
+
typographyStyle: TypographyMarkData | null | undefined;
|
|
7
|
+
}, never>;
|
|
8
|
+
declare type BaseProps = {
|
|
9
|
+
value: TypographyMarkValue;
|
|
10
|
+
};
|
|
11
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Span>, keyof BaseProps>;
|
|
12
|
+
export default function Mark({ value, ...restOfProps }: Props): JSX.Element;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Mark/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAGhD,OAA0B,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EAExB,MAAM,2BAA2B,CAAA;AAKlC,YAAY,EAAE,mBAAmB,EAAE,CAAA;AACnC,OAAO,EAAE,uBAAuB,EAAE,CAAA;AAElC,QAAA,MAAM,IAAI;qBAAkC,kBAAkB,GAAG,IAAI,GAAG,SAAS;SA+EhF,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,EAAE,mBAAmB,CAAA;CAAE,CAAA;AAE/C,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;AAErF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAI1E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Editor as SlateEditor } from 'slate-react';
|
|
3
|
+
export { overrideTypographyStyle } from './components/Mark';
|
|
4
|
+
export declare const RichTextEditor: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("slate-react").BasicEditorProps<SlateEditor> & import("slate-react").Plugin<SlateEditor> & import("react").RefAttributes<SlateEditor>>, any, {}, never>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/RichTextEditor/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,aAAa,CAAA;AAcnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAU3D,eAAO,MAAM,cAAc,sPA0B1B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceOverridesBlocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAQpC,MAAM,CAAC,OAAO,UAAU,0BAA0B,IAAI,MAAM,CAuN3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviceOverridesMarks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAU,MAAM,aAAa,CAAA;AA6C5C,MAAM,CAAC,OAAO,UAAU,0BAA0B,IAAI,MAAM,CAqP3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Inlines.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/Inlines.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,MAAM,CAwBxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/Link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AASpC,MAAM,CAAC,OAAO,UAAU,UAAU,IAAI,MAAM,CAqC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contants.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/contants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGZ,CAAA"}
|
|
@@ -7,6 +7,7 @@ export declare type Device = {
|
|
|
7
7
|
export declare const DEVICES: Array<Device>;
|
|
8
8
|
export declare const getDevice: (deviceId: DeviceID) => Device;
|
|
9
9
|
export declare type FallbackStrategy<V> = (arg0: DeviceOverride<V> | undefined, arg1: ResponsiveValue<V>) => DeviceOverride<V> | undefined;
|
|
10
|
+
export declare function shallowMergeFallbacks<V extends Record<string, unknown>>(value: DeviceOverride<V> | undefined, fallbacks: ResponsiveValue<V>): DeviceOverride<V> | undefined;
|
|
10
11
|
export declare function findDeviceOverride<S>(values: ResponsiveValue<S> | undefined, deviceId: string, strategy?: FallbackStrategy<S>): DeviceOverride<S> | undefined;
|
|
11
12
|
export declare type ExtractResponsiveValue<T> = T extends ResponsiveValue<infer V> ? V : never;
|
|
12
13
|
export declare function join<V, A extends ReadonlyArray<ResponsiveValue<V> | null | undefined>, R>(responsiveValues: A, joinFn: (values: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/devices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGjG,oBAAY,MAAM,GAAG;IACnB,EAAE,EAAE,QAAQ,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,MAAM,CAIjC,CAAA;AAED,eAAO,MAAM,SAAS,aAAc,QAAQ,KAAG,MAM9C,CAAA;AAED,oBAAY,gBAAgB,CAAC,CAAC,IAAI,CAChC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,EACnC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,KACrB,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;AASlC,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrE,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,EACpC,SAAS,EAAE,eAAe,CAAC,CAAC,CAAC,GAC5B,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,CAO/B;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,gCAAyB,EAC/B,QAAQ,EAAE,MAAM,EAChB,QAAQ,GAAE,gBAAgB,CAAC,CAAC,CAAmB,GAC9C,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,CAQ/B;AAED,oBAAY,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAEtF,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,SAAS,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC,EACvF,gBAAgB,EAAE,CAAC,EACnB,MAAM,EAAE,CAAC,MAAM,EAAE;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS;CAAE,KAAK,CAAC,EACnF,QAAQ,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAC7B,eAAe,CAAC,CAAC,CAAC,CAiBpB;AAED,eAAO,MAAM,mBAAmB,WAAY,MAAM,KAAG,MAYpD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intersection.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/intersection.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,CAAC,EACjF,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,OAAO,GAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,KAAK,OAAmB,GACvD;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;CAAE,CASjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/keys.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI;;uBAA8E,CAAA;AAExF,eAAe,IAAI,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export declare const SWATCHES_BY_ID: DocumentNode;
|
|
2
|
-
export declare const FILE_BY_ID: DocumentNode;
|
|
3
|
-
export declare const FILES_BY_ID: DocumentNode;
|
|
4
|
-
export declare const PAGE_PATHNAMES_BY_ID: DocumentNode;
|
|
1
|
+
export declare const SWATCHES_BY_ID: import("@apollo/client").DocumentNode;
|
|
2
|
+
export declare const FILE_BY_ID: import("@apollo/client").DocumentNode;
|
|
3
|
+
export declare const FILES_BY_ID: import("@apollo/client").DocumentNode;
|
|
4
|
+
export declare const PAGE_PATHNAMES_BY_ID: import("@apollo/client").DocumentNode;
|
|
5
|
+
export declare const TYPOGRAPHY_FRAGMENT: import("@apollo/client").DocumentNode;
|
|
6
|
+
export declare const TYPOGRAPHIES_BY_ID: import("@apollo/client").DocumentNode;
|
|
5
7
|
//# sourceMappingURL=queries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,uCAS1B,CAAA;AAED,eAAO,MAAM,UAAU,uCAatB,CAAA;AAED,eAAO,MAAM,WAAW,uCAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAOhC,CAAA;AAED,eAAO,MAAM,mBAAmB,uCA2B/B,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAQ9B,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { Action } from './state/actions';
|
|
2
|
-
export { ActionTypes, changeDocument, changeDocumentElementScrollTop } from './state/actions';
|
|
2
|
+
export { ActionTypes, changeDocument, changeDocumentElementScrollTop, messageHostPropController, } from './state/actions';
|
|
3
3
|
export type { Operation } from './state/modules/read-write-documents';
|
|
4
4
|
export type { ComponentMeta } from './state/modules/components-meta';
|
|
5
5
|
export type { PropControllerDescriptor, PropControllerDescriptorValueType, } from './prop-controllers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EACL,WAAW,EACX,cAAc,EACd,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,iBAAiB,CAAA;AACxB,YAAY,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AACpE,YAAY,EACV,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,oBAAoB,CAAA;AAC3B,YAAY,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -527,7 +527,7 @@ export declare type RichTextValue = IndexSignatureHack<Slate.ValueJSON>;
|
|
|
527
527
|
declare type RichTextOptions = Options<{
|
|
528
528
|
preset?: RichTextValue;
|
|
529
529
|
}>;
|
|
530
|
-
declare type RichTextDescriptor<_T extends Data = RichTextValue> = {
|
|
530
|
+
export declare type RichTextDescriptor<_T extends Data = RichTextValue> = {
|
|
531
531
|
type: typeof Types.RichText;
|
|
532
532
|
options: RichTextOptions;
|
|
533
533
|
};
|