@coorpacademy/components 11.22.4 → 11.23.1

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 (51) hide show
  1. package/es/atom/input-file-draggable/index.d.ts +3 -1
  2. package/es/atom/input-file-draggable/index.d.ts.map +1 -1
  3. package/es/atom/input-file-draggable/index.js +7 -2
  4. package/es/atom/input-file-draggable/index.js.map +1 -1
  5. package/es/molecule/drag-and-drop-wrapper/index.d.ts +1 -0
  6. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  7. package/es/molecule/title-radio-wrapper/index.d.ts +1 -0
  8. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  9. package/es/molecule/title-radio-wrapper/types.d.ts +1 -0
  10. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  11. package/es/organism/mooc-header/index.d.ts +2 -0
  12. package/es/organism/mooc-header/index.d.ts.map +1 -1
  13. package/es/organism/mooc-header/index.js +10 -5
  14. package/es/organism/mooc-header/index.js.map +1 -1
  15. package/es/organism/mooc-header/style.css +21 -14
  16. package/es/organism/rewards-form/index.d.ts +2 -0
  17. package/es/organism/select-opponents/index.d.ts +2 -0
  18. package/es/organism/select-opponents/index.d.ts.map +1 -1
  19. package/es/organism/select-opponents/types.d.ts +2 -0
  20. package/es/organism/select-opponents/types.d.ts.map +1 -1
  21. package/es/organism/title-and-input/index.d.ts +2 -0
  22. package/es/organism/title-and-input/index.d.ts.map +1 -1
  23. package/es/organism/title-and-input/types.d.ts +2 -0
  24. package/es/organism/title-and-input/types.d.ts.map +1 -1
  25. package/es/organism/wizard-contents/index.d.ts +2 -0
  26. package/lib/atom/input-file-draggable/index.d.ts +3 -1
  27. package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
  28. package/lib/atom/input-file-draggable/index.js +7 -2
  29. package/lib/atom/input-file-draggable/index.js.map +1 -1
  30. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +1 -0
  31. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  32. package/lib/molecule/title-radio-wrapper/index.d.ts +1 -0
  33. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  34. package/lib/molecule/title-radio-wrapper/types.d.ts +1 -0
  35. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  36. package/lib/organism/mooc-header/index.d.ts +2 -0
  37. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  38. package/lib/organism/mooc-header/index.js +10 -5
  39. package/lib/organism/mooc-header/index.js.map +1 -1
  40. package/lib/organism/mooc-header/style.css +21 -14
  41. package/lib/organism/rewards-form/index.d.ts +2 -0
  42. package/lib/organism/select-opponents/index.d.ts +2 -0
  43. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  44. package/lib/organism/select-opponents/types.d.ts +2 -0
  45. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  46. package/lib/organism/title-and-input/index.d.ts +2 -0
  47. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  48. package/lib/organism/title-and-input/types.d.ts +2 -0
  49. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  50. package/lib/organism/wizard-contents/index.d.ts +2 -0
  51. package/package.json +2 -2
@@ -8,6 +8,7 @@
8
8
  @value brand from colors;
9
9
  @value black from colors;
10
10
  @value dark from colors;
11
+ @value cm_grey_200 from colors;
11
12
  @value battle from colors;
12
13
  @value orangeAdd from colors;
13
14
  @value transparent from colors;
@@ -159,10 +160,14 @@
159
160
  text-overflow: ellipsis;
160
161
  }
161
162
 
