@bpmn-io/form-js-editor 0.12.1 → 0.13.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.
Files changed (48) hide show
  1. package/README.md +0 -3
  2. package/dist/assets/form-js-editor-base.css +486 -0
  3. package/dist/assets/form-js-editor.css +1162 -60
  4. package/dist/index.cjs +1258 -529
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.es.js +1260 -531
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/types/FormEditor.d.ts +9 -0
  9. package/dist/types/core/FormFieldRegistry.d.ts +1 -1
  10. package/dist/types/core/FormLayoutValidator.d.ts +16 -0
  11. package/dist/types/core/FormLayouter.d.ts +1 -0
  12. package/dist/types/core/index.d.ts +8 -4
  13. package/dist/types/features/dragging/Dragging.d.ts +60 -0
  14. package/dist/types/features/dragging/index.d.ts +6 -0
  15. package/dist/types/features/editor-actions/index.d.ts +1 -1
  16. package/dist/types/features/expression-language/index.d.ts +8 -0
  17. package/dist/types/features/keyboard/index.d.ts +1 -1
  18. package/dist/types/features/modeling/FormLayoutUpdater.d.ts +13 -0
  19. package/dist/types/features/modeling/Modeling.d.ts +7 -7
  20. package/dist/types/features/modeling/behavior/index.d.ts +3 -3
  21. package/dist/types/features/modeling/cmd/Util.d.ts +1 -0
  22. package/dist/types/features/modeling/index.d.ts +3 -1
  23. package/dist/types/features/palette/index.d.ts +1 -1
  24. package/dist/types/features/properties-panel/entries/ColumnsEntry.d.ts +2 -1
  25. package/dist/types/features/properties-panel/entries/DefaultValueEntry.d.ts +1 -0
  26. package/dist/types/features/properties-panel/entries/InputKeyValuesSourceEntry.d.ts +1 -1
  27. package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +1 -0
  28. package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +1 -0
  29. package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +1 -1
  30. package/dist/types/features/properties-panel/groups/LayoutGroup.d.ts +11 -0
  31. package/dist/types/features/properties-panel/groups/index.d.ts +1 -0
  32. package/dist/types/features/properties-panel/index.d.ts +1 -1
  33. package/dist/types/features/selection/index.d.ts +2 -2
  34. package/dist/types/import/Importer.d.ts +4 -2
  35. package/dist/types/import/index.d.ts +1 -1
  36. package/dist/types/index.d.ts +2 -2
  37. package/dist/types/render/EditorFormFields.d.ts +1 -1
  38. package/dist/types/render/components/FieldDragPreview.d.ts +1 -0
  39. package/dist/types/render/components/editor-form-fields/EditorText.d.ts +1 -1
  40. package/dist/types/render/components/editor-form-fields/index.d.ts +1 -1
  41. package/dist/types/render/components/icons/index.d.ts +1 -1
  42. package/dist/types/render/hooks/index.d.ts +3 -0
  43. package/dist/types/render/hooks/useDebounce.d.ts +1 -0
  44. package/dist/types/render/hooks/usePrevious.d.ts +1 -0
  45. package/dist/types/render/index.d.ts +2 -2
  46. package/package.json +10 -8
  47. package/dist/assets/dragula.css +0 -22
  48. package/dist/assets/properties-panel.css +0 -1016
