propro-common-components 0.3.26 → 0.3.28

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 (82) hide show
  1. package/dist/api/useGet.d.ts +1 -1
  2. package/dist/api/useMutate.d.ts +2 -2
  3. package/dist/api/useMutateWithKeepAlive.d.ts +4 -3
  4. package/dist/components/Auth/AuthCallback.d.ts +0 -1
  5. package/dist/components/Auth/AuthLandingPage.d.ts +0 -1
  6. package/dist/components/AvatarMenu/index.d.ts +2 -1
  7. package/dist/components/theme-provider.d.ts +0 -1
  8. package/dist/components/ui/dropdown-menu.d.ts +3 -3
  9. package/dist/components/ui/menubar.d.ts +6 -4
  10. package/dist/hoc/PrivateRoute.d.ts +0 -1
  11. package/dist/hooks/useAuth.d.ts +1 -2
  12. package/dist/index-CAk9Waq9.js +25 -0
  13. package/dist/main-CweHWkUm.js +58298 -0
  14. package/dist/main.css +1 -1
  15. package/dist/plasmicComponents/AccountActivationConformation.d.ts +6 -0
  16. package/dist/plasmicComponents/ProProLandingContent.d.ts +6 -0
  17. package/dist/plasmicComponents/ProductCards.d.ts +6 -0
  18. package/dist/plasmicComponents/SignupConfirmation.d.ts +6 -0
  19. package/dist/plasmicComponents/plasmic/antd/PlasmicStyleTokensProvider.d.ts +1 -0
  20. package/dist/plasmicComponents/plasmic/antd/plasmic.d.ts +1 -0
  21. package/dist/plasmicComponents/plasmic/antd_5_hostless/PlasmicStyleTokensProvider.d.ts +1 -0
  22. package/dist/plasmicComponents/plasmic/antd_5_hostless/plasmic.d.ts +1 -0
  23. package/dist/plasmicComponents/plasmic/loading_boundary/PlasmicStyleTokensProvider.d.ts +1 -0
  24. package/dist/plasmicComponents/plasmic/loading_boundary/plasmic.d.ts +1 -0
  25. package/dist/plasmicComponents/plasmic/lottie_react/PlasmicStyleTokensProvider.d.ts +1 -0
  26. package/dist/plasmicComponents/plasmic/lottie_react/plasmic.d.ts +1 -0
  27. package/dist/plasmicComponents/plasmic/plasmic_basic_components/PlasmicStyleTokensProvider.d.ts +1 -0
  28. package/dist/plasmicComponents/plasmic/plasmic_basic_components/plasmic.d.ts +1 -0
  29. package/dist/plasmicComponents/plasmic/plasmic_embed_css/PlasmicStyleTokensProvider.d.ts +1 -0
  30. package/dist/plasmicComponents/plasmic/plasmic_embed_css/plasmic.d.ts +1 -0
  31. package/dist/plasmicComponents/plasmic/plasmic_rich_components/PlasmicStyleTokensProvider.d.ts +1 -0
  32. package/dist/plasmicComponents/plasmic/plasmic_rich_components/plasmic.d.ts +1 -0
  33. package/dist/plasmicComponents/plasmic/plasmic_tabs/PlasmicButton.d.ts +30 -30
  34. package/dist/plasmicComponents/plasmic/plasmic_tabs/icons/PlasmicIcon__CheckMark.d.ts +7 -0
  35. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicAccountActivationConformation.d.ts +176 -0
  36. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicButtonFromProPro.d.ts +58 -55
  37. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicDescription.d.ts +14 -14
  38. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicErrorMessageContainer.d.ts +130 -0
  39. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicFooter.d.ts +170 -0
  40. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicFooter2.d.ts +135 -0
  41. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicFooterLink.d.ts +72 -72
  42. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicFooterprev.d.ts +227 -0
  43. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Screen.d.ts +3 -0
  44. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Theme.d.ts +3 -0
  45. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicGlobalVariant__Theme2.d.ts +3 -0
  46. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicIconImports.d.ts +96 -0
  47. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicLabel.d.ts +22 -22
  48. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicLoginSigupButton.d.ts +90 -0
  49. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicLogo.d.ts +138 -63
  50. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicNewsletterConfirmation.d.ts +14 -14
  51. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicNewsletterConfirmationError.d.ts +113 -0
  52. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicNewsletterForm.d.ts +179 -0
  53. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProProLabel.d.ts +43 -40
  54. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProProLandingContent.d.ts +117 -0
  55. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicProductCards.d.ts +121 -0
  56. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSignInSignUpForm.d.ts +593 -577
  57. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSignInSignUpFormLayout.d.ts +88 -88
  58. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSignupConfirmation.d.ts +61 -0
  59. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSlider.d.ts +64 -64
  60. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicSliderThumb.d.ts +6 -6
  61. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicStyleTokensProvider.d.ts +1 -0
  62. package/dist/plasmicComponents/plasmic/pro_pro/PlasmicTextInputFromProPro.d.ts +58 -58
  63. package/dist/plasmicComponents/plasmic/pro_pro/icons/PlasmicIcon__Icon4.d.ts +7 -0
  64. package/dist/plasmicComponents/plasmic/pro_pro/icons/PlasmicIcon__Icon5.d.ts +7 -0
  65. package/dist/plasmicComponents/plasmic/pro_pro/icons/PlasmicIcon__Icon7.d.ts +7 -0
  66. package/dist/plasmicComponents/plasmic/pro_pro/icons/PlasmicIcon__Icon8.d.ts +7 -0
  67. package/dist/plasmicComponents/plasmic/pro_pro/icons/PlasmicIcon__Icon9.d.ts +7 -0
  68. package/dist/plasmicComponents/plasmic/pro_pro/plasmic.d.ts +1 -0
  69. package/dist/plasmicComponents/plasmic/react_aria/PlasmicStyleTokensProvider.d.ts +1 -0
  70. package/dist/plasmicComponents/plasmic/react_aria/plasmic.d.ts +1 -0
  71. package/dist/plasmicComponents/plasmic/react_awesome_reveal/PlasmicStyleTokensProvider.d.ts +1 -0
  72. package/dist/plasmicComponents/plasmic/react_awesome_reveal/plasmic.d.ts +1 -0
  73. package/dist/propro-common-components.js +50 -54624
  74. package/dist/utils/configureAuth.d.ts +1 -0
  75. package/dist/utils/createAuthRouteLoader.d.ts +1 -1
  76. package/dist/utils/iconUtils.d.ts +1 -1
  77. package/package.json +4 -3
  78. package/.env.vault +0 -25
  79. package/dist/index-DFR9A_Yf.js +0 -49
  80. package/dist/plasmicComponents/plasmic/plasmic_tabs/icons/PlasmicIcon__Checksvg.d.ts +0 -7
  81. /package/dist/plasmicComponents/plasmic/pro_pro/icons/{PlasmicIcon__Filledsvg.d.ts → PlasmicIcon__FilledSvg.d.ts} +0 -0
  82. /package/dist/plasmicComponents/plasmic/pro_pro/icons/{PlasmicIcon__Searchsvg.d.ts → PlasmicIcon__SearchSvg.d.ts} +0 -0
