@wix/public-editor-platform-interfaces 1.26.0 → 1.27.0

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.
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ // Auto-generated from @wix/ambassador-document-v3-component
3
+ // Do not edit manually - run 'yarn generate:sdk-types' to regenerate
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AriaInvalid = exports.AriaCurrent = exports.AriaLive = exports.AriaRole = exports.AriaRelevant = exports.AriaHaspopup = exports.AriaPressed = exports.LoginDialog = exports.LinkType = exports.LinkRelEnumLinkRel = exports.LinkTarget = exports.PropertySource = exports.AdaptiveFormat = exports.VideoFormat = exports.VideoQuality = exports.DirectionValue = exports.DataType = void 0;
6
+ var DataType;
7
+ (function (DataType) {
8
+ /** Unknown or unspecified data type. */
9
+ DataType["UNKNOWN_DATA_TYPE"] = "UNKNOWN_DATA_TYPE";
10
+ /** Plain text string. */
11
+ DataType["TEXT"] = "TEXT";
12
+ /** Text value from a predefined set of options. */
13
+ DataType["TEXT_ENUM"] = "TEXT_ENUM";
14
+ /** Numeric value (integer or decimal). */
15
+ DataType["NUMBER"] = "NUMBER";
16
+ /** Boolean true/false value. */
17
+ DataType["BOOLEAN_VALUE"] = "BOOLEAN_VALUE";
18
+ /** Accessibility-related data. */
19
+ DataType["A11Y"] = "A11Y";
20
+ /** Hyperlink reference. */
21
+ DataType["LINK"] = "LINK";
22
+ /** Image reference with metadata. */
23
+ DataType["IMAGE"] = "IMAGE";
24
+ /** Video reference with metadata. */
25
+ DataType["VIDEO"] = "VIDEO";
26
+ /** Vector art/SVG reference. */
27
+ DataType["VECTOR_ART"] = "VECTOR_ART";
28
+ /** Audio file reference. */
29
+ DataType["AUDIO"] = "AUDIO";
30
+ /** Schema definition (deprecated). */
31
+ DataType["SCHEMA"] = "SCHEMA";
32
+ /** Date without time component (YYYY-MM-DD). */
33
+ DataType["LOCAL_DATE"] = "LOCAL_DATE";
34
+ /** Time without date component (HH:MM:SS). */
35
+ DataType["LOCAL_TIME"] = "LOCAL_TIME";
36
+ /** Combined date and time. */
37
+ DataType["LOCAL_DATE_TIME"] = "LOCAL_DATE_TIME";
38
+ /** Web URL reference. */
39
+ DataType["WEB_URL"] = "WEB_URL";
40
+ /** Email address. */
41
+ DataType["EMAIL"] = "EMAIL";
42
+ /** Phone number. */
43
+ DataType["PHONE"] = "PHONE";
44
+ /** Hostname/domain name. */
45
+ DataType["HOSTNAME"] = "HOSTNAME";
46
+ /** Regular expression pattern. */
47
+ DataType["REGEX"] = "REGEX";
48
+ /** Globally unique identifier. */
49
+ DataType["GUID"] = "GUID";
50
+ /** Rich text with formatting. */
51
+ DataType["RICH_TEXT"] = "RICH_TEXT";
52
+ /** Container for nested components. */
53
+ DataType["CONTAINER"] = "CONTAINER";
54
+ /** Array of items. */
55
+ DataType["ARRAY_ITEMS"] = "ARRAY_ITEMS";
56
+ /** Text direction (LTR/RTL). */
57
+ DataType["DIRECTION"] = "DIRECTION";
58
+ /** Menu items collection. */
59
+ DataType["MENU_ITEMS"] = "MENU_ITEMS";
60
+ /** Nested data structure containing typed values. */
61
+ DataType["DATA"] = "DATA";
62
+ })(DataType || (exports.DataType = DataType = {}));
63
+ var DirectionValue;
64
+ (function (DirectionValue) {
65
+ /** Unspecified direction. */
66
+ DirectionValue["UNKNOWN_DIRECTION"] = "UNKNOWN_DIRECTION";
67
+ /** Left-to-right. */
68
+ DirectionValue["LTR"] = "LTR";
69
+ /** Right-to-left. */
70
+ DirectionValue["RTL"] = "RTL";
71
+ /** Automatic detection. */
72
+ DirectionValue["AUTO"] = "AUTO";
73
+ })(DirectionValue || (exports.DirectionValue = DirectionValue = {}));
74
+ var VideoQuality;
75
+ (function (VideoQuality) {
76
+ /** Unspecified quality. */
77
+ VideoQuality["UNKNOWN_VIDEO_QUALITY"] = "UNKNOWN_VIDEO_QUALITY";
78
+ /** 1080p HD quality. */
79
+ VideoQuality["VIDEO_QUALITY_1080P"] = "VIDEO_QUALITY_1080P";
80
+ /** 720p HD quality. */
81
+ VideoQuality["VIDEO_QUALITY_720P"] = "VIDEO_QUALITY_720P";
82
+ /** 480p SD quality. */
83
+ VideoQuality["VIDEO_QUALITY_480P"] = "VIDEO_QUALITY_480P";
84
+ /** 360p quality. */
85
+ VideoQuality["VIDEO_QUALITY_360P"] = "VIDEO_QUALITY_360P";
86
+ })(VideoQuality || (exports.VideoQuality = VideoQuality = {}));
87
+ var VideoFormat;
88
+ (function (VideoFormat) {
89
+ /** Unspecified format. */
90
+ VideoFormat["UNKNOWN_VIDEO_FORMAT"] = "UNKNOWN_VIDEO_FORMAT";
91
+ /** Standard MP4 format. */
92
+ VideoFormat["MP4"] = "MP4";
93
+ /** MP4 with luminance encoding. */
94
+ VideoFormat["MP4_LUMINANCE"] = "MP4_LUMINANCE";
95
+ })(VideoFormat || (exports.VideoFormat = VideoFormat = {}));
96
+ var AdaptiveFormat;
97
+ (function (AdaptiveFormat) {
98
+ /** Unspecified adaptive format. */
99
+ AdaptiveFormat["UNKNOWN_ADAPTIVE_FORMAT"] = "UNKNOWN_ADAPTIVE_FORMAT";
100
+ /** HTTP Live Streaming format. */
101
+ AdaptiveFormat["HLS"] = "HLS";
102
+ /** Dynamic Adaptive Streaming over HTTP. */
103
+ AdaptiveFormat["DASH"] = "DASH";
104
+ })(AdaptiveFormat || (exports.AdaptiveFormat = AdaptiveFormat = {}));
105
+ var PropertySource;
106
+ (function (PropertySource) {
107
+ /** Unknown property source. */
108
+ PropertySource["UNKNOWN_PROPERTY_SOURCE"] = "UNKNOWN_PROPERTY_SOURCE";
109
+ /** Property value comes from theme. */
110
+ PropertySource["THEME"] = "THEME";
111
+ /** Property has explicit value. */
112
+ PropertySource["VALUE"] = "VALUE";
113
+ })(PropertySource || (exports.PropertySource = PropertySource = {}));
114
+ var LinkTarget;
115
+ (function (LinkTarget) {
116
+ LinkTarget["UNSPECIFIED"] = "UNSPECIFIED";
117
+ /** Opens the linked document in the same frame as it was clicked (default). */
118
+ LinkTarget["SELF"] = "SELF";
119
+ /** Opens the linked document in a new window or tab. */
120
+ LinkTarget["BLANK"] = "BLANK";
121
+ })(LinkTarget || (exports.LinkTarget = LinkTarget = {}));
122
+ var LinkRelEnumLinkRel;
123
+ (function (LinkRelEnumLinkRel) {
124
+ LinkRelEnumLinkRel["UNSPECIFIED"] = "UNSPECIFIED";
125
+ /** Instructs search engines not to follow the link. */
126
+ LinkRelEnumLinkRel["NOFOLLOW"] = "NOFOLLOW";
127
+ /** Prevents the new page from being able to access the window.opener property. */
128
+ LinkRelEnumLinkRel["NOOPENER"] = "NOOPENER";
129
+ /** Prevents the browser from sending the current page's address as referrer information when following the link. */
130
+ LinkRelEnumLinkRel["NOREFERRER"] = "NOREFERRER";
131
+ /** Indicates that the link is a paid link or an advertisement. */
132
+ LinkRelEnumLinkRel["SPONSORED"] = "SPONSORED";
133
+ })(LinkRelEnumLinkRel || (exports.LinkRelEnumLinkRel = LinkRelEnumLinkRel = {}));
134
+ var LinkType;
135
+ (function (LinkType) {
136
+ LinkType["UNSPECIFIED"] = "UNSPECIFIED";
137
+ LinkType["SMS"] = "SMS";
138
+ LinkType["CALL"] = "CALL";
139
+ LinkType["SKYPE"] = "SKYPE";
140
+ LinkType["MAP"] = "MAP";
141
+ LinkType["EMAIL"] = "EMAIL";
142
+ LinkType["FACEBOOK"] = "FACEBOOK";
143
+ LinkType["FLICKR"] = "FLICKR";
144
+ LinkType["BLOGGER"] = "BLOGGER";
145
+ LinkType["MYSPACE"] = "MYSPACE";
146
+ LinkType["LINKEDIN"] = "LINKEDIN";
147
+ LinkType["TWITTER"] = "TWITTER";
148
+ LinkType["TUMBLR"] = "TUMBLR";
149
+ LinkType["YOUTUBE"] = "YOUTUBE";
150
+ LinkType["VIMEO"] = "VIMEO";
151
+ LinkType["PAGE"] = "PAGE";
152
+ /** Default value. */
153
+ LinkType["FREE_LINK"] = "FREE_LINK";
154
+ LinkType["TEXT"] = "TEXT";
155
+ LinkType["DELICIOUS"] = "DELICIOUS";
156
+ LinkType["WEBSITE"] = "WEBSITE";
157
+ LinkType["DOCUMENT"] = "DOCUMENT";
158
+ LinkType["ADMIN_LOGIN"] = "ADMIN_LOGIN";
159
+ LinkType["LOGIN"] = "LOGIN";
160
+ })(LinkType || (exports.LinkType = LinkType = {}));
161
+ var LoginDialog;
162
+ (function (LoginDialog) {
163
+ LoginDialog["UNSPECIFIED"] = "UNSPECIFIED";
164
+ /** Show create user dialog. */
165
+ LoginDialog["CREATE_USER"] = "CREATE_USER";
166
+ /** Show login dialog (default). */
167
+ LoginDialog["LOGIN"] = "LOGIN";
168
+ /** Show login dialog. */
169
+ LoginDialog["SHOW_LOGIN"] = "SHOW_LOGIN";
170
+ })(LoginDialog || (exports.LoginDialog = LoginDialog = {}));
171
+ var AriaPressed;
172
+ (function (AriaPressed) {
173
+ AriaPressed["UNSPECIFIED"] = "UNSPECIFIED";
174
+ /** The element is not pressed. */
175
+ AriaPressed["FALSE"] = "FALSE";
176
+ /** The element is pressed. */
177
+ AriaPressed["TRUE"] = "TRUE";
178
+ /** The element is partially pressed. */
179
+ AriaPressed["MIXED"] = "MIXED";
180
+ })(AriaPressed || (exports.AriaPressed = AriaPressed = {}));
181
+ var AriaHaspopup;
182
+ (function (AriaHaspopup) {
183
+ AriaHaspopup["UNSPECIFIED"] = "UNSPECIFIED";
184
+ /** The element has a popup. */
185
+ AriaHaspopup["TRUE"] = "TRUE";
186
+ /** The element does not have a popup. */
187
+ AriaHaspopup["FALSE"] = "FALSE";
188
+ /** The popup is a dialog. */
189
+ AriaHaspopup["DIALOG"] = "DIALOG";
190
+ /** The popup is a menu. */
191
+ AriaHaspopup["MENU"] = "MENU";
192
+ })(AriaHaspopup || (exports.AriaHaspopup = AriaHaspopup = {}));
193
+ var AriaRelevant;
194
+ (function (AriaRelevant) {
195
+ AriaRelevant["UNSPECIFIED"] = "UNSPECIFIED";
196
+ /** Element nodes added to the accessibility tree. */
197
+ AriaRelevant["ADDITIONS"] = "ADDITIONS";
198
+ /** Both additions and text changes. */
199
+ AriaRelevant["ADDITIONS_TEXT"] = "ADDITIONS_TEXT";
200
+ /** All changes. */
201
+ AriaRelevant["ALL"] = "ALL";
202
+ /** Element nodes removed from the accessibility tree. */
203
+ AriaRelevant["REMOVALS"] = "REMOVALS";
204
+ /** Text changes. */
205
+ AriaRelevant["TEXT"] = "TEXT";
206
+ })(AriaRelevant || (exports.AriaRelevant = AriaRelevant = {}));
207
+ var AriaRole;
208
+ (function (AriaRole) {
209
+ AriaRole["UNSPECIFIED"] = "UNSPECIFIED";
210
+ AriaRole["REGION"] = "REGION";
211
+ AriaRole["GROUP"] = "GROUP";
212
+ AriaRole["TABLIST"] = "TABLIST";
213
+ AriaRole["TAB"] = "TAB";
214
+ AriaRole["TABPANEL"] = "TABPANEL";
215
+ AriaRole["ALERT"] = "ALERT";
216
+ AriaRole["STATUS"] = "STATUS";
217
+ AriaRole["LIST"] = "LIST";
218
+ AriaRole["LISTITEM"] = "LISTITEM";
219
+ AriaRole["MENUBAR"] = "MENUBAR";
220
+ AriaRole["PRESENTATION"] = "PRESENTATION";
221
+ AriaRole["BUTTON"] = "BUTTON";
222
+ AriaRole["LINK"] = "LINK";
223
+ AriaRole["NONE"] = "NONE";
224
+ AriaRole["RADIOGROUP"] = "RADIOGROUP";
225
+ AriaRole["HEADING"] = "HEADING";
226
+ AriaRole["NAV"] = "NAV";
227
+ })(AriaRole || (exports.AriaRole = AriaRole = {}));
228
+ var AriaLive;
229
+ (function (AriaLive) {
230
+ AriaLive["UNSPECIFIED"] = "UNSPECIFIED";
231
+ /** Updates are announced when the user is idle. */
232
+ AriaLive["POLITE"] = "POLITE";
233
+ /** Updates are announced immediately. */
234
+ AriaLive["ASSERTIVE"] = "ASSERTIVE";
235
+ })(AriaLive || (exports.AriaLive = AriaLive = {}));
236
+ var AriaCurrent;
237
+ (function (AriaCurrent) {
238
+ AriaCurrent["UNSPECIFIED"] = "UNSPECIFIED";
239
+ /** Represents the current page within a set of pages. */
240
+ AriaCurrent["PAGE"] = "PAGE";
241
+ /** Represents the current step within a process. */
242
+ AriaCurrent["STEP"] = "STEP";
243
+ /** Represents the current location within an environment. */
244
+ AriaCurrent["LOCATION"] = "LOCATION";
245
+ /** Represents the current date within a collection of dates. */
246
+ AriaCurrent["DATE"] = "DATE";
247
+ /** Represents the current time within a set of times. */
248
+ AriaCurrent["TIME"] = "TIME";
249
+ /** Represents the current item within a set. */
250
+ AriaCurrent["TRUE"] = "TRUE";
251
+ /** Does not represent the current item within a set. */
252
+ AriaCurrent["FALSE"] = "FALSE";
253
+ })(AriaCurrent || (exports.AriaCurrent = AriaCurrent = {}));
254
+ var AriaInvalid;
255
+ (function (AriaInvalid) {
256
+ AriaInvalid["UNSPECIFIED"] = "UNSPECIFIED";
257
+ /** A grammatical error was detected. */
258
+ AriaInvalid["GRAMMAR"] = "GRAMMAR";
259
+ /** A spelling error was detected. */
260
+ AriaInvalid["SPELLING"] = "SPELLING";
261
+ /** There are no detected errors in the value. */
262
+ AriaInvalid["FALSE"] = "FALSE";
263
+ /** The value entered by the user has failed validation. */
264
+ AriaInvalid["TRUE"] = "TRUE";
265
+ })(AriaInvalid || (exports.AriaInvalid = AriaInvalid = {}));
package/dist/index.d.ts CHANGED
@@ -7,3 +7,5 @@ export { AccessToken } from './Token';
7
7
  export { DsItem } from './DataItem';
