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.
- package/dist/components/config_editor.d.ts +1 -1
- package/dist/components/config_editor.d.ts.map +1 -1
- package/dist/components/config_editor.js +1 -1
- package/dist/components/config_viewer.d.ts +1 -1
- package/dist/components/config_viewer.d.ts.map +1 -1
- package/dist/components/config_viewer.js +1 -1
- package/dist/components/example_component.js +1 -1
- package/package.json +1 -1
- package/src/components/config_editor.stories.tsx +1 -1
- package/src/components/config_editor.tsx +2 -2
- package/src/components/config_viewer.stories.tsx +1 -1
- package/src/components/config_viewer.tsx +2 -2
- package/src/components/example_component.tsx +1 -1
|
@@ -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,
|
|
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 '
|
|
5
|
+
import { cn } from '../lib/utils';
|
|
6
6
|
import { RefreshCw, Save } from 'lucide-react';
|
|
7
7
|
/**
|
|
8
8
|
* Config editor component
|
|
@@ -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,
|
|
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 '
|
|
5
|
+
import { cn } from '../lib/utils';
|
|
6
6
|
import { Pencil, CheckCircle2, XCircle } from 'lucide-react';
|
|
7
7
|
/**
|
|
8
8
|
* Config viewer component
|
package/package.json
CHANGED
|
@@ -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 '
|
|
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 '
|
|
6
|
-
import type { ConfigProvider } from '
|
|
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 '
|
|
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 '
|
|
6
|
-
import type { ConfigProvider } from '
|
|
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
|
/**
|