@wavemaker/rn-codegen 11.16.1-rc.270 → 11.16.2-rc.271

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 (76) hide show
  1. package/npm-shrinkwrap.json +289 -273
  2. package/package-lock.json +289 -273
  3. package/package.json +3 -3
  4. package/scripts/check-deps-compat.js +554 -0
  5. package/src/app.generator.js +109 -70
  6. package/src/app.generator.js.map +1 -1
  7. package/src/pipeline/build-pipeline.js +19 -2
  8. package/src/pipeline/build-pipeline.js.map +1 -1
  9. package/src/pipeline/generation-store.js +43 -22
  10. package/src/pipeline/generation-store.js.map +1 -1
  11. package/src/pipeline/shared-node-modules.js +172 -13
  12. package/src/pipeline/shared-node-modules.js.map +1 -1
  13. package/src/templates/app.template +20 -0
  14. package/src/templates/bootstrap.template +2 -1
  15. package/src/templates/foundation-theme/build/android/wavemaker/components/input/epoch/date.less +8 -1
  16. package/src/templates/foundation-theme/build/android/wavemaker/components/input/epoch/datetime.less +8 -1
  17. package/src/templates/foundation-theme/build/android/wavemaker/components/input/epoch/time.less +8 -1
  18. package/src/templates/foundation-theme/build/android/wavemaker/components/input/number.less +14 -0
  19. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/basic/button.less +2 -2
  20. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/input/checkboxset.less +1 -0
  21. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/input/chips.less +12 -0
  22. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/input/radioset.less +1 -1
  23. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/studio/input/currency.less +6 -2
  24. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/tokens.light.css +3 -2
  25. package/src/templates/foundation-theme/build/android/wavemaker/design-tokens/variables/button.variant.less +2 -2
  26. package/src/templates/foundation-theme/build/ios/wavemaker/components/input/epoch/date.less +8 -1
  27. package/src/templates/foundation-theme/build/ios/wavemaker/components/input/epoch/datetime.less +8 -1
  28. package/src/templates/foundation-theme/build/ios/wavemaker/components/input/epoch/time.less +8 -1
  29. package/src/templates/foundation-theme/build/ios/wavemaker/components/input/number.less +14 -0
  30. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/basic/button.less +2 -2
  31. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/input/checkboxset.less +1 -0
  32. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/input/chips.less +12 -0
  33. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/input/radioset.less +1 -1
  34. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/studio/input/currency.less +6 -2
  35. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/tokens.light.css +3 -2
  36. package/src/templates/foundation-theme/build/ios/wavemaker/design-tokens/variables/button.variant.less +2 -2
  37. package/src/templates/foundation-theme/dist/android/style.css +5 -4
  38. package/src/templates/foundation-theme/dist/android/style.js +22 -9
  39. package/src/templates/foundation-theme/dist/android/tokens.js +3 -2
  40. package/src/templates/foundation-theme/dist/ios/style.css +5 -4
  41. package/src/templates/foundation-theme/dist/ios/style.js +22 -9
  42. package/src/templates/foundation-theme/dist/ios/tokens.js +3 -2
  43. package/src/templates/foundation-theme/wavemaker/components/input/epoch/date.less +8 -1
  44. package/src/templates/foundation-theme/wavemaker/components/input/epoch/datetime.less +8 -1
  45. package/src/templates/foundation-theme/wavemaker/components/input/epoch/time.less +8 -1
  46. package/src/templates/foundation-theme/wavemaker/components/input/number.less +14 -0
  47. package/src/templates/foundation-theme/wavemaker/design-tokens/basic/button.less +2 -2
  48. package/src/templates/foundation-theme/wavemaker/design-tokens/input/checkboxset.less +1 -0
  49. package/src/templates/foundation-theme/wavemaker/design-tokens/input/chips.less +12 -0
  50. package/src/templates/foundation-theme/wavemaker/design-tokens/input/radioset.less +1 -1
  51. package/src/templates/foundation-theme/wavemaker/design-tokens/studio/input/currency.less +6 -2
  52. package/src/templates/foundation-theme/wavemaker/design-tokens/tokens.light.css +3 -2
  53. package/src/templates/foundation-theme/wavemaker/design-tokens/variables/button.variant.less +2 -2
  54. package/src/templates/package.web.json +10 -5
  55. package/src/templates/project/metro/metro.script.js +19 -2
  56. package/src/templates/project/metro/vendor-cache.js +1 -1
  57. package/src/templates/project/metro/wm-boundary.js +40 -28
  58. package/src/templates/project/metro/wm-crawl-override.js +16 -2
  59. package/src/templates/project/metro/wm-prebuilt.js +31 -0
  60. package/src/templates/project/package-lock.json +13214 -0
  61. package/src/templates/project/package.json +10 -5
  62. package/src/templates/project/wavepulse/rn2css.json +5 -0
  63. package/src/theme/components/input/epoch/datetime.styledef.js +5 -0
  64. package/src/theme/components/input/epoch/datetime.styledef.js.map +1 -1
  65. package/src/theme/components/input/number.styledef.js +10 -0
  66. package/src/theme/components/input/number.styledef.js.map +1 -1
  67. package/src/transpile/bind.ex.transformer.js +109 -5
  68. package/src/transpile/bind.ex.transformer.js.map +1 -1
  69. package/src/transpile/components/data/form/form-field.transformer.js +25 -1
  70. package/src/transpile/components/data/form/form-field.transformer.js.map +1 -1
  71. package/test/pipeline/build-leftovers.test.js +172 -0
  72. package/test/pipeline/build-leftovers.test.js.map +1 -0
  73. package/test/pipeline/chmod-tree.test.js +54 -0
  74. package/test/pipeline/chmod-tree.test.js.map +1 -0
  75. package/test/pipeline/crawl-override.test.js +53 -0
  76. package/test/pipeline/crawl-override.test.js.map +1 -0