@@ -64,6 +64,7 @@ export interface AuthConfig {
64
64
  export declare function configureAuth(config: AuthConfig): void;
65
65
  /**
66
66
  * Get the current auth configuration
67
+ * Returns the config object directly (not a copy) to preserve function references
67
68
  */
68
69
  export declare function getAuthConfig(): AuthConfig;
69
70
  /**
@@ -39,5 +39,5 @@ interface AuthRouteLoaderOptions {
39
39
  * ];
40
40
  * ```
41
41
  */
42
- export declare function createAuthRouteLoader(options?: AuthRouteLoaderOptions): (args: LoaderFunctionArgs) => Promise<Response | Request>;
42
+ export declare function createAuthRouteLoader(options?: AuthRouteLoaderOptions): (args: LoaderFunctionArgs) => Promise<Request | Response>;
43
43
  export {};
@@ -13,4 +13,4 @@ export declare const searchIcon: (name?: string, importType?: ImportMethodTypes)
13
13
  component: FC;
14
14
  }[] | undefined>;
15
15
  export declare function loadIcon(name: string, style?: StyleType | '', path?: string, importMethod?: ImportMethodTypes): Promise<(() => null) | ((props: SVGProps<any>) => import("react/jsx-runtime").JSX.Element)>;
16
- export declare const getAvailableStyles: (iconName: string, path?: string) => Promise<('line' | 'solid' | 'duotone')[]>;
16
+ export declare const getAvailableStyles: (iconName: string, path?: string) => Promise<("line" | "solid" | "duotone")[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.3.26",
3
+ "version": "0.3.28",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",
@@ -24,7 +24,8 @@
24
24
  "@fortawesome/react-fontawesome": "^0.2.0",
25
25
  "@mantine/hooks": "^7.9.0",
26
26
  "@plasmicapp/cli": "^0.1.327",
27
- "@plasmicapp/react-web": "^0.2.337",
27
+ "@plasmicapp/host": "^1.0.227",
28
+ "@plasmicapp/react-web": "^0.2.408",
28
29
  "@plasmicpkgs/antd": "^2.0.130",
29
30
  "@plasmicpkgs/antd5": "^0.0.265",
30
31
  "@plasmicpkgs/lottie-react": "^0.0.200",
@@ -45,7 +46,7 @@
45
46
  "@radix-ui/react-tabs": "^1.0.4",
46
47
  "@radix-ui/react-tooltip": "^1.1.2",
47
48
  "@tauri-apps/api": "^2.0.2",
48
- "@tauri-apps/plugin-deep-link": "^2.4.6",
49
+ "@tauri-apps/plugin-deep-link": "^2.4.9",
49
50
  "@tauri-apps/plugin-fs": "^2.2.0",
50
51
  "@tauri-apps/plugin-http": "^2.0.0",
51
52
  "@tauri-apps/plugin-shell": "^2.3.1",
package/.env.vault DELETED
@@ -1,25 +0,0 @@
1
- #/-------------------.env.vault---------------------/
2
- #/ cloud-agnostic vaulting standard /
3
- #/ [how it works](https://dotenv.org/env-vault) /
4
- #/--------------------------------------------------/
5
-
6
- # development
7
- DOTENV_VAULT_DEVELOPMENT="vad9nAoDmLw8HmCnpNREkgxJ0MsN089eAn/qEHhJd0hxreozq/gSR88hpj63T74sH4Jph9hkeXOaZ9K+HmwPRWor"
8
- DOTENV_VAULT_DEVELOPMENT_VERSION=3
9
-
10
- # ci
11
- DOTENV_VAULT_CI="aCETxhx/sEUmNFekVFOKPwBqPcvLP3IZBiTqbrGrEq3r/DMzPSzjRmVYGQIrtHTJiwymAWqgnxHwbHEeO9G9EYDzoQ=="
12
- DOTENV_VAULT_CI_VERSION=3
13
-
14
- # staging
15
- DOTENV_VAULT_STAGING="+j8qjt2SzbI9xaY8z52qdoh+1pehnCJfsH7xlOgIOvydkXl7HN4sMCNdnYWc96XWQ5ByD6sNG51LhtuocwJsgvytgw=="
16
- DOTENV_VAULT_STAGING_VERSION=3
17
-
18
- # production
19
- DOTENV_VAULT_PRODUCTION="vEu2Jyl+x+9z8oA94zDge0lEUdNiGL7+y+mAHhFqIzrAdmN39gQuIG9i1BcdPbEpTr609HW1LRx+QSxi66d5ewC2aQ=="
20
- DOTENV_VAULT_PRODUCTION_VERSION=3
21
-
22
- #/----------------settings/metadata-----------------/
23
- DOTENV_VAULT="vlt_66b96d3d5ab78f2618e9a55c459381ab5b2e4d261a263a8256c1596470adf54f"
24
- DOTENV_API_URL="https://vault.dotenv.org"
25
- DOTENV_CLI="npx dotenv-vault@latest"
@@ -1,49 +0,0 @@
1
- function o(r, e = !1) {
2
- return window.__TAURI_INTERNALS__.transformCallback(r, e);
3
- }
4
- async function n(r, e = {}, i) {
5
- return window.__TAURI_INTERNALS__.invoke(r, e, i);
6
- }
7
- var a;
8
- (function(r) {
9
- r.WINDOW_RESIZED = "tauri://resize", r.WINDOW_MOVED = "tauri://move", r.WINDOW_CLOSE_REQUESTED = "tauri://close-requested", r.WINDOW_DESTROYED = "tauri://destroyed", r.WINDOW_FOCUS = "tauri://focus", r.WINDOW_BLUR = "tauri://blur", r.WINDOW_SCALE_FACTOR_CHANGED = "tauri://scale-change", r.WINDOW_THEME_CHANGED = "tauri://theme-changed", r.WINDOW_CREATED = "tauri://window-created", r.WEBVIEW_CREATED = "tauri://webview-created", r.DRAG_ENTER = "tauri://drag-enter", r.DRAG_OVER = "tauri://drag-over", r.DRAG_DROP = "tauri://drag-drop", r.DRAG_LEAVE = "tauri://drag-leave";
10
- })(a || (a = {}));
11
- async function _(r, e) {
12
- window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(r, e), await n("plugin:event|unlisten", {
13
- event: r,
14
- eventId: e
15
- });
16
- }
17
- async function c(r, e, i) {
18
- var t;
19
- const u = (t = void 0) !== null && t !== void 0 ? t : { kind: "Any" };
20
- return n("plugin:event|listen", {
21
- event: r,
22
- target: u,
23
- handler: o(e)
24
- }).then((s) => async () => _(r, s));
25
- }
26
- async function d() {
27
- return await n("plugin:deep-link|get_current");
28
- }
29
- async function l(r) {
30
- return await n("plugin:deep-link|register", { protocol: r });
31
- }
32
- async function p(r) {
33
- return await n("plugin:deep-link|unregister", { protocol: r });
34
- }
35
- async function D(r) {
36
- return await n("plugin:deep-link|is_registered", { protocol: r });
37
- }
38
- async function g(r) {
39
- return await c("deep-link://new-url", (e) => {
40
- r(e.payload);
41
- });
42
- }
43
- export {
44
- d as getCurrent,
45
- D as isRegistered,
46
- g as onOpenUrl,
47
- l as register,
48
- p as unregister
49
- };
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export type CheckSvgIconProps = React.ComponentProps<"svg"> & {
4
- title?: string;
5
- };
6
- export declare function CheckSvgIcon(props: CheckSvgIconProps): import("react/jsx-runtime").JSX.Element;
7
- export default CheckSvgIcon;