survey-creator-core 2.0.0-rc.3 → 2.0.0-rc.4

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.
Files changed (153) hide show
  1. package/fesm/i18n/arabic.js +1 -1
  2. package/fesm/i18n/bulgarian.js +1 -1
  3. package/fesm/i18n/burmese.js +1 -1
  4. package/fesm/i18n/croatian.js +1 -1
  5. package/fesm/i18n/czech.js +1 -1
  6. package/fesm/i18n/danish.js +1 -1
  7. package/fesm/i18n/dutch.js +1 -1
  8. package/fesm/i18n/english.js +1 -1
  9. package/fesm/i18n/finnish.js +1 -1
  10. package/fesm/i18n/french.js +1 -1
  11. package/fesm/i18n/german.js +1 -1
  12. package/fesm/i18n/hebrew.js +1 -1
  13. package/fesm/i18n/hungarian.js +1 -1
  14. package/fesm/i18n/index.js +1 -1
  15. package/fesm/i18n/indonesian.js +1 -1
  16. package/fesm/i18n/italian.js +1 -1
  17. package/fesm/i18n/japanese.js +1 -1
  18. package/fesm/i18n/korean.js +1 -1
  19. package/fesm/i18n/malay.js +1 -1
  20. package/fesm/i18n/mongolian.js +1 -1
  21. package/fesm/i18n/norwegian.js +1 -1
  22. package/fesm/i18n/persian.js +1 -1
  23. package/fesm/i18n/polish.js +1 -1
  24. package/fesm/i18n/portuguese.js +1 -1
  25. package/fesm/i18n/romanian.js +1 -1
  26. package/fesm/i18n/russian.js +1 -1
  27. package/fesm/i18n/simplified-chinese.js +1 -1
  28. package/fesm/i18n/slovak.js +1 -1
  29. package/fesm/i18n/slovenian.js +1 -1
  30. package/fesm/i18n/spanish.js +1 -1
  31. package/fesm/i18n/swedish.js +1 -1
  32. package/fesm/i18n/tajik.js +1 -1
  33. package/fesm/i18n/thai.js +1 -1
  34. package/fesm/i18n/traditional-chinese.js +1 -1
  35. package/fesm/i18n/turkish.js +1 -1
  36. package/fesm/survey-creator-core.i18n.js +1 -1
  37. package/fesm/survey-creator-core.js +138 -49
  38. package/fesm/survey-creator-core.js.map +1 -1
  39. package/fesm/themes/default-contrast.js +1 -1
  40. package/fesm/themes/default-dark.js +1 -1
  41. package/fesm/themes/index.js +2 -2
  42. package/fesm/themes/index.js.map +1 -1
  43. package/fesm/themes/sc2020.js +2 -2
  44. package/fesm/themes/sc2020.js.map +1 -1
  45. package/fonts.fontless.css +1 -1
  46. package/fonts.fontless.min.css +1 -1
  47. package/i18n/arabic.js +1 -1
  48. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  49. package/i18n/bulgarian.js +1 -1
  50. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  51. package/i18n/burmese.js +1 -1
  52. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  53. package/i18n/croatian.js +1 -1
  54. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  55. package/i18n/czech.js +1 -1
  56. package/i18n/czech.min.js.LICENSE.txt +1 -1
  57. package/i18n/danish.js +1 -1
  58. package/i18n/danish.min.js.LICENSE.txt +1 -1
  59. package/i18n/dutch.js +1 -1
  60. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  61. package/i18n/english.js +1 -1
  62. package/i18n/english.min.js.LICENSE.txt +1 -1
  63. package/i18n/finnish.js +1 -1
  64. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  65. package/i18n/french.js +1 -1
  66. package/i18n/french.min.js.LICENSE.txt +1 -1
  67. package/i18n/german.js +1 -1
  68. package/i18n/german.min.js.LICENSE.txt +1 -1
  69. package/i18n/hebrew.js +1 -1
  70. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  71. package/i18n/hungarian.js +1 -1
  72. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  73. package/i18n/index.js +1 -1
  74. package/i18n/index.min.js.LICENSE.txt +1 -1
  75. package/i18n/indonesian.js +1 -1
  76. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  77. package/i18n/italian.js +1 -1
  78. package/i18n/italian.min.js.LICENSE.txt +1 -1
  79. package/i18n/japanese.js +1 -1
  80. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  81. package/i18n/korean.js +1 -1
  82. package/i18n/korean.min.js.LICENSE.txt +1 -1
  83. package/i18n/malay.js +1 -1
  84. package/i18n/malay.min.js.LICENSE.txt +1 -1
  85. package/i18n/mongolian.js +1 -1
  86. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  87. package/i18n/norwegian.js +1 -1
  88. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  89. package/i18n/persian.js +1 -1
  90. package/i18n/persian.min.js.LICENSE.txt +1 -1
  91. package/i18n/polish.js +1 -1
  92. package/i18n/polish.min.js.LICENSE.txt +1 -1
  93. package/i18n/portuguese.js +1 -1
  94. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  95. package/i18n/romanian.js +1 -1
  96. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  97. package/i18n/russian.js +1 -1
  98. package/i18n/russian.min.js.LICENSE.txt +1 -1
  99. package/i18n/simplified-chinese.js +1 -1
  100. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  101. package/i18n/slovak.js +1 -1
  102. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  103. package/i18n/slovenian.js +1 -1
  104. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  105. package/i18n/spanish.js +1 -1
  106. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  107. package/i18n/swedish.js +1 -1
  108. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  109. package/i18n/tajik.js +1 -1
  110. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  111. package/i18n/thai.js +1 -1
  112. package/i18n/thai.min.js.LICENSE.txt +1 -1
  113. package/i18n/traditional-chinese.js +1 -1
  114. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  115. package/i18n/turkish.js +1 -1
  116. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  117. package/package.json +2 -2
  118. package/survey-creator-core.css +40 -59
  119. package/survey-creator-core.fontless.css +39 -58
  120. package/survey-creator-core.fontless.css.map +1 -1
  121. package/survey-creator-core.fontless.min.css +7 -7
  122. package/survey-creator-core.i18n.js +1 -1
  123. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  124. package/survey-creator-core.js +140 -55
  125. package/survey-creator-core.js.map +1 -1
  126. package/survey-creator-core.min.css +8 -8
  127. package/survey-creator-core.min.js +1 -1
  128. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  129. package/themes/default-contrast.js +1 -1
  130. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  131. package/themes/default-dark.js +1 -1
  132. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  133. package/themes/index.d.ts +1 -1
  134. package/themes/index.js +2 -2
  135. package/themes/index.js.map +1 -1
  136. package/themes/index.min.js +1 -1
  137. package/themes/index.min.js.LICENSE.txt +1 -1
  138. package/themes/sc2020.d.ts +2 -2
  139. package/themes/sc2020.js +2 -2
  140. package/themes/sc2020.js.map +1 -1
  141. package/themes/sc2020.min.js +1 -1
  142. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  143. package/typings/components/tabs/designer.d.ts +4 -1
  144. package/typings/creator-base.d.ts +66 -11
  145. package/typings/creator-events-api.d.ts +6 -0
  146. package/typings/creator-options.d.ts +5 -0
  147. package/typings/creator-settings.d.ts +8 -1
  148. package/typings/creator-theme/creator-themes.d.ts +1 -0
  149. package/typings/designTabSurveyThemeJSON.d.ts +2 -0
  150. package/typings/tabbed-menu.d.ts +1 -1
  151. package/typings/themes/index.d.ts +1 -1
  152. package/typings/themes/sc2020.d.ts +2 -2
  153. package/typings/utils/utils.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  import { Base, SurveyModel, Question, PanelModel, PageModel, IElement, JsonObjectProperty, ActionContainer, IAction, Action, IPanel, SurveyElement, ItemValue, QuestionSelectBase, LocalizableString, ILocalizableString, ILocalizableOwner, PopupBaseViewModel, EventBase, MatrixDropdownColumn, ISurveyElement, ITheme } from "survey-core";