8
8
  export { BuilderStyle, Style, StyleRef } from './StyleData';
9
9
  export { OpenColorPickerFn, OpenLinkPanelFn } from './Inputs';
10
+ export * as DmTypes from './generated/dm-types';
11
+ export * from './sdk';
package/dist/index.js CHANGED
@@ -32,9 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
32
32
  return result;
33
33
  };
34
34
  })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.EventType = exports.WixSDKTypes = void 0;
39
+ exports.DmTypes = exports.EventType = exports.WixSDKTypes = void 0;
37
40
  const WixSDKTypes = __importStar(require("@wix/sdk-types"));
38
41
  exports.WixSDKTypes = WixSDKTypes;
39
42
  var EventType_1 = require("./EventType");
40
43
  Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return EventType_1.EventType; } });
44
+ exports.DmTypes = __importStar(require("./generated/dm-types"));
45
+ __exportStar(require("./sdk"), exports);
@@ -0,0 +1,176 @@
1
+ import type { ElementStyleValue } from './styles';
2
+ export declare enum CssPropertyType {
3
+ number = "number",
4
+ string = "string",
5
+ angle = "angle",
6
+ length = "length",
7
+ percentage = "percentage",
8
+ lengthPercentage = "lengthPercentage",
9
+ blendMode = "blendMode",
10
+ customEnum = "customEnum",
11
+ time = "time",
12
+ background = "background",
13
+ backgroundSize = "backgroundSize",
14
+ backgroundColor = "backgroundColor",
15
+ backgroundImage = "backgroundImage",
16
+ backgroundClip = "backgroundClip",
17
+ backgroundOrigin = "backgroundOrigin",
18
+ backgroundPosition = "backgroundPosition",
19
+ backgroundRepeat = "backgroundRepeat",
20
+ backgroundAttachment = "backgroundAttachment",
21
+ margin = "margin",
22
+ marginTop = "marginTop",
23
+ marginRight = "marginRight",
24
+ marginBottom = "marginBottom",
25
+ marginLeft = "marginLeft",
26
+ marginInlineStart = "marginInlineStart",
27
+ marginInlineEnd = "marginInlineEnd",
28
+ padding = "padding",
29
+ paddingTop = "paddingTop",
30
+ paddingRight = "paddingRight",
31
+ paddingBottom = "paddingBottom",
32
+ paddingLeft = "paddingLeft",
33
+ paddingInlineStart = "paddingInlineStart",
34
+ paddingInlineEnd = "paddingInlineEnd",
35
+ border = "border",
36
+ borderWidth = "borderWidth",
37
+ borderStyle = "borderStyle",
38
+ borderColor = "borderColor",
39
+ borderTop = "borderTop",
40
+ borderTopColor = "borderTopColor",
41
+ borderTopWidth = "borderTopWidth",
42
+ borderTopStyle = "borderTopStyle",
43
+ borderRight = "borderRight",
44
+ borderRightColor = "borderRightColor",
45
+ borderRightWidth = "borderRightWidth",
46
+ borderRightStyle = "borderRightStyle",
47
+ borderBottom = "borderBottom",
48
+ borderBottomColor = "borderBottomColor",
49
+ borderBottomWidth = "borderBottomWidth",
50
+ borderBottomStyle = "borderBottomStyle",
51
+ borderLeft = "borderLeft",
52
+ borderLeftColor = "borderLeftColor",
53
+ borderLeftWidth = "borderLeftWidth",
54
+ borderLeftStyle = "borderLeftStyle",
55
+ borderInlineStart = "borderInlineStart",
56
+ borderInlineStartColor = "borderInlineStartColor",
57
+ borderInlineStartWidth = "borderInlineStartWidth",
58
+ borderInlineStartStyle = "borderInlineStartStyle",
59
+ borderInlineEnd = "borderInlineEnd",
60
+ borderInlineEndColor = "borderInlineEndColor",
61
+ borderInlineEndWidth = "borderInlineEndWidth",
62
+ borderInlineEndStyle = "borderInlineEndStyle",
63
+ borderRadius = "borderRadius",
64
+ borderTopLeftRadius = "borderTopLeftRadius",
65
+ borderTopRightRadius = "borderTopRightRadius",
66
+ borderBottomRightRadius = "borderBottomRightRadius",
67
+ borderBottomLeftRadius = "borderBottomLeftRadius",
68
+ borderStartStartRadius = "borderStartStartRadius",
69
+ borderStartEndRadius = "borderStartEndRadius",
70
+ borderEndStartRadius = "borderEndStartRadius",
71
+ borderEndEndRadius = "borderEndEndRadius",
72
+ font = "font",
73
+ fontFamily = "fontFamily",
74
+ fontSize = "fontSize",
75
+ fontStretch = "fontStretch",
76
+ fontStyle = "fontStyle",
77
+ fontVariant = "fontVariant",
78
+ fontWeight = "fontWeight",
79
+ lineHeight = "lineHeight",
80
+ color = "color",
81
+ letterSpacing = "letterSpacing",
82
+ writingMode = "writingMode",
83
+ textAlign = "textAlign",
84
+ textTransform = "textTransform",
85
+ textShadow = "textShadow",
86
+ textOverflow = "textOverflow",
87
+ textIndent = "textIndent",
88
+ textDecoration = "textDecoration",
89
+ textDecorationColor = "textDecorationColor",
90
+ textDecorationLine = "textDecorationLine",
91
+ textDecorationStyle = "textDecorationStyle",
92
+ textDecorationThickness = "textDecorationThickness",
93
+ boxShadow = "boxShadow",
94
+ opacity = "opacity",
95
+ overflow = "overflow",
96
+ display = "display",
97
+ alignSelf = "alignSelf",
98
+ justifyContent = "justifyContent",
99
+ alignItems = "alignItems",
100
+ flexDirection = "flexDirection",
101
+ height = "height",
102
+ width = "width",
103
+ gap = "gap",
104
+ columnGap = "columnGap",
105
+ rowGap = "rowGap",
106
+ filter = "filter",
107
+ backdropFilter = "backdropFilter",
108
+ objectFit = "objectFit",
109
+ objectPosition = "objectPosition",
110
+ mixBlendMode = "mixBlendMode",
111
+ isolation = "isolation",
112
+ stroke = "stroke",
113
+ strokeWidth = "strokeWidth",
114
+ strokeOpacity = "strokeOpacity",
115
+ fill = "fill",
116
+ fillOpacity = "fillOpacity"
117
+ }
118
+ export type CssPropertyTypeMap = {
119
+ [Key in CssPropertyType]: ElementStyleValue;
120
+ };
121
+ export declare enum FilterFunction {
122
+ blur = "blur",
123
+ brightness = "brightness",
124
+ contrast = "contrast",
125
+ dropShadow = "dropShadow",
126
+ grayscale = "grayscale",
127
+ hueRotate = "hueRotate",
128
+ invert = "invert",
129
+ opacity = "opacity",
130
+ saturate = "saturate",
131
+ sepia = "sepia"
132
+ }
133
+ export type FilterOptions = {
134
+ filterFunctions?: FilterFunction[];
135
+ };
136
+ export type BackdropFilterOptions = {
137
+ filterFunctions?: FilterFunction[];
138
+ };
139
+ export declare enum DisplayValue {
140
+ none = "none",
141
+ block = "block",
142
+ inline = "inline",
143
+ flow = "flow",
144
+ flowRoot = "flowRoot",
145
+ table = "table",
146
+ flex = "flex",
147
+ grid = "grid",
148
+ inlineBlock = "inlineBlock",
149
+ inlineFlex = "inlineFlex",
150
+ inlineGrid = "inlineGrid",
151
+ inlineTable = "inlineTable"
152
+ }
153
+ export type DisplayOptions = {
154
+ displayValues?: DisplayValue[];
155
+ };
156
+ export declare enum WritingModeValue {
157
+ horizontalTb = "horizontalTb",
158
+ verticalRl = "verticalRl",
159
+ verticalLr = "verticalLr",
160
+ sidewaysRl = "sidewaysRl",
161
+ sidewaysLr = "sidewaysLr"
162
+ }
163
+ export type WritingModeOptions = {
164
+ writingModeValues?: WritingModeValue[];
165
+ };
166
+ export type BackgroundOptions = {
167
+ imageCategory?: string;
168
+ vectorArtCategory?: string;
169
+ };
170
+ export type CssPropertyOptions = {
171
+ filter?: FilterOptions;
172
+ backdropFilter?: BackdropFilterOptions;
173
+ display?: DisplayOptions;
174
+ writingMode?: WritingModeOptions;
175
+ background?: BackgroundOptions;
176
+ };
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WritingModeValue = exports.DisplayValue = exports.FilterFunction = exports.CssPropertyType = void 0;
4
+ // Copied from ambassador component-type data (CssPropertyEnumCssPropertyType).
5
+ var CssPropertyType;
6
+ (function (CssPropertyType) {
7
+ CssPropertyType["number"] = "number";
8
+ CssPropertyType["string"] = "string";
9
+ CssPropertyType["angle"] = "angle";
10
+ CssPropertyType["length"] = "length";
11
+ CssPropertyType["percentage"] = "percentage";
12
+ CssPropertyType["lengthPercentage"] = "lengthPercentage";
13
+ CssPropertyType["blendMode"] = "blendMode";
14
+ CssPropertyType["customEnum"] = "customEnum";
15
+ CssPropertyType["time"] = "time";
16
+ CssPropertyType["background"] = "background";
17
+ CssPropertyType["backgroundSize"] = "backgroundSize";
18
+ CssPropertyType["backgroundColor"] = "backgroundColor";
19
+ CssPropertyType["backgroundImage"] = "backgroundImage";
20
+ CssPropertyType["backgroundClip"] = "backgroundClip";
21
+ CssPropertyType["backgroundOrigin"] = "backgroundOrigin";
22
+ CssPropertyType["backgroundPosition"] = "backgroundPosition";
23
+ CssPropertyType["backgroundRepeat"] = "backgroundRepeat";
24
+ CssPropertyType["backgroundAttachment"] = "backgroundAttachment";
25
+ CssPropertyType["margin"] = "margin";
26
+ CssPropertyType["marginTop"] = "marginTop";
27
+ CssPropertyType["marginRight"] = "marginRight";
28
+ CssPropertyType["marginBottom"] = "marginBottom";
29
+ CssPropertyType["marginLeft"] = "marginLeft";
30
+ CssPropertyType["marginInlineStart"] = "marginInlineStart";
31
+ CssPropertyType["marginInlineEnd"] = "marginInlineEnd";
32
+ CssPropertyType["padding"] = "padding";
33
+ CssPropertyType["paddingTop"] = "paddingTop";
34
+ CssPropertyType["paddingRight"] = "paddingRight";
35
+ CssPropertyType["paddingBottom"] = "paddingBottom";
36
+ CssPropertyType["paddingLeft"] = "paddingLeft";
37
+ CssPropertyType["paddingInlineStart"] = "paddingInlineStart";
38
+ CssPropertyType["paddingInlineEnd"] = "paddingInlineEnd";
39
+ CssPropertyType["border"] = "border";
40
+ CssPropertyType["borderWidth"] = "borderWidth";
41
+ CssPropertyType["borderStyle"] = "borderStyle";
42
+ CssPropertyType["borderColor"] = "borderColor";
43
+ CssPropertyType["borderTop"] = "borderTop";
44
+ CssPropertyType["borderTopColor"] = "borderTopColor";
45
+ CssPropertyType["borderTopWidth"] = "borderTopWidth";
46
+ CssPropertyType["borderTopStyle"] = "borderTopStyle";
47
+ CssPropertyType["borderRight"] = "borderRight";
48
+ CssPropertyType["borderRightColor"] = "borderRightColor";
49
+ CssPropertyType["borderRightWidth"] = "borderRightWidth";
50
+ CssPropertyType["borderRightStyle"] = "borderRightStyle";
51
+ CssPropertyType["borderBottom"] = "borderBottom";
52
+ CssPropertyType["borderBottomColor"] = "borderBottomColor";
53
+ CssPropertyType["borderBottomWidth"] = "borderBottomWidth";
54
+ CssPropertyType["borderBottomStyle"] = "borderBottomStyle";
55
+ CssPropertyType["borderLeft"] = "borderLeft";
56
+ CssPropertyType["borderLeftColor"] = "borderLeftColor";
57
+ CssPropertyType["borderLeftWidth"] = "borderLeftWidth";
58
+ CssPropertyType["borderLeftStyle"] = "borderLeftStyle";
59
+ CssPropertyType["borderInlineStart"] = "borderInlineStart";
60
+ CssPropertyType["borderInlineStartColor"] = "borderInlineStartColor";
61
+ CssPropertyType["borderInlineStartWidth"] = "borderInlineStartWidth";
62
+ CssPropertyType["borderInlineStartStyle"] = "borderInlineStartStyle";
63
+ CssPropertyType["borderInlineEnd"] = "borderInlineEnd";
64
+ CssPropertyType["borderInlineEndColor"] = "borderInlineEndColor";
65
+ CssPropertyType["borderInlineEndWidth"] = "borderInlineEndWidth";
66
+ CssPropertyType["borderInlineEndStyle"] = "borderInlineEndStyle";
67
+ CssPropertyType["borderRadius"] = "borderRadius";
68
+ CssPropertyType["borderTopLeftRadius"] = "borderTopLeftRadius";
69
+ CssPropertyType["borderTopRightRadius"] = "borderTopRightRadius";
70
+ CssPropertyType["borderBottomRightRadius"] = "borderBottomRightRadius";
71
+ CssPropertyType["borderBottomLeftRadius"] = "borderBottomLeftRadius";
72
+ CssPropertyType["borderStartStartRadius"] = "borderStartStartRadius";
73
+ CssPropertyType["borderStartEndRadius"] = "borderStartEndRadius";
74
+ CssPropertyType["borderEndStartRadius"] = "borderEndStartRadius";
75
+ CssPropertyType["borderEndEndRadius"] = "borderEndEndRadius";
76
+ CssPropertyType["font"] = "font";
77
+ CssPropertyType["fontFamily"] = "fontFamily";
78
+ CssPropertyType["fontSize"] = "fontSize";
79
+ CssPropertyType["fontStretch"] = "fontStretch";
80
+ CssPropertyType["fontStyle"] = "fontStyle";
81
+ CssPropertyType["fontVariant"] = "fontVariant";
82
+ CssPropertyType["fontWeight"] = "fontWeight";
83
+ CssPropertyType["lineHeight"] = "lineHeight";
84
+ CssPropertyType["color"] = "color";
85
+ CssPropertyType["letterSpacing"] = "letterSpacing";
86
+ CssPropertyType["writingMode"] = "writingMode";
87
+ CssPropertyType["textAlign"] = "textAlign";
88
+ CssPropertyType["textTransform"] = "textTransform";
89
+ CssPropertyType["textShadow"] = "textShadow";
90
+ CssPropertyType["textOverflow"] = "textOverflow";
91
+ CssPropertyType["textIndent"] = "textIndent";
92
+ CssPropertyType["textDecoration"] = "textDecoration";
93
+ CssPropertyType["textDecorationColor"] = "textDecorationColor";
94
+ CssPropertyType["textDecorationLine"] = "textDecorationLine";
95
+ CssPropertyType["textDecorationStyle"] = "textDecorationStyle";
96
+ CssPropertyType["textDecorationThickness"] = "textDecorationThickness";
97
+ CssPropertyType["boxShadow"] = "boxShadow";
98
+ CssPropertyType["opacity"] = "opacity";
99
+ CssPropertyType["overflow"] = "overflow";
100
+ CssPropertyType["display"] = "display";
101
+ CssPropertyType["alignSelf"] = "alignSelf";
102
+ CssPropertyType["justifyContent"] = "justifyContent";
103
+ CssPropertyType["alignItems"] = "alignItems";
104
+ CssPropertyType["flexDirection"] = "flexDirection";
105
+ CssPropertyType["height"] = "height";
106
+ CssPropertyType["width"] = "width";
107
+ CssPropertyType["gap"] = "gap";
108
+ CssPropertyType["columnGap"] = "columnGap";
109
+ CssPropertyType["rowGap"] = "rowGap";
110
+ CssPropertyType["filter"] = "filter";
111
+ CssPropertyType["backdropFilter"] = "backdropFilter";
112
+ CssPropertyType["objectFit"] = "objectFit";
113
+ CssPropertyType["objectPosition"] = "objectPosition";
114
+ CssPropertyType["mixBlendMode"] = "mixBlendMode";
115
+ CssPropertyType["isolation"] = "isolation";
116
+ CssPropertyType["stroke"] = "stroke";
117
+ CssPropertyType["strokeWidth"] = "strokeWidth";
118
+ CssPropertyType["strokeOpacity"] = "strokeOpacity";
119
+ CssPropertyType["fill"] = "fill";
120
+ CssPropertyType["fillOpacity"] = "fillOpacity";
121
+ })(CssPropertyType || (exports.CssPropertyType = CssPropertyType = {}));
122
+ // ─── CSS Property Configuration Options ──────────────────────────────────────
123
+ var FilterFunction;
124
+ (function (FilterFunction) {
125
+ FilterFunction["blur"] = "blur";
126
+ FilterFunction["brightness"] = "brightness";
127
+ FilterFunction["contrast"] = "contrast";
128
+ FilterFunction["dropShadow"] = "dropShadow";
129
+ FilterFunction["grayscale"] = "grayscale";
130
+ FilterFunction["hueRotate"] = "hueRotate";
131
+ FilterFunction["invert"] = "invert";
132
+ FilterFunction["opacity"] = "opacity";
133
+ FilterFunction["saturate"] = "saturate";
134
+ FilterFunction["sepia"] = "sepia";
135
+ })(FilterFunction || (exports.FilterFunction = FilterFunction = {}));
136
+ var DisplayValue;
137
+ (function (DisplayValue) {
138
+ DisplayValue["none"] = "none";
139
+ DisplayValue["block"] = "block";
140
+ DisplayValue["inline"] = "inline";
141
+ DisplayValue["flow"] = "flow";
142
+ DisplayValue["flowRoot"] = "flowRoot";
143
+ DisplayValue["table"] = "table";
144
+ DisplayValue["flex"] = "flex";
145
+ DisplayValue["grid"] = "grid";
146
+ DisplayValue["inlineBlock"] = "inlineBlock";
147
+ DisplayValue["inlineFlex"] = "inlineFlex";
148
+ DisplayValue["inlineGrid"] = "inlineGrid";
149
+ DisplayValue["inlineTable"] = "inlineTable";
150
+ })(DisplayValue || (exports.DisplayValue = DisplayValue = {}));
151
+ var WritingModeValue;
152
+ (function (WritingModeValue) {
153
+ WritingModeValue["horizontalTb"] = "horizontalTb";
154
+ WritingModeValue["verticalRl"] = "verticalRl";
155
+ WritingModeValue["verticalLr"] = "verticalLr";
156
+ WritingModeValue["sidewaysRl"] = "sidewaysRl";
157
+ WritingModeValue["sidewaysLr"] = "sidewaysLr";
158
+ })(WritingModeValue || (exports.WritingModeValue = WritingModeValue = {}));