@neovici/cosmoz-utils 6.5.0 → 6.6.0

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/dist/index.d.ts CHANGED
@@ -23,4 +23,6 @@ import * as Template from './template';
23
23
  import * as DateUtils from './date';
24
24
  import * as Money from './money';
25
25
  export { hauntedPolymer, Template, DateUtils, mixin, Money, DateUtils as Date };
26
- export * from './tagged';
26
+ import { tagged } from './tagged';
27
+ export { tagged, tagged as css };
28
+ export * from './sheet';
package/dist/index.js CHANGED
@@ -31,4 +31,6 @@ import * as DateUtils from './date';
31
31
  import * as Money from './money';
32
32
  // TODO remove deprecated Date export [issue #34]
33
33
  export { hauntedPolymer, Template, DateUtils, mixin, Money, DateUtils as Date };
34
- export * from './tagged';
34
+ import { tagged } from './tagged';
35
+ export { tagged, tagged as css };
36
+ export * from './sheet';
@@ -0,0 +1 @@
1
+ export declare const sheet: (...styles: string[]) => CSSStyleSheet;
package/dist/sheet.js ADDED
@@ -0,0 +1,5 @@
1
+ export const sheet = (...styles) => {
2
+ const cs = new CSSStyleSheet();
3
+ cs.replaceSync(styles.join(''));
4
+ return cs;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-utils",
3
- "version": "6.5.0",
3
+ "version": "6.6.0",
4
4
  "description": "Date, money and template management functions commonly needed in Cosmoz views.",
5
5
  "keywords": [
6
6
  "polymer",