@availity/feedback 9.0.1 → 9.0.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,121 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [9.0.3](https://github.com/Availity/availity-react/compare/@availity/feedback@9.0.2...@availity/feedback@9.0.3) (2024-10-01)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@availity/hooks` updated to version `9.0.2`
10
+
11
+
12
+ ## [9.0.2](https://github.com/Availity/availity-react/compare/@availity/feedback@9.0.1...@availity/feedback@9.0.2) (2024-08-22)
13
+
14
+ ### Dependency Updates
15
+
16
+ * `@availity/block-ui` updated to version `9.0.1`
17
+ * `@availity/form` updated to version `9.0.1`
18
+ * `@availity/hooks` updated to version `9.0.1`
19
+ * `@availity/icon` updated to version `9.0.1`
20
+ * `@availity/select` updated to version `9.0.1`
21
+
22
+
23
+ # 1.0.0 (2024-08-22)
24
+
25
+ ### Dependency Updates
26
+
27
+ * `@availity/block-ui` updated to version `1.0.0`
28
+ * `@availity/form` updated to version `1.0.0`
29
+ * `@availity/hooks` updated to version `1.0.0`
30
+ * `@availity/icon` updated to version `0.1.0`
31
+ * `@availity/select` updated to version `1.0.0`
32
+
33
+ ### Bug Fixes
34
+
35
+ * eslint issues ([bc4d8e9](https://github.com/Availity/availity-react/commit/bc4d8e9252a37c067de3e5b15e583c4a3c06d6c5))
36
+ * **feature:** fixed the repository for npm ([7a13a9e](https://github.com/Availity/availity-react/commit/7a13a9ea4533c1565998ed6c28439d22016c285e))
37
+ * **feedback:** add validation to support organization dropdown ([0a85496](https://github.com/Availity/availity-react/commit/0a8549650a30700f0a7be6cc70d1b547d2e4645a))
38
+ * **feedback:** added destructering for event ([a8110d7](https://github.com/Availity/availity-react/commit/a8110d7c2d118d4e14fb142f6002790b635593c9))
39
+ * **feedback:** added ignore for eslint error ([453a533](https://github.com/Availity/availity-react/commit/453a533895c402033475a6872263bb9ba14bf198))
40
+ * **feedback:** added keyDown for tabbing out to close dropdown ([afa0ce8](https://github.com/Availity/availity-react/commit/afa0ce8d6c4116a1c6ede611025bf2c794129d8b))
41
+ * **feedback:** added submit on enter func and tests ([d642923](https://github.com/Availity/availity-react/commit/d642923eb0ca80ee5faff17e0f830c3e1e2181c7))
42
+ * **feedback:** disable button on submit to avoid log spam ([#1269](https://github.com/Availity/availity-react/issues/1269)) ([5cfc7b5](https://github.com/Availity/availity-react/commit/5cfc7b5be9de5d8e3705adef1374a1858c30a7cd))
43
+ * **feedback:** explicitly pass down supportZIndex to FeedbackModal ([0450fa4](https://github.com/Availity/availity-react/commit/0450fa4e612688211cc7c61ce0b0c8591dbb42ce))
44
+ * **feedback:** feedback smile was being submitted as obj expected string ([63246e1](https://github.com/Availity/availity-react/commit/63246e1fcf951bdab81de9715852394a966cf0af))
45
+ * **feedback:** fix deps aand update to new block ui ([#1290](https://github.com/Availity/availity-react/issues/1290)) ([5c13124](https://github.com/Availity/availity-react/commit/5c13124b4cbd0e22293f6150ac8166878140070d))
46
+ * **feedback:** fix deps and update to new block ui ([#1287](https://github.com/Availity/availity-react/issues/1287)) ([44bbb7a](https://github.com/Availity/availity-react/commit/44bbb7a277c5414a092e6435d8ec456eb6a5a34d))
47
+ * **feedback:** fix proptype of showSupport ([10e7400](https://github.com/Availity/availity-react/commit/10e7400b9b29fed8813e2802625e3a03c57c9249))
48
+ * **feedback:** fix typo ([9adfd42](https://github.com/Availity/availity-react/commit/9adfd42264eb64d57c976b6118e794a9be36a605))
49
+ * **feedback:** fixed focus issue for feedback in dropdowns ([378dec1](https://github.com/Availity/availity-react/commit/378dec16ee7a83cb6f078384a6bee642b32b6a21))
50
+ * **feedback:** fixed shift tab closing dropdown issue ([06aad38](https://github.com/Availity/availity-react/commit/06aad384f87e8e3a75fc469f30a0795cfee242ce))
51
+ * **feedback:** fixed story for feedback form and added type ([c0cd899](https://github.com/Availity/availity-react/commit/c0cd8998fe0dc17ae8462872955b4cce0164a9ad))
52
+ * **feedback:** fixed support for children ([6787df2](https://github.com/Availity/availity-react/commit/6787df20081450a63d732328152461af1aabcbb8))
53
+ * **feedback:** fixed toggle not returing boolean when called ([2873a73](https://github.com/Availity/availity-react/commit/2873a7301829be951a5458244d9c05c0dd0740f0))
54
+ * **feedback:** fixes description, version from previous release ([f0426d0](https://github.com/Availity/availity-react/commit/f0426d0fb0e5305de6d2ac9ae788fe12be80b887))
55
+ * **feedback:** modal no longer closes when tabbed ([7ce4f53](https://github.com/Availity/availity-react/commit/7ce4f53f7e86ba2aeee79db606338bca251c89ff))
56
+ * **feedback:** pass saml as type ([7c5b541](https://github.com/Availity/availity-react/commit/7c5b541a776ded872ed1633df6fb2eb1f0a6aafe))
57
+ * **feedback:** prevent supportIsOpen from being spread onto form ([9a0e275](https://github.com/Availity/availity-react/commit/9a0e2756e80e709a2594a629c879b0529771e870))
58
+ * **feedback:** remove face option test placeholder ([0ab9f09](https://github.com/Availity/availity-react/commit/0ab9f093ee8566acabd4f6ec2d645edb6595ea1a))
59
+ * **feedback:** removed console log ([df6b146](https://github.com/Availity/availity-react/commit/df6b146ae66560777d797c0399dbf9b2db189e47))
60
+ * **feedback:** removed validationSchema addons and added validationSchema Prop in form ([bd68d3f](https://github.com/Availity/availity-react/commit/bd68d3f5c1230c138e7b4da394ddc708da47ea5f))
61
+ * **feedback:** removed validationSchema and refactored form docs ([106b0b6](https://github.com/Availity/availity-react/commit/106b0b6546c767986027c791c85a95b58b09e37d))
62
+ * **feedback:** resolve lint errors ([295cb3e](https://github.com/Availity/availity-react/commit/295cb3e126b70d5204899fe265869752c9024eb2))
63
+ * **feedback:** spread formProps for more dev flexibility ([98bd160](https://github.com/Availity/availity-react/commit/98bd160ff6cdf8d9fddec7fdff206d75fe6b787e))
64
+ * **feedback:** update select dep ([12677ee](https://github.com/Availity/availity-react/commit/12677ee4817c7b0569987df42c1e8830a4a99bd2))
65
+ * fixed package-locks ([ddb49bb](https://github.com/Availity/availity-react/commit/ddb49bbffef1e4fae59f84fb283f5c4a422c8657))
66
+ * improve modal use case for FeedbackForm ([66dff23](https://github.com/Availity/availity-react/commit/66dff23e8b770e4143496c2d81683c46a1fc4fb4))
67
+ * re-created package-locks ([49726de](https://github.com/Availity/availity-react/commit/49726dea08a61201a44c7c63c14715dda195cc25))
68
+ * removed npmrc and added config to lerna for now creating locks ([efe82ab](https://github.com/Availity/availity-react/commit/efe82ab5a9a38cc8113d5cc71416f1ef347eb4c4))
69
+ * removed package-locks,added npmrc ignore,fixed react as hoisted dep ([4648319](https://github.com/Availity/availity-react/commit/4648319b1298096de2e3e37bf6246e5f169ace0e))
70
+ * set @availity/yup version ([47640d2](https://github.com/Availity/availity-react/commit/47640d2983821f8ead367221e57bcdd6be36d505))
71
+ * so many package-lock.json's ([8b5dc24](https://github.com/Availity/availity-react/commit/8b5dc24168f9eecae9f3f52da0b49e6da831a643))
72
+ * upgrade yup and update sb stories ([68aeafe](https://github.com/Availity/availity-react/commit/68aeafe4fd7d90d7c88dbb24636ba7770fe87aa3))
73
+
74
+
75
+ ### Code Refactoring
76
+
77
+ * **feedback:** updated feedback to use formik ([ef1919f](https://github.com/Availity/availity-react/commit/ef1919f504ac73942b6a45cdb2c8c641a5387cba))
78
+
79
+
80
+ * feat(feedback)!: switch to nx ([d2b5339](https://github.com/Availity/availity-react/commit/d2b533977e86479971dc7fb7b1edbc2bd90ba761))
81
+
82
+
83
+ ### Features
84
+
85
+ * **docs:** updated to use yarn and added readmes ([3b94748](https://github.com/Availity/availity-react/commit/3b947487ef18c6e11486ad39203882a11bc8a1e7))
86
+ * **feature:** added packages from av-react to public ([2c32cf3](https://github.com/Availity/availity-react/commit/2c32cf353f22847a5a293eecf800315a051646f3))
87
+ * **feature:** adding typescript support ([cfe57a2](https://github.com/Availity/availity-react/commit/cfe57a265b97ba9a053fb3bee54d2b054fa86e8f))
88
+ * **feedback:** accessibility and responsiveness updates ([69bb19d](https://github.com/Availity/availity-react/commit/69bb19d5d23a8fba01af748de541ada09acf6424))
89
+ * **feedback:** add customPlaceholder prop for aboutOptions ([07d9926](https://github.com/Availity/availity-react/commit/07d992601967c6fb6e62617520dbc468fe759d64))
90
+ * **feedback:** add modalHeaderProps ([5b5dc3c](https://github.com/Availity/availity-react/commit/5b5dc3c5808a3db2477af4c713f66b6dea6bee19))
91
+ * **feedback:** add staticFields prop to feedback form ([07161fc](https://github.com/Availity/availity-react/commit/07161fcf2706ed5b7367566b84b172410befd6dc))
92
+ * **feedback:** add support link ([c5e5c36](https://github.com/Availity/availity-react/commit/c5e5c36c9c6850c661beff281517b7aa0e028ad5))
93
+ * **feedback:** allow for overriding zindex value ([2274e24](https://github.com/Availity/availity-react/commit/2274e2417b8b818420e7acc33d328043e8a625b8))
94
+ * **feedback:** default to use avLogMessagesApiV2 to send feedback ([e06ff98](https://github.com/Availity/availity-react/commit/e06ff9806d8bd3095b0f6000947e9357f69c11c9))
95
+ * **feedback:** make button text dynamic based on showSupport prop ([72ac218](https://github.com/Availity/availity-react/commit/72ac218fc7ae82f05088bcb4c270e685d52ab90a))
96
+ * **feedback:** refactored feedback component with more options ([becab2e](https://github.com/Availity/availity-react/commit/becab2ebb2b5ada96b1d08f054e372376dfa17ea))
97
+ * **feedback:** removed Label children and added aira-labelledby ([af79cd8](https://github.com/Availity/availity-react/commit/af79cd8d529f76b512d644ba88128db1310c1001))
98
+ * **feedback:** removed redudant aria-labelledby ([2f48432](https://github.com/Availity/availity-react/commit/2f48432f8533297b77e29c987b2481a77eb7f8d1))
99
+ * **feedback:** rename prop; update README and docs; small corrections ([51c7798](https://github.com/Availity/availity-react/commit/51c779846fdb8c311c8b8efaa603b6e49972650c))
100
+ * **feedback:** revert feedback changes and add onModalOpenChange prop ([cf8fb64](https://github.com/Availity/availity-react/commit/cf8fb648feafd1c9aa7a547a8bb4707e3f7c2f5a))
101
+ * **feedback:** trims whitespace, adds min length, and handles only special chars ([85d53b3](https://github.com/Availity/availity-react/commit/85d53b39552ee5c878391ce6a61b46058ed36c29))
102
+ * **feedback:** updated feedback components for accessibility ([45cbf4d](https://github.com/Availity/availity-react/commit/45cbf4d4964a71d95db127bd931574f6e0424bbc))
103
+ * **form:** add currency input ([fa9eea6](https://github.com/Availity/availity-react/commit/fa9eea6a3b3dd2ef741a0658c102e36c6db5288c))
104
+ * move storybook, stories, and fix hmr ([2f65f71](https://github.com/Availity/availity-react/commit/2f65f71769d2d981e22700b87a09516833588f64))
105
+ * **select:** add autofill prop ([37d3fba](https://github.com/Availity/availity-react/commit/37d3fba66e4020a34b628eda0bac3da4fa35ccf3))
106
+ * upgrade deps ([eccefc0](https://github.com/Availity/availity-react/commit/eccefc0549ebd5057595f6ac696642789375f48a))
107
+
108
+
109
+ ### BREAKING CHANGES
110
+
111
+ * **feedback:** this will break splunk dashboards
112
+ * axios v1 is now required
113
+ * upgraded to @availity/yup 5.0.0 and @availity/select 3.0.0
114
+ * **feedback:** aboutLabel replaces aboutPlaceholder
115
+ * **feedback:** availtiy-reactstrap-validation has been swapped out for formik using @availity/form
116
+ * **feedback:** The feedback modal has a new look.
117
+
118
+
119
+
5
120
  ## [9.0.1](https://github.com/Availity/availity-react/compare/@availity/feedback@9.0.0...@availity/feedback@9.0.1) (2024-08-14)
6
121
 
7
122
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/feedback",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "description": "Availity feedback with smiley faces react component.",
5
5
  "keywords": [
6
6
  "react",
@@ -25,27 +25,27 @@
25
25
  "publish:canary": "yarn npm publish --access public --tag canary"
26
26
  },
27
27
  "dependencies": {
28
- "@availity/block-ui": "^1.1.3",
29
- "@availity/form": "1.9.1",
30
- "@availity/hooks": "5.0.2",
31
- "@availity/icon": "0.11.7",
32
- "@availity/native-form": "^5.0.5",
33
- "@availity/select": "4.2.0",
28
+ "@availity/block-ui": "^1.1.4",
29
+ "@availity/form": "1.9.2",
30
+ "@availity/hooks": "5.1.0",
31
+ "@availity/icon": "0.11.8",
32
+ "@availity/native-form": "^6.0.0",
33
+ "@availity/select": "4.2.1",
34
34
  "prop-types": "^15.8.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@availity/api-axios": "^8.0.7",
38
- "@availity/yup": "^5.1.5",
39
- "axios": "^1.6.7",
40
- "formik": "^2.4.4",
41
- "react": "^18.2.0",
42
- "react-dom": "^18.2.0",
37
+ "@availity/api-axios": "^9.0.0",
38
+ "@availity/yup": "^6.0.0",
39
+ "axios": "^1.7.4",
40
+ "formik": "^2.4.6",
41
+ "react": "^18.3.1",
42
+ "react-dom": "^18.3.1",
43
43
  "reactstrap": "^8.10.1"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@availity/api-axios": "^8.0.0",
47
47
  "@availity/yup": "^5.1.0",
48
- "axios": "^1.0.0",
48
+ "axios": "^1.7.4",
49
49
  "formik": "^2.0.1",
50
50
  "react": ">=16.3.0",
51
51
  "reactstrap": "^8.0.0"
package/project.json CHANGED
@@ -1,27 +1,29 @@
1
1
  {
2
- "root": "packages/feedback",
2
+ "name": "@availity/feedback",
3
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
3
4
  "projectType": "library",
4
5
  "targets": {
5
6
  "test": {
6
7
  "executor": "@nx/jest:jest",
7
- "outputs": ["coverage/feedback"],
8
- "options": { "jestConfig": "packages/feedback/jest.config.js", "passWithNoTests": true }
8
+ "outputs": ["{workspaceRoot}/coverage/feedback"],
9
+ "options": {
10
+ "jestConfig": "packages/feedback/jest.config.js"
11
+ }
9
12
  },
10
13
  "version": {
11
14
  "executor": "@jscutlery/semver:version",
12
15
  "options": {
13
16
  "preset": "angular",
14
17
  "commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
15
- "tagPrefix": "@availity/{projectName}@",
18
+ "tagPrefix": "{projectName}@",
16
19
  "baseBranch": "master",
17
20
  "trackDeps": true
18
21
  }
19
22
  },
20
23
  "lint": {
21
- "executor": "@nx/linter:eslint",
24
+ "executor": "@nx/eslint:lint",
22
25
  "options": {
23
26
  "eslintConfig": ".eslintrc.yaml",
24
- "lintFilePatterns": ["packages/feedback/**/*.{js,ts}"],
25
27
  "silent": false,
26
28
  "fix": false,
27
29
  "cache": true,
@@ -53,7 +53,7 @@ const FeedbackForm = ({
53
53
  const response = await avRegionsApi.getCurrentRegion();
54
54
 
55
55
  await analytics.info({
56
- surveyId: `${name.replace(/\s/g, '_')}_Smile_Survey`,
56
+ surveyId: `${name.replaceAll(/\s/g, '_')}_Smile_Survey`,
57
57
  smileLocation: `${name}`,
58
58
  smile: `icon-${smileField.icon}`,
59
59
  url: window.location.href,