@powerhousedao/document-engineering 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +58 -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 +7 -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 +33 -22
- 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 +3 -0
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js +46 -0
- package/dist/src/ui/components/object-set-table/examples/computed-columns/computed-columns.js.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts +3 -0
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.d.ts.map +1 -0
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js +32 -0
- package/dist/src/ui/components/object-set-table/examples/custom-rendering/custom-rendering.js.map +1 -0
- 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 +18 -23
- 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 +19 -11
- 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 +129 -11
- 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,16 +1,16 @@
|
|
|
1
|
-
import { getOffset } from
|
|
1
|
+
import { getOffset } from '../date-time-picker/utils.js';
|
|
2
2
|
export const createChangeEvent = (value) => {
|
|
3
|
-
const nativeEvent = new Event(
|
|
3
|
+
const nativeEvent = new Event('change', {
|
|
4
4
|
bubbles: true,
|
|
5
5
|
cancelable: true,
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(nativeEvent,
|
|
7
|
+
Object.defineProperty(nativeEvent, 'target', {
|
|
8
8
|
value: { value },
|
|
9
9
|
writable: false,
|
|
10
10
|
});
|
|
11
11
|
return nativeEvent;
|
|
12
12
|
};
|
|
13
|
-
export const ALLOWED_TIME_FORMATS = [
|
|
13
|
+
export const ALLOWED_TIME_FORMATS = ['hh:mm a', 'HH:mm', 'hh:mm A'];
|
|
14
14
|
export const isFormatTimeAllowed = (format) => {
|
|
15
15
|
return ALLOWED_TIME_FORMATS.includes(format);
|
|
16
16
|
};
|
|
@@ -21,7 +21,7 @@ export const TIME_PATTERNS = {
|
|
|
21
21
|
HOURS_12: /^(0?[1-9]|1[0-2]):([0-5][0-9])\s(AM|PM|am|pm)$/,
|
|
22
22
|
};
|
|
23
23
|
export const cleanTime = (time) => {
|
|
24
|
-
return time.replace(/\s*(AM|PM)\s*/i,
|
|
24
|
+
return time.replace(/\s*(AM|PM)\s*/i, '');
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* Convert a 24-hour format time to a 12-hour format time
|
|
@@ -29,9 +29,9 @@ export const cleanTime = (time) => {
|
|
|
29
29
|
* @returns The time in 12-hour format like 2:35 PM
|
|
30
30
|
*/
|
|
31
31
|
export const convert24hTo12h = (input) => {
|
|
32
|
-
const [hours, minutes] = input.split(
|
|
32
|
+
const [hours, minutes] = input.split(':');
|
|
33
33
|
const hourNum = parseInt(hours, 10);
|
|
34
|
-
const period = hourNum >= 12 ?
|
|
34
|
+
const period = hourNum >= 12 ? 'PM' : 'AM';
|
|
35
35
|
const hour12 = hourNum % 12 || 12; // Convierte 0 a 12
|
|
36
36
|
return `${hour12}:${minutes} ${period}`;
|
|
37
37
|
};
|
|
@@ -41,7 +41,7 @@ export const convert24hTo12h = (input) => {
|
|
|
41
41
|
* @returns The time in 24-hour format like 14:35
|
|
42
42
|
*/
|
|
43
43
|
export const getTime = (value) => {
|
|
44
|
-
const [time] = value.split(
|
|
44
|
+
const [time] = value.split('±');
|
|
45
45
|
// Extract only HH:mm from the complete format HH:mm:ss.SSS
|
|
46
46
|
return time.substring(0, 5);
|
|
47
47
|
};
|
|
@@ -75,13 +75,13 @@ export const roundMinute = (minute, interval) => {
|
|
|
75
75
|
*/
|
|
76
76
|
export const transformInputTime = (input, is12HourFormat, interval = 1, periodToCheck) => {
|
|
77
77
|
if (!input)
|
|
78
|
-
return { hour:
|
|
78
|
+
return { hour: '', minute: '', period: undefined };
|
|
79
79
|
input = input.trim();
|
|
80
|
-
let hourStr =
|
|
81
|
-
let minuteStr =
|
|
80
|
+
let hourStr = '';
|
|
81
|
+
let minuteStr = '';
|
|
82
82
|
let period = undefined;
|
|
83
|
-
if (input.includes(
|
|
84
|
-
const [hourPart, rest] = input.split(
|
|
83
|
+
if (input.includes(':')) {
|
|
84
|
+
const [hourPart, rest] = input.split(':', 2);
|
|
85
85
|
hourStr = hourPart;
|
|
86
86
|
const parts = rest.split(/\s+/);
|
|
87
87
|
minuteStr = parts[0];
|
|
@@ -91,7 +91,7 @@ export const transformInputTime = (input, is12HourFormat, interval = 1, periodTo
|
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
93
93
|
// Handle short hours: 8 -> 08:00, 12 -> 12:00
|
|
94
|
-
const digits = input.padStart(4,
|
|
94
|
+
const digits = input.padStart(4, '0');
|
|
95
95
|
hourStr = digits.slice(0, 2);
|
|
96
96
|
minuteStr = digits.slice(2, 4);
|
|
97
97
|
}
|
|
@@ -112,27 +112,25 @@ export const transformInputTime = (input, is12HourFormat, interval = 1, periodTo
|
|
|
112
112
|
hourNum = 12;
|
|
113
113
|
}
|
|
114
114
|
// If still no period assigned, determine based on hour
|
|
115
|
-
|
|
116
|
-
period = hourNum >= 8 && hourNum <= 11 ? "AM" : "PM";
|
|
117
|
-
}
|
|
115
|
+
period ??= hourNum >= 8 && hourNum <= 11 ? 'AM' : 'PM';
|
|
118
116
|
if (periodToCheck) {
|
|
119
117
|
period = periodToCheck;
|
|
120
118
|
}
|
|
121
119
|
}
|
|
122
120
|
else {
|
|
123
121
|
// Convert any AM/PM designator to 24h
|
|
124
|
-
if (period ===
|
|
122
|
+
if (period === 'PM' && hourNum < 12) {
|
|
125
123
|
hourNum += 12;
|
|
126
124
|
}
|
|
127
|
-
else if (period ===
|
|
125
|
+
else if (period === 'AM' && hourNum === 12) {
|
|
128
126
|
hourNum = 0;
|
|
129
127
|
}
|
|
130
128
|
// Force period to undefined in 24h format
|
|
131
129
|
period = undefined;
|
|
132
130
|
}
|
|
133
131
|
return {
|
|
134
|
-
hour: String(hourNum).padStart(2,
|
|
135
|
-
minute: String(minuteNum).padStart(2,
|
|
132
|
+
hour: String(hourNum).padStart(2, '0'),
|
|
133
|
+
minute: String(minuteNum).padStart(2, '0'),
|
|
136
134
|
period: is12HourFormat ? period : undefined,
|
|
137
135
|
};
|
|
138
136
|
};
|
|
@@ -149,13 +147,13 @@ export const isValidTimeInput = (input) => {
|
|
|
149
147
|
return true;
|
|
150
148
|
input = input.trim();
|
|
151
149
|
// Allow change the format and convert the time
|
|
152
|
-
if (input.includes(
|
|
150
|
+
if (input.includes(':')) {
|
|
153
151
|
// Must be exactly 5 characters for 24h format
|
|
154
152
|
if (input.length !== 5) {
|
|
155
153
|
return false;
|
|
156
154
|
}
|
|
157
155
|
// Split into hours and minutes
|
|
158
|
-
const [hours, minutes] = input.split(
|
|
156
|
+
const [hours, minutes] = input.split(':');
|
|
159
157
|
// Hours and minutes must be numbers
|
|
160
158
|
const hoursNum = parseInt(hours, 10);
|
|
161
159
|
const minutesNum = parseInt(minutes, 10);
|
|
@@ -196,9 +194,7 @@ export const isValidTimeInput = (input) => {
|
|
|
196
194
|
export const getOffsetToDisplay = (timeZone) => {
|
|
197
195
|
const offset = getOffset(timeZone);
|
|
198
196
|
// Normalizar el formato para la visualización
|
|
199
|
-
const normalizedOffset = offset.endsWith(
|
|
200
|
-
? offset.slice(0, -3)
|
|
201
|
-
: offset;
|
|
197
|
+
const normalizedOffset = offset.endsWith(':00') ? offset.slice(0, -3) : offset;
|
|
202
198
|
return `UTC${normalizedOffset}`;
|
|
203
199
|
};
|
|
204
200
|
/**
|
|
@@ -232,12 +228,10 @@ export const getOffsetToDisplay = (timeZone) => {
|
|
|
232
228
|
* 4. Returns an array of objects with value (timezone identifier) and label (formatted display string)
|
|
233
229
|
*/
|
|
234
230
|
export const getOptions = (includeContinent = false) => {
|
|
235
|
-
const timeZones = Intl.supportedValuesOf(
|
|
231
|
+
const timeZones = Intl.supportedValuesOf('timeZone');
|
|
236
232
|
return timeZones.map((timeZone) => {
|
|
237
233
|
const offset = getOffsetToDisplay(timeZone);
|
|
238
|
-
const label = `(${offset}) ${includeContinent
|
|
239
|
-
? timeZone.replace(/_/g, " ")
|
|
240
|
-
: timeZone.split("/").pop()?.replace(/_/g, " ")}`;
|
|
234
|
+
const label = `(${offset}) ${includeContinent ? timeZone.replace(/_/g, ' ') : timeZone.split('/').pop()?.replace(/_/g, ' ')}`;
|
|
241
235
|
return { value: timeZone, label };
|
|
242
236
|
});
|
|
243
237
|
};
|
|
@@ -248,14 +242,14 @@ export const getOptions = (includeContinent = false) => {
|
|
|
248
242
|
*/
|
|
249
243
|
export const splitDatetime = (datetime) => {
|
|
250
244
|
if (!datetime)
|
|
251
|
-
return { hours:
|
|
245
|
+
return { hours: '', minutes: '', timezoneOffset: '' };
|
|
252
246
|
const offsetMatch = /([+-]\d{2}:\d{2})$/.exec(datetime);
|
|
253
|
-
const timezoneOffset = offsetMatch ? offsetMatch[0] :
|
|
247
|
+
const timezoneOffset = offsetMatch ? offsetMatch[0] : '';
|
|
254
248
|
const time = removeDate(datetime);
|
|
255
|
-
const [hours, minutes] = time.split(
|
|
249
|
+
const [hours, minutes] = time.split(':');
|
|
256
250
|
return {
|
|
257
|
-
hours: hours.padStart(2,
|
|
258
|
-
minutes: minutes.padStart(2,
|
|
251
|
+
hours: hours.padStart(2, '0'),
|
|
252
|
+
minutes: minutes.padStart(2, '0'),
|
|
259
253
|
timezoneOffset,
|
|
260
254
|
};
|
|
261
255
|
};
|
|
@@ -279,10 +273,10 @@ export const getMinutes = (datetime) => {
|
|
|
279
273
|
};
|
|
280
274
|
export const getInputValue = (datetime) => {
|
|
281
275
|
if (!datetime)
|
|
282
|
-
return
|
|
276
|
+
return '';
|
|
283
277
|
const { hours, minutes } = splitDatetime(datetime);
|
|
284
278
|
if (!hours && !minutes)
|
|
285
|
-
return
|
|
279
|
+
return '';
|
|
286
280
|
return `${hours}:${minutes}`;
|
|
287
281
|
};
|
|
288
282
|
/**
|
|
@@ -294,9 +288,9 @@ export const getInputValue = (datetime) => {
|
|
|
294
288
|
* removeDate("14:30:00") // Returns "14:30:00"
|
|
295
289
|
*/
|
|
296
290
|
export const removeDate = (datetime) => {
|
|
297
|
-
if (!datetime.includes(
|
|
291
|
+
if (!datetime.includes('T'))
|
|
298
292
|
return datetime;
|
|
299
|
-
return datetime.replace(/(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})/,
|
|
293
|
+
return datetime.replace(/(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2})/, '$2');
|
|
300
294
|
};
|
|
301
295
|
/**
|
|
302
296
|
* Get the timezone from the utcOffset
|
|
@@ -305,13 +299,13 @@ export const removeDate = (datetime) => {
|
|
|
305
299
|
*/
|
|
306
300
|
export const getTimezone = (utcOffset) => {
|
|
307
301
|
if (!utcOffset)
|
|
308
|
-
return
|
|
302
|
+
return '';
|
|
309
303
|
const options = getOptions();
|
|
310
304
|
const { timezoneOffset } = splitDatetime(utcOffset);
|
|
311
305
|
const findedOption = options.find((option) => {
|
|
312
306
|
return option.label.includes(timezoneOffset);
|
|
313
307
|
});
|
|
314
|
-
return findedOption?.value ??
|
|
308
|
+
return findedOption?.value ?? '';
|
|
315
309
|
};
|
|
316
310
|
/**
|
|
317
311
|
* Formats time components into an ISO-like datetime string with milliseconds and timezone offset
|
|
@@ -325,7 +319,7 @@ export const getTimezone = (utcOffset) => {
|
|
|
325
319
|
*/
|
|
326
320
|
export const formatInputsToValueFormat = (hours, minutes, timezoneOffset) => {
|
|
327
321
|
if (!hours && !minutes)
|
|
328
|
-
return
|
|
322
|
+
return '';
|
|
329
323
|
const datetime = `${cleanTime(hours)}:${cleanTime(minutes)}:00.000${timezoneOffset}`;
|
|
330
324
|
return datetime;
|
|
331
325
|
};
|
|
@@ -336,16 +330,16 @@ export const formatInputsToValueFormat = (hours, minutes, timezoneOffset) => {
|
|
|
336
330
|
*/
|
|
337
331
|
export const convert12hTo24h = (input) => {
|
|
338
332
|
if (!input)
|
|
339
|
-
return
|
|
333
|
+
return '';
|
|
340
334
|
// convert from 12 format to 24 format
|
|
341
|
-
const [hours, minutes] = input.split(
|
|
342
|
-
const period = input.includes(
|
|
335
|
+
const [hours, minutes] = input.split(':');
|
|
336
|
+
const period = input.includes('AM') || input.includes('PM') ? input.slice(-2) : undefined;
|
|
343
337
|
let formattedHours = hours;
|
|
344
|
-
if (period ===
|
|
338
|
+
if (period === 'PM' && hours !== '12') {
|
|
345
339
|
formattedHours = (parseInt(hours, 10) + 12).toString();
|
|
346
340
|
}
|
|
347
|
-
else if (period ===
|
|
348
|
-
formattedHours =
|
|
341
|
+
else if (period === 'AM' && hours === '12') {
|
|
342
|
+
formattedHours = '00';
|
|
349
343
|
}
|
|
350
344
|
return `${formattedHours}:${minutes}`;
|
|
351
345
|
};
|
|
@@ -375,10 +369,8 @@ export const convert12hTo24h = (input) => {
|
|
|
375
369
|
export const formatInputToDisplayValid = (input, is12HourFormat, timeIntervals, periodToCheck) => {
|
|
376
370
|
const { hour, minute, period } = transformInputTime(input, is12HourFormat, timeIntervals);
|
|
377
371
|
if (!hour && !minute)
|
|
378
|
-
return
|
|
379
|
-
return is12HourFormat
|
|
380
|
-
? `${hour}:${minute} ${periodToCheck ? periodToCheck : (period ?? "")}`
|
|
381
|
-
: `${hour}:${minute}`;
|
|
372
|
+
return '';
|
|
373
|
+
return is12HourFormat ? `${hour}:${minute} ${periodToCheck ?? period ?? ''}` : `${hour}:${minute}`;
|
|
382
374
|
};
|
|
383
375
|
/**
|
|
384
376
|
* Extracts the hours and minutes from the input time string.
|
|
@@ -396,12 +388,10 @@ export const formatInputToDisplayValid = (input, is12HourFormat, timeIntervals,
|
|
|
396
388
|
*/
|
|
397
389
|
export const getHoursAndMinutes = (input) => {
|
|
398
390
|
if (!input)
|
|
399
|
-
return { hours:
|
|
400
|
-
if (input.includes(
|
|
401
|
-
const [hours, minutes] = input.split(
|
|
402
|
-
const period = input.includes(
|
|
403
|
-
? input.slice(-2)
|
|
404
|
-
: undefined;
|
|
391
|
+
return { hours: '', minutes: '', period: undefined };
|
|
392
|
+
if (input.includes(':')) {
|
|
393
|
+
const [hours, minutes] = input.split(':');
|
|
394
|
+
const period = input.includes('AM') || input.includes('PM') ? input.slice(-2) : undefined;
|
|
405
395
|
return { hours, minutes, period };
|
|
406
396
|
}
|
|
407
397
|
else {
|
|
@@ -421,19 +411,19 @@ export const getHoursAndMinutes = (input) => {
|
|
|
421
411
|
};
|
|
422
412
|
}
|
|
423
413
|
// Return and invalid value as cannot be a value time
|
|
424
|
-
return { hours:
|
|
414
|
+
return { hours: '', minutes: '', period: undefined };
|
|
425
415
|
}
|
|
426
416
|
};
|
|
427
417
|
export const handleKeyDown = (e) => {
|
|
428
418
|
// Allow control keys (backspace, delete, arrows, etc)
|
|
429
|
-
if (e.key ===
|
|
430
|
-
e.key ===
|
|
431
|
-
e.key ===
|
|
432
|
-
e.key ===
|
|
433
|
-
e.key ===
|
|
434
|
-
e.key ===
|
|
435
|
-
e.key ===
|
|
436
|
-
e.key ===
|
|
419
|
+
if (e.key === 'Backspace' ||
|
|
420
|
+
e.key === 'Delete' ||
|
|
421
|
+
e.key === 'ArrowLeft' ||
|
|
422
|
+
e.key === 'ArrowRight' ||
|
|
423
|
+
e.key === 'Tab' ||
|
|
424
|
+
e.key === 'Enter' ||
|
|
425
|
+
e.key === ' ' ||
|
|
426
|
+
e.key === 'Space' ||
|
|
437
427
|
e.ctrlKey ||
|
|
438
428
|
e.metaKey) {
|
|
439
429
|
return;
|
|
@@ -443,7 +433,7 @@ export const handleKeyDown = (e) => {
|
|
|
443
433
|
return;
|
|
444
434
|
}
|
|
445
435
|
// Allow ":"
|
|
446
|
-
if (e.key ===
|
|
436
|
+
if (e.key === ':') {
|
|
447
437
|
return;
|
|
448
438
|
}
|
|
449
439
|
// Allow "A", "M", "P" for AM/PM
|
|
@@ -470,6 +460,6 @@ export const isValidTimeFromValue = (timeString) => {
|
|
|
470
460
|
export const getHoursAndMinutesFromValue = (timeString) => {
|
|
471
461
|
// Captures everything up to the second ':' regardless of the number of digits in the hour
|
|
472
462
|
const match = /^([^:]+:\d{2,})/.exec(timeString);
|
|
473
|
-
return match ? match[1] :
|
|
463
|
+
return match ? match[1] : '';
|
|
474
464
|
};
|
|
475
465
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/time-picker/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAGzD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,KAAa,EACwB,EAAE;IACvC,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,QAAQ,EAAE;QACtC,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;KACjB,CAAC,CAAC;IAEH,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,QAAQ,EAAE;QAC3C,KAAK,EAAE,EAAE,KAAK,EAAE;QAChB,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAC;IAEH,OAAO,WAA6D,CAAC;AACvE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAc,EAAW,EAAE;IAC7D,OAAO,oBAAoB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC/C,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,uEAAuE;IACvE,QAAQ,EAAE,oCAAoC;IAC9C,uEAAuE;IACvE,QAAQ,EAAE,gDAAgD;CAClD,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,EAAE;IACxC,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC;AACF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAa,EAAE,EAAE;I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,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAM;IACR,CAAC;IACD,YAAY;IACZ,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,EAAE,CAAC;QAClB,OAAM;IACR,CAAC;IACD,gCAAgC;IAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3B,OAAM;IACR,CAAC;IAED,CAAC,CAAC,cAAc,EAAE,CAAA;AACpB,CAAC,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,UAAkB,EAAE,EAAE;IACzD,kDAAkD;IAClD,MAAM,KAAK,GAAG,4BAA4B,CAAA;IAC1C,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;AAC/B,CAAC,CAAA;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,UAAkB,EAAE,EAAE;IAChE,0FAA0F;IAC1F,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAChD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;AAC9B,CAAC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Toggle, type ToggleProps } from
|
|
1
|
+
export { Toggle, type ToggleProps } from './toggle.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Toggle } from
|
|
1
|
+
export { Toggle } from './toggle.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,aAAa,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ViewMode, WithDifference } from
|
|
2
|
-
interface ToggleDiffProps extends Omit<WithDifference<boolean>,
|
|
1
|
+
import type { ViewMode, WithDifference } from '../../../../../scalars/components/types.js';
|
|
2
|
+
interface ToggleDiffProps extends Omit<WithDifference<boolean>, 'diffMode' | 'viewMode'> {
|
|
3
3
|
value?: boolean;
|
|
4
4
|
label?: React.ReactNode;
|
|
5
5
|
optionalLabel?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toogle-diff.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/toggle/subcomponents/toogle-diff.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,4CAA4C,
|
|
1
|
+
{"version":3,"file":"toogle-diff.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/toggle/subcomponents/toogle-diff.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAI1F,UAAU,eAAgB,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACtF,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CACtC;AACD,QAAA,MAAM,UAAU,GAAI,2FAUjB,eAAe,4CAsDjB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from
|
|
3
|
-
import { useId, useMemo } from
|
|
4
|
-
import { ToggleBase } from
|
|
5
|
-
const ToggleDiff = ({ value, label, optionalLabel, required, disabled, baseValue = false, viewMode =
|
|
2
|
+
import { cn } from '../../../../../scalars/lib/utils.js';
|
|
3
|
+
import { useId, useMemo } from 'react';
|
|
4
|
+
import { ToggleBase } from '../toggle-base.js';
|
|
5
|
+
const ToggleDiff = ({ value, label, optionalLabel, required, disabled, baseValue = false, viewMode = 'edition', onChange, name, }) => {
|
|
6
6
|
const generatedId = useId();
|
|
7
7
|
const id = generatedId;
|
|
8
8
|
const hasDifference = useMemo(() => {
|
|
9
9
|
if (baseValue === value) {
|
|
10
|
-
return { hasDiff: false, type:
|
|
10
|
+
return { hasDiff: false, type: 'neutral' };
|
|
11
11
|
}
|
|
12
|
-
if (baseValue
|
|
13
|
-
return { hasDiff: true, type:
|
|
12
|
+
if (!baseValue && value === true) {
|
|
13
|
+
return { hasDiff: true, type: 'addition' };
|
|
14
14
|
}
|
|
15
|
-
return { hasDiff: true, type:
|
|
15
|
+
return { hasDiff: true, type: 'removal' };
|
|
16
16
|
}, [baseValue, value]);
|
|
17
|
-
return (_jsxs("div", { className: "flex flex-row items-center justify-end gap-2", children: [_jsx("span", { className: cn(
|
|
18
|
-
? hasDifference.type ===
|
|
19
|
-
?
|
|
17
|
+
return (_jsxs("div", { className: "flex flex-row items-center justify-end gap-2", children: [_jsx("span", { className: cn('text-gray-700', 'font-inter text-sm font-semibold leading-[22px]', hasDifference.hasDiff && (viewMode === 'removal' || viewMode === 'mixed')
|
|
18
|
+
? hasDifference.type === 'removal'
|
|
19
|
+
? 'bg-red-600/30'
|
|
20
20
|
: undefined
|
|
21
|
-
: undefined), children: optionalLabel }), _jsx(ToggleBase, { "aria-labelledby": `${id}-label`, required: required, name: name, id: id, checked: value, onCheckedChange: onChange, disabled: disabled }), _jsx("span", { className: cn(
|
|
22
|
-
? hasDifference.type ===
|
|
23
|
-
?
|
|
21
|
+
: undefined), children: optionalLabel }), _jsx(ToggleBase, { "aria-labelledby": `${id}-label`, required: required, name: name, id: id, checked: value, onCheckedChange: onChange, disabled: disabled }), _jsx("span", { className: cn('text-gray-700', 'text-sm font-semibold leading-[22px]', hasDifference.hasDiff && (viewMode === 'addition' || viewMode === 'mixed')
|
|
22
|
+
? hasDifference.type === 'addition'
|
|
23
|
+
? 'bg-green-600/30'
|
|
24
24
|
: undefined
|
|
25
25
|
: undefined), children: label })] }));
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toogle-diff.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/toggle/subcomponents/toogle-diff.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"toogle-diff.js","sourceRoot":"","sources":["../../../../../../../src/ui/components/data-entry/toggle/subcomponents/toogle-diff.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,qCAAqC,CAAA;AAExD,OA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,IAAI,EACV,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,KAAK,EACd,eAAe,EAAE,QAAQ,EACzB,QAAQ,EAAE,QAAQ,GAClB,EAEF,eACE,SAAS,EAAE,EAAE,CACX,eAAe,EACf,sCAAsC,EACtC,aAAa,CAAC,OAAO,IAAI,CAAC,QAAQ,KAAK,UAAU,IAAI,QAAQ,KAAK,OAAO,CAAC;oBACxE,CAAC,CAAC,aAAa,CAAC,IAAI,KAAK,UAAU;wBACjC,CAAC,CAAC,iBAAiB;wBACnB,CAAC,CAAC,SAAS;oBACb,CAAC,CAAC,SAAS,CACd,YAEA,KAAK,GACD,IACH,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-base.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle-base.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"toggle-base.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle-base.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CACtC;AAED,QAAA,MAAM,UAAU,gLA0Bd,CAAA;AAIF,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as SwitchPrimitives from
|
|
3
|
-
import * as React from
|
|
4
|
-
import { cn } from
|
|
5
|
-
const ToggleBase = React.forwardRef(({ className, disabled = false, checked = true, required = false, onChange = () =>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ToggleBase.displayName = "ToggleBase";
|
|
2
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { cn } from '../../../../scalars/lib/utils.js';
|
|
5
|
+
const ToggleBase = React.forwardRef(({ className, disabled = false, checked = true, required = false, onChange = () => undefined, ...props }, ref) => (_jsx(SwitchPrimitives.Root, { required: required, checked: checked, role: "switch", disabled: disabled, onCheckedChange: onChange, className: cn('focus-visible:ring-ring focus-visible:ring-offset-background peer inline-flex h-4 w-8 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 data-[state=checked]:bg-[#343839] data-[state=unchecked]:bg-[#D7D8D9] dark:data-[state=checked]:bg-[#3BBE5F] dark:data-[state=unchecked]:bg-[#404446]', disabled &&
|
|
6
|
+
'cursor-not-allowed data-[state=checked]:bg-[#C5C7C7] data-[state=unchecked]:bg-[#EFEFEF] dark:data-[state=checked]:bg-[#404446] dark:data-[state=unchecked]:bg-[#343839]', className), ...props, ref: ref, children: _jsx(SwitchPrimitives.Thumb, { className: cn('peer pointer-events-none block size-3.5 rounded-full bg-[#FCFCFC] shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-3.5 data-[state=unchecked]:translate-x-0', disabled && 'bg-[#FCFCFC] disabled:cursor-not-allowed dark:bg-[#6C7275]') }) })));
|
|
7
|
+
ToggleBase.displayName = 'ToggleBase';
|
|
9
8
|
export { ToggleBase };
|
|
10
9
|
//# sourceMappingURL=toggle-base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-base.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle-base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"toggle-base.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle-base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAA;AASrD,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGjC,CAAC,EAAE,SAAS,EAAE,QAAQ,GAAG,KAAK,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,QAAQ,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClH,KAAC,gBAAgB,CAAC,IAAI,IACpB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,QAAQ,EACzB,SAAS,EAAE,EAAE,CACX,yZAAyZ,EACzZ,QAAQ;QACN,0KAA0K,EAC5K,SAAS,CACV,KACG,KAAK,EACT,GAAG,EAAE,GAAG,YAER,KAAC,gBAAgB,CAAC,KAAK,IACrB,SAAS,EAAE,EAAE,CACX,mLAAmL,EACnL,QAAQ,IAAI,4DAA4D,CACzE,GACD,GACoB,CACzB,CAAC,CAAA;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA;AAErC,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
3
|
-
export type ToggleBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<boolean> |
|
|
4
|
-
interface ToggleProps extends ToggleBaseProps, Omit<WithDifference<boolean>,
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { InputBaseProps, ViewMode, WithDifference } from '../../../../scalars/components/types.js';
|
|
3
|
+
export type ToggleBaseProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, keyof InputBaseProps<boolean> | 'onChange'>;
|
|
4
|
+
interface ToggleProps extends ToggleBaseProps, Omit<WithDifference<boolean>, 'diffMode' | 'viewMode'>, InputBaseProps<boolean> {
|
|
5
5
|
onChange?: (checked: boolean) => void;
|
|
6
6
|
optionalLabel?: string;
|
|
7
7
|
viewMode?: ViewMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAA;AAGpC,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAIvG,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAC3C,CAAA;AAED,UAAU,WACR,SAAQ,eAAe,EACrB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,EACtD,cAAc,CAAC,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,QAAA,MAAM,MAAM,uFAgFX,CAAA;AAID,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,CAAA"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from
|
|
3
|
-
import React, { useId } from
|
|
4
|
-
import { FormLabel } from
|
|
5
|
-
import { FormMessageList } from
|
|
6
|
-
import ToggleDiff from
|
|
7
|
-
import { ToggleBase } from
|
|
8
|
-
const Toggle = React.forwardRef(({ id: idProp, name, label, disabled = false, value, onChange, errors = [], warnings = [], required = false, className, defaultValue, description, viewMode =
|
|
2
|
+
import { cn } from '../../../../scalars/lib/utils.js';
|
|
3
|
+
import React, { useId } from 'react';
|
|
4
|
+
import { FormLabel } from '../../../../scalars/components/fragments/form-label/index.js';
|
|
5
|
+
import { FormMessageList } from '../../../../scalars/components/fragments/form-message/index.js';
|
|
6
|
+
import ToggleDiff from './subcomponents/toogle-diff.js';
|
|
7
|
+
import { ToggleBase } from './toggle-base.js';
|
|
8
|
+
const Toggle = React.forwardRef(({ id: idProp, name, label, disabled = false, value, onChange, errors = [], warnings = [], required = false, className, defaultValue, description, viewMode = 'edition', optionalLabel, baseValue, ...props }, ref) => {
|
|
9
9
|
const generatedId = useId();
|
|
10
10
|
const id = idProp ?? generatedId;
|
|
11
|
-
if (viewMode ===
|
|
12
|
-
return (_jsxs("div", { className: cn(
|
|
11
|
+
if (viewMode === 'edition') {
|
|
12
|
+
return (_jsxs("div", { className: cn('flex flex-col gap-1', className), "data-testid": "custom-class", children: [_jsxs("div", { className: "flex items-center", children: [optionalLabel && (_jsx(FormLabel, { className: cn('mr-2'), disabled: disabled, required: required, inline: true, id: `${id}-optionalLabel`, children: optionalLabel })), _jsx(ToggleBase, { "aria-labelledby": `${id}-label`, required: required, disabled: disabled, name: name, id: id, checked: value ?? defaultValue, onCheckedChange: onChange, ref: ref, ...props }), label && (_jsx(FormLabel, { htmlFor: id, className: cn('ml-2'), disabled: disabled, required: required, description: description, inline: true, id: `${id}-label`, children: label }))] }), warnings.length !== 0 && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors.length !== 0 && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
13
13
|
}
|
|
14
14
|
return (_jsx(ToggleDiff, { viewMode: viewMode, baseValue: baseValue, value: value, label: label, optionalLabel: optionalLabel, disabled: disabled }));
|
|
15
15
|
});
|
|
16
|
-
Toggle.displayName =
|
|
16
|
+
Toggle.displayName = 'Toggle';
|
|
17
17
|
export { Toggle };
|
|
18
18
|
//# sourceMappingURL=toggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/toggle/toggle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAA;AACrD,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAA;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,gEAAgE,CAAA;AAEhG,OAAO,UAAU,MAAM,gCAAgC,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAgB7C,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CACE,EACE,EAAE,EAAE,MAAM,EACV,IAAI,EACJ,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,KAAK,EACL,QAAQ,EACR,MAAM,GAAG,EAAE,EACX,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,KAAK,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,GAAG,SAAS,EACpB,aAAa,EACb,SAAS,EACT,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,WAAW,GAAG,KAAK,EAAE,CAAA;IAC3B,MAAM,EAAE,GAAG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E,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAA;AAE7B,OAAO,EAAE,MAAM,EAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/url-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/url-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { UrlInput
|
|
1
|
+
export { UrlInput } from './url-input.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/url-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/data-entry/url-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}
|