@powerhousedao/design-system 2.5.0-dev.3 → 2.5.0-dev.31
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum-field-example.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/enum-field-example/enum-field-example.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,gBAAgB,+CAoDrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#powerhouse";
|
|
3
|
-
import { EnumField } from "../../enum-field/index.js";
|
|
4
|
-
import { Form } from "../../form/index.js";
|
|
5
|
-
const EnumFieldExample = () => {
|
|
6
|
-
const onSubmit = async (data) => {
|
|
7
|
-
// simulate a network request
|
|
8
|
-
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
9
|
-
alert(JSON.stringify(data, null, 2));
|
|
10
|
-
};
|
|
11
|
-
const genderOptions = [
|
|
12
|
-
{ label: "Male", value: "male" },
|
|
13
|
-
{ label: "Female", value: "female" },
|
|
14
|
-
{ label: "Other", value: "other" },
|
|
15
|
-
];
|
|
16
|
-
const colorOptions = [
|
|
17
|
-
{ label: "Red", value: "red" },
|
|
18
|
-
{ label: "Blue", value: "blue" },
|
|
19
|
-
{ label: "Green", value: "green" },
|
|
20
|
-
{ label: "Yellow", value: "yellow" },
|
|
21
|
-
{ label: "Purple", value: "purple" },
|
|
22
|
-
{ label: "Orange", value: "orange" },
|
|
23
|
-
];
|
|
24
|
-
return (_jsx(Form, { onSubmit: onSubmit, children: ({ formState: { isSubmitting } }) => (_jsxs("div", { className: "flex w-[400px] flex-col gap-4", children: [_jsx(EnumField, { name: "gender", label: "Gender", variant: "RadioGroup", options: genderOptions, required: true }), _jsx(EnumField, { name: "favoriteColor", label: "Favorite Color", description: "Choose your favorite color", variant: "Select", options: colorOptions, searchable: true, placeholder: "Select a color", required: true }), _jsx(Button, { type: "submit", disabled: isSubmitting, children: isSubmitting ? "Submitting..." : "Submit" })] })) }));
|
|
25
|
-
};
|
|
26
|
-
export default EnumFieldExample;
|
|
27
|
-
//# sourceMappingURL=enum-field-example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum-field-example.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/enum-field-example/enum-field-example.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC5B,MAAM,QAAQ,GAAG,KAAK,EAAE,IAAS,EAAE,EAAE;QACnC,6BAA6B;QAC7B,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;QAC1D,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG;QACpB,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;QAChC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;QACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;KACnC,CAAC;IAEF,MAAM,YAAY,GAAG;QACnB,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;QAC9B,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;QAChC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;QAClC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;QACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;QACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;KACrC,CAAC;IAEF,OAAO,CACL,KAAC,IAAI,IAAC,QAAQ,EAAE,QAAQ,YACrB,CAAC,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,CAAC,CACpC,eAAK,SAAS,EAAC,+BAA+B,aAC5C,KAAC,SAAS,IACR,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,YAAY,EACpB,OAAO,EAAE,aAAa,EACtB,QAAQ,SACR,EAEF,KAAC,SAAS,IACR,IAAI,EAAC,eAAe,EACpB,KAAK,EAAC,gBAAgB,EACtB,WAAW,EAAC,4BAA4B,EACxC,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,YAAY,EACrB,UAAU,QACV,WAAW,EAAC,gBAAgB,EAC5B,QAAQ,SACR,EAEF,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,YAAY,YACzC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,GACnC,IACL,CACP,GACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-fields-with-complex-layout.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,+BAA+B,+CAsHpC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#powerhouse";
|
|
3
|
-
import { BooleanField } from "../../boolean-field/index.js";
|
|
4
|
-
import { Form } from "../../form/index.js";
|
|
5
|
-
import { RadioGroupField } from "../../fragments/index.js";
|
|
6
|
-
import { NumberField } from "../../number-field/index.js";
|
|
7
|
-
import { StringField } from "../../string-field/index.js";
|
|
8
|
-
const MultipleFieldsWithComplexLayout = () => {
|
|
9
|
-
const onSubmit = async (data) => {
|
|
10
|
-
// simulate a slow network request
|
|
11
|
-
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
12
|
-
alert(JSON.stringify(data, null, 2));
|
|
13
|
-
};
|
|
14
|
-
return (_jsx(Form, { onSubmit: onSubmit, defaultValues: {
|
|
15
|
-
name: "",
|
|
16
|
-
email: "",
|
|
17
|
-
bio: "",
|
|
18
|
-
phone: "",
|
|
19
|
-
age: 0,
|
|
20
|
-
notifications: true,
|
|
21
|
-
gender: "",
|
|
22
|
-
subscribe: true,
|
|
23
|
-
termsAndConditions: false,
|
|
24
|
-
}, children: ({ formState: { isSubmitting } }) => (_jsxs("div", { className: "flex w-[700px] flex-col gap-4", children: [_jsxs("div", { className: "grid grid-cols-2 gap-4", children: [_jsx(StringField, { name: "name", label: "First Name", placeholder: "John", required: true, maxLength: 50 }), _jsx(NumberField, { name: "age", label: "Age", placeholder: "25", required: true, precision: 0, showErrorOnBlur: true }), _jsx(NumberField, { showErrorOnBlur: true, name: "height", label: "Height (cm)", placeholder: "180", required: true, precision: 2, trailingZeros: true }), _jsx(StringField, { name: "email", label: "Email", placeholder: "john@doe.com", required: true, pattern: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i }), _jsx(StringField, { name: "phone", label: "Phone", placeholder: "(123) 456-7890", pattern: /^\(\d{3}\)\s\d{3}-\d{4}$/, description: "Enter your phone number. Format: (000) 000-0000" })] }), _jsx(StringField, { name: "bio", label: "Bio (length: 20-100 characters, pattern: letters, numbers and spaces)", placeholder: "I am a software engineer...", minLength: 20, maxLength: 100, multiline: true, pattern: /^[a-zA-Z0-9 ]+$/, required: true, showErrorOnChange: true }), _jsx(RadioGroupField, { name: "gender", label: "Gender", options: [
|
|
25
|
-
{ label: "Male", value: "male" },
|
|
26
|
-
{ label: "Female", value: "female" },
|
|
27
|
-
{ label: "Other", value: "other" },
|
|
28
|
-
], required: true }), _jsx(BooleanField, { name: "notifications", label: "Receive notifications", description: "Receive notifications about your account activity", isToggle: true }), _jsxs("div", { className: "flex flex-col gap-1", children: [_jsx(BooleanField, { name: "subscribe", label: "Subscribe to newsletter" }), _jsx(BooleanField, { name: "termsAndConditions", label: _jsxs("div", { children: ["Accept", " ", _jsx("a", { href: "#", className: "font-bold text-blue-500", children: "terms and conditions" })] }), required: true })] }), _jsx(Button, { type: "submit", disabled: isSubmitting, children: isSubmitting ? "Submitting..." : "Submit" })] })) }));
|
|
29
|
-
};
|
|
30
|
-
export default MultipleFieldsWithComplexLayout;
|
|
31
|
-
//# sourceMappingURL=multiple-fields-with-complex-layout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-fields-with-complex-layout.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/multiple-fields-with-complex-layout/multiple-fields-with-complex-layout.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-button.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/reset-button/reset-button.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,mBAAmB,+CAuCxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#powerhouse";
|
|
3
|
-
import { Form } from "../../form/index.js";
|
|
4
|
-
import { NumberField } from "../../number-field/index.js";
|
|
5
|
-
import { StringField } from "../../string-field/index.js";
|
|
6
|
-
const FormWithResetButton = () => {
|
|
7
|
-
return (_jsx(Form, { onSubmit: (data) => {
|
|
8
|
-
alert(JSON.stringify(data, null, 2));
|
|
9
|
-
}, children: ({ reset }) => (_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(StringField, { name: "example", minLength: 3, maxLength: 6, label: "Field example", required: true }), _jsx(NumberField, { name: "number", label: "Number", required: true }), _jsx("div", { className: "w-72 text-sm text-gray-500", children: "Clicking reset will restore all form fields and validation states to their initial values" }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { className: "w-full", color: "light", type: "reset", onClick: reset, children: "Reset" }), _jsx(Button, { className: "w-full", color: "dark", type: "submit", children: "Submit" })] })] })) }));
|
|
10
|
-
};
|
|
11
|
-
export default FormWithResetButton;
|
|
12
|
-
//# sourceMappingURL=reset-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-button.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/reset-button/reset-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAC/B,OAAO,CACL,KAAC,IAAI,IACH,QAAQ,EAAE,CAAC,IAAc,EAAE,EAAE;YAC3B,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QACvC,CAAC,YAEA,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACd,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,WAAW,IACV,IAAI,EAAC,SAAS,EACd,SAAS,EAAE,CAAC,EACZ,SAAS,EAAE,CAAC,EACZ,KAAK,EAAC,eAAe,EACrB,QAAQ,SACR,EACF,KAAC,WAAW,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,SAAG,EAErD,cAAK,SAAS,EAAC,4BAA4B,0GAGrC,EACN,eAAK,SAAS,EAAC,YAAY,aACzB,KAAC,MAAM,IACL,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,KAAK,sBAGP,EACT,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,QAAQ,uBAE5C,IACL,IACF,CACP,GACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-on-successful-submit.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,+BAA+B,+CA8BpC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#powerhouse";
|
|
3
|
-
import { Form } from "../../form/index.js";
|
|
4
|
-
import { IdField } from "../../id-field/index.js";
|
|
5
|
-
import { NumberField } from "../../number-field/index.js";
|
|
6
|
-
import { StringField } from "../../string-field/index.js";
|
|
7
|
-
const FormWithResetOnSuccessfulSubmit = () => {
|
|
8
|
-
return (_jsx(Form, { onSubmit: (data) => {
|
|
9
|
-
alert(JSON.stringify(data, null, 2));
|
|
10
|
-
}, resetOnSuccessfulSubmit: true, defaultValues: {
|
|
11
|
-
example: "",
|
|
12
|
-
number: 0,
|
|
13
|
-
}, children: _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(IdField, {}), _jsx(StringField, { name: "example", placeholder: "Type something", label: "Field example", required: true }), _jsx(NumberField, { name: "number", label: "Number", required: true }), _jsx("div", { className: "w-72 text-sm text-gray-500", children: "After submitting the form, all form fields will be reset to their initial values" }), _jsx(Button, { type: "submit", children: "Submit" })] }) }));
|
|
14
|
-
};
|
|
15
|
-
export default FormWithResetOnSuccessfulSubmit;
|
|
16
|
-
//# sourceMappingURL=reset-on-successful-submit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-on-successful-submit.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/reset-on-successful-submit/reset-on-successful-submit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,MAAM,+BAA+B,GAAG,GAAG,EAAE;IAC3C,OAAO,CACL,KAAC,IAAI,IACH,QAAQ,EAAE,CAAC,IAAc,EAAE,EAAE;YAC3B,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QACvC,CAAC,EACD,uBAAuB,QACvB,aAAa,EAAE;YACb,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,CAAC;SACV,YAED,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,OAAO,KAAG,EACX,KAAC,WAAW,IACV,IAAI,EAAC,SAAS,EACd,WAAW,EAAC,gBAAgB,EAC5B,KAAK,EAAC,eAAe,EACrB,QAAQ,SACR,EACF,KAAC,WAAW,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,SAAG,EAErD,cAAK,SAAS,EAAC,4BAA4B,iGAGrC,EACN,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,uBAAgB,IACjC,GACD,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const SubmitChangesOnly: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default SubmitChangesOnly;
|
|
3
|
-
export declare const DOCS_CODE = "\nconst SubmitChangesOnly = () => {\n return (\n <Form\n onSubmit={(data: FormData) => {\n alert(JSON.stringify(data, null, 2));\n }}\n submitChangesOnly\n defaultValues={{\n firstName: \"Jhon\",\n lastName: \"Doe\",\n bio: \"I'm a software engineer\",\n }}\n >\n {({ reset }) => (\n <div className=\"flex w-full flex-col gap-2 md:w-96\">\n <StringField\n name=\"firstName\"\n placeholder=\"Jhon\"\n label=\"First name\"\n required\n />\n <StringField\n name=\"lastName\"\n placeholder=\"Doe\"\n label=\"Last name\"\n required\n />\n <StringField\n name=\"bio\"\n placeholder=\"I'm a software engineer\"\n label=\"Bio\"\n description=\"If you leave this field empty, it will be submitted as null\"\n multiline\n />\n\n <div className=\"text-sm text-gray-500\">\n After submitting the form, all form fields will be reset to their\n initial values\n </div>\n\n <div className=\"flex gap-2\">\n <Button\n className=\"w-full\"\n color=\"light\"\n type=\"reset\"\n onClick={() => reset()}\n >\n Reset\n </Button>\n <Button className=\"w-full\" type=\"submit\">\n Submit\n </Button>\n </div>\n </div>\n )}\n </Form>\n );\n};\n";
|
|
4
|
-
//# sourceMappingURL=submit-changes-only.d.ts.map
|
package/dist/src/scalars/components/examples/submit-changes-only/submit-changes-only.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit-changes-only.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/submit-changes-only/submit-changes-only.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,iBAAiB,+CAyDtB,CAAC;AAEF,eAAe,iBAAiB,CAAC;AAEjC,eAAO,MAAM,SAAS,ikDA2DrB,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "#powerhouse";
|
|
3
|
-
import { Form } from "../../form/index.js";
|
|
4
|
-
import { StringField } from "../../string-field/index.js";
|
|
5
|
-
const SubmitChangesOnly = () => {
|
|
6
|
-
return (_jsx(Form, { onSubmit: (data) => {
|
|
7
|
-
alert(JSON.stringify(data, null, 2));
|
|
8
|
-
}, submitChangesOnly: true, defaultValues: {
|
|
9
|
-
firstName: "Jhon",
|
|
10
|
-
lastName: "Doe",
|
|
11
|
-
bio: "I'm a software engineer",
|
|
12
|
-
}, children: ({ reset }) => (_jsxs("div", { className: "flex w-full flex-col gap-2 md:w-96", children: [_jsx(StringField, { name: "firstName", placeholder: "Jhon", label: "First name", required: true }), _jsx(StringField, { name: "lastName", placeholder: "Doe", label: "Last name", required: true }), _jsx(StringField, { name: "bio", placeholder: "I'm a software engineer", label: "Bio", description: "If you leave this field empty, it will be submitted as null", multiline: true }), _jsx("div", { className: "text-sm text-gray-500", children: "After submitting the form, all form fields will be reset to their initial values" }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { className: "w-full", color: "light", type: "reset", onClick: () => reset(), children: "Reset" }), _jsx(Button, { className: "w-full", type: "submit", children: "Submit" })] })] })) }));
|
|
13
|
-
};
|
|
14
|
-
export default SubmitChangesOnly;
|
|
15
|
-
export const DOCS_CODE = `
|
|
16
|
-
const SubmitChangesOnly = () => {
|
|
17
|
-
return (
|
|
18
|
-
<Form
|
|
19
|
-
onSubmit={(data: FormData) => {
|
|
20
|
-
alert(JSON.stringify(data, null, 2));
|
|
21
|
-
}}
|
|
22
|
-
submitChangesOnly
|
|
23
|
-
defaultValues={{
|
|
24
|
-
firstName: "Jhon",
|
|
25
|
-
lastName: "Doe",
|
|
26
|
-
bio: "I'm a software engineer",
|
|
27
|
-
}}
|
|
28
|
-
>
|
|
29
|
-
{({ reset }) => (
|
|
30
|
-
<div className="flex w-full flex-col gap-2 md:w-96">
|
|
31
|
-
<StringField
|
|
32
|
-
name="firstName"
|
|
33
|
-
placeholder="Jhon"
|
|
34
|
-
label="First name"
|
|
35
|
-
required
|
|
36
|
-
/>
|
|
37
|
-
<StringField
|
|
38
|
-
name="lastName"
|
|
39
|
-
placeholder="Doe"
|
|
40
|
-
label="Last name"
|
|
41
|
-
required
|
|
42
|
-
/>
|
|
43
|
-
<StringField
|
|
44
|
-
name="bio"
|
|
45
|
-
placeholder="I'm a software engineer"
|
|
46
|
-
label="Bio"
|
|
47
|
-
description="If you leave this field empty, it will be submitted as null"
|
|
48
|
-
multiline
|
|
49
|
-
/>
|
|
50
|
-
|
|
51
|
-
<div className="text-sm text-gray-500">
|
|
52
|
-
After submitting the form, all form fields will be reset to their
|
|
53
|
-
initial values
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div className="flex gap-2">
|
|
57
|
-
<Button
|
|
58
|
-
className="w-full"
|
|
59
|
-
color="light"
|
|
60
|
-
type="reset"
|
|
61
|
-
onClick={() => reset()}
|
|
62
|
-
>
|
|
63
|
-
Reset
|
|
64
|
-
</Button>
|
|
65
|
-
<Button className="w-full" type="submit">
|
|
66
|
-
Submit
|
|
67
|
-
</Button>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
)}
|
|
71
|
-
</Form>
|
|
72
|
-
);
|
|
73
|
-
};
|
|
74
|
-
`;
|
|
75
|
-
//# sourceMappingURL=submit-changes-only.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit-changes-only.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/examples/submit-changes-only/submit-changes-only.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAC7B,OAAO,CACL,KAAC,IAAI,IACH,QAAQ,EAAE,CAAC,IAAc,EAAE,EAAE;YAC3B,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QACvC,CAAC,EACD,iBAAiB,QACjB,aAAa,EAAE;YACb,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,KAAK;YACf,GAAG,EAAE,yBAAyB;SAC/B,YAEA,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACd,eAAK,SAAS,EAAC,oCAAoC,aACjD,KAAC,WAAW,IACV,IAAI,EAAC,WAAW,EAChB,WAAW,EAAC,MAAM,EAClB,KAAK,EAAC,YAAY,EAClB,QAAQ,SACR,EACF,KAAC,WAAW,IACV,IAAI,EAAC,UAAU,EACf,WAAW,EAAC,KAAK,EACjB,KAAK,EAAC,WAAW,EACjB,QAAQ,SACR,EACF,KAAC,WAAW,IACV,IAAI,EAAC,KAAK,EACV,WAAW,EAAC,yBAAyB,EACrC,KAAK,EAAC,KAAK,EACX,WAAW,EAAC,6DAA6D,EACzE,SAAS,SACT,EAEF,cAAK,SAAS,EAAC,uBAAuB,iGAGhC,EAEN,eAAK,SAAS,EAAC,YAAY,aACzB,KAAC,MAAM,IACL,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,sBAGf,EACT,KAAC,MAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,uBAE/B,IACL,IACF,CACP,GACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC;AAEjC,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/form/form.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAIzB,KAAK,WAAW,GAAG,aAAa,GAAG;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,UAAU,SAAS;IACjB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,WAAW,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IAExE;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEpC;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,sBAAsB,CAAC,EAAE,CACvB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,MAAM,EAAE,KACjB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,IAAI,qGAuJhB,CAAC"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { castValue, deepEqual, isEmpty } from "#scalars";
|
|
3
|
-
import { forwardRef, useCallback, useEffect, useId, useImperativeHandle, } from "react";
|
|
4
|
-
import { FormProvider, useForm, } from "react-hook-form";
|
|
5
|
-
import { FormServerErrorMessage } from "../fragments/form-message/form-server-error-message.js";
|
|
6
|
-
import { defaultOnError } from "./utils.js";
|
|
7
|
-
/**
|
|
8
|
-
* A form component that integrates with react-hook-form for form state management and validation.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* // Basic usage
|
|
13
|
-
* <Form onSubmit={handleSubmit}>
|
|
14
|
-
* <StringField name="email" label="Email" />
|
|
15
|
-
* <Button type="submit">Submit</Button>
|
|
16
|
-
* </Form>
|
|
17
|
-
*
|
|
18
|
-
* // With form methods access
|
|
19
|
-
* <Form onSubmit={handleSubmit}>
|
|
20
|
-
* {({ formState: { isSubmitting } }) => (
|
|
21
|
-
* <>
|
|
22
|
-
* <StringField name="email" label="Email" />
|
|
23
|
-
* <Button type="submit" disabled={isSubmitting}>
|
|
24
|
-
* {isSubmitting ? 'Submitting...' : 'Submit'}
|
|
25
|
-
* </Button>
|
|
26
|
-
* </>
|
|
27
|
-
* )}
|
|
28
|
-
* </Form>
|
|
29
|
-
*
|
|
30
|
-
* // With default values
|
|
31
|
-
* <Form
|
|
32
|
-
* onSubmit={handleSubmit}
|
|
33
|
-
* defaultValues={{
|
|
34
|
-
* email: 'user@example.com'
|
|
35
|
-
* }}
|
|
36
|
-
* >
|
|
37
|
-
* <StringField name="email" label="Email" />
|
|
38
|
-
* </Form>
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export const Form = forwardRef(({ children, onSubmit, resetOnSuccessfulSubmit = false, submitChangesOnly = false, defaultValues, renderSubmitErrorsManually = false, submissionErrorMatcher = defaultOnError, className, extraFormProps, }, ref) => {
|
|
42
|
-
const formId = useId();
|
|
43
|
-
const methods = useForm({
|
|
44
|
-
defaultValues,
|
|
45
|
-
criteriaMode: "all", // display all errors at once
|
|
46
|
-
...extraFormProps,
|
|
47
|
-
});
|
|
48
|
-
useImperativeHandle(ref, () => methods, [methods]);
|
|
49
|
-
useEffect(() => {
|
|
50
|
-
if (resetOnSuccessfulSubmit && methods.formState.isSubmitSuccessful) {
|
|
51
|
-
methods.reset({ ...(defaultValues ?? {}) });
|
|
52
|
-
}
|
|
53
|
-
}, [
|
|
54
|
-
resetOnSuccessfulSubmit,
|
|
55
|
-
methods,
|
|
56
|
-
methods.formState.isSubmitSuccessful,
|
|
57
|
-
defaultValues,
|
|
58
|
-
]);
|
|
59
|
-
const wrappedOnSubmit = useCallback(async (rawData) => {
|
|
60
|
-
try {
|
|
61
|
-
let data = rawData;
|
|
62
|
-
// we should make sure that empty fields are submitted as `null`
|
|
63
|
-
// react-hook-form doesn't submit fields with `undefined` values
|
|
64
|
-
// so we need to add them to the data as `null`
|
|
65
|
-
Object.keys(methods.control._fields).forEach((fieldName) => {
|
|
66
|
-
if (!Object.keys(data).includes(fieldName)) {
|
|
67
|
-
data[fieldName] = null;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
if (submitChangesOnly && !!defaultValues) {
|
|
71
|
-
// remove fields that didn't change it's value
|
|
72
|
-
data = Object.fromEntries(Object.entries(rawData).filter(([fieldName, value]) => !deepEqual(value, defaultValues[fieldName])));
|
|
73
|
-
}
|
|
74
|
-
// at this point all the fields that need to be submitted are in the data
|
|
75
|
-
// we just need to make sure that "empty" values are submitted as `null`
|
|
76
|
-
data = Object.fromEntries(Object.entries(data).map(([fieldName, value]) => [
|
|
77
|
-
fieldName,
|
|
78
|
-
isEmpty(value) ? null : value,
|
|
79
|
-
]));
|
|
80
|
-
// cast data if needed to prevent submitting wrong data type
|
|
81
|
-
const form = document.getElementById(formId);
|
|
82
|
-
Object.keys(data).map((key) => {
|
|
83
|
-
try {
|
|
84
|
-
const value = data[key];
|
|
85
|
-
if (value !== null) {
|
|
86
|
-
const field = form?.querySelector(`[name="${key}"]`);
|
|
87
|
-
const dataCast = field?.getAttribute("data-cast");
|
|
88
|
-
if (dataCast) {
|
|
89
|
-
data[key] = castValue(value, dataCast);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
catch (error) {
|
|
94
|
-
// print out the error but continue the execution
|
|
95
|
-
console.error(error);
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
// we need to return the promise from the onSubmit callback if there is one
|
|
99
|
-
// so react-hook-form can wait for it to resolve and update the form state correctly
|
|
100
|
-
return await onSubmit(data);
|
|
101
|
-
}
|
|
102
|
-
catch (error) {
|
|
103
|
-
const errors = submissionErrorMatcher(error, Object.keys(methods.control._fields));
|
|
104
|
-
Object.entries(errors).forEach(([key, value]) => {
|
|
105
|
-
methods.setError(key, {
|
|
106
|
-
type: "serverError",
|
|
107
|
-
message: value,
|
|
108
|
-
types: {
|
|
109
|
-
serverError: value,
|
|
110
|
-
},
|
|
111
|
-
});
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
}, [
|
|
115
|
-
methods,
|
|
116
|
-
submitChangesOnly,
|
|
117
|
-
defaultValues,
|
|
118
|
-
formId,
|
|
119
|
-
onSubmit,
|
|
120
|
-
submissionErrorMatcher,
|
|
121
|
-
]);
|
|
122
|
-
const triggerSubmit = useCallback(() => {
|
|
123
|
-
// trigger form submit event
|
|
124
|
-
const form = document.getElementById(formId);
|
|
125
|
-
if (form) {
|
|
126
|
-
form.dispatchEvent(new Event("submit", { bubbles: true }));
|
|
127
|
-
}
|
|
128
|
-
}, [formId]);
|
|
129
|
-
return (_jsxs(FormProvider, { ...methods, children: [!renderSubmitErrorsManually &&
|
|
130
|
-
methods.formState.errors.root?.serverError.message && (_jsx("div", { className: "mb-2", children: _jsx(FormServerErrorMessage, {}) })), _jsx("form", { id: formId, onSubmit: methods.handleSubmit(wrappedOnSubmit), className: className, noValidate: true, children: typeof children === "function"
|
|
131
|
-
? children({
|
|
132
|
-
...methods,
|
|
133
|
-
triggerSubmit,
|
|
134
|
-
formId,
|
|
135
|
-
})
|
|
136
|
-
: children })] }));
|
|
137
|
-
});
|
|
138
|
-
//# sourceMappingURL=form.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../../src/scalars/components/form/form.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/scalars/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/scalars/components/form/utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAqB,SAAQ,KAAK;IACjD,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,EAAE,CAAC;CACL;AAED,eAAO,MAAM,sBAAsB,GACjC,OAAO,MAAM,KACZ,KAAK,IAAI,oBAMX,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,OAAO,KAAK,EACZ,YAAY,MAAM,EAAE,KACnB,MAAM,CAAC,MAAM,EAAE,MAAM,CAoBvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/scalars/components/form/utils.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,KAAa,EACkB,EAAE;IACjC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC;QAC5B,KAAK,CAAC,OAAO,CAAE,KAA4B,CAAC,IAAI,CAAC,CAClD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,KAAY,EACZ,UAAoB,EACI,EAAE;IAC1B,IAAI,OAAO,GAAG,6CAA6C,CAAC;IAC5D,IAAI,aAAa,GAAG,kBAAkB,CAAC,CAAC,8BAA8B;IAEtE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,sBAAsB,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/D,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;QACjC,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC;YAC3B,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;QAClC,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACxB,yDAAyD;YACzD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAW,CAAC,EAAE,CAAC;gBAChE,aAAa,GAAG,IAAI,CAAC,CAAC,CAAW,CAAC;YACpC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO;QACL,CAAC,aAAa,CAAC,EAAE,OAAO;KACzB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/button/button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,cAAc;;8EAsBnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFAWX,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "#scalars";
|
|
3
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
-
import { cva } from "class-variance-authority";
|
|
5
|
-
import React from "react";
|
|
6
|
-
const buttonVariants = cva(cn("inline-flex items-center justify-center gap-2", "whitespace-nowrap rounded-md text-sm font-medium", "transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2", "disabled:pointer-events-none", "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"), {
|
|
7
|
-
variants: {
|
|
8
|
-
variant: {
|
|
9
|
-
default: "",
|
|
10
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
11
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
defaultVariants: {
|
|
15
|
-
variant: "default",
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
const Button = React.forwardRef(({ variant, className, asChild = false, ...props }, ref) => {
|
|
19
|
-
const Comp = asChild ? Slot : "button";
|
|
20
|
-
return (_jsx(Comp, { className: cn(buttonVariants({ variant, className })), ref: ref, ...props }));
|
|
21
|
-
});
|
|
22
|
-
export { Button, buttonVariants };
|
|
23
|
-
//# sourceMappingURL=button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/button/button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,cAAc,GAAG,GAAG,CACxB,EAAE,CACA,+CAA+C,EAC/C,kDAAkD,EAClD,mBAAmB,EACnB,6EAA6E,EAC7E,8BAA8B,EAC9B,6DAA6D,CAC9D,EACD;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,EAAE;YACX,OAAO,EACL,gFAAgF;YAClF,KAAK,EAAE,8CAA8C;SACtD;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAQF,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACzD,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IACvC,OAAO,CACL,KAAC,IAAI,IACH,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EACrD,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character-counter.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/character-counter/character-counter.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAcD,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAc5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character-counter.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/character-counter/character-counter.tsx"],"names":[],"mappings":";AAKA,MAAM,eAAe,GAAG;IACtB,MAAM,EAAE,eAAe;IACvB,OAAO,EAAE,iBAAiB;IAC1B,KAAK,EAAE,cAAc;CACtB,CAAC;AAEF,MAAM,iBAAiB,GAAG;IACxB,MAAM,EAAE,kCAAkC;IAC1C,OAAO,EAAE,qCAAqC;IAC9C,KAAK,EAAE,kCAAkC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAChE,SAAS,EACT,KAAK,GACN,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,GAAG,CAAC;IACnD,MAAM,KAAK,GACT,SAAS,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC;IAErE,OAAO,CACL,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAM,SAAS,EAAE,eAAe,CAAC,KAAK,CAAC,YAAG,KAAK,CAAC,MAAM,GAAQ,EAC9D,gBAAM,SAAS,EAAE,iBAAiB,CAAC,KAAK,CAAC,kBAAI,SAAS,IAAQ,IAC1D,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/character-counter/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/character-counter/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type CheckboxProps } from "../../../../ui/components/data-entry/checkbox/checkbox.js";
|
|
2
|
-
declare const CheckboxField: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<unknown>>;
|
|
3
|
-
export { CheckboxField };
|
|
4
|
-
//# sourceMappingURL=checkbox-field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/checkbox-field/checkbox-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,2DAA2D,CAAC;AAGnE,QAAA,MAAM,aAAa,mGAA+C,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Checkbox, } from "../../../../ui/components/data-entry/checkbox/checkbox.js";
|
|
2
|
-
import { withFieldValidation } from "../with-field-validation/with-field-validation.js";
|
|
3
|
-
const CheckboxField = withFieldValidation(Checkbox);
|
|
4
|
-
CheckboxField.displayName = "CheckboxField";
|
|
5
|
-
export { CheckboxField };
|
|
6
|
-
//# sourceMappingURL=checkbox-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-field.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/checkbox-field/checkbox-field.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,GAET,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAExF,MAAM,aAAa,GAAG,mBAAmB,CAAgB,QAAQ,CAAC,CAAC;AAEnE,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAE5C,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/checkbox-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/checkbox-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
-
} & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
9
|
-
label?: string;
|
|
10
|
-
shouldFilter?: boolean;
|
|
11
|
-
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
12
|
-
defaultValue?: string;
|
|
13
|
-
value?: string;
|
|
14
|
-
onValueChange?: (value: string) => void;
|
|
15
|
-
loop?: boolean;
|
|
16
|
-
disablePointerSelection?: boolean;
|
|
17
|
-
vimBindings?: boolean;
|
|
18
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
20
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
21
|
-
} & {
|
|
22
|
-
asChild?: boolean;
|
|
23
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
24
|
-
value?: string;
|
|
25
|
-
onValueChange?: (search: string) => void;
|
|
26
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & {
|
|
27
|
-
wrapperClassName?: string;
|
|
28
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
29
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
30
|
-
children?: React.ReactNode;
|
|
31
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
32
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
33
|
-
} & {
|
|
34
|
-
asChild?: boolean;
|
|
35
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
36
|
-
label?: string;
|
|
37
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
declare const CommandLoading: React.ForwardRefExoticComponent<Omit<{
|
|
39
|
-
children?: React.ReactNode;
|
|
40
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
41
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
42
|
-
} & {
|
|
43
|
-
asChild?: boolean;
|
|
44
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
45
|
-
progress?: number;
|
|
46
|
-
label?: string;
|
|
47
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
49
|
-
children?: React.ReactNode;
|
|
50
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
51
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
52
|
-
} & {
|
|
53
|
-
asChild?: boolean;
|
|
54
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
56
|
-
children?: React.ReactNode;
|
|
57
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
58
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
59
|
-
} & {
|
|
60
|
-
asChild?: boolean;
|
|
61
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
|
|
62
|
-
heading?: React.ReactNode;
|
|
63
|
-
value?: string;
|
|
64
|
-
forceMount?: boolean;
|
|
65
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
67
|
-
children?: React.ReactNode;
|
|
68
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
69
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
70
|
-
} & {
|
|
71
|
-
asChild?: boolean;
|
|
72
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
73
|
-
disabled?: boolean;
|
|
74
|
-
onSelect?: (value: string) => void;
|
|
75
|
-
value?: string;
|
|
76
|
-
keywords?: string[];
|
|
77
|
-
forceMount?: boolean;
|
|
78
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
79
|
-
export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, };
|
|
80
|
-
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../src/scalars/components/fragments/command/command.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;sFAYX,CAAC;AAGH,QAAA,MAAM,YAAY;;;;;;;;uBAGK,MAAM;0CAqC3B,CAAC;AAGH,QAAA,MAAM,WAAW;;;;;;;;sFAkBf,CAAC;AAGH,QAAA,MAAM,cAAc;;;;;;;;;sFAGgD,CAAC;AAGrE,QAAA,MAAM,YAAY;;;;;;uJAGgD,CAAC;AAGnE,QAAA,MAAM,YAAY;;;;;;;;;;sFAahB,CAAC;AAGH,QAAA,MAAM,WAAW;;;;;;;;;;;;sFAiBf,CAAC;AAGH,OAAO,EACL,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,cAAc,GACf,CAAC"}
|