@seamapi/react 1.60.3 → 1.61.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.
- package/README.md +1 -1
- package/dist/elements.js +4112 -4027
- package/dist/elements.js.map +1 -1
- package/dist/index.css +64 -4
- package/dist/index.css.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.min.css.map +1 -1
- package/lib/icons/Search.js +2 -2
- package/lib/icons/Search.js.map +1 -1
- package/lib/seam/components/AccessCodeTable/AccessCodeTable.js +7 -2
- package/lib/seam/components/AccessCodeTable/AccessCodeTable.js.map +1 -1
- package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js +4 -5
- package/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.js.map +1 -1
- package/lib/seam/components/DeviceTable/DeviceTable.js +4 -5
- package/lib/seam/components/DeviceTable/DeviceTable.js.map +1 -1
- package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.js +1 -1
- package/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.js.map +1 -1
- package/lib/ui/LoadingToast/LoadingToast.d.ts +9 -0
- package/lib/ui/LoadingToast/LoadingToast.js +34 -0
- package/lib/ui/LoadingToast/LoadingToast.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/icons/Search.tsx +7 -7
- package/src/lib/seam/components/AccessCodeTable/AccessCodeTable.tsx +14 -1
- package/src/lib/seam/components/ClimateSettingScheduleTable/ClimateSettingScheduleTable.tsx +10 -5
- package/src/lib/seam/components/DeviceTable/DeviceTable.tsx +10 -5
- package/src/lib/seam/components/SupportedDeviceTable/ShowAllDevicesButton.tsx +1 -1
- package/src/lib/ui/LoadingToast/LoadingToast.tsx +62 -0
- package/src/lib/version.ts +1 -1
- package/src/styles/_inputs.scss +13 -1
- package/src/styles/_loading_toast.scss +59 -0
- package/src/styles/_main.scss +2 -0
- package/src/styles/_spinner.scss +1 -1
- package/src/styles/_supported-device-table.scss +2 -2
- package/src/styles/_tables.scss +9 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use './colors';
|
|
2
|
+
|
|
3
|
+
@keyframes scale-in {
|
|
4
|
+
0% {
|
|
5
|
+
transform: scale(0.5);
|
|
6
|
+
opacity: 0;
|
|
7
|
+
visibility: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
100% {
|
|
11
|
+
transform: scale(1);
|
|
12
|
+
opacity: 1;
|
|
13
|
+
visibility: visible;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin all {
|
|
18
|
+
.seam-loading-toast {
|
|
19
|
+
height: 32px;
|
|
20
|
+
padding: 0 10px;
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
flex-direction: row;
|
|
25
|
+
border-radius: 6px;
|
|
26
|
+
background: colors.$bg-a;
|
|
27
|
+
box-shadow:
|
|
28
|
+
0 1px 5px 0 rgb(24 29 37 / 6%),
|
|
29
|
+
0 0 1px 0 rgb(24 29 37 / 25%);
|
|
30
|
+
gap: 8px;
|
|
31
|
+
will-change: transform;
|
|
32
|
+
animation: scale-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
|
|
33
|
+
transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 9;
|
|
37
|
+
|
|
38
|
+
&.seam-loading-toast-hide {
|
|
39
|
+
transform: scale(0.5);
|
|
40
|
+
opacity: 0;
|
|
41
|
+
visibility: hidden;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.seam-loading-toast-icon-wrap {
|
|
45
|
+
width: 18px;
|
|
46
|
+
height: 18px;
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
align-items: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.seam-loading-toast-text {
|
|
53
|
+
font-size: 14px;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
line-height: 1;
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
package/src/styles/_main.scss
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@use './alert';
|
|
6
6
|
@use './buttons';
|
|
7
7
|
@use './layout';
|
|
8
|
+
@use './loading_toast';
|
|
8
9
|
@use './colors';
|
|
9
10
|
@use './icons';
|
|
10
11
|
@use './menus';
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
@include form-field.all;
|
|
39
40
|
@include buttons.all;
|
|
40
41
|
@include layout.all;
|
|
42
|
+
@include loading_toast.all;
|
|
41
43
|
@include icons.all;
|
|
42
44
|
@include menus.all;
|
|
43
45
|
@include checkbox.all;
|
package/src/styles/_spinner.scss
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
width: $default-size;
|
|
19
19
|
height: $default-size;
|
|
20
20
|
border: $default-border-width solid colors.$primary;
|
|
21
|
-
border-top: $default-border-width solid
|
|
21
|
+
border-top: $default-border-width solid transparent;
|
|
22
22
|
display: inline-block;
|
|
23
23
|
border-radius: 50%;
|
|
24
24
|
animation: spin 0.5s linear infinite;
|
|
@@ -126,9 +126,9 @@ $row-padding: 8px;
|
|
|
126
126
|
background: colors.$white;
|
|
127
127
|
display: flex;
|
|
128
128
|
height: 30px;
|
|
129
|
-
padding: 4px
|
|
129
|
+
padding: 5px 24px 4px 16px;
|
|
130
130
|
align-items: center;
|
|
131
|
-
gap:
|
|
131
|
+
gap: 2px;
|
|
132
132
|
font-size: 14px;
|
|
133
133
|
line-height: 115%;
|
|
134
134
|
color: colors.$text-gray-1;
|
package/src/styles/_tables.scss
CHANGED