@globalbrain/sefirot 0.72.0 → 0.73.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/CHANGELOG.md +11 -0
- package/lib/assets/styles/variables.css +10 -3
- package/lib/components/SGrid.vue +4 -4
- package/lib/components/SInputCheckbox.vue +4 -4
- package/lib/components/SInputDate.vue +10 -2
- package/lib/components/SInputText.vue +1 -1
- package/lib/components/SInputTextarea.vue +6 -1
- package/lib/components/SPlaceholderBlank.vue +3 -3
- package/lib/components/SSnackbar.vue +1 -1
- package/lib/components/icons/SIconCircle.vue +5 -0
- package/lib/components/icons/SIconMail.vue +6 -0
- package/package.json +1 -1
- package/lib/.DS_Store +0 -0
- package/lib/components/.DS_Store +0 -0
- package/lib/components/icons/.DS_Store +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# [0.73.0](https://github.com/globalbrain/sefirot/compare/v0.72.0...v0.73.0) (2022-02-24)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* broken style on dark mode ([#110](https://github.com/globalbrain/sefirot/issues/110)) ([d667227](https://github.com/globalbrain/sefirot/commit/d667227bfce1ebce61cbe6fc0f420565c72a43ea))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **icon:** add circle icon ([#118](https://github.com/globalbrain/sefirot/issues/118)) ([489cace](https://github.com/globalbrain/sefirot/commit/489cace7220b3e55c259817e2a17f26bc0dfa27d))
|
|
10
|
+
* **icon:** add mail icon ([#116](https://github.com/globalbrain/sefirot/issues/116)) ([dcce170](https://github.com/globalbrain/sefirot/commit/dcce1703f389d0bcaf864ab846a8be675e16d1a6))
|
|
11
|
+
|
|
1
12
|
# [0.72.0](https://github.com/globalbrain/sefirot/compare/v0.71.0...v0.72.0) (2021-12-01)
|
|
2
13
|
|
|
3
14
|
### Features
|
|
@@ -298,11 +298,12 @@
|
|
|
298
298
|
--input-filled-bg-focus: var(--c-bg);
|
|
299
299
|
--input-filled-bg-disabled: var(--c-gray-light-4);
|
|
300
300
|
|
|
301
|
+
--input-outlined-bg-focus: var(--c-bg);
|
|
301
302
|
--input-outlined-bg-disabled: var(--c-white-mute);
|
|
302
303
|
--input-outlined-border: var(--c-divider);
|
|
303
304
|
--input-outlined-border-focus: var(--c-black);
|
|
304
305
|
|
|
305
|
-
--input-clear-bg-disabled: var(--c-
|
|
306
|
+
--input-clear-bg-disabled: var(--c-bg);
|
|
306
307
|
|
|
307
308
|
--input-focus-border: var(--c-black);
|
|
308
309
|
--input-focus-bg: var(--c-white);
|
|
@@ -323,6 +324,12 @@
|
|
|
323
324
|
--input-outlined-bg-disabled: var(--c-black-mute);
|
|
324
325
|
--input-outlined-border-focus: var(--c-gray);
|
|
325
326
|
|
|
327
|
+
--input-filled-bg-disabled: var(--c-gray-dark-3);
|
|
328
|
+
|
|
329
|
+
--input-action-outlined-bg: var(--c-black-mute);
|
|
330
|
+
--input-action-outlined-bg-hover: var(--c-gray-dark-3);
|
|
331
|
+
--input-action-outlined-bg-focus: var(--c-gray-dark-2);
|
|
332
|
+
|
|
326
333
|
--input-focus-border: var(--c-gray);
|
|
327
334
|
}
|
|
328
335
|
|
|
@@ -331,8 +338,8 @@
|
|
|
331
338
|
* -------------------------------------------------------------------------- */
|
|
332
339
|
|
|
333
340
|
:root {
|
|
334
|
-
--card-bg: var(--c-
|
|
335
|
-
--card-bg-mute: var(--c-
|
|
341
|
+
--card-bg: var(--c-bg);
|
|
342
|
+
--card-bg-mute: var(--c-bg-soft);
|
|
336
343
|
--card-shadow-depth-1: var(--shadow-depth-1);
|
|
337
344
|
--card-shadow-depth-2: var(--shadow-depth-2);
|
|
338
345
|
--card-shadow-depth-3: var(--shadow-depth-3);
|
package/lib/components/SGrid.vue
CHANGED
|
@@ -120,7 +120,7 @@ export default defineComponent({
|
|
|
120
120
|
padding: 16px 12px 12px;
|
|
121
121
|
font-size: 12px;
|
|
122
122
|
font-weight: 700;
|
|
123
|
-
color: var(--c-text-
|
|
123
|
+
color: var(--c-text-2);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -148,7 +148,7 @@ export default defineComponent({
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
&:hover {
|
|
151
|
-
background-color: var(--c-
|
|
151
|
+
background-color: var(--c-bg-soft);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
&.clickable {
|
|
@@ -162,7 +162,7 @@ export default defineComponent({
|
|
|
162
162
|
padding: 0 12px;
|
|
163
163
|
line-height: 20px;
|
|
164
164
|
font-size: 14px;
|
|
165
|
-
color: var(--c-text-
|
|
165
|
+
color: var(--c-text-1);
|
|
166
166
|
white-space: nowrap;
|
|
167
167
|
overflow: hidden;
|
|
168
168
|
text-overflow: ellipsis;
|
|
@@ -190,7 +190,7 @@ export default defineComponent({
|
|
|
190
190
|
width: 100%;
|
|
191
191
|
font-size: 12px;
|
|
192
192
|
font-weight: 500;
|
|
193
|
-
color: var(--c-text-
|
|
193
|
+
color: var(--c-text-2);
|
|
194
194
|
white-space: nowrap;
|
|
195
195
|
overflow: hidden;
|
|
196
196
|
text-overflow: ellipsis;
|
|
@@ -79,15 +79,15 @@ export default defineComponent({
|
|
|
79
79
|
|
|
80
80
|
&:hover {
|
|
81
81
|
.box {
|
|
82
|
-
border-color: var(--
|
|
82
|
+
border-color: var(--input-focus-border);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.input.on {
|
|
88
88
|
.box {
|
|
89
|
-
border-color: var(--c-
|
|
90
|
-
background-color: var(--c-
|
|
89
|
+
border-color: var(--c-text-1);
|
|
90
|
+
background-color: var(--c-text-1);
|
|
91
91
|
box-shadow: var(--shadow-depth-3);
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -121,7 +121,7 @@ export default defineComponent({
|
|
|
121
121
|
.check-icon {
|
|
122
122
|
width: 10px;
|
|
123
123
|
height: 10px;
|
|
124
|
-
fill: var(--c-
|
|
124
|
+
fill: var(--c-text-inverse-1);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.text {
|
|
@@ -136,9 +136,13 @@ export default defineComponent({
|
|
|
136
136
|
.input {
|
|
137
137
|
background-color: var(--input-filled-bg);
|
|
138
138
|
|
|
139
|
+
&:hover {
|
|
140
|
+
border-color: var(--input-focus-border);
|
|
141
|
+
}
|
|
142
|
+
|
|
139
143
|
&:focus {
|
|
140
144
|
border-color: var(--input-focus-border);
|
|
141
|
-
background-color: var(--input-
|
|
145
|
+
background-color: var(--input-filled-bg-focus);
|
|
142
146
|
}
|
|
143
147
|
}
|
|
144
148
|
|
|
@@ -150,10 +154,14 @@ export default defineComponent({
|
|
|
150
154
|
.SInputDate.outlined {
|
|
151
155
|
.input {
|
|
152
156
|
border-color: var(--input-outlined-border);
|
|
157
|
+
background-color: transparent;
|
|
158
|
+
|
|
159
|
+
&:hover {
|
|
160
|
+
border-color: var(--input-focus-border);
|
|
161
|
+
}
|
|
153
162
|
|
|
154
163
|
&:focus {
|
|
155
164
|
border-color: var(--input-focus-border);
|
|
156
|
-
background-color: var(--input-focus-bg);
|
|
157
165
|
}
|
|
158
166
|
}
|
|
159
167
|
|
|
@@ -518,7 +518,7 @@ export default defineComponent({
|
|
|
518
518
|
|
|
519
519
|
.input-area:focus + .input {
|
|
520
520
|
border-color: var(--input-focus-border);
|
|
521
|
-
background-color: var(--input-
|
|
521
|
+
background-color: var(--input-outlined-bg-focus);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
&.disabled .box:hover .input {
|
|
@@ -115,9 +115,13 @@ export default defineComponent({
|
|
|
115
115
|
.input {
|
|
116
116
|
background-color: var(--input-filled-bg);
|
|
117
117
|
|
|
118
|
+
&:hover {
|
|
119
|
+
border-color: var(--input-focus-border);
|
|
120
|
+
}
|
|
121
|
+
|
|
118
122
|
&:focus {
|
|
119
123
|
border-color: var(--input-focus-border);
|
|
120
|
-
background-color: var(--input-
|
|
124
|
+
background-color: var(--input-filled-bg-focus);
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
|
|
@@ -152,6 +156,7 @@ export default defineComponent({
|
|
|
152
156
|
.SInputTextarea.clear {
|
|
153
157
|
.input {
|
|
154
158
|
padding: 0;
|
|
159
|
+
background-color: transparent;
|
|
155
160
|
}
|
|
156
161
|
|
|
157
162
|
&.disabled .input {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<transition name="fade">
|
|
4
4
|
<div v-if="!loaded" class="loader">
|
|
5
5
|
<div class="icon">
|
|
6
|
-
<
|
|
6
|
+
<SIconPreloader class="icon-svg" />
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
9
|
</transition>
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
|
|
17
17
|
<script lang="ts">
|
|
18
18
|
import { computed, defineComponent } from '@vue/composition-api'
|
|
19
|
-
import
|
|
19
|
+
import SIconPreloader from './icons/SIconPreloader.vue'
|
|
20
20
|
|
|
21
21
|
export default defineComponent({
|
|
22
22
|
components: {
|
|
23
|
-
|
|
23
|
+
SIconPreloader
|
|
24
24
|
},
|
|
25
25
|
|
|
26
26
|
props: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
3
|
+
<path d="M20,21H4a3,3,0,0,1-3-3V6A3,3,0,0,1,4,3H20a3,3,0,0,1,3,3V18A3,3,0,0,1,20,21ZM4,5A1,1,0,0,0,3,6V18a1,1,0,0,0,1,1H20a1,1,0,0,0,1-1V6a1,1,0,0,0-1-1Z" />
|
|
4
|
+
<path d="M12,14a1,1,0,0,1-.57-.18l-10-7A1,1,0,1,1,2.57,5.18L12,11.78l9.43-6.6a1,1,0,1,1,1.14,1.64l-10,7A1,1,0,0,1,12,14Z" />
|
|
5
|
+
</svg>
|
|
6
|
+
</template>
|
package/package.json
CHANGED
package/lib/.DS_Store
DELETED
|
Binary file
|
package/lib/components/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|