@podlite/editor-react 0.0.54 → 0.0.55

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.podlite CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  =head1 Upcoming
4
4
 
5
+ =head1 0.0.55
6
+
7
+ =item entry now imports C<Editor.css> and C<podlite-vars.css> as a side effect. Consumers get styled output from C<import Editor2 from '@podlite/editor-react'> without a separate CSS import. C<sideEffects> manifest already lists C<**/*.css>, so tree-shaking is unaffected
8
+
5
9
  =head1 0.0.54
6
10
 
7
11
  =item add C<exports> map (with CSS subpath conditions), top-level C<types>, and C<sideEffects: ["**/*.css"]> to package manifest
package/esm/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import './Editor.css';
2
+ import './podlite-vars.css';
1
3
  import Editor2 from './Editor';
2
4
  import WindowWrapper from './Wrapper';
3
5
  import HighlightedCode from './HighlightedCode';
package/esm/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ import './Editor.css';
2
+ import './podlite-vars.css';
1
3
  import Editor2 from './Editor';
2
4
  import WindowWrapper from './Wrapper';
3
5
  import HighlightedCode from './HighlightedCode';
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,UAAU,CAAA;AAC9B,OAAO,aAAa,MAAM,WAAW,CAAA;AACrC,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAA;AAC7B,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,CAAA;AACzC,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAA;AAI7C,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAA;AACrB,OAAO,oBAAoB,CAAA;AAC3B,OAAO,OAAO,MAAM,UAAU,CAAA;AAC9B,OAAO,aAAa,MAAM,WAAW,CAAA;AACrC,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAA;AAC7B,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,CAAA;AACzC,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAA;AAI7C,eAAe,OAAO,CAAA"}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import './Editor.css';
2
+ import './podlite-vars.css';
1
3
  import Editor2 from './Editor';
2
4
  import WindowWrapper from './Wrapper';
3
5
  import HighlightedCode from './HighlightedCode';
package/lib/index.js CHANGED
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HighlightedCode = exports.WindowWrapper = exports.Editor2 = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ require("./Editor.css");
6
+ require("./podlite-vars.css");
5
7
  const Editor_1 = (0, tslib_1.__importDefault)(require("./Editor"));
6
8
  exports.Editor2 = Editor_1.default;
7
9
  const Wrapper_1 = (0, tslib_1.__importDefault)(require("./Wrapper"));
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;AAAA,mEAA8B;AAGV,kBAHb,gBAAO,CAGa;AAF3B,qEAAqC;AAGX,wBAHnB,iBAAa,CAGmB;AAFvC,qFAA+C;AAGnB,0BAHrB,yBAAe,CAGqB;AAI3C,kBAAe,gBAAO,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";;;;AAAA,wBAAqB;AACrB,8BAA2B;AAC3B,mEAA8B;AAGV,kBAHb,gBAAO,CAGa;AAF3B,qEAAqC;AAGX,wBAHnB,iBAAa,CAGmB;AAFvC,qFAA+C;AAGnB,0BAHrB,yBAAe,CAGqB;AAI3C,kBAAe,gBAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podlite/editor-react",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Rich text editor React component for Podlite — syntax highlighting, live preview, CodeMirror 6",
5
5
  "main": "./lib/index.js",
6
6
  "exports": {