@idp.global/catalog 1.1.1
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/assets/v2/draw-41d55381-b162-433d-956c-fe4cd400212e.png +0 -0
- package/assets/v2/draw-bd386bf3-ce94-4452-88da-05ae372fae35.png +0 -0
- package/assets/v2/draw-be69231a-f491-4bd3-9a47-71561ce14c15.png +0 -0
- package/assets/v2/draw-d58859a8-0615-44ec-80fe-626033c888f7.png +0 -0
- package/assets/v2/draw-db67b502-d987-4226-a5f8-d57e3f8d7ba9.png +0 -0
- package/assets/v2/draw-e6ac3ef5-5a93-464d-9d3f-5ae7b7278bdd.png +0 -0
- package/changelog.md +26 -0
- package/dist_bundle/bundle.js +6385 -0
- package/dist_ts_web/00_commitinfo_data.d.ts +8 -0
- package/dist_ts_web/00_commitinfo_data.js +9 -0
- package/dist_ts_web/elements/idp-admin-shell.d.ts +292 -0
- package/dist_ts_web/elements/idp-admin-shell.js +2615 -0
- package/dist_ts_web/elements/idp-approval-card.d.ts +25 -0
- package/dist_ts_web/elements/idp-approval-card.js +274 -0
- package/dist_ts_web/elements/idp-badge.d.ts +14 -0
- package/dist_ts_web/elements/idp-badge.js +135 -0
- package/dist_ts_web/elements/idp-button.d.ts +21 -0
- package/dist_ts_web/elements/idp-button.js +234 -0
- package/dist_ts_web/elements/idp-card.d.ts +15 -0
- package/dist_ts_web/elements/idp-card.js +139 -0
- package/dist_ts_web/elements/idp-checkbox.d.ts +23 -0
- package/dist_ts_web/elements/idp-checkbox.js +233 -0
- package/dist_ts_web/elements/idp-dashboard-window.d.ts +23 -0
- package/dist_ts_web/elements/idp-dashboard-window.js +587 -0
- package/dist_ts_web/elements/idp-data-table.d.ts +45 -0
- package/dist_ts_web/elements/idp-data-table.js +472 -0
- package/dist_ts_web/elements/idp-form-submit.d.ts +20 -0
- package/dist_ts_web/elements/idp-form-submit.js +136 -0
- package/dist_ts_web/elements/idp-form.d.ts +31 -0
- package/dist_ts_web/elements/idp-form.js +197 -0
- package/dist_ts_web/elements/idp-icon.d.ts +18 -0
- package/dist_ts_web/elements/idp-icon.js +204 -0
- package/dist_ts_web/elements/idp-inbox-preview.d.ts +18 -0
- package/dist_ts_web/elements/idp-inbox-preview.js +245 -0
- package/dist_ts_web/elements/idp-input.d.ts +26 -0
- package/dist_ts_web/elements/idp-input.js +249 -0
- package/dist_ts_web/elements/idp-landing-hero.d.ts +15 -0
- package/dist_ts_web/elements/idp-landing-hero.js +209 -0
- package/dist_ts_web/elements/idp-landing-page.d.ts +21 -0
- package/dist_ts_web/elements/idp-landing-page.js +694 -0
- package/dist_ts_web/elements/idp-mobile-frame.d.ts +14 -0
- package/dist_ts_web/elements/idp-mobile-frame.js +195 -0
- package/dist_ts_web/elements/idp-mobile-showcase.d.ts +16 -0
- package/dist_ts_web/elements/idp-mobile-showcase.js +339 -0
- package/dist_ts_web/elements/idp-select.d.ts +28 -0
- package/dist_ts_web/elements/idp-select.js +179 -0
- package/dist_ts_web/elements/idp-toggle.d.ts +15 -0
- package/dist_ts_web/elements/idp-toggle.js +134 -0
- package/dist_ts_web/elements/index.d.ts +20 -0
- package/dist_ts_web/elements/index.js +21 -0
- package/dist_ts_web/elements/tokens.d.ts +21 -0
- package/dist_ts_web/elements/tokens.js +190 -0
- package/dist_ts_web/index.d.ts +1 -0
- package/dist_ts_web/index.js +2 -0
- package/dist_ts_web/pages/index.d.ts +5 -0
- package/dist_ts_web/pages/index.js +23 -0
- package/dist_watch/bundle.js +120699 -0
- package/dist_watch/bundle.js.map +7 -0
- package/dist_watch/index.html +29 -0
- package/html/index.html +29 -0
- package/html/index.ts +39 -0
- package/license +21 -0
- package/package.json +64 -0
- package/readme.md +103 -0
- package/ts_web/00_commitinfo_data.ts +8 -0
- package/ts_web/elements/idp-admin-shell.ts +2664 -0
- package/ts_web/elements/idp-approval-card.ts +182 -0
- package/ts_web/elements/idp-badge.ts +84 -0
- package/ts_web/elements/idp-button.ts +166 -0
- package/ts_web/elements/idp-card.ts +76 -0
- package/ts_web/elements/idp-checkbox.ts +143 -0
- package/ts_web/elements/idp-dashboard-window.ts +564 -0
- package/ts_web/elements/idp-data-table.ts +407 -0
- package/ts_web/elements/idp-form-submit.ts +65 -0
- package/ts_web/elements/idp-form.ts +159 -0
- package/ts_web/elements/idp-icon.ts +263 -0
- package/ts_web/elements/idp-inbox-preview.ts +192 -0
- package/ts_web/elements/idp-input.ts +151 -0
- package/ts_web/elements/idp-landing-hero.ts +165 -0
- package/ts_web/elements/idp-landing-page.ts +655 -0
- package/ts_web/elements/idp-mobile-frame.ts +137 -0
- package/ts_web/elements/idp-mobile-showcase.ts +295 -0
- package/ts_web/elements/idp-select.ts +119 -0
- package/ts_web/elements/idp-toggle.ts +77 -0
- package/ts_web/elements/index.ts +20 -0
- package/ts_web/elements/tokens.ts +193 -0
- package/ts_web/index.ts +1 -0
- package/ts_web/pages/index.ts +26 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!--gitzone element-->
|
|
2
|
+
<!-- made by Task Venture Capital GmbH -->
|
|
3
|
+
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
|
|
4
|
+
<html lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<!--Lets set some basic meta tags-->
|
|
7
|
+
<meta
|
|
8
|
+
name="viewport"
|
|
9
|
+
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"
|
|
10
|
+
/>
|
|
11
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
12
|
+
|
|
13
|
+
<!--Lets load standard fonts-->
|
|
14
|
+
<link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
|
|
15
|
+
<link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
|
|
16
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233b82f6' d='M12 2l8 3v7c0 6-8 10-8 10s-8-4-8-10V5l8-3z'/%3E%3C/svg%3E">
|
|
17
|
+
|
|
18
|
+
<style>
|
|
19
|
+
body {
|
|
20
|
+
margin: 0px;
|
|
21
|
+
background: #222222;
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
24
|
+
|
|
25
|
+
<script type="module" src="/bundle.js"></script>
|
|
26
|
+
</head>
|
|
27
|
+
<body>
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
package/html/index.html
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!--gitzone element-->
|
|
2
|
+
<!-- made by Task Venture Capital GmbH -->
|
|
3
|
+
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
|
|
4
|
+
<html lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<!--Lets set some basic meta tags-->
|
|
7
|
+
<meta
|
|
8
|
+
name="viewport"
|
|
9
|
+
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"
|
|
10
|
+
/>
|
|
11
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
12
|
+
|
|
13
|
+
<!--Lets load standard fonts-->
|
|
14
|
+
<link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
|
|
15
|
+
<link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
|
|
16
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233b82f6' d='M12 2l8 3v7c0 6-8 10-8 10s-8-4-8-10V5l8-3z'/%3E%3C/svg%3E">
|
|
17
|
+
|
|
18
|
+
<style>
|
|
19
|
+
body {
|
|
20
|
+
margin: 0px;
|
|
21
|
+
background: #222222;
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
24
|
+
|
|
25
|
+
<script type="module" src="/bundle.js"></script>
|
|
26
|
+
</head>
|
|
27
|
+
<body>
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
package/html/index.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// dees tools
|
|
2
|
+
import * as deesWccTools from '@design.estate/dees-wcctools';
|
|
3
|
+
import * as deesDomTools from '@design.estate/dees-domtools';
|
|
4
|
+
|
|
5
|
+
// elements and pages
|
|
6
|
+
import * as elements from '../ts_web/elements/index.js';
|
|
7
|
+
import * as pages from '../ts_web/pages/index.js';
|
|
8
|
+
|
|
9
|
+
const fullPageElementNames = new Set([
|
|
10
|
+
'IdpAdminShell',
|
|
11
|
+
'IdpLandingPage',
|
|
12
|
+
'IdpMobileShowcase',
|
|
13
|
+
]);
|
|
14
|
+
|
|
15
|
+
deesWccTools.setupWccTools({
|
|
16
|
+
sections: [
|
|
17
|
+
{
|
|
18
|
+
name: 'Full Pages',
|
|
19
|
+
type: 'pages',
|
|
20
|
+
items: pages,
|
|
21
|
+
icon: 'web',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Composed Views',
|
|
25
|
+
type: 'elements',
|
|
26
|
+
items: elements,
|
|
27
|
+
icon: 'dashboard',
|
|
28
|
+
filter: (nameArg) => fullPageElementNames.has(nameArg) || ['IdpDashboardWindow', 'IdpLandingHero', 'IdpInboxPreview'].includes(nameArg),
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Primitives',
|
|
32
|
+
type: 'elements',
|
|
33
|
+
items: elements,
|
|
34
|
+
icon: 'category',
|
|
35
|
+
filter: (nameArg) => nameArg.startsWith('Idp') && !fullPageElementNames.has(nameArg) && !['IdpDashboardWindow', 'IdpLandingHero', 'IdpInboxPreview'].includes(nameArg),
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
});
|
|
39
|
+
deesDomTools.elementBasic.setup();
|
package/license
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Task Venture Capital GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@idp.global/catalog",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Web component catalog for idp.global, based on the v3 product design language.",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist_ts_web/index.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist_ts_web/index.js",
|
|
10
|
+
"typings": "dist_ts_web/index.d.ts",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"author": "Task Venture Capital GmbH",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@design.estate/dees-catalog": "^3.81.0",
|
|
16
|
+
"@design.estate/dees-domtools": "^2.5.6",
|
|
17
|
+
"@design.estate/dees-element": "^2.2.4",
|
|
18
|
+
"@design.estate/dees-wcctools": "^3.9.0",
|
|
19
|
+
"lucide": "^1.16.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@git.zone/tsbuild": "^4.4.1",
|
|
23
|
+
"@git.zone/tsbundle": "^2.10.4",
|
|
24
|
+
"@git.zone/tswatch": "^3.3.5",
|
|
25
|
+
"@push.rocks/projectinfo": "^5.1.0",
|
|
26
|
+
"@types/node": "^25.9.0"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"ts_web/**/*",
|
|
30
|
+
"dist/**/*",
|
|
31
|
+
"dist_*/**/*",
|
|
32
|
+
"dist_ts_web/**/*",
|
|
33
|
+
"assets/**/*",
|
|
34
|
+
"html/**/*",
|
|
35
|
+
"license",
|
|
36
|
+
"readme.md",
|
|
37
|
+
"changelog.md"
|
|
38
|
+
],
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+ssh://git@code.foss.global:29419/idp.global/catalog.git"
|
|
42
|
+
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://code.foss.global/idp.global/catalog/issues"
|
|
45
|
+
},
|
|
46
|
+
"homepage": "https://code.foss.global/idp.global/catalog#readme",
|
|
47
|
+
"browserslist": [
|
|
48
|
+
"last 1 Chrome versions"
|
|
49
|
+
],
|
|
50
|
+
"keywords": [
|
|
51
|
+
"idp.global",
|
|
52
|
+
"catalog",
|
|
53
|
+
"web components",
|
|
54
|
+
"identity",
|
|
55
|
+
"authentication",
|
|
56
|
+
"design system"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"test": "pnpm run build",
|
|
60
|
+
"build": "tsbuild tsfolders --allowimplicitany && tsbundle",
|
|
61
|
+
"watch": "tswatch",
|
|
62
|
+
"buildDocs": "tsdoc"
|
|
63
|
+
}
|
|
64
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# @idp.global/catalog
|
|
2
|
+
|
|
3
|
+
Web component catalog for idp.global, based on the v3 product design language.
|
|
4
|
+
|
|
5
|
+
This package turns the current identity product direction into reusable custom elements for landing pages, approval surfaces, account/admin shells, mobile passport previews, and full-page product showcases.
|
|
6
|
+
|
|
7
|
+
## Issue Reporting and Security
|
|
8
|
+
|
|
9
|
+
For reporting bugs, issues, or security vulnerabilities, please visit [community.foss.global/](https://community.foss.global/). This is the central community hub for all issue reporting. Developers who sign and comply with our contribution agreement and go through identification can also get a [code.foss.global/](https://code.foss.global/) account to submit Pull Requests directly.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm add @idp.global/catalog
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Import the package once in your frontend entrypoint so the custom elements are registered.
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import '@idp.global/catalog';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then compose the elements in HTML, Lit, or any framework that can render custom elements.
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<idp-landing-hero></idp-landing-hero>
|
|
29
|
+
<idp-approval-card app-name="GitHub" request-text="Sign in to github.com"></idp-approval-card>
|
|
30
|
+
<idp-mobile-showcase></idp-mobile-showcase>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The package also exports the TypeScript types for the interactive elements and admin shell events, so applications can strongly type `idp-submit`, `idp-select`, and account-management handlers.
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import type {
|
|
37
|
+
IIdpFormSubmitEventDetail,
|
|
38
|
+
IIdpSelectOption,
|
|
39
|
+
IIdpAdminNavigateEventDetail,
|
|
40
|
+
} from '@idp.global/catalog';
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Element Surface
|
|
44
|
+
|
|
45
|
+
| Element | Purpose |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| `idp-button` | Product button variants |
|
|
48
|
+
| `idp-badge` | Small status labels and pills |
|
|
49
|
+
| `idp-card` | Bordered content containers |
|
|
50
|
+
| `idp-input` | Text, password, and email inputs |
|
|
51
|
+
| `idp-checkbox` | Required consent and boolean inputs |
|
|
52
|
+
| `idp-form` | Form composition with validation, status, and `idp-submit` events |
|
|
53
|
+
| `idp-form-submit` | Full-width catalog submit action for `idp-form` |
|
|
54
|
+
| `idp-select` | Select/dropdown controls with `idp-select` events |
|
|
55
|
+
| `idp-toggle` | Compact boolean controls |
|
|
56
|
+
| `idp-icon` | Bundled monochrome identity icons |
|
|
57
|
+
| `idp-approval-card` | Approve/deny identity request cards |
|
|
58
|
+
| `idp-inbox-preview` | Mobile approval inbox previews |
|
|
59
|
+
| `idp-mobile-frame` | iOS-style product screenshots |
|
|
60
|
+
| `idp-dashboard-window` | Desktop dashboard preview window |
|
|
61
|
+
| `idp-admin-shell` | Account and organization admin layout preview |
|
|
62
|
+
| `idp-landing-hero` | Public landing hero section |
|
|
63
|
+
| `idp-landing-page` | Full public landing page composition |
|
|
64
|
+
| `idp-mobile-showcase` | Mobile, watch, tablet, and desktop showcase composition |
|
|
65
|
+
|
|
66
|
+
## Design Language
|
|
67
|
+
|
|
68
|
+
The catalog uses shared tokens from `ts_web/elements/tokens.ts` for color, type, spacing, borders, and product chrome. The visual system is intentionally product-facing: dark identity surfaces, sharp admin panels, mobile passport cards, and high-contrast approval states.
|
|
69
|
+
|
|
70
|
+
## Scope
|
|
71
|
+
|
|
72
|
+
This package is component-only. It does not perform authentication, store sessions, call the idp.global backend, or implement business logic. Use it together with `@idp.global/sdk/browser` and `@idp.global/interfaces` when you need live identity behavior.
|
|
73
|
+
|
|
74
|
+
## Development
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
pnpm install
|
|
78
|
+
pnpm run build
|
|
79
|
+
pnpm test
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The source entrypoint is `ts_web/index.ts`; it exports the element catalog from `ts_web/elements/index.ts`.
|
|
83
|
+
|
|
84
|
+
## License and Legal Information
|
|
85
|
+
|
|
86
|
+
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license) file.
|
|
87
|
+
|
|
88
|
+
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
|
|
89
|
+
|
|
90
|
+
### Trademarks
|
|
91
|
+
|
|
92
|
+
This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.
|
|
93
|
+
|
|
94
|
+
Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.
|
|
95
|
+
|
|
96
|
+
### Company Information
|
|
97
|
+
|
|
98
|
+
Task Venture Capital GmbH
|
|
99
|
+
Registered at District Court Bremen HRB 35230 HB, Germany
|
|
100
|
+
|
|
101
|
+
For any legal inquiries or further information, please contact us via email at hello@task.vc.
|
|
102
|
+
|
|
103
|
+
By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.
|