vueless 0.0.682 → 0.0.684
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 +1 -1
- package/ui.container-modal/config.ts +1 -1
- package/ui.dropdown-list/config.ts +2 -2
- package/ui.form-date-picker-range/UDatePickerRangePeriodMenu.vue +4 -1
- package/ui.form-label/config.ts +3 -3
- package/ui.form-label/storybook/stories.ts +1 -1
- package/ui.text-notify/config.ts +1 -1
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export default /*tw*/ {
|
|
|
34
34
|
footerLeft: "flex flex-col md:flex-row space-y-4 md:space-x-4 md:space-y-0 w-full",
|
|
35
35
|
footerRight: "flex flex-col md:flex-row space-y-4 md:space-x-4 md:space-y-0 w-full justify-end",
|
|
36
36
|
modal: {
|
|
37
|
-
base: "mx-auto rounded-
|
|
37
|
+
base: "mx-auto rounded-dynamic-lg bg-white",
|
|
38
38
|
variants: {
|
|
39
39
|
size: {
|
|
40
40
|
xs: "md:w-[25rem]",
|
|
@@ -9,7 +9,7 @@ export default /*tw*/ {
|
|
|
9
9
|
listItem: "group/item block",
|
|
10
10
|
option: {
|
|
11
11
|
base: `
|
|
12
|
-
rounded px-2 py-2.5 flex items-center align-middle whitespace-nowrap cursor-pointer
|
|
12
|
+
rounded-dynamic-sm px-2 py-2.5 flex items-center align-middle whitespace-nowrap cursor-pointer
|
|
13
13
|
font-normal !leading-none text-gray-900
|
|
14
14
|
hover:bg-brand-50 active:bg-brand-100
|
|
15
15
|
overflow-hidden text-ellipsis
|
|
@@ -25,7 +25,7 @@ export default /*tw*/ {
|
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
},
|
|
28
|
-
optionActive: "{>option} font-
|
|
28
|
+
optionActive: "{>option} font-semibold bg-brand-100 hover:bg-brand-100 text-brand-600",
|
|
29
29
|
optionHighlighted: "bg-brand-50",
|
|
30
30
|
optionContent: "overflow-visible text-ellipsis",
|
|
31
31
|
groupBase: {
|
|
@@ -261,7 +261,10 @@ function getDatePeriodState(date: DatePeriodRange) {
|
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
263
|
<div v-if="isDatePeriodOutOfRange" v-bind="attrs.periodDateListAttrs.value">
|
|
264
|
-
<template
|
|
264
|
+
<template
|
|
265
|
+
v-for="date in periodDateList"
|
|
266
|
+
:key="date.title + date.startRange.toISOString() + date.endRange.toISOString()"
|
|
267
|
+
>
|
|
265
268
|
<UButton
|
|
266
269
|
v-if="getDatePeriodState(date).isSelected && getDatePeriodState(date).isCurrentDate"
|
|
267
270
|
filled
|
package/ui.form-label/config.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
wrapper: {
|
|
3
|
-
base: "flex w-full",
|
|
3
|
+
base: "flex w-full group",
|
|
4
4
|
variants: {
|
|
5
5
|
align: {
|
|
6
6
|
topInside: "flex-col gap-0 relative",
|
|
@@ -24,7 +24,7 @@ export default /*tw*/ {
|
|
|
24
24
|
},
|
|
25
25
|
content: "flex",
|
|
26
26
|
label: {
|
|
27
|
-
base: "text-gray-900 z-10 block !leading-none w-max",
|
|
27
|
+
base: "text-gray-900 z-10 block !leading-none w-max transition",
|
|
28
28
|
variants: {
|
|
29
29
|
size: {
|
|
30
30
|
sm: "text-xs",
|
|
@@ -33,7 +33,7 @@ export default /*tw*/ {
|
|
|
33
33
|
},
|
|
34
34
|
align: {
|
|
35
35
|
top: "font-medium",
|
|
36
|
-
topInside: "font-normal absolute left-3 text-gray-500",
|
|
36
|
+
topInside: "font-normal absolute left-3 text-gray-500 group-focus-within:text-brand-500",
|
|
37
37
|
topWithDesc: "font-medium",
|
|
38
38
|
left: "font-normal",
|
|
39
39
|
right: "font-normal",
|
|
@@ -84,7 +84,7 @@ const EnumVariantTemplate: StoryFn<ULabelArgs> = (args: ULabelArgs, { argTypes }
|
|
|
84
84
|
:key="index"
|
|
85
85
|
v-bind="args"
|
|
86
86
|
:[args.enum]="option"
|
|
87
|
-
class="border border-gray-200 rounded p-4"
|
|
87
|
+
class="border border-gray-200 rounded-dynamic-sm p-4"
|
|
88
88
|
>
|
|
89
89
|
<UText :[args.enum]="option">
|
|
90
90
|
{{ prefixedOptions[index] }}
|
package/ui.text-notify/config.ts
CHANGED
|
@@ -8,7 +8,7 @@ export default /*tw*/ {
|
|
|
8
8
|
leaveToClass: "opacity-0",
|
|
9
9
|
},
|
|
10
10
|
body: `
|
|
11
|
-
mb-3 flex w-full items-center justify-center gap-3 rounded-
|
|
11
|
+
mb-3 flex w-full items-center justify-center gap-3 rounded-dynamic-lg bg-gray-900/90
|
|
12
12
|
p-4 shadow-[0_4px_16px_rgba(17,24,39,0.5)] backdrop-blur-md md:shadow-[0_0px_12px_rgba(0,0,0,0.25)]
|
|
13
13
|
`,
|
|
14
14
|
bodySuccess: "{>body} bg-[radial-gradient(100.16%_500.78%_at_0%_50%,rgba(74,222,128,0.1)_2.17%,transparent)]",
|