@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.
Files changed (45) hide show
  1. package/components/cms/phi-cms-area-access-guard.js +9 -1
  2. package/components/cms/phi-cms-area-render-scope.d.ts +8 -4
  3. package/components/cms/phi-cms-area-render-scope.js +26 -11
  4. package/components/cms/phi-cms-root-layout.js +4 -2
  5. package/components/forms/auth-admin-settings-labels.d.ts +35 -0
  6. package/components/forms/auth-admin-settings-labels.js +27 -0
  7. package/components/layouts/clients/phi-flex-layout-client.js +7 -1
  8. package/components/runtime/runtime-controller-server-host.js +20 -9
  9. package/components/shell/phi-antd-icon.d.ts +3 -0
  10. package/components/shell/phi-antd-icon.js +9 -0
  11. package/components/tables/phi-plain-table.d.ts +4 -0
  12. package/components/tables/phi-plain-table.js +1 -1
  13. package/components/widgets/shared/markdown-body-client.d.ts +7 -0
  14. package/components/widgets/shared/markdown-body-client.js +2 -0
  15. package/components/widgets/shared/markdown-render.js +48 -1
  16. package/controls.d.ts +2 -0
  17. package/controls.js +3 -0
  18. package/package.json +2 -2
  19. package/plugins/runtime-modules/auth/data-providers.d.ts +5 -0
  20. package/plugins/runtime-modules/auth/data-providers.js +3 -0
  21. package/plugins/runtime-modules/auth/definition.d.ts +5 -0
  22. package/plugins/runtime-modules/auth/services/installations-table.js +3 -1
  23. package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +24 -9
  24. package/plugins/runtime-modules/auth/widgets/security/client.js +5 -1
  25. package/plugins/runtime-modules/builder/render-root-node-scaffold.js +0 -1
  26. package/plugins/runtime-modules/client-authoring-module.js +18 -1
  27. package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +1 -1
  28. package/plugins/runtime-modules/core/widgets/result/config.d.ts +3 -0
  29. package/plugins/runtime-modules/core/widgets/result/config.js +15 -10
  30. package/plugins/runtime-modules/core/widgets/result/server.js +1 -1
  31. package/plugins/runtime-modules/core/widgets/table/client.js +1 -1
  32. package/plugins/runtime-modules/core/widgets/tree/client.js +1 -1
  33. package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +4 -109
  34. package/plugins/runtime-modules/preset-contracts/pub-area.d.ts +2 -2
  35. package/plugins/runtime-modules/preset-contracts/pub-area.js +0 -4
  36. package/plugins/runtime-modules/pub-area-preset.js +0 -20
  37. package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +5 -5
  38. package/plugins/runtime-modules/threads/trees/phi-default-threads-page-tree.js +8 -6
  39. package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +1 -1
  40. package/server-helpers/cms-root.js +21 -13
  41. package/server-helpers/runtime.js +0 -1
  42. package/styles/controls.css +11 -0
  43. package/styles/shell.css +11 -1
  44. package/types/site-config.d.ts +0 -4
  45. 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%;
@@ -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;