@operato/property-editor 10.29.81 → 10.29.83
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/dist/stories/ox-properties-dynamic-view.stories.d.ts +60 -0
- package/dist/stories/ox-properties-dynamic-view.stories.js +535 -0
- package/dist/stories/ox-properties-editor-textarea.stories.d.ts +31 -0
- package/dist/stories/ox-properties-editor-textarea.stories.js +76 -0
- package/package.json +21 -6
- package/CHANGELOG.md +0 -6821
- package/dist/src/index.js.map +0 -1
- package/dist/src/ox-properties-dynamic-view.js.map +0 -1
- package/dist/src/ox-property-editor-3axis.js.map +0 -1
- package/dist/src/ox-property-editor-3dish.js.map +0 -1
- package/dist/src/ox-property-editor-action.js.map +0 -1
- package/dist/src/ox-property-editor-angle.js.map +0 -1
- package/dist/src/ox-property-editor-backdrop-faces.js.map +0 -1
- package/dist/src/ox-property-editor-checkbox.js.map +0 -1
- package/dist/src/ox-property-editor-color.js.map +0 -1
- package/dist/src/ox-property-editor-crontab.js.map +0 -1
- package/dist/src/ox-property-editor-data.js.map +0 -1
- package/dist/src/ox-property-editor-date.js.map +0 -1
- package/dist/src/ox-property-editor-datetime.js.map +0 -1
- package/dist/src/ox-property-editor-description.js.map +0 -1
- package/dist/src/ox-property-editor-duration.js.map +0 -1
- package/dist/src/ox-property-editor-file.js.map +0 -1
- package/dist/src/ox-property-editor-fill-style.js.map +0 -1
- package/dist/src/ox-property-editor-gradient-colorstops.js.map +0 -1
- package/dist/src/ox-property-editor-hashtags.js.map +0 -1
- package/dist/src/ox-property-editor-image.js.map +0 -1
- package/dist/src/ox-property-editor-key-values.js.map +0 -1
- package/dist/src/ox-property-editor-legend.js.map +0 -1
- package/dist/src/ox-property-editor-mass-fraction.js.map +0 -1
- package/dist/src/ox-property-editor-month.js.map +0 -1
- package/dist/src/ox-property-editor-multiple-colors.js.map +0 -1
- package/dist/src/ox-property-editor-number-map.js.map +0 -1
- package/dist/src/ox-property-editor-number.js.map +0 -1
- package/dist/src/ox-property-editor-options.js.map +0 -1
- package/dist/src/ox-property-editor-partition-keys.js.map +0 -1
- package/dist/src/ox-property-editor-password.js.map +0 -1
- package/dist/src/ox-property-editor-range.js.map +0 -1
- package/dist/src/ox-property-editor-scene-component-id.js.map +0 -1
- package/dist/src/ox-property-editor-secret.js.map +0 -1
- package/dist/src/ox-property-editor-select.js.map +0 -1
- package/dist/src/ox-property-editor-signature.js.map +0 -1
- package/dist/src/ox-property-editor-solid-colorstops.js.map +0 -1
- package/dist/src/ox-property-editor-string.js.map +0 -1
- package/dist/src/ox-property-editor-table-column-config.js.map +0 -1
- package/dist/src/ox-property-editor-table.js.map +0 -1
- package/dist/src/ox-property-editor-textarea.js.map +0 -1
- package/dist/src/ox-property-editor-time.js.map +0 -1
- package/dist/src/ox-property-editor-unit-number.js.map +0 -1
- package/dist/src/ox-property-editor-value-map.js.map +0 -1
- package/dist/src/ox-property-editor-value-ranges.js.map +0 -1
- package/dist/src/ox-property-editor-work-shift.js.map +0 -1
- package/dist/src/ox-property-editor.js.map +0 -1
- package/dist/src/types.js.map +0 -1
- package/dist/test/date-editors.test.d.ts +0 -2
- package/dist/test/date-editors.test.js +0 -45
- package/dist/test/date-editors.test.js.map +0 -1
- package/dist/test/dynamic-view-copy.test.d.ts +0 -2
- package/dist/test/dynamic-view-copy.test.js +0 -22
- package/dist/test/dynamic-view-copy.test.js.map +0 -1
- package/dist/test/number-map.test.d.ts +0 -1
- package/dist/test/number-map.test.js +0 -193
- package/dist/test/number-map.test.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/test/date-editors.test.ts +0 -50
- package/test/dynamic-view-copy.test.ts +0 -27
- package/test/number-map.test.ts +0 -218
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import '../src/ox-property-editor-textarea.js';
|
|
3
|
+
import '../src/ox-properties-dynamic-view.js';
|
|
4
|
+
import { OxPropertyEditor } from '../src/ox-property-editor.js';
|
|
5
|
+
export default {
|
|
6
|
+
title: 'TextArea',
|
|
7
|
+
component: 'ox-property-editor-textarea',
|
|
8
|
+
argTypes: {
|
|
9
|
+
title: { control: 'text' },
|
|
10
|
+
counter: { control: 'number' },
|
|
11
|
+
textColor: { control: 'color' }
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
OxPropertyEditor.register({
|
|
15
|
+
string: 'ox-property-editor-string',
|
|
16
|
+
textarea: 'ox-property-editor-textarea',
|
|
17
|
+
javascript: 'ox-property-editor-textarea'
|
|
18
|
+
});
|
|
19
|
+
const properties = [
|
|
20
|
+
{
|
|
21
|
+
type: 'string',
|
|
22
|
+
label: 'ABC',
|
|
23
|
+
name: 'ABC'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
type: 'textarea',
|
|
27
|
+
label: 'TA',
|
|
28
|
+
name: 'TA',
|
|
29
|
+
styles: {
|
|
30
|
+
flex: '1'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
const value = {
|
|
35
|
+
ABC: [4, 3, 2, 1],
|
|
36
|
+
TA: 'QWERTYUIOASDFGHJKZXCVBNM'
|
|
37
|
+
};
|
|
38
|
+
const Template = () => html `
|
|
39
|
+
<link href="/themes/app-theme.css" rel="stylesheet" />
|
|
40
|
+
|
|
41
|
+
<link
|
|
42
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
|
|
43
|
+
rel="stylesheet"
|
|
44
|
+
/>
|
|
45
|
+
<link
|
|
46
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
|
|
47
|
+
rel="stylesheet"
|
|
48
|
+
/>
|
|
49
|
+
<link
|
|
50
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
|
|
51
|
+
rel="stylesheet"
|
|
52
|
+
/>
|
|
53
|
+
|
|
54
|
+
<style>
|
|
55
|
+
#container {
|
|
56
|
+
height: 600px;
|
|
57
|
+
background-color: cyan;
|
|
58
|
+
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
ox-properties-dynamic-view {
|
|
64
|
+
flex: 1;
|
|
65
|
+
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
}
|
|
69
|
+
</style>
|
|
70
|
+
|
|
71
|
+
<div id="container">
|
|
72
|
+
<ox-properties-dynamic-view .props=${properties} .value=${value}></ox-properties-dynamic-view>
|
|
73
|
+
</div>
|
|
74
|
+
`;
|
|
75
|
+
export const Regular = Template.bind({});
|
|
76
|
+
//# sourceMappingURL=ox-properties-editor-textarea.stories.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/property-editor",
|
|
3
|
-
"version": "10.29.
|
|
3
|
+
"version": "10.29.83",
|
|
4
4
|
"description": "Webcomponent for property-editor following open-wc recommendations",
|
|
5
5
|
"author": "heartyoh",
|
|
6
6
|
"type": "module",
|
|
@@ -66,6 +66,21 @@
|
|
|
66
66
|
"./ox-property-editor-table-column-config.js": "./dist/src/ox-property-editor-table-column-config.js",
|
|
67
67
|
"./ox-properties-dynamic-view.js": "./dist/src/ox-properties-dynamic-view.js"
|
|
68
68
|
},
|
|
69
|
+
"files": [
|
|
70
|
+
"@types",
|
|
71
|
+
"README.md",
|
|
72
|
+
"dist",
|
|
73
|
+
"themes",
|
|
74
|
+
"translations",
|
|
75
|
+
"!**/*.map",
|
|
76
|
+
"!**/*.test.*",
|
|
77
|
+
"!**/*.spec.*",
|
|
78
|
+
"!**/test/**",
|
|
79
|
+
"!**/tests/**",
|
|
80
|
+
"!**/__tests__/**",
|
|
81
|
+
"!**/*.tsbuildinfo",
|
|
82
|
+
"!**/.DS_Store"
|
|
83
|
+
],
|
|
69
84
|
"typesVersions": {
|
|
70
85
|
"*": {
|
|
71
86
|
"ox-property-editor.js": [
|
|
@@ -213,10 +228,10 @@
|
|
|
213
228
|
},
|
|
214
229
|
"dependencies": {
|
|
215
230
|
"@material/web": "^2.0.0",
|
|
216
|
-
"@operato/help": "^10.29.
|
|
217
|
-
"@operato/i18n": "^10.29.
|
|
218
|
-
"@operato/input": "^10.29.
|
|
219
|
-
"@operato/popup": "^10.29.
|
|
231
|
+
"@operato/help": "^10.29.83",
|
|
232
|
+
"@operato/i18n": "^10.29.83",
|
|
233
|
+
"@operato/input": "^10.29.83",
|
|
234
|
+
"@operato/popup": "^10.29.83",
|
|
220
235
|
"lit": "^3.1.2",
|
|
221
236
|
"lodash-es": "^4.17.21"
|
|
222
237
|
},
|
|
@@ -255,5 +270,5 @@
|
|
|
255
270
|
"prettier --write"
|
|
256
271
|
]
|
|
257
272
|
},
|
|
258
|
-
"gitHead": "
|
|
273
|
+
"gitHead": "2ca4d6573a612baf0613c92dce13b424604022d5"
|
|
259
274
|
}
|