@things-factory/shell 7.0.1-alpha.29 → 7.0.1-alpha.34
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/client/route.js +11 -0
- package/client/themes/app-theme.css +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/client/elements/index.js +0 -3
- package/client/elements/oops-note.js +0 -49
- package/client/elements/oops-progress.js +0 -81
- package/client/elements/oops-spinner.js +0 -31
package/client/route.js
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This is the place where the PageElement matching from the contextPath is finally searched.
|
3
|
+
* If it has reached here, it means that the PageElement matching the path has not been found, so it returns the page name 'page404'.
|
4
|
+
* This page displays the Page404 Element implementing the tag name 'page-404'.
|
5
|
+
* Naturally, the mapping implementation for the 'page404' page can be overridden in the parent module.
|
6
|
+
*
|
7
|
+
* 여기는 contextPath로부터 매칭되는 PageElement를 과정에서 맨 마직막에 뒤져지는 곳이다.
|
8
|
+
* 여기까지 들어왔다면, path에 매핑되는 PageElement를 찾지 못한 것이므로, 페이지 이름 'page404' 를 리턴한다.
|
9
|
+
* 이 페이지는 태그네임 'page-404'를 구현한 Page404 Element를 보여주게 된다.
|
10
|
+
* 당연히 상위 모듈에서 'page404' 페이지에 대한 매핑 구현을 오버라이드 할 수 있다.
|
11
|
+
*/
|
1
12
|
export default function route(page) {
|
2
13
|
import('@operato/shell/page-404.js')
|
3
14
|
return 'page404'
|
@@ -147,7 +147,7 @@ body {
|
|
147
147
|
--label-color: var(--secondary-color);
|
148
148
|
--label-text-transform: capitalize;
|
149
149
|
--input-margin: var(--margin-narrow) 0;
|
150
|
-
--input-padding:
|
150
|
+
--input-padding: 6px 2px;
|
151
151
|
--input-min-width: 200px;
|
152
152
|
--input-font: normal var(--fontsize-default) var(--theme-font);
|
153
153
|
--input-hint-font: normal var(--fontsize-small) var(--theme-font);
|