2
- import { ICreatorPlugin, ISurveyCreatorOptions, ICollectionItemAllowOperations } from "./creator-settings";
2
+ import { ICreatorPlugin, ISurveyCreatorOptions, ICollectionItemAllowOperations, ITabOptions } from "./creator-settings";
3
3
  import { DragDropChoices } from "survey-core";
4
4
  import { QuestionToolbox, QuestionToolboxItem } from "./toolbox";
5
5
  import { PropertyGridModel } from "./property-grid";
@@ -102,6 +102,11 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
102
102
  * @see saveThemeFunc
103
103
  */
104
104
  showThemeTab: boolean;
105
+ /**
106
+ * Specifies whether users can modify the [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme). Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
107
+ *
108
+ * Default value: `true`
109
+ */
105
110
  showCreatorThemeSettings: boolean;
106
111
  /**
107
112
  * Specifies whether the "Zoom In", "Zoom Out", and "Zoom to 100%" buttons are available.
@@ -273,17 +278,37 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
273
278
  protected plugins: {
274
279
  [name: string]: ICreatorPlugin;
275
280
  };
281
+ /**
282
+ * @deprecated Use the [`addTab(tabOptions)`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#addTab) method instead.
283
+ */
284
+ addPluginTab(name: string, plugin: ICreatorPlugin, title?: string, componentName?: string, index?: number): void;
276
285
  /**
277
286
  * Adds a custom tab to Survey Creator.
278
287
  *
288
+ * This method accepts an `ITabOptions` object with the following properties:
289
+ *
290
+ * - `name`: `string`\
291
+ * A unique tab ID.
292
+ *
293
+ * - `plugin`: `ICreatorPlugin`\
294
+ * An object that allows you to handle user interactions with the tab.
295
+ *
296
+ * - `title`: `string`\
297
+ * *(Optional)* A tab caption. If `title` is undefined, the `name` property value is displayed instead. To localize the caption, add its translations to the `ed` object within [localization dictionaries](https://github.com/surveyjs/survey-creator/tree/90de47d2c9da49b06a7f97414026d70f7acf05c6/packages/survey-creator-core/src/localization) and pass `ed.propertyName` as the `title` property.
298
+ *
299
+ * - `iconName`: `string`\
300
+ * *(Optional)* An [icon name](https://surveyjs.io/form-library/documentation/icons). Icons are used when the tab bar doesn't have enough width to display tab titles.
301
+ *
302
+ * - `componentName`: `string`\
303
+ * *(Optional)* The name of the component that renders tab markup. Default value: `"svc-tab-" + name`.
304
+ *
305
+ * - `index`: `number`\
306
+ * *(Optional)* A zero-based index that specifies the tab's position relative to other tabs.
307
+ *
279
308
  * [View Demo](https://surveyjs.io/survey-creator/examples/modify-tab-bar/ (linkStyle))
280
- * @param name A unique tab ID.
281
- * @param plugin An object that allows you to handle user interactions with the tab.
282
- * @param title A tab caption. If `title` is undefined, the `name` argument value is displayed instead. To localize the caption, add its translations to the `ed` object within [localization dictionaries](https://github.com/surveyjs/survey-creator/tree/90de47d2c9da49b06a7f97414026d70f7acf05c6/packages/survey-creator-core/src/localization) and pass `ed.propertyName` as the `title` argument.
283
- * @param componentName The name of the component that renders tab markup. Default value: `"svc-tab-" + name`.
284
- * @param index A zero-based index that specifies the tab's position relative to other tabs.
309
+ * @param tabOptions An object that configures the custom tab.
285
310
  */
