vira 0.7.1 → 0.7.2

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.
@@ -1,4 +1,5 @@
1
1
  /** This file is automatically updated by update-icon-exports.ts */
2
+ export * from './icon-color-css-vars';
2
3
  export * from './icon-svg';
3
4
  export * from './icon-svgs/element-16.icon';
4
5
  export * from './icon-svgs/element-24.icon';
@@ -5,6 +5,7 @@ import { Options24Icon } from './icon-svgs/options-24.icon';
5
5
  import { StatusFailure24Icon } from './icon-svgs/status-failure-24.icon';
6
6
  import { StatusInProgress24Icon } from './icon-svgs/status-in-progress-24.icon';
7
7
  import { StatusSuccess24Icon } from './icon-svgs/status-success-24.icon';
8
+ export * from './icon-color-css-vars';
8
9
  export * from './icon-svg';
9
10
  export * from './icon-svgs/element-16.icon';
10
11
  export * from './icon-svgs/element-24.icon';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",
@@ -30,7 +30,9 @@
30
30
  "scripts": {
31
31
  "build": "npm run compile && virmator frontend build",
32
32
  "compile": "virmator compile",
33
+ "prepublishOnly": "cd ../scripts && npm run publish:pre",
33
34
  "preview": "virmator frontend preview",
35
+ "postpublish": "cd ../scripts && npm run publish:post",
34
36
  "start": "virmator frontend",
35
37
  "test": "virmator test-web",
36
38
  "test:all": "npm test",
@@ -38,14 +40,14 @@
38
40
  "test:docs": "virmator code-in-markdown check"
39
41
  },
40
42
  "dependencies": {
41
- "element-vir": "^16.0.3",
43
+ "element-vir": "^16.3.0",
42
44
  "lit-css-vars": "^3.0.0",
43
45
  "spa-router-vir": "^2.1.1",
44
46
  "type-fest": "^4.0.0"
45
47
  },
46
48
  "devDependencies": {
47
- "@augment-vir/browser-testing": "^16.0.1",
48
- "@augment-vir/node-js": "^16.0.1",
49
+ "@augment-vir/browser-testing": "^16.2.0",
50
+ "@augment-vir/node-js": "^16.2.0",
49
51
  "@open-wc/testing": "^3.2.0",
50
52
  "@types/chai": "^4.3.5",
51
53
  "@types/mocha": "^10.0.1",
@@ -0,0 +1,7 @@
1
+ html,
2
+ body {
3
+ margin: 0;
4
+ padding: 0;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
@@ -1 +0,0 @@
1
- export declare function createElementBookUrl(...urlParts: ReadonlyArray<string>): string;
@@ -1,10 +0,0 @@
1
- import { isTruthy, joinUrlParts } from '@augment-vir/common';
2
- const potentialBasePath = '/vira';
3
- export function createElementBookUrl(...urlParts) {
4
- const hasBasePath = globalThis.location.pathname.startsWith(potentialBasePath);
5
- const allParts = [
6
- hasBasePath ? potentialBasePath : '',
7
- ...urlParts,
8
- ].filter(isTruthy);
9
- return joinUrlParts(...allParts);
10
- }