Skip to content

Commit f7d23b3

Browse files
authored
chore(release): bump version to 1.0.0-alpha.26
closes #12
2 parents d475eb5 + 2b4996c commit f7d23b3

File tree

25 files changed

+701
-507
lines changed

25 files changed

+701
-507
lines changed

packages/lib/src/App/app-comp.vue

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
placeholder="Input"
5555
left-icon="material-symbols:search"
5656
span
57+
textbox
5758
@change="(e) => console.log(e)"
5859
prefix="Hello"
5960
/>
@@ -63,6 +64,22 @@
6364
span
6465
left-icon="material-symbols:monetization-on-outline-rounded"
6566
/>
67+
<TextInput
68+
class="input"
69+
placeholder="Input"
70+
span
71+
prefix="Hello"
72+
variant="outlined"
73+
/>
74+
<TextInput
75+
class="input"
76+
placeholder="Input"
77+
left-icon="material-symbols:search"
78+
span
79+
textbox
80+
prefix="Hello"
81+
variant="outlined"
82+
/>
6683
<TextInput
6784
class="input"
6885
placeholder="Input"
@@ -79,6 +96,10 @@
7996

8097
<Checkbox />
8198
<Checkbox default-checked />
99+
<Radio>
100+
<RadioItem value="Hello" label="Hello" />
101+
<RadioItem value="Hello2" label="Hello2" />
102+
</Radio>
82103
</div>
83104
</div>
84105

@@ -176,7 +197,7 @@
176197
ab.
177198
</Scroller>
178199

179-
<Floater offset="#xxs">
200+
<Floater offset="#sm">
180201
<IconButton icon="material-symbols:inbox-outline-rounded" />
181202
</Floater>
182203
<Floater text="3" offset="#xxs">
@@ -306,6 +327,8 @@
306327
import IconButton from '@/components/Button/icon-button.vue'
307328
import CardBody from '@/components/Card/card-body.vue'
308329
import Card from '@/components/Card/card.vue'
330+
import Radio from '@/components/Input/radio.vue'
331+
import RadioItem from '@/components/Input/radio-item.vue'
309332
import Checkbox from '@/components/Input/checkbox.vue'
310333
import ChipGroup from '@/components/Chip/chip-group.vue'
311334
import Chip from '@/components/Chip/chip.vue'

packages/lib/src/App/layout-inherit.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import TabSwitcher from '@/components/AppBar/tab-switcher.vue'
1818
import TopBar from '@/components/AppBar/top-bar.vue'
1919
20-
const isDark = ref(true)
20+
const partial = ref(true)
2121
const [root, setRoot] = customRef<HTMLElement>()
2222
const focusLock = useFocusLock(root)
2323
useTooltip(root, 'class')
@@ -77,13 +77,14 @@
7777
</Button>
7878
<Text> State of focus lock: {{ focusLock }} </Text>
7979

80-
<Switch v-model="isDark" />
81-
<Text :p="isDark ? '#sm' : '#lg'">
80+
<Text>
8281
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
8382
eiusmod tempor incididunt ut labore et dolore magna aliqua.
8483
</Text>
8584

86-
<Checkbox />
85+
<span>Partial: {{ partial }}</span>
86+
<Switch v-model="partial" />
87+
<Checkbox :partial />
8788

8889
<List
8990
v-model="items"

packages/lib/src/assets/button.scss

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.md-button {
2-
height: calc(var(--component-sm) * var(--scale));
2+
--size: calc(var(--component-sm) * var(--scale));
3+
4+
height: var(--size);
35
padding-inline: calc(var(--md) * var(--scale));
46

57
&.text {
@@ -8,16 +10,19 @@
810
}
911

1012
.md-chip {
11-
height: calc(var(--component-xs) * var(--scale));
13+
--size: calc(var(--component-xs) * var(--scale));
14+
1215
padding-inline: calc(var(--sm) * var(--scale));
1316
}
1417

1518
.md-button,
1619
.md-chip {
17-
--scale: 2;
20+
--scale: 1;
21+
--rounded: calc(var(--size) / 2);
1822

1923
border: none;
2024
position: relative;
25+
height: var(--size);
2126
display: inline-flex;
2227
align-items: center;
2328
vertical-align: top;
@@ -95,10 +100,7 @@
95100

96101
&-group {
97102
display: inline-flex;
98-
}
99-
100-
&-group & {
101-
box-shadow: 0 0 0 1px inset var(--outline) !important;
103+
gap: calc(var(--xxs) / 2);
102104
}
103105

104106
&:disabled {
@@ -117,21 +119,17 @@
117119
flex: 1 1 auto;
118120
}
119121

120-
&-group &:not(:first-child) {
121-
margin-inline-start: -1px;
122-
}
123-
124122
&-group &:not(:first-child, :last-child) {
125-
border-radius: 0 !important;
123+
border-radius: var(--xxs);
126124
}
127125

128126
&-group &:first-child:not(:last-child) {
129-
border-top-right-radius: 0 !important;
130-
border-bottom-right-radius: 0 !important;
127+
border-top-right-radius: var(--xxs);
128+
border-bottom-right-radius: var(--xxs);
131129
}
132130

133131
&-group &:last-child:not(:first-child) {
134-
border-top-left-radius: 0 !important;
135-
border-bottom-left-radius: 0 !important;
132+
border-top-left-radius: var(--xxs);
133+
border-bottom-left-radius: var(--xxs);
136134
}
137135
}

0 commit comments

Comments
 (0)