saasufy-components 3.30.0 → 3.31.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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/styles.css +23 -1
  3. package/utils.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saasufy-components",
3
- "version": "3.30.0",
3
+ "version": "3.31.0",
4
4
  "description": "Components for Saasufy.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/styles.css CHANGED
@@ -16,11 +16,23 @@ div.success,span.success,p.success {
16
16
  color: #009900;
17
17
  }
18
18
 
19
+ select {
20
+ padding: 7px;
21
+ font-size: 18px;
22
+ background-color: #ffffff;
23
+ }
24
+
19
25
  input[type=text],input[type=password],input[type=number],select,textarea {
20
26
  border: 1px solid #999999;
21
27
  border-radius: 5px;
22
28
  }
23
29
 
30
+ input[type=file] {
31
+ border: 1px solid #999999;
32
+ border-radius: 5px;
33
+ padding: 10px;
34
+ }
35
+
24
36
  input[type=text]:focus,input[type=password]:focus,input[type=number]:focus,select:focus,textarea:focus {
25
37
  border-color: #00a5e5;
26
38
  outline-color: #00a5e5;
@@ -41,6 +53,16 @@ input[type=text].success:focus,input[type=password].success:focus,input[type=num
41
53
  outline-color: #009900;
42
54
  }
43
55
 
56
+ input[type=button],input[type=submit],button {
57
+ background: #eeeeee;
58
+ border: 1px solid #aaaaaa;
59
+ border-radius: 5px;
60
+ }
61
+
62
+ input[type=button][disabled],input[type=submit][disabled],button[disabled] {
63
+ opacity: .6;
64
+ }
65
+
44
66
  input[type=text],input[type=password],input[type=button],input[type=submit],input[type=number],textarea {
45
67
  padding: 10px;
46
68
  font-size: 18px;
@@ -54,7 +76,7 @@ input[type=checkbox] {
54
76
  margin: 0;
55
77
  }
56
78
 
57
- input[type=submit]:not(input[disabled]),input[type=button]:not(input[disabled]) {
79
+ input[type=button]:not(input[disabled]),input[type=submit]:not(input[disabled]),button:not([disabled]) {
58
80
  cursor: pointer;
59
81
  }
60
82
 
package/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import AGCollection from '/node_modules/ag-collection/ag-collection.js';
2
2
  import AGModel from '/node_modules/ag-model/ag-model.js';
3
- export * as uuid from '/node_modules/uuid/dist/esm-browser/index.js';
3
+ import * as uuid from '/node_modules/uuid/dist/esm-browser/index.js';
4
4
  import { sha256 } from './sha256.js';
5
5
 
6
6
  const DEFAULT_DEBOUNCE_DELAY = 300;
@@ -183,6 +183,8 @@ export function createModel(modelOptions) {
183
183
  return model;
184
184
  }
185
185
 
186
+ export { uuid };
187
+
186
188
  export function computeId(...parts) {
187
189
  let encoder = new TextEncoder();
188
190
  let data = encoder.encode(parts.join('-'));