@operato/form 8.0.0-beta.1 → 8.0.0-beta.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.0.0-beta.2](https://github.com/hatiolab/operato/compare/v8.0.0-beta.1...v8.0.0-beta.2) (2025-01-08)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * typo .npmignore ([d9c0c8c](https://github.com/hatiolab/operato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
12
+
13
+
14
+
6
15
  ## [8.0.0-beta.1](https://github.com/hatiolab/operato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
7
16
 
8
17
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/form",
3
3
  "description": "WebApplication form supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "8.0.0-beta.1",
5
+ "version": "8.0.0-beta.2",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -62,11 +62,11 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@material/web": "^2.0.0",
65
- "@operato/graphql": "^8.0.0-beta.1",
66
- "@operato/input": "^8.0.0-beta.1",
67
- "@operato/p13n": "^8.0.0-beta.1",
68
- "@operato/time-calculator": "^8.0.0-beta.1",
69
- "@operato/utils": "^8.0.0-beta.1",
65
+ "@operato/graphql": "^8.0.0-beta.2",
66
+ "@operato/input": "^8.0.0-beta.2",
67
+ "@operato/p13n": "^8.0.0-beta.2",
68
+ "@operato/time-calculator": "^8.0.0-beta.2",
69
+ "@operato/utils": "^8.0.0-beta.2",
70
70
  "lit": "^3.1.2"
71
71
  },
72
72
  "devDependencies": {
@@ -102,5 +102,5 @@
102
102
  "prettier --write"
103
103
  ]
104
104
  },
105
- "gitHead": "d5b28a2e9deb632c0dc80132f6a7196dd6fe4220"
105
+ "gitHead": "ee1b5124995accb99272d3b5854f3df1d8746dda"
106
106
  }
package/demo/index.html DELETED
@@ -1,110 +0,0 @@
1
- <!doctype html>
2
- <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
6
-
7
- <style>
8
- body {
9
- background: #fafafa;
10
- --ox-checkbox-size: 12px;
11
- }
12
-
13
- #demo {
14
- position: relative;
15
- height: 300px;
16
- background-color: lightgray;
17
- vertical-align: middle;
18
- }
19
- </style>
20
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
21
- <link
22
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
23
- rel="stylesheet"
24
- />
25
- <link
26
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
27
- rel="stylesheet"
28
- />
29
- <link
30
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
31
- rel="stylesheet"
32
- />
33
-
34
- <link href="/themes/app-theme.css" rel="stylesheet" />
35
- <link href="/themes/form-theme.css" rel="stylesheet" />
36
- </head>
37
- <body>
38
- <div id="demo"></div>
39
-
40
- <script type="module">
41
- import { html, render } from 'lit'
42
- import '@material/web/icon/icon.js'
43
- import '../dist/src/filters/ox-filters-form-base.js'
44
-
45
- const form = document.querySelector('#demo')
46
-
47
- const filters = [
48
- {
49
- name: 'test',
50
- type: 'string',
51
- label: 'name',
52
- operator: 'eq'
53
- },
54
- {
55
- name: 'active',
56
- type: 'boolean',
57
- label: 'active',
58
- operator: 'eq'
59
- },
60
- {
61
- name: 'sss',
62
- type: 'select',
63
- label: 'sss',
64
- operator: 'eq',
65
- options: () => {
66
- return [
67
- {
68
- display: '',
69
- value: ''
70
- },
71
- {
72
- display: 'ABC',
73
- value: 'ABC'
74
- },
75
- {
76
- display: 'DEF',
77
- value: 'DEF'
78
- }
79
- ]
80
- }
81
- },
82
- {
83
- name: 'range',
84
- type: 'number',
85
- label: 'range',
86
- operator: 'between'
87
- },
88
- {
89
- name: 'date-range',
90
- type: 'datetime',
91
- label: 'date',
92
- operator: 'between'
93
- }
94
- ]
95
-
96
- render(
97
- html`
98
- <ox-filters-form-base
99
- .filters=${filters}
100
- @filters-change=${e => {
101
- console.log('filters changed', e.detail)
102
- }}
103
- url-params-sensitive
104
- ></ox-filters-form-base>
105
- `,
106
- form
107
- )
108
- </script>
109
- </body>
110
- </html>