@imaginario27/air-ui-ds 1.6.0 → 1.7.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this package are documented in this file.
5
5
  Historical releases were reconstructed from git history (GitHub repository) and npm publish dates.
6
6
  Future releases will include detailed entries generated with Changesets.
7
7
 
8
+ ## 1.6.0 - 2026-03-24
9
+
10
+ Release type: minor.
11
+ Commits found in range: 1.
12
+
13
+ ### Added
14
+
15
+ 1. add SlotField form component ([d1e71a9](https://github.com/imaginario27/air-ui/commit/d1e71a903c25a39eedf86c4547496ad238a9da84))
16
+
17
+ - Package: @imaginario27/air-ui-ds.
18
+
8
19
  ## 1.5.0 - 2026-03-23
9
20
 
10
21
  Release type: minor.
@@ -10,7 +10,7 @@
10
10
  />
11
11
 
12
12
  <!-- Text -->
13
- <span :class="textClass">
13
+ <span :class="['whitespace-nowrap', textClass]">
14
14
  {{ text }}
15
15
  </span>
16
16
  </div>
@@ -0,0 +1,73 @@
1
+ <template>
2
+ <Card
3
+ :hasShadow="false"
4
+ :class="[
5
+ 'bg-background-neutral-subtlest'
6
+ ]"
7
+ >
8
+ <CardBody>
9
+ <div
10
+ :class="[
11
+ 'flex',
12
+ 'gap-1',
13
+ 'w-full',
14
+ 'text-sm',
15
+ alignClass
16
+ ]"
17
+ >
18
+ <span :class="scopeClass">
19
+ {{ scope }}
20
+ </span>
21
+
22
+ <Icon
23
+ name="mdi:chevron-right"
24
+ :iconClass="['text-icon-neutral-subtler', iconClass ?? '']"
25
+ />
26
+
27
+ <span
28
+ :class="[
29
+ 'font-bold',
30
+ 'text-sm',
31
+ titleClass
32
+ ]">
33
+ {{ title }}
34
+ </span>
35
+ </div>
36
+ </CardBody>
37
+ </Card>
38
+ </template>
39
+ <script setup lang="ts">
40
+ // Props
41
+ const props = defineProps({
42
+ scope: {
43
+ type: String as PropType<string>,
44
+ default: 'Scope',
45
+ },
46
+ title: {
47
+ type: String as PropType<string>,
48
+ default: 'Title',
49
+ },
50
+ description: {
51
+ type: String as PropType<string>,
52
+ required: true,
53
+ },
54
+ alignement: {
55
+ type: String as PropType<Align>,
56
+ default: Align.LEFT,
57
+ },
58
+ scopeClass: String as PropType<string>,
59
+ iconClass: String as PropType<string>,
60
+ titleClass: String as PropType<string>,
61
+ })
62
+
63
+ // Computed classes
64
+ const alignClass = computed(() => {
65
+ const variant: Record<Align, string> = {
66
+ [Align.LEFT]: "justify-start",
67
+ [Align.CENTER]: "justify-center",
68
+ [Align.RIGHT]: "justify-end",
69
+ }
70
+
71
+ return variant[props.alignement as Align] || "justify-start"
72
+ })
73
+ </script>
@@ -7,7 +7,8 @@
7
7
  'border-border-neutral-subtle',
8
8
  'text-sm',
9
9
  fitToContent ? 'w-[1%]' : 'w-auto',
10
- to ? 'hover:cursor-pointer' : undefined
10
+ to ? 'hover:cursor-pointer' : undefined,
11
+ noWrap && 'whitespace-nowrap',
11
12
  ]"
12
13
  @click="handleNavigation"
13
14
  >
@@ -23,6 +24,10 @@ const props = defineProps({
23
24
  default: false,
24
25
  },
25
26
  to: String as PropType<string>,
27
+ noWrap: {
28
+ type: Boolean as PropType<boolean>,
29
+ default: false,
30
+ },
26
31
  })
27
32
 
28
33
  // Navigation handler
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imaginario27/air-ui-ds",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "author": "imaginario27",
5
5
  "type": "module",
6
6
  "homepage": "https://air-ui.netlify.app/",