@bitrix24/b24ui-nuxt 0.4.6 → 0.4.7
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/dropdown-menu.ts +1 -1
- package/.nuxt/b24ui/index.ts +1 -0
- package/.nuxt/b24ui/popover.ts +6 -0
- package/dist/meta.cjs +306 -8
- package/dist/meta.d.cts +306 -8
- package/dist/meta.d.mts +306 -8
- package/dist/meta.d.ts +306 -8
- package/dist/meta.mjs +306 -8
- package/dist/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Form.vue +5 -5
- package/dist/runtime/components/FormField.vue +1 -1
- package/dist/runtime/components/Popover.vue +105 -0
- package/dist/runtime/plugins/colors.js +3 -1
- package/dist/runtime/types/form.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/vue/stubs.d.ts +2 -4
- package/dist/runtime/vue/stubs.js +2 -1
- package/dist/shared/{b24ui-nuxt.BiEJAB1L.mjs → b24ui-nuxt.CPOPpSQq.mjs} +14 -1
- package/dist/shared/{b24ui-nuxt.yyScbwpE.cjs → b24ui-nuxt.lbv7ybxH.cjs} +14 -1
- 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 +2 -2
|
@@ -18,7 +18,7 @@ const size = [
|
|
|
18
18
|
|
|
19
19
|
export default {
|
|
20
20
|
"slots": {
|
|
21
|
-
"content": "min-w-32 bg-white dark:bg-base-dark shadow-lg rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-y-auto data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 pointer-events-auto",
|
|
21
|
+
"content": "min-w-32 bg-white dark:bg-base-dark shadow-lg rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-y-auto motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 pointer-events-auto",
|
|
22
22
|
"arrow": "fill-base-master/10 dark:fill-base-100/20",
|
|
23
23
|
"group": "p-1 isolate",
|
|
24
24
|
"label": "w-full flex items-center font-semibold text-base-900 dark:text-base-200",
|
package/.nuxt/b24ui/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { default as inputNumber } from './input-number'
|
|
|
19
19
|
export { default as kbd } from './kbd'
|
|
20
20
|
export { default as link } from './link'
|
|
21
21
|
export { default as modal } from './modal'
|
|
22
|
+
export { default as popover } from './popover'
|
|
22
23
|
export { default as progress } from './progress'
|
|
23
24
|
export { default as radioGroup } from './radio-group'
|
|
24
25
|
export { default as range } from './range'
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"content": "bg-white dark:bg-base-dark shadow-lg rounded-2xs ring ring-base-300 dark:ring-base-800 motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] focus:outline-none pointer-events-auto",
|
|
4
|
+
"arrow": "fill-white dark:fill-base-dark stroke-base-300 dark:stroke-base-300"
|
|
5
|
+
}
|
|
6
|
+
}
|
package/dist/meta.cjs
CHANGED
|
@@ -18134,15 +18134,15 @@ const B24UIMeta = {
|
|
|
18134
18134
|
}
|
|
18135
18135
|
],
|
|
18136
18136
|
"required": false,
|
|
18137
|
-
"type": "\"start\" | \"
|
|
18137
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18138
18138
|
"schema": {
|
|
18139
18139
|
"kind": "enum",
|
|
18140
|
-
"type": "\"start\" | \"
|
|
18140
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18141
18141
|
"schema": {
|
|
18142
18142
|
"0": "undefined",
|
|
18143
18143
|
"1": "\"start\"",
|
|
18144
|
-
"2": "\"
|
|
18145
|
-
"3": "\"
|
|
18144
|
+
"2": "\"center\"",
|
|
18145
|
+
"3": "\"end\""
|
|
18146
18146
|
}
|
|
18147
18147
|
}
|
|
18148
18148
|
},
|
|
@@ -18706,17 +18706,33 @@ const B24UIMeta = {
|
|
|
18706
18706
|
"slots": [
|
|
18707
18707
|
{
|
|
18708
18708
|
"name": "default",
|
|
18709
|
-
"type": "{} | undefined",
|
|
18709
|
+
"type": "{ errors: FormError<string>[]; } | undefined",
|
|
18710
18710
|
"description": "",
|
|
18711
18711
|
"schema": {
|
|
18712
18712
|
"kind": "enum",
|
|
18713
|
-
"type": "{} | undefined",
|
|
18713
|
+
"type": "{ errors: FormError<string>[]; } | undefined",
|
|
18714
18714
|
"schema": {
|
|
18715
18715
|
"0": "undefined",
|
|
18716
18716
|
"1": {
|
|
18717
18717
|
"kind": "object",
|
|
18718
|
-
"type": "{}",
|
|
18719
|
-
"schema": {
|
|
18718
|
+
"type": "{ errors: FormError<string>[]; }",
|
|
18719
|
+
"schema": {
|
|
18720
|
+
"errors": {
|
|
18721
|
+
"name": "errors",
|
|
18722
|
+
"global": false,
|
|
18723
|
+
"description": "",
|
|
18724
|
+
"tags": [],
|
|
18725
|
+
"required": true,
|
|
18726
|
+
"type": "FormError<string>[]",
|
|
18727
|
+
"schema": {
|
|
18728
|
+
"kind": "array",
|
|
18729
|
+
"type": "FormError<string>[]",
|
|
18730
|
+
"schema": {
|
|
18731
|
+
"0": "FormError<string>"
|
|
18732
|
+
}
|
|
18733
|
+
}
|
|
18734
|
+
}
|
|
18735
|
+
}
|
|
18720
18736
|
}
|
|
18721
18737
|
}
|
|
18722
18738
|
}
|
|
@@ -29697,6 +29713,288 @@ const B24UIMeta = {
|
|
|
29697
29713
|
"exposed": []
|
|
29698
29714
|
}
|
|
29699
29715
|
},
|
|
29716
|
+
"B24Popover": {
|
|
29717
|
+
"mode": "all",
|
|
29718
|
+
"prefetch": false,
|
|
29719
|
+
"preload": false,
|
|
29720
|
+
"pascalName": "B24Popover",
|
|
29721
|
+
"kebabName": "b24-popover",
|
|
29722
|
+
"chunkName": "components/b24-popover",
|
|
29723
|
+
"priority": 0,
|
|
29724
|
+
"_scanned": true,
|
|
29725
|
+
"meta": {
|
|
29726
|
+
"type": 0,
|
|
29727
|
+
"props": [
|
|
29728
|
+
{
|
|
29729
|
+
"name": "mode",
|
|
29730
|
+
"global": false,
|
|
29731
|
+
"description": "The display mode of the popover.",
|
|
29732
|
+
"tags": [
|
|
29733
|
+
{
|
|
29734
|
+
"name": "defaultValue",
|
|
29735
|
+
"text": "'click'"
|
|
29736
|
+
}
|
|
29737
|
+
],
|
|
29738
|
+
"required": false,
|
|
29739
|
+
"type": "\"click\" | \"hover\" | undefined",
|
|
29740
|
+
"schema": {
|
|
29741
|
+
"kind": "enum",
|
|
29742
|
+
"type": "\"click\" | \"hover\" | undefined",
|
|
29743
|
+
"schema": {
|
|
29744
|
+
"0": "undefined",
|
|
29745
|
+
"1": "\"click\"",
|
|
29746
|
+
"2": "\"hover\""
|
|
29747
|
+
}
|
|
29748
|
+
},
|
|
29749
|
+
"default": "\"click\""
|
|
29750
|
+
},
|
|
29751
|
+
{
|
|
29752
|
+
"name": "content",
|
|
29753
|
+
"global": false,
|
|
29754
|
+
"description": "The content of the popover.",
|
|
29755
|
+
"tags": [
|
|
29756
|
+
{
|
|
29757
|
+
"name": "defaultValue",
|
|
29758
|
+
"text": "{ side: 'bottom', sideOffset: 8, collisionPadding: 8 }"
|
|
29759
|
+
}
|
|
29760
|
+
],
|
|
29761
|
+
"required": false,
|
|
29762
|
+
"type": "Omit<PopoverContentProps, \"as\" | \"asChild\" | \"forceMount\"> | undefined",
|
|
29763
|
+
"schema": {
|
|
29764
|
+
"kind": "enum",
|
|
29765
|
+
"type": "Omit<PopoverContentProps, \"as\" | \"asChild\" | \"forceMount\"> | undefined",
|
|
29766
|
+
"schema": {
|
|
29767
|
+
"0": "undefined",
|
|
29768
|
+
"1": "Omit<PopoverContentProps, \"as\" | \"asChild\" | \"forceMount\">"
|
|
29769
|
+
}
|
|
29770
|
+
}
|
|
29771
|
+
},
|
|
29772
|
+
{
|
|
29773
|
+
"name": "arrow",
|
|
29774
|
+
"global": false,
|
|
29775
|
+
"description": "Display an arrow alongside the popover.",
|
|
29776
|
+
"tags": [
|
|
29777
|
+
{
|
|
29778
|
+
"name": "defaultValue",
|
|
29779
|
+
"text": "false"
|
|
29780
|
+
}
|
|
29781
|
+
],
|
|
29782
|
+
"required": false,
|
|
29783
|
+
"type": "boolean | Omit<PopoverArrowProps, \"as\" | \"asChild\"> | undefined",
|
|
29784
|
+
"schema": {
|
|
29785
|
+
"kind": "enum",
|
|
29786
|
+
"type": "boolean | Omit<PopoverArrowProps, \"as\" | \"asChild\"> | undefined",
|
|
29787
|
+
"schema": {
|
|
29788
|
+
"0": "undefined",
|
|
29789
|
+
"1": "false",
|
|
29790
|
+
"2": "true",
|
|
29791
|
+
"3": "Omit<PopoverArrowProps, \"as\" | \"asChild\">"
|
|
29792
|
+
}
|
|
29793
|
+
}
|
|
29794
|
+
},
|
|
29795
|
+
{
|
|
29796
|
+
"name": "portal",
|
|
29797
|
+
"global": false,
|
|
29798
|
+
"description": "Render the popover in a portal.",
|
|
29799
|
+
"tags": [
|
|
29800
|
+
{
|
|
29801
|
+
"name": "defaultValue",
|
|
29802
|
+
"text": "true"
|
|
29803
|
+
}
|
|
29804
|
+
],
|
|
29805
|
+
"required": false,
|
|
29806
|
+
"type": "boolean | undefined",
|
|
29807
|
+
"schema": {
|
|
29808
|
+
"kind": "enum",
|
|
29809
|
+
"type": "boolean | undefined",
|
|
29810
|
+
"schema": {
|
|
29811
|
+
"0": "undefined",
|
|
29812
|
+
"1": "false",
|
|
29813
|
+
"2": "true"
|
|
29814
|
+
}
|
|
29815
|
+
},
|
|
29816
|
+
"default": "true"
|
|
29817
|
+
},
|
|
29818
|
+
{
|
|
29819
|
+
"name": "dismissible",
|
|
29820
|
+
"global": false,
|
|
29821
|
+
"description": "When `false`, the popover will not close when clicking outside or pressing escape.",
|
|
29822
|
+
"tags": [
|
|
29823
|
+
{
|
|
29824
|
+
"name": "defaultValue",
|
|
29825
|
+
"text": "true"
|
|
29826
|
+
}
|
|
29827
|
+
],
|
|
29828
|
+
"required": false,
|
|
29829
|
+
"type": "boolean | undefined",
|
|
29830
|
+
"schema": {
|
|
29831
|
+
"kind": "enum",
|
|
29832
|
+
"type": "boolean | undefined",
|
|
29833
|
+
"schema": {
|
|
29834
|
+
"0": "undefined",
|
|
29835
|
+
"1": "false",
|
|
29836
|
+
"2": "true"
|
|
29837
|
+
}
|
|
29838
|
+
},
|
|
29839
|
+
"default": "true"
|
|
29840
|
+
},
|
|
29841
|
+
{
|
|
29842
|
+
"name": "b24ui",
|
|
29843
|
+
"global": false,
|
|
29844
|
+
"description": "",
|
|
29845
|
+
"tags": [],
|
|
29846
|
+
"required": false,
|
|
29847
|
+
"type": "Partial<{ content: string; arrow: string; }> | undefined",
|
|
29848
|
+
"schema": {
|
|
29849
|
+
"kind": "enum",
|
|
29850
|
+
"type": "Partial<{ content: string; arrow: string; }> | undefined",
|
|
29851
|
+
"schema": {
|
|
29852
|
+
"0": "undefined",
|
|
29853
|
+
"1": "Partial<{ content: string; arrow: string; }>"
|
|
29854
|
+
}
|
|
29855
|
+
}
|
|
29856
|
+
},
|
|
29857
|
+
{
|
|
29858
|
+
"name": "defaultOpen",
|
|
29859
|
+
"global": false,
|
|
29860
|
+
"description": "The open state of the popover when it is initially rendered. Use when you do not need to control its open state.",
|
|
29861
|
+
"tags": [],
|
|
29862
|
+
"required": false,
|
|
29863
|
+
"type": "boolean | undefined",
|
|
29864
|
+
"schema": {
|
|
29865
|
+
"kind": "enum",
|
|
29866
|
+
"type": "boolean | undefined",
|
|
29867
|
+
"schema": {
|
|
29868
|
+
"0": "undefined",
|
|
29869
|
+
"1": "false",
|
|
29870
|
+
"2": "true"
|
|
29871
|
+
}
|
|
29872
|
+
}
|
|
29873
|
+
},
|
|
29874
|
+
{
|
|
29875
|
+
"name": "open",
|
|
29876
|
+
"global": false,
|
|
29877
|
+
"description": "The controlled open state of the popover.",
|
|
29878
|
+
"tags": [],
|
|
29879
|
+
"required": false,
|
|
29880
|
+
"type": "boolean | undefined",
|
|
29881
|
+
"schema": {
|
|
29882
|
+
"kind": "enum",
|
|
29883
|
+
"type": "boolean | undefined",
|
|
29884
|
+
"schema": {
|
|
29885
|
+
"0": "undefined",
|
|
29886
|
+
"1": "false",
|
|
29887
|
+
"2": "true"
|
|
29888
|
+
}
|
|
29889
|
+
}
|
|
29890
|
+
},
|
|
29891
|
+
{
|
|
29892
|
+
"name": "modal",
|
|
29893
|
+
"global": false,
|
|
29894
|
+
"description": "The modality of the popover. When set to true, interaction with outside elements will be disabled and only popover content will be visible to screen readers.",
|
|
29895
|
+
"tags": [
|
|
29896
|
+
{
|
|
29897
|
+
"name": "defaultValue",
|
|
29898
|
+
"text": "false"
|
|
29899
|
+
}
|
|
29900
|
+
],
|
|
29901
|
+
"required": false,
|
|
29902
|
+
"type": "boolean | undefined",
|
|
29903
|
+
"schema": {
|
|
29904
|
+
"kind": "enum",
|
|
29905
|
+
"type": "boolean | undefined",
|
|
29906
|
+
"schema": {
|
|
29907
|
+
"0": "undefined",
|
|
29908
|
+
"1": "false",
|
|
29909
|
+
"2": "true"
|
|
29910
|
+
}
|
|
29911
|
+
}
|
|
29912
|
+
},
|
|
29913
|
+
{
|
|
29914
|
+
"name": "openDelay",
|
|
29915
|
+
"global": false,
|
|
29916
|
+
"description": "The duration from when the mouse enters the trigger until the hover card opens.",
|
|
29917
|
+
"tags": [],
|
|
29918
|
+
"required": false,
|
|
29919
|
+
"type": "number | undefined",
|
|
29920
|
+
"schema": {
|
|
29921
|
+
"kind": "enum",
|
|
29922
|
+
"type": "number | undefined",
|
|
29923
|
+
"schema": {
|
|
29924
|
+
"0": "undefined",
|
|
29925
|
+
"1": "number"
|
|
29926
|
+
}
|
|
29927
|
+
},
|
|
29928
|
+
"default": "0"
|
|
29929
|
+
},
|
|
29930
|
+
{
|
|
29931
|
+
"name": "closeDelay",
|
|
29932
|
+
"global": false,
|
|
29933
|
+
"description": "The duration from when the mouse leaves the trigger or content until the hover card closes.",
|
|
29934
|
+
"tags": [],
|
|
29935
|
+
"required": false,
|
|
29936
|
+
"type": "number | undefined",
|
|
29937
|
+
"schema": {
|
|
29938
|
+
"kind": "enum",
|
|
29939
|
+
"type": "number | undefined",
|
|
29940
|
+
"schema": {
|
|
29941
|
+
"0": "undefined",
|
|
29942
|
+
"1": "number"
|
|
29943
|
+
}
|
|
29944
|
+
},
|
|
29945
|
+
"default": "0"
|
|
29946
|
+
}
|
|
29947
|
+
],
|
|
29948
|
+
"slots": [
|
|
29949
|
+
{
|
|
29950
|
+
"name": "default",
|
|
29951
|
+
"type": "{ open: boolean; }",
|
|
29952
|
+
"description": "",
|
|
29953
|
+
"schema": {
|
|
29954
|
+
"kind": "object",
|
|
29955
|
+
"type": "{ open: boolean; }",
|
|
29956
|
+
"schema": {
|
|
29957
|
+
"open": {
|
|
29958
|
+
"name": "open",
|
|
29959
|
+
"global": false,
|
|
29960
|
+
"description": "",
|
|
29961
|
+
"tags": [],
|
|
29962
|
+
"required": true,
|
|
29963
|
+
"type": "boolean",
|
|
29964
|
+
"schema": {
|
|
29965
|
+
"kind": "enum",
|
|
29966
|
+
"type": "boolean",
|
|
29967
|
+
"schema": {
|
|
29968
|
+
"0": "false",
|
|
29969
|
+
"1": "true"
|
|
29970
|
+
}
|
|
29971
|
+
}
|
|
29972
|
+
}
|
|
29973
|
+
}
|
|
29974
|
+
}
|
|
29975
|
+
},
|
|
29976
|
+
{
|
|
29977
|
+
"name": "content",
|
|
29978
|
+
"type": "{} | undefined",
|
|
29979
|
+
"description": "",
|
|
29980
|
+
"schema": {
|
|
29981
|
+
"kind": "enum",
|
|
29982
|
+
"type": "{} | undefined",
|
|
29983
|
+
"schema": {
|
|
29984
|
+
"0": "undefined",
|
|
29985
|
+
"1": {
|
|
29986
|
+
"kind": "object",
|
|
29987
|
+
"type": "{}",
|
|
29988
|
+
"schema": {}
|
|
29989
|
+
}
|
|
29990
|
+
}
|
|
29991
|
+
}
|
|
29992
|
+
}
|
|
29993
|
+
],
|
|
29994
|
+
"events": [],
|
|
29995
|
+
"exposed": []
|
|
29996
|
+
}
|
|
29997
|
+
},
|
|
29700
29998
|
"B24Progress": {
|
|
29701
29999
|
"mode": "all",
|
|
29702
30000
|
"prefetch": false,
|