@antscorp/ama-ui 0.0.40 → 0.0.42

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/index.d.ts CHANGED
@@ -68,7 +68,9 @@ import { ModalProps } from 'antd-mobile';
68
68
  import { ModalShowProps } from 'antd-mobile';
69
69
  import { NavBarProps as NavBarProps_2 } from 'antd-mobile';
70
70
  import { PageIndicatorProps as PageIndicatorProps_2 } from 'antd-mobile';
71
+ import { PasscodeInputProps as PasscodeInputProps_2 } from 'antd-mobile';
71
72
  import { PickerProps as PickerProps_2 } from 'antd-mobile';
73
+ import { PickerViewProps as PickerViewProps_2 } from 'antd-mobile';
72
74
  import { Popover as Popover_2 } from 'antd-mobile';
73
75
  import { PopoverProps as PopoverProps_2 } from 'antd-mobile';
74
76
  import { PopupProps as PopupProps_2 } from 'antd-mobile';
@@ -415,11 +417,22 @@ export declare interface PageIndicatorProps extends PageIndicatorProps_2 {
415
417
  optional?: string;
416
418
  }
417
419
 
420
+ export declare const PasscodeInput: default_2.FC<PasscodeInputProps>;
421
+
422
+ export declare interface PasscodeInputProps extends PasscodeInputProps_2 {
423
+ /** An optional prop */
424
+ optional?: string;
425
+ }
426
+
418
427
  export declare const Picker: default_2.FC<PickerProps>;
419
428
 
420
429
  export declare interface PickerProps extends PickerProps_2 {
421
430
  }
422
431
 
432
+ export declare const PickerView: (props: PickerViewProps) => JSX_2.Element;
433
+
434
+ export declare type PickerViewProps = Pick<PickerViewProps_2, 'className' | 'columns' | 'defaultValue' | 'mouseWheel' | 'onChange' | 'renderLabel' | 'value' | 'loading' | 'loadingContent'>;
435
+
423
436
  export declare const Popover: default_2.FC<PopoverProps> & {
424
437
  Menu: typeof Popover_2.Menu;
425
438
  };
