@bigbinary/neeto-atoms 1.0.16 → 1.0.17
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/dist/{Calendar-pDD7nRF-.js → Calendar-DDPQHHat.js} +2 -2
- package/dist/{Calendar-pDD7nRF-.js.map → Calendar-DDPQHHat.js.map} +1 -1
- package/dist/{DatePicker-COxwHPIZ.js → DatePicker-BNvWbsL-.js} +2 -2
- package/dist/{DatePicker-COxwHPIZ.js.map → DatePicker-BNvWbsL-.js.map} +1 -1
- package/dist/{Dialog-BURSzxaP.js → Dialog-B2dcw0Zz.js} +2 -2
- package/dist/Dialog-B2dcw0Zz.js.map +1 -0
- package/dist/{Sheet-QFC_mHyj.js → Sheet-Euk-9qwX.js} +2 -2
- package/dist/Sheet-Euk-9qwX.js.map +1 -0
- package/dist/{TreeSelect-DRGcYz-6.js → TreeSelect-BxsQrdjf.js} +2 -2
- package/dist/{TreeSelect-DRGcYz-6.js.map → TreeSelect-BxsQrdjf.js.map} +1 -1
- package/dist/{button-COIbN8dg.js → button-B-i8E7ah.js} +8 -1
- package/dist/{button-COIbN8dg.js.map → button-B-i8E7ah.js.map} +1 -1
- package/dist/cjs/{Calendar-Nk76Y9yP.js → Calendar-BS-238p2.js} +2 -2
- package/dist/cjs/{Calendar-Nk76Y9yP.js.map → Calendar-BS-238p2.js.map} +1 -1
- package/dist/cjs/{DatePicker-DpijPndg.js → DatePicker-CHulgN0u.js} +2 -2
- package/dist/cjs/{DatePicker-DpijPndg.js.map → DatePicker-CHulgN0u.js.map} +1 -1
- package/dist/cjs/{Dialog-CtI_yWsJ.js → Dialog-dYYmRaZU.js} +2 -2
- package/dist/cjs/Dialog-dYYmRaZU.js.map +1 -0
- package/dist/cjs/{Sheet-CIhtNCBV.js → Sheet-DLiIp0UN.js} +2 -2
- package/dist/cjs/Sheet-DLiIp0UN.js.map +1 -0
- package/dist/cjs/{TreeSelect-C9nQJKNo.js → TreeSelect-BoffO6qD.js} +2 -2
- package/dist/cjs/{TreeSelect-C9nQJKNo.js.map → TreeSelect-BoffO6qD.js.map} +1 -1
- package/dist/cjs/{button-B8XGl69v.js → button-qIa_cyuE.js} +8 -1
- package/dist/cjs/{button-B8XGl69v.js.map → button-qIa_cyuE.js.map} +1 -1
- package/dist/cjs/components/Alert.js +2 -2
- package/dist/cjs/components/Button.js +1 -1
- package/dist/cjs/components/ColorPicker.js +1 -1
- package/dist/cjs/components/DataTable.js +1 -1
- package/dist/cjs/components/DatePicker.js +3 -3
- package/dist/cjs/components/Dialog.js +3 -3
- package/dist/cjs/components/DropdownMenu.js +1 -1
- package/dist/cjs/components/Empty.js +1 -1
- package/dist/cjs/components/Input.js +2 -2
- package/dist/cjs/components/Label.js +1 -1
- package/dist/cjs/components/Pagination.js +1 -1
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Sheet.js +3 -3
- package/dist/cjs/components/TimePicker.js +1 -1
- package/dist/cjs/components/TreeSelect.js +1 -1
- package/dist/cjs/components/index.js +9 -9
- package/dist/cjs/{dialog-Bvyrshz3.js → dialog-_vQkEf7V.js} +2 -2
- package/dist/cjs/{dialog-Bvyrshz3.js.map → dialog-_vQkEf7V.js.map} +1 -1
- package/dist/cjs/formik/ActionBlock.js +1 -1
- package/dist/cjs/formik/BlockNavigation.js +3 -3
- package/dist/cjs/formik/Button.js +1 -1
- package/dist/cjs/formik/Input.js +2 -2
- package/dist/cjs/formik/Select.js +2 -2
- package/dist/cjs/formik/TreeSelect.js +1 -1
- package/dist/cjs/formik/index.js +5 -5
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/{input-group-DoK0-4fL.js → input-group-D5SIEAeN.js} +2 -2
- package/dist/cjs/{input-group-DoK0-4fL.js.map → input-group-D5SIEAeN.js.map} +1 -1
- package/dist/cjs/primitives/Accordion.js +1 -1
- package/dist/cjs/primitives/Accordion.js.map +1 -1
- package/dist/cjs/primitives/AlertDialog.js +2 -2
- package/dist/cjs/primitives/AlertDialog.js.map +1 -1
- package/dist/cjs/primitives/Button.js +1 -1
- package/dist/cjs/primitives/Calendar.js +2 -2
- package/dist/cjs/primitives/Card.js +1 -1
- package/dist/cjs/primitives/Card.js.map +1 -1
- package/dist/cjs/primitives/Carousel.js +1 -1
- package/dist/cjs/primitives/Combobox.js +2 -2
- package/dist/cjs/primitives/Command.js +3 -3
- package/dist/cjs/primitives/Dialog.js +2 -2
- package/dist/cjs/primitives/Drawer.js +2 -2
- package/dist/cjs/primitives/Drawer.js.map +1 -1
- package/dist/cjs/primitives/InputGroup.js +2 -2
- package/dist/cjs/primitives/Pagination.js +1 -1
- package/dist/cjs/primitives/Sheet.js +3 -3
- package/dist/cjs/primitives/Sheet.js.map +1 -1
- package/dist/cjs/primitives/Sidebar.js +4 -4
- package/dist/cjs/primitives/Sidebar.js.map +1 -1
- package/dist/cjs/primitives/Table.js +3 -3
- package/dist/cjs/primitives/Table.js.map +1 -1
- package/dist/cjs/primitives/index.js +5 -5
- package/dist/cjs/{sheet-BZHMKVH1.js → sheet-B4hSZKZT.js} +2 -2
- package/dist/cjs/{sheet-BZHMKVH1.js.map → sheet-B4hSZKZT.js.map} +1 -1
- package/dist/components/Alert.js +2 -2
- package/dist/components/Button.js +1 -1
- package/dist/components/ColorPicker.js +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DatePicker.js +3 -3
- package/dist/components/Dialog.js +3 -3
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/Empty.js +1 -1
- package/dist/components/Input.js +2 -2
- package/dist/components/Label.js +1 -1
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Sheet.js +3 -3
- package/dist/components/TimePicker.js +1 -1
- package/dist/components/TreeSelect.js +1 -1
- package/dist/components/index.js +9 -9
- package/dist/{dialog-CrB6N_2a.js → dialog-C1w8dWE1.js} +2 -2
- package/dist/{dialog-CrB6N_2a.js.map → dialog-C1w8dWE1.js.map} +1 -1
- package/dist/formik/ActionBlock.js +1 -1
- package/dist/formik/BlockNavigation.js +3 -3
- package/dist/formik/Button.js +1 -1
- package/dist/formik/Input.js +2 -2
- package/dist/formik/Select.js +2 -2
- package/dist/formik/TreeSelect.js +1 -1
- package/dist/formik/index.js +5 -5
- package/dist/index.js +9 -9
- package/dist/{input-group-ytECR3Hw.js → input-group-Dve5dexp.js} +2 -2
- package/dist/{input-group-ytECR3Hw.js.map → input-group-Dve5dexp.js.map} +1 -1
- package/dist/primitives/Accordion.d.ts +1 -1
- package/dist/primitives/Accordion.js +1 -1
- package/dist/primitives/Accordion.js.map +1 -1
- package/dist/primitives/AlertDialog.d.ts +1 -1
- package/dist/primitives/AlertDialog.js +2 -2
- package/dist/primitives/AlertDialog.js.map +1 -1
- package/dist/primitives/Button.js +2 -2
- package/dist/primitives/Calendar.js +2 -2
- package/dist/primitives/Card.d.ts +1 -1
- package/dist/primitives/Card.js +1 -1
- package/dist/primitives/Card.js.map +1 -1
- package/dist/primitives/Carousel.js +1 -1
- package/dist/primitives/Combobox.js +2 -2
- package/dist/primitives/Command.js +3 -3
- package/dist/primitives/Dialog.js +2 -2
- package/dist/primitives/Drawer.d.ts +1 -1
- package/dist/primitives/Drawer.js +2 -2
- package/dist/primitives/Drawer.js.map +1 -1
- package/dist/primitives/InputGroup.js +2 -2
- package/dist/primitives/Pagination.js +1 -1
- package/dist/primitives/Sheet.js +3 -3
- package/dist/primitives/Sheet.js.map +1 -1
- package/dist/primitives/Sidebar.d.ts +1 -1
- package/dist/primitives/Sidebar.js +4 -4
- package/dist/primitives/Sidebar.js.map +1 -1
- package/dist/primitives/Table.d.ts +3 -3
- package/dist/primitives/Table.js +3 -3
- package/dist/primitives/Table.js.map +1 -1
- package/dist/primitives/index.js +5 -5
- package/dist/{sheet-C763FqIh.js → sheet-CViv_QTx.js} +2 -2
- package/dist/{sheet-C763FqIh.js.map → sheet-CViv_QTx.js.map} +1 -1
- package/package.json +1 -1
- package/dist/Dialog-BURSzxaP.js.map +0 -1
- package/dist/Sheet-QFC_mHyj.js.map +0 -1
- package/dist/cjs/Dialog-CtI_yWsJ.js.map +0 -1
- package/dist/cjs/Sheet-CIhtNCBV.js.map +0 -1
|
@@ -5,11 +5,11 @@ var formik = require('formik');
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var reactRouterDom = require('react-router-dom');
|
|
7
7
|
var Button = require('../Button-Bt_AElge.js');
|
|
8
|
-
var Dialog = require('../Dialog-
|
|
8
|
+
var Dialog = require('../Dialog-dYYmRaZU.js');
|
|
9
9
|
require('../utils-CTr7wn5d.js');
|
|
10
10
|
require('../renderIcon-fLF3odqg.js');
|
|
11
11
|
require('../primitives/Button.js');
|
|
12
|
-
require('../button-
|
|
12
|
+
require('../button-qIa_cyuE.js');
|
|
13
13
|
require('../index-BZhTddX0.js');
|
|
14
14
|
require('../index-DuNgWCXZ.js');
|
|
15
15
|
require('../index-D-iDn9RI.js');
|
|
@@ -35,7 +35,7 @@ require('../index-DcCSSgb7.js');
|
|
|
35
35
|
require('../index-CyrAgb4H.js');
|
|
36
36
|
require('../index-CB9xFokC.js');
|
|
37
37
|
require('../primitives/Dialog.js');
|
|
38
|
-
require('../dialog-
|
|
38
|
+
require('../dialog-_vQkEf7V.js');
|
|
39
39
|
require('../x-Brw3FJst.js');
|
|
40
40
|
require('../index-BLGrl3PF.js');
|
|
41
41
|
require('../index-ChSOMM8b.js');
|
|
@@ -8,7 +8,7 @@ var Button = require('../Button-Bt_AElge.js');
|
|
|
8
8
|
require('../utils-CTr7wn5d.js');
|
|
9
9
|
require('../renderIcon-fLF3odqg.js');
|
|
10
10
|
require('../primitives/Button.js');
|
|
11
|
-
require('../button-
|
|
11
|
+
require('../button-qIa_cyuE.js');
|
|
12
12
|
require('../index-BZhTddX0.js');
|
|
13
13
|
require('../index-DuNgWCXZ.js');
|
|
14
14
|
require('../index-D-iDn9RI.js');
|
package/dist/cjs/formik/Input.js
CHANGED
|
@@ -14,8 +14,8 @@ require('react-dom');
|
|
|
14
14
|
require('../index-D-iDn9RI.js');
|
|
15
15
|
require('../separator-CPy2gyg1.js');
|
|
16
16
|
require('../primitives/InputGroup.js');
|
|
17
|
-
require('../input-group-
|
|
18
|
-
require('../button-
|
|
17
|
+
require('../input-group-D5SIEAeN.js');
|
|
18
|
+
require('../button-qIa_cyuE.js');
|
|
19
19
|
require('../index-DuNgWCXZ.js');
|
|
20
20
|
require('../input-CgKPISj_.js');
|
|
21
21
|
require('../textarea-CZSSY75H.js');
|
|
@@ -15,9 +15,9 @@ require('react-dom');
|
|
|
15
15
|
require('../index-D-iDn9RI.js');
|
|
16
16
|
require('../separator-CPy2gyg1.js');
|
|
17
17
|
require('../primitives/Combobox.js');
|
|
18
|
-
require('../button-
|
|
18
|
+
require('../button-qIa_cyuE.js');
|
|
19
19
|
require('../index-DuNgWCXZ.js');
|
|
20
|
-
require('../input-group-
|
|
20
|
+
require('../input-group-D5SIEAeN.js');
|
|
21
21
|
require('../input-CgKPISj_.js');
|
|
22
22
|
require('../textarea-CZSSY75H.js');
|
|
23
23
|
require('../check-BQgcDXys.js');
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var formik = require('formik');
|
|
6
6
|
var ramda = require('ramda');
|
|
7
|
-
var TreeSelect = require('../TreeSelect-
|
|
7
|
+
var TreeSelect = require('../TreeSelect-BoffO6qD.js');
|
|
8
8
|
require('../utils-CTr7wn5d.js');
|
|
9
9
|
require('../primitives/Popover.js');
|
|
10
10
|
require('../index-COPkC3I5.js');
|
package/dist/cjs/formik/index.js
CHANGED
|
@@ -27,8 +27,8 @@ require('react-dom');
|
|
|
27
27
|
require('../index-D-iDn9RI.js');
|
|
28
28
|
require('../separator-CPy2gyg1.js');
|
|
29
29
|
require('../primitives/InputGroup.js');
|
|
30
|
-
require('../input-group-
|
|
31
|
-
require('../button-
|
|
30
|
+
require('../input-group-D5SIEAeN.js');
|
|
31
|
+
require('../button-qIa_cyuE.js');
|
|
32
32
|
require('../index-DuNgWCXZ.js');
|
|
33
33
|
require('../input-CgKPISj_.js');
|
|
34
34
|
require('../textarea-CZSSY75H.js');
|
|
@@ -70,7 +70,7 @@ require('../primitives/Switch.js');
|
|
|
70
70
|
require('../Slider-jNUS9vt8.js');
|
|
71
71
|
require('../primitives/Slider.js');
|
|
72
72
|
require('../index-EyWRfsCG.js');
|
|
73
|
-
require('../TreeSelect-
|
|
73
|
+
require('../TreeSelect-BoffO6qD.js');
|
|
74
74
|
require('../primitives/Popover.js');
|
|
75
75
|
require('../index-Bvu9MiFi.js');
|
|
76
76
|
require('../index-ChSOMM8b.js');
|
|
@@ -87,9 +87,9 @@ require('../primitives/Tooltip.js');
|
|
|
87
87
|
require('../tooltip-C-568jEL.js');
|
|
88
88
|
require('../index-CB9xFokC.js');
|
|
89
89
|
require('react-router-dom');
|
|
90
|
-
require('../Dialog-
|
|
90
|
+
require('../Dialog-dYYmRaZU.js');
|
|
91
91
|
require('../primitives/Dialog.js');
|
|
92
|
-
require('../dialog-
|
|
92
|
+
require('../dialog-_vQkEf7V.js');
|
|
93
93
|
require('../index-BLGrl3PF.js');
|
|
94
94
|
|
|
95
95
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var Button = require('./Button-Bt_AElge.js');
|
|
|
8
8
|
var Callout = require('./Callout-CS2U6pM7.js');
|
|
9
9
|
var Checkbox = require('./Checkbox-DOlS2oCD.js');
|
|
10
10
|
var ColorPicker = require('./ColorPicker-Uxgn8U0h.js');
|
|
11
|
-
var DatePicker = require('./DatePicker-
|
|
11
|
+
var DatePicker = require('./DatePicker-CHulgN0u.js');
|
|
12
12
|
var TimePicker = require('./TimePicker-Ba2FdT1O.js');
|
|
13
13
|
require('./TimePickerPanel-DGNr97cj.js');
|
|
14
14
|
var pureDayjs = require('dayjs');
|
|
@@ -17,7 +17,7 @@ var utc = require('dayjs/plugin/utc');
|
|
|
17
17
|
var weekday = require('dayjs/plugin/weekday');
|
|
18
18
|
var weekOfYear = require('dayjs/plugin/weekOfYear');
|
|
19
19
|
var TranslationProvider = require('./TranslationProvider-DBZHXmzX.js');
|
|
20
|
-
var Dialog = require('./Dialog-
|
|
20
|
+
var Dialog = require('./Dialog-dYYmRaZU.js');
|
|
21
21
|
var components_DropdownMenu = require('./components/DropdownMenu.js');
|
|
22
22
|
var Empty = require('./Empty-qzle6YvT.js');
|
|
23
23
|
var Input = require('./Input-pkugjUb0.js');
|
|
@@ -27,7 +27,7 @@ var Pagination = require('./Pagination-Byzt9Kmj.js');
|
|
|
27
27
|
var RadioGroup = require('./RadioGroup-1RAoe38m.js');
|
|
28
28
|
var Select = require('./Select-Br1AT_wm.js');
|
|
29
29
|
var MultiEmailInput = require('./MultiEmailInput-l0_YVjbp.js');
|
|
30
|
-
var Sheet = require('./Sheet-
|
|
30
|
+
var Sheet = require('./Sheet-DLiIp0UN.js');
|
|
31
31
|
var Popover = require('./Popover-B1d4URJl.js');
|
|
32
32
|
var Progress = require('./Progress-DoCxZ_ZH.js');
|
|
33
33
|
var Slider = require('./Slider-jNUS9vt8.js');
|
|
@@ -41,7 +41,7 @@ var Tooltip = require('./Tooltip-criVUtIg.js');
|
|
|
41
41
|
var Typography = require('./Typography-CxDOxAG_.js');
|
|
42
42
|
var DataTable = require('./DataTable-CWs96k8n.js');
|
|
43
43
|
var Tree = require('./Tree-BPd0DuLh.js');
|
|
44
|
-
var TreeSelect = require('./TreeSelect-
|
|
44
|
+
var TreeSelect = require('./TreeSelect-BoffO6qD.js');
|
|
45
45
|
var useMobile = require('./use-mobile-B-UYxtqX.js');
|
|
46
46
|
var utils = require('./utils-CTr7wn5d.js');
|
|
47
47
|
require('react/jsx-runtime');
|
|
@@ -64,10 +64,10 @@ require('./index-BwAq9ba8.js');
|
|
|
64
64
|
require('./index-9jC1advf.js');
|
|
65
65
|
require('react-i18next');
|
|
66
66
|
require('./primitives/Dialog.js');
|
|
67
|
-
require('./button-
|
|
67
|
+
require('./button-qIa_cyuE.js');
|
|
68
68
|
require('./index-BZhTddX0.js');
|
|
69
69
|
require('./index-DuNgWCXZ.js');
|
|
70
|
-
require('./dialog-
|
|
70
|
+
require('./dialog-_vQkEf7V.js');
|
|
71
71
|
require('./x-Brw3FJst.js');
|
|
72
72
|
require('./index-BLGrl3PF.js');
|
|
73
73
|
require('./index-Bvu9MiFi.js');
|
|
@@ -98,7 +98,7 @@ require('./label-Bdc9ytTI.js');
|
|
|
98
98
|
require('./separator-CPy2gyg1.js');
|
|
99
99
|
require('react-colorful');
|
|
100
100
|
require('./primitives/Popover.js');
|
|
101
|
-
require('./Calendar-
|
|
101
|
+
require('./Calendar-BS-238p2.js');
|
|
102
102
|
require('./chevron-left-BldoOh5p.js');
|
|
103
103
|
require('./chevron-right-0jNdwX2Q.js');
|
|
104
104
|
require('./primitives/ScrollArea.js');
|
|
@@ -110,7 +110,7 @@ require('./index-hQmfI1O7.js');
|
|
|
110
110
|
require('./primitives/ButtonGroup.js');
|
|
111
111
|
require('./primitives/Empty.js');
|
|
112
112
|
require('./primitives/InputGroup.js');
|
|
113
|
-
require('./input-group-
|
|
113
|
+
require('./input-group-D5SIEAeN.js');
|
|
114
114
|
require('./input-CgKPISj_.js');
|
|
115
115
|
require('./textarea-CZSSY75H.js');
|
|
116
116
|
require('./primitives/Kbd.js');
|
|
@@ -122,7 +122,7 @@ require('./SelectFieldWrapper-DEA--2wj.js');
|
|
|
122
122
|
require('./primitives/Combobox.js');
|
|
123
123
|
require('./with-selector-DeKHbQY7.js');
|
|
124
124
|
require('./primitives/Sheet.js');
|
|
125
|
-
require('./sheet-
|
|
125
|
+
require('./sheet-B4hSZKZT.js');
|
|
126
126
|
require('./primitives/HoverCard.js');
|
|
127
127
|
require('./primitives/Progress.js');
|
|
128
128
|
require('./primitives/Slider.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var index = require('./index-BZhTddX0.js');
|
|
5
5
|
var utils = require('./utils-CTr7wn5d.js');
|
|
6
|
-
var button = require('./button-
|
|
6
|
+
var button = require('./button-qIa_cyuE.js');
|
|
7
7
|
var input = require('./input-CgKPISj_.js');
|
|
8
8
|
var textarea = require('./textarea-CZSSY75H.js');
|
|
9
9
|
|
|
@@ -63,4 +63,4 @@ exports.InputGroupButton = InputGroupButton;
|
|
|
63
63
|
exports.InputGroupInput = InputGroupInput;
|
|
64
64
|
exports.InputGroupText = InputGroupText;
|
|
65
65
|
exports.InputGroupTextarea = InputGroupTextarea;
|
|
66
|
-
//# sourceMappingURL=input-group-
|
|
66
|
+
//# sourceMappingURL=input-group-D5SIEAeN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group-
|
|
1
|
+
{"version":3,"file":"input-group-D5SIEAeN.js","sources":["../../../src/shadcn/components/input-group.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { Button } from \"src/shadcn/components/button\"\nimport { Input } from \"src/shadcn/components/input\"\nimport { Textarea } from \"src/shadcn/components/textarea\"\n\nfunction InputGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"input-group\"\n role=\"group\"\n className={cn(\n \"group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5\",\n className\n )}\n {...props}\n />\n )\n}\n\nconst inputGroupAddonVariants = cva(\n \"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n align: {\n \"inline-start\":\n \"order-first ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem]\",\n \"inline-end\":\n \"order-last pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem]\",\n \"block-start\":\n \"order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2\",\n \"block-end\":\n \"order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2\",\n },\n },\n defaultVariants: {\n align: \"inline-start\",\n },\n }\n)\n\nfunction InputGroupAddon({\n className,\n align = \"inline-start\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof inputGroupAddonVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"input-group-addon\"\n data-align={align}\n className={cn(inputGroupAddonVariants({ align }), className)}\n onClick={(e) => {\n if ((e.target as HTMLElement).closest(\"button\")) {\n return\n }\n e.currentTarget.parentElement?.querySelector(\"input\")?.focus()\n }}\n {...props}\n />\n )\n}\n\nconst inputGroupButtonVariants = cva(\n \"flex items-center gap-2 text-sm shadow-none\",\n {\n variants: {\n size: {\n xs: \"h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5\",\n sm: \"\",\n \"icon-xs\":\n \"size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0\",\n \"icon-sm\": \"size-8 p-0 has-[>svg]:p-0\",\n },\n },\n defaultVariants: {\n size: \"xs\",\n },\n }\n)\n\nfunction InputGroupButton({\n className,\n type = \"button\",\n variant = \"ghost\",\n size = \"xs\",\n ...props\n}: Omit<React.ComponentProps<typeof Button>, \"size\"> &\n VariantProps<typeof inputGroupButtonVariants>) {\n return (\n <Button\n type={type}\n data-size={size}\n variant={variant}\n className={cn(inputGroupButtonVariants({ size }), className)}\n {...props}\n />\n )\n}\n\nfunction InputGroupText({ className, ...props }: React.ComponentProps<\"span\">) {\n return (\n <span\n className={cn(\n \"flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction InputGroupInput({\n className,\n ...props\n}: React.ComponentProps<\"input\">) {\n return (\n <Input\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction InputGroupTextarea({\n className,\n ...props\n}: React.ComponentProps<\"textarea\">) {\n return (\n <Textarea\n data-slot=\"input-group-control\"\n className={cn(\n \"flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupText,\n InputGroupInput,\n InputGroupTextarea,\n}\n"],"names":["_jsx","cn","cva","Button","Input","Textarea"],"mappings":";;;;;;;;;AAQA,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B,EAAA;IACtE,QACEA,qCACY,aAAa,EACvB,I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;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,IAAI;AACX,KAAA;AACF,CAAA,CACF;AAED,SAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,OAAO,EACjB,IAAI,GAAG,IAAI,EACX,GAAG,KAAK,EAEqC,EAAA;AAC7C,IAAA,QACEF,cAAA,CAACG,aAAM,EAAA,EACL,IAAI,EAAE,IAAI,EAAA,WAAA,EACC,IAAI,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,EAAEF,QAAE,CAAC,wBAAwB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,EAAA,GACxD,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAgC,EAAA;AAC3E,IAAA,QACED,cAAA,CAAA,MAAA,EAAA,EACE,SAAS,EAAEC,QAAE,CACX,wHAAwH,EACxH,SAAS,CACV,EAAA,GACG,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACsB,EAAA;AAC9B,IAAA,QACED,cAAA,CAACI,WAAK,iBACM,qBAAqB,EAC/B,SAAS,EAAEH,QAAE,CACX,kLAAkL,EAClL,SAAS,CACV,KACG,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACyB,EAAA;AACjC,IAAA,QACED,cAAA,CAACK,iBAAQ,iBACG,qBAAqB,EAC/B,SAAS,EAAEJ,QAAE,CACX,mMAAmM,EACnM,SAAS,CACV,KACG,KAAK,EAAA,CACT;AAEN;;;;;;;;;"}
|
|
@@ -329,7 +329,7 @@ function AccordionContent$1({ className, children, ...props }) {
|
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
const Accordion = (props) => (jsxRuntime.jsx(Accordion$1, { ...props }));
|
|
332
|
-
const AccordionItem = (props) => jsxRuntime.jsx(AccordionItem$1, { ...props });
|
|
332
|
+
const AccordionItem = ({ className, ...props }) => (jsxRuntime.jsx(AccordionItem$1, { className: utils.cn("border-border", className), ...props }));
|
|
333
333
|
const AccordionTrigger = (props) => jsxRuntime.jsx(AccordionTrigger$1, { ...props });
|
|
334
334
|
const AccordionContent = (props) => jsxRuntime.jsx(AccordionContent$1, { ...props });
|
|
335
335
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sources":["../../../node_modules/@radix-ui/react-accordion/dist/index.mjs","../../../../src/shadcn/components/accordion.tsx","../../../../src/primitives/Accordion.tsx"],"sourcesContent":["\"use client\";\n\n// src/accordion.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\nimport { createCollapsibleScope } from \"@radix-ui/react-collapsible\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ACCORDION_NAME = \"Accordion\";\nvar ACCORDION_KEYS = [\"Home\", \"End\", \"ArrowDown\", \"ArrowUp\", \"ArrowLeft\", \"ArrowRight\"];\nvar [Collection, useCollection, createCollectionScope] = createCollection(ACCORDION_NAME);\nvar [createAccordionContext, createAccordionScope] = createContextScope(ACCORDION_NAME, [\n createCollectionScope,\n createCollapsibleScope\n]);\nvar useCollapsibleScope = createCollapsibleScope();\nvar Accordion = React.forwardRef(\n (props, forwardedRef) => {\n const { type, ...accordionProps } = props;\n const singleProps = accordionProps;\n const multipleProps = accordionProps;\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeAccordion, children: type === \"multiple\" ? /* @__PURE__ */ jsx(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });\n }\n);\nAccordion.displayName = ACCORDION_NAME;\nvar [AccordionValueProvider, useAccordionValueContext] = createAccordionContext(ACCORDION_NAME);\nvar [AccordionCollapsibleProvider, useAccordionCollapsibleContext] = createAccordionContext(\n ACCORDION_NAME,\n { collapsible: false }\n);\nvar AccordionImplSingle = React.forwardRef(\n (props, forwardedRef) => {\n const {\n value: valueProp,\n defaultValue,\n onValueChange = () => {\n },\n collapsible = false,\n ...accordionSingleProps\n } = props;\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? \"\",\n onChange: onValueChange,\n caller: ACCORDION_NAME\n });\n return /* @__PURE__ */ jsx(\n AccordionValueProvider,\n {\n scope: props.__scopeAccordion,\n value: React.useMemo(() => value ? [value] : [], [value]),\n onItemOpen: setValue,\n onItemClose: React.useCallback(() => collapsible && setValue(\"\"), [collapsible, setValue]),\n children: /* @__PURE__ */ jsx(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ jsx(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })\n }\n );\n }\n);\nvar AccordionImplMultiple = React.forwardRef((props, forwardedRef) => {\n const {\n value: valueProp,\n defaultValue,\n onValueChange = () => {\n },\n ...accordionMultipleProps\n } = props;\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? [],\n onChange: onValueChange,\n caller: ACCORDION_NAME\n });\n const handleItemOpen = React.useCallback(\n (itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),\n [setValue]\n );\n const handleItemClose = React.useCallback(\n (itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),\n [setValue]\n );\n return /* @__PURE__ */ jsx(\n AccordionValueProvider,\n {\n scope: props.__scopeAccordion,\n value,\n onItemOpen: handleItemOpen,\n onItemClose: handleItemClose,\n children: /* @__PURE__ */ jsx(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ jsx(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })\n }\n );\n});\nvar [AccordionImplProvider, useAccordionContext] = createAccordionContext(ACCORDION_NAME);\nvar AccordionImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, disabled, dir, orientation = \"vertical\", ...accordionProps } = props;\n const accordionRef = React.useRef(null);\n const composedRefs = useComposedRefs(accordionRef, forwardedRef);\n const getItems = useCollection(__scopeAccordion);\n const direction = useDirection(dir);\n const isDirectionLTR = direction === \"ltr\";\n const handleKeyDown = composeEventHandlers(props.onKeyDown, (event) => {\n if (!ACCORDION_KEYS.includes(event.key)) return;\n const target = event.target;\n const triggerCollection = getItems().filter((item) => !item.ref.current?.disabled);\n const triggerIndex = triggerCollection.findIndex((item) => item.ref.current === target);\n const triggerCount = triggerCollection.length;\n if (triggerIndex === -1) return;\n event.preventDefault();\n let nextIndex = triggerIndex;\n const homeIndex = 0;\n const endIndex = triggerCount - 1;\n const moveNext = () => {\n nextIndex = triggerIndex + 1;\n if (nextIndex > endIndex) {\n nextIndex = homeIndex;\n }\n };\n const movePrev = () => {\n nextIndex = triggerIndex - 1;\n if (nextIndex < homeIndex) {\n nextIndex = endIndex;\n }\n };\n switch (event.key) {\n case \"Home\":\n nextIndex = homeIndex;\n break;\n case \"End\":\n nextIndex = endIndex;\n break;\n case \"ArrowRight\":\n if (orientation === \"horizontal\") {\n if (isDirectionLTR) {\n moveNext();\n } else {\n movePrev();\n }\n }\n break;\n case \"ArrowDown\":\n if (orientation === \"vertical\") {\n moveNext();\n }\n break;\n case \"ArrowLeft\":\n if (orientation === \"horizontal\") {\n if (isDirectionLTR) {\n movePrev();\n } else {\n moveNext();\n }\n }\n break;\n case \"ArrowUp\":\n if (orientation === \"vertical\") {\n movePrev();\n }\n break;\n }\n const clampedIndex = nextIndex % triggerCount;\n triggerCollection[clampedIndex].ref.current?.focus();\n });\n return /* @__PURE__ */ jsx(\n AccordionImplProvider,\n {\n scope: __scopeAccordion,\n disabled,\n direction: dir,\n orientation,\n children: /* @__PURE__ */ jsx(Collection.Slot, { scope: __scopeAccordion, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...accordionProps,\n \"data-orientation\": orientation,\n ref: composedRefs,\n onKeyDown: disabled ? void 0 : handleKeyDown\n }\n ) })\n }\n );\n }\n);\nvar ITEM_NAME = \"AccordionItem\";\nvar [AccordionItemProvider, useAccordionItemContext] = createAccordionContext(ITEM_NAME);\nvar AccordionItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, value, ...accordionItemProps } = props;\n const accordionContext = useAccordionContext(ITEM_NAME, __scopeAccordion);\n const valueContext = useAccordionValueContext(ITEM_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n const triggerId = useId();\n const open = value && valueContext.value.includes(value) || false;\n const disabled = accordionContext.disabled || props.disabled;\n return /* @__PURE__ */ jsx(\n AccordionItemProvider,\n {\n scope: __scopeAccordion,\n open,\n disabled,\n triggerId,\n children: /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Root,\n {\n \"data-orientation\": accordionContext.orientation,\n \"data-state\": getState(open),\n ...collapsibleScope,\n ...accordionItemProps,\n ref: forwardedRef,\n disabled,\n open,\n onOpenChange: (open2) => {\n if (open2) {\n valueContext.onItemOpen(value);\n } else {\n valueContext.onItemClose(value);\n }\n }\n }\n )\n }\n );\n }\n);\nAccordionItem.displayName = ITEM_NAME;\nvar HEADER_NAME = \"AccordionHeader\";\nvar AccordionHeader = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...headerProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(HEADER_NAME, __scopeAccordion);\n return /* @__PURE__ */ jsx(\n Primitive.h3,\n {\n \"data-orientation\": accordionContext.orientation,\n \"data-state\": getState(itemContext.open),\n \"data-disabled\": itemContext.disabled ? \"\" : void 0,\n ...headerProps,\n ref: forwardedRef\n }\n );\n }\n);\nAccordionHeader.displayName = HEADER_NAME;\nvar TRIGGER_NAME = \"AccordionTrigger\";\nvar AccordionTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...triggerProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(TRIGGER_NAME, __scopeAccordion);\n const collapsibleContext = useAccordionCollapsibleContext(TRIGGER_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n return /* @__PURE__ */ jsx(Collection.ItemSlot, { scope: __scopeAccordion, children: /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Trigger,\n {\n \"aria-disabled\": itemContext.open && !collapsibleContext.collapsible || void 0,\n \"data-orientation\": accordionContext.orientation,\n id: itemContext.triggerId,\n ...collapsibleScope,\n ...triggerProps,\n ref: forwardedRef\n }\n ) });\n }\n);\nAccordionTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"AccordionContent\";\nvar AccordionContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...contentProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(CONTENT_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n return /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Content,\n {\n role: \"region\",\n \"aria-labelledby\": itemContext.triggerId,\n \"data-orientation\": accordionContext.orientation,\n ...collapsibleScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n [\"--radix-accordion-content-height\"]: \"var(--radix-collapsible-content-height)\",\n [\"--radix-accordion-content-width\"]: \"var(--radix-collapsible-content-width)\",\n ...props.style\n }\n }\n );\n }\n);\nAccordionContent.displayName = CONTENT_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root2 = Accordion;\nvar Item = AccordionItem;\nvar Header = AccordionHeader;\nvar Trigger2 = AccordionTrigger;\nvar Content2 = AccordionContent;\nexport {\n Accordion,\n AccordionContent,\n AccordionHeader,\n AccordionItem,\n AccordionTrigger,\n Content2 as Content,\n Header,\n Item,\n Root2 as Root,\n Trigger2 as Trigger,\n createAccordionScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\"\nimport { Accordion as AccordionPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nfunction Accordion({\n className,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n return (\n <AccordionPrimitive.Root\n data-slot=\"accordion\"\n className={cn(\"flex w-full flex-col\", className)}\n {...props}\n />\n )\n}\n\nfunction AccordionItem({\n className,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n return (\n <AccordionPrimitive.Item\n data-slot=\"accordion-item\"\n className={cn(\"not-last:border-b\", className)}\n {...props}\n />\n )\n}\n\nfunction AccordionTrigger({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n data-slot=\"accordion-trigger\"\n className={cn(\n \"group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-start text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden\" />\n <ChevronUpIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n )\n}\n\nfunction AccordionContent({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n return (\n <AccordionPrimitive.Content\n data-slot=\"accordion-content\"\n className=\"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up\"\n {...props}\n >\n <div\n className={cn(\n \"h-(--radix-accordion-content-height) pt-0 pb-2.5 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4\",\n className\n )}\n >\n {children}\n </div>\n </AccordionPrimitive.Content>\n )\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n","import type React from \"react\";\nimport {\n Accordion as ShadcnAccordion,\n AccordionItem as ShadcnAccordionItem,\n AccordionTrigger as ShadcnAccordionTrigger,\n AccordionContent as ShadcnAccordionContent,\n} from \"src/shadcn/components/accordion\";\n\nconst Accordion = (props: React.ComponentProps<typeof ShadcnAccordion>) => (\n <ShadcnAccordion {...props} />\n);\n\nconst AccordionItem = (\n props: React.ComponentProps<typeof ShadcnAccordionItem>\n) => <ShadcnAccordionItem {...props} />;\n\nconst AccordionTrigger = (\n props: React.ComponentProps<typeof ShadcnAccordionTrigger>\n) => <ShadcnAccordionTrigger {...props} />;\n\nconst AccordionContent = (\n props: React.ComponentProps<typeof ShadcnAccordionContent>\n) => <ShadcnAccordionContent {...props} />;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"names":["createCollection","createContextScope","createCollapsibleScope","Accordion","React","jsx","useControllableState","useComposedRefs","useDirection","composeEventHandlers","Primitive","AccordionItem","useId","CollapsiblePrimitive.Root","AccordionTrigger","CollapsiblePrimitive.Trigger","AccordionContent","CollapsiblePrimitive.Content","_jsx","AccordionPrimitive.Root","cn","AccordionPrimitive.Item","AccordionPrimitive.Header","_jsxs","AccordionPrimitive.Trigger","ChevronDownIcon","ChevronUpIcon","AccordionPrimitive.Content","ShadcnAccordion","ShadcnAccordionItem","ShadcnAccordionTrigger","ShadcnAccordionContent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeA,IAAI,cAAc,GAAG,WAAW;AAChC,IAAI,cAAc,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC;AACvF,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,qBAAqB,CAAC,GAAGA,wBAAgB,CAAC,cAAc,CAAC;AACzF,IAAI,CAAC,sBAA4C,CAAC,GAAGC,0BAAkB,CAAC,cAAc,EAAE;AACxF,EAAE,qBAAqB;AACvB,EAAEC;AACF,CAAC,CAAC;AACF,IAAI,mBAAmB,GAAGA,8BAAsB,EAAE;AAClD,IAAIC,WAAS,GAAGC,sBAAK,CAAC,UAAU;AAChC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM,EAAE,IAAI,EAAE,GAAG,cAAc,EAAE,GAAG,KAAK;AAC7C,IAAI,MAAM,WAAW,GAAG,cAAc;AACtC,IAAI,MAAM,aAAa,GAAG,cAAc;AACxC,IAAI,uBAAuBC,cAAG,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,KAAK,UAAU,mBAAmBA,cAAG,CAAC,qBAAqB,EAAE,EAAE,GAAG,aAAa,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,mBAAmBA,cAAG,CAAC,mBAAmB,EAAE,EAAE,GAAG,WAAW,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;AAC7R,EAAE;AACF,CAAC;AACDF,WAAS,CAAC,WAAW,GAAG,cAAc;AACtC,IAAI,CAAC,sBAAsB,EAAE,wBAAwB,CAAC,GAAG,sBAAsB,C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EA,SAASV,kBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACgD,EAAA;AACxD,IAAA,QACEE,cAAA,CAACS,QAA0B,EAAA,EAAA,WAAA,EACf,mBAAmB,EAC7B,SAAS,EAAC,2FAA2F,EAAA,GACjG,KAAK,EAAA,QAAA,EAETT,cAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAEE,QAAE,CACX,mJAAmJ,EACnJ,SAAS,CACV,EAAA,QAAA,EAEA,QAAQ,EAAA,CACL,EAAA,CACqB;AAEjC;;ACpEA,MAAM,SAAS,GAAG,CAAC,KAAmD,MACpEF,cAAA,CAACU,WAAe,EAAA,EAAA,GAAK,KAAK,EAAA,CAAI;AAGhC,MAAM,aAAa,GAAG,CACpB,KAAuD,KACpDV,cAAA,CAACW,eAAmB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEnC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDX,cAAA,CAACY,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDZ,cAAA,CAACa,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;;;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Accordion.js","sources":["../../../node_modules/@radix-ui/react-accordion/dist/index.mjs","../../../../src/shadcn/components/accordion.tsx","../../../../src/primitives/Accordion.tsx"],"sourcesContent":["\"use client\";\n\n// src/accordion.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\nimport { createCollapsibleScope } from \"@radix-ui/react-collapsible\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ACCORDION_NAME = \"Accordion\";\nvar ACCORDION_KEYS = [\"Home\", \"End\", \"ArrowDown\", \"ArrowUp\", \"ArrowLeft\", \"ArrowRight\"];\nvar [Collection, useCollection, createCollectionScope] = createCollection(ACCORDION_NAME);\nvar [createAccordionContext, createAccordionScope] = createContextScope(ACCORDION_NAME, [\n createCollectionScope,\n createCollapsibleScope\n]);\nvar useCollapsibleScope = createCollapsibleScope();\nvar Accordion = React.forwardRef(\n (props, forwardedRef) => {\n const { type, ...accordionProps } = props;\n const singleProps = accordionProps;\n const multipleProps = accordionProps;\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeAccordion, children: type === \"multiple\" ? /* @__PURE__ */ jsx(AccordionImplMultiple, { ...multipleProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(AccordionImplSingle, { ...singleProps, ref: forwardedRef }) });\n }\n);\nAccordion.displayName = ACCORDION_NAME;\nvar [AccordionValueProvider, useAccordionValueContext] = createAccordionContext(ACCORDION_NAME);\nvar [AccordionCollapsibleProvider, useAccordionCollapsibleContext] = createAccordionContext(\n ACCORDION_NAME,\n { collapsible: false }\n);\nvar AccordionImplSingle = React.forwardRef(\n (props, forwardedRef) => {\n const {\n value: valueProp,\n defaultValue,\n onValueChange = () => {\n },\n collapsible = false,\n ...accordionSingleProps\n } = props;\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? \"\",\n onChange: onValueChange,\n caller: ACCORDION_NAME\n });\n return /* @__PURE__ */ jsx(\n AccordionValueProvider,\n {\n scope: props.__scopeAccordion,\n value: React.useMemo(() => value ? [value] : [], [value]),\n onItemOpen: setValue,\n onItemClose: React.useCallback(() => collapsible && setValue(\"\"), [collapsible, setValue]),\n children: /* @__PURE__ */ jsx(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible, children: /* @__PURE__ */ jsx(AccordionImpl, { ...accordionSingleProps, ref: forwardedRef }) })\n }\n );\n }\n);\nvar AccordionImplMultiple = React.forwardRef((props, forwardedRef) => {\n const {\n value: valueProp,\n defaultValue,\n onValueChange = () => {\n },\n ...accordionMultipleProps\n } = props;\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? [],\n onChange: onValueChange,\n caller: ACCORDION_NAME\n });\n const handleItemOpen = React.useCallback(\n (itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),\n [setValue]\n );\n const handleItemClose = React.useCallback(\n (itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),\n [setValue]\n );\n return /* @__PURE__ */ jsx(\n AccordionValueProvider,\n {\n scope: props.__scopeAccordion,\n value,\n onItemOpen: handleItemOpen,\n onItemClose: handleItemClose,\n children: /* @__PURE__ */ jsx(AccordionCollapsibleProvider, { scope: props.__scopeAccordion, collapsible: true, children: /* @__PURE__ */ jsx(AccordionImpl, { ...accordionMultipleProps, ref: forwardedRef }) })\n }\n );\n});\nvar [AccordionImplProvider, useAccordionContext] = createAccordionContext(ACCORDION_NAME);\nvar AccordionImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, disabled, dir, orientation = \"vertical\", ...accordionProps } = props;\n const accordionRef = React.useRef(null);\n const composedRefs = useComposedRefs(accordionRef, forwardedRef);\n const getItems = useCollection(__scopeAccordion);\n const direction = useDirection(dir);\n const isDirectionLTR = direction === \"ltr\";\n const handleKeyDown = composeEventHandlers(props.onKeyDown, (event) => {\n if (!ACCORDION_KEYS.includes(event.key)) return;\n const target = event.target;\n const triggerCollection = getItems().filter((item) => !item.ref.current?.disabled);\n const triggerIndex = triggerCollection.findIndex((item) => item.ref.current === target);\n const triggerCount = triggerCollection.length;\n if (triggerIndex === -1) return;\n event.preventDefault();\n let nextIndex = triggerIndex;\n const homeIndex = 0;\n const endIndex = triggerCount - 1;\n const moveNext = () => {\n nextIndex = triggerIndex + 1;\n if (nextIndex > endIndex) {\n nextIndex = homeIndex;\n }\n };\n const movePrev = () => {\n nextIndex = triggerIndex - 1;\n if (nextIndex < homeIndex) {\n nextIndex = endIndex;\n }\n };\n switch (event.key) {\n case \"Home\":\n nextIndex = homeIndex;\n break;\n case \"End\":\n nextIndex = endIndex;\n break;\n case \"ArrowRight\":\n if (orientation === \"horizontal\") {\n if (isDirectionLTR) {\n moveNext();\n } else {\n movePrev();\n }\n }\n break;\n case \"ArrowDown\":\n if (orientation === \"vertical\") {\n moveNext();\n }\n break;\n case \"ArrowLeft\":\n if (orientation === \"horizontal\") {\n if (isDirectionLTR) {\n movePrev();\n } else {\n moveNext();\n }\n }\n break;\n case \"ArrowUp\":\n if (orientation === \"vertical\") {\n movePrev();\n }\n break;\n }\n const clampedIndex = nextIndex % triggerCount;\n triggerCollection[clampedIndex].ref.current?.focus();\n });\n return /* @__PURE__ */ jsx(\n AccordionImplProvider,\n {\n scope: __scopeAccordion,\n disabled,\n direction: dir,\n orientation,\n children: /* @__PURE__ */ jsx(Collection.Slot, { scope: __scopeAccordion, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...accordionProps,\n \"data-orientation\": orientation,\n ref: composedRefs,\n onKeyDown: disabled ? void 0 : handleKeyDown\n }\n ) })\n }\n );\n }\n);\nvar ITEM_NAME = \"AccordionItem\";\nvar [AccordionItemProvider, useAccordionItemContext] = createAccordionContext(ITEM_NAME);\nvar AccordionItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, value, ...accordionItemProps } = props;\n const accordionContext = useAccordionContext(ITEM_NAME, __scopeAccordion);\n const valueContext = useAccordionValueContext(ITEM_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n const triggerId = useId();\n const open = value && valueContext.value.includes(value) || false;\n const disabled = accordionContext.disabled || props.disabled;\n return /* @__PURE__ */ jsx(\n AccordionItemProvider,\n {\n scope: __scopeAccordion,\n open,\n disabled,\n triggerId,\n children: /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Root,\n {\n \"data-orientation\": accordionContext.orientation,\n \"data-state\": getState(open),\n ...collapsibleScope,\n ...accordionItemProps,\n ref: forwardedRef,\n disabled,\n open,\n onOpenChange: (open2) => {\n if (open2) {\n valueContext.onItemOpen(value);\n } else {\n valueContext.onItemClose(value);\n }\n }\n }\n )\n }\n );\n }\n);\nAccordionItem.displayName = ITEM_NAME;\nvar HEADER_NAME = \"AccordionHeader\";\nvar AccordionHeader = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...headerProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(HEADER_NAME, __scopeAccordion);\n return /* @__PURE__ */ jsx(\n Primitive.h3,\n {\n \"data-orientation\": accordionContext.orientation,\n \"data-state\": getState(itemContext.open),\n \"data-disabled\": itemContext.disabled ? \"\" : void 0,\n ...headerProps,\n ref: forwardedRef\n }\n );\n }\n);\nAccordionHeader.displayName = HEADER_NAME;\nvar TRIGGER_NAME = \"AccordionTrigger\";\nvar AccordionTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...triggerProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(TRIGGER_NAME, __scopeAccordion);\n const collapsibleContext = useAccordionCollapsibleContext(TRIGGER_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n return /* @__PURE__ */ jsx(Collection.ItemSlot, { scope: __scopeAccordion, children: /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Trigger,\n {\n \"aria-disabled\": itemContext.open && !collapsibleContext.collapsible || void 0,\n \"data-orientation\": accordionContext.orientation,\n id: itemContext.triggerId,\n ...collapsibleScope,\n ...triggerProps,\n ref: forwardedRef\n }\n ) });\n }\n);\nAccordionTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"AccordionContent\";\nvar AccordionContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAccordion, ...contentProps } = props;\n const accordionContext = useAccordionContext(ACCORDION_NAME, __scopeAccordion);\n const itemContext = useAccordionItemContext(CONTENT_NAME, __scopeAccordion);\n const collapsibleScope = useCollapsibleScope(__scopeAccordion);\n return /* @__PURE__ */ jsx(\n CollapsiblePrimitive.Content,\n {\n role: \"region\",\n \"aria-labelledby\": itemContext.triggerId,\n \"data-orientation\": accordionContext.orientation,\n ...collapsibleScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n [\"--radix-accordion-content-height\"]: \"var(--radix-collapsible-content-height)\",\n [\"--radix-accordion-content-width\"]: \"var(--radix-collapsible-content-width)\",\n ...props.style\n }\n }\n );\n }\n);\nAccordionContent.displayName = CONTENT_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root2 = Accordion;\nvar Item = AccordionItem;\nvar Header = AccordionHeader;\nvar Trigger2 = AccordionTrigger;\nvar Content2 = AccordionContent;\nexport {\n Accordion,\n AccordionContent,\n AccordionHeader,\n AccordionItem,\n AccordionTrigger,\n Content2 as Content,\n Header,\n Item,\n Root2 as Root,\n Trigger2 as Trigger,\n createAccordionScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\"\nimport { Accordion as AccordionPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\"\n\nfunction Accordion({\n className,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n return (\n <AccordionPrimitive.Root\n data-slot=\"accordion\"\n className={cn(\"flex w-full flex-col\", className)}\n {...props}\n />\n )\n}\n\nfunction AccordionItem({\n className,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n return (\n <AccordionPrimitive.Item\n data-slot=\"accordion-item\"\n className={cn(\"not-last:border-b\", className)}\n {...props}\n />\n )\n}\n\nfunction AccordionTrigger({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n data-slot=\"accordion-trigger\"\n className={cn(\n \"group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-start text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ms-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden\" />\n <ChevronUpIcon data-slot=\"accordion-trigger-icon\" className=\"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n )\n}\n\nfunction AccordionContent({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n return (\n <AccordionPrimitive.Content\n data-slot=\"accordion-content\"\n className=\"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up\"\n {...props}\n >\n <div\n className={cn(\n \"h-(--radix-accordion-content-height) pt-0 pb-2.5 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4\",\n className\n )}\n >\n {children}\n </div>\n </AccordionPrimitive.Content>\n )\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent }\n","import type React from \"react\";\nimport { cn } from \"src/shadcn/lib/utils\";\nimport {\n Accordion as ShadcnAccordion,\n AccordionItem as ShadcnAccordionItem,\n AccordionTrigger as ShadcnAccordionTrigger,\n AccordionContent as ShadcnAccordionContent,\n} from \"src/shadcn/components/accordion\";\n\nconst Accordion = (props: React.ComponentProps<typeof ShadcnAccordion>) => (\n <ShadcnAccordion {...props} />\n);\n\nconst AccordionItem = ({\n className,\n ...props\n}: React.ComponentProps<typeof ShadcnAccordionItem>) => (\n <ShadcnAccordionItem className={cn(\"border-border\", className)} {...props} />\n);\n\nconst AccordionTrigger = (\n props: React.ComponentProps<typeof ShadcnAccordionTrigger>\n) => <ShadcnAccordionTrigger {...props} />;\n\nconst AccordionContent = (\n props: React.ComponentProps<typeof ShadcnAccordionContent>\n) => <ShadcnAccordionContent {...props} />;\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"names":["createCollection","createContextScope","createCollapsibleScope","Accordion","React","jsx","useControllableState","useComposedRefs","useDirection","composeEventHandlers","Primitive","AccordionItem","useId","CollapsiblePrimitive.Root","AccordionTrigger","CollapsiblePrimitive.Trigger","AccordionContent","CollapsiblePrimitive.Content","_jsx","AccordionPrimitive.Root","cn","AccordionPrimitive.Item","AccordionPrimitive.Header","_jsxs","AccordionPrimitive.Trigger","ChevronDownIcon","ChevronUpIcon","AccordionPrimitive.Content","ShadcnAccordion","ShadcnAccordionItem","ShadcnAccordionTrigger","ShadcnAccordionContent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAeA,IAAI,cAAc,GAAG,WAAW;AAChC,IAAI,cAAc,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,CAAC;AACvF,IAAI,CAAC,UAAU,EAAE,aAAa,EAAE,qBAAqB,CAAC,GAAGA,wBAAgB,CAAC,cAAc,CAAC;AACzF,IAAI,CAAC,sBAA4C,CAAC,GAAGC,0BAAkB,CAAC,cAAc,EAAE;AACxF,EAAE,qBAAqB;AACvB,EAAEC;AACF,CAAC,CAAC;AACF,IAAI,mBAAmB,GAAGA,8BAAsB,EAAE;AAClD,IAAIC,WAAS,GAAGC,sBAAK,CAAC,UAAU;AAChC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM,EAAE,IAAI,EAA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,cAAA,CAACY,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDZ,cAAA,CAACa,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var utils = require('../utils-CTr7wn5d.js');
|
|
5
|
-
var button = require('../button-
|
|
5
|
+
var button = require('../button-qIa_cyuE.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var index$3 = require('../index-CGUGhyIp.js');
|
|
8
8
|
var index$1 = require('../index-D-iDn9RI.js');
|
|
@@ -233,7 +233,7 @@ const AlertDialogAction = (props) => jsxRuntime.jsx(AlertDialogAction$1, { ...pr
|
|
|
233
233
|
const AlertDialogCancel = (props) => jsxRuntime.jsx(AlertDialogCancel$1, { ...props });
|
|
234
234
|
const AlertDialogContent = (props) => jsxRuntime.jsx(AlertDialogContent$1, { ...props });
|
|
235
235
|
const AlertDialogDescription = (props) => jsxRuntime.jsx(AlertDialogDescription$1, { ...props });
|
|
236
|
-
const AlertDialogFooter = (props) => jsxRuntime.jsx(AlertDialogFooter$1, { ...props });
|
|
236
|
+
const AlertDialogFooter = ({ className, ...props }) => (jsxRuntime.jsx(AlertDialogFooter$1, { className: utils.cn("border-border", className), ...props }));
|
|
237
237
|
const AlertDialogHeader = (props) => jsxRuntime.jsx(AlertDialogHeader$1, { ...props });
|
|
238
238
|
const AlertDialogMedia = (props) => jsxRuntime.jsx(AlertDialogMedia$1, { ...props });
|
|
239
239
|
const AlertDialogOverlay = (props) => jsxRuntime.jsx(AlertDialogOverlay$1, { ...props });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertDialog.js","sources":["../../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../../../src/shadcn/components/alert-dialog.tsx","../../../../src/primitives/AlertDialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\"\n\nimport * as React from \"react\"\nimport { AlertDialog as AlertDialogPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { Button } from \"src/shadcn/components/button\"\n\nfunction AlertDialog({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {\n return <AlertDialogPrimitive.Root data-slot=\"alert-dialog\" {...props} />\n}\n\nfunction AlertDialogTrigger({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {\n return (\n <AlertDialogPrimitive.Trigger data-slot=\"alert-dialog-trigger\" {...props} />\n )\n}\n\nfunction AlertDialogPortal({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {\n return (\n <AlertDialogPrimitive.Portal data-slot=\"alert-dialog-portal\" {...props} />\n )\n}\n\nfunction AlertDialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {\n return (\n <AlertDialogPrimitive.Overlay\n data-slot=\"alert-dialog-overlay\"\n className={cn(\n \"fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogContent({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {\n size?: \"default\" | \"sm\"\n}) {\n return (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-slot=\"alert-dialog-content\"\n data-size={size}\n className={cn(\n \"group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n )\n}\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-header\"\n className={cn(\n \"grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-footer\"\n className={cn(\n \"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogMedia({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-media\"\n className={cn(\n \"mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {\n return (\n <AlertDialogPrimitive.Title\n data-slot=\"alert-dialog-title\"\n className={cn(\n \"text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {\n return (\n <AlertDialogPrimitive.Description\n data-slot=\"alert-dialog-description\"\n className={cn(\n \"text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogAction({\n className,\n variant = \"default\",\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &\n Pick<React.ComponentProps<typeof Button>, \"variant\" | \"size\">) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Action\n data-slot=\"alert-dialog-action\"\n className={cn(className)}\n {...props}\n />\n </Button>\n )\n}\n\nfunction AlertDialogCancel({\n className,\n variant = \"outline\",\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> &\n Pick<React.ComponentProps<typeof Button>, \"variant\" | \"size\">) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Cancel\n data-slot=\"alert-dialog-cancel\"\n className={cn(className)}\n {...props}\n />\n </Button>\n )\n}\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n}\n","import type React from \"react\";\nimport {\n AlertDialog as ShadcnAlertDialog,\n AlertDialogAction as ShadcnAlertDialogAction,\n AlertDialogCancel as ShadcnAlertDialogCancel,\n AlertDialogContent as ShadcnAlertDialogContent,\n AlertDialogDescription as ShadcnAlertDialogDescription,\n AlertDialogFooter as ShadcnAlertDialogFooter,\n AlertDialogHeader as ShadcnAlertDialogHeader,\n AlertDialogMedia as ShadcnAlertDialogMedia,\n AlertDialogOverlay as ShadcnAlertDialogOverlay,\n AlertDialogPortal as ShadcnAlertDialogPortal,\n AlertDialogTitle as ShadcnAlertDialogTitle,\n AlertDialogTrigger as ShadcnAlertDialogTrigger,\n} from \"src/shadcn/components/alert-dialog\";\n\nconst AlertDialog = (props: React.ComponentProps<typeof ShadcnAlertDialog>) => (\n <ShadcnAlertDialog {...props} />\n);\n\nconst AlertDialogAction = (\n props: React.ComponentProps<typeof ShadcnAlertDialogAction>\n) => <ShadcnAlertDialogAction {...props} />;\n\nconst AlertDialogCancel = (\n props: React.ComponentProps<typeof ShadcnAlertDialogCancel>\n) => <ShadcnAlertDialogCancel {...props} />;\n\nconst AlertDialogContent = (\n props: React.ComponentProps<typeof ShadcnAlertDialogContent>\n) => <ShadcnAlertDialogContent {...props} />;\n\nconst AlertDialogDescription = (\n props: React.ComponentProps<typeof ShadcnAlertDialogDescription>\n) => <ShadcnAlertDialogDescription {...props} />;\n\nconst AlertDialogFooter = (\n props: React.ComponentProps<typeof ShadcnAlertDialogFooter>\n) => <ShadcnAlertDialogFooter {...props} />;\n\nconst AlertDialogHeader = (\n props: React.ComponentProps<typeof ShadcnAlertDialogHeader>\n) => <ShadcnAlertDialogHeader {...props} />;\n\nconst AlertDialogMedia = (\n props: React.ComponentProps<typeof ShadcnAlertDialogMedia>\n) => <ShadcnAlertDialogMedia {...props} />;\n\nconst AlertDialogOverlay = (\n props: React.ComponentProps<typeof ShadcnAlertDialogOverlay>\n) => <ShadcnAlertDialogOverlay {...props} />;\n\nconst AlertDialogPortal = (\n props: React.ComponentProps<typeof ShadcnAlertDialogPortal>\n) => <ShadcnAlertDialogPortal {...props} />;\n\nconst AlertDialogTitle = (\n props: React.ComponentProps<typeof ShadcnAlertDialogTitle>\n) => <ShadcnAlertDialogTitle {...props} />;\n\nconst AlertDialogTrigger = (\n props: React.ComponentProps<typeof ShadcnAlertDialogTrigger>\n) => <ShadcnAlertDialogTrigger {...props} />;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["jsx","Fragment2","createContextScope","createDialogScope","AlertDialog","DialogPrimitive.Root","AlertDialogTrigger","React","DialogPrimitive.Trigger","AlertDialogPortal","DialogPrimitive.Portal","AlertDialogOverlay","DialogPrimitive.Overlay","AlertDialogContent","useComposedRefs","DialogPrimitive.WarningProvider","jsxs","DialogPrimitive.Content","composeEventHandlers","AlertDialogTitle","DialogPrimitive.Title","AlertDialogDescription","DialogPrimitive.Description","AlertDialogAction","DialogPrimitive.Close","AlertDialogCancel","_jsx","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","AlertDialogPrimitive.Overlay","cn","_jsxs","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogMedia","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","Button","AlertDialogPrimitive.Action","AlertDialogPrimitive.Cancel","ShadcnAlertDialog","ShadcnAlertDialogAction","ShadcnAlertDialogCancel","ShadcnAlertDialogContent","ShadcnAlertDialogDescription","ShadcnAlertDialogFooter","ShadcnAlertDialogHeader","ShadcnAlertDialogMedia","ShadcnAlertDialogOverlay","ShadcnAlertDialogPortal","ShadcnAlertDialogTitle","ShadcnAlertDialogTrigger"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA8CA,IAAI,oBAAoB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACpD;AACA,SAAS,eAA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K,EAAA;AAE5C,MAAM,iBAAiB,GAAG,CACxB,KAA2D,KACxDpB,cAAA,CAACqB,mBAAuB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEvC,MAAM,iBAAiB,GAAG,CACxB,KAA2D,KACxDrB,cAAA,CAACsB,mBAAuB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEvC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDtB,cAAA,CAACuB,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,kBAAkB,GAAG,CACzB,KAA4D,KACzDvB,cAAA,CAACwB,oBAAwB,EAAA,EAAA,GAAK,KAAK,EAAA;AAExC,MAAM,iBAAiB,GAAG,CACxB,KAA2D,KACxDxB,cAAA,CAACyB,mBAAuB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEvC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDzB,cAAA,CAAC0B,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,kBAAkB,GAAG,CACzB,KAA4D,KACzD1B,cAAA,CAAC2B,oBAAwB,EAAA,EAAA,GAAK,KAAK,EAAA;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"file":"AlertDialog.js","sources":["../../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../../../src/shadcn/components/alert-dialog.tsx","../../../../src/primitives/AlertDialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\"\n\nimport * as React from \"react\"\nimport { AlertDialog as AlertDialogPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { Button } from \"src/shadcn/components/button\"\n\nfunction AlertDialog({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {\n return <AlertDialogPrimitive.Root data-slot=\"alert-dialog\" {...props} />\n}\n\nfunction AlertDialogTrigger({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {\n return (\n <AlertDialogPrimitive.Trigger data-slot=\"alert-dialog-trigger\" {...props} />\n )\n}\n\nfunction AlertDialogPortal({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {\n return (\n <AlertDialogPrimitive.Portal data-slot=\"alert-dialog-portal\" {...props} />\n )\n}\n\nfunction AlertDialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {\n return (\n <AlertDialogPrimitive.Overlay\n data-slot=\"alert-dialog-overlay\"\n className={cn(\n \"fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogContent({\n className,\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {\n size?: \"default\" | \"sm\"\n}) {\n return (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-slot=\"alert-dialog-content\"\n data-size={size}\n className={cn(\n \"group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n )\n}\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-header\"\n className={cn(\n \"grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-footer\"\n className={cn(\n \"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogMedia({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"alert-dialog-media\"\n className={cn(\n \"mb-2 inline-flex size-10 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {\n return (\n <AlertDialogPrimitive.Title\n data-slot=\"alert-dialog-title\"\n className={cn(\n \"text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {\n return (\n <AlertDialogPrimitive.Description\n data-slot=\"alert-dialog-description\"\n className={cn(\n \"text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction AlertDialogAction({\n className,\n variant = \"default\",\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &\n Pick<React.ComponentProps<typeof Button>, \"variant\" | \"size\">) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Action\n data-slot=\"alert-dialog-action\"\n className={cn(className)}\n {...props}\n />\n </Button>\n )\n}\n\nfunction AlertDialogCancel({\n className,\n variant = \"outline\",\n size = \"default\",\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> &\n Pick<React.ComponentProps<typeof Button>, \"variant\" | \"size\">) {\n return (\n <Button variant={variant} size={size} asChild>\n <AlertDialogPrimitive.Cancel\n data-slot=\"alert-dialog-cancel\"\n className={cn(className)}\n {...props}\n />\n </Button>\n )\n}\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n}\n","import type React from \"react\";\nimport { cn } from \"src/shadcn/lib/utils\";\nimport {\n AlertDialog as ShadcnAlertDialog,\n AlertDialogAction as ShadcnAlertDialogAction,\n AlertDialogCancel as ShadcnAlertDialogCancel,\n AlertDialogContent as ShadcnAlertDialogContent,\n AlertDialogDescription as ShadcnAlertDialogDescription,\n AlertDialogFooter as ShadcnAlertDialogFooter,\n AlertDialogHeader as ShadcnAlertDialogHeader,\n AlertDialogMedia as ShadcnAlertDialogMedia,\n AlertDialogOverlay as ShadcnAlertDialogOverlay,\n AlertDialogPortal as ShadcnAlertDialogPortal,\n AlertDialogTitle as ShadcnAlertDialogTitle,\n AlertDialogTrigger as ShadcnAlertDialogTrigger,\n} from \"src/shadcn/components/alert-dialog\";\n\nconst AlertDialog = (props: React.ComponentProps<typeof ShadcnAlertDialog>) => (\n <ShadcnAlertDialog {...props} />\n);\n\nconst AlertDialogAction = (\n props: React.ComponentProps<typeof ShadcnAlertDialogAction>\n) => <ShadcnAlertDialogAction {...props} />;\n\nconst AlertDialogCancel = (\n props: React.ComponentProps<typeof ShadcnAlertDialogCancel>\n) => <ShadcnAlertDialogCancel {...props} />;\n\nconst AlertDialogContent = (\n props: React.ComponentProps<typeof ShadcnAlertDialogContent>\n) => <ShadcnAlertDialogContent {...props} />;\n\nconst AlertDialogDescription = (\n props: React.ComponentProps<typeof ShadcnAlertDialogDescription>\n) => <ShadcnAlertDialogDescription {...props} />;\n\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.ComponentProps<typeof ShadcnAlertDialogFooter>) => (\n <ShadcnAlertDialogFooter\n className={cn(\"border-border\", className)}\n {...props}\n />\n);\n\nconst AlertDialogHeader = (\n props: React.ComponentProps<typeof ShadcnAlertDialogHeader>\n) => <ShadcnAlertDialogHeader {...props} />;\n\nconst AlertDialogMedia = (\n props: React.ComponentProps<typeof ShadcnAlertDialogMedia>\n) => <ShadcnAlertDialogMedia {...props} />;\n\nconst AlertDialogOverlay = (\n props: React.ComponentProps<typeof ShadcnAlertDialogOverlay>\n) => <ShadcnAlertDialogOverlay {...props} />;\n\nconst AlertDialogPortal = (\n props: React.ComponentProps<typeof ShadcnAlertDialogPortal>\n) => <ShadcnAlertDialogPortal {...props} />;\n\nconst AlertDialogTitle = (\n props: React.ComponentProps<typeof ShadcnAlertDialogTitle>\n) => <ShadcnAlertDialogTitle {...props} />;\n\nconst AlertDialogTrigger = (\n props: React.ComponentProps<typeof ShadcnAlertDialogTrigger>\n) => <ShadcnAlertDialogTrigger {...props} />;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["jsx","Fragment2","createContextScope","createDialogScope","AlertDialog","DialogPrimitive.Root","AlertDialogTrigger","React","DialogPrimitive.Trigger","AlertDialogPortal","DialogPrimitive.Portal","AlertDialogOverlay","DialogPrimitive.Overlay","AlertDialogContent","useComposedRefs","DialogPrimitive.WarningProvider","jsxs","DialogPrimitive.Content","composeEventHandlers","AlertDialogTitle","DialogPrimitive.Title","AlertDialogDescription","DialogPrimitive.Description","AlertDialogAction","DialogPrimitive.Close","AlertDialogCancel","_jsx","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","AlertDialogPrimitive.Overlay","cn","_jsxs","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogMedia","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","Button","AlertDialogPrimitive.Action","AlertDialogPrimitive.Cancel","ShadcnAlertDialog","ShadcnAlertDialogAction","ShadcnAlertDialogCancel","ShadcnAlertDialogContent","ShadcnAlertDialogDescription","ShadcnAlertDialogFooter","ShadcnAlertDialogHeader","ShadcnAlertDialogMedia","ShadcnAlertDialogOverlay","ShadcnAlertDialogPortal","ShadcnAlertDialogTitle","ShadcnAlertDialogTrigger"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA8CA,IAAI,oBAAoB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACpD;AACA,SAAS,eAAe,CAAC,SAAS,EAAE;AACpC,EAAE,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK;AACvC,IAAI,uBAAuBA,cAAG,CAACC,mBAAS,EAAE,EAAE,QAAQ,EAAE,CAAC;AACvD,EAAE,CAAC;AACH,EAAE,UAAU,CAAC,WAAW,GAAG,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC;AACnD,EAAE,UAAU,CAAC,SAAS,GAAG,oBAA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AK,KAAK,EAAA;AAEvC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDtB,cAAA,CAACuB,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,kBAAkB,GAAG,CACzB,KAA4D,KACzDvB,cAAA,CAACwB,oBAAwB,EAAA,EAAA,GAAK,KAAK,EAAA;AAExC,MAAM,iBAAiB,GAAG,CACxB,KAA2D,KACxDxB,cAAA,CAACyB,mBAAuB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEvC,MAAM,gBAAgB,GAAG,CACvB,KAA0D,KACvDzB,cAAA,CAAC0B,kBAAsB,EAAA,EAAA,GAAK,KAAK,EAAA;AAEtC,MAAM,kBAAkB,GAAG,CACzB,KAA4D,KACzD1B,cAAA,CAAC2B,oBAAwB,EAAA,EAAA,GAAK,KAAK,EAAA;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var button = require('../button-
|
|
5
|
+
var button = require('../button-qIa_cyuE.js');
|
|
6
6
|
require('../index-BZhTddX0.js');
|
|
7
7
|
require('../utils-CTr7wn5d.js');
|
|
8
8
|
require('../index-DuNgWCXZ.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('react/jsx-runtime');
|
|
4
|
-
var primitives_Calendar = require('../Calendar-
|
|
4
|
+
var primitives_Calendar = require('../Calendar-BS-238p2.js');
|
|
5
5
|
require('react');
|
|
6
6
|
require('../utils-CTr7wn5d.js');
|
|
7
|
-
require('../button-
|
|
7
|
+
require('../button-qIa_cyuE.js');
|
|
8
8
|
require('../index-BZhTddX0.js');
|
|
9
9
|
require('../index-DuNgWCXZ.js');
|
|
10
10
|
require('../index-D-iDn9RI.js');
|
|
@@ -27,7 +27,7 @@ function CardFooter$1({ className, ...props }) {
|
|
|
27
27
|
|
|
28
28
|
const Card = (props) => (jsxRuntime.jsx(Card$1, { ...props }));
|
|
29
29
|
const CardHeader = (props) => (jsxRuntime.jsx(CardHeader$1, { ...props }));
|
|
30
|
-
const CardFooter = (props) => (jsxRuntime.jsx(CardFooter$1, { ...props }));
|
|
30
|
+
const CardFooter = ({ className, ...props }) => (jsxRuntime.jsx(CardFooter$1, { className: utils.cn("border-border", className), ...props }));
|
|
31
31
|
const CardTitle = (props) => (jsxRuntime.jsx(CardTitle$1, { ...props }));
|
|
32
32
|
const CardAction = (props) => (jsxRuntime.jsx(CardAction$1, { ...props }));
|
|
33
33
|
const CardDescription = (props) => jsxRuntime.jsx(CardDescription$1, { ...props });
|