@@ -34,12 +34,19 @@ To style the clear icon of wm-datetime
34
34
 
35
35
 
36
36
  /**********************************************************************************
37
- To style the calendar icon of wm-datetime
37
+ To style the calendar icon of wm-datetime, and the trailing icon when trailingiconclass or trailingiconurl is set
38
38
  ***********************************************************************************/
39
39
  .app-datetime-calendar-icon {
40
40
  }
41
41
 
42
42
 
43
+ /**********************************************************************************
44
+ To style the leading icon of wm-datetime
45
+ ***********************************************************************************/
46
+ .app-datetime-leading-icon {
47
+ }
48
+
49
+
43
50
  /**********************************************************************************
44
51
  To style the floating-label in date-time widget.
45
52
  ***********************************************************************************/
@@ -31,12 +31,19 @@ To style the clear icon of wm-time
31
31
 
32
32
 
33
33
  /**********************************************************************************
34
- To style the calendar icon of wm-time
34
+ To style the calendar icon of wm-time, and the trailing icon when trailingiconclass or trailingiconurl is set
35
35
  ***********************************************************************************/
36
36
  .app-time-calendar-icon {
37
37
  }
38
38
 
39
39
 
40
+ /**********************************************************************************
41
+ To style the leading icon of wm-time
42
+ ***********************************************************************************/
43
+ .app-time-leading-icon {
44
+ }
45
+
46
+
40
47
  /**********************************************************************************
41
48
  To style the floating-label in time widget.
42
49
  ***********************************************************************************/
@@ -80,6 +80,20 @@ To style the skeleton of label of number widget.
80
80
  .app-number-label-skeleton {
81
81
  }
82
82
 
83
+
84
+ /**********************************************************************************
85
+ To style the leading icon of number widget.
86
+ ***********************************************************************************/
87
+ .app-number-leading-icon {
88
+ }
89
+
90
+
91
+ /**********************************************************************************
92
+ To style the trailing icon of number widget.
93
+ ***********************************************************************************/
94
+ .app-number-trailing-icon {
95
+ }
96
+
83
97
  @import (optional) url('../../../wavemaker/design-tokens/input/number.less');
84
98
  @import (optional) url('../../../custom/components/input/number.less');
85
99
  @import (optional) url('../../../custom/os/components/input/number.less');
