@phis/ui 0.4.10 → 0.4.12
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/components/cms/phi-cms-area-access-guard.js +9 -1
- package/components/cms/phi-cms-area-render-scope.d.ts +8 -4
- package/components/cms/phi-cms-area-render-scope.js +26 -11
- package/components/cms/phi-cms-root-layout.js +4 -2
- package/components/forms/auth-admin-settings-labels.d.ts +35 -0
- package/components/forms/auth-admin-settings-labels.js +27 -0
- package/components/layouts/clients/phi-flex-layout-client.js +7 -1
- package/components/runtime/runtime-controller-server-host.js +20 -9
- package/components/shell/phi-antd-icon.d.ts +3 -0
- package/components/shell/phi-antd-icon.js +9 -0
- package/components/tables/phi-plain-table.d.ts +4 -0
- package/components/tables/phi-plain-table.js +1 -1
- package/components/widgets/shared/markdown-body-client.d.ts +7 -0
- package/components/widgets/shared/markdown-body-client.js +2 -0
- package/components/widgets/shared/markdown-render.js +48 -1
- package/controls.d.ts +2 -0
- package/controls.js +3 -0
- package/package.json +2 -2
- package/plugins/runtime-modules/auth/data-providers.d.ts +5 -0
- package/plugins/runtime-modules/auth/data-providers.js +3 -0
- package/plugins/runtime-modules/auth/definition.d.ts +5 -0
- package/plugins/runtime-modules/auth/services/installations-table.js +3 -1
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +24 -9
- package/plugins/runtime-modules/auth/widgets/security/client.js +5 -1
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +0 -1
- package/plugins/runtime-modules/client-authoring-module.js +18 -1
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +1 -1
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/result/config.js +15 -10
- package/plugins/runtime-modules/core/widgets/result/server.js +1 -1
- package/plugins/runtime-modules/core/widgets/table/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/tree/client.js +1 -1
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +4 -109
- package/plugins/runtime-modules/preset-contracts/pub-area.d.ts +2 -2
- package/plugins/runtime-modules/preset-contracts/pub-area.js +0 -4
- package/plugins/runtime-modules/pub-area-preset.js +0 -20
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +5 -5
- package/plugins/runtime-modules/threads/trees/phi-default-threads-page-tree.js +8 -6
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +1 -1
- package/server-helpers/cms-root.js +21 -13
- package/server-helpers/runtime.js +0 -1
- package/styles/controls.css +11 -0
- package/styles/shell.css +11 -1
- package/types/site-config.d.ts +0 -4
- package/types/widget-runtime.d.ts +0 -3
package/styles/shell.css
CHANGED
|
@@ -626,8 +626,14 @@
|
|
|
626
626
|
* and stands at the inline start, off screen, until `PhiShellSiderDrawer` marks the Shell open. The
|
|
627
627
|
* `!important`s win over the Region's inline geometry, which is the column's. Fixed inside the Shell
|
|
628
628
|
* means fixed to the Shell, a container: `--phi-shell-sider-drawer-top` moves it to the viewport's top.
|
|
629
|
+
*
|
|
630
|
+
* The button is portalled into `header_main`, and a Region's children are `display: flex` by a rule of
|
|
631
|
+
* two classes (`.shell-sider-full .phi-shell-region > *`). One class lost to it: the button stood under
|
|
632
|
+
* the brand on every width. Both display rules for the button are therefore stated through the Region
|
|
633
|
+
* as well, three classes, so the width decides and not the order of the sheet.
|
|
629
634
|
* ---------------------------------------------------------------------------------------------- */
|
|
630
635
|
.phi-shell-sider-drawer-button,
|
|
636
|
+
.phi-shell-region > .phi-shell-sider-drawer-button.phi-shell-sider-drawer-button,
|
|
631
637
|
.phi-shell-sider-drawer-mask {
|
|
632
638
|
display: none;
|
|
633
639
|
}
|
|
@@ -690,8 +696,12 @@
|
|
|
690
696
|
background: var(--ant-color-bg-mask);
|
|
691
697
|
}
|
|
692
698
|
|
|
693
|
-
.phi-shell-sider-drawer-button
|
|
699
|
+
.phi-shell-sider-drawer-button,
|
|
700
|
+
.phi-shell-region > .phi-shell-sider-drawer-button.phi-shell-sider-drawer-button {
|
|
694
701
|
display: inline-flex;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.phi-shell-sider-drawer-button {
|
|
695
705
|
position: absolute;
|
|
696
706
|
inset-inline-start: var(--ant-padding-xs);
|
|
697
707
|
top: 50%;
|
package/types/site-config.d.ts
CHANGED
|
@@ -82,10 +82,6 @@ export type PhiSiteConfig = {
|
|
|
82
82
|
availableLocales: PhiSiteLocaleOption[];
|
|
83
83
|
/** What each served locale means, so a request naming one is resolved without asking Core. */
|
|
84
84
|
localeCapabilities: PhiLocaleCapability[];
|
|
85
|
-
/** Whether the Site runs a store; the server computes it for every Site, so it is never absent. */
|
|
86
|
-
store: {
|
|
87
|
-
enabled: boolean;
|
|
88
|
-
};
|
|
89
85
|
theme: PhiSiteTheme;
|
|
90
86
|
themeRevision: {
|
|
91
87
|
publishedRevisionId: number | null;
|
|
@@ -26,9 +26,6 @@ export type PhiBlockRuntimeSite = {
|
|
|
26
26
|
sourceLocale: string;
|
|
27
27
|
/** The IANA zone the Site's dates and times are shown in (`PhiSiteConfig.timeZone`). */
|
|
28
28
|
timeZone: string;
|
|
29
|
-
store: {
|
|
30
|
-
enabled: boolean;
|
|
31
|
-
};
|
|
32
29
|
themeRevision?: {
|
|
33
30
|
publishedRevisionId: number | null;
|
|
34
31
|
workingDraftRevisionId: number | null;
|