survey-creator-core 1.9.81 → 1.9.83

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.81
2
+ * SurveyJS Creator v1.9.83
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.81
2
+ * SurveyJS Creator v1.9.83
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "1.9.81",
3
+ "version": "1.9.83",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -29,7 +29,7 @@
29
29
  "ace-builds": "^1.4.12"
30
30
  },
31
31
  "dependencies": {
32
- "survey-core": "1.9.81"
32
+ "survey-core": "1.9.83"
33
33
  },
34
34
  "devDependencies": {}
35
35
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.81
2
+ * SurveyJS Creator v1.9.83
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -225,7 +225,7 @@
225
225
 
226
226
 
227
227
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
228
- * SurveyJS Creator v1.9.81
228
+ * SurveyJS Creator v1.9.83
229
229
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
230
230
  * Github: https://github.com/surveyjs/survey-creator
231
231
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -956,7 +956,8 @@ td.st-table__cell:first-of-type {
956
956
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); }
957
957
 
958
958
  .svc-logic-tab__content .svc-logic-tab__content-action--disabled .svc-text {
959
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
959
+ color: var(--foreground, #161616);
960
+ opacity: 0.25; }
960
961
 
961
962
  .svc-logic-tab__content .sd-paneldynamic__panel-wrapper--in-row {
962
963
  margin-top: 0;
@@ -1020,6 +1021,9 @@ td.st-table__cell:first-of-type {
1020
1021
  display: block;
1021
1022
  padding: calc(4 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px)); }
1022
1023
 
1024
+ .svc-logic-tab__leave-apply-button {
1025
+ background-color: var(--red, #e60a3e); }
1026
+
1023
1027
  svc-tab-designer {
1024
1028
  width: 100%;
1025
1029
  height: 100%;
@@ -1360,7 +1364,8 @@ survey-creator,
1360
1364
  margin-left: calc(1 * var(--base-unit, 8px));
1361
1365
  line-height: calc(4 * var(--base-unit, 8px));
1362
1366
  font-size: calc(2 * var(--base-unit, 8px));
1363
- color: red; }
1367
+ color: red;
1368
+ display: none; }
1364
1369
 
1365
1370
  .svc-string-editor__controls {
1366
1371
  position: absolute;
@@ -1413,6 +1418,9 @@ survey-creator,
1413
1418
  background-color: var(--background, #fff);
1414
1419
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--primary, #19b394); }
1415
1420
 
1421
+ .svc-string-editor.svc-string-editor--error:focus-within .svc-string-editor__border {
1422
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--red, #e60a3e); }
1423
+
1416
1424
  .sd-rating .sd-rating__item:focus-within {
1417
1425
  border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1418
1426
 
@@ -1648,7 +1656,8 @@ svc-page-navigator-item,
1648
1656
  padding: 0 calc(2.5 * var(--base-unit, 8px)) 0 calc(4.5 * var(--base-unit, 8px)); }
1649
1657
 
1650
1658
  .svc-page-navigator-item--disabled .svc-page-navigator-item__banner {
1651
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
1659
+ color: var(--foreground, #161616);
1660
+ opacity: 0.25; }
1652
1661
 
1653
1662
  svc-page {
1654
1663
  display: block; }
@@ -1806,7 +1815,8 @@ svc-question {
1806
1815
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15); }
1807
1816
 
1808
1817
  .svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn {
1809
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.25)); }
1818
+ color: var(--foreground, #161616);
1819
+ opacity: 0.25; }
1810
1820
 
1811
1821
  .svc-question__content > div {
1812
1822
  overflow: visible; }
@@ -2161,6 +2171,10 @@ svc-question .sv-action-bar,
2161
2171
  min-width: auto;
2162
2172
  justify-content: flex-start; }
2163
2173
 
2174
+ .svc-question__content .sd-rating__item--fixed-size:focus-within {
2175
+ width: unset;
2176
+ padding: calc(0.5 * var(--base-unit, 8px)) calc(2.5 * var(--base-unit, 8px)); }
2177
+
2164
2178
  .svc-item-value-wrapper {
2165
2179
  position: relative;
2166
2180
  display: flex;
@@ -2614,7 +2628,8 @@ svc-question .sv-action-bar,
2614
2628
  .svc-property-panel__group:disabled,
2615
2629
  .svc-property-panel__group:disabled:hover {
2616
2630
  background-color: var(--background, #fff);
2617
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
2631
+ color: var(--foreground, #161616);
2632
+ opacity: 0.25;
2618
2633
  cursor: default; }
2619
2634
 
2620
2635
  .svc-property-panel__group:hover {
@@ -2648,7 +2663,8 @@ svc-question .sv-action-bar,
2648
2663
 
2649
2664
  .svc-tabbed-menu-item--disabled {
2650
2665
  cursor: default;
2651
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
2666
+ color: var(--foreground, #161616);
2667
+ opacity: 0.25; }
2652
2668
  .svc-tabbed-menu-item--disabled:hover {
2653
2669
  background-color: var(--background, #fff); }
2654
2670
 
@@ -3254,19 +3270,39 @@ button.spg-action-button--large {
3254
3270
 
3255
3271
  .spg-input:focus,
3256
3272
  .spg-input.spg-dropdown:focus,
3257
- .spg-input.spg-dropdown:focus-within {
3273
+ .spg-input.spg-dropdown:focus-within,
3274
+ .spg-input-container:focus-within {
3258
3275
  border-color: var(--primary, #19b394);
3259
3276
  box-shadow: inset 0 0 0 1px var(--primary, #19b394); }
3260
3277
 
3261
3278
  .spg-input:disabled,
3262
3279
  .spg-input:disabled::placeholder {
3263
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
3280
+ color: var(--foreground, #161616);
3281
+ opacity: 0.25; }
3264
3282
 
3265
3283
  .spg-input[type="color"] {
3266
3284
  padding-left: 0;
3267
3285
  padding-right: 0;
3268
3286
  min-width: calc(8 * var(--base-unit, 8px)); }
3269
3287
 
3288
+ .spg-input__edit-button {
3289
+ position: relative;
3290
+ box-sizing: border-box;
3291
+ appearance: none;
3292
+ background: var(--background, #fff);
3293
+ border: none;
3294
+ width: calc(5 * var(--base-unit, 8px));
3295
+ height: calc(5 * var(--base-unit, 8px));
3296
+ padding: calc(1 * var(--base-unit, 8px)); }
3297
+ .spg-input__edit-button:hover {
3298
+ background: var(--background-dim, #f3f3f3); }
3299
+ .spg-input__edit-button:active {
3300
+ opacity: 0.5; }
3301
+ .spg-input__edit-button svg {
3302
+ height: 24px;
3303
+ width: 24px;
3304
+ fill: rgba(0, 0, 0, 0.45); }
3305
+
3270
3306
  .spg-dropdown {
3271
3307
  border-radius: 0;
3272
3308
  display: flex;
@@ -3306,7 +3342,8 @@ button.spg-action-button--large {
3306
3342
 
3307
3343
  .spg-panel__title:disabled,
3308
3344
  .spg-panel__title:disabled:hover {
3309
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3345
+ color: var(--foreground, #161616);
3346
+ opacity: 0.25;
3310
3347
  cursor: default; }
3311
3348
 
3312
3349
  .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover, .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus {
@@ -3568,6 +3605,42 @@ button.spg-action-button--large {
3568
3605
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3569
3606
  box-shadow: none; }
3570
3607
 
3608
+ .spg-spin-editor__buttons-container {
3609
+ display: flex; }
3610
+
3611
+ .spg-input-container {
3612
+ display: flex;
3613
+ justify-content: space-between;
3614
+ cursor: default;
3615
+ padding: calc(0.5 * var(--base-unit, 8px));
3616
+ align-items: center;
3617
+ gap: calc(0.5 * var(--base-unit, 8px)); }
3618
+
3619
+ .spg-input-container__input {
3620
+ outline: none;
3621
+ border: none;
3622
+ flex-grow: 1;
3623
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
3624
+
3625
+ .spg-color-editor__color-input {
3626
+ position: absolute;
3627
+ height: 1px;
3628
+ width: 1px;
3629
+ overflow: hidden;
3630
+ clip: rect(1px 1px 1px 1px);
3631
+ /* IE6, IE7 */
3632
+ clip: rect(1px, 1px, 1px, 1px);
3633
+ left: calc(50%);
3634
+ top: calc(100%);
3635
+ transform: translate(-50%, -50%); }
3636
+
3637
+ .spg-color-editor__color-swatch {
3638
+ border: 1px solid rgba(0, 0, 0, 0.16);
3639
+ border-radius: 3px;
3640
+ width: calc(4.5 * var(--base-unit, 8px));
3641
+ height: calc(3 * var(--base-unit, 8px));
3642
+ margin-left: calc(1.5 * var(--base-unit, 8px)); }
3643
+
3571
3644
  .spg-root-modern {
3572
3645
  width: 100%;
3573
3646
  border-right: 1px solid var(--border, #d6d6d6);
@@ -203,6 +203,10 @@ declare module "localization/english" {
203
203
  expressionInvalid: string;
204
204
  noActionError: string;
205
205
  actionInvalid: string;
206
+ uncompletedRule_title: string;
207
+ uncompletedRule_text: string;
208
+ uncompletedRule_apply: string;
209
+ uncompletedRule_cancel: string;
206
210
  expressionSetup: string;
207
211
  actionsSetup: string;
208
212
  };
@@ -1373,6 +1377,10 @@ declare module "editorLocalization" {
1373
1377
  expressionInvalid: string;
1374
1378
  noActionError: string;
1375
1379
  actionInvalid: string;
1380
+ uncompletedRule_title: string;
1381
+ uncompletedRule_text: string;
1382
+ uncompletedRule_apply: string;
1383
+ uncompletedRule_cancel: string;
1376
1384
  expressionSetup: string;
1377
1385
  actionsSetup: string;
1378
1386
  };
@@ -3010,6 +3018,22 @@ declare module "property-grid-theme/property-grid" {
3010
3018
  itemIcon: string;
3011
3019
  itemTitle: string;
3012
3020
  };
3021
+ spinedit: {
3022
+ root: string;
3023
+ control: string;
3024
+ buttonsContainer: string;
3025
+ arrowButton: string;
3026
+ increaseButtonIcon: string;
3027
+ decreaseButtonIcon: string;
3028
+ };
3029
+ color: {
3030
+ root: string;
3031
+ swatch: string;
3032
+ colorInput: string;
3033
+ control: string;
3034
+ colorDropdown: string;
3035
+ colorDrodownIcon: string;
3036
+ };
3013
3037
  };
3014
3038
  }
3015
3039
  declare module "question-editor/definition" {
@@ -5178,6 +5202,7 @@ declare module "property-grid/condition-survey" {
5178
5202
  get textEditor(): QuestionCommentModel;
5179
5203
  get isReady(): boolean;
5180
5204
  errorText: string;
5205
+ isEmpty(): boolean;
5181
5206
  hasErrorInUI(): boolean;
5182
5207
  apply(): boolean;
5183
5208
  setIsFastEntry(showTextEdit: boolean): void;
@@ -5329,6 +5354,7 @@ declare module "components/tabs/logic-item-editor" {
5329
5354
  protected getSurveyJSON(): any;
5330
5355
  protected getSurveyCreationReason(): string;
5331
5356
  resetModified(): void;
5357
+ isEmpty(): boolean;
5332
5358
  apply(): boolean;
5333
5359
  getEditingActions(): Array<SurveyLogicAction>;
5334
5360
  private onUpdateQuestionCssClasses;
@@ -5397,7 +5423,13 @@ declare module "components/tabs/logic-ui" {
5397
5423
  addNewUI(): void;
5398
5424
  toggleExpressionEditorIsFastEntry(): void;
5399
5425
  updateEditableItemIsModifiedState(): void;
5400
- haveUnsavedRules(): boolean;
5426
+ private getUnsavedItems;
5427
+ private getErroredItem;
5428
+ private isErroredItem;
5429
+ private showErroredItem;
5430
+ private saveItem;
5431
+ tryLeaveUI(resultFunc?: (res: boolean) => void): boolean | undefined;
5432
+ protected confirmLeavingOnError(onLeaving: () => void, onStaying: () => void): boolean;
5401
5433
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
5402
5434
  protected onReadOnlyChanged(): void;
5403
5435
  get expressionEditor(): ConditionEditor;
@@ -5406,6 +5438,7 @@ declare module "components/tabs/logic-ui" {
5406
5438
  getLogicItemEditor(item: SurveyLogicItem): LogicItemEditor;
5407
5439
  private updateEditModeLogicItem;
5408
5440
  private getLogicItemUI;
5441
+ private findLogicItemUI;
5409
5442
  get expressionSurvey(): SurveyModel;
5410
5443
  get itemEditorSurvey(): SurveyModel;
5411
5444
  get itemsSurvey(): SurveyModel;
@@ -5414,6 +5447,7 @@ declare module "components/tabs/logic-ui" {
5414
5447
  protected onStartEditing(): void;
5415
5448
  protected onEndEditing(): void;
5416
5449
  protected onEditableItemApply(): void;
5450
+ private doItemApply;
5417
5451
  protected hasErrorInUI(): boolean;
5418
5452
  protected getExpressionText(): string;
5419
5453
  protected getEditingActions(): Array<SurveyLogicAction>;
@@ -5448,7 +5482,10 @@ declare module "components/tabs/logic-plugin" {
5448
5482
  private createFilterTypeTitleUpdater;
5449
5483
  private createFilterQuestionTitleUpdater;
5450
5484
  update(): void;
5485
+ canDeactivateAsync(onSuccess: () => void): void;
5451
5486
  deactivate(): boolean;
5487
+ dispose(): void;
5488
+ private disposeObjs;
5452
5489
  createActions(): Action[];
5453
5490
  private get showAllQuestionsText();
5454
5491
  private get showAllActionTypesText();
@@ -6010,6 +6047,7 @@ declare module "creator-base" {
6010
6047
  activate: () => void;
6011
6048
  update?: () => void;
6012
6049
  deactivate?: () => boolean;
6050
+ canDeactivateAsync?: (onSuccess: () => void) => void;
6013
6051
  dispose?: () => void;
6014
6052
  onDesignerSurveyPropertyChanged?: (obj: Base, propName: string) => void;
6015
6053
  model: Base;
@@ -6912,6 +6950,7 @@ declare module "creator-base" {
6912
6950
  * @param viewName name of new active view (tab). The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
6913
6951
  */
6914
6952
  makeNewViewActive(viewName: string): boolean;
6953
+ private switchViewType;
6915
6954
  private canSwitchViewType;
6916
6955
  private activatePlugin;
6917
6956
  private get currentPlugin();
@@ -7394,6 +7433,7 @@ declare module "components/page-navigator/page-navigator" {
7394
7433
  private buildItems;
7395
7434
  private patchContainerOffset;
7396
7435
  private createActionBarItem;
7436
+ scrollToPage(page: PageModel): void;
7397
7437
  protected createActionBarCore(item: IAction): Action;
7398
7438
  togglePageSelector: (event?: any) => void;
7399
7439
  get pageSelectorCaption(): string;
@@ -7402,6 +7442,8 @@ declare module "components/page-navigator/page-navigator" {
7402
7442
  stopItemsContainerHeightObserver(): void;
7403
7443
  visibleItemsStartIndex: number;
7404
7444
  visibleItemsCount: number;
7445
+ private _scrollableContainer;
7446
+ setScrollableContainer(scrollableContainer: HTMLDivElement | any): void;
7405
7447
  private _itemsContainer;
7406
7448
  setItemsContainer(itemsContainer: HTMLDivElement | any): void;
7407
7449
  static PAGE_NAVIGATION_MENU_ITEM_HEIGHT: number;
@@ -7478,6 +7520,7 @@ declare module "components/question-image" {
7478
7520
  export class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
7479
7521
  questionRoot: HTMLElement;
7480
7522
  constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: HTMLElement);
7523
+ isUploading: any;
7481
7524
  chooseFile(model: QuestionImageAdornerViewModel): void;
7482
7525
  }
7483
7526
  }
@@ -7492,6 +7535,7 @@ declare module "components/image-item-value" {
7492
7535
  itemsRoot: HTMLElement;
7493
7536
  private isChoosingNewFile;
7494
7537
  isFileDragging: boolean;
7538
+ isUploading: any;
7495
7539
  constructor(creator: CreatorBase, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: HTMLElement);
7496
7540
  getRootCss(): string;
7497
7541
  getIsNewItemSingle(): boolean;
@@ -7580,6 +7624,7 @@ declare module "components/header/logo-image" {
7580
7624
  constructor(creator: CreatorBase, root: HTMLDivElement);
7581
7625
  get allowEdit(): boolean;
7582
7626
  get containerCss(): string;
7627
+ isUploading: any;
7583
7628
  get survey(): SurveyModel;
7584
7629
  private uploadFile;
7585
7630
  chooseFile(model: LogoImageViewModel): void;
@@ -7587,6 +7632,50 @@ declare module "components/header/logo-image" {
7587
7632
  get chooseLogoPlaceholder(): string;
7588
7633
  }
7589
7634
  }
7635
+ declare module "custom-questions/question-spin-editor" {
7636
+ import { QuestionTextModel } from "survey-core";
7637
+ export class QuestionSpinEditorModel extends QuestionTextModel {
7638
+ unit: string;
7639
+ private _showUnitsInEditor;
7640
+ private parseValue;
7641
+ private changeValue;
7642
+ private get showUnitsInEditor();
7643
+ private correctValue;
7644
+ protected setNewValue(newValue: string | number): void;
7645
+ get renderedValue(): string;
7646
+ private increase;
7647
+ decrease(): void;
7648
+ private increaseTimer;
7649
+ private decreaseTimer;
7650
+ onUpButtonMouseDown: () => void;
7651
+ onDownButtonMouseDown: () => void;
7652
+ onButtonMouseUp: () => void;
7653
+ onKeyDown: (event: KeyboardEvent) => void;
7654
+ onInputKeyDown: (event: KeyboardEvent) => void;
7655
+ onBeforeInput(event: InputEvent): void;
7656
+ onFocus: (event: Event) => void;
7657
+ onBlur: (event: Event) => void;
7658
+ getType(): string;
7659
+ get isInputTextUpdate(): boolean;
7660
+ }
7661
+ }
7662
+ declare module "custom-questions/question-color" {
7663
+ import { QuestionTextModel } from "survey-core";
7664
+ export class QuestionColorModel extends QuestionTextModel {
7665
+ unit: string;
7666
+ private getCorrectedValue;
7667
+ protected setNewValue(newValue: string): void;
7668
+ onBeforeInput(event: InputEvent): void;
7669
+ onColorInputChange(event: Event): void;
7670
+ getType(): string;
7671
+ _renderedValue: string;
7672
+ get renderedValue(): string;
7673
+ getSwatchStyle(): {
7674
+ [index: string]: string;
7675
+ };
7676
+ get isInputTextUpdate(): boolean;
7677
+ }
7678
+ }
7590
7679
  declare module "property-grid/condition" {
7591
7680
  import { Base, JsonObjectProperty, Question } from "survey-core";
7592
7681
  import { IPropertyEditorSetup, PropertyGridEditor } from "property-grid/index";
@@ -7928,6 +8017,8 @@ declare module "entries/index" {
7928
8017
  export * from "components/link-value";
7929
8018
  export * from "editorLocalization";
7930
8019
  export * from "json5";
8020
+ export * from "custom-questions/question-spin-editor";
8021
+ export * from "custom-questions/question-color";
7931
8022
  export * from "property-grid/index";
7932
8023
  export * from "property-grid/condition";
7933
8024
  export * from "property-grid/matrices";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.81
2
+ * SurveyJS Creator v1.9.83
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -730,7 +730,8 @@ td.st-table__cell:first-of-type {
730
730
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); }
731
731
 
732
732
  .svc-logic-tab__content .svc-logic-tab__content-action--disabled .svc-text {
733
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
733
+ color: var(--foreground, #161616);
734
+ opacity: 0.25; }
734
735
 
735
736
  .svc-logic-tab__content .sd-paneldynamic__panel-wrapper--in-row {
736
737
  margin-top: 0;
@@ -794,6 +795,9 @@ td.st-table__cell:first-of-type {
794
795
  display: block;
795
796
  padding: calc(4 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px)); }
796
797
 
798
+ .svc-logic-tab__leave-apply-button {
799
+ background-color: var(--red, #e60a3e); }
800
+
797
801
  svc-tab-designer {
798
802
  width: 100%;
799
803
  height: 100%;
@@ -1134,7 +1138,8 @@ survey-creator,
1134
1138
  margin-left: calc(1 * var(--base-unit, 8px));
1135
1139
  line-height: calc(4 * var(--base-unit, 8px));
1136
1140
  font-size: calc(2 * var(--base-unit, 8px));
1137
- color: red; }
1141
+ color: red;
1142
+ display: none; }
1138
1143
 
1139
1144
  .svc-string-editor__controls {
1140
1145
  position: absolute;
@@ -1187,6 +1192,9 @@ survey-creator,
1187
1192
  background-color: var(--background, #fff);
1188
1193
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--primary, #19b394); }
1189
1194
 
1195
+ .svc-string-editor.svc-string-editor--error:focus-within .svc-string-editor__border {
1196
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--red, #e60a3e); }
1197
+
1190
1198
  .sd-rating .sd-rating__item:focus-within {
1191
1199
  border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1192
1200
 
@@ -1422,7 +1430,8 @@ svc-page-navigator-item,
1422
1430
  padding: 0 calc(2.5 * var(--base-unit, 8px)) 0 calc(4.5 * var(--base-unit, 8px)); }
1423
1431
 
1424
1432
  .svc-page-navigator-item--disabled .svc-page-navigator-item__banner {
1425
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
1433
+ color: var(--foreground, #161616);
1434
+ opacity: 0.25; }
1426
1435
 
1427
1436
  svc-page {
1428
1437
  display: block; }
@@ -1580,7 +1589,8 @@ svc-question {
1580
1589
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15); }
1581
1590
 
1582
1591
  .svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn {
1583
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.25)); }
1592
+ color: var(--foreground, #161616);
1593
+ opacity: 0.25; }
1584
1594
 
1585
1595
  .svc-question__content > div {
1586
1596
  overflow: visible; }
@@ -1935,6 +1945,10 @@ svc-question .sv-action-bar,
1935
1945
  min-width: auto;
1936
1946
  justify-content: flex-start; }
1937
1947
 
1948
+ .svc-question__content .sd-rating__item--fixed-size:focus-within {
1949
+ width: unset;
1950
+ padding: calc(0.5 * var(--base-unit, 8px)) calc(2.5 * var(--base-unit, 8px)); }
1951
+
1938
1952
  .svc-item-value-wrapper {
1939
1953
  position: relative;
1940
1954
  display: flex;
@@ -2388,7 +2402,8 @@ svc-question .sv-action-bar,
2388
2402
  .svc-property-panel__group:disabled,
2389
2403
  .svc-property-panel__group:disabled:hover {
2390
2404
  background-color: var(--background, #fff);
2391
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
2405
+ color: var(--foreground, #161616);
2406
+ opacity: 0.25;
2392
2407
  cursor: default; }
2393
2408
 
2394
2409
  .svc-property-panel__group:hover {
@@ -2422,7 +2437,8 @@ svc-question .sv-action-bar,
2422
2437
 
2423
2438
  .svc-tabbed-menu-item--disabled {
2424
2439
  cursor: default;
2425
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
2440
+ color: var(--foreground, #161616);
2441
+ opacity: 0.25; }
2426
2442
  .svc-tabbed-menu-item--disabled:hover {
2427
2443
  background-color: var(--background, #fff); }
2428
2444
 
@@ -3028,19 +3044,39 @@ button.spg-action-button--large {
3028
3044
 
3029
3045
  .spg-input:focus,
3030
3046
  .spg-input.spg-dropdown:focus,
3031
- .spg-input.spg-dropdown:focus-within {
3047
+ .spg-input.spg-dropdown:focus-within,
3048
+ .spg-input-container:focus-within {
3032
3049
  border-color: var(--primary, #19b394);
3033
3050
  box-shadow: inset 0 0 0 1px var(--primary, #19b394); }
3034
3051
 
3035
3052
  .spg-input:disabled,
3036
3053
  .spg-input:disabled::placeholder {
3037
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
3054
+ color: var(--foreground, #161616);
3055
+ opacity: 0.25; }
3038
3056
 
3039
3057
  .spg-input[type="color"] {
3040
3058
  padding-left: 0;
3041
3059
  padding-right: 0;
3042
3060
  min-width: calc(8 * var(--base-unit, 8px)); }
3043
3061
 
3062
+ .spg-input__edit-button {
3063
+ position: relative;
3064
+ box-sizing: border-box;
3065
+ appearance: none;
3066
+ background: var(--background, #fff);
3067
+ border: none;
3068
+ width: calc(5 * var(--base-unit, 8px));
3069
+ height: calc(5 * var(--base-unit, 8px));
3070
+ padding: calc(1 * var(--base-unit, 8px)); }
3071
+ .spg-input__edit-button:hover {
3072
+ background: var(--background-dim, #f3f3f3); }
3073
+ .spg-input__edit-button:active {
3074
+ opacity: 0.5; }
3075
+ .spg-input__edit-button svg {
3076
+ height: 24px;
3077
+ width: 24px;
3078
+ fill: rgba(0, 0, 0, 0.45); }
3079
+
3044
3080
  .spg-dropdown {
3045
3081
  border-radius: 0;
3046
3082
  display: flex;
@@ -3080,7 +3116,8 @@ button.spg-action-button--large {
3080
3116
 
3081
3117
  .spg-panel__title:disabled,
3082
3118
  .spg-panel__title:disabled:hover {
3083
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3119
+ color: var(--foreground, #161616);
3120
+ opacity: 0.25;
3084
3121
  cursor: default; }
3085
3122
 
3086
3123
  .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover, .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus {
@@ -3342,6 +3379,42 @@ button.spg-action-button--large {
3342
3379
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3343
3380
  box-shadow: none; }
3344
3381
 
3382
+ .spg-spin-editor__buttons-container {
3383
+ display: flex; }
3384
+
3385
+ .spg-input-container {
3386
+ display: flex;
3387
+ justify-content: space-between;
3388
+ cursor: default;
3389
+ padding: calc(0.5 * var(--base-unit, 8px));
3390
+ align-items: center;
3391
+ gap: calc(0.5 * var(--base-unit, 8px)); }
3392
+
3393
+ .spg-input-container__input {
3394
+ outline: none;
3395
+ border: none;
3396
+ flex-grow: 1;
3397
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
3398
+
3399
+ .spg-color-editor__color-input {
3400
+ position: absolute;
3401
+ height: 1px;
3402
+ width: 1px;
3403
+ overflow: hidden;
3404
+ clip: rect(1px 1px 1px 1px);
3405
+ /* IE6, IE7 */
3406
+ clip: rect(1px, 1px, 1px, 1px);
3407
+ left: calc(50%);
3408
+ top: calc(100%);
3409
+ transform: translate(-50%, -50%); }
3410
+
3411
+ .spg-color-editor__color-swatch {
3412
+ border: 1px solid rgba(0, 0, 0, 0.16);
3413
+ border-radius: 3px;
3414
+ width: calc(4.5 * var(--base-unit, 8px));
3415
+ height: calc(3 * var(--base-unit, 8px));
3416
+ margin-left: calc(1.5 * var(--base-unit, 8px)); }
3417
+
3345
3418
  .spg-root-modern {
3346
3419
  width: 100%;
3347
3420
  border-right: 1px solid var(--border, #d6d6d6);