hazo_config 1.2.0 → 1.3.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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ConfigProvider } from '@/lib/types';
2
+ import type { ConfigProvider } from '../lib/types';
3
3
  /**
4
4
  * Config editor component props
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config_editor.d.ts","sourceRoot":"","sources":["../../src/components/config_editor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,cAAc,CAAA;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmLpD,CAAA"}
1
+ {"version":3,"file":"config_editor.d.ts","sourceRoot":"","sources":["../../src/components/config_editor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAGlD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,cAAc,CAAA;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmLpD,CAAA"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  // Config editor component for managing configuration
3
3
  // Provides a more advanced interface for editing configuration values
4
4
  import { useState, useEffect } from 'react';
5
- import { cn } from '@/lib/utils';
5
+ import { cn } from '../lib/utils';
6
6
  import { RefreshCw, Save } from 'lucide-react';
7
7
  /**
8
8
  * Config editor component
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ConfigProvider } from '@/lib/types';
2
+ import type { ConfigProvider } from '../lib/types';
3
3
  /**
4
4
  * Config viewer component props
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config_viewer.d.ts","sourceRoot":"","sources":["../../src/components/config_viewer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAGjD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,cAAc,CAAA;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwIpD,CAAA"}
1
+ {"version":3,"file":"config_viewer.d.ts","sourceRoot":"","sources":["../../src/components/config_viewer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAGlD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,EAAE,cAAc,CAAA;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwIpD,CAAA"}
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Config viewer component for displaying configuration data
3
3
  // Displays configuration sections and values in a readable format
4
4
  import { useState, useEffect } from 'react';
5
- import { cn } from '@/lib/utils';
5
+ import { cn } from '../lib/utils';
6
6
  import { Pencil, CheckCircle2, XCircle } from 'lucide-react';
7
7
  /**
8
8
  * Config viewer component
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from '@/lib/utils';
2
+ import { cn } from '../lib/utils';
3
3
  /**
4
4
  * Example component for demonstrating the component library setup
5
5
  * @param props - Component props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_config",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Config wrapper with error handling",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -3,7 +3,7 @@
3
3
 
4
4
  import type { Meta, StoryObj } from '@storybook/react'
5
5
  import { ConfigEditor } from './config_editor'
6
- import { MockConfigProvider } from '@/lib/mock_config_provider'
6
+ import { MockConfigProvider } from '../lib/mock_config_provider'
7
7
 
8
8
  /**
9
9
  * Sample configuration data for testing
@@ -2,8 +2,8 @@
2
2
  // Provides a more advanced interface for editing configuration values
3
3
 
4
4
  import React, { useState, useEffect } from 'react'
5
- import { cn } from '@/lib/utils'
6
- import type { ConfigProvider } from '@/lib/types'
5
+ import { cn } from '../lib/utils'
6
+ import type { ConfigProvider } from '../lib/types'
7
7
  import { RefreshCw, Save } from 'lucide-react'
8
8
 
9
9
  /**
@@ -3,7 +3,7 @@
3
3
 
4
4
  import type { Meta, StoryObj } from '@storybook/react'
5
5
  import { ConfigViewer } from './config_viewer'
6
- import { MockConfigProvider } from '@/lib/mock_config_provider'
6
+ import { MockConfigProvider } from '../lib/mock_config_provider'
7
7
 
8
8
  /**
9
9
  * Sample configuration data for testing
@@ -2,8 +2,8 @@
2
2
  // Displays configuration sections and values in a readable format
3
3
 
4
4
  import React, { useState, useEffect } from 'react'
5
- import { cn } from '@/lib/utils'
6
- import type { ConfigProvider } from '@/lib/types'
5
+ import { cn } from '../lib/utils'
6
+ import type { ConfigProvider } from '../lib/types'
7
7
  import { Pencil, CheckCircle2, XCircle } from 'lucide-react'
8
8
 
9
9
  /**
@@ -2,7 +2,7 @@
2
2
  // This is a placeholder component to demonstrate the setup
3
3
 
4
4
  import React from 'react'
5
- import { cn } from '@/lib/utils'
5
+ import { cn } from '../lib/utils'
6
6
 
7
7
  /**
8
8
  * Example component props interface