Skip to content

Commit 7f90fbb

Browse files
committed
release(data-grid): v1.3.2
1 parent 6baffe8 commit 7f90fbb

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"data-grid": {
7575
"react": true,
7676
"icon": true,
77-
"version": "1.3.1",
77+
"version": "1.3.2",
7878
"style": true,
7979
"test": true,
8080
"install": false,

src/data-grid/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.2 (2 Mar 2025)
2+
3+
* refactor: theme
4+
15
## 1.3.1 (26 Feb 2025)
26

37
* refactor: theme

src/data-grid/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "data-grid",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Grid for displaying datasets",
55
"luna": {
66
"react": true,

src/data-grid/style.scss

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
@use '../share/mixin' as mixin;
2-
@use '../share/theme' as theme;
1+
@use '../share/mixin' as *;
2+
@use '../share/theme' as *;
33

44
.luna-data-grid {
55
position: relative;
66
border: 1px solid;
77
overflow: hidden;
88
outline: none;
9-
@include mixin.component();
9+
@include component();
1010
& {
11-
font-size: #{theme.$font-size-s-m}px;
11+
font-size: #{$font-size-s-m}px;
1212
}
1313

1414
table {
@@ -37,7 +37,7 @@
3737
text-align: left;
3838
position: relative;
3939
&.sortable {
40-
padding-right: #{theme.$padding-s-m}px;
40+
padding-right: #{$padding-s-m}px;
4141
}
4242
.icon-caret-down,
4343
.icon-caret-up {
@@ -100,16 +100,16 @@
100100

101101
@each $theme in ('light', 'dark') {
102102
.theme-#{$theme} {
103-
@include mixin.theme-var(border-color, color-border, $theme);
103+
@include theme-var(border-color, color-border, $theme);
104104
th,
105105
td {
106-
@include mixin.theme-var(border-color, color-border, $theme);
106+
@include theme-var(border-color, color-border, $theme);
107107
}
108108
th {
109-
@include mixin.theme-var(background-color, color-fill-secondary, $theme);
109+
@include theme-var(background-color, color-fill-secondary, $theme);
110110
&.sortable {
111111
&:hover {
112-
@include mixin.theme-var(background-color, color-fill, $theme);
112+
@include theme-var(background-color, color-fill, $theme);
113113
}
114114
}
115115
}
@@ -124,7 +124,7 @@
124124
}
125125
&:focus {
126126
.node.selectable.selected {
127-
@include mixin.theme-var(background-color, color-primary, $theme);
127+
@include theme-var(background-color, color-primary, $theme);
128128
}
129129
}
130130
}

0 commit comments

Comments
 (0)