@va-scheduling/ui 0.0.0-stage → 0.1.0-dev.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.
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ require('@radix-ui/themes/tokens.css');
4
+ require('@va-scheduling/design-tokens/css');
5
+ var React = require('react');
6
+ var themes = require('@radix-ui/themes');
7
+
8
+ // appearance="inherit" follows the app's .dark class; grayColor="slate" matches the design-tokens base scale.
9
+ const ThemeProvider = ({ children }) => {
10
+ return (React.createElement(themes.Theme, { appearance: "inherit", grayColor: "slate", hasBackground: false }, children));
11
+ };
12
+
13
+ exports.ThemeProvider = ThemeProvider;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/components/theme-provider/ThemeProvider.tsx"],"sourcesContent":[null],"names":["Theme"],"mappings":";;;;;;;AAOA;AACA,MAAM,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAsB,KAAI;AACzD,IAAA,QACE,KAAA,CAAA,aAAA,CAACA,YAAK,IAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,OAAO,EAAC,aAAa,EAAE,KAAK,IAC/D,QAAQ,CACH;AAEZ;;"}
@@ -0,0 +1,2 @@
1
+ export { default as ThemeProvider } from "./theme-provider";
2
+ export type { ThemeProviderProps } from "./theme-provider";
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export interface ThemeProviderProps {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const ThemeProvider: ({ children }: ThemeProviderProps) => React.JSX.Element;
6
+ export default ThemeProvider;
@@ -0,0 +1,2 @@
1
+ export { default } from "./ThemeProvider";
2
+ export type { ThemeProviderProps } from "./ThemeProvider";
@@ -0,0 +1,3 @@
1
+ import '@radix-ui/themes/tokens.css';
2
+ import '@va-scheduling/design-tokens/css';
3
+ export * from './components';
@@ -0,0 +1,12 @@
1
+ import '@radix-ui/themes/tokens.css';
2
+ import '@va-scheduling/design-tokens/css';
3
+ import React from 'react';
4
+ import { Theme } from '@radix-ui/themes';
5
+
6
+ // appearance="inherit" follows the app's .dark class; grayColor="slate" matches the design-tokens base scale.
7
+ const ThemeProvider = ({ children }) => {
8
+ return (React.createElement(Theme, { appearance: "inherit", grayColor: "slate", hasBackground: false }, children));
9
+ };
10
+
11
+ export { ThemeProvider };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../src/components/theme-provider/ThemeProvider.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAOA;AACA,MAAM,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAsB,KAAI;AACzD,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,KAAK,IAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,OAAO,EAAC,aAAa,EAAE,KAAK,IAC/D,QAAQ,CACH;AAEZ;;"}
@@ -0,0 +1,2 @@
1
+ export { default as ThemeProvider } from "./theme-provider";
2
+ export type { ThemeProviderProps } from "./theme-provider";
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export interface ThemeProviderProps {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const ThemeProvider: ({ children }: ThemeProviderProps) => React.JSX.Element;
6
+ export default ThemeProvider;
@@ -0,0 +1,2 @@
1
+ export { default } from "./ThemeProvider";
2
+ export type { ThemeProviderProps } from "./ThemeProvider";
@@ -0,0 +1,3 @@
1
+ import '@radix-ui/themes/tokens.css';
2
+ import '@va-scheduling/design-tokens/css';
3
+ export * from './components';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+
3
+ interface ThemeProviderProps {
4
+ children: React.ReactNode;
5
+ }
6
+ declare const ThemeProvider: ({ children }: ThemeProviderProps) => React.JSX.Element;
7
+
8
+ export { ThemeProvider, type ThemeProviderProps };
package/package.json CHANGED
@@ -1,6 +1,48 @@
1
- {
2
- "name": "@va-scheduling/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@va-scheduling/ui",
3
+ "version": "0.1.0-dev.0",
4
+ "description": "A simple template for a custom React component library",
5
+ "scripts": {
6
+ "rollup": "rollup -c",
7
+ "prepublishOnly": "rollup -c"
8
+ },
9
+ "author": "Sean Afram",
10
+ "license": "ISC",
11
+ "devDependencies": {
12
+ "@rollup/plugin-commonjs": "^26.0.1",
13
+ "@rollup/plugin-node-resolve": "^15.2.3",
14
+ "@rollup/plugin-typescript": "^11.1.6",
15
+ "@types/react": "^18.3.5",
16
+ "react": "^18.3.1",
17
+ "react-dom": "^18.3.1",
18
+ "rollup": "^4.21.2",
19
+ "rollup-plugin-dts": "^6.1.1",
20
+ "typescript": "^5.6.2"
21
+ },
22
+ "main": "dist/cjs/index.js",
23
+ "module": "dist/esm/index.js",
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "sideEffects": [
28
+ "**/*.css",
29
+ "./dist/esm/index.js",
30
+ "./dist/cjs/index.js"
31
+ ],
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "import": "./dist/esm/index.js",
36
+ "require": "./dist/cjs/index.js"
37
+ }
38
+ },
39
+ "types": "dist/index.d.ts",
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "dependencies": {
44
+ "@radix-ui/themes": "^3.3.0",
45
+ "@va-scheduling/design-tokens": "^0.7.0",
46
+ "tslib": "^2.7.0"
47
+ }
48
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.