@povio/ui 3.4.0-rc.45 → 3.4.0-rc.47
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/{Accordion-UtY7wEp-.d.ts → Accordion-Ba1AN8Oh.d.ts} +1 -2
- package/dist/{ActionModal-CzM2hcr0.d.ts → ActionModal-Cr1duuOL.d.ts} +1 -1
- package/dist/{Autocomplete-B9GmXJF4.d.ts → Autocomplete-BHThT8o6.d.ts} +3 -4
- package/dist/{Breadcrumbs-BLBMJpe1.d.ts → Breadcrumbs-DrBp4vnI.d.ts} +2 -3
- package/dist/{Button-DZZporg_.d.ts → Button-DIy4SCYi.d.ts} +8 -8
- package/dist/{Checkbox-JJwUwUxc.d.ts → Checkbox-DGzd9pZ2.d.ts} +7 -7
- package/dist/{Checkbox-Bg_KpTR1.js → Checkbox-YHAooOvQ.js} +1 -1
- package/dist/{CheckboxGroup-Cw-SKIqN.d.ts → CheckboxGroup-Bm0W41Eu.d.ts} +8 -8
- package/dist/{DatePicker-DAd7ncHf.d.ts → DatePicker-BpkXBEW3.d.ts} +5 -5
- package/dist/{DatePicker-DyAL-7Ze.js → DatePicker-D4J0iOtc.js} +1 -1
- package/dist/{DatePickerInput-CusTFCKQ.d.ts → DatePickerInput-Cgf12rqY.d.ts} +3 -3
- package/dist/{DateRangePicker-CNkQIrwx.js → DateRangePicker-cn0jlUFe.js} +3 -3
- package/dist/{DateRangePicker-CMbIzR3m.d.ts → DateRangePicker-uizMF2l6.d.ts} +10 -10
- package/dist/{DateTimePicker-Dc6_5X1V.d.ts → DateTimePicker-BYsxFhGA.d.ts} +6 -6
- package/dist/{DateTimePicker-C6RmNdPP.js → DateTimePicker-DH9G4lvs.js} +1 -1
- package/dist/{FileUpload-B7gn4UwN.d.ts → FileUpload-8CS7oVp3.d.ts} +2 -2
- package/dist/{FileUpload-D_kEAfO0.js → FileUpload-Bp_PJsEh.js} +1 -1
- package/dist/{FileUploadContainer-C4PRM8Io.d.ts → FileUploadContainer-AXKKhDA2.d.ts} +1 -1
- package/dist/{Form-CQRpe7ZJ.d.ts → Form-Deo6XMcJ.d.ts} +2 -2
- package/dist/{FormField-BuKYUy28.d.ts → FormField-H4QV55fT.d.ts} +2 -2
- package/dist/{IconButton-Drlnq7ik.d.ts → IconButton-DnEa5FjJ.d.ts} +2 -2
- package/dist/{InlineIconButton-C7_CmWFj.d.ts → InlineIconButton-C1ay6KJI.d.ts} +2 -3
- package/dist/{InputContent-DguS6x2Q.d.ts → InputContent-DCqetjPw.d.ts} +2 -2
- package/dist/{InputItem-BgpoT7wO.js → InputItem-Ccq-CPhO.js} +11 -11
- package/dist/{InputUpload-BZqamXus.d.ts → InputUpload-CeuW0fyb.d.ts} +4 -4
- package/dist/{InputUpload-BJpTDs3D.js → InputUpload-DhHwq04b.js} +1 -1
- package/dist/{Inputs-DtjIuT7_.js → Inputs-BEpDZNbM.js} +1 -1
- package/dist/{Inputs-NL0LZbhc.d.ts → Inputs-ScVfcq71.d.ts} +2 -2
- package/dist/{Link-D85-7S3h.d.ts → Link-DLX0WJRh.d.ts} +8 -6
- package/dist/{Menu-DzTYbIHz.d.ts → Menu-BM9gC3Or.d.ts} +2 -2
- package/dist/{MenuItem-DVFyNRhi.d.ts → MenuItem-Cw_-egy4.d.ts} +1 -1
- package/dist/{Modal-4GP9tQLf.d.ts → Modal--xD51Y24.d.ts} +2 -2
- package/dist/{NumberInput-DjuZmkzv.d.ts → NumberInput-D55Euj-I.d.ts} +5 -5
- package/dist/{NumberRangeInput-DKVN5j9j.d.ts → NumberRangeInput-DzefGyd0.d.ts} +4 -4
- package/dist/{NumberRangeInput-CW7X27p1.js → NumberRangeInput-z6Vtc1_K.js} +1 -1
- package/dist/{Pagination-fLbLp_Ro.d.ts → Pagination-oaAVGqb6.d.ts} +1 -1
- package/dist/{PaginationList-DKYcaO7E.d.ts → PaginationList-WMr1TrNu.d.ts} +1 -1
- package/dist/{PasswordInput-TIBbZOFu.d.ts → PasswordInput-DJsTL6MK.d.ts} +3 -3
- package/dist/{Pill-BuC3w3xn.d.ts → Pill-Bhp_PzWU.d.ts} +1 -1
- package/dist/{PillButton-JjV_kJ6L.d.ts → PillButton-CENJX_j1.d.ts} +1 -1
- package/dist/{QuerySelect--pihqb-N.d.ts → QuerySelect-ChJeOeeX.d.ts} +4 -5
- package/dist/{RadioGroup-Bp77H9AM.d.ts → RadioGroup-B9zgdNVL.d.ts} +8 -8
- package/dist/{RadioGroup-DSsr_W6H.js → RadioGroup-DbPn2mnb.js} +1 -1
- package/dist/{ResponsivePopover-C76oaVmY.d.ts → ResponsivePopover-C7TatLOZ.d.ts} +1 -1
- package/dist/Segment-Cs-lZFiv.d.ts +7 -0
- package/dist/{Segment-BnyGK1kI.js → Segment-KHQYRSY3.js} +1 -1
- package/dist/{Select-DPG_tS7y.js → Select-BH0NIzjw.js} +1 -1
- package/dist/{Select-ChzbiDjh.d.ts → Select-CMQMP_tH.d.ts} +3 -4
- package/dist/{SelectBase-DKJuFnvX.d.ts → SelectBase-DCzwAxex.d.ts} +5 -5
- package/dist/{Slider-DpjeijYH.js → Slider-DtUK508Z.js} +1 -1
- package/dist/{Slider-BmoZiiSt.d.ts → Slider-Dy0GfOxe.d.ts} +8 -8
- package/dist/{SplitButton-BEYV4IPB.d.ts → SplitButton-Cr_TZk_j.d.ts} +3 -3
- package/dist/{Tag-BfmQ9BIV.d.ts → Tag-Da5X5cTK.d.ts} +1 -1
- package/dist/{TextArea-CbZ9kNwo.d.ts → TextArea-DKP9ZCPb.d.ts} +8 -8
- package/dist/{TextArea-Bm3QhIRz.js → TextArea-DMvw-JCk.js} +1 -1
- package/dist/{TextButton-BZxhaNnh.d.ts → TextButton-CEueS1ax.d.ts} +3 -3
- package/dist/{TextEditor-BlVZ7XEZ.js → TextEditor-DbL1D7el.js} +2 -2
- package/dist/{TextEditor-KzRofqtx.d.ts → TextEditor-LFoZqOe9.d.ts} +3 -3
- package/dist/{TextInput-ChVYCxjg.d.ts → TextInput-DAqwg4vP.d.ts} +5 -5
- package/dist/{TimePicker-Bf82rbFG.js → TimePicker-B9qpVHTI.js} +1 -1
- package/dist/{TimePicker-CMhURRER.d.ts → TimePicker-DLhC6VV6.d.ts} +4 -4
- package/dist/{Toggle-pQ0-MbwL.d.ts → Toggle-CXwxnLLX.d.ts} +3 -3
- package/dist/{Toggle-Cf8jQ991.js → Toggle-DsvSShE-.js} +1 -1
- package/dist/ToggleButton-CWCpemW4.d.ts +12 -0
- package/dist/{Tooltip-BxixKjWm.d.ts → Tooltip-DuSQBQG8.d.ts} +4 -4
- package/dist/{autocomplete-BY74KiVw.d.ts → autocomplete-DezC1PNA.d.ts} +3 -4
- package/dist/button-bDCNbu2s.d.ts +2 -0
- package/dist/{checkbox-DLczwKKs.d.ts → checkbox-boU4zAYX.d.ts} +1 -1
- package/dist/{checkbox-group-DT7hMwsc.d.ts → checkbox-group-BlH09Lhn.d.ts} +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/action-modal.d.ts +1 -1
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group.js +2 -2
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.d.ts +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/file-upload-container.d.ts +2 -2
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/inline-icon-button.d.ts +1 -1
- package/dist/components/input-upload.d.ts +1 -1
- package/dist/components/input-upload.js +1 -1
- package/dist/components/link.d.ts +1 -1
- package/dist/components/menu.d.ts +2 -2
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-input.js +1 -1
- package/dist/components/number-range-input.d.ts +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.d.ts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/pill-button.d.ts +1 -1
- package/dist/components/pill.d.ts +1 -1
- package/dist/components/query-autocomplete.d.ts +3 -3
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.d.ts +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio-group.d.ts +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/responsive-popover.d.ts +1 -1
- package/dist/components/segment.d.ts +2 -2
- package/dist/components/segment.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/text-area.d.ts +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.d.ts +1 -1
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/text-input.js +1 -1
- package/dist/components/time-picker.d.ts +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/use-toast.d.ts +1 -1
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/link-context.d.ts +2 -2
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/{confirmation.context-CuufQTQR.d.ts → confirmation.context-CmbxKmXo.d.ts} +1 -1
- package/dist/{date-picker-CuNJV9nJ.d.ts → date-picker-C4IiQKfK.d.ts} +1 -1
- package/dist/{date-range-picker-CJOhtloN.d.ts → date-range-picker-BEDP3EVS.d.ts} +1 -1
- package/dist/{date-time-picker-MIDzdeQN.d.ts → date-time-picker-DxE8Dvn-.d.ts} +1 -1
- package/dist/{dynamicInputs-2kB0x8BT.d.ts → dynamicInputs-CY6tmcvQ.d.ts} +82 -83
- package/dist/{file-upload-C0kwtd3Z.d.ts → file-upload-CzD3U0_9.d.ts} +2 -2
- package/dist/{fileUpload.types-DFg9wCbc.d.ts → fileUpload.types-1EevkMSt.d.ts} +6 -6
- package/dist/{form.binding-DAAmi5nC.js → form.binding-CiRiRcTS.js} +5 -3
- package/dist/{form.binding-Cu03pQ8Y.d.ts → form.binding-DVJ5F0JE.d.ts} +4 -3
- package/dist/{form.types-qEwMTXTZ.d.ts → form.types-CecYaerF.d.ts} +1 -1
- package/dist/icons.d.ts +2 -2
- package/dist/index.d.ts +70 -71
- package/dist/index.js +7 -7
- package/dist/{input-upload-CFcsHAOE.d.ts → input-upload-sjrDwwj8.d.ts} +1 -1
- package/dist/{link.context-BUxUXeo6.d.ts → link.context-BoEOZqJY.d.ts} +1 -1
- package/dist/{number-input-DhLfHuVP.d.ts → number-input-m47wtnO5.d.ts} +1 -1
- package/dist/{number-range-input-CLsMdwqJ.d.ts → number-range-input-CDI2cgH-.d.ts} +1 -1
- package/dist/{password-input--nSBPzos.d.ts → password-input-BSjEW5qV.d.ts} +1 -1
- package/dist/{query-autocomplete-vHRKodn0.d.ts → query-autocomplete-BmyGnaKU.d.ts} +2 -2
- package/dist/{query-select-CvoVhXu1.d.ts → query-select-BdSJS43M.d.ts} +3 -4
- package/dist/{queryAutocomplete.types-Cn4fe0OX.d.ts → queryAutocomplete.types-BtQJn8sf.d.ts} +4 -4
- package/dist/{radio-group-rmH66jpI.d.ts → radio-group-HZHXgwiW.d.ts} +1 -1
- package/dist/rhf/autocomplete.d.ts +2 -2
- package/dist/rhf/checkbox-group.d.ts +2 -2
- package/dist/rhf/checkbox.d.ts +2 -2
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.d.ts +2 -2
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.d.ts +2 -2
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.d.ts +2 -2
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-upload.d.ts +2 -2
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/input-upload.d.ts +2 -2
- package/dist/rhf/input-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-input.d.ts +2 -2
- package/dist/rhf/number-range-input.d.ts +2 -2
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/password-input.d.ts +2 -2
- package/dist/rhf/query-autocomplete.d.ts +1 -1
- package/dist/rhf/query-select.d.ts +1 -1
- package/dist/rhf/radio-group.d.ts +2 -2
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/segment.d.ts +2 -2
- package/dist/rhf/segment.js +1 -1
- package/dist/rhf/select.d.ts +2 -2
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.d.ts +2 -2
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/text-area.d.ts +2 -2
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/text-editor.d.ts +2 -2
- package/dist/rhf/text-editor.js +1 -1
- package/dist/rhf/text-input.d.ts +2 -2
- package/dist/rhf/time-picker.d.ts +2 -2
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle.d.ts +2 -2
- package/dist/rhf/toggle.js +1 -1
- package/dist/rhf.d.ts +70 -71
- package/dist/rhf.js +7 -7
- package/dist/{segment-e0jd1JbP.d.ts → segment-CXgrI1D3.d.ts} +2 -3
- package/dist/{segment.types-DUstTZeA.d.ts → segment.types-BhDbUSjd.d.ts} +3 -4
- package/dist/{select-Bvt1d_ly.d.ts → select-C8jT5aAx.d.ts} +3 -4
- package/dist/{slider-CRnAZyb_.d.ts → slider-CfQxAtGi.d.ts} +1 -1
- package/dist/tanstack/autocomplete.d.ts +1 -1
- package/dist/tanstack/checkbox-group.d.ts +1 -1
- package/dist/tanstack/checkbox.d.ts +1 -1
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.d.ts +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.d.ts +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.d.ts +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-upload.d.ts +2 -2
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +2 -2
- package/dist/tanstack/form.js +2 -2
- package/dist/tanstack/input-upload.d.ts +1 -1
- package/dist/tanstack/input-upload.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.d.ts +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.d.ts +1 -1
- package/dist/tanstack/query-select.d.ts +1 -1
- package/dist/tanstack/radio-group.d.ts +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/segment.d.ts +2 -2
- package/dist/tanstack/segment.js +1 -1
- package/dist/tanstack/select.d.ts +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.d.ts +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/table.d.ts +1 -1
- package/dist/tanstack/table.js +1 -1
- package/dist/tanstack/text-area.d.ts +1 -1
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/text-editor.d.ts +1 -1
- package/dist/tanstack/text-editor.js +1 -1
- package/dist/tanstack/text-input.d.ts +1 -1
- package/dist/tanstack/time-picker.d.ts +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle.d.ts +1 -1
- package/dist/tanstack/toggle.js +1 -1
- package/dist/tanstack.d.ts +56 -56
- package/dist/tanstack.js +18 -18
- package/dist/{text-area-KsaEQpPz.d.ts → text-area-DC66AoNt.d.ts} +1 -1
- package/dist/{text-editor-CYU0teJy.d.ts → text-editor-C-EwtPlu.d.ts} +1 -1
- package/dist/text-editor.d.ts +1 -1
- package/dist/text-editor.js +1 -1
- package/dist/{text-input-dZeNDTtP.d.ts → text-input-Bqs1Zjkb.d.ts} +1 -1
- package/dist/{time-picker-CcHlAJUk.d.ts → time-picker-PuMNF85l.d.ts} +1 -1
- package/dist/{toggle-BGOUUhAG.d.ts → toggle-Cq1LSIQH.d.ts} +1 -1
- package/dist/{uiConfig.context-Bjb9TQ6Y.d.ts → uiConfig.context-D9Aig1NJ.d.ts} +1 -1
- package/dist/{useFormAutosave-CaF9uarl.js → useFormAutosave-BlLWGgwY.js} +2 -2
- package/dist/{useTableColumnConfig-D2H_RUmX.js → useTableColumnConfig-CKQtX6hN.js} +6 -6
- package/dist/{useTableNav-aDO5L4da.d.ts → useTableNav-COJSkL1L.d.ts} +2 -2
- package/dist/useToast-COxVxlxx.d.ts +16 -0
- package/package.json +2 -5
- package/dist/Segment-AtakFKus.d.ts +0 -8
- package/dist/ToggleButton-DRTGhnjR.d.ts +0 -12
- package/dist/button-COs7mrbm.d.ts +0 -1
- package/dist/index-B8r_kiw4.d.ts +0 -193
- package/dist/index-CXUySbXH.d.ts +0 -378
- package/dist/lucide-react-BJRvqSeV.d.ts +0 -23
- package/dist/types-CaqW-yY5.d.ts +0 -816
- package/dist/types-Dugk_Mie.d.ts +0 -581
- package/dist/useToast-q70ayd29.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -1351,6 +1351,7 @@
|
|
|
1351
1351
|
"motion": "~12.23.24",
|
|
1352
1352
|
"react-aria": "^3.46.0",
|
|
1353
1353
|
"react-aria-components": "^1.15.1",
|
|
1354
|
+
"react-hook-form": "^7.65.0",
|
|
1354
1355
|
"react-stately": "^3.44.0",
|
|
1355
1356
|
"react-toastify": "^11.0.5",
|
|
1356
1357
|
"tailwindcss": "^4.2.4",
|
|
@@ -1388,7 +1389,6 @@
|
|
|
1388
1389
|
"i18next": ">=25",
|
|
1389
1390
|
"react": "^19.1.0",
|
|
1390
1391
|
"react-dom": "^19.1.0",
|
|
1391
|
-
"react-hook-form": "^7.65.0",
|
|
1392
1392
|
"react-i18next": ">=16",
|
|
1393
1393
|
"zod": "^4.4.3"
|
|
1394
1394
|
},
|
|
@@ -1467,9 +1467,6 @@
|
|
|
1467
1467
|
},
|
|
1468
1468
|
"@tiptap/starter-kit": {
|
|
1469
1469
|
"optional": true
|
|
1470
|
-
},
|
|
1471
|
-
"react-hook-form": {
|
|
1472
|
-
"optional": true
|
|
1473
1470
|
}
|
|
1474
1471
|
}
|
|
1475
1472
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { k as Key } from "./types-Dugk_Mie.js";
|
|
2
|
-
import "./types-CaqW-yY5.js";
|
|
3
|
-
import { n as FieldValues } from "./form.binding-Cu03pQ8Y.js";
|
|
4
|
-
import { t as ControlledSegmentProps } from "./segment.types-DUstTZeA.js";
|
|
5
|
-
//#region src/components/segment/Segment.d.ts
|
|
6
|
-
declare const Segment: <TFieldValues extends FieldValues, TKey extends Key = Key>(props: ControlledSegmentProps<TFieldValues, TKey>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { Segment as t };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { _ as ToggleButtonProps$1 } from "./types-CaqW-yY5.js";
|
|
2
|
-
import { n as ButtonVariantProps } from "./button.cva-zMNkoZH8.js";
|
|
3
|
-
import { t as ButtonContentVariantProps } from "./buttonContent.cva-CIOaLH0a.js";
|
|
4
|
-
import { n as ButtonIconProps } from "./Button-DZZporg_.js";
|
|
5
|
-
import { ReactNode } from "react";
|
|
6
|
-
//#region src/components/buttons/ToggleButton/ToggleButton.d.ts
|
|
7
|
-
type ToggleButtonProps = ButtonVariantProps & ButtonContentVariantProps & ToggleButtonProps$1 & ButtonIconProps<true | false> & {
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
declare const ToggleButton: ({ children, ...props }: ToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ToggleButtonProps as n, ToggleButton as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./types-CaqW-yY5.js";
|
package/dist/index-B8r_kiw4.d.ts
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import $HgANd$react, { HTMLAttributes } from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/react-toastify@11.0.5+67f6792bdf102c28/node_modules/react-toastify/dist/index.d.ts
|
|
3
|
-
interface CloseButtonProps {
|
|
4
|
-
closeToast: CloseToastFunc;
|
|
5
|
-
type: TypeOptions;
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Used when providing custom icon
|
|
11
|
-
*/
|
|
12
|
-
interface IconProps {
|
|
13
|
-
theme: Theme;
|
|
14
|
-
type: TypeOptions;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
}
|
|
17
|
-
type TypeOptions = 'info' | 'success' | 'warning' | 'error' | 'default';
|
|
18
|
-
type Theme = 'light' | 'dark' | 'colored' | (string & {});
|
|
19
|
-
type ToastPosition = 'top-right' | 'top-center' | 'top-left' | 'bottom-right' | 'bottom-center' | 'bottom-left';
|
|
20
|
-
type CloseToastFunc = ((reason?: boolean | string) => void) & ((e: $HgANd$react.MouseEvent) => void);
|
|
21
|
-
type ToastIcon = false | ((props: IconProps) => $HgANd$react.ReactNode) | $HgANd$react.ReactElement<IconProps>;
|
|
22
|
-
type Id = number | string;
|
|
23
|
-
type ToastTransition = $HgANd$react.FC<ToastTransitionProps> | $HgANd$react.ComponentClass<ToastTransitionProps>;
|
|
24
|
-
/**
|
|
25
|
-
* ClassName for the elements - can take a function to build a classname or a raw string that is cx'ed to defaults
|
|
26
|
-
*/
|
|
27
|
-
type ToastClassName = ((context?: {
|
|
28
|
-
type?: TypeOptions;
|
|
29
|
-
defaultClassName?: string;
|
|
30
|
-
position?: ToastPosition;
|
|
31
|
-
rtl?: boolean;
|
|
32
|
-
}) => string) | string;
|
|
33
|
-
type DraggableDirection = 'x' | 'y';
|
|
34
|
-
interface CommonOptions {
|
|
35
|
-
/**
|
|
36
|
-
* Pause the timer when the mouse hover the toast.
|
|
37
|
-
* `Default: true`
|
|
38
|
-
*/
|
|
39
|
-
pauseOnHover?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Pause the toast when the window loses focus.
|
|
42
|
-
* `Default: true`
|
|
43
|
-
*/
|
|
44
|
-
pauseOnFocusLoss?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Remove the toast when clicked.
|
|
47
|
-
* `Default: false`
|
|
48
|
-
*/
|
|
49
|
-
closeOnClick?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Set the delay in ms to close the toast automatically.
|
|
52
|
-
* Use `false` to prevent the toast from closing.
|
|
53
|
-
* `Default: 5000`
|
|
54
|
-
*/
|
|
55
|
-
autoClose?: number | false;
|
|
56
|
-
/**
|
|
57
|
-
* Set the default position to use.
|
|
58
|
-
* `One of: 'top-right', 'top-center', 'top-left', 'bottom-right', 'bottom-center', 'bottom-left'`
|
|
59
|
-
* `Default: 'top-right'`
|
|
60
|
-
*/
|
|
61
|
-
position?: ToastPosition;
|
|
62
|
-
/**
|
|
63
|
-
* Pass a custom close button.
|
|
64
|
-
* To remove the close button pass `false`
|
|
65
|
-
*/
|
|
66
|
-
closeButton?: boolean | ((props: CloseButtonProps) => $HgANd$react.ReactNode) | $HgANd$react.ReactElement<CloseButtonProps>;
|
|
67
|
-
/**
|
|
68
|
-
* An optional css class to set for the progress bar.
|
|
69
|
-
*/
|
|
70
|
-
progressClassName?: ToastClassName;
|
|
71
|
-
/**
|
|
72
|
-
* Hide or show the progress bar.
|
|
73
|
-
* `Default: false`
|
|
74
|
-
*/
|
|
75
|
-
hideProgressBar?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Pass a custom transition see https://fkhadra.github.io/react-toastify/custom-animation/
|
|
78
|
-
*/
|
|
79
|
-
transition?: ToastTransition;
|
|
80
|
-
/**
|
|
81
|
-
* Allow toast to be draggable
|
|
82
|
-
* `Default: 'touch'`
|
|
83
|
-
*/
|
|
84
|
-
draggable?: boolean | 'mouse' | 'touch';
|
|
85
|
-
/**
|
|
86
|
-
* The percentage of the toast's width it takes for a drag to dismiss a toast
|
|
87
|
-
* `Default: 80`
|
|
88
|
-
*/
|
|
89
|
-
draggablePercent?: number;
|
|
90
|
-
/**
|
|
91
|
-
* Specify in which direction should you swipe to dismiss the toast
|
|
92
|
-
* `Default: "x"`
|
|
93
|
-
*/
|
|
94
|
-
draggableDirection?: DraggableDirection;
|
|
95
|
-
/**
|
|
96
|
-
* Define the ARIA role for the toast
|
|
97
|
-
* `Default: alert`
|
|
98
|
-
* https://www.w3.org/WAI/PF/aria/roles
|
|
99
|
-
*/
|
|
100
|
-
role?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Set id to handle multiple container
|
|
103
|
-
*/
|
|
104
|
-
containerId?: Id;
|
|
105
|
-
/**
|
|
106
|
-
* Fired when clicking inside toaster
|
|
107
|
-
*/
|
|
108
|
-
onClick?: (event: $HgANd$react.MouseEvent) => void;
|
|
109
|
-
/**
|
|
110
|
-
* Support right to left display.
|
|
111
|
-
* `Default: false`
|
|
112
|
-
*/
|
|
113
|
-
rtl?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Used to display a custom icon. Set it to `false` to prevent
|
|
116
|
-
* the icons from being displayed
|
|
117
|
-
*/
|
|
118
|
-
icon?: ToastIcon;
|
|
119
|
-
/**
|
|
120
|
-
* Theme to use.
|
|
121
|
-
* `One of: 'light', 'dark', 'colored'`
|
|
122
|
-
* `Default: 'light'`
|
|
123
|
-
*/
|
|
124
|
-
theme?: Theme;
|
|
125
|
-
/**
|
|
126
|
-
* When set to `true` the built-in progress bar won't be rendered at all. Autoclose delay won't have any effect as well
|
|
127
|
-
* This is only used when you want to replace the progress bar with your own.
|
|
128
|
-
*
|
|
129
|
-
* See https://stackblitz.com/edit/react-toastify-custom-progress-bar?file=src%2FApp.tsx for an example.
|
|
130
|
-
*/
|
|
131
|
-
customProgressBar?: boolean;
|
|
132
|
-
}
|
|
133
|
-
interface ToastOptions<Data = unknown> extends CommonOptions {
|
|
134
|
-
/**
|
|
135
|
-
* An optional css class to set.
|
|
136
|
-
*/
|
|
137
|
-
className?: ToastClassName;
|
|
138
|
-
/**
|
|
139
|
-
* Called when toast is mounted.
|
|
140
|
-
*/
|
|
141
|
-
onOpen?: () => void;
|
|
142
|
-
/**
|
|
143
|
-
* Called when toast is unmounted.
|
|
144
|
-
* The callback first argument is the closure reason.
|
|
145
|
-
* It is "true" when the notification is closed by a user action like clicking on the close button.
|
|
146
|
-
*/
|
|
147
|
-
onClose?: (reason?: boolean | string) => void;
|
|
148
|
-
/**
|
|
149
|
-
* An optional inline style to apply.
|
|
150
|
-
*/
|
|
151
|
-
style?: $HgANd$react.CSSProperties;
|
|
152
|
-
/**
|
|
153
|
-
* Set the toast type.
|
|
154
|
-
* `One of: 'info', 'success', 'warning', 'error', 'default'`
|
|
155
|
-
*/
|
|
156
|
-
type?: TypeOptions;
|
|
157
|
-
/**
|
|
158
|
-
* Set a custom `toastId`
|
|
159
|
-
*/
|
|
160
|
-
toastId?: Id;
|
|
161
|
-
/**
|
|
162
|
-
* Used during update
|
|
163
|
-
*/
|
|
164
|
-
updateId?: Id;
|
|
165
|
-
/**
|
|
166
|
-
* Set the percentage for the controlled progress bar. `Value must be between 0 and 1.`
|
|
167
|
-
*/
|
|
168
|
-
progress?: number;
|
|
169
|
-
/**
|
|
170
|
-
* Let you provide any data, useful when you are using your own component
|
|
171
|
-
*/
|
|
172
|
-
data?: Data;
|
|
173
|
-
/**
|
|
174
|
-
* Let you specify the aria-label
|
|
175
|
-
*/
|
|
176
|
-
ariaLabel?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Add a delay in ms before the toast appear.
|
|
179
|
-
*/
|
|
180
|
-
delay?: number;
|
|
181
|
-
isLoading?: boolean;
|
|
182
|
-
}
|
|
183
|
-
interface ToastTransitionProps {
|
|
184
|
-
isIn: boolean;
|
|
185
|
-
done: () => void;
|
|
186
|
-
position: ToastPosition | string;
|
|
187
|
-
preventExitTransition: boolean;
|
|
188
|
-
nodeRef: $HgANd$react.RefObject<HTMLElement>;
|
|
189
|
-
children?: $HgANd$react.ReactNode;
|
|
190
|
-
playToast(): void;
|
|
191
|
-
}
|
|
192
|
-
//#endregion
|
|
193
|
-
export { ToastOptions as n, ToastPosition as r, Id as t };
|
package/dist/index-CXUySbXH.d.ts
DELETED
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
import { AnimationEventHandler, AriaAttributes, AriaRole, CSSProperties, DOMAttributes, FocusEvent, HTMLAttributeAnchorTarget, HTMLAttributeReferrerPolicy, KeyboardEvent, MouseEvent, MouseEventHandler, PointerEventHandler, ReactElement, ReactNode, Ref, RefAttributes, SyntheticEvent, TouchEventHandler, TransitionEventHandler, UIEventHandler, WheelEventHandler } from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/dom.d.ts
|
|
3
|
-
interface AriaLabelingProps {
|
|
4
|
-
/**
|
|
5
|
-
* Defines a string value that labels the current element.
|
|
6
|
-
*/
|
|
7
|
-
'aria-label'?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Identifies the element (or elements) that labels the current element.
|
|
10
|
-
*/
|
|
11
|
-
'aria-labelledby'?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Identifies the element (or elements) that describes the object.
|
|
14
|
-
*/
|
|
15
|
-
'aria-describedby'?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Identifies the element (or elements) that provide a detailed, extended description for the object.
|
|
18
|
-
*/
|
|
19
|
-
'aria-details'?: string;
|
|
20
|
-
}
|
|
21
|
-
// A set of common DOM props that are allowed on any component
|
|
22
|
-
// Ensure this is synced with DOMPropNames in filterDOMProps
|
|
23
|
-
interface DOMProps {
|
|
24
|
-
/**
|
|
25
|
-
* The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).
|
|
26
|
-
*/
|
|
27
|
-
id?: string;
|
|
28
|
-
}
|
|
29
|
-
interface FocusableDOMProps extends DOMProps {
|
|
30
|
-
/**
|
|
31
|
-
* Whether to exclude the element from the sequential tab order. If true,
|
|
32
|
-
* the element will not be focusable via the keyboard by tabbing. This should
|
|
33
|
-
* be avoided except in rare scenarios where an alternative means of accessing
|
|
34
|
-
* the element or its functionality via the keyboard is available.
|
|
35
|
-
*/
|
|
36
|
-
excludeFromTabOrder?: boolean;
|
|
37
|
-
}
|
|
38
|
-
interface InputDOMProps {
|
|
39
|
-
/**
|
|
40
|
-
* The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
|
|
41
|
-
*/
|
|
42
|
-
name?: string;
|
|
43
|
-
/**
|
|
44
|
-
* The `<form>` element to associate the input with.
|
|
45
|
-
* The value of this attribute must be the id of a `<form>` in the same document.
|
|
46
|
-
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form).
|
|
47
|
-
*/
|
|
48
|
-
form?: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* This type allows configuring link props with router options and type-safe URLs via TS module augmentation.
|
|
52
|
-
* By default, this is an empty type. Extend with `href` and `routerOptions` properties to configure your router.
|
|
53
|
-
*/
|
|
54
|
-
interface RouterConfig {}
|
|
55
|
-
type Href = RouterConfig extends {
|
|
56
|
-
href: infer H;
|
|
57
|
-
} ? H : string;
|
|
58
|
-
type RouterOptions = RouterConfig extends {
|
|
59
|
-
routerOptions: infer O;
|
|
60
|
-
} ? O : never;
|
|
61
|
-
// Make sure to update filterDOMProps.ts when updating this.
|
|
62
|
-
interface LinkDOMProps {
|
|
63
|
-
/** A URL to link to. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href). */
|
|
64
|
-
href?: Href;
|
|
65
|
-
/** Hints at the human language of the linked URL. See[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang). */
|
|
66
|
-
hrefLang?: string;
|
|
67
|
-
/** The target window for the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target). */
|
|
68
|
-
target?: HTMLAttributeAnchorTarget;
|
|
69
|
-
/** The relationship between the linked resource and the current page. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel). */
|
|
70
|
-
rel?: string;
|
|
71
|
-
/** Causes the browser to download the linked URL. A string may be provided to suggest a file name. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download). */
|
|
72
|
-
download?: boolean | string;
|
|
73
|
-
/** A space-separated list of URLs to ping when the link is followed. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#ping). */
|
|
74
|
-
ping?: string;
|
|
75
|
-
/** How much of the referrer to send when following the link. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy). */
|
|
76
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy;
|
|
77
|
-
/** Options for the configured client side router. */
|
|
78
|
-
routerOptions?: RouterOptions;
|
|
79
|
-
}
|
|
80
|
-
/** Any focusable element, including both HTML and SVG elements. */
|
|
81
|
-
interface FocusableElement extends Element, HTMLOrSVGElement {}
|
|
82
|
-
/** All DOM attributes supported across both HTML and SVG elements. */
|
|
83
|
-
interface DOMAttributes$1<T = FocusableElement> extends AriaAttributes, DOMAttributes<T> {
|
|
84
|
-
id?: string | undefined;
|
|
85
|
-
role?: AriaRole | undefined;
|
|
86
|
-
tabIndex?: number | undefined;
|
|
87
|
-
style?: CSSProperties | undefined;
|
|
88
|
-
className?: string | undefined;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Global attributes that can be applied to any DOM element.
|
|
92
|
-
* @private
|
|
93
|
-
*/
|
|
94
|
-
// NOTE: id is handled elsewhere (DOMProps).
|
|
95
|
-
interface GlobalDOMAttributes<T = Element> extends GlobalDOMEvents<T> {
|
|
96
|
-
dir?: string | undefined;
|
|
97
|
-
lang?: string | undefined;
|
|
98
|
-
hidden?: boolean | undefined;
|
|
99
|
-
inert?: boolean | undefined;
|
|
100
|
-
translate?: 'yes' | 'no' | undefined;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Global DOM events that are supported on all DOM elements.
|
|
104
|
-
* @private
|
|
105
|
-
*/
|
|
106
|
-
// NOTES:
|
|
107
|
-
// - Drag and drop events are omitted for now.
|
|
108
|
-
// - Keyboard and focus events are supported directly on focusable elements (FocusableProps).
|
|
109
|
-
// - Text input events (e.g. onInput, onCompositionStart, onCopy) are
|
|
110
|
-
// supported only directly on input elements (TextInputDOMProps).
|
|
111
|
-
// We don't support contentEditable on our components.
|
|
112
|
-
// - Media events should be handled directly on the <video>/<audio><img> element.
|
|
113
|
-
interface GlobalDOMEvents<T = Element> {
|
|
114
|
-
// MouseEvents
|
|
115
|
-
onClick?: MouseEventHandler<T> | undefined;
|
|
116
|
-
onClickCapture?: MouseEventHandler<T> | undefined;
|
|
117
|
-
onAuxClick?: MouseEventHandler<T> | undefined;
|
|
118
|
-
onAuxClickCapture?: MouseEventHandler<T> | undefined;
|
|
119
|
-
onContextMenu?: MouseEventHandler<T> | undefined;
|
|
120
|
-
onContextMenuCapture?: MouseEventHandler<T> | undefined;
|
|
121
|
-
onDoubleClick?: MouseEventHandler<T> | undefined;
|
|
122
|
-
onDoubleClickCapture?: MouseEventHandler<T> | undefined;
|
|
123
|
-
onMouseDown?: MouseEventHandler<T> | undefined;
|
|
124
|
-
onMouseDownCapture?: MouseEventHandler<T> | undefined;
|
|
125
|
-
onMouseEnter?: MouseEventHandler<T> | undefined;
|
|
126
|
-
onMouseLeave?: MouseEventHandler<T> | undefined;
|
|
127
|
-
onMouseMove?: MouseEventHandler<T> | undefined;
|
|
128
|
-
onMouseMoveCapture?: MouseEventHandler<T> | undefined;
|
|
129
|
-
onMouseOut?: MouseEventHandler<T> | undefined;
|
|
130
|
-
onMouseOutCapture?: MouseEventHandler<T> | undefined;
|
|
131
|
-
onMouseOver?: MouseEventHandler<T> | undefined;
|
|
132
|
-
onMouseOverCapture?: MouseEventHandler<T> | undefined;
|
|
133
|
-
onMouseUp?: MouseEventHandler<T> | undefined;
|
|
134
|
-
onMouseUpCapture?: MouseEventHandler<T> | undefined;
|
|
135
|
-
// Touch Events
|
|
136
|
-
onTouchCancel?: TouchEventHandler<T> | undefined;
|
|
137
|
-
onTouchCancelCapture?: TouchEventHandler<T> | undefined;
|
|
138
|
-
onTouchEnd?: TouchEventHandler<T> | undefined;
|
|
139
|
-
onTouchEndCapture?: TouchEventHandler<T> | undefined;
|
|
140
|
-
onTouchMove?: TouchEventHandler<T> | undefined;
|
|
141
|
-
onTouchMoveCapture?: TouchEventHandler<T> | undefined;
|
|
142
|
-
onTouchStart?: TouchEventHandler<T> | undefined;
|
|
143
|
-
onTouchStartCapture?: TouchEventHandler<T> | undefined;
|
|
144
|
-
// Pointer Events
|
|
145
|
-
onPointerDown?: PointerEventHandler<T> | undefined;
|
|
146
|
-
onPointerDownCapture?: PointerEventHandler<T> | undefined;
|
|
147
|
-
onPointerMove?: PointerEventHandler<T> | undefined;
|
|
148
|
-
onPointerMoveCapture?: PointerEventHandler<T> | undefined;
|
|
149
|
-
onPointerUp?: PointerEventHandler<T> | undefined;
|
|
150
|
-
onPointerUpCapture?: PointerEventHandler<T> | undefined;
|
|
151
|
-
onPointerCancel?: PointerEventHandler<T> | undefined;
|
|
152
|
-
onPointerCancelCapture?: PointerEventHandler<T> | undefined;
|
|
153
|
-
onPointerEnter?: PointerEventHandler<T> | undefined;
|
|
154
|
-
onPointerLeave?: PointerEventHandler<T> | undefined;
|
|
155
|
-
onPointerOver?: PointerEventHandler<T> | undefined;
|
|
156
|
-
onPointerOverCapture?: PointerEventHandler<T> | undefined;
|
|
157
|
-
onPointerOut?: PointerEventHandler<T> | undefined;
|
|
158
|
-
onPointerOutCapture?: PointerEventHandler<T> | undefined;
|
|
159
|
-
onGotPointerCapture?: PointerEventHandler<T> | undefined;
|
|
160
|
-
onGotPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
161
|
-
onLostPointerCapture?: PointerEventHandler<T> | undefined;
|
|
162
|
-
onLostPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
163
|
-
// UI Events
|
|
164
|
-
onScroll?: UIEventHandler<T> | undefined;
|
|
165
|
-
onScrollCapture?: UIEventHandler<T> | undefined;
|
|
166
|
-
// Wheel Events
|
|
167
|
-
onWheel?: WheelEventHandler<T> | undefined;
|
|
168
|
-
onWheelCapture?: WheelEventHandler<T> | undefined;
|
|
169
|
-
// Animation Events
|
|
170
|
-
onAnimationStart?: AnimationEventHandler<T> | undefined;
|
|
171
|
-
onAnimationStartCapture?: AnimationEventHandler<T> | undefined;
|
|
172
|
-
onAnimationEnd?: AnimationEventHandler<T> | undefined;
|
|
173
|
-
onAnimationEndCapture?: AnimationEventHandler<T> | undefined;
|
|
174
|
-
onAnimationIteration?: AnimationEventHandler<T> | undefined;
|
|
175
|
-
onAnimationIterationCapture?: AnimationEventHandler<T> | undefined;
|
|
176
|
-
// Transition Events
|
|
177
|
-
onTransitionCancel?: TransitionEventHandler<T> | undefined;
|
|
178
|
-
onTransitionCancelCapture?: TransitionEventHandler<T> | undefined;
|
|
179
|
-
onTransitionEnd?: TransitionEventHandler<T> | undefined;
|
|
180
|
-
onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
|
|
181
|
-
onTransitionRun?: TransitionEventHandler<T> | undefined;
|
|
182
|
-
onTransitionRunCapture?: TransitionEventHandler<T> | undefined;
|
|
183
|
-
onTransitionStart?: TransitionEventHandler<T> | undefined;
|
|
184
|
-
onTransitionStartCapture?: TransitionEventHandler<T> | undefined;
|
|
185
|
-
}
|
|
186
|
-
//#endregion
|
|
187
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/inputs.d.ts
|
|
188
|
-
type ValidationState = 'valid' | 'invalid';
|
|
189
|
-
interface ValidationResult {
|
|
190
|
-
/** Whether the input value is invalid. */
|
|
191
|
-
isInvalid: boolean;
|
|
192
|
-
/** The current error messages for the input if it is invalid, otherwise an empty array. */
|
|
193
|
-
validationErrors: string[];
|
|
194
|
-
/** The native validation details for the input. */
|
|
195
|
-
validationDetails: ValidityState;
|
|
196
|
-
}
|
|
197
|
-
//#endregion
|
|
198
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/selection.d.ts
|
|
199
|
-
type SelectionMode = 'none' | 'single' | 'multiple';
|
|
200
|
-
type SelectionBehavior = 'toggle' | 'replace';
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/dnd.d.ts
|
|
203
|
-
interface DragDropEvent {
|
|
204
|
-
/** The x coordinate of the event, relative to the target element. */
|
|
205
|
-
x: number;
|
|
206
|
-
/** The y coordinate of the event, relative to the target element. */
|
|
207
|
-
y: number;
|
|
208
|
-
}
|
|
209
|
-
type DropOperation = 'copy' | 'link' | 'move' | 'cancel';
|
|
210
|
-
interface DropEnterEvent extends DragDropEvent {
|
|
211
|
-
/** The event type. */
|
|
212
|
-
type: 'dropenter';
|
|
213
|
-
}
|
|
214
|
-
interface DropMoveEvent extends DragDropEvent {
|
|
215
|
-
/** The event type. */
|
|
216
|
-
type: 'dropmove';
|
|
217
|
-
}
|
|
218
|
-
interface DropActivateEvent extends DragDropEvent {
|
|
219
|
-
/** The event type. */
|
|
220
|
-
type: 'dropactivate';
|
|
221
|
-
}
|
|
222
|
-
interface DropExitEvent extends DragDropEvent {
|
|
223
|
-
/** The event type. */
|
|
224
|
-
type: 'dropexit';
|
|
225
|
-
}
|
|
226
|
-
interface TextDropItem {
|
|
227
|
-
/** The item kind. */
|
|
228
|
-
kind: 'text';
|
|
229
|
-
/**
|
|
230
|
-
* The drag types available for this item.
|
|
231
|
-
* These are often mime types, but may be custom app-specific types.
|
|
232
|
-
*/
|
|
233
|
-
types: Set<string>;
|
|
234
|
-
/** Returns the data for the given type as a string. */
|
|
235
|
-
getText(type: string): Promise<string>;
|
|
236
|
-
}
|
|
237
|
-
interface FileDropItem {
|
|
238
|
-
/** The item kind. */
|
|
239
|
-
kind: 'file';
|
|
240
|
-
/** The file type (usually a mime type). */
|
|
241
|
-
type: string;
|
|
242
|
-
/** The file name. */
|
|
243
|
-
name: string;
|
|
244
|
-
/** Returns the contents of the file as a blob. */
|
|
245
|
-
getFile(): Promise<File>;
|
|
246
|
-
/** Returns the contents of the file as a string. */
|
|
247
|
-
getText(): Promise<string>;
|
|
248
|
-
}
|
|
249
|
-
interface DirectoryDropItem {
|
|
250
|
-
/** The item kind. */
|
|
251
|
-
kind: 'directory';
|
|
252
|
-
/** The directory name. */
|
|
253
|
-
name: string;
|
|
254
|
-
/** Returns the entries contained within the directory. */
|
|
255
|
-
getEntries(): AsyncIterable<FileDropItem | DirectoryDropItem>;
|
|
256
|
-
}
|
|
257
|
-
type DropItem = TextDropItem | FileDropItem | DirectoryDropItem;
|
|
258
|
-
interface DropEvent extends DragDropEvent {
|
|
259
|
-
/** The event type. */
|
|
260
|
-
type: 'drop';
|
|
261
|
-
/** The drop operation that should occur. */
|
|
262
|
-
dropOperation: DropOperation;
|
|
263
|
-
/** The dropped items. */
|
|
264
|
-
items: DropItem[];
|
|
265
|
-
}
|
|
266
|
-
interface DragTypes {
|
|
267
|
-
/** Returns whether the drag contains data of the given type. */
|
|
268
|
-
has(type: string | symbol): boolean;
|
|
269
|
-
}
|
|
270
|
-
//#endregion
|
|
271
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/events.d.ts
|
|
272
|
-
// Event bubbling can be problematic in real-world applications, so the default for React Spectrum components
|
|
273
|
-
// is not to propagate. This can be overridden by calling continuePropagation() on the event.
|
|
274
|
-
type BaseEvent<T extends SyntheticEvent> = T & {
|
|
275
|
-
/**
|
|
276
|
-
* Use continuePropagation.
|
|
277
|
-
* @deprecated */
|
|
278
|
-
stopPropagation(): void;
|
|
279
|
-
continuePropagation(): void;
|
|
280
|
-
};
|
|
281
|
-
type KeyboardEvent$1 = BaseEvent<KeyboardEvent<any>>;
|
|
282
|
-
type PointerType = 'mouse' | 'pen' | 'touch' | 'keyboard' | 'virtual';
|
|
283
|
-
interface PressEvent {
|
|
284
|
-
/** The type of press event being fired. */
|
|
285
|
-
type: 'pressstart' | 'pressend' | 'pressup' | 'press';
|
|
286
|
-
/** The pointer type that triggered the press event. */
|
|
287
|
-
pointerType: PointerType;
|
|
288
|
-
/** The target element of the press event. */
|
|
289
|
-
target: Element;
|
|
290
|
-
/** Whether the shift keyboard modifier was held during the press event. */
|
|
291
|
-
shiftKey: boolean;
|
|
292
|
-
/** Whether the ctrl keyboard modifier was held during the press event. */
|
|
293
|
-
ctrlKey: boolean;
|
|
294
|
-
/** Whether the meta keyboard modifier was held during the press event. */
|
|
295
|
-
metaKey: boolean;
|
|
296
|
-
/** Whether the alt keyboard modifier was held during the press event. */
|
|
297
|
-
altKey: boolean;
|
|
298
|
-
/** X position relative to the target. */
|
|
299
|
-
x: number;
|
|
300
|
-
/** Y position relative to the target. */
|
|
301
|
-
y: number;
|
|
302
|
-
/**
|
|
303
|
-
* The key that triggered the press event, if it was triggered by a keyboard interaction.
|
|
304
|
-
* This is useful for differentiating between Space and Enter key presses.
|
|
305
|
-
*/
|
|
306
|
-
key?: string;
|
|
307
|
-
/**
|
|
308
|
-
* By default, press events stop propagation to parent elements.
|
|
309
|
-
* In cases where a handler decides not to handle a specific event,
|
|
310
|
-
* it can call `continuePropagation()` to allow a parent to handle it.
|
|
311
|
-
*/
|
|
312
|
-
continuePropagation(): void;
|
|
313
|
-
}
|
|
314
|
-
interface HoverEvent {
|
|
315
|
-
/** The type of hover event being fired. */
|
|
316
|
-
type: 'hoverstart' | 'hoverend';
|
|
317
|
-
/** The pointer type that triggered the hover event. */
|
|
318
|
-
pointerType: 'mouse' | 'pen';
|
|
319
|
-
/** The target element of the hover event. */
|
|
320
|
-
target: HTMLElement;
|
|
321
|
-
}
|
|
322
|
-
interface KeyboardEvents {
|
|
323
|
-
/** Handler that is called when a key is pressed. */
|
|
324
|
-
onKeyDown?: (e: KeyboardEvent$1) => void;
|
|
325
|
-
/** Handler that is called when a key is released. */
|
|
326
|
-
onKeyUp?: (e: KeyboardEvent$1) => void;
|
|
327
|
-
}
|
|
328
|
-
interface FocusEvents<Target = Element> {
|
|
329
|
-
/** Handler that is called when the element receives focus. */
|
|
330
|
-
onFocus?: (e: FocusEvent<Target>) => void;
|
|
331
|
-
/** Handler that is called when the element loses focus. */
|
|
332
|
-
onBlur?: (e: FocusEvent<Target>) => void;
|
|
333
|
-
/** Handler that is called when the element's focus status changes. */
|
|
334
|
-
onFocusChange?: (isFocused: boolean) => void;
|
|
335
|
-
}
|
|
336
|
-
interface HoverEvents {
|
|
337
|
-
/** Handler that is called when a hover interaction starts. */
|
|
338
|
-
onHoverStart?: (e: HoverEvent) => void;
|
|
339
|
-
/** Handler that is called when a hover interaction ends. */
|
|
340
|
-
onHoverEnd?: (e: HoverEvent) => void;
|
|
341
|
-
/** Handler that is called when the hover state changes. */
|
|
342
|
-
onHoverChange?: (isHovering: boolean) => void;
|
|
343
|
-
}
|
|
344
|
-
interface PressEvents {
|
|
345
|
-
/** Handler that is called when the press is released over the target. */
|
|
346
|
-
onPress?: (e: PressEvent) => void;
|
|
347
|
-
/** Handler that is called when a press interaction starts. */
|
|
348
|
-
onPressStart?: (e: PressEvent) => void;
|
|
349
|
-
/**
|
|
350
|
-
* Handler that is called when a press interaction ends, either
|
|
351
|
-
* over the target or when the pointer leaves the target.
|
|
352
|
-
*/
|
|
353
|
-
onPressEnd?: (e: PressEvent) => void;
|
|
354
|
-
/** Handler that is called when the press state changes. */
|
|
355
|
-
onPressChange?: (isPressed: boolean) => void;
|
|
356
|
-
/**
|
|
357
|
-
* Handler that is called when a press is released over the target, regardless of
|
|
358
|
-
* whether it started on the target or not.
|
|
359
|
-
*/
|
|
360
|
-
onPressUp?: (e: PressEvent) => void;
|
|
361
|
-
/**
|
|
362
|
-
* **Not recommended – use `onPress` instead.** `onClick` is an alias for `onPress`
|
|
363
|
-
* provided for compatibility with other libraries. `onPress` provides
|
|
364
|
-
* additional event details for non-mouse interactions.
|
|
365
|
-
*/
|
|
366
|
-
onClick?: (e: MouseEvent<FocusableElement>) => void;
|
|
367
|
-
}
|
|
368
|
-
interface FocusableProps<Target = Element> extends FocusEvents<Target>, KeyboardEvents {
|
|
369
|
-
/** Whether the element should receive focus on render. */
|
|
370
|
-
autoFocus?: boolean;
|
|
371
|
-
}
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region ../../node_modules/.bun/@react-types+shared@3.33.0+83d5fd7b249dbeef/node_modules/@react-types/shared/src/refs.d.ts
|
|
374
|
-
interface RefObject$1<T> {
|
|
375
|
-
current: T;
|
|
376
|
-
}
|
|
377
|
-
//#endregion
|
|
378
|
-
export { InputDOMProps as C, GlobalDOMAttributes as S, AriaLabelingProps as _, PressEvents as a, FocusableDOMProps as b, DropEnterEvent as c, DropMoveEvent as d, DropOperation as f, ValidationState as g, ValidationResult as h, HoverEvents as i, DropEvent as l, SelectionMode as m, FocusEvents as n, DragTypes as o, SelectionBehavior as p, FocusableProps as r, DropActivateEvent as s, RefObject$1 as t, DropExitEvent as u, DOMAttributes$1 as v, LinkDOMProps as w, FocusableElement as x, DOMProps as y };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as react from "react";
|
|
2
|
-
import { ReactNode, RefAttributes, SVGProps } from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/lucide-react.d.ts
|
|
4
|
-
type SVGAttributes = Partial<SVGProps<SVGSVGElement>>;
|
|
5
|
-
type ElementAttributes = RefAttributes<SVGSVGElement> & SVGAttributes;
|
|
6
|
-
interface LucideProps extends ElementAttributes {
|
|
7
|
-
size?: string | number;
|
|
8
|
-
absoluteStrokeWidth?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @component @name X
|
|
12
|
-
* @description Lucide SVG icon component, renders SVG Element with children.
|
|
13
|
-
*
|
|
14
|
-
* @preview  - https://lucide.dev/icons/x
|
|
15
|
-
* @see https://lucide.dev/guide/packages/lucide-react - Documentation
|
|
16
|
-
*
|
|
17
|
-
* @param {Object} props - Lucide icons props and any valid SVG attribute
|
|
18
|
-
* @returns {JSX.Element} JSX Element
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
declare const X: react.ForwardRefExoticComponent<Omit<LucideProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { X as t };
|