@krizaka/ui 3.59.0 → 3.61.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/README.md +1 -0
- package/dist/blocks.css +106 -0
- package/dist/chunk-44FU32KP.js +2 -0
- package/dist/chunk-44FU32KP.js.map +1 -0
- package/dist/{chunk-USPOIQV5.js → chunk-LE5NSQEA.js} +1 -1
- package/dist/{chunk-USPOIQV5.js.map → chunk-LE5NSQEA.js.map} +1 -1
- package/dist/nav-bar.d.ts +7 -2
- package/dist/nav-bar.js +8 -3
- package/dist/nav-bar.js.map +1 -1
- package/dist/site-cahier.d.ts +24 -0
- package/dist/site-cahier.js +6 -4
- package/dist/site-cahier.js.map +1 -1
- package/dist/site-footer.d.ts +8 -2
- package/dist/site-footer.js +7 -5
- package/dist/site-footer.js.map +1 -1
- package/dist/{sites-DlR8jicc.d.ts → sites-BKz1beUK.d.ts} +19 -1
- package/dist/sites.d.ts +22 -2
- package/dist/sites.js +4 -0
- package/dist/sites.js.map +1 -1
- package/dist/taped-photo.js +1 -0
- package/dist/wall.d.ts +79 -0
- package/dist/wall.js +127 -0
- package/dist/wall.js.map +1 -0
- package/package.json +20 -5
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +1 -1
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +1 -1
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +1 -1
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/wall/brick.d.ts +4 -0
- package/registry/examples/wall/brick.js +14 -0
- package/registry/examples/wall/brick.tsx +8 -0
- package/registry/examples/wall/composition-fr.d.ts +4 -0
- package/registry/examples/wall/composition-fr.js +37 -0
- package/registry/examples/wall/composition-fr.tsx +18 -0
- package/registry/examples/wall/composition.d.ts +4 -0
- package/registry/examples/wall/composition.js +38 -0
- package/registry/examples/wall/composition.tsx +18 -0
- package/registry/examples/wall/pinned-note.d.ts +4 -0
- package/registry/examples/wall/pinned-note.js +15 -0
- package/registry/examples/wall/pinned-note.tsx +9 -0
- package/registry/examples/wall/plaster.d.ts +4 -0
- package/registry/examples/wall/plaster.js +14 -0
- package/registry/examples/wall/plaster.tsx +8 -0
- package/registry/examples/wall/polaroid.d.ts +4 -0
- package/registry/examples/wall/polaroid.js +19 -0
- package/registry/examples/wall/polaroid.tsx +10 -0
- package/registry/examples/wall/ridge.d.ts +4 -0
- package/registry/examples/wall/ridge.js +14 -0
- package/registry/examples/wall/ridge.tsx +8 -0
- package/registry/examples/wall/shop-sign.d.ts +4 -0
- package/registry/examples/wall/shop-sign.js +16 -0
- package/registry/examples/wall/shop-sign.tsx +10 -0
- package/registry/examples/wall/zellige.d.ts +4 -0
- package/registry/examples/wall/zellige.js +14 -0
- package/registry/examples/wall/zellige.tsx +8 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +1 -1
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/grade-stamp.json +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +38 -6
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +1 -1
- package/registry/list.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +19 -4
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +19 -4
- package/registry/sites.json +3 -3
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/status-chip.json +1 -1
- package/registry/status-page.json +1 -1
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +1 -1
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/registry/wall.json +511 -0
- package/registry/waveform.json +1 -1
package/dist/site-cahier.d.ts
CHANGED
|
@@ -78,6 +78,24 @@ interface FamilyLabels {
|
|
|
78
78
|
/** The company's pages in the footer's « Krizaka » column. @default the English words */
|
|
79
79
|
company?: Record<CompanyLinkId, string>;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* What the footer and the bar read from `@krizaka/org` (the organisation's public facts, one validated JSON): the brand's
|
|
83
|
+
* name, the footer line and the legal links, each in both languages. Structural: the whole `Org` of `@krizaka/org` fits.
|
|
84
|
+
*/
|
|
85
|
+
interface OrgFacts {
|
|
86
|
+
brand: {
|
|
87
|
+
name: string;
|
|
88
|
+
};
|
|
89
|
+
footer: {
|
|
90
|
+
/** « Une entreprise de Technologies Krizaka · Fait à Montréal ». */
|
|
91
|
+
line: Record<SiteLocale, string>;
|
|
92
|
+
legal: readonly {
|
|
93
|
+
id: string;
|
|
94
|
+
label: Record<SiteLocale, string>;
|
|
95
|
+
url: Record<SiteLocale, string>;
|
|
96
|
+
}[];
|
|
97
|
+
};
|
|
98
|
+
}
|
|
81
99
|
|
|
82
100
|
type SiteFooterProps = Omit<React.ComponentProps<"footer">, "children"> & {
|
|
83
101
|
/** The site this footer belongs to (`@krizaka/ui/sites`): its mark and line, its signature, marked in the family. */
|
|
@@ -110,6 +128,12 @@ type SiteFooterProps = Omit<React.ComponentProps<"footer">, "children"> & {
|
|
|
110
128
|
* and all of them once the reader asks for the whole notebook). Omit it to list every product.
|
|
111
129
|
*/
|
|
112
130
|
products?: readonly SiteId[];
|
|
131
|
+
/**
|
|
132
|
+
* The organisation's public facts (`org` of `@krizaka/org`). The signature line is then `org.footer.line` — « Une
|
|
133
|
+
* entreprise de Technologies Krizaka · Fait à Montréal », the same on every site — and, when `legal` is not given, the
|
|
134
|
+
* legal links are `org.footer.legal`, in the language of `labels`. No site writes these lines by hand.
|
|
135
|
+
*/
|
|
136
|
+
org?: OrgFacts;
|
|
113
137
|
/** The end of the signature line: legal links, a language switch (`SiteFooter.Link`s or any inline content). */
|
|
114
138
|
legal?: React.ReactNode;
|
|
115
139
|
/**
|
package/dist/site-cahier.js
CHANGED
|
@@ -652,7 +652,7 @@ var familyLabels = {
|
|
|
652
652
|
};
|
|
653
653
|
|
|
654
654
|
// src/site-footer/site-footer.tsx
|
|
655
|
-
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
655
|
+
import { Fragment, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
656
656
|
var siteFooter = tv({
|
|
657
657
|
slots: {
|
|
658
658
|
root: "w-full border-t border-border-subtle bg-surface-0 text-fg",
|
|
@@ -709,7 +709,8 @@ function SiteFooter({
|
|
|
709
709
|
version,
|
|
710
710
|
env,
|
|
711
711
|
path,
|
|
712
|
-
legal,
|
|
712
|
+
legal: legalProp,
|
|
713
|
+
org,
|
|
713
714
|
family: familyProp,
|
|
714
715
|
products,
|
|
715
716
|
variant = "site",
|
|
@@ -726,6 +727,7 @@ function SiteFooter({
|
|
|
726
727
|
const own = React.Children.toArray(children).length > 0;
|
|
727
728
|
const lang = labels.lang ?? "en";
|
|
728
729
|
const company = labels.company ?? familyLabels.en.company;
|
|
730
|
+
const legal = legalProp ?? (org && /* @__PURE__ */ jsx12(Fragment, { children: org.footer.legal.map((l) => /* @__PURE__ */ jsx12(SiteFooterLink, { href: l.url[lang], children: l.label[lang] }, l.id)) }));
|
|
729
731
|
const here = (href) => path !== void 0 && isThisPage(href, site2.url, path);
|
|
730
732
|
const groups = sitesByGroup();
|
|
731
733
|
const columns = [
|
|
@@ -767,7 +769,7 @@ function SiteFooter({
|
|
|
767
769
|
/* @__PURE__ */ jsxs10("div", { className: s.bottom(), children: [
|
|
768
770
|
/* @__PURE__ */ jsxs10("a", { href: krizaka.url, className: s.signature(), children: [
|
|
769
771
|
/* @__PURE__ */ jsx12(KrizakaLogo, { size: 18, animated: false }),
|
|
770
|
-
labels.signature[site2.kind]
|
|
772
|
+
org ? org.footer.line[lang] : labels.signature[site2.kind]
|
|
771
773
|
] }),
|
|
772
774
|
tag && /* @__PURE__ */ jsxs10("span", { className: s.version(), children: [
|
|
773
775
|
/* @__PURE__ */ jsxs10("span", { className: "sr-only", children: [
|
|
@@ -776,7 +778,7 @@ function SiteFooter({
|
|
|
776
778
|
] }),
|
|
777
779
|
tag
|
|
778
780
|
] }),
|
|
779
|
-
!slim && /* @__PURE__ */ jsx12("span", { children: labels.place }),
|
|
781
|
+
!slim && !org && /* @__PURE__ */ jsx12("span", { children: labels.place }),
|
|
780
782
|
legal && /* @__PURE__ */ jsx12("div", { className: s.legal(), children: legal })
|
|
781
783
|
] })
|
|
782
784
|
] }) });
|