@operato/property-editor 10.29.81 → 10.29.84

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 (66) hide show
  1. package/dist/stories/ox-properties-dynamic-view.stories.d.ts +60 -0
  2. package/dist/stories/ox-properties-dynamic-view.stories.js +535 -0
  3. package/dist/stories/ox-properties-editor-textarea.stories.d.ts +31 -0
  4. package/dist/stories/ox-properties-editor-textarea.stories.js +76 -0
  5. package/package.json +21 -6
  6. package/CHANGELOG.md +0 -6821
  7. package/dist/src/index.js.map +0 -1
  8. package/dist/src/ox-properties-dynamic-view.js.map +0 -1
  9. package/dist/src/ox-property-editor-3axis.js.map +0 -1
  10. package/dist/src/ox-property-editor-3dish.js.map +0 -1
  11. package/dist/src/ox-property-editor-action.js.map +0 -1
  12. package/dist/src/ox-property-editor-angle.js.map +0 -1
  13. package/dist/src/ox-property-editor-backdrop-faces.js.map +0 -1
  14. package/dist/src/ox-property-editor-checkbox.js.map +0 -1
  15. package/dist/src/ox-property-editor-color.js.map +0 -1
  16. package/dist/src/ox-property-editor-crontab.js.map +0 -1
  17. package/dist/src/ox-property-editor-data.js.map +0 -1
  18. package/dist/src/ox-property-editor-date.js.map +0 -1
  19. package/dist/src/ox-property-editor-datetime.js.map +0 -1
  20. package/dist/src/ox-property-editor-description.js.map +0 -1
  21. package/dist/src/ox-property-editor-duration.js.map +0 -1
  22. package/dist/src/ox-property-editor-file.js.map +0 -1
  23. package/dist/src/ox-property-editor-fill-style.js.map +0 -1
  24. package/dist/src/ox-property-editor-gradient-colorstops.js.map +0 -1
  25. package/dist/src/ox-property-editor-hashtags.js.map +0 -1
  26. package/dist/src/ox-property-editor-image.js.map +0 -1
  27. package/dist/src/ox-property-editor-key-values.js.map +0 -1
  28. package/dist/src/ox-property-editor-legend.js.map +0 -1
  29. package/dist/src/ox-property-editor-mass-fraction.js.map +0 -1
  30. package/dist/src/ox-property-editor-month.js.map +0 -1
  31. package/dist/src/ox-property-editor-multiple-colors.js.map +0 -1
  32. package/dist/src/ox-property-editor-number-map.js.map +0 -1
  33. package/dist/src/ox-property-editor-number.js.map +0 -1
  34. package/dist/src/ox-property-editor-options.js.map +0 -1
  35. package/dist/src/ox-property-editor-partition-keys.js.map +0 -1
  36. package/dist/src/ox-property-editor-password.js.map +0 -1
  37. package/dist/src/ox-property-editor-range.js.map +0 -1
  38. package/dist/src/ox-property-editor-scene-component-id.js.map +0 -1
  39. package/dist/src/ox-property-editor-secret.js.map +0 -1
  40. package/dist/src/ox-property-editor-select.js.map +0 -1
  41. package/dist/src/ox-property-editor-signature.js.map +0 -1
  42. package/dist/src/ox-property-editor-solid-colorstops.js.map +0 -1
  43. package/dist/src/ox-property-editor-string.js.map +0 -1
  44. package/dist/src/ox-property-editor-table-column-config.js.map +0 -1
  45. package/dist/src/ox-property-editor-table.js.map +0 -1
  46. package/dist/src/ox-property-editor-textarea.js.map +0 -1
  47. package/dist/src/ox-property-editor-time.js.map +0 -1
  48. package/dist/src/ox-property-editor-unit-number.js.map +0 -1
  49. package/dist/src/ox-property-editor-value-map.js.map +0 -1
  50. package/dist/src/ox-property-editor-value-ranges.js.map +0 -1
  51. package/dist/src/ox-property-editor-work-shift.js.map +0 -1
  52. package/dist/src/ox-property-editor.js.map +0 -1
  53. package/dist/src/types.js.map +0 -1
  54. package/dist/test/date-editors.test.d.ts +0 -2
  55. package/dist/test/date-editors.test.js +0 -45
  56. package/dist/test/date-editors.test.js.map +0 -1
  57. package/dist/test/dynamic-view-copy.test.d.ts +0 -2
  58. package/dist/test/dynamic-view-copy.test.js +0 -22
  59. package/dist/test/dynamic-view-copy.test.js.map +0 -1
  60. package/dist/test/number-map.test.d.ts +0 -1
  61. package/dist/test/number-map.test.js +0 -193
  62. package/dist/test/number-map.test.js.map +0 -1
  63. package/dist/tsconfig.tsbuildinfo +0 -1
  64. package/test/date-editors.test.ts +0 -50
  65. package/test/dynamic-view-copy.test.ts +0 -27
  66. 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.81",
3
+ "version": "10.29.84",
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.81",
217
- "@operato/i18n": "^10.29.27",
218
- "@operato/input": "^10.29.81",
219
- "@operato/popup": "^10.29.81",
231
+ "@operato/help": "^10.29.84",
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": "e59c974dc6f94baeea7e1b21224bb347bbd222a7"
273
+ "gitHead": "a6c30e4a03a2a71b4aba24f09853d8be78655147"
259
274
  }