@pie-lib/correct-answer-toggle 2.3.29-next.35 → 2.3.30-next.93
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.
- package/CHANGELOG.md +6 -67
- package/lib/expander.js +10 -5
- package/lib/expander.js.map +1 -1
- package/package.json +3 -3
- package/src/expander.jsx +10 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [2.3.
|
|
6
|
+
## [2.3.29](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.28...@pie-lib/correct-answer-toggle@2.3.29) (2021-08-30)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [2.3.
|
|
14
|
+
## [2.3.28](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.27...@pie-lib/correct-answer-toggle@2.3.28) (2021-08-04)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
17
17
|
|
|
@@ -19,137 +19,76 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
## [2.3.
|
|
22
|
+
## [2.3.27](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.26...@pie-lib/correct-answer-toggle@2.3.27) (2021-07-23)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
25
25
|
|
|
26
|
+
## [2.3.26](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.24...@pie-lib/correct-answer-toggle@2.3.26) (2021-06-25)
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
29
29
|
|
|
30
30
|
## [2.3.24](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.23...@pie-lib/correct-answer-toggle@2.3.24) (2021-06-25)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
34
|
## [2.3.23](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.22...@pie-lib/correct-answer-toggle@2.3.23) (2021-04-06)
|
|
39
35
|
|
|
40
36
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
41
37
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
38
|
## [2.3.22](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.21...@pie-lib/correct-answer-toggle@2.3.22) (2021-04-02)
|
|
47
39
|
|
|
48
|
-
|
|
49
40
|
### Bug Fixes
|
|
50
41
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
42
|
+
- **correct-answer-toggle:** denote label as non-readable ([79676a9](https://github.com/pie-framework/pie-lib/commit/79676a9))
|
|
56
43
|
|
|
57
44
|
## [2.3.21](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.20...@pie-lib/correct-answer-toggle@2.3.21) (2021-03-01)
|
|
58
45
|
|
|
59
46
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
60
47
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
48
|
## [2.3.20](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.19...@pie-lib/correct-answer-toggle@2.3.20) (2021-03-01)
|
|
66
49
|
|
|
67
50
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
68
51
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
52
|
## [2.3.19](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.18...@pie-lib/correct-answer-toggle@2.3.19) (2021-02-15)
|
|
74
53
|
|
|
75
54
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
76
55
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
56
|
## [2.3.18](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.16...@pie-lib/correct-answer-toggle@2.3.18) (2021-02-15)
|
|
82
57
|
|
|
83
58
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
84
59
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
60
|
## [2.3.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.15...@pie-lib/correct-answer-toggle@2.3.16) (2021-02-15)
|
|
90
61
|
|
|
91
62
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
92
63
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
64
|
## [2.3.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.14...@pie-lib/correct-answer-toggle@2.3.15) (2021-02-01)
|
|
98
65
|
|
|
99
66
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
100
67
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
68
|
## [2.3.14](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.13...@pie-lib/correct-answer-toggle@2.3.14) (2021-01-28)
|
|
106
69
|
|
|
107
70
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
108
71
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
72
|
## [2.3.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.12...@pie-lib/correct-answer-toggle@2.3.13) (2021-01-28)
|
|
114
73
|
|
|
115
74
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
116
75
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
76
|
## [2.3.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.11...@pie-lib/correct-answer-toggle@2.3.12) (2021-01-25)
|
|
122
77
|
|
|
123
78
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
124
79
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
80
|
## [2.3.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.10...@pie-lib/correct-answer-toggle@2.3.11) (2021-01-11)
|
|
130
81
|
|
|
131
82
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
132
83
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
84
|
## [2.3.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.9...@pie-lib/correct-answer-toggle@2.3.10) (2020-10-29)
|
|
138
85
|
|
|
139
86
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
140
87
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
88
|
## [2.3.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.8...@pie-lib/correct-answer-toggle@2.3.9) (2020-10-26)
|
|
146
89
|
|
|
147
90
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
|
148
91
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
92
|
## [2.3.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/correct-answer-toggle@2.3.7...@pie-lib/correct-answer-toggle@2.3.8) (2020-10-26)
|
|
154
93
|
|
|
155
94
|
**Note:** Version bump only for package @pie-lib/correct-answer-toggle
|
package/lib/expander.js
CHANGED
|
@@ -51,28 +51,33 @@ var _default = (0, _styles.withStyles)(function () {
|
|
|
51
51
|
height: 0,
|
|
52
52
|
overflow: 'hidden',
|
|
53
53
|
display: 'flex',
|
|
54
|
-
visibility: 'hidden'
|
|
54
|
+
visibility: 'hidden',
|
|
55
|
+
width: 0
|
|
55
56
|
},
|
|
56
57
|
enter: {
|
|
57
58
|
transition: transition,
|
|
58
59
|
opacity: 1,
|
|
59
60
|
height: '25px',
|
|
61
|
+
width: 'auto',
|
|
60
62
|
visibility: 'visible'
|
|
61
63
|
},
|
|
62
64
|
enterDone: {
|
|
63
65
|
height: '25px',
|
|
64
|
-
visibility: 'visible'
|
|
66
|
+
visibility: 'visible',
|
|
67
|
+
width: 'auto'
|
|
65
68
|
},
|
|
66
69
|
exit: {
|
|
67
70
|
transition: transition,
|
|
68
71
|
opacity: 0,
|
|
69
|
-
height:
|
|
70
|
-
visibility: 'visible'
|
|
72
|
+
height: 0,
|
|
73
|
+
visibility: 'visible',
|
|
74
|
+
width: 0
|
|
71
75
|
},
|
|
72
76
|
exitDone: {
|
|
73
77
|
opacity: 0,
|
|
74
78
|
visibility: 'hidden',
|
|
75
|
-
height:
|
|
79
|
+
height: 0,
|
|
80
|
+
width: 0
|
|
76
81
|
}
|
|
77
82
|
};
|
|
78
83
|
})(Expander);
|
package/lib/expander.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/expander.jsx"],"names":["Expander","props","classes","show","children","expander","propTypes","PropTypes","bool","isRequired","className","string","object","oneOfType","arrayOf","node","transition","position","height","overflow","display","visibility","enter","opacity","enterDone","exit","exitDone"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,IAAMA,QAAQ,GAAG,SAAXA,QAAW,CAAAC,KAAK,EAAI;AAAA,MAChBC,OADgB,GACYD,KADZ,CAChBC,OADgB;AAAA,MACPC,IADO,GACYF,KADZ,CACPE,IADO;AAAA,MACDC,QADC,GACYH,KADZ,CACDG,QADC;AAGxB,SACE,gCAAC,mCAAD;AACE,UAAID,IADN;AAEE,IAAA,MAAM,EAAE,IAFV;AAGE,IAAA,YAAY,EAAE,KAHhB;AAIE,IAAA,OAAO,EAAE,GAJX;AAKE,IAAA,UAAU,oBAAOD,OAAP;AALZ,KAOE;AAAK,IAAA,SAAS,EAAEA,OAAO,CAACG;AAAxB,KAAmCD,QAAnC,CAPF,CADF;AAWD,CAdD;;AAgBAJ,QAAQ,CAACM,SAAT,GAAqB;AACnBH,EAAAA,IAAI,EAAEI,sBAAUC,IAAV,CAAeC,UADF;AAEnBC,EAAAA,SAAS,EAAEH,sBAAUI,MAFF;AAGnBT,EAAAA,OAAO,EAAEK,sBAAUK,MAHA;AAInBR,EAAAA,QAAQ,EAAEG,sBAAUM,SAAV,CAAoB,CAACN,sBAAUO,OAAV,CAAkBP,sBAAUQ,IAA5B,CAAD,EAAoCR,sBAAUQ,IAA9C,CAApB,EAAyEN;AAJhE,CAArB;AAOA,IAAMO,UAAU,GAAG,6CAAnB;;eAEe,wBAAW;AAAA,SAAO;AAC/BX,IAAAA,QAAQ,EAAE;AACRY,MAAAA,QAAQ,EAAE,UADF;AAERC,MAAAA,MAAM,EAAE,CAFA;AAGRC,MAAAA,QAAQ,EAAE,QAHF;AAIRC,MAAAA,OAAO,EAAE,MAJD;AAKRC,MAAAA,UAAU,EAAE;
|
|
1
|
+
{"version":3,"sources":["../src/expander.jsx"],"names":["Expander","props","classes","show","children","expander","propTypes","PropTypes","bool","isRequired","className","string","object","oneOfType","arrayOf","node","transition","position","height","overflow","display","visibility","width","enter","opacity","enterDone","exit","exitDone"],"mapp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HH;AAILI,MAAAA,KAAK,EAAE,MAJF;AAKLD,MAAAA,UAAU,EAAE;AALP,KATwB;AAgB/BI,IAAAA,SAAS,EAAE;AACTP,MAAAA,MAAM,EAAE,MADC;AAETG,MAAAA,UAAU,EAAE,SAFH;AAGTC,MAAAA,KAAK,EAAE;AAHE,KAhBoB;AAqB/BI,IAAAA,IAAI,EAAE;AACJV,MAAAA,UAAU,EAAVA,UADI;AAEJQ,MAAAA,OAAO,EAAE,CAFL;AAGJN,MAAAA,MAAM,EAAE,CAHJ;AAIJG,MAAAA,UAAU,EAAE,SAJR;AAKJC,MAAAA,KAAK,EAAE;AALH,KArByB;AA4B/BK,IAAAA,QAAQ,EAAE;AACRH,MAAAA,OAAO,EAAE,CADD;AAERH,MAAAA,UAAU,EAAE,QAFJ;AAGRH,MAAAA,MAAM,EAAE,CAHA;AAIRI,MAAAA,KAAK,EAAE;AAJC;AA5BqB,GAAP;AAAA,CAAX,EAkCXtB,QAlCW,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport { CSSTransition } from 'react-transition-group';\n\nconst Expander = props => {\n const { classes, show, children } = props;\n\n return (\n <CSSTransition\n in={show}\n appear={true}\n mountOnEnter={false}\n timeout={300}\n classNames={{ ...classes }}\n >\n <div className={classes.expander}>{children}</div>\n </CSSTransition>\n );\n};\n\nExpander.propTypes = {\n show: PropTypes.bool.isRequired,\n className: PropTypes.string,\n classes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired\n};\n\nconst transition = 'height ease-in 300ms, opacity ease-in 300ms';\n\nexport default withStyles(() => ({\n expander: {\n position: 'relative',\n height: 0,\n overflow: 'hidden',\n display: 'flex',\n visibility: 'hidden',\n width: 0\n },\n enter: {\n transition,\n opacity: 1,\n height: '25px',\n width: 'auto',\n visibility: 'visible'\n },\n enterDone: {\n height: '25px',\n visibility: 'visible',\n width: 'auto'\n },\n exit: {\n transition,\n opacity: 0,\n height: 0,\n visibility: 'visible',\n width: 0\n },\n exitDone: {\n opacity: 0,\n visibility: 'hidden',\n height: 0,\n width: 0\n }\n}))(Expander);\n"],"file":"expander.js"}
|
package/package.json
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"publishConfig": {
|
|
12
12
|
"access": "public"
|
|
13
13
|
},
|
|
14
|
-
"version": "2.3.
|
|
14
|
+
"version": "2.3.30-next.93+b0f7d4b9",
|
|
15
15
|
"main": "lib/index.js",
|
|
16
16
|
"module": "src/index.jsx",
|
|
17
17
|
"scripts": {},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@material-ui/core": "^3.8.3",
|
|
20
20
|
"@pie-lib/icons": "^2.4.25",
|
|
21
|
-
"@pie-lib/render-ui": "^4.
|
|
21
|
+
"@pie-lib/render-ui": "^4.12.1-next.93+b0f7d4b9",
|
|
22
22
|
"classnames": "^2.2.6",
|
|
23
23
|
"lodash": "^4.17.11",
|
|
24
24
|
"prop-types": "^15.6.2",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"react": "^16.8.1",
|
|
33
33
|
"react-dom": "^16.8.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "b0f7d4b985f02c4d3f830e8183c34bbe0ca8f199"
|
|
36
36
|
}
|
package/src/expander.jsx
CHANGED
|
@@ -34,27 +34,32 @@ export default withStyles(() => ({
|
|
|
34
34
|
height: 0,
|
|
35
35
|
overflow: 'hidden',
|
|
36
36
|
display: 'flex',
|
|
37
|
-
visibility: 'hidden'
|
|
37
|
+
visibility: 'hidden',
|
|
38
|
+
width: 0
|
|
38
39
|
},
|
|
39
40
|
enter: {
|
|
40
41
|
transition,
|
|
41
42
|
opacity: 1,
|
|
42
43
|
height: '25px',
|
|
44
|
+
width: 'auto',
|
|
43
45
|
visibility: 'visible'
|
|
44
46
|
},
|
|
45
47
|
enterDone: {
|
|
46
48
|
height: '25px',
|
|
47
|
-
visibility: 'visible'
|
|
49
|
+
visibility: 'visible',
|
|
50
|
+
width: 'auto'
|
|
48
51
|
},
|
|
49
52
|
exit: {
|
|
50
53
|
transition,
|
|
51
54
|
opacity: 0,
|
|
52
|
-
height:
|
|
53
|
-
visibility: 'visible'
|
|
55
|
+
height: 0,
|
|
56
|
+
visibility: 'visible',
|
|
57
|
+
width: 0
|
|
54
58
|
},
|
|
55
59
|
exitDone: {
|
|
56
60
|
opacity: 0,
|
|
57
61
|
visibility: 'hidden',
|
|
58
|
-
height:
|
|
62
|
+
height: 0,
|
|
63
|
+
width: 0
|
|
59
64
|
}
|
|
60
65
|
}))(Expander);
|