@kws3/ui 4.4.0-alpha.4 → 4.5.0-beta.1
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.mdx +6 -0
- package/package.json +2 -2
- package/styles/Grid.scss +2 -1
- package/styles/Panel.scss +1 -0
- package/styles/Toggle.scss +7 -8
package/CHANGELOG.mdx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
### 4.5.0 <span class="has-text-danger">[BREAKING]</span>
|
|
2
|
+
- This version requires Bulma v1
|
|
3
|
+
- Supports bulma dark mode
|
|
4
|
+
- All SCSS files are now modular, so you need to use `@use` instead of `@import`
|
|
5
|
+
- All SCSS variable names have been updated. Now they do not start with `$kws-` and are more genric. This is due to using modular SCSS
|
|
6
|
+
|
|
1
7
|
## 4.3.5
|
|
2
8
|
- Fix Radio component value type
|
|
3
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kws3/ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-beta.1",
|
|
4
4
|
"description": "UI components for use with Svelte v3 applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"svelte": "index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "^5.2.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "5c396e2209b5ced115147092cf6debc3cff0caa6"
|
|
43
43
|
}
|
package/styles/Grid.scss
CHANGED
|
@@ -7,6 +7,7 @@ $th-color: cv.getVar("text") !default;
|
|
|
7
7
|
$tag-margin: 0 0.125rem 0.125rem 0 !default;
|
|
8
8
|
$icon-size: 1.5em !default;
|
|
9
9
|
$checked-row-background: cv.getVar("info-light") !default;
|
|
10
|
+
$checked-row-color: cv.getVar("info") !default;
|
|
10
11
|
$active-row-background: cv.getVar("table-row-active-background-color") !default;
|
|
11
12
|
$active-row-color: cv.getVar("table-row-active-color") !default;
|
|
12
13
|
$background: cv.getVar("table-background-color") !default;
|
|
@@ -71,7 +72,7 @@ $cell-border-color: cv.getVar("table-cell-border-color") !default;
|
|
|
71
72
|
background-color: $checked-row-background !important;
|
|
72
73
|
td {
|
|
73
74
|
background-color: $checked-row-background !important;
|
|
74
|
-
color: $
|
|
75
|
+
color: $checked-row-color !important;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
|
package/styles/Panel.scss
CHANGED
package/styles/Toggle.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
$theme-colors: dv.$colors !default;
|
|
5
5
|
$off-bg-color: cv.getVar("border-weak") !default;
|
|
6
|
-
$handle-bg-color: cv.getVar("text-invert") !default;
|
|
6
|
+
$handle-bg-color: cv.getVar("text-40-invert") !default;
|
|
7
7
|
$track-bg-color: cv.getVar("text") !default;
|
|
8
8
|
$track-bg-color-invert: cv.getVar("text-invert") !default;
|
|
9
9
|
$border-color: cv.getVar("border") !default;
|
|
@@ -24,8 +24,8 @@ $border-color: cv.getVar("border") !default;
|
|
|
24
24
|
border 0.3s;
|
|
25
25
|
display: inline-flex;
|
|
26
26
|
align-items: center;
|
|
27
|
-
width:
|
|
28
|
-
height: 2.
|
|
27
|
+
width: 3.93em;
|
|
28
|
+
height: 2.21em;
|
|
29
29
|
border: solid 1px $border-color;
|
|
30
30
|
border-radius: 1.428em;
|
|
31
31
|
background-color: $off-bg-color;
|
|
@@ -36,7 +36,6 @@ $border-color: cv.getVar("border") !default;
|
|
|
36
36
|
flex-shrink: 0;
|
|
37
37
|
font-weight: bold;
|
|
38
38
|
font-size: 0.642em;
|
|
39
|
-
line-height: 1em;
|
|
40
39
|
display: block;
|
|
41
40
|
text-align: right;
|
|
42
41
|
user-select: none;
|
|
@@ -47,9 +46,9 @@ $border-color: cv.getVar("border") !default;
|
|
|
47
46
|
transition: transform 0.3s cubic-bezier(0, 1.1, 1, 1.1);
|
|
48
47
|
position: absolute;
|
|
49
48
|
display: block;
|
|
50
|
-
width:
|
|
51
|
-
height:
|
|
52
|
-
border-radius:
|
|
49
|
+
width: 1.928em;
|
|
50
|
+
height: 1.928em;
|
|
51
|
+
border-radius: 1.928em;
|
|
53
52
|
background-color: $handle-bg-color;
|
|
54
53
|
box-shadow:
|
|
55
54
|
0 2px 7px rgba(0, 0, 0, 0.35),
|
|
@@ -68,7 +67,7 @@ $border-color: cv.getVar("border") !default;
|
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
.handle {
|
|
71
|
-
transform: translate3d(1.
|
|
70
|
+
transform: translate3d(1.785em, 0, 0);
|
|
72
71
|
}
|
|
73
72
|
@each $name, $pair in $theme-colors {
|
|
74
73
|
$color: cv.getVar($name);
|