Commit 001844bf authored by Дмитрий Малюгин's avatar Дмитрий Малюгин 🕓
Browse files

refactor: a few components

parent 089f7ce8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{
  "name": "@d.malygin/UI_storybook",
  "version": "1.0.8",
  "version": "1.0.9",
  "type": "module",
  "scripts": {
    "dev": "vite",
+32 −30
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ const buttonPadding = computed(() => {
</script>

<template>
  <div>
    <button
      :class="[
        'button',
@@ -84,6 +85,7 @@ const buttonPadding = computed(() => {
        <slot />
      </span>
    </button>
  </div>
</template>

<style scoped>
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ const borderRadius = computed(() => `${elSize.value / 7 - borderWidth.value}px`)
  gap: v-bind(gap);
  box-sizing: content-box;
  width: max-content;
  height: max-content;
}
.main {
  position: relative;
+1 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ const emit = defineEmits(['toggleIsOpen', 'onClick']);
  padding: 4px 5px;
  background-color: v-bind(themeColor);
  word-break: break-word;
  transition: filter 0.3s ease;
}
.openButton {
  margin-right: 10px;