fds-vue-core 2.3.0 → 2.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fds-vue-core",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "FDS Vue Core Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/fds-vue-core.cjs.js",
@@ -87,8 +87,8 @@ defineSlots<{
87
87
  <div :class="[expanderClasses, wrapperClass]" v-bind="rootAttrs">
88
88
  <button v-bind="buttonAttrs" type="button" :class="headerClasses" @click="handleToggle">
89
89
  <span :class="buttonRowClasses">
90
- <span class="w-full flex justify-between items-start">
91
- <span class="inline-flex items-center">
90
+ <span class="leading-6 w-full flex justify-between gap-4">
91
+ <span :class="{ 'inline-flex items-start': preIcon }">
92
92
  <span v-if="preIcon" class="flex items-center mr-4">
93
93
  <FdsIcon :name="preIcon" :size="24" class="fill-blue-500" :class="{ 'fill-gray-500': disabled }" />
94
94
  </span>
@@ -107,7 +107,7 @@ defineSlots<{
107
107
  <FdsIcon
108
108
  name="arrowDown"
109
109
  :size="24"
110
- class="ml-4 transition-transform duration-200 fill-blue-500 min-w-6 min-h-6"
110
+ class="transition-transform duration-200 fill-blue-500 min-w-6 min-h-6"
111
111
  :class="{ 'rotate-180': isOpen, 'fill-gray-500': disabled }"
112
112
  />
113
113
  </span>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import icons, { type IconMap } from '../../assets/icons'
3
2
  import { computed } from 'vue'
3
+ import icons, { type IconMap } from '../../assets/icons'
4
4
  import type { FdsIconProps } from './types'
5
5
 
6
6
  const props = withDefaults(defineProps<FdsIconProps>(), {
@@ -36,7 +36,7 @@ const rootAttrs = computed(() => {
36
36
 
37
37
  <template>
38
38
  <span
39
- class="inline-flex items-center justify-center align-middle"
39
+ class="flex items-center justify-center align-middle"
40
40
  :style="{ width: pixelSize, height: pixelSize }"
41
41
  v-bind="rootAttrs"
42
42
  v-html="svgHtml"
package/src/.DS_Store DELETED
Binary file