@1money/component-ui 0.0.96 → 0.0.97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1money/component-ui",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "description": "React Components based on primereact for 1money front-end projects",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -429,6 +429,8 @@
429
429
  "lint:style": "stylelint \"src/**/*.{css,less,scss,sass}\" --allow-empty-input",
430
430
  "lint:style_fix": "stylelint \"src/**/*.{css,less,scss,sass}\" --fix --allow-empty-input",
431
431
  "lint:commit": "commitlint -e $HUSKY_GIT_PARAMS",
432
+ "security:scan": "./scripts/security-scan.sh",
433
+ "security:canary": "./scripts/security-scan.sh --canary",
432
434
  "new": "omni new",
433
435
  "prebuild": "pnpm build:mcp-index",
434
436
  "build": "omni build",
@@ -163,6 +163,12 @@
163
163
  "source": "stories",
164
164
  "compilable": false
165
165
  },
166
+ "0c861366a4b23787b7cfd793c5de3014d96e85ed7eebecee81bfcc11cf90cb62": {
167
+ "title": "Clearable Field",
168
+ "code": "<ProForm\n {...args}\n initialValues={{ address: '0x1234abcd' }}\n onFinish={(values) => {\n args.onFinish?.(values);\n alert(JSON.stringify(values, null, 2));\n }}\n >\n <ProFormText\n name=\"address\"\n label=\"Wallet address\"\n placeholder=\"Enter address\"\n fieldProps={{ allowClear: true }}\n />\n </ProForm>",
169
+ "source": "stories",
170
+ "compilable": false
171
+ },
166
172
  "0c865e04e29af2a17146034e78e156e8271e4c6700f4b8d431d67f0ba04a6d6a": {
167
173
  "title": "Canonical usage",
168
174
  "code": "import {\n ProForm,\n ProFormText,\n ProFormSelect,\n DialogForm,\n QueryFilter,\n} from '@1money/component-ui';\n// or\nimport { ProForm, ProFormText } from '@1money/component-ui/ProForm';",
@@ -8456,6 +8456,10 @@
8456
8456
  "hash": "d9c8c640f134945ee1c690fc09f249d48531b5e05729faa4795d7411a8b3bc4e",
8457
8457
  "source": "stories"
8458
8458
  },
8459
+ {
8460
+ "hash": "0c861366a4b23787b7cfd793c5de3014d96e85ed7eebecee81bfcc11cf90cb62",
8461
+ "source": "stories"
8462
+ },
8459
8463
  {
8460
8464
  "hash": "376f33e3d6f965eddd80993afe2207b0350adc6c32f0649c8b9255a0de0f3ba4",
8461
8465
  "source": "stories"