286
- addPluginTab(name: string, plugin: ICreatorPlugin, title?: string, componentName?: string, index?: number): void;
311
+ addTab(tabOptions: ITabOptions): void;
287
312
  addPlugin(name: string, plugin: ICreatorPlugin): void;
288
313
  private removePlugin;
289
314
  private getTabIndex;
@@ -717,6 +742,9 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
717
742
  * ```
718
743
  */
719
744
  onCreateCustomMessagePanel: EventBase<SurveyCreatorModel, CreateCustomMessagePanelEvent>;
745
+ /**
746
+ * An event that is raised when users change a property in a [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme).
747
+ */
720
748
  onCreatorThemePropertyChanged: EventBase<SurveyCreatorModel, CreatorThemePropertyChangedEvent>;
721
749
  getSurveyJSONTextCallback: () => {
722
750
  text: string;
@@ -1387,30 +1415,45 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1387
1415
  focusElement(element: any, focus: string | boolean, selEl?: any, propertyName?: string, startEdit?: boolean): void;
1388
1416
  private getSelectedSurveyElement;
1389
1417
  private onSelectingElement;
1418
+ /**
1419
+ * Opens [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme) settings in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
1420
+ * @see closeCreatorThemeSettings
1421
+ * @see showCreatorThemeSettings
1422
+ */
1390
1423
  openCreatorThemeSettings(): void;
1424
+ /**
1425
+ * Closes [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme) settings in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
1426
+ * @see openCreatorThemeSettings
1427
+ * @see showCreatorThemeSettings
1428
+ */
1391
1429
  closeCreatorThemeSettings(): void;
1430
+ /**
1431
+ * Activates a specified category in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"buttons"`.
1432
+ * @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
1433
+ */
1392
1434
  activatePropertyGridCategory(name: string): void;
