@paygreen/pgui 3.1.4 → 3.2.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.
Files changed (33) hide show
  1. package/dist/components/card-expandable/card-expandable.d.ts +3 -1
  2. package/dist/components/data-table/hooks/use-table-styling.d.ts +15 -15
  3. package/dist/components/field-wrapper/field-wrapper.d.ts +31 -21
  4. package/dist/components/ui/toast-info-icon.d.ts +1 -0
  5. package/dist/components/ui/toaster.d.ts +2 -1
  6. package/dist/foundations/form-controls/all-controls-section.d.ts +2 -0
  7. package/dist/foundations/form-controls/chakra-native-select.d.ts +6 -0
  8. package/dist/foundations/form-controls/constants.d.ts +4 -0
  9. package/dist/foundations/form-controls/sizes-section.d.ts +2 -0
  10. package/dist/foundations/form-controls/states-section.d.ts +2 -0
  11. package/dist/index.js +5 -5
  12. package/dist/index.mjs +3148 -2776
  13. package/dist/pgui.css +1 -1
  14. package/dist/styled-system.d.ts +3 -2
  15. package/dist/theme/recipes/button-recipe.d.ts +24 -0
  16. package/dist/theme/recipes/card-recipe.d.ts +7 -2
  17. package/dist/theme/recipes/index.d.ts +24 -0
  18. package/dist/theme/recipes/toast-recipe.d.ts +3 -0
  19. package/dist/theme/semanticTokens/colors.d.ts +43 -0
  20. package/dist/theme/semanticTokens/index.d.ts +80 -0
  21. package/dist/theme/semanticTokens/shadows.d.ts +42 -0
  22. package/dist/theme/tokens/colors.d.ts +35 -0
  23. package/dist/theme/tokens/font-weights.d.ts +35 -0
  24. package/dist/theme/tokens/index.d.ts +64 -0
  25. package/dist/welcome/charter-color.d.ts +2 -0
  26. package/dist/welcome/charter-section.d.ts +8 -0
  27. package/dist/welcome/charter-snapshot.d.ts +2 -0
  28. package/dist/welcome/charter-type-shape.d.ts +2 -0
  29. package/dist/welcome/graphic-charter.d.ts +2 -0
  30. package/dist/welcome/token-chip.d.ts +7 -0
  31. package/dist/welcome/welcome-hero.d.ts +2 -0
  32. package/package.json +27 -27
  33. package/src/components/select/select.css +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paygreen/pgui",
3
- "version": "3.1.4",
3
+ "version": "3.2.0",
4
4
  "description": "core ui for paygreen apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "test": "vitest --run --coverage",
14
- "test:chromium": "vitest --browser=chromium",
14
+ "test:chromium": "vitest --run --browser=chromium",
15
15
  "test:firefox": "vitest --browser=firefox",
16
16
  "test:webkit": "vitest --browser=webkit",
17
17
  "storybook": "storybook dev -p 6006",
@@ -36,43 +36,43 @@
36
36
  "author": "",
37
37
  "license": "ISC",
