@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/id-autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { IconName } from "@powerhousedao/design-system";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
import type { InputBaseProps } from "../../types.js";
|
|
4
|
+
interface IdAutocompleteBaseConfigProps {
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
maxLength?: number;
|
|
8
|
+
}
|
|
9
|
+
type IdAutocompleteConfigProps = IdAutocompleteBaseConfigProps & ({
|
|
10
|
+
autoComplete: false;
|
|
11
|
+
variant?: never;
|
|
12
|
+
isOpenByDefault?: never;
|
|
13
|
+
initialOptions?: never;
|
|
14
|
+
fetchOptionsCallback?: never;
|
|
15
|
+
fetchSelectedOptionCallback?: never;
|
|
16
|
+
renderOption?: never;
|
|
17
|
+
previewPlaceholder?: never;
|
|
18
|
+
} | {
|
|
19
|
+
autoComplete?: true;
|
|
20
|
+
variant?: "withValue" | "withValueAndTitle" | "withValueTitleAndDescription";
|
|
21
|
+
isOpenByDefault?: boolean;
|
|
22
|
+
initialOptions?: IdAutocompleteOption[];
|
|
23
|
+
fetchOptionsCallback: (userInput: string, context?: Record<string, unknown>) => Promise<IdAutocompleteOption[]> | IdAutocompleteOption[];
|
|
24
|
+
fetchSelectedOptionCallback?: (value: string) => Promise<IdAutocompleteOption | undefined> | IdAutocompleteOption | undefined;
|
|
25
|
+
renderOption?: (option: IdAutocompleteOption, displayProps?: {
|
|
26
|
+
asPlaceholder?: boolean;
|
|
27
|
+
showValue?: boolean;
|
|
28
|
+
isLoadingSelectedOption?: boolean;
|
|
29
|
+
handleFetchSelectedOption?: (value: string) => void;
|
|
30
|
+
isFetchSelectedOptionSync?: boolean;
|
|
31
|
+
className?: string;
|
|
32
|
+
}) => React.ReactNode;
|
|
33
|
+
previewPlaceholder?: IdAutocompleteOption;
|
|
34
|
+
});
|
|
35
|
+
type IdAutocompleteProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof InputBaseProps<string> | keyof IdAutocompleteConfigProps | "pattern"> & InputBaseProps<string> & IdAutocompleteConfigProps;
|
|
36
|
+
interface IdAutocompleteBaseOption {
|
|
37
|
+
icon?: IconName | React.ReactElement;
|
|
38
|
+
title?: string;
|
|
39
|
+
path?: string | {
|
|
40
|
+
text: string;
|
|
41
|
+
url: string;
|
|
42
|
+
};
|
|
43
|
+
value: string;
|
|
44
|
+
description?: string;
|
|
45
|
+
}
|
|
46
|
+
type IdAutocompleteOption<T extends Record<string, unknown> = Record<never, unknown>> = IdAutocompleteBaseOption & T;
|
|
47
|
+
export type { IdAutocompleteOption, IdAutocompleteProps };
|
|
48
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/id-autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,UAAU,6BAA6B;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,yBAAyB,GAAG,6BAA6B,GAC5D,CACI;IACE,YAAY,EAAE,KAAK,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B,2BAA2B,CAAC,EAAE,KAAK,CAAC;IACpC,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,KAAK,CAAC;CAC5B,GACD;IACE,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,OAAO,CAAC,EACJ,WAAW,GACX,mBAAmB,GACnB,8BAA8B,CAAC;IACnC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC,oBAAoB,EAAE,CACpB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,OAAO,CAAC,oBAAoB,EAAE,CAAC,GAAG,oBAAoB,EAAE,CAAC;IAC9D,2BAA2B,CAAC,EAAE,CAC5B,KAAK,EAAE,MAAM,KAEX,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,GACzC,oBAAoB,GACpB,SAAS,CAAC;IACd,YAAY,CAAC,EAAE,CACb,MAAM,EAAE,oBAAoB,EAC5B,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,uBAAuB,CAAC,EAAE,OAAO,CAAC;QAClC,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACpD,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,KACE,KAAK,CAAC,SAAS,CAAC;IACrB,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;CAC3C,CACJ,CAAC;AAEJ,KAAK,mBAAmB,GAAG,IAAI,CAC7B,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,MAAM,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM,yBAAyB,GAAG,SAAS,CAC3E,GACC,cAAc,CAAC,MAAM,CAAC,GACtB,yBAAyB,CAAC;AAE5B,UAAU,wBAAwB;IAChC,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EACD,MAAM,GACN;QACE,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACN,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,oBAAoB,CACvB,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,IACxD,wBAAwB,GAAG,CAAC,CAAC;AAEjC,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/id-autocomplete/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { IdAutocompleteOption, IdAutocompleteProps } from "./types.js";
|
|
2
|
+
interface UseIdAutocompleteParams {
|
|
3
|
+
autoComplete: IdAutocompleteProps["autoComplete"];
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
isOpenByDefault: IdAutocompleteProps["isOpenByDefault"];
|
|
7
|
+
initialOptions: IdAutocompleteProps["initialOptions"];
|
|
8
|
+
onChange?: IdAutocompleteProps["onChange"];
|
|
9
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
10
|
+
fetchOptions: IdAutocompleteProps["fetchOptionsCallback"];
|
|
11
|
+
fetchSelectedOption: IdAutocompleteProps["fetchSelectedOptionCallback"];
|
|
12
|
+
}
|
|
13
|
+
export declare function useIdAutocomplete({ autoComplete, defaultValue, value, isOpenByDefault, initialOptions, onChange, onBlur, fetchOptions, fetchSelectedOption, }: UseIdAutocompleteParams): {
|
|
14
|
+
selectedValue: string;
|
|
15
|
+
selectedOption: IdAutocompleteOption | undefined;
|
|
16
|
+
isPopoverOpen: boolean;
|
|
17
|
+
commandListRef: import("react").RefObject<HTMLDivElement>;
|
|
18
|
+
options: IdAutocompleteOption[];
|
|
19
|
+
isLoading: boolean;
|
|
20
|
+
isLoadingSelectedOption: boolean;
|
|
21
|
+
haveFetchError: boolean;
|
|
22
|
+
commandValue: string;
|
|
23
|
+
isFetchSelectedOptionSync: boolean;
|
|
24
|
+
toggleOption: (optionValue: string) => void;
|
|
25
|
+
handleOpenChange: (open: boolean) => void;
|
|
26
|
+
onTriggerBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
27
|
+
handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
28
|
+
handleCommandValue: (value: string) => void;
|
|
29
|
+
handleFetchSelectedOption: (value: string) => void;
|
|
30
|
+
handlePaste: (e: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
31
|
+
};
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=use-id-autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-id-autocomplete.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE5E,UAAU,uBAAuB;IAC/B,YAAY,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;IACxD,cAAc,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACnD,YAAY,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;IAC1D,mBAAmB,EAAE,mBAAmB,CAAC,6BAA6B,CAAC,CAAC;CACzE;AAED,wBAAgB,iBAAiB,CAAC,EAChC,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,eAAe,EACf,cAAc,EACd,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,mBAAmB,GACpB,EAAE,uBAAuB;;;;;;;;;;;gCAuIR,MAAM;6BAVb,OAAO;uBAqCV,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;sBAflC,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC;gCAUM,MAAM;uCAjF3C,MAAM;qBA+FV,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;EAyF7C"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
2
|
+
import { useDebounceCallback } from "usehooks-ts";
|
|
3
|
+
import { useIdAutocompleteContext } from "./id-autocomplete-context.js";
|
|
4
|
+
export function useIdAutocomplete({ autoComplete, defaultValue, value, isOpenByDefault, initialOptions, onChange, onBlur, fetchOptions, fetchSelectedOption, }) {
|
|
5
|
+
const context = useIdAutocompleteContext();
|
|
6
|
+
const shouldFetchOptions = useRef(false);
|
|
7
|
+
const isInternalChange = useRef(false);
|
|
8
|
+
const commandListRef = useRef(null);
|
|
9
|
+
const [isPopoverOpen, setIsPopoverOpen] = useState(isOpenByDefault ?? false);
|
|
10
|
+
const [options, setOptions] = useState(initialOptions ?? []);
|
|
11
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
12
|
+
const [isLoadingSelectedOption, setIsLoadingSelectedOption] = useState(false);
|
|
13
|
+
const [haveFetchError, setHaveFetchError] = useState(false);
|
|
14
|
+
const [selectedValue, setSelectedValue] = useState(value ?? defaultValue ?? "");
|
|
15
|
+
const [selectedOption, setSelectedOption] = useState(undefined);
|
|
16
|
+
const [commandValue, setCommandValue] = useState("");
|
|
17
|
+
const [isFetchSelectedOptionSync, setIsFetchSelectedOptionSync] = useState(false);
|
|
18
|
+
const clear = useCallback(() => {
|
|
19
|
+
setHaveFetchError(false);
|
|
20
|
+
setIsLoading(false);
|
|
21
|
+
setIsLoadingSelectedOption(false);
|
|
22
|
+
setIsPopoverOpen(false);
|
|
23
|
+
}, []);
|
|
24
|
+
const debouncedFetchOptions = useDebounceCallback(useCallback((newValue) => {
|
|
25
|
+
if (!autoComplete || !fetchOptions)
|
|
26
|
+
return;
|
|
27
|
+
if (newValue === "") {
|
|
28
|
+
clear();
|
|
29
|
+
setOptions([]);
|
|
30
|
+
setSelectedValue("");
|
|
31
|
+
setSelectedOption(undefined);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
setHaveFetchError(false);
|
|
35
|
+
setIsLoading(true);
|
|
36
|
+
try {
|
|
37
|
+
const result = fetchOptions(newValue, context);
|
|
38
|
+
Promise.resolve(result)
|
|
39
|
+
.then((newOptions) => {
|
|
40
|
+
setOptions(newOptions);
|
|
41
|
+
const matchingOption = newOptions.find((opt) => opt.value === newValue);
|
|
42
|
+
if (matchingOption) {
|
|
43
|
+
setSelectedOption(matchingOption);
|
|
44
|
+
setIsPopoverOpen(false);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
setSelectedOption(undefined);
|
|
48
|
+
setIsPopoverOpen(true);
|
|
49
|
+
}
|
|
50
|
+
setIsLoading(false);
|
|
51
|
+
})
|
|
52
|
+
.catch(() => {
|
|
53
|
+
setHaveFetchError(true);
|
|
54
|
+
setIsLoading(false);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
catch {
|
|
58
|
+
setHaveFetchError(true);
|
|
59
|
+
setIsLoading(false);
|
|
60
|
+
}
|
|
61
|
+
}, [clear, autoComplete, fetchOptions, context]));
|
|
62
|
+
const handleFetchSelectedOption = useCallback((value) => {
|
|
63
|
+
if (!autoComplete || !fetchSelectedOption)
|
|
64
|
+
return;
|
|
65
|
+
setIsLoadingSelectedOption(true);
|
|
66
|
+
try {
|
|
67
|
+
const result = fetchSelectedOption(value);
|
|
68
|
+
const isPromise = result instanceof Promise;
|
|
69
|
+
Promise.resolve(result)
|
|
70
|
+
.then((option) => {
|
|
71
|
+
if (option) {
|
|
72
|
+
setSelectedOption(option);
|
|
73
|
+
setOptions((prevOptions) => {
|
|
74
|
+
const optionIndex = prevOptions.findIndex((opt) => opt.value === value);
|
|
75
|
+
if (optionIndex !== -1) {
|
|
76
|
+
const newOptions = [...prevOptions];
|
|
77
|
+
newOptions[optionIndex] = option;
|
|
78
|
+
return newOptions;
|
|
79
|
+
}
|
|
80
|
+
return prevOptions;
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
clear();
|
|
85
|
+
setOptions([]);
|
|
86
|
+
setSelectedValue("");
|
|
87
|
+
setSelectedOption(undefined);
|
|
88
|
+
}
|
|
89
|
+
setIsLoadingSelectedOption(false);
|
|
90
|
+
if (!isPromise) {
|
|
91
|
+
setIsFetchSelectedOptionSync(true);
|
|
92
|
+
setTimeout(() => {
|
|
93
|
+
setIsFetchSelectedOptionSync(false);
|
|
94
|
+
}, 1500);
|
|
95
|
+
}
|
|
96
|
+
})
|
|
97
|
+
.catch(() => {
|
|
98
|
+
setIsLoadingSelectedOption(false);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
catch {
|
|
102
|
+
setIsLoadingSelectedOption(false);
|
|
103
|
+
}
|
|
104
|
+
}, [clear, autoComplete, fetchSelectedOption]);
|
|
105
|
+
const handleOpenChange = useCallback((open) => {
|
|
106
|
+
if (!open) {
|
|
107
|
+
setCommandValue(options[0]?.value ?? "");
|
|
108
|
+
}
|
|
109
|
+
setIsPopoverOpen(open);
|
|
110
|
+
}, [options]);
|
|
111
|
+
const toggleOption = useCallback((optionValue) => {
|
|
112
|
+
shouldFetchOptions.current = false;
|
|
113
|
+
isInternalChange.current = true;
|
|
114
|
+
setSelectedValue(optionValue);
|
|
115
|
+
setSelectedOption(options.find((opt) => opt.value === optionValue));
|
|
116
|
+
clear();
|
|
117
|
+
onChange?.(optionValue);
|
|
118
|
+
}, [onChange, clear, options]);
|
|
119
|
+
const handleChange = useCallback((e) => {
|
|
120
|
+
const newValue = e.target.value;
|
|
121
|
+
shouldFetchOptions.current = true;
|
|
122
|
+
setSelectedValue(newValue);
|
|
123
|
+
setSelectedOption(undefined);
|
|
124
|
+
onChange?.(newValue);
|
|
125
|
+
}, [onChange]);
|
|
126
|
+
const handleCommandValue = useCallback((value) => {
|
|
127
|
+
setCommandValue(value);
|
|
128
|
+
}, []);
|
|
129
|
+
const onTriggerBlur = useCallback((e) => {
|
|
130
|
+
if (!isPopoverOpen) {
|
|
131
|
+
onBlur?.(e);
|
|
132
|
+
}
|
|
133
|
+
}, [onBlur, isPopoverOpen]);
|
|
134
|
+
const handlePaste = useCallback((e) => {
|
|
135
|
+
// Get clipboard data and trim it
|
|
136
|
+
const clipboardData = e.clipboardData.getData("text");
|
|
137
|
+
const trimmedValue = clipboardData.trim();
|
|
138
|
+
// If trimming changed the value, handle paste manually
|
|
139
|
+
if (clipboardData !== trimmedValue) {
|
|
140
|
+
e.preventDefault();
|
|
141
|
+
// Get current input element and selection positions
|
|
142
|
+
const input = e.currentTarget;
|
|
143
|
+
const start = input.selectionStart || 0;
|
|
144
|
+
const end = input.selectionEnd || 0;
|
|
145
|
+
// Create new value by inserting trimmed text at cursor position
|
|
146
|
+
const currentValue = input.value;
|
|
147
|
+
const newValue = currentValue.substring(0, start) +
|
|
148
|
+
trimmedValue +
|
|
149
|
+
currentValue.substring(end);
|
|
150
|
+
// Update input value via onChange
|
|
151
|
+
onChange?.(newValue);
|
|
152
|
+
// Set cursor position after pasted text and fetch options
|
|
153
|
+
requestAnimationFrame(() => {
|
|
154
|
+
const newPosition = start + trimmedValue.length;
|
|
155
|
+
input.setSelectionRange(newPosition, newPosition);
|
|
156
|
+
debouncedFetchOptions(newValue);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
else if (clipboardData === selectedValue) {
|
|
160
|
+
debouncedFetchOptions(selectedValue);
|
|
161
|
+
}
|
|
162
|
+
}, [selectedValue, debouncedFetchOptions, onChange]);
|
|
163
|
+
useEffect(() => {
|
|
164
|
+
if (autoComplete) {
|
|
165
|
+
if (shouldFetchOptions.current) {
|
|
166
|
+
debouncedFetchOptions(selectedValue);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
clear();
|
|
171
|
+
setOptions([]);
|
|
172
|
+
setSelectedValue("");
|
|
173
|
+
setSelectedOption(undefined);
|
|
174
|
+
}
|
|
175
|
+
}, [autoComplete, selectedValue, debouncedFetchOptions, clear]);
|
|
176
|
+
useEffect(() => {
|
|
177
|
+
if (!isInternalChange.current) {
|
|
178
|
+
shouldFetchOptions.current = false;
|
|
179
|
+
setSelectedValue(value ?? defaultValue ?? "");
|
|
180
|
+
setSelectedOption(undefined);
|
|
181
|
+
}
|
|
182
|
+
isInternalChange.current = false;
|
|
183
|
+
}, [value]);
|
|
184
|
+
useEffect(() => {
|
|
185
|
+
if (initialOptions?.length && selectedValue) {
|
|
186
|
+
const matchingOption = initialOptions.find((opt) => opt.value === selectedValue);
|
|
187
|
+
if (matchingOption) {
|
|
188
|
+
setSelectedOption(matchingOption);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}, []);
|
|
192
|
+
return {
|
|
193
|
+
selectedValue,
|
|
194
|
+
selectedOption,
|
|
195
|
+
isPopoverOpen,
|
|
196
|
+
commandListRef,
|
|
197
|
+
options,
|
|
198
|
+
isLoading,
|
|
199
|
+
isLoadingSelectedOption,
|
|
200
|
+
haveFetchError,
|
|
201
|
+
commandValue,
|
|
202
|
+
isFetchSelectedOptionSync,
|
|
203
|
+
toggleOption,
|
|
204
|
+
handleOpenChange,
|
|
205
|
+
onTriggerBlur,
|
|
206
|
+
handleChange,
|
|
207
|
+
handleCommandValue,
|
|
208
|
+
handleFetchSelectedOption,
|
|
209
|
+
handlePaste,
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=use-id-autocomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-id-autocomplete.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./character-counter/index.js";
|
|
2
|
+
export * from "./form-description/index.js";
|
|
3
|
+
export * from "./form-group/index.js";
|
|
4
|
+
export * from "./form-label/index.js";
|
|
5
|
+
export * from "./form-message/index.js";
|
|
6
|
+
export * from "./radio-group-field/index.js";
|
|
7
|
+
export * from "./select-field/index.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/fragments/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./character-counter/index.js";
|
|
2
|
+
export * from "./form-description/index.js";
|
|
3
|
+
export * from "./form-group/index.js";
|
|
4
|
+
export * from "./form-label/index.js";
|
|
5
|
+
export * from "./form-message/index.js";
|
|
6
|
+
export * from "./radio-group-field/index.js";
|
|
7
|
+
export * from "./select-field/index.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/fragments/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/popover/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/popover/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
+
export declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
export declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/popover/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,OAAO,yCAAwB,CAAC;AAC7C,eAAO,MAAM,aAAa,4GAA0B,CAAC;AACrD,eAAO,MAAM,cAAc,gHAA2B,CAAC;AAEvD,eAAO,MAAM,cAAc,gKAwBzB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { cn } from "../../../lib/utils.js";
|
|
5
|
+
export const Popover = PopoverPrimitive.Root;
|
|
6
|
+
export const PopoverAnchor = PopoverPrimitive.Anchor;
|
|
7
|
+
export const PopoverTrigger = PopoverPrimitive.Trigger;
|
|
8
|
+
export const PopoverContent = React.forwardRef(({ align = "center", sideOffset = 4, className, ...props }, ref) => (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, { align: align, sideOffset: sideOffset, className: cn([
|
|
9
|
+
"data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in",
|
|
10
|
+
"data-[state=closed]:animate-zoom-out data-[state=open]:animate-zoom-in",
|
|
11
|
+
"data-[side=bottom]:animate-slide-in-from-top data-[side=left]:animate-slide-in-from-right",
|
|
12
|
+
"data-[side=right]:animate-slide-in-from-left data-[side=top]:animate-slide-in-from-bottom",
|
|
13
|
+
"w-(--radix-popover-trigger-width) z-50 border p-0 outline-none",
|
|
14
|
+
"border-gray-300 bg-white dark:border-slate-500 dark:bg-slate-600",
|
|
15
|
+
"rounded-md shadow-[1px_4px_15px_0px_rgba(74,88,115,0.25)] dark:shadow-[1px_4px_15.3px_0px_#141921]",
|
|
16
|
+
], className), ref: ref, ...props }) })));
|
|
17
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/popover/popover.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAE3C,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC,IAAI,CAAC;AAC7C,MAAM,CAAC,MAAM,aAAa,GAAG,gBAAgB,CAAC,MAAM,CAAC;AACrD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,CAAC;AAEvD,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAG5C,CAAC,EAAE,KAAK,GAAG,QAAQ,EAAE,UAAU,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACpE,KAAC,gBAAgB,CAAC,MAAM,cACtB,KAAC,gBAAgB,CAAC,OAAO,IACvB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE,CACX;YACE,wEAAwE;YACxE,wEAAwE;YACxE,2FAA2F;YAC3F,2FAA2F;YAC3F,gEAAgE;YAChE,kEAAkE;YAClE,oGAAoG;SACrG,EACD,SAAS,CACV,EACD,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,GACsB,CAC3B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type RadioGroupProps } from "#scalars";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import type { FieldErrorHandling, InputBaseProps } from "../../types.js";
|
|
4
|
+
type RadioGroupFieldBaseProps = Omit<React.HTMLAttributes<HTMLDivElement>, keyof InputBaseProps<string> | keyof FieldErrorHandling | keyof RadioGroupProps | "dir"> & {
|
|
5
|
+
dir?: "ltr" | "rtl";
|
|
6
|
+
};
|
|
7
|
+
export type RadioGroupFieldProps = RadioGroupFieldBaseProps & InputBaseProps<string> & FieldErrorHandling & RadioGroupProps;
|
|
8
|
+
export declare const RadioGroupField: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, keyof InputBaseProps<string> | "dir" | keyof FieldErrorHandling | keyof RadioGroupProps> & {
|
|
9
|
+
dir?: "ltr" | "rtl";
|
|
10
|
+
} & InputBaseProps<string> & FieldErrorHandling & RadioGroupProps & React.RefAttributes<unknown>>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=radio-group-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-field.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio-group-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAKzE,KAAK,wBAAwB,GAAG,IAAI,CAClC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAClC,MAAM,cAAc,CAAC,MAAM,CAAC,GAC5B,MAAM,kBAAkB,GACxB,MAAM,eAAe,GACrB,KAAK,CACR,GAAG;IACF,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GACzD,cAAc,CAAC,MAAM,CAAC,GACtB,kBAAkB,GAClB,eAAe,CAAC;AAqFlB,eAAO,MAAM,eAAe;UA3FpB,KAAK,GAAG,KAAK;iGA4F0C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn, FormLabel, FormMessageList } from "#scalars";
|
|
3
|
+
import React, { useId } from "react";
|
|
4
|
+
import { withFieldValidation } from "../with-field-validation/with-field-validation.js";
|
|
5
|
+
import { RadioGroup } from "./radio-group.js";
|
|
6
|
+
import { Radio } from "./radio.js";
|
|
7
|
+
const RadioGroupFieldRaw = React.forwardRef(({ autoFocus, className, defaultValue, description, disabled, warnings = [], errors = [], id: propId, label, name, onChange, options = [], required, value, ...props }, ref) => {
|
|
8
|
+
const hasLabel = label !== undefined;
|
|
9
|
+
const hasError = errors.length > 0;
|
|
10
|
+
const prefix = useId();
|
|
11
|
+
const id = propId ?? `${prefix}-radio-group`;
|
|
12
|
+
return (_jsxs(RadioGroup, { "aria-invalid": hasError, "aria-label": !hasLabel ? "Radio group" : undefined, "aria-required": required, autoFocus: autoFocus, className: cn("flex flex-col gap-2", className), defaultValue: defaultValue, id: id, name: name, onValueChange: (newValue) => {
|
|
13
|
+
onChange?.(newValue);
|
|
14
|
+
}, value: value, disabled: disabled, ...props, ref: ref, children: [hasLabel && (_jsx(FormLabel, { description: description, hasError: hasError, htmlFor: id, required: required, disabled: disabled, children: label })), options.map((option, index) => (_jsx("div", { className: "flex items-center gap-2", role: "presentation", children: _jsx(Radio, { id: `${prefix}-radio-${index}-${option.value}`, label: option.label, value: option.value, description: option.description, disabled: disabled || option.disabled, hasError: hasError }) }, `${prefix}-radio-${index}-${option.value}`))), warnings.length > 0 && (_jsx(FormMessageList, { messages: warnings, type: "warning" })), hasError && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
15
|
+
});
|
|
16
|
+
export const RadioGroupField = withFieldValidation(RadioGroupFieldRaw);
|
|
17
|
+
RadioGroupField.displayName = "RadioGroupField";
|
|
18
|
+
//# sourceMappingURL=radio-group-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group-field.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio-group-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,eAAe,EAAwB,MAAM,UAAU,CAAC;AAChF,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiBnC,MAAM,kBAAkB,GAAG,KAAK,CAAC,UAAU,CAIzC,CACE,EACE,SAAS,EACT,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,MAAM,GAAG,EAAE,EACX,EAAE,EAAE,MAAM,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,OAAO,GAAG,EAAE,EACZ,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,CAAC;IACrC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;IACnC,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IACvB,MAAM,EAAE,GAAG,MAAM,IAAI,GAAG,MAAM,cAAc,CAAC;IAE7C,OAAO,CACL,MAAC,UAAU,oBACK,QAAQ,gBACV,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,mBAClC,QAAQ,EACvB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,EAC/C,YAAY,EAAE,YAAY,EAC1B,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,CAAC,QAAQ,EAAE,EAAE;YAC1B,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC,EACD,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,KACd,KAAK,EACT,GAAG,EAAE,GAAG,aAEP,QAAQ,IAAI,CACX,KAAC,SAAS,IACR,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,EAAE,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,YAEjB,KAAK,GACI,CACb,EACA,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,cAEE,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,cAAc,YAEnB,KAAC,KAAK,IACJ,EAAE,EAAE,GAAG,MAAM,UAAU,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,EAC9C,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,WAAW,EAAE,MAAM,CAAC,WAAW,EAC/B,QAAQ,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,EACrC,QAAQ,EAAE,QAAQ,GAClB,IAXG,GAAG,MAAM,UAAU,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,CAY3C,CACP,CAAC,EACD,QAAQ,CAAC,MAAM,GAAG,CAAC,IAAI,CACtB,KAAC,eAAe,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,SAAS,GAAG,CACvD,EACA,QAAQ,IAAI,KAAC,eAAe,IAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,IACpD,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAC1B,mBAAmB,CAAuB,kBAAkB,CAAC,CAAC;AAEhE,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
+
export interface CustomizableRadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<CustomizableRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,MAAM,WAAW,2BACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IACvE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,oGAkBrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React, { useId } from "react";
|
|
3
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
|
+
export const RadioGroup = React.forwardRef(({ children, className, id: propId, name, ...props }, ref) => {
|
|
5
|
+
const prefix = useId();
|
|
6
|
+
const id = propId ?? `${prefix}-radio-group`;
|
|
7
|
+
return (_jsx(RadioGroupPrimitive.Root, { className: className, id: id, name: name, ...props, ref: ref, children: children }));
|
|
8
|
+
});
|
|
9
|
+
RadioGroup.displayName = "RadioGroup";
|
|
10
|
+
//# sourceMappingURL=radio-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio-group.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAUnE,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGxC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC7D,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IACvB,MAAM,EAAE,GAAG,MAAM,IAAI,GAAG,MAAM,cAAc,CAAC;IAE7C,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,IACvB,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,KACN,KAAK,EACT,GAAG,EAAE,GAAG,YAEP,QAAQ,GACgB,CAC5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface RadioProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
4
|
+
className?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
hasError?: boolean;
|
|
8
|
+
id?: string;
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAgB,MAAM,OAAO,CAAC;AAIrC,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,KAAK,sFAgFjB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
+
import React, { useId } from "react";
|
|
4
|
+
import { cn } from "../../../lib/utils.js";
|
|
5
|
+
import { FormLabel } from "../form-label/index.js";
|
|
6
|
+
export const Radio = React.forwardRef(({ className, description, disabled = false, hasError = false, id: propId, label, value, ...props }, ref) => {
|
|
7
|
+
const prefix = useId();
|
|
8
|
+
const id = propId ?? `${prefix}-radio`;
|
|
9
|
+
return (_jsxs(_Fragment, { children: [_jsx(RadioGroupPrimitive.Item, { "aria-disabled": disabled, "aria-invalid": hasError, className: cn("group peer", "aspect-square size-4 rounded-full border border-gray-800 dark:border-gray-400", "hover:border-gray-900 dark:hover:border-gray-50", disabled && [
|
|
10
|
+
"cursor-not-allowed border-gray-600 hover:border-gray-600",
|
|
11
|
+
"dark:border-gray-600 dark:hover:border-gray-600",
|
|
12
|
+
], hasError && [
|
|
13
|
+
"border-red-700 hover:border-red-900",
|
|
14
|
+
"dark:border-red-700 dark:hover:border-red-900",
|
|
15
|
+
], className), disabled: disabled, id: id, value: value, ...props, ref: ref, children: _jsx(RadioGroupPrimitive.Indicator, { className: cn("relative flex size-full items-center justify-center", "after:absolute after:left-1/2 after:top-1/2 after:size-2.5", "after:-translate-x-1/2 after:-translate-y-1/2", "after:rounded-full after:bg-gray-800 after:content-['']", "dark:after:bg-gray-400", !disabled && [
|
|
16
|
+
"group-hover:after:bg-gray-900",
|
|
17
|
+
"dark:group-hover:after:bg-gray-50",
|
|
18
|
+
], disabled && ["after:bg-gray-600", "dark:after:bg-gray-600"]) }) }), _jsx(FormLabel, { className: cn(!disabled &&
|
|
19
|
+
!hasError && [
|
|
20
|
+
"cursor-pointer",
|
|
21
|
+
"peer-hover:text-gray-900 dark:peer-hover:text-gray-50",
|
|
22
|
+
]), description: description, disabled: disabled, hasError: hasError, htmlFor: id, required: props.required, inline: true, children: label })] }));
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/radio-group-field/radio.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAanD,MAAM,CAAC,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAInC,CACE,EACE,SAAS,EACT,WAAW,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,EAChB,EAAE,EAAE,MAAM,EACV,KAAK,EACL,KAAK,EACL,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IACvB,MAAM,EAAE,GAAG,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC;IAEvC,OAAO,CACL,8BACE,KAAC,mBAAmB,CAAC,IAAI,qBACR,QAAQ,kBACT,QAAQ,EACtB,SAAS,EAAE,EAAE,CACX,YAAY,EACZ,+EAA+E,EAC/E,iDAAiD,EACjD,QAAQ,IAAI;oBACV,0DAA0D;oBAC1D,iDAAiD;iBAClD,EACD,QAAQ,IAAI;oBACV,qCAAqC;oBACrC,+CAA+C;iBAChD,EACD,SAAS,CACV,EACD,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,KACR,KAAK,EACT,GAAG,EAAE,GAAG,YAER,KAAC,mBAAmB,CAAC,SAAS,IAC5B,SAAS,EAAE,EAAE,CACX,qDAAqD,EACrD,4DAA4D,EAC5D,+CAA+C,EAC/C,yDAAyD,EACzD,wBAAwB,EACxB,CAAC,QAAQ,IAAI;wBACX,+BAA+B;wBAC/B,mCAAmC;qBACpC,EACD,QAAQ,IAAI,CAAC,mBAAmB,EAAE,wBAAwB,CAAC,CAC5D,GACD,GACuB,EAC3B,KAAC,SAAS,IACR,SAAS,EAAE,EAAE,CACX,CAAC,QAAQ;oBACP,CAAC,QAAQ,IAAI;oBACX,gBAAgB;oBAChB,uDAAuD;iBACxD,CACJ,EACD,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,EAAE,EACX,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,kBAEL,KAAK,GACI,IACX,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type SelectProps } from "#scalars";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
interface ContentProps {
|
|
4
|
+
searchable?: boolean;
|
|
5
|
+
commandListRef: React.RefObject<HTMLDivElement>;
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
selectedValues: string[];
|
|
8
|
+
selectionIcon: "auto" | "checkmark";
|
|
9
|
+
selectionIconPosition: "left" | "right";
|
|
10
|
+
options: SelectProps["options"];
|
|
11
|
+
favoriteOptions?: SelectProps["options"];
|
|
12
|
+
toggleAll: () => void;
|
|
13
|
+
toggleOption: (value: string) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const Content: React.FC<ContentProps>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/select-field/content.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,UAAU,YAAY;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,WAAW,CAAC;IACpC,qBAAqB,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,eAAe,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACzC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyI1C,CAAC"}
|