@imaginario27/air-ui-ds 1.9.0 → 1.9.2
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 +22 -0
- package/components/dropzone/Dropzone.vue +0 -2
- package/components/forms/fields/SliderField.vue +0 -2
- package/components/forms/fields/SwitchField.vue +8 -0
- package/components/forms/fields/radio/RadioButtonField.vue +2 -0
- package/components/forms/fields/radio/RadioField.vue +4 -0
- package/components/layouts/headers/ContentPageHeader.vue +3 -1
- package/components/navigation/nav-sidebar/NavSidebar.vue +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ 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.9.1 - 2026-03-31
|
|
9
|
+
|
|
10
|
+
Release type: patch.
|
|
11
|
+
Commits found in range: 1.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
1. add titleClass prop to ContentPageHeader component ([17c3276](https://github.com/imaginario27/air-ui/commit/17c32762b19ac5333e87efad54fcb022a4624c0f))
|
|
16
|
+
|
|
17
|
+
- Package: @imaginario27/air-ui-ds.
|
|
18
|
+
|
|
19
|
+
## 1.9.0 - 2026-03-28
|
|
20
|
+
|
|
21
|
+
Release type: minor.
|
|
22
|
+
Commits found in range: 1.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
1. add new Dropzone and update FileUploadField component ([0be8a1f](https://github.com/imaginario27/air-ui/commit/0be8a1fcf96373f9fbf6e048113cf83b638bb0d4))
|
|
27
|
+
|
|
28
|
+
- Package: @imaginario27/air-ui-ds.
|
|
29
|
+
|
|
8
30
|
## 1.8.0 - 2026-03-28
|
|
9
31
|
|
|
10
32
|
Release type: minor.
|
|
@@ -267,8 +267,6 @@
|
|
|
267
267
|
</template>
|
|
268
268
|
|
|
269
269
|
<script setup lang="ts">
|
|
270
|
-
import type { UploadMeta, UploadStatusType } from '~/models/types/uploads'
|
|
271
|
-
|
|
272
270
|
const DEFAULT_FILE_TYPE_ICON_MAP: Record<string, string> = {
|
|
273
271
|
image: 'mdi:file-image-outline',
|
|
274
272
|
video: 'mdi:file-video-outline',
|
|
@@ -164,6 +164,8 @@ const hasError = computed(() => props.error !== '')
|
|
|
164
164
|
// Computed classes
|
|
165
165
|
const controlFieldSizeClass = computed(() => {
|
|
166
166
|
const sizeVariant = {
|
|
167
|
+
[ControlFieldSize.XS]: 'w-[32px] h-[16px] min-w-[32px] min-h-[16px]',
|
|
168
|
+
[ControlFieldSize.SM]: 'w-[40px] h-[20px] min-w-[40px] min-h-[20px]',
|
|
167
169
|
[ControlFieldSize.MD]: 'w-[44px] h-[24px] min-w-[44px] min-h-[24px]',
|
|
168
170
|
[ControlFieldSize.LG]: 'w-[56px] h-[32px] min-w-[56px] min-h-[32px]',
|
|
169
171
|
}
|
|
@@ -172,6 +174,8 @@ const controlFieldSizeClass = computed(() => {
|
|
|
172
174
|
|
|
173
175
|
const controlFieldHandlerSizeClass = computed(() => {
|
|
174
176
|
const sizeVariant = {
|
|
177
|
+
[ControlFieldSize.XS]: 'w-[12px] h-[12px]',
|
|
178
|
+
[ControlFieldSize.SM]: 'w-[16px] h-[16px]',
|
|
175
179
|
[ControlFieldSize.MD]: 'w-[16px] h-[16px]',
|
|
176
180
|
[ControlFieldSize.LG]: 'w-[24px] h-[24px]',
|
|
177
181
|
}
|
|
@@ -180,6 +184,8 @@ const controlFieldHandlerSizeClass = computed(() => {
|
|
|
180
184
|
|
|
181
185
|
const labelSizeClass = computed(() => {
|
|
182
186
|
const sizeVariant = {
|
|
187
|
+
[ControlFieldSize.XS]: 'text-xs',
|
|
188
|
+
[ControlFieldSize.SM]: 'text-xs',
|
|
183
189
|
[ControlFieldSize.MD]: 'text-sm',
|
|
184
190
|
[ControlFieldSize.LG]: 'text-base',
|
|
185
191
|
}
|
|
@@ -188,6 +194,8 @@ const labelSizeClass = computed(() => {
|
|
|
188
194
|
|
|
189
195
|
const iconSizeClass = computed(() => {
|
|
190
196
|
const sizeVariant = {
|
|
197
|
+
[ControlFieldSize.XS]: 'w-[16px] h-[16px] min-w-[16px] min-h-[16px]',
|
|
198
|
+
[ControlFieldSize.SM]: 'w-[20px] h-[20px] min-w-[20px] min-h-[20px]',
|
|
191
199
|
[ControlFieldSize.MD]: 'w-[20px] h-[20px] min-w-[20px] min-h-[20px]',
|
|
192
200
|
[ControlFieldSize.LG]: 'w-[24px] h-[24px] min-w-[24px] min-h-[24px]',
|
|
193
201
|
}
|
|
@@ -172,6 +172,8 @@ const emit = defineEmits(['update:modelValue', 'validate'])
|
|
|
172
172
|
// Computed classes
|
|
173
173
|
const labelSizeClass = computed(() => {
|
|
174
174
|
const sizeVariant = {
|
|
175
|
+
[ControlFieldSize.XS]: 'text-xs',
|
|
176
|
+
[ControlFieldSize.SM]: 'text-xs',
|
|
175
177
|
[ControlFieldSize.MD]: 'text-sm',
|
|
176
178
|
[ControlFieldSize.LG]: 'text-base',
|
|
177
179
|
}
|
|
@@ -135,6 +135,8 @@ const emit = defineEmits(['update:modelValue', 'validate'])
|
|
|
135
135
|
// Computed classes
|
|
136
136
|
const radioSizeClass = computed(() => {
|
|
137
137
|
const sizeVariant = {
|
|
138
|
+
[ControlFieldSize.XS]: 'w-[16px] h-[16px]',
|
|
139
|
+
[ControlFieldSize.SM]: 'w-[20px] h-[20px]',
|
|
138
140
|
[ControlFieldSize.MD]: 'w-[24px] h-[24px]',
|
|
139
141
|
[ControlFieldSize.LG]: 'w-[32px] h-[32px]',
|
|
140
142
|
}
|
|
@@ -143,6 +145,8 @@ const radioSizeClass = computed(() => {
|
|
|
143
145
|
|
|
144
146
|
const labelSizeClass = computed(() => {
|
|
145
147
|
const sizeVariant = {
|
|
148
|
+
[ControlFieldSize.XS]: 'text-xs',
|
|
149
|
+
[ControlFieldSize.SM]: 'text-xs',
|
|
146
150
|
[ControlFieldSize.MD]: 'text-sm',
|
|
147
151
|
[ControlFieldSize.LG]: 'text-base',
|
|
148
152
|
}
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
'font-semibold',
|
|
40
40
|
'leading-tight',
|
|
41
41
|
'text-text-default',
|
|
42
|
-
'break-all'
|
|
42
|
+
'break-all',
|
|
43
|
+
titleClass,
|
|
43
44
|
]"
|
|
44
45
|
>
|
|
45
46
|
{{ title ? title : pageTitle }}
|
|
@@ -67,6 +68,7 @@ defineProps({
|
|
|
67
68
|
overtitle: String as PropType<string>,
|
|
68
69
|
isOverTitleUppercase: Boolean as PropType<boolean>,
|
|
69
70
|
overtitleClass: String as PropType<string>,
|
|
71
|
+
titleClass: String as PropType<string>,
|
|
70
72
|
showDescription: {
|
|
71
73
|
type: Boolean as PropType<boolean>,
|
|
72
74
|
default: true,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
'flex flex-col items-center gap-6',
|
|
14
14
|
'py-4',
|
|
15
15
|
'border-r border-border-default',
|
|
16
|
-
'transition-all duration-300 ease-in-
|
|
16
|
+
'transition-all duration-300 ease-in-out',
|
|
17
17
|
isMobileSidebarOpen ? 'translate-x-0' : '-translate-x-full',
|
|
18
18
|
'lg:translate-x-0', // Always visible on large screens
|
|
19
19
|
]"
|