@esportsplus/ui 0.35.14 → 0.36.0

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.
@@ -29,6 +29,7 @@ export default (attributes, content) => {
29
29
  let { action, state } = attributes;
30
30
  return html `
31
31
  <form
32
+ class='form'
32
33
  ${omit(attributes, OMIT)}
33
34
  ${{
34
35
  onclick: function (event) {
@@ -1,3 +1,4 @@
1
+ import './scss/index.scss';
1
2
  declare const _default: {
2
3
  action: <T extends Record<string, any>>(attributes: {
3
4
  action: (data: {
@@ -1,3 +1,4 @@
1
1
  import action from './action.js';
2
2
  import input from './input.js';
3
+ import './scss/index.scss';
3
4
  export default { action, input };
@@ -0,0 +1,2 @@
1
+ @layer components {.form{--gap-horizontal:0px;--gap-vertical:0px;--margin-horizontal:0px;--margin-vertical:0px;gap:var(--gap-vertical)var(--gap-horizontal);margin:var(--margin-vertical)var(--margin-horizontal);flex-wrap:wrap;justify-content:flex-start;display:flex;position:relative}}
2
+ /*$vite$:1*/
package/package.json CHANGED
@@ -3,14 +3,14 @@
3
3
  "dependencies": {
4
4
  "@esportsplus/action": "^0.0.58",
5
5
  "@esportsplus/queue": "^0.1.0",
6
- "@esportsplus/reactivity": "^0.18.0",
6
+ "@esportsplus/reactivity": "^0.18.1",
7
7
  "@esportsplus/template": "^0.26.2",
8
- "@esportsplus/utilities": "^0.22.2",
8
+ "@esportsplus/utilities": "^0.23.1",
9
9
  "modern-normalize": "^3.0.1"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@esportsplus/typescript": "^0.9.2",
13
- "@types/node": "^24.3.1",
13
+ "@types/node": "^24.4.0",
14
14
  "autoprefixer": "^10.4.21",
15
15
  "glob": "^11.0.3",
16
16
  "lightningcss": "^1.30.1",
@@ -42,7 +42,7 @@
42
42
  "private": false,
43
43
  "sideEffects": false,
44
44
  "type": "module",
45
- "version": "0.35.14",
45
+ "version": "0.36.0",
46
46
  "scripts": {
47
47
  "build": "run-s build:vite build:ts",
48
48
  "build:ts": "tsc && tsc-alias",
@@ -51,6 +51,7 @@ export default <T extends Record<string, any>>(
51
51
 
52
52
  return html`
53
53
  <form
54
+ class='form'
54
55
  ${omit(attributes, OMIT)}
55
56
  ${{
56
57
  onclick: function(event) {
@@ -1,5 +1,6 @@
1
1
  import action from './action';
2
2
  import input from './input';
3
+ import './scss/index.scss';
3
4
 
4
5
 
5
6
  export default { action, input };
@@ -0,0 +1,10 @@
1
+ @use 'variables';
2
+
3
+ .form {
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ gap: var(--gap-vertical) var(--gap-horizontal);
7
+ justify-content: flex-start;
8
+ margin: var(--margin-vertical) var(--margin-horizontal);
9
+ position: relative;
10
+ }
@@ -0,0 +1,6 @@
1
+ .form {
2
+ --gap-horizontal: 0px;
3
+ --gap-vertical: 0px;
4
+ --margin-horizontal: 0px;
5
+ --margin-vertical: 0px;
6
+ }