iglooform 3.2.6 → 3.2.7

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 (58) hide show
  1. package/.dumi/tmp/core/defineApp.ts +1 -1
  2. package/.dumi/tmp/core/helmet.ts +1 -1
  3. package/.dumi/tmp/core/history.ts +1 -1
  4. package/.dumi/tmp/core/historyIntelli.ts +1 -1
  5. package/.dumi/tmp/core/plugin.ts +2 -2
  6. package/.dumi/tmp/core/polyfill.ts +197 -197
  7. package/.dumi/tmp/core/route.tsx +33 -33
  8. package/.dumi/tmp/dumi/exports.ts +1 -1
  9. package/.dumi/tmp/dumi/locales/runtime.tsx +2 -2
  10. package/.dumi/tmp/dumi/meta/index.ts +33 -33
  11. package/.dumi/tmp/dumi/meta/runtime.ts +1 -1
  12. package/.dumi/tmp/dumi/theme/ContextWrapper.tsx +3 -3
  13. package/.dumi/tmp/dumi/theme/builtins/API.ts +1 -1
  14. package/.dumi/tmp/dumi/theme/builtins/Badge.ts +1 -1
  15. package/.dumi/tmp/dumi/theme/builtins/Container.ts +1 -1
  16. package/.dumi/tmp/dumi/theme/builtins/Previewer.ts +1 -1
  17. package/.dumi/tmp/dumi/theme/builtins/SourceCode.ts +1 -1
  18. package/.dumi/tmp/dumi/theme/builtins/Table.ts +1 -1
  19. package/.dumi/tmp/dumi/theme/builtins/Tree.ts +1 -1
  20. package/.dumi/tmp/dumi/theme/layouts/DocLayout.ts +1 -1
  21. package/.dumi/tmp/dumi/theme/loading.tsx +1 -1
  22. package/.dumi/tmp/dumi/theme/slots/ColorSwitch.ts +1 -1
  23. package/.dumi/tmp/dumi/theme/slots/Content.ts +1 -1
  24. package/.dumi/tmp/dumi/theme/slots/ContentFooter.ts +1 -1
  25. package/.dumi/tmp/dumi/theme/slots/ContentTabs.ts +1 -1
  26. package/.dumi/tmp/dumi/theme/slots/Features.ts +1 -1
  27. package/.dumi/tmp/dumi/theme/slots/Footer.ts +1 -1
  28. package/.dumi/tmp/dumi/theme/slots/Header.ts +1 -1
  29. package/.dumi/tmp/dumi/theme/slots/HeaderExtra.ts +1 -1
  30. package/.dumi/tmp/dumi/theme/slots/Hero.ts +1 -1
  31. package/.dumi/tmp/dumi/theme/slots/HeroTitle.ts +1 -1
  32. package/.dumi/tmp/dumi/theme/slots/LangSwitch.ts +1 -1
  33. package/.dumi/tmp/dumi/theme/slots/Logo.ts +1 -1
  34. package/.dumi/tmp/dumi/theme/slots/Navbar.ts +1 -1
  35. package/.dumi/tmp/dumi/theme/slots/NavbarExtra.ts +1 -1
  36. package/.dumi/tmp/dumi/theme/slots/NotFound.ts +1 -1
  37. package/.dumi/tmp/dumi/theme/slots/PreviewerActions.ts +1 -1
  38. package/.dumi/tmp/dumi/theme/slots/PreviewerActionsExtra.ts +1 -1
  39. package/.dumi/tmp/dumi/theme/slots/RtlSwitch.ts +1 -1
  40. package/.dumi/tmp/dumi/theme/slots/SearchBar.ts +2 -2
  41. package/.dumi/tmp/dumi/theme/slots/SearchResult.ts +1 -1
  42. package/.dumi/tmp/dumi/theme/slots/Sidebar.ts +1 -1
  43. package/.dumi/tmp/dumi/theme/slots/SocialIcon.ts +1 -1
  44. package/.dumi/tmp/dumi/theme/slots/Toc.ts +1 -1
  45. package/.dumi/tmp/exports.ts +5 -5
  46. package/.dumi/tmp/testBrowser.tsx +3 -3
  47. package/.dumi/tmp/umi.ts +4 -4
  48. package/.idea/codeStyles/Project.xml +59 -0
  49. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  50. package/.idea/iglooform.iml +7 -4
  51. package/.idea/prettier.xml +6 -0
  52. package/es/form/addable-section/index.js +3 -4
  53. package/es/form/section/index.js +5 -3
  54. package/lib/form/addable-section/index.js +3 -4
  55. package/lib/form/section/index.js +5 -3
  56. package/package.json +1 -1
  57. package/yarn-error.log +16168 -0
  58. package/.idea/misc.xml +0 -5
