formax_sgj-ui 1.0.3 → 1.0.4

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/docs/index.html CHANGED
@@ -209,7 +209,6 @@
209
209
  <script type="module">
210
210
  import { createApp, ref } from "vue";
211
211
  import FormaxUI, { componentList as list, componentGoList } from "formax-ui";
212
- debugger
213
212
  const FM = FormaxUI;
214
213
 
215
214
  const App = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formax_sgj-ui",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A cross-compatible Vue component library with metadata extraction",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -20,8 +20,8 @@ export const FormaxButton = (VueDemi as any).defineComponent({
20
20
  borderRadius: '4px',
21
21
  border: '1px solid #ccc',
22
22
  cursor: 'pointer',
23
- backgroundColor: props.type === 'primary' ? '#007bff' : props.type === 'danger' ? '#dc3545' : '#fff',
24
- color: props.type === 'primary' || props.type === 'danger' ? '#fff' : '#333',
23
+ backgroundColor: props.type === 'primary' ? '#007bff' : props.type === 'danger' ? '#dc3545' : '#007bff',
24
+ color: '#fff',
25
25
  fontSize: '14px'
26
26
  };
27
27
 
@@ -52,7 +52,7 @@ const meta: ComponentMeta = {
52
52
  label: { type: 'string', default: 'Button', description: '按钮文本' },
53
53
  type: { type: 'string', default: 'default', description: '按钮类型', options: ['default', 'primary', 'danger'] }
54
54
  },
55
- events: [ { name: 'click', description: '点击按钮时触发', payload: 'Event' } ],
55
+ events: [{ name: 'click', description: '点击按钮时触发', payload: 'Event' }],
56
56
  slots: ['default'],
57
57
  usage: `<FormaxButton type="primary" label="Click Me" @click="handleClick" />`,
58
58
  package: 'general',
@@ -62,5 +62,5 @@ const meta: ComponentMeta = {
62
62
  image: 'GCFormaxButton.png'
63
63
  };
64
64
 
65
- FormaxButton.__doc_meta__ = meta;
66
-
65
+ FormaxButton.__doc_meta__ = meta;
66
+