@powerhousedao/document-engineering 1.0.0
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/LICENSE +661 -0
- package/README.md +116 -0
- package/dist/scripts/create-icon-components.d.ts +2 -0
- package/dist/scripts/create-icon-components.d.ts.map +1 -0
- package/dist/scripts/create-icon-components.js +77 -0
- package/dist/scripts/create-icon-components.js.map +1 -0
- package/dist/src/assets/connect-loader.mp4 +0 -0
- package/dist/src/assets/connect.png +0 -0
- package/dist/src/assets/home-bg.png +0 -0
- package/dist/src/assets/icons/budget.png +0 -0
- package/dist/src/assets/icons/global.png +0 -0
- package/dist/src/assets/icons/legal.png +0 -0
- package/dist/src/assets/icons/profile.png +0 -0
- package/dist/src/assets/icons/rwa-report.png +0 -0
- package/dist/src/assets/icons/template.png +0 -0
- package/dist/src/assets/powerhouse-rounded.png +0 -0
- package/dist/src/assets/renown-hover.png +0 -0
- package/dist/src/assets/renown-short-hover.png +0 -0
- package/dist/src/assets/renown-short.png +0 -0
- package/dist/src/assets/renown.png +0 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +5 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +1 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js +14 -0
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +1 -0
- package/dist/src/scalars/EthereumAddress/index.d.ts +2 -0
- package/dist/src/scalars/EthereumAddress/index.d.ts.map +1 -0
- package/dist/src/scalars/EthereumAddress/index.js +2 -0
- package/dist/src/scalars/EthereumAddress/index.js.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.d.ts +4 -0
- package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/aid-field.js +49 -0
- package/dist/src/scalars/components/aid-field/aid-field.js.map +1 -0
- package/dist/src/scalars/components/aid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/aid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/index.js +2 -0
- package/dist/src/scalars/components/aid-field/index.js.map +1 -0
- package/dist/src/scalars/components/aid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/aid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/aid-field/types.js +2 -0
- package/dist/src/scalars/components/aid-field/types.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +3 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js +13 -0
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +4 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.js +77 -0
- package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.d.ts +6 -0
- package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/amount-field.js +13 -0
- package/dist/src/scalars/components/amount-field/amount-field.js.map +1 -0
- package/dist/src/scalars/components/amount-field/index.d.ts +2 -0
- package/dist/src/scalars/components/amount-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/index.js +2 -0
- package/dist/src/scalars/components/amount-field/index.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +10 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.js +12 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/index.d.ts +2 -0
- package/dist/src/scalars/components/boolean-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/boolean-field/index.js +2 -0
- package/dist/src/scalars/components/boolean-field/index.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +8 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.js +58 -0
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/index.d.ts +2 -0
- package/dist/src/scalars/components/country-code-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/index.js +2 -0
- package/dist/src/scalars/components/country-code-field/index.js.map +1 -0
- package/dist/src/scalars/components/country-code-field/types.d.ts +11 -0
- package/dist/src/scalars/components/country-code-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/country-code-field/types.js +2 -0
- package/dist/src/scalars/components/country-code-field/types.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +21 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js +72 -0
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts +4 -0
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/defaults.js +43 -0
- package/dist/src/scalars/components/currency-code-field/defaults.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/index.d.ts +5 -0
- package/dist/src/scalars/components/currency-code-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/index.js +4 -0
- package/dist/src/scalars/components/currency-code-field/index.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/types.d.ts +13 -0
- package/dist/src/scalars/components/currency-code-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/types.js +2 -0
- package/dist/src/scalars/components/currency-code-field/types.js.map +1 -0
- package/dist/src/scalars/components/currency-code-field/utils.d.ts +38 -0
- package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/currency-code-field/utils.js +40 -0
- package/dist/src/scalars/components/currency-code-field/utils.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js +11 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +3 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +73 -0
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +1 -0
- package/dist/src/scalars/components/date-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/date-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/index.js +2 -0
- package/dist/src/scalars/components/date-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +3 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +78 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +11 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/index.js +2 -0
- package/dist/src/scalars/components/date-time-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.d.ts +12 -0
- package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.js +18 -0
- package/dist/src/scalars/components/enum-field/enum-field.js.map +1 -0
- package/dist/src/scalars/components/enum-field/index.d.ts +3 -0
- package/dist/src/scalars/components/enum-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/index.js +3 -0
- package/dist/src/scalars/components/enum-field/index.js.map +1 -0
- package/dist/src/scalars/components/enum-field/types.d.ts +36 -0
- package/dist/src/scalars/components/enum-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/enum-field/types.js +2 -0
- package/dist/src/scalars/components/enum-field/types.js.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts +3 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +27 -0
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts +3 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +31 -0
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts +3 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.js +12 -0
- package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts +3 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +16 -0
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts +4 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +1 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +75 -0
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +1 -0
- package/dist/src/scalars/components/form/form.d.ts +113 -0
- package/dist/src/scalars/components/form/form.d.ts.map +1 -0
- package/dist/src/scalars/components/form/form.js +138 -0
- package/dist/src/scalars/components/form/form.js.map +1 -0
- package/dist/src/scalars/components/form/index.d.ts +2 -0
- package/dist/src/scalars/components/form/index.d.ts.map +1 -0
- package/dist/src/scalars/components/form/index.js +2 -0
- package/dist/src/scalars/components/form/index.js.map +1 -0
- package/dist/src/scalars/components/form/utils.d.ts +9 -0
- package/dist/src/scalars/components/form/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/form/utils.js +25 -0
- package/dist/src/scalars/components/form/utils.js.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.d.ts +11 -0
- package/dist/src/scalars/components/fragments/button/button.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/button/button.js +23 -0
- package/dist/src/scalars/components/fragments/button/button.js.map +1 -0
- package/dist/src/scalars/components/fragments/button/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/button/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/button/index.js +2 -0
- package/dist/src/scalars/components/fragments/button/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts +6 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js +17 -0
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/character-counter/index.js +2 -0
- package/dist/src/scalars/components/fragments/character-counter/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +4 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +6 -0
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.d.ts +80 -0
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/command/command.js +21 -0
- package/dist/src/scalars/components/fragments/command/command.js.map +1 -0
- package/dist/src/scalars/components/fragments/command/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/command/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/command/index.js +2 -0
- package/dist/src/scalars/components/fragments/command/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts +7 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.js +8 -0
- package/dist/src/scalars/components/fragments/form-description/form-description.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-description/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-description/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.js +5 -0
- package/dist/src/scalars/components/fragments/form-group/form-group.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-group/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-group/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts +10 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.js +20 -0
- package/dist/src/scalars/components/fragments/form-label/form-label.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-label/index.js +2 -0
- package/dist/src/scalars/components/fragments/form-label/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts +11 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.js +15 -0
- package/dist/src/scalars/components/fragments/form-message/form-message.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts +2 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js +11 -0
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/index.d.ts +4 -0
- package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/index.js +4 -0
- package/dist/src/scalars/components/fragments/form-message/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts +9 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.js +22 -0
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts +3 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js +4 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts +24 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +71 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts +16 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +47 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +20 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +31 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +5 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +88 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js +2 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts +48 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js +2 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +33 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js +212 -0
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +1 -0
- package/dist/src/scalars/components/fragments/index.d.ts +8 -0
- package/dist/src/scalars/components/fragments/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/index.js +8 -0
- package/dist/src/scalars/components/fragments/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/popover/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/popover/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/popover/index.js +2 -0
- package/dist/src/scalars/components/fragments/popover/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/popover/popover.d.ts +7 -0
- package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/popover/popover.js +17 -0
- package/dist/src/scalars/components/fragments/popover/popover.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.js +3 -0
- package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +12 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +18 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts +10 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js +10 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts +13 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js +24 -0
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/content.d.ts +17 -0
- package/dist/src/scalars/components/fragments/select-field/content.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/content.js +34 -0
- package/dist/src/scalars/components/fragments/select-field/content.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/select-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +19 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.js +62 -0
- package/dist/src/scalars/components/fragments/select-field/select-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts +13 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.js +26 -0
- package/dist/src/scalars/components/fragments/select-field/selected-content.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts +15 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js +24 -0
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts +19 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js +86 -0
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +8 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.js +14 -0
- package/dist/src/scalars/components/fragments/tabs/tabs.js.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/text-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +5 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.js +5 -0
- package/dist/src/scalars/components/fragments/text-field/text-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/textarea-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +6 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +6 -0
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.js +2 -0
- package/dist/src/scalars/components/fragments/toggle-field/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +4 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +6 -0
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts +3 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.js +3 -0
- package/dist/src/scalars/components/fragments/value-transformer/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +63 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +142 -0
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts +2 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.js +2 -0
- package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts +16 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +1 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js +218 -0
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.d.ts +9 -0
- package/dist/src/scalars/components/id-field/id-field.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/id-field.js +23 -0
- package/dist/src/scalars/components/id-field/id-field.js.map +1 -0
- package/dist/src/scalars/components/id-field/index.d.ts +2 -0
- package/dist/src/scalars/components/id-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/id-field/index.js +2 -0
- package/dist/src/scalars/components/id-field/index.js.map +1 -0
- package/dist/src/scalars/components/index.d.ts +122 -0
- package/dist/src/scalars/components/index.d.ts.map +1 -0
- package/dist/src/scalars/components/index.js +94 -0
- package/dist/src/scalars/components/index.js.map +1 -0
- package/dist/src/scalars/components/number-field/index.d.ts +2 -0
- package/dist/src/scalars/components/number-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/index.js +2 -0
- package/dist/src/scalars/components/number-field/index.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts +7 -0
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field-validations.js +117 -0
- package/dist/src/scalars/components/number-field/number-field-validations.js.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.d.ts +12 -0
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/number-field.js +50 -0
- package/dist/src/scalars/components/number-field/number-field.js.map +1 -0
- package/dist/src/scalars/components/number-field/types.d.ts +20 -0
- package/dist/src/scalars/components/number-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/types.js +2 -0
- package/dist/src/scalars/components/number-field/types.js.map +1 -0
- package/dist/src/scalars/components/number-field/use-number-field.d.ts +29 -0
- package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/use-number-field.js +140 -0
- package/dist/src/scalars/components/number-field/use-number-field.js.map +1 -0
- package/dist/src/scalars/components/number-field/utils.d.ts +10 -0
- package/dist/src/scalars/components/number-field/utils.d.ts.map +1 -0
- package/dist/src/scalars/components/number-field/utils.js +38 -0
- package/dist/src/scalars/components/number-field/utils.js.map +1 -0
- package/dist/src/scalars/components/oid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/oid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/index.js +2 -0
- package/dist/src/scalars/components/oid-field/index.js.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.d.ts +4 -0
- package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/oid-field.js +20 -0
- package/dist/src/scalars/components/oid-field/oid-field.js.map +1 -0
- package/dist/src/scalars/components/oid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/oid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/oid-field/types.js +2 -0
- package/dist/src/scalars/components/oid-field/types.js.map +1 -0
- package/dist/src/scalars/components/phid-field/index.d.ts +3 -0
- package/dist/src/scalars/components/phid-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/index.js +2 -0
- package/dist/src/scalars/components/phid-field/index.js.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.d.ts +4 -0
- package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/phid-field.js +51 -0
- package/dist/src/scalars/components/phid-field/phid-field.js.map +1 -0
- package/dist/src/scalars/components/phid-field/types.d.ts +5 -0
- package/dist/src/scalars/components/phid-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/phid-field/types.js +2 -0
- package/dist/src/scalars/components/phid-field/types.js.map +1 -0
- package/dist/src/scalars/components/string-field/index.d.ts +2 -0
- package/dist/src/scalars/components/string-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/index.js +2 -0
- package/dist/src/scalars/components/string-field/index.js.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.d.ts +7 -0
- package/dist/src/scalars/components/string-field/string-field.d.ts.map +1 -0
- package/dist/src/scalars/components/string-field/string-field.js +13 -0
- package/dist/src/scalars/components/string-field/string-field.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/index.d.ts +2 -0
- package/dist/src/scalars/components/time-picker-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/index.js +2 -0
- package/dist/src/scalars/components/time-picker-field/index.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +3 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +48 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +7 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js +11 -0
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +1 -0
- package/dist/src/scalars/components/types.d.ts +29 -0
- package/dist/src/scalars/components/types.d.ts.map +1 -0
- package/dist/src/scalars/components/types.js +2 -0
- package/dist/src/scalars/components/types.js.map +1 -0
- package/dist/src/scalars/components/url-field/index.d.ts +3 -0
- package/dist/src/scalars/components/url-field/index.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/index.js +3 -0
- package/dist/src/scalars/components/url-field/index.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-favicon.d.ts +8 -0
- package/dist/src/scalars/components/url-field/url-favicon.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-favicon.js +35 -0
- package/dist/src/scalars/components/url-field/url-favicon.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.d.ts +9 -0
- package/dist/src/scalars/components/url-field/url-field.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-field.js +48 -0
- package/dist/src/scalars/components/url-field/url-field.js.map +1 -0
- package/dist/src/scalars/components/url-field/url-input.d.ts +11 -0
- package/dist/src/scalars/components/url-field/url-input.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/url-input.js +34 -0
- package/dist/src/scalars/components/url-field/url-input.js.map +1 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts +5 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts.map +1 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.js +77 -0
- package/dist/src/scalars/components/url-field/useURLWarnings.js.map +1 -0
- package/dist/src/scalars/graphql/Amount.d.ts +26 -0
- package/dist/src/scalars/graphql/Amount.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Amount.js +48 -0
- package/dist/src/scalars/graphql/Amount.js.map +1 -0
- package/dist/src/scalars/graphql/AmountCrypto.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountCrypto.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountCrypto.js +48 -0
- package/dist/src/scalars/graphql/AmountCrypto.js.map +1 -0
- package/dist/src/scalars/graphql/AmountCurrency.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountCurrency.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountCurrency.js +48 -0
- package/dist/src/scalars/graphql/AmountCurrency.js.map +1 -0
- package/dist/src/scalars/graphql/AmountFiat.d.ts +27 -0
- package/dist/src/scalars/graphql/AmountFiat.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountFiat.js +48 -0
- package/dist/src/scalars/graphql/AmountFiat.js.map +1 -0
- package/dist/src/scalars/graphql/AmountMoney.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountMoney.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountMoney.js +35 -0
- package/dist/src/scalars/graphql/AmountMoney.js.map +1 -0
- package/dist/src/scalars/graphql/AmountPercentage.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountPercentage.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountPercentage.js +33 -0
- package/dist/src/scalars/graphql/AmountPercentage.js.map +1 -0
- package/dist/src/scalars/graphql/AmountTokens.d.ts +13 -0
- package/dist/src/scalars/graphql/AmountTokens.d.ts.map +1 -0
- package/dist/src/scalars/graphql/AmountTokens.js +33 -0
- package/dist/src/scalars/graphql/AmountTokens.js.map +1 -0
- package/dist/src/scalars/graphql/Currency.d.ts +13 -0
- package/dist/src/scalars/graphql/Currency.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Currency.js +31 -0
- package/dist/src/scalars/graphql/Currency.js.map +1 -0
- package/dist/src/scalars/graphql/Date.d.ts +13 -0
- package/dist/src/scalars/graphql/Date.d.ts.map +1 -0
- package/dist/src/scalars/graphql/Date.js +29 -0
- package/dist/src/scalars/graphql/Date.js.map +1 -0
- package/dist/src/scalars/graphql/DateTime.d.ts +13 -0
- package/dist/src/scalars/graphql/DateTime.d.ts.map +1 -0
- package/dist/src/scalars/graphql/DateTime.js +29 -0
- package/dist/src/scalars/graphql/DateTime.js.map +1 -0
- package/dist/src/scalars/graphql/EmailAddress.d.ts +13 -0
- package/dist/src/scalars/graphql/EmailAddress.d.ts.map +1 -0
- package/dist/src/scalars/graphql/EmailAddress.js +29 -0
- package/dist/src/scalars/graphql/EmailAddress.js.map +1 -0
- package/dist/src/scalars/graphql/EthereumAddress.d.ts +13 -0
- package/dist/src/scalars/graphql/EthereumAddress.d.ts.map +1 -0
- package/dist/src/scalars/graphql/EthereumAddress.js +31 -0
- package/dist/src/scalars/graphql/EthereumAddress.js.map +1 -0
- package/dist/src/scalars/graphql/OID.d.ts +13 -0
- package/dist/src/scalars/graphql/OID.d.ts.map +1 -0
- package/dist/src/scalars/graphql/OID.js +31 -0
- package/dist/src/scalars/graphql/OID.js.map +1 -0
- package/dist/src/scalars/graphql/OLabel.d.ts +13 -0
- package/dist/src/scalars/graphql/OLabel.d.ts.map +1 -0
- package/dist/src/scalars/graphql/OLabel.js +31 -0
- package/dist/src/scalars/graphql/OLabel.js.map +1 -0
- package/dist/src/scalars/graphql/PHID.d.ts +13 -0
- package/dist/src/scalars/graphql/PHID.d.ts.map +1 -0
- package/dist/src/scalars/graphql/PHID.js +31 -0
- package/dist/src/scalars/graphql/PHID.js.map +1 -0
- package/dist/src/scalars/graphql/URL.d.ts +13 -0
- package/dist/src/scalars/graphql/URL.d.ts.map +1 -0
- package/dist/src/scalars/graphql/URL.js +29 -0
- package/dist/src/scalars/graphql/URL.js.map +1 -0
- package/dist/src/scalars/graphql/index.d.ts +89 -0
- package/dist/src/scalars/graphql/index.d.ts.map +1 -0
- package/dist/src/scalars/graphql/index.js +97 -0
- package/dist/src/scalars/graphql/index.js.map +1 -0
- package/dist/src/scalars/graphql/types.d.ts +15 -0
- package/dist/src/scalars/graphql/types.d.ts.map +1 -0
- package/dist/src/scalars/graphql/types.js +2 -0
- package/dist/src/scalars/graphql/types.js.map +1 -0
- package/dist/src/scalars/hooks/useEllipsis.d.ts +7 -0
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -0
- package/dist/src/scalars/hooks/useEllipsis.js +21 -0
- package/dist/src/scalars/hooks/useEllipsis.js.map +1 -0
- package/dist/src/scalars/index.d.ts +4 -0
- package/dist/src/scalars/index.d.ts.map +1 -0
- package/dist/src/scalars/index.js +5 -0
- package/dist/src/scalars/index.js.map +1 -0
- package/dist/src/scalars/lib/decorators.d.ts +5 -0
- package/dist/src/scalars/lib/decorators.d.ts.map +1 -0
- package/dist/src/scalars/lib/decorators.js +96 -0
- package/dist/src/scalars/lib/decorators.js.map +1 -0
- package/dist/src/scalars/lib/deep-equal.d.ts +2 -0
- package/dist/src/scalars/lib/deep-equal.d.ts.map +1 -0
- package/dist/src/scalars/lib/deep-equal.js +37 -0
- package/dist/src/scalars/lib/deep-equal.js.map +1 -0
- package/dist/src/scalars/lib/index.d.ts +7 -0
- package/dist/src/scalars/lib/index.d.ts.map +1 -0
- package/dist/src/scalars/lib/index.js +7 -0
- package/dist/src/scalars/lib/index.js.map +1 -0
- package/dist/src/scalars/lib/is-empty.d.ts +2 -0
- package/dist/src/scalars/lib/is-empty.d.ts.map +1 -0
- package/dist/src/scalars/lib/is-empty.js +24 -0
- package/dist/src/scalars/lib/is-empty.js.map +1 -0
- package/dist/src/scalars/lib/share-number-validations.d.ts +5 -0
- package/dist/src/scalars/lib/share-number-validations.d.ts.map +1 -0
- package/dist/src/scalars/lib/share-number-validations.js +32 -0
- package/dist/src/scalars/lib/share-number-validations.js.map +1 -0
- package/dist/src/scalars/lib/shared-value-transformers.d.ts +3 -0
- package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +1 -0
- package/dist/src/scalars/lib/shared-value-transformers.js +31 -0
- package/dist/src/scalars/lib/shared-value-transformers.js.map +1 -0
- package/dist/src/scalars/lib/storybook-arg-types.d.ts +404 -0
- package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +1 -0
- package/dist/src/scalars/lib/storybook-arg-types.js +357 -0
- package/dist/src/scalars/lib/storybook-arg-types.js.map +1 -0
- package/dist/src/scalars/lib/testing.d.ts +3 -0
- package/dist/src/scalars/lib/testing.d.ts.map +1 -0
- package/dist/src/scalars/lib/testing.js +9 -0
- package/dist/src/scalars/lib/testing.js.map +1 -0
- package/dist/src/scalars/lib/utils.d.ts +3 -0
- package/dist/src/scalars/lib/utils.d.ts.map +1 -0
- package/dist/src/scalars/lib/utils.js +6 -0
- package/dist/src/scalars/lib/utils.js.map +1 -0
- package/dist/src/scalars/lib/value-cast.d.ts +4 -0
- package/dist/src/scalars/lib/value-cast.d.ts.map +1 -0
- package/dist/src/scalars/lib/value-cast.js +57 -0
- package/dist/src/scalars/lib/value-cast.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js +25 -0
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/aid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.js +319 -0
- package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts +25 -0
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/aid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/aid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +24 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js +34 -0
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/amount-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts +43 -0
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/amount-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +34 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +311 -0
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +17 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.js +93 -0
- package/dist/src/ui/components/data-entry/amount-input/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts +8 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +29 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +10 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js +22 -0
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js +2 -0
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +25 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js +47 -0
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +49 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +112 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +22 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +81 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +9 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +15 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +15 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +16 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +13 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +18 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +8 -0
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts +4 -0
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/types.js +2 -0
- package/dist/src/ui/components/data-entry/date-picker/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +38 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +130 -0
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +50 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.js +104 -0
- package/dist/src/ui/components/data-entry/date-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +25 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +16 -0
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +33 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +37 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +30 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +50 -0
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +72 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +291 -0
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +70 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js +217 -0
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/index.js +2 -0
- package/dist/src/ui/components/data-entry/input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/input/input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/input.js +22 -0
- package/dist/src/ui/components/data-entry/input/input.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +8 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +35 -0
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts +11 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +8 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +9 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +27 -0
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/oid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.js +119 -0
- package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js +21 -0
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts +16 -0
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/oid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/oid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/phid-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +7 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.js +224 -0
- package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +13 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +52 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +5 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js +28 -0
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts +30 -0
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/phid-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/phid-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/index.js +2 -0
- package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +9 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +8 -0
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +10 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.js +37 -0
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/types.d.ts +12 -0
- package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/text-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/text-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/index.js +2 -0
- package/dist/src/ui/components/data-entry/textarea/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +13 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +9 -0
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +12 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.js +103 -0
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts +3 -0
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js +2 -0
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +8 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +8 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +25 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +12 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +5 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +28 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +13 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +106 -0
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +23 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js +27 -0
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts +9 -0
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/type.js +2 -0
- package/dist/src/ui/components/data-entry/time-picker/type.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +42 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +144 -0
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +207 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.js +475 -0
- package/dist/src/ui/components/data-entry/time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/index.d.ts +2 -0
- package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/index.js +2 -0
- package/dist/src/ui/components/data-entry/toggle/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +11 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js +10 -0
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +9 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.js +14 -0
- package/dist/src/ui/components/data-entry/toggle/toggle.js.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts +3 -0
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/dropdown-example.js +13 -0
- package/dist/src/ui/components/dropdown/dropdown-example.js.map +1 -0
- package/dist/src/ui/components/dropdown/index.d.ts +8 -0
- package/dist/src/ui/components/dropdown/index.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/index.js +8 -0
- package/dist/src/ui/components/dropdown/index.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +4 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +17 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +13 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +7 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts +5 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +7 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +3 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +1 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +6 -0
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +1 -0
- package/dist/src/ui/components/icon/icon.d.ts +10 -0
- package/dist/src/ui/components/icon/icon.d.ts.map +1 -0
- package/dist/src/ui/components/icon/icon.js +18 -0
- package/dist/src/ui/components/icon/icon.js.map +1 -0
- package/dist/src/ui/components/icon/index.d.ts +4 -0
- package/dist/src/ui/components/icon/index.d.ts.map +1 -0
- package/dist/src/ui/components/icon/index.js +3 -0
- package/dist/src/ui/components/icon/index.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ArrowUp.js +5 -0
- package/dist/src/ui/components/icon-components/ArrowUp.js.map +1 -0
- package/dist/src/ui/components/icon-components/BarChart.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BarChart.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BarChart.js +5 -0
- package/dist/src/ui/components/icon-components/BarChart.js.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.js +5 -0
- package/dist/src/ui/components/icon-components/BaseArrowRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Braces.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Braces.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Braces.js +5 -0
- package/dist/src/ui/components/icon-components/Braces.js.map +1 -0
- package/dist/src/ui/components/icon-components/Branch.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Branch.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Branch.js +5 -0
- package/dist/src/ui/components/icon-components/Branch.js.map +1 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts +3 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.js +5 -0
- package/dist/src/ui/components/icon-components/BrickGlobe.js.map +1 -0
- package/dist/src/ui/components/icon-components/Briefcase.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Briefcase.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Briefcase.js +5 -0
- package/dist/src/ui/components/icon-components/Briefcase.js.map +1 -0
- package/dist/src/ui/components/icon-components/Calendar.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Calendar.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Calendar.js +5 -0
- package/dist/src/ui/components/icon-components/Calendar.js.map +1 -0
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CalendarTime.js +5 -0
- package/dist/src/ui/components/icon-components/CalendarTime.js.map +1 -0
- package/dist/src/ui/components/icon-components/Caret.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Caret.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Caret.js +5 -0
- package/dist/src/ui/components/icon-components/Caret.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretDown.js +5 -0
- package/dist/src/ui/components/icon-components/CaretDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretLeft.js +5 -0
- package/dist/src/ui/components/icon-components/CaretLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretRight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretRight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretRight.js +5 -0
- package/dist/src/ui/components/icon-components/CaretRight.js.map +1 -0
- package/dist/src/ui/components/icon-components/CaretSort.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CaretSort.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CaretSort.js +5 -0
- package/dist/src/ui/components/icon-components/CaretSort.js.map +1 -0
- package/dist/src/ui/components/icon-components/Check.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Check.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Check.js +5 -0
- package/dist/src/ui/components/icon-components/Check.js.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircle.js +5 -0
- package/dist/src/ui/components/icon-components/CheckCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.js +5 -0
- package/dist/src/ui/components/icon-components/CheckCircleFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/Checkmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Checkmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Checkmark.js +5 -0
- package/dist/src/ui/components/icon-components/Checkmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ChevronDown.js +5 -0
- package/dist/src/ui/components/icon-components/ChevronDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/Circle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Circle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Circle.js +5 -0
- package/dist/src/ui/components/icon-components/Circle.js.map +1 -0
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CircleInfo.js +5 -0
- package/dist/src/ui/components/icon-components/CircleInfo.js.map +1 -0
- package/dist/src/ui/components/icon-components/Clock.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Clock.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Clock.js +5 -0
- package/dist/src/ui/components/icon-components/Clock.js.map +1 -0
- package/dist/src/ui/components/icon-components/ClockFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ClockFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ClockFill.js +5 -0
- package/dist/src/ui/components/icon-components/ClockFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ClockHistory.js +5 -0
- package/dist/src/ui/components/icon-components/ClockHistory.js.map +1 -0
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CloudSlash.js +5 -0
- package/dist/src/ui/components/icon-components/CloudSlash.js.map +1 -0
- package/dist/src/ui/components/icon-components/Collapse.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Collapse.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Collapse.js +5 -0
- package/dist/src/ui/components/icon-components/Collapse.js.map +1 -0
- package/dist/src/ui/components/icon-components/Compass.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Compass.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Compass.js +5 -0
- package/dist/src/ui/components/icon-components/Compass.js.map +1 -0
- package/dist/src/ui/components/icon-components/Connect.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Connect.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Connect.js +5 -0
- package/dist/src/ui/components/icon-components/Connect.js.map +1 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.js +5 -0
- package/dist/src/ui/components/icon-components/ConnectSmall.js.map +1 -0
- package/dist/src/ui/components/icon-components/Copy.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Copy.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Copy.js +5 -0
- package/dist/src/ui/components/icon-components/Copy.js.map +1 -0
- package/dist/src/ui/components/icon-components/Created.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Created.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Created.js +5 -0
- package/dist/src/ui/components/icon-components/Created.js.map +1 -0
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/CrossCircle.js +5 -0
- package/dist/src/ui/components/icon-components/CrossCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/Danger.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Danger.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Danger.js +5 -0
- package/dist/src/ui/components/icon-components/Danger.js.map +1 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts +3 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.js +5 -0
- package/dist/src/ui/components/icon-components/DescendenceModified.js.map +1 -0
- package/dist/src/ui/components/icon-components/Disconnect.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Disconnect.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Disconnect.js +5 -0
- package/dist/src/ui/components/icon-components/Disconnect.js.map +1 -0
- package/dist/src/ui/components/icon-components/Discord.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Discord.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Discord.js +5 -0
- package/dist/src/ui/components/icon-components/Discord.js.map +1 -0
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts +3 -0
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/DownloadFile.js +5 -0
- package/dist/src/ui/components/icon-components/DownloadFile.js.map +1 -0
- package/dist/src/ui/components/icon-components/Drive.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Drive.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Drive.js +5 -0
- package/dist/src/ui/components/icon-components/Drive.js.map +1 -0
- package/dist/src/ui/components/icon-components/Duplicated.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Duplicated.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Duplicated.js +5 -0
- package/dist/src/ui/components/icon-components/Duplicated.js.map +1 -0
- package/dist/src/ui/components/icon-components/Edit.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Edit.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Edit.js +5 -0
- package/dist/src/ui/components/icon-components/Edit.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ellipsis.js +5 -0
- package/dist/src/ui/components/icon-components/Ellipsis.js.map +1 -0
- package/dist/src/ui/components/icon-components/Error.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Error.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Error.js +5 -0
- package/dist/src/ui/components/icon-components/Error.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ethscan.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ethscan.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ethscan.js +5 -0
- package/dist/src/ui/components/icon-components/Ethscan.js.map +1 -0
- package/dist/src/ui/components/icon-components/Exclamation.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Exclamation.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Exclamation.js +5 -0
- package/dist/src/ui/components/icon-components/Exclamation.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportCsv.js +5 -0
- package/dist/src/ui/components/icon-components/ExportCsv.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportJson.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportJson.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportJson.js +5 -0
- package/dist/src/ui/components/icon-components/ExportJson.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportPdf.js +5 -0
- package/dist/src/ui/components/icon-components/ExportPdf.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportUbl.js +5 -0
- package/dist/src/ui/components/icon-components/ExportUbl.js.map +1 -0
- package/dist/src/ui/components/icon-components/ExportZip.d.ts +3 -0
- package/dist/src/ui/components/icon-components/ExportZip.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/ExportZip.js +5 -0
- package/dist/src/ui/components/icon-components/ExportZip.js.map +1 -0
- package/dist/src/ui/components/icon-components/File.d.ts +3 -0
- package/dist/src/ui/components/icon-components/File.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/File.js +5 -0
- package/dist/src/ui/components/icon-components/File.js.map +1 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.js +5 -0
- package/dist/src/ui/components/icon-components/FilesEarmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderClose.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderClose.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderClose.js +5 -0
- package/dist/src/ui/components/icon-components/FolderClose.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderOpen.js +5 -0
- package/dist/src/ui/components/icon-components/FolderOpen.js.map +1 -0
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts +3 -0
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/FolderPlus.js +5 -0
- package/dist/src/ui/components/icon-components/FolderPlus.js.map +1 -0
- package/dist/src/ui/components/icon-components/Forum.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Forum.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Forum.js +5 -0
- package/dist/src/ui/components/icon-components/Forum.js.map +1 -0
- package/dist/src/ui/components/icon-components/Gear.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Gear.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Gear.js +5 -0
- package/dist/src/ui/components/icon-components/Gear.js.map +1 -0
- package/dist/src/ui/components/icon-components/Github.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Github.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Github.js +5 -0
- package/dist/src/ui/components/icon-components/Github.js.map +1 -0
- package/dist/src/ui/components/icon-components/Globe.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Globe.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Globe.js +5 -0
- package/dist/src/ui/components/icon-components/Globe.js.map +1 -0
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts +3 -0
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/GlobeWww.js +5 -0
- package/dist/src/ui/components/icon-components/GlobeWww.js.map +1 -0
- package/dist/src/ui/components/icon-components/Hdd.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Hdd.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Hdd.js +5 -0
- package/dist/src/ui/components/icon-components/Hdd.js.map +1 -0
- package/dist/src/ui/components/icon-components/History.d.ts +3 -0
- package/dist/src/ui/components/icon-components/History.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/History.js +5 -0
- package/dist/src/ui/components/icon-components/History.js.map +1 -0
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/InfoSquare.js +5 -0
- package/dist/src/ui/components/icon-components/InfoSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/Link.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Link.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Link.js +5 -0
- package/dist/src/ui/components/icon-components/Link.js.map +1 -0
- package/dist/src/ui/components/icon-components/Linkedin.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Linkedin.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Linkedin.js +5 -0
- package/dist/src/ui/components/icon-components/Linkedin.js.map +1 -0
- package/dist/src/ui/components/icon-components/Lock.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Lock.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Lock.js +5 -0
- package/dist/src/ui/components/icon-components/Lock.js.map +1 -0
- package/dist/src/ui/components/icon-components/M.d.ts +3 -0
- package/dist/src/ui/components/icon-components/M.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/M.js +5 -0
- package/dist/src/ui/components/icon-components/M.js.map +1 -0
- package/dist/src/ui/components/icon-components/Modified.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Modified.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Modified.js +5 -0
- package/dist/src/ui/components/icon-components/Modified.js.map +1 -0
- package/dist/src/ui/components/icon-components/Moved.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Moved.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Moved.js +5 -0
- package/dist/src/ui/components/icon-components/Moved.js.map +1 -0
- package/dist/src/ui/components/icon-components/Npm.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Npm.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Npm.js +5 -0
- package/dist/src/ui/components/icon-components/Npm.js.map +1 -0
- package/dist/src/ui/components/icon-components/PackageManager.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PackageManager.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PackageManager.js +5 -0
- package/dist/src/ui/components/icon-components/PackageManager.js.map +1 -0
- package/dist/src/ui/components/icon-components/Pencil.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Pencil.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Pencil.js +5 -0
- package/dist/src/ui/components/icon-components/Pencil.js.map +1 -0
- package/dist/src/ui/components/icon-components/People.d.ts +3 -0
- package/dist/src/ui/components/icon-components/People.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/People.js +5 -0
- package/dist/src/ui/components/icon-components/People.js.map +1 -0
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PeopleFill.js +5 -0
- package/dist/src/ui/components/icon-components/PeopleFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/Person.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Person.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Person.js +5 -0
- package/dist/src/ui/components/icon-components/Person.js.map +1 -0
- package/dist/src/ui/components/icon-components/Pin.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Pin.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Pin.js +5 -0
- package/dist/src/ui/components/icon-components/Pin.js.map +1 -0
- package/dist/src/ui/components/icon-components/PinFilled.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PinFilled.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PinFilled.js +5 -0
- package/dist/src/ui/components/icon-components/PinFilled.js.map +1 -0
- package/dist/src/ui/components/icon-components/Plus.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Plus.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Plus.js +5 -0
- package/dist/src/ui/components/icon-components/Plus.js.map +1 -0
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PlusCircle.js +5 -0
- package/dist/src/ui/components/icon-components/PlusCircle.js.map +1 -0
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PlusSquare.js +5 -0
- package/dist/src/ui/components/icon-components/PlusSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts +3 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js +5 -0
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js.map +1 -0
- package/dist/src/ui/components/icon-components/Project.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Project.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Project.js +5 -0
- package/dist/src/ui/components/icon-components/Project.js.map +1 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts +3 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.js +5 -0
- package/dist/src/ui/components/icon-components/QuestionSquare.js.map +1 -0
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RedoArrow.js +5 -0
- package/dist/src/ui/components/icon-components/RedoArrow.js.map +1 -0
- package/dist/src/ui/components/icon-components/Reload.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Reload.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Reload.js +5 -0
- package/dist/src/ui/components/icon-components/Reload.js.map +1 -0
- package/dist/src/ui/components/icon-components/Removed.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Removed.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Removed.js +5 -0
- package/dist/src/ui/components/icon-components/Removed.js.map +1 -0
- package/dist/src/ui/components/icon-components/Renown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Renown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Renown.js +5 -0
- package/dist/src/ui/components/icon-components/Renown.js.map +1 -0
- package/dist/src/ui/components/icon-components/RenownHover.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RenownHover.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RenownHover.js +5 -0
- package/dist/src/ui/components/icon-components/RenownHover.js.map +1 -0
- package/dist/src/ui/components/icon-components/RenownLight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/RenownLight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/RenownLight.js +5 -0
- package/dist/src/ui/components/icon-components/RenownLight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Ring.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Ring.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Ring.js +5 -0
- package/dist/src/ui/components/icon-components/Ring.js.map +1 -0
- package/dist/src/ui/components/icon-components/Save.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Save.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Save.js +5 -0
- package/dist/src/ui/components/icon-components/Save.js.map +1 -0
- package/dist/src/ui/components/icon-components/Search.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Search.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Search.js +5 -0
- package/dist/src/ui/components/icon-components/Search.js.map +1 -0
- package/dist/src/ui/components/icon-components/Server.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Server.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Server.js +5 -0
- package/dist/src/ui/components/icon-components/Server.js.map +1 -0
- package/dist/src/ui/components/icon-components/Settings.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Settings.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Settings.js +5 -0
- package/dist/src/ui/components/icon-components/Settings.js.map +1 -0
- package/dist/src/ui/components/icon-components/Synced.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Synced.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Synced.js +5 -0
- package/dist/src/ui/components/icon-components/Synced.js.map +1 -0
- package/dist/src/ui/components/icon-components/Syncing.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Syncing.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Syncing.js +5 -0
- package/dist/src/ui/components/icon-components/Syncing.js.map +1 -0
- package/dist/src/ui/components/icon-components/Tabler.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Tabler.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Tabler.js +5 -0
- package/dist/src/ui/components/icon-components/Tabler.js.map +1 -0
- package/dist/src/ui/components/icon-components/Timeline.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Timeline.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Timeline.js +5 -0
- package/dist/src/ui/components/icon-components/Timeline.js.map +1 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.js +5 -0
- package/dist/src/ui/components/icon-components/TimelineCaret.js.map +1 -0
- package/dist/src/ui/components/icon-components/Trash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Trash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Trash.js +5 -0
- package/dist/src/ui/components/icon-components/Trash.js.map +1 -0
- package/dist/src/ui/components/icon-components/TrashFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TrashFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TrashFill.js +5 -0
- package/dist/src/ui/components/icon-components/TrashFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.js +5 -0
- package/dist/src/ui/components/icon-components/TreeViewSlash.js.map +1 -0
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts +3 -0
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/TriangleDown.js +5 -0
- package/dist/src/ui/components/icon-components/TriangleDown.js.map +1 -0
- package/dist/src/ui/components/icon-components/Tube.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Tube.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Tube.js +5 -0
- package/dist/src/ui/components/icon-components/Tube.js.map +1 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts +3 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js +5 -0
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js.map +1 -0
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts +3 -0
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/VerticalDots.js +5 -0
- package/dist/src/ui/components/icon-components/VerticalDots.js.map +1 -0
- package/dist/src/ui/components/icon-components/WarningFill.d.ts +3 -0
- package/dist/src/ui/components/icon-components/WarningFill.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/WarningFill.js +5 -0
- package/dist/src/ui/components/icon-components/WarningFill.js.map +1 -0
- package/dist/src/ui/components/icon-components/XTwitter.d.ts +3 -0
- package/dist/src/ui/components/icon-components/XTwitter.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/XTwitter.js +5 -0
- package/dist/src/ui/components/icon-components/XTwitter.js.map +1 -0
- package/dist/src/ui/components/icon-components/Xmark.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Xmark.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Xmark.js +5 -0
- package/dist/src/ui/components/icon-components/Xmark.js.map +1 -0
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts +3 -0
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/XmarkLight.js +5 -0
- package/dist/src/ui/components/icon-components/XmarkLight.js.map +1 -0
- package/dist/src/ui/components/icon-components/Youtube.d.ts +3 -0
- package/dist/src/ui/components/icon-components/Youtube.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/Youtube.js +5 -0
- package/dist/src/ui/components/icon-components/Youtube.js.map +1 -0
- package/dist/src/ui/components/icon-components/index.d.ts +6 -0
- package/dist/src/ui/components/icon-components/index.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/index.js +347 -0
- package/dist/src/ui/components/icon-components/index.js.map +1 -0
- package/dist/src/ui/components/index.d.ts +15 -0
- package/dist/src/ui/components/index.d.ts.map +1 -0
- package/dist/src/ui/components/index.js +21 -0
- package/dist/src/ui/components/index.js.map +1 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +48 -0
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +1 -0
- package/dist/src/ui/components/object-set-table/index.d.ts +2 -0
- package/dist/src/ui/components/object-set-table/index.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/index.js +5 -0
- package/dist/src/ui/components/object-set-table/index.js.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +49 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js +97 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +52 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.js +105 -0
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +1 -0
- package/dist/src/ui/components/object-set-table/mock-data.d.ts +16 -0
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/mock-data.js +101 -0
- package/dist/src/ui/components/object-set-table/mock-data.js.map +1 -0
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts +12 -0
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/object-set-table.js +53 -0
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.js +114 -0
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +15 -0
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +4 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +14 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +11 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +4 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts +7 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +13 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +8 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.js +19 -0
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts +6 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +18 -0
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts +5 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +16 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +24 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +41 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +49 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +109 -0
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +1 -0
- package/dist/src/ui/components/object-set-table/types.d.ts +242 -0
- package/dist/src/ui/components/object-set-table/types.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/types.js +2 -0
- package/dist/src/ui/components/object-set-table/types.js.map +1 -0
- package/dist/src/ui/components/object-set-table/utils.d.ts +90 -0
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/utils.js +172 -0
- package/dist/src/ui/components/object-set-table/utils.js.map +1 -0
- package/dist/src/ui/components/sidebar/index.d.ts +4 -0
- package/dist/src/ui/components/sidebar/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/index.js +3 -0
- package/dist/src/ui/components/sidebar/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/mocked_tree.json +5230 -0
- package/dist/src/ui/components/sidebar/sidebar.d.ts +81 -0
- package/dist/src/ui/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/sidebar.js +62 -0
- package/dist/src/ui/components/sidebar/sidebar.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +7 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +17 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +17 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +19 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +82 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +13 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +2 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +37 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +292 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +93 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +135 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +4 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +4 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +6 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +6 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +36 -0
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +8 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +32 -0
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +1 -0
- package/dist/src/ui/components/sidebar/types.d.ts +23 -0
- package/dist/src/ui/components/sidebar/types.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/types.js +10 -0
- package/dist/src/ui/components/sidebar/types.js.map +1 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +33 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js +97 -0
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +1 -0
- package/dist/src/ui/components/sidebar/utils.d.ts +52 -0
- package/dist/src/ui/components/sidebar/utils.d.ts.map +1 -0
- package/dist/src/ui/components/sidebar/utils.js +238 -0
- package/dist/src/ui/components/sidebar/utils.js.map +1 -0
- package/dist/src/ui/components/tooltip/index.d.ts +2 -0
- package/dist/src/ui/components/tooltip/index.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/index.js +2 -0
- package/dist/src/ui/components/tooltip/index.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts +11 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.js +24 -0
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/ui/index.d.ts +2 -0
- package/dist/src/ui/index.d.ts.map +1 -0
- package/dist/src/ui/index.js +2 -0
- package/dist/src/ui/index.js.map +1 -0
- package/dist/style.css +3665 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +165 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { useEffect, useMemo, useState } from "react";
|
|
2
|
+
import { isValidNumber } from "../../../../scalars/components/number-field/number-field-validations.js";
|
|
3
|
+
import { createAmountValue, displayValueAmount, getDefaultUnits, handleEventOnBlur, handleEventOnChange, isNotSafeValue, isValidBigInt, isValidNumberGreaterThanMaxSafeInteger, } from "./utils.js";
|
|
4
|
+
export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, precision, viewPrecision, trailingZeros, units, }) => {
|
|
5
|
+
const currentValue = value ?? defaultValue;
|
|
6
|
+
const baseValue = useMemo(() => {
|
|
7
|
+
if (currentValue === undefined) {
|
|
8
|
+
return undefined;
|
|
9
|
+
}
|
|
10
|
+
// If it's an object (for any type), we extract the amount property
|
|
11
|
+
if (typeof currentValue === "object") {
|
|
12
|
+
return currentValue.amount;
|
|
13
|
+
}
|
|
14
|
+
// If it's a primitive value (for AmountPercentage)
|
|
15
|
+
return currentValue;
|
|
16
|
+
}, [currentValue]);
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (type === "AmountPercentage") {
|
|
19
|
+
if (typeof currentValue === "object") {
|
|
20
|
+
const newValue = currentValue.amount === ""
|
|
21
|
+
? ""
|
|
22
|
+
: currentValue.amount === undefined
|
|
23
|
+
? ""
|
|
24
|
+
: currentValue.amount;
|
|
25
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
26
|
+
onChange?.(nativeEvent);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (typeof currentValue === "number" ||
|
|
30
|
+
typeof currentValue === "string" ||
|
|
31
|
+
typeof currentValue === "bigint" ||
|
|
32
|
+
typeof currentValue === "undefined") {
|
|
33
|
+
const nativeEvent = handleEventOnChange(currentValue);
|
|
34
|
+
onChange?.(nativeEvent);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if ((type === "AmountFiat" ||
|
|
38
|
+
type === "AmountCrypto" ||
|
|
39
|
+
type === "Amount" ||
|
|
40
|
+
type === "AmountCurrency") &&
|
|
41
|
+
(typeof currentValue === "number" || typeof currentValue === "string")) {
|
|
42
|
+
const newValue = {
|
|
43
|
+
amount: currentValue,
|
|
44
|
+
unit: "",
|
|
45
|
+
};
|
|
46
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
47
|
+
onChange?.(nativeEvent);
|
|
48
|
+
}
|
|
49
|
+
}, [currentValue, onChange, type]);
|
|
50
|
+
const valueSelect = useMemo(() => {
|
|
51
|
+
if (currentValue === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
// If it's an object, we try to get the unit property
|
|
55
|
+
if (typeof currentValue === "object" && "unit" in currentValue) {
|
|
56
|
+
return currentValue.unit;
|
|
57
|
+
}
|
|
58
|
+
return undefined;
|
|
59
|
+
}, [currentValue]);
|
|
60
|
+
const isBigInt = type === "AmountCrypto" ||
|
|
61
|
+
(type === "AmountCurrency" &&
|
|
62
|
+
isValidNumberGreaterThanMaxSafeInteger(baseValue?.toString()));
|
|
63
|
+
const [inputFocused, setInputFocused] = useState(false);
|
|
64
|
+
const rawAmountState = baseValue?.toString() ?? "";
|
|
65
|
+
const displayValueAmountState = useMemo(() => {
|
|
66
|
+
if (inputFocused) {
|
|
67
|
+
return rawAmountState;
|
|
68
|
+
}
|
|
69
|
+
if (type === "Amount" ||
|
|
70
|
+
type === "AmountPercentage" ||
|
|
71
|
+
type === "AmountFiat") {
|
|
72
|
+
if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
|
|
73
|
+
// Return the value without formatting if not valid
|
|
74
|
+
return baseValue?.toString() ?? "";
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
if (type === "AmountCrypto") {
|
|
78
|
+
return baseValue?.toString();
|
|
79
|
+
}
|
|
80
|
+
if (type === "AmountCurrency") {
|
|
81
|
+
if (isValidNumberGreaterThanMaxSafeInteger(rawAmountState)) {
|
|
82
|
+
// // Return the value without formatting if not valid
|
|
83
|
+
return baseValue?.toString() ?? "";
|
|
84
|
+
}
|
|
85
|
+
if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
|
|
86
|
+
// Return the value without formatting if not valid
|
|
87
|
+
return baseValue?.toString() ?? "";
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
// Here its safe to format the value
|
|
91
|
+
return displayValueAmount(baseValue?.toString() ?? "", precision, viewPrecision, trailingZeros);
|
|
92
|
+
}, [
|
|
93
|
+
inputFocused,
|
|
94
|
+
type,
|
|
95
|
+
baseValue,
|
|
96
|
+
precision,
|
|
97
|
+
viewPrecision,
|
|
98
|
+
trailingZeros,
|
|
99
|
+
rawAmountState,
|
|
100
|
+
]);
|
|
101
|
+
const isPercent = type === "AmountPercentage";
|
|
102
|
+
const isAmountWithUnit = type === "Amount" && typeof value === "object" && "unit" in value;
|
|
103
|
+
const isAmountWithoutUnit = type === "Amount" && !isAmountWithUnit;
|
|
104
|
+
const isShowSelect = (isAmountWithUnit && units && units.length > 0) ||
|
|
105
|
+
type === "AmountFiat" ||
|
|
106
|
+
type === "AmountCrypto" ||
|
|
107
|
+
type === "AmountCurrency";
|
|
108
|
+
// Handle the change of the input
|
|
109
|
+
const handleOnChangeInput = (e) => {
|
|
110
|
+
const inputValue = e.target.value;
|
|
111
|
+
if (type === "AmountFiat" && typeof value === "object") {
|
|
112
|
+
const newValue = {
|
|
113
|
+
...value,
|
|
114
|
+
amount: createAmountValue(inputValue),
|
|
115
|
+
};
|
|
116
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
117
|
+
onChange?.(nativeEvent);
|
|
118
|
+
}
|
|
119
|
+
// Handle the change of the currency crypto
|
|
120
|
+
if (type === "AmountCrypto" && typeof value === "object") {
|
|
121
|
+
const newValueCurrencyCrypto = {
|
|
122
|
+
...value,
|
|
123
|
+
amount: createAmountValue(inputValue),
|
|
124
|
+
};
|
|
125
|
+
const nativeEvent = handleEventOnChange(newValueCurrencyCrypto);
|
|
126
|
+
onChange?.(nativeEvent);
|
|
127
|
+
}
|
|
128
|
+
if (type === "AmountPercentage") {
|
|
129
|
+
const amountValue = createAmountValue(inputValue);
|
|
130
|
+
const nativeEvent = handleEventOnChange(amountValue);
|
|
131
|
+
onChange?.(nativeEvent);
|
|
132
|
+
}
|
|
133
|
+
// Handle the change of the universal amount
|
|
134
|
+
if (type === "AmountCurrency" && typeof value === "object") {
|
|
135
|
+
const newValue = {
|
|
136
|
+
...value,
|
|
137
|
+
amount: createAmountValue(inputValue),
|
|
138
|
+
};
|
|
139
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
140
|
+
onChange?.(nativeEvent);
|
|
141
|
+
}
|
|
142
|
+
if (type === "Amount" && typeof value === "object") {
|
|
143
|
+
const newValue = {
|
|
144
|
+
...value,
|
|
145
|
+
amount: createAmountValue(inputValue),
|
|
146
|
+
};
|
|
147
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
148
|
+
onChange?.(nativeEvent);
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
// Handle the change of the select
|
|
152
|
+
const handleOnChangeSelect = (e) => {
|
|
153
|
+
let newValue = {};
|
|
154
|
+
if (type === "AmountFiat" && typeof value === "object") {
|
|
155
|
+
newValue = {
|
|
156
|
+
...value,
|
|
157
|
+
unit: typeof e === "string" ? e : undefined,
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
if (type === "AmountCrypto" && typeof value === "object") {
|
|
161
|
+
newValue = {
|
|
162
|
+
...value,
|
|
163
|
+
unit: typeof e === "string" ? e : undefined,
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
if (type === "AmountCurrency" && typeof value === "object") {
|
|
167
|
+
newValue = {
|
|
168
|
+
...value,
|
|
169
|
+
unit: typeof e === "string" ? e : undefined,
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
if (type === "Amount" && typeof value === "object") {
|
|
173
|
+
newValue = {
|
|
174
|
+
...value,
|
|
175
|
+
unit: typeof e === "string" ? e : undefined,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
179
|
+
onChange?.(nativeEvent);
|
|
180
|
+
};
|
|
181
|
+
const handleBlur = (e) => {
|
|
182
|
+
setInputFocused(false);
|
|
183
|
+
const inputValue = e.target.value;
|
|
184
|
+
//Avoid transformation if the value is not a number
|
|
185
|
+
if (type === "AmountFiat" && typeof value === "object") {
|
|
186
|
+
if (!isValidNumber(inputValue)) {
|
|
187
|
+
const newValue = {
|
|
188
|
+
...value,
|
|
189
|
+
amount: inputValue,
|
|
190
|
+
};
|
|
191
|
+
const nativeEvent = handleEventOnBlur(newValue);
|
|
192
|
+
onBlur?.(nativeEvent);
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
// Avoid transformation if the value is not a number
|
|
196
|
+
if (isNotSafeValue(inputValue)) {
|
|
197
|
+
const newValue = {
|
|
198
|
+
...value,
|
|
199
|
+
amount: inputValue,
|
|
200
|
+
};
|
|
201
|
+
const nativeEvent = handleEventOnBlur(newValue);
|
|
202
|
+
onBlur?.(nativeEvent);
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const formatValue = displayValueAmount(inputValue, precision, viewPrecision, trailingZeros);
|
|
206
|
+
// Update the state with the formatted value
|
|
207
|
+
const newValue = {
|
|
208
|
+
...value,
|
|
209
|
+
amount: formatValue,
|
|
210
|
+
};
|
|
211
|
+
const nativeEvent = handleEventOnBlur(newValue);
|
|
212
|
+
onBlur?.(nativeEvent);
|
|
213
|
+
}
|
|
214
|
+
if (type === "AmountCrypto" && typeof value === "object") {
|
|
215
|
+
if (!isValidBigInt(inputValue) || isNotSafeValue(inputValue)) {
|
|
216
|
+
const newValue = {
|
|
217
|
+
...value,
|
|
218
|
+
amount: inputValue,
|
|
219
|
+
};
|
|
220
|
+
const nativeEventBlur = handleEventOnBlur(newValue);
|
|
221
|
+
onBlur?.(nativeEventBlur);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
const newValue = {
|
|
225
|
+
...value,
|
|
226
|
+
amount: inputValue,
|
|
227
|
+
};
|
|
228
|
+
const nativeEventBlur = handleEventOnBlur(newValue);
|
|
229
|
+
onBlur?.(nativeEventBlur);
|
|
230
|
+
}
|
|
231
|
+
if (type === "Amount" || type === "AmountPercentage") {
|
|
232
|
+
if (!isValidNumber(inputValue)) {
|
|
233
|
+
const nativeEventBlur = handleEventOnBlur(inputValue);
|
|
234
|
+
onBlur?.(nativeEventBlur);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
// Avoid transformation if the value is not a number
|
|
238
|
+
if (isNotSafeValue(inputValue)) {
|
|
239
|
+
const newValue = inputValue;
|
|
240
|
+
const nativeEventBlur = handleEventOnBlur(newValue);
|
|
241
|
+
onBlur?.(nativeEventBlur);
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
const formatValue = displayValueAmount(inputValue, precision, viewPrecision, trailingZeros);
|
|
245
|
+
const nativeEventBlur = handleEventOnBlur(formatValue);
|
|
246
|
+
onBlur?.(nativeEventBlur);
|
|
247
|
+
return;
|
|
248
|
+
}
|
|
249
|
+
// Handle the blur event for AmountCurrency
|
|
250
|
+
if (type === "AmountCurrency" && typeof value === "object") {
|
|
251
|
+
if (isValidBigInt(inputValue) &&
|
|
252
|
+
isValidNumberGreaterThanMaxSafeInteger(inputValue)) {
|
|
253
|
+
const formatValue = inputValue;
|
|
254
|
+
const nativeEventBlur = handleEventOnBlur(formatValue);
|
|
255
|
+
onBlur?.(nativeEventBlur);
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
// Avoid transformation if the value is not a number
|
|
259
|
+
if (!isValidNumber(inputValue)) {
|
|
260
|
+
const newValue = {
|
|
261
|
+
...value,
|
|
262
|
+
amount: inputValue,
|
|
263
|
+
};
|
|
264
|
+
onBlur?.(newValue);
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
const formatValue = viewPrecision !== undefined
|
|
268
|
+
? trailingZeros
|
|
269
|
+
? parseFloat(inputValue).toFixed(viewPrecision)
|
|
270
|
+
: parseFloat(parseFloat(inputValue).toFixed(viewPrecision)).toString()
|
|
271
|
+
: inputValue;
|
|
272
|
+
if (isNotSafeValue(inputValue)) {
|
|
273
|
+
const newValue = {
|
|
274
|
+
...value,
|
|
275
|
+
amount: inputValue,
|
|
276
|
+
};
|
|
277
|
+
const nativeEventBlur = handleEventOnBlur(newValue);
|
|
278
|
+
onBlur?.(nativeEventBlur);
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
const newValue = {
|
|
282
|
+
...value,
|
|
283
|
+
amount: formatValue,
|
|
284
|
+
};
|
|
285
|
+
onBlur?.(newValue);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
const handleIsInputFocused = () => {
|
|
289
|
+
setInputFocused(true);
|
|
290
|
+
};
|
|
291
|
+
const options = units ?? getDefaultUnits(type);
|
|
292
|
+
//Put the placeholder in case that value its not in the options
|
|
293
|
+
const validatedValueSelect = valueSelect && units?.some((unit) => unit.ticker === valueSelect)
|
|
294
|
+
? valueSelect
|
|
295
|
+
: undefined;
|
|
296
|
+
return {
|
|
297
|
+
isPercent,
|
|
298
|
+
isShowSelect,
|
|
299
|
+
options,
|
|
300
|
+
valueInput: displayValueAmountState,
|
|
301
|
+
valueSelect: validatedValueSelect,
|
|
302
|
+
handleOnChangeInput,
|
|
303
|
+
handleOnChangeSelect,
|
|
304
|
+
handleBlur,
|
|
305
|
+
isBigInt,
|
|
306
|
+
handleIsInputFocused,
|
|
307
|
+
inputFocused,
|
|
308
|
+
isAmountWithoutUnit,
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
//# sourceMappingURL=use-amount-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,yEAAyE,CAAC;AASxG,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,cA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ACF,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;gBACpD,MAAM,EAAE,CAAC,eAAe,CAAC,CAAC;gBAC1B,OAAO;YACT,CAAC;YACD,MAAM,QAAQ,GAAG;gBACf,GAAG,KAAK;gBACR,MAAM,EAAE,WAAW;aACpB,CAAC;YACF,MAAM,EAAE,CAAC,QAAyD,CAAC,CAAC;QACtE,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;QAChC,eAAe,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC,CAAC;IACF,MAAM,OAAO,GAAG,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;IAC/C,+DAA+D;IAC/D,MAAM,oBAAoB,GACxB,WAAW,IAAI,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,WAAW,CAAC;QAC/D,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO;QACL,SAAS;QACT,YAAY;QACZ,OAAO;QACP,UAAU,EAAE,uBAAuB;QACnC,WAAW,EAAE,oBAAoB;QACjC,mBAAmB;QACnB,oBAAoB;QACpB,UAAU;QACV,QAAQ;QACR,oBAAoB;QACpB,YAAY;QACZ,mBAAmB;KACpB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Currency } from "#scalars";
|
|
2
|
+
import type { AmountInputPropsGeneric, AmountValue } from "./types.js";
|
|
3
|
+
export declare const getDefaultUnits: (type: AmountInputPropsGeneric["type"]) => {
|
|
4
|
+
ticker: string;
|
|
5
|
+
crypto: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const isValidBigInt: (value: string | undefined) => boolean;
|
|
10
|
+
export declare const isValidNumberGreaterThanMaxSafeInteger: (value: string | undefined) => boolean;
|
|
11
|
+
export declare const isNotSafeValue: (value: string) => boolean;
|
|
12
|
+
export declare const displayValueAmount: (value?: string, precision?: number, viewPrecision?: number, trailingZeros?: boolean) => string | number | undefined;
|
|
13
|
+
export declare const handleEventOnChange: <T>(value: T) => React.ChangeEvent<HTMLInputElement>;
|
|
14
|
+
export declare const handleEventOnBlur: <T>(value: T) => React.FocusEvent<HTMLInputElement>;
|
|
15
|
+
export declare const createAmountValue: (inputValue: string) => string | undefined;
|
|
16
|
+
export declare const isValidUnit: (type: AmountInputPropsGeneric["type"], value: AmountValue, units?: Currency[]) => boolean;
|
|
17
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EAEd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEvE,eAAO,MAAM,eAAe,GAAI,MAAM,uBAAuB,CAAC,MAAM,CAAC;;;;;GAWpE,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAOzD,CAAC;AAEF,eAAO,MAAM,sCAAsC,GACjD,OAAO,MAAM,GAAG,SAAS,YAS1B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,YAE3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,MAAM,EACd,YAAY,MAAM,EAClB,gBAAgB,MAAM,EACtB,gBAAgB,OAAO,gCA4BxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,CAAC,KASZ,KAAK,CAAC,WAAW,CAAC,gBAAgB,CACpE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAE,OAAO,CAAC,KASV,KAAK,CAAC,UAAU,CAAC,gBAAgB,CACnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,uBAEnD,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,MAAM,uBAAuB,CAAC,MAAM,CAAC,EACrC,OAAO,WAAW,EAClB,QAAQ,QAAQ,EAAE,YAiBnB,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { cryptoCurrencies, currencies, fiatCurrencies, } from "#scalars";
|
|
2
|
+
export const getDefaultUnits = (type) => {
|
|
3
|
+
switch (type) {
|
|
4
|
+
case "AmountFiat":
|
|
5
|
+
return fiatCurrencies();
|
|
6
|
+
case "AmountCrypto":
|
|
7
|
+
return cryptoCurrencies();
|
|
8
|
+
case "AmountCurrency":
|
|
9
|
+
return currencies();
|
|
10
|
+
default:
|
|
11
|
+
return [];
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export const isValidBigInt = (value) => {
|
|
15
|
+
if (!value) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
// Ensure the value contains only digits (no decimal points)
|
|
19
|
+
const bigintRegex = /^\d+$/;
|
|
20
|
+
return bigintRegex.test(value);
|
|
21
|
+
};
|
|
22
|
+
export const isValidNumberGreaterThanMaxSafeInteger = (value) => {
|
|
23
|
+
if (!value) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
const isValidBigIntValue = isValidBigInt(value);
|
|
27
|
+
return (isValidBigIntValue && Math.abs(Number(value)) > Number.MAX_SAFE_INTEGER);
|
|
28
|
+
};
|
|
29
|
+
export const isNotSafeValue = (value) => {
|
|
30
|
+
return Math.abs(Number(value)) > Number.MAX_SAFE_INTEGER;
|
|
31
|
+
};
|
|
32
|
+
export const displayValueAmount = (value, precision, viewPrecision, trailingZeros) => {
|
|
33
|
+
if (!value) {
|
|
34
|
+
return undefined; // Return undefined if no value is provided
|
|
35
|
+
}
|
|
36
|
+
// If viewPrecision is provided but not precision, format to viewPrecision
|
|
37
|
+
if (viewPrecision !== undefined && precision === undefined) {
|
|
38
|
+
const formattedValue = parseFloat(value).toFixed(viewPrecision);
|
|
39
|
+
return trailingZeros
|
|
40
|
+
? formattedValue
|
|
41
|
+
: parseFloat(formattedValue).toString();
|
|
42
|
+
}
|
|
43
|
+
// If precision is provided but not viewPrecision, truncate to precision
|
|
44
|
+
if (precision !== undefined && viewPrecision === undefined) {
|
|
45
|
+
const formattedValue = parseFloat(value).toFixed(precision);
|
|
46
|
+
// If the number of decimals is greater than or equal to the precision, apply toFixed
|
|
47
|
+
return parseFloat(formattedValue).toString();
|
|
48
|
+
}
|
|
49
|
+
// If both are present, show the value with viewPrecision when focused
|
|
50
|
+
if (precision !== undefined && viewPrecision !== undefined) {
|
|
51
|
+
const formattedValue = parseFloat(value).toFixed(viewPrecision);
|
|
52
|
+
return trailingZeros ? formattedValue : parseFloat(formattedValue);
|
|
53
|
+
}
|
|
54
|
+
return value;
|
|
55
|
+
};
|
|
56
|
+
export const handleEventOnChange = (value) => {
|
|
57
|
+
const nativeEvent = new Event("change", { bubbles: true, cancelable: true });
|
|
58
|
+
Object.defineProperty(nativeEvent, "target", {
|
|
59
|
+
value: { value },
|
|
60
|
+
writable: false,
|
|
61
|
+
});
|
|
62
|
+
return nativeEvent;
|
|
63
|
+
};
|
|
64
|
+
export const handleEventOnBlur = (value) => {
|
|
65
|
+
const nativeEvent = new Event("blur", { bubbles: true, cancelable: true });
|
|
66
|
+
Object.defineProperty(nativeEvent, "target", {
|
|
67
|
+
value: { value },
|
|
68
|
+
writable: false,
|
|
69
|
+
});
|
|
70
|
+
return nativeEvent;
|
|
71
|
+
};
|
|
72
|
+
export const createAmountValue = (inputValue) => {
|
|
73
|
+
return inputValue === "" ? undefined : inputValue;
|
|
74
|
+
};
|
|
75
|
+
export const isValidUnit = (type, value, units) => {
|
|
76
|
+
if (!units)
|
|
77
|
+
return true;
|
|
78
|
+
if (type === "Amount" && typeof value === "object" && "unit" in value) {
|
|
79
|
+
return units.some((u) => u.ticker === value.unit);
|
|
80
|
+
}
|
|
81
|
+
if (type === "AmountCurrency" && typeof value === "object") {
|
|
82
|
+
console.log("ebtre");
|
|
83
|
+
return units.some((u) => u.ticker === value.unit);
|
|
84
|
+
}
|
|
85
|
+
if (type === "AmountCrypto" && typeof value === "object") {
|
|
86
|
+
return units.some((u) => u.ticker === value.unit);
|
|
87
|
+
}
|
|
88
|
+
if (type === "AmountFiat" && typeof value === "object") {
|
|
89
|
+
return units.some((u) => u.ticker === value.unit);
|
|
90
|
+
}
|
|
91
|
+
return false;
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,UAAU,EAEV,cAAc,GACf,MAAM,UAAU,CAAC;AAGlB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAqC,EAAE,EAAE;IACvE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,YAAY;YACf,OAAO,cAAc,EAAE,CAAC;QAC1B,KAAK,cAAc;YACjB,OAAO,gBAAgB,EAAE,CAAC;QAC5B,KAAK,gBAAgB;YACnB,OAAO,UAAU,EAAE,CAAC;QACtB;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAW,EAAE;IAClE,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,KAAK,CAAC;IACf,CAAC;IACD,4DAA4D;IAC5D,MAAM,WAAW,GAAG,OAAO,CAAC;IAC5B,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,KAAyB,EACzB,EAAE;IACF,IAAI,CAAC,KAAK,EAAE,CAAC;QACX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O,IAAI,CAAC;IACxB,IAAI,IAAI,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,EAAE,CAAC;QACtE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,IAAI,KAAK,gBAAgB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC3D,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,IAAI,KAAK,cAAc,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,IAAI,KAAK,YAAY,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACvD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type CheckboxValue = boolean | "indeterminate";
|
|
4
|
+
declare const CheckboxBase: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
export { CheckboxBase, type CheckboxValue };
|
|
8
|
+
//# sourceMappingURL=checkbox-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-base.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox-base.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,KAAK,aAAa,GAAG,OAAO,GAAG,eAAe,CAAC;AAQ/C,QAAA,MAAM,YAAY;cAHN,OAAO;2CAwEjB,CAAC;AAIH,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "#scalars";
|
|
3
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
const CheckboxBase = React.forwardRef(({ className, checked, invalid, ...props }, ref) => (_jsx(CheckboxPrimitive.Root, { ref: ref, className: cn(
|
|
6
|
+
// Base styles
|
|
7
|
+
"peer size-4 shrink-0 rounded",
|
|
8
|
+
// Border & Shadow
|
|
9
|
+
"border-input border shadow-sm shadow-black/[.04]",
|
|
10
|
+
// Background & Ring
|
|
11
|
+
"ring-offset-background transition-shadow",
|
|
12
|
+
// Focus styles
|
|
13
|
+
"focus-visible:border-ring focus-visible:ring-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
14
|
+
// Disabled state
|
|
15
|
+
"disabled:cursor-not-allowed disabled:border-gray-700 disabled:data-[invalid=false]:data-[state=checked]:bg-gray-700 disabled:data-[invalid=false]:data-[state=indeterminate]:bg-gray-700 dark:disabled:data-[invalid=false]:data-[state=checked]:bg-gray-500 dark:disabled:data-[invalid=false]:data-[state=indeterminate]:bg-gray-500",
|
|
16
|
+
// Checked & Indeterminate states
|
|
17
|
+
"data-[state]:border-gray-700 dark:data-[state]:border-gray-500", "data-[state=checked]:bg-gray-900 data-[state=indeterminate]:bg-gray-900 dark:data-[state=checked]:bg-gray-400 dark:data-[state=indeterminate]:bg-gray-400", "data-[state=checked]:text-slate-50 data-[state=indeterminate]:text-slate-50 dark:data-[state=checked]:text-gray-900 dark:data-[state=indeterminate]:text-gray-900",
|
|
18
|
+
// hover states
|
|
19
|
+
!props.disabled && [
|
|
20
|
+
"group-hover:border-gray-900 data-[state=checked]:group-hover:bg-gray-900 data-[state=indeterminate]:group-hover:bg-gray-900",
|
|
21
|
+
"dark:group-hover:border-slate-50 dark:data-[state=checked]:group-hover:bg-slate-50 dark:data-[state=indeterminate]:group-hover:bg-slate-50",
|
|
22
|
+
],
|
|
23
|
+
// Error state
|
|
24
|
+
"data-[invalid=true]:data-[state]:!border-red-800 data-[invalid=true]:data-[state=checked]:!bg-red-800 data-[invalid=true]:data-[state=indeterminate]:!bg-red-800", "dark:data-[invalid=true]:data-[state]:!border-red-800 dark:data-[invalid=true]:data-[state=checked]:!bg-red-800 dark:data-[invalid=true]:data-[state=indeterminate]:!bg-red-800",
|
|
25
|
+
// error hover states
|
|
26
|
+
"data-[invalid=true]:group-hover:!border-red-900 data-[invalid=true]:data-[state=checked]:group-hover:!bg-red-900 data-[invalid=true]:data-[state=indeterminate]:group-hover:!bg-red-900", className), checked: checked, "data-invalid": invalid, ...props, children: _jsx(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: checked === "indeterminate" ? (_jsx("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z" }) })) : checked ? (_jsx("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z" }) })) : null }) })));
|
|
27
|
+
CheckboxBase.displayName = "CheckboxBase";
|
|
28
|
+
export { CheckboxBase };
|
|
29
|
+
//# sourceMappingURL=checkbox-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-base.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox-base.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,YAAY,GAAG,KAAK,CAAC,UAAU,CAGnC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACpD,KAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE;IACX,cAAc;IACd,8BAA8B;IAC9B,kBAAkB;IAClB,kDAAkD;IAClD,oBAAoB;IACpB,0CAA0C;IAC1C,eAAe;IACf,+HAA+H;IAC/H,iBAAiB;IACjB,wUAAwU;IACxU,iCAAiC;IACjC,gEAAgE,EAChE,2JAA2J,EAC3J,mKAAmK;IACnK,eAAe;IACf,CAAC,KAAK,CAAC,QAAQ,IAAI;QACjB,6HAA6H;QAC7H,4IAA4I;KAC7I;IACD,cAAc;IACd,kKAAkK,EAClK,iLAAiL;IACjL,qBAAqB;IACrB,yLAAyL,EACzL,SAAS,CACV,EACD,OAAO,EAAE,OAAO,kBACF,OAAO,KACjB,KAAK,YAET,KAAC,iBAAiB,CAAC,SAAS,IAAC,SAAS,EAAC,+CAA+C,YACnF,OAAO,KAAK,eAAe,CAAC,CAAC,CAAC,CAC7B,cACE,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,YAElC,eACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,gKAAgK,GAClK,GACE,CACP,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACZ,cACE,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,YAElC,eACE,QAAQ,EAAC,SAAS,EAClB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,qXAAqX,GACvX,GACE,CACP,CAAC,CAAC,CAAC,IAAI,GACoB,GACP,CAC1B,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { InputBaseProps } from "../../../../scalars/components/types.js";
|
|
3
|
+
import { type CheckboxValue } from "./checkbox-base.js";
|
|
4
|
+
type CheckboxBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<CheckboxValue> | "onChange">;
|
|
5
|
+
export interface CheckboxProps extends CheckboxBaseProps, InputBaseProps<CheckboxValue> {
|
|
6
|
+
onChange?: ((checked: CheckboxValue) => void) | ((checked: boolean) => void);
|
|
7
|
+
}
|
|
8
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export { Checkbox };
|
|
10
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAGrC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEtE,KAAK,iBAAiB,GAAG,IAAI,CAC3B,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,cAAc,CAAC,aAAa,CAAC,GAAG,UAAU,CACjD,CAAC;AAEF,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,cAAc,CAAC,aAAa,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;CAC9E;AAED,QAAA,MAAM,QAAQ,yFA6Db,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "#scalars";
|
|
3
|
+
import React, { useId } from "react";
|
|
4
|
+
import { FormLabel } from "../../../../scalars/components/fragments/form-label/index.js";
|
|
5
|
+
import { FormMessageList } from "../../../../scalars/components/fragments/form-message/index.js";
|
|
6
|
+
import { CheckboxBase } from "./checkbox-base.js";
|
|
7
|
+
const Checkbox = React.forwardRef(({ id: idProp, name, label, value, defaultValue, disabled, required, description, errors, warnings, onChange, className, ...props }, ref) => {
|
|
8
|
+
const generatedId = useId();
|
|
9
|
+
const id = idProp ?? generatedId;
|
|
10
|
+
const hasError = !!errors?.length;
|
|
11
|
+
const castValue = (value) => {
|
|
12
|
+
if (value === "true")
|
|
13
|
+
return true;
|
|
14
|
+
if (value === "false")
|
|
15
|
+
return false;
|
|
16
|
+
return value;
|
|
17
|
+
};
|
|
18
|
+
return (_jsxs("div", { className: cn("flex flex-col gap-2"), children: [_jsxs("div", { className: cn("group flex items-center space-x-2", className), children: [_jsx(CheckboxBase, { id: id, name: name, checked: castValue(value ?? defaultValue), disabled: disabled, onCheckedChange: onChange, required: required, invalid: hasError, "aria-invalid": hasError, ref: ref, ...props }), _jsx(FormLabel, { htmlFor: id, required: required, disabled: disabled, hasError: hasError, description: description, className: cn(!disabled && "group-hover:cursor-pointer"), inline: true, children: label })] }), warnings && _jsx(FormMessageList, { type: "warning", messages: warnings }), errors && _jsx(FormMessageList, { type: "error", messages: errors })] }));
|
|
19
|
+
});
|
|
20
|
+
Checkbox.displayName = "Checkbox";
|
|
21
|
+
export { Checkbox };
|
|
22
|
+
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,gEAAgE,CAAC;AAEjG,OAAO,EAAE,YAAY,EAAsB,MAAM,oBAAoB,CAAC;AAatE,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CACE,EACE,EAAE,EAAE,M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EAAE,QAAQ,GAAI,EAClE,MAAM,IAAI,KAAC,eAAe,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,MAAM,GAAI,IACzD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/checkbox/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAsB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type InputBaseProps } from "#scalars";
|
|
2
|
+
import type { DateFieldValue } from "./types.js";
|
|
3
|
+
interface DatePickerProps extends InputBaseProps<DateFieldValue> {
|
|
4
|
+
label?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
value?: DateFieldValue;
|
|
10
|
+
defaultValue?: DateFieldValue;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
14
|
+
inputProps?: Omit<InputBaseProps<DateFieldValue>, "name" | "onChange" | "value" | "defaultValue" | "onBlur">;
|
|
15
|
+
minDate?: string;
|
|
16
|
+
maxDate?: string;
|
|
17
|
+
disablePastDates?: boolean;
|
|
18
|
+
disableFutureDates?: boolean;
|
|
19
|
+
dateFormat?: string;
|
|
20
|
+
weekStart?: string;
|
|
21
|
+
autoClose?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
24
|
+
export { DatePicker, type DatePickerProps };
|
|
25
|
+
//# sourceMappingURL=date-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/date-picker/date-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,UAAU,CAAC;AAIlB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGjD,UAAU,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,UAAU,CAAC,EAAE,IAAI,CACf,cAAc,CAAC,cAAc,CAAC,EAC9B,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,CAC1D,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM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