@@ -118,10 +118,14 @@ export default class FormEditor {
118
118
  _getModules(): ({
119
119
  __depends__: any[];
120
120
  __init__: string[];
121
+ formLayoutUpdater: (string | typeof import("./features/modeling/FormLayoutUpdater").default)[];
121
122
  modeling: (string | typeof import("./features/modeling/Modeling").default)[];
122
123
  } | {
123
124
  __depends__: any[];
124
125
  editorActions: (string | typeof import("./features/editor-actions/FormEditorActions").default)[];
126
+ } | {
127
+ __init__: string[];
128
+ dragging: (string | typeof import("./features/dragging/Dragging").default)[];
125
129
  } | {
126
130
  __depends__: any[];
127
131
  __init__: string[];
@@ -133,6 +137,10 @@ export default class FormEditor {
133
137
  } | {
134
138
  palette: (string | typeof import("./features/palette/PaletteRenderer").default)[];
135
139
  } | {
140
+ __init__: string[];
141
+ expressionLanguage: (string | typeof import("@bpmn-io/form-js-viewer/dist/types/features/expression-language/FeelExpressionLanguage").default)[];
142
+ templating: (string | typeof import("@bpmn-io/form-js-viewer/dist/types/features/expression-language/FeelersTemplating").default)[];
143
+ } | typeof MarkdownModule | {
136
144
  __init__: string[];
137
145
  propertiesPanel: (string | typeof import("./features/properties-panel/PropertiesPanelRenderer").default)[];
138
146
  })[];
@@ -153,3 +161,4 @@ export type State = {
153
161
  export type OnEventWithPriority = (type: string, priority: number, handler: Function) => void;
154
162
  export type OnEventWithOutPriority = (type: string, handler: Function) => void;
155
163
  export type OnEventType = OnEventWithPriority & OnEventWithOutPriority;
164
+ import { MarkdownModule } from '@bpmn-io/form-js-viewer';
@@ -16,4 +16,4 @@ export default class FormFieldRegistry extends BaseFieldRegistry {
16
16
  */
17
17
  _validateId(id: string): void;
18
18
  }
19
- import { FormFieldRegistry as BaseFieldRegistry } from "@bpmn-io/form-js-viewer";
19
+ import { FormFieldRegistry as BaseFieldRegistry } from '@bpmn-io/form-js-viewer';
@@ -0,0 +1,16 @@
1
+ declare class FormLayoutValidator {
2
+ /**
3
+ * @constructor
4
+ *
5
+ * @param { import('./FormLayouter').default } formLayouter
6
+ * @param { import('./FormFieldRegistry').default } formFieldRegistry
7
+ */
8
+ constructor(formLayouter: import('./FormLayouter').default, formFieldRegistry: import('./FormFieldRegistry').default);
9
+ _formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default;
10
+ _formFieldRegistry: import("./FormFieldRegistry").default;
11
+ validateField(field: {}, columns: any, row: any): "Minimum 2 columns are allowed" | "Maximum 16 columns are allowed" | "New value exceeds the maximum of 16 columns per row" | "Maximum 4 fields per row are allowed";
12
+ }
13
+ declare namespace FormLayoutValidator {
14
+ const $inject: string[];
15
+ }
16
+ export default FormLayoutValidator;
@@ -0,0 +1 @@
1
+ export { FormLayouter as default } from "@bpmn-io/form-js-viewer";
@@ -6,12 +6,16 @@ declare namespace _default {
6
6
  formFields: (string | typeof import("../render/EditorFormFields").default)[];
7
7
  renderer: (string | typeof import("../render/Renderer").default)[];
8
8
  })[];
9
+ const debounce: (string | typeof DebounceFactory)[];
9
10
  const eventBus: any[];
10
11
  const formFieldRegistry: (string | typeof FormFieldRegistry)[];
12
+ const formLayouter: (string | typeof FormLayouter)[];
13
+ const formLayoutValidator: (string | typeof FormLayoutValidator)[];
11
14
  const fieldFactory: (string | typeof FieldFactory)[];
12
- const debounce: (string | typeof DebounceFactory)[];
13
15
  }
14
16
  export default _default;
15
- import FormFieldRegistry from "./FormFieldRegistry";
16
- import FieldFactory from "./FieldFactory";
17
- import DebounceFactory from "./Debounce";
17
+ import DebounceFactory from './Debounce';
18
+ import FormFieldRegistry from './FormFieldRegistry';
19
+ import FormLayouter from './FormLayouter';
20
+ import FormLayoutValidator from './FormLayoutValidator';
21
+ import FieldFactory from './FieldFactory';
@@ -0,0 +1,60 @@
1
+ export const DRAG_CONTAINER_CLS: "fjs-drag-container";
2
+ export const DROP_CONTAINER_VERTICAL_CLS: "fjs-drop-container-vertical";
3
+ export const DROP_CONTAINER_HORIZONTAL_CLS: "fjs-drop-container-horizontal";
4
+ export const DRAG_MOVE_CLS: "fjs-drag-move";
5
+ export const DRAG_ROW_MOVE_CLS: "fjs-drag-row-move";
6
+ export const DRAG_COPY_CLS: "fjs-drag-copy";
7
+ export const DRAG_NO_DROP_CLS: "fjs-no-drop";
8
+ export const DRAG_NO_MOVE_CLS: "fjs-no-move";
9
+ export const ERROR_DROP_CLS: "fjs-error-drop";
10
+ /**
11
+ * @typedef { { id: String, components: Array<any> } } FormRow
12
+ */
13
+ declare class Dragging {
14
+ /**
15
+ * @constructor
16
+ *
17
+ * @param { import('../../core/FormFieldRegistry').default } formFieldRegistry
18
+ * @param { import('../../core/FormLayouter').default } formLayouter
19
+ * @param { import('../../core/FormLayoutValidator').default } formLayoutValidator
20
+ * @param { import('../../core/EventBus').default } eventBus
21
+ * @param { import('../modeling/Modeling').default } modeling
22
+ */
23
+ constructor(formFieldRegistry: import('../../core/FormFieldRegistry').default, formLayouter: import('../../core/FormLayouter').default, formLayoutValidator: import('../../core/FormLayoutValidator').default, eventBus: any, modeling: import('../modeling/Modeling').default);
24
+ _formFieldRegistry: import("../../core/FormFieldRegistry").default;
25
+ _formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default;
26
+ _formLayoutValidator: import("../../core/FormLayoutValidator").default;
27
+ _eventBus: any;
28
+ _modeling: import("../modeling/Modeling").default;
29
+ /**
30
+ * Calculcates position in form schema given the dropped place.
31
+ *
32
+ * @param { FormRow } targetRow
33
+ * @param { any } targetFormField
34
+ * @param { HTMLElement } sibling
35
+ * @returns { number }
36
+ */
37
+ getTargetIndex(targetRow: FormRow, targetFormField: any, sibling: HTMLElement): number;
38
+ validateDrop(element: any, target: any): "Minimum 2 columns are allowed" | "Maximum 16 columns are allowed" | "New value exceeds the maximum of 16 columns per row" | "Maximum 4 fields per row are allowed";
39
+ moveField(element: any, source: any, targetRow: any, targetFormField: any, targetIndex: any): void;
40
+ createNewField(element: any, targetRow: any, targetFormField: any, targetIndex: any): void;
41
+ handleRowDrop(el: any, target: any, source: any, sibling: any): void;
42
+ handleElementDrop(el: any, target: any, source: any, sibling: any, drake: any): any;
43
+ /**
44
+ * @param { { container: Array<string>, direction: string, mirrorContainer: string } } options
45
+ */
46
+ createDragulaInstance(options: {
47
+ container: Array<string>;
48
+ direction: string;
49
+ mirrorContainer: string;
50
+ }): any;
51
+ emit(event: any, context: any): void;
52
+ }
53
+ declare namespace Dragging {
54
+ const $inject: string[];
55
+ }
56
+ export default Dragging;
57
+ export type FormRow = {
58
+ id: string;
59
+ components: Array<any>;
60
+ };
@@ -0,0 +1,6 @@
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const dragging: (string | typeof Dragging)[];
4
+ }
5
+ export default _default;
6
+ import Dragging from './Dragging';
@@ -3,4 +3,4 @@ declare namespace _default {
3
3
  const editorActions: (string | typeof FormEditorActions)[];
4
4
  }
