@bitrix24/b24ui-nuxt 0.5.7 → 0.5.9
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/.nuxt/b24ui/radio-group.ts +223 -15
- package/.nuxt/b24ui/textarea.ts +43 -0
- package/dist/meta.cjs +475 -97
- package/dist/meta.d.cts +475 -97
- package/dist/meta.d.mts +475 -97
- package/dist/meta.d.ts +475 -97
- package/dist/meta.mjs +475 -97
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue +4 -2
- package/dist/runtime/components/Input.vue +9 -9
- package/dist/runtime/components/InputMenu.vue +2 -1
- package/dist/runtime/components/InputNumber.vue +14 -14
- package/dist/runtime/components/RadioGroup.vue +16 -5
- package/dist/runtime/components/SelectMenu.vue +1 -1
- package/dist/runtime/components/Textarea.vue +65 -29
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/vue/stubs.d.ts +2 -2
- package/dist/shared/{b24ui-nuxt.BsnG7poi.cjs → b24ui-nuxt.BVg3rkkG.cjs} +252 -3
- package/dist/shared/{b24ui-nuxt.CMCKw62O.mjs → b24ui-nuxt.C1lGF53R.mjs} +252 -3
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
|
@@ -4904,7 +4904,7 @@ const radioGroup = {
|
|
|
4904
4904
|
].join(" "),
|
|
4905
4905
|
indicator: " flex items-center justify-center size-full rounded-full after:bg-white dark:after:bg-base-dark after:rounded-full",
|
|
4906
4906
|
container: "flex items-center",
|
|
4907
|
-
wrapper: "font-b24-primary font-regular
|
|
4907
|
+
wrapper: "font-b24-primary font-regular w-full",
|
|
4908
4908
|
label: "cursor-pointer block text-base-master dark:text-base-400",
|
|
4909
4909
|
description: "text-base-500 dark:text-base-600"
|
|
4910
4910
|
},
|
|
@@ -4943,6 +4943,15 @@ const radioGroup = {
|
|
|
4943
4943
|
indicator: "bg-ai-500 dark:bg-ai-600"
|
|
4944
4944
|
}
|
|
4945
4945
|
},
|
|
4946
|
+
variant: {
|
|
4947
|
+
list: {},
|
|
4948
|
+
card: {
|
|
4949
|
+
item: "items-center border border-base-200 dark:border-base-700 rounded-lg"
|
|
4950
|
+
},
|
|
4951
|
+
table: {
|
|
4952
|
+
item: "border border-base-200 dark:border-base-900"
|
|
4953
|
+
}
|
|
4954
|
+
},
|
|
4946
4955
|
orientation: {
|
|
4947
4956
|
horizontal: {
|
|
4948
4957
|
fieldset: "flex-row",
|
|
@@ -4952,6 +4961,20 @@ const radioGroup = {
|
|
|
4952
4961
|
fieldset: "flex-col"
|
|
4953
4962
|
}
|
|
4954
4963
|
},
|
|
4964
|
+
indicator: {
|
|
4965
|
+
start: {
|
|
4966
|
+
item: "flex-row",
|
|
4967
|
+
base: "me-2"
|
|
4968
|
+
},
|
|
4969
|
+
end: {
|
|
4970
|
+
item: "flex-row-reverse",
|
|
4971
|
+
base: "ms-2"
|
|
4972
|
+
},
|
|
4973
|
+
hidden: {
|
|
4974
|
+
base: "sr-only",
|
|
4975
|
+
wrapper: "text-center"
|
|
4976
|
+
}
|
|
4977
|
+
},
|
|
4955
4978
|
size: {
|
|
4956
4979
|
xs: {
|
|
4957
4980
|
fieldset: "gap-1",
|
|
@@ -5002,9 +5025,186 @@ const radioGroup = {
|
|
|
5002
5025
|
}
|
|
5003
5026
|
}
|
|
5004
5027
|
},
|
|
5028
|
+
compoundVariants: [
|
|
5029
|
+
// region size ////
|
|
5030
|
+
{ size: "xs", variant: ["card", "table"], class: { item: "p-2.5" } },
|
|
5031
|
+
{ size: "sm", variant: ["card", "table"], class: { item: "p-3" } },
|
|
5032
|
+
{ size: "md", variant: ["card", "table"], class: { item: "p-3.5" } },
|
|
5033
|
+
{ size: "lg", variant: ["card", "table"], class: { item: "p-4" } },
|
|
5034
|
+
// endregion ////
|
|
5035
|
+
// region orientation/table ////
|
|
5036
|
+
{
|
|
5037
|
+
orientation: "horizontal",
|
|
5038
|
+
variant: "table",
|
|
5039
|
+
class: {
|
|
5040
|
+
item: "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
5041
|
+
fieldset: "gap-0 -space-x-px"
|
|
5042
|
+
}
|
|
5043
|
+
},
|
|
5044
|
+
{
|
|
5045
|
+
orientation: "vertical",
|
|
5046
|
+
variant: "table",
|
|
5047
|
+
class: {
|
|
5048
|
+
item: "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
5049
|
+
fieldset: "gap-0 -space-y-px"
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
// endregion ////
|
|
5053
|
+
// region card ////
|
|
5054
|
+
{
|
|
5055
|
+
color: "default",
|
|
5056
|
+
variant: "card",
|
|
5057
|
+
class: {
|
|
5058
|
+
item: "has-data-[state=checked]:border-base-900 dark:has-data-[state=checked]:border-base-350"
|
|
5059
|
+
}
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
color: "danger",
|
|
5063
|
+
variant: "card",
|
|
5064
|
+
class: {
|
|
5065
|
+
item: "has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600"
|
|
5066
|
+
}
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
color: "success",
|
|
5070
|
+
variant: "card",
|
|
5071
|
+
class: {
|
|
5072
|
+
item: "has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600"
|
|
5073
|
+
}
|
|
5074
|
+
},
|
|
5075
|
+
{
|
|
5076
|
+
color: "warning",
|
|
5077
|
+
variant: "card",
|
|
5078
|
+
class: {
|
|
5079
|
+
item: "has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600"
|
|
5080
|
+
}
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
color: "primary",
|
|
5084
|
+
variant: "card",
|
|
5085
|
+
class: {
|
|
5086
|
+
item: "has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600"
|
|
5087
|
+
}
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
color: "secondary",
|
|
5091
|
+
variant: "card",
|
|
5092
|
+
class: {
|
|
5093
|
+
item: "has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600"
|
|
5094
|
+
}
|
|
5095
|
+
},
|
|
5096
|
+
{
|
|
5097
|
+
color: "collab",
|
|
5098
|
+
variant: "card",
|
|
5099
|
+
class: {
|
|
5100
|
+
item: "has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600"
|
|
5101
|
+
}
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
color: "ai",
|
|
5105
|
+
variant: "card",
|
|
5106
|
+
class: {
|
|
5107
|
+
item: "has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600"
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
// endregion ////
|
|
5111
|
+
// region table ////
|
|
5112
|
+
{
|
|
5113
|
+
color: "default",
|
|
5114
|
+
variant: "table",
|
|
5115
|
+
class: {
|
|
5116
|
+
item: [
|
|
5117
|
+
"has-data-[state=checked]:bg-base-100 dark:has-data-[state=checked]:bg-base-900",
|
|
5118
|
+
"has-data-[state=checked]:border-base-900/25 dark:has-data-[state=checked]:border-base-700/25",
|
|
5119
|
+
"has-data-[state=checked]:z-[1]"
|
|
5120
|
+
].join(" ")
|
|
5121
|
+
}
|
|
5122
|
+
},
|
|
5123
|
+
{
|
|
5124
|
+
color: "danger",
|
|
5125
|
+
variant: "table",
|
|
5126
|
+
class: {
|
|
5127
|
+
item: [
|
|
5128
|
+
"has-data-[state=checked]:bg-red-500/24 dark:has-data-[state=checked]:bg-red-600/24",
|
|
5129
|
+
"has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600",
|
|
5130
|
+
"has-data-[state=checked]:z-[1]"
|
|
5131
|
+
].join(" ")
|
|
5132
|
+
}
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
color: "success",
|
|
5136
|
+
variant: "table",
|
|
5137
|
+
class: {
|
|
5138
|
+
item: [
|
|
5139
|
+
"has-data-[state=checked]:bg-green-500/24 dark:has-data-[state=checked]:bg-green-600/24",
|
|
5140
|
+
"has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600",
|
|
5141
|
+
"has-data-[state=checked]:z-[1]"
|
|
5142
|
+
].join(" ")
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
{
|
|
5146
|
+
color: "warning",
|
|
5147
|
+
variant: "table",
|
|
5148
|
+
class: {
|
|
5149
|
+
item: [
|
|
5150
|
+
"has-data-[state=checked]:bg-orange-500/24 dark:has-data-[state=checked]:bg-orange-600/24",
|
|
5151
|
+
"has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600",
|
|
5152
|
+
"has-data-[state=checked]:z-[1]"
|
|
5153
|
+
].join(" ")
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
color: "primary",
|
|
5158
|
+
variant: "table",
|
|
5159
|
+
class: {
|
|
5160
|
+
item: [
|
|
5161
|
+
"has-data-[state=checked]:bg-blue-500/24 dark:has-data-[state=checked]:bg-blue-600/24",
|
|
5162
|
+
"has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600",
|
|
5163
|
+
"has-data-[state=checked]:z-[1]"
|
|
5164
|
+
].join(" ")
|
|
5165
|
+
}
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
color: "secondary",
|
|
5169
|
+
variant: "table",
|
|
5170
|
+
class: {
|
|
5171
|
+
item: [
|
|
5172
|
+
"has-data-[state=checked]:bg-cyan-500/24 dark:has-data-[state=checked]:bg-cyan-600/24",
|
|
5173
|
+
"has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600",
|
|
5174
|
+
"has-data-[state=checked]:z-[1]"
|
|
5175
|
+
].join(" ")
|
|
5176
|
+
}
|
|
5177
|
+
},
|
|
5178
|
+
{
|
|
5179
|
+
color: "collab",
|
|
5180
|
+
variant: "table",
|
|
5181
|
+
class: {
|
|
5182
|
+
item: [
|
|
5183
|
+
"has-data-[state=checked]:bg-collab-500/24 dark:has-data-[state=checked]:bg-collab-600/24",
|
|
5184
|
+
"has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600",
|
|
5185
|
+
"has-data-[state=checked]:z-[1]"
|
|
5186
|
+
].join(" ")
|
|
5187
|
+
}
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
color: "ai",
|
|
5191
|
+
variant: "table",
|
|
5192
|
+
class: {
|
|
5193
|
+
item: [
|
|
5194
|
+
"has-data-[state=checked]:bg-ai-500/24 dark:has-data-[state=checked]:bg-ai-600/24",
|
|
5195
|
+
"has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600",
|
|
5196
|
+
"has-data-[state=checked]:z-[1]"
|
|
5197
|
+
].join(" ")
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
5200
|
+
// endregion ////
|
|
5201
|
+
],
|
|
5005
5202
|
defaultVariants: {
|
|
5006
5203
|
size: "md",
|
|
5007
|
-
color: "primary"
|
|
5204
|
+
color: "primary",
|
|
5205
|
+
variant: "list",
|
|
5206
|
+
orientation: "vertical",
|
|
5207
|
+
indicator: "start"
|
|
5008
5208
|
}
|
|
5009
5209
|
};
|
|
5010
5210
|
|
|
@@ -6022,6 +6222,12 @@ const textarea = {
|
|
|
6022
6222
|
"font-b24-primary font-regular text-md leading-normal",
|
|
6023
6223
|
"align-middle"
|
|
6024
6224
|
].join(" "),
|
|
6225
|
+
leading: "absolute start-0 flex items-start inset-y-1.5 px-1.5",
|
|
6226
|
+
leadingIcon: "shrink-0 text-base-400 inset-y-1.5 size-lg2",
|
|
6227
|
+
leadingAvatar: "shrink-0",
|
|
6228
|
+
leadingAvatarSize: "xs",
|
|
6229
|
+
trailing: "absolute end-0 flex items-start inset-y-1.5 px-1.5",
|
|
6230
|
+
trailingIcon: "shrink-0 text-base-400 size-lg2",
|
|
6025
6231
|
tag: [
|
|
6026
6232
|
"pointer-events-none select-none",
|
|
6027
6233
|
"absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center",
|
|
@@ -6030,6 +6236,11 @@ const textarea = {
|
|
|
6030
6236
|
},
|
|
6031
6237
|
variants: {
|
|
6032
6238
|
...buttonGroupVariantWithRoot,
|
|
6239
|
+
autoresize: {
|
|
6240
|
+
true: {
|
|
6241
|
+
base: "resize-none"
|
|
6242
|
+
}
|
|
6243
|
+
},
|
|
6033
6244
|
color: {
|
|
6034
6245
|
default: "",
|
|
6035
6246
|
danger: "",
|
|
@@ -6081,6 +6292,15 @@ const textarea = {
|
|
|
6081
6292
|
underline: {
|
|
6082
6293
|
true: "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
|
|
6083
6294
|
},
|
|
6295
|
+
leading: {
|
|
6296
|
+
true: ""
|
|
6297
|
+
},
|
|
6298
|
+
trailing: {
|
|
6299
|
+
true: ""
|
|
6300
|
+
},
|
|
6301
|
+
loading: {
|
|
6302
|
+
true: ""
|
|
6303
|
+
},
|
|
6084
6304
|
highlight: {
|
|
6085
6305
|
true: ""
|
|
6086
6306
|
}
|
|
@@ -6309,8 +6529,37 @@ const textarea = {
|
|
|
6309
6529
|
noBorder: false,
|
|
6310
6530
|
underline: true,
|
|
6311
6531
|
class: "border-b-ai-500 dark:border-b-ai-600"
|
|
6312
|
-
}
|
|
6532
|
+
},
|
|
6533
|
+
// endregion ////
|
|
6534
|
+
// endregion ////
|
|
6535
|
+
// region leading ////
|
|
6536
|
+
{
|
|
6537
|
+
leading: true,
|
|
6538
|
+
class: "ps-8"
|
|
6539
|
+
},
|
|
6313
6540
|
// endregion ////
|
|
6541
|
+
// region trailing ////
|
|
6542
|
+
{
|
|
6543
|
+
trailing: true,
|
|
6544
|
+
class: "pe-8"
|
|
6545
|
+
},
|
|
6546
|
+
// endregion ////
|
|
6547
|
+
// region loading ////
|
|
6548
|
+
{
|
|
6549
|
+
loading: true,
|
|
6550
|
+
leading: true,
|
|
6551
|
+
class: {
|
|
6552
|
+
leadingIcon: "size-[21px]"
|
|
6553
|
+
}
|
|
6554
|
+
},
|
|
6555
|
+
{
|
|
6556
|
+
loading: true,
|
|
6557
|
+
leading: false,
|
|
6558
|
+
trailing: true,
|
|
6559
|
+
class: {
|
|
6560
|
+
trailingIcon: "size-[21px]"
|
|
6561
|
+
}
|
|
6562
|
+
}
|
|
6314
6563
|
// endregion ////
|
|
6315
6564
|
],
|
|
6316
6565
|
defaultVariants: {
|
|
@@ -4902,7 +4902,7 @@ const radioGroup = {
|
|
|
4902
4902
|
].join(" "),
|
|
4903
4903
|
indicator: " flex items-center justify-center size-full rounded-full after:bg-white dark:after:bg-base-dark after:rounded-full",
|
|
4904
4904
|
container: "flex items-center",
|
|
4905
|
-
wrapper: "font-b24-primary font-regular
|
|
4905
|
+
wrapper: "font-b24-primary font-regular w-full",
|
|
4906
4906
|
label: "cursor-pointer block text-base-master dark:text-base-400",
|
|
4907
4907
|
description: "text-base-500 dark:text-base-600"
|
|
4908
4908
|
},
|
|
@@ -4941,6 +4941,15 @@ const radioGroup = {
|
|
|
4941
4941
|
indicator: "bg-ai-500 dark:bg-ai-600"
|
|
4942
4942
|
}
|
|
4943
4943
|
},
|
|
4944
|
+
variant: {
|
|
4945
|
+
list: {},
|
|
4946
|
+
card: {
|
|
4947
|
+
item: "items-center border border-base-200 dark:border-base-700 rounded-lg"
|
|
4948
|
+
},
|
|
4949
|
+
table: {
|
|
4950
|
+
item: "border border-base-200 dark:border-base-900"
|
|
4951
|
+
}
|
|
4952
|
+
},
|
|
4944
4953
|
orientation: {
|
|
4945
4954
|
horizontal: {
|
|
4946
4955
|
fieldset: "flex-row",
|
|
@@ -4950,6 +4959,20 @@ const radioGroup = {
|
|
|
4950
4959
|
fieldset: "flex-col"
|
|
4951
4960
|
}
|
|
4952
4961
|
},
|
|
4962
|
+
indicator: {
|
|
4963
|
+
start: {
|
|
4964
|
+
item: "flex-row",
|
|
4965
|
+
base: "me-2"
|
|
4966
|
+
},
|
|
4967
|
+
end: {
|
|
4968
|
+
item: "flex-row-reverse",
|
|
4969
|
+
base: "ms-2"
|
|
4970
|
+
},
|
|
4971
|
+
hidden: {
|
|
4972
|
+
base: "sr-only",
|
|
4973
|
+
wrapper: "text-center"
|
|
4974
|
+
}
|
|
4975
|
+
},
|
|
4953
4976
|
size: {
|
|
4954
4977
|
xs: {
|
|
4955
4978
|
fieldset: "gap-1",
|
|
@@ -5000,9 +5023,186 @@ const radioGroup = {
|
|
|
5000
5023
|
}
|
|
5001
5024
|
}
|
|
5002
5025
|
},
|
|
5026
|
+
compoundVariants: [
|
|
5027
|
+
// region size ////
|
|
5028
|
+
{ size: "xs", variant: ["card", "table"], class: { item: "p-2.5" } },
|
|
5029
|
+
{ size: "sm", variant: ["card", "table"], class: { item: "p-3" } },
|
|
5030
|
+
{ size: "md", variant: ["card", "table"], class: { item: "p-3.5" } },
|
|
5031
|
+
{ size: "lg", variant: ["card", "table"], class: { item: "p-4" } },
|
|
5032
|
+
// endregion ////
|
|
5033
|
+
// region orientation/table ////
|
|
5034
|
+
{
|
|
5035
|
+
orientation: "horizontal",
|
|
5036
|
+
variant: "table",
|
|
5037
|
+
class: {
|
|
5038
|
+
item: "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
5039
|
+
fieldset: "gap-0 -space-x-px"
|
|
5040
|
+
}
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
orientation: "vertical",
|
|
5044
|
+
variant: "table",
|
|
5045
|
+
class: {
|
|
5046
|
+
item: "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
5047
|
+
fieldset: "gap-0 -space-y-px"
|
|
5048
|
+
}
|
|
5049
|
+
},
|
|
5050
|
+
// endregion ////
|
|
5051
|
+
// region card ////
|
|
5052
|
+
{
|
|
5053
|
+
color: "default",
|
|
5054
|
+
variant: "card",
|
|
5055
|
+
class: {
|
|
5056
|
+
item: "has-data-[state=checked]:border-base-900 dark:has-data-[state=checked]:border-base-350"
|
|
5057
|
+
}
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
color: "danger",
|
|
5061
|
+
variant: "card",
|
|
5062
|
+
class: {
|
|
5063
|
+
item: "has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600"
|
|
5064
|
+
}
|
|
5065
|
+
},
|
|
5066
|
+
{
|
|
5067
|
+
color: "success",
|
|
5068
|
+
variant: "card",
|
|
5069
|
+
class: {
|
|
5070
|
+
item: "has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600"
|
|
5071
|
+
}
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
color: "warning",
|
|
5075
|
+
variant: "card",
|
|
5076
|
+
class: {
|
|
5077
|
+
item: "has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600"
|
|
5078
|
+
}
|
|
5079
|
+
},
|
|
5080
|
+
{
|
|
5081
|
+
color: "primary",
|
|
5082
|
+
variant: "card",
|
|
5083
|
+
class: {
|
|
5084
|
+
item: "has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600"
|
|
5085
|
+
}
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
color: "secondary",
|
|
5089
|
+
variant: "card",
|
|
5090
|
+
class: {
|
|
5091
|
+
item: "has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600"
|
|
5092
|
+
}
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
color: "collab",
|
|
5096
|
+
variant: "card",
|
|
5097
|
+
class: {
|
|
5098
|
+
item: "has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600"
|
|
5099
|
+
}
|
|
5100
|
+
},
|
|
5101
|
+
{
|
|
5102
|
+
color: "ai",
|
|
5103
|
+
variant: "card",
|
|
5104
|
+
class: {
|
|
5105
|
+
item: "has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600"
|
|
5106
|
+
}
|
|
5107
|
+
},
|
|
5108
|
+
// endregion ////
|
|
5109
|
+
// region table ////
|
|
5110
|
+
{
|
|
5111
|
+
color: "default",
|
|
5112
|
+
variant: "table",
|
|
5113
|
+
class: {
|
|
5114
|
+
item: [
|
|
5115
|
+
"has-data-[state=checked]:bg-base-100 dark:has-data-[state=checked]:bg-base-900",
|
|
5116
|
+
"has-data-[state=checked]:border-base-900/25 dark:has-data-[state=checked]:border-base-700/25",
|
|
5117
|
+
"has-data-[state=checked]:z-[1]"
|
|
5118
|
+
].join(" ")
|
|
5119
|
+
}
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
color: "danger",
|
|
5123
|
+
variant: "table",
|
|
5124
|
+
class: {
|
|
5125
|
+
item: [
|
|
5126
|
+
"has-data-[state=checked]:bg-red-500/24 dark:has-data-[state=checked]:bg-red-600/24",
|
|
5127
|
+
"has-data-[state=checked]:border-red-500 dark:has-data-[state=checked]:border-red-600",
|
|
5128
|
+
"has-data-[state=checked]:z-[1]"
|
|
5129
|
+
].join(" ")
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
color: "success",
|
|
5134
|
+
variant: "table",
|
|
5135
|
+
class: {
|
|
5136
|
+
item: [
|
|
5137
|
+
"has-data-[state=checked]:bg-green-500/24 dark:has-data-[state=checked]:bg-green-600/24",
|
|
5138
|
+
"has-data-[state=checked]:border-green-500 dark:has-data-[state=checked]:border-green-600",
|
|
5139
|
+
"has-data-[state=checked]:z-[1]"
|
|
5140
|
+
].join(" ")
|
|
5141
|
+
}
|
|
5142
|
+
},
|
|
5143
|
+
{
|
|
5144
|
+
color: "warning",
|
|
5145
|
+
variant: "table",
|
|
5146
|
+
class: {
|
|
5147
|
+
item: [
|
|
5148
|
+
"has-data-[state=checked]:bg-orange-500/24 dark:has-data-[state=checked]:bg-orange-600/24",
|
|
5149
|
+
"has-data-[state=checked]:border-orange-500 dark:has-data-[state=checked]:border-orange-600",
|
|
5150
|
+
"has-data-[state=checked]:z-[1]"
|
|
5151
|
+
].join(" ")
|
|
5152
|
+
}
|
|
5153
|
+
},
|
|
5154
|
+
{
|
|
5155
|
+
color: "primary",
|
|
5156
|
+
variant: "table",
|
|
5157
|
+
class: {
|
|
5158
|
+
item: [
|
|
5159
|
+
"has-data-[state=checked]:bg-blue-500/24 dark:has-data-[state=checked]:bg-blue-600/24",
|
|
5160
|
+
"has-data-[state=checked]:border-blue-500 dark:has-data-[state=checked]:border-blue-600",
|
|
5161
|
+
"has-data-[state=checked]:z-[1]"
|
|
5162
|
+
].join(" ")
|
|
5163
|
+
}
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
color: "secondary",
|
|
5167
|
+
variant: "table",
|
|
5168
|
+
class: {
|
|
5169
|
+
item: [
|
|
5170
|
+
"has-data-[state=checked]:bg-cyan-500/24 dark:has-data-[state=checked]:bg-cyan-600/24",
|
|
5171
|
+
"has-data-[state=checked]:border-cyan-500 dark:has-data-[state=checked]:border-cyan-600",
|
|
5172
|
+
"has-data-[state=checked]:z-[1]"
|
|
5173
|
+
].join(" ")
|
|
5174
|
+
}
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
color: "collab",
|
|
5178
|
+
variant: "table",
|
|
5179
|
+
class: {
|
|
5180
|
+
item: [
|
|
5181
|
+
"has-data-[state=checked]:bg-collab-500/24 dark:has-data-[state=checked]:bg-collab-600/24",
|
|
5182
|
+
"has-data-[state=checked]:border-collab-500 dark:has-data-[state=checked]:border-collab-600",
|
|
5183
|
+
"has-data-[state=checked]:z-[1]"
|
|
5184
|
+
].join(" ")
|
|
5185
|
+
}
|
|
5186
|
+
},
|
|
5187
|
+
{
|
|
5188
|
+
color: "ai",
|
|
5189
|
+
variant: "table",
|
|
5190
|
+
class: {
|
|
5191
|
+
item: [
|
|
5192
|
+
"has-data-[state=checked]:bg-ai-500/24 dark:has-data-[state=checked]:bg-ai-600/24",
|
|
5193
|
+
"has-data-[state=checked]:border-ai-500 dark:has-data-[state=checked]:border-ai-600",
|
|
5194
|
+
"has-data-[state=checked]:z-[1]"
|
|
5195
|
+
].join(" ")
|
|
5196
|
+
}
|
|
5197
|
+
}
|
|
5198
|
+
// endregion ////
|
|
5199
|
+
],
|
|
5003
5200
|
defaultVariants: {
|
|
5004
5201
|
size: "md",
|
|
5005
|
-
color: "primary"
|
|
5202
|
+
color: "primary",
|
|
5203
|
+
variant: "list",
|
|
5204
|
+
orientation: "vertical",
|
|
5205
|
+
indicator: "start"
|
|
5006
5206
|
}
|
|
5007
5207
|
};
|
|
5008
5208
|
|
|
@@ -6020,6 +6220,12 @@ const textarea = {
|
|
|
6020
6220
|
"font-b24-primary font-regular text-md leading-normal",
|
|
6021
6221
|
"align-middle"
|
|
6022
6222
|
].join(" "),
|
|
6223
|
+
leading: "absolute start-0 flex items-start inset-y-1.5 px-1.5",
|
|
6224
|
+
leadingIcon: "shrink-0 text-base-400 inset-y-1.5 size-lg2",
|
|
6225
|
+
leadingAvatar: "shrink-0",
|
|
6226
|
+
leadingAvatarSize: "xs",
|
|
6227
|
+
trailing: "absolute end-0 flex items-start inset-y-1.5 px-1.5",
|
|
6228
|
+
trailingIcon: "shrink-0 text-base-400 size-lg2",
|
|
6023
6229
|
tag: [
|
|
6024
6230
|
"pointer-events-none select-none",
|
|
6025
6231
|
"absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center",
|
|
@@ -6028,6 +6234,11 @@ const textarea = {
|
|
|
6028
6234
|
},
|
|
6029
6235
|
variants: {
|
|
6030
6236
|
...buttonGroupVariantWithRoot,
|
|
6237
|
+
autoresize: {
|
|
6238
|
+
true: {
|
|
6239
|
+
base: "resize-none"
|
|
6240
|
+
}
|
|
6241
|
+
},
|
|
6031
6242
|
color: {
|
|
6032
6243
|
default: "",
|
|
6033
6244
|
danger: "",
|
|
@@ -6079,6 +6290,15 @@ const textarea = {
|
|
|
6079
6290
|
underline: {
|
|
6080
6291
|
true: "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
|
|
6081
6292
|
},
|
|
6293
|
+
leading: {
|
|
6294
|
+
true: ""
|
|
6295
|
+
},
|
|
6296
|
+
trailing: {
|
|
6297
|
+
true: ""
|
|
6298
|
+
},
|
|
6299
|
+
loading: {
|
|
6300
|
+
true: ""
|
|
6301
|
+
},
|
|
6082
6302
|
highlight: {
|
|
6083
6303
|
true: ""
|
|
6084
6304
|
}
|
|
@@ -6307,8 +6527,37 @@ const textarea = {
|
|
|
6307
6527
|
noBorder: false,
|
|
6308
6528
|
underline: true,
|
|
6309
6529
|
class: "border-b-ai-500 dark:border-b-ai-600"
|
|
6310
|
-
}
|
|
6530
|
+
},
|
|
6531
|
+
// endregion ////
|
|
6532
|
+
// endregion ////
|
|
6533
|
+
// region leading ////
|
|
6534
|
+
{
|
|
6535
|
+
leading: true,
|
|
6536
|
+
class: "ps-8"
|
|
6537
|
+
},
|
|
6311
6538
|
// endregion ////
|
|
6539
|
+
// region trailing ////
|
|
6540
|
+
{
|
|
6541
|
+
trailing: true,
|
|
6542
|
+
class: "pe-8"
|
|
6543
|
+
},
|
|
6544
|
+
// endregion ////
|
|
6545
|
+
// region loading ////
|
|
6546
|
+
{
|
|
6547
|
+
loading: true,
|
|
6548
|
+
leading: true,
|
|
6549
|
+
class: {
|
|
6550
|
+
leadingIcon: "size-[21px]"
|
|
6551
|
+
}
|
|
6552
|
+
},
|
|
6553
|
+
{
|
|
6554
|
+
loading: true,
|
|
6555
|
+
leading: false,
|
|
6556
|
+
trailing: true,
|
|
6557
|
+
class: {
|
|
6558
|
+
trailingIcon: "size-[21px]"
|
|
6559
|
+
}
|
|
6560
|
+
}
|
|
6312
6561
|
// endregion ////
|
|
6313
6562
|
],
|
|
6314
6563
|
defaultVariants: {
|
package/dist/unplugin.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const pathe = require('pathe');
|
|
|
5
5
|
const unplugin = require('unplugin');
|
|
6
6
|
const defu = require('defu');
|
|
7
7
|
const tailwind = require('@tailwindcss/vite');
|
|
8
|
-
const templates = require('./shared/b24ui-nuxt.
|
|
8
|
+
const templates = require('./shared/b24ui-nuxt.BVg3rkkG.cjs');
|
|
9
9
|
const tinyglobby = require('tinyglobby');
|
|
10
10
|
const knitwork = require('knitwork');
|
|
11
11
|
const MagicString = require('magic-string');
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.C1lGF53R.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.cjs
CHANGED
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrix24/b24ui-nuxt",
|
|
3
3
|
"description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.9",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"@bitrix24/b24style": "^1.0.1",
|
|
73
73
|
"@internationalized/date": "^3.7.0",
|
|
74
74
|
"@internationalized/number": "^3.6.0",
|
|
75
|
-
"@nuxt/kit": "^3.16.
|
|
76
|
-
"@nuxt/schema": "^3.16.
|
|
75
|
+
"@nuxt/kit": "^3.16.2",
|
|
76
|
+
"@nuxt/schema": "^3.16.2",
|
|
77
77
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
78
78
|
"@standard-schema/spec": "^1.0.0",
|
|
79
79
|
"@tailwindcss/postcss": "^4.0.17",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"vue-router": "^4.5.0"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@nuxt/eslint-config": "^1.
|
|
116
|
+
"@nuxt/eslint-config": "^1.3.0",
|
|
117
117
|
"@nuxt/module-builder": "^0.8.4",
|
|
118
118
|
"@nuxt/test-utils": "^3.17.2",
|
|
119
119
|
"@types/canvas-confetti": "^1.9.0",
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
"embla-carousel": "^8.5.2",
|
|
122
122
|
"eslint": "^9.23.0",
|
|
123
123
|
"happy-dom": "^17.4.4",
|
|
124
|
-
"nuxt": "^3.16.
|
|
124
|
+
"nuxt": "^3.16.2",
|
|
125
125
|
"nuxt-component-meta": "^0.10.0",
|
|
126
126
|
"vitepress": "^1.5.0",
|
|
127
|
-
"vitest": "^3.
|
|
127
|
+
"vitest": "^3.1.1",
|
|
128
128
|
"vitest-environment-nuxt": "^1.0.1",
|
|
129
129
|
"vue-tsc": "^2.2.0"
|
|
130
130
|
},
|