@powerhousedao/design-system 6.2.3-dev.9 → 6.2.3-dev.91
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/PinFilled-cSbUqZCA.js +41 -0
- package/dist/PinFilled-cSbUqZCA.js.map +1 -0
- package/dist/{Removed-CO_5C1ce.js → Removed-OP4eTrAN.js} +1 -1
- package/dist/{Removed-CO_5C1ce.js.map → Removed-OP4eTrAN.js.map} +1 -1
- package/dist/{Tabler-FjvVqX5a.js → Tabler-rjLxlzUV.js} +1 -1
- package/dist/{Tabler-FjvVqX5a.js.map → Tabler-rjLxlzUV.js.map} +1 -1
- package/dist/add-local-drive-form.impl-COIpcmgW.js +76 -0
- package/dist/add-local-drive-form.impl-COIpcmgW.js.map +1 -0
- package/dist/add-remote-drive-form.impl-_SqOzbSt.js +123 -0
- package/dist/add-remote-drive-form.impl-_SqOzbSt.js.map +1 -0
- package/dist/address-DVC3zalI.js +92 -0
- package/dist/address-DVC3zalI.js.map +1 -0
- package/dist/button-BYcXvZXr.d.ts +13 -0
- package/dist/button-BYcXvZXr.d.ts.map +1 -0
- package/dist/{character-counter-BWoglM2P.d.ts → character-counter-BZmZZCHN.d.ts} +2 -1
- package/dist/character-counter-BZmZZCHN.d.ts.map +1 -0
- package/dist/{checkbox-CGBtXQnI.d.ts → checkbox-BIAGwP7d.d.ts} +4 -4
- package/dist/checkbox-BIAGwP7d.d.ts.map +1 -0
- package/dist/{checkbox-base-CZo-4eL0.d.ts → checkbox-base-Bm0GPWgm.d.ts} +2 -2
- package/dist/checkbox-base-Bm0GPWgm.d.ts.map +1 -0
- package/dist/combobox.impl-CQHG0NgO.js +144 -0
- package/dist/combobox.impl-CQHG0NgO.js.map +1 -0
- package/dist/{command-tFzjgzge.d.ts → command-DHHTsHfH.d.ts} +5 -5
- package/dist/command-DHHTsHfH.d.ts.map +1 -0
- package/dist/connect/components/toast/toast.d.ts +8 -10
- package/dist/connect/components/toast/toast.d.ts.map +1 -1
- package/dist/connect/components/toast/toast.js +4 -4
- package/dist/connect/components/toast/toast.js.map +1 -1
- package/dist/connect/index.d.ts +539 -364
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +1175 -1653
- package/dist/connect/index.js.map +1 -1
- package/dist/{content-BHWIqmio.d.ts → content-Cv0kRppo.d.ts} +3 -3
- package/dist/content-Cv0kRppo.d.ts.map +1 -0
- package/dist/default-editor.impl-a6EOuEme.js +30 -0
- package/dist/default-editor.impl-a6EOuEme.js.map +1 -0
- package/dist/document-timeline.impl-zx6f7k2d.js +254 -0
- package/dist/document-timeline.impl-zx6f7k2d.js.map +1 -0
- package/dist/drive-settings-form.impl-yV9u4h5c.js +172 -0
- package/dist/drive-settings-form.impl-yV9u4h5c.js.map +1 -0
- package/dist/{enum-field-CwZVs3Ux.d.ts → enum-field-Cub1rt3e.d.ts} +4 -4
- package/dist/enum-field-Cub1rt3e.d.ts.map +1 -0
- package/dist/{form-CKRKn0TQ.d.ts → form-Brj5AQNr.d.ts} +3 -4
- package/dist/form-Brj5AQNr.d.ts.map +1 -0
- package/dist/{form-description-CYkcMEzm.d.ts → form-description-DJrDJzJi.d.ts} +2 -1
- package/dist/form-description-DJrDJzJi.d.ts.map +1 -0
- package/dist/{form-group-C8kL6pdZ.d.ts → form-group-Ckd28lpW.d.ts} +2 -1
- package/dist/form-group-Ckd28lpW.d.ts.map +1 -0
- package/dist/{form-label-b6nQi0XO.d.ts → form-label-C8ghd_lR.d.ts} +2 -1
- package/dist/form-label-C8ghd_lR.d.ts.map +1 -0
- package/dist/{form-message-Dq72nBXz.d.ts → form-message-CnKUkvlj.d.ts} +2 -1
- package/dist/form-message-CnKUkvlj.d.ts.map +1 -0
- package/dist/form-server-error-message-D2tFtDZ0.d.ts +6 -0
- package/dist/form-server-error-message-D2tFtDZ0.d.ts.map +1 -0
- package/dist/formatted-json-viewer.impl-COERJCiE.js +58 -0
- package/dist/formatted-json-viewer.impl-COERJCiE.js.map +1 -0
- package/dist/icon-DQ2yrWYv.js +358 -0
- package/dist/icon-DQ2yrWYv.js.map +1 -0
- package/dist/{icon-C4QOpsdI.js → icon-components-NK-y5dkv.js} +7 -481
- package/dist/icon-components-NK-y5dkv.js.map +1 -0
- package/dist/{id-autocomplete-C-hwriS5.d.ts → id-autocomplete-8LcmtjSR.d.ts} +3 -3
- package/dist/id-autocomplete-8LcmtjSR.d.ts.map +1 -0
- package/dist/{id-autocomplete-input-container-DFEyPh5p.d.ts → id-autocomplete-input-container-D2L7p-Yh.d.ts} +3 -3
- package/dist/id-autocomplete-input-container-D2L7p-Yh.d.ts.map +1 -0
- package/dist/{id-autocomplete-list-EzLpF23C.d.ts → id-autocomplete-list-BXvN07Hr.d.ts} +3 -3
- package/dist/id-autocomplete-list-BXvN07Hr.d.ts.map +1 -0
- package/dist/{id-autocomplete-list-option-CB5B07Hi.d.ts → id-autocomplete-list-option-D_1BOv50.d.ts} +4 -3
- package/dist/id-autocomplete-list-option-D_1BOv50.d.ts.map +1 -0
- package/dist/{index--hDSfvJT.d.ts → index-5FEr1tXH.d.ts} +25 -59
- package/dist/index-5FEr1tXH.d.ts.map +1 -0
- package/dist/index-C-Tup7Br.d.ts +4 -0
- package/dist/index-D6Zk5OLV.d.ts +4 -0
- package/dist/index-i-xHUsLr.d.ts +30 -0
- package/dist/index-jfVVOU-H.d.ts +2 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +2 -2
- package/dist/{input-BpEQjaWV.d.ts → input-WDvjJFqf.d.ts} +2 -2
- package/dist/input-WDvjJFqf.d.ts.map +1 -0
- package/dist/json-viewer-Kg0IBIt-.d.ts +7 -0
- package/dist/json-viewer-Kg0IBIt-.d.ts.map +1 -0
- package/dist/label-nH2HoKfI.js +15 -0
- package/dist/label-nH2HoKfI.js.map +1 -0
- package/dist/location-info-C3YbSsV0.js +47 -0
- package/dist/location-info-C3YbSsV0.js.map +1 -0
- package/dist/{message-list-C4mPpBBa.d.ts → message-list-D8d2ltLd.d.ts} +3 -3
- package/dist/message-list-D8d2ltLd.d.ts.map +1 -0
- package/dist/{popover-XSBOuSih.d.ts → popover-TvQxa0RU.d.ts} +2 -2
- package/dist/popover-TvQxa0RU.d.ts.map +1 -0
- package/dist/{radio-eL0Oy86J.d.ts → radio-CTS4WsNy.d.ts} +2 -2
- package/dist/radio-CTS4WsNy.d.ts.map +1 -0
- package/dist/{radio-group-Bkli6nUz.d.ts → radio-group-CROIwgYz.d.ts} +2 -2
- package/dist/radio-group-CROIwgYz.d.ts.map +1 -0
- package/dist/{radio-group-field-wlqeiLN3.d.ts → radio-group-field-X18o287K.d.ts} +5 -6
- package/dist/radio-group-field-X18o287K.d.ts.map +1 -0
- package/dist/revision-history.impl-DRbeai2m.js +642 -0
- package/dist/revision-history.impl-DRbeai2m.js.map +1 -0
- package/dist/{search-autocomplete-BJJkrZ1i.d.ts → search-autocomplete-COvFRZIb.d.ts} +3 -3
- package/dist/search-autocomplete-COvFRZIb.d.ts.map +1 -0
- package/dist/{select-field-C97QIhUL.d.ts → select-field-DHaCiAso.d.ts} +5 -5
- package/dist/select-field-DHaCiAso.d.ts.map +1 -0
- package/dist/{selected-content-CGsK5PR4.d.ts → selected-content-CSTFkQr9.d.ts} +3 -3
- package/dist/selected-content-CSTFkQr9.d.ts.map +1 -0
- package/dist/{sidebar-DOoE4krt.d.ts → sidebar-DFqreKf1.d.ts} +3 -3
- package/dist/sidebar-DFqreKf1.d.ts.map +1 -0
- package/dist/{sidebar-provider-C2eyz9TL.d.ts → sidebar-provider-CZHhqW5n.d.ts} +4 -8
- package/dist/sidebar-provider-CZHhqW5n.d.ts.map +1 -0
- package/dist/splitted-input-diff-DNKcSOAB.d.ts +11 -0
- package/dist/splitted-input-diff-DNKcSOAB.d.ts.map +1 -0
- package/dist/{src-CVV6HzQZ.js → src-DhSJCeu5.js} +180 -24
- package/dist/src-DhSJCeu5.js.map +1 -0
- package/dist/style.css +144 -62
- package/dist/text-field-Dq1DTC_t.d.ts +9 -0
- package/dist/text-field-Dq1DTC_t.d.ts.map +1 -0
- package/dist/{text-input-8zXIWHLi.d.ts → text-input-CRjOT54_.d.ts} +5 -6
- package/dist/text-input-CRjOT54_.d.ts.map +1 -0
- package/dist/text-input-diff-CcF0QblL.d.ts +12 -0
- package/dist/text-input-diff-CcF0QblL.d.ts.map +1 -0
- package/dist/{tooltip-BxS9HpML.d.ts → tooltip-B4uQJPUm.d.ts} +3 -4
- package/dist/tooltip-B4uQJPUm.d.ts.map +1 -0
- package/dist/{types-Bsn62tJB.d.ts → types-BNTIrhb5.d.ts} +2 -1
- package/dist/types-BNTIrhb5.d.ts.map +1 -0
- package/dist/{types-BTq-St7H.d.ts → types-CpFPFB1a.d.ts} +2 -1
- package/dist/types-CpFPFB1a.d.ts.map +1 -0
- package/dist/{types-C04Q_Fan.d.ts → types-D4CirgNk.d.ts} +2 -2
- package/dist/types-D4CirgNk.d.ts.map +1 -0
- package/dist/{types-CNbvfWjh.d.ts → types-FTqFl5du.d.ts} +3 -3
- package/dist/types-FTqFl5du.d.ts.map +1 -0
- package/dist/types-TZijOYrE.d.ts +17 -0
- package/dist/types-TZijOYrE.d.ts.map +1 -0
- package/dist/ui/components/button/button.d.ts +3 -2
- package/dist/ui/components/button/button.js +1 -1
- package/dist/ui/components/button/button.js.map +1 -1
- package/dist/ui/components/character-counter/character-counter.d.ts +3 -2
- package/dist/ui/components/character-counter/character-counter.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox-base.d.ts +3 -2
- package/dist/ui/components/checkbox/checkbox-base.js +1 -1
- package/dist/ui/components/checkbox/checkbox-base.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox.d.ts +3 -2
- package/dist/ui/components/checkbox/checkbox.js +1 -1
- package/dist/ui/components/checkbox/checkbox.js.map +1 -1
- package/dist/ui/components/command/command.d.ts +3 -2
- package/dist/ui/components/command/command.js +8 -8
- package/dist/ui/components/command/command.js.map +1 -1
- package/dist/ui/components/enum-field/enum-field.d.ts +3 -2
- package/dist/ui/components/enum-field/enum-field.js +1 -1
- package/dist/ui/components/enum-field/enum-field.js.map +1 -1
- package/dist/ui/components/enum-field/types.d.ts +3 -2
- package/dist/ui/components/form/form.d.ts +3 -2
- package/dist/ui/components/form/form.js +1 -1
- package/dist/ui/components/form/form.js.map +1 -1
- package/dist/ui/components/form/utils.d.ts +4 -4
- package/dist/ui/components/form/utils.d.ts.map +1 -1
- package/dist/ui/components/form/utils.js.map +1 -1
- package/dist/ui/components/form-description/form-description.d.ts +3 -2
- package/dist/ui/components/form-description/form-description.js.map +1 -1
- package/dist/ui/components/form-group/form-group.d.ts +3 -2
- package/dist/ui/components/form-group/form-group.js.map +1 -1
- package/dist/ui/components/form-label/form-label.d.ts +3 -2
- package/dist/ui/components/form-label/form-label.js +3 -2
- package/dist/ui/components/form-label/form-label.js.map +1 -1
- package/dist/ui/components/form-message/form-message.d.ts +3 -2
- package/dist/ui/components/form-message/form-message.js.map +1 -1
- package/dist/ui/components/form-message/form-server-error-message.d.ts +3 -2
- package/dist/ui/components/form-message/form-server-error-message.js.map +1 -1
- package/dist/ui/components/form-message/message-list.d.ts +3 -2
- package/dist/ui/components/form-message/message-list.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.d.ts +3 -5
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.d.ts.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-context.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/ui/components/id-autocomplete/types.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/use-id-autocomplete.d.ts +3 -2
- package/dist/ui/components/id-autocomplete/use-id-autocomplete.js.map +1 -1
- package/dist/ui/components/index.d.ts +42 -40
- package/dist/ui/components/input/input.d.ts +3 -2
- package/dist/ui/components/input/input.js +1 -1
- package/dist/ui/components/input/input.js.map +1 -1
- package/dist/ui/components/input/splitted-input-diff.d.ts +3 -2
- package/dist/ui/components/input/splitted-input-diff.js +10 -9
- package/dist/ui/components/input/splitted-input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/input-diff.d.ts +2 -11
- package/dist/ui/components/input/subcomponent/input-diff.d.ts.map +1 -1
- package/dist/ui/components/input/subcomponent/input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.d.ts +3 -12
- package/dist/ui/components/input/subcomponent/text-diff.d.ts.map +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.js.map +1 -1
- package/dist/ui/components/json-viewer/json-viewer.d.ts +3 -2
- package/dist/ui/components/json-viewer/json-viewer.js +1 -1
- package/dist/ui/components/json-viewer/json-viewer.js.map +1 -1
- package/dist/ui/components/popover/popover.d.ts +3 -2
- package/dist/ui/components/popover/popover.js +1 -1
- package/dist/ui/components/popover/popover.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio-group-field.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio-group-field.js +4 -3
- package/dist/ui/components/radio-group-field/radio-group-field.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio-group.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio-group.js +1 -1
- package/dist/ui/components/radio-group-field/radio-group.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio.d.ts +3 -2
- package/dist/ui/components/radio-group-field/radio.js +1 -1
- package/dist/ui/components/radio-group-field/radio.js.map +1 -1
- package/dist/ui/components/search-autocomplete/index.d.ts +6 -4
- package/dist/ui/components/search-autocomplete/search-autocomplete.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/search-autocomplete.js.map +1 -1
- package/dist/ui/components/search-autocomplete/types.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/use-search-autocomplete.d.ts +3 -2
- package/dist/ui/components/search-autocomplete/use-search-autocomplete.js.map +1 -1
- package/dist/ui/components/select-field/content.d.ts +3 -2
- package/dist/ui/components/select-field/content.js +1 -1
- package/dist/ui/components/select-field/content.js.map +1 -1
- package/dist/ui/components/select-field/select-field.d.ts +3 -2
- package/dist/ui/components/select-field/select-field.js +1 -1
- package/dist/ui/components/select-field/select-field.js.map +1 -1
- package/dist/ui/components/select-field/selected-content.d.ts +3 -2
- package/dist/ui/components/select-field/selected-content.js +1 -1
- package/dist/ui/components/select-field/selected-content.js.map +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts +3 -4
- package/dist/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -1
- package/dist/ui/components/select-field/use-select-field.d.ts +4 -12
- package/dist/ui/components/select-field/use-select-field.d.ts.map +1 -1
- package/dist/ui/components/select-field/use-select-field.js.map +1 -1
- package/dist/ui/components/sidebar/index.d.ts +6 -4
- package/dist/ui/components/sidebar/sidebar.d.ts +3 -2
- package/dist/ui/components/sidebar/sidebar.js +1 -1
- package/dist/ui/components/sidebar/sidebar.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +2 -7
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts +3 -18
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.js +4 -3
- package/dist/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +2 -4
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +4 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +3 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +7 -8
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +2 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +2 -2
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts +2 -8
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js +2 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton-item.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts +2 -4
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/sidebar-skeleton.js.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts +3 -9
- package/dist/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.js +1 -1
- package/dist/ui/components/sidebar/subcomponents/status-icon.js.map +1 -1
- package/dist/ui/components/sidebar/types.d.ts +3 -2
- package/dist/ui/components/sidebar/types.js +1 -1
- package/dist/ui/components/sidebar/types.js.map +1 -1
- package/dist/ui/components/sidebar/use-ellipsis.d.ts +2 -2
- package/dist/ui/components/sidebar/use-ellipsis.d.ts.map +1 -1
- package/dist/ui/components/sidebar/use-ellipsis.js.map +1 -1
- package/dist/ui/components/sidebar/use-sidebar-resize.d.ts +3 -9
- package/dist/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -1
- package/dist/ui/components/sidebar/use-sidebar-resize.js.map +1 -1
- package/dist/ui/components/sidebar/utils.d.ts +10 -11
- package/dist/ui/components/sidebar/utils.d.ts.map +1 -1
- package/dist/ui/components/sidebar/utils.js.map +1 -1
- package/dist/ui/components/text-field/text-field.d.ts +3 -2
- package/dist/ui/components/text-field/text-field.js +3 -2
- package/dist/ui/components/text-field/text-field.js.map +1 -1
- package/dist/ui/components/text-input/text-input-diff.d.ts +3 -2
- package/dist/ui/components/text-input/text-input-diff.js.map +1 -1
- package/dist/ui/components/text-input/text-input.d.ts +3 -2
- package/dist/ui/components/text-input/text-input.js +1 -1
- package/dist/ui/components/text-input/text-input.js.map +1 -1
- package/dist/ui/components/text-input/types.d.ts +3 -2
- package/dist/ui/components/tooltip/tooltip.d.ts +3 -2
- package/dist/ui/components/tooltip/tooltip.js +1 -1
- package/dist/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/ui/components/types.d.ts +3 -2
- package/dist/ui/components/value-transformer/value-transformer.d.ts +3 -2
- package/dist/ui/components/value-transformer/value-transformer.js +5 -3
- package/dist/ui/components/value-transformer/value-transformer.js.map +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.d.ts +3 -2
- package/dist/ui/components/with-field-validation/with-field-validation.js +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.js.map +1 -1
- package/dist/ui/index.d.ts +44 -42
- package/dist/ui/lib/date-picker.d.ts +4 -5
- package/dist/ui/lib/date-picker.d.ts.map +1 -1
- package/dist/ui/lib/date-picker.js +2 -1
- package/dist/ui/lib/date-picker.js.map +1 -1
- package/dist/ui/lib/date-time-picker.d.ts +6 -6
- package/dist/ui/lib/date-time-picker.d.ts.map +1 -1
- package/dist/ui/lib/date-time-picker.js.map +1 -1
- package/dist/ui/lib/deep-equal.d.ts +2 -2
- package/dist/ui/lib/deep-equal.d.ts.map +1 -1
- package/dist/ui/lib/deep-equal.js.map +1 -1
- package/dist/ui/lib/index.d.ts +2 -1
- package/dist/ui/lib/is-empty.d.ts +2 -2
- package/dist/ui/lib/is-empty.d.ts.map +1 -1
- package/dist/ui/lib/is-empty.js.map +1 -1
- package/dist/ui/lib/shared-value-transformers.d.ts +3 -4
- package/dist/ui/lib/shared-value-transformers.d.ts.map +1 -1
- package/dist/ui/lib/shared-value-transformers.js.map +1 -1
- package/dist/ui/lib/types.d.ts +3 -2
- package/dist/ui/lib/value-cast.d.ts +4 -4
- package/dist/ui/lib/value-cast.d.ts.map +1 -1
- package/dist/ui/lib/value-cast.js +10 -4
- package/dist/ui/lib/value-cast.js.map +1 -1
- package/dist/ui/types.d.ts +4 -3
- package/dist/{use-id-autocomplete-By7YSChC.d.ts → use-id-autocomplete-m9Bf0qCy.d.ts} +5 -16
- package/dist/use-id-autocomplete-m9Bf0qCy.d.ts.map +1 -0
- package/dist/{use-search-autocomplete-IfcQ_gKh.d.ts → use-search-autocomplete-vSvcsvcB.d.ts} +5 -6
- package/dist/use-search-autocomplete-vSvcsvcB.d.ts.map +1 -0
- package/dist/{value-transformer-DQjqtNih.d.ts → value-transformer-BtUh3-UP.d.ts} +5 -7
- package/dist/value-transformer-BtUh3-UP.d.ts.map +1 -0
- package/dist/{with-field-validation-Di5D8vU-.d.ts → with-field-validation-Bh26a6fr.d.ts} +3 -3
- package/dist/with-field-validation-Bh26a6fr.d.ts.map +1 -0
- package/package.json +17 -12
- package/plugins.css +6 -0
- package/tailwind.css +213 -0
- package/vendor.css +3 -0
- package/dist/button-C8doazjv.d.ts +0 -15
- package/dist/button-C8doazjv.d.ts.map +0 -1
- package/dist/character-counter-BWoglM2P.d.ts.map +0 -1
- package/dist/checkbox-CGBtXQnI.d.ts.map +0 -1
- package/dist/checkbox-base-CZo-4eL0.d.ts.map +0 -1
- package/dist/command-tFzjgzge.d.ts.map +0 -1
- package/dist/content-BHWIqmio.d.ts.map +0 -1
- package/dist/enum-field-CwZVs3Ux.d.ts.map +0 -1
- package/dist/form-CKRKn0TQ.d.ts.map +0 -1
- package/dist/form-description-CYkcMEzm.d.ts.map +0 -1
- package/dist/form-group-C8kL6pdZ.d.ts.map +0 -1
- package/dist/form-label-b6nQi0XO.d.ts.map +0 -1
- package/dist/form-message-Dq72nBXz.d.ts.map +0 -1
- package/dist/form-server-error-message-DXbaiTfF.d.ts +0 -7
- package/dist/form-server-error-message-DXbaiTfF.d.ts.map +0 -1
- package/dist/icon-C4QOpsdI.js.map +0 -1
- package/dist/id-autocomplete-C-hwriS5.d.ts.map +0 -1
- package/dist/id-autocomplete-input-container-DFEyPh5p.d.ts.map +0 -1
- package/dist/id-autocomplete-list-EzLpF23C.d.ts.map +0 -1
- package/dist/id-autocomplete-list-option-CB5B07Hi.d.ts.map +0 -1
- package/dist/index--hDSfvJT.d.ts.map +0 -1
- package/dist/index--okzibnx.d.ts +0 -1
- package/dist/index-BLwMeReG.d.ts +0 -1
- package/dist/index-Cw3C7_1f.d.ts +0 -1
- package/dist/index-E7Wvm5uX.d.ts +0 -1
- package/dist/index-J3R2mDFQ.d.ts +0 -1
- package/dist/input-BpEQjaWV.d.ts.map +0 -1
- package/dist/json-viewer-DaTgmzkS.d.ts +0 -8
- package/dist/json-viewer-DaTgmzkS.d.ts.map +0 -1
- package/dist/message-list-C4mPpBBa.d.ts.map +0 -1
- package/dist/popover-XSBOuSih.d.ts.map +0 -1
- package/dist/radio-eL0Oy86J.d.ts.map +0 -1
- package/dist/radio-group-Bkli6nUz.d.ts.map +0 -1
- package/dist/radio-group-field-wlqeiLN3.d.ts.map +0 -1
- package/dist/search-autocomplete-BJJkrZ1i.d.ts.map +0 -1
- package/dist/select-field-C97QIhUL.d.ts.map +0 -1
- package/dist/selected-content-CGsK5PR4.d.ts.map +0 -1
- package/dist/sidebar-DOoE4krt.d.ts.map +0 -1
- package/dist/sidebar-provider-C2eyz9TL.d.ts.map +0 -1
- package/dist/splitted-input-diff-CwPedpov.d.ts +0 -18
- package/dist/splitted-input-diff-CwPedpov.d.ts.map +0 -1
- package/dist/src-CVV6HzQZ.js.map +0 -1
- package/dist/text-field-DSInH67J.d.ts +0 -10
- package/dist/text-field-DSInH67J.d.ts.map +0 -1
- package/dist/text-input-8zXIWHLi.d.ts.map +0 -1
- package/dist/text-input-diff-B0vLSKQm.d.ts +0 -20
- package/dist/text-input-diff-B0vLSKQm.d.ts.map +0 -1
- package/dist/tooltip-BxS9HpML.d.ts.map +0 -1
- package/dist/types-BTq-St7H.d.ts.map +0 -1
- package/dist/types-Bsn62tJB.d.ts.map +0 -1
- package/dist/types-C04Q_Fan.d.ts.map +0 -1
- package/dist/types-CNbvfWjh.d.ts.map +0 -1
- package/dist/use-id-autocomplete-By7YSChC.d.ts.map +0 -1
- package/dist/use-search-autocomplete-IfcQ_gKh.d.ts.map +0 -1
- package/dist/value-transformer-DQjqtNih.d.ts.map +0 -1
- package/dist/with-field-validation-Di5D8vU-.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { y as IdAutocompleteProps } from "./index
|
|
1
|
+
import { y as IdAutocompleteProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/id-autocomplete/id-autocomplete.d.ts
|
|
5
4
|
declare const IdAutocomplete: React.ForwardRefExoticComponent<IdAutocompleteProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
5
|
//#endregion
|
|
7
6
|
export { IdAutocomplete as t };
|
|
8
|
-
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=id-autocomplete-8LcmtjSR.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-8LcmtjSR.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete.tsx"],"mappings":";;;cAkBM,gBAAc,MAAA,0BAAA,sBAAA,MAAA,cAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { p as InputBaseProps, v as IdAutocompleteOption } from "./index
|
|
1
|
+
import { p as InputBaseProps, v as IdAutocompleteOption } from "./index-5FEr1tXH.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts
|
|
5
4
|
interface IdAutocompleteInputContainerProps extends Omit<InputBaseProps<string>, "defaultValue" | "errors" | "warnings"> {
|
|
6
5
|
isLoading: boolean;
|
|
@@ -23,4 +22,5 @@ interface IdAutocompleteInputContainerProps extends Omit<InputBaseProps<string>,
|
|
|
23
22
|
declare const IdAutocompleteInputContainer: React.ForwardRefExoticComponent<IdAutocompleteInputContainerProps & React.RefAttributes<HTMLInputElement>>;
|
|
24
23
|
//#endregion
|
|
25
24
|
export { IdAutocompleteInputContainerProps as n, IdAutocompleteInputContainer as t };
|
|
26
|
-
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=id-autocomplete-input-container-D2L7p-Yh.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-input-container-D2L7p-Yh.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"mappings":";;;UAaU,0CAA0C,KAClD;EAGA;EACA;EACA,YAAY,GAAG,MAAM,YAAY;EACjC,UAAU,GAAG,MAAM,WAAW;EAC9B,WAAW,GAAG,MAAM,WAAW;EAC/B,iBAAiB;EACjB;EACA,oBAAoB;EACpB,aAAa,GAAG,MAAM,cAAc;EACpC,eAAe,GAAG,MAAM,WAAW;EACnC;EACA;EACA;EACA;EACA,eAAe,GAAG,MAAM,eAAe;EACvC,WAAW,GAAG,MAAM,eAAe;;cAG/B,8BAA4B,MAAA,0BAAA,oCAAA,MAAA,cAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index
|
|
1
|
+
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-5FEr1tXH.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/id-autocomplete/id-autocomplete-list.d.ts
|
|
5
4
|
interface IdAutocompleteListProps {
|
|
6
5
|
variant: IdAutocompleteProps["variant"];
|
|
@@ -20,4 +19,5 @@ interface IdAutocompleteListProps {
|
|
|
20
19
|
declare const IdAutocompleteList: React.FC<IdAutocompleteListProps>;
|
|
21
20
|
//#endregion
|
|
22
21
|
export { IdAutocompleteListProps as n, IdAutocompleteList as t };
|
|
23
|
-
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=id-autocomplete-list-BXvN07Hr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-list-BXvN07Hr.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-list.tsx"],"mappings":";;;UAYU;EACR,SAAS;EACT,iBAAiB,MAAM,UAAU;EACjC;EACA,UAAU;EACV,gBAAgB;EAChB,gBACE,QAAQ,sBACR;IACE;IACA;IACA;IACA,6BAA6B;IAC7B;QAEC,MAAM;EACX,qBAAqB;;cAGjB,oBAAoB,MAAM,GAAG"}
|
package/dist/{id-autocomplete-list-option-CB5B07Hi.d.ts → id-autocomplete-list-option-D_1BOv50.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as IdAutocompleteOption, y as IdAutocompleteProps } from "./index-5FEr1tXH.js";
|
|
2
|
+
import { o as IconName } from "./types-TZijOYrE.js";
|
|
2
3
|
import React from "react";
|
|
3
|
-
|
|
4
4
|
//#region src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts
|
|
5
5
|
type IdAutocompleteListOptionProps = {
|
|
6
6
|
variant: IdAutocompleteProps["variant"];
|
|
@@ -15,4 +15,5 @@ type IdAutocompleteListOptionProps = {
|
|
|
15
15
|
declare const IdAutocompleteListOption: React.FC<IdAutocompleteListOptionProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { IdAutocompleteListOptionProps as n, IdAutocompleteListOption as t };
|
|
18
|
-
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=id-autocomplete-list-option-D_1BOv50.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-list-option-D_1BOv50.d.ts","names":[],"sources":["../src/ui/components/id-autocomplete/id-autocomplete-list-option.tsx"],"mappings":";;;;KAyEK;EACH,SAAS;EACT;EACA;EACA;EACA,6BAA6B;EAC7B;EACA;EACA,kBAAkB,WAAW,MAAM;IACjC,qBAAqB;cAEnB,0BAA0B,MAAM,GAAG"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React$1, {
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import * as _radix_ui_react_dropdown_menu0 from "@radix-ui/react-dropdown-menu";
|
|
1
|
+
import { a as IconComponentProps, i as Size, o as IconName, t as Color } from "./types-TZijOYrE.js";
|
|
2
|
+
import React$1, { ComponentPropsWithRef, ComponentPropsWithoutRef, HTMLAttributes, ReactNode, RefObject } from "react";
|
|
5
3
|
import { DropdownMenuContentProps, DropdownMenuProps } from "@radix-ui/react-dropdown-menu";
|
|
6
4
|
import { Content as Content$1, Overlay } from "@radix-ui/react-dialog";
|
|
7
5
|
import { SharingType } from "@powerhousedao/shared";
|
|
8
|
-
|
|
9
6
|
//#region src/connect/constants/syncing.d.ts
|
|
10
7
|
declare const SYNCING = "SYNCING";
|
|
11
8
|
declare const SUCCESS = "SUCCESS";
|
|
@@ -19,6 +16,8 @@ declare const syncStatuses: readonly ["INITIAL_SYNC", "SYNCING", "SUCCESS", "CON
|
|
|
19
16
|
type AppOptions = {
|
|
20
17
|
name: string;
|
|
21
18
|
id: string;
|
|
19
|
+
/** Who built the app, as "Built by …" shows it; Powerhouse when absent. */
|
|
20
|
+
builtBy?: string;
|
|
22
21
|
sharingType: SharingType;
|
|
23
22
|
availableOffline: boolean;
|
|
24
23
|
};
|
|
@@ -40,21 +39,17 @@ type PowerhouseButtonProps = ComponentPropsWithRef<"button"> & {
|
|
|
40
39
|
readonly icon?: React.JSX.Element;
|
|
41
40
|
readonly iconPosition?: "left" | "right";
|
|
42
41
|
};
|
|
43
|
-
declare const PowerhouseButton: react.ForwardRefExoticComponent<Omit<PowerhouseButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
42
|
+
declare const PowerhouseButton: import("react").ForwardRefExoticComponent<Omit<PowerhouseButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
44
43
|
//#endregion
|
|
45
44
|
//#region src/powerhouse/components/dropdown-menu/dropdown-menu.d.ts
|
|
46
45
|
declare const DropdownMenu: React.FC<DropdownMenuProps>;
|
|
47
|
-
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<
|
|
48
|
-
declare const DropdownMenuContent: react.ForwardRefExoticComponent<DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
49
|
-
declare const DropdownMenuLabel: react.ForwardRefExoticComponent<
|
|
50
|
-
declare const DropdownMenuItem: react.ForwardRefExoticComponent<
|
|
46
|
+
declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
47
|
+
declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
|
+
declare const DropdownMenuLabel: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
49
|
+
declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
51
50
|
//#endregion
|
|
52
|
-
//#region src/powerhouse/components/icon-components
|
|
53
|
-
|
|
54
|
-
type IconComponentProps = ComponentProps<"svg">;
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region src/powerhouse/components/icon-components/index.d.ts
|
|
57
|
-
declare const iconNames: readonly ["AnalyticsProcessorModule", "AppModule", "ArrowCouterclockwise", "ArrowFilledRight", "ArrowLeft", "ArrowUp", "BarChart", "BaseArrowLeft", "BaseArrowRight", "Braces", "Branch", "BrickGlobe", "Briefcase", "Calendar", "CalendarTime", "Caret", "CaretDown", "CaretLeft", "CaretRight", "CaretSort", "Check", "CheckCircle", "CheckCircleFill", "Checkmark", "ChevronDown", "Circle", "CircleInfo", "Clock", "ClockFill", "ClockHistory", "CloudSlash", "CodegenProcessorModule", "Collapse", "Compass", "Connect", "ConnectSmall", "Copy", "Created", "CrossCircle", "CurlyBrackets", "Danger", "DescendenceModified", "Disconnect", "Discord", "DocumentIcons", "DocumentModel", "DocumentModelModule", "DownloadFile", "Drive", "Duplicated", "Edit", "EditorModule", "Ellipsis", "Error", "Ethscan", "Exclamation", "ExportCsv", "ExportJson", "ExportPdf", "ExportUbl", "ExportZip", "File", "FilesEarmark", "FolderClose", "FolderOpen", "FolderPlus", "Forum", "Gear", "Github", "Globe", "GlobeWww", "Hdd", "History", "InfoSquare", "Link", "Linkedin", "Lock", "M", "Modified", "Moved", "Npm", "PackageManager", "PackageModule", "Pencil", "People", "PeopleFill", "Person", "Pin", "PinFilled", "Plus", "PlusCircle", "PlusSquare", "PowerhouseDocumentModule", "PowerhouseLogoSmall", "Project", "QuestionSquare", "RedoArrow", "RelationalProcessorModule", "Reload", "Removed", "Renown", "RenownHover", "RenownLight", "Ring", "Save", "Search", "Server", "Settings", "SubgraphModule", "Synced", "Syncing", "Tabler", "Timeline", "TimelineCaret", "Trash", "TrashFill", "TreeViewSlash", "TriangleDown", "Tube", "VariantArrowLeft", "VerticalDots", "WarningFill", "XTwitter", "Xmark", "XmarkLight", "Youtube"];
|
|
51
|
+
//#region src/powerhouse/components/icon/icon-components.d.ts
|
|
52
|
+
/** Every icon by name; non-critical ones load their chunk on first render. */
|
|
58
53
|
declare const iconComponents: Record<IconName, (props: IconComponentProps) => React.JSX.Element>;
|
|
59
54
|
//#endregion
|
|
60
55
|
//#region src/powerhouse/components/icon/icon.d.ts
|
|
@@ -63,13 +58,7 @@ type IconProps = IconComponentProps & {
|
|
|
63
58
|
readonly size?: Size;
|
|
64
59
|
readonly color?: Color;
|
|
65
60
|
};
|
|
66
|
-
declare function Icon({
|
|
67
|
-
name,
|
|
68
|
-
size,
|
|
69
|
-
color,
|
|
70
|
-
style,
|
|
71
|
-
...props
|
|
72
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
61
|
+
declare function Icon({ name, size, color, style, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
73
62
|
//#endregion
|
|
74
63
|
//#region src/powerhouse/components/modal/modal.d.ts
|
|
75
64
|
type Props = {
|
|
@@ -80,7 +69,7 @@ type Props = {
|
|
|
80
69
|
readonly overlayProps?: ComponentPropsWithoutRef<typeof Overlay>;
|
|
81
70
|
readonly contentProps?: ComponentPropsWithoutRef<typeof Content$1>;
|
|
82
71
|
};
|
|
83
|
-
declare function Modal(props: Props):
|
|
72
|
+
declare function Modal(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
84
73
|
//#endregion
|
|
85
74
|
//#region src/powerhouse/components/package-animation/package-animation.d.ts
|
|
86
75
|
interface PackageAnimationProps {
|
|
@@ -90,13 +79,7 @@ interface PackageAnimationProps {
|
|
|
90
79
|
readonly size?: number;
|
|
91
80
|
readonly onComplete?: () => void;
|
|
92
81
|
}
|
|
93
|
-
declare function PackageAnimation({
|
|
94
|
-
animate,
|
|
95
|
-
loop,
|
|
96
|
-
color,
|
|
97
|
-
size,
|
|
98
|
-
onComplete
|
|
99
|
-
}: PackageAnimationProps): react_jsx_runtime0.JSX.Element;
|
|
82
|
+
declare function PackageAnimation({ animate, loop, color, size, onComplete }: PackageAnimationProps): import("react/jsx-runtime").JSX.Element;
|
|
100
83
|
//#endregion
|
|
101
84
|
//#region src/powerhouse/hooks/usePagination.d.ts
|
|
102
85
|
type PageItem = {
|
|
@@ -108,6 +91,10 @@ interface UsePaginationOptions {
|
|
|
108
91
|
pageRange?: number;
|
|
109
92
|
initialPage?: number;
|
|
110
93
|
itemsPerPage?: number;
|
|
94
|
+
/** Controlled: the current page index, kept by the caller (e.g. in the URL). */
|
|
95
|
+
page?: number;
|
|
96
|
+
/** Controlled: called with the page index to show; required with `page`. */
|
|
97
|
+
onPageChange?: (page: number) => void;
|
|
111
98
|
}
|
|
112
99
|
interface UsePaginationBaseResult {
|
|
113
100
|
pages: PageItem[];
|
|
@@ -166,32 +153,16 @@ declare const Pagination: React.FC<PaginationProps>;
|
|
|
166
153
|
//#endregion
|
|
167
154
|
//#region src/powerhouse/components/sidebar/sidebar-panel.d.ts
|
|
168
155
|
type SidebarPanelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
169
|
-
declare function SidebarPanel({
|
|
170
|
-
className,
|
|
171
|
-
children,
|
|
172
|
-
...props
|
|
173
|
-
}: SidebarPanelProps): react_jsx_runtime0.JSX.Element;
|
|
156
|
+
declare function SidebarPanel({ className, children, ...props }: SidebarPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
174
157
|
//#endregion
|
|
175
158
|
//#region src/powerhouse/components/sidebar/sidebar.d.ts
|
|
176
|
-
declare function SidebarHeader({
|
|
177
|
-
|
|
178
|
-
...props
|
|
179
|
-
}: HTMLAttributes<HTMLElement>): react_jsx_runtime0.JSX.Element;
|
|
180
|
-
declare function SidebarFooter({
|
|
181
|
-
className,
|
|
182
|
-
...props
|
|
183
|
-
}: HTMLAttributes<HTMLElement>): react_jsx_runtime0.JSX.Element;
|
|
159
|
+
declare function SidebarHeader({ className, ...props }: HTMLAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
160
|
+
declare function SidebarFooter({ className, ...props }: HTMLAttributes<HTMLElement>): import("react/jsx-runtime").JSX.Element;
|
|
184
161
|
type SidebarProps = HTMLAttributes<HTMLElement> & {
|
|
185
162
|
maxWidth: string;
|
|
186
163
|
minWidth: string;
|
|
187
164
|
};
|
|
188
|
-
declare function Sidebar({
|
|
189
|
-
maxWidth: _maxWidth,
|
|
190
|
-
minWidth,
|
|
191
|
-
className,
|
|
192
|
-
children,
|
|
193
|
-
...props
|
|
194
|
-
}: SidebarProps): react_jsx_runtime0.JSX.Element;
|
|
165
|
+
declare function Sidebar({ maxWidth: _maxWidth, minWidth, className, children, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
195
166
|
//#endregion
|
|
196
167
|
//#region src/powerhouse/hooks/animation.d.ts
|
|
197
168
|
declare function useEnterAnimation(ref: RefObject<HTMLElement>, isReady?: boolean): boolean;
|
|
@@ -214,12 +185,6 @@ type Dimensions = {
|
|
|
214
185
|
};
|
|
215
186
|
declare function getDimensions(size?: Size): Dimensions;
|
|
216
187
|
//#endregion
|
|
217
|
-
//#region src/powerhouse/types.d.ts
|
|
218
|
-
type DivProps = ComponentPropsWithoutRef<"div">;
|
|
219
|
-
type DivWithRefProps = ComponentPropsWithRef<"div">;
|
|
220
|
-
type Size = CSSProperties["width"];
|
|
221
|
-
type Color = CSSProperties["color"];
|
|
222
|
-
//#endregion
|
|
223
188
|
//#region src/ui/components/enum-field/types.d.ts
|
|
224
189
|
interface RadioGroupProps {
|
|
225
190
|
options?: {
|
|
@@ -381,5 +346,6 @@ type AmountInputPropsGeneric = {
|
|
|
381
346
|
};
|
|
382
347
|
type AmountValue = Amount | AmountPercentage | AmountFiat | AmountCrypto | AmountCurrency;
|
|
383
348
|
//#endregion
|
|
384
|
-
export {
|
|
385
|
-
|
|
349
|
+
export { PowerhouseButton as $, SidebarFooter as A, UsePaginationOptions as B, SelectProps as C, useEnterAnimation as D, useAnimation as E, PaginationEvent as F, Modal as G, usePagination as H, PaginationPageEvent as I, DropdownMenu as J, Icon as K, PaginationProps as L, SidebarPanel as M, SidebarPanelProps as N, useExitAnimation as O, Pagination as P, DropdownMenuTrigger as Q, PageItem as R, SelectOption as S, useWindowSize as T, PackageAnimation as U, UsePaginationResult as V, PackageAnimationProps as W, DropdownMenuItem as X, DropdownMenuContent as Y, DropdownMenuLabel as Z, WithDifference as _, AmountInputPropsGeneric as a, AppOptions as at, RadioGroupProps as b, Currency as c, INITIAL_SYNC as ct, ErrorMessage as d, SYNCING as dt, PowerhouseButtonProps as et, FieldErrorHandling as f, syncStatuses as ft, ViewMode as g, ValidatorResult as h, AmountFiat as i, SyncStatuses as it, SidebarHeader as j, Sidebar as k, CurrencyTicker as l, MISSING as lt, ValidatorHandler as m, AmountCrypto as n, OptionMetadata as nt, AmountPercentage as o, CONFLICT as ot, InputBaseProps as p, iconComponents as q, AmountCurrency as r, SyncStatus as rt, AmountValue as s, ERROR as st, Amount as t, DriveLocation as tt, DiffMode as u, SUCCESS as ut, IdAutocompleteOption as v, getDimensions as w, SelectBaseProps as x, IdAutocompleteProps as y, UsePaginationBaseResult as z };
|
|
350
|
+
export {};
|
|
351
|
+
//# sourceMappingURL=index-5FEr1tXH.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-5FEr1tXH.d.ts","names":[],"sources":["../src/connect/constants/syncing.ts","../src/connect/components/types.ts","../src/connect/types.ts","../src/powerhouse/components/button/button.tsx","../src/powerhouse/components/dropdown-menu/dropdown-menu.tsx","../src/powerhouse/components/icon/icon-components.tsx","../src/powerhouse/components/icon/icon.tsx","../src/powerhouse/components/modal/modal.tsx","../src/powerhouse/components/package-animation/package-animation.tsx","../src/powerhouse/hooks/usePagination.ts","../src/powerhouse/components/pagination/pagination.tsx","../src/powerhouse/components/sidebar/sidebar-panel.tsx","../src/powerhouse/components/sidebar/sidebar.tsx","../src/powerhouse/hooks/animation.ts","../src/powerhouse/hooks/useWindowSize.ts","../src/powerhouse/utils/getDimensions.ts","../src/ui/components/enum-field/types.ts","../src/ui/components/id-autocomplete/types.ts","../src/ui/types.ts"],"mappings":"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"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./button-BYcXvZXr.js";
|
|
2
|
+
import "./checkbox-base-Bm0GPWgm.js";
|
|
3
|
+
import "./checkbox-BIAGwP7d.js";
|
|
4
|
+
import "./command-DHHTsHfH.js";
|
|
5
|
+
import "./radio-group-field-X18o287K.js";
|
|
6
|
+
import "./select-field-DHaCiAso.js";
|
|
7
|
+
import "./enum-field-Cub1rt3e.js";
|
|
8
|
+
import "./form-Brj5AQNr.js";
|
|
9
|
+
import "./id-autocomplete-input-container-D2L7p-Yh.js";
|
|
10
|
+
import "./id-autocomplete-list-option-D_1BOv50.js";
|
|
11
|
+
import "./id-autocomplete-list-BXvN07Hr.js";
|
|
12
|
+
import "./id-autocomplete-8LcmtjSR.js";
|
|
13
|
+
import "./use-id-autocomplete-m9Bf0qCy.js";
|
|
14
|
+
import "./input-WDvjJFqf.js";
|
|
15
|
+
import "./splitted-input-diff-DNKcSOAB.js";
|
|
16
|
+
import "./json-viewer-Kg0IBIt-.js";
|
|
17
|
+
import "./popover-TvQxa0RU.js";
|
|
18
|
+
import "./radio-group-CROIwgYz.js";
|
|
19
|
+
import "./radio-CTS4WsNy.js";
|
|
20
|
+
import "./index-D6Zk5OLV.js";
|
|
21
|
+
import "./content-Cv0kRppo.js";
|
|
22
|
+
import "./selected-content-CSTFkQr9.js";
|
|
23
|
+
import "./text-input-CRjOT54_.js";
|
|
24
|
+
import "./text-field-Dq1DTC_t.js";
|
|
25
|
+
import "./text-input-diff-CcF0QblL.js";
|
|
26
|
+
import "./index-C-Tup7Br.js";
|
|
27
|
+
import "./tooltip-B4uQJPUm.js";
|
|
28
|
+
import "./value-transformer-BtUh3-UP.js";
|
|
29
|
+
import "./with-field-validation-Bh26a6fr.js";
|
|
30
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
1
|
+
import { $ as PowerhouseButton, A as SidebarFooter, B as UsePaginationOptions, C as SelectProps, D as useEnterAnimation, E as useAnimation, F as PaginationEvent, G as Modal, H as usePagination, I as PaginationPageEvent, J as DropdownMenu, K as Icon, L as PaginationProps, M as SidebarPanel, N as SidebarPanelProps, O as useExitAnimation, P as Pagination, Q as DropdownMenuTrigger, R as PageItem, S as SelectOption, T as useWindowSize, U as PackageAnimation, V as UsePaginationResult, W as PackageAnimationProps, X as DropdownMenuItem, Y as DropdownMenuContent, Z as DropdownMenuLabel, _ as WithDifference, a as AmountInputPropsGeneric, at as AppOptions, b as RadioGroupProps, c as Currency, d as ErrorMessage, et as PowerhouseButtonProps, f as FieldErrorHandling, g as ViewMode, h as ValidatorResult, i as AmountFiat, it as SyncStatuses, j as SidebarHeader, k as Sidebar, l as CurrencyTicker, m as ValidatorHandler, n as AmountCrypto, nt as OptionMetadata, o as AmountPercentage, p as InputBaseProps, q as iconComponents, r as AmountCurrency, rt as SyncStatus, s as AmountValue, t as Amount, tt as DriveLocation, u as DiffMode, v as IdAutocompleteOption, w as getDimensions, x as SelectBaseProps, y as IdAutocompleteProps, z as UsePaginationBaseResult } from "./index-5FEr1tXH.js";
|
|
2
|
+
import { a as IconComponentProps, i as Size, n as DivProps, o as IconName, r as DivWithRefProps, s as iconNames, t as Color } from "./types-TZijOYrE.js";
|
|
3
|
+
import { a as TransformerType, c as WeekStartDayNumber, i as TransformerTrigger, n as DatePickerView, o as ValueTransformerFn, r as TransformerObject, s as ValueTransformerProps, t as DateFieldValue } from "./types-CpFPFB1a.js";
|
|
4
|
+
export { type Amount, type AmountCrypto, type AmountCurrency, type AmountFiat, type AmountInputPropsGeneric, type AmountPercentage, type AmountValue, type AppOptions, type Color, type Currency, type CurrencyTicker, type DateFieldValue, type DatePickerView, type DiffMode, type DivProps, type DivWithRefProps, type DriveLocation, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, type ErrorMessage, type FieldErrorHandling, Icon, type IconComponentProps, type IconName, type IdAutocompleteOption, type IdAutocompleteProps, type InputBaseProps, Modal, type OptionMetadata, PackageAnimation, PackageAnimationProps, PageItem, Pagination, PaginationEvent, PaginationPageEvent, PaginationProps, PowerhouseButton, PowerhouseButtonProps, type RadioGroupProps, type SelectBaseProps, type SelectOption, type SelectProps, Sidebar, SidebarFooter, SidebarHeader, SidebarPanel, SidebarPanelProps, type Size, type SyncStatus, type SyncStatuses, type TransformerObject, type TransformerTrigger, type TransformerType, UsePaginationBaseResult, UsePaginationOptions, UsePaginationResult, type ValidatorHandler, type ValidatorResult, type ValueTransformerFn, type ValueTransformerProps, type ViewMode, type WeekStartDayNumber, type WithDifference, getDimensions, iconComponents, iconNames, useAnimation, useEnterAnimation, useExitAnimation, usePagination, useWindowSize };
|
|
5
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import {
|
|
1
|
+
import { _ as DropdownMenuItem, a as useExitAnimation, b as PowerhouseButton, c as SidebarHeader, d as PackageAnimation, f as Modal, g as DropdownMenuContent, h as DropdownMenu, i as useEnterAnimation, l as SidebarPanel, m as iconNames, n as usePagination, o as Sidebar, p as iconComponents, r as useAnimation, s as SidebarFooter, t as useWindowSize, u as Pagination, v as DropdownMenuLabel, y as DropdownMenuTrigger } from "./src-DhSJCeu5.js";
|
|
2
|
+
import { n as getDimensions, t as Icon } from "./icon-DQ2yrWYv.js";
|
|
3
3
|
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, Icon, Modal, PackageAnimation, Pagination, PowerhouseButton, Sidebar, SidebarFooter, SidebarHeader, SidebarPanel, getDimensions, iconComponents, iconNames, useAnimation, useEnterAnimation, useExitAnimation, usePagination, useWindowSize };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/ui/components/input/input.d.ts
|
|
4
3
|
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
5
4
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
6
5
|
//#endregion
|
|
7
6
|
export { InputProps as n, Input as t };
|
|
8
|
-
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=input-WDvjJFqf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-WDvjJFqf.d.ts","names":[],"sources":["../src/ui/components/input/input.tsx"],"mappings":";;KAGY,aAAa,QAAM,oBAAoB;cAmB7C,OAAK,QAAA,0BAAA,aAAA,QAAA,cAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Props } from "react-json-view-lite";
|
|
2
|
+
//#region src/ui/components/json-viewer/json-viewer.d.ts
|
|
3
|
+
declare function JsonViewer(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { JsonViewer as t };
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=json-viewer-Kg0IBIt-.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-viewer-Kg0IBIt-.d.ts","names":[],"sources":["../src/ui/components/json-viewer/json-viewer.tsx"],"mappings":";;iBAqFgB,WAAW,OAAO,oCAAK,IAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { twMerge } from "tailwind-merge";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/connect/components/form/inputs/label.tsx
|
|
4
|
+
function Label(props) {
|
|
5
|
+
const { children, className, ...labelProps } = props;
|
|
6
|
+
return /* @__PURE__ */ jsx("label", {
|
|
7
|
+
...labelProps,
|
|
8
|
+
className: twMerge("block font-semibold text-muted-foreground", className),
|
|
9
|
+
children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Label as t };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=label-nH2HoKfI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label-nH2HoKfI.js","names":["twMerge","Label","props","children","className","labelProps"],"sources":["../src/connect/components/form/inputs/label.tsx"],"sourcesContent":["import type { ComponentPropsWithoutRef } from \"react\";\nimport { twMerge } from \"tailwind-merge\";\n\ntype LabelProps = ComponentPropsWithoutRef<\"label\">;\n\nexport function Label(props: LabelProps) {\n const { children, className, ...labelProps } = props;\n return (\n <label\n {...labelProps}\n className={twMerge(\n \"block font-semibold text-muted-foreground\",\n className,\n )}\n >\n {children}\n </label>\n );\n}\n"],"mappings":";;;AAKA,SAAgBC,MAAMC,OAAmB;CACvC,MAAM,EAAEC,UAAUC,WAAW,GAAGC,eAAeH;CAC/C,OACE,oBAAC,SAAD;EACE,GAAIG;EACJ,WAAWL,QACT,6CACAI,SACF;EAECD;CACI,CAAA;AAEX"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Toggle, locationInfoByLocation } from "./connect/index.js";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { twMerge } from "tailwind-merge";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/connect/components/form/inputs/available-offline-toggle.tsx
|
|
6
|
+
const AvailableOfflineToggle = /*#__PURE__*/ forwardRef(function AvailableOfflineToggle(props, ref) {
|
|
7
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
8
|
+
className: "flex items-center rounded-md border border-border bg-background p-3 text-foreground",
|
|
9
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
10
|
+
className: "flex-1",
|
|
11
|
+
children: [/* @__PURE__ */ jsx("label", {
|
|
12
|
+
className: "font-medium text-foreground",
|
|
13
|
+
htmlFor: "availableOffline",
|
|
14
|
+
children: "Make available offline"
|
|
15
|
+
}), /* @__PURE__ */ jsxs("p", {
|
|
16
|
+
className: "text-xs text-foreground",
|
|
17
|
+
children: [
|
|
18
|
+
"Check this options if you keep a local backup",
|
|
19
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
20
|
+
"available at all times."
|
|
21
|
+
]
|
|
22
|
+
})]
|
|
23
|
+
}), /* @__PURE__ */ jsx(Toggle, {
|
|
24
|
+
id: "availableOffline",
|
|
25
|
+
ref,
|
|
26
|
+
...props
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/connect/components/form/inputs/location-info.tsx
|
|
32
|
+
function LocationInfo(props) {
|
|
33
|
+
const { location, className, ...divProps } = props;
|
|
34
|
+
const locationInfo = locationInfoByLocation[location];
|
|
35
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
36
|
+
...divProps,
|
|
37
|
+
className: twMerge("my-3 flex items-center gap-2 rounded-xl border border-border bg-background p-3 text-foreground shadow-sm", className),
|
|
38
|
+
children: [locationInfo.icon, /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", { children: locationInfo.title }), /* @__PURE__ */ jsx("p", {
|
|
39
|
+
className: "text-xs text-foreground",
|
|
40
|
+
children: locationInfo.description
|
|
41
|
+
})] })]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { AvailableOfflineToggle as n, LocationInfo as t };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=location-info-C3YbSsV0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location-info-C3YbSsV0.js","names":["forwardRef","Toggle","AvailableOfflineToggle","props","ref","twMerge","locationInfoByLocation","LocationInfo","props","location","className","divProps","locationInfo","icon","title","description"],"sources":["../src/connect/components/form/inputs/available-offline-toggle.tsx","../src/connect/components/form/inputs/location-info.tsx"],"sourcesContent":["import type { ComponentPropsWithRef, ForwardedRef } from \"react\";\nimport { forwardRef } from \"react\";\nimport { Toggle } from \"../../toggle/toggle.js\";\n\ntype AvailableOfflineToggleProps = Omit<\n ComponentPropsWithRef<typeof Toggle>,\n \"id\"\n>;\n\nexport const AvailableOfflineToggle = forwardRef(\n function AvailableOfflineToggle(\n props: AvailableOfflineToggleProps,\n ref: ForwardedRef<HTMLInputElement>,\n ) {\n return (\n <div className=\"flex items-center rounded-md border border-border bg-background p-3 text-foreground\">\n <div className=\"flex-1\">\n <label\n className=\"font-medium text-foreground\"\n htmlFor=\"availableOffline\"\n >\n Make available offline\n </label>\n <p className=\"text-xs text-foreground\">\n Check this options if you keep a local backup\n <br />\n available at all times.\n </p>\n </div>\n <Toggle id=\"availableOffline\" ref={ref} {...props} />\n </div>\n );\n },\n);\n","import type { DivProps, DriveLocation } from \"#design-system\";\nimport { twMerge } from \"tailwind-merge\";\nimport { locationInfoByLocation } from \"../../../constants/options.js\";\ntype LocationInfoProps = DivProps & {\n readonly location: DriveLocation;\n};\n\nexport function LocationInfo(props: LocationInfoProps) {\n const { location, className, ...divProps } = props;\n\n const locationInfo = locationInfoByLocation[location];\n return (\n <div\n {...divProps}\n className={twMerge(\n \"my-3 flex items-center gap-2 rounded-xl border border-border bg-background p-3 text-foreground shadow-sm\",\n className,\n )}\n >\n {locationInfo.icon}\n <div>\n <p>{locationInfo.title}</p>\n <p className=\"text-xs text-foreground\">{locationInfo.description}</p>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;AASA,MAAaE,yBAAyBF,yBACpC,SAASE,uBACPC,OACAC,KACA;CACA,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,qBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,oBAAC,SAAD;IACE,WAAU;IACV,SAAQ;IAAkB,UAAA;GAGrB,CAAA,GACP,qBAAC,KAAD;IAAG,WAAU;IAAb,UAAA;KAAsC;KAEpC,oBAAC,MAAD,CAAG,CAAA;KAAA;IAEF;GACA,CAAA,CAAA;EACL,CAAA,GAAA,oBAAC,QAAD;GAAQ,IAAG;GAAwBA;GAAK,GAAID;EAAM,CAAA,CAC/C;;AAET,CACF;;;AC1BA,SAAgBI,aAAaC,OAA0B;CACrD,MAAM,EAAEC,UAAUC,WAAW,GAAGC,aAAaH;CAE7C,MAAMI,eAAeN,uBAAuBG;CAC5C,OACE,qBAAC,OAAD;EACE,GAAIE;EACJ,WAAWN,QACT,4GACAK,SACF;EALF,UAAA,CAOGE,aAAaC,MACd,qBAAC,OAAD,EAAA,UAAA,CACE,oBAAC,KAAD,EAAA,UAAID,aAAaE,MAAS,CAAA,GAC1B,oBAAC,KAAD;GAAG,WAAU;GAA2BF,UAAAA,aAAaG;EAAe,CAAA,CACjE,EAAA,CAAA,CACF;;AAET"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { r as FormMessageType } from "./form-message-
|
|
2
|
-
|
|
1
|
+
import { r as FormMessageType } from "./form-message-CnKUkvlj.js";
|
|
3
2
|
//#region src/ui/components/form-message/message-list.d.ts
|
|
4
3
|
interface FormMessageListProps {
|
|
5
4
|
messages: string[];
|
|
@@ -9,4 +8,5 @@ interface FormMessageListProps {
|
|
|
9
8
|
declare const FormMessageList: React.FC<FormMessageListProps>;
|
|
10
9
|
//#endregion
|
|
11
10
|
export { FormMessageList as t };
|
|
12
|
-
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=message-list-D8d2ltLd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-list-D8d2ltLd.d.ts","names":[],"sources":["../src/ui/components/form-message/message-list.tsx"],"mappings":";;UAIU;EACR;EACA,OAAO;EACP;;cAGW,iBAAiB,MAAM,GAAG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/popover/popover.d.ts
|
|
5
4
|
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
6
5
|
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -8,4 +7,5 @@ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.P
|
|
|
8
7
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { PopoverTrigger as i, PopoverAnchor as n, PopoverContent as r, Popover as t };
|
|
11
|
-
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=popover-TvQxa0RU.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-TvQxa0RU.d.ts","names":[],"sources":["../src/ui/components/popover/popover.tsx"],"mappings":";;;cAIa,SAAO,MAAA,GAAA,iBAAA;cACP,eAAa,MAAA,0BAAA,iBAAA,qBAAA,MAAA,cAAA;cACb,gBAAc,MAAA,0BAAA,iBAAA,sBAAA,MAAA,cAAA;cAEd,gBAAc,MAAA,0BAAA,KAAA,iBAAA,sBAAA,MAAA,cAAA,0BAAA,MAAA,cAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/radio-group-field/radio.d.ts
|
|
5
4
|
interface RadioProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
6
5
|
className?: string;
|
|
@@ -14,4 +13,5 @@ interface RadioProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPri
|
|
|
14
13
|
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { RadioProps as n, Radio as t };
|
|
17
|
-
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=radio-CTS4WsNy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-CTS4WsNy.d.ts","names":[],"sources":["../src/ui/components/radio-group-field/radio.tsx"],"mappings":";;;UAKiB,mBAAmB,MAAM,gCACjC,oBAAoB;EAE3B;EACA;EACA;EACA;EACA;EACA;EACA;;cAGW,OAAK,MAAA,0BAAA,aAAA,MAAA,cAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
|
|
4
3
|
//#region src/ui/components/radio-group-field/radio-group.d.ts
|
|
5
4
|
interface CustomizableRadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
6
5
|
children: React.ReactNode;
|
|
@@ -11,4 +10,5 @@ interface CustomizableRadioGroupProps extends React.ComponentPropsWithoutRef<typ
|
|
|
11
10
|
declare const RadioGroup: React.ForwardRefExoticComponent<CustomizableRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
11
|
//#endregion
|
|
13
12
|
export { RadioGroup as n, CustomizableRadioGroupProps as t };
|
|
14
|
-
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=radio-group-CROIwgYz.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-CROIwgYz.d.ts","names":[],"sources":["../src/ui/components/radio-group-field/radio-group.tsx"],"mappings":";;;UAGiB,oCAAoC,MAAM,gCAClD,oBAAoB;EAE3B,UAAU,MAAM;EAChB;EACA;EACA;;cAGW,YAAU,MAAA,0BAAA,8BAAA,MAAA,cAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index
|
|
2
|
-
import * as react from "react";
|
|
1
|
+
import { b as RadioGroupProps, f as FieldErrorHandling, p as InputBaseProps } from "./index-5FEr1tXH.js";
|
|
3
2
|
import { HTMLAttributes } from "react";
|
|
4
|
-
|
|
5
3
|
//#region src/ui/components/radio-group-field/radio-group-field.d.ts
|
|
6
4
|
type RadioGroupFieldBaseProps = Omit<HTMLAttributes<HTMLDivElement>, keyof InputBaseProps<string> | keyof FieldErrorHandling | keyof RadioGroupProps | "dir"> & {
|
|
7
5
|
dir?: "ltr" | "rtl";
|
|
8
6
|
};
|
|
9
7
|
type RadioGroupFieldProps = RadioGroupFieldBaseProps & InputBaseProps<string> & FieldErrorHandling & RadioGroupProps;
|
|
10
|
-
declare const RadioGroupField: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "dir" | keyof
|
|
8
|
+
declare const RadioGroupField: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "dir" | keyof FieldErrorHandling | keyof InputBaseProps<string> | keyof RadioGroupProps> & {
|
|
11
9
|
dir?: "ltr" | "rtl";
|
|
12
|
-
} & InputBaseProps<string> & FieldErrorHandling & RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
} & InputBaseProps<string> & FieldErrorHandling & RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
11
|
//#endregion
|
|
14
12
|
export { RadioGroupFieldProps as n, RadioGroupField as t };
|
|
15
|
-
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=radio-group-field-X18o287K.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-field-X18o287K.d.ts","names":[],"sources":["../src/ui/components/radio-group-field/radio-group-field.tsx"],"mappings":";;;KAUK,2BAA2B,KAC9B,eAAe,uBACP,+BACA,2BACA;EAGR;;KAGU,uBAAuB,2BACjC,yBACA,qBACA;cAkFW,iCAAe,0BAAA,KAAA,eAAA,+BAAA,2BAAA,+BAAA;EAxFpB;IA+FN,yBAAA,qBAAA,kCAAA,cAAA"}
|