1393
1435
  protected get designerPropertyGrid(): PropertyGridModel;
1394
1436
  get propertyGrid(): SurveyModel;
1395
1437
  /**
1396
- * Collapses a specified category in Property Grid.
1438
+ * Collapses a specified category in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"accordion"`.
1397
1439
  * @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
1398
1440
  * @see expandPropertyGridCategory
1399
1441
  */
1400
1442
  collapsePropertyGridCategory(name: string): void;
1401
1443
  /**
1402
- * Expands a specified category in Property Grid.
1444
+ * Expands a specified category in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"accordion"`.
1403
1445
  * @param name A [category name](https://surveyjs.io/form-library/documentation/customize-question-types/add-custom-properties-to-a-form#category).
1404
1446
  * @see collapsePropertyGridCategory
1447
+ * @see activatePropertyGridCategory
1405
1448
  */
1406
1449
  expandPropertyGridCategory(name: string): void;
1407
1450
  /**
1408
- * Collapses all categories in Property Grid.
1451
+ * Collapses all categories in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"accordion"`.
1409
1452
  * @see expandAllPropertyGridCategories
1410
1453
  */
1411
1454
  collapseAllPropertyGridCategories(): void;
1412
1455
  /**
1413
- * Expands all categories in Property Grid.
1456
+ * Expands all categories in Property Grid. Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#propertyGridNavigationMode) is `"accordion"`.
1414
1457
  * @see collapseAllPropertyGridCategories
1415
1458
  */
1416
1459
  expandAllPropertyGridCategories(): void;
@@ -1598,6 +1641,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1598
1641
  showAddQuestionButton: any;
1599
1642
  isMobileView: boolean;
1600
1643
  isTouch: any;
1644
+ currentOS: string;
1601
1645
  /**
1602
1646
  * Specifies the Toolbox location.
1603
1647
  *
@@ -1672,8 +1716,19 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1672
1716
  themeVariables: {
1673
1717
  [index: string]: string;
1674
1718
  };
1719
+ /**
1720
+ * A theme for the Survey Creator UI.
1721
+ * @see applyCreatorTheme
1722
+ * @see showCreatorThemeSettings
1723
+ */
1675
1724
  creatorTheme: ICreatorTheme;