@@ -9,7 +9,7 @@
9
9
  flex-direction: column;
10
10
  overflow: hidden;
11
11
  min-width: var(--wm-btn-min-width);
12
- min-height: var(--wm-btn-height);
12
+ min-height: var(--wm-btn-min-height);
13
13
  padding: var(--wm-btn-padding);
14
14
  cursor: var(--wm-btn-cursor);
15
15
  color: var(--wm-btn-color);
@@ -35,7 +35,7 @@
35
35
  justify-content: center;
36
36
  cursor: pointer;
37
37
  gap: var(--wm-btn-gap);
38
- min-height: var(--wm-btn-height);
38
+ min-height: var(--wm-btn-min-height);
39
39
  }
40
40
 
41
41
 
@@ -47,6 +47,7 @@
47
47
  margin-left: var(--wm-checkboxset-item-margin-left);
48
48
  margin-top: var(--wm-checkboxset-item-margin-top);
49
49
  margin-bottom: var(--wm-checkboxset-item-margin-bottom);
50
+ gap: var(--wm-checkboxset-gap);
50
51
  }
51
52
 
52
53
  .app-checkboxset-selected-label {
@@ -63,9 +63,21 @@
63
63
  }
64
64
 
65
65
  .app-chips-active-item {
66
+ gap: var(--wm-chips-item-gap);
67
+ min-height: var(--wm-chips-item-height);
68
+ height: var(--wm-chips-item-height);
69
+ padding: var(--wm-chips-item-padding);
66
70
  background-color: var(--wm-chips-background-color);
71
+ border-radius: var(--wm-chips-item-border-radius);
72
+ border-style: var(--wm-chips-item-border-style);
67
73
  border-color: var(--wm-chips-item-border-color);
68
74
  border-width: var(--wm-chips-border-width);
75
+ font-family: var(--wm-chips-item-font-family);
76
+ font-weight: var(--wm-chips-item-font-weight);
77
+ font-size: var(--wm-chips-item-font-size);
78
+ line-height: var(--wm-chips-item-line-height);
79
+ letter-spacing: var(--wm-chips-item-letter-spacing);
80
+ box-shadow: var(--wm-chips-shadow);
69
81
  }
70
82
 
71
83
  .app-chips-active-item-text {
@@ -24,6 +24,7 @@
24
24
  align-content: center;
25
25
  margin-right: var(--wm-radiobutton-set-item-column-gap);
26
26
  margin-top: var(--wm-radiobutton-set-item-row-gap);
27
+ gap: var(--wm-radiobutton-gap);
27
28
  }
28
29
 
29
30
  .app-radioset-label {
@@ -34,7 +35,6 @@
34
35
  line-height: var(--wm-radiobutton-label-line-height);
35
36
  letter-spacing: var(--wm-radiobutton-label-letter-spacing);
36
37
  color: var(--wm-radiobutton-label-color);
37
- margin-left: var(--wm-radiobutton-gap);
38
38
  }
39
39
 
