@powerhousedao/design-system 2.5.0-dev.4 → 2.5.0-dev.41
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/src/assets/home-bg.avif +0 -0
- package/dist/src/connect/components/account-popover/account-popover-login.d.ts +1 -1
- package/dist/src/connect/components/account-popover/account-popover-login.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-login.js +7 -3
- package/dist/src/connect/components/account-popover/account-popover-login.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.d.ts +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover-user.js +4 -1
- package/dist/src/connect/components/account-popover/account-popover-user.js.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.js +2 -2
- package/dist/src/connect/components/account-popover/account-popover.js.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.d.ts.map +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js +1 -1
- package/dist/src/connect/components/cookie-banner/cookie-banner.js.map +1 -1
- package/dist/src/connect/components/home-screen/home-background-image.d.ts +2 -0
- package/dist/src/connect/components/home-screen/home-background-image.d.ts.map +1 -0
- package/dist/src/connect/components/home-screen/home-background-image.js +7 -0
- package/dist/src/connect/components/home-screen/home-background-image.js.map +1 -0
- package/dist/src/connect/components/home-screen/home-screen.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/home-screen.js +2 -2
- package/dist/src/connect/components/home-screen/home-screen.js.map +1 -1
- package/dist/src/connect/components/home-screen/index.d.ts +2 -1
- package/dist/src/connect/components/home-screen/index.d.ts.map +1 -1
- package/dist/src/connect/components/home-screen/index.js +2 -1
- package/dist/src/connect/components/home-screen/index.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/danger-zone.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/default-editor.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js +1 -2
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-input.js.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.d.ts.map +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js +1 -1
- package/dist/src/connect/components/modal/settings-modal-v2/package-manager/package-manager-select.js.map +1 -1
- package/dist/src/connect/components/search-bar/search-bar.js +1 -1
- package/dist/src/connect/components/search-bar/search-bar.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts +3 -3
- package/dist/src/connect/components/sidebar/sidebar-footer.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-footer.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js +1 -1
- package/dist/src/connect/components/sidebar/sidebar-header.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js +2 -1
- package/dist/src/connect/components/sidebar/sidebar-login.js.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar-user.d.ts +1 -1
- package/dist/src/connect/components/sidebar/sidebar-user.d.ts.map +1 -1
- package/dist/src/connect/components/sidebar/sidebar.d.ts +2 -2
- package/dist/src/connect/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/connect/components/tooltip/tooltip.js +2 -2
- package/dist/src/connect/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.d.ts +1 -1
- package/dist/src/powerhouse/components/icon/icon.d.ts.map +1 -1
- package/dist/src/powerhouse/components/icon/icon.js +2 -2
- package/dist/src/powerhouse/components/icon/icon.js.map +1 -1
- package/dist/src/powerhouse/utils/index.d.ts +2 -0
- package/dist/src/powerhouse/utils/index.d.ts.map +1 -1
- package/dist/src/powerhouse/utils/index.js +5 -0
- package/dist/src/powerhouse/utils/index.js.map +1 -1
- package/dist/src/ui/components/amount-input/types.d.ts +52 -0
- package/dist/src/ui/components/amount-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/amount-input/types.js.map +1 -0
- package/dist/src/ui/components/button/button.d.ts.map +1 -0
- package/dist/src/ui/components/button/button.js +23 -0
- package/dist/src/ui/components/button/button.js.map +1 -0
- package/dist/src/ui/components/button/index.d.ts.map +1 -0
- package/dist/src/ui/components/button/index.js.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/character-counter.js.map +1 -0
- package/dist/src/ui/components/character-counter/index.d.ts.map +1 -0
- package/dist/src/ui/components/character-counter/index.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox-base.js +29 -0
- package/dist/src/ui/components/checkbox/checkbox-base.js.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.d.ts +10 -0
- package/dist/src/ui/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/checkbox.js +22 -0
- package/dist/src/ui/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/ui/components/checkbox/index.d.ts.map +1 -0
- package/dist/src/ui/components/checkbox/index.js.map +1 -0
- package/dist/src/ui/components/command/command.d.ts +80 -0
- package/dist/src/ui/components/command/command.d.ts.map +1 -0
- package/dist/src/ui/components/command/command.js +20 -0
- package/dist/src/ui/components/command/command.js.map +1 -0
- package/dist/src/ui/components/command/index.d.ts.map +1 -0
- package/dist/src/ui/components/command/index.js.map +1 -0
- package/dist/src/ui/components/date-picker/index.d.ts +2 -0
- package/dist/src/ui/components/date-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/index.js +2 -0
- package/dist/src/ui/components/date-picker/index.js.map +1 -0
- package/dist/src/ui/components/date-picker/types.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/types.js.map +1 -0
- package/dist/src/ui/components/date-picker/utils.d.ts +7 -0
- package/dist/src/ui/components/date-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/date-picker/utils.js +29 -0
- package/dist/src/ui/components/date-picker/utils.js.map +1 -0
- package/dist/src/ui/components/date-time-picker/index.d.ts +2 -0
- package/dist/src/ui/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/src/ui/components/date-time-picker/index.js +2 -0
- package/dist/src/ui/components/date-time-picker/index.js.map +1 -0
- package/dist/src/ui/components/date-time-picker/utils.d.ts +31 -0
- package/dist/src/ui/components/date-time-picker/utils.d.ts.map +1 -0
- package/dist/src/ui/components/date-time-picker/utils.js +99 -0
- package/dist/src/ui/components/date-time-picker/utils.js.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.d.ts +12 -0
- package/dist/src/ui/components/enum-field/enum-field.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/enum-field.js +18 -0
- package/dist/src/ui/components/enum-field/enum-field.js.map +1 -0
- package/dist/src/ui/components/enum-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/index.js.map +1 -0
- package/dist/src/ui/components/enum-field/types.d.ts.map +1 -0
- package/dist/src/ui/components/enum-field/types.js.map +1 -0
- package/dist/src/ui/components/form/form.d.ts.map +1 -0
- package/dist/src/ui/components/form/form.js +138 -0
- package/dist/src/ui/components/form/form.js.map +1 -0
- package/dist/src/ui/components/form/index.d.ts.map +1 -0
- package/dist/src/ui/components/form/index.js.map +1 -0
- package/dist/src/ui/components/form/utils.d.ts.map +1 -0
- package/dist/src/ui/components/form/utils.js.map +1 -0
- package/dist/src/ui/components/form-description/form-description.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/form-description.js +8 -0
- package/dist/src/ui/components/form-description/form-description.js.map +1 -0
- package/dist/src/ui/components/form-description/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-description/index.js.map +1 -0
- package/dist/src/ui/components/form-group/form-group.d.ts.map +1 -0
- package/dist/src/ui/components/form-group/form-group.js.map +1 -0
- package/dist/src/ui/components/form-group/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-group/index.js.map +1 -0
- package/dist/src/ui/components/form-label/form-label.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/form-label.js +19 -0
- package/dist/src/ui/components/form-label/form-label.js.map +1 -0
- package/dist/src/ui/components/form-label/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-label/index.js.map +1 -0
- package/dist/src/ui/components/form-message/form-message.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-message.js +15 -0
- package/dist/src/ui/components/form-message/form-message.js.map +1 -0
- package/dist/src/ui/components/form-message/form-server-error-message.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/form-server-error-message.js.map +1 -0
- package/dist/src/ui/components/form-message/index.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/index.js.map +1 -0
- package/dist/src/ui/components/form-message/message-list.d.ts.map +1 -0
- package/dist/src/ui/components/form-message/message-list.js +22 -0
- package/dist/src/ui/components/form-message/message-list.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-context.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js +71 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js +47 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js +31 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete-list.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js +88 -0
- package/dist/src/ui/components/id-autocomplete/id-autocomplete.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/index.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/index.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/types.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/types.js.map +1 -0
- package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.d.ts.map +1 -0
- package/dist/src/ui/components/id-autocomplete/use-id-autocomplete.js.map +1 -0
- package/dist/src/ui/components/index.d.ts +13 -14
- package/dist/src/ui/components/index.d.ts.map +1 -1
- package/dist/src/ui/components/index.js +13 -20
- package/dist/src/ui/components/index.js.map +1 -1
- package/dist/src/ui/components/input/index.d.ts.map +1 -0
- package/dist/src/ui/components/input/index.js.map +1 -0
- package/dist/src/ui/components/input/input.d.ts.map +1 -0
- package/dist/src/ui/components/input/input.js +22 -0
- package/dist/src/ui/components/input/input.js.map +1 -0
- package/dist/src/ui/components/input/splitted-input-diff.d.ts +8 -0
- package/dist/src/ui/components/input/splitted-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/splitted-input-diff.js +35 -0
- package/dist/src/ui/components/input/splitted-input-diff.js.map +1 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.js +8 -0
- package/dist/src/ui/components/input/subcomponent/input-diff.js.map +1 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts +9 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.d.ts.map +1 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.js +27 -0
- package/dist/src/ui/components/input/subcomponent/text-diff.js.map +1 -0
- package/dist/src/ui/components/popover/index.d.ts.map +1 -0
- package/dist/src/ui/components/popover/index.js.map +1 -0
- package/dist/src/ui/components/popover/popover.d.ts.map +1 -0
- package/dist/src/ui/components/popover/popover.js +17 -0
- package/dist/src/ui/components/popover/popover.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/index.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts +12 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.js +20 -0
- package/dist/src/ui/components/radio-group-field/radio-group-field.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio-group.js.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.d.ts.map +1 -0
- package/dist/src/ui/components/radio-group-field/radio.js +24 -0
- package/dist/src/ui/components/radio-group-field/radio.js.map +1 -0
- package/dist/src/ui/components/select-field/content.d.ts +17 -0
- package/dist/src/ui/components/select-field/content.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/content.js +34 -0
- package/dist/src/ui/components/select-field/content.js.map +1 -0
- package/dist/src/ui/components/select-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/index.js.map +1 -0
- package/dist/src/ui/components/select-field/select-field.d.ts +18 -0
- package/dist/src/ui/components/select-field/select-field.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/select-field.js +66 -0
- package/dist/src/ui/components/select-field/select-field.js.map +1 -0
- package/dist/src/ui/components/select-field/selected-content.d.ts +13 -0
- package/dist/src/ui/components/select-field/selected-content.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/selected-content.js +26 -0
- package/dist/src/ui/components/select-field/selected-content.js.map +1 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts +15 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js +24 -0
- package/dist/src/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -0
- package/dist/src/ui/components/select-field/use-select-field.d.ts +19 -0
- package/dist/src/ui/components/select-field/use-select-field.d.ts.map +1 -0
- package/dist/src/ui/components/select-field/use-select-field.js.map +1 -0
- package/dist/src/ui/components/text-field/index.d.ts.map +1 -0
- package/dist/src/ui/components/text-field/index.js.map +1 -0
- package/dist/src/ui/components/text-field/text-field.d.ts +5 -0
- package/dist/src/ui/components/text-field/text-field.d.ts.map +1 -0
- package/dist/src/ui/components/text-field/text-field.js +5 -0
- package/dist/src/ui/components/text-field/text-field.js.map +1 -0
- package/dist/src/ui/components/text-input/index.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/index.js.map +1 -0
- package/dist/src/ui/components/text-input/text-input-diff.d.ts +9 -0
- package/dist/src/ui/components/text-input/text-input-diff.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/text-input-diff.js +9 -0
- package/dist/src/ui/components/text-input/text-input-diff.js.map +1 -0
- package/dist/src/ui/components/text-input/text-input.d.ts +10 -0
- package/dist/src/ui/components/text-input/text-input.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/text-input.js +38 -0
- package/dist/src/ui/components/text-input/text-input.js.map +1 -0
- package/dist/src/ui/components/text-input/types.d.ts.map +1 -0
- package/dist/src/ui/components/text-input/types.js.map +1 -0
- package/dist/src/ui/components/tooltip/tooltip.d.ts +1 -1
- package/dist/src/ui/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/ui/components/tooltip/tooltip.js +2 -2
- package/dist/src/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/ui/components/value-transformer/index.d.ts.map +1 -0
- package/dist/src/ui/components/value-transformer/index.js.map +1 -0
- package/dist/src/ui/components/value-transformer/value-transformer.d.ts.map +1 -0
- package/dist/src/ui/components/value-transformer/value-transformer.js +142 -0
- package/dist/src/ui/components/value-transformer/value-transformer.js.map +1 -0
- package/dist/src/ui/components/with-field-validation/index.d.ts.map +1 -0
- package/dist/src/ui/components/with-field-validation/index.js.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.d.ts.map +1 -0
- package/dist/src/ui/components/with-field-validation/with-field-validation.js.map +1 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/ui/index.d.ts.map +1 -1
- package/dist/src/ui/index.js +1 -0
- package/dist/src/ui/index.js.map +1 -1
- package/dist/src/ui/lib/cn.d.ts +3 -0
- package/dist/src/ui/lib/cn.d.ts.map +1 -0
- package/dist/src/ui/lib/cn.js +6 -0
- package/dist/src/ui/lib/cn.js.map +1 -0
- package/dist/src/ui/lib/decorators.d.ts.map +1 -0
- package/dist/src/ui/lib/decorators.js +96 -0
- package/dist/src/ui/lib/decorators.js.map +1 -0
- package/dist/src/ui/lib/deep-equal.d.ts.map +1 -0
- package/dist/src/ui/lib/deep-equal.js.map +1 -0
- package/dist/src/ui/lib/index.d.ts +9 -0
- package/dist/src/ui/lib/index.d.ts.map +1 -0
- package/dist/src/ui/lib/index.js +9 -0
- package/dist/src/ui/lib/index.js.map +1 -0
- package/dist/src/ui/lib/is-empty.d.ts.map +1 -0
- package/dist/src/ui/lib/is-empty.js.map +1 -0
- package/dist/src/ui/lib/shared-value-transformers.d.ts +3 -0
- package/dist/src/ui/lib/shared-value-transformers.d.ts.map +1 -0
- package/dist/src/ui/lib/shared-value-transformers.js.map +1 -0
- package/dist/src/ui/lib/storybook-arg-types.d.ts.map +1 -0
- package/dist/src/ui/lib/storybook-arg-types.js.map +1 -0
- package/dist/src/ui/lib/testing.d.ts.map +1 -0
- package/dist/src/ui/lib/testing.js.map +1 -0
- package/dist/src/ui/lib/value-cast.d.ts.map +1 -0
- package/dist/src/ui/lib/value-cast.js +57 -0
- package/dist/src/ui/lib/value-cast.js.map +1 -0
- package/dist/src/ui/types.d.ts.map +1 -0
- package/dist/src/ui/types.js.map +1 -0
- package/dist/style.css +6 -992
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -9
- 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/aid-field/aid-field.d.ts +0 -4
- package/dist/src/scalars/components/aid-field/aid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/aid-field.js +0 -49
- package/dist/src/scalars/components/aid-field/aid-field.js.map +0 -1
- package/dist/src/scalars/components/aid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/aid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/index.js +0 -2
- package/dist/src/scalars/components/aid-field/index.js.map +0 -1
- package/dist/src/scalars/components/aid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/aid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/aid-field/types.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts +0 -3
- package/dist/src/scalars/components/amount-field/amount-currency-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js +0 -13
- package/dist/src/scalars/components/amount-field/amount-currency-validations.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts +0 -4
- package/dist/src/scalars/components/amount-field/amount-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field-validations.js +0 -77
- package/dist/src/scalars/components/amount-field/amount-field-validations.js.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field.d.ts +0 -6
- package/dist/src/scalars/components/amount-field/amount-field.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/amount-field.js +0 -13
- package/dist/src/scalars/components/amount-field/amount-field.js.map +0 -1
- package/dist/src/scalars/components/amount-field/index.d.ts +0 -2
- package/dist/src/scalars/components/amount-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/amount-field/index.js +0 -2
- package/dist/src/scalars/components/amount-field/index.js.map +0 -1
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts +0 -10
- package/dist/src/scalars/components/boolean-field/boolean-field.d.ts.map +0 -1
- package/dist/src/scalars/components/boolean-field/boolean-field.js +0 -12
- package/dist/src/scalars/components/boolean-field/boolean-field.js.map +0 -1
- package/dist/src/scalars/components/boolean-field/index.d.ts +0 -2
- package/dist/src/scalars/components/boolean-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/boolean-field/index.js +0 -2
- package/dist/src/scalars/components/boolean-field/index.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts +0 -8
- package/dist/src/scalars/components/country-code-field/country-code-field.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/country-code-field.js +0 -58
- package/dist/src/scalars/components/country-code-field/country-code-field.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/index.d.ts +0 -2
- package/dist/src/scalars/components/country-code-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/index.js +0 -2
- package/dist/src/scalars/components/country-code-field/index.js.map +0 -1
- package/dist/src/scalars/components/country-code-field/types.d.ts +0 -11
- package/dist/src/scalars/components/country-code-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/country-code-field/types.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts +0 -21
- package/dist/src/scalars/components/currency-code-field/currency-code-field.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js +0 -72
- package/dist/src/scalars/components/currency-code-field/currency-code-field.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/defaults.d.ts +0 -4
- 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/index.d.ts +0 -5
- package/dist/src/scalars/components/currency-code-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/index.js +0 -4
- package/dist/src/scalars/components/currency-code-field/index.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/types.d.ts +0 -13
- package/dist/src/scalars/components/currency-code-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/currency-code-field/types.js.map +0 -1
- package/dist/src/scalars/components/currency-code-field/utils.d.ts +0 -38
- 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
- package/dist/src/scalars/components/currency-code-field/utils.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/date-picker-field/date-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js +0 -11
- package/dist/src/scalars/components/date-picker-field/date-picker-field.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts +0 -3
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js +0 -73
- package/dist/src/scalars/components/date-picker-field/date-picker-validations.js.map +0 -1
- package/dist/src/scalars/components/date-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/date-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/date-picker-field/index.js +0 -2
- package/dist/src/scalars/components/date-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts +0 -3
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js +0 -78
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field-validations.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js +0 -11
- package/dist/src/scalars/components/date-time-picker-field/date-time-picker-field.js.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/date-time-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/date-time-picker-field/index.js +0 -2
- package/dist/src/scalars/components/date-time-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/enum-field/enum-field.d.ts +0 -12
- package/dist/src/scalars/components/enum-field/enum-field.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/enum-field.js +0 -18
- package/dist/src/scalars/components/enum-field/enum-field.js.map +0 -1
- package/dist/src/scalars/components/enum-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/index.js.map +0 -1
- package/dist/src/scalars/components/enum-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/enum-field/types.js.map +0 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts +0 -3
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js +0 -27
- package/dist/src/scalars/components/examples/enum-field-example/enum-field-example.js.map +0 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts +0 -3
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js +0 -31
- package/dist/src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.js.map +0 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts +0 -3
- package/dist/src/scalars/components/examples/reset-button/reset-button.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/reset-button/reset-button.js +0 -12
- package/dist/src/scalars/components/examples/reset-button/reset-button.js.map +0 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts +0 -3
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js +0 -16
- package/dist/src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.js.map +0 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts +0 -4
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map +0 -1
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js +0 -75
- package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.js.map +0 -1
- package/dist/src/scalars/components/form/form.d.ts.map +0 -1
- package/dist/src/scalars/components/form/form.js +0 -138
- package/dist/src/scalars/components/form/form.js.map +0 -1
- package/dist/src/scalars/components/form/index.d.ts.map +0 -1
- package/dist/src/scalars/components/form/index.js.map +0 -1
- package/dist/src/scalars/components/form/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/form/utils.js.map +0 -1
- package/dist/src/scalars/components/fragments/button/button.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/button/button.js +0 -23
- package/dist/src/scalars/components/fragments/button/button.js.map +0 -1
- package/dist/src/scalars/components/fragments/button/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/button/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/character-counter.js.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/character-counter/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts +0 -4
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js +0 -6
- package/dist/src/scalars/components/fragments/checkbox-field/checkbox-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/checkbox-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/checkbox-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/checkbox-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/command/command.d.ts +0 -80
- package/dist/src/scalars/components/fragments/command/command.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/command/command.js +0 -21
- package/dist/src/scalars/components/fragments/command/command.js.map +0 -1
- package/dist/src/scalars/components/fragments/command/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/command/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/form-description.js +0 -8
- package/dist/src/scalars/components/fragments/form-description/form-description.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-description/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/form-group.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-group/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/form-label.js +0 -20
- package/dist/src/scalars/components/fragments/form-label/form-label.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-label/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-message.js +0 -15
- package/dist/src/scalars/components/fragments/form-message/form-message.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/form-server-error-message.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/form-message/message-list.js +0 -22
- package/dist/src/scalars/components/fragments/form-message/message-list.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-context.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js +0 -71
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-input-container.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js +0 -47
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list-option.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js +0 -31
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete-list.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js +0 -88
- package/dist/src/scalars/components/fragments/id-autocomplete/id-autocomplete.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/types.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/types.js.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/id-autocomplete/use-id-autocomplete.js.map +0 -1
- package/dist/src/scalars/components/fragments/index.d.ts +0 -8
- package/dist/src/scalars/components/fragments/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/index.js +0 -8
- package/dist/src/scalars/components/fragments/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/popover/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/popover/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/popover/popover.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/popover/popover.js +0 -17
- package/dist/src/scalars/components/fragments/popover/popover.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts +0 -12
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js +0 -18
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio-group.js.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js +0 -24
- package/dist/src/scalars/components/fragments/radio-group-field/radio.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/content.d.ts +0 -17
- package/dist/src/scalars/components/fragments/select-field/content.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/content.js +0 -34
- package/dist/src/scalars/components/fragments/select-field/content.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts +0 -19
- package/dist/src/scalars/components/fragments/select-field/select-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/select-field.js +0 -62
- package/dist/src/scalars/components/fragments/select-field/select-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts +0 -13
- package/dist/src/scalars/components/fragments/select-field/selected-content.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/selected-content.js +0 -26
- package/dist/src/scalars/components/fragments/select-field/selected-content.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts +0 -15
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js +0 -24
- package/dist/src/scalars/components/fragments/select-field/subcomponents/CommandItemList.js.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts +0 -19
- package/dist/src/scalars/components/fragments/select-field/use-select-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/select-field/use-select-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts +0 -8
- package/dist/src/scalars/components/fragments/tabs/tabs.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/tabs/tabs.js +0 -14
- package/dist/src/scalars/components/fragments/tabs/tabs.js.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts +0 -5
- package/dist/src/scalars/components/fragments/text-field/text-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/text-field/text-field.js +0 -5
- package/dist/src/scalars/components/fragments/text-field/text-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/textarea-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/textarea-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts +0 -6
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js +0 -6
- package/dist/src/scalars/components/fragments/textarea-field/textarea-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts +0 -2
- package/dist/src/scalars/components/fragments/toggle-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/index.js +0 -2
- package/dist/src/scalars/components/fragments/toggle-field/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts +0 -6
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js +0 -6
- package/dist/src/scalars/components/fragments/toggle-field/toggle-field.js.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js +0 -142
- package/dist/src/scalars/components/fragments/value-transformer/value-transformer.js.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/index.js.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.d.ts.map +0 -1
- package/dist/src/scalars/components/fragments/with-field-validation/with-field-validation.js.map +0 -1
- package/dist/src/scalars/components/id-field/id-field.d.ts +0 -9
- package/dist/src/scalars/components/id-field/id-field.d.ts.map +0 -1
- package/dist/src/scalars/components/id-field/id-field.js +0 -23
- package/dist/src/scalars/components/id-field/id-field.js.map +0 -1
- package/dist/src/scalars/components/id-field/index.d.ts +0 -2
- package/dist/src/scalars/components/id-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/id-field/index.js +0 -2
- package/dist/src/scalars/components/id-field/index.js.map +0 -1
- package/dist/src/scalars/components/index.d.ts +0 -122
- package/dist/src/scalars/components/index.d.ts.map +0 -1
- package/dist/src/scalars/components/index.js +0 -94
- package/dist/src/scalars/components/index.js.map +0 -1
- package/dist/src/scalars/components/number-field/index.d.ts +0 -2
- package/dist/src/scalars/components/number-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/index.js +0 -2
- package/dist/src/scalars/components/number-field/index.js.map +0 -1
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts +0 -7
- package/dist/src/scalars/components/number-field/number-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/number-field-validations.js +0 -117
- package/dist/src/scalars/components/number-field/number-field-validations.js.map +0 -1
- package/dist/src/scalars/components/number-field/number-field.d.ts +0 -12
- package/dist/src/scalars/components/number-field/number-field.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/number-field.js +0 -50
- package/dist/src/scalars/components/number-field/number-field.js.map +0 -1
- package/dist/src/scalars/components/number-field/types.d.ts +0 -20
- package/dist/src/scalars/components/number-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/types.js.map +0 -1
- package/dist/src/scalars/components/number-field/use-number-field.d.ts +0 -29
- package/dist/src/scalars/components/number-field/use-number-field.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/use-number-field.js +0 -140
- package/dist/src/scalars/components/number-field/use-number-field.js.map +0 -1
- package/dist/src/scalars/components/number-field/utils.d.ts +0 -10
- package/dist/src/scalars/components/number-field/utils.d.ts.map +0 -1
- package/dist/src/scalars/components/number-field/utils.js +0 -38
- package/dist/src/scalars/components/number-field/utils.js.map +0 -1
- package/dist/src/scalars/components/oid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/oid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/index.js +0 -2
- package/dist/src/scalars/components/oid-field/index.js.map +0 -1
- package/dist/src/scalars/components/oid-field/oid-field.d.ts +0 -4
- package/dist/src/scalars/components/oid-field/oid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/oid-field.js +0 -20
- package/dist/src/scalars/components/oid-field/oid-field.js.map +0 -1
- package/dist/src/scalars/components/oid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/oid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/oid-field/types.js +0 -2
- package/dist/src/scalars/components/oid-field/types.js.map +0 -1
- package/dist/src/scalars/components/phid-field/index.d.ts +0 -3
- package/dist/src/scalars/components/phid-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/index.js +0 -2
- package/dist/src/scalars/components/phid-field/index.js.map +0 -1
- package/dist/src/scalars/components/phid-field/phid-field.d.ts +0 -4
- package/dist/src/scalars/components/phid-field/phid-field.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/phid-field.js +0 -51
- package/dist/src/scalars/components/phid-field/phid-field.js.map +0 -1
- package/dist/src/scalars/components/phid-field/types.d.ts +0 -5
- package/dist/src/scalars/components/phid-field/types.d.ts.map +0 -1
- package/dist/src/scalars/components/phid-field/types.js +0 -2
- package/dist/src/scalars/components/phid-field/types.js.map +0 -1
- package/dist/src/scalars/components/string-field/index.d.ts +0 -2
- package/dist/src/scalars/components/string-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/string-field/index.js +0 -2
- package/dist/src/scalars/components/string-field/index.js.map +0 -1
- package/dist/src/scalars/components/string-field/string-field.d.ts +0 -7
- package/dist/src/scalars/components/string-field/string-field.d.ts.map +0 -1
- package/dist/src/scalars/components/string-field/string-field.js +0 -13
- package/dist/src/scalars/components/string-field/string-field.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/index.d.ts +0 -2
- package/dist/src/scalars/components/time-picker-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/index.js +0 -2
- package/dist/src/scalars/components/time-picker-field/index.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts +0 -3
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js +0 -48
- package/dist/src/scalars/components/time-picker-field/time-picker-field-validations.js.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts +0 -7
- package/dist/src/scalars/components/time-picker-field/time-picker-field.d.ts.map +0 -1
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js +0 -11
- package/dist/src/scalars/components/time-picker-field/time-picker-field.js.map +0 -1
- package/dist/src/scalars/components/types.d.ts.map +0 -1
- package/dist/src/scalars/components/types.js +0 -2
- package/dist/src/scalars/components/types.js.map +0 -1
- package/dist/src/scalars/components/url-field/index.d.ts +0 -3
- package/dist/src/scalars/components/url-field/index.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/index.js +0 -3
- package/dist/src/scalars/components/url-field/index.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-favicon.d.ts +0 -8
- package/dist/src/scalars/components/url-field/url-favicon.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-favicon.js +0 -36
- package/dist/src/scalars/components/url-field/url-favicon.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-field.d.ts +0 -9
- package/dist/src/scalars/components/url-field/url-field.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-field.js +0 -48
- package/dist/src/scalars/components/url-field/url-field.js.map +0 -1
- package/dist/src/scalars/components/url-field/url-input.d.ts +0 -11
- package/dist/src/scalars/components/url-field/url-input.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/url-input.js +0 -34
- package/dist/src/scalars/components/url-field/url-input.js.map +0 -1
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts +0 -5
- package/dist/src/scalars/components/url-field/useURLWarnings.d.ts.map +0 -1
- package/dist/src/scalars/components/url-field/useURLWarnings.js +0 -77
- package/dist/src/scalars/components/url-field/useURLWarnings.js.map +0 -1
- package/dist/src/scalars/hooks/useEllipsis.d.ts +0 -7
- package/dist/src/scalars/hooks/useEllipsis.d.ts.map +0 -1
- package/dist/src/scalars/hooks/useEllipsis.js +0 -21
- package/dist/src/scalars/hooks/useEllipsis.js.map +0 -1
- package/dist/src/scalars/index.d.ts +0 -4
- package/dist/src/scalars/index.d.ts.map +0 -1
- package/dist/src/scalars/index.js +0 -5
- package/dist/src/scalars/index.js.map +0 -1
- package/dist/src/scalars/lib/decorators.d.ts.map +0 -1
- package/dist/src/scalars/lib/decorators.js +0 -96
- package/dist/src/scalars/lib/decorators.js.map +0 -1
- package/dist/src/scalars/lib/deep-equal.d.ts.map +0 -1
- package/dist/src/scalars/lib/deep-equal.js.map +0 -1
- package/dist/src/scalars/lib/index.d.ts +0 -7
- package/dist/src/scalars/lib/index.d.ts.map +0 -1
- package/dist/src/scalars/lib/index.js +0 -7
- package/dist/src/scalars/lib/index.js.map +0 -1
- package/dist/src/scalars/lib/is-empty.d.ts.map +0 -1
- package/dist/src/scalars/lib/is-empty.js.map +0 -1
- package/dist/src/scalars/lib/share-number-validations.d.ts +0 -5
- package/dist/src/scalars/lib/share-number-validations.d.ts.map +0 -1
- package/dist/src/scalars/lib/share-number-validations.js +0 -32
- package/dist/src/scalars/lib/share-number-validations.js.map +0 -1
- package/dist/src/scalars/lib/shared-value-transformers.d.ts +0 -3
- package/dist/src/scalars/lib/shared-value-transformers.d.ts.map +0 -1
- package/dist/src/scalars/lib/shared-value-transformers.js.map +0 -1
- package/dist/src/scalars/lib/storybook-arg-types.d.ts.map +0 -1
- package/dist/src/scalars/lib/storybook-arg-types.js.map +0 -1
- package/dist/src/scalars/lib/testing.d.ts.map +0 -1
- package/dist/src/scalars/lib/testing.js.map +0 -1
- package/dist/src/scalars/lib/utils.d.ts +0 -3
- package/dist/src/scalars/lib/utils.d.ts.map +0 -1
- package/dist/src/scalars/lib/utils.js +0 -6
- package/dist/src/scalars/lib/utils.js.map +0 -1
- package/dist/src/scalars/lib/value-cast.d.ts.map +0 -1
- package/dist/src/scalars/lib/value-cast.js +0 -57
- package/dist/src/scalars/lib/value-cast.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/aid-input/aid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js +0 -25
- package/dist/src/ui/components/data-entry/aid-input/aid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/aid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/aid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/aid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/mocks.js +0 -319
- package/dist/src/ui/components/data-entry/aid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts +0 -25
- package/dist/src/ui/components/data-entry/aid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/aid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/aid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts +0 -24
- package/dist/src/ui/components/data-entry/amount-input/amount-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js +0 -34
- package/dist/src/ui/components/data-entry/amount-input/amount-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/amount-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/amount-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts +0 -43
- package/dist/src/ui/components/data-entry/amount-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/amount-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts +0 -34
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +0 -311
- package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts +0 -17
- package/dist/src/ui/components/data-entry/amount-input/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/amount-input/utils.js +0 -92
- package/dist/src/ui/components/data-entry/amount-input/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js +0 -29
- package/dist/src/ui/components/data-entry/checkbox/checkbox-base.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts +0 -10
- package/dist/src/ui/components/data-entry/checkbox/checkbox.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js +0 -22
- package/dist/src/ui/components/data-entry/checkbox/checkbox.js.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/checkbox/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts +0 -25
- package/dist/src/ui/components/data-entry/date-picker/date-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js +0 -47
- package/dist/src/ui/components/data-entry/date-picker/date-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/date-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/date-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts +0 -49
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js +0 -112
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar/calendar.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-date-header/calendar-date-header.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts +0 -22
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js +0 -81
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/calendar-nav/calendar-nav.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts +0 -9
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js +0 -15
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/caption-label/caption-label.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/months-view/month-view.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts +0 -2
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js +0 -15
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts +0 -16
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js +0 -13
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-button.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts +0 -18
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js +0 -8
- package/dist/src/ui/components/data-entry/date-picker/subcomponents/year-view/year-grid.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/types.js +0 -2
- package/dist/src/ui/components/data-entry/date-picker/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts +0 -38
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js +0 -130
- package/dist/src/ui/components/data-entry/date-picker/use-date-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts +0 -50
- package/dist/src/ui/components/data-entry/date-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-picker/utils.js +0 -104
- package/dist/src/ui/components/data-entry/date-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts +0 -25
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js +0 -16
- package/dist/src/ui/components/data-entry/date-time-picker/base-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts +0 -33
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js +0 -37
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker-content.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts +0 -30
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js +0 -50
- package/dist/src/ui/components/data-entry/date-time-picker/date-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/date-time-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/date-time-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts +0 -72
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js +0 -291
- package/dist/src/ui/components/data-entry/date-time-picker/use-date-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts +0 -70
- package/dist/src/ui/components/data-entry/date-time-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js +0 -217
- package/dist/src/ui/components/data-entry/date-time-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/input.js +0 -22
- package/dist/src/ui/components/data-entry/input/input.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts +0 -8
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js +0 -35
- package/dist/src/ui/components/data-entry/input/splitted-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js +0 -8
- package/dist/src/ui/components/data-entry/input/subcomponent/input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts +0 -9
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js +0 -27
- package/dist/src/ui/components/data-entry/input/subcomponent/text-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/oid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/oid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/oid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/mocks.js +0 -119
- package/dist/src/ui/components/data-entry/oid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/oid-input/oid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js +0 -21
- package/dist/src/ui/components/data-entry/oid-input/oid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts +0 -16
- package/dist/src/ui/components/data-entry/oid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/oid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/oid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/phid-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/index.js +0 -2
- package/dist/src/ui/components/data-entry/phid-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts +0 -7
- package/dist/src/ui/components/data-entry/phid-input/mocks.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/mocks.js +0 -224
- package/dist/src/ui/components/data-entry/phid-input/mocks.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts +0 -13
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js +0 -52
- package/dist/src/ui/components/data-entry/phid-input/phid-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts +0 -5
- package/dist/src/ui/components/data-entry/phid-input/phid-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js +0 -28
- package/dist/src/ui/components/data-entry/phid-input/phid-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts +0 -30
- package/dist/src/ui/components/data-entry/phid-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/phid-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/phid-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts +0 -9
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js +0 -8
- package/dist/src/ui/components/data-entry/text-input/text-input-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts +0 -10
- package/dist/src/ui/components/data-entry/text-input/text-input.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/text-input.js +0 -37
- package/dist/src/ui/components/data-entry/text-input/text-input.js.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/types.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/text-input/types.js +0 -2
- package/dist/src/ui/components/data-entry/text-input/types.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/textarea/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/index.js +0 -2
- package/dist/src/ui/components/data-entry/textarea/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts +0 -13
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js +0 -9
- package/dist/src/ui/components/data-entry/textarea/subcomponent/splitted-textarea-diff.js.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts +0 -12
- package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/textarea/textarea.js +0 -103
- package/dist/src/ui/components/data-entry/textarea/textarea.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts +0 -3
- package/dist/src/ui/components/data-entry/time-picker/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/index.js +0 -2
- package/dist/src/ui/components/data-entry/time-picker/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts +0 -8
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js +0 -8
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-period-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts +0 -25
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js +0 -12
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-picker-content.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.constants.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts +0 -5
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js +0 -28
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/time-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts +0 -13
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js +0 -106
- package/dist/src/ui/components/data-entry/time-picker/subcomponents/use-time-selector.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts +0 -23
- package/dist/src/ui/components/data-entry/time-picker/time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js +0 -27
- package/dist/src/ui/components/data-entry/time-picker/time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts +0 -9
- package/dist/src/ui/components/data-entry/time-picker/type.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/type.js +0 -2
- package/dist/src/ui/components/data-entry/time-picker/type.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts +0 -42
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js +0 -144
- package/dist/src/ui/components/data-entry/time-picker/use-time-picker.js.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts +0 -207
- package/dist/src/ui/components/data-entry/time-picker/utils.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/time-picker/utils.js +0 -475
- package/dist/src/ui/components/data-entry/time-picker/utils.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/index.d.ts +0 -2
- package/dist/src/ui/components/data-entry/toggle/index.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/index.js +0 -2
- package/dist/src/ui/components/data-entry/toggle/index.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts +0 -11
- package/dist/src/ui/components/data-entry/toggle/toggle-base.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js +0 -10
- package/dist/src/ui/components/data-entry/toggle/toggle-base.js.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts +0 -11
- package/dist/src/ui/components/data-entry/toggle/toggle.d.ts.map +0 -1
- package/dist/src/ui/components/data-entry/toggle/toggle.js +0 -17
- package/dist/src/ui/components/data-entry/toggle/toggle.js.map +0 -1
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts +0 -3
- package/dist/src/ui/components/dropdown/dropdown-example.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/dropdown-example.js +0 -13
- package/dist/src/ui/components/dropdown/dropdown-example.js.map +0 -1
- package/dist/src/ui/components/dropdown/index.d.ts +0 -8
- package/dist/src/ui/components/dropdown/index.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/index.js +0 -8
- package/dist/src/ui/components/dropdown/index.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts +0 -4
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js +0 -17
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-content.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js +0 -13
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-item.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js +0 -7
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-label.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts +0 -5
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js +0 -7
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-shortcut.js.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts +0 -3
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.d.ts.map +0 -1
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js +0 -6
- package/dist/src/ui/components/dropdown/subcomponents/dropdown-trigger.js.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js +0 -48
- package/dist/src/ui/components/object-set-table/hooks/useGlobalTableKeyEvents.js.map +0 -1
- package/dist/src/ui/components/object-set-table/index.d.ts +0 -2
- package/dist/src/ui/components/object-set-table/index.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/index.js +0 -5
- package/dist/src/ui/components/object-set-table/index.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts +0 -49
- package/dist/src/ui/components/object-set-table/logic/selection-manager.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js +0 -97
- package/dist/src/ui/components/object-set-table/logic/selection-manager.js.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts +0 -52
- package/dist/src/ui/components/object-set-table/logic/table-api.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/logic/table-api.js +0 -105
- package/dist/src/ui/components/object-set-table/logic/table-api.js.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.d.ts +0 -16
- package/dist/src/ui/components/object-set-table/mock-data.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/mock-data.js +0 -101
- package/dist/src/ui/components/object-set-table/mock-data.js.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts +0 -12
- package/dist/src/ui/components/object-set-table/object-set-table.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/object-set-table.js +0 -53
- package/dist/src/ui/components/object-set-table/object-set-table.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/body.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/body.js +0 -114
- package/dist/src/ui/components/object-set-table/subcomponents/body.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/basic-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/cells/default-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/cells/information-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js +0 -15
- package/dist/src/ui/components/object-set-table/subcomponents/cells/row-number-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js +0 -14
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/get-render-fn.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/number-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-cell-renderers/text-render.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js +0 -11
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-formatter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts +0 -4
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/default-fns/default-cell-value-getter.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts +0 -3
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-cell.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts +0 -7
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js +0 -13
- package/dist/src/ui/components/object-set-table/subcomponents/header/header-number-td.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts +0 -8
- package/dist/src/ui/components/object-set-table/subcomponents/header.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/header.js +0 -19
- package/dist/src/ui/components/object-set-table/subcomponents/header.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts +0 -6
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js +0 -18
- package/dist/src/ui/components/object-set-table/subcomponents/rows/table-row.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts +0 -5
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js +0 -16
- package/dist/src/ui/components/object-set-table/subcomponents/table-focus-trap.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts +0 -24
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js +0 -41
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-provider.js.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts +0 -49
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js +0 -109
- package/dist/src/ui/components/object-set-table/subcomponents/table-provider/table-reducer.js.map +0 -1
- package/dist/src/ui/components/object-set-table/types.d.ts +0 -242
- package/dist/src/ui/components/object-set-table/types.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/types.js +0 -2
- package/dist/src/ui/components/object-set-table/types.js.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.d.ts +0 -90
- package/dist/src/ui/components/object-set-table/utils.d.ts.map +0 -1
- package/dist/src/ui/components/object-set-table/utils.js +0 -172
- package/dist/src/ui/components/object-set-table/utils.js.map +0 -1
- package/dist/src/ui/components/sidebar/index.d.ts +0 -4
- package/dist/src/ui/components/sidebar/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/index.js +0 -3
- package/dist/src/ui/components/sidebar/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/mocked_tree.json +0 -5230
- package/dist/src/ui/components/sidebar/sidebar.d.ts +0 -81
- package/dist/src/ui/components/sidebar/sidebar.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/sidebar.js +0 -62
- package/dist/src/ui/components/sidebar/sidebar.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts +0 -7
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js +0 -17
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-content-area.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js +0 -17
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-header.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts +0 -19
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js +0 -82
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-item.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js +0 -13
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-pinning-area.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js +0 -2
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts +0 -37
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js +0 -292
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-provider.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts +0 -93
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js +0 -135
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-provider/sidebar-reducer.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts +0 -4
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js +0 -4
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/index.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js +0 -6
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-navigation-arrow.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/search-result-counter.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts +0 -6
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js +0 -36
- package/dist/src/ui/components/sidebar/subcomponents/sidebar-search/sidebar-search.js.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts +0 -8
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js +0 -32
- package/dist/src/ui/components/sidebar/subcomponents/status-icon.js.map +0 -1
- package/dist/src/ui/components/sidebar/types.d.ts +0 -23
- package/dist/src/ui/components/sidebar/types.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/types.js +0 -10
- package/dist/src/ui/components/sidebar/types.js.map +0 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts +0 -33
- package/dist/src/ui/components/sidebar/use-sidebar-resize.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js +0 -97
- package/dist/src/ui/components/sidebar/use-sidebar-resize.js.map +0 -1
- package/dist/src/ui/components/sidebar/utils.d.ts +0 -52
- package/dist/src/ui/components/sidebar/utils.d.ts.map +0 -1
- package/dist/src/ui/components/sidebar/utils.js +0 -238
- package/dist/src/ui/components/sidebar/utils.js.map +0 -1
- /package/dist/src/{scalars/components/aid-field → ui/components/amount-input}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/button.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/button/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/character-counter.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/character-counter/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/checkbox-base.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/checkbox → checkbox}/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/command/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/command/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/date-picker → date-picker}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/country-code-field → ui/components/date-picker}/types.js +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/index.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/index.js +0 -0
- /package/dist/src/{scalars → ui}/components/enum-field/types.d.ts +0 -0
- /package/dist/src/{scalars/components/currency-code-field → ui/components/enum-field}/types.js +0 -0
- /package/dist/src/{scalars → ui}/components/form/form.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/index.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/index.js +0 -0
- /package/dist/src/{scalars → ui}/components/form/utils.d.ts +0 -0
- /package/dist/src/{scalars → ui}/components/form/utils.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/form-description.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-description/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/form-group.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-group/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/form-label.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-label/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-message.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/form-server-error-message.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/form-message/message-list.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-context.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-input-container.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list-option.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete-list.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/id-autocomplete.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/types.d.ts +0 -0
- /package/dist/src/{scalars/components/enum-field → ui/components/id-autocomplete}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/id-autocomplete/use-id-autocomplete.js +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/input.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/input → input}/subcomponent/input-diff.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/popover/popover.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio-group.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/radio-group-field/radio.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/select-field/use-select-field.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/text-field/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.d.ts +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/index.js +0 -0
- /package/dist/src/ui/components/{data-entry/text-input → text-input}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments/id-autocomplete → ui/components/text-input}/types.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/value-transformer/value-transformer.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/index.js +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.d.ts +0 -0
- /package/dist/src/{scalars/components/fragments → ui/components}/with-field-validation/with-field-validation.js +0 -0
- /package/dist/src/{scalars → ui}/lib/decorators.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/deep-equal.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/deep-equal.js +0 -0
- /package/dist/src/{scalars → ui}/lib/is-empty.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/is-empty.js +0 -0
- /package/dist/src/{scalars → ui}/lib/shared-value-transformers.js +0 -0
- /package/dist/src/{scalars → ui}/lib/storybook-arg-types.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/storybook-arg-types.js +0 -0
- /package/dist/src/{scalars → ui}/lib/testing.d.ts +0 -0
- /package/dist/src/{scalars → ui}/lib/testing.js +0 -0
- /package/dist/src/{scalars → ui}/lib/value-cast.d.ts +0 -0
- /package/dist/src/{scalars/components → ui}/types.d.ts +0 -0
- /package/dist/src/{scalars/components/number-field → ui}/types.js +0 -0
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export const isInteger = (value) => Number.isInteger(Number(value));
|
|
2
|
-
export const isFloat = (value) => {
|
|
3
|
-
const number = Number(value);
|
|
4
|
-
return !isNaN(number) && isFinite(number);
|
|
5
|
-
};
|
|
6
|
-
export const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER;
|
|
7
|
-
// Utility function to check if a value is a valid number
|
|
8
|
-
export const isValidNumber = (value) => {
|
|
9
|
-
return /^-?\d+(\.\d+)?$/.test(value);
|
|
10
|
-
};
|
|
11
|
-
export const validateNumericType = ({ numericType }) => (value) => {
|
|
12
|
-
if (value === "") {
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
if (!isValidNumber(value)) {
|
|
16
|
-
return "Value is not a valid number";
|
|
17
|
-
}
|
|
18
|
-
const isPositive = Number(value) > 0;
|
|
19
|
-
const isNegative = Number(value) < 0;
|
|
20
|
-
const isInt = isInteger(value);
|
|
21
|
-
const numberValue = Number(value);
|
|
22
|
-
if (Math.abs(numberValue) > Number.MAX_SAFE_INTEGER &&
|
|
23
|
-
numericType !== "BigInt") {
|
|
24
|
-
const isFloatType = numericType &&
|
|
25
|
-
[
|
|
26
|
-
"Float",
|
|
27
|
-
"PositiveFloat",
|
|
28
|
-
"NegativeFloat",
|
|
29
|
-
"NonNegativeFloat",
|
|
30
|
-
"NonPositiveFloat",
|
|
31
|
-
].includes(numericType);
|
|
32
|
-
return isFloatType
|
|
33
|
-
? "Value is too large for float"
|
|
34
|
-
: "Value is too large for int";
|
|
35
|
-
}
|
|
36
|
-
switch (numericType) {
|
|
37
|
-
case "PositiveInt": {
|
|
38
|
-
if (!isInt)
|
|
39
|
-
return "Value must be a positive integer";
|
|
40
|
-
if (isPositive)
|
|
41
|
-
return true;
|
|
42
|
-
return "Value must be a positive integer";
|
|
43
|
-
}
|
|
44
|
-
case "NegativeInt": {
|
|
45
|
-
if (!isInt)
|
|
46
|
-
return "Value must be a negative integer";
|
|
47
|
-
if (Number(value) >= 0)
|
|
48
|
-
return "Value must be a negative integer";
|
|
49
|
-
if (isNegative)
|
|
50
|
-
return true;
|
|
51
|
-
return "Value must be a negative integer";
|
|
52
|
-
}
|
|
53
|
-
case "NonNegativeInt": {
|
|
54
|
-
if (!isInt)
|
|
55
|
-
return "Value must be a non-negative integer";
|
|
56
|
-
if (Number(value) >= 0)
|
|
57
|
-
return true;
|
|
58
|
-
return "Value must be a non-negative integer";
|
|
59
|
-
}
|
|
60
|
-
case "NonPositiveInt": {
|
|
61
|
-
if (!isInt)
|
|
62
|
-
return "Value must be a non-positive integer";
|
|
63
|
-
if (Number(value) <= 0)
|
|
64
|
-
return true;
|
|
65
|
-
return "Value must be a non-positive integer";
|
|
66
|
-
}
|
|
67
|
-
case "PositiveFloat": {
|
|
68
|
-
if (!isFloat(value))
|
|
69
|
-
return "Value must be a positive float";
|
|
70
|
-
if (parseFloat(value) > 0)
|
|
71
|
-
return true;
|
|
72
|
-
return "Value must be a positive float";
|
|
73
|
-
}
|
|
74
|
-
case "NegativeFloat": {
|
|
75
|
-
if (!isFloat(value))
|
|
76
|
-
return "Value must be a negative float";
|
|
77
|
-
if (parseFloat(value) >= 0)
|
|
78
|
-
return "Value must be a negative float";
|
|
79
|
-
if (isNegative)
|
|
80
|
-
return true;
|
|
81
|
-
return "Value must be a negative float";
|
|
82
|
-
}
|
|
83
|
-
case "NonNegativeFloat": {
|
|
84
|
-
if (!isFloat(value))
|
|
85
|
-
return "Value must be a non-negative float ";
|
|
86
|
-
if (parseFloat(value) >= 0)
|
|
87
|
-
return true;
|
|
88
|
-
return "Value must be a non-negative float";
|
|
89
|
-
}
|
|
90
|
-
case "NonPositiveFloat": {
|
|
91
|
-
if (!isFloat(value))
|
|
92
|
-
return "Value must be a non-positive float";
|
|
93
|
-
if (parseFloat(value) <= 0)
|
|
94
|
-
return true;
|
|
95
|
-
return "Value must be a non-positive float";
|
|
96
|
-
}
|
|
97
|
-
case "Int": {
|
|
98
|
-
if (!isInt)
|
|
99
|
-
return "Value must be an integer";
|
|
100
|
-
return true;
|
|
101
|
-
}
|
|
102
|
-
case "Float": {
|
|
103
|
-
if (!isFloat(value))
|
|
104
|
-
return "Value must be a float";
|
|
105
|
-
return true;
|
|
106
|
-
}
|
|
107
|
-
case "BigInt": {
|
|
108
|
-
if (isInt)
|
|
109
|
-
return true;
|
|
110
|
-
return "This is not a valid BigInt";
|
|
111
|
-
}
|
|
112
|
-
default: {
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
//# sourceMappingURL=number-field-validations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-field-validations.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field-validations.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAc,EAAW,EAAE,CACnD,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAElC,MAAM,CAAC,MA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,CAAC,KAAe,CAAC,IAAI,CAAC;gBAClC,OAAO,gCAAgC,CAAC;YAC1C,IAAI,UAAU;gBAAE,OAAO,IAAI,CAAC;YAC5B,OAAO,gCAAgC,CAAC;QAC1C,CAAC;QAED,KAAK,kBAAkB,CAAC,CAAC,CAAC;YACxB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAAE,OAAO,qCAAqC,CAAC;YAElE,IAAI,UAAU,CAAC,KAAe,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC;YAClD,OAAO,oCAAoC,CAAC;QAC9C,CAAC;QAED,KAAK,kBAAkB,CAAC,CAAC,CAAC;YACxB,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAAE,OAAO,oCAAoC,CAAC;YACjE,IAAI,UAAU,CAAC,KAAe,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC;YAClD,OAAO,oCAAoC,CAAC;QAC9C,CAAC;QAED,KAAK,KAAK,CAAC,CAAC,CAAC;YACX,IAAI,CAAC,KAAK;gBAAE,OAAO,0BAA0B,CAAC;YAC9C,OAAO,IAAI,CAAC;QACd,CAAC;QAED,KAAK,OAAO,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAAE,OAAO,uBAAuB,CAAC;YACpD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,KAAK,QAAQ,CAAC,CAAC,CAAC;YACd,IAAI,KAAK;gBAAE,OAAO,IAAI,CAAC;YACvB,OAAO,4BAA4B,CAAC;QACtC,CAAC;QAED,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { InputNumberProps } from "./types.js";
|
|
2
|
-
export interface NumberFieldProps extends InputNumberProps {
|
|
3
|
-
name: string;
|
|
4
|
-
value?: number | bigint;
|
|
5
|
-
defaultValue?: number | bigint;
|
|
6
|
-
className?: string;
|
|
7
|
-
pattern?: RegExp;
|
|
8
|
-
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const NumberFieldRaw: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export declare const NumberField: import("react").ForwardRefExoticComponent<NumberFieldProps & import("react").RefAttributes<unknown>>;
|
|
12
|
-
//# sourceMappingURL=number-field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC3D;AACD,eAAO,MAAM,cAAc,+GAoJ1B,CAAC;AAEF,eAAO,MAAM,WAAW,sGAOvB,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "#powerhouse";
|
|
3
|
-
import { cn } from "#scalars";
|
|
4
|
-
import { forwardRef, useId } from "react";
|
|
5
|
-
import { Input } from "../../../ui/components/index.js";
|
|
6
|
-
import { FormDescription } from "../fragments/form-description/index.js";
|
|
7
|
-
import { FormGroup } from "../fragments/form-group/index.js";
|
|
8
|
-
import { FormLabel } from "../fragments/form-label/index.js";
|
|
9
|
-
import { FormMessageList } from "../fragments/form-message/index.js";
|
|
10
|
-
import { withFieldValidation } from "../fragments/with-field-validation/index.js";
|
|
11
|
-
import { validateNumericType } from "./number-field-validations.js";
|
|
12
|
-
import { useNumberField } from "./use-number-field.js";
|
|
13
|
-
import { regex } from "./utils.js";
|
|
14
|
-
export const NumberFieldRaw = forwardRef(({ label, name, description, value, defaultValue, onChange, onBlur, errors, warnings, className, id: propId, minValue, maxValue, step = 1, pattern, trailingZeros = false, numericType = "Float", precision = 0, onFocus, ...props }, ref) => {
|
|
15
|
-
const generatedId = useId();
|
|
16
|
-
const id = propId ?? generatedId;
|
|
17
|
-
const { canIncrement, canDecrement, showSteps, preventInvalidCharsAndHandleArrows, stepValueHandler, blockInvalidPaste, preventLetterInput, isBigInt, handleBlur, handleFocus, buttonRef, } = useNumberField({
|
|
18
|
-
value,
|
|
19
|
-
maxValue,
|
|
20
|
-
minValue,
|
|
21
|
-
step,
|
|
22
|
-
onChange,
|
|
23
|
-
numericType,
|
|
24
|
-
onBlur,
|
|
25
|
-
trailingZeros,
|
|
26
|
-
precision,
|
|
27
|
-
onFocus,
|
|
28
|
-
});
|
|
29
|
-
return (_jsxs(FormGroup, { children: [label && (_jsx(FormLabel, { htmlFor: id, required: props.required, disabled: props.disabled, hasError: !!errors?.length, className: "mb-[3px]", children: label })), _jsxs("div", { className: "relative flex items-center", children: [_jsx(Input, { id: id, onFocus: handleFocus, name: name, className: cn("pr-8", className), pattern: isBigInt ? regex.toString() : pattern?.toString(), type: "text", inputMode: "numeric", role: "spinbutton", min: minValue, max: maxValue, "aria-valuemin": minValue, "aria-valuemax": maxValue, "aria-invalid": !!errors?.length, onKeyDown: (e) => {
|
|
30
|
-
preventLetterInput(e);
|
|
31
|
-
preventInvalidCharsAndHandleArrows(e);
|
|
32
|
-
}, value: value === undefined ? "" : value.toString(), onBlur: handleBlur, defaultValue: defaultValue?.toString(), onChange: onChange, onPaste: blockInvalidPaste, ref: ref, "data-cast": isBigInt ? "BigInt" : "Number", ...props }), showSteps && (_jsxs("div", { className: "absolute inset-y-2 right-3 flex flex-col justify-center", children: [_jsx("button", { "aria-label": "Increment", disabled: canIncrement, onMouseDown: (e) => e.preventDefault(), type: "button", onClick: (e) => {
|
|
33
|
-
stepValueHandler(e, "increment");
|
|
34
|
-
if (buttonRef.current) {
|
|
35
|
-
buttonRef.current.focus();
|
|
36
|
-
}
|
|
37
|
-
}, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn("rotate-180 text-gray-700 dark:text-gray-300", canIncrement && "cursor-not-allowed") }) }), _jsx("button", { "aria-label": "Decrement", onMouseDown: (e) => e.preventDefault(), disabled: canDecrement, type: "button", onClick: (e) => {
|
|
38
|
-
stepValueHandler(e, "decrement");
|
|
39
|
-
if (buttonRef.current) {
|
|
40
|
-
buttonRef.current.focus();
|
|
41
|
-
}
|
|
42
|
-
}, children: _jsx(Icon, { size: 10, name: "ChevronDown", className: cn("items-center justify-center text-gray-700 dark:text-gray-300", canDecrement && "cursor-not-allowed") }) })] }))] }), description && _jsx(FormDescription, { children: description }), warnings && _jsx(FormMessageList, { messages: warnings, type: "warning" }), errors && _jsx(FormMessageList, { messages: errors, type: "error" })] }));
|
|
43
|
-
});
|
|
44
|
-
export const NumberField = withFieldValidation(NumberFieldRaw, {
|
|
45
|
-
validations: {
|
|
46
|
-
_numericType: validateNumericType,
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
NumberField.displayName = "NumberField";
|
|
50
|
-
//# sourceMappingURL=number-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/number-field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC1C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ACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAC5C,cAAc,EACd;IACE,WAAW,EAAE;QACX,YAAY,EAAE,mBAAmB;KAClC;CACF,CACF,CAAC;AACF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { FieldErrorHandling, InputBaseProps } from "../types.js";
|
|
2
|
-
type NumberProps = {
|
|
3
|
-
numericType?: NumericType | undefined;
|
|
4
|
-
minValue?: number;
|
|
5
|
-
maxValue?: number;
|
|
6
|
-
step?: number;
|
|
7
|
-
precision?: number;
|
|
8
|
-
trailingZeros?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type NumericType = "PositiveInt" | "NegativeInt" | "NonNegativeInt" | "NonPositiveInt" | "NegativeFloat" | "PositiveFloat" | "NonNegativeFloat" | "NonPositiveFloat" | "BigInt" | "Int" | "Float";
|
|
11
|
-
export interface InputNumberProps extends Omit<InputBaseProps<string | number> & FieldErrorHandling & NumberProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "min" | "max" | "minLength" | "maxLength">, "value" | "defaultValue" | "name" | "pattern"> {
|
|
12
|
-
name: string;
|
|
13
|
-
min?: number;
|
|
14
|
-
max?: number;
|
|
15
|
-
step?: number;
|
|
16
|
-
precision?: number;
|
|
17
|
-
trailingZeros?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEtE,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,KAAK,GACL,OAAO,CAAC;AAEZ,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,GAC7B,kBAAkB,GAClB,WAAW,GACX,IAAI,CACF,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,KAAK,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAC1C,EACH,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,SAAS,CAC9C;IACD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type NumericType } from "./types.js";
|
|
2
|
-
interface UseNumberFieldProps {
|
|
3
|
-
value?: number | bigint;
|
|
4
|
-
maxValue?: number;
|
|
5
|
-
minValue?: number;
|
|
6
|
-
step?: number;
|
|
7
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
numericType?: NumericType;
|
|
9
|
-
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
10
|
-
trailingZeros?: boolean;
|
|
11
|
-
precision?: number;
|
|
12
|
-
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const useNumberField: ({ value, maxValue, minValue, step, onChange, numericType, onBlur, trailingZeros, precision, onFocus, }: UseNumberFieldProps) => {
|
|
15
|
-
canIncrement: boolean;
|
|
16
|
-
canDecrement: boolean;
|
|
17
|
-
showSteps: boolean;
|
|
18
|
-
preventInvalidCharsAndHandleArrows: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
19
|
-
stepValueHandler: (e: React.MouseEvent<HTMLButtonElement>, operation: "increment" | "decrement") => void;
|
|
20
|
-
blockInvalidPaste: (e: React.ClipboardEvent<HTMLInputElement>) => void;
|
|
21
|
-
preventLetterInput: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
22
|
-
isBigInt: boolean | undefined;
|
|
23
|
-
handleBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
24
|
-
handleFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
25
|
-
isFocus: boolean;
|
|
26
|
-
buttonRef: import("react").RefObject<HTMLButtonElement>;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=use-number-field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-number-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/use-number-field.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,cAAc,GAAI,wGAW5B,mBAAmB;;;;4CAsBf,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;0BAsCrC,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAC3B,WAAW,GAAG,WAAW;2BAnBR,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;gCAQjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;;oBA8CjD,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;qBAqDjC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC;;;CAoB3D,CAAC"}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { useRef, useState } from "react";
|
|
2
|
-
import { isNotSafeValue } from "../../../ui/components/data-entry/amount-input/utils.js";
|
|
3
|
-
import { getDisplayValue } from "./utils.js";
|
|
4
|
-
export const useNumberField = ({ value, maxValue, minValue, step = 1, onChange, numericType, onBlur, trailingZeros = false, precision = 0, onFocus, }) => {
|
|
5
|
-
const [isFocus, setIsFocus] = useState(false);
|
|
6
|
-
const buttonRef = useRef(null);
|
|
7
|
-
const canIncrement = maxValue !== undefined &&
|
|
8
|
-
(typeof value === "bigint"
|
|
9
|
-
? value >= BigInt(maxValue)
|
|
10
|
-
: Number(value) >= maxValue);
|
|
11
|
-
const canDecrement = minValue !== undefined &&
|
|
12
|
-
(typeof value === "bigint"
|
|
13
|
-
? value <= BigInt(minValue)
|
|
14
|
-
: Number(value) <= minValue);
|
|
15
|
-
const showSteps = isFocus;
|
|
16
|
-
// Boolean to no convert float values to BigInt
|
|
17
|
-
const isBigInt = numericType && numericType === "BigInt";
|
|
18
|
-
// Prevent to write invalid characters and handle the arrow keys
|
|
19
|
-
const preventInvalidCharsAndHandleArrows = (e) => {
|
|
20
|
-
if (["e", "E", "+"].includes(e.key)) {
|
|
21
|
-
e.preventDefault();
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
// Handle the arrow keys
|
|
25
|
-
if (e.key === "ArrowUp" || e.key === "ArrowDown") {
|
|
26
|
-
e.preventDefault();
|
|
27
|
-
const operation = e.key === "ArrowUp" ? "increment" : "decrement";
|
|
28
|
-
// Call the handleChangeSteps function
|
|
29
|
-
stepValueHandler(e, operation);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
// Prevent pasting invalid characters
|
|
33
|
-
const blockInvalidPaste = (e) => {
|
|
34
|
-
const pastedData = e.clipboardData.getData("Text");
|
|
35
|
-
if (/[eE]/.test(pastedData)) {
|
|
36
|
-
e.preventDefault();
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
// Avoid to write letters directly in safari
|
|
40
|
-
const preventLetterInput = (event) => {
|
|
41
|
-
const char = event.key;
|
|
42
|
-
// Only prevent letters, allow all other characters
|
|
43
|
-
if (/^[a-zA-Z]$/.test(char) && !(event.ctrlKey || event.metaKey)) {
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
// Handle the step value
|
|
48
|
-
const stepValueHandler = (e, operation) => {
|
|
49
|
-
e.preventDefault();
|
|
50
|
-
let newValue;
|
|
51
|
-
if (isBigInt) {
|
|
52
|
-
const currentValue = BigInt(value ?? 0);
|
|
53
|
-
const adjustment = BigInt(step || 1) *
|
|
54
|
-
(operation === "increment" ? BigInt(1) : BigInt(-1));
|
|
55
|
-
newValue = currentValue + adjustment;
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
const currentValue = Number(value ?? 0);
|
|
59
|
-
const adjustment = (step || 1) * (operation === "increment" ? 1 : -1);
|
|
60
|
-
newValue = currentValue + adjustment;
|
|
61
|
-
}
|
|
62
|
-
if (!isBigInt) {
|
|
63
|
-
if (maxValue !== undefined && Number(newValue) > maxValue)
|
|
64
|
-
return;
|
|
65
|
-
if (minValue !== undefined && Number(newValue) < minValue)
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
const nativeEvent = new Event("change", {
|
|
69
|
-
bubbles: true,
|
|
70
|
-
cancelable: true,
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(nativeEvent, "target", {
|
|
73
|
-
value: { value: newValue },
|
|
74
|
-
writable: false,
|
|
75
|
-
});
|
|
76
|
-
onChange?.(nativeEvent);
|
|
77
|
-
};
|
|
78
|
-
const handleBlur = (e) => {
|
|
79
|
-
setIsFocus(false);
|
|
80
|
-
const inputValue = e.target.value;
|
|
81
|
-
// If the value is not a number, not an empty string, or is empty, show the error message or keep it empty
|
|
82
|
-
if (inputValue === "" || isNaN(Number(inputValue))) {
|
|
83
|
-
onBlur?.(e);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const integerTypes = [
|
|
87
|
-
"PositiveInt",
|
|
88
|
-
"NegativeInt",
|
|
89
|
-
"NonNegativeInt",
|
|
90
|
-
"NonPositiveInt",
|
|
91
|
-
"BigInt",
|
|
92
|
-
"Int",
|
|
93
|
-
];
|
|
94
|
-
// Get the formatted value for keeping the trailing zeros
|
|
95
|
-
const formattedValue = getDisplayValue(inputValue, {
|
|
96
|
-
numericType,
|
|
97
|
-
precision,
|
|
98
|
-
trailingZeros,
|
|
99
|
-
});
|
|
100
|
-
const isNotSafe = isNotSafeValue(inputValue);
|
|
101
|
-
// Avoid converting an unsafe value to scientific notation
|
|
102
|
-
if (isNotSafe) {
|
|
103
|
-
onBlur?.(e);
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
const finalValue = !numericType || integerTypes.includes(numericType)
|
|
107
|
-
? parseFloat(inputValue).toString()
|
|
108
|
-
: formattedValue;
|
|
109
|
-
const nativeEvent = new Event("change", {
|
|
110
|
-
bubbles: true,
|
|
111
|
-
cancelable: true,
|
|
112
|
-
});
|
|
113
|
-
Object.defineProperty(nativeEvent, "target", {
|
|
114
|
-
value: { value: finalValue },
|
|
115
|
-
writable: false,
|
|
116
|
-
});
|
|
117
|
-
onChange?.(nativeEvent);
|
|
118
|
-
onBlur?.(e);
|
|
119
|
-
};
|
|
120
|
-
const handleFocus = (e) => {
|
|
121
|
-
e.preventDefault();
|
|
122
|
-
setIsFocus(true);
|
|
123
|
-
onFocus?.(e);
|
|
124
|
-
};
|
|
125
|
-
return {
|
|
126
|
-
canIncrement,
|
|
127
|
-
canDecrement,
|
|
128
|
-
showSteps,
|
|
129
|
-
preventInvalidCharsAndHandleArrows,
|
|
130
|
-
stepValueHandler,
|
|
131
|
-
blockInvalidPaste,
|
|
132
|
-
preventLetterInput,
|
|
133
|
-
isBigInt,
|
|
134
|
-
handleBlur,
|
|
135
|
-
handleFocus,
|
|
136
|
-
isFocus,
|
|
137
|
-
buttonRef,
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
//# sourceMappingURL=use-number-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-number-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/use-number-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAC;AAEzF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAe7C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,IAAI,GAAG,CAAC,EACR,QAAQ,EACR,WAAW,EACX,MAAM,EACN,aAAa,GAAG,KAAK,EACrB,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= {
|
|
4
|
-
numericType?: NumericType;
|
|
5
|
-
trailingZeros?: boolean;
|
|
6
|
-
precision?: number;
|
|
7
|
-
};
|
|
8
|
-
export declare function getDisplayValue(value?: string, transformProps?: TransformProps): string;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,KAAK,QAAkB,CAAC;AAmBrC,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,eAAe,CAC7B,KAAK,CAAC,EAAE,MAAM,EACd,cAAc,CAAC,EAAE,cAAc,UAiChC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MAX_SAFE_INTEGER } from "./number-field-validations.js";
|
|
2
|
-
export const regex = /^-?\d*\.?\d*$/;
|
|
3
|
-
const floatTypes = [
|
|
4
|
-
"NegativeFloat",
|
|
5
|
-
"PositiveFloat",
|
|
6
|
-
"NonNegativeFloat",
|
|
7
|
-
"NonPositiveFloat",
|
|
8
|
-
"Float",
|
|
9
|
-
];
|
|
10
|
-
const formatValue = (value, precision, trailingZeros) => {
|
|
11
|
-
const formattedValue = parseFloat(value).toFixed(precision);
|
|
12
|
-
return trailingZeros ? formattedValue : parseFloat(formattedValue).toString();
|
|
13
|
-
};
|
|
14
|
-
export function getDisplayValue(value, transformProps) {
|
|
15
|
-
if (!value)
|
|
16
|
-
return "";
|
|
17
|
-
const { numericType, precision, trailingZeros = false, } = transformProps || {};
|
|
18
|
-
const isFloat = numericType && floatTypes.includes(numericType);
|
|
19
|
-
const numberValue = Number(value);
|
|
20
|
-
if (numericType === "BigInt") {
|
|
21
|
-
//Not need to convert a BigInt the convertion is done in the onSubmit
|
|
22
|
-
return value;
|
|
23
|
-
}
|
|
24
|
-
//kee the value as its if a flaot and no precision is set
|
|
25
|
-
if (isFloat && precision === 0) {
|
|
26
|
-
return numberValue.toString();
|
|
27
|
-
}
|
|
28
|
-
//keep the value as its if the value is greater than the max safe integer
|
|
29
|
-
// to avoid convert to cientific notation
|
|
30
|
-
if (Math.abs(numberValue) > MAX_SAFE_INTEGER) {
|
|
31
|
-
return value.toString();
|
|
32
|
-
}
|
|
33
|
-
if (precision !== 0) {
|
|
34
|
-
return formatValue(value, precision, trailingZeros);
|
|
35
|
-
}
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/scalars/components/number-field/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC;AAErC,MAAM,UAAU,GAAkB;IAChC,eAAe;IACf,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,OAAO;CACR,CAAC;AAEF,MAAM,WAAW,GAAG,CAClB,KAAa,EACb,SAAkB,EAClB,aAAuB,EACvB,EAAE;IACF,MAAM,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5D,OAAO,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE,CAAC;AAChF,CAAC,CAAC;AAQF,MAAM,UAAU,eAAe,CAC7B,KAAc,EACd,cAA+B;IAE/B,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IAEtB,MAAM,EACJ,WAAW,EACX,SAAS,EACT,aAAa,GAAG,KAAK,GACtB,GAAG,cAAc,IAAI,EAAE,CAAC;IAEzB,MAAM,OAAO,GAAG,WAAW,IAAI,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAChE,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAElC,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;QAC7B,qEAAqE;QACrE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,yDAAyD;IACzD,IAAI,OAAO,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;QAC/B,OAAO,WAAW,CAAC,QAAQ,EAAE,CAAC;IAChC,CAAC;IAED,yEAAyE;IACzE,yCAAyC;IACzC,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,gBAAgB,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC1B,CAAC;IAED,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oid-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/oid-field.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,QAAA,MAAM,QAAQ,mGAkBZ,CAAC;AAIH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { OIDInput } from "../../../ui/components/data-entry/oid-input/index.js";
|
|
2
|
-
import { withFieldValidation } from "../fragments/with-field-validation/index.js";
|
|
3
|
-
const OIDField = withFieldValidation(OIDInput, {
|
|
4
|
-
validations: {
|
|
5
|
-
_validOIDFormat: () => (value) => {
|
|
6
|
-
if (value === "" || value === undefined) {
|
|
7
|
-
return true;
|
|
8
|
-
}
|
|
9
|
-
const uuidPattern = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
|
|
10
|
-
const isValidUUID = new RegExp(uuidPattern).test(value);
|
|
11
|
-
if (!isValidUUID) {
|
|
12
|
-
return "Invalid uuid format. Please enter a valid uuid v4.";
|
|
13
|
-
}
|
|
14
|
-
return true;
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
OIDField.displayName = "OIDField";
|
|
19
|
-
export { OIDField };
|
|
20
|
-
//# sourceMappingURL=oid-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oid-field.js","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/oid-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAGlF,MAAM,QAAQ,GAAG,mBAAmB,CAAgB,QAAQ,EAAE;IAC5D,WAAW,EAAE;QACX,eAAe,EAAE,GAAG,EAAE,CAAC,CAAC,KAAyB,EAAE,EAAE;YACnD,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACxC,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,WAAW,GACf,+EAA+E,CAAC;YAElF,MAAM,WAAW,GAAG,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACxD,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,OAAO,oDAAoD,CAAC;YAC9D,CAAC;YAED,OAAO,IAAI,CAAC;QACd,CAAC;KACF;CACF,CAAC,CAAC;AAEH,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { OIDInputProps } from "../../../ui/components/data-entry/oid-input/types.js";
|
|
2
|
-
import type { FieldErrorHandling } from "../types.js";
|
|
3
|
-
type OIDFieldProps = OIDInputProps & FieldErrorHandling;
|
|
4
|
-
export type { OIDFieldProps };
|
|
5
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,KAAK,aAAa,GAAG,aAAa,GAAG,kBAAkB,CAAC;AAExD,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/scalars/components/oid-field/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/phid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/phid-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phid-field.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/phid-field/phid-field.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,QAAA,MAAM,SAAS,oGA2Db,CAAC;AAIH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|