1676
1725
  preferredColorPalette: string;
1726
+ /**
1727
+ * Applies a specified UI theme to Survey Creator.
1728
+ * @param theme An `ICreatorTheme` object with theme settings.
1729
+ * @see creatorTheme
1730
+ * @see showCreatorThemeSettings
1731
+ */
1677
1732
  applyCreatorTheme(theme: ICreatorTheme): void;
1678
1733
  syncTheme(theme: ICreatorTheme, isLight?: boolean): void;
1679
1734
  private _allowDragPages;
@@ -1029,6 +1029,12 @@ export interface DragStartEndEvent {
1029
1029
  toElement: IElement;
1030
1030
  }
1031
1031
  export interface CreatorThemePropertyChangedEvent {
1032
+ /**
1033
+ * A property name.
1034
+ */
1032
1035
  name: string;
1036
+ /**
1037
+ * A new property value.
1038
+ */
1033
1039
  value: any;
1034
1040
  }
@@ -52,6 +52,11 @@ export interface ICreatorOptions {
52
52
  * [Theme Editor](https://surveyjs.io/survey-creator/documentation/theme-editor (linkStyle))
53
53
  */
54
54
  showThemeTab?: boolean;
55
+ /**
56
+ * Specifies whether users can modify the [Survey Creator theme](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#creatorTheme). Applies only if [`propertyGridNavigationMode`](https://surveyjs.io/survey-creator/documentation/api-reference/icreatoroptions#propertyGridNavigationMode) is `"buttons"`.
57
+ *
58
+ * Default value: `true`
59
+ */
55
60
  showCreatorThemeSettings?: boolean;
56
61
  /**
57
62
  * Specifies whether the "Zoom In", "Zoom Out", and "Zoom to 100%" buttons are available.
@@ -155,7 +155,14 @@ export interface ICreatorPlugin {
155
155
  dispose?: () => void;
156
156
  onDesignerSurveyPropertyChanged?: (obj: Base, propName: string) => void;
157
157
  model: Base;
158
- showOneCategoryInPropertyGrid?: boolean;
158
+ }
159
+ export interface ITabOptions {
160
+ name: string;
161
+ plugin: ICreatorPlugin;
162
+ title?: string;
163
+ iconName?: string;
164
+ componentName?: string;
165
+ index?: number;
159
166
  }
160
167
  export interface ISurveyCreatorOptions {
161
168
  isMobileView: boolean;
@@ -7,6 +7,7 @@ export interface ICreatorTheme {
7
7
  }
8
8
  export declare const PredefinedCreatorThemes: string[];
9
9
  export declare const defaultCreatorThemesOrder: string[];
10
+ export declare function registerCreatorTheme(theme: ICreatorTheme): void;
10
11
  export declare const CreatorThemes: {
11
12
  [index: string]: ICreatorTheme;
12
13
  };
@@ -1,5 +1,7 @@
1
1
  declare const designTabSurveyThemeJSON: {
2
2
  cssVariables: {
3
+ "--sjs-base-unit": string;
4
+ "--sjs-font-size": string;
3
5
  "--sjs-primary-backcolor": string;
4
6
  "--sjs-primary-backcolor-light": string;
5
7
  "--sjs-primary-backcolor-dark": string;
@@ -18,6 +18,6 @@ export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
18
18
  export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
19
19
  private creator;
20
20
  constructor(creator: CreatorBase);
21
- addTab(name: string, plugin: ICreatorPlugin, title?: string, componentName?: string, index?: number): void;
21
+ addTab(name: string, plugin: ICreatorPlugin, title?: string, iconName?: string, componentName?: string, index?: number): void;
22
22
  updateResponsivenessMode(): void;
23
23
  }
@@ -43,7 +43,6 @@ export declare const SC2020: {
43
43
  "--ctr-shadow-x-large-blur": string;
44
44
  "--ctr-shadow-x-large-spread": string;
45
45
  "--ctr-property-grid-placeholder-text-max-width": string;
46
- "--ctr-surface-placeholder-padding-top": string;
47
46
  "--ctr-property-grid-placeholder-padding-bottom": string;
48
47
  "--ctr-popup-menu-footer-padding-right": string;
49
48
  "--ctr-editor-content-text-opacity-disabled": number;
@@ -269,6 +268,7 @@ export declare const SC2020: {
269
268
  "--ctr-surface-placeholder-text-margin-bottom": string;
270
269
  "--ctr-surface-placeholder-text-gap": string;
271
270
  "--ctr-surface-placeholder-max-width": string;
271
+ "--ctr-surface-placeholder-padding-top": string;
272
272
  "--ctr-surface-placeholder-padding-right": string;
273
273
  "--ctr-toolbox-group-header-margin-right": string;
274
274
  "--ctr-property-grid-tabs-padding-right": string;
@@ -43,7 +43,6 @@ declare const Theme: {
43
43
  "--ctr-shadow-x-large-blur": string;
44
44
  "--ctr-shadow-x-large-spread": string;
45
45
  "--ctr-property-grid-placeholder-text-max-width": string;
46
- "--ctr-surface-placeholder-padding-top": string;
47
46
  "--ctr-property-grid-placeholder-padding-bottom": string;
48
47
  "--ctr-popup-menu-footer-padding-right": string;
49
48
  "--ctr-editor-content-text-opacity-disabled": number;
@@ -269,6 +268,7 @@ declare const Theme: {
269
268
  "--ctr-surface-placeholder-text-margin-bottom": string;
270
269
  "--ctr-surface-placeholder-text-gap": string;
271
270
  "--ctr-surface-placeholder-max-width": string;
271
+ "--ctr-surface-placeholder-padding-top": string;
272
272
  "--ctr-surface-placeholder-padding-right": string;
273
273
  "--ctr-toolbox-group-header-margin-right": string;
274
274
  "--ctr-property-grid-tabs-padding-right": string;
@@ -1350,7 +1350,6 @@ export declare const SC2020: {
1350
1350
  "--ctr-shadow-x-large-blur": string;
1351
1351
  "--ctr-shadow-x-large-spread": string;
1352
1352
  "--ctr-property-grid-placeholder-text-max-width": string;
1353
- "--ctr-surface-placeholder-padding-top": string;
1354
1353
  "--ctr-property-grid-placeholder-padding-bottom": string;
1355
1354
  "--ctr-popup-menu-footer-padding-right": string;
1356
1355
  "--ctr-editor-content-text-opacity-disabled": number;
@@ -1576,6 +1575,7 @@ export declare const SC2020: {
1576
1575
  "--ctr-surface-placeholder-text-margin-bottom": string;
1577
1576
  "--ctr-surface-placeholder-text-gap": string;
1578
1577
  "--ctr-surface-placeholder-max-width": string;
1578
+ "--ctr-surface-placeholder-padding-top": string;
1579
1579
  "--ctr-surface-placeholder-padding-right": string;
1580
1580
  "--ctr-toolbox-group-header-margin-right": string;
1581
1581
  "--ctr-property-grid-tabs-padding-right": string;
@@ -11,3 +11,4 @@ export declare function trimEmptyFields(object: {
11
11
  }): void;
12
12
  export declare function assign(...inputs: Array<any>): void;
13
13
  export declare function sortDefaultThemes(defaultThemesOrder: Array<string>, themes: Array<string>, resultArray: Array<string>): void;
14
+ export declare function getOS(): "Mac OS" | "iOS" | "Windows" | "Android" | "Linux";