@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,63 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ValueTransformer = (value?: any) => any;
|
|
3
|
+
export type TransformerTrigger = "blur" | "change" | "keyDown";
|
|
4
|
+
export type TransformerObject = {
|
|
5
|
+
/**
|
|
6
|
+
* The transformer function
|
|
7
|
+
*/
|
|
8
|
+
transformer: ValueTransformer;
|
|
9
|
+
options?: {
|
|
10
|
+
/**
|
|
11
|
+
* The event that triggers the transformer.
|
|
12
|
+
* @default "blur"
|
|
13
|
+
*/
|
|
14
|
+
trigger?: TransformerTrigger;
|
|
15
|
+
/**
|
|
16
|
+
* If true, the transformer will be applied.
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
if?: boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type TransformerType = TransformerObject[] | ValueTransformer[];
|
|
23
|
+
interface ValueTransformerProps {
|
|
24
|
+
transformers: TransformerType;
|
|
25
|
+
children: React.ReactElement;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Apply transformers to the value of the input element. A transformer is a function that
|
|
29
|
+
* will be applied to the value of the input element modifying the value.
|
|
30
|
+
*
|
|
31
|
+
* @param transformers - An array of transformers. A transformer is an object with a
|
|
32
|
+
* `transformer` property, which is a function that will be applied to the value of
|
|
33
|
+
* the input element, and an optional `options` property. The `options` property can
|
|
34
|
+
* have a `trigger` property, which is the event that triggers the transformer, and
|
|
35
|
+
* an `if` property, which is a boolean that indicates if the transformer should be
|
|
36
|
+
* applied.
|
|
37
|
+
* @param children - The input element to apply the transformers to as children
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* <ValueTransformer transformers={[
|
|
41
|
+
* {
|
|
42
|
+
* transformer: (value) => value.toUpperCase(),
|
|
43
|
+
* options: {
|
|
44
|
+
* trigger: "change",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ]}>
|
|
48
|
+
* <Input />
|
|
49
|
+
* </ValueTransformer>
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* <ValueTransformer transformers={[
|
|
53
|
+
* {
|
|
54
|
+
* // trim the value on blur
|
|
55
|
+
* transformer: (value) => (value as string).trim(),
|
|
56
|
+
* },
|
|
57
|
+
* ]}>
|
|
58
|
+
* <Input />
|
|
59
|
+
* </ValueTransformer>
|
|
60
|
+
*/
|
|
61
|
+
declare function ValueTransformer({ transformers, children }: ValueTransformerProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
62
|
+
export default ValueTransformer;
|
|
63
|
+
//# sourceMappingURL=value-transformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-transformer.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/value-transformer/value-transformer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;QAC7B;;;WAGG;QACH,EAAE,CAAC,EAAE,OAAO,CAAC;KACd,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,iBAAiB,EAAE,GAAG,gBAAgB,EAAE,CAAC;AAEvE,UAAU,qBAAqB;IAC7B,YAAY,EAAE,eAAe,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,iBAAS,gBAAgB,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE,qBAAqB,sEA0F1E;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { useFormContext } from "react-hook-form";
|
|
3
|
+
import { deepEqual } from "../../../lib/deep-equal.js";
|
|
4
|
+
// Workaround to set the value of an input element
|
|
5
|
+
// following react core team recommendation
|
|
6
|
+
// https://github.com/facebook/react/issues/10135
|
|
7
|
+
function setNativeValue(element, value) {
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
9
|
+
const valueSetter = Object.getOwnPropertyDescriptor(element, "value")?.set;
|
|
10
|
+
const prototype = Object.getPrototypeOf(element);
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
12
|
+
const prototypeValueSetter = Object.getOwnPropertyDescriptor(prototype, "value")?.set;
|
|
13
|
+
if (valueSetter && valueSetter !== prototypeValueSetter) {
|
|
14
|
+
prototypeValueSetter?.call(element, value);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
valueSetter?.call(element, value);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
// apply transformers to the value
|
|
21
|
+
function _applyTransformers(transformers, value, filter = "blur") {
|
|
22
|
+
return transformers.reduce((value, transformer) => {
|
|
23
|
+
if (typeof transformer === "function") {
|
|
24
|
+
if (filter === "blur" || filter === "all") {
|
|
25
|
+
// array of transformers are only applied on blur
|
|
26
|
+
return transformer(value);
|
|
27
|
+
}
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
// it is a transformer object
|
|
31
|
+
if ((transformer.options?.trigger ?? "blur") !== filter &&
|
|
32
|
+
filter !== "all") {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
// if no set, we assume true
|
|
36
|
+
if (transformer.options?.if === undefined || transformer.options.if) {
|
|
37
|
+
return transformer.transformer(value);
|
|
38
|
+
}
|
|
39
|
+
return value;
|
|
40
|
+
}, value);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Apply transformers to the value of the input element. A transformer is a function that
|
|
44
|
+
* will be applied to the value of the input element modifying the value.
|
|
45
|
+
*
|
|
46
|
+
* @param transformers - An array of transformers. A transformer is an object with a
|
|
47
|
+
* `transformer` property, which is a function that will be applied to the value of
|
|
48
|
+
* the input element, and an optional `options` property. The `options` property can
|
|
49
|
+
* have a `trigger` property, which is the event that triggers the transformer, and
|
|
50
|
+
* an `if` property, which is a boolean that indicates if the transformer should be
|
|
51
|
+
* applied.
|
|
52
|
+
* @param children - The input element to apply the transformers to as children
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* <ValueTransformer transformers={[
|
|
56
|
+
* {
|
|
57
|
+
* transformer: (value) => value.toUpperCase(),
|
|
58
|
+
* options: {
|
|
59
|
+
* trigger: "change",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ]}>
|
|
63
|
+
* <Input />
|
|
64
|
+
* </ValueTransformer>
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* <ValueTransformer transformers={[
|
|
68
|
+
* {
|
|
69
|
+
* // trim the value on blur
|
|
70
|
+
* transformer: (value) => (value as string).trim(),
|
|
71
|
+
* },
|
|
72
|
+
* ]}>
|
|
73
|
+
* <Input />
|
|
74
|
+
* </ValueTransformer>
|
|
75
|
+
*/
|
|
76
|
+
function ValueTransformer({ transformers, children }) {
|
|
77
|
+
const formContext = useFormContext();
|
|
78
|
+
const setValue = formContext?.setValue;
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
// apply all the transformers on mount to prevent untransformed values
|
|
81
|
+
// if the field is not touched by the user
|
|
82
|
+
const value = children.props.value;
|
|
83
|
+
const transformedValue = _applyTransformers(transformers, value, "all");
|
|
84
|
+
if (!deepEqual(transformedValue, value)) {
|
|
85
|
+
if (typeof setValue === "function") {
|
|
86
|
+
setValue?.(children.props.name, transformedValue);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
// if setValue is not available, then we're not inside a form context
|
|
90
|
+
// so we need to update the value using onChange if available
|
|
91
|
+
children.props.onChange?.({
|
|
92
|
+
target: { value: transformedValue },
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}, [transformers]);
|
|
97
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
98
|
+
return React.cloneElement(children, {
|
|
99
|
+
...children.props,
|
|
100
|
+
onChange: (event) => {
|
|
101
|
+
// apply transformers on change
|
|
102
|
+
const transformedValue = _applyTransformers(transformers, event.target.value, "change");
|
|
103
|
+
if (transformedValue !== event.target.value) {
|
|
104
|
+
setValue?.(children.props.name, transformedValue);
|
|
105
|
+
setNativeValue(event.target, transformedValue);
|
|
106
|
+
}
|
|
107
|
+
// call the original onChange
|
|
108
|
+
children.props.onChange?.(event);
|
|
109
|
+
},
|
|
110
|
+
// apply transformers on blur
|
|
111
|
+
onBlur: (event) => {
|
|
112
|
+
// call the original onBlur
|
|
113
|
+
children.props.onBlur?.(event);
|
|
114
|
+
// apply the transformers
|
|
115
|
+
const target = event.target;
|
|
116
|
+
const transformedValue = _applyTransformers(transformers, target.value, "blur");
|
|
117
|
+
if (!deepEqual(transformedValue, target.value)) {
|
|
118
|
+
// only dispatch change if the value has changed
|
|
119
|
+
setNativeValue(target, transformedValue);
|
|
120
|
+
const changeEvent = new Event("change", { bubbles: true });
|
|
121
|
+
target.dispatchEvent(changeEvent);
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
onKeyDown: (event) => {
|
|
125
|
+
// call the original onKeyDown
|
|
126
|
+
children.props.onKeyDown?.(event);
|
|
127
|
+
// apply the transformers
|
|
128
|
+
if (event.key === "Enter") {
|
|
129
|
+
const target = event.target;
|
|
130
|
+
const transformedValue = _applyTransformers(transformers, target.value, "keyDown");
|
|
131
|
+
// only dispatch change if the value has changed
|
|
132
|
+
if (!deepEqual(transformedValue, target.value)) {
|
|
133
|
+
setNativeValue(target, transformedValue);
|
|
134
|
+
const changeEvent = new Event("change", { bubbles: true });
|
|
135
|
+
target.dispatchEvent(changeEvent);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
export default ValueTransformer;
|
|
142
|
+
//# sourceMappingURL=value-transformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-transformer.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/value-transformer/value-transformer.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/with-field-validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/with-field-validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { FieldErrorHandling, InputBaseProps, ValidatorHandler } from "../../types.js";
|
|
3
|
+
interface PossibleProps extends InputBaseProps<unknown>, FieldErrorHandling {
|
|
4
|
+
pattern?: RegExp;
|
|
5
|
+
maxLength?: number;
|
|
6
|
+
minLength?: number;
|
|
7
|
+
minValue?: number;
|
|
8
|
+
maxValue?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ValidationOptions<T> {
|
|
11
|
+
validations?: Record<string, (parentProps: T) => ValidatorHandler>;
|
|
12
|
+
transformValue?: (value: any) => any;
|
|
13
|
+
}
|
|
14
|
+
export declare const withFieldValidation: <T extends PossibleProps, R extends React.ElementRef<any> = React.ElementRef<any>>(Component: React.ComponentType<T>, options?: ValidationOptions<T>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<R>>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=with-field-validation.d.ts.map
|
package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-field-validation.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/with-field-validation/with-field-validation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAExB,UAAU,aAAc,SAAQ,cAAc,CAAC,OAAO,CAAC,EAAE,kBAAkB;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAOD,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,KAAK,gBAAgB,CAAC,CAAC;IACnE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAC;CACtC;AAED,eAAO,MAAM,mBAAmB,GAC9B,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,EAEvD,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACjC,UAAU,iBAAiB,CAAC,CAAC,CAAC,KAC7B,KAAK,CAAC,yBAAyB,CAChC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAkSlD,CAAC"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React, { useCallback, useEffect, useState } from "react";
|
|
3
|
+
import { Controller, useFormContext, useFormState } from "react-hook-form";
|
|
4
|
+
export const withFieldValidation = (Component, options) => {
|
|
5
|
+
return React.forwardRef(({ value, name, showErrorOnBlur, showErrorOnChange, validators: customValidators, ...props }, ref) => {
|
|
6
|
+
const { onChange: onChangeProp, onBlur: onBlurProp } = props;
|
|
7
|
+
const { control, formState: { errors: formErrors, defaultValues }, trigger, setValue, getValues, } = useFormContext();
|
|
8
|
+
const { submitCount } = useFormState();
|
|
9
|
+
if (!name) {
|
|
10
|
+
throw new Error(`[Field: ${Component.displayName}] The name prop is required.`);
|
|
11
|
+
}
|
|
12
|
+
const errors = [
|
|
13
|
+
...(formErrors[name]?.types
|
|
14
|
+
? Object.values(formErrors[name].types ?? [])
|
|
15
|
+
: []),
|
|
16
|
+
];
|
|
17
|
+
if (errors.length === 0 && !!formErrors[name]) {
|
|
18
|
+
// the field is invalid but no error message was provided
|
|
19
|
+
errors.push("Invalid value");
|
|
20
|
+
}
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (submitCount > 0) {
|
|
23
|
+
void trigger(name);
|
|
24
|
+
}
|
|
25
|
+
// we should trigger a re-validation after the form is submitted, the errors are shown
|
|
26
|
+
// and the required prop is changed. Other deps can not be added, otherwise a revalidation
|
|
27
|
+
// will be triggered unnecessarily
|
|
28
|
+
}, [props.required]);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
// if custom errors are provided, then we need to trigger the validation
|
|
31
|
+
// otherwise the errors will not be shown till the form is submitted
|
|
32
|
+
if (props.errors && props.errors.length > 0) {
|
|
33
|
+
void trigger(name);
|
|
34
|
+
}
|
|
35
|
+
}, [name, props.errors, trigger]);
|
|
36
|
+
const [initialized, setInitialized] = useState(false);
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
if (initialized) {
|
|
39
|
+
setValue(name, value);
|
|
40
|
+
}
|
|
41
|
+
setInitialized(true);
|
|
42
|
+
// initialized can not be in the dependencies because it would cause
|
|
43
|
+
// a change of the value on initial render
|
|
44
|
+
}, [name, value]);
|
|
45
|
+
if (value !== undefined && !onChangeProp) {
|
|
46
|
+
console.warn(`[Field: ${name}] Value prop provided without onChange so it will be ignored. Use disabled/readOnly if you want to prevent changes.`);
|
|
47
|
+
}
|
|
48
|
+
return (_jsx(Controller, { control: control, name: name, defaultValue: (value ?? props.defaultValue), disabled: props.disabled,
|
|
49
|
+
// eslint-disable-next-line react/jsx-no-bind
|
|
50
|
+
render: ({ field: {
|
|
51
|
+
// just preventing that onChange is included in the rest of the props
|
|
52
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
53
|
+
onChange: _, onBlur: onBlurController, value: internalValue, ...rest }, }) => {
|
|
54
|
+
// ignore eslint that flags an error here:
|
|
55
|
+
// React Hook "useCallback" cannot be called inside a callback.
|
|
56
|
+
// React Hooks must be called in a React function component or a custom React Hook function.
|
|
57
|
+
const onBlurCallback = useCallback((event) => {
|
|
58
|
+
if (showErrorOnBlur) {
|
|
59
|
+
void trigger(name);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
onBlurController(); // default behavior
|
|
63
|
+
}
|
|
64
|
+
// trigger parent onBlur
|
|
65
|
+
if (onBlurProp) {
|
|
66
|
+
onBlurProp(event);
|
|
67
|
+
}
|
|
68
|
+
}, [onBlurController, showErrorOnBlur]);
|
|
69
|
+
// ignore eslint that flags an error here:
|
|
70
|
+
// React Hook "useCallback" cannot be called inside a callback.
|
|
71
|
+
// React Hooks must be called in a React function component or a custom React Hook function.
|
|
72
|
+
const onChangeCallback = useCallback((event) => {
|
|
73
|
+
// update value state
|
|
74
|
+
if (onChangeProp) {
|
|
75
|
+
if (Object.hasOwn(event, "target")) {
|
|
76
|
+
// it is probably an actual event
|
|
77
|
+
setValue(name, event.target.value);
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
// it is a custom onChange and it pass the value directly
|
|
81
|
+
setValue(name, event);
|
|
82
|
+
}
|
|
83
|
+
// the fields is controlled by the parent
|
|
84
|
+
onChangeProp(event);
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
// sometimes the onChange is overridden by the parent and use the new value as parameter instead of event
|
|
88
|
+
let value = event;
|
|
89
|
+
if (event instanceof Event ||
|
|
90
|
+
event.target instanceof HTMLElement) {
|
|
91
|
+
value = event.target.value;
|
|
92
|
+
}
|
|
93
|
+
setValue(name, value); // default behavior
|
|
94
|
+
}
|
|
95
|
+
// now let's validate the field
|
|
96
|
+
if (showErrorOnChange === undefined &&
|
|
97
|
+
showErrorOnBlur === undefined) {
|
|
98
|
+
// use form validation mode...
|
|
99
|
+
// if previously validated, then validate on change
|
|
100
|
+
if (submitCount > 0) {
|
|
101
|
+
void trigger(name);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
// default validation behavior was overridden
|
|
106
|
+
if (showErrorOnChange) {
|
|
107
|
+
void trigger(name);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
// `internalValue` is the value of the field that is controlled by the form
|
|
112
|
+
// it is used to trigger the validation on change, so we need to add it to the dependencies
|
|
113
|
+
// otherwise the validation will not be triggered on change
|
|
114
|
+
[internalValue, showErrorOnChange, showErrorOnBlur, submitCount]);
|
|
115
|
+
// extract ref from rest
|
|
116
|
+
const { ref: formFieldRef } = rest;
|
|
117
|
+
// create a combined ref
|
|
118
|
+
const combinedRef = (element) => {
|
|
119
|
+
// apply external ref if exists
|
|
120
|
+
if (typeof ref === "function") {
|
|
121
|
+
ref(element);
|
|
122
|
+
}
|
|
123
|
+
else if (ref) {
|
|
124
|
+
ref.current = element;
|
|
125
|
+
}
|
|
126
|
+
// apply field ref
|
|
127
|
+
formFieldRef(element);
|
|
128
|
+
};
|
|
129
|
+
return (_jsx(Component, { ...props, ...rest, value: internalValue, onBlur: onBlurCallback, onChange: onChangeCallback, errors: errors, ref: combinedRef }));
|
|
130
|
+
}, rules: {
|
|
131
|
+
...(props.required
|
|
132
|
+
? {
|
|
133
|
+
required: {
|
|
134
|
+
value: props.required,
|
|
135
|
+
message: "This field is required",
|
|
136
|
+
},
|
|
137
|
+
}
|
|
138
|
+
: {
|
|
139
|
+
required: undefined,
|
|
140
|
+
}),
|
|
141
|
+
...(props.pattern && {
|
|
142
|
+
pattern: {
|
|
143
|
+
value: new RegExp(props.pattern),
|
|
144
|
+
message: "This field does not match the required pattern",
|
|
145
|
+
},
|
|
146
|
+
}),
|
|
147
|
+
...(props.maxLength !== undefined && props.maxLength >= 0
|
|
148
|
+
? {
|
|
149
|
+
maxLength: {
|
|
150
|
+
value: props.maxLength,
|
|
151
|
+
message: `This field must be at most ${props.maxLength} characters`,
|
|
152
|
+
},
|
|
153
|
+
}
|
|
154
|
+
: {
|
|
155
|
+
maxLength: undefined,
|
|
156
|
+
}),
|
|
157
|
+
...(props.minLength !== undefined && props.minLength >= 0
|
|
158
|
+
? {
|
|
159
|
+
minLength: {
|
|
160
|
+
value: props.minLength,
|
|
161
|
+
message: `This field must be at least ${props.minLength} characters`,
|
|
162
|
+
},
|
|
163
|
+
}
|
|
164
|
+
: {
|
|
165
|
+
minLength: undefined,
|
|
166
|
+
}),
|
|
167
|
+
...(props.minValue && {
|
|
168
|
+
min: {
|
|
169
|
+
value: props.minValue,
|
|
170
|
+
message: `This field must be greater than or equal to ${props.minValue}`,
|
|
171
|
+
},
|
|
172
|
+
}),
|
|
173
|
+
...(props.maxValue && {
|
|
174
|
+
max: {
|
|
175
|
+
value: props.maxValue,
|
|
176
|
+
message: `This field must be less than or equal to ${props.maxValue}`,
|
|
177
|
+
},
|
|
178
|
+
}),
|
|
179
|
+
validate: {
|
|
180
|
+
// custom errors provided as props
|
|
181
|
+
...(props.errors
|
|
182
|
+
? Object.fromEntries(Array.isArray(props.errors)
|
|
183
|
+
? props.errors.map((error, index) => [
|
|
184
|
+
`_propError${index}`,
|
|
185
|
+
() => error,
|
|
186
|
+
])
|
|
187
|
+
: [])
|
|
188
|
+
: {}),
|
|
189
|
+
// built in validations by the field in the library
|
|
190
|
+
...(options?.validations
|
|
191
|
+
? Object.fromEntries(Object.entries(options.validations).map(([key, validatorFactory]) => {
|
|
192
|
+
const propsWithValues = {
|
|
193
|
+
value: getValues(name), // get the actual value of the field in the form
|
|
194
|
+
name,
|
|
195
|
+
showErrorOnBlur,
|
|
196
|
+
showErrorOnChange,
|
|
197
|
+
...props,
|
|
198
|
+
};
|
|
199
|
+
return [
|
|
200
|
+
key,
|
|
201
|
+
validatorFactory(propsWithValues),
|
|
202
|
+
];
|
|
203
|
+
}))
|
|
204
|
+
: {}),
|
|
205
|
+
// custom validations by the user/developer
|
|
206
|
+
...(customValidators !== undefined
|
|
207
|
+
? Object.fromEntries((Array.isArray(customValidators)
|
|
208
|
+
? customValidators
|
|
209
|
+
: [customValidators]).map((validator, index) => [
|
|
210
|
+
`customValidation${index}`,
|
|
211
|
+
validator,
|
|
212
|
+
]))
|
|
213
|
+
: {}),
|
|
214
|
+
},
|
|
215
|
+
} }));
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
//# sourceMappingURL=with-field-validation.js.map
|
package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-field-validation.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/with-field-validation/with-field-validation.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type GeneratorFn = () => string;
|
|
2
|
+
export type BuiltInGenerator = "uuid" | "nanoid";
|
|
3
|
+
export interface IdFieldProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
generator?: BuiltInGenerator | GeneratorFn;
|
|
7
|
+
}
|
|
8
|
+
export declare const IdField: React.FC<IdFieldProps>;
|
|
9
|
+
//# sourceMappingURL=id-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/id-field/id-field.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEjD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,GAAG,WAAW,CAAC;CAC5C;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+B1C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { useFormContext } from "react-hook-form";
|
|
4
|
+
import { nanoid } from "nanoid";
|
|
5
|
+
export const IdField = ({ name = "id", value, generator = "nanoid", ...rest }) => {
|
|
6
|
+
const { register, formState: { submitCount }, } = useFormContext();
|
|
7
|
+
const actualValue = useMemo(() => {
|
|
8
|
+
if (value !== undefined)
|
|
9
|
+
return value;
|
|
10
|
+
if (typeof generator === "function")
|
|
11
|
+
return generator();
|
|
12
|
+
switch (generator) {
|
|
13
|
+
case "nanoid":
|
|
14
|
+
return nanoid();
|
|
15
|
+
case "uuid":
|
|
16
|
+
return crypto.randomUUID();
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
// We want to re-generate the ID on every submit
|
|
20
|
+
[value, generator, submitCount]);
|
|
21
|
+
return (_jsx("input", { type: "hidden", value: actualValue, ...register(name), ...rest }));
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=id-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/id-field/id-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAYhC,MAAM,CAAC,MAAM,OAAO,GAA2B,CAAC,EAC9C,IAAI,GAAG,IAAI,EACX,KAAK,EACL,SAAS,GAAG,QAAQ,EACpB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EACJ,QAAQ,EACR,SAAS,EAAE,EAAE,WAAW,EAAE,GAC3B,GAAG,cAAc,EAAE,CAAC;IACrB,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE;QACH,IAAI,KAAK,KAAK,SAAS;YAAE,OAAO,KAAK,CAAC;QAEtC,IAAI,OAAO,SAAS,KAAK,UAAU;YAAE,OAAO,SAAS,EAAE,CAAC;QAExD,QAAQ,SAAS,EAAE,CAAC;YAClB,KAAK,QAAQ;gBACX,OAAO,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM;gBACT,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC;QAC/B,CAAC;IACH,CAAC;IACD,gDAAgD;IAEhD,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,CAChC,CAAC;IAEF,OAAO,CACL,gBAAO,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,WAAW,KAAM,QAAQ,CAAC,IAAI,CAAC,KAAM,IAAI,GAAI,CAC1E,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/id-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/id-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|