5
5
  export default _default;
6
- import FormEditorActions from "./FormEditorActions";
6
+ import FormEditorActions from './FormEditorActions';
@@ -0,0 +1,8 @@
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const expressionLanguage: (string | typeof FeelExpressionLanguage)[];
4
+ const templating: (string | typeof FeelersTemplating)[];
5
+ }
6
+ export default _default;
7
+ import { FeelExpressionLanguage } from '@bpmn-io/form-js-viewer';
8
+ import { FeelersTemplating } from '@bpmn-io/form-js-viewer';
@@ -4,4 +4,4 @@ declare namespace _default {
4
4
  const keyboardBindings: (string | typeof FormEditorKeyboardBindings)[];
5
5
  }
6
6
  export default _default;
7
- import FormEditorKeyboardBindings from "./FormEditorKeyboardBindings";
7
+ import FormEditorKeyboardBindings from './FormEditorKeyboardBindings';
@@ -0,0 +1,13 @@
1
+ declare class FormLayoutUpdater {
2
+ constructor(eventBus: any, formLayouter: any, modeling: any, formEditor: any);
3
+ _eventBus: any;
4
+ _formLayouter: any;
5
+ _modeling: any;
6
+ _formEditor: any;
7
+ updateLayout(schema: any): void;
8
+ updateRowIds(event: any): void;
9
+ }
10
+ declare namespace FormLayoutUpdater {
11
+ const $inject: string[];
12
+ }
13
+ export default FormLayoutUpdater;
@@ -15,7 +15,7 @@ declare class Modeling {
15
15
  };