40
40
  .app-radioset-checked-icon.root {
@@ -1,11 +1,13 @@
1
1
  .app-currency {
2
- span,
2
+ span{
3
+ bottom:0px !important;
4
+ }
3
5
  .app-textbox {
4
6
  padding: 12px;
5
7
  font-size: 16px;
6
8
  height: auto;
7
9
  }
8
- span {
10
+ .input-group-addon {
9
11
  background-color: var(--wm-currency-labelwrapper-background) !important;
10
12
  min-height: var(--wm-currency-labelwrapper-min-height) !important;
11
13
  border-radius: var(--wm-currency-labelwrapper-border-radius) !important;
@@ -15,6 +17,8 @@
15
17
  font-family: var(--wm-currency-label-font-family) !important;
16
18
  font-size: var(--wm-currency-label-font-size) !important;
17
19
  color: var(--wm-currency-label-color) !important;
20
+ border-width: var(--wm-form-controls-border-width) !important;
21
+ border-color: var(--wm-form-controls-border-color) !important;
18
22
  }
19
23
  .app-textbox {
20
24
  border-top-right-radius: 4px;
@@ -42,7 +42,6 @@
42
42
  --wm-btn-border-width: 1px;
43
43
  --wm-btn-border-style: solid;
44
44
  --wm-btn-min-width: auto;
45
- --wm-btn-height: 40px;
46
45
  --wm-btn-shadow: none;
47
46
  --wm-btn-ripple-color: rgba(255, 255, 255, 0.08);
48
47
  --wm-btn-skeleton-width: 96px;
@@ -542,7 +541,8 @@
542
541
  --wm-btn-letter-spacing: var(--wm-label-large-letter-spacing);
543
542
  --wm-btn-border-color: var(--wm-color-surface-container-highest);
544
543
  --wm-btn-radius: var(--wm-radius-sm);
545
- --wm-btn-padding: var(--wm-space-0) var(--wm-space-6);
544
+ --wm-btn-padding: var(--wm-space-3) var(--wm-space-6);
545
+ --wm-btn-min-height: var(--wm-space-10);
546
546
  --wm-btn-gap: var(--wm-space-2);
547
547
  --wm-btn-icon-size: var(--wm-icon-size-md);
548
548
  --wm-btn-icon-color: var(--wm-color-on-surface);
@@ -602,6 +602,7 @@
602
602
  --wm-checkbox-icon-size: var(--wm-icon-size);
603
603
  --wm-checkbox-border-radius: var(--wm-radius-xxs);
604
604
  --wm-checkbox-border-color: var(--wm-color-on-surface-variant);
605
+ --wm-checkboxset-gap: var(--wm-space-1);
605
606
  --wm-checkboxset-height: var(--wm-space-6);
606
607
  --wm-checkboxset-width: var(--wm-space-6);
607
608
  --wm-checkboxset-label-font-size: var(--wm-body-large-font-size);
@@ -236,7 +236,7 @@
236
236
  }
237
237
 
238
238
  .btn-icon {
239
- --wm-btn-height: 40px;
239
+ --wm-btn-min-height: 40px;
240
240
  --wm-btn-min-width: 40px;
241
241
  --wm-btn-padding: var(--wm-space-0);
242
242
  --wm-btn-icon-size: var(--wm-icon-size-md);
@@ -247,7 +247,7 @@
247
247
  }
248
248
 
249
249
  .btn-fab {
250
- --wm-btn-height: 56px;
250
+ --wm-btn-min-height: 56px;
251
251
  --wm-btn-min-width: 56px;
252
252
  --wm-btn-border-radius: 16px;
253
253
  --wm-btn-shadow: var(--wm-elevation-shadow-1);
@@ -31,12 +31,19 @@ To style the clear icon of wm-date
31
31
 
32
32
 
33
33
  /**********************************************************************************
34
- To style the calendar icon of wm-date
34
+ To style the calendar icon of wm-date, and the trailing icon when trailingiconclass or trailingiconurl is set
35
35
  ***********************************************************************************/
36
36
  .app-date-calendar-icon {
37
37
  }
38
38
 
39
39
 
40
+ /**********************************************************************************
41
+ To style the leading icon of wm-date
42
+ ***********************************************************************************/
43
+ .app-date-leading-icon {
44
+ }
45
+
46
+
40
47
  /**********************************************************************************
41
48
  To style the floating-label in date widget.
42
49
  ***********************************************************************************/
@@ -34,12 +34,19 @@ To style the clear icon of wm-datetime
34
34
 
35
35
 
36
36
  /**********************************************************************************
37
- To style the calendar icon of wm-datetime
37
+ To style the calendar icon of wm-datetime, and the trailing icon when trailingiconclass or trailingiconurl is set
38
38
  ***********************************************************************************/
39
39
  .app-datetime-calendar-icon {
40
40
  }
41
41
 
42
42
 
43
+ /**********************************************************************************
44
+ To style the leading icon of wm-datetime
45
+ ***********************************************************************************/
46
+ .app-datetime-leading-icon {
47
+ }
48
+
49
+
43
50
  /**********************************************************************************
44
51
  To style the floating-label in date-time widget.
45
52
  ***********************************************************************************/
@@ -31,12 +31,19 @@ To style the clear icon of wm-time
31
31
 
32
32
 
33
33
  /**********************************************************************************
34
- To style the calendar icon of wm-time
34
+ To style the calendar icon of wm-time, and the trailing icon when trailingiconclass or trailingiconurl is set
35
35
  ***********************************************************************************/
36
36
  .app-time-calendar-icon {
37
37
  }
38
38
 
39
39
 
40
+ /**********************************************************************************
41
+ To style the leading icon of wm-time
42
+ ***********************************************************************************/
43
+ .app-time-leading-icon {
44
+ }
45
+
46
+
40
47
  /**********************************************************************************
41
48
  To style the floating-label in time widget.
42
49
  ***********************************************************************************/
@@ -80,6 +80,20 @@ To style the skeleton of label of number widget.
80
80
  .app-number-label-skeleton {
81
81
  }
82
82
 
83
+
84
+ /**********************************************************************************
85
+ To style the leading icon of number widget.
86
+ ***********************************************************************************/
87
+ .app-number-leading-icon {
88
+ }
89
+
90
+
91
+ /**********************************************************************************
92
+ To style the trailing icon of number widget.
93
+ ***********************************************************************************/
94
+ .app-number-trailing-icon {
95
+ }
96
+
83
97
  @import (optional) url('../../../wavemaker/design-tokens/input/number.less');
84
98
  @import (optional) url('../../../custom/components/input/number.less');
85
99
  @import (optional) url('../../../custom/os/components/input/number.less');
@@ -9,7 +9,7 @@
9
9
  flex-direction: column;
10
10
  overflow: hidden;
11
11
  min-width: var(--wm-btn-min-width);
12
- min-height: var(--wm-btn-height);
12
+ min-height: var(--wm-btn-min-height);
13
13
  padding: var(--wm-btn-padding);
14
14
  cursor: var(--wm-btn-cursor);
15
15
  color: var(--wm-btn-color);
@@ -35,7 +35,7 @@
35
35
  justify-content: center;
36
36
  cursor: pointer;
37
37
  gap: var(--wm-btn-gap);
38
- min-height: var(--wm-btn-height);
38
+ min-height: var(--wm-btn-min-height);
39
39
  }
40
40
 
41
41
 
@@ -47,6 +47,7 @@
47
47
  margin-left: var(--wm-checkboxset-item-margin-left);
48
48
  margin-top: var(--wm-checkboxset-item-margin-top);
49
49
  margin-bottom: var(--wm-checkboxset-item-margin-bottom);
50
+ gap: var(--wm-checkboxset-gap);
50
51
  }
51
52
 
52
53
  .app-checkboxset-selected-label {
@@ -63,9 +63,21 @@
63
63
  }
64
64
 
65
65
  .app-chips-active-item {
66
+ gap: var(--wm-chips-item-gap);
67
+ min-height: var(--wm-chips-item-height);
68
+ height: var(--wm-chips-item-height);
69
+ padding: var(--wm-chips-item-padding);
66
70
  background-color: var(--wm-chips-background-color);
71
+ border-radius: var(--wm-chips-item-border-radius);
72
+ border-style: var(--wm-chips-item-border-style);
67
73
  border-color: var(--wm-chips-item-border-color);
68
74
  border-width: var(--wm-chips-border-width);
75
+ font-family: var(--wm-chips-item-font-family);
76
+ font-weight: var(--wm-chips-item-font-weight);
77
+ font-size: var(--wm-chips-item-font-size);
78
+ line-height: var(--wm-chips-item-line-height);
79
+ letter-spacing: var(--wm-chips-item-letter-spacing);
80
+ box-shadow: var(--wm-chips-shadow);
69
81
  }
70
82
 
71
83
  .app-chips-active-item-text {
@@ -24,6 +24,7 @@
24
24
  align-content: center;
25
25
  margin-right: var(--wm-radiobutton-set-item-column-gap);
26
26
  margin-top: var(--wm-radiobutton-set-item-row-gap);
27
+ gap: var(--wm-radiobutton-gap);
27
28
  }
28
29
 
29
30
  .app-radioset-label {
@@ -34,7 +35,6 @@
34
35
  line-height: var(--wm-radiobutton-label-line-height);
35
36
  letter-spacing: var(--wm-radiobutton-label-letter-spacing);
36
37
  color: var(--wm-radiobutton-label-color);
37
- margin-left: var(--wm-radiobutton-gap);
38
38
  }
39
39
 
40
40
  .app-radioset-checked-icon.root {
@@ -1,11 +1,13 @@
1
1
  .app-currency {
2
- span,
2
+ span{
3
+ bottom:0px !important;
4
+ }
3
5
  .app-textbox {
4
6
  padding: 12px;
5
7
  font-size: 16px;
6
8
  height: auto;
7
9
  }
8
- span {
10
+ .input-group-addon {
9
11
  background-color: var(--wm-currency-labelwrapper-background) !important;
10
12
  min-height: var(--wm-currency-labelwrapper-min-height) !important;
11
13
  border-radius: var(--wm-currency-labelwrapper-border-radius) !important;
@@ -15,6 +17,8 @@
15
17
  font-family: var(--wm-currency-label-font-family) !important;
16
18
  font-size: var(--wm-currency-label-font-size) !important;
17
19
  color: var(--wm-currency-label-color) !important;
20
+ border-width: var(--wm-form-controls-border-width) !important;
21
+ border-color: var(--wm-form-controls-border-color) !important;
18
22
  }
19
23
  .app-textbox {
20
24
  border-top-right-radius: 4px;
@@ -42,7 +42,6 @@
42
42
  --wm-btn-border-width: 1px;
43
43
  --wm-btn-border-style: solid;
44
44
  --wm-btn-min-width: auto;
45
- --wm-btn-height: 40px;
46
45
  --wm-btn-shadow: none;
47
46
  --wm-btn-ripple-color: rgba(255, 255, 255, 0.08);
48
47
  --wm-btn-skeleton-width: 96px;
@@ -542,7 +541,8 @@
542
541
  --wm-btn-letter-spacing: var(--wm-label-large-letter-spacing);
543
542
  --wm-btn-border-color: var(--wm-color-surface-container-highest);
544
543
  --wm-btn-radius: var(--wm-radius-sm);
545
- --wm-btn-padding: var(--wm-space-0) var(--wm-space-6);
544
+ --wm-btn-padding: var(--wm-space-3) var(--wm-space-6);
545
+ --wm-btn-min-height: var(--wm-space-10);
546
546
  --wm-btn-gap: var(--wm-space-2);
547
547
  --wm-btn-icon-size: var(--wm-icon-size-md);
548
548
  --wm-btn-icon-color: var(--wm-color-on-surface);
@@ -602,6 +602,7 @@
602
602
  --wm-checkbox-icon-size: var(--wm-icon-size);
603
603
  --wm-checkbox-border-radius: var(--wm-radius-xxs);
604
604
  --wm-checkbox-border-color: var(--wm-color-on-surface-variant);
605
+ --wm-checkboxset-gap: var(--wm-space-1);
605
606
  --wm-checkboxset-height: var(--wm-space-6);
606
607
  --wm-checkboxset-width: var(--wm-space-6);
607
608
  --wm-checkboxset-label-font-size: var(--wm-body-large-font-size);
@@ -236,7 +236,7 @@
236
236
  }
237
237
 
238
238
  .btn-icon {
239
- --wm-btn-height: 40px;
239
+ --wm-btn-min-height: 40px;
240
240
  --wm-btn-min-width: 40px;
241
241
  --wm-btn-padding: var(--wm-space-0);
242
242
  --wm-btn-icon-size: var(--wm-icon-size-md);
@@ -247,7 +247,7 @@
247
247
  }
248
248
 
249
249
  .btn-fab {
250
- --wm-btn-height: 56px;
250
+ --wm-btn-min-height: 56px;
251
251
  --wm-btn-min-width: 56px;
252
252
  --wm-btn-border-radius: 16px;
253
253
  --wm-btn-shadow: var(--wm-elevation-shadow-1);