vira 28.14.0 → 28.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vira",
3
- "version": "28.14.0",
3
+ "version": "28.16.0",
4
4
  "description": "A simple and highly versatile design system using element-vir.",
5
5
  "keywords": [
6
6
  "design",
@@ -41,14 +41,13 @@
41
41
  "@augment-vir/assert": "^31.57.3",
42
42
  "@augment-vir/common": "^31.57.3",
43
43
  "@augment-vir/web": "^31.57.3",
44
- "colorjs.io": "0.5.2",
44
+ "colorjs.io": "^0.6.0",
45
45
  "date-vir": "^8.1.0",
46
46
  "device-navigation": "^4.5.5",
47
47
  "lit-css-vars": "^3.0.11",
48
48
  "observavir": "^2.3.0",
49
49
  "page-active": "^1.0.3",
50
50
  "spa-router-vir": "^6.4.1",
51
- "theme-vir": "^28.14.0",
52
51
  "type-fest": "^5.3.1",
53
52
  "typed-event-target": "^4.1.0"
54
53
  },
@@ -62,13 +61,15 @@
62
61
  "esbuild": "^0.27.2",
63
62
  "istanbul-smart-text-reporter": "^1.1.5",
64
63
  "markdown-code-example-inserter": "^3.0.3",
64
+ "theme-vir": "^28.15.3",
65
65
  "typedoc": "^0.28.15",
66
66
  "typescript": "5.9.3",
67
67
  "vite": "^7.3.0",
68
68
  "vite-tsconfig-paths": "^6.0.3"
69
69
  },
70
70
  "peerDependencies": {
71
- "element-vir": "^26.9.1"
71
+ "element-vir": "^26.9.1",
72
+ "theme-vir": ">=28"
72
73
  },
73
74
  "engines": {
74
75
  "node": ">=22"
@@ -1,17 +0,0 @@
1
- import ColorImport from 'colorjs.io';
2
- export type { ColorTypes } from 'colorjs.io/types/src/color';
3
- export type { Format } from 'colorjs.io/types/src/space';
4
- /**
5
- * An individual color represented as a class. This is from the
6
- * [colorjs.io](https://www.npmjs.com/package/colorjs.io) package.
7
- *
8
- * @category Internal
9
- */
10
- export type Color = typeof ColorImport;
11
- /**
12
- * An individual color represented as a class. This is from the
13
- * [colorjs.io](https://www.npmjs.com/package/colorjs.io) package.
14
- *
15
- * @category Internal
16
- */
17
- export declare const Color: Color;
@@ -1,8 +0,0 @@
1
- import ColorImport from 'colorjs.io';
2
- /**
3
- * An individual color represented as a class. This is from the
4
- * [colorjs.io](https://www.npmjs.com/package/colorjs.io) package.
5
- *
6
- * @category Internal
7
- */
8
- export const Color = ColorImport;
@@ -1,2 +0,0 @@
1
- /** This file is automatically updated by update-index-exports.ts */
2
- export * from './colorjs-io.js';
@@ -1,2 +0,0 @@
1
- /** This file is automatically updated by update-index-exports.ts */
2
- export * from './colorjs-io.js';
@@ -1,14 +0,0 @@
1
- import { type Format } from 'colorjs.io/types/src/space';
2
- import { type ColorTypes } from '../re-exports/colorjs-io.js';
3
- /**
4
- * Asserts that the given color type is valid.
5
- *
6
- * @category Internal
7
- */
8
- export declare function getAssertedValidColor(input: ColorTypes | undefined): import("colorjs.io/types/index.js").default;
9
- /**
10
- * The colorjs format for CSS RGB colors.
11
- *
12
- * @category Internal
13
- */
14
- export declare const rgbCssColorFormat: Format;
@@ -1,32 +0,0 @@
1
- import { stringify } from '@augment-vir/common';
2
- import { Color } from '../re-exports/colorjs-io.js';
3
- /**
4
- * Asserts that the given color type is valid.
5
- *
6
- * @category Internal
7
- */
8
- export function getAssertedValidColor(input) {
9
- try {
10
- if (!input) {
11
- throw new Error('invalid empty color');
12
- }
13
- return new Color(input);
14
- }
15
- catch {
16
- throw new Error(`Invalid color: ${stringify(input)}`);
17
- }
18
- }
19
- /**
20
- * The colorjs format for CSS RGB colors.
21
- *
22
- * @category Internal
23
- */
24
- export const rgbCssColorFormat = {
25
- name: 'rgb',
26
- coords: [
27
- '<number>[0, 255]',
28
- '<number>[0, 255]',
29
- '<number>[0, 255]',
30
- ],
31
- commas: true,
32
- };