@snokam/ui 6.2.1 → 6.2.2
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 +7 -0
- package/dist/components/kpi/index.d.ts.map +1 -1
- package/dist/components/kpi/index.js +10 -0
- package/dist/components/kpi/index.js.map +1 -1
- package/dist/components/layout/container/styled.d.ts.map +1 -1
- package/dist/components/layout/container/styled.js +2 -1
- package/dist/components/layout/container/styled.js.map +1 -1
- package/dist/components/layout/index.d.ts +9 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/index.js +3 -0
- package/dist/components/layout/index.js.map +1 -1
- package/dist/components/layout/styled.d.ts +5 -0
- package/dist/components/layout/styled.d.ts.map +1 -1
- package/dist/components/layout/styled.js +21 -1
- package/dist/components/layout/styled.js.map +1 -1
- package/dist/components/panel/index.d.ts.map +1 -1
- package/dist/components/panel/index.js +3 -0
- package/dist/components/panel/index.js.map +1 -1
- package/dist/components/system-page/styled.d.ts.map +1 -1
- package/dist/components/system-page/styled.js +3 -7
- package/dist/components/system-page/styled.js.map +1 -1
- package/dist/styles/global.css +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,18 @@
|
|
|
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
|
+
## [6.2.2](https://github.com/snokam/components/compare/@snokam/ui@6.2.1...@snokam/ui@6.2.2) (2026-10-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **ui:** one shared page-fill rule across all apps ([#3013](https://github.com/snokam/components/issues/3013)) ([6d7583c](https://github.com/snokam/components/commit/6d7583ccaa6ee46c56683314ef552ec8613f806c))
|
|
11
|
+
|
|
6
12
|
## [6.2.1](https://github.com/snokam/components/compare/@snokam/ui@6.2.0...@snokam/ui@6.2.1) (2026-10-22)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
9
15
|
|
|
10
16
|
- **ui:** mobile layout fixes across frontpage, events and my-page ([#3010](https://github.com/snokam/components/issues/3010)) ([3694f6c](https://github.com/snokam/components/commit/3694f6c99854a87f1b7162a0e1c301e1d89099b8))
|
|
17
|
+
- **ui:** second mobile pass — full-coverage review at 375px and 320px ([#3011](https://github.com/snokam/components/issues/3011)) ([a613f8b](https://github.com/snokam/components/commit/a613f8b9186148f5de9f06cfd8b2422a347aa565))
|
|
11
18
|
|
|
12
19
|
# [6.2.0](https://github.com/snokam/components/compare/@snokam/ui@6.1.0...@snokam/ui@6.2.0) (2026-10-16)
|
|
13
20
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/kpi/index.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/kpi/index.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;yGAUnB,CAAC;AA6BF,KAAK,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEtD,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,+BAqBA"}
|
|
@@ -9,6 +9,11 @@ export const KpiGrid = styled.div `
|
|
|
9
9
|
grid-template-columns: repeat(auto-fit, minmax(170px, 220px));
|
|
10
10
|
justify-content: start;
|
|
11
11
|
gap: ${SPACE.lg};
|
|
12
|
+
|
|
13
|
+
@media (max-width: 600px) {
|
|
14
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
15
|
+
gap: ${SPACE.md};
|
|
16
|
+
}
|
|
12
17
|
`;
|
|
13
18
|
const KpiLabel = styled.div `
|
|
14
19
|
font: 600 0.72rem/1 ${tokens.font};
|
|
@@ -23,6 +28,11 @@ const KpiValue = styled.div `
|
|
|
23
28
|
system-ui,
|
|
24
29
|
sans-serif;
|
|
25
30
|
color: var(--o-text);
|
|
31
|
+
overflow-wrap: anywhere;
|
|
32
|
+
|
|
33
|
+
@media (max-width: 600px) {
|
|
34
|
+
font-size: 1.6rem;
|
|
35
|
+
}
|
|
26
36
|
`;
|
|
27
37
|
const KpiTrend = styled.div `
|
|
28
38
|
margin-top: ${SPACE.sm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/kpi/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;SAIxB,KAAK,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/kpi/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;SAIxB,KAAK,CAAC,EAAE;;;;WAIN,KAAK,CAAC,EAAE;;CAElB,CAAC;AAEF,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA;wBACH,MAAM,CAAC,IAAI;;;;CAIlC,CAAC;AAEF,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA;gBACX,KAAK,CAAC,EAAE;;;;;;;;;;;CAWvB,CAAC;AAEF,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA;gBACX,KAAK,CAAC,EAAE;yBACC,MAAM,CAAC,IAAI;;CAEnC,CAAC;AAIF,MAAM,UAAU,OAAO,CAAC,EACtB,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,GAQR;IACC,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,OAAO,KAAK,EAAE,YACrB,OAAO,CAAC,CAAC,CAAC,CACT,8BACE,KAAC,QAAQ,cACP,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,GAAG,GACf,EACX,KAAC,QAAQ,cACP,KAAC,QAAQ,IAAC,KAAK,EAAC,KAAK,GAAG,GACf,IACV,CACJ,CAAC,CAAC,CAAC,CACF,8BACE,KAAC,QAAQ,cAAE,KAAK,GAAY,EAC5B,KAAC,QAAQ,cAAE,KAAK,GAAY,EAC3B,KAAK,CAAC,CAAC,CAAC,KAAC,QAAQ,cAAE,KAAK,GAAY,CAAC,CAAC,CAAC,IAAI,IAC3C,CACJ,GACI,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/styled.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;;;;;;eAG/C,WAAW;oBACN,eAAe;;;;;;;
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/styled.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;;;;;;eAG/C,WAAW;oBACN,eAAe;;;;;;;AAuC7B,wBAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../../src/components/layout/container/styled.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAmB,MAAM,UAAU,CAAC;AAExD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAG1B
|
|
1
|
+
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../../src/components/layout/container/styled.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAmB,MAAM,UAAU,CAAC;AAExD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAG1B;;;;;;;;;;;;;;IAcE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACd,KAAK,KAAK,WAAW,CAAC,IAAI;IACxB,CAAC,CAAC,GAAG,CAAA;;;;;;;;SAQF;IACH,CAAC,CAAC,GAAG,CAAA;;;;;;;;SAQF;CACR,CAAC;AAEF,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC;AAE9B,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { pageColumn } from "./styled";
|
|
1
2
|
export declare const Section: import("@emotion/styled").StyledComponent<{
|
|
2
3
|
theme?: import("@emotion/react").Theme;
|
|
3
4
|
as?: React.ElementType;
|
|
@@ -6,6 +7,10 @@ export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
|
6
7
|
theme?: import("@emotion/react").Theme;
|
|
7
8
|
as?: React.ElementType;
|
|
8
9
|
} & import("./types").ContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const Page: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
14
|
export declare enum Breakpoints {
|
|
10
15
|
xs = 576,
|
|
11
16
|
sm = 768,
|
|
@@ -23,6 +28,10 @@ declare const _default: {
|
|
|
23
28
|
theme?: import("@emotion/react").Theme;
|
|
24
29
|
as?: React.ElementType;
|
|
25
30
|
} & import("./types").ContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
31
|
+
Page: import("@emotion/styled").StyledComponent<{
|
|
32
|
+
theme?: import("@emotion/react").Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
35
|
};
|
|
27
36
|
export default _default;
|
|
28
37
|
export * from "./types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AACtC,eAAO,MAAM,OAAO;;;0IAAiB,CAAC;AACtC,eAAO,MAAM,IAAI;;;yGAAc,CAAC;AAEhC,oBAAY,WAAW;IACrB,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,MAAM;IACR,EAAE,OAAO;IACT,EAAE,OAAO;CACV;;;;;;;;;;;;;;;;AAED,wBAKE;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import Styled from "./styled";
|
|
3
|
+
export { pageColumn } from "./styled";
|
|
3
4
|
import Container from "./container";
|
|
4
5
|
export const Section = Styled.Section;
|
|
5
6
|
export const Content = Styled.Content;
|
|
7
|
+
export const Page = Styled.Page;
|
|
6
8
|
export var Breakpoints;
|
|
7
9
|
(function (Breakpoints) {
|
|
8
10
|
Breakpoints[Breakpoints["xs"] = 576] = "xs";
|
|
@@ -15,6 +17,7 @@ export default {
|
|
|
15
17
|
Container,
|
|
16
18
|
Section,
|
|
17
19
|
Content,
|
|
20
|
+
Page,
|
|
18
21
|
};
|
|
19
22
|
export * from "./types";
|
|
20
23
|
export { PageHeader } from "./PageHeader";
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,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;AACtC,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;AAEhC,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;IACP,IAAI;CACL,CAAC;AAEF,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ContentProps, SectionProps } from "./types";
|
|
2
|
+
export declare const pageColumn: import("@emotion/react").SerializedStyles;
|
|
2
3
|
declare const _default: {
|
|
3
4
|
Section: import("@emotion/styled").StyledComponent<{
|
|
4
5
|
theme?: import("@emotion/react").Theme;
|
|
@@ -8,6 +9,10 @@ declare const _default: {
|
|
|
8
9
|
theme?: import("@emotion/react").Theme;
|
|
9
10
|
as?: React.ElementType;
|
|
10
11
|
} & ContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
Page: import("@emotion/styled").StyledComponent<{
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
16
|
};
|
|
12
17
|
export default _default;
|
|
13
18
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/layout/styled.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAW,YAAY,EAAS,MAAM,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/layout/styled.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAW,YAAY,EAAS,MAAM,SAAS,CAAC;AA+ErE,eAAO,MAAM,UAAU,2CAQtB,CAAC;;;;;;;;;;;;;;;AASF,wBAA0C"}
|
|
@@ -68,5 +68,25 @@ const Content = styled.div `
|
|
|
68
68
|
}}
|
|
69
69
|
}
|
|
70
70
|
`;
|
|
71
|
-
|
|
71
|
+
// The one rule every page column uses: stack children and let the last band
|
|
72
|
+
// stretch to the bottom, so short pages never show a strip of another colour
|
|
73
|
+
// below it. A trailing footer keeps its height; the band before it grows.
|
|
74
|
+
// Shells apply it to their scroll column; pages wrap their bands in Layout.Page.
|
|
75
|
+
// Mirrored for the bare <main> element in styles/global.css.
|
|
76
|
+
export const pageColumn = css `
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
|
|
80
|
+
> :last-child:not(footer),
|
|
81
|
+
> :has(+ footer) {
|
|
82
|
+
flex: 1 0 auto;
|
|
83
|
+
}
|
|
84
|
+
`;
|
|
85
|
+
const Page = styled.div `
|
|
86
|
+
${pageColumn};
|
|
87
|
+
flex: 1 0 auto;
|
|
88
|
+
width: 100%;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
`;
|
|
91
|
+
export default { Section, Content, Page };
|
|
72
92
|
//# sourceMappingURL=styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/layout/styled.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAgB,OAAO,EAAgB,KAAK,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAc;;;;;;;;IAQpC,CAAC,E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AAC;QAClB;YACE,OAAO,GAAG,CAAA;;WAET,CAAC;IACN,CAAC;AACH,CAAC;;CAEJ,CAAC;AAEF,4EAA4E;AAC5E,6EAA6E;AAC7E,0EAA0E;AAC1E,iFAAiF;AACjF,6DAA6D;AAC7D,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;CAQ5B,CAAC;AAEF,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAA;IACnB,UAAU;;;;CAIb,CAAC;AAEF,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/panel/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/panel/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA6BlC,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,MAAM,EACN,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,+BAUA;AAiCD,wBAAgB,OAAO,CAAC,EACtB,IAAI,EACJ,IAAI,EACJ,GAAG,GACJ,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB,+BAUA"}
|
|
@@ -4,6 +4,7 @@ import styled from "@emotion/styled";
|
|
|
4
4
|
import { tokens, SPACE } from "@snokam/ui/tokens";
|
|
5
5
|
const PanelHeader = styled.div `
|
|
6
6
|
display: flex;
|
|
7
|
+
flex-wrap: wrap;
|
|
7
8
|
align-items: center;
|
|
8
9
|
justify-content: space-between;
|
|
9
10
|
gap: ${SPACE.md};
|
|
@@ -28,6 +29,7 @@ export function Panel({ title, action, children, }) {
|
|
|
28
29
|
}
|
|
29
30
|
const Row = styled.div `
|
|
30
31
|
display: flex;
|
|
32
|
+
flex-wrap: wrap;
|
|
31
33
|
align-items: center;
|
|
32
34
|
justify-content: space-between;
|
|
33
35
|
gap: ${SPACE.lg};
|
|
@@ -48,6 +50,7 @@ const RowMeta = styled.div `
|
|
|
48
50
|
`;
|
|
49
51
|
const RowEnd = styled.div `
|
|
50
52
|
display: flex;
|
|
53
|
+
flex-wrap: wrap;
|
|
51
54
|
align-items: center;
|
|
52
55
|
gap: ${SPACE.md};
|
|
53
56
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/panel/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/panel/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;SAKrB,KAAK,CAAC,EAAE;oBACG,KAAK,CAAC,EAAE;mBACT,KAAK,CAAC,EAAE;;CAE1B,CAAC;AAEF,MAAM,UAAU,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;CAO3B,CAAC;AAEF,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAA;;;CAG/B,CAAC;AAEF,MAAM,UAAU,KAAK,CAAC,EACpB,KAAK,EACL,MAAM,EACN,QAAQ,GAMT;IACC,OAAO,CACL,MAAC,SAAS,eACR,MAAC,WAAW,eACV,KAAC,UAAU,cAAE,KAAK,GAAc,EAC/B,MAAM,IACK,EACb,QAAQ,IACC,CACb,CAAC;AACJ,CAAC;AAED,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;SAKb,KAAK,CAAC,EAAE;aACJ,KAAK,CAAC,EAAE;;;;;CAKpB,CAAC;AAEF,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;0BACA,MAAM,CAAC,IAAI;;CAEpC,CAAC;AAEF,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;yBAED,MAAM,CAAC,IAAI;;CAEnC,CAAC;AAEF,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;SAIhB,KAAK,CAAC,EAAE;CAChB,CAAC;AAEF,MAAM,UAAU,OAAO,CAAC,EACtB,IAAI,EACJ,IAAI,EACJ,GAAG,GAKJ;IACC,OAAO,CACL,MAAC,GAAG,eACF,0BACE,KAAC,OAAO,cAAE,IAAI,GAAW,EACxB,IAAI,CAAC,CAAC,CAAC,KAAC,OAAO,cAAE,IAAI,GAAW,CAAC,CAAC,CAAC,IAAI,IACpC,EACL,GAAG,CAAC,CAAC,CAAC,KAAC,MAAM,cAAE,GAAG,GAAU,CAAC,CAAC,CAAC,IAAI,IAChC,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/system-page/styled.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/system-page/styled.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,KAAK;;;yGAgBjB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;eAA2B,OAAO;yGAatD,CAAC;AAEF,eAAO,MAAM,IAAI;;;mGAShB,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGAYnB,CAAC;AAEF,eAAO,MAAM,KAAK;;;yGAWjB,CAAC;AAEF,eAAO,MAAM,SAAS;;;yGAgBrB,CAAC;AAEF,eAAO,MAAM,IAAI;;;qHAQhB,CAAC;AAEF,eAAO,MAAM,KAAK;;;iHAKjB,CAAC;AAEF,eAAO,MAAM,MAAM;;;mGAUlB,CAAC;AAEF,eAAO,MAAM,OAAO;;;qHAKnB,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGAMnB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;UAmBvB,CAAC;AAwBF,eAAO,MAAM,WAAW;;;qHAEvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;qHAKrB,CAAC;AAEF,eAAO,MAAM,aAAa;;;qHAoBzB,CAAC"}
|
|
@@ -3,16 +3,15 @@ import styled from "@emotion/styled";
|
|
|
3
3
|
import { css, keyframes } from "@emotion/react";
|
|
4
4
|
import Link from "next/link";
|
|
5
5
|
import { WAVE_OVERLAP_PX } from "../layout/types";
|
|
6
|
+
import { pageColumn } from "../layout/styled";
|
|
6
7
|
const rise = keyframes `
|
|
7
8
|
from { opacity: 0; transform: translateY(12px); }
|
|
8
9
|
to { opacity: 1; transform: translateY(0); }
|
|
9
10
|
`;
|
|
10
11
|
export const Shell = styled.div `
|
|
11
12
|
position: relative;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
flex: none;
|
|
15
|
-
}
|
|
13
|
+
${pageColumn};
|
|
14
|
+
flex: 1 0 auto;
|
|
16
15
|
|
|
17
16
|
@media (prefers-reduced-motion: reduce) {
|
|
18
17
|
*,
|
|
@@ -22,9 +21,6 @@ export const Shell = styled.div `
|
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
|
|
25
|
-
min-height: 100vh;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
24
|
overflow-x: clip;
|
|
29
25
|
background: var(--color-primary, #071d41);
|
|
30
26
|
color: var(--color-light-blue, #e1f8ff);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/system-page/styled.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/system-page/styled.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,IAAI,GAAG,SAAS,CAAA;;;CAGrB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAA;;IAE3B,UAAU;;;;;;;;;;;;;;CAcb,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAwB;;;;;;;oBAOtC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,eAAe,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;CAM9E,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;;;;;;;;;CAS9B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;eAOlB,IAAI;;;;;CAKlB,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;eAMhB,IAAI;;;;;CAKlB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;CAgBlC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAA;;;;;;;;CAQ3B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;CAK7B,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAA;;;;;;;;;;CAUhC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAA;;;;;CAK9B,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;CAMhC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;;;;;;;;;;;;;;;;CAmBtC,CAAC;AAEF,MAAM,KAAK,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBhB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAA;IACpC,KAAK;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,CAAC,CAAA;IAC7B,KAAK;;;;CAIR,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAA;;;;;;;;;;;;;;;;;;;;CAoBzC,CAAC"}
|
package/dist/styles/global.css
CHANGED
|
@@ -59,12 +59,19 @@ body {
|
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
/* Same rule as pageColumn in components/layout/styled.tsx */
|
|
62
63
|
main {
|
|
63
64
|
flex: 1;
|
|
64
65
|
display: flex;
|
|
65
66
|
flex-direction: column;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
main > :last-child:not(footer),
|
|
70
|
+
main > :has(+ footer),
|
|
71
|
+
body > :has(+ footer) {
|
|
72
|
+
flex: 1 0 auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
/* Fonts */
|
|
69
76
|
|
|
70
77
|
@font-face {
|
|
@@ -216,7 +223,8 @@ li {
|
|
|
216
223
|
h3,
|
|
217
224
|
h4,
|
|
218
225
|
h5 {
|
|
219
|
-
|
|
226
|
+
hyphens: auto;
|
|
227
|
+
hyphenate-limit-chars: 12 5 5;
|
|
220
228
|
}
|
|
221
229
|
|
|
222
230
|
h1 {
|
package/package.json
CHANGED