@savantlink/sdk 2.2.38 → 2.2.40

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 (66) hide show
  1. package/README.md +34 -0
  2. package/dist/AppIcon/AppIcon.d.ts +5 -0
  3. package/dist/AppIcon/AppIcon.d.ts.map +1 -1
  4. package/dist/AppIcon/AppIcon.js +1 -1
  5. package/dist/AppIcon/AppIcon.js.map +1 -1
  6. package/dist/CurrencyInput/CurrencyInput.d.ts +14 -0
  7. package/dist/CurrencyInput/CurrencyInput.d.ts.map +1 -0
  8. package/dist/CurrencyInput/CurrencyInput.js +2 -0
  9. package/dist/CurrencyInput/CurrencyInput.js.map +1 -0
  10. package/dist/CurrencyInput/CurrencyInput.module.scss.js +2 -0
  11. package/dist/CurrencyInput/CurrencyInput.module.scss.js.map +1 -0
  12. package/dist/CurrencyInput/format.d.ts +13 -0
  13. package/dist/CurrencyInput/format.d.ts.map +1 -0
  14. package/dist/CurrencyInput/format.js +2 -0
  15. package/dist/CurrencyInput/format.js.map +1 -0
  16. package/dist/CurrencyInput/index.d.ts +3 -0
  17. package/dist/CurrencyInput/index.d.ts.map +1 -0
  18. package/dist/CurrencyInput/types.d.ts +22 -0
  19. package/dist/CurrencyInput/types.d.ts.map +1 -0
  20. package/dist/FileUpload/FileUpload.d.ts.map +1 -1
  21. package/dist/FileUpload/FileUpload.js +1 -1
  22. package/dist/FileUpload/FileUpload.js.map +1 -1
  23. package/dist/Input/Input.d.ts +4 -0
  24. package/dist/Input/Input.d.ts.map +1 -1
  25. package/dist/Input/Input.js +1 -1
  26. package/dist/Input/Input.js.map +1 -1
  27. package/dist/Onboarding/OnboardingProvider.d.ts +45 -0
  28. package/dist/Onboarding/OnboardingProvider.d.ts.map +1 -0
  29. package/dist/Onboarding/OnboardingProvider.js +2 -0
  30. package/dist/Onboarding/OnboardingProvider.js.map +1 -0
  31. package/dist/Onboarding/OnboardingTooltip.d.ts +4 -0
  32. package/dist/Onboarding/OnboardingTooltip.d.ts.map +1 -0
  33. package/dist/Onboarding/OnboardingTooltip.js +2 -0
  34. package/dist/Onboarding/OnboardingTooltip.js.map +1 -0
  35. package/dist/Onboarding/OnboardingTooltip.module.scss.js +2 -0
  36. package/dist/Onboarding/OnboardingTooltip.module.scss.js.map +1 -0
  37. package/dist/Onboarding/OnboardingTour.d.ts +10 -0
  38. package/dist/Onboarding/OnboardingTour.d.ts.map +1 -0
  39. package/dist/Onboarding/OnboardingTour.js +2 -0
  40. package/dist/Onboarding/OnboardingTour.js.map +1 -0
  41. package/dist/Onboarding/index.d.ts +7 -0
  42. package/dist/Onboarding/index.d.ts.map +1 -0
  43. package/dist/Onboarding/onboarding.d.ts +47 -0
  44. package/dist/Onboarding/onboarding.d.ts.map +1 -0
  45. package/dist/Onboarding/onboarding.js +2 -0
  46. package/dist/Onboarding/onboarding.js.map +1 -0
  47. package/dist/Onboarding/types.d.ts +36 -0
  48. package/dist/Onboarding/types.d.ts.map +1 -0
  49. package/dist/VersionUpdateNotice/VersionUpdateNotice.js +1 -1
  50. package/dist/VersionUpdateNotice/VersionUpdateNotice.js.map +1 -1
  51. package/dist/index.css +1 -1
  52. package/dist/index.css.map +1 -1
  53. package/dist/index.d.ts +4 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +1 -1
  56. package/dist/node_modules/lucide-react/dist/esm/icons/circle-power.mjs.js +9 -0
  57. package/dist/node_modules/lucide-react/dist/esm/icons/circle-power.mjs.js.map +1 -0
  58. package/dist/node_modules/lucide-react/dist/esm/icons/circle-user.mjs.js +9 -0
  59. package/dist/node_modules/lucide-react/dist/esm/icons/circle-user.mjs.js.map +1 -0
  60. package/dist/node_modules/lucide-react/dist/esm/icons/clock-4.mjs.js +9 -0
  61. package/dist/node_modules/lucide-react/dist/esm/icons/clock-4.mjs.js.map +1 -0
  62. package/dist/node_modules/lucide-react/dist/esm/icons/lock.mjs.js +9 -0
  63. package/dist/node_modules/lucide-react/dist/esm/icons/lock.mjs.js.map +1 -0
  64. package/dist/node_modules/lucide-react/dist/esm/icons/user-cog.mjs.js +9 -0
  65. package/dist/node_modules/lucide-react/dist/esm/icons/user-cog.mjs.js.map +1 -0
  66. package/package.json +8 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-power.mjs.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/circle-power.mjs"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"M12 7v4\", key: \"xawao1\" }],\n [\"path\", { d: \"M7.998 9.003a5 5 0 1 0 8-.005\", key: \"1pek45\" }]\n];\nconst CirclePower = createLucideIcon(\"circle-power\", __iconNode);\n\nexport { __iconNode, CirclePower as default };\n//# sourceMappingURL=circle-power.mjs.map\n"],"names":["__iconNode","cx","cy","r","key","d","CirclePower"],"mappings":";;;;;;;AASK,MAACA,EAAa,CACjB,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,KAAMC,IAAK,WAC/C,CAAC,OAAQ,CAAEC,EAAG,UAAWD,IAAK,WAC9B,CAAC,OAAQ,CAAEC,EAAG,gCAAiCD,IAAK,YAEhDE,gDAA+B,eAAgBN"}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
