@esportsplus/ui 0.0.71 → 0.0.72

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.
@@ -3,16 +3,16 @@ import s from './switch';
3
3
  import tex from './text';
4
4
  const select = (data) => {
5
5
  return s(Object.assign(data, {
6
- class: `field--optional ${data?.class || ''}`,
7
6
  field: {
7
+ class: `field--optional ${data?.class || ''}`,
8
8
  content: sel(data.field)
9
9
  }
10
10
  }));
11
11
  };
12
12
  const text = (data) => {
13
13
  return s(Object.assign(data, {
14
- class: `field--optional ${data?.class || ''}`,
15
14
  field: {
15
+ class: `field--optional ${data?.class || ''}`,
16
16
  content: tex(data.field)
17
17
  }
18
18
  }));
package/package.json CHANGED
@@ -22,5 +22,5 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "types": "build/index.d.ts",
25
- "version": "0.0.71"
25
+ "version": "0.0.72"
26
26
  }
@@ -5,8 +5,8 @@ import tex from './text';
5
5
 
6
6
  const select = (data: Parameters<typeof s>[0] & { field: Parameters<typeof sel>[0] }) => {
7
7
  return s(Object.assign(data, {
8
- class: `field--optional ${data?.class || ''}`,
9
8
  field: {
9
+ class: `field--optional ${data?.class || ''}`,
10
10
  content: sel( data.field )
11
11
  }
12
12
  }));
@@ -14,8 +14,8 @@ const select = (data: Parameters<typeof s>[0] & { field: Parameters<typeof sel>[
14
14
 
15
15
  const text = (data: Parameters<typeof s>[0] & { field: Parameters<typeof tex>[0] }) => {
16
16
  return s(Object.assign(data, {
17
- class: `field--optional ${data?.class || ''}`,
18
17
  field: {
18
+ class: `field--optional ${data?.class || ''}`,
19
19
  content: tex( data.field )
20
20
  }
21
21
  }));