38
38
  "dependencies": {
39
- "@chakra-ui/react": "^3.36.1",
39
+ "@chakra-ui/react": "^3.37.0",
40
40
  "@emotion/react": "^11.14.0",
41
41
  "@emotion/styled": "^11.14.1",
42
42
  "@fontsource-variable/geist": "^5.3.0",
43
- "@internationalized/date": "^3.12.3",
43
+ "@internationalized/date": "^3.12.4",
44
44
  "@tanstack/react-table": "^8.21.3",
45
- "dayjs": "^1.11.21",
46
- "libphonenumber-js": "1.13.10",
45
+ "dayjs": "^1.11.23",
46
+ "libphonenumber-js": "1.13.12",
47
47
  "next-themes": "^0.4.6",
48
48
  "react": "^18.0.0 || ^19.0.0",
49
49
  "react-dom": "^18.0.0 || ^19.0.0",
50
50
  "react-icons": "^5.7.0",
51
- "react-phone-number-input": "^3.4.16",
51
+ "react-phone-number-input": "^3.4.18",
52
52
  "react-select": "^5.10.2",
53
53
  "shiki": "^3.20.0",
54
- "use-mask-input": "^3.7.4"
54
+ "use-mask-input": "^3.14.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@storybook/addon-a11y": "^10.5.8",
58
- "@storybook/addon-docs": "^10.5.8",
59
- "@storybook/addon-links": "^10.5.8",
60
- "@storybook/addon-themes": "^10.5.8",
61
- "@storybook/addon-vitest": "^10.5.8",
62
- "@storybook/builder-vite": "^10.5.8",
63
- "@storybook/react-vite": "^10.5.8",
64
- "@testing-library/react": "^16.3.2",
57
+ "@storybook/addon-a11y": "^10.6.0",
58
+ "@storybook/addon-docs": "^10.6.0",
59
+ "@storybook/addon-links": "^10.6.0",
60
+ "@storybook/addon-themes": "^10.6.0",
61
+ "@storybook/addon-vitest": "^10.6.0",
62
+ "@storybook/builder-vite": "^10.6.0",
63
+ "@storybook/react-vite": "^10.6.0",
64
+ "@testing-library/react": "^16.3.3",
65
65
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
66
66
  "@types/node": "^24.13.3",
67
67
  "@types/react": "^19.2.18",
68
- "@types/react-dom": "^19.2.4",
68
+ "@types/react-dom": "^19.2.5",
69
69
  "@typescript-eslint/eslint-plugin": "^7.0.0",
70
70
  "@typescript-eslint/parser": "^7.0.0",
71
71
  "@vitejs/plugin-react": "^4.5.2",
72
- "@vitest/browser": "^4.1.10",
73
- "@vitest/browser-playwright": "^4.1.10",
74
- "@vitest/coverage-istanbul": "^4.1.10",
75
- "@vitest/coverage-v8": "^4.1.10",
72
+ "@vitest/browser": "^4.1.11",
73
+ "@vitest/browser-playwright": "^4.1.11",
74
+ "@vitest/coverage-istanbul": "^4.1.11",
75
+ "@vitest/coverage-v8": "^4.1.11",
76
76
  "eslint": "^8.2.0",
77
77
  "eslint-config-airbnb": "^19.0.4",
78
78
  "eslint-config-airbnb-typescript": "^18.0.0",
@@ -80,7 +80,7 @@
80
80
  "eslint-plugin-import": "^2.32.0",
81
81
  "eslint-plugin-jsx-a11y": "^6.10.2",
82
82
  "eslint-plugin-react": "^7.37.5",
83
- "eslint-plugin-storybook": "^10.5.8",
83
+ "eslint-plugin-storybook": "^10.6.0",
84
84
  "globals": "^16.2.0",
85
85
  "husky": "^9.1.7",
86
86
  "jsdom": "^29.1.1",
@@ -88,22 +88,22 @@
88
88
  "playwright": "^1.62.1",
89
89
  "prettier": "^3.9.6",
90
90
  "prop-types": "^15.8.1",
91
- "storybook": "^10.5.8",
91
+ "storybook": "^10.6.0",
92
92
  "typescript": "^5.9.3",
93
93
  "vite-plugin-dts": "^4.5.4",
94
94
  "vite-tsconfig-paths": "^5.1.4",
95
- "vitest": "^4.1.10"
95
+ "vitest": "^4.1.11"
96
96
  },
97
97
  "peerDependencies": {
98
- "@chakra-ui/react": "^3.36.1",
98
+ "@chakra-ui/react": "^3.37.0",
99
99
  "@emotion/react": "^11.14.0",
100
100
  "@emotion/styled": "^11.14.1",
101
101
  "@tanstack/react-table": "^8.21.3",
102
102
  "react": "^18.0.0 || ^19.0.0",
103
103
  "react-dom": "^18.0.0 || ^19.0.0",
104
- "react-phone-number-input": "^3.4.16",
104
+ "react-phone-number-input": "^3.4.18",
105
105
  "react-select": "^5.10.2",
106
- "use-mask-input": "^3.7.4"
106
+ "use-mask-input": "^3.14.1"
107
107
  },
108
108
  "peerDependenciesMeta": {
109
109
  "@chakra-ui/react": {
@@ -122,6 +122,10 @@
122
122
  background-color: var(--chakra-colors-danger-muted) !important;
123
123
  }
124
124
 
125
+ .select-custom__menu-notice {
126
+ color: var(--chakra-colors-fg-muted) !important;
127
+ }
128
+
125
129
  .select-custom__indicator svg {
126
130
  cursor: pointer;
127
131
  width: 15px;