@crowdin/app-project-module 3.2.2 → 3.3.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.
- package/out/modules/about.js +2 -10
- package/out/modules/api/api.js +7 -0
- package/out/modules/api/components.d.ts +6 -1
- package/out/modules/api/components.js +6 -1
- package/out/modules/integration/handlers/crowdin-update.js +33 -6
- package/out/modules/integration/handlers/integration-update.js +1 -1
- package/out/modules/integration/handlers/job-list.d.ts +8 -2
- package/out/modules/integration/handlers/job-list.js +30 -11
- package/out/modules/integration/types.d.ts +8 -0
- package/out/modules/integration/util/types.d.ts +2 -0
- package/out/static/css/styles.css +1 -1
- package/out/static/img/crowdin_small.svg +8 -7
- package/out/static/ui/about.bundle.js +11 -1
- package/out/static/ui/about.bundle.js.map +1 -1
- package/out/static/ui/error.bundle.js +3 -3
- package/out/static/ui/error.bundle.js.map +1 -1
- package/out/static/ui/login.bundle.js +4 -4
- package/out/static/ui/login.bundle.js.map +1 -1
- package/out/static/ui/main.bundle.js +656 -590
- package/out/static/ui/main.bundle.js.map +1 -1
- package/out/static/ui/subscription.bundle.js +1 -1
- package/out/static/ui/subscription.bundle.js.map +1 -1
- package/out/storage/drizzle/index.js +6 -1
- package/out/util/index.d.ts +1 -0
- package/out/util/index.js +16 -1
- package/out/util/logo.d.ts +4 -0
- package/out/util/logo.js +47 -0
- package/out/util/static-files.d.ts +4 -1
- package/out/util/static-files.js +26 -4
- package/package.json +1 -1
|
@@ -22652,7 +22652,7 @@
|
|
|
22652
22652
|
};
|
|
22653
22653
|
function AppAlert({ title, variant = 'info', hideIcon = false, className, children, dangerouslySetInnerHTML, ...props }) {
|
|
22654
22654
|
const Icon = variantIcons[variant];
|
|
22655
|
-
return (jsxRuntimeExports.jsxs(Alert, { variant: variant === 'destructive' ? 'destructive' : 'default', className: cn(variantStyles[variant], className), ...props, children: [!hideIcon && jsxRuntimeExports.jsx(Icon, {}), title && jsxRuntimeExports.jsx(AlertTitle, { children: title }), dangerouslySetInnerHTML ? (jsxRuntimeExports.jsx(AlertDescription, { dangerouslySetInnerHTML: dangerouslySetInnerHTML })) : (jsxRuntimeExports.jsx(AlertDescription, { children: children }))] }));
|
|
22655
|
+
return (jsxRuntimeExports.jsxs(Alert, { variant: variant === 'destructive' ? 'destructive' : 'default', className: cn(variantStyles[variant], className), ...props, children: [!hideIcon && jsxRuntimeExports.jsx(Icon, {}), title && jsxRuntimeExports.jsx(AlertTitle, { children: title }), dangerouslySetInnerHTML ? (jsxRuntimeExports.jsx(AlertDescription, { className: "html-content block", dangerouslySetInnerHTML: dangerouslySetInnerHTML })) : (jsxRuntimeExports.jsx(AlertDescription, { children: children }))] }));
|
|
22656
22656
|
}
|
|
22657
22657
|
|
|
22658
22658
|
var __defProp$n = Object.defineProperty;
|
|
@@ -40595,7 +40595,7 @@
|
|
|
40595
40595
|
} })] })] }) }));
|
|
40596
40596
|
}
|
|
40597
40597
|
|
|
40598
|
-
const FieldShell = reactExports.forwardRef(({ label, helpText, helpTextHtml, htmlFor, errorText, className, children, ...props }, ref) => (jsxRuntimeExports.jsxs(Field, { ref: ref, "data-invalid": Boolean(errorText) || undefined, className: className, ...props, children: [label && jsxRuntimeExports.jsx(FieldLabel, { htmlFor: htmlFor, children: label }), children, helpText && jsxRuntimeExports.jsx(FieldDescription, { children: helpText }), helpTextHtml && jsxRuntimeExports.jsx(FieldDescription, { dangerouslySetInnerHTML: { __html: helpTextHtml } }), jsxRuntimeExports.jsx(FieldError, { errors: errorText ? [{ message: errorText }] : undefined })] })));
|
|
40598
|
+
const FieldShell = reactExports.forwardRef(({ label, helpText, helpTextHtml, htmlFor, errorText, className, children, ...props }, ref) => (jsxRuntimeExports.jsxs(Field, { ref: ref, "data-invalid": Boolean(errorText) || undefined, className: className, ...props, children: [label && jsxRuntimeExports.jsx(FieldLabel, { htmlFor: htmlFor, children: label }), children, helpText && jsxRuntimeExports.jsx(FieldDescription, { children: helpText }), helpTextHtml && (jsxRuntimeExports.jsx(FieldDescription, { className: "html-content [&>a]:no-underline [&>a:hover]:underline", dangerouslySetInnerHTML: { __html: helpTextHtml } })), jsxRuntimeExports.jsx(FieldError, { errors: errorText ? [{ message: errorText }] : undefined })] })));
|
|
40599
40599
|
FieldShell.displayName = 'FieldShell';
|
|
40600
40600
|
const FormInput = reactExports.forwardRef(({ id, label, helpText, helpTextHtml, containerClassName, errorText, withCopyButton, value, 'data-dependency': dataDependency, ...props }, ref) => (jsxRuntimeExports.jsx(FieldShell, { label: label, helpText: helpText, helpTextHtml: helpTextHtml, htmlFor: id, errorText: errorText, className: containerClassName, "data-dependency": dataDependency, children: jsxRuntimeExports.jsxs("div", { className: "flex gap-2", children: [jsxRuntimeExports.jsx(Input, { ref: ref, id: id, value: value, "aria-invalid": Boolean(errorText) || undefined, ...props }), withCopyButton && (jsxRuntimeExports.jsx(Button, { type: "button", size: "icon", variant: "outline", "aria-label": `Copy ${label || 'value'}`, onClick: () => {
|
|
40601
40601
|
var _a;
|
|
@@ -40984,7 +40984,7 @@
|
|
|
40984
40984
|
var _a;
|
|
40985
40985
|
if (!field.key) {
|
|
40986
40986
|
// Label-only field
|
|
40987
|
-
return field.labelHtml ? (jsxRuntimeExports.jsx("
|
|
40987
|
+
return field.labelHtml ? (jsxRuntimeExports.jsx("div", { className: "html-content text-sm leading-relaxed", ...(field.dependencySettings ? { 'data-dependency': field.dependencySettings } : {}), dangerouslySetInnerHTML: { __html: field.labelHtml } })) : (jsxRuntimeExports.jsx("p", { className: "m-0 text-sm leading-relaxed", ...(field.dependencySettings ? { 'data-dependency': field.dependencySettings } : {}), children: field.label }));
|
|
40988
40988
|
}
|
|
40989
40989
|
const commonProps = {
|
|
40990
40990
|
id: field.key,
|
|
@@ -41176,7 +41176,7 @@
|
|
|
41176
41176
|
registerField,
|
|
41177
41177
|
registerFileInput,
|
|
41178
41178
|
uploadFiles,
|
|
41179
|
-
}) }, field.key || field.label || field.labelHtml || fieldIndex))) }), jsxRuntimeExports.jsxs(Button, { id: "login-button", disabled: isLoading, className: "w-full", onClick: oauthLogin ? () => oauthLoginHandler() : () => integrationLogin(), children: [isLoading && jsxRuntimeExports.jsx(Spinner, { "data-icon": "inline-start" }), "
|
|
41179
|
+
}) }, field.key || field.label || field.labelHtml || fieldIndex))) }), jsxRuntimeExports.jsxs(Button, { id: "login-button", disabled: isLoading, className: "w-full", onClick: oauthLogin ? () => oauthLoginHandler() : () => integrationLogin(), children: [isLoading && jsxRuntimeExports.jsx(Spinner, { "data-icon": "inline-start" }), "Connect ", name, !isLoading && jsxRuntimeExports.jsx(ArrowRight, { "data-icon": "inline-end" })] })] }) }) }) }), jsxRuntimeExports.jsx(Toaster, {})] }));
|
|
41180
41180
|
};
|
|
41181
41181
|
|
|
41182
41182
|
initializeCrowdinIframeContext();
|