16
16
  addFormField(attrs: any, targetFormField: any, targetIndex: any): any;
17
17
  editFormField(formField: any, properties: any, value: any): void;
18
- moveFormField(formField: any, sourceFormField: any, targetFormField: any, sourceIndex: any, targetIndex: any): void;
18
+ moveFormField(formField: any, sourceFormField: any, targetFormField: any, sourceIndex: any, targetIndex: any, sourceRow: any, targetRow: any): void;
19
19
  removeFormField(formField: any, sourceFormField: any, sourceIndex: any): void;
20
20
  claimId(formField: any, id: any): void;
21
21
  unclaimId(formField: any, id: any): void;
@@ -26,9 +26,9 @@ declare namespace Modeling {
26
26
  const $inject: string[];
27
27
  }
28
28
  export default Modeling;
29
- import AddFormFieldHandler from "./cmd/AddFormFieldHandler";
30
- import EditFormFieldHandler from "./cmd/EditFormFieldHandler";
31
- import MoveFormFieldHandler from "./cmd/MoveFormFieldHandler";
32
- import RemoveFormFieldHandler from "./cmd/RemoveFormFieldHandler";
33
- import UpdateIdClaimHandler from "./cmd/UpdateIdClaimHandler";
34
- import UpdateKeyClaimHandler from "./cmd/UpdateKeyClaimHandler";
29
+ import AddFormFieldHandler from './cmd/AddFormFieldHandler';
30
+ import EditFormFieldHandler from './cmd/EditFormFieldHandler';
31
+ import MoveFormFieldHandler from './cmd/MoveFormFieldHandler';
32
+ import RemoveFormFieldHandler from './cmd/RemoveFormFieldHandler';
33
+ import UpdateIdClaimHandler from './cmd/UpdateIdClaimHandler';
34
+ import UpdateKeyClaimHandler from './cmd/UpdateKeyClaimHandler';
@@ -5,6 +5,6 @@ declare namespace _default {
5
5
  const validateBehavior: (string | typeof ValidateBehavior)[];
6
6
  }
7
7
  export default _default;
8
- import IdBehavior from "./IdBehavior";
9
- import KeyBehavior from "./KeyBehavior";
10
- import ValidateBehavior from "./ValidateBehavior";
8
+ import IdBehavior from './IdBehavior';
9
+ import KeyBehavior from './KeyBehavior';
10
+ import ValidateBehavior from './ValidateBehavior';
@@ -1,4 +1,5 @@
1
1
  export function arrayAdd(array: any, index: any, item: any): any;