package/package.json CHANGED
@@ -1,88 +1,88 @@
1
- {
2
- "name": "@antscorp/ama-ui",
3
- "version": "0.0.40",
4
- "main": "dist/ama-ui.es.js",
5
- "module": "dist/ama-ui.es.js",
6
- "types": "dist/index.d.ts",
7
- "sideEffects": false,
8
- "type": "module",
9
- "files": [
10
- "dist"
11
- ],
12
- "scripts": {
13
- "prepublishOnly": "yarn && yarn build",
14
- "dev": "vite",
15
- "build": "yarn clean && vite build --config vite.config.build.ts",
16
- "clean": "rimraf dist",
17
- "lint": "eslint .",
18
- "preview": "vite preview",
19
- "test": "vitest",
20
- "storybook": "storybook dev -p 6006",
21
- "build-storybook": "storybook build"
22
- },
23
- "dependencies": {
24
- "antd-mobile": "^5.38.1",
25
- "clsx": "^2.1.1",
26
- "lucide-react": "^0.475.0",
27
- "react": "^18.3.1",
28
- "react-dom": "^18.3.1",
29
- "styled-components": "^6.1.14",
30
- "tailwindcss-animate": "^1.0.7"
31
- },
32
- "devDependencies": {
33
- "@chromatic-com/storybook": "^3.2.4",
34
- "@eslint/js": "^9.17.0",
35
- "@rollup/plugin-terser": "^0.4.4",
36
- "@storybook/addon-docs": "^8.5.6",
37
- "@storybook/addon-essentials": "^8.5.8",
38
- "@storybook/addon-interactions": "^8.5.6",
39
- "@storybook/addon-onboarding": "^8.5.6",
40
- "@storybook/blocks": "^8.5.6",
41
- "@storybook/manager-api": "^8.5.7",
42
- "@storybook/react": "^8.5.6",
43
- "@storybook/react-vite": "^8.5.6",
44
- "@storybook/test": "^8.5.6",
45
- "@storybook/theming": "^8.5.7",
46
- "@tailwindcss/cli": "^4.0.0",
47
- "@tailwindcss/vite": "^4.0.0",
48
- "@testing-library/dom": "^10.4.0",
49
- "@testing-library/jest-dom": "^6.6.3",
50
- "@testing-library/react": "^16.2.0",
51
- "@types/node": "^22.10.10",
52
- "@types/react": "^18.3.18",
53
- "@types/react-dom": "^18.3.5",
54
- "@vitejs/plugin-react": "^4.3.4",
55
- "autoprefixer": "^10.4.20",
56
- "eslint": "^9.17.0",
57
- "eslint-plugin-react-hooks": "^5.0.0",
58
- "eslint-plugin-react-refresh": "^0.4.16",
59
- "eslint-plugin-storybook": "^0.11.3",
60
- "globals": "^15.14.0",
61
- "jest": "^29.7.0",
62
- "js-beautify": "^1.15.3",
63
- "postcss": "^8.5.1",
64
- "react-docgen-typescript": "^2.2.2",
65
- "react-docgen-typescript-plugin": "^1.0.8",
66
- "rollup-plugin-terser": "^7.0.2",
67
- "rollup-plugin-visualizer": "^5.14.0",
68
- "sass-embedded": "^1.83.4",
69
- "storybook": "^8.5.6",
70
- "tailwindcss": "3.4.17",
71
- "ts-dedent": "^2.2.0",
72
- "typescript": "~5.6.2",
73
- "typescript-eslint": "^8.18.2",
74
- "vite": "^6.0.5",
75
- "vite-plugin-css-injected-by-js": "^3.5.2",
76
- "vite-plugin-dts": "^4.5.0",
77
- "vitest": "^3.0.4"
78
- },
79
- "peerDependencies": {
80
- "react": ">=16.9.0",
81
- "react-dom": ">=16.9.0"
82
- },
83
- "eslintConfig": {
84
- "extends": [
85
- "plugin:storybook/recommended"
86
- ]
87
- }
88
- }
1
+ {
2
+ "name": "@antscorp/ama-ui",
3
+ "version": "0.0.42",
4
+ "main": "dist/ama-ui.es.js",
5
+ "module": "dist/ama-ui.es.js",
6
+ "types": "dist/index.d.ts",
7
+ "sideEffects": false,
8
+ "type": "module",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "scripts": {
13
+ "prepublishOnly": "yarn && yarn build",
14
+ "dev": "vite",
15
+ "build": "yarn clean && vite build --config vite.config.build.ts",
16
+ "clean": "rimraf dist",
17
+ "lint": "eslint .",
18
+ "preview": "vite preview",
19
+ "test": "vitest",
20
+ "storybook": "storybook dev -p 6006",
21
+ "build-storybook": "storybook build"
22
+ },
23
+ "dependencies": {
24
+ "antd-mobile": "^5.38.1",
25
+ "clsx": "^2.1.1",
26
+ "lucide-react": "^0.475.0",
27
+ "react": "^18.3.1",
28
+ "react-dom": "^18.3.1",
29
+ "styled-components": "^6.1.14",
30
+ "tailwindcss-animate": "^1.0.7"
31
+ },
32
+ "devDependencies": {
33
+ "@chromatic-com/storybook": "^3.2.4",
34
+ "@eslint/js": "^9.17.0",
35
+ "@rollup/plugin-terser": "^0.4.4",
36
+ "@storybook/addon-docs": "^8.5.6",
37
+ "@storybook/addon-essentials": "^8.5.8",
38
+ "@storybook/addon-interactions": "^8.5.6",
39
+ "@storybook/addon-onboarding": "^8.5.6",
40
+ "@storybook/blocks": "^8.5.6",
41
+ "@storybook/manager-api": "^8.5.7",
42
+ "@storybook/react": "^8.5.6",
43
+ "@storybook/react-vite": "^8.5.6",
44
+ "@storybook/test": "^8.5.6",
45
+ "@storybook/theming": "^8.5.7",
46
+ "@tailwindcss/cli": "^4.0.0",
47
+ "@tailwindcss/vite": "^4.0.0",
48
+ "@testing-library/dom": "^10.4.0",
49
+ "@testing-library/jest-dom": "^6.6.3",
50
+ "@testing-library/react": "^16.2.0",
51
+ "@types/node": "^22.10.10",
52
+ "@types/react": "^18.3.18",
53
+ "@types/react-dom": "^18.3.5",
54
+ "@vitejs/plugin-react": "^4.3.4",
55
+ "autoprefixer": "^10.4.20",
56
+ "eslint": "^9.17.0",
57
+ "eslint-plugin-react-hooks": "^5.0.0",
58
+ "eslint-plugin-react-refresh": "^0.4.16",
59
+ "eslint-plugin-storybook": "^0.11.3",
60
+ "globals": "^15.14.0",
61
+ "jest": "^29.7.0",
62
+ "js-beautify": "^1.15.3",
63
+ "postcss": "^8.5.1",
64
+ "react-docgen-typescript": "^2.2.2",
65
+ "react-docgen-typescript-plugin": "^1.0.8",
66
+ "rollup-plugin-terser": "^7.0.2",
67
+ "rollup-plugin-visualizer": "^5.14.0",
68
+ "sass-embedded": "^1.83.4",
69
+ "storybook": "^8.5.6",
70
+ "tailwindcss": "3.4.17",
71
+ "ts-dedent": "^2.2.0",
72
+ "typescript": "~5.6.2",
73
+ "typescript-eslint": "^8.18.2",
74
+ "vite": "^6.0.5",
75
+ "vite-plugin-css-injected-by-js": "^3.5.2",
76
+ "vite-plugin-dts": "^4.5.0",
77
+ "vitest": "^3.0.4"
78
+ },
79
+ "peerDependencies": {
80
+ "react": ">=16.9.0",
81
+ "react-dom": ">=16.9.0"
82
+ },
83
+ "eslintConfig": {
84
+ "extends": [
85
+ "plugin:storybook/recommended"
86
+ ]
87
+ }
88
+ }