@owlmeans/mui-panel 0.1.18-rc.60 → 0.1.18-rc.61

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
@@ -11,7 +11,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
11
11
  your project's skill store (`.agents/skills/`):
12
12
 
13
13
  ```sh
14
- npx @owlmeans/agent-skills@^0.1.18-rc.46
14
+ npx @owlmeans/agent-skills@^0.1.18-rc.47
15
15
  ```
16
16
 
17
17
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/mui-panel",
4
- "version": "0.1.18-rc.60",
5
- "generatedAt": "2026-10-03T11:19:50.801Z",
4
+ "version": "0.1.18-rc.61",
5
+ "generatedAt": "2026-10-03T20:05:07.609Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/mui-panel
9
9
 
10
10
  **Layer:** Web (React)
11
- **Install:** `"@owlmeans/mui-panel": "^0.1.18-rc.60"` in `dependencies`
11
+ **Install:** `"@owlmeans/mui-panel": "^0.1.18-rc.61"` in `dependencies`
12
12
 
13
13
  ## This is the legacy UI layer
14
14
 
@@ -1,2 +1,10 @@
1
- export declare const entrypoints: import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<any>[];
1
+ export declare const entrypoints: (import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
2
+ body: import("@owlmeans/auth").AllowanceRequest;
3
+ }, import("@owlmeans/auth").AllowanceResponse>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
4
+ body: import("@owlmeans/auth").AuthCredentials;
5
+ }, import("@owlmeans/auth").AuthToken>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
6
+ query: Partial<import("@owlmeans/auth").AuthToken>;
7
+ }, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
8
+ query: import("@owlmeans/auth").AuthToken;
9
+ }, undefined>>)[];
2
10
  //# 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,uEAAuC,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/auth/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;iBAAuC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAUvD,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkBjC,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAcvC,CAAA"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAavD,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkBjC,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAcvC,CAAA"}
@@ -7,6 +7,8 @@ import { useFormContext } from 'react-hook-form';
7
7
  import { useI18nApp, useI18nLib } from '@owlmeans/client-i18n';
8
8
  import { useContext } from '@owlmeans/client';
9
9
  import { useFormI18n, usePanelI18n } from '@owlmeans/client-panel';
10
+ import { logger } from '@owlmeans/log';
11
+ const log = logger('mui-panel:form');
10
12
  export const Button = memo(({ label, onClick, i18n, loader, size, fullWidth, variant = 'contained' }) => {
11
13
  const context = useContext();
12
14
  const t = usePanelI18n(undefined, i18n);
@@ -28,6 +30,6 @@ export const SubmitButton = memo((props) => {
28
30
  label = label ?? 'submit';
29
31
  const _i18n = { ...i18n };
30
32
  _i18n.suppress = true;
31
- return _jsx(Button, { ...props, label: t(label), i18n: _i18n, onClick: handleSubmit(props.onSubmit ?? props.onClick ?? (() => { console.info('Empty submit'); }), problem => console.error('Failed to submit form with error: ', problem)) });
33
+ return _jsx(Button, { ...props, label: t(label), i18n: _i18n, onClick: handleSubmit(props.onSubmit ?? props.onClick ?? (() => { log.debug('Empty submit'); }), problem => log.debug('Form submit refused by validation', { fields: Object.keys(problem) })) });
32
34
  });
33
35
  //# sourceMappingURL=component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/components/form/button/component.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAG5B,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAC5C,OAAO,gBAAgB,MAAM,gCAAgC,CAAA;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAa,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAA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entrypoints: any[];
1
+ export declare const entrypoints: (import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
2
+ query: import("@owlmeans/auth").AuthToken;
3
+ }, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
4
+ query: import("@owlmeans/auth-common").SurrogateQuery;
5
+ }, undefined>> | import("@owlmeans/client-entrypoint").ClientProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
6
+ body: import("@owlmeans/auth").AuthToken;
7
+ }, import("@owlmeans/auth").AuthToken>>)[];
2
8
  //# 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,OAA4C,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;0CAA4C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/mui-panel",
3
- "version": "0.1.18-rc.60",
3
+ "version": "0.1.18-rc.61",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -37,30 +37,31 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@hookform/resolvers": "^5.2.2",
40
- "@owlmeans/api-config-client": "^0.1.18-rc.42",
40
+ "@owlmeans/api-config-client": "^0.1.18-rc.43",
41
41
  "@owlmeans/auth": "^0.1.18-rc.38",
