@powerhousedao/document-engineering 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scripts/create-icon-components.js +44 -30
- package/dist/scripts/create-icon-components.js.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/scalars/components/aid-field/aid-field.d.ts +1 -1
- package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +1 -1
- package/dist/src/scalars/components/aid-field/aid-field.js +13 -13
- package/dist/src/scalars/components/aid-field/aid-field.js.map +1 -1
- package/dist/src/scalars/components/aid-field/index.d.ts +2 -2
- package/dist/src/scalars/components/aid-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/aid-field/index.js +1 -1
- package/dist/src/scalars/components/aid-field/index.js.map +1 -1
- package/dist/src/scalars/components/aid-field/types.d.ts +2 -2
- package/dist/src/scalars/components/aid-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +1 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js +3 -3
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +3 -3
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.js +23 -29
- package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-field.d.ts +2 -4
- package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +1 -1
- package/dist/src/scalars/components/amount-field/amount-field.js +5 -5
- package/dist/src/scalars/components/amount-field/amount-field.js.map +1 -1
- package/dist/src/scalars/components/amount-field/index.d.ts +2 -1
- package/dist/src/scalars/components/amount-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/amount-field/index.js +1 -1
- package/dist/src/scalars/components/amount-field/index.js.map +1 -1
- package/dist/src/scalars/components/amount-field/types.d.ts +5 -0
- package/dist/src/scalars/components/amount-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/amount-field/types.js +2 -0
- package/dist/src/scalars/components/amount-field/types.js.map +1 -0
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +4 -4
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +1 -1
- package/dist/src/scalars/components/boolean-field/boolean-field.js +4 -4
- package/dist/src/scalars/components/boolean-field/boolean-field.js.map +1 -1
- package/dist/src/scalars/components/boolean-field/index.d.ts +1 -1
- package/dist/src/scalars/components/boolean-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/boolean-field/index.js +1 -1
- package/dist/src/scalars/components/boolean-field/index.js.map +1 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +3 -3
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +1 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.js +20 -22
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +1 -1
- package/dist/src/scalars/components/country-code-field/index.d.ts +1 -1
- package/dist/src/scalars/components/country-code-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/country-code-field/index.js +1 -1
- package/dist/src/scalars/components/country-code-field/index.js.map +1 -1
- package/dist/src/scalars/components/country-code-field/types.d.ts +1 -1
- package/dist/src/scalars/components/country-code-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +2 -20
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +1 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js +5 -72
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +1 -1
- package/dist/src/scalars/components/currency-code-field/index.d.ts +2 -4
- package/dist/src/scalars/components/currency-code-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/currency-code-field/index.js +1 -3
- package/dist/src/scalars/components/currency-code-field/index.js.map +1 -1
- package/dist/src/scalars/components/currency-code-field/types.d.ts +4 -12
- package/dist/src/scalars/components/currency-code-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +2 -5
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +1 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js +4 -4
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +1 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +2 -2
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +15 -16
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +1 -1
- package/dist/src/scalars/components/date-picker-field/index.d.ts +2 -1
- package/dist/src/scalars/components/date-picker-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/date-picker-field/index.js +1 -1
- package/dist/src/scalars/components/date-picker-field/index.js.map +1 -1
- package/dist/src/scalars/components/date-picker-field/types.d.ts +6 -0
- package/dist/src/scalars/components/date-picker-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/date-picker-field/types.js +2 -0
- package/dist/src/scalars/components/date-picker-field/types.js.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +2 -2
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +16 -17
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +2 -5
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +4 -4
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts +2 -1
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/index.js +1 -1
- package/dist/src/scalars/components/date-time-picker-field/index.js.map +1 -1
- package/dist/src/scalars/components/date-time-picker-field/types.d.ts +6 -0
- package/dist/src/scalars/components/date-time-picker-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/date-time-picker-field/types.js +2 -0
- package/dist/src/scalars/components/date-time-picker-field/types.js.map +1 -0
- package/dist/src/scalars/components/enum-field/enum-field.d.ts +6 -6
- package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +1 -1
- package/dist/src/scalars/components/enum-field/enum-field.js +8 -8
- package/dist/src/scalars/components/enum-field/enum-field.js.map +1 -1
- package/dist/src/scalars/components/enum-field/index.d.ts +1 -1
- package/dist/src/scalars/components/enum-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/enum-field/index.js +1 -1
- package/dist/src/scalars/components/enum-field/index.js.map +1 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +1 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +15 -13
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +1 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +1 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +17 -15
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +1 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +1 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.js +5 -4
- package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +1 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +1 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +7 -6
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +1 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +1 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +9 -6
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +1 -1
- package/dist/src/scalars/components/form/form.d.ts +3 -3
- package/dist/src/scalars/components/form/form.d.ts.map +1 -1
- package/dist/src/scalars/components/form/form.js +19 -30
- package/dist/src/scalars/components/form/form.js.map +1 -1
- package/dist/src/scalars/components/form/index.d.ts +1 -1
- package/dist/src/scalars/components/form/index.d.ts.map +1 -1
- package/dist/src/scalars/components/form/index.js +1 -1
- package/dist/src/scalars/components/form/index.js.map +1 -1
- package/dist/src/scalars/components/form/utils.d.ts +2 -2
- package/dist/src/scalars/components/form/utils.d.ts.map +1 -1
- package/dist/src/scalars/components/form/utils.js +4 -6
- package/dist/src/scalars/components/form/utils.js.map +1 -1
- package/dist/src/scalars/components/fragments/button/button.d.ts +2 -2
- package/dist/src/scalars/components/fragments/button/button.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/button/button.js +12 -11
- package/dist/src/scalars/components/fragments/button/button.js.map +1 -1
- package/dist/src/scalars/components/fragments/button/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/button/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/button/index.js +1 -1
- package/dist/src/scalars/components/fragments/button/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js +8 -8
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +1 -1
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/character-counter/index.js +1 -1
- package/dist/src/scalars/components/fragments/character-counter/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +3 -3
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/command/command.d.ts +2 -2
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/command/command.js +10 -10
- package/dist/src/scalars/components/fragments/command/command.js.map +1 -1
- package/dist/src/scalars/components/fragments/command/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/command/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/command/index.js +1 -1
- package/dist/src/scalars/components/fragments/command/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.js +4 -4
- package/dist/src/scalars/components/fragments/form-description/form-description.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-description/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-description/index.js +1 -1
- package/dist/src/scalars/components/fragments/form-description/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-group/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-group/index.js +1 -1
- package/dist/src/scalars/components/fragments/form-group/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.js +5 -9
- package/dist/src/scalars/components/fragments/form-label/form-label.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-label/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-label/index.js +1 -1
- package/dist/src/scalars/components/fragments/form-label/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts +3 -3
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.js +7 -7
- package/dist/src/scalars/components/fragments/form-message/form-message.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js +3 -3
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/index.d.ts +3 -3
- package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/index.js +3 -3
- package/dist/src/scalars/components/fragments/form-message/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts +1 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.js +9 -9
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts +4 -4
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +22 -33
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts +4 -4
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +11 -33
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts +2 -3
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +14 -14
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts +2 -2
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +28 -38
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts +2 -2
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts +5 -5
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts +7 -7
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js +13 -15
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +1 -1
- package/dist/src/scalars/components/fragments/index.d.ts +5 -5
- package/dist/src/scalars/components/fragments/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/index.js +5 -5
- package/dist/src/scalars/components/fragments/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/popover/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/popover/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/popover/index.js +1 -1
- package/dist/src/scalars/components/fragments/popover/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/popover/popover.d.ts +7 -6
- package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/popover/popover.js +16 -14
- package/dist/src/scalars/components/fragments/popover/popover.js.map +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +2 -2
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +3 -3
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/select-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/select-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/select-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +2 -2
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.js +3 -3
- package/dist/src/scalars/components/fragments/select-field/select-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +2 -2
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.js +7 -7
- package/dist/src/scalars/components/fragments/tabs/tabs.js.map +1 -1
- package/dist/src/scalars/components/fragments/text-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/text-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/text-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +5 -4
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.js +5 -4
- package/dist/src/scalars/components/fragments/text-field/text-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +2 -2
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +3 -3
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.js +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +2 -2
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +3 -3
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts +2 -2
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.js +2 -2
- package/dist/src/scalars/components/fragments/value-transformer/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts +4 -4
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +25 -22
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.js +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts +2 -2
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +1 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js +20 -35
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +1 -1
- package/dist/src/scalars/components/id-field/id-field.d.ts +1 -1
- package/dist/src/scalars/components/id-field/id-field.d.ts.map +1 -1
- package/dist/src/scalars/components/id-field/id-field.js +8 -8
- package/dist/src/scalars/components/id-field/id-field.js.map +1 -1
- package/dist/src/scalars/components/id-field/index.d.ts +1 -1
- package/dist/src/scalars/components/id-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/id-field/index.js +1 -1
- package/dist/src/scalars/components/id-field/index.js.map +1 -1
- package/dist/src/scalars/components/index.d.ts +27 -27
- package/dist/src/scalars/components/index.d.ts.map +1 -1
- package/dist/src/scalars/components/index.js +27 -27
- package/dist/src/scalars/components/index.js.map +1 -1
- package/dist/src/scalars/components/number-field/index.d.ts +1 -1
- package/dist/src/scalars/components/number-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/index.js +1 -1
- package/dist/src/scalars/components/number-field/index.js.map +1 -1
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts +2 -2
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/number-field-validations.js +40 -46
- package/dist/src/scalars/components/number-field/number-field-validations.js.map +1 -1
- package/dist/src/scalars/components/number-field/number-field.d.ts +4 -11
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/number-field.js +27 -21
- package/dist/src/scalars/components/number-field/number-field.js.map +1 -1
- package/dist/src/scalars/components/number-field/types.d.ts +13 -5
- package/dist/src/scalars/components/number-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/use-number-field.d.ts +1 -1
- package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/use-number-field.js +24 -33
- package/dist/src/scalars/components/number-field/use-number-field.js.map +1 -1
- package/dist/src/scalars/components/number-field/utils.d.ts +3 -3
- package/dist/src/scalars/components/number-field/utils.d.ts.map +1 -1
- package/dist/src/scalars/components/number-field/utils.js +8 -14
- package/dist/src/scalars/components/number-field/utils.js.map +1 -1
- package/dist/src/scalars/components/oid-field/index.d.ts +2 -2
- package/dist/src/scalars/components/oid-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/oid-field/index.js +1 -1
- package/dist/src/scalars/components/oid-field/index.js.map +1 -1
- package/dist/src/scalars/components/oid-field/oid-field.d.ts +1 -1
- package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +1 -1
- package/dist/src/scalars/components/oid-field/oid-field.js +6 -6
- package/dist/src/scalars/components/oid-field/oid-field.js.map +1 -1
- package/dist/src/scalars/components/oid-field/types.d.ts +2 -2
- package/dist/src/scalars/components/oid-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/phid-field/index.d.ts +2 -2
- package/dist/src/scalars/components/phid-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/phid-field/index.js +1 -1
- package/dist/src/scalars/components/phid-field/index.js.map +1 -1
- package/dist/src/scalars/components/phid-field/phid-field.d.ts +1 -1
- package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +1 -1
- package/dist/src/scalars/components/phid-field/phid-field.js +11 -11
- package/dist/src/scalars/components/phid-field/phid-field.js.map +1 -1
- package/dist/src/scalars/components/phid-field/types.d.ts +2 -2
- package/dist/src/scalars/components/phid-field/types.d.ts.map +1 -1
- package/dist/src/scalars/components/string-field/index.d.ts +1 -1
- package/dist/src/scalars/components/string-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/string-field/index.js +1 -1
- package/dist/src/scalars/components/string-field/index.js.map +1 -1
- package/dist/src/scalars/components/string-field/string-field.d.ts +6 -5
- package/dist/src/scalars/components/string-field/string-field.d.ts.map +1 -1
- package/dist/src/scalars/components/string-field/string-field.js +7 -6
- package/dist/src/scalars/components/string-field/string-field.js.map +1 -1
- package/dist/src/scalars/components/time-picker-field/index.d.ts +2 -1
- package/dist/src/scalars/components/time-picker-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/time-picker-field/index.js +1 -1
- package/dist/src/scalars/components/time-picker-field/index.js.map +1 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +1 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +1 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +13 -13
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +1 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +2 -5
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +1 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js +4 -4
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +1 -1
- package/dist/src/scalars/components/time-picker-field/types.d.ts +6 -0
- package/dist/src/scalars/components/time-picker-field/types.d.ts.map +1 -0
- package/dist/src/scalars/components/time-picker-field/types.js +2 -0
- package/dist/src/scalars/components/time-picker-field/types.js.map +1 -0
- package/dist/src/scalars/components/types.d.ts +2 -2
- package/dist/src/scalars/components/types.d.ts.map +1 -1
- package/dist/src/scalars/components/url-field/index.d.ts +1 -1
- package/dist/src/scalars/components/url-field/index.d.ts.map +1 -1
- package/dist/src/scalars/components/url-field/index.js +1 -1
- package/dist/src/scalars/components/url-field/index.js.map +1 -1
- package/dist/src/scalars/components/url-field/url-field.d.ts +2 -2
- package/dist/src/scalars/components/url-field/url-field.d.ts.map +1 -1
- package/dist/src/scalars/components/url-field/url-field.js +6 -6
- package/dist/src/scalars/components/url-field/url-field.js.map +1 -1
- package/dist/src/scalars/graphql/Amount.d.ts +6 -6
- package/dist/src/scalars/graphql/Amount.d.ts.map +1 -1
- package/dist/src/scalars/graphql/Amount.js +13 -13
- package/dist/src/scalars/graphql/Amount.js.map +1 -1
- package/dist/src/scalars/graphql/AmountCrypto.d.ts +6 -6
- package/dist/src/scalars/graphql/AmountCrypto.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountCrypto.js +13 -13
- package/dist/src/scalars/graphql/AmountCrypto.js.map +1 -1
- package/dist/src/scalars/graphql/AmountCurrency.d.ts +6 -6
- package/dist/src/scalars/graphql/AmountCurrency.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountCurrency.js +13 -13
- package/dist/src/scalars/graphql/AmountCurrency.js.map +1 -1
- package/dist/src/scalars/graphql/AmountFiat.d.ts +6 -6
- package/dist/src/scalars/graphql/AmountFiat.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountFiat.js +13 -13
- package/dist/src/scalars/graphql/AmountFiat.js.map +1 -1
- package/dist/src/scalars/graphql/AmountMoney.d.ts +4 -4
- package/dist/src/scalars/graphql/AmountMoney.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountMoney.js +9 -9
- package/dist/src/scalars/graphql/AmountMoney.js.map +1 -1
- package/dist/src/scalars/graphql/AmountPercentage.d.ts +4 -4
- package/dist/src/scalars/graphql/AmountPercentage.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountPercentage.js +9 -9
- package/dist/src/scalars/graphql/AmountPercentage.js.map +1 -1
- package/dist/src/scalars/graphql/AmountTokens.d.ts +4 -4
- package/dist/src/scalars/graphql/AmountTokens.d.ts.map +1 -1
- package/dist/src/scalars/graphql/AmountTokens.js +9 -9
- package/dist/src/scalars/graphql/AmountTokens.js.map +1 -1
- package/dist/src/scalars/graphql/Currency.d.ts +4 -4
- package/dist/src/scalars/graphql/Currency.d.ts.map +1 -1
- package/dist/src/scalars/graphql/Currency.js +8 -8
- package/dist/src/scalars/graphql/Currency.js.map +1 -1
- package/dist/src/scalars/graphql/Date.d.ts +4 -4
- package/dist/src/scalars/graphql/Date.d.ts.map +1 -1
- package/dist/src/scalars/graphql/Date.js +9 -9
- package/dist/src/scalars/graphql/Date.js.map +1 -1
- package/dist/src/scalars/graphql/DateTime.d.ts +4 -4
- package/dist/src/scalars/graphql/DateTime.d.ts.map +1 -1
- package/dist/src/scalars/graphql/DateTime.js +9 -9
- package/dist/src/scalars/graphql/DateTime.js.map +1 -1
- package/dist/src/scalars/graphql/EmailAddress.d.ts +4 -4
- package/dist/src/scalars/graphql/EmailAddress.d.ts.map +1 -1
- package/dist/src/scalars/graphql/EmailAddress.js +8 -8
- package/dist/src/scalars/graphql/EmailAddress.js.map +1 -1
- package/dist/src/scalars/graphql/EthereumAddress.d.ts +4 -4
- package/dist/src/scalars/graphql/EthereumAddress.d.ts.map +1 -1
- package/dist/src/scalars/graphql/EthereumAddress.js +8 -8
- package/dist/src/scalars/graphql/EthereumAddress.js.map +1 -1
- package/dist/src/scalars/graphql/OID.d.ts +4 -4
- package/dist/src/scalars/graphql/OID.d.ts.map +1 -1
- package/dist/src/scalars/graphql/OID.js +8 -8
- package/dist/src/scalars/graphql/OID.js.map +1 -1
- package/dist/src/scalars/graphql/OLabel.d.ts +4 -4
- package/dist/src/scalars/graphql/OLabel.d.ts.map +1 -1
- package/dist/src/scalars/graphql/OLabel.js +8 -8
- package/dist/src/scalars/graphql/OLabel.js.map +1 -1
- package/dist/src/scalars/graphql/PHID.d.ts +4 -4
- package/dist/src/scalars/graphql/PHID.d.ts.map +1 -1
- package/dist/src/scalars/graphql/PHID.js +8 -8
- package/dist/src/scalars/graphql/PHID.js.map +1 -1
- package/dist/src/scalars/graphql/URL.d.ts +4 -4
- package/dist/src/scalars/graphql/URL.d.ts.map +1 -1
- package/dist/src/scalars/graphql/URL.js +9 -9
- package/dist/src/scalars/graphql/URL.js.map +1 -1
- package/dist/src/scalars/graphql/index.d.ts +3 -3
- package/dist/src/scalars/graphql/index.d.ts.map +1 -1
- package/dist/src/scalars/graphql/index.js +2 -2
- package/dist/src/scalars/graphql/index.js.map +1 -1
- package/dist/src/scalars/graphql/scalars.d.ts +33 -33
- package/dist/src/scalars/graphql/scalars.d.ts.map +1 -1
- package/dist/src/scalars/graphql/scalars.js +20 -16
- package/dist/src/scalars/graphql/scalars.js.map +1 -1
- package/dist/src/scalars/graphql/types.d.ts +4 -4
- package/dist/src/scalars/graphql/types.d.ts.map +1 -1
- package/dist/src/scalars/graphql/utils.d.ts +2 -2
- package/dist/src/scalars/graphql/utils.d.ts.map +1 -1
- package/dist/src/scalars/graphql/utils.js +2 -2
- package/dist/src/scalars/graphql/utils.js.map +1 -1
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +1 -1
- package/dist/src/scalars/hooks/useEllipsis.js +4 -2
- package/dist/src/scalars/hooks/useEllipsis.js.map +1 -1
- package/dist/src/scalars/index.d.ts +2 -3
- package/dist/src/scalars/index.d.ts.map +1 -1
- package/dist/src/scalars/index.js +3 -4
- package/dist/src/scalars/index.js.map +1 -1
- package/dist/src/scalars/lib/decorators.d.ts +2 -2
- package/dist/src/scalars/lib/decorators.d.ts.map +1 -1
- package/dist/src/scalars/lib/decorators.js +18 -19
- package/dist/src/scalars/lib/decorators.js.map +1 -1
- package/dist/src/scalars/lib/deep-equal.d.ts.map +1 -1
- package/dist/src/scalars/lib/deep-equal.js +3 -8
- package/dist/src/scalars/lib/deep-equal.js.map +1 -1
- package/dist/src/scalars/lib/index.d.ts +7 -7
- package/dist/src/scalars/lib/index.d.ts.map +1 -1
- package/dist/src/scalars/lib/index.js +7 -7
- package/dist/src/scalars/lib/index.js.map +1 -1
- package/dist/src/scalars/lib/is-empty.d.ts.map +1 -1
- package/dist/src/scalars/lib/is-empty.js +4 -6
- package/dist/src/scalars/lib/is-empty.js.map +1 -1
- package/dist/src/scalars/lib/share-number-validations.d.ts.map +1 -1
- package/dist/src/scalars/lib/share-number-validations.js +8 -16
- package/dist/src/scalars/lib/share-number-validations.js.map +1 -1
- package/dist/src/scalars/lib/shared-value-transformers.d.ts +1 -1
- package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +1 -1
- package/dist/src/scalars/lib/shared-value-transformers.js +4 -4
- package/dist/src/scalars/lib/shared-value-transformers.js.map +1 -1
- package/dist/src/scalars/lib/storybook-arg-types.d.ts +2 -2
- package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +1 -1
- package/dist/src/scalars/lib/storybook-arg-types.js +101 -102
- package/dist/src/scalars/lib/storybook-arg-types.js.map +1 -1
- package/dist/src/scalars/lib/testing.d.ts +1 -1
- package/dist/src/scalars/lib/testing.d.ts.map +1 -1
- package/dist/src/scalars/lib/testing.js +3 -3
- package/dist/src/scalars/lib/testing.js.map +1 -1
- package/dist/src/scalars/lib/utils.d.ts +1 -1
- package/dist/src/scalars/lib/utils.d.ts.map +1 -1
- package/dist/src/scalars/lib/utils.js +2 -2
- package/dist/src/scalars/lib/utils.js.map +1 -1
- package/dist/src/scalars/lib/value-cast.d.ts +1 -1
- package/dist/src/scalars/lib/value-cast.d.ts.map +1 -1
- package/dist/src/scalars/lib/value-cast.js +15 -15
- package/dist/src/scalars/lib/value-cast.js.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +2 -2
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js +10 -13
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/aid-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +1 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.js +177 -177
- package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +1 -1
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts +4 -4
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +14 -13
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js +26 -17
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts +1 -1
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/amount-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts +14 -9
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +5 -5
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +64 -74
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +2 -2
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.js +18 -19
- package/dist/src/ui/components/data-entry/amount-input/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts +3 -3
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +14 -14
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +4 -4
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js +9 -9
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/checkbox/index.js +1 -1
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.d.ts +5 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.js +53 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/currency-code-picker.js.map +1 -0
- package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/defaults.d.ts +1 -1
- package/dist/src/ui/components/data-entry/currency-code-picker/defaults.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/defaults.js +43 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/defaults.js.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/index.d.ts +5 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/index.js +4 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/index.js.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/types.d.ts +29 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/types.js +2 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/types.js.map +1 -0
- package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/utils.d.ts +1 -1
- package/dist/src/ui/components/data-entry/currency-code-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/currency-code-picker/utils.js +39 -0
- package/dist/src/{scalars/components/currency-code-field → ui/components/data-entry/currency-code-picker}/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +3 -3
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js +21 -21
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/index.js +1 -1
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +49 -49
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +4 -4
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +8 -4
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +15 -35
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +13 -7
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +7 -5
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +12 -12
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +2 -2
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +6 -6
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +2 -2
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +3 -3
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +2 -2
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +11 -19
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.js +11 -11
- package/dist/src/ui/components/data-entry/date-picker/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +6 -5
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +17 -11
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +10 -10
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +23 -23
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +8 -8
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +11 -11
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.js +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +3 -3
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +41 -43
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +10 -10
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js +43 -66
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/index.d.ts +1 -1
- package/dist/src/ui/components/data-entry/input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/index.js +1 -1
- package/dist/src/ui/components/data-entry/input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/input.d.ts +1 -1
- package/dist/src/ui/components/data-entry/input/input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/input.js +10 -10
- package/dist/src/ui/components/data-entry/input/input.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +2 -2
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +18 -19
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +3 -3
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +12 -16
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/oid-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +1 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.js +61 -61
- package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +2 -2
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js +7 -10
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts +2 -2
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/phid-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +1 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.js +129 -131
- package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +8 -8
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +20 -38
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +2 -2
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js +12 -15
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts +5 -5
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.d.ts +2 -2
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.js +3 -3
- package/dist/src/ui/components/data-entry/radio-group/customizable-radio-group.js.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/radio-group/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/index.js +2 -2
- package/dist/src/ui/components/data-entry/radio-group/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/radio-group.d.ts +6 -6
- package/dist/src/ui/components/data-entry/radio-group/radio-group.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/radio-group.js +9 -9
- package/dist/src/ui/components/data-entry/radio-group/radio-group.js.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/radio.d.ts +2 -2
- package/dist/src/ui/components/data-entry/radio-group/radio.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/radio-group/radio.js +9 -19
- package/dist/src/ui/components/data-entry/radio-group/radio.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/command-list-item.d.ts +5 -5
- package/dist/src/ui/components/data-entry/select/command-list-item.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/command-list-item.js +12 -14
- package/dist/src/ui/components/data-entry/select/command-list-item.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/content.d.ts +5 -6
- package/dist/src/ui/components/data-entry/select/content.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/content.js +10 -20
- package/dist/src/ui/components/data-entry/select/content.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/select/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/index.js +1 -1
- package/dist/src/ui/components/data-entry/select/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/select-diff.d.ts +3 -3
- package/dist/src/ui/components/data-entry/select/select-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/select-diff.js +3 -3
- package/dist/src/ui/components/data-entry/select/select-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/select.d.ts +2 -2
- package/dist/src/ui/components/data-entry/select/select.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/select.js +26 -29
- package/dist/src/ui/components/data-entry/select/select.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/selected-content.d.ts +3 -3
- package/dist/src/ui/components/data-entry/select/selected-content.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/selected-content.js +7 -9
- package/dist/src/ui/components/data-entry/select/selected-content.js.map +1 -1
- package/dist/src/ui/components/data-entry/select/types.d.ts +11 -12
- package/dist/src/ui/components/data-entry/select/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/use-select.d.ts +3 -3
- package/dist/src/ui/components/data-entry/select/use-select.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/select/use-select.js +7 -9
- package/dist/src/ui/components/data-entry/select/use-select.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/text-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +4 -4
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +4 -4
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js +18 -20
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/index.d.ts +1 -1
- package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/index.js +1 -1
- package/dist/src/ui/components/data-entry/textarea/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +1 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +7 -7
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +5 -5
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.js +37 -39
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts +2 -2
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/index.js +1 -1
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +5 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +5 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +6 -6
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +2 -2
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +11 -9
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +13 -19
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +7 -7
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js +13 -13
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts +1 -1
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +6 -7
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +25 -35
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +1 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.js +59 -69
- package/dist/src/ui/components/data-entry/time-picker/utils.js.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/index.d.ts +1 -1
- package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/index.js +1 -1
- package/dist/src/ui/components/data-entry/toggle/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts +2 -2
- package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js +14 -14
- package/dist/src/ui/components/data-entry/toggle/subcomponents/toogle-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +2 -2
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js +6 -7
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +4 -4
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.js +10 -10
- package/dist/src/ui/components/data-entry/toggle/toggle.js.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/index.d.ts +2 -1
- package/dist/src/ui/components/data-entry/url-input/index.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/index.js +1 -1
- package/dist/src/ui/components/data-entry/url-input/index.js.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/types.d.ts +12 -0
- package/dist/src/ui/components/data-entry/url-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/types.js +2 -0
- package/dist/src/ui/components/data-entry/url-input/types.js.map +1 -0
- package/dist/src/ui/components/data-entry/url-input/url-favicon.d.ts +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-favicon.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-favicon.js +6 -6
- package/dist/src/ui/components/data-entry/url-input/url-favicon.js.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts +4 -4
- package/dist/src/ui/components/data-entry/url-input/url-input-diff.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-input-diff.js +4 -4
- package/dist/src/ui/components/data-entry/url-input/url-input-diff.js.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-input.d.ts +3 -13
- package/dist/src/ui/components/data-entry/url-input/url-input.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/url-input.js +19 -19
- package/dist/src/ui/components/data-entry/url-input/url-input.js.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/useURLWarnings.d.ts.map +1 -1
- package/dist/src/ui/components/data-entry/url-input/useURLWarnings.js +18 -29
- package/dist/src/ui/components/data-entry/url-input/useURLWarnings.js.map +1 -1
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/dropdown-example.js +16 -8
- package/dist/src/ui/components/dropdown/dropdown-example.js.map +1 -1
- package/dist/src/ui/components/dropdown/index.d.ts +6 -6
- package/dist/src/ui/components/dropdown/index.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/index.js +6 -6
- package/dist/src/ui/components/dropdown/index.js.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +2 -2
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +13 -13
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +2 -2
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +8 -8
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +2 -2
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +5 -5
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +3 -3
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +1 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +4 -4
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +1 -1
- package/dist/src/ui/components/icon/icon.d.ts +14 -5
- package/dist/src/ui/components/icon/icon.d.ts.map +1 -1
- package/dist/src/ui/components/icon/icon.js +19 -5
- package/dist/src/ui/components/icon/icon.js.map +1 -1
- package/dist/src/ui/components/icon/index.d.ts +3 -3
- package/dist/src/ui/components/icon/index.d.ts.map +1 -1
- package/dist/src/ui/components/icon/index.js +2 -2
- package/dist/src/ui/components/icon/index.js.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js +4 -2
- package/dist/src/ui/components/icon-components/ArrowCouterclockwise.js.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ArrowFilledRight.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js +4 -2
- package/dist/src/ui/components/icon-components/ArrowFilledRight.js.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ArrowLeft.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowLeft.js +4 -2
- package/dist/src/ui/components/icon-components/ArrowLeft.js.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ArrowUp.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ArrowUp.js +4 -2
- package/dist/src/ui/components/icon-components/ArrowUp.js.map +1 -1
- package/dist/src/ui/components/icon-components/BarChart.d.ts +6 -2
- package/dist/src/ui/components/icon-components/BarChart.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/BarChart.js +4 -2
- package/dist/src/ui/components/icon-components/BarChart.js.map +1 -1
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts +6 -2
- package/dist/src/ui/components/icon-components/BaseArrowLeft.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js +4 -2
- package/dist/src/ui/components/icon-components/BaseArrowLeft.js.map +1 -1
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts +6 -2
- package/dist/src/ui/components/icon-components/BaseArrowRight.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/BaseArrowRight.js +4 -2
- package/dist/src/ui/components/icon-components/BaseArrowRight.js.map +1 -1
- package/dist/src/ui/components/icon-components/Braces.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Braces.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Braces.js +4 -2
- package/dist/src/ui/components/icon-components/Braces.js.map +1 -1
- package/dist/src/ui/components/icon-components/Branch.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Branch.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Branch.js +4 -2
- package/dist/src/ui/components/icon-components/Branch.js.map +1 -1
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts +6 -2
- package/dist/src/ui/components/icon-components/BrickGlobe.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/BrickGlobe.js +4 -2
- package/dist/src/ui/components/icon-components/BrickGlobe.js.map +1 -1
- package/dist/src/ui/components/icon-components/Briefcase.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Briefcase.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Briefcase.js +4 -2
- package/dist/src/ui/components/icon-components/Briefcase.js.map +1 -1
- package/dist/src/ui/components/icon-components/Calendar.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Calendar.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Calendar.js +4 -2
- package/dist/src/ui/components/icon-components/Calendar.js.map +1 -1
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CalendarTime.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CalendarTime.js +4 -2
- package/dist/src/ui/components/icon-components/CalendarTime.js.map +1 -1
- package/dist/src/ui/components/icon-components/Caret.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Caret.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Caret.js +4 -2
- package/dist/src/ui/components/icon-components/Caret.js.map +1 -1
- package/dist/src/ui/components/icon-components/CaretDown.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CaretDown.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CaretDown.js +4 -2
- package/dist/src/ui/components/icon-components/CaretDown.js.map +1 -1
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CaretLeft.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CaretLeft.js +4 -2
- package/dist/src/ui/components/icon-components/CaretLeft.js.map +1 -1
- package/dist/src/ui/components/icon-components/CaretRight.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CaretRight.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CaretRight.js +4 -2
- package/dist/src/ui/components/icon-components/CaretRight.js.map +1 -1
- package/dist/src/ui/components/icon-components/CaretSort.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CaretSort.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CaretSort.js +4 -2
- package/dist/src/ui/components/icon-components/CaretSort.js.map +1 -1
- package/dist/src/ui/components/icon-components/Check.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Check.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Check.js +4 -2
- package/dist/src/ui/components/icon-components/Check.js.map +1 -1
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CheckCircle.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CheckCircle.js +4 -2
- package/dist/src/ui/components/icon-components/CheckCircle.js.map +1 -1
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CheckCircleFill.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CheckCircleFill.js +4 -2
- package/dist/src/ui/components/icon-components/CheckCircleFill.js.map +1 -1
- package/dist/src/ui/components/icon-components/Checkmark.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Checkmark.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Checkmark.js +4 -2
- package/dist/src/ui/components/icon-components/Checkmark.js.map +1 -1
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ChevronDown.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ChevronDown.js +4 -2
- package/dist/src/ui/components/icon-components/ChevronDown.js.map +1 -1
- package/dist/src/ui/components/icon-components/Circle.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Circle.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Circle.js +4 -2
- package/dist/src/ui/components/icon-components/Circle.js.map +1 -1
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CircleInfo.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CircleInfo.js +4 -2
- package/dist/src/ui/components/icon-components/CircleInfo.js.map +1 -1
- package/dist/src/ui/components/icon-components/Clock.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Clock.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Clock.js +4 -2
- package/dist/src/ui/components/icon-components/Clock.js.map +1 -1
- package/dist/src/ui/components/icon-components/ClockFill.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ClockFill.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ClockFill.js +4 -2
- package/dist/src/ui/components/icon-components/ClockFill.js.map +1 -1
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ClockHistory.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ClockHistory.js +4 -2
- package/dist/src/ui/components/icon-components/ClockHistory.js.map +1 -1
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CloudSlash.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CloudSlash.js +4 -2
- package/dist/src/ui/components/icon-components/CloudSlash.js.map +1 -1
- package/dist/src/ui/components/icon-components/Collapse.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Collapse.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Collapse.js +4 -2
- package/dist/src/ui/components/icon-components/Collapse.js.map +1 -1
- package/dist/src/ui/components/icon-components/Compass.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Compass.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Compass.js +4 -2
- package/dist/src/ui/components/icon-components/Compass.js.map +1 -1
- package/dist/src/ui/components/icon-components/Connect.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Connect.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Connect.js +4 -2
- package/dist/src/ui/components/icon-components/Connect.js.map +1 -1
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ConnectSmall.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ConnectSmall.js +4 -2
- package/dist/src/ui/components/icon-components/ConnectSmall.js.map +1 -1
- package/dist/src/ui/components/icon-components/Copy.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Copy.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Copy.js +4 -2
- package/dist/src/ui/components/icon-components/Copy.js.map +1 -1
- package/dist/src/ui/components/icon-components/Created.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Created.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Created.js +4 -2
- package/dist/src/ui/components/icon-components/Created.js.map +1 -1
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts +6 -2
- package/dist/src/ui/components/icon-components/CrossCircle.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/CrossCircle.js +4 -2
- package/dist/src/ui/components/icon-components/CrossCircle.js.map +1 -1
- package/dist/src/ui/components/icon-components/Danger.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Danger.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Danger.js +4 -2
- package/dist/src/ui/components/icon-components/Danger.js.map +1 -1
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts +6 -2
- package/dist/src/ui/components/icon-components/DescendenceModified.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/DescendenceModified.js +4 -2
- package/dist/src/ui/components/icon-components/DescendenceModified.js.map +1 -1
- package/dist/src/ui/components/icon-components/Disconnect.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Disconnect.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Disconnect.js +4 -2
- package/dist/src/ui/components/icon-components/Disconnect.js.map +1 -1
- package/dist/src/ui/components/icon-components/Discord.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Discord.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Discord.js +4 -2
- package/dist/src/ui/components/icon-components/Discord.js.map +1 -1
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts +6 -2
- package/dist/src/ui/components/icon-components/DownloadFile.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/DownloadFile.js +4 -2
- package/dist/src/ui/components/icon-components/DownloadFile.js.map +1 -1
- package/dist/src/ui/components/icon-components/Drive.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Drive.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Drive.js +4 -2
- package/dist/src/ui/components/icon-components/Drive.js.map +1 -1
- package/dist/src/ui/components/icon-components/Duplicated.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Duplicated.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Duplicated.js +4 -2
- package/dist/src/ui/components/icon-components/Duplicated.js.map +1 -1
- package/dist/src/ui/components/icon-components/Edit.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Edit.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Edit.js +4 -2
- package/dist/src/ui/components/icon-components/Edit.js.map +1 -1
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Ellipsis.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Ellipsis.js +4 -2
- package/dist/src/ui/components/icon-components/Ellipsis.js.map +1 -1
- package/dist/src/ui/components/icon-components/Error.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Error.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Error.js +4 -2
- package/dist/src/ui/components/icon-components/Error.js.map +1 -1
- package/dist/src/ui/components/icon-components/Ethscan.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Ethscan.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Ethscan.js +4 -2
- package/dist/src/ui/components/icon-components/Ethscan.js.map +1 -1
- package/dist/src/ui/components/icon-components/Exclamation.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Exclamation.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Exclamation.js +4 -2
- package/dist/src/ui/components/icon-components/Exclamation.js.map +1 -1
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ExportCsv.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ExportCsv.js +4 -2
- package/dist/src/ui/components/icon-components/ExportCsv.js.map +1 -1
- package/dist/src/ui/components/icon-components/ExportJson.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ExportJson.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ExportJson.js +4 -2
- package/dist/src/ui/components/icon-components/ExportJson.js.map +1 -1
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ExportPdf.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ExportPdf.js +4 -2
- package/dist/src/ui/components/icon-components/ExportPdf.js.map +1 -1
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ExportUbl.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ExportUbl.js +4 -2
- package/dist/src/ui/components/icon-components/ExportUbl.js.map +1 -1
- package/dist/src/ui/components/icon-components/ExportZip.d.ts +6 -2
- package/dist/src/ui/components/icon-components/ExportZip.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/ExportZip.js +4 -2
- package/dist/src/ui/components/icon-components/ExportZip.js.map +1 -1
- package/dist/src/ui/components/icon-components/File.d.ts +6 -2
- package/dist/src/ui/components/icon-components/File.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/File.js +4 -2
- package/dist/src/ui/components/icon-components/File.js.map +1 -1
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts +6 -2
- package/dist/src/ui/components/icon-components/FilesEarmark.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/FilesEarmark.js +4 -2
- package/dist/src/ui/components/icon-components/FilesEarmark.js.map +1 -1
- package/dist/src/ui/components/icon-components/FolderClose.d.ts +6 -2
- package/dist/src/ui/components/icon-components/FolderClose.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/FolderClose.js +4 -2
- package/dist/src/ui/components/icon-components/FolderClose.js.map +1 -1
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts +6 -2
- package/dist/src/ui/components/icon-components/FolderOpen.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/FolderOpen.js +4 -2
- package/dist/src/ui/components/icon-components/FolderOpen.js.map +1 -1
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts +6 -2
- package/dist/src/ui/components/icon-components/FolderPlus.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/FolderPlus.js +4 -2
- package/dist/src/ui/components/icon-components/FolderPlus.js.map +1 -1
- package/dist/src/ui/components/icon-components/Forum.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Forum.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Forum.js +4 -2
- package/dist/src/ui/components/icon-components/Forum.js.map +1 -1
- package/dist/src/ui/components/icon-components/Gear.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Gear.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Gear.js +4 -2
- package/dist/src/ui/components/icon-components/Gear.js.map +1 -1
- package/dist/src/ui/components/icon-components/Github.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Github.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Github.js +4 -2
- package/dist/src/ui/components/icon-components/Github.js.map +1 -1
- package/dist/src/ui/components/icon-components/Globe.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Globe.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Globe.js +4 -2
- package/dist/src/ui/components/icon-components/Globe.js.map +1 -1
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts +6 -2
- package/dist/src/ui/components/icon-components/GlobeWww.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/GlobeWww.js +4 -2
- package/dist/src/ui/components/icon-components/GlobeWww.js.map +1 -1
- package/dist/src/ui/components/icon-components/Hdd.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Hdd.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Hdd.js +4 -2
- package/dist/src/ui/components/icon-components/Hdd.js.map +1 -1
- package/dist/src/ui/components/icon-components/History.d.ts +6 -2
- package/dist/src/ui/components/icon-components/History.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/History.js +4 -2
- package/dist/src/ui/components/icon-components/History.js.map +1 -1
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts +6 -2
- package/dist/src/ui/components/icon-components/InfoSquare.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/InfoSquare.js +4 -2
- package/dist/src/ui/components/icon-components/InfoSquare.js.map +1 -1
- package/dist/src/ui/components/icon-components/Link.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Link.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Link.js +4 -2
- package/dist/src/ui/components/icon-components/Link.js.map +1 -1
- package/dist/src/ui/components/icon-components/Linkedin.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Linkedin.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Linkedin.js +4 -2
- package/dist/src/ui/components/icon-components/Linkedin.js.map +1 -1
- package/dist/src/ui/components/icon-components/Lock.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Lock.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Lock.js +4 -2
- package/dist/src/ui/components/icon-components/Lock.js.map +1 -1
- package/dist/src/ui/components/icon-components/M.d.ts +6 -2
- package/dist/src/ui/components/icon-components/M.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/M.js +4 -2
- package/dist/src/ui/components/icon-components/M.js.map +1 -1
- package/dist/src/ui/components/icon-components/Modified.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Modified.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Modified.js +4 -2
- package/dist/src/ui/components/icon-components/Modified.js.map +1 -1
- package/dist/src/ui/components/icon-components/Moved.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Moved.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Moved.js +4 -2
- package/dist/src/ui/components/icon-components/Moved.js.map +1 -1
- package/dist/src/ui/components/icon-components/Npm.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Npm.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Npm.js +4 -2
- package/dist/src/ui/components/icon-components/Npm.js.map +1 -1
- package/dist/src/ui/components/icon-components/PackageManager.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PackageManager.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PackageManager.js +4 -2
- package/dist/src/ui/components/icon-components/PackageManager.js.map +1 -1
- package/dist/src/ui/components/icon-components/Pencil.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Pencil.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Pencil.js +4 -2
- package/dist/src/ui/components/icon-components/Pencil.js.map +1 -1
- package/dist/src/ui/components/icon-components/People.d.ts +6 -2
- package/dist/src/ui/components/icon-components/People.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/People.js +4 -2
- package/dist/src/ui/components/icon-components/People.js.map +1 -1
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PeopleFill.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PeopleFill.js +4 -2
- package/dist/src/ui/components/icon-components/PeopleFill.js.map +1 -1
- package/dist/src/ui/components/icon-components/Person.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Person.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Person.js +4 -2
- package/dist/src/ui/components/icon-components/Person.js.map +1 -1
- package/dist/src/ui/components/icon-components/Pin.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Pin.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Pin.js +4 -2
- package/dist/src/ui/components/icon-components/Pin.js.map +1 -1
- package/dist/src/ui/components/icon-components/PinFilled.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PinFilled.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PinFilled.js +4 -2
- package/dist/src/ui/components/icon-components/PinFilled.js.map +1 -1
- package/dist/src/ui/components/icon-components/Plus.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Plus.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Plus.js +4 -2
- package/dist/src/ui/components/icon-components/Plus.js.map +1 -1
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PlusCircle.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PlusCircle.js +4 -2
- package/dist/src/ui/components/icon-components/PlusCircle.js.map +1 -1
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PlusSquare.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PlusSquare.js +4 -2
- package/dist/src/ui/components/icon-components/PlusSquare.js.map +1 -1
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts +6 -2
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js +4 -2
- package/dist/src/ui/components/icon-components/PowerhouseLogoSmall.js.map +1 -1
- package/dist/src/ui/components/icon-components/Project.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Project.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Project.js +4 -2
- package/dist/src/ui/components/icon-components/Project.js.map +1 -1
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts +6 -2
- package/dist/src/ui/components/icon-components/QuestionSquare.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/QuestionSquare.js +4 -2
- package/dist/src/ui/components/icon-components/QuestionSquare.js.map +1 -1
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts +6 -2
- package/dist/src/ui/components/icon-components/RedoArrow.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/RedoArrow.js +4 -2
- package/dist/src/ui/components/icon-components/RedoArrow.js.map +1 -1
- package/dist/src/ui/components/icon-components/Reload.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Reload.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Reload.js +4 -2
- package/dist/src/ui/components/icon-components/Reload.js.map +1 -1
- package/dist/src/ui/components/icon-components/Removed.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Removed.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Removed.js +4 -2
- package/dist/src/ui/components/icon-components/Removed.js.map +1 -1
- package/dist/src/ui/components/icon-components/Renown.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Renown.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Renown.js +4 -2
- package/dist/src/ui/components/icon-components/Renown.js.map +1 -1
- package/dist/src/ui/components/icon-components/RenownHover.d.ts +6 -2
- package/dist/src/ui/components/icon-components/RenownHover.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/RenownHover.js +4 -2
- package/dist/src/ui/components/icon-components/RenownHover.js.map +1 -1
- package/dist/src/ui/components/icon-components/RenownLight.d.ts +6 -2
- package/dist/src/ui/components/icon-components/RenownLight.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/RenownLight.js +4 -2
- package/dist/src/ui/components/icon-components/RenownLight.js.map +1 -1
- package/dist/src/ui/components/icon-components/Ring.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Ring.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Ring.js +4 -2
- package/dist/src/ui/components/icon-components/Ring.js.map +1 -1
- package/dist/src/ui/components/icon-components/Save.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Save.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Save.js +4 -2
- package/dist/src/ui/components/icon-components/Save.js.map +1 -1
- package/dist/src/ui/components/icon-components/Search.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Search.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Search.js +4 -2
- package/dist/src/ui/components/icon-components/Search.js.map +1 -1
- package/dist/src/ui/components/icon-components/Server.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Server.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Server.js +4 -2
- package/dist/src/ui/components/icon-components/Server.js.map +1 -1
- package/dist/src/ui/components/icon-components/Settings.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Settings.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Settings.js +4 -2
- package/dist/src/ui/components/icon-components/Settings.js.map +1 -1
- package/dist/src/ui/components/icon-components/Synced.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Synced.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Synced.js +4 -2
- package/dist/src/ui/components/icon-components/Synced.js.map +1 -1
- package/dist/src/ui/components/icon-components/Syncing.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Syncing.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Syncing.js +4 -2
- package/dist/src/ui/components/icon-components/Syncing.js.map +1 -1
- package/dist/src/ui/components/icon-components/Tabler.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Tabler.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Tabler.js +4 -2
- package/dist/src/ui/components/icon-components/Tabler.js.map +1 -1
- package/dist/src/ui/components/icon-components/Timeline.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Timeline.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Timeline.js +4 -2
- package/dist/src/ui/components/icon-components/Timeline.js.map +1 -1
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts +6 -2
- package/dist/src/ui/components/icon-components/TimelineCaret.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/TimelineCaret.js +4 -2
- package/dist/src/ui/components/icon-components/TimelineCaret.js.map +1 -1
- package/dist/src/ui/components/icon-components/Trash.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Trash.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Trash.js +4 -2
- package/dist/src/ui/components/icon-components/Trash.js.map +1 -1
- package/dist/src/ui/components/icon-components/TrashFill.d.ts +6 -2
- package/dist/src/ui/components/icon-components/TrashFill.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/TrashFill.js +4 -2
- package/dist/src/ui/components/icon-components/TrashFill.js.map +1 -1
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts +6 -2
- package/dist/src/ui/components/icon-components/TreeViewSlash.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/TreeViewSlash.js +4 -2
- package/dist/src/ui/components/icon-components/TreeViewSlash.js.map +1 -1
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts +6 -2
- package/dist/src/ui/components/icon-components/TriangleDown.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/TriangleDown.js +4 -2
- package/dist/src/ui/components/icon-components/TriangleDown.js.map +1 -1
- package/dist/src/ui/components/icon-components/Tube.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Tube.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Tube.js +4 -2
- package/dist/src/ui/components/icon-components/Tube.js.map +1 -1
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts +6 -2
- package/dist/src/ui/components/icon-components/VariantArrowLeft.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js +4 -2
- package/dist/src/ui/components/icon-components/VariantArrowLeft.js.map +1 -1
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts +6 -2
- package/dist/src/ui/components/icon-components/VerticalDots.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/VerticalDots.js +4 -2
- package/dist/src/ui/components/icon-components/VerticalDots.js.map +1 -1
- package/dist/src/ui/components/icon-components/WarningFill.d.ts +6 -2
- package/dist/src/ui/components/icon-components/WarningFill.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/WarningFill.js +4 -2
- package/dist/src/ui/components/icon-components/WarningFill.js.map +1 -1
- package/dist/src/ui/components/icon-components/XTwitter.d.ts +6 -2
- package/dist/src/ui/components/icon-components/XTwitter.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/XTwitter.js +4 -2
- package/dist/src/ui/components/icon-components/XTwitter.js.map +1 -1
- package/dist/src/ui/components/icon-components/Xmark.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Xmark.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Xmark.js +4 -2
- package/dist/src/ui/components/icon-components/Xmark.js.map +1 -1
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts +6 -2
- package/dist/src/ui/components/icon-components/XmarkLight.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/XmarkLight.js +4 -2
- package/dist/src/ui/components/icon-components/XmarkLight.js.map +1 -1
- package/dist/src/ui/components/icon-components/Youtube.d.ts +6 -2
- package/dist/src/ui/components/icon-components/Youtube.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/Youtube.js +4 -2
- package/dist/src/ui/components/icon-components/Youtube.js.map +1 -1
- package/dist/src/ui/components/icon-components/index.d.ts +2 -3
- package/dist/src/ui/components/icon-components/index.d.ts.map +1 -1
- package/dist/src/ui/components/icon-components/index.js +245 -245
- package/dist/src/ui/components/icon-components/index.js.map +1 -1
- package/dist/src/ui/components/icon-components/types.d.ts +3 -0
- package/dist/src/ui/components/icon-components/types.d.ts.map +1 -0
- package/dist/src/ui/components/icon-components/types.js +2 -0
- package/dist/src/ui/components/icon-components/types.js.map +1 -0
- package/dist/src/ui/components/index.d.ts +18 -18
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +18 -18
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.js +59 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/api-usage.js.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.d.ts +12 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.js +13 -0
- package/dist/src/ui/components/object-set-table/examples/api-usage/button.js.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js +21 -22
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js.map +1 -1
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js +15 -15
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js.map +1 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +11 -13
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +1 -1
- package/dist/src/ui/components/object-set-table/index.d.ts +2 -2
- package/dist/src/ui/components/object-set-table/index.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/index.js +2 -2
- package/dist/src/ui/components/object-set-table/index.js.map +1 -1
- package/dist/src/ui/components/object-set-table/logic/public-table-api.d.ts +9 -0
- package/dist/src/ui/components/object-set-table/logic/public-table-api.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/public-table-api.js +43 -0
- package/dist/src/ui/components/object-set-table/logic/public-table-api.js.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +25 -7
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js +48 -13
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +1 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +13 -7
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.js +15 -10
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +1 -1
- package/dist/src/ui/components/object-set-table/logic/types.d.ts +31 -0
- package/dist/src/ui/components/object-set-table/logic/types.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/logic/types.js +2 -0
- package/dist/src/ui/components/object-set-table/logic/types.js.map +1 -0
- package/dist/src/ui/components/object-set-table/mock-data.d.ts +1 -1
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/mock-data.js +63 -63
- package/dist/src/ui/components/object-set-table/mock-data.js.map +1 -1
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts +1 -1
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/object-set-table.js +10 -14
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +3 -3
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.js +15 -20
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +2 -2
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +3 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +5 -5
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js +2 -2
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/boolean-render.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +8 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +2 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +2 -2
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +4 -4
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +3 -3
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.js +8 -8
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +3 -9
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +7 -5
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +7 -6
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +16 -7
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +16 -11
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +27 -32
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +1 -1
- package/dist/src/ui/components/object-set-table/types.d.ts +11 -9
- package/dist/src/ui/components/object-set-table/types.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/utils.d.ts +2 -2
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +1 -1
- package/dist/src/ui/components/object-set-table/utils.js +20 -20
- package/dist/src/ui/components/object-set-table/utils.js.map +1 -1
- package/dist/src/ui/components/sidebar/index.d.ts +3 -3
- package/dist/src/ui/components/sidebar/index.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/index.js +2 -2
- package/dist/src/ui/components/sidebar/index.js.map +1 -1
- package/dist/src/ui/components/sidebar/sidebar.d.ts +1 -1
- package/dist/src/ui/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/sidebar.js +16 -16
- package/dist/src/ui/components/sidebar/sidebar.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +9 -9
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +10 -7
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +22 -36
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +3 -3
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +6 -6
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +21 -16
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +3 -3
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +3 -3
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +4 -4
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +2 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +17 -17
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +2 -2
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +9 -9
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +1 -1
- package/dist/src/ui/components/sidebar/types.d.ts +3 -3
- package/dist/src/ui/components/sidebar/types.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +1 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js +14 -14
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +1 -1
- package/dist/src/ui/components/sidebar/utils.d.ts +4 -4
- package/dist/src/ui/components/sidebar/utils.d.ts.map +1 -1
- package/dist/src/ui/components/sidebar/utils.js +5 -7
- package/dist/src/ui/components/sidebar/utils.js.map +1 -1
- package/dist/src/ui/components/tooltip/index.d.ts +1 -1
- package/dist/src/ui/components/tooltip/index.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/index.js +1 -1
- package/dist/src/ui/components/tooltip/index.js.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.d.ts +3 -3
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.js +11 -10
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/ui/index.d.ts +1 -1
- package/dist/src/ui/index.d.ts.map +1 -1
- package/dist/src/ui/index.js +1 -1
- package/dist/src/ui/index.js.map +1 -1
- package/dist/style.css +13 -6
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +13 -2
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts +0 -5
- package/dist/src/scalars/EthereumAddress/EthereumAddress.d.ts.map +0 -1
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js +0 -14
- package/dist/src/scalars/EthereumAddress/EthereumAddress.js.map +0 -1
- package/dist/src/scalars/EthereumAddress/index.d.ts +0 -2
- package/dist/src/scalars/EthereumAddress/index.d.ts.map +0 -1
- package/dist/src/scalars/EthereumAddress/index.js +0 -2
- package/dist/src/scalars/EthereumAddress/index.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/defaults.js +0 -43
- package/dist/src/scalars/components/currency-code-field/defaults.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/utils.js +0 -40
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { NumberFieldRaw } from
|
|
7
|
-
import { useAmountInput } from
|
|
8
|
-
const
|
|
2
|
+
import { forwardRef, useId, useState } from 'react';
|
|
3
|
+
import { FormDescription, FormGroup, FormLabel, FormMessageList, } from '../../../../scalars/components/fragments/index.js';
|
|
4
|
+
import { cn } from '../../../../scalars/lib/utils.js';
|
|
5
|
+
import { CurrencyCodePicker } from '../currency-code-picker/index.js';
|
|
6
|
+
import { NumberFieldRaw } from '../../../../scalars/components/number-field/index.js';
|
|
7
|
+
import { useAmountInput } from './use-amount-input.js';
|
|
8
|
+
const AmountInputController = forwardRef(({ label, value, id: propId, minValue, maxValue, onChange, onBlur, disabled, className, required, errors, warnings, description, defaultValue, type, numberProps, selectProps, step = 1, currencyPosition = 'right', name, trailingZeros, viewPrecision, precision, placeholder, placeholderSelect, units, includeCurrencySymbols, symbolPosition, }, ref) => {
|
|
9
9
|
const generatedId = useId();
|
|
10
10
|
const id = propId ?? generatedId;
|
|
11
11
|
const { isShowSelect, isPercent, options, valueSelect, valueInput, handleOnChangeInput, handleOnChangeSelect, handleBlur, isBigInt, handleIsInputFocused, isAmountWithoutUnit, inputFocused, } = useAmountInput({
|
|
@@ -19,18 +19,27 @@ const AmountInput = forwardRef(({ label, value, id: propId, minValue, maxValue,
|
|
|
19
19
|
trailingZeros,
|
|
20
20
|
units,
|
|
21
21
|
});
|
|
22
|
-
return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: required, disabled: disabled, hasError: !!errors?.length, className: cn(disabled &&
|
|
22
|
+
return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: required, disabled: disabled, hasError: !!errors?.length, className: cn(disabled && 'mb-[3px]'), children: label })), _jsxs("div", { className: cn('relative flex items-center'), children: [_jsx("input", { name: name, type: "hidden", "data-cast": isBigInt ? 'AmountBigInt' : 'AmountNumber' }), _jsxs("div", { className: cn('relative flex items-center'), children: [isShowSelect && currencyPosition === 'left' && (_jsx(CurrencyCodePicker, { contentAlign: "start", contentClassName: "[&]:!w-[120px] w-full", disabled: disabled, currencies: options, onChange: handleOnChangeSelect, placeholder: placeholderSelect, includeCurrencySymbols: includeCurrencySymbols, symbolPosition: symbolPosition, searchable: false, className: cn('rounded-l-md rounded-r-none border border-gray-300', 'border-r-[0.5px]',
|
|
23
23
|
// focus state
|
|
24
|
-
|
|
25
|
-
? undefined
|
|
26
|
-
: valueInput, id: id, maxValue: maxValue, precision: precision, minValue: minValue, onChange: handleOnChangeInput, onFocus: handleIsInputFocused, placeholder: placeholder, className: cn(currencyPosition === "left" &&
|
|
27
|
-
"rounded-l-none border border-l-[0.5px] border-gray-300", currencyPosition === "right" &&
|
|
28
|
-
"rounded-r-none border border-r-[0.5px] border-gray-300", isPercent && "rounded-md pr-7",
|
|
29
|
-
// focus state
|
|
30
|
-
"focus:border-r-0", isAmountWithoutUnit && "rounded-md", className), onBlur: handleBlur, ref: ref, ...(numberProps || {}) }), isPercent && !inputFocused && (_jsx("span", { className: cn("pointer-events-none absolute inset-y-0 right-2 ml-2 flex items-center", disabled ? "text-gray-400" : "text-gray-900"), children: "%" }))] }), isShowSelect && currencyPosition === "right" && (_jsx(CurrencyCodeFieldRaw, { contentAlign: "end", contentClassName: "[&]:!w-[120px] w-full", disabled: disabled, includeCurrencySymbols: includeCurrencySymbols, currencies: options ?? [], value: valueSelect, onChange: handleOnChangeSelect, name: "", placeholder: placeholderSelect, symbolPosition: symbolPosition, searchable: false, className: cn("rounded-l-none rounded-r-md border border-gray-300", "border-l-[0.5px]",
|
|
24
|
+
'focus:border-r-none focus:z-10 focus:ring-1 focus:ring-gray-900 focus:ring-offset-0', 'focus:outline-none', selectProps?.className), ...(selectProps ?? { name: '' }) })), _jsx(NumberFieldRaw, { name: "", step: step, required: required, disabled: disabled, value: valueInput === undefined ? undefined : valueInput, id: id, maxValue: maxValue, precision: precision, minValue: minValue, onChange: handleOnChangeInput, onFocus: handleIsInputFocused, placeholder: placeholder, className: cn(currencyPosition === 'left' && 'rounded-l-none border-l-[0.5px]', currencyPosition === 'right' && 'rounded-r-none border-r-[0.5px]', isPercent && 'rounded-md pr-7', isAmountWithoutUnit && 'rounded-md', className), onBlur: handleBlur, ref: ref, ...(numberProps || {}) }), isPercent && !inputFocused && (_jsx("span", { className: cn('pointer-events-none absolute inset-y-0 right-2 ml-2 flex items-center', disabled ? 'text-gray-400' : 'text-gray-900'), children: "%" }))] }), isShowSelect && currencyPosition === 'right' && (_jsx(CurrencyCodePicker, { contentAlign: "end", contentClassName: "[&]:!w-[120px] w-full", disabled: disabled, includeCurrencySymbols: includeCurrencySymbols, currencies: options, value: valueSelect, onChange: handleOnChangeSelect, name: "", placeholder: placeholderSelect, symbolPosition: symbolPosition, searchable: false, className: cn('rounded-l-none rounded-r-md border border-gray-300', 'border-l-[0.5px]',
|
|
31
25
|
// focus state
|
|
32
|
-
|
|
26
|
+
'focus:border-l-none focus:z-10 focus:ring-1 focus:ring-gray-900 focus:ring-offset-0', 'focus:outline-none', selectProps?.className) }))] }), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
33
27
|
});
|
|
34
|
-
|
|
28
|
+
AmountInputController.displayName = 'AmountInputController';
|
|
29
|
+
const AmountInputUncontroller = (props) => {
|
|
30
|
+
const [value, setValue] = useState(props.value ?? props.defaultValue);
|
|
31
|
+
const handleChange = (e) => {
|
|
32
|
+
const newValue = e.target.value;
|
|
33
|
+
setValue(newValue);
|
|
34
|
+
};
|
|
35
|
+
return _jsx(AmountInputController, { ...props, value: value, onChange: handleChange });
|
|
36
|
+
};
|
|
37
|
+
const AmountInput = (props) => {
|
|
38
|
+
if (props.onChange) {
|
|
39
|
+
return _jsx(AmountInputController, { ...props });
|
|
40
|
+
}
|
|
41
|
+
return _jsx(AmountInputUncontroller, { ...props });
|
|
42
|
+
};
|
|
43
|
+
AmountInput.displayName = 'AmountInput';
|
|
35
44
|
export { AmountInput };
|
|
36
45
|
//# sourceMappingURL=amount-input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/amount-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,eAAe,GAChB,MAAM,mDAAmD,
|
|
1
|
+
{"version":3,"file":"amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/amount-input.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,eAAe,GAChB,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAA;AACrD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAEpF,OAAO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AAM,YAAY,GAAG,CAAC,CAAsC,EAAE,EAAE;QAC9D,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAA;QAC/B,QAAQ,CAAC,QAAkB,CAAC,CAAA;IAC9B,CAAC,CAAA;IACD,OAAO,KAAC,qBAAqB,OAAK,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,GAAI,CAAA;AACnF,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IAC9C,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;QACnB,OAAO,KAAC,qBAAqB,OAAK,KAAK,GAAI,CAAA;IAC7C,CAAC;IACD,OAAO,KAAC,uBAAuB,OAAM,KAAsC,GAAI,CAAA;AACjF,CAAC,CAAA;AAED,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAyB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AmountInput, type AmountInputProps } from
|
|
1
|
+
export { AmountInput, type AmountInputProps } from './amount-input.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AmountInput } from
|
|
1
|
+
export { AmountInput } from './amount-input.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import type { Currency } from '../currency-code-picker/types.js';
|
|
2
|
+
export interface Amount {
|
|
3
3
|
amount?: number;
|
|
4
4
|
unit?: CurrencyTicker;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export type AmountPercentage = number | undefined;
|
|
7
|
-
export type CurrencyTicker = Currency[
|
|
7
|
+
export type CurrencyTicker = Currency['ticker'];
|
|
8
8
|
export interface AmountFiat {
|
|
9
9
|
amount?: number;
|
|
10
10
|
unit: CurrencyTicker;
|
|
@@ -18,25 +18,30 @@ export interface AmountCurrency {
|
|
|
18
18
|
unit: CurrencyTicker;
|
|
19
19
|
}
|
|
20
20
|
export type AmountInputPropsGeneric = {
|
|
21
|
-
type:
|
|
21
|
+
type: 'Amount';
|
|
22
22
|
value?: Amount;
|
|
23
|
+
defaultValue?: Amount;
|
|
23
24
|
trailingZeros?: boolean;
|
|
24
25
|
} | {
|
|
25
|
-
type:
|
|
26
|
+
type: 'AmountFiat';
|
|
26
27
|
value?: AmountFiat;
|
|
28
|
+
defaultValue?: AmountFiat;
|
|
27
29
|
trailingZeros?: boolean;
|
|
28
30
|
} | {
|
|
29
|
-
type:
|
|
31
|
+
type: 'AmountPercentage';
|
|
30
32
|
value?: AmountPercentage;
|
|
33
|
+
defaultValue?: AmountPercentage;
|
|
31
34
|
trailingZeros?: boolean;
|
|
32
35
|
units?: never;
|
|
33
36
|
} | {
|
|
34
|
-
type:
|
|
37
|
+
type: 'AmountCrypto';
|
|
35
38
|
value?: AmountCrypto;
|
|
39
|
+
defaultValue?: AmountCrypto;
|
|
36
40
|
trailingZeros?: never;
|
|
37
41
|
} | {
|
|
38
|
-
type:
|
|
42
|
+
type: 'AmountCurrency';
|
|
39
43
|
value?: AmountCurrency;
|
|
44
|
+
defaultValue?: AmountCurrency;
|
|
40
45
|
trailingZeros?: boolean;
|
|
41
46
|
};
|
|
42
47
|
export type AmountValue = Amount | AmountPercentage | AmountFiat | AmountCrypto | AmountCurrency;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,WAAW,MAAM;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,cAAc,CAAA;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,CAAA;AACjD,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAE/C,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,cAAc,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,cAAc,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,EAAE,cAAc,CAAA;CACrB;AAED,MAAM,MAAM,uBAAuB,GAC/B;IACE,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACD;IACE,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACD;IACE,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,YAAY,CAAC,EAAE,gBAAgB,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,GACD;IACE,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,aAAa,CAAC,EAAE,KAAK,CAAA;CACtB,GACD;IACE,IAAI,EAAE,gBAAgB,CAAA;IACtB,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,YAAY,CAAC,EAAE,cAAc,CAAA;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAEL,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,gBAAgB,GAAG,UAAU,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Currency } from '../currency-code-picker/types.js';
|
|
2
|
+
import type { AmountInputPropsGeneric, AmountValue } from './types.js';
|
|
3
3
|
interface UseAmountInputProps {
|
|
4
4
|
value?: AmountValue;
|
|
5
5
|
defaultValue?: AmountValue;
|
|
6
|
-
type: AmountInputPropsGeneric[
|
|
6
|
+
type: AmountInputPropsGeneric['type'];
|
|
7
7
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
9
9
|
precision?: number;
|
|
@@ -14,12 +14,12 @@ interface UseAmountInputProps {
|
|
|
14
14
|
export declare const useAmountInput: ({ value, defaultValue, type, onChange, onBlur, precision, viewPrecision, trailingZeros, units, }: UseAmountInputProps) => {
|
|
15
15
|
isPercent: boolean;
|
|
16
16
|
isShowSelect: boolean;
|
|
17
|
-
options: {
|
|
17
|
+
options: Currency[] | {
|
|
18
18
|
ticker: string;
|
|
19
19
|
crypto: boolean;
|
|
20
20
|
label: string;
|
|
21
21
|
symbol: string;
|
|
22
|
-
}[]
|
|
22
|
+
}[];
|
|
23
23
|
valueInput: string | number | undefined;
|
|
24
24
|
valueSelect: string | undefined;
|
|
25
25
|
handleOnChangeInput: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-amount-input.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"use-amount-input.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAGhE,OAAO,KAAK,EAAoD,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAYxH,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAA;IACrC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAC3D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IACxD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;CACnB;AAED,eAAO,MAAM,cAAc,GAAI,kGAU5B,mBAAmB;;;;;;;;;;;6BAiHY,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC;8BA2DlC,MAAM,GAAG,MAAM,EAAE;oBAmC3B,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;;;;;CA6I1D,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useEffect, useMemo, useState } from
|
|
2
|
-
import { isValidNumber } from
|
|
3
|
-
import { createAmountValue, displayValueAmount, getDefaultUnits, handleEventOnBlur, handleEventOnChange, isNotSafeValue, isValidBigInt, isValidNumberGreaterThanMaxSafeInteger, } from
|
|
1
|
+
import { useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { isValidNumber } from '../../../../scalars/components/number-field/number-field-validations.js';
|
|
3
|
+
import { createAmountValue, displayValueAmount, getDefaultUnits, handleEventOnBlur, handleEventOnChange, isNotSafeValue, isValidBigInt, isValidNumberGreaterThanMaxSafeInteger, } from './utils.js';
|
|
4
4
|
export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, precision, viewPrecision, trailingZeros, units, }) => {
|
|
5
5
|
const currentValue = value ?? defaultValue;
|
|
6
6
|
const baseValue = useMemo(() => {
|
|
@@ -8,40 +8,37 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
8
8
|
return undefined;
|
|
9
9
|
}
|
|
10
10
|
// If it's an object (for any type), we extract the amount property
|
|
11
|
-
if (typeof currentValue ===
|
|
11
|
+
if (typeof currentValue === 'object') {
|
|
12
12
|
return currentValue.amount;
|
|
13
13
|
}
|
|
14
14
|
// If it's a primitive value (for AmountPercentage)
|
|
15
15
|
return currentValue;
|
|
16
16
|
}, [currentValue]);
|
|
17
17
|
useEffect(() => {
|
|
18
|
-
if (type ===
|
|
19
|
-
if (typeof currentValue ===
|
|
20
|
-
const newValue = currentValue.amount ===
|
|
21
|
-
?
|
|
18
|
+
if (type === 'AmountPercentage') {
|
|
19
|
+
if (typeof currentValue === 'object') {
|
|
20
|
+
const newValue = currentValue.amount === ''
|
|
21
|
+
? ''
|
|
22
22
|
: currentValue.amount === undefined
|
|
23
|
-
?
|
|
23
|
+
? ''
|
|
24
24
|
: currentValue.amount;
|
|
25
25
|
const nativeEvent = handleEventOnChange(newValue);
|
|
26
26
|
onChange?.(nativeEvent);
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
|
-
if (typeof currentValue ===
|
|
30
|
-
typeof currentValue ===
|
|
31
|
-
typeof currentValue ===
|
|
32
|
-
typeof currentValue ===
|
|
29
|
+
if (typeof currentValue === 'number' ||
|
|
30
|
+
typeof currentValue === 'string' ||
|
|
31
|
+
typeof currentValue === 'bigint' ||
|
|
32
|
+
typeof currentValue === 'undefined') {
|
|
33
33
|
const nativeEvent = handleEventOnChange(currentValue);
|
|
34
34
|
onChange?.(nativeEvent);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
if ((type ===
|
|
38
|
-
|
|
39
|
-
type === "Amount" ||
|
|
40
|
-
type === "AmountCurrency") &&
|
|
41
|
-
(typeof currentValue === "number" || typeof currentValue === "string")) {
|
|
37
|
+
if ((type === 'AmountFiat' || type === 'AmountCrypto' || type === 'Amount' || type === 'AmountCurrency') &&
|
|
38
|
+
(typeof currentValue === 'number' || typeof currentValue === 'string')) {
|
|
42
39
|
const newValue = {
|
|
43
40
|
amount: currentValue,
|
|
44
|
-
unit:
|
|
41
|
+
unit: '',
|
|
45
42
|
};
|
|
46
43
|
const nativeEvent = handleEventOnChange(newValue);
|
|
47
44
|
onChange?.(nativeEvent);
|
|
@@ -51,64 +48,60 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
51
48
|
if (currentValue === undefined) {
|
|
52
49
|
return undefined;
|
|
53
50
|
}
|
|
54
|
-
//
|
|
55
|
-
if (typeof currentValue ===
|
|
56
|
-
|
|
51
|
+
// Type guard to check if currentValue is an object with a unit property
|
|
52
|
+
if (typeof currentValue === 'object' && 'unit' in currentValue) {
|
|
53
|
+
const typedValue = currentValue;
|
|
54
|
+
return typedValue.unit;
|
|
57
55
|
}
|
|
58
56
|
return undefined;
|
|
59
57
|
}, [currentValue]);
|
|
60
|
-
const isBigInt = type ===
|
|
61
|
-
(type ===
|
|
62
|
-
isValidNumberGreaterThanMaxSafeInteger(baseValue?.toString()));
|
|
58
|
+
const isBigInt = type === 'AmountCrypto' ||
|
|
59
|
+
(type === 'AmountCurrency' && isValidNumberGreaterThanMaxSafeInteger(baseValue?.toString()));
|
|
63
60
|
const [inputFocused, setInputFocused] = useState(false);
|
|
64
|
-
const rawAmountState = baseValue?.toString() ??
|
|
61
|
+
const rawAmountState = baseValue?.toString() ?? '';
|
|
65
62
|
const displayValueAmountState = useMemo(() => {
|
|
66
63
|
if (inputFocused) {
|
|
67
64
|
return rawAmountState;
|
|
68
65
|
}
|
|
69
|
-
if (type ===
|
|
70
|
-
type === "AmountPercentage" ||
|
|
71
|
-
type === "AmountFiat") {
|
|
66
|
+
if (type === 'Amount' || type === 'AmountPercentage' || type === 'AmountFiat') {
|
|
72
67
|
if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
|
|
73
68
|
// Return the value without formatting if not valid
|
|
74
|
-
return baseValue?.toString() ??
|
|
69
|
+
return baseValue?.toString() ?? '';
|
|
75
70
|
}
|
|
76
71
|
}
|
|
77
|
-
if (type ===
|
|
72
|
+
if (type === 'AmountCrypto') {
|
|
78
73
|
return baseValue?.toString();
|
|
79
74
|
}
|
|
80
|
-
if (type ===
|
|
75
|
+
if (type === 'AmountCurrency') {
|
|
81
76
|
if (isValidNumberGreaterThanMaxSafeInteger(rawAmountState)) {
|
|
82
77
|
// // Return the value without formatting if not valid
|
|
83
|
-
return baseValue?.toString() ??
|
|
78
|
+
return baseValue?.toString() ?? '';
|
|
84
79
|
}
|
|
85
80
|
if (!isValidNumber(rawAmountState) || isNotSafeValue(rawAmountState)) {
|
|
86
81
|
// Return the value without formatting if not valid
|
|
87
|
-
return baseValue?.toString() ??
|
|
82
|
+
return baseValue?.toString() ?? '';
|
|
88
83
|
}
|
|
89
84
|
}
|
|
90
85
|
// Here its safe to format the value
|
|
91
|
-
return displayValueAmount(baseValue?.toString() ??
|
|
92
|
-
}, [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
precision,
|
|
97
|
-
viewPrecision,
|
|
98
|
-
trailingZeros,
|
|
99
|
-
rawAmountState,
|
|
100
|
-
]);
|
|
101
|
-
const isPercent = type === "AmountPercentage";
|
|
102
|
-
const isAmountWithUnit = type === "Amount" && typeof value === "object" && "unit" in value;
|
|
103
|
-
const isAmountWithoutUnit = type === "Amount" && !isAmountWithUnit;
|
|
86
|
+
return displayValueAmount(baseValue?.toString() ?? '', precision, viewPrecision, trailingZeros);
|
|
87
|
+
}, [inputFocused, type, baseValue, precision, viewPrecision, trailingZeros, rawAmountState]);
|
|
88
|
+
const isPercent = type === 'AmountPercentage';
|
|
89
|
+
const isAmountWithUnit = type === 'Amount' && typeof value === 'object' && 'unit' in value;
|
|
90
|
+
const isAmountWithoutUnit = type === 'Amount' && !isAmountWithUnit;
|
|
104
91
|
const isShowSelect = (isAmountWithUnit && units && units.length > 0) ||
|
|
105
|
-
type ===
|
|
106
|
-
type ===
|
|
107
|
-
type ===
|
|
92
|
+
type === 'AmountFiat' ||
|
|
93
|
+
type === 'AmountCrypto' ||
|
|
94
|
+
type === 'AmountCurrency';
|
|
108
95
|
// Handle the change of the input
|
|
109
96
|
const handleOnChangeInput = (e) => {
|
|
97
|
+
if (currentValue === undefined) {
|
|
98
|
+
const inputValue = e.target.value;
|
|
99
|
+
const newValue = createAmountValue(inputValue);
|
|
100
|
+
const nativeEvent = handleEventOnChange(newValue);
|
|
101
|
+
onChange?.(nativeEvent);
|
|
102
|
+
}
|
|
110
103
|
const inputValue = e.target.value;
|
|
111
|
-
if (type ===
|
|
104
|
+
if (type === 'AmountFiat' && typeof value === 'object') {
|
|
112
105
|
const newValue = {
|
|
113
106
|
...value,
|
|
114
107
|
amount: createAmountValue(inputValue),
|
|
@@ -117,7 +110,7 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
117
110
|
onChange?.(nativeEvent);
|
|
118
111
|
}
|
|
119
112
|
// Handle the change of the currency crypto
|
|
120
|
-
if (type ===
|
|
113
|
+
if (type === 'AmountCrypto' && typeof value === 'object') {
|
|
121
114
|
const newValueCurrencyCrypto = {
|
|
122
115
|
...value,
|
|
123
116
|
amount: createAmountValue(inputValue),
|
|
@@ -125,13 +118,13 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
125
118
|
const nativeEvent = handleEventOnChange(newValueCurrencyCrypto);
|
|
126
119
|
onChange?.(nativeEvent);
|
|
127
120
|
}
|
|
128
|
-
if (type ===
|
|
121
|
+
if (type === 'AmountPercentage') {
|
|
129
122
|
const amountValue = createAmountValue(inputValue);
|
|
130
123
|
const nativeEvent = handleEventOnChange(amountValue);
|
|
131
124
|
onChange?.(nativeEvent);
|
|
132
125
|
}
|
|
133
126
|
// Handle the change of the universal amount
|
|
134
|
-
if (type ===
|
|
127
|
+
if (type === 'AmountCurrency' && typeof value === 'object') {
|
|
135
128
|
const newValue = {
|
|
136
129
|
...value,
|
|
137
130
|
amount: createAmountValue(inputValue),
|
|
@@ -139,7 +132,7 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
139
132
|
const nativeEvent = handleEventOnChange(newValue);
|
|
140
133
|
onChange?.(nativeEvent);
|
|
141
134
|
}
|
|
142
|
-
if (type ===
|
|
135
|
+
if (type === 'Amount' && typeof value === 'object') {
|
|
143
136
|
const newValue = {
|
|
144
137
|
...value,
|
|
145
138
|
amount: createAmountValue(inputValue),
|
|
@@ -151,28 +144,28 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
151
144
|
// Handle the change of the select
|
|
152
145
|
const handleOnChangeSelect = (e) => {
|
|
153
146
|
let newValue = {};
|
|
154
|
-
if (type ===
|
|
147
|
+
if (type === 'AmountFiat' && typeof value === 'object') {
|
|
155
148
|
newValue = {
|
|
156
149
|
...value,
|
|
157
|
-
unit: typeof e ===
|
|
150
|
+
unit: typeof e === 'string' ? e : undefined,
|
|
158
151
|
};
|
|
159
152
|
}
|
|
160
|
-
if (type ===
|
|
153
|
+
if (type === 'AmountCrypto' && typeof value === 'object') {
|
|
161
154
|
newValue = {
|
|
162
155
|
...value,
|
|
163
|
-
unit: typeof e ===
|
|
156
|
+
unit: typeof e === 'string' ? e : undefined,
|
|
164
157
|
};
|
|
165
158
|
}
|
|
166
|
-
if (type ===
|
|
159
|
+
if (type === 'AmountCurrency' && typeof value === 'object') {
|
|
167
160
|
newValue = {
|
|
168
161
|
...value,
|
|
169
|
-
unit: typeof e ===
|
|
162
|
+
unit: typeof e === 'string' ? e : undefined,
|
|
170
163
|
};
|
|
171
164
|
}
|
|
172
|
-
if (type ===
|
|
165
|
+
if (type === 'Amount' && typeof value === 'object') {
|
|
173
166
|
newValue = {
|
|
174
167
|
...value,
|
|
175
|
-
unit: typeof e ===
|
|
168
|
+
unit: typeof e === 'string' ? e : undefined,
|
|
176
169
|
};
|
|
177
170
|
}
|
|
178
171
|
const nativeEvent = handleEventOnChange(newValue);
|
|
@@ -181,8 +174,8 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
181
174
|
const handleBlur = (e) => {
|
|
182
175
|
setInputFocused(false);
|
|
183
176
|
const inputValue = e.target.value;
|
|
184
|
-
//Avoid transformation if the value is not a number
|
|
185
|
-
if (type ===
|
|
177
|
+
// Avoid transformation if the value is not a number
|
|
178
|
+
if (type === 'AmountFiat' && typeof value === 'object') {
|
|
186
179
|
if (!isValidNumber(inputValue)) {
|
|
187
180
|
const newValue = {
|
|
188
181
|
...value,
|
|
@@ -211,7 +204,7 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
211
204
|
const nativeEvent = handleEventOnBlur(newValue);
|
|
212
205
|
onBlur?.(nativeEvent);
|
|
213
206
|
}
|
|
214
|
-
if (type ===
|
|
207
|
+
if (type === 'AmountCrypto' && typeof value === 'object') {
|
|
215
208
|
if (!isValidBigInt(inputValue) || isNotSafeValue(inputValue)) {
|
|
216
209
|
const newValue = {
|
|
217
210
|
...value,
|
|
@@ -228,7 +221,7 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
228
221
|
const nativeEventBlur = handleEventOnBlur(newValue);
|
|
229
222
|
onBlur?.(nativeEventBlur);
|
|
230
223
|
}
|
|
231
|
-
if (type ===
|
|
224
|
+
if (type === 'Amount' || type === 'AmountPercentage') {
|
|
232
225
|
if (!isValidNumber(inputValue)) {
|
|
233
226
|
const nativeEventBlur = handleEventOnBlur(inputValue);
|
|
234
227
|
onBlur?.(nativeEventBlur);
|
|
@@ -247,9 +240,8 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
247
240
|
return;
|
|
248
241
|
}
|
|
249
242
|
// Handle the blur event for AmountCurrency
|
|
250
|
-
if (type ===
|
|
251
|
-
if (isValidBigInt(inputValue) &&
|
|
252
|
-
isValidNumberGreaterThanMaxSafeInteger(inputValue)) {
|
|
243
|
+
if (type === 'AmountCurrency' && typeof value === 'object') {
|
|
244
|
+
if (isValidBigInt(inputValue) && isValidNumberGreaterThanMaxSafeInteger(inputValue)) {
|
|
253
245
|
const formatValue = inputValue;
|
|
254
246
|
const nativeEventBlur = handleEventOnBlur(formatValue);
|
|
255
247
|
onBlur?.(nativeEventBlur);
|
|
@@ -289,10 +281,8 @@ export const useAmountInput = ({ value, defaultValue, type, onChange, onBlur, pr
|
|
|
289
281
|
setInputFocused(true);
|
|
290
282
|
};
|
|
291
283
|
const options = units ?? getDefaultUnits(type);
|
|
292
|
-
//Put the placeholder in case that value its not in the options
|
|
293
|
-
const validatedValueSelect = valueSelect && units?.some((unit) => unit.ticker === valueSelect)
|
|
294
|
-
? valueSelect
|
|
295
|
-
: undefined;
|
|
284
|
+
// Put the placeholder in case that value its not in the options
|
|
285
|
+
const validatedValueSelect = valueSelect && units?.some((unit) => unit.ticker === valueSelect) ? valueSelect : undefined;
|
|
296
286
|
return {
|
|
297
287
|
isPercent,
|
|
298
288
|
isShowSelect,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"use-amount-input.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/use-amount-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yEAAyE,CAAA;AAEvG,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,sCAAsC,GACvC,MAAM,YAAY,CAAA;AAcnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,aAAa,EACb,aAAa,EACb,KAAK,GACe,EAAE,EAAE;IACxB,MAAM,YAAY,GAAG,KAAK,IAAI,YAAY,CAAA;IAE1C,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAC7B,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,SAAS,CAAA;QAClB,CAAC;QAED,mEAAmE;QACnE,IAAI,OAAO,YA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B,OAAM;YACR,CAAC;YACD,MAAM,QAAQ,GAAG;gBACf,GAAG,KAAK;gBACR,MAAM,EAAE,WAAW;aACpB,CAAA;YACD,MAAM,EAAE,CAAC,QAAyD,CAAC,CAAA;QACrE,CAAC;IACH,CAAC,CAAA;IAED,MAAM,oBAAoB,GAAG,GAAG,EAAE;QAChC,eAAe,CAAC,IAAI,CAAC,CAAA;IACvB,CAAC,CAAA;IACD,MAAM,OAAO,GAAG,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,CAAA;IAC9C,gEAAgE;IAChE,MAAM,oBAAoB,GACxB,WAAW,IAAI,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAA;IAE7F,OAAO;QACL,SAAS;QACT,YAAY;QACZ,OAAO;QACP,UAAU,EAAE,uBAAuB;QACnC,WAAW,EAAE,oBAAoB;QACjC,mBAAmB;QACnB,oBAAoB;QACpB,UAAU;QACV,QAAQ;QACR,oBAAoB;QACpB,YAAY;QACZ,mBAAmB;KACpB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { AmountInputPropsGeneric, AmountValue } from
|
|
1
|
+
import type { Currency } from '../currency-code-picker/types.js';
|
|
2
|
+
import type { AmountInputPropsGeneric, AmountValue } from './types.js';
|
|
3
3
|
export declare const getDefaultUnits: (type: AmountInputPropsGeneric["type"]) => {
|
|
4
4
|
ticker: string;
|
|
5
5
|
crypto: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/amount-input/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAEtE,eAAO,MAAM,eAAe,GAAI,MAAM,uBAAuB,CAAC,MAAM,CAAC;;;;;GAYpE,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAOzD,CAAA;AAED,eAAO,MAAM,sCAAsC,GAAI,OAAO,MAAM,GAAG,SAAS,YAM/E,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,YAE3C,CAAA;AAED,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,MAAM,EACd,YAAY,MAAM,EAClB,gBAAgB,MAAM,EACtB,gBAAgB,OAAO,gCA0BxB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,CAAC,KASZ,KAAK,CAAC,WAAW,CAAC,gBAAgB,CACpE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAE,OAAO,CAAC,KASV,KAAK,CAAC,UAAU,CAAC,gBAAgB,CACnE,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,uBAEnD,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,MAAM,uBAAuB,CAAC,MAAM,CAAC,EAAE,OAAO,WAAW,EAAE,QAAQ,QAAQ,EAAE,YAgBxG,CAAA"}
|