@@ -0,0 +1,59 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <code_scheme name="Project" version="173">
3
+ <HTMLCodeStyleSettings>
4
+ <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
5
+ </HTMLCodeStyleSettings>
6
+ <JSCodeStyleSettings version="0">
7
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
8
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
9
+ <option name="USE_DOUBLE_QUOTES" value="false" />
10
+ <option name="FORCE_QUOTE_STYlE" value="true" />
11
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
12
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
13
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
14
+ </JSCodeStyleSettings>
15
+ <TypeScriptCodeStyleSettings version="0">
16
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
17
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
18
+ <option name="USE_DOUBLE_QUOTES" value="false" />
19
+ <option name="FORCE_QUOTE_STYlE" value="true" />
20
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
21
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
22
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
23
+ </TypeScriptCodeStyleSettings>
24
+ <VueCodeStyleSettings>
25
+ <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
26
+ <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
27
+ </VueCodeStyleSettings>
28
+ <codeStyleSettings language="HTML">
29
+ <option name="SOFT_MARGINS" value="80" />
30
+ <indentOptions>
31
+ <option name="INDENT_SIZE" value="2" />
32
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
33
+ <option name="TAB_SIZE" value="2" />
34
+ </indentOptions>
35
+ </codeStyleSettings>
36
+ <codeStyleSettings language="JavaScript">
37
+ <option name="SOFT_MARGINS" value="80" />
38
+ <indentOptions>
39
+ <option name="INDENT_SIZE" value="2" />
40
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
41
+ <option name="TAB_SIZE" value="2" />
42
+ </indentOptions>
43
+ </codeStyleSettings>
44
+ <codeStyleSettings language="TypeScript">
45
+ <option name="SOFT_MARGINS" value="80" />
46
+ <indentOptions>
47
+ <option name="INDENT_SIZE" value="2" />
48
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
49
+ <option name="TAB_SIZE" value="2" />
50
+ </indentOptions>
51
+ </codeStyleSettings>
52
+ <codeStyleSettings language="Vue">
53
+ <option name="SOFT_MARGINS" value="80" />
54
+ <indentOptions>
55
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
56
+ </indentOptions>
57
+ </codeStyleSettings>
58
+ </code_scheme>
59
+ </component>
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </component>
@@ -1,8 +1,11 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
6
9
  <orderEntry type="inheritedJdk" />
7
10
  <orderEntry type="sourceFolder" forTests="false" />
8
11
  </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="MANUAL" />
5
+ </component>
6
+ </project>
@@ -113,9 +113,6 @@ var AddableSection = function AddableSection(_ref) {
113
113
  errors: []
114
114
  }]);
115
115
  }
116
- if (!display) {
117
- return null;
118
- }
119
116
  var groups = groupKeys.map(function (key, index) {
120
117
  var parentName = calcNamePath(namePath, index);
121
118
  return /*#__PURE__*/_jsxs(Col, {
@@ -199,8 +196,10 @@ var AddableSection = function AddableSection(_ref) {
199
196
  });
200
197
  return /*#__PURE__*/_jsxs("div", {
201
198
  className: "igloo-form-addable-section-container",
202
- style: {
199
+ style: display ? {
203
200
  width: '100%'
201
+ } : {
202
+ display: 'none'
204
203
  },
205
204
  children: [groups, groupKeys.length < max && !preview && /*#__PURE__*/_jsxs(Col, {
206
205
  span: 24,
@@ -81,10 +81,12 @@ var Section = function Section(_ref) {
81
81
  errors: []
82
82
  }]);
83
83
  }
84
- return display ? /*#__PURE__*/_jsxs(Col, {
84
+ return /*#__PURE__*/_jsxs(Col, {
85
85
  span: 24,
86
86
  className: classnames('igloo-section', className),
87
- style: style,
87
+ style: display ? style : {
88
+ display: 'none'
89
+ },
88
90
  children: [/*#__PURE__*/_jsxs("div", {
89
91
  className: 'igloo-section-label',
90
92
  onClick: function onClick() {
@@ -132,6 +134,6 @@ var Section = function Section(_ref) {
132
134
  })
133
135
  })
134
136
  }))]
135
- }) : null;
137
+ });
136
138
  };
137
139
  export default Section;
@@ -121,9 +121,6 @@ var AddableSection = function AddableSection(_ref) {
121
121
  errors: []
122
122
  }]);
123
123
  }
124
- if (!display) {
125
- return null;
126
- }
127
124
  var groups = groupKeys.map(function (key, index) {
128
125
  var parentName = (0, _formUtils.calcNamePath)(namePath, index);
129
126
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Col, {
@@ -207,8 +204,10 @@ var AddableSection = function AddableSection(_ref) {
207
204
  });
208
205
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
209
206
  className: "igloo-form-addable-section-container",
210
- style: {
207
+ style: display ? {
211
208
  width: '100%'
209
+ } : {
210
+ display: 'none'
212
211
  },
213
212
  children: [groups, groupKeys.length < max && !preview && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Col, {
214
213
  span: 24,
@@ -88,10 +88,12 @@ var Section = function Section(_ref) {
88
88
  errors: []
89
89
  }]);
90
90
  }
91
- return display ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Col, {
91
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antd.Col, {
92
92
  span: 24,
93
93
  className: (0, _classnames.default)('igloo-section', className),
94
- style: style,
94
+ style: display ? style : {
95
+ display: 'none'
96
+ },
95
97
  children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
96
98
  className: 'igloo-section-label',
97
99
  onClick: function onClick() {
@@ -139,7 +141,7 @@ var Section = function Section(_ref) {
139
141
  })
140
142
  })
141
143
  }))]
142
- }) : null;
144
+ });
143
145
  };
144
146
  var _default = Section;
145
147
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iglooform",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "build-dev": "dumi build",