@projectcaluma/ember-form 11.2.1 → 12.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:color";
|
2
|
+
|
1
3
|
$icon-size: 0.8rem !default;
|
2
4
|
|
3
5
|
.cf-navigation {
|
@@ -13,9 +15,8 @@ $icon-size: 0.8rem !default;
|
|
13
15
|
position: relative;
|
14
16
|
height: $icon-size;
|
15
17
|
width: $icon-size;
|
16
|
-
color:
|
17
|
-
border: 1px solid
|
18
|
-
|
18
|
+
color: color.adjust($global-border, $lightness: -40%);
|
19
|
+
border: 1px solid color.adjust($global-border, $lightness: -10%);
|
19
20
|
transition: color 500ms ease, border 500ms ease;
|
20
21
|
|
21
22
|
&::before {
|
@@ -36,6 +37,7 @@ $icon-size: 0.8rem !default;
|
|
36
37
|
&--in-progress::before {
|
37
38
|
content: "?";
|
38
39
|
}
|
40
|
+
|
39
41
|
&--valid::before {
|
40
42
|
content: "✓";
|
41
43
|
}
|
@@ -48,16 +50,16 @@ $icon-size: 0.8rem !default;
|
|
48
50
|
}
|
49
51
|
|
50
52
|
.cf-navigation__item__icon--in-progress.cf-navigation__item__icon--dirty {
|
51
|
-
color:
|
52
|
-
border-color:
|
53
|
+
color: color.adjust($global-warning-background, $lightness: -20%);
|
54
|
+
border-color: color.adjust($global-warning-background, $lightness: 10%);
|
53
55
|
}
|
54
56
|
|
55
57
|
.cf-navigation__item__icon--valid.cf-navigation__item__icon--dirty {
|
56
|
-
color:
|
57
|
-
border-color:
|
58
|
+
color: color.adjust($global-success-background, $lightness: -20%);
|
59
|
+
border-color: color.adjust($global-success-background, $lightness: 10%);
|
58
60
|
}
|
59
61
|
|
60
62
|
.cf-navigation__item__icon--invalid.cf-navigation__item__icon--dirty {
|
61
|
-
color:
|
62
|
-
border-color:
|
63
|
+
color: color.adjust($global-danger-background, $lightness: -20%);
|
64
|
+
border-color: color.adjust($global-danger-background, $lightness: 10%);
|
63
65
|
}
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:color";
|
2
|
+
|
1
3
|
$flatpickr-today-color: $global-warning-background;
|
2
4
|
$flatpickr-selected-color: $global-primary-background;
|
3
5
|
|
@@ -19,8 +21,8 @@ span.flatpickr-day {
|
|
19
21
|
font-weight: 700;
|
20
22
|
|
21
23
|
&:hover {
|
22
|
-
background:
|
23
|
-
border-color:
|
24
|
+
background: color.adjust($flatpickr-selected-color, $lightness: -10%);
|
25
|
+
border-color: color.adjust($flatpickr-selected-color, $lightness: -10%);
|
24
26
|
}
|
25
27
|
}
|
26
28
|
}
|
@@ -1,27 +1,23 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
.uk-radio.uk-disabled,
|
10
|
-
.uk-checkbox.uk-disabled {
|
11
|
-
cursor: default;
|
12
|
-
}
|
1
|
+
/* UIkit overwrites
|
2
|
+
* ----------------
|
3
|
+
* These styles amend UIkit so that disabled form elements can be styled as
|
4
|
+
* disabled with a class instead of just by the element's disabled property.
|
5
|
+
*
|
6
|
+
* There is an open pull request upstream:
|
7
|
+
* https://github.com/uikit/uikit/pull/3990 */
|
13
8
|
|
14
9
|
.uk-input.uk-disabled,
|
15
10
|
.uk-select.uk-disabled,
|
16
11
|
.uk-textarea.uk-disabled {
|
17
12
|
background-color: $form-disabled-background;
|
18
13
|
color: $form-disabled-color;
|
19
|
-
|
20
|
-
|
14
|
+
|
15
|
+
@if mixin-exists(hook-form-disabled) {
|
16
|
+
@include hook-form-disabled;
|
21
17
|
}
|
22
18
|
}
|
23
19
|
|
24
|
-
.uk-select:not([multiple]
|
20
|
+
.uk-select:not([multiple], [size]).uk-disabled {
|
25
21
|
@include svg-fill(
|
26
22
|
$internal-form-select-image,
|
27
23
|
"#000",
|
@@ -31,9 +27,11 @@
|
|
31
27
|
|
32
28
|
.uk-radio.uk-disabled,
|
33
29
|
.uk-checkbox.uk-disabled {
|
30
|
+
cursor: default;
|
34
31
|
background-color: $form-radio-disabled-background;
|
35
|
-
|
36
|
-
|
32
|
+
|
33
|
+
@if mixin-exists(hook-form-radio-disabled) {
|
34
|
+
@include hook-form-radio-disabled;
|
37
35
|
}
|
38
36
|
}
|
39
37
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@projectcaluma/ember-form",
|
3
|
-
"version": "
|
3
|
+
"version": "12.0.1",
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
5
5
|
"keywords": [
|
6
6
|
"ember-addon"
|
@@ -9,9 +9,9 @@
|
|
9
9
|
"homepage": "https://docs.caluma.io/ember-caluma",
|
10
10
|
"repository": "github:projectcaluma/ember-caluma",
|
11
11
|
"dependencies": {
|
12
|
-
"@ember/string": "^3.
|
13
|
-
"@embroider/macros": "^1.
|
14
|
-
"@embroider/util": "^1.
|
12
|
+
"@ember/string": "^3.1.1",
|
13
|
+
"@embroider/macros": "^1.11.1",
|
14
|
+
"@embroider/util": "^1.11.1",
|
15
15
|
"@glimmer/component": "^1.1.2",
|
16
16
|
"@glimmer/tracking": "^1.1.2",
|
17
17
|
"ember-apollo-client": "~4.0.2",
|
@@ -29,31 +29,31 @@
|
|
29
29
|
"ember-math-helpers": "^3.0.0",
|
30
30
|
"ember-power-select": "^7.0.0",
|
31
31
|
"ember-resources": "^5.6.4",
|
32
|
-
"ember-uikit": "^
|
32
|
+
"ember-uikit": "^8.0.0",
|
33
33
|
"ember-validators": "^4.1.2",
|
34
34
|
"graphql": "^15.8.0",
|
35
35
|
"jexl": "^2.3.0",
|
36
36
|
"lodash.isequal": "^4.5.0",
|
37
37
|
"luxon": "^3.3.0",
|
38
38
|
"tracked-toolbox": "^2.0.0",
|
39
|
-
"@projectcaluma/ember-core": "^
|
39
|
+
"@projectcaluma/ember-core": "^12.0.1"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
42
|
"@ember/optional-features": "2.0.0",
|
43
|
-
"@ember/test-helpers": "
|
44
|
-
"@embroider/test-setup": "
|
45
|
-
"@faker-js/faker": "
|
43
|
+
"@ember/test-helpers": "3.1.0",
|
44
|
+
"@embroider/test-setup": "3.0.1",
|
45
|
+
"@faker-js/faker": "8.0.2",
|
46
46
|
"broccoli-asset-rev": "3.0.0",
|
47
|
-
"ember-cli": "4.
|
47
|
+
"ember-cli": "4.12.1",
|
48
48
|
"ember-cli-code-coverage": "2.0.0",
|
49
|
-
"ember-cli-dependency-checker": "3.3.
|
49
|
+
"ember-cli-dependency-checker": "3.3.2",
|
50
50
|
"ember-cli-inject-live-reload": "2.1.0",
|
51
51
|
"ember-cli-mirage": "3.0.0-alpha.3",
|
52
52
|
"ember-cli-sri": "2.1.1",
|
53
53
|
"ember-cli-terser": "4.0.2",
|
54
54
|
"ember-load-initializers": "2.1.2",
|
55
|
-
"ember-qunit": "
|
56
|
-
"ember-resolver": "10.
|
55
|
+
"ember-qunit": "7.0.0",
|
56
|
+
"ember-resolver": "10.1.1",
|
57
57
|
"ember-source": "4.12.0",
|
58
58
|
"ember-source-channel-url": "3.0.0",
|
59
59
|
"ember-try": "2.0.0",
|
@@ -61,15 +61,15 @@
|
|
61
61
|
"miragejs": "0.1.47",
|
62
62
|
"qunit": "2.19.4",
|
63
63
|
"qunit-dom": "2.0.0",
|
64
|
-
"uikit": "3.16.
|
64
|
+
"uikit": "3.16.21",
|
65
65
|
"uuid": "9.0.0",
|
66
|
-
"webpack": "5.
|
67
|
-
"@projectcaluma/ember-testing": "
|
68
|
-
"@projectcaluma/ember-workflow": "
|
66
|
+
"webpack": "5.87.0",
|
67
|
+
"@projectcaluma/ember-testing": "12.0.1",
|
68
|
+
"@projectcaluma/ember-workflow": "12.0.1"
|
69
69
|
},
|
70
70
|
"peerDependencies": {
|
71
|
-
"ember-source": "^
|
72
|
-
"@projectcaluma/ember-workflow": "^
|
71
|
+
"ember-source": "^4.0.0",
|
72
|
+
"@projectcaluma/ember-workflow": "^12.0.1"
|
73
73
|
},
|
74
74
|
"peerDependenciesMeta": {
|
75
75
|
"@projectcaluma/ember-workflow": {
|