2
2
  export function arrayRemove(array: any, index: any): any;
3
3
  export function updatePath(formFieldRegistry: any, formField: any, index: any): any;
4
+ export function updateRow(formField: any, rowId: any): any;
4
5
  export { mutate as arrayMove } from "array-move";
@@ -1,7 +1,9 @@
1
1
  declare namespace _default {
2
2
  const __depends__: any[];
3
3
  const __init__: string[];
4
+ const formLayoutUpdater: (string | typeof FormLayoutUpdater)[];
4
5
  const modeling: (string | typeof Modeling)[];
5
6
  }
6
7
  export default _default;
7
- import Modeling from "./Modeling";
8
+ import FormLayoutUpdater from './FormLayoutUpdater';
9
+ import Modeling from './Modeling';
@@ -2,4 +2,4 @@ declare namespace _default {
2
2
  const palette: (string | typeof PaletteRenderer)[];
3
3
  }
4
4
  export default _default;
5
- import PaletteRenderer from "./PaletteRenderer";
5
+ import PaletteRenderer from './PaletteRenderer';
@@ -1,9 +1,10 @@
1
1
  export default function ColumnsEntry(props: any): {
2
2
  id: string;
3
3
  component: typeof Columns;
4
- editField: any;
5
4
  field: any;
5
+ editField: any;
6
6
  isEdited: any;
7
7
  }[];
8
+ export const AUTO_OPTION_VALUE: "";
8
9
  declare function Columns(props: any): any;
9
10
  export {};
@@ -1 +1,2 @@
1
1
  export default function DefaultOptionEntry(props: any): any[];
