@owlmeans/mui-panel 0.1.18-rc.26 → 0.1.18-rc.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,7 @@ MUI + React Router base for OwlMeans web apps — `makeContext`, panel/form comp
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- bun add @owlmeans/mui-panel
17
+ bun add @owlmeans/mui-panel@^0.1.18-rc.26
18
18
  ```
19
19
 
20
20
  ## Usage
@@ -96,3 +96,19 @@ Plus full re-export of [`@owlmeans/client-panel`](../client-panel).
96
96
  - [`@owlmeans/client-panel`](../client-panel) — cross-platform form/panel primitives re-exported here
97
97
  - [`@owlmeans/web-flow`](../web-flow) — flow service registered by `makeContext`
98
98
  - [`@owlmeans/mui-oidc-rp`](../mui-oidc-rp) — typically chained on top of this `makeContext`
99
+
100
+ <!-- owlmeans:agent-guidance:start -->
101
+ ## Agent guidance
102
+
103
+ This package ships embedded agent skills under `agent-meta/`. After installing your
104
+ `@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
105
+ your project's skill store (`.agents/skills/`):
106
+
107
+ ```sh
108
+ npx @owlmeans/agent-skills@^0.1.18-rc.13
109
+ ```
110
+
111
+ The embedded files are version-matched to this package release. Do not edit them
112
+ directly — they are regenerated on each publish. To contribute guidance edits,
113
+ open a PR against the source monorepo.
114
+ <!-- owlmeans:agent-guidance:end -->
@@ -0,0 +1,16 @@
1
+ {
2
+ "schemaVersion": 2,
3
+ "package": "@owlmeans/mui-panel",
4
+ "version": "0.1.18-rc.28",
5
+ "generatedAt": "2026-09-10T18:54:42.507Z",
6
+ "canonicalRepo": "https://github.com/owlmeans/common",
7
+ "entries": [
8
+ {
9
+ "kind": "skill",
10
+ "name": "mui-panel",
11
+ "category": "package-specific",
12
+ "file": "skills/mui-panel/SKILL.md",
13
+ "canonicalPath": ".agents/skills/mui-panel/SKILL.md"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,157 @@
1
+ ---
2
+ name: mui-panel
3
+ description: "How to use @owlmeans/mui-panel — the LEGACY MUI v7 browser layer: makeContext, the render() entry point with the MUI ThemeProvider, the Block/Text/Link/Status/Form components and the auth-only subpaths. Superseded by @owlmeans/web-panel for new work. Auto-invoked when maintaining an app that already imports mui-panel or deciding how to migrate one off it."
4
+ user-invocable: false
5
+ ---
6
+ <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
7
+
8
+ # @owlmeans/mui-panel
9
+
10
+ **Layer:** Web (React)
11
+ **Install:** `"@owlmeans/mui-panel": "^0.1.18-rc.28"` in `dependencies`
12
+
13
+ ## This is the legacy UI layer
14
+
15
+ **`@owlmeans/web-panel` is the current browser panel family — shadcn/Radix over Tailwind — and
16
+ every new application uses it.** This package is the MUI v7 predecessor, kept for the applications
17
+ that already run on it. Do not start a new app here, do not add a screen family here, and do not
18
+ port a shadcn component back into it.
19
+
20
+ What that means in practice:
21
+
22
+ | Concern | Legacy (this package) | Current |
23
+ |---|---|---|
24
+ | Context factory | `makeContext` here | `makeContext` in `@owlmeans/web-panel` |
25
+ | Rendering | `render(context, theme?, opts?)` — MUI `ThemeProvider` + `CssBaseline` | `render(context, opts?)` in `@owlmeans/web-panel` — mounts `PanelApp`, which carries the i18n context |
26
+ | Layout / navigation | `Layout` — a bare `Box`; navigation is the app's own | `NavLayout` / `TopNav` / `SideNav` / `Footer` |
27
+ | Theme | an MUI `Theme` object passed to `render` | CSS tokens and the `.dark` class |
28
+ | OIDC sign-in | `@owlmeans/mui-oidc-rp` | `@owlmeans/web-oidc-rp`, or `@owlmeans/client-iam` for one-call wiring |
29
+ | Styling props | `styles?: SxProps` on `Block`, `Text`, `Link` and `Form` only | `className` / `style` merged through `cn` |
30
+
31
+ Both families sit on the same `@owlmeans/client-panel` primitives and the same entrypoint model, so
32
+ a migration is component-by-component rather than a rewrite: the context factory, the entrypoint
33
+ declarations and the form model all survive it.
34
+
35
+ ## Key Exports
36
+
37
+ | Export | Description |
38
+ |--------|-------------|
39
+ | `makeContext<C, T>(cfg)` | The browser context: registers `apiConfigMiddleware`, appends the flow service, and adds the `context.flow()` accessor |
40
+ | `useContext<C, T>()` | The current context, from React |
41
+ | `render(context, theme?, opts?)` | Mounts the tree inside `PanelApp` — MUI `ThemeProvider`, `CssBaseline` and the i18n context, with the browser language detector installed |
42
+ | `PanelApp` | That wrapper on its own, for a host that mounts the tree itself |
43
+ | `entrypoints` | The base declaration list — `@owlmeans/web-client`'s plus `@owlmeans/api-config-client`'s |
44
+ | `Block` | A `Card` panel with optional `Actions`, carrying a `PanelContext` for i18n |
45
+ | `Text` / `Link` | `Typography` and an anchor whose `href` is the entrypoint's own `url()` answer |
46
+ | `Status` | An `Alert` that resolves a `ResilientError` to a translated message |
47
+ | `Form` | `react-hook-form` + AJV (`ajvResolver`, `coerceTypes`, `ajv-formats`) over a `Grid`; `decorate` adds the `Card`, the root-error `Status` and the submit action — see the gotcha below |
48
+ | `TextInput` | The `TextField` field control. `label` / `placeholder` / `hint` are resolved from the form namespace **only when passed boolean `true`** — see the gotcha below |
49
+ | `Button` / `SubmitButton` | Buttons with the loader spinner and the three-tier label lookup |
50
+ | `ButtonSelector` | A `ButtonGroup` acting as a single-choice control |
51
+ | `ImageUploader` | `@owlmeans/web-client`'s uploader in a `Paper` drop target with a preview |
52
+ | `Layout` | A bare `Box` — this family ships no navigation shell |
53
+ | `scalingToStyles(h, v, theme)` | `BlockScaling` → `SxProps`, the sizing every panel here shares |
54
+ | `useBreakPoint()` | The current MUI breakpoint name — `xs`/`sm`/`md`/`lg`/`xl`, or `unknown` when none matches |
55
+ | `useMapBreakpoint(map, def?, breakpoint?)` | The `map` entry for the current breakpoint (or for the `breakpoint` passed), falling back to `def`. It **throws a `SyntaxError`** when neither yields a value, so give it a `def` or cover every breakpoint |
56
+ | Re-exports | `entrypoint`, `elevate`, `handler`, `route`, `croute`, `frontend`, `provideRequest`, `stab`, `guard`, `useNavigate`, `useEntrypoint`, `useValue`, `config`, `service`, `addWebService`, `DAUTH_GUARD` / `setupExternalAuthentication`, `useI18n` / `useI18nApp` / `useI18nLib` / `useLanguage` / `composePrefix`, `addI18nApp` / `addI18nLib` / `SUPPORTED_LNGS`, `flow` / `configureFlows` / `useFlow` / `FLOW_PARAM` / `SERVICE_PARAM`, `Dispatcher`, `appendWebAuthService`, `HOME` / `ROOT` / `BASE` / `GUEST` / `AppType`, `DISPATCHER`, `CAUTHEN_FLOW_ENTER`, and the types `AuthToken` and `Module` (`ClientEntrypoint` under its legacy name — what applications type their entrypoints with) |
57
+ | Re-export of `@owlmeans/client-panel` | The whole cross-platform panel surface — `ClientForm`, `PanelContext`, `usePanelI18n`, `useFormRef`, `BlockScaling`, … |
58
+
59
+ ## Subpath Exports
60
+
61
+ - `./auth` — a **separate, smaller** context factory for an auth-only surface: it builds a client
62
+ context directly (`extractPrimaryHost`, `appendWebDbService`, `appendWebRouter`,
63
+ `apiConfigMiddleware`, `appendFlowService`) instead of the full web-client one, plus its own
64
+ re-export set and the authentication UI plugins.
65
+ - `./auth/entrypoints` — the auth-manager declarations plus the API-config ones.
66
+
67
+ Importing `./auth` registers the authentication renderers by side effect:
68
+ `AuthenticationType.BasicEd25519`, `ReCaptcha` and `WalletConsumer` get their MUI renderers pushed
69
+ into the shared plugin registry of `@owlmeans/client-auth/manager`. That registry is a module
70
+ singleton, so **importing both this package's plugins and another family's replaces the renderers
71
+ rather than combining them** — one UI family per bundle.
72
+
73
+ ## Wiring
74
+
75
+ ```typescript
76
+ import { makeContext as makeBasicContext } from '@owlmeans/mui-panel'
77
+ import { appendOidcGuard } from '@owlmeans/mui-oidc-rp'
78
+
79
+ export const makeContext = <C extends Config, T extends Context<C>>(cfg: C): T => {
80
+ const context = makeBasicContext<C, T>(cfg) as T
81
+ appendOidcGuard<C, T>(context)
82
+ return context
83
+ }
84
+ ```
85
+
86
+ **A context is created once per process, by one factory.** An app factory calls the factory of the
87
+ layer below it, applies idempotent `append*(context)` mixins, and returns that same context.
88
+ Nothing is stored for re-creation, and every service, resource and entrypoint binds to exactly the
89
+ one context it was appended to.
90
+
91
+ Compose the entrypoints over the base set, then render with the app's theme:
92
+
93
+ ```typescript
94
+ import { entrypoints as baseEntrypoints, render } from '@owlmeans/mui-panel'
95
+
96
+ export const entrypoints = [...baseEntrypoints, ...appEntrypoints]
97
+
98
+ render(context, theme)
99
+ ```
100
+
101
+ `render` builds a default MUI theme when none is passed, so an app with no branding still gets a
102
+ consistent surface. `PanelApp` memoises the theme on identity — hand it a stable object, not a
103
+ `createTheme(...)` call inside the render body, or every render rebuilds the whole theme.
104
+
105
+ ## Gotchas
106
+
107
+ - **MUI is a peer, not a dependency.** `@mui/material`, `@mui/icons-material`, `@emotion/react`,
108
+ `@emotion/styled`, `react`, `react-dom`, `react-hook-form` and `ajv` are all supplied by the app,
109
+ at v7 for the MUI packages. A second copy of `@mui/material` in the tree gives two theme contexts
110
+ and components that read the wrong one.
111
+ - **`Link` takes the screen on a prop named `module`, not `entrypoint`.** `LinkProps` declares
112
+ `module?: string | ClientEntrypoint` — the legacy name, kept while the prose and the rest of the
113
+ tree say entrypoint. There is no `entrypoint` prop, and a `Link` given none renders an anchor with
114
+ no `href`. Its default label key is `modules.<alias>`, from the same legacy family.
115
+ - **`Link` resolves its `href` asynchronously.** It asks the entrypoint for its own URL, so the
116
+ anchor has no `href` for the first paint and settles once the URL is known — never key a test or
117
+ a layout on the attribute being present synchronously. Address a screen by alias; `src` is the
118
+ escape hatch for a literal URL, and `open` opens a new tab.
119
+ - **`TextInput` resolves copy from a boolean, and DISCARDS a string.** `label`, `placeholder` and
120
+ `hint` are typed `string | boolean`, but only `true` does anything: it looks up `<name>.label` /
121
+ `<name>.placeholder` / `<name>.hint` in the form namespace. Any other value — a literal string
122
+ included — is replaced with `undefined`. So `<TextInput label="Email" />` compiles and renders no
123
+ label at all. Put the wording in the form's translation bundle and pass `label`.
124
+ (`@owlmeans/web-panel`'s `TextInput` honours a string; do not carry the habit either way.)
125
+ - **`Form` renders a bare `Grid` unless `decorate` is set.** With `decorate={true}` it wraps the
126
+ fields in a `Card`, surfaces the root error through `Status`, and renders a `SubmitButton` in
127
+ `CardActions` when `onSubmit` is given. Without it there is no card, no root-error surface and no
128
+ submit button — the caller renders its own action. `styles` is applied only on the decorated
129
+ `Card`; the scaling from `horizontal`/`vertical` lands on the `Grid` otherwise.
130
+ - **`Form` validates through AJV, and the schema is the source of the defaults.** Given
131
+ `validation` and no `defaults`, the initial values come from `schemaToFormDefault`. Its AJV
132
+ instance coerces types, so a numeric field arrives as a number rather than the input's string.
133
+ - **Label lookup in `Button` is three-tier** — panel namespace, then the app namespace's `buttons`
134
+ section, then `client-panel`'s. Pass `i18n: { suppress: true }` to render a literal label instead.
135
+ - **`Status` rewrites `:` to `.` in an error message** before looking it up, so a marshalled
136
+ `ResilientError` resolves as `<type>.<message>` in the translation tree. A key written with a
137
+ colon never matches.
138
+ - This family has **no navigation shell**. `Layout` is a `Box`; a menu, header and footer are the
139
+ app's own MUI code. That is the largest single gap against `@owlmeans/web-panel`, and the reason
140
+ a migration usually starts by adopting `NavLayout`.
141
+
142
+ ## Depends On
143
+
144
+ - `@owlmeans/web-client`, `@owlmeans/client-panel`, `@owlmeans/client-i18n`, `@owlmeans/web-router`,
145
+ `@owlmeans/web-flow`, `@owlmeans/web-db`, `@owlmeans/client-auth`, `@owlmeans/api-config-client`
146
+ - Peers (app-provided): `@mui/material` v7, `@mui/icons-material` v7, `@emotion/react`,
147
+ `@emotion/styled`, `react`, `react-dom`, `react-hook-form`, `ajv`
148
+ - `ajv-formats` is imported at module scope by `Form` but is declared in no dependency section of
149
+ the manifest, which lists `ajv` alone. An install that does not otherwise pull it in fails at
150
+ import time, so declare `ajv-formats` next to `ajv` in the consuming application.
151
+
152
+ ## Related
153
+
154
+ - `web-panel` — **the current panel family**; read it for anything new
155
+ - `mui-oidc-rp` — the OIDC relying party of this same legacy family
156
+ - `client-panel` — the cross-platform primitives both families are written against
157
+ - `shadcn-web` — how the current family is built, and the MUI→shadcn component mapping
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/auth/context.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,IAAI,MAAM,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACtF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAIlD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,CAY5E,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,OAAK,CAC9E,CAAA"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/auth/context.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,IAAI,MAAM,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACtF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAIlD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAG,CAY5E,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,OAAK,CAC9E,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const entrypoints: any[];
1
+ export declare const entrypoints: import("@owlmeans/entrypoint").CommonEntrypoint[];
2
2
  //# sourceMappingURL=entrypoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,OAAuB,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,mDAAuB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/form/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,IAAI,MAAM,oBAAoB,CAAA;AACrC,OAAO,IAAI,MAAM,oBAAoB,CAAA;AACrC,OAAO,WAAW,MAAM,2BAA2B,CAAA;AACnD,OAAO,WAAW,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAEzE,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,aAAa,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAGrC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAA;AAC1C,aAAa,CAAC,GAAG,CAAC,CAAA;AAElB,MAAM,CAAC,MAAM,IAAI,GAAqB,CAAC,KAAK,EAAE,EAAE;IAC9C,M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AE,IAAI,EAAE,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAI,IACzE,EACb,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,YACrG,KAAC,YAAY,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAC,IAAI,EAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,GAAI,GACpE,CAAC,CAAC,CAAC,SAAS,IACrB,GACK,GACD,CAAA;IACjB,CAAC;IAED,OAAO,KAAC,YAAY,OAAK,IAAI,YAC3B,KAAC,WAAW,OAAK,KAAK,EAAE,MAAM,EAAE,MAAM,YAAG,OAAO,EAAE,GAAe,GACpD,CAAA;AACjB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAErD,eAAO,MAAM,eAAe,GAC1B,aAAa,YAAY,EACzB,WAAW,YAAY,EACvB,QAAQ,KAAK,KACZ,OAuCF,CAAA;AAED,eAAO,MAAM,aAAa,cAiBzB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAE,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,aAAa,MAAM,KAAG,CAS1F,CAAA"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAErD,eAAO,MAAM,eAAe,gBACb,YAAY,aACd,YAAY,UACf,KAAK,KACZ,OAuCF,CAAA;AAED,eAAO,MAAM,aAAa,cAiBzB,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,CAAC,OAAO,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,eAAe,MAAM,KAAG,CAS1F,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAG,UAAU,EAAE,MAAM,YAAY,CAAA;AAIxD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,CASlF,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EAAC,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,QACnF,CAAA"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAG,UAAU,EAAE,MAAM,YAAY,CAAA;AAIxD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,KAAG,CASlF,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,SAAS,GAAG,SAAS,EAAC,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,QACnF,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const entrypoints: any[];
1
+ export declare const entrypoints: import("@owlmeans/entrypoint").CommonEntrypoint[];
2
2
  //# sourceMappingURL=entrypoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,OAAuB,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,mDAAuB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,sBAAsB,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAM3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,aAAa,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,QAAQ,KAAK,EAAE,OAAO,aAAa,SAEzH,CAAA"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,sBAAsB,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAM3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAEjD,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,KAAK,SAAS,aAAa,SAEzH,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/mui-panel",
3
- "version": "0.1.18-rc.26",
3
+ "version": "0.1.18-rc.28",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -37,30 +37,30 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@hookform/resolvers": "^5.2.2",
40
- "@owlmeans/api-config-client": "^0.1.18-rc.12",
41
- "@owlmeans/auth": "^0.1.18-rc.8",
42
- "@owlmeans/auth-common": "^0.1.18-rc.12",
43
- "@owlmeans/basic-envelope": "^0.1.18-rc.11",
44
- "@owlmeans/client": "^0.1.18-rc.15",
45
- "@owlmeans/client-auth": "^0.1.18-rc.19",
46
- "@owlmeans/client-config": "^0.1.18-rc.11",
47
- "@owlmeans/client-context": "^0.1.18-rc.12",
48
- "@owlmeans/client-flow": "^0.1.18-rc.16",
49
- "@owlmeans/client-i18n": "^0.1.18-rc.14",
50
- "@owlmeans/client-entrypoint": "^0.1.18-rc.12",
51
- "@owlmeans/client-panel": "^0.1.18-rc.22",
52
- "@owlmeans/client-route": "^0.1.18-rc.12",
53
- "@owlmeans/config": "^0.1.18-rc.11",
54
- "@owlmeans/context": "^0.1.18-rc.7",
55
- "@owlmeans/error": "^0.1.18-rc.7",
56
- "@owlmeans/flow": "^0.1.18-rc.13",
57
- "@owlmeans/i18n": "^0.1.18-rc.7",
58
- "@owlmeans/entrypoint": "^0.1.18-rc.10",
59
- "@owlmeans/route": "^0.1.18-rc.8",
60
- "@owlmeans/web-client": "^0.1.18-rc.23",
61
- "@owlmeans/web-db": "^0.1.18-rc.13",
62
- "@owlmeans/web-flow": "^0.1.18-rc.16",
63
- "@owlmeans/web-router": "^0.1.18-rc.13",
40
+ "@owlmeans/api-config-client": "^0.1.18-rc.14",
41
+ "@owlmeans/auth": "^0.1.18-rc.10",
42
+ "@owlmeans/auth-common": "^0.1.18-rc.14",
43
+ "@owlmeans/basic-envelope": "^0.1.18-rc.13",
44
+ "@owlmeans/client": "^0.1.18-rc.17",
45
+ "@owlmeans/client-auth": "^0.1.18-rc.21",
46
+ "@owlmeans/client-config": "^0.1.18-rc.13",
47
+ "@owlmeans/client-context": "^0.1.18-rc.14",
48
+ "@owlmeans/client-flow": "^0.1.18-rc.18",
49
+ "@owlmeans/client-i18n": "^0.1.18-rc.16",
50
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.14",
51
+ "@owlmeans/client-panel": "^0.1.18-rc.24",
52
+ "@owlmeans/client-route": "^0.1.18-rc.14",
53
+ "@owlmeans/config": "^0.1.18-rc.13",
54
+ "@owlmeans/context": "^0.1.18-rc.9",
55
+ "@owlmeans/error": "^0.1.18-rc.9",
56
+ "@owlmeans/flow": "^0.1.18-rc.15",
57
+ "@owlmeans/i18n": "^0.1.18-rc.9",
58
+ "@owlmeans/entrypoint": "^0.1.18-rc.12",
59
+ "@owlmeans/route": "^0.1.18-rc.10",
60
+ "@owlmeans/web-client": "^0.1.18-rc.25",
61
+ "@owlmeans/web-db": "^0.1.18-rc.15",
62
+ "@owlmeans/web-flow": "^0.1.18-rc.18",
63
+ "@owlmeans/web-router": "^0.1.18-rc.15",
64
64
  "i18next-browser-languagedetector": "^8.0.0",
65
65
  "qrcode.react": "^4.2.0",
66
66
  "react-google-recaptcha": "^3.1.0"
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "devDependencies": {
79
79
  "@owlmeans/dep-config": "workspace:*",
80
- "@owlmeans/test-ui": "^0.1.18-rc.14",
80
+ "@owlmeans/test-ui": "^0.1.18-rc.16",
81
81
  "@emotion/react": "^11.14.0",
82
82
  "@emotion/styled": "^11.14.0",
83
83
  "@mui/icons-material": "^7.3.2",