@pageboard/html 0.11.21 → 0.11.23

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/elements/form.js CHANGED
@@ -168,7 +168,7 @@ exports.api_form = {
168
168
  tag: 'form[method="post"]',
169
169
  html: `<form is="element-form" method="post" name="[name]"
170
170
  action="/.api/form/[$id]"
171
- parameters="[$expr.action.parameters|ornull|templates:$query:$item]"
171
+ parameters="[$expr.action.parameters|ornull|templates:$query]"
172
172
  success="[redirection|urltpl:url:parameters]"
173
173
  badrequest="[badrequest|urltpl:url:parameters]"
174
174
  unauthorized="[unauthorized|urltpl:url:parameters]"
@@ -10,7 +10,8 @@ exports.input_date_time = {
10
10
  title: "Name",
11
11
  description: "The form object key",
12
12
  type: "string",
13
- format: "singleline"
13
+ format: "singleline",
14
+ $helper: 'element-property'
14
15
  },
15
16
  value: {
16
17
  title: "Default value",
@@ -105,13 +106,15 @@ exports.input_date_slot = {
105
106
  title: "Name for start date",
106
107
  description: "The form object key",
107
108
  type: "string",
108
- format: "singleline"
109
+ format: "singleline",
110
+ $helper: 'element-property'
109
111
  },
110
112
  nameEnd: {
111
113
  title: "Name for end date",
112
114
  description: "The form object key",
113
115
  type: "string",
114
- format: "singleline"
116
+ format: "singleline",
117
+ $helper: 'element-property'
115
118
  },
116
119
  valueStart: {
117
120
  title: 'Start time',
@@ -10,7 +10,8 @@ exports.input_file = {
10
10
  title: "Name",
11
11
  description: "The form object key",
12
12
  type: "string",
13
- format: "singleline"
13
+ format: "singleline",
14
+ $helper: 'element-property'
14
15
  },
15
16
  placeholder: {
16
17
  title: "Placeholder",
@@ -150,9 +150,6 @@ exports.heading = {
150
150
  stylesheets: [
151
151
  '../ui/heading.css'
152
152
  ],
153
- scripts: [
154
- '../ui/heading.js'
155
- ],
156
153
  resources: {
157
154
  helper: '../ui/heading-helper.js'
158
155
  },
package/package.json CHANGED
@@ -1,13 +1,8 @@
1
1
  {
2
2
  "name": "@pageboard/html",
3
- "version": "0.11.21",
3
+ "version": "0.11.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "postinstall": "postinstall",
9
- "prepare": "postinstall"
10
- },
11
6
  "repository": {
12
7
  "type": "git",
13
8
  "url": "git+https://github.com/pageboard/client.git"
@@ -48,5 +43,9 @@
48
43
  "elements": [
49
44
  "elements/"
50
45
  ]
46
+ },
47
+ "scripts": {
48
+ "test": "echo \"Error: no test specified\" && exit 1",
49
+ "postinstall": "postinstall"
51
50
  }
52
- }
51
+ }
package/ui/card.css CHANGED
File without changes
package/ui/item.css CHANGED
File without changes
package/ui/menu.css CHANGED
@@ -83,10 +83,6 @@
83
83
  margin: 0 !important;
84
84
  }
85
85
 
86
- .block.item {
87
-
88
- }
89
-
90
86
  /* menu_group */
91
87
  element-menu {
92
88
  flex-shrink: 1;
package/ui/rating.css CHANGED
File without changes
package/ui/heading.js DELETED
@@ -1,9 +0,0 @@
1
- Page.patch(state => {
2
- state.finish(() => {
3
- const heading = document.body.querySelector('element-template > .view h1');
4
- if (!heading) return;
5
- const title = document.head.querySelector('title');
6
- if (!title) return;
7
- title.textContent = heading.textContent.trim() + ' - ' + title.textContent;
8
- });
9
- });