@carbonorm/carbonreact 3.2.4 → 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.
- package/compileValidSQL.tsx +85 -0
- package/dist/CarbonReact.d.ts +1 -0
- package/dist/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +10 -4
- package/src/CarbonReact.tsx +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3880,6 +3880,9 @@ var CarbonReact = (_a = /** @class */ (function (_super) {
|
|
|
3880
3880
|
* components' tend to be shorter syntactically and bonus points if it's stateless.
|
|
3881
3881
|
**/
|
|
3882
3882
|
}
|
|
3883
|
+
class_1.getState = function () {
|
|
3884
|
+
return CarbonReact.instance.state;
|
|
3885
|
+
};
|
|
3883
3886
|
class_1.prototype.shouldComponentUpdate = function (nextProps, nextState, _nextContext) {
|
|
3884
3887
|
changed(this.constructor.name + ' (DigApi)', 'props', this.props, nextProps);
|
|
3885
3888
|
changed(this.constructor.name + ' (DigApi)', 'state', this.state, nextState);
|