@indielayer/ui 1.10.2 → 1.10.3
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/lib/components/button/theme/Button.base.theme.js +5 -5
- package/lib/components/form/Form.vue.d.ts +4 -1
- package/lib/components/form/Form.vue.js +33 -31
- package/lib/index.umd.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/components/button/theme/Button.base.theme.ts +3 -3
- package/src/components/form/Form.vue +2 -0
- package/src/version.ts +1 -1
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.10.
|
|
1
|
+
declare const _default: "1.10.3";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import type { ButtonTheme } from '../Button.vue'
|
|
|
3
3
|
const theme: ButtonTheme = {
|
|
4
4
|
classes: {
|
|
5
5
|
wrapper({ props, slots, data }) {
|
|
6
|
-
const classes = ['relative transition duration-150 focus:outline-none inline-flex items-center justify-center font-medium whitespace-nowrap overflow-hidden align-middle active:!shadow-none border appearance-none']
|
|
6
|
+
const classes = ['relative transition duration-150 focus:outline-none inline-flex items-center justify-center font-medium whitespace-nowrap overflow-hidden align-middle active:!shadow-none border appearance-none shrink-0']
|
|
7
7
|
|
|
8
8
|
// radius
|
|
9
9
|
if (!data.isButtonGroup) classes.push(props.rounded ? 'rounded-full' : 'rounded-md')
|
|
@@ -15,8 +15,8 @@ const theme: ButtonTheme = {
|
|
|
15
15
|
if (props.size === 'xs') classes.push(slots.default ? `py-1 text-xs ${props.icon ? 'px-2' : 'px-2'}` : 'leading-none p-1')
|
|
16
16
|
else if (props.size === 'sm') classes.push(slots.default ? `py-1.5 text-sm ${props.icon ? 'px-3' : 'px-3'}` : 'leading-none p-1.5')
|
|
17
17
|
else if (props.size === 'lg') classes.push(slots.default ? `py-3 text-lg ${props.icon ? 'px-4' : 'px-6'}` : 'leading-none p-3')
|
|
18
|
-
else if (props.size === 'xl') classes.push(slots.default ? `py-4 text-xl ${props.icon ? 'px-6' : 'px-6'}` : 'leading-none p-
|
|
19
|
-
else classes.push(slots.default ? `py-2 ${props.icon ? 'px-4' : 'px-5'}` : 'leading-none p-
|
|
18
|
+
else if (props.size === 'xl') classes.push(slots.default ? `py-4 text-xl ${props.icon ? 'px-6' : 'px-6'}` : 'leading-none p-3.5')
|
|
19
|
+
else classes.push(slots.default ? `py-2 ${props.icon ? 'px-4' : 'px-5'}` : 'leading-none p-[0.532rem]')
|
|
20
20
|
|
|
21
21
|
// cursor
|
|
22
22
|
if (props.disabled) classes.push('cursor-not-allowed')
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '1.10.
|
|
1
|
+
export default '1.10.3'
|