@powerhousedao/design-system 2.5.0-dev.28 → 2.5.0-dev.29
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/connect/components/account-popover/account-popover.d.ts.map +1 -1
- package/dist/src/connect/components/account-popover/account-popover.js +1 -1
- package/dist/src/connect/components/account-popover/account-popover.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/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 +0 -989
- 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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { isValid } from "date-fns";
|
|
2
|
+
export const splitIso8601DateTime = (isoString) => {
|
|
3
|
+
const [datePart, timePart] = isoString.split("T");
|
|
4
|
+
return {
|
|
5
|
+
date: datePart,
|
|
6
|
+
time: timePart,
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
const splitDateTime = (value) => {
|
|
10
|
+
const defaultResult = { date: "", time: "" };
|
|
11
|
+
if (!value) {
|
|
12
|
+
return defaultResult;
|
|
13
|
+
}
|
|
14
|
+
if (typeof value === "string") {
|
|
15
|
+
const { date, time } = splitIso8601DateTime(value);
|
|
16
|
+
return { date, time };
|
|
17
|
+
}
|
|
18
|
+
if (isValid(value)) {
|
|
19
|
+
const dateString = value.toISOString();
|
|
20
|
+
const { date, time } = splitIso8601DateTime(dateString);
|
|
21
|
+
return { date, time };
|
|
22
|
+
}
|
|
23
|
+
return defaultResult;
|
|
24
|
+
};
|
|
25
|
+
export const getDateFromValue = (value) => {
|
|
26
|
+
const { date } = splitDateTime(value);
|
|
27
|
+
return date;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/ui/components/date-picker/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACxD,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAElD,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;KACf,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CACpB,KAAqB,EACW,EAAE;IAClC,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IAE7C,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;QAEnD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,CAAC;IAED,IAAI,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACnB,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;QACvC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAU,EAAE;IAChE,MAAM,EAAE,IAAI,EAAE,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IACtC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/date-time-picker/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/date-time-picker/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const ALLOWED_FORMATS: string[];
|
|
2
|
+
export declare const dateFormatRegexes: {
|
|
3
|
+
"yyyy-MM-dd": RegExp;
|
|
4
|
+
"dd/MM/yyyy": RegExp;
|
|
5
|
+
"MM/dd/yyyy": RegExp;
|
|
6
|
+
"dd-MMM-yyyy": RegExp;
|
|
7
|
+
"MMM-dd-yyyy": RegExp;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Gets the current UTC offset for a specific time zone
|
|
11
|
+
* @param timeZone - The IANA time zone name (e.g. "America/New_York", "Europe/London").
|
|
12
|
+
* If not provided or invalid, falls back to local system timezone.
|
|
13
|
+
* @returns The offset in ISO 8601 format (±HH:mm) based on current DST rules.
|
|
14
|
+
* @example
|
|
15
|
+
* getOffset("America/New_York") // Returns "-04:00" (EDT) or "-05:00" (EST)
|
|
16
|
+
* getOffset("Asia/Kolkata") // Returns "+05:30" (IST - no DST)
|
|
17
|
+
* getOffset("Invalid/Zone") // Returns local system offset (e.g. "-03:00")
|
|
18
|
+
* getOffset() // Returns local system offset
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Parse an input string to a valid date format
|
|
22
|
+
* @param inputString - The input string to parse
|
|
23
|
+
* @param dateFormat - The date format to use
|
|
24
|
+
* @returns The parsed date string
|
|
25
|
+
* @example
|
|
26
|
+
* parseInputString("2024-01-01 12:00:00", "yyyy-MM-dd HH:mm:ss") // "2024-01-01 12:00:00"
|
|
27
|
+
*/
|
|
28
|
+
export declare const parseInputString: (inputString: string, dateFormat?: string) => string;
|
|
29
|
+
export declare const getDateFormat: (displayFormat: string) => string | undefined;
|
|
30
|
+
export declare const normalizeMonthFormat: (dateString: string) => string;
|
|
31
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/date-time-picker/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,UAM3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;CAQ7B,CAAC;AAEF;;;;;;;;;;GAUG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,MAAM,EACnB,mBAA+B,KAC9B,MAyBF,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,eAAe,MAAM,KAAG,MAAM,GAAG,SAe9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,MAAM,KAAG,MA8BzD,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { format, isValid, parse } from "date-fns";
|
|
2
|
+
export const ALLOWED_FORMATS = [
|
|
3
|
+
"yyyy-MM-dd",
|
|
4
|
+
"dd/MM/yyyy",
|
|
5
|
+
"MM/dd/yyyy",
|
|
6
|
+
"dd-MMM-yyyy",
|
|
7
|
+
"MMM-dd-yyyy",
|
|
8
|
+
];
|
|
9
|
+
export const dateFormatRegexes = {
|
|
10
|
+
"yyyy-MM-dd": /^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/,
|
|
11
|
+
"dd/MM/yyyy": /^(0[1-9]|[12]\d|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/,
|
|
12
|
+
"MM/dd/yyyy": /^(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])\/\d{4}$/,
|
|
13
|
+
"dd-MMM-yyyy": /^(0[1-9]|[12]\d|3[01])-(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-\d{4}$/,
|
|
14
|
+
"MMM-dd-yyyy": /^(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(0[1-9]|[12]\d|3[01])-\d{4}$/,
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Gets the current UTC offset for a specific time zone
|
|
18
|
+
* @param timeZone - The IANA time zone name (e.g. "America/New_York", "Europe/London").
|
|
19
|
+
* If not provided or invalid, falls back to local system timezone.
|
|
20
|
+
* @returns The offset in ISO 8601 format (±HH:mm) based on current DST rules.
|
|
21
|
+
* @example
|
|
22
|
+
* getOffset("America/New_York") // Returns "-04:00" (EDT) or "-05:00" (EST)
|
|
23
|
+
* getOffset("Asia/Kolkata") // Returns "+05:30" (IST - no DST)
|
|
24
|
+
* getOffset("Invalid/Zone") // Returns local system offset (e.g. "-03:00")
|
|
25
|
+
* getOffset() // Returns local system offset
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Parse an input string to a valid date format
|
|
29
|
+
* @param inputString - The input string to parse
|
|
30
|
+
* @param dateFormat - The date format to use
|
|
31
|
+
* @returns The parsed date string
|
|
32
|
+
* @example
|
|
33
|
+
* parseInputString("2024-01-01 12:00:00", "yyyy-MM-dd HH:mm:ss") // "2024-01-01 12:00:00"
|
|
34
|
+
*/
|
|
35
|
+
export const parseInputString = (inputString, dateFormat = ALLOWED_FORMATS[0]) => {
|
|
36
|
+
const newInputString = normalizeMonthFormat(inputString);
|
|
37
|
+
if (!dateFormat || !inputString)
|
|
38
|
+
return inputString;
|
|
39
|
+
// First check the specified format
|
|
40
|
+
const specifiedFormatRegex = dateFormatRegexes[dateFormat];
|
|
41
|
+
if (specifiedFormatRegex.test(newInputString)) {
|
|
42
|
+
const parsedDate = parse(newInputString, dateFormat, new Date());
|
|
43
|
+
if (isValid(parsedDate)) {
|
|
44
|
+
return format(parsedDate, dateFormat);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
for (const [formatStr, regex] of Object.entries(dateFormatRegexes)) {
|
|
48
|
+
if (regex.test(newInputString)) {
|
|
49
|
+
const parsedDate = parse(newInputString, formatStr, new Date());
|
|
50
|
+
if (isValid(parsedDate)) {
|
|
51
|
+
const newValue = format(parsedDate, dateFormat || formatStr);
|
|
52
|
+
return newValue;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return inputString;
|
|
57
|
+
};
|
|
58
|
+
export const getDateFormat = (displayFormat) => {
|
|
59
|
+
switch (displayFormat) {
|
|
60
|
+
case "YYYY-MM-DD":
|
|
61
|
+
return "yyyy-MM-dd";
|
|
62
|
+
case "DD/MM/YYYY":
|
|
63
|
+
return "dd/MM/yyyy";
|
|
64
|
+
case "MM/DD/YYYY":
|
|
65
|
+
return "MM/dd/yyyy";
|
|
66
|
+
case "DD-MMM-YYYY":
|
|
67
|
+
return "dd-MMM-yyyy";
|
|
68
|
+
case "MMM-DD-YYYY":
|
|
69
|
+
return "MMM-dd-yyyy";
|
|
70
|
+
default:
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export const normalizeMonthFormat = (dateString) => {
|
|
75
|
+
const months = [
|
|
76
|
+
"JAN",
|
|
77
|
+
"FEB",
|
|
78
|
+
"MAR",
|
|
79
|
+
"APR",
|
|
80
|
+
"MAY",
|
|
81
|
+
"JUN",
|
|
82
|
+
"JUL",
|
|
83
|
+
"AUG",
|
|
84
|
+
"SEP",
|
|
85
|
+
"OCT",
|
|
86
|
+
"NOV",
|
|
87
|
+
"DEC",
|
|
88
|
+
];
|
|
89
|
+
return dateString.replace(/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)/i, (month) => {
|
|
90
|
+
const upperMonth = month.toUpperCase();
|
|
91
|
+
const monthIndex = months.indexOf(upperMonth);
|
|
92
|
+
if (monthIndex !== -1) {
|
|
93
|
+
return (months[monthIndex].charAt(0) +
|
|
94
|
+
months[monthIndex].slice(1).toLowerCase());
|
|
95
|
+
}
|
|
96
|
+
return month;
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/ui/components/date-time-picker/utils.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type RadioGroupFieldProps } from "../radio-group-field/radio-group-field.js";
|
|
3
|
+
import { type SelectFieldProps } from "../select-field/select-field.js";
|
|
4
|
+
export type EnumFieldProps = ({
|
|
5
|
+
variant?: "auto";
|
|
6
|
+
} & (RadioGroupFieldProps | SelectFieldProps)) | ({
|
|
7
|
+
variant: "RadioGroup";
|
|
8
|
+
} & RadioGroupFieldProps) | ({
|
|
9
|
+
variant: "Select";
|
|
10
|
+
} & SelectFieldProps);
|
|
11
|
+
export declare const EnumField: React.ForwardRefExoticComponent<EnumFieldProps & React.RefAttributes<HTMLButtonElement | HTMLDivElement>>;
|
|
12
|
+
//# sourceMappingURL=enum-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum-field.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/enum-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,cAAc,GACtB,CAAC;IACC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,CAAC,oBAAoB,GAAG,gBAAgB,CAAC,CAAC,GAC9C,CAAC;IACC,OAAO,EAAE,YAAY,CAAC;CACvB,GAAG,oBAAoB,CAAC,GACzB,CAAC;IACC,OAAO,EAAE,QAAQ,CAAC;CACnB,GAAG,gBAAgB,CAAC,CAAC;AAE1B,eAAO,MAAM,SAAS,2GA2BpB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { RadioGroupField, } from "../radio-group-field/radio-group-field.js";
|
|
4
|
+
import { SelectField, } from "../select-field/select-field.js";
|
|
5
|
+
export const EnumField = React.forwardRef(({ variant = "auto", options = [], ...props }, ref) => {
|
|
6
|
+
const radio = (_jsx(RadioGroupField, { options: options, ...props, ref: ref }));
|
|
7
|
+
const select = (_jsx(SelectField, { options: options, ...props, ref: ref }));
|
|
8
|
+
switch (variant) {
|
|
9
|
+
case "RadioGroup":
|
|
10
|
+
return radio;
|
|
11
|
+
case "Select":
|
|
12
|
+
return select;
|
|
13
|
+
case "auto":
|
|
14
|
+
return options.length < 6 ? radio : select;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
EnumField.displayName = "EnumField";
|
|
18
|
+
//# sourceMappingURL=enum-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum-field.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/enum-field.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,GAEhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,WAAW,GAEZ,MAAM,iCAAiC,CAAC;AAazC,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAGvC,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACtD,MAAM,KAAK,GAAG,CACZ,KAAC,eAAe,IACd,OAAO,EAAE,OAAO,KACX,KAA8B,EACnC,GAAG,EAAE,GAAyC,GAC9C,CACH,CAAC;IACF,MAAM,MAAM,GAAG,CACb,KAAC,WAAW,IACV,OAAO,EAAE,OAAO,KACX,KAA0B,EAC/B,GAAG,EAAE,GAA4C,GACjD,CACH,CAAC;IAEF,QAAQ,OAAO,EAAE,CAAC;QAChB,KAAK,YAAY;YACf,OAAO,KAAK,CAAC;QACf,KAAK,QAAQ;YACX,OAAO,MAAM,CAAC;QAChB,KAAK,MAAM;YACT,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IAC/C,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,EAAE,CAAC;IACJ,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,YAAY,EAAE,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;CAC3C;AAED,MAAM,MAAM,WAAW,GACnB,CAAC,eAAe,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC,GACF,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,WAAW,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1C,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/ui/components/enum-field/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form/form.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAUzB,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"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, useCallback, useEffect, useId, useImperativeHandle, } from "react";
|
|
3
|
+
import { FormProvider, useForm, } from "react-hook-form";
|
|
4
|
+
import { castValue, deepEqual, isEmpty, } from "../../lib/index.js";
|
|
5
|
+
import { FormServerErrorMessage } from "../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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/form.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/ui/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-description.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/form-description.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,iBAAiB;IACnE,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAiBnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/index.js";
|
|
3
|
+
const FormDescription = ({ children, as, className, }) => {
|
|
4
|
+
const Component = as ?? "p";
|
|
5
|
+
return (_jsx(Component, { className: cn("font-sans text-sm font-normal leading-5 text-gray-600 dark:text-gray-500", className), children: children }));
|
|
6
|
+
};
|
|
7
|
+
export { FormDescription };
|
|
8
|
+
//# sourceMappingURL=form-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-description.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/form-description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAOxC,MAAM,eAAe,GAAmC,CAAC,EACvD,QAAQ,EACR,EAAE,EACF,SAAS,GACV,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,EAAE,IAAI,GAAG,CAAC;IAE5B,OAAO,CACL,KAAC,SAAS,IACR,SAAS,EAAE,EAAE,CACX,0EAA0E,EAC1E,SAAS,CACV,YAEA,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-description/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-group.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/form-group.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAEvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-group.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/form-group.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,SAAS,GAAsC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3E,OAAO,cAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,GAAO,CAAC;AAC/D,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-label.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/form-label.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,iBAAiB,EAC7B,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmE9C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon, cn } from "#powerhouse";
|
|
3
|
+
import { Tooltip, TooltipProvider } from "../tooltip/index.js";
|
|
4
|
+
export const FormLabel = ({ children, required, disabled, description, hasError, inline, className, ...htmlLabelProps }) => {
|
|
5
|
+
const classes = cn("inline-flex items-center text-sm font-medium", inline ? "leading-[22px]" : "leading-4", `text-gray-900 ${inline ? "dark:text-gray-400" : "dark:text-gray-50"}`, hasError && "group-hover:!text-red-900 dark:group-hover:!text-red-900", hasError && inline && "text-red-800 dark:text-red-800", hasError && !inline && "text-red-900 dark:text-red-900", disabled &&
|
|
6
|
+
`cursor-not-allowed text-gray-700 ${inline ? "dark:text-gray-600" : "dark:text-gray-300"}`, inline
|
|
7
|
+
? !disabled && "group-hover:text-gray-900 dark:group-hover:text-slate-50"
|
|
8
|
+
: "mb-[3px]", className);
|
|
9
|
+
if (!children) {
|
|
10
|
+
// no label provided
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
const extraProps = {
|
|
14
|
+
...htmlLabelProps,
|
|
15
|
+
};
|
|
16
|
+
return (_jsxs("label", { className: classes, ...extraProps, children: [children, required && (_jsx("span", { className: cn("ml-1 text-gray-800 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-slate-50", hasError &&
|
|
17
|
+
`${inline ? "!text-red-800" : "!text-red-900"} group-hover:!text-red-900`), children: "*" })), description && (_jsx(TooltipProvider, { children: _jsx(Tooltip, { content: description, children: _jsx(Icon, { name: "CircleInfo", size: 16, className: cn("ml-1 cursor-pointer text-gray-600 hover:text-gray-500 dark:text-gray-500 dark:hover:text-gray-500", disabled && "text-gray-500") }) }) }))] }));
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=form-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-label.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/form-label.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAa/D,MAAM,CAAC,MAAM,SAAS,GAA6B,CAAC,EAClD,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,MAAM,EACN,SAAS,EACT,GAAG,cAAc,EAClB,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,EAAE,CAChB,8CAA8C,EAC9C,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW,EACvC,iBAAiB,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,mBAAmB,EAAE,EACtE,QAAQ,IAAI,0DAA0D,EACtE,QAAQ,IAAI,MAAM,IAAI,gCAAgC,EACtD,QAAQ,IAAI,CAAC,MAAM,IAAI,gCAAgC,EACvD,QAAQ;QACN,oCACE,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,oBAClC,EAAE,EACJ,MAAM;QACJ,CAAC,CAAC,CAAC,QAAQ,IAAI,0DAA0D;QACzE,CAAC,CAAC,UAAU,EACd,SAAS,CACV,CAAC;IAEF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,oBAAoB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,UAAU,GAAG;QACjB,GAAG,cAAc;KAClB,CAAC;IAEF,OAAO,CACL,iBAAO,SAAS,EAAE,OAAO,KAAM,UAAU,aACtC,QAAQ,EACR,QAAQ,IAAI,CACX,eACE,SAAS,EAAE,EAAE,CACX,gGAAgG,EAChG,QAAQ;oBACN,GAAG,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,4BAA4B,CAC5E,kBAGI,CACR,EAEA,WAAW,IAAI,CACd,KAAC,eAAe,cACd,KAAC,OAAO,IAAC,OAAO,EAAE,WAAW,YAC3B,KAAC,IAAI,IACH,IAAI,EAAC,YAAY,EACjB,IAAI,EAAE,EAAE,EACR,SAAS,EAAE,EAAE,CACX,mGAAmG,EACnG,QAAQ,IAAI,eAAe,CAC5B,GACD,GACM,GACM,CACnB,IACK,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-label/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-message.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-message.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAE3D,KAAK,mBAAmB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI;IAC1E,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IACtD,mBAAmB,CAAC,CAAC,CAAC,GACpB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,mBAAmB,CAAC,CAAC;AAEvE,QAAA,MAAM,cAAc,MAAM,CAAC;AAE3B,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,OAAO,cAAc,EAC5E,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,KACvB,KAAK,CAAC,YAAY,GAAG,IA2BzB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/index.js";
|
|
3
|
+
const defaultElement = "p";
|
|
4
|
+
export const FormMessage = ({ children, type = "info", as, className, ...props }) => {
|
|
5
|
+
const Component = as || defaultElement;
|
|
6
|
+
const typeClasses = {
|
|
7
|
+
error: "text-red-900 dark:text-red-900",
|
|
8
|
+
info: "text-blue-900 dark:text-blue-900",
|
|
9
|
+
warning: "text-yellow-900 dark:text-yellow-900",
|
|
10
|
+
};
|
|
11
|
+
const classes = cn("mb-0 inline-flex items-center text-xs font-medium", typeClasses[type], className);
|
|
12
|
+
// TODO: add icon
|
|
13
|
+
return (_jsx(Component, { "data-type": type, className: classes, ...props, children: children }));
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=form-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-message.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-message.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAcxC,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAES,CAAC,EAChC,QAAQ,EACR,IAAI,GAAG,MAAM,EACb,EAAE,EACF,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,EAAE,IAAI,cAAc,CAAC;IAEvC,MAAM,WAAW,GAAoC;QACnD,KAAK,EAAE,gCAAgC;QACvC,IAAI,EAAE,kCAAkC;QACxC,OAAO,EAAE,sCAAsC;KAChD,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAChB,mDAAmD,EACnD,WAAW,CAAC,IAAI,CAAC,EACjB,SAAS,CACV,CAAC;IAEF,iBAAiB;IACjB,OAAO,CACL,KAAC,SAAS,iBAAY,IAAI,EAAE,SAAS,EAAE,OAAO,KAAM,KAAK,YACtD,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-server-error-message.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-server-error-message.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,sDAalC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-server-error-message.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/form-server-error-message.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE;IACzC,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,EAAE,CAAC;IAEvC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC;QAChD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,eAAe,IACd,QAAQ,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EACrD,IAAI,EAAC,OAAO,GACZ,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-list.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/message-list.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEtE,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4C1D,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/index.js";
|
|
3
|
+
import { FormMessage } from "./form-message.js";
|
|
4
|
+
export const FormMessageList = ({ messages, type = "info", className, ...props }) => {
|
|
5
|
+
if (messages.length === 0) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
if (messages.length === 1) {
|
|
9
|
+
return (_jsx(FormMessage, { type: type, ...props, children: messages[0] }));
|
|
10
|
+
}
|
|
11
|
+
const typeClasses = {
|
|
12
|
+
error: "before:bg-red-900 dark:before:bg-red-900",
|
|
13
|
+
info: "before:bg-blue-900 dark:before:bg-blue-900",
|
|
14
|
+
warning: "before:bg-orange-900 dark:before:bg-orange-900",
|
|
15
|
+
};
|
|
16
|
+
return (_jsx("ul", { className: cn("flex flex-col gap-1", className), ...props, children: messages.map((message) => (_jsx(FormMessage, { as: "li", type: type, className: cn(
|
|
17
|
+
// Layout
|
|
18
|
+
"relative pl-4",
|
|
19
|
+
// Visual styles
|
|
20
|
+
"before:absolute before:left-0 before:top-[0.4em] before:size-2 before:rounded-full", typeClasses[type]), children: message }, message))) }));
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=message-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-list.js","sourceRoot":"","sources":["../../../../../src/ui/components/form-message/message-list.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAwB,MAAM,mBAAmB,CAAC;AAQtE,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAC9D,QAAQ,EACR,IAAI,GAAG,MAAM,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,CACL,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,KAAM,KAAK,YAC/B,QAAQ,CAAC,CAAC,CAAC,GACA,CACf,CAAC;IACJ,CAAC;IAED,MAAM,WAAW,GAAoC;QACnD,KAAK,EAAE,0CAA0C;QACjD,IAAI,EAAE,4CAA4C;QAClD,OAAO,EAAE,gDAAgD;KAC1D,CAAC;IAEF,OAAO,CACL,aAAI,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,KAAM,KAAK,YAC3D,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzB,KAAC,WAAW,IAEV,EAAE,EAAC,IAAI,EACP,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,EAAE;YACX,SAAS;YACT,eAAe;YACf,gBAAgB;YAChB,oFAAoF,EACpF,WAAW,CAAC,IAAI,CAAC,CAClB,YAEA,OAAO,IAXH,OAAO,CAYA,CACf,CAAC,GACC,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-context.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-context.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,kDAA6C,CAAC;AAEhF,eAAO,MAAM,wBAAwB,+BAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-context.js","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAA0B,EAAE,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id-autocomplete-input-container.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/id-autocomplete/id-autocomplete-input-container.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD,UAAU,iCACR,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC1D,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAClE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/D;AAED,QAAA,MAAM,4BAA4B,4GAyKjC,CAAC;AAEF,OAAO,EAAE,4BAA4B,EAAE,KAAK,iCAAiC,EAAE,CAAC"}
|