@provex/components 1.2.3 → 1.2.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.
Files changed (2) hide show
  1. package/package.json +17 -23
  2. package/src/index.ts +0 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provex/components",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Shared theme-agnostic React UI primitives for Provex apps",
5
5
  "type": "module",
6
6
  "repository": {
@@ -8,29 +8,23 @@
8
8
  "url": "git+https://github.com/provex-tech/monorepo.git",
9
9
  "directory": "packages/components"
10
10
  },
11
- "main": "src/index.ts",
12
- "types": "src/index.ts",
11
+ "main": "./dist/index.cjs",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
13
14
  "exports": {
14
- ".": "./src/index.ts",
15
- "./url-state": "./src/useUrlState.ts"
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js",
18
+ "require": "./dist/index.cjs"
19
+ },
20
+ "./url-state": {
21
+ "types": "./dist/useUrlState.d.ts",
22
+ "import": "./dist/useUrlState.js",
23
+ "require": "./dist/useUrlState.cjs"
24
+ }
16
25
  },
17
26
  "publishConfig": {
18
- "access": "restricted",
19
- "main": "dist/index.cjs",
20
- "module": "dist/index.js",
21
- "types": "dist/index.d.ts",
22
- "exports": {
23
- ".": {
24
- "types": "./dist/index.d.ts",
25
- "import": "./dist/index.js",
26
- "require": "./dist/index.cjs"
27
- },
28
- "./url-state": {
29
- "types": "./dist/useUrlState.d.ts",
30
- "import": "./dist/useUrlState.js",
31
- "require": "./dist/useUrlState.cjs"
32
- }
33
- }
27
+ "access": "restricted"
34
28
  },
35
29
  "files": [
36
30
  "dist",
@@ -42,7 +36,7 @@
42
36
  },
43
37
  "dependencies": {
44
38
  "@iconify/react": "^5.2.0",
45
- "@provex/utils": "workspace:*"
39
+ "@provex/utils": "1.2.4"
46
40
  },
47
41
  "peerDependencies": {
48
42
  "@chakra-ui/react": "^2.0.0 || ^3.0.0",
@@ -70,4 +64,4 @@
70
64
  "typescript": "^5.9.2",
71
65
  "viem": "^2.40.2"
72
66
  }
73
- }
67
+ }
package/src/index.ts DELETED
@@ -1,32 +0,0 @@
1
- /**
2
- * @fileoverview Shared UI components for ZKP2P applications.
3
- *
4
- * This package provides reusable React components used by both the main UI
5
- * and the analytics dashboard. Components are designed to be:
6
- * - Theme-agnostic (accept color props from host app)
7
- * - Self-contained (minimal external dependencies)
8
- * - Accessible (semantic HTML, keyboard support)
9
- *
10
- * @remarks
11
- * Components requiring icons use Iconify. The host app should have
12
- * @iconify/react installed.
13
- *
14
- * @packageDocumentation
15
- */
16
-
17
- export { Card, CardHorizontalRule } from "./Card";
18
- export { CurrencyIcon } from "./CurrencyIcon";
19
- export { DepositIdentifier, type DepositIdentifierProps } from "./DepositIdentifier";
20
- export { FlagIcon } from "./FlagIcon";
21
- export { MenuSelect, type MenuSelectProps, type MenuSelectOption, type MenuSelectColors, type MenuSelectTriggerProps } from "./MenuSelect";
22
- export { MultiSelectFilter, type MultiSelectFilterProps, type MultiSelectFilterColors, type ItemStat } from "./MultiSelectFilter";
23
- export { OverlappingStack, type OverlappingStackProps } from "./OverlappingStack";
24
- export { PaymentCurrencyCombo, type PaymentCurrencyComboColors } from "./PaymentCurrencyCombo";
25
- export { PaymentMethodIcon, type PaymentMethodIconProps, DEFAULT_PAYMENT_ICON, DEFAULT_PAYMENT_COLOR } from "./PaymentMethodIcon";
26
- export { Popover, PopoverHeader, PopoverSection, PopoverFooter, type PopoverProps, type PopoverColors, type PopoverHeaderProps } from "./Popover";
27
- export { ScrollContainer, injectScrollbarStyles, scrollbarClassName, type ScrollContainerProps } from "./ScrollContainer";
28
- export { Tooltip, type TooltipProps } from "./Tooltip";
29
- export { VersionBadge, type VersionBadgeColors, type Version } from "./VersionBadge";
30
-
31
- // URL state hook moved to subpath export to keep react-router-dom out
32
- // of default bundle. Consumers who need it: import from '@provex/components/url-state'.