42
- "@owlmeans/auth-common": "^0.1.18-rc.44",
43
- "@owlmeans/basic-envelope": "^0.1.18-rc.43",
44
- "@owlmeans/client": "^0.1.18-rc.48",
45
- "@owlmeans/client-auth": "^0.1.18-rc.55",
46
- "@owlmeans/client-config": "^0.1.18-rc.41",
47
- "@owlmeans/client-context": "^0.1.18-rc.45",
48
- "@owlmeans/client-flow": "^0.1.18-rc.51",
49
- "@owlmeans/client-i18n": "^0.1.18-rc.47",
50
- "@owlmeans/client-entrypoint": "^0.1.18-rc.44",
51
- "@owlmeans/client-panel": "^0.1.18-rc.55",
52
- "@owlmeans/client-route": "^0.1.18-rc.45",
53
- "@owlmeans/config": "^0.1.18-rc.41",
42
+ "@owlmeans/auth-common": "^0.1.18-rc.45",
43
+ "@owlmeans/basic-envelope": "^0.1.18-rc.44",
44
+ "@owlmeans/client": "^0.1.18-rc.49",
45
+ "@owlmeans/client-auth": "^0.1.18-rc.56",
46
+ "@owlmeans/client-config": "^0.1.18-rc.42",
47
+ "@owlmeans/client-context": "^0.1.18-rc.46",
48
+ "@owlmeans/client-flow": "^0.1.18-rc.52",
49
+ "@owlmeans/client-i18n": "^0.1.18-rc.48",
50
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.45",
51
+ "@owlmeans/client-panel": "^0.1.18-rc.56",
52
+ "@owlmeans/client-route": "^0.1.18-rc.46",
53
+ "@owlmeans/config": "^0.1.18-rc.42",
54
54
  "@owlmeans/context": "^0.1.18-rc.32",
55
55
  "@owlmeans/error": "^0.1.18-rc.36",
56
- "@owlmeans/flow": "^0.1.18-rc.42",
56
+ "@owlmeans/flow": "^0.1.18-rc.43",
57
57
  "@owlmeans/i18n": "^0.1.18-rc.37",
58
58
  "@owlmeans/entrypoint": "^0.1.18-rc.39",
59
+ "@owlmeans/log": "^0.1.18-rc.0",
59
60
  "@owlmeans/route": "^0.1.18-rc.33",
60
- "@owlmeans/web-client": "^0.1.18-rc.58",
61
- "@owlmeans/web-db": "^0.1.18-rc.45",
62
- "@owlmeans/web-flow": "^0.1.18-rc.50",
63
- "@owlmeans/web-router": "^0.1.18-rc.46",
61
+ "@owlmeans/web-client": "^0.1.18-rc.59",
62
+ "@owlmeans/web-db": "^0.1.18-rc.46",
63
+ "@owlmeans/web-flow": "^0.1.18-rc.51",
64
+ "@owlmeans/web-router": "^0.1.18-rc.47",
64
65
  "i18next-browser-languagedetector": "^8.0.0",
65
66
  "qrcode.react": "^4.2.0",
66
67
  "react-google-recaptcha": "^3.1.0"
@@ -77,7 +78,7 @@
77
78
  },
78
79
  "devDependencies": {
79
80
  "@owlmeans/dep-config": "workspace:*",
80
- "@owlmeans/test-ui": "^0.1.18-rc.46",
81
+ "@owlmeans/test-ui": "^0.1.18-rc.47",
81
82
  "@emotion/react": "^11.14.0",
82
83
  "@emotion/styled": "^11.14.0",
83
84
  "@mui/icons-material": "^7.3.2",
@@ -10,6 +10,9 @@ import { useFormContext } from 'react-hook-form'
10
10
  import { I18nProps, useI18nApp, useI18nLib } from '@owlmeans/client-i18n'
11
11
  import { useContext } from '@owlmeans/client'
12
12
  import { useFormI18n, usePanelI18n } from '@owlmeans/client-panel'
13
+ import { logger } from '@owlmeans/log'
14
+
15
+ const log = logger('mui-panel:form')
13
16
 
14
17
  export const Button: FC<ButtonProps> = memo(({ label, onClick, i18n, loader, size, fullWidth, variant = 'contained' }) => {
15
18
  const context = useContext()
@@ -42,7 +45,7 @@ export const SubmitButton: FC<SubmitProps> = memo((props) => {
42
45
 
43
46
  return <Button {...props} label={t(label)} i18n={_i18n}
44
47
  onClick={handleSubmit(
45
- props.onSubmit ?? props.onClick ?? (() => { console.info('Empty submit') }),
46
- problem => console.error('Failed to submit form with error: ', problem)
48
+ props.onSubmit ?? props.onClick ?? (() => { log.debug('Empty submit') }),
49
+ problem => log.debug('Form submit refused by validation', { fields: Object.keys(problem) })
47
50
  )} />
48
51
  })