2
+ export const EMPTY_OPTION: any;
@@ -2,7 +2,7 @@ export default function InputKeyValuesSourceEntry(props: any): {
2
2
  id: string;
3
3
  component: typeof InputValuesKey;
4
4
  label: string;
5
- description: string;
5
+ description: any;
6
6
  isEdited: any;
7
7
  editField: any;
8
8
  field: any;
@@ -4,6 +4,7 @@ export default function SelectEntries(props: any): {
4
4
  path: any;
5
5
  field: any;
6
6
  editField: any;
7
+ description: any;
7
8
  component: (props: any) => any;
8
9
  isEdited: any;
9
10
  }[];
@@ -4,6 +4,7 @@ export default function simpleBoolEntryFactory(options: any): {
4
4
  path: any;
5
5
  field: any;
6
6
  editField: any;
7
+ description: any;
7
8
  component: (props: any) => any;
8
9
  isEdited: any;
9
10
  };
@@ -1,4 +1,4 @@
1
- export default function GeneralGroup(field: any, editField: any): {
1
+ export default function GeneralGroup(field: any, editField: any, getService: any): {
2
2
  id: string;
3
3
  label: string;
4
4
  entries: any[];
@@ -0,0 +1,11 @@
1
+ export default function LayoutGroup(field: any, editField: any): {
2
+ id: string;
3
+ label: string;
4
+ entries: {
5
+ id: string;
6
+ component: (props: any) => any;
7
+ field: any;
8
+ editField: any;
9
+ isEdited: any;
10
+ }[];
11
+ };
@@ -5,4 +5,5 @@ export { default as ValidationGroup } from "./ValidationGroup";
5
5
  export { default as ValuesGroups } from "./ValuesGroups";
6
6
  export { default as CustomValuesGroup } from "./CustomValuesGroup";
7
7
  export { default as AppearanceGroup } from "./AppearanceGroup";
8
+ export { default as LayoutGroup } from "./LayoutGroup";
8
9
  export { ConditionGroup } from "./ConditionGroup";
@@ -3,4 +3,4 @@ declare namespace _default {
3
3
  const propertiesPanel: (string | typeof PropertiesPanelRenderer)[];
4
4
  }
5
5
  export default _default;
6
- import PropertiesPanelRenderer from "./PropertiesPanelRenderer";
6
+ import PropertiesPanelRenderer from './PropertiesPanelRenderer';
@@ -4,5 +4,5 @@ declare namespace _default {
4
4
  const selectionBehavior: (string | typeof SelectionBehavior)[];
5
5
  }
6
6
  export default _default;
7
- import Selection from "./Selection";
8
- import SelectionBehavior from "./SelectionBehavior";
7
+ import Selection from './Selection';
8
+ import SelectionBehavior from './SelectionBehavior';
@@ -3,12 +3,14 @@ declare class Importer {
3
3
  * @constructor
4
4
  * @param { import('../core/FormFieldRegistry').default } formFieldRegistry
5
5
  * @param { import('../core/FieldFactory').default } fieldFactory
6
+ * @param { import('../core/FormLayouter').default } formLayouter
6
7
  */
7
- constructor(formFieldRegistry: import('../core/FormFieldRegistry').default, fieldFactory: import('../core/FieldFactory').default);
8
+ constructor(formFieldRegistry: import('../core/FormFieldRegistry').default, fieldFactory: import('../core/FieldFactory').default, formLayouter: import('../core/FormLayouter').default);
8
9
  _formFieldRegistry: import("../core/FormFieldRegistry").default;
9
10
  _fieldFactory: import("../core/FieldFactory").default;
11
+ _formLayouter: import("@bpmn-io/form-js-viewer/dist/types/core/FormLayouter").default;
10
12
  /**
11
- * Import schema creating fields, attaching additional
13
+ * Import schema creating rows, fields, attaching additional
12
14
  * information to each field and adding fields to the
13
15
  * field registry.
14
16
  *
@@ -2,4 +2,4 @@ declare namespace _default {
2
2
  const importer: (string | typeof Importer)[];
3
3
  }
4
4
  export default _default;
5
- import Importer from "./Importer";
5
+ import Importer from './Importer';
@@ -10,6 +10,6 @@
10
10
  */
11
11
  export function createFormEditor(options: CreateFormEditorOptions): Promise<FormEditor>;
12
12
  export type CreateFormEditorOptions = import('./types').CreateFormEditorOptions;
13
- import FormEditor from "./FormEditor";
14
- import { schemaVersion } from "@bpmn-io/form-js-viewer";
13
+ import FormEditor from './FormEditor';
14
+ import { schemaVersion } from '@bpmn-io/form-js-viewer';
15
15
  export { FormEditor, schemaVersion };
@@ -1,3 +1,3 @@
1
1
  export default class EditorFormFields extends FormFields {
2
2
  }
3
- import { FormFields } from "@bpmn-io/form-js-viewer/dist/types/render";
3
+ import { FormFields } from '@bpmn-io/form-js-viewer';
@@ -0,0 +1 @@
1
+ export function FieldDragPreview(props: any): any;
@@ -5,4 +5,4 @@ declare namespace EditorText {
5
5
  const keyed: boolean;
6
6
  }
7
7
  export default EditorText;
8
- import { Text } from "@bpmn-io/form-js-viewer/dist/types/render/components";
8
+ import { Text } from '@bpmn-io/form-js-viewer';
@@ -1,2 +1,2 @@
1
1
  export const editorFormFields: (typeof EditorText)[];
2
- import EditorText from "./EditorText";
2
+ import EditorText from './EditorText';
@@ -1,2 +1,2 @@
1
1
  export { iconsByType } from "@bpmn-io/form-js-viewer";
2
- export { CloseIcon, SearchIcon };
2
+ export { CloseIcon, DraggableIcon, SearchIcon };
@@ -0,0 +1,3 @@
1
+ export { default as useService } from "./useService";
2
+ export { default as usePrevious } from "./usePrevious";
3
+ export { default as useDebounce } from "./useDebounce";
@@ -0,0 +1 @@
1
+ export default function useDebounce(fn: any, dependencies?: any[]): any;
@@ -0,0 +1 @@
1
+ export default function usePrevious(value: any): any;
@@ -4,5 +4,5 @@ declare namespace _default {
4
4
  const renderer: (string | typeof Renderer)[];
5
5
  }
6
6
  export default _default;
7
- import EditorFormFields from "./EditorFormFields";
8
- import Renderer from "./Renderer";
7
+ import EditorFormFields from './EditorFormFields';
8
+ import Renderer from './Renderer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-editor",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Edit forms - powered by bpmn.io",
5
5
  "exports": {
6
6
  ".": {
@@ -8,8 +8,7 @@
8
8
  "require": "./dist/index.cjs"
9
9
  },
10
10
  "./dist/assets/form-js-editor.css": "./dist/assets/form-js-editor.css",
11
- "./dist/assets/dragula.css": "./dist/assets/dragula.css",
12
- "./dist/assets/properties-panel.css": "./dist/assets/properties-panel.css",
11
+ "./dist/assets/form-js-editor-base.css": "./dist/assets/form-js-editor-base.css",
13
12
  "./package.json": "./package.json"
14
13
  },
15
14
  "publishConfig": {
@@ -20,9 +19,12 @@
20
19
  "types": "dist/types/index.d.ts",
21
20
  "scripts": {
22
21
  "all": "run-s lint test build",
23
- "build": "run-p bundle generate-types",
22
+ "build": "run-p bundle bundle:scss generate-types",
24
23
  "bundle": "rollup -c --failAfterWarnings --bundleConfigAsCjs",
25
- "bundle:watch": "rollup -c -w --bundleConfigAsCjs",
24
+ "bundle:scss": "sass --no-source-map --load-path=\"../../node_modules\" assets/index.scss dist/assets/form-js-editor.css",
25
+ "bundle:watch": "run-p bundle:watch-js bundle:watch-scss",
26
+ "bundle:watch-js": "rollup -c -w --bundleConfigAsCjs",
27
+ "bundle:watch-scss": "npm run bundle:scss -- --watch",
26
28
  "dev": "npm test -- --auto-watch --no-single-run",
27
29
  "example:dev": "cd example && npm start",
28
30
  "lint": "run-s lint:*",
@@ -42,8 +44,8 @@
42
44
  "url": "https://github.com/bpmn-io"
43
45
  },
44
46
  "dependencies": {
45
- "@bpmn-io/form-js-viewer": "^0.12.1",
46
- "@bpmn-io/properties-panel": "^1.2.0",
47
+ "@bpmn-io/form-js-viewer": "^0.13.0",
48
+ "@bpmn-io/properties-panel": "^1.7.0",
47
49
  "array-move": "^3.0.1",
48
50
  "big.js": "^6.2.1",
49
51
  "dragula": "^3.7.3",
@@ -58,5 +60,5 @@
58
60
  "files": [
59
61
  "dist"
60
62
  ],
61
- "gitHead": "e4a01e3215209858258b2fb83dfc09b86fccc0db"
63
+ "gitHead": "580e837b1daddd43fcbc24e9fa4bbaf358825692"
62
64
  }
@@ -1,22 +0,0 @@
1
- .gu-mirror {
2
- position: fixed !important;
3
- margin: 0 !important;
4
- z-index: 9999 !important;
5
- opacity: 0.8;
6
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
7
- filter: alpha(opacity=80);
8
- }
9
- .gu-hide {
10
- display: none !important;
11
- }
12
- .gu-unselectable {
13
- -webkit-user-select: none !important;
14
- -moz-user-select: none !important;
15
- -ms-user-select: none !important;
16
- user-select: none !important;
17
- }
18
- .gu-transit {
19
- opacity: 0.2;
20
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
21
- filter: alpha(opacity=20);
22
- }