@globalbrain/sefirot 4.42.0 → 4.43.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.
@@ -84,6 +84,7 @@ function createFilterPresetOptions(): ActionList {
84
84
  <div class="LensCatalogControl">
85
85
  <template v-if="!selected || selected.length === 0">
86
86
  <div class="main">
87
+ <slot name="main-left" />
87
88
  <SInputText
88
89
  v-if="showQuery"
89
90
  class="s-w-320"
@@ -113,6 +114,7 @@ function createFilterPresetOptions(): ActionList {
113
114
  :label="t.a_view"
114
115
  @click="$emit('view')"
115
116
  />
117
+ <slot name="main-right" />
116
118
  </div>
117
119
  <div class="sub">
118
120
  <slot name="sub-left" />
@@ -85,7 +85,7 @@ function onSelect(value: T) {
85
85
  </SInputBase>
86
86
  </template>
87
87
 
88
- <style scoped lang="postcss">
88
+ <style scoped>
89
89
  .SInputSegments.sm,
90
90
  .SInputSegments.mini {
91
91
  .box {
@@ -129,9 +129,9 @@ function onSelect(value: T) {
129
129
 
130
130
  .box {
131
131
  display: inline-flex;
132
- border: 1px solid var(--input-border-color);
133
- border-radius: 6px;
134
- background-color: var(--input-bg-color);
132
+ border: 1px solid var(--c-border);
133
+ border-radius: 8px;
134
+ background-color: var(--c-bg-2);
135
135
  transition: border-color 0.25s;
136
136
  }
137
137
  </style>
@@ -35,7 +35,7 @@ function onClick() {
35
35
  </button>
36
36
  </template>
37
37
 
38
- <style scoped lang="postcss">
38
+ <style scoped>
39
39
  .SInputSegmentsOption {
40
40
  position: relative;
41
41
  display: block;
@@ -43,11 +43,10 @@ function onClick() {
43
43
  justify-content: center;
44
44
  align-items: center;
45
45
  border: 1px solid transparent;
46
- border-radius: 3px;
46
+ border-radius: 6px;
47
47
  width: 100%;
48
48
  height: 100%;
49
49
  text-align: center;
50
- font-size: 14px;
51
50
  color: var(--c-text-2);
52
51
  white-space: nowrap;
53
52
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
@@ -60,76 +59,43 @@ function onClick() {
60
59
  color: var(--c-text-3);
61
60
  cursor: not-allowed;
62
61
  }
63
-
64
- .SInputSegmentsOption + &::before {
65
- position: absolute;
66
- left: -1px;
67
- display: block;
68
- width: 1px;
69
- height: 16px;
70
- border-radius: 4px;
71
- background-color: var(--c-divider);
72
- content: "";
73
- transition: opacity 0.25s;
74
- }
75
-
76
- .SInputSegmentsOption.active + &::before,
77
- &.active::before {
78
- opacity: 0;
79
- }
80
62
  }
81
63
 
82
- .SInputSegmentsOption.sm,
83
- .SInputSegmentsOption.mini {
84
- .SInputSegmentsOption + &::before {
85
- top: 4px;
86
- }
87
-
88
- .label {
89
- padding: 0 12px;
90
- }
64
+ .SInputSegmentsOption.sm .label,
65
+ .SInputSegmentsOption.mini .label {
66
+ padding: 0 12px;
67
+ font-size: 12px;
68
+ font-weight: 500;
91
69
  }
92
70
 
93
- .SInputSegmentsOption.md {
94
- .SInputSegmentsOption + &::before {
95
- top: 6px;
96
- }
97
-
98
- .label {
99
- padding: 0 12px;
100
- }
71
+ .SInputSegmentsOption.md .label {
72
+ padding: 0 12px;
73
+ font-size: 14px;
74
+ font-weight: 500;
101
75
  }
102
76
 
103
- .SInputSegmentsOption.small {
104
- .SInputSegmentsOption + &::before {
105
- top: 7px;
106
- }
107
-
108
- .label {
109
- padding: 0 12px;
110
- }
77
+ .SInputSegmentsOption.small .label {
78
+ padding: 0 12px;
79
+ font-size: 14px;
80
+ font-weight: 500;
111
81
  }
112
82
 
113
- .SInputSegmentsOption.medium {
114
- .SInputSegmentsOption + &::before {
115
- top: 10px;
116
- }
117
-
118
- .label {
119
- padding: 0 16px;
120
- }
83
+ .SInputSegmentsOption.medium .label {
84
+ padding: 0 16px;
121
85
  }
122
86
 
123
87
  .SInputSegmentsOption.default.active {
124
88
  border-color: var(--button-fill-default-border-color);
125
89
  color: var(--button-fill-default-text-color);
126
90
  background-color: var(--button-fill-default-bg-color);
91
+ box-shadow: var(--shadow-depth-1);
127
92
  }
128
93
 
129
94
  .SInputSegmentsOption.mute.active {
130
95
  border-color: var(--button-fill-mute-border-color);
131
96
  color: var(--button-fill-mute-text-color);
132
97
  background-color: var(--button-fill-mute-bg-color);
98
+ box-shadow: var(--shadow-depth-1);
133
99
  }
134
100
 
135
101
  .SInputSegmentsOption.neutral.active {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalbrain/sefirot",
3
- "version": "4.42.0",
3
+ "version": "4.43.0",
4
4
  "description": "Vue Components for Global Brain Design System.",
5
5
  "keywords": [
6
6
  "components",