@marwes-ui/react 1.0.4 → 1.1.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/ssr.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { MarwesThemeScriptOptions, MarwesThemeStyleOptions } from '@marwes-ui/core';
3
+ export { MarwesThemeScriptOptions, MarwesThemeStyleOptions } from '@marwes-ui/core';
4
+
5
+ type MarwesThemeScriptProps = MarwesThemeScriptOptions & {
6
+ nonce?: string;
7
+ };
8
+ type MarwesThemeStyleProps = MarwesThemeStyleOptions & {
9
+ nonce?: string;
10
+ };
11
+ declare function createMarwesThemeScript(options?: MarwesThemeScriptOptions): string;
12
+ declare function createMarwesThemeStyle(options?: MarwesThemeStyleOptions): string;
13
+ declare function MarwesThemeScript({ nonce, ...options }: MarwesThemeScriptProps): react_jsx_runtime.JSX.Element;
14
+ declare function MarwesThemeStyle({ nonce, ...options }: MarwesThemeStyleProps): react_jsx_runtime.JSX.Element;
15
+
16
+ export { MarwesThemeScript, type MarwesThemeScriptProps, MarwesThemeStyle, type MarwesThemeStyleProps, createMarwesThemeScript, createMarwesThemeStyle };
package/dist/ssr.js ADDED
@@ -0,0 +1,3 @@
1
+ export { MarwesThemeScript, MarwesThemeStyle, createMarwesThemeScript, createMarwesThemeStyle } from './chunk-VFY2GW62.js';
2
+ //# sourceMappingURL=ssr.js.map
3
+ //# sourceMappingURL=ssr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ssr.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marwes-ui/react",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,14 +14,18 @@
14
14
  ".": {
15
15
  "types": "./dist/index.d.ts",
16
16
  "default": "./dist/index.js"
17
+ },
18
+ "./ssr": {
19
+ "types": "./dist/ssr.d.ts",
20
+ "default": "./dist/ssr.js"
17
21
  }
18
22
  },
19
23
  "files": [
20
24
  "dist"
21
25
  ],
22
26
  "dependencies": {
23
- "@marwes-ui/core": "1.0.4",
24
- "@marwes-ui/presets": "1.0.4"
27
+ "@marwes-ui/core": "1.1.0",
28
+ "@marwes-ui/presets": "1.1.0"
25
29
  },
26
30
  "peerDependencies": {
27
31
  "react": ">=18",
@@ -43,7 +47,7 @@
43
47
  "build": "tsup",
44
48
  "typecheck": "tsc -p tsconfig.json --noEmit",
45
49
  "test:typecheck": "tsc -p tsconfig.test.json --noEmit",
46
- "test": "vitest run",
50
+ "test": "NODE_ENV=test vitest run",
47
51
  "clean": "rimraf dist",
48
52
  "lint": "biome lint .",
49
53
  "format": "biome format --write ."