@camunda/design-system 0.82.0 → 1.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/NOTICE +19 -0
- package/README.md +9 -1
- package/dist/files/OFL.txt +92 -0
- package/dist/files/geist-sans-latin-400-normal.woff +0 -0
- package/dist/files/geist-sans-latin-400-normal.woff2 +0 -0
- package/dist/files/geist-sans-latin-500-normal.woff +0 -0
- package/dist/files/geist-sans-latin-500-normal.woff2 +0 -0
- package/dist/files/geist-sans-latin-600-normal.woff +0 -0
- package/dist/files/geist-sans-latin-600-normal.woff2 +0 -0
- package/dist/files/geist-sans-latin-700-normal.woff +0 -0
- package/dist/files/geist-sans-latin-700-normal.woff2 +0 -0
- package/dist/src/components/ui/background-gradient.d.ts +3 -0
- package/dist/src/components/ui/background-gradient.d.ts.map +1 -0
- package/dist/src/components/ui/background-gradient.js +6 -0
- package/dist/src/components/ui/background-gradient.js.map +1 -0
- package/dist/src/components/ui/background-grid.d.ts +3 -0
- package/dist/src/components/ui/background-grid.d.ts.map +1 -0
- package/dist/src/components/ui/background-grid.js +20 -0
- package/dist/src/components/ui/background-grid.js.map +1 -0
- package/dist/src/components/ui/background-orb.d.ts +4 -0
- package/dist/src/components/ui/background-orb.d.ts.map +1 -0
- package/dist/src/components/ui/background-orb.js +18 -0
- package/dist/src/components/ui/background-orb.js.map +1 -0
- package/dist/src/components/ui/background.d.ts +9 -0
- package/dist/src/components/ui/background.d.ts.map +1 -0
- package/dist/src/components/ui/background.js +20 -0
- package/dist/src/components/ui/background.js.map +1 -0
- package/dist/src/components/ui/camunda-logo.d.ts +7 -4
- package/dist/src/components/ui/camunda-logo.d.ts.map +1 -1
- package/dist/src/components/ui/camunda-logo.js +8 -5
- package/dist/src/components/ui/camunda-logo.js.map +1 -1
- package/dist/src/components/ui/card.js +1 -1
- package/dist/src/components/ui/card.js.map +1 -1
- package/dist/src/components/ui/login-screen.d.ts.map +1 -1
- package/dist/src/components/ui/login-screen.js +10 -9
- package/dist/src/components/ui/login-screen.js.map +1 -1
- package/dist/src/components/ui/page-layout.d.ts.map +1 -1
- package/dist/src/components/ui/page-layout.js +25 -4
- package/dist/src/components/ui/page-layout.js.map +1 -1
- package/dist/src/icons/index.d.ts +1 -1
- package/dist/src/icons/index.d.ts.map +1 -1
- package/dist/src/icons/index.js +1 -1
- package/dist/src/icons/index.js.map +1 -1
- package/dist/src/icons/pictogram-registry.d.ts +21 -1
- package/dist/src/icons/pictogram-registry.d.ts.map +1 -1
- package/dist/src/icons/pictogram-registry.js +21 -1
- package/dist/src/icons/pictogram-registry.js.map +1 -1
- package/dist/src/icons/pictograms/BusinessPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/BusinessPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/BusinessPictogram.js +7 -0
- package/dist/src/icons/pictograms/BusinessPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/CargoPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/CargoPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/CargoPictogram.js +7 -0
- package/dist/src/icons/pictograms/CargoPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/DashboardPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/DashboardPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/DashboardPictogram.js +7 -0
- package/dist/src/icons/pictograms/DashboardPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/DataAnalyticsPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/DataAnalyticsPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/DataAnalyticsPictogram.js +7 -0
- package/dist/src/icons/pictograms/DataAnalyticsPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/DeployPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/DeployPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/DeployPictogram.js +7 -0
- package/dist/src/icons/pictograms/DeployPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/DownloadPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/DownloadPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/DownloadPictogram.js +7 -0
- package/dist/src/icons/pictograms/DownloadPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/EmailPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/EmailPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/EmailPictogram.js +7 -0
- package/dist/src/icons/pictograms/EmailPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/HealthMetricsPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/HealthMetricsPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/HealthMetricsPictogram.js +7 -0
- package/dist/src/icons/pictograms/HealthMetricsPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/PlaceholderPictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/PlaceholderPictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/PlaceholderPictogram.js +7 -0
- package/dist/src/icons/pictograms/PlaceholderPictogram.js.map +1 -0
- package/dist/src/icons/pictograms/SynchronizePictogram.d.ts +2 -0
- package/dist/src/icons/pictograms/SynchronizePictogram.d.ts.map +1 -0
- package/dist/src/icons/pictograms/SynchronizePictogram.js +7 -0
- package/dist/src/icons/pictograms/SynchronizePictogram.js.map +1 -0
- package/dist/src/icons/pictograms.json +139 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/dist/styles.css +140 -5
- package/package.json +15 -15
package/NOTICE
CHANGED
|
@@ -2,3 +2,22 @@ Camunda Design System
|
|
|
2
2
|
Copyright 2026 Camunda Services GmbH
|
|
3
3
|
|
|
4
4
|
This product includes software developed at Camunda Services GmbH (https://camunda.com/).
|
|
5
|
+
|
|
6
|
+
Trademarks
|
|
7
|
+
----------
|
|
8
|
+
|
|
9
|
+
"Camunda", the Camunda logo, and the names and logos of Camunda products are
|
|
10
|
+
trademarks of Camunda Services GmbH. The Apache License, Version 2.0 does not
|
|
11
|
+
grant any rights to these trademarks or to the logo artwork, including the
|
|
12
|
+
CamundaLogo component. They may only be used in Camunda products, unless
|
|
13
|
+
Camunda Services GmbH has given written permission. This does not restrict
|
|
14
|
+
reasonable and customary use of the Camunda name to describe the origin of
|
|
15
|
+
this package or to reproduce this NOTICE file.
|
|
16
|
+
|
|
17
|
+
Third-party software
|
|
18
|
+
--------------------
|
|
19
|
+
|
|
20
|
+
This product bundles the Geist Sans font (dist/files/geist-sans-latin-*),
|
|
21
|
+
Copyright (c) 2023 Vercel, in collaboration with basement.studio, licensed
|
|
22
|
+
under the SIL Open Font License, Version 1.1. The bundled files are Latin
|
|
23
|
+
subsets of the original font. The full license text is in dist/files/OFL.txt.
|
package/README.md
CHANGED
|
@@ -227,4 +227,12 @@ Full checklist: [AGENTS.md — Verification gate](./AGENTS.md#verification-gate-
|
|
|
227
227
|
|
|
228
228
|
## License
|
|
229
229
|
|
|
230
|
-
Apache-2.0
|
|
230
|
+
The source code is licensed under Apache-2.0. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
|
|
231
|
+
|
|
232
|
+
### Trademarks
|
|
233
|
+
|
|
234
|
+
"Camunda", the Camunda logo, and the names and logos of Camunda products are trademarks of Camunda Services GmbH. Apache-2.0 doesn't grant rights to them or to the logo artwork, including the `CamundaLogo` component. Use them only in Camunda products. Naming Camunda to describe where this package comes from, or keeping the NOTICE file, is fine.
|
|
235
|
+
|
|
236
|
+
### Third-party fonts
|
|
237
|
+
|
|
238
|
+
The bundled Geist Sans font files are © Vercel and licensed under the [SIL Open Font License 1.1](https://github.com/camunda/design-system/blob/main/src/files/OFL.txt).
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Copyright (c) 2023 Vercel, in collaboration with basement.studio
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
-----------------------------------------------------------
|
|
8
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
PREAMBLE
|
|
12
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
13
|
+
development of collaborative font projects, to support the font creation
|
|
14
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
15
|
+
open framework in which fonts may be shared and improved in partnership
|
|
16
|
+
with others.
|
|
17
|
+
|
|
18
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
19
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
20
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
21
|
+
redistributed and/or sold with any software provided that any reserved
|
|
22
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
23
|
+
however, cannot be released under any other type of license. The
|
|
24
|
+
requirement for fonts to remain under this license does not apply
|
|
25
|
+
to any document created using the fonts or their derivatives.
|
|
26
|
+
|
|
27
|
+
DEFINITIONS
|
|
28
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
29
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
30
|
+
include source files, build scripts and documentation.
|
|
31
|
+
|
|
32
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
33
|
+
copyright statement(s).
|
|
34
|
+
|
|
35
|
+
"Original Version" refers to the collection of Font Software components as
|
|
36
|
+
distributed by the Copyright Holder(s).
|
|
37
|
+
|
|
38
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
39
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
40
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
41
|
+
new environment.
|
|
42
|
+
|
|
43
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
44
|
+
writer or other person who contributed to the Font Software.
|
|
45
|
+
|
|
46
|
+
PERMISSION AND CONDITIONS
|
|
47
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
48
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
49
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
50
|
+
Software, subject to the following conditions:
|
|
51
|
+
|
|
52
|
+
1) Neither the Font Software nor any of its individual components,
|
|
53
|
+
in Original or Modified Versions, may be sold by itself.
|
|
54
|
+
|
|
55
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
56
|
+
redistributed and/or sold with any software, provided that each copy
|
|
57
|
+
contains the above copyright notice and this license. These can be
|
|
58
|
+
included either as stand-alone text files, human-readable headers or
|
|
59
|
+
in the appropriate machine-readable metadata fields within text or
|
|
60
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
61
|
+
|
|
62
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
63
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
64
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
65
|
+
presented to the users.
|
|
66
|
+
|
|
67
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
68
|
+
Software shall not be used to promote, endorse or advertise any
|
|
69
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
70
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
71
|
+
permission.
|
|
72
|
+
|
|
73
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
74
|
+
must be distributed entirely under this license, and must not be
|
|
75
|
+
distributed under any other license. The requirement for fonts to
|
|
76
|
+
remain under this license does not apply to any document created
|
|
77
|
+
using the Font Software.
|
|
78
|
+
|
|
79
|
+
TERMINATION
|
|
80
|
+
This license becomes null and void if any of the above conditions are
|
|
81
|
+
not met.
|
|
82
|
+
|
|
83
|
+
DISCLAIMER
|
|
84
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
85
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
86
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
87
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
88
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
89
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
90
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
91
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
92
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-gradient.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/background-gradient.tsx"],"names":[],"mappings":"AAAA,iBAAS,WAAW,gCAInB;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
function GradientArt() {
|
|
3
|
+
return (_jsx("div", { className: "absolute inset-0 bg-linear-135 from-accent-background-strong to-accent-background-subtle to-70% dark:from-accent-background-subtle dark:to-transparent" }));
|
|
4
|
+
}
|
|
5
|
+
export { GradientArt };
|
|
6
|
+
//# sourceMappingURL=background-gradient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-gradient.js","sourceRoot":"","sources":["../../../../src/components/ui/background-gradient.tsx"],"names":[],"mappings":";AAAA,SAAS,WAAW;IAClB,OAAO,CACL,cAAK,SAAS,EAAC,wJAAwJ,GAAG,CAC3K,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/background-grid.tsx"],"names":[],"mappings":"AAMA,iBAAS,OAAO,gCA0Bf;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const LINE_MASK = [
|
|
3
|
+
"linear-gradient(to top, #000, transparent 70%)",
|
|
4
|
+
"linear-gradient(to right, #000 1px, transparent 1px)",
|
|
5
|
+
"linear-gradient(to bottom, #000 1px, transparent 1px)",
|
|
6
|
+
].join(", ");
|
|
7
|
+
function GridArt() {
|
|
8
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "absolute inset-x-[-5%] top-0 bottom-[-40%] opacity-30 blur-[16px] dark:opacity-70", style: {
|
|
9
|
+
background: "radial-gradient(ellipse 60% 85% at 50% 100%, var(--accent-foreground-subtle), transparent 80%)",
|
|
10
|
+
} }), _jsx("div", { className: "absolute inset-0 bg-inherit opacity-50", style: {
|
|
11
|
+
maskImage: LINE_MASK,
|
|
12
|
+
WebkitMaskImage: LINE_MASK,
|
|
13
|
+
maskSize: "100% 100%, 12px 12px, 12px 12px",
|
|
14
|
+
WebkitMaskSize: "100% 100%, 12px 12px, 12px 12px",
|
|
15
|
+
maskComposite: "intersect, add, add",
|
|
16
|
+
WebkitMaskComposite: "source-in, source-over, source-over",
|
|
17
|
+
} })] }));
|
|
18
|
+
}
|
|
19
|
+
export { GridArt };
|
|
20
|
+
//# sourceMappingURL=background-grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-grid.js","sourceRoot":"","sources":["../../../../src/components/ui/background-grid.tsx"],"names":[],"mappings":";AAAA,MAAM,SAAS,GAAG;IAChB,gDAAgD;IAChD,sDAAsD;IACtD,uDAAuD;CACxD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEb,SAAS,OAAO;IACd,OAAO,CACL,8BACE,cACE,SAAS,EAAC,mFAAmF,EAC7F,KAAK,EAAE;oBACL,UAAU,EACR,gGAAgG;iBACnG,GACD,EAIF,cACE,SAAS,EAAC,wCAAwC,EAClD,KAAK,EAAE;oBACL,SAAS,EAAE,SAAS;oBACpB,eAAe,EAAE,SAAS;oBAC1B,QAAQ,EAAE,iCAAiC;oBAC3C,cAAc,EAAE,iCAAiC;oBACjD,aAAa,EAAE,qBAAqB;oBACpC,mBAAmB,EAAE,qCAAqC;iBAC3D,GACD,IACD,CACJ,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-orb.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/background-orb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,iBAAS,MAAM,sBA6Cd;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
const ORB_IMAGE = "data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUEAAAGGbWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAAAAAAAOcGl0bQAAAAAAAQAAACxpbG9jAAAAAEQAAAIAAQAAAAEAAAVzAAAFtAACAAAAAQAAAa4AAAPFAAAAQmlpbmYAAAAAAAIAAAAaaW5mZQIAAAAAAQAAYXYwMUNvbG9yAAAAABppbmZlAgAAAAACAABhdjAxQWxwaGEAAAAAGmlyZWYAAAAAAAAADmF1eGwAAgABAAEAAADDaXBycAAAAJ1pcGNvAAAAFGlzcGUAAAAAAAACg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1ArT15Xmb7zcntho7PbD10zz0AWDMve7Au2K2Nr/PaR9EeHp/k8/wK0LdYwbwvYhzwBj7wGBr/orde884SZgzFraf0lmOHxhX6BAJWPINQQZ1WtJXz2JEaxAl1t/+WLclmJcir9V6LYgTAHEEuIjwGOPgh3OPSyLevZHGYus0hOGdGslaK/2qB9SgiCYSA7LowbngeyyCYMtEaBizBTuxo0=";
|
|
4
|
+
const GRID_PATH = "M41.11 3.79H56.29V2006.76H41.11ZM64.03 3.79H77.15V2006.76H64.03ZM86.94 3.79H98.00V2006.76H86.94ZM109.86 3.79H118.86V2006.76H109.86ZM132.78 3.79H139.72V2006.76H132.78ZM155.70 3.79H160.58V2006.76H155.70ZM178.63 3.79H181.44V2006.76H178.63ZM201.54 3.79H202.31V2006.76H201.54ZM220.95 3.79H222.47V2006.76H220.95ZM240.40 3.79H241.87V2006.76H240.40ZM259.85 3.79H261.27V2006.76H259.85ZM279.31 3.79H280.68V2006.76H279.31ZM298.75 3.79H300.08V2006.76H298.75ZM318.20 3.79H319.49V2006.76H318.20ZM337.65 3.79H338.88V2006.76H337.65ZM357.10 3.79H358.29V2006.76H357.10ZM376.56 3.79H377.70V2006.76H376.56ZM396.01 3.79H397.10V2006.76H396.01ZM415.46 3.79H416.51V2006.76H415.46ZM434.91 3.79H435.90V2006.76H434.91ZM454.36 3.79H455.31V2006.76H454.36ZM473.81 3.79H474.72V2006.76H473.81ZM493.26 3.79H494.11V2006.76H493.26ZM512.71 3.79H513.52V2006.76H512.71ZM531.36 3.79H532.12V2006.76H531.36ZM552.76 3.79H554.50V2006.76H552.76ZM574.16 3.79H576.87V2006.76H574.16ZM595.56 3.79H599.25V2006.76H595.56ZM616.97 3.79H621.63V2006.76H616.97ZM638.37 3.79H644.01V2006.76H638.37ZM659.77 3.79H666.38V2006.76H659.77ZM681.18 3.79H688.77V2006.76H681.18ZM700.48 3.79H708.31V2006.76H700.48ZM719.80 3.79H727.86V2006.76H719.80ZM739.10 3.79H747.40V2006.76H739.10ZM758.41 3.79H766.95V2006.76H758.41ZM777.72 3.79H786.49V2006.76H777.72ZM797.03 3.79H806.05V2006.76H797.03ZM816.34 3.79H825.59V2006.76H816.34ZM835.64 3.79H845.13V2006.76H835.64ZM854.96 3.79H864.68V2006.76H854.96ZM874.26 3.79H884.22V2006.76H874.26ZM893.57 3.79H903.77V2006.76H893.57ZM912.88 3.79H923.31V2006.76H912.88ZM932.19 3.79H942.86V2006.76H932.19ZM951.50 3.79H962.41V2006.76H951.50ZM970.81 3.79H981.96V2006.76H970.81ZM987.22 3.79H1001.50V2006.76H987.22ZM1007.10 3.79H1020.47V2006.76H1007.10ZM1026.98 3.79H1039.46V2006.76H1026.98ZM1046.85 3.79H1058.43V2006.76H1046.85ZM1066.74 3.79H1077.41V2006.76H1066.74ZM1086.61 3.79H1096.38V2006.76H1086.61ZM1106.49 3.79H1115.36V2006.76H1106.49ZM1126.37 3.79H1134.33V2006.76H1126.37ZM1146.25 3.79H1153.31V2006.76H1146.25ZM1166.12 3.79H1172.28V2006.76H1166.12ZM1186.00 3.79H1191.26V2006.76H1186.00ZM1205.88 3.79H1210.24V2006.76H1205.88ZM1225.75 3.79H1229.21V2006.76H1225.75ZM1245.64 3.79H1248.20V2006.76H1245.64ZM1265.51 3.79H1267.17V2006.76H1265.51ZM1285.82 3.79H1287.33V2006.76H1285.82ZM1305.27 3.79H1306.74V2006.76H1305.27ZM1324.72 3.79H1326.14V2006.76H1324.72ZM1344.17 3.79H1345.55V2006.76H1344.17ZM1363.62 3.79H1364.95V2006.76H1363.62ZM1383.07 3.79H1384.35V2006.76H1383.07ZM1402.52 3.79H1403.75V2006.76H1402.52ZM1421.97 3.79H1423.15V2006.76H1421.97ZM1441.43 3.79H1442.57V2006.76H1441.43ZM1460.88 3.79H1461.97V2006.76H1460.88ZM1480.33 3.79H1481.37V2006.76H1480.33ZM1499.78 3.79H1500.77V2006.76H1499.78ZM1519.23 3.79H1520.17V2006.76H1519.23ZM1538.68 3.79H1539.59V2006.76H1538.68ZM1558.13 3.79H1558.98V2006.76H1558.13ZM1577.58 3.79H1578.39V2006.76H1577.58ZM1596.36 3.79H1597.12V2006.76H1596.36ZM1617.22 3.79H1620.04V2006.76H1617.22ZM1638.08 3.79H1642.96V2006.76H1638.08ZM1658.94 3.79H1665.88V2006.76H1658.94ZM1679.80 3.79H1688.80V2006.76H1679.80ZM1700.66 3.79H1711.72V2006.76H1700.66ZM1721.52 3.79H1734.64V2006.76H1721.52ZM1742.38 3.79H1757.56V2006.76H1742.38ZM1762.26 3.79H1776.53V2006.76H1762.26ZM1782.13 3.79H1795.51V2006.76H1782.13ZM1802.02 3.79H1814.49V2006.76H1802.02ZM1821.89 3.79H1833.46V2006.76H1821.89ZM1841.77 3.79H1852.44V2006.76H1841.77ZM1861.65 3.79H1871.42V2006.76H1861.65ZM1881.53 3.79H1890.40V2006.76H1881.53ZM1901.40 3.79H1909.37V2006.76H1901.40ZM1921.29 3.79H1928.35V2006.76H1921.29ZM1941.16 3.79H1947.32V2006.76H1941.16ZM1961.03 3.79H1966.30V2006.76H1961.03ZM1980.92 3.79H1985.28V2006.76H1980.92ZM2000.79 3.79H2004.25V2006.76H2000.79ZM2020.67 3.79H2023.24V2006.76H2020.67ZM2040.55 3.79H2042.21V2006.76H2040.55ZM2060.05 3.79H2061.57V2006.76H2060.05ZM2079.50 3.79H2080.97V2006.76H2079.50ZM2098.95 3.79H2100.37V2006.76H2098.95ZM2118.40 3.79H2119.78V2006.76H2118.40ZM2137.85 3.79H2139.18V2006.76H2137.85ZM2157.30 3.79H2158.59V2006.76H2157.30ZM2176.75 3.79H2177.98V2006.76H2176.75ZM2196.20 3.79H2197.39V2006.76H2196.20ZM2215.66 3.79H2216.80V2006.76H2215.66ZM2235.11 3.79H2236.20V2006.76H2235.11ZM2254.56 3.79H2255.61V2006.76H2254.56ZM2274.01 3.79H2275.00V2006.76H2274.01ZM2293.46 3.79H2294.41V2006.76H2293.46ZM2312.91 3.79H2313.82V2006.76H2312.91ZM2332.36 3.79H2333.21V2006.76H2332.36ZM2351.81 3.79H2352.62V2006.76H2351.81ZM2371.26 3.79H2372.02V2006.76H2371.26ZM2392.67 3.79H2394.41V2006.76H2392.67ZM2414.07 3.79H2416.78V2006.76H2414.07ZM2435.47 3.79H2439.16V2006.76H2435.47ZM2456.88 3.79H2461.53V2006.76H2456.88ZM2478.28 3.79H2483.91V2006.76H2478.28ZM2499.67 3.79H2506.28V2006.76H2499.67ZM2521.08 3.79H2528.67V2006.76H2521.08ZM2540.39 3.79H2548.21V2006.76H2540.39ZM2559.70 3.79H2567.76V2006.76H2559.70ZM2579.00 3.79H2587.31V2006.76H2579.00ZM2598.32 3.79H2606.86V2006.76H2598.32ZM2617.62 3.79H2626.40V2006.76H2617.62ZM2636.94 3.79H2645.95V2006.76H2636.94ZM2656.24 3.79H2665.49V2006.76H2656.24ZM2675.55 3.79H2685.03V2006.76H2675.55ZM2694.86 3.79H2704.58V2006.76H2694.86ZM2714.16 3.79H2724.12V2006.76H2714.16ZM2733.48 3.79H2743.68V2006.76H2733.48ZM2752.78 3.79H2763.22V2006.76H2752.78ZM2772.09 3.79H2782.76V2006.76H2772.09ZM2791.40 3.79H2802.31V2006.76H2791.40ZM2810.71 3.79H2821.86V2006.76H2810.71ZM0.00 18.77H2830.02V22.50H0.00ZM0.00 37.54H2830.02V41.21H0.00ZM0.00 56.31H2830.02V59.93H0.00ZM0.00 75.08H2830.02V78.64H0.00ZM0.00 93.86H2830.02V97.35H0.00ZM0.00 112.63H2830.02V116.06H0.00ZM0.00 131.40H2830.02V134.78H0.00ZM0.00 150.18H2830.02V153.49H0.00ZM0.00 168.95H2830.02V172.21H0.00ZM0.00 187.72H2830.02V190.92H0.00ZM0.00 206.49H2830.02V209.63H0.00ZM0.00 225.26H2830.02V228.34H0.00ZM0.00 244.03H2830.02V247.05H0.00ZM0.00 262.81H2830.02V265.77H0.00ZM0.00 281.58H2830.02V284.48H0.00ZM0.00 300.35H2830.02V303.19H0.00ZM0.00 319.12H2830.02V321.90H0.00ZM0.00 337.89H2830.02V340.62H0.00ZM0.00 356.67H2830.02V359.33H0.00ZM0.00 375.44H2830.02V378.05H0.00ZM0.00 394.22H2830.02V396.76H0.00ZM0.00 412.98H2830.02V415.47H0.00ZM0.00 431.75H2830.02V434.18H0.00ZM0.00 450.52H2830.02V452.89H0.00ZM0.00 469.30H2830.02V471.60H0.00ZM0.00 488.07H2830.02V490.32H0.00ZM0.00 506.84H2830.02V509.03H0.00ZM0.00 525.62H2830.02V527.74H0.00ZM0.00 544.38H2830.02V546.46H0.00ZM0.00 563.16H2830.02V565.17H0.00ZM0.00 581.93H2830.02V583.88H0.00ZM0.00 600.71H2830.02V602.60H0.00ZM0.00 619.48H2830.02V621.31H0.00ZM0.00 638.25H2830.02V640.02H0.00ZM0.00 657.02H2830.02V658.73H0.00ZM0.00 675.79H2830.02V677.44H0.00ZM0.00 694.56H2830.02V696.16H0.00ZM0.00 713.34H2830.02V714.87H0.00ZM0.00 732.11H2830.02V733.58H0.00ZM0.00 750.88H2830.02V752.29H0.00ZM0.00 769.66H2830.02V771.01H0.00ZM0.00 788.42H2830.02V789.72H0.00ZM0.00 807.20H2830.02V808.44H0.00ZM0.00 825.97H2830.02V827.15H0.00ZM0.00 844.74H2830.02V845.85H0.00ZM0.00 863.51H2830.02V864.57H0.00ZM0.00 882.29H2830.02V883.28H0.00ZM0.00 901.05H2830.02V901.99H0.00ZM0.00 919.83H2830.02V920.71H0.00ZM0.00 938.60H2830.02V939.42H0.00ZM0.00 957.38H2830.02V958.13H0.00ZM0.00 974.10H2830.02V974.86H0.00ZM0.00 992.82H2830.02V993.64H0.00ZM0.00 1011.53H2830.02V1012.41H0.00ZM0.00 1030.24H2830.02V1031.18H0.00ZM0.00 1048.96H2830.02V1049.95H0.00ZM0.00 1067.67H2830.02V1068.72H0.00ZM0.00 1086.38H2830.02V1087.50H0.00ZM0.00 1105.09H2830.02V1106.26H0.00ZM0.00 1123.80H2830.02V1125.04H0.00ZM0.00 1142.51H2830.02V1143.81H0.00ZM0.00 1161.23H2830.02V1162.58H0.00ZM0.00 1179.94H2830.02V1181.35H0.00ZM0.00 1198.66H2830.02V1200.13H0.00ZM0.00 1217.37H2830.02V1218.90H0.00ZM0.00 1236.08H2830.02V1237.68H0.00ZM0.00 1254.80H2830.02V1256.45H0.00ZM0.00 1273.51H2830.02V1275.21H0.00ZM0.00 1292.22H2830.02V1293.99H0.00ZM0.00 1310.93H2830.02V1312.76H0.00ZM0.00 1329.64H2830.02V1331.53H0.00ZM0.00 1348.35H2830.02V1350.30H0.00ZM0.00 1367.07H2830.02V1369.08H0.00ZM0.00 1385.78H2830.02V1387.85H0.00ZM0.00 1404.49H2830.02V1406.62H0.00ZM0.00 1423.21H2830.02V1425.39H0.00ZM0.00 1441.92H2830.02V1444.17H0.00ZM0.00 1460.63H2830.02V1462.94H0.00ZM0.00 1479.35H2830.02V1481.71H0.00ZM0.00 1498.06H2830.02V1500.49H0.00ZM0.00 1516.76H2830.02V1519.25H0.00ZM0.00 1535.48H2830.02V1538.02H0.00ZM0.00 1554.19H2830.02V1556.79H0.00ZM0.00 1572.91H2830.02V1575.57H0.00ZM0.00 1591.62H2830.02V1594.34H0.00ZM0.00 1610.33H2830.02V1613.12H0.00ZM0.00 1629.05H2830.02V1631.89H0.00ZM0.00 1647.76H2830.02V1650.66H0.00ZM0.00 1666.47H2830.02V1669.43H0.00ZM0.00 1685.18H2830.02V1688.21H0.00ZM0.00 1703.90H2830.02V1706.98H0.00ZM0.00 1722.60H2830.02V1725.75H0.00ZM0.00 1741.32H2830.02V1744.52H0.00ZM0.00 1760.03H2830.02V1763.29H0.00ZM0.00 1778.74H2830.02V1782.06H0.00ZM0.00 1797.46H2830.02V1800.83H0.00ZM0.00 1816.17H2830.02V1819.61H0.00ZM0.00 1834.88H2830.02V1838.38H0.00ZM0.00 1853.60H2830.02V1857.16H0.00ZM0.00 1872.31H2830.02V1875.92H0.00ZM0.00 1891.02H2830.02V1894.70H0.00ZM0.00 1909.74H2830.02V1913.47H0.00ZM0.00 1928.44H2830.02V1932.24H0.00Z";
|
|
5
|
+
function OrbArt() {
|
|
6
|
+
const gradientId = `orb-grid-${React.useId().replace(/:/g, "")}`;
|
|
7
|
+
return (_jsxs("div", { className: "absolute inset-0", style: { "--art-width": "max(100%, 960px)" }, children: [_jsx("div", { className: "absolute inset-0", style: {
|
|
8
|
+
backgroundImage: `url("${ORB_IMAGE}")`,
|
|
9
|
+
backgroundRepeat: "no-repeat",
|
|
10
|
+
backgroundPosition: "center bottom",
|
|
11
|
+
backgroundSize: "var(--art-width) auto",
|
|
12
|
+
} }), _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2560 1440", className: "absolute bottom-0 left-1/2 aspect-video w-(--art-width) -translate-x-1/2 opacity-[0.23] mix-blend-color-burn", style: {
|
|
13
|
+
maskImage: "linear-gradient(to top, #000 60%, transparent)",
|
|
14
|
+
WebkitMaskImage: "linear-gradient(to top, #000 60%, transparent)",
|
|
15
|
+
}, children: [_jsx("defs", { children: _jsxs("radialGradient", { id: gradientId, cx: "0", cy: "0", r: "1", gradientUnits: "userSpaceOnUse", gradientTransform: "translate(1421.23 1003.91) rotate(90.1127) scale(270.717 743.172)", children: [_jsx("stop", { stopColor: "#8180F7", stopOpacity: "0" }), _jsx("stop", { offset: "1", stopColor: "#8180F7" })] }) }), _jsx("g", { transform: "translate(-141.614 73.891)", children: _jsx("path", { fillRule: "evenodd", fill: `url(#${gradientId})`, d: GRID_PATH }) })] })] }));
|
|
16
|
+
}
|
|
17
|
+
export { OrbArt };
|
|
18
|
+
//# sourceMappingURL=background-orb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-orb.js","sourceRoot":"","sources":["../../../../src/components/ui/background-orb.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,SAAS,GACb,yvHAAyvH,CAAC;AAE5vH,MAAM,SAAS,GACb,m9QAAm9Q,CAAC;AAEt9Q,SAAS,MAAM;IACb,MAAM,UAAU,GAAG,YAAY,KAAK,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;IAEjE,OAAO,CACL,eACE,SAAS,EAAC,kBAAkB,EAC5B,KAAK,EAAE,EAAE,aAAa,EAAE,kBAAkB,EAAyB,aAEnE,cACE,SAAS,EAAC,kBAAkB,EAC5B,KAAK,EAAE;oBACL,eAAe,EAAE,QAAQ,SAAS,IAAI;oBACtC,gBAAgB,EAAE,WAAW;oBAC7B,kBAAkB,EAAE,eAAe;oBACnC,cAAc,EAAE,uBAAuB;iBACxC,GACD,EACF,eACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,eAAe,EACvB,SAAS,EAAC,8GAA8G,EACxH,KAAK,EAAE;oBACL,SAAS,EAAE,gDAAgD;oBAC3D,eAAe,EAAE,gDAAgD;iBAClE,aAED,yBACE,0BACE,EAAE,EAAE,UAAU,EACd,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,CAAC,EAAC,GAAG,EACL,aAAa,EAAC,gBAAgB,EAC9B,iBAAiB,EAAC,mEAAmE,aAErF,eAAM,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,GAAG,GAAG,EAC5C,eAAM,MAAM,EAAC,GAAG,EAAC,SAAS,EAAC,SAAS,GAAG,IACxB,GACZ,EACP,YAAG,SAAS,EAAC,4BAA4B,YACvC,eAAM,QAAQ,EAAC,SAAS,EAAC,IAAI,EAAE,QAAQ,UAAU,GAAG,EAAE,CAAC,EAAE,SAAS,GAAI,GACpE,IACA,IACF,CACP,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const ART: Record<"orb" | "grid" | "gradient", React.ComponentType>;
|
|
3
|
+
type BackgroundProps = Omit<React.ComponentProps<"div">, "children" | "aria-hidden"> & {
|
|
4
|
+
variant?: keyof typeof ART;
|
|
5
|
+
};
|
|
6
|
+
declare const Background: React.ForwardRefExoticComponent<Omit<BackgroundProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Background };
|
|
8
|
+
export type { BackgroundProps };
|
|
9
|
+
//# sourceMappingURL=background.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/background.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,QAAA,MAAM,GAAG,EAAE,MAAM,CAAC,KAAK,GAAG,MAAM,GAAG,UAAU,EAAE,KAAK,CAAC,aAAa,CAIjE,CAAC;AAEF,KAAK,eAAe,GAAG,IAAI,CACzB,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAC3B,UAAU,GAAG,aAAa,CAC3B,GAAG;IACF,OAAO,CAAC,EAAE,MAAM,OAAO,GAAG,CAAC;CAC5B,CAAC;AA2BF,QAAA,MAAM,UAAU,qGAA2D,CAAC;AAG5E,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../lib/utils.js";
|
|
4
|
+
import { withRef } from "../../lib/with-ref.js";
|
|
5
|
+
import { GradientArt } from "./background-gradient.js";
|
|
6
|
+
import { GridArt } from "./background-grid.js";
|
|
7
|
+
import { OrbArt } from "./background-orb.js";
|
|
8
|
+
const ART = {
|
|
9
|
+
orb: OrbArt,
|
|
10
|
+
grid: GridArt,
|
|
11
|
+
gradient: GradientArt,
|
|
12
|
+
};
|
|
13
|
+
function BackgroundImpl({ variant = "orb", className, ref, ...props }) {
|
|
14
|
+
const Art = ART[variant];
|
|
15
|
+
return (_jsx("div", { ...props, ref: ref, "aria-hidden": "true", "data-slot": "background", "data-variant": variant, className: cn("pointer-events-none absolute inset-0 -z-10 overflow-hidden rounded-[inherit] bg-inherit", className), children: _jsx(Art, {}) }));
|
|
16
|
+
}
|
|
17
|
+
const Background = withRef(BackgroundImpl);
|
|
18
|
+
Background.displayName = "Background";
|
|
19
|
+
export { Background };
|
|
20
|
+
//# sourceMappingURL=background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background.js","sourceRoot":"","sources":["../../../../src/components/ui/background.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,GAAG,GAA6D;IACpE,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,OAAO;IACb,QAAQ,EAAE,WAAW;CACtB,CAAC;AASF,SAAS,cAAc,CAAC,EACtB,OAAO,GAAG,KAAK,EACf,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACQ;IAChB,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC;IAEzB,OAAO,CACL,iBACM,KAAK,EACT,GAAG,EAAE,GAAG,iBACI,MAAM,eACR,YAAY,kBACR,OAAO,EACrB,SAAS,EAAE,EAAE,CACX,yFAAyF,EACzF,SAAS,CACV,YAED,KAAC,GAAG,KAAG,GACH,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,GAAG,OAAO,CAAkC,cAAc,CAAC,CAAC;AAC5E,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Camunda Services GmbH. The Camunda logo is a trademark of Camunda
|
|
3
|
+
* Services GmbH and is not licensed under the Apache License, Version 2.0.
|
|
4
|
+
* It may only be used in Camunda products. See NOTICE.
|
|
5
|
+
*/
|
|
1
6
|
/**
|
|
2
7
|
* Camunda logomark — brand asset shipped by the DS so consumers don't have
|
|
3
8
|
* to source, recreate, or token-map it themselves.
|
|
4
9
|
*
|
|
5
|
-
*
|
|
6
|
-
* mark
|
|
7
|
-
* the brand primary #FC5D0D — intentionally not a themeable token because
|
|
8
|
-
* the Camunda brand colour is fixed across all surfaces.
|
|
10
|
+
* Monochrome: the tile uses fill-foreground and the glyph (C and bar) uses
|
|
11
|
+
* fill-background, so the mark inverts automatically in dark mode.
|
|
9
12
|
*/
|
|
10
13
|
export declare function CamundaLogo({ className }: {
|
|
11
14
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camunda-logo.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/camunda-logo.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"camunda-logo.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/camunda-logo.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BAqBhE"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright Camunda Services GmbH. The Camunda logo is a trademark of Camunda
|
|
4
|
+
* Services GmbH and is not licensed under the Apache License, Version 2.0.
|
|
5
|
+
* It may only be used in Camunda products. See NOTICE.
|
|
6
|
+
*/
|
|
2
7
|
/**
|
|
3
8
|
* Camunda logomark — brand asset shipped by the DS so consumers don't have
|
|
4
9
|
* to source, recreate, or token-map it themselves.
|
|
5
10
|
*
|
|
6
|
-
*
|
|
7
|
-
* mark
|
|
8
|
-
* the brand primary #FC5D0D — intentionally not a themeable token because
|
|
9
|
-
* the Camunda brand colour is fixed across all surfaces.
|
|
11
|
+
* Monochrome: the tile uses fill-foreground and the glyph (C and bar) uses
|
|
12
|
+
* fill-background, so the mark inverts automatically in dark mode.
|
|
10
13
|
*/
|
|
11
14
|
export function CamundaLogo({ className }) {
|
|
12
|
-
return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className: className, children: [_jsx("rect", { width: "24", height: "24", rx: "3", className: "fill-foreground" }), _jsx("path", { d: "M11.986 15.585c1.824 0 2.762-1.075 2.776-2.967v-1.564h-1.755v1.687c0 .844-.368 1.143-.966 1.143-.585 0-.966-.3-.966-1.143V6.364c0-.843.367-1.17.966-1.156.585 0 .966.326.966 1.17v1.261h1.755V6.496c0-1.891-.94-2.965-2.762-2.965-1.823 0-2.764 1.074-2.776 2.965v6.136c0 1.864.943 2.953 2.762 2.953Z", className: "fill-background" }), _jsx("path", { d: "M14.762 17.312H9.224v3.13h5.538v-3.13Z",
|
|
15
|
+
return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className: className, children: [_jsx("rect", { width: "24", height: "24", rx: "3", className: "fill-foreground" }), _jsx("path", { d: "M11.986 15.585c1.824 0 2.762-1.075 2.776-2.967v-1.564h-1.755v1.687c0 .844-.368 1.143-.966 1.143-.585 0-.966-.3-.966-1.143V6.364c0-.843.367-1.17.966-1.156.585 0 .966.326.966 1.17v1.261h1.755V6.496c0-1.891-.94-2.965-2.762-2.965-1.823 0-2.764 1.074-2.776 2.965v6.136c0 1.864.943 2.953 2.762 2.953Z", className: "fill-background" }), _jsx("path", { d: "M14.762 17.312H9.224v3.13h5.538v-3.13Z", className: "fill-background" })] }));
|
|
13
16
|
}
|
|
14
17
|
//# sourceMappingURL=camunda-logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camunda-logo.js","sourceRoot":"","sources":["../../../../src/components/ui/camunda-logo.tsx"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"camunda-logo.js","sourceRoot":"","sources":["../../../../src/components/ui/camunda-logo.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,SAAS,EAA0B;IAC/D,OAAO,CACL,eACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,iBACC,MAAM,EAClB,SAAS,EAAE,SAAS,aAEpB,eAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,SAAS,EAAC,iBAAiB,GAAG,EAClE,eACE,CAAC,EAAC,wSAAwS,EAC1S,SAAS,EAAC,iBAAiB,GAC3B,EACF,eACE,CAAC,EAAC,wCAAwC,EAC1C,SAAS,EAAC,iBAAiB,GAC3B,IACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { useIsTruncated } from "../../hooks/use-is-truncated.js";
|
|
|
7
7
|
import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip.js";
|
|
8
8
|
import { typographyVariants } from "./typography.js";
|
|
9
9
|
function Card({ className, size = "default", ...props }) {
|
|
10
|
-
return (_jsx("div", { "data-slot": "card", "data-size": size, className: cn("group/card flex flex-col gap-4 rounded-xl bg-neutral-background-subtle py-4 text-sm text-neutral-foreground-strong ring-1 ring-border shadow-sm has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", className), ...props }));
|
|
10
|
+
return (_jsx("div", { "data-slot": "card", "data-size": size, className: cn("group/card has-[>[data-slot=background]]:relative has-[>[data-slot=background]]:isolate has-[>[data-slot=background]]:overflow-hidden flex flex-col gap-4 rounded-xl bg-neutral-background-subtle py-4 text-sm text-neutral-foreground-strong ring-1 ring-border shadow-sm has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", className), ...props }));
|
|
11
11
|
}
|
|
12
12
|
function CardHeader({ className, ...props }) {
|
|
13
13
|
return (_jsx("div", { "data-slot": "card-header", className: cn("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", className), ...props }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/components/ui/card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAqB,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAErE,SAAS,IAAI,CAAC,EACZ,SAAS,EACT,IAAI,GAAG,SAAS,EAChB,GAAG,KAAK,EACkD;IAC1D,OAAO,CACL,2BACY,MAAM,eACL,IAAI,EACf,SAAS,EAAE,EAAE,CACX,
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/components/ui/card.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAqB,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAErE,SAAS,IAAI,CAAC,EACZ,SAAS,EACT,IAAI,GAAG,SAAS,EAChB,GAAG,KAAK,EACkD;IAC1D,OAAO,CACL,2BACY,MAAM,eACL,IAAI,EACf,SAAS,EAAE,EAAE,CACX,meAAme,EACne,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B;IACtE,OAAO,CACL,2BACY,aAAa,EACvB,SAAS,EAAE,EAAE,CACX,oSAAoS,EACpS,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EACjB,EAAE,GAAG,KAAK,EACV,SAAS,EACT,OAAO,EACP,oBAAoB,EACpB,QAAQ,EACR,GAAG,KAAK,EAYT;IACC,MAAM,EAAE,CAAC,EAAE,GAAG,eAAe,EAAE,CAAC;IAChC,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IAC9B,qEAAqE;IACrE,gDAAgD;IAChD,MAAM,iBAAiB,GAAG,EAAE,KAAK,KAAK,IAAI,OAAO,IAAI,IAAI,CAAC;IAE1D,uEAAuE;IACvE,yEAAyE;IACzE,2EAA2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-
{"version":3,"file":"login-screen.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/login-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"login-screen.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/login-screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAIjD,KAAK,qBAAqB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,gBAAgB,GAAG,IAAI,CAC1B,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAC5B,UAAU,GAAG,OAAO,CACrB,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,qBAAqB,CAAC;IAC3C,kBAAkB,CAAC,EAAE,qBAAqB,CAAC;IAC3C,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAkNF,QAAA,MAAM,WAAW,uGAA8D,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { useC4Dictionary } from "../../lib/i18n/context.js";
|
|
|
5
5
|
import { cn } from "../../lib/utils.js";
|
|
6
6
|
import { withRef } from "../../lib/with-ref.js";
|
|
7
7
|
import { Alert } from "./alert.js";
|
|
8
|
+
import { Background } from "./background.js";
|
|
8
9
|
import { Button } from "./button.js";
|
|
9
10
|
import { CamundaLogo } from "./camunda-logo.js";
|
|
10
11
|
import { Card, CardContent } from "./card.js";
|
|
@@ -38,15 +39,15 @@ function LoginScreenImpl({ ref, className, title, formLabel, branding, usernameI
|
|
|
38
39
|
}
|
|
39
40
|
onSubmit?.(event);
|
|
40
41
|
};
|
|
41
|
-
return (_jsxs("div", { "data-slot": "login-screen", className: "flex min-h-dvh flex-col items-center bg-background p-4", children: [_jsx("main", { className: "flex w-full flex-1 items-center justify-center", children:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
return (_jsxs("div", { "data-slot": "login-screen", className: "relative isolate flex min-h-dvh flex-col items-center bg-background p-4", children: [_jsx(Background, { variant: "orb" }), _jsx("main", { className: "flex w-full flex-1 items-center justify-center", children: _jsx("div", { className: "flex w-full max-w-[26rem] flex-col gap-4", children: _jsx("form", { ...formProps, ref: ref, "data-slot": "login-screen-form", className: cn("w-full", className), "aria-label": ariaLabelledBy === undefined
|
|
43
|
+
? (ariaLabel ?? resolvedFormLabel)
|
|
44
|
+
: ariaLabel, "aria-labelledby": ariaLabelledBy, onSubmitCapture: handleSubmitCapture, onSubmit: handleSubmit, children: _jsx(Card, { children: _jsxs(CardContent, { className: "flex flex-col gap-4", children: [branding !== null ? (_jsx("div", { className: "flex justify-center pt-2", children: branding === undefined ? (_jsx(CamundaLogo, { className: "size-12" })) : (branding) })) : null, _jsx(Heading, { id: generatedTitleId, as: "h1", variant: "heading-lg", className: "text-center", children: resolvedTitle }), error ? (_jsx(Alert, { variant: "destructive", description: error })) : null, _jsxs("div", { className: "flex flex-col gap-1.5", children: [_jsx(Label, { htmlFor: resolvedUsernameId, children: resolvedUsernameLabel }), _jsx(Input, { announceInvalidText: true, ...usernameProps, id: resolvedUsernameId, name: usernameInputProps.name ?? "username", type: "text", autoComplete: usernameInputProps.autoComplete ?? "username", required: usernameRequired, "aria-required": usernameAriaRequired, className: usernameClassName })] }), _jsxs("div", { className: "flex flex-col gap-1.5", children: [_jsx(Label, { htmlFor: resolvedPasswordId, children: resolvedPasswordLabel }), _jsxs("div", { className: "relative", children: [_jsx(Input, { announceInvalidText: true, ...passwordProps, id: resolvedPasswordId, name: passwordInputProps.name ?? "password", type: isPasswordVisible ? "text" : "password", autoComplete: passwordInputProps.autoComplete ?? "current-password", required: passwordRequired, "aria-required": passwordAriaRequired, disabled: passwordDisabled, className: cn("pr-11", passwordClassName) }), _jsx(IconButton, { type: "button", variant: "ghost", size: "sm", icon: isPasswordVisible ? EyeOff : Eye, label: isPasswordVisible
|
|
45
|
+
? hidePasswordLabel ||
|
|
46
|
+
t("loginScreen.hidePasswordLabel")
|
|
47
|
+
: showPasswordLabel ||
|
|
48
|
+
t("loginScreen.showPasswordLabel"), "aria-controls": resolvedPasswordId, disabled: passwordDisabled, onClick: () => setIsPasswordVisible((visible) => !visible), className: "absolute right-1 top-1" })] })] }), _jsx(Button, { type: "submit", size: "lg", loading: submitting, className: "mt-2 w-full", children: submitting
|
|
49
|
+
? submittingLabel || t("loginScreen.submittingLabel")
|
|
50
|
+
: submitLabel || t("loginScreen.submitLabel") }), legal !== undefined && legal !== null ? (_jsx(Text, { as: "div", variant: "helper", className: "text-center", children: legal })) : null] }) }) }) }) }), footer !== undefined && footer !== null ? (_jsx("footer", { className: "py-4 text-center", children: _jsx(Text, { as: "div", variant: "helper", className: "inline-block rounded-md bg-background px-2 py-1", children: footer }) })) : null] }));
|
|
50
51
|
}
|
|
51
52
|
const LoginScreen = withRef(LoginScreenImpl);
|
|
52
53
|
export { LoginScreen };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-screen.js","sourceRoot":"","sources":["../../../../src/components/ui/login-screen.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAmB,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAyB7C,SAAS,eAAe,CAAC,EACvB,GAAG,EACH,SAAS,EACT,KAAK,EACL,SAAS,EACT,QAAQ,EACR,kBAAkB,GAAG,EAAE,EACvB,kBAAkB,GAAG,EAAE,EACvB,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,EACL,MAAM,EACN,QAAQ,EACR,eAAe,EACf,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,SAAS,EACK;IACjB,MAAM,EAAE,CAAC,EAAE,GAAG,eAAe,EAAE,CAAC;IAChC,MAAM,gBAAgB,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IACvC,MAAM,mB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,CAAC;YACf,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QACD,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,4BACY,cAAc,EACxB,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"login-screen.js","sourceRoot":"","sources":["../../../../src/components/ui/login-screen.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAmB,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAyB7C,SAAS,eAAe,CAAC,EACvB,GAAG,EACH,SAAS,EACT,KAAK,EACL,SAAS,EACT,QAAQ,EACR,kBAAkB,GAAG,EAAE,EACvB,kBAAkB,GAAG,EAAE,EACvB,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,EACL,MAAM,EACN,QAAQ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,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAmDF,QAAA,MAAM,UAAU,kGAAwD,CAAC;AAGzE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { Heading } from "./typography.js";
|
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
9
|
// PageLayout
|
|
10
10
|
// ---------------------------------------------------------------------------
|
|
11
|
-
const pageLayoutVariants = cva("flex flex-col min-h-0 flex-1 bg-background text-foreground", {
|
|
11
|
+
const pageLayoutVariants = cva("has-[>[data-slot=background]]:relative has-[>[data-slot=background]]:isolate flex flex-col min-h-0 flex-1 bg-background text-foreground", {
|
|
12
12
|
variants: {
|
|
13
13
|
padding: {
|
|
14
14
|
default: "p-6",
|
|
@@ -40,8 +40,29 @@ const pageContentWidthVariants = cva("flex flex-1 min-h-0 flex-col w-full", {
|
|
|
40
40
|
},
|
|
41
41
|
});
|
|
42
42
|
function PageLayoutImpl({ id = "main-content", padding, width, separator = false, className, children, ref, ...props }) {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
// A Background child renders directly inside <main> so it fills the main
|
|
44
|
+
// area and takes <main>'s colour; everything else goes in the content box.
|
|
45
|
+
const isBackground = (child) => React.isValidElement(child) &&
|
|
46
|
+
child.type.displayName === "Background";
|
|
47
|
+
// Fragments are walked so a Background inside one is lifted out too; each
|
|
48
|
+
// Fragment is otherwise kept as one child.
|
|
49
|
+
const backgrounds = [];
|
|
50
|
+
const liftBackgrounds = (nodes) => React.Children.toArray(nodes).flatMap((child) => {
|
|
51
|
+
if (isBackground(child)) {
|
|
52
|
+
backgrounds.push(child);
|
|
53
|
+
return [];
|
|
54
|
+
}
|
|
55
|
+
if (React.isValidElement(child) && child.type === React.Fragment) {
|
|
56
|
+
const fragmentChildren = child.props
|
|
57
|
+
.children;
|
|
58
|
+
return [
|
|
59
|
+
React.cloneElement(child, undefined, liftBackgrounds(fragmentChildren)),
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
return [child];
|
|
63
|
+
});
|
|
64
|
+
const childArray = liftBackgrounds(children);
|
|
65
|
+
let content = childArray;
|
|
45
66
|
if (separator) {
|
|
46
67
|
// Inject a <Separator> after the first PageHeader child.
|
|
47
68
|
const firstPageHeaderIndex = childArray.findIndex((child) => React.isValidElement(child) &&
|
|
@@ -51,7 +72,7 @@ function PageLayoutImpl({ id = "main-content", padding, width, separator = false
|
|
|
51
72
|
content = (_jsxs(_Fragment, { children: [childArray.slice(0, firstPageHeaderIndex + 1), _jsx(Separator, {}), childArray.slice(firstPageHeaderIndex + 1)] }));
|
|
52
73
|
}
|
|
53
74
|
}
|
|
54
|
-
return (
|
|
75
|
+
return (_jsxs("main", { "data-slot": "page-layout", id: id, className: cn(pageLayoutVariants({ padding, width }), className), ref: ref, ...props, children: [backgrounds, _jsx("div", { "data-slot": "page-content", className: cn(pageContentWidthVariants({ width })), children: content })] }));
|
|
55
76
|
}
|
|
56
77
|
const PageLayout = withRef(PageLayoutImpl);
|
|
57
78
|
PageLayout.displayName = "PageLayout";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-layout.js","sourceRoot":"","sources":["../../../../src/components/ui/page-layout.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,8EAA8E;AAC9E,aAAa;AACb,8EAA8E;AAE9E,MAAM,kBAAkB,GAAG,GAAG,CAC5B,
|
|
1
|
+
{"version":3,"file":"page-layout.js","sourceRo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,YAAG,SAAS,EAAC,kDAAkD,YAC5D,WAAW,GACV,CACL,IACG,EAEL,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,GACJ,CACP,IACG,EAEL,IAAI,IAAI,cAAK,SAAS,EAAC,MAAM,YAAE,IAAI,GAAO,IACpC,CACV,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,GAAG,OAAO,CAA+B,cAAc,CAAC,CAAC;AACzE,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -10,5 +10,5 @@ export { FormIcon } from "./custom/FormIcon.js";
|
|
|
10
10
|
export { ModelerIcon } from "./custom/ModelerIcon.js";
|
|
11
11
|
export { camundaAppIcons, type CamundaAppKey } from "./camunda-app-icons.js";
|
|
12
12
|
export { camundaPictograms, findPictogramKeys, pictograms, type PictogramEntry, type PictogramKey, } from "./pictogram-registry.js";
|
|
13
|
-
export { AgentAgnosticPictogram, AiIntoResultsPictogram, ApoPictogram, AutomationSuccessRatesPictogram, BankingPictogram, BoatPictogram, BpaPictogram, BpmnOpenStandardsPictogram, BuildWithCamundaPictogram, ChatReachLeadersPictogram, CompareWhatHeldUpPictogram, ComposablePictogram, ContinuouslyOptimizedPictogram, DataDrivenPictogram, DecisionMonitoringPictogram, DpaPictogram, FirstAgentPictogram, FutureProofPictogram, HealthcarePictogram, IconGovernancePictogram, InsurancePictogram, LogisticsPictogram, ProcessReengineeringPictogram, RunLocallyPictogram, SaasTrialPictogram, TokenUsageAnalyticsPictogram, } from "./pictogram-registry.js";
|
|
13
|
+
export { AgentAgnosticPictogram, AiIntoResultsPictogram, ApoPictogram, AutomationSuccessRatesPictogram, BankingPictogram, BoatPictogram, BpaPictogram, BpmnOpenStandardsPictogram, BuildWithCamundaPictogram, BusinessPictogram, CargoPictogram, ChatReachLeadersPictogram, CompareWhatHeldUpPictogram, ComposablePictogram, ContinuouslyOptimizedPictogram, DashboardPictogram, DataAnalyticsPictogram, DataDrivenPictogram, DecisionMonitoringPictogram, DeployPictogram, DownloadPictogram, DpaPictogram, EmailPictogram, FirstAgentPictogram, FutureProofPictogram, HealthcarePictogram, HealthMetricsPictogram, IconGovernancePictogram, InsurancePictogram, LogisticsPictogram, PlaceholderPictogram, ProcessReengineeringPictogram, RunLocallyPictogram, SaasTrialPictogram, SynchronizePictogram, TokenUsageAnalyticsPictogram, } from "./pictogram-registry.js";
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icons/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AAEzB,OAAO,EACL,YAAY,EACZ,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,QAAQ,GACT,MAAM,YAAY,CAAC;AAIpB,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,eAAe,EACf,aAAa,EACb,WAAW,EACX,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE1E,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,KA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O,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE1E,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,YAAY,EACZ,+BAA+B,EAC/B,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,0BAA0B,EAC1B,yBAAyB,EACzB,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EACzB,0BAA0B,EAC1B,mBAAmB,EACnB,8BAA8B,EAC9B,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC"}
|
package/dist/src/icons/index.js
CHANGED
|
@@ -13,5 +13,5 @@ export { FormIcon } from "./custom/FormIcon.js";
|
|
|
13
13
|
export { ModelerIcon } from "./custom/ModelerIcon.js";
|
|
14
14
|
export { camundaAppIcons } from "./camunda-app-icons.js";
|
|
15
15
|
export { camundaPictograms, findPictogramKeys, pictograms, } from "./pictogram-registry.js";
|
|
16
|
-
export { AgentAgnosticPictogram, AiIntoResultsPictogram, ApoPictogram, AutomationSuccessRatesPictogram, BankingPictogram, BoatPictogram, BpaPictogram, BpmnOpenStandardsPictogram, BuildWithCamundaPictogram, ChatReachLeadersPictogram, CompareWhatHeldUpPictogram, ComposablePictogram, ContinuouslyOptimizedPictogram, DataDrivenPictogram, DecisionMonitoringPictogram, DpaPictogram, FirstAgentPictogram, FutureProofPictogram, HealthcarePictogram, IconGovernancePictogram, InsurancePictogram, LogisticsPictogram, ProcessReengineeringPictogram, RunLocallyPictogram, SaasTrialPictogram, TokenUsageAnalyticsPictogram, } from "./pictogram-registry.js";
|
|
16
|
+
export { AgentAgnosticPictogram, AiIntoResultsPictogram, ApoPictogram, AutomationSuccessRatesPictogram, BankingPictogram, BoatPictogram, BpaPictogram, BpmnOpenStandardsPictogram, BuildWithCamundaPictogram, BusinessPictogram, CargoPictogram, ChatReachLeadersPictogram, CompareWhatHeldUpPictogram, ComposablePictogram, ContinuouslyOptimizedPictogram, DashboardPictogram, DataAnalyticsPictogram, DataDrivenPictogram, DecisionMonitoringPictogram, DeployPictogram, DownloadPictogram, DpaPictogram, EmailPictogram, FirstAgentPictogram, FutureProofPictogram, HealthcarePictogram, HealthMetricsPictogram, IconGovernancePictogram, InsurancePictogram, LogisticsPictogram, PlaceholderPictogram, ProcessReengineeringPictogram, RunLocallyPictogram, SaasTrialPictogram, SynchronizePictogram, TokenUsageAnalyticsPictogram, } from "./pictogram-registry.js";
|
|
17
17
|
//# sourceMappingURL=index.js.map
|