@snokam/ui 4.1.0 → 5.0.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/CHANGELOG.md +71 -0
- package/dist/components/business-logo/index.d.ts +11 -0
- package/dist/components/business-logo/index.d.ts.map +1 -0
- package/dist/components/business-logo/index.js +21 -0
- package/dist/components/business-logo/index.js.map +1 -0
- package/dist/components/business-logo/source.d.ts +12 -0
- package/dist/components/business-logo/source.d.ts.map +1 -0
- package/dist/components/business-logo/source.js +12 -0
- package/dist/components/business-logo/source.js.map +1 -0
- package/dist/components/business-logo/styles.d.ts +14 -0
- package/dist/components/business-logo/styles.d.ts.map +1 -0
- package/dist/components/business-logo/styles.js +17 -0
- package/dist/components/business-logo/styles.js.map +1 -0
- package/dist/components/layout/PageHeader.d.ts +3 -3
- package/dist/components/layout/PageHeader.d.ts.map +1 -1
- package/dist/components/layout/PageHeader.js +7 -1
- package/dist/components/layout/PageHeader.js.map +1 -1
- package/dist/components/layout/VisuallyHiddenTitle.d.ts +5 -0
- package/dist/components/layout/VisuallyHiddenTitle.d.ts.map +1 -0
- package/dist/components/layout/VisuallyHiddenTitle.js +14 -0
- package/dist/components/layout/VisuallyHiddenTitle.js.map +1 -0
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/index.js +1 -0
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/media/sanity.d.ts +1 -0
- package/dist/components/media/sanity.d.ts.map +1 -1
- package/dist/components/media/sanity.js +3 -0
- package/dist/components/media/sanity.js.map +1 -1
- package/dist/components/sidebar/styled.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,77 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.0](https://github.com/snokam/components/compare/@snokam/ui@4.0.3...@snokam/ui@5.0.0) (2026-10-14)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **my-page-web:** Min side improvements from the page review (WIP) ([#2885](https://github.com/snokam/components/issues/2885)) ([d96a1e5](https://github.com/snokam/components/commit/d96a1e537d76f12a8e53d9d6885728e1b7a67586))
|
|
11
|
+
- **my-page-web:** shared page headers, server-side titles and /kontor buttons ([#2912](https://github.com/snokam/components/issues/2912)) ([9689f04](https://github.com/snokam/components/commit/9689f049bfa6e8d05a409c1e1fbc719d0a68ef86))
|
|
12
|
+
- per-company branding (logo, dark logo, icon) ([#2907](https://github.com/snokam/components/issues/2907)) ([dc32583](https://github.com/snokam/components/commit/dc325832803c88158937f45fe5b9e1b64846a52d))
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
- SimpleHeaderBase and FooterBase take `logo` as a ReactNode;
|
|
17
|
+
the HeaderLogo and FooterLogo types are removed.
|
|
18
|
+
|
|
19
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
20
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
21
|
+
|
|
22
|
+
- feat(platform-web): company branding in /manage, at login and in the shell
|
|
23
|
+
|
|
24
|
+
/manage/innstillinger gets a Merkevare section: the logo for light
|
|
25
|
+
backgrounds, the logo for dark backgrounds and the square icon, each with a
|
|
26
|
+
preview on its own background, upload (react-hook-form + zod: type and 2 MB
|
|
27
|
+
checked before sending) and remove. Server error codes map to CMS copy.
|
|
28
|
+
The central login shows the company's logo above "Logg inn hos …", from
|
|
29
|
+
login-config. The /manage shell shows the managed business's logo linking to
|
|
30
|
+
its front page; /admin and an operator without a business show the platform
|
|
31
|
+
business. The public snosky.no chrome keeps the Snøsky logo from the platform
|
|
32
|
+
CMS, through the same BusinessLogo.
|
|
33
|
+
|
|
34
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
35
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
36
|
+
|
|
37
|
+
- fix(my-page-web): drop leftover Snøkam favicons
|
|
38
|
+
|
|
39
|
+
The unused pages-router meta component and finance-web's public/favicon.ico
|
|
40
|
+
served Snøkam's icon to every company; favicons now come from the
|
|
41
|
+
company's uploaded icon.
|
|
42
|
+
|
|
43
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
44
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
45
|
+
|
|
46
|
+
- fix(handbook-web): no Snøkam share image, no raw-URL fallback in branding metadata
|
|
47
|
+
|
|
48
|
+
The handbook's root metadata no longer hardcodes the Snøkam icon as the
|
|
49
|
+
share image, so the company's share image from makeTenantMetadata applies.
|
|
50
|
+
The favicon and share helpers drop their raw-URL fallback: a transform that
|
|
51
|
+
yields nothing yields no image, never an untransformed (possibly SVG) URL.
|
|
52
|
+
|
|
53
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
54
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
55
|
+
|
|
56
|
+
- fix(ui): show the light logo inverted on dark when no dark logo is uploaded
|
|
57
|
+
|
|
58
|
+
Without a dark logo, a dark background shows the light logo turned white
|
|
59
|
+
(brightness(0) invert(1)) instead of the wordmark. The Merkevare previews
|
|
60
|
+
use static brand tokens, and upload errors are read by parsing the JSON
|
|
61
|
+
body rather than stripping quotes.
|
|
62
|
+
|
|
63
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
64
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
65
|
+
|
|
66
|
+
- chore(clients): regenerate platform-function clients for branding
|
|
67
|
+
|
|
68
|
+
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
69
|
+
Claude-Session: https://claude.ai/code/session_01Nv57F4rwzYRkuUVFdd2wXA
|
|
70
|
+
|
|
71
|
+
# [4.2.0](https://github.com/snokam/components/compare/@snokam/ui@4.0.3...@snokam/ui@4.2.0) (2026-10-14)
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
- **my-page-web:** Min side improvements from the page review (WIP) ([#2885](https://github.com/snokam/components/issues/2885)) ([d96a1e5](https://github.com/snokam/components/commit/d96a1e537d76f12a8e53d9d6885728e1b7a67586))
|
|
76
|
+
|
|
6
77
|
# [4.1.0](https://github.com/snokam/components/compare/@snokam/ui@4.0.3...@snokam/ui@4.1.0) (2026-10-14)
|
|
7
78
|
|
|
8
79
|
### Features
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { businessLogoSource, type BusinessBranding, type LogoTone } from "./source";
|
|
2
|
+
interface Props {
|
|
3
|
+
name: string;
|
|
4
|
+
branding?: BusinessBranding | null;
|
|
5
|
+
tone?: LogoTone;
|
|
6
|
+
height?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function BusinessLogo({ name, branding, tone, height }: Props): import("react").JSX.Element;
|
|
9
|
+
export { businessLogoSource };
|
|
10
|
+
export type { BusinessBranding, LogoTone };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/business-logo/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACd,MAAM,UAAU,CAAC;AAKlB,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAW,EAAE,EAAE,KAAK,+BAoBxE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useColorScheme } from "../../theme/admin";
|
|
4
|
+
import { getSanityImageUrl } from "../media/sanity";
|
|
5
|
+
import { businessLogoSource, } from "./source";
|
|
6
|
+
import { LogoImage, Wordmark } from "./styles";
|
|
7
|
+
const MAX_ASPECT_RATIO = 6;
|
|
8
|
+
export function BusinessLogo({ name, branding, tone, height = 28 }) {
|
|
9
|
+
const colorScheme = useColorScheme();
|
|
10
|
+
const source = businessLogoSource(branding, tone ?? colorScheme);
|
|
11
|
+
if (!source) {
|
|
12
|
+
return _jsx(Wordmark, { "$height": height, children: name });
|
|
13
|
+
}
|
|
14
|
+
return (_jsx(LogoImage, { src: getSanityImageUrl(source.url, {
|
|
15
|
+
width: height * MAX_ASPECT_RATIO * 2,
|
|
16
|
+
height: height * 2,
|
|
17
|
+
format: "png",
|
|
18
|
+
}), alt: name, "$height": height, "$invert": source.invert }));
|
|
19
|
+
}
|
|
20
|
+
export { businessLogoSource };
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/business-logo/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EACL,kBAAkB,GAGnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAS3B,MAAM,UAAU,YAAY,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,EAAE,EAAS;IACvE,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,MAAM,GAAG,kBAAkB,CAAC,QAAQ,EAAE,IAAI,IAAI,WAAW,CAAC,CAAC;IAEjE,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,KAAC,QAAQ,eAAU,MAAM,YAAG,IAAI,GAAY,CAAC;IACtD,CAAC;IAED,OAAO,CACL,KAAC,SAAS,IACR,GAAG,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,EAAE;YACjC,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,CAAC;YACpC,MAAM,EAAE,MAAM,GAAG,CAAC;YAClB,MAAM,EAAE,KAAK;SACd,CAAC,EACF,GAAG,EAAE,IAAI,aACA,MAAM,aACN,MAAM,CAAC,MAAM,GACtB,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface BusinessBranding {
|
|
2
|
+
logoLightUrl?: string | null;
|
|
3
|
+
logoDarkUrl?: string | null;
|
|
4
|
+
iconUrl?: string | null;
|
|
5
|
+
}
|
|
6
|
+
export type LogoTone = "light" | "dark";
|
|
7
|
+
export interface LogoSource {
|
|
8
|
+
url: string;
|
|
9
|
+
invert: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function businessLogoSource(branding: BusinessBranding | null | undefined, tone: LogoTone): LogoSource | null;
|
|
12
|
+
//# sourceMappingURL=source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../src/components/business-logo/source.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAExC,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,EAC7C,IAAI,EAAE,QAAQ,GACb,UAAU,GAAG,IAAI,CAQnB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function businessLogoSource(branding, tone) {
|
|
2
|
+
const light = branding?.logoLightUrl;
|
|
3
|
+
const dark = branding?.logoDarkUrl;
|
|
4
|
+
if (tone === "dark" && dark)
|
|
5
|
+
return { url: dark, invert: false };
|
|
6
|
+
if (tone === "dark" && light)
|
|
7
|
+
return { url: light, invert: true };
|
|
8
|
+
if (light)
|
|
9
|
+
return { url: light, invert: false };
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/components/business-logo/source.ts"],"names":[],"mappings":"AAaA,MAAM,UAAU,kBAAkB,CAChC,QAA6C,EAC7C,IAAc;IAEd,MAAM,KAAK,GAAG,QAAQ,EAAE,YAAY,CAAC;IACrC,MAAM,IAAI,GAAG,QAAQ,EAAE,WAAW,CAAC;IAEnC,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI;QAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IACjE,IAAI,IAAI,KAAK,MAAM,IAAI,KAAK;QAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAClE,IAAI,KAAK;QAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAChD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const LogoImage: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
$height: number;
|
|
6
|
+
$invert: boolean;
|
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
8
|
+
export declare const Wordmark: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
} & {
|
|
12
|
+
$height: number;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
14
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/business-logo/styles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;aAAyB,MAAM;aAAW,OAAO;gHAMtE,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;aAA0B,MAAM;2GAOpD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
export const LogoImage = styled.img `
|
|
3
|
+
display: block;
|
|
4
|
+
height: ${({ $height }) => $height}px;
|
|
5
|
+
width: auto;
|
|
6
|
+
max-width: 100%;
|
|
7
|
+
filter: ${({ $invert }) => ($invert ? "brightness(0) invert(1)" : "none")};
|
|
8
|
+
`;
|
|
9
|
+
export const Wordmark = styled.span `
|
|
10
|
+
display: inline-block;
|
|
11
|
+
font-size: ${({ $height }) => Math.round($height * 0.7)}px;
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
line-height: ${({ $height }) => $height}px;
|
|
14
|
+
color: currentColor;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
`;
|
|
17
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/business-logo/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAuC;;YAE9D,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO;;;YAGxB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC;CAC1E,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAqB;;eAEzC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,GAAG,CAAC;;iBAExC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO;;;CAGxC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import { LayoutTheme } from "./types";
|
|
2
|
+
import { LayoutTheme, Transitions } from "./types";
|
|
3
3
|
interface PageHeaderProps {
|
|
4
4
|
title: string;
|
|
5
5
|
subtitle?: string;
|
|
6
6
|
tone?: LayoutTheme;
|
|
7
|
-
|
|
7
|
+
transitions?: Transitions;
|
|
8
8
|
breadcrumbs?: ReactNode;
|
|
9
9
|
actions?: ReactNode;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare const PageHeader: ({ title, subtitle, tone,
|
|
12
|
+
export declare const PageHeader: ({ title, subtitle, tone, transitions, breadcrumbs, actions, children, }: PageHeaderProps) => import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/PageHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/PageHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,WAAW,EAAW,WAAW,EAAkB,MAAM,SAAS,CAAC;AAO5E,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,yEAQxB,eAAe,gCAsBjB,CAAC"}
|
|
@@ -4,5 +4,11 @@ import Container from "./container";
|
|
|
4
4
|
import Styled from "./styled";
|
|
5
5
|
import { LayoutTheme, Padding, TransitionType } from "./types";
|
|
6
6
|
import { Subtitle, TitleRow } from "./PageHeader.styled";
|
|
7
|
-
|
|
7
|
+
const defaultTransitions = {
|
|
8
|
+
bottom: { type: TransitionType.Wave, flipX: true },
|
|
9
|
+
};
|
|
10
|
+
export const PageHeader = ({ title, subtitle, tone = LayoutTheme.Dark, transitions = defaultTransitions, breadcrumbs, actions, children, }) => (_jsx(Container, { theme: tone, transitions: transitions, children: _jsx(Styled.Content, { children: _jsxs(Styled.Section, { stretchItems: true, padding: {
|
|
11
|
+
top: Padding.Large,
|
|
12
|
+
bottom: transitions.bottom ? Padding.Large : Padding.Small,
|
|
13
|
+
}, children: [breadcrumbs, _jsxs(TitleRow, { children: [_jsxs("div", { children: [_jsx("h1", { children: title }), subtitle && _jsx(Subtitle, { children: subtitle })] }), actions] }), children] }) }) }));
|
|
8
14
|
//# sourceMappingURL=PageHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.js","sourceRoot":"","sources":["../../../src/components/layout/PageHeader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"PageHeader.js","sourceRoot":"","sources":["../../../src/components/layout/PageHeader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,OAAO,EAAe,cAAc,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,kBAAkB,GAAgB;IACtC,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;CACnD,CAAC;AAYF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,IAAI,GAAG,WAAW,CAAC,IAAI,EACvB,WAAW,GAAG,kBAAkB,EAChC,WAAW,EACX,OAAO,EACP,QAAQ,GACQ,EAAE,EAAE,CAAC,CACrB,KAAC,SAAS,IAAC,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,YAC9C,KAAC,MAAM,CAAC,OAAO,cACb,MAAC,MAAM,CAAC,OAAO,IACb,YAAY,QACZ,OAAO,EAAE;gBACP,GAAG,EAAE,OAAO,CAAC,KAAK;gBAClB,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK;aAC3D,aAEA,WAAW,EACZ,MAAC,QAAQ,eACP,0BACE,uBAAK,KAAK,GAAM,EACf,QAAQ,IAAI,KAAC,QAAQ,cAAE,QAAQ,GAAY,IACxC,EACL,OAAO,IACC,EACV,QAAQ,IACM,GACF,GACP,CACb,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const VisuallyHiddenTitle: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
5
|
+
//# sourceMappingURL=VisuallyHiddenTitle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisuallyHiddenTitle.d.ts","sourceRoot":"","sources":["../../../src/components/layout/VisuallyHiddenTitle.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;iHAU/B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
export const VisuallyHiddenTitle = styled.h1 `
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 1px;
|
|
6
|
+
height: 1px;
|
|
7
|
+
margin: -1px;
|
|
8
|
+
padding: 0;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
clip: rect(0 0 0 0);
|
|
11
|
+
white-space: nowrap;
|
|
12
|
+
border: 0;
|
|
13
|
+
`;
|
|
14
|
+
//# sourceMappingURL=VisuallyHiddenTitle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VisuallyHiddenTitle.js","sourceRoot":"","sources":["../../../src/components/layout/VisuallyHiddenTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;CAU3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AACtC,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AAEtC,oBAAY,WAAW;IACrB,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,OAAO;IACT,EAAE,OAAO;CACV;;;;;;;;;;;;AAED,wBAIE;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AACtC,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AAEtC,oBAAY,WAAW;IACrB,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,OAAO;IACT,EAAE,OAAO;CACV;;;;;;;;;;;;AAED,wBAIE;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AACtC,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AAEtC,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,4CAAS,CAAA;IACT,4CAAS,CAAA;AACX,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAED,eAAe;IACb,SAAS;IACT,OAAO;IACP,OAAO;CACR,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AACtC,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AAEtC,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,4CAAS,CAAA;IACT,4CAAS,CAAA;AACX,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAED,eAAe;IACb,SAAS;IACT,OAAO;IACP,OAAO;CACR,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export interface SanityImageTransformOptions {
|
|
|
4
4
|
quality?: number;
|
|
5
5
|
fit?: "max" | "crop" | "clip" | "fill" | "fillmax" | "min" | "scale";
|
|
6
6
|
dpr?: number;
|
|
7
|
+
format?: "png" | "jpg" | "webp";
|
|
7
8
|
}
|
|
8
9
|
export declare const isSanityImageUrl: (src: string) => boolean;
|
|
9
10
|
export declare const getSanityImageUrl: (src: string | undefined | null, options?: SanityImageTransformOptions) => string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanity.d.ts","sourceRoot":"","sources":["../../../src/components/media/sanity.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sanity.d.ts","sourceRoot":"","sources":["../../../src/components/media/sanity.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;CACjC;AASD,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,YAS3C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,KAAK,MAAM,GAAG,SAAS,GAAG,IAAI,EAC9B,UAAS,2BAAgC,KACxC,MAAM,GAAG,SA2CX,CAAC"}
|
|
@@ -23,6 +23,9 @@ export const getSanityImageUrl = (src, options = {}) => {
|
|
|
23
23
|
const height = toInteger(options.height);
|
|
24
24
|
const quality = toInteger(options.quality);
|
|
25
25
|
const dpr = toInteger(options.dpr);
|
|
26
|
+
if (options.format && !url.searchParams.has("fm")) {
|
|
27
|
+
url.searchParams.set("fm", options.format);
|
|
28
|
+
}
|
|
26
29
|
if (!url.searchParams.has("auto") && !url.searchParams.has("fm")) {
|
|
27
30
|
url.searchParams.set("auto", "format");
|
|
28
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanity.js","sourceRoot":"","sources":["../../../src/components/media/sanity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sanity.js","sourceRoot":"","sources":["../../../src/components/media/sanity.ts"],"names":[],"mappings":"AASA,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAE/B,MAAM,SAAS,GAAG,CAAC,KAAc,EAAE,EAAE,CACnC,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;IACjD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC,CAAC,SAAS,CAAC;AAEhB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE;IAC9C,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;QACzB,OAAO,CACL,GAAG,CAAC,QAAQ,KAAK,eAAe,IAAI,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CACxE,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,GAA8B,EAC9B,UAAuC,EAAE,EACrB,EAAE;IACtB,IAAI,GAAG,IAAI,IAAI,IAAI,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/B,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3C,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;QACzC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1C,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7C,CAAC;IAED,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACxC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACxD,CAAC;IAED,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;AACxB,CAAC,CAAC"}
|
|
@@ -33,7 +33,7 @@ export declare const MobileDrawerContent: import("@emotion/styled").StyledCompon
|
|
|
33
33
|
export declare const NavList: import("@emotion/styled").StyledComponent<import("@mui/material").ListOwnProps & Omit<import("@mui/material").ListOwnProps, keyof import("@mui/material").ListOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "className" | "style" | "classes" | "children" | "sx" | "dense" | "disablePadding" | "subheader"> & {
|
|
34
34
|
theme?: import("@emotion/react").Theme;
|
|
35
35
|
}, {}, {}>;
|
|
36
|
-
export declare const NavItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").ListItemButtonOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "type" | keyof import("@mui/material").ListItemButtonOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "type" | "autoFocus" | "
|
|
36
|
+
export declare const NavItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, keyof import("@mui/material").ListItemButtonOwnProps> & Omit<import("@mui/material").ButtonBaseOwnProps, "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "type" | keyof import("@mui/material").ListItemButtonOwnProps> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "nativeButton" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "type" | "autoFocus" | "alignItems" | "dense" | "disableGutters" | "divider" | "selected"> & {
|
|
37
37
|
theme?: import("@emotion/react").Theme;
|
|
38
38
|
} & {
|
|
39
39
|
depth?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export type { AlertProps, AlertTitleProps } from "./components/alert";
|
|
|
18
18
|
export { Avatar } from "./components/avatar";
|
|
19
19
|
export type { AvatarProps } from "./components/avatar";
|
|
20
20
|
export { SystemThemeTag } from "./components/system-theme-tag";
|
|
21
|
+
export { BusinessLogo } from "./components/business-logo";
|
|
22
|
+
export type { BusinessBranding } from "./components/business-logo";
|
|
21
23
|
export { Select } from "./components/select";
|
|
22
24
|
export type { SelectProps, SelectChangeEvent } from "./components/select";
|
|
23
25
|
export { Menu } from "./components/menu";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,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AkB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EACL,aAAa,EACb,SAAS,EACT,WAAW,EACX,KAAK,kBAAkB,GACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,GACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export { Tooltip } from "./components/tooltip";
|
|
|
10
10
|
export { Alert, AlertTitle } from "./components/alert";
|
|
11
11
|
export { Avatar } from "./components/avatar";
|
|
12
12
|
export { SystemThemeTag } from "./components/system-theme-tag";
|
|
13
|
+
export { BusinessLogo } from "./components/business-logo";
|
|
13
14
|
export { Select } from "./components/select";
|
|
14
15
|
export { Menu } from "./components/menu";
|
|
15
16
|
export { MenuItem } from "./components/menu-item";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,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AE3C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAGlD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAmC,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,gBAAgB,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EACL,aAAa,EACb,SAAS,EACT,WAAW,GAEZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAsB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EACL,aAAa,GAEd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snokam/ui",
|
|
3
3
|
"description": "Snøkam UI library — the single MUI seam. Apps import from here, never from @mui directly.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -364,6 +364,10 @@
|
|
|
364
364
|
"types": "./dist/components/system-theme-tag/index.d.ts",
|
|
365
365
|
"default": "./dist/components/system-theme-tag/index.js"
|
|
366
366
|
},
|
|
367
|
+
"./business-logo": {
|
|
368
|
+
"types": "./dist/components/business-logo/index.d.ts",
|
|
369
|
+
"default": "./dist/components/business-logo/index.js"
|
|
370
|
+
},
|
|
367
371
|
"./system-page": {
|
|
368
372
|
"types": "./dist/components/system-page/index.d.ts",
|
|
369
373
|
"default": "./dist/components/system-page/index.js"
|
|
@@ -375,6 +379,7 @@
|
|
|
375
379
|
},
|
|
376
380
|
"scripts": {
|
|
377
381
|
"lint": "eslint .",
|
|
382
|
+
"test": "node --test \"src/**/*.test.ts\"",
|
|
378
383
|
"build": "tsc -p tsconfig.build.json --noCheck && rsync -a --prune-empty-dirs --include='*/' --include='*.css' --include='*.esm.js' --exclude='*' src/ dist/"
|
|
379
384
|
}
|
|
380
385
|
}
|