xertica-ui 2.8.0 → 2.9.7
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 +108 -0
- package/README.md +1 -1
- package/bin/cli.ts +327 -87
- package/bin/language-config.ts +58 -18
- package/components/blocks/auth/AuthPageShell.tsx +63 -18
- package/components/blocks/auth/SocialLoginButtons.tsx +3 -3
- package/components/blocks/index.ts +1 -0
- package/components/blocks/marketing/CTASection.tsx +73 -0
- package/components/blocks/marketing/ComplianceBadgeRow.tsx +49 -0
- package/components/blocks/marketing/EvidenceTimeline.tsx +91 -0
- package/components/blocks/marketing/FeatureRow.tsx +78 -0
- package/components/blocks/marketing/Hero.tsx +125 -0
- package/components/blocks/marketing/HowItWorksSteps.tsx +90 -0
- package/components/blocks/marketing/LogoCloud.tsx +47 -0
- package/components/blocks/marketing/MarketingFooter.tsx +109 -0
- package/components/blocks/marketing/MarketingNavbar.tsx +192 -0
- package/components/blocks/marketing/PillBadge.tsx +96 -0
- package/components/blocks/marketing/SectionHeading.tsx +82 -0
- package/components/blocks/marketing/ServiceCardGrid.tsx +238 -0
- package/components/blocks/marketing/StatBand.tsx +99 -0
- package/components/blocks/marketing/TopAccentCards.tsx +91 -0
- package/components/blocks/marketing/index.ts +41 -0
- package/components/brand/index.ts +1 -0
- package/components/brand/isotype/Isotype.tsx +64 -0
- package/components/brand/isotype/IsotypeDiagonal.tsx +51 -0
- package/components/brand/isotype/IsotypeFrames.tsx +82 -0
- package/components/brand/isotype/IsotypeMini.tsx +65 -0
- package/components/brand/isotype/IsotypeTwist.tsx +68 -0
- package/components/brand/isotype/frame-variants.ts +20 -0
- package/components/brand/isotype/index.ts +9 -0
- package/components/brand/isotype/isotype-diagonal.mdx +52 -0
- package/components/brand/isotype/isotype-diagonal.stories.tsx +44 -0
- package/components/brand/isotype/isotype-diagonal.test.tsx +180 -0
- package/components/brand/isotype/isotype-frames.mdx +50 -0
- package/components/brand/isotype/isotype-frames.stories.tsx +63 -0
- package/components/brand/isotype/isotype-frames.test.tsx +92 -0
- package/components/brand/isotype/isotype-mini.mdx +61 -0
- package/components/brand/isotype/isotype-mini.stories.tsx +75 -0
- package/components/brand/isotype/isotype-mini.test.tsx +45 -0
- package/components/brand/isotype/isotype-twist.test.tsx +71 -0
- package/components/brand/isotype/isotype.mdx +61 -0
- package/components/brand/isotype/isotype.stories.tsx +74 -0
- package/components/brand/isotype/isotype.test.tsx +41 -0
- package/components/brand/isotype/mini-patterns.ts +50 -0
- package/components/brand/isotype/patterns.ts +83 -0
- package/components/brand/isotype/twist-variants.ts +20 -0
- package/components/pages/forgot-password-page/ForgotPasswordPage.tsx +3 -6
- package/components/pages/index.ts +1 -0
- package/components/pages/landing-page/LandingPage.tsx +360 -0
- package/components/pages/landing-page/index.ts +1 -0
- package/components/pages/login-page/LoginPage.tsx +3 -6
- package/components/pages/reset-password-page/ResetPasswordPage.tsx +1 -4
- package/components/pages/verify-email-page/VerifyEmailPage.tsx +2 -5
- package/components/ui/button/button.test.tsx +1 -1
- package/components/ui/button/button.tsx +7 -6
- package/components/ui/card/card.test.tsx +12 -0
- package/components/ui/card/card.tsx +5 -3
- package/components/ui/input-otp/input-otp.test.tsx +14 -1
- package/contexts/BrandColorsContext.tsx +9 -5
- package/contexts/theme-data.ts +32 -5
- package/dist/AssistantChart-BU48lxL2.js +3383 -0
- package/dist/AssistantChart-CoN6ga6Z.js +3383 -0
- package/dist/AssistantChart-DIRYJ7WY.js +3383 -0
- package/dist/AssistantChart-DOnY1ZlD.cjs +3551 -0
- package/dist/AssistantChart-DjM3qnp5.cjs +3551 -0
- package/dist/AssistantChart-hxPyE1S9.cjs +3551 -0
- package/dist/AudioPlayer-CpihsbaD.js +1278 -0
- package/dist/AudioPlayer-CvGajzMC.cjs +1282 -0
- package/dist/AudioPlayer-CvHpFqDG.cjs +1282 -0
- package/dist/AudioPlayer-D4S7GQou.js +1278 -0
- package/dist/BrandColorsContext-BNKLUVcU.js +829 -0
- package/dist/BrandColorsContext-DNZGHItQ.cjs +836 -0
- package/dist/BrandColorsContext-Ug_TZ8yn.cjs +846 -0
- package/dist/BrandColorsContext-z0O2LlZz.js +839 -0
- package/dist/CodeBlock-BkaZf-R8.cjs +223 -0
- package/dist/CodeBlock-CKu8LgbP.cjs +223 -0
- package/dist/CodeBlock-DiLS5LLI.js +221 -0
- package/dist/CodeBlock-zdylBGdZ.js +221 -0
- package/dist/CustomTooltipContent-BAR5qCQg.js +33 -0
- package/dist/CustomTooltipContent-CBLHBxX8.cjs +54 -0
- package/dist/CustomTooltipContent-CjWm3jjV.js +33 -0
- package/dist/CustomTooltipContent-DTV9MN9E.cjs +54 -0
- package/dist/EvidenceTimeline-DrRk4yqb.cjs +560 -0
- package/dist/EvidenceTimeline-l4MaV4C7.js +546 -0
- package/dist/FeatureCard-CIbBHqeY.cjs +497 -0
- package/dist/FeatureCard-DtoKPSfW.cjs +497 -0
- package/dist/FeatureCard-P4iEpBmB.js +485 -0
- package/dist/FeatureCard-e3f8bnF0.js +485 -0
- package/dist/ImageWithFallback-C1ww9Hg3.cjs +122 -0
- package/dist/ImageWithFallback-CBrkAEo3.cjs +122 -0
- package/dist/ImageWithFallback-CGk5zPH-.js +98 -0
- package/dist/ImageWithFallback-CfnoFFSP.js +98 -0
- package/dist/Isotype--fRZWwS6.js +85 -0
- package/dist/Isotype-0dpLqetB.js +85 -0
- package/dist/Isotype-B8XLEXSB.cjs +92 -0
- package/dist/Isotype-ChKwN7e-.cjs +91 -0
- package/dist/IsotypeDiagonal-CuPYPP4f.js +84 -0
- package/dist/IsotypeDiagonal-eNcOXRAc.cjs +91 -0
- package/dist/IsotypeDiagonal-oiwpXZhE.js +104 -0
- package/dist/IsotypeDiagonal-xMFoFXkb.cjs +109 -0
- package/dist/IsotypeFrames-BcWtyAWp.cjs +83 -0
- package/dist/IsotypeFrames-BnvSJKiH.cjs +73 -0
- package/dist/IsotypeFrames-iDRTRuIu.js +79 -0
- package/dist/IsotypeFrames-qoXOvOJt.js +69 -0
- package/dist/IsotypeMini-CQtWVo3h.js +126 -0
- package/dist/IsotypeMini-Cu_sW5yN.cjs +134 -0
- package/dist/IsotypeTwist-BTdNL4iV.js +106 -0
- package/dist/IsotypeTwist-DvsUgZs_.cjs +115 -0
- package/dist/LanguageContext-B1aOXO-K.js +1987 -0
- package/dist/LanguageContext-BP0k7AzI.js +1993 -0
- package/dist/LanguageContext-CChcIHIG.cjs +1998 -0
- package/dist/LanguageContext-ubC7TSs_.cjs +1992 -0
- package/dist/LanguageSelector-BLFPXGo8.cjs +48 -0
- package/dist/LanguageSelector-CYRzWkRZ.cjs +48 -0
- package/dist/LanguageSelector-CyHjZgC4.cjs +48 -0
- package/dist/LanguageSelector-DE8lIySO.js +46 -0
- package/dist/LanguageSelector-DUr1hjBW.js +46 -0
- package/dist/LanguageSelector-DjbWIKWC.js +46 -0
- package/dist/LogoCloud-C_uMKVNg.cjs +513 -0
- package/dist/LogoCloud-DJsMPNPh.js +500 -0
- package/dist/MarketingFooter-B_ycEdTJ.cjs +727 -0
- package/dist/MarketingFooter-Bhx-2Vlr.cjs +727 -0
- package/dist/MarketingFooter-Br1MGK9e.js +699 -0
- package/dist/MarketingFooter-BwE1vmeX.cjs +700 -0
- package/dist/MarketingFooter-CsZ1_xL9.js +709 -0
- package/dist/MarketingFooter-DCwf78Q4.cjs +716 -0
- package/dist/MarketingFooter-KH2r-OOL.js +709 -0
- package/dist/MarketingFooter-nB7G7gQ5.js +682 -0
- package/dist/SectionHeading-DEeOKcAd.cjs +857 -0
- package/dist/SectionHeading-DMNObcwm.js +838 -0
- package/dist/ThemeToggle--CGJjQJv.cjs +219 -0
- package/dist/ThemeToggle-Bn_7Pmfe.js +215 -0
- package/dist/ThemeToggle-CoL8Ady7.js +215 -0
- package/dist/ThemeToggle-D2Wzm5bn.cjs +219 -0
- package/dist/VerifyEmailPage-90lK6pP4.js +3258 -0
- package/dist/VerifyEmailPage-BJX1Rter.cjs +3320 -0
- package/dist/VerifyEmailPage-BSWvOgry.js +3310 -0
- package/dist/VerifyEmailPage-CDqIkhx-.js +3224 -0
- package/dist/VerifyEmailPage-Crxje3ZB.js +3323 -0
- package/dist/VerifyEmailPage-D2ShbuEN.cjs +3333 -0
- package/dist/VerifyEmailPage-DEBZXQ7c.cjs +3310 -0
- package/dist/VerifyEmailPage-DGaX-jZv.cjs +3268 -0
- package/dist/VerifyEmailPage-ZtOPkgOA.cjs +3234 -0
- package/dist/VerifyEmailPage-s927GSiR.js +3300 -0
- package/dist/XerticaOrbe-BHex09xs.js +1925 -0
- package/dist/XerticaOrbe-BKW3LJEz.js +1925 -0
- package/dist/XerticaOrbe-Br2i99U_.cjs +1927 -0
- package/dist/XerticaOrbe-kjFmuyx-.cjs +1927 -0
- package/dist/XerticaProvider-Bi5lKC9N.js +44 -0
- package/dist/XerticaProvider-BrPMVhiv.js +44 -0
- package/dist/XerticaProvider-CnX5kt5W.cjs +46 -0
- package/dist/XerticaProvider-DEKNJTlN.js +44 -0
- package/dist/XerticaProvider-X_wavDYA.cjs +46 -0
- package/dist/XerticaProvider-b3n_oL8w.cjs +46 -0
- package/dist/alert-dialog--qdlmB5i.cjs +872 -0
- package/dist/alert-dialog-C48TOdYU.cjs +872 -0
- package/dist/alert-dialog-CEPpnpXt.js +819 -0
- package/dist/alert-dialog-NjflitDa.js +819 -0
- package/dist/assistant.cjs.js +2 -2
- package/dist/assistant.es.js +2 -2
- package/dist/avatar-CtEKgg7s.cjs +77 -0
- package/dist/avatar-D03MNQxs.js +54 -0
- package/dist/avatar-Df7KgSvs.js +54 -0
- package/dist/avatar-Gy0_Xu9i.cjs +77 -0
- package/dist/blocks.cjs.js +33 -18
- package/dist/blocks.es.js +2 -2
- package/dist/brand.cjs.js +110 -4
- package/dist/brand.es.js +98 -4
- package/dist/breadcrumb-BGO5PZPG.js +90 -0
- package/dist/breadcrumb-BvGAY4ne.cjs +98 -0
- package/dist/breadcrumb-CU-punra.js +90 -0
- package/dist/breadcrumb-DjV9wfX1.cjs +98 -0
- package/dist/button-B05czY_8.js +62 -0
- package/dist/button-B3SE1liJ.js +62 -0
- package/dist/button-BMDlWZR8.cjs +85 -0
- package/dist/button-DVhloDtr.cjs +85 -0
- package/dist/cli.js +280 -62
- package/dist/components/blocks/auth/AuthPageShell.d.ts +21 -5
- package/dist/components/blocks/index.d.ts +1 -0
- package/dist/components/blocks/marketing/CTASection.d.ts +28 -0
- package/dist/components/blocks/marketing/ComplianceBadgeRow.d.ts +23 -0
- package/dist/components/blocks/marketing/EvidenceTimeline.d.ts +26 -0
- package/dist/components/blocks/marketing/FeatureRow.d.ts +25 -0
- package/dist/components/blocks/marketing/Hero.d.ts +35 -0
- package/dist/components/blocks/marketing/HowItWorksSteps.d.ts +29 -0
- package/dist/components/blocks/marketing/LogoCloud.d.ts +22 -0
- package/dist/components/blocks/marketing/MarketingFooter.d.ts +42 -0
- package/dist/components/blocks/marketing/MarketingNavbar.d.ts +47 -0
- package/dist/components/blocks/marketing/PillBadge.d.ts +21 -0
- package/dist/components/blocks/marketing/SectionHeading.d.ts +23 -0
- package/dist/components/blocks/marketing/ServiceCardGrid.d.ts +65 -0
- package/dist/components/blocks/marketing/StatBand.d.ts +25 -0
- package/dist/components/blocks/marketing/TopAccentCards.d.ts +29 -0
- package/dist/components/blocks/marketing/index.d.ts +28 -0
- package/dist/components/brand/index.d.ts +1 -0
- package/dist/components/brand/isotype/Isotype.d.ts +27 -0
- package/dist/components/brand/isotype/IsotypeDiagonal.d.ts +19 -0
- package/dist/components/brand/isotype/IsotypeFrames.d.ts +21 -0
- package/dist/components/brand/isotype/IsotypeMini.d.ts +26 -0
- package/dist/components/brand/isotype/IsotypeTwist.d.ts +22 -0
- package/dist/components/brand/isotype/frame-variants.d.ts +11 -0
- package/dist/components/brand/isotype/index.d.ts +9 -0
- package/dist/components/brand/isotype/mini-patterns.d.ts +25 -0
- package/dist/components/brand/isotype/patterns.d.ts +42 -0
- package/dist/components/brand/isotype/twist-variants.d.ts +11 -0
- package/dist/components/pages/forgot-password-page/ForgotPasswordPage.d.ts +2 -2
- package/dist/components/pages/index.d.ts +1 -0
- package/dist/components/pages/landing-page/LandingPage.d.ts +18 -0
- package/dist/components/pages/landing-page/index.d.ts +1 -0
- package/dist/components/pages/login-page/LoginPage.d.ts +2 -2
- package/dist/components/pages/verify-email-page/VerifyEmailPage.d.ts +1 -1
- package/dist/components/ui/card/card.d.ts +3 -1
- package/dist/contexts/theme-data.d.ts +6 -0
- package/dist/dropdown-menu-ChQa9zW3.cjs +225 -0
- package/dist/dropdown-menu-DRvnsQAt.cjs +225 -0
- package/dist/dropdown-menu-DUk81i5Y.js +190 -0
- package/dist/dropdown-menu-NlUHhVmK.js +190 -0
- package/dist/hooks.cjs.js +2 -2
- package/dist/hooks.es.js +2 -2
- package/dist/index.cjs.js +57 -41
- package/dist/index.es.js +25 -25
- package/dist/input-Csp_Metb.cjs +91 -0
- package/dist/input-DVRwGVLx.js +65 -0
- package/dist/input-Dqyj7Hdw.cjs +91 -0
- package/dist/input-dOgrFQ-3.js +65 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +1 -1
- package/dist/media.cjs.js +1 -1
- package/dist/media.es.js +1 -1
- package/dist/pages.cjs.js +2 -1
- package/dist/pages.es.js +1 -1
- package/dist/rich-text-editor-7K7UjLJN.cjs +2968 -0
- package/dist/rich-text-editor-B3jLP2bm.cjs +2968 -0
- package/dist/rich-text-editor-BntMVQsB.js +2894 -0
- package/dist/rich-text-editor-Diz_onyB.js +2894 -0
- package/dist/rich-text-editor-RWvK4hd3.cjs +2968 -0
- package/dist/rich-text-editor-gauEkzPM.js +2894 -0
- package/dist/select-B6PygS38.cjs +161 -0
- package/dist/select-BD763J5Y.cjs +161 -0
- package/dist/select-QJDKZITN.js +130 -0
- package/dist/select-q7aDfuPn.js +130 -0
- package/dist/sidebar-Bkk1YAsD.cjs +1154 -0
- package/dist/sidebar-CuzYeOSz.cjs +1154 -0
- package/dist/sidebar-CwlW3LXE.js +1151 -0
- package/dist/sidebar-DNkf-Ug6.js +1151 -0
- package/dist/sidebar-DaS3fplw.cjs +1154 -0
- package/dist/sidebar-FDCY42oP.js +1151 -0
- package/dist/skeleton-BtBwJ39W.js +79 -0
- package/dist/skeleton-CJyg0eJ1.cjs +88 -0
- package/dist/skeleton-D8WaauK0.cjs +88 -0
- package/dist/skeleton-DBYtjaZW.cjs +88 -0
- package/dist/skeleton-DY_lSFWf.js +79 -0
- package/dist/skeleton-Df65Ox10.js +79 -0
- package/dist/slider-BKV_vvsh.cjs +78 -0
- package/dist/slider-B_lUjFNa.cjs +78 -0
- package/dist/slider-CtBpIaU4.js +56 -0
- package/dist/slider-KgWmSJbx.js +56 -0
- package/dist/tooltip-BPttuPxU.js +48 -0
- package/dist/tooltip-CIKRzQqE.cjs +72 -0
- package/dist/tooltip-CoDByjE_.cjs +72 -0
- package/dist/tooltip-_MAwsiOL.js +48 -0
- package/dist/ui.cjs.js +13 -13
- package/dist/ui.es.js +13 -13
- package/dist/xertica-assistant-B1xAl2Vn.js +2173 -0
- package/dist/xertica-assistant-BBUMaUXw.js +2173 -0
- package/dist/xertica-assistant-CWuBwfzt.cjs +2180 -0
- package/dist/xertica-assistant-D2hlwiEP.js +2173 -0
- package/dist/xertica-assistant-DN2J_sQQ.cjs +2180 -0
- package/dist/xertica-assistant-DdYS6WXT.cjs +2180 -0
- package/dist/xertica-ui.css +1 -1
- package/llms-compact.txt +1 -1
- package/llms.txt +1 -1
- package/package.json +4 -2
- package/styles/xertica/base.css +8 -0
- package/styles/xertica/tokens.css +1 -0
- package/templates/package.json +1 -1
- package/templates/src/app/components/AuthGuard.tsx +6 -0
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +1 -4
- package/templates/src/features/auth/ui/LoginContent.tsx +1 -4
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +1 -4
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +1 -4
- package/templates/src/locales/en/pages/landing.json +175 -0
- package/templates/src/locales/es/pages/landing.json +175 -0
- package/templates/src/locales/pt-BR/pages/landing.json +175 -0
- package/templates/src/pages/LandingPage.tsx +349 -0
- package/templates/src/styles/xertica/tokens.css +1 -0
package/dist/assistant.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const xerticaAssistant = require('./xertica-assistant-
|
|
6
|
-
const CodeBlock = require('./CodeBlock-
|
|
5
|
+
const xerticaAssistant = require('./xertica-assistant-DdYS6WXT.cjs');
|
|
6
|
+
const CodeBlock = require('./CodeBlock-BkaZf-R8.cjs');
|
|
7
7
|
|
|
8
8
|
const generateDemoResponse = (mensagemUsuario) => {
|
|
9
9
|
const mensagemLower = mensagemUsuario.toLowerCase();
|
package/dist/assistant.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, u as useAssistant } from './xertica-assistant-
|
|
2
|
-
export { C as CodeBlock } from './CodeBlock-
|
|
1
|
+
export { F as FormattedDocument, M as MarkdownMessage, a as ModernChatInput, X as XerticaAssistant, u as useAssistant } from './xertica-assistant-B1xAl2Vn.js';
|
|
2
|
+
export { C as CodeBlock } from './CodeBlock-zdylBGdZ.js';
|
|
3
3
|
|
|
4
4
|
const generateDemoResponse = (mensagemUsuario) => {
|
|
5
5
|
const mensagemLower = mensagemUsuario.toLowerCase();
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
const AvatarPrimitive = require('@radix-ui/react-avatar');
|
|
5
|
+
const button = require('./button-BMDlWZR8.cjs');
|
|
6
|
+
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespaceDefault(AvatarPrimitive);
|
|
25
|
+
|
|
26
|
+
function Avatar({
|
|
27
|
+
className,
|
|
28
|
+
size = "md",
|
|
29
|
+
...props
|
|
30
|
+
}) {
|
|
31
|
+
const sizeClasses = {
|
|
32
|
+
xs: "size-6",
|
|
33
|
+
sm: "size-8",
|
|
34
|
+
md: "size-10",
|
|
35
|
+
lg: "size-12",
|
|
36
|
+
xl: "size-16"
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
AvatarPrimitive__namespace.Root,
|
|
40
|
+
{
|
|
41
|
+
"data-slot": "avatar",
|
|
42
|
+
className: button.cn(
|
|
43
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
44
|
+
sizeClasses[size],
|
|
45
|
+
className
|
|
46
|
+
),
|
|
47
|
+
...props
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
function AvatarImage({ className, ...props }) {
|
|
52
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
+
AvatarPrimitive__namespace.Image,
|
|
54
|
+
{
|
|
55
|
+
"data-slot": "avatar-image",
|
|
56
|
+
className: button.cn("aspect-square size-full", className),
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function AvatarFallback({
|
|
62
|
+
className,
|
|
63
|
+
...props
|
|
64
|
+
}) {
|
|
65
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
+
AvatarPrimitive__namespace.Fallback,
|
|
67
|
+
{
|
|
68
|
+
"data-slot": "avatar-fallback",
|
|
69
|
+
className: button.cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
70
|
+
...props
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
exports.Avatar = Avatar;
|
|
76
|
+
exports.AvatarFallback = AvatarFallback;
|
|
77
|
+
exports.AvatarImage = AvatarImage;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
import { c as cn } from './button-B3SE1liJ.js';
|
|
4
|
+
|
|
5
|
+
function Avatar({
|
|
6
|
+
className,
|
|
7
|
+
size = "md",
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const sizeClasses = {
|
|
11
|
+
xs: "size-6",
|
|
12
|
+
sm: "size-8",
|
|
13
|
+
md: "size-10",
|
|
14
|
+
lg: "size-12",
|
|
15
|
+
xl: "size-16"
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ jsx(
|
|
18
|
+
AvatarPrimitive.Root,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "avatar",
|
|
21
|
+
className: cn(
|
|
22
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
23
|
+
sizeClasses[size],
|
|
24
|
+
className
|
|
25
|
+
),
|
|
26
|
+
...props
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
function AvatarImage({ className, ...props }) {
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
AvatarPrimitive.Image,
|
|
33
|
+
{
|
|
34
|
+
"data-slot": "avatar-image",
|
|
35
|
+
className: cn("aspect-square size-full", className),
|
|
36
|
+
...props
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
function AvatarFallback({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}) {
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
AvatarPrimitive.Fallback,
|
|
46
|
+
{
|
|
47
|
+
"data-slot": "avatar-fallback",
|
|
48
|
+
className: cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
49
|
+
...props
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { Avatar as A, AvatarFallback as a, AvatarImage as b };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
import { c as cn } from './button-B05czY_8.js';
|
|
4
|
+
|
|
5
|
+
function Avatar({
|
|
6
|
+
className,
|
|
7
|
+
size = "md",
|
|
8
|
+
...props
|
|
9
|
+
}) {
|
|
10
|
+
const sizeClasses = {
|
|
11
|
+
xs: "size-6",
|
|
12
|
+
sm: "size-8",
|
|
13
|
+
md: "size-10",
|
|
14
|
+
lg: "size-12",
|
|
15
|
+
xl: "size-16"
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ jsx(
|
|
18
|
+
AvatarPrimitive.Root,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "avatar",
|
|
21
|
+
className: cn(
|
|
22
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
23
|
+
sizeClasses[size],
|
|
24
|
+
className
|
|
25
|
+
),
|
|
26
|
+
...props
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
function AvatarImage({ className, ...props }) {
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
AvatarPrimitive.Image,
|
|
33
|
+
{
|
|
34
|
+
"data-slot": "avatar-image",
|
|
35
|
+
className: cn("aspect-square size-full", className),
|
|
36
|
+
...props
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
function AvatarFallback({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}) {
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
AvatarPrimitive.Fallback,
|
|
46
|
+
{
|
|
47
|
+
"data-slot": "avatar-fallback",
|
|
48
|
+
className: cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
49
|
+
...props
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { Avatar as A, AvatarFallback as a, AvatarImage as b };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
const AvatarPrimitive = require('@radix-ui/react-avatar');
|
|
5
|
+
const button = require('./button-DVhloDtr.cjs');
|
|
6
|
+
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== 'default') {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespaceDefault(AvatarPrimitive);
|
|
25
|
+
|
|
26
|
+
function Avatar({
|
|
27
|
+
className,
|
|
28
|
+
size = "md",
|
|
29
|
+
...props
|
|
30
|
+
}) {
|
|
31
|
+
const sizeClasses = {
|
|
32
|
+
xs: "size-6",
|
|
33
|
+
sm: "size-8",
|
|
34
|
+
md: "size-10",
|
|
35
|
+
lg: "size-12",
|
|
36
|
+
xl: "size-16"
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
AvatarPrimitive__namespace.Root,
|
|
40
|
+
{
|
|
41
|
+
"data-slot": "avatar",
|
|
42
|
+
className: button.cn(
|
|
43
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
44
|
+
sizeClasses[size],
|
|
45
|
+
className
|
|
46
|
+
),
|
|
47
|
+
...props
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
function AvatarImage({ className, ...props }) {
|
|
52
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
+
AvatarPrimitive__namespace.Image,
|
|
54
|
+
{
|
|
55
|
+
"data-slot": "avatar-image",
|
|
56
|
+
className: button.cn("aspect-square size-full", className),
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function AvatarFallback({
|
|
62
|
+
className,
|
|
63
|
+
...props
|
|
64
|
+
}) {
|
|
65
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
66
|
+
AvatarPrimitive__namespace.Fallback,
|
|
67
|
+
{
|
|
68
|
+
"data-slot": "avatar-fallback",
|
|
69
|
+
className: button.cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
70
|
+
...props
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
exports.Avatar = Avatar;
|
|
76
|
+
exports.AvatarFallback = AvatarFallback;
|
|
77
|
+
exports.AvatarImage = AvatarImage;
|
package/dist/blocks.cjs.js
CHANGED
|
@@ -2,24 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const EvidenceTimeline = require('./EvidenceTimeline-DrRk4yqb.cjs');
|
|
6
|
+
const SectionHeading = require('./SectionHeading-DEeOKcAd.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.ActivityCard =
|
|
11
|
-
exports.ActivityCardSkeleton =
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
10
|
+
exports.ActivityCard = EvidenceTimeline.ActivityCard;
|
|
11
|
+
exports.ActivityCardSkeleton = EvidenceTimeline.ActivityCardSkeleton;
|
|
12
|
+
exports.EvidenceTimeline = EvidenceTimeline.EvidenceTimeline;
|
|
13
|
+
exports.FeatureCard = EvidenceTimeline.FeatureCard;
|
|
14
|
+
exports.LogoCloud = EvidenceTimeline.LogoCloud;
|
|
15
|
+
exports.NotificationCard = EvidenceTimeline.NotificationCard;
|
|
16
|
+
exports.NotificationCardSkeleton = EvidenceTimeline.NotificationCardSkeleton;
|
|
17
|
+
exports.ProfileCard = EvidenceTimeline.ProfileCard;
|
|
18
|
+
exports.ProfileCardSkeleton = EvidenceTimeline.ProfileCardSkeleton;
|
|
19
|
+
exports.ProjectCard = EvidenceTimeline.ProjectCard;
|
|
20
|
+
exports.ProjectCardSkeleton = EvidenceTimeline.ProjectCardSkeleton;
|
|
21
|
+
exports.QuickActionCard = EvidenceTimeline.QuickActionCard;
|
|
22
|
+
exports.QuickActionCardSkeleton = EvidenceTimeline.QuickActionCardSkeleton;
|
|
23
|
+
exports.AuthPageShell = SectionHeading.AuthPageShell;
|
|
24
|
+
exports.CTASection = SectionHeading.CTASection;
|
|
25
|
+
exports.ComplianceBadgeRow = SectionHeading.ComplianceBadgeRow;
|
|
26
|
+
exports.FeatureCardSkeleton = SectionHeading.FeatureCardSkeleton;
|
|
27
|
+
exports.FeatureRow = SectionHeading.FeatureRow;
|
|
28
|
+
exports.Hero = SectionHeading.Hero;
|
|
29
|
+
exports.HowItWorksSteps = SectionHeading.HowItWorksSteps;
|
|
30
|
+
exports.MarketingFooter = SectionHeading.MarketingFooter;
|
|
31
|
+
exports.MarketingNavbar = SectionHeading.MarketingNavbar;
|
|
32
|
+
exports.PasswordStrengthMeter = SectionHeading.PasswordStrengthMeter;
|
|
33
|
+
exports.PillBadge = SectionHeading.PillBadge;
|
|
34
|
+
exports.SectionHeading = SectionHeading.SectionHeading;
|
|
35
|
+
exports.ServiceCard = SectionHeading.ServiceCard;
|
|
36
|
+
exports.ServiceCardGrid = SectionHeading.ServiceCardGrid;
|
|
37
|
+
exports.SocialLoginButtons = SectionHeading.SocialLoginButtons;
|
|
38
|
+
exports.StatBand = SectionHeading.StatBand;
|
|
39
|
+
exports.TopAccentCards = SectionHeading.TopAccentCards;
|
|
40
|
+
exports.usePasswordStrength = SectionHeading.usePasswordStrength;
|
package/dist/blocks.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ActivityCard, a as ActivityCardSkeleton, F as FeatureCard, N as NotificationCard, b as NotificationCardSkeleton, P as ProfileCard, c as ProfileCardSkeleton, d as ProjectCard, e as ProjectCardSkeleton, Q as QuickActionCard, f as QuickActionCardSkeleton } from './
|
|
2
|
-
export { A as AuthPageShell, F as FeatureCardSkeleton, P as PasswordStrengthMeter, S as SocialLoginButtons, u as usePasswordStrength } from './
|
|
1
|
+
export { A as ActivityCard, a as ActivityCardSkeleton, E as EvidenceTimeline, F as FeatureCard, L as LogoCloud, N as NotificationCard, b as NotificationCardSkeleton, P as ProfileCard, c as ProfileCardSkeleton, d as ProjectCard, e as ProjectCardSkeleton, Q as QuickActionCard, f as QuickActionCardSkeleton } from './EvidenceTimeline-l4MaV4C7.js';
|
|
2
|
+
export { A as AuthPageShell, C as CTASection, a as ComplianceBadgeRow, F as FeatureCardSkeleton, b as FeatureRow, H as Hero, c as HowItWorksSteps, M as MarketingFooter, d as MarketingNavbar, P as PasswordStrengthMeter, e as PillBadge, S as SectionHeading, f as ServiceCard, g as ServiceCardGrid, h as SocialLoginButtons, i as StatBand, T as TopAccentCards, u as usePasswordStrength } from './SectionHeading-DMNObcwm.js';
|
package/dist/brand.cjs.js
CHANGED
|
@@ -2,16 +2,122 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const XerticaProvider = require('./XerticaProvider-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
5
|
+
const XerticaProvider = require('./XerticaProvider-b3n_oL8w.cjs');
|
|
6
|
+
const jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
const button = require('./button-BMDlWZR8.cjs');
|
|
8
|
+
const IsotypeTwist = require('./IsotypeTwist-DvsUgZs_.cjs');
|
|
9
|
+
const IsotypeDiagonal = require('./IsotypeDiagonal-xMFoFXkb.cjs');
|
|
10
|
+
const ThemeToggle = require('./ThemeToggle--CGJjQJv.cjs');
|
|
11
|
+
const XerticaOrbe = require('./XerticaOrbe-Br2i99U_.cjs');
|
|
12
|
+
const LanguageSelector = require('./LanguageSelector-CYRzWkRZ.cjs');
|
|
9
13
|
|
|
14
|
+
function Isotype({
|
|
15
|
+
pattern = "core",
|
|
16
|
+
variantSeed,
|
|
17
|
+
className,
|
|
18
|
+
"aria-label": ariaLabel,
|
|
19
|
+
...props
|
|
20
|
+
}) {
|
|
21
|
+
const cells = variantSeed === void 0 ? IsotypeTwist.ISOTYPE_PATTERNS[pattern] : IsotypeTwist.getIsotypeVariant(pattern, variantSeed);
|
|
22
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
role: ariaLabel ? "img" : void 0,
|
|
26
|
+
"aria-label": ariaLabel,
|
|
27
|
+
"aria-hidden": ariaLabel ? void 0 : true,
|
|
28
|
+
className: button.cn(
|
|
29
|
+
"grid aspect-square grid-cols-4 grid-rows-4",
|
|
30
|
+
className
|
|
31
|
+
),
|
|
32
|
+
...props,
|
|
33
|
+
children: cells.map((cell, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
34
|
+
"div",
|
|
35
|
+
{
|
|
36
|
+
style: { backgroundColor: cell === "blank" ? void 0 : IsotypeTwist.ISOTYPE_COLORS[cell] }
|
|
37
|
+
},
|
|
38
|
+
index
|
|
39
|
+
))
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
10
43
|
|
|
44
|
+
const ISOTYPE_MINI_PATTERNS = {
|
|
45
|
+
core: [
|
|
46
|
+
"purple",
|
|
47
|
+
"blue",
|
|
48
|
+
"blue",
|
|
49
|
+
"magenta",
|
|
50
|
+
"yellow",
|
|
51
|
+
"green",
|
|
52
|
+
"magenta",
|
|
53
|
+
"red",
|
|
54
|
+
"brown"
|
|
55
|
+
]
|
|
56
|
+
};
|
|
57
|
+
const ISOTYPE_MINI_PATTERN_IDS = Object.keys(
|
|
58
|
+
ISOTYPE_MINI_PATTERNS
|
|
59
|
+
);
|
|
60
|
+
function getIsotypeMiniVariant(patternId, seed) {
|
|
61
|
+
const base = ISOTYPE_MINI_PATTERNS[patternId];
|
|
62
|
+
const candidateIndices = base.reduce(
|
|
63
|
+
(acc, cell, i) => cell === "blank" ? acc : [...acc, i],
|
|
64
|
+
[]
|
|
65
|
+
);
|
|
66
|
+
const rng = IsotypeTwist.mulberry32(seed);
|
|
67
|
+
const chosen = candidateIndices[Math.floor(rng() * candidateIndices.length)];
|
|
68
|
+
return base.map((cell, i) => i === chosen ? "blank" : cell);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function IsotypeMini({
|
|
72
|
+
pattern = "core",
|
|
73
|
+
variantSeed,
|
|
74
|
+
className,
|
|
75
|
+
"aria-label": ariaLabel,
|
|
76
|
+
...props
|
|
77
|
+
}) {
|
|
78
|
+
const cells = variantSeed === void 0 ? ISOTYPE_MINI_PATTERNS[pattern] : getIsotypeMiniVariant(pattern, variantSeed);
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
80
|
+
"div",
|
|
81
|
+
{
|
|
82
|
+
role: ariaLabel ? "img" : void 0,
|
|
83
|
+
"aria-label": ariaLabel,
|
|
84
|
+
"aria-hidden": ariaLabel ? void 0 : true,
|
|
85
|
+
className: button.cn(
|
|
86
|
+
"grid aspect-square grid-cols-3 grid-rows-3",
|
|
87
|
+
className
|
|
88
|
+
),
|
|
89
|
+
...props,
|
|
90
|
+
children: cells.map((cell, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
style: { backgroundColor: cell === "blank" ? void 0 : IsotypeTwist.ISOTYPE_COLORS[cell] }
|
|
94
|
+
},
|
|
95
|
+
index
|
|
96
|
+
))
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
11
100
|
|
|
12
101
|
exports.XerticaProvider = XerticaProvider.XerticaProvider;
|
|
102
|
+
exports.ISOTYPE_COLORS = IsotypeTwist.ISOTYPE_COLORS;
|
|
103
|
+
exports.ISOTYPE_PATTERNS = IsotypeTwist.ISOTYPE_PATTERNS;
|
|
104
|
+
exports.ISOTYPE_PATTERN_IDS = IsotypeTwist.ISOTYPE_PATTERN_IDS;
|
|
105
|
+
exports.ISOTYPE_TWIST_VARIANTS = IsotypeTwist.ISOTYPE_TWIST_VARIANTS;
|
|
106
|
+
exports.ISOTYPE_TWIST_VARIANT_IDS = IsotypeTwist.ISOTYPE_TWIST_VARIANT_IDS;
|
|
107
|
+
exports.IsotypeTwist = IsotypeTwist.IsotypeTwist;
|
|
108
|
+
exports.getIsotypeVariant = IsotypeTwist.getIsotypeVariant;
|
|
109
|
+
exports.mulberry32 = IsotypeTwist.mulberry32;
|
|
110
|
+
exports.ISOTYPE_FRAME_VARIANTS = IsotypeDiagonal.ISOTYPE_FRAME_VARIANTS;
|
|
111
|
+
exports.ISOTYPE_FRAME_VARIANT_IDS = IsotypeDiagonal.ISOTYPE_FRAME_VARIANT_IDS;
|
|
112
|
+
exports.IsotypeDiagonal = IsotypeDiagonal.IsotypeDiagonal;
|
|
113
|
+
exports.IsotypeFrames = IsotypeDiagonal.IsotypeFrames;
|
|
13
114
|
exports.ThemeToggle = ThemeToggle.ThemeToggle;
|
|
14
115
|
exports.XerticaLogo = ThemeToggle.XerticaLogo;
|
|
15
116
|
exports.XerticaXLogo = ThemeToggle.XerticaXLogo;
|
|
16
117
|
exports.XerticaOrbe = XerticaOrbe.XerticaOrbe;
|
|
17
118
|
exports.LanguageSelector = LanguageSelector.LanguageSelector;
|
|
119
|
+
exports.ISOTYPE_MINI_PATTERNS = ISOTYPE_MINI_PATTERNS;
|
|
120
|
+
exports.ISOTYPE_MINI_PATTERN_IDS = ISOTYPE_MINI_PATTERN_IDS;
|
|
121
|
+
exports.Isotype = Isotype;
|
|
122
|
+
exports.IsotypeMini = IsotypeMini;
|
|
123
|
+
exports.getIsotypeMiniVariant = getIsotypeMiniVariant;
|
package/dist/brand.es.js
CHANGED
|
@@ -1,4 +1,98 @@
|
|
|
1
|
-
export { X as XerticaProvider } from './XerticaProvider-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export { X as XerticaProvider } from './XerticaProvider-Bi5lKC9N.js';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { c as cn } from './button-B05czY_8.js';
|
|
4
|
+
import { I as ISOTYPE_PATTERNS, g as getIsotypeVariant, a as ISOTYPE_COLORS, m as mulberry32 } from './IsotypeTwist-BTdNL4iV.js';
|
|
5
|
+
export { b as ISOTYPE_PATTERN_IDS, c as ISOTYPE_TWIST_VARIANTS, d as ISOTYPE_TWIST_VARIANT_IDS, e as IsotypeTwist } from './IsotypeTwist-BTdNL4iV.js';
|
|
6
|
+
export { I as ISOTYPE_FRAME_VARIANTS, a as ISOTYPE_FRAME_VARIANT_IDS, b as IsotypeDiagonal, c as IsotypeFrames } from './IsotypeDiagonal-oiwpXZhE.js';
|
|
7
|
+
export { T as ThemeToggle, X as XerticaLogo, a as XerticaXLogo } from './ThemeToggle-Bn_7Pmfe.js';
|
|
8
|
+
export { X as XerticaOrbe } from './XerticaOrbe-BHex09xs.js';
|
|
9
|
+
export { L as LanguageSelector } from './LanguageSelector-DjbWIKWC.js';
|
|
10
|
+
|
|
11
|
+
function Isotype({
|
|
12
|
+
pattern = "core",
|
|
13
|
+
variantSeed,
|
|
14
|
+
className,
|
|
15
|
+
"aria-label": ariaLabel,
|
|
16
|
+
...props
|
|
17
|
+
}) {
|
|
18
|
+
const cells = variantSeed === void 0 ? ISOTYPE_PATTERNS[pattern] : getIsotypeVariant(pattern, variantSeed);
|
|
19
|
+
return /* @__PURE__ */ jsx(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
role: ariaLabel ? "img" : void 0,
|
|
23
|
+
"aria-label": ariaLabel,
|
|
24
|
+
"aria-hidden": ariaLabel ? void 0 : true,
|
|
25
|
+
className: cn(
|
|
26
|
+
"grid aspect-square grid-cols-4 grid-rows-4",
|
|
27
|
+
className
|
|
28
|
+
),
|
|
29
|
+
...props,
|
|
30
|
+
children: cells.map((cell, index) => /* @__PURE__ */ jsx(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
style: { backgroundColor: cell === "blank" ? void 0 : ISOTYPE_COLORS[cell] }
|
|
34
|
+
},
|
|
35
|
+
index
|
|
36
|
+
))
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const ISOTYPE_MINI_PATTERNS = {
|
|
42
|
+
core: [
|
|
43
|
+
"purple",
|
|
44
|
+
"blue",
|
|
45
|
+
"blue",
|
|
46
|
+
"magenta",
|
|
47
|
+
"yellow",
|
|
48
|
+
"green",
|
|
49
|
+
"magenta",
|
|
50
|
+
"red",
|
|
51
|
+
"brown"
|
|
52
|
+
]
|
|
53
|
+
};
|
|
54
|
+
const ISOTYPE_MINI_PATTERN_IDS = Object.keys(
|
|
55
|
+
ISOTYPE_MINI_PATTERNS
|
|
56
|
+
);
|
|
57
|
+
function getIsotypeMiniVariant(patternId, seed) {
|
|
58
|
+
const base = ISOTYPE_MINI_PATTERNS[patternId];
|
|
59
|
+
const candidateIndices = base.reduce(
|
|
60
|
+
(acc, cell, i) => cell === "blank" ? acc : [...acc, i],
|
|
61
|
+
[]
|
|
62
|
+
);
|
|
63
|
+
const rng = mulberry32(seed);
|
|
64
|
+
const chosen = candidateIndices[Math.floor(rng() * candidateIndices.length)];
|
|
65
|
+
return base.map((cell, i) => i === chosen ? "blank" : cell);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function IsotypeMini({
|
|
69
|
+
pattern = "core",
|
|
70
|
+
variantSeed,
|
|
71
|
+
className,
|
|
72
|
+
"aria-label": ariaLabel,
|
|
73
|
+
...props
|
|
74
|
+
}) {
|
|
75
|
+
const cells = variantSeed === void 0 ? ISOTYPE_MINI_PATTERNS[pattern] : getIsotypeMiniVariant(pattern, variantSeed);
|
|
76
|
+
return /* @__PURE__ */ jsx(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
role: ariaLabel ? "img" : void 0,
|
|
80
|
+
"aria-label": ariaLabel,
|
|
81
|
+
"aria-hidden": ariaLabel ? void 0 : true,
|
|
82
|
+
className: cn(
|
|
83
|
+
"grid aspect-square grid-cols-3 grid-rows-3",
|
|
84
|
+
className
|
|
85
|
+
),
|
|
86
|
+
...props,
|
|
87
|
+
children: cells.map((cell, index) => /* @__PURE__ */ jsx(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
style: { backgroundColor: cell === "blank" ? void 0 : ISOTYPE_COLORS[cell] }
|
|
91
|
+
},
|
|
92
|
+
index
|
|
93
|
+
))
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { ISOTYPE_COLORS, ISOTYPE_MINI_PATTERNS, ISOTYPE_MINI_PATTERN_IDS, ISOTYPE_PATTERNS, Isotype, IsotypeMini, getIsotypeMiniVariant, getIsotypeVariant, mulberry32 };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
+
import { MoreHorizontal, ChevronRight } from 'lucide-react';
|
|
4
|
+
import { c as cn } from './button-B05czY_8.js';
|
|
5
|
+
|
|
6
|
+
function Breadcrumb({ ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
8
|
+
}
|
|
9
|
+
function BreadcrumbList({ className, ...props }) {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
"ol",
|
|
12
|
+
{
|
|
13
|
+
"data-slot": "breadcrumb-list",
|
|
14
|
+
className: cn(
|
|
15
|
+
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
|
|
16
|
+
className
|
|
17
|
+
),
|
|
18
|
+
...props
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
23
|
+
return /* @__PURE__ */ jsx(
|
|
24
|
+
"li",
|
|
25
|
+
{
|
|
26
|
+
"data-slot": "breadcrumb-item",
|
|
27
|
+
className: cn("inline-flex items-center gap-1.5", className),
|
|
28
|
+
...props
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function BreadcrumbLink({
|
|
33
|
+
asChild,
|
|
34
|
+
className,
|
|
35
|
+
...props
|
|
36
|
+
}) {
|
|
37
|
+
const Comp = asChild ? Slot : "a";
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
Comp,
|
|
40
|
+
{
|
|
41
|
+
"data-slot": "breadcrumb-link",
|
|
42
|
+
className: cn("hover:text-foreground transition-colors", className),
|
|
43
|
+
...props
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
"span",
|
|
50
|
+
{
|
|
51
|
+
"data-slot": "breadcrumb-page",
|
|
52
|
+
role: "link",
|
|
53
|
+
"aria-disabled": "true",
|
|
54
|
+
"aria-current": "page",
|
|
55
|
+
className: cn("text-foreground font-normal", className),
|
|
56
|
+
...props
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
function BreadcrumbSeparator({ children, className, ...props }) {
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
"li",
|
|
63
|
+
{
|
|
64
|
+
"data-slot": "breadcrumb-separator",
|
|
65
|
+
role: "presentation",
|
|
66
|
+
"aria-hidden": "true",
|
|
67
|
+
className: cn("[&>svg]:size-3.5", className),
|
|
68
|
+
...props,
|
|
69
|
+
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
function BreadcrumbEllipsis({ className, ...props }) {
|
|
74
|
+
return /* @__PURE__ */ jsxs(
|
|
75
|
+
"span",
|
|
76
|
+
{
|
|
77
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
78
|
+
role: "presentation",
|
|
79
|
+
"aria-hidden": "true",
|
|
80
|
+
className: cn("flex size-9 items-center justify-center", className),
|
|
81
|
+
...props,
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" }),
|
|
84
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export { Breadcrumb as B, BreadcrumbEllipsis as a, BreadcrumbItem as b, BreadcrumbLink as c, BreadcrumbList as d, BreadcrumbPage as e, BreadcrumbSeparator as f };
|