2
+ /**
3
+ * @license lucide-react v1.27.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],c=require("../createLucideIcon.mjs.js").default("circle-user",e);exports.__iconNode=e,exports.default=c;
9
+ //# sourceMappingURL=circle-user.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circle-user.mjs.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/circle-user.mjs"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"circle\", { cx: \"12\", cy: \"10\", r: \"3\", key: \"ilqhr7\" }],\n [\"path\", { d: \"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662\", key: \"154egf\" }]\n];\nconst CircleUser = createLucideIcon(\"circle-user\", __iconNode);\n\nexport { __iconNode, CircleUser as default };\n//# sourceMappingURL=circle-user.mjs.map\n"],"names":["__iconNode","cx","cy","r","key","d","CircleUser"],"mappings":";;;;;;;AASK,MAACA,EAAa,CACjB,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,KAAMC,IAAK,WAC/C,CAAC,SAAU,CAAEH,GAAI,KAAMC,GAAI,KAAMC,EAAG,IAAKC,IAAK,WAC9C,CAAC,OAAQ,CAAEC,EAAG,mDAAoDD,IAAK,YAEnEE,gDAA8B,cAAeN"}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
2
+ /**
3
+ * @license lucide-react v1.27.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],c=require("../createLucideIcon.mjs.js").default("clock-4",e);exports.__iconNode=e,exports.default=c;
9
+ //# sourceMappingURL=clock-4.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clock-4.mjs.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/clock-4.mjs"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"circle\", { cx: \"12\", cy: \"12\", r: \"10\", key: \"1mglay\" }],\n [\"path\", { d: \"M12 6v6l4 2\", key: \"mmk7yg\" }]\n];\nconst Clock4 = createLucideIcon(\"clock-4\", __iconNode);\n\nexport { __iconNode, Clock4 as default };\n//# sourceMappingURL=clock-4.mjs.map\n"],"names":["__iconNode","cx","cy","r","key","d","Clock4"],"mappings":";;;;;;;AASK,MAACA,EAAa,CACjB,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,KAAMC,IAAK,WAC/C,CAAC,OAAQ,CAAEC,EAAG,cAAeD,IAAK,YAE9BE,gDAA0B,UAAWN"}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
2
+ /**
3
+ * @license lucide-react v1.27.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],t=require("../createLucideIcon.mjs.js").default("lock",e);exports.__iconNode=e,exports.default=t;
9
+ //# sourceMappingURL=lock.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lock.mjs.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/lock.mjs"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"rect\", { width: \"18\", height: \"11\", x: \"3\", y: \"11\", rx: \"2\", ry: \"2\", key: \"1w4ew1\" }],\n [\"path\", { d: \"M7 11V7a5 5 0 0 1 10 0v4\", key: \"fwvmzm\" }]\n];\nconst Lock = createLucideIcon(\"lock\", __iconNode);\n\nexport { __iconNode, Lock as default };\n//# sourceMappingURL=lock.mjs.map\n"],"names":["__iconNode","width","height","x","y","rx","ry","key","d","Lock"],"mappings":";;;;;;;AASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,MAAO,KAAMC,OAAQ,KAAMC,EAAG,IAAKC,EAAG,KAAMC,GAAI,IAAKC,GAAI,IAAKC,IAAK,WAC9E,CAAC,OAAQ,CAAEC,EAAG,2BAA4BD,IAAK,YAE3CE,gDAAwB,OAAQT"}
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});
2
+ /**
3
+ * @license lucide-react v1.27.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e=[["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m14.305 16.53.923-.382",key:"1itpsq"}],["path",{d:"m15.228 13.852-.923-.383",key:"eplpkm"}],["path",{d:"m16.852 12.228-.383-.923",key:"13v3q0"}],["path",{d:"m16.852 17.772-.383.924",key:"1i8mnm"}],["path",{d:"m19.148 12.228.383-.923",key:"1q8j1v"}],["path",{d:"m19.53 18.696-.382-.924",key:"vk1qj3"}],["path",{d:"m20.772 13.852.924-.383",key:"n880s0"}],["path",{d:"m20.772 16.148.924.383",key:"1g6xey"}],["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],t=require("../createLucideIcon.mjs.js").default("user-cog",e);exports.__iconNode=e,exports.default=t;
9
+ //# sourceMappingURL=user-cog.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-cog.mjs.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/user-cog.mjs"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n [\"path\", { d: \"M10 15H6a4 4 0 0 0-4 4v2\", key: \"1nfge6\" }],\n [\"path\", { d: \"m14.305 16.53.923-.382\", key: \"1itpsq\" }],\n [\"path\", { d: \"m15.228 13.852-.923-.383\", key: \"eplpkm\" }],\n [\"path\", { d: \"m16.852 12.228-.383-.923\", key: \"13v3q0\" }],\n [\"path\", { d: \"m16.852 17.772-.383.924\", key: \"1i8mnm\" }],\n [\"path\", { d: \"m19.148 12.228.383-.923\", key: \"1q8j1v\" }],\n [\"path\", { d: \"m19.53 18.696-.382-.924\", key: \"vk1qj3\" }],\n [\"path\", { d: \"m20.772 13.852.924-.383\", key: \"n880s0\" }],\n [\"path\", { d: \"m20.772 16.148.924.383\", key: \"1g6xey\" }],\n [\"circle\", { cx: \"18\", cy: \"15\", r: \"3\", key: \"gjjjvw\" }],\n [\"circle\", { cx: \"9\", cy: \"7\", r: \"4\", key: \"nufk8\" }]\n];\nconst UserCog = createLucideIcon(\"user-cog\", __iconNode);\n\nexport { __iconNode, UserCog as default };\n//# sourceMappingURL=user-cog.mjs.map\n"],"names":["__iconNode","d","key","cx","cy","r","UserCog"],"mappings":";;;;;;;AASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,2BAA4BC,IAAK,WAC/C,CAAC,OAAQ,CAAED,EAAG,yBAA0BC,IAAK,WAC7C,CAAC,OAAQ,CAAED,EAAG,2BAA4BC,IAAK,WAC/C,CAAC,OAAQ,CAAED,EAAG,2BAA4BC,IAAK,WAC/C,CAAC,OAAQ,CAAED,EAAG,0BAA2BC,IAAK,WAC9C,CAAC,OAAQ,CAAED,EAAG,0BAA2BC,IAAK,WAC9C,CAAC,OAAQ,CAAED,EAAG,0BAA2BC,IAAK,WAC9C,CAAC,OAAQ,CAAED,EAAG,0BAA2BC,IAAK,WAC9C,CAAC,OAAQ,CAAED,EAAG,yBAA0BC,IAAK,WAC7C,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,IAAKH,IAAK,WAC9C,CAAC,SAAU,CAAEC,GAAI,IAAKC,GAAI,IAAKC,EAAG,IAAKH,IAAK,WAExCI,gDAA2B,WAAYN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savantlink/sdk",
3
- "version": "2.2.38",
3
+ "version": "2.2.40",
4
4
  "description": "A package that contains reusable components and services for the SavantLink design system and architecture.",
5
5
  "homepage": "https://github.com/savantlink/savantlink-sdk",
6
6
  "repository": {
@@ -33,6 +33,7 @@
33
33
  "storybook": "start-storybook -p 6006 -s public",
34
34
  "storybook:build": "build-storybook -s public",
35
35
  "test": "jest",
36
+ "test:currency-input": "jest --runInBand --watchman=false --coverage=false src/CurrencyInput",
36
37
  "prepublishOnly": "yarn lint:fix && yarn build",
37
38
  "test:notification-stream": "node --test test/use-sse.test.cjs"
38
39
  },
@@ -47,7 +48,8 @@
47
48
  "dependencies": {
48
49
  "clsx": "1.2.1",
49
50
  "decimal.js-light": "2.5.1",
50
- "lucide-react": "1.27.0"
51
+ "lucide-react": "1.27.0",
52
+ "react-joyride": "3.2.0"
51
53
  },
52
54
  "devDependencies": {
53
55
  "@rollup/plugin-alias": "4.0.3",
@@ -88,11 +90,13 @@
88
90
  "husky": "8.0.0",
89
91
  "jest": "29.4.1",
90
92
  "jest-css-modules": "2.1.0",
93
+ "jest-environment-jsdom": "29.7.0",
91
94
  "keep-a-changelog": "^2.6.1",
92
95
  "postcss": "8.4.21",
93
96
  "prop-types": "15.8.1",
94
97
  "react": "^18.0.0",
95
98
  "react-dom": "^18.0.0",
99
+ "react-hook-form": "7.43.9",
96
100
  "rimraf": "4.1.2",
97
101
  "rollup": "2.60.2",
98
102
  "rollup-plugin-node-externals": "5.1.2",
@@ -112,7 +116,8 @@
112
116
  "typescript-transform-paths": "3.4.6",
113
117
  "webpack": "5.75.0",
114
118
  "webpack-bundle-analyzer": "4.10.2",
115
- "wrap-ansi": "7.0.0"
119
+ "wrap-ansi": "7.0.0",
120
+ "zod": "3.23.8"
116
121
  },
117
122
  "eslintConfig": {
118
123
  "extends": [