162
- .option:hover {
163
+ .option:not(.disabled):hover {
163
164
  color: brand;
164
165
  }
165
-
166
+ .option.disabled {
167
+ cursor: default;
168
+ color: cm_grey_200;
169
+ pointer-events: none;
170
+ }
166
171
  .menuWrapper {
167
172
  display: flex;
168
173
  align-items: flex-end;
@@ -195,8 +200,10 @@
195
200
  text-decoration: none;
196
201
  }
197
202
 
198
- .activePage {
199
- composes: item;
203
+ .item.disabled {
204
+ cursor: default;
205
+ color: cm_grey_200;
206
+ pointer-events: none;
200
207
  }
201
208
 
202
209
  .item .bar {
@@ -219,18 +226,18 @@
219
226
  display: none;
220
227
  }
221
228
 
222
- .activePage .bar {
229
+ .activePage:not(.disabled) .bar {
223
230
  left: 0;
224
231
  width: 100%;
225
232
  }
226
233
 
227
- .option:hover .line {
234
+ .option:not(.disabled):hover .line {
228
235
  height: 40px;
229
236
  width: 3px;
230
237
  display: inherit;
231
238
  }
232
239
 
233
- .item:hover .bar {
240
+ .item:not(.disabled):hover .bar {
234
241
  left: 0;
235
242
  width: 100%;
236
243
  }
@@ -709,14 +716,14 @@
709
716
 
710
717
  .item .bar {
711
718
  background-color: brand;
712
- width: 3px;
713
- height: 0;
714
- left: 0;
715
- position: absolute;
716
- transition: all 0.2s ease-out;
717
- display: none;
719
+ width: 3px;
720
+ height: 0;
721
+ left: 0;
722
+ position: absolute;
723
+ transition: all 0.2s ease-out;
724
+ display: none;
718
725
  }
719
- .item:hover .bar {
726
+ .item:not(.disabled):hover .bar {
720
727
  height: 40px;
721
728
  width: 3px;
722
729
  display: inherit;
@@ -48,6 +48,7 @@ declare namespace RewardsForm {
48
48
  }> | PropTypes.InferProps<{
49
49
  childType: PropTypes.Requireable<string>;
50
50
  list: PropTypes.Requireable<(PropTypes.InferProps<{
51
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
51
52
  name: PropTypes.Requireable<string>;
52
53
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
53
54
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -77,6 +78,7 @@ declare namespace RewardsForm {
77
78
  'data-name': PropTypes.Requireable<string>;
78
79
  }> | PropTypes.InferProps<{
79
80
  childType: PropTypes.Requireable<string>;
81
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
80
82
  name: PropTypes.Requireable<string>;
81
83
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
82
84
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -47,6 +47,7 @@ declare const SelectOpponents: {
47
47
  }> | import("prop-types").InferProps<{
48
48
  childType: import("prop-types").Requireable<string>;
49
49
  list: import("prop-types").Requireable<(import("prop-types").InferProps<{
50
+ disableHoverTooltip: import("prop-types").Requireable<boolean>;
50
51
  name: import("prop-types").Requireable<string>;
51
52
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
52
53
  onReset: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -76,6 +77,7 @@ declare const SelectOpponents: {
76
77
  'data-name': import("prop-types").Requireable<string>;
77
78
  }> | import("prop-types").InferProps<{
78
79
  childType: import("prop-types").Requireable<string>;
80
+ disableHoverTooltip: import("prop-types").Requireable<boolean>;
79
81
  name: import("prop-types").Requireable<string>;
80
82
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
81
83
  onReset: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
@@ -44,6 +44,7 @@ export declare const propTypes: {
44
44
  }> | PropTypes.InferProps<{
45
45
  childType: PropTypes.Requireable<string>;
46
46
  list: PropTypes.Requireable<(PropTypes.InferProps<{
47
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
47
48
  name: PropTypes.Requireable<string>;
48
49
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
49
50
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -73,6 +74,7 @@ export declare const propTypes: {
73
74
  'data-name': PropTypes.Requireable<string>;
74
75
  }> | PropTypes.InferProps<{
75
76
  childType: PropTypes.Requireable<string>;
77
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
76
78
  name: PropTypes.Requireable<string>;
77
79
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
78
80
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -92,6 +92,7 @@ declare const TitleAndInput: {
92
92
  }> | import("prop-types").InferProps<{
93
93
  childType: import("prop-types").Requireable<string>;
94
94
  list: import("prop-types").Requireable<(import("prop-types").InferProps<{
95
+ disableHoverTooltip: import("prop-types").Requireable<boolean>;
95
96
  name: import("prop-types").Requireable<string>;
96
97
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
97
98
  onReset: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -121,6 +122,7 @@ declare const TitleAndInput: {
121
122
  'data-name': import("prop-types").Requireable<string>;
122
123
  }> | import("prop-types").InferProps<{
123
124
  childType: import("prop-types").Requireable<string>;
125
+ disableHoverTooltip: import("prop-types").Requireable<boolean>;
124
126
  name: import("prop-types").Requireable<string>;
125
127
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
126
128
  onReset: import("prop-types").Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAiBtD,QAAA,MAAM,aAAa;YAAW,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAIF,eAAe,aAAa,CAAC"}
@@ -93,6 +93,7 @@ declare const propTypes: {
93
93
  }> | PropTypes.InferProps<{
94
94
  childType: PropTypes.Requireable<string>;
95
95
  list: PropTypes.Requireable<(PropTypes.InferProps<{
96
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
96
97
  name: PropTypes.Requireable<string>;
97
98
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
98
99
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -122,6 +123,7 @@ declare const propTypes: {
122
123
  'data-name': PropTypes.Requireable<string>;
123
124
  }> | PropTypes.InferProps<{
124
125
  childType: PropTypes.Requireable<string>;
126
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
125
127
  name: PropTypes.Requireable<string>;
126
128
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
127
129
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EACD,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAC3C,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACzC,oBAAoB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/title-and-input/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAE5D,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQd,CAAC;AACF,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,EACD,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAC3C,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,GACzC,oBAAoB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -309,6 +309,7 @@ declare namespace WizardContents {
309
309
  }> | PropTypes.InferProps<{
310
310
  childType: PropTypes.Requireable<string>;
311
311
  list: PropTypes.Requireable<(PropTypes.InferProps<{
312
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
312
313
  name: PropTypes.Requireable<string>;
313
314
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
314
315
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
@@ -338,6 +339,7 @@ declare namespace WizardContents {
338
339
  'data-name': PropTypes.Requireable<string>;
339
340
  }> | PropTypes.InferProps<{
340
341
  childType: PropTypes.Requireable<string>;
342
+ disableHoverTooltip: PropTypes.Requireable<boolean>;
341
343
  name: PropTypes.Requireable<string>;
342
344
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
343
345
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.22.4",
3
+ "version": "11.23.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -168,5 +168,5 @@
168
168
  "last 2 versions",
169
169
  "IE 11"
170
170
  ],
171
- "gitHead": "6c5a163bc4f59d99ed830548614ab1ba1685f121"
171
+ "gitHead": "500cc74691e34c88715e263777837282e5bc9ebb"
172
172
  }