@helpdice/ui 2.0.9 → 2.1.5
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/{esm/AutoComplete → dist/auto-complete}/auto-complete.d.ts +1 -1
- package/dist/{AutoComplete → auto-complete}/index.js +1 -1
- package/dist/{Breadcrumbs → breadcrumbs}/breadcrumbs-item.d.ts +1 -1
- package/dist/{Button → button}/styles.d.ts +1 -1
- package/dist/{ButtonDropdown → button-dropdown}/index.js +2 -1
- package/{esm/ButtonDropdown → dist/button-dropdown}/styles.d.ts +1 -1
- package/{esm/Card → dist/card}/styles.d.ts +1 -1
- package/dist/{Carousal → carousal}/component/Indicator.d.ts +1 -0
- package/{esm/Carousal → dist/carousal}/component/Thumbs.d.ts +1 -1
- package/{esm/Carousal → dist/carousal}/component/index.d.ts +1 -1
- package/dist/{Carousal → carousal}/component/types.d.ts +4 -3
- package/dist/{Carousal → carousal}/index.js +88 -38
- package/dist/{Checkbox → checkbox}/styles.d.ts +1 -1
- package/dist/{Drawer → drawer}/index.d.ts +4 -4
- package/dist/form/index.js +6145 -0
- package/{esm/Form → dist/form}/types.d.ts +2 -2
- package/dist/{Grid/grid.d.ts → grid/grid-base.d.ts} +14 -0
- package/dist/{Grid → grid}/grid-container.d.ts +14 -0
- package/dist/{Grid → grid}/index.d.ts +5 -4
- package/dist/{Grid → grid}/index.js +1 -0
- package/dist/html-renderer/index.d.ts +2 -0
- package/dist/html-renderer/index.js +1363 -0
- package/dist/{Image → image}/image-browser.d.ts +1 -1
- package/dist/{Image → image}/styles.d.ts +1 -1
- package/dist/index.d.ts +113 -112
- package/dist/index.js +295 -106
- package/dist/{Input → input}/index.d.ts +4 -4
- package/dist/{Input → input}/index.js +1 -1
- package/{esm/Input → dist/input}/styles.d.ts +1 -1
- package/dist/{Modal → modal}/modal-action.d.ts +1 -1
- package/{esm/PhoneInput → dist/phone-input}/phone.d.ts +1 -1
- package/dist/placeholder/index.d.ts +2 -0
- package/dist/{Popover → popover}/index.js +1 -1
- package/dist/{Popover → popover}/popover.d.ts +1 -1
- package/dist/{Radio → radio}/styles.d.ts +1 -1
- package/dist/{Rating → rating}/rating.d.ts +1 -1
- package/dist/{Select → select}/index.js +6 -4
- package/dist/{Select → select}/styles.d.ts +1 -1
- package/{esm/Slider → dist/slider}/styles.d.ts +1 -1
- package/{esm/Snippet → dist/snippet}/styles.d.ts +1 -1
- package/dist/{Table → table}/index.js +53 -51
- package/{esm/Table → dist/table}/table-types.d.ts +1 -1
- package/dist/{Text → text}/child.d.ts +1 -1
- package/dist/{Textarea → textarea}/index.js +1 -1
- package/dist/{Toggle → toggle}/styles.d.ts +1 -1
- package/dist/{Tooltip → tooltip}/index.js +1 -1
- package/dist/{Tooltip → tooltip}/styles.d.ts +1 -1
- package/dist/{Tree → tree}/index.js +3 -1
- package/dist/{Tree → tree}/tree-help.d.ts +1 -1
- package/dist/use-modal/use-modal.d.ts +1 -1
- package/dist/use-toasts/helpers.d.ts +17 -0
- package/dist/use-toasts/index.d.ts +3 -0
- package/dist/use-toasts/index.js +204 -0
- package/dist/use-toasts/use-toast.d.ts +40 -0
- package/dist/utils/use-drag.d.ts +1 -1
- package/dist/utils/use-hd-ui-context.d.ts +16 -0
- package/{dist/AutoComplete → esm/auto-complete}/auto-complete.d.ts +1 -1
- package/esm/{AutoComplete → auto-complete}/auto-complete.js +2 -2
- package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs-item.d.ts +1 -1
- package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs-item.js +1 -1
- package/esm/{Button → button}/button-loading.js +1 -1
- package/esm/{Button → button}/styles.d.ts +1 -1
- package/esm/{ButtonDropdown → button-dropdown}/button-dropdown-item.js +1 -1
- package/{dist/ButtonDropdown → esm/button-dropdown}/styles.d.ts +1 -1
- package/esm/{Card → card}/card.js +1 -1
- package/{dist/Card → esm/card}/styles.d.ts +1 -1
- package/esm/{Carousal → carousal}/component/Indicator.d.ts +1 -0
- package/esm/carousal/component/Indicator.js +66 -0
- package/{dist/Carousal → esm/carousal}/component/Thumbs.d.ts +1 -1
- package/esm/{Carousal → carousal}/component/Thumbs.js +5 -5
- package/{dist/Carousal → esm/carousal}/component/index.d.ts +1 -1
- package/esm/{Carousal → carousal}/component/index.js +30 -23
- package/esm/{Carousal → carousal}/component/types.d.ts +4 -3
- package/esm/carousal/main.js +42 -0
- package/esm/{Checkbox → checkbox}/styles.d.ts +1 -1
- package/esm/{Drawer → drawer}/index.d.ts +4 -4
- package/esm/drawer/index.js +9 -0
- package/{dist/Form → esm/form}/types.d.ts +2 -2
- package/esm/{Grid/grid.d.ts → grid/grid-base.d.ts} +14 -0
- package/esm/{Grid → grid}/grid-container.d.ts +14 -0
- package/esm/{Grid → grid}/index.d.ts +5 -4
- package/esm/grid/index.js +6 -0
- package/esm/html-renderer/index.d.ts +2 -0
- package/esm/html-renderer/index.js +2 -0
- package/esm/{Image → image}/image-browser.d.ts +1 -1
- package/esm/{Image → image}/image-browser.js +1 -1
- package/esm/{Image → image}/styles.d.ts +1 -1
- package/esm/index.d.ts +113 -112
- package/esm/index.js +62 -62
- package/esm/{Input → input}/index.d.ts +4 -4
- package/esm/{Input → input}/index.js +2 -2
- package/esm/{Input → input}/password.js +1 -1
- package/{dist/Input → esm/input}/styles.d.ts +1 -1
- package/esm/{List → list}/list.js +1 -1
- package/esm/{Loadable → loadable}/loader.js +1 -1
- package/esm/{Modal → modal}/modal-action.d.ts +1 -1
- package/esm/{Modal → modal}/modal-action.js +1 -1
- package/{dist/PhoneInput → esm/phone-input}/phone.d.ts +1 -1
- package/esm/{PhoneInput → phone-input}/phone.js +1 -1
- package/esm/{Placeholder/placeholder.js → placeholder/holder.js} +1 -1
- package/esm/placeholder/index.d.ts +2 -0
- package/esm/placeholder/index.js +2 -0
- package/esm/{Popover → popover}/popover.d.ts +1 -1
- package/esm/{Popover → popover}/popover.js +1 -1
- package/esm/{Radio → radio}/styles.d.ts +1 -1
- package/esm/{Rating → rating}/rating.d.ts +1 -1
- package/esm/{Select → select}/select-multiple-value.js +1 -1
- package/esm/{Select → select}/select.js +5 -4
- package/esm/{Select → select}/styles.d.ts +1 -1
- package/esm/{Toggle → slider}/styles.d.ts +1 -1
- package/{dist/Snippet → esm/snippet}/styles.d.ts +1 -1
- package/esm/{Table → table}/table-body.js +3 -2
- package/esm/{Table → table}/table-head.js +2 -2
- package/{dist/Table → esm/table}/table-types.d.ts +1 -1
- package/esm/{Table → table}/table.js +3 -3
- package/esm/{Text → text}/child.d.ts +1 -1
- package/esm/{Textarea → textarea}/textarea.js +2 -2
- package/{dist/Slider → esm/toggle}/styles.d.ts +1 -1
- package/esm/{Tooltip → tooltip}/styles.d.ts +1 -1
- package/esm/{Tooltip → tooltip}/tooltip.js +1 -1
- package/esm/{Tree → tree}/tree-help.d.ts +1 -1
- package/esm/{Tree → tree}/tree-help.js +3 -1
- package/esm/use-modal/use-modal.d.ts +1 -1
- package/esm/use-toasts/helpers.d.ts +17 -0
- package/esm/use-toasts/helpers.js +69 -0
- package/esm/use-toasts/index.d.ts +3 -0
- package/esm/use-toasts/index.js +2 -0
- package/esm/use-toasts/toast-container.js +118 -0
- package/esm/use-toasts/toast-item.js +42 -0
- package/esm/use-toasts/use-toast.d.ts +40 -0
- package/esm/use-toasts/use-toast.js +103 -0
- package/esm/{User → user}/user-link.js +1 -1
- package/esm/{User → user}/user.js +1 -1
- package/esm/utils/collections.js +2 -1
- package/esm/utils/use-drag.d.ts +1 -1
- package/esm/utils/use-hd-ui-context.d.ts +16 -0
- package/package.json +276 -181
- package/dist/Placeholder/index.d.ts +0 -2
- package/esm/Carousal/component/Indicator.js +0 -23
- package/esm/Carousal/main.js +0 -59
- package/esm/Drawer/index.js +0 -9
- package/esm/Grid/index.js +0 -5
- package/esm/Placeholder/index.d.ts +0 -2
- package/esm/Placeholder/index.js +0 -2
- /package/dist/{AutoComplete → auto-complete}/auto-complete-context.d.ts +0 -0
- /package/dist/{AutoComplete → auto-complete}/auto-complete-dropdown.d.ts +0 -0
- /package/dist/{AutoComplete → auto-complete}/auto-complete-empty.d.ts +0 -0
- /package/dist/{AutoComplete → auto-complete}/auto-complete-item.d.ts +0 -0
- /package/dist/{AutoComplete → auto-complete}/auto-complete-searching.d.ts +0 -0
- /package/dist/{AutoComplete → auto-complete}/index.d.ts +0 -0
- /package/dist/{Avatar → avatar}/avatar-group.d.ts +0 -0
- /package/dist/{Avatar → avatar}/avatar.d.ts +0 -0
- /package/dist/{Avatar → avatar}/index.d.ts +0 -0
- /package/dist/{Avatar → avatar}/index.js +0 -0
- /package/dist/{Badge → badge}/badge-anchor.d.ts +0 -0
- /package/dist/{Badge → badge}/badge.d.ts +0 -0
- /package/dist/{Badge → badge}/index.d.ts +0 -0
- /package/dist/{Badge → badge}/index.js +0 -0
- /package/dist/{Breadcrumbs → breadcrumbs}/breadcrumbs-separator.d.ts +0 -0
- /package/dist/{Breadcrumbs → breadcrumbs}/breadcrumbs.d.ts +0 -0
- /package/dist/{Breadcrumbs → breadcrumbs}/index.d.ts +0 -0
- /package/dist/{Breadcrumbs → breadcrumbs}/index.js +0 -0
- /package/dist/{Button → button}/button-icon.d.ts +0 -0
- /package/dist/{Button → button}/button-loading.d.ts +0 -0
- /package/dist/{Button → button}/button.compact.d.ts +0 -0
- /package/dist/{Button → button}/button.d.ts +0 -0
- /package/dist/{Button → button}/button.drip.d.ts +0 -0
- /package/dist/{Button → button}/index.d.ts +0 -0
- /package/dist/{Button → button}/index.js +0 -0
- /package/dist/{Button → button}/utils.d.ts +0 -0
- /package/dist/{ButtonDropdown → button-dropdown}/button-dropdown-context.d.ts +0 -0
- /package/dist/{ButtonDropdown → button-dropdown}/button-dropdown-item.d.ts +0 -0
- /package/dist/{ButtonDropdown → button-dropdown}/button-dropdown.d.ts +0 -0
- /package/dist/{ButtonDropdown → button-dropdown}/icon.d.ts +0 -0
- /package/dist/{ButtonDropdown → button-dropdown}/index.d.ts +0 -0
- /package/dist/{Capacity → capacity}/capacity.d.ts +0 -0
- /package/dist/{Capacity → capacity}/index.d.ts +0 -0
- /package/dist/{Capacity → capacity}/index.js +0 -0
- /package/dist/{Card → card}/card-content.d.ts +0 -0
- /package/dist/{Card → card}/card-footer.d.ts +0 -0
- /package/dist/{Card → card}/card.d.ts +0 -0
- /package/dist/{Card → card}/index.d.ts +0 -0
- /package/dist/{Card → card}/index.js +0 -0
- /package/dist/{Carousal → carousal}/CSSTranslate.d.ts +0 -0
- /package/dist/{Carousal → carousal}/component/Arrow.d.ts +0 -0
- /package/dist/{Carousal → carousal}/component/animations.d.ts +0 -0
- /package/dist/{Carousal → carousal}/component/utils.d.ts +0 -0
- /package/dist/{Carousal → carousal}/cssClasses.d.ts +0 -0
- /package/dist/{Carousal → carousal}/dimensions.d.ts +0 -0
- /package/dist/{Carousal → carousal}/index.d.ts +0 -0
- /package/dist/{Carousal → carousal}/shims/document.d.ts +0 -0
- /package/dist/{Carousal → carousal}/shims/window.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/checkbox-context.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/checkbox-group.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/checkbox.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/checkbox.icon.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/{Checkbox → checkbox}/index.js +0 -0
- /package/dist/{CircularProgress → circular-progress}/CircularProgressbar.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/CircularProgressbarWithChildren.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/Path.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/buildStyles.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/constants.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/index.d.ts +0 -0
- /package/dist/{CircularProgress → circular-progress}/index.js +0 -0
- /package/dist/{CircularProgress → circular-progress}/types.d.ts +0 -0
- /package/dist/{Code → code}/code.d.ts +0 -0
- /package/dist/{Code → code}/index.d.ts +0 -0
- /package/dist/{Code → code}/index.js +0 -0
- /package/dist/{CodeBlock → code-block}/index.d.ts +0 -0
- /package/dist/{Col → col}/index.js +0 -0
- /package/dist/{Collapse → collapse}/collapse-context.d.ts +0 -0
- /package/dist/{Collapse → collapse}/collapse-group.d.ts +0 -0
- /package/dist/{Collapse → collapse}/collapse-icon.d.ts +0 -0
- /package/dist/{Collapse → collapse}/collapse.d.ts +0 -0
- /package/dist/{Collapse → collapse}/index.d.ts +0 -0
- /package/dist/{Collapse → collapse}/index.js +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/CurrencyInput.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/CurrencyInputProps.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/cleanValue.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/escapeRegExp.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/fixedDecimalValue.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/formatValue.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/getLocaleConfig.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/getSuffix.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/index.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/isNumber.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/padTrimValue.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/parseAbbrValue.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/removeInvalidChars.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/removeSeparators.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/components/utils/repositionCursor.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/index.d.ts +0 -0
- /package/dist/{CurrencyInput → currency-input}/index.js +0 -0
- /package/dist/{Description → description}/description.d.ts +0 -0
- /package/dist/{Description → description}/index.d.ts +0 -0
- /package/dist/{Description → description}/index.js +0 -0
- /package/dist/{Display → display}/display.d.ts +0 -0
- /package/dist/{Display → display}/index.d.ts +0 -0
- /package/dist/{Display → display}/index.js +0 -0
- /package/dist/{Divider → divider}/divider.d.ts +0 -0
- /package/dist/{Divider → divider}/index.d.ts +0 -0
- /package/dist/{Divider → divider}/index.js +0 -0
- /package/dist/{Dot → dot}/dot.d.ts +0 -0
- /package/dist/{Dot → dot}/index.d.ts +0 -0
- /package/dist/{Dot → dot}/index.js +0 -0
- /package/dist/{Drawer → drawer}/drawer-wrapper.d.ts +0 -0
- /package/dist/{Drawer → drawer}/drawer.d.ts +0 -0
- /package/dist/{Drawer → drawer}/helper.d.ts +0 -0
- /package/dist/{Drawer → drawer}/index.js +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-content.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-context.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-footer.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-group.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-subtitle.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset-title.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/fieldset.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/index.d.ts +0 -0
- /package/dist/{Fieldset → fieldset}/index.js +0 -0
- /package/dist/{Form → form}/ErrorMessage.d.ts +0 -0
- /package/dist/{Form → form}/Field.d.ts +0 -0
- /package/dist/{Form → form}/FormWrapper.d.ts +0 -0
- /package/dist/{Form → form}/FormikContext.d.ts +0 -0
- /package/dist/{Form → form}/connect.d.ts +0 -0
- /package/dist/{Form → form}/constants.d.ts +0 -0
- /package/dist/{Form → form}/index.d.ts +0 -0
- /package/dist/{Form → form}/utils.d.ts +0 -0
- /package/dist/{Form → form}/withFormik.d.ts +0 -0
- /package/dist/{Grid → grid}/basic-item.d.ts +0 -0
- /package/dist/{Grid → grid}/grid-types.d.ts +0 -0
- /package/dist/{HtmlRenderer/index.d.ts → html-renderer/renderer.d.ts} +0 -0
- /package/dist/{Image → image}/helpers.d.ts +0 -0
- /package/dist/{Image → image}/image-browser-https-icon.d.ts +0 -0
- /package/dist/{Image → image}/image.d.ts +0 -0
- /package/dist/{Image → image}/image.skeleton.d.ts +0 -0
- /package/dist/{Image → image}/index.d.ts +0 -0
- /package/dist/{Image → image}/index.js +0 -0
- /package/dist/{Input → input}/input-block-label.d.ts +0 -0
- /package/dist/{Input/input.d.ts → input/input-field.d.ts} +0 -0
- /package/dist/{Input → input}/input-icon-clear.d.ts +0 -0
- /package/dist/{Input → input}/input-icon.d.ts +0 -0
- /package/dist/{Input → input}/input-label.d.ts +0 -0
- /package/dist/{Input → input}/input-props.d.ts +0 -0
- /package/dist/{Input → input}/password-icon.d.ts +0 -0
- /package/dist/{Input → input}/password.d.ts +0 -0
- /package/dist/{Keyboard → keyboard}/index.d.ts +0 -0
- /package/dist/{Keyboard → keyboard}/index.js +0 -0
- /package/dist/{Keyboard → keyboard}/keyboard.d.ts +0 -0
- /package/dist/{LinearProgress → linear-progress}/index.d.ts +0 -0
- /package/dist/{LinearProgress → linear-progress}/index.js +0 -0
- /package/dist/{LinearProgress → linear-progress}/linear-progress.d.ts +0 -0
- /package/dist/{Link → link}/icon.d.ts +0 -0
- /package/dist/{Link → link}/index.d.ts +0 -0
- /package/dist/{Link → link}/index.js +0 -0
- /package/dist/{Link → link}/link.d.ts +0 -0
- /package/dist/{List → list}/index.d.ts +0 -0
- /package/dist/{List → list}/index.js +0 -0
- /package/dist/{List → list}/list-item.d.ts +0 -0
- /package/dist/{List → list}/list.d.ts +0 -0
- /package/dist/{Loadable → loadable}/index.js +0 -0
- /package/dist/{Loading → loading}/index.d.ts +0 -0
- /package/dist/{Loading → loading}/index.js +0 -0
- /package/dist/{Loading → loading}/loading.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialApple/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialFacebook/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialGithub/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialGoogle/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialInstagram/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialLinkedin/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialMicrosoft/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialPinterest/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialTiktok/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/LoginSocialTwitter/index.d.ts +0 -0
- /package/dist/{LoginWith → login-with}/index.d.ts +0 -0
- /package/dist/{Menu → menu}/index.d.ts +0 -0
- /package/dist/{Menu → menu}/index.js +0 -0
- /package/dist/{Menu → menu}/menu.d.ts +0 -0
- /package/dist/{Modal → modal}/index.d.ts +0 -0
- /package/dist/{Modal → modal}/index.js +0 -0
- /package/dist/{Modal → modal}/modal-actions.d.ts +0 -0
- /package/dist/{Modal → modal}/modal-content.d.ts +0 -0
- /package/dist/{Modal → modal}/modal-context.d.ts +0 -0
- /package/dist/{Modal → modal}/modal-subtitle.d.ts +0 -0
- /package/dist/{Modal → modal}/modal-title.d.ts +0 -0
- /package/dist/{Modal → modal}/modal-wrapper.d.ts +0 -0
- /package/dist/{Modal → modal}/modal.d.ts +0 -0
- /package/dist/{Note → note}/index.d.ts +0 -0
- /package/dist/{Note → note}/index.js +0 -0
- /package/dist/{Note → note}/note.d.ts +0 -0
- /package/dist/{ITooltip → notetip}/index.d.ts +0 -0
- /package/dist/{Page → page}/index.d.ts +0 -0
- /package/dist/{Page → page}/index.js +0 -0
- /package/dist/{Page → page}/page-content.d.ts +0 -0
- /package/dist/{Page → page}/page-footer.d.ts +0 -0
- /package/dist/{Page → page}/page-header.d.ts +0 -0
- /package/dist/{Page → page}/page.d.ts +0 -0
- /package/dist/{Pagination → pagination}/index.d.ts +0 -0
- /package/dist/{Pagination → pagination}/index.js +0 -0
- /package/dist/{Pagination → pagination}/pagination-context.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination-ellipsis.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination-item.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination-next.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination-pages.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination-previous.d.ts +0 -0
- /package/dist/{Pagination → pagination}/pagination.d.ts +0 -0
- /package/dist/{PhoneInput → phone-input}/index.d.ts +0 -0
- /package/dist/{PhoneInput → phone-input}/index.js +0 -0
- /package/dist/{Placeholder → placeholder}/empty.d.ts +0 -0
- /package/dist/{Placeholder/placeholder.d.ts → placeholder/holder.d.ts} +0 -0
- /package/dist/{Placeholder → placeholder}/index.js +0 -0
- /package/dist/{Popover → popover}/index.d.ts +0 -0
- /package/dist/{Popover → popover}/popover-context.d.ts +0 -0
- /package/dist/{Popover → popover}/popover-item.d.ts +0 -0
- /package/dist/{Progress → progress}/index.d.ts +0 -0
- /package/dist/{Progress → progress}/index.js +0 -0
- /package/dist/{Progress → progress}/progress.d.ts +0 -0
- /package/dist/{Radio → radio}/index.d.ts +0 -0
- /package/dist/{Radio → radio}/index.js +0 -0
- /package/dist/{Radio → radio}/radio-context.d.ts +0 -0
- /package/dist/{Radio → radio}/radio-description.d.ts +0 -0
- /package/dist/{Radio → radio}/radio-group.d.ts +0 -0
- /package/dist/{Radio → radio}/radio.d.ts +0 -0
- /package/dist/{Rating → rating}/index.d.ts +0 -0
- /package/dist/{Rating → rating}/index.js +0 -0
- /package/dist/{Rating → rating}/rating-icon.d.ts +0 -0
- /package/dist/{Row → row}/index.js +0 -0
- /package/dist/{SearchBar → search-bar}/index.js +0 -0
- /package/dist/{Select → select}/index.d.ts +0 -0
- /package/dist/{Select → select}/select-context.d.ts +0 -0
- /package/dist/{Select → select}/select-dropdown.d.ts +0 -0
- /package/dist/{Select → select}/select-icon-clear.d.ts +0 -0
- /package/dist/{Select → select}/select-icon.d.ts +0 -0
- /package/dist/{Select → select}/select-input.d.ts +0 -0
- /package/dist/{Select → select}/select-multiple-value.d.ts +0 -0
- /package/dist/{Select → select}/select-option.d.ts +0 -0
- /package/dist/{Select → select}/select.d.ts +0 -0
- /package/dist/{Skeleton → skeleton}/index.d.ts +0 -0
- /package/dist/{Slider → slider}/index.d.ts +0 -0
- /package/dist/{Slider → slider}/index.js +0 -0
- /package/dist/{Slider → slider}/slider-dot.d.ts +0 -0
- /package/dist/{Slider → slider}/slider-mark.d.ts +0 -0
- /package/dist/{Slider → slider}/slider.d.ts +0 -0
- /package/dist/{Snippet → snippet}/index.d.ts +0 -0
- /package/dist/{Snippet → snippet}/index.js +0 -0
- /package/dist/{Snippet → snippet}/snippet-icon.d.ts +0 -0
- /package/dist/{Snippet → snippet}/snippet.d.ts +0 -0
- /package/dist/{Spacer → spacer}/index.d.ts +0 -0
- /package/dist/{Spacer → spacer}/index.js +0 -0
- /package/dist/{Spacer → spacer}/spacer.d.ts +0 -0
- /package/dist/{Spinner → spinner}/index.d.ts +0 -0
- /package/dist/{Spinner → spinner}/index.js +0 -0
- /package/dist/{Spinner → spinner}/spinner.d.ts +0 -0
- /package/dist/{Swipe → swipe}/index.d.ts +0 -0
- /package/dist/{Swipe → swipe}/index.js +0 -0
- /package/dist/{Swipe → swipe}/react-swipe.d.ts +0 -0
- /package/dist/{Table → table}/index.d.ts +0 -0
- /package/dist/{Table → table}/table-body.d.ts +0 -0
- /package/dist/{Table → table}/table-cell.d.ts +0 -0
- /package/dist/{Table → table}/table-column.d.ts +0 -0
- /package/dist/{Table → table}/table-context.d.ts +0 -0
- /package/dist/{Table → table}/table-head.d.ts +0 -0
- /package/dist/{Table → table}/table.d.ts +0 -0
- /package/dist/{Tabs → tabs}/index.d.ts +0 -0
- /package/dist/{Tabs → tabs}/index.js +0 -0
- /package/dist/{Tabs → tabs}/tabs-context.d.ts +0 -0
- /package/dist/{Tabs → tabs}/tabs-item.d.ts +0 -0
- /package/dist/{Tabs → tabs}/tabs.d.ts +0 -0
- /package/dist/{Tag → tag}/index.d.ts +0 -0
- /package/dist/{Tag → tag}/index.js +0 -0
- /package/dist/{Tag → tag}/tag.d.ts +0 -0
- /package/dist/{Text → text}/index.d.ts +0 -0
- /package/dist/{Text → text}/index.js +0 -0
- /package/dist/{Text → text}/text.d.ts +0 -0
- /package/dist/{Textarea → textarea}/index.d.ts +0 -0
- /package/dist/{Textarea → textarea}/textarea.d.ts +0 -0
- /package/dist/{Themes → themes}/index.d.ts +0 -0
- /package/dist/{Themes → themes}/index.js +0 -0
- /package/dist/{Themes → themes}/presets/dark.d.ts +0 -0
- /package/dist/{Themes → themes}/presets/default.d.ts +0 -0
- /package/dist/{Themes → themes}/presets/index.d.ts +0 -0
- /package/dist/{Themes → themes}/presets/shared.d.ts +0 -0
- /package/dist/{Themes → themes}/themes.d.ts +0 -0
- /package/dist/{Toggle → toggle}/index.d.ts +0 -0
- /package/dist/{Toggle → toggle}/index.js +0 -0
- /package/dist/{Toggle → toggle}/toggle.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/helper.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/index.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/placement.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/tooltip-content.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/tooltip-icon.d.ts +0 -0
- /package/dist/{Tooltip → tooltip}/tooltip.d.ts +0 -0
- /package/dist/{Tree → tree}/index.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-context.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-file-icon.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-file.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-folder-icon.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-folder.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-indents.d.ts +0 -0
- /package/dist/{Tree → tree}/tree-status-icon.d.ts +0 -0
- /package/dist/{Tree → tree}/tree.d.ts +0 -0
- /package/dist/{User → user}/index.d.ts +0 -0
- /package/dist/{User → user}/index.js +0 -0
- /package/dist/{User → user}/user-link.d.ts +0 -0
- /package/dist/{User → user}/user.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-context.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-context.js +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-dropdown.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-dropdown.js +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-empty.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-empty.js +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-item.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-item.js +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-searching.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/auto-complete-searching.js +0 -0
- /package/esm/{AutoComplete → auto-complete}/index.d.ts +0 -0
- /package/esm/{AutoComplete → auto-complete}/index.js +0 -0
- /package/esm/{Avatar → avatar}/avatar-group.d.ts +0 -0
- /package/esm/{Avatar → avatar}/avatar-group.js +0 -0
- /package/esm/{Avatar → avatar}/avatar.d.ts +0 -0
- /package/esm/{Avatar → avatar}/avatar.js +0 -0
- /package/esm/{Avatar → avatar}/index.d.ts +0 -0
- /package/esm/{Avatar → avatar}/index.js +0 -0
- /package/esm/{Badge → badge}/badge-anchor.d.ts +0 -0
- /package/esm/{Badge → badge}/badge-anchor.js +0 -0
- /package/esm/{Badge → badge}/badge.d.ts +0 -0
- /package/esm/{Badge → badge}/badge.js +0 -0
- /package/esm/{Badge → badge}/index.d.ts +0 -0
- /package/esm/{Badge → badge}/index.js +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs-separator.d.ts +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs-separator.js +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs.d.ts +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/breadcrumbs.js +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/index.d.ts +0 -0
- /package/esm/{Breadcrumbs → breadcrumbs}/index.js +0 -0
- /package/esm/{Button → button}/button-icon.d.ts +0 -0
- /package/esm/{Button → button}/button-icon.js +0 -0
- /package/esm/{Button → button}/button-loading.d.ts +0 -0
- /package/esm/{Button → button}/button.compact.d.ts +0 -0
- /package/esm/{Button → button}/button.compact.js +0 -0
- /package/esm/{Button → button}/button.d.ts +0 -0
- /package/esm/{Button → button}/button.drip.d.ts +0 -0
- /package/esm/{Button → button}/button.drip.js +0 -0
- /package/esm/{Button → button}/button.js +0 -0
- /package/esm/{Button → button}/index.d.ts +0 -0
- /package/esm/{Button → button}/index.js +0 -0
- /package/esm/{Button → button}/styles.js +0 -0
- /package/esm/{Button → button}/utils.d.ts +0 -0
- /package/esm/{Button → button}/utils.js +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/button-dropdown-context.d.ts +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/button-dropdown-context.js +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/button-dropdown-item.d.ts +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/button-dropdown.d.ts +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/button-dropdown.js +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/icon.d.ts +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/icon.js +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/index.d.ts +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/index.js +0 -0
- /package/esm/{ButtonDropdown → button-dropdown}/styles.js +0 -0
- /package/esm/{Capacity → capacity}/capacity.d.ts +0 -0
- /package/esm/{Capacity → capacity}/capacity.js +0 -0
- /package/esm/{Capacity → capacity}/index.d.ts +0 -0
- /package/esm/{Capacity → capacity}/index.js +0 -0
- /package/esm/{Card → card}/card-content.d.ts +0 -0
- /package/esm/{Card → card}/card-content.js +0 -0
- /package/esm/{Card → card}/card-footer.d.ts +0 -0
- /package/esm/{Card → card}/card-footer.js +0 -0
- /package/esm/{Card → card}/card.d.ts +0 -0
- /package/esm/{Card → card}/index.d.ts +0 -0
- /package/esm/{Card → card}/index.js +0 -0
- /package/esm/{Card → card}/styles.js +0 -0
- /package/esm/{Carousal → carousal}/CSSTranslate.d.ts +0 -0
- /package/esm/{Carousal → carousal}/CSSTranslate.js +0 -0
- /package/esm/{Carousal → carousal}/component/Arrow.d.ts +0 -0
- /package/esm/{Carousal → carousal}/component/Arrow.js +0 -0
- /package/esm/{Carousal → carousal}/component/animations.d.ts +0 -0
- /package/esm/{Carousal → carousal}/component/animations.js +0 -0
- /package/esm/{Carousal → carousal}/component/types.js +0 -0
- /package/esm/{Carousal → carousal}/component/utils.d.ts +0 -0
- /package/esm/{Carousal → carousal}/component/utils.js +0 -0
- /package/esm/{Carousal → carousal}/cssClasses.d.ts +0 -0
- /package/esm/{Carousal → carousal}/cssClasses.js +0 -0
- /package/esm/{Carousal → carousal}/dimensions.d.ts +0 -0
- /package/esm/{Carousal → carousal}/dimensions.js +0 -0
- /package/esm/{Carousal → carousal}/index.d.ts +0 -0
- /package/esm/{Carousal → carousal}/index.js +0 -0
- /package/esm/{Carousal → carousal}/shims/document.d.ts +0 -0
- /package/esm/{Carousal → carousal}/shims/document.js +0 -0
- /package/esm/{Carousal → carousal}/shims/window.d.ts +0 -0
- /package/esm/{Carousal → carousal}/shims/window.js +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox-context.d.ts +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox-context.js +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox-group.d.ts +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox-group.js +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox.d.ts +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox.icon.d.ts +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox.icon.js +0 -0
- /package/esm/{Checkbox → checkbox}/checkbox.js +0 -0
- /package/esm/{Checkbox → checkbox}/index.d.ts +0 -0
- /package/esm/{Checkbox → checkbox}/index.js +0 -0
- /package/esm/{Checkbox → checkbox}/styles.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/CircularProgressbar.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/CircularProgressbar.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/CircularProgressbarWithChildren.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/CircularProgressbarWithChildren.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/Path.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/Path.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/buildStyles.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/buildStyles.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/constants.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/constants.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/index.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/index.js +0 -0
- /package/esm/{CircularProgress → circular-progress}/types.d.ts +0 -0
- /package/esm/{CircularProgress → circular-progress}/types.js +0 -0
- /package/esm/{Code → code}/code.d.ts +0 -0
- /package/esm/{Code → code}/code.js +0 -0
- /package/esm/{Code → code}/index.d.ts +0 -0
- /package/esm/{Code → code}/index.js +0 -0
- /package/esm/{CodeBlock → code-block}/index.d.ts +0 -0
- /package/esm/{CodeBlock → code-block}/index.js +0 -0
- /package/esm/{Col → col}/col.js +0 -0
- /package/esm/{Col → col}/index.js +0 -0
- /package/esm/{Collapse → collapse}/collapse-context.d.ts +0 -0
- /package/esm/{Collapse → collapse}/collapse-context.js +0 -0
- /package/esm/{Collapse → collapse}/collapse-group.d.ts +0 -0
- /package/esm/{Collapse → collapse}/collapse-group.js +0 -0
- /package/esm/{Collapse → collapse}/collapse-icon.d.ts +0 -0
- /package/esm/{Collapse → collapse}/collapse-icon.js +0 -0
- /package/esm/{Collapse → collapse}/collapse.d.ts +0 -0
- /package/esm/{Collapse → collapse}/collapse.js +0 -0
- /package/esm/{Collapse → collapse}/index.d.ts +0 -0
- /package/esm/{Collapse → collapse}/index.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/CurrencyInput.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/CurrencyInput.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/CurrencyInputProps.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/CurrencyInputProps.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/addSeparators.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/cleanValue.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/cleanValue.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/escapeRegExp.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/escapeRegExp.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/fixedDecimalValue.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/fixedDecimalValue.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/formatValue.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/formatValue.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/getLocaleConfig.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/getLocaleConfig.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/getSuffix.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/getSuffix.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/index.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/index.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/isNumber.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/isNumber.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/padTrimValue.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/padTrimValue.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/parseAbbrValue.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/parseAbbrValue.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/removeInvalidChars.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/removeInvalidChars.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/removeSeparators.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/removeSeparators.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/repositionCursor.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/components/utils/repositionCursor.js +0 -0
- /package/esm/{CurrencyInput → currency-input}/index.d.ts +0 -0
- /package/esm/{CurrencyInput → currency-input}/index.js +0 -0
- /package/esm/{Description → description}/description.d.ts +0 -0
- /package/esm/{Description → description}/description.js +0 -0
- /package/esm/{Description → description}/index.d.ts +0 -0
- /package/esm/{Description → description}/index.js +0 -0
- /package/esm/{Display → display}/display.d.ts +0 -0
- /package/esm/{Display → display}/display.js +0 -0
- /package/esm/{Display → display}/index.d.ts +0 -0
- /package/esm/{Display → display}/index.js +0 -0
- /package/esm/{Divider → divider}/divider.d.ts +0 -0
- /package/esm/{Divider → divider}/divider.js +0 -0
- /package/esm/{Divider → divider}/index.d.ts +0 -0
- /package/esm/{Divider → divider}/index.js +0 -0
- /package/esm/{Dot → dot}/dot.d.ts +0 -0
- /package/esm/{Dot → dot}/dot.js +0 -0
- /package/esm/{Dot → dot}/index.d.ts +0 -0
- /package/esm/{Dot → dot}/index.js +0 -0
- /package/esm/{Drawer → drawer}/drawer-wrapper.d.ts +0 -0
- /package/esm/{Drawer → drawer}/drawer-wrapper.js +0 -0
- /package/esm/{Drawer → drawer}/drawer.d.ts +0 -0
- /package/esm/{Drawer → drawer}/drawer.js +0 -0
- /package/esm/{Drawer → drawer}/helper.d.ts +0 -0
- /package/esm/{Drawer → drawer}/helper.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-content.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-content.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-context.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-context.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-footer.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-footer.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-group.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-group.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-subtitle.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-subtitle.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-title.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset-title.js +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/fieldset.js +0 -0
- /package/esm/{Fieldset → fieldset}/index.d.ts +0 -0
- /package/esm/{Fieldset → fieldset}/index.js +0 -0
- /package/esm/{Form → form}/ErrorMessage.d.ts +0 -0
- /package/esm/{Form → form}/ErrorMessage.js +0 -0
- /package/esm/{Form → form}/FastField.js +0 -0
- /package/esm/{Form → form}/Field.d.ts +0 -0
- /package/esm/{Form → form}/Field.js +0 -0
- /package/esm/{Form → form}/FieldArray.js +0 -0
- /package/esm/{Form → form}/Form.js +0 -0
- /package/esm/{Form → form}/FormPersist.js +0 -0
- /package/esm/{Form → form}/FormWrapper.d.ts +0 -0
- /package/esm/{Form → form}/FormWrapper.js +0 -0
- /package/esm/{Form → form}/FormikContext.d.ts +0 -0
- /package/esm/{Form → form}/FormikContext.js +0 -0
- /package/esm/{Form → form}/connect.d.ts +0 -0
- /package/esm/{Form → form}/connect.js +0 -0
- /package/esm/{Form → form}/constants.d.ts +0 -0
- /package/esm/{Form → form}/constants.js +0 -0
- /package/esm/{Form → form}/index.d.ts +0 -0
- /package/esm/{Form → form}/index.js +0 -0
- /package/esm/{Form → form}/types.js +0 -0
- /package/esm/{Form → form}/utils.d.ts +0 -0
- /package/esm/{Form → form}/utils.js +0 -0
- /package/esm/{Form → form}/withFormik.d.ts +0 -0
- /package/esm/{Form → form}/withFormik.js +0 -0
- /package/esm/{Grid → grid}/basic-item.d.ts +0 -0
- /package/esm/{Grid → grid}/basic-item.js +0 -0
- /package/esm/{Grid/grid.js → grid/grid-base.js} +0 -0
- /package/esm/{Grid → grid}/grid-container.js +0 -0
- /package/esm/{Grid → grid}/grid-types.d.ts +0 -0
- /package/esm/{Grid → grid}/grid-types.js +0 -0
- /package/esm/{HtmlRenderer/index.d.ts → html-renderer/renderer.d.ts} +0 -0
- /package/esm/{HtmlRenderer/index.js → html-renderer/renderer.js} +0 -0
- /package/esm/{Image → image}/helpers.d.ts +0 -0
- /package/esm/{Image → image}/helpers.js +0 -0
- /package/esm/{Image → image}/image-browser-https-icon.d.ts +0 -0
- /package/esm/{Image → image}/image-browser-https-icon.js +0 -0
- /package/esm/{Image → image}/image.d.ts +0 -0
- /package/esm/{Image → image}/image.js +0 -0
- /package/esm/{Image → image}/image.skeleton.d.ts +0 -0
- /package/esm/{Image → image}/image.skeleton.js +0 -0
- /package/esm/{Image → image}/index.d.ts +0 -0
- /package/esm/{Image → image}/index.js +0 -0
- /package/esm/{Image → image}/styles.js +0 -0
- /package/esm/{Input → input}/input-block-label.d.ts +0 -0
- /package/esm/{Input → input}/input-block-label.js +0 -0
- /package/esm/{Input/input.d.ts → input/input-field.d.ts} +0 -0
- /package/esm/{Input/input.js → input/input-field.js} +0 -0
- /package/esm/{Input → input}/input-icon-clear.d.ts +0 -0
- /package/esm/{Input → input}/input-icon-clear.js +0 -0
- /package/esm/{Input → input}/input-icon.d.ts +0 -0
- /package/esm/{Input → input}/input-icon.js +0 -0
- /package/esm/{Input → input}/input-label.d.ts +0 -0
- /package/esm/{Input → input}/input-label.js +0 -0
- /package/esm/{Input → input}/input-props.d.ts +0 -0
- /package/esm/{Input → input}/input-props.js +0 -0
- /package/esm/{Input → input}/password-icon.d.ts +0 -0
- /package/esm/{Input → input}/password-icon.js +0 -0
- /package/esm/{Input → input}/password.d.ts +0 -0
- /package/esm/{Input → input}/styles.js +0 -0
- /package/esm/{Keyboard → keyboard}/index.d.ts +0 -0
- /package/esm/{Keyboard → keyboard}/index.js +0 -0
- /package/esm/{Keyboard → keyboard}/keyboard.d.ts +0 -0
- /package/esm/{Keyboard → keyboard}/keyboard.js +0 -0
- /package/esm/{LinearProgress → linear-progress}/index.d.ts +0 -0
- /package/esm/{LinearProgress → linear-progress}/index.js +0 -0
- /package/esm/{LinearProgress → linear-progress}/linear-progress.d.ts +0 -0
- /package/esm/{LinearProgress → linear-progress}/linear-progress.js +0 -0
- /package/esm/{Link → link}/icon.d.ts +0 -0
- /package/esm/{Link → link}/icon.js +0 -0
- /package/esm/{Link → link}/index.d.ts +0 -0
- /package/esm/{Link → link}/index.js +0 -0
- /package/esm/{Link → link}/link.d.ts +0 -0
- /package/esm/{Link → link}/link.js +0 -0
- /package/esm/{List → list}/index.d.ts +0 -0
- /package/esm/{List → list}/index.js +0 -0
- /package/esm/{List → list}/list-item.d.ts +0 -0
- /package/esm/{List → list}/list-item.js +0 -0
- /package/esm/{List → list}/list.d.ts +0 -0
- /package/esm/{Loadable → loadable}/index.js +0 -0
- /package/esm/{Loading → loading}/index.d.ts +0 -0
- /package/esm/{Loading → loading}/index.js +0 -0
- /package/esm/{Loading → loading}/loading.d.ts +0 -0
- /package/esm/{Loading → loading}/loading.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialAmazon/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialApple/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialApple/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialFacebook/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialFacebook/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialGithub/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialGithub/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialGoogle/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialGoogle/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialInstagram/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialInstagram/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialLinkedin/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialLinkedin/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialMicrosoft/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialMicrosoft/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialPinterest/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialPinterest/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialTiktok/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialTiktok/index.js +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialTwitter/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/LoginSocialTwitter/index.js +0 -0
- /package/esm/{LoginWith → login-with}/helper/signature.js +0 -0
- /package/esm/{LoginWith → login-with}/index.d.ts +0 -0
- /package/esm/{LoginWith → login-with}/index.js +0 -0
- /package/esm/{Menu → menu}/index.d.ts +0 -0
- /package/esm/{Menu → menu}/index.js +0 -0
- /package/esm/{Menu → menu}/menu.d.ts +0 -0
- /package/esm/{Menu → menu}/menu.js +0 -0
- /package/esm/{Modal → modal}/index.d.ts +0 -0
- /package/esm/{Modal → modal}/index.js +0 -0
- /package/esm/{Modal → modal}/modal-actions.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-actions.js +0 -0
- /package/esm/{Modal → modal}/modal-content.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-content.js +0 -0
- /package/esm/{Modal → modal}/modal-context.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-context.js +0 -0
- /package/esm/{Modal → modal}/modal-subtitle.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-subtitle.js +0 -0
- /package/esm/{Modal → modal}/modal-title.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-title.js +0 -0
- /package/esm/{Modal → modal}/modal-wrapper.d.ts +0 -0
- /package/esm/{Modal → modal}/modal-wrapper.js +0 -0
- /package/esm/{Modal → modal}/modal.d.ts +0 -0
- /package/esm/{Modal → modal}/modal.js +0 -0
- /package/esm/{Note → note}/index.d.ts +0 -0
- /package/esm/{Note → note}/index.js +0 -0
- /package/esm/{Note → note}/note.d.ts +0 -0
- /package/esm/{Note → note}/note.js +0 -0
- /package/esm/{ITooltip → notetip}/index.d.ts +0 -0
- /package/esm/{ITooltip → notetip}/index.js +0 -0
- /package/esm/{Page → page}/index.d.ts +0 -0
- /package/esm/{Page → page}/index.js +0 -0
- /package/esm/{Page → page}/page-content.d.ts +0 -0
- /package/esm/{Page → page}/page-content.js +0 -0
- /package/esm/{Page → page}/page-footer.d.ts +0 -0
- /package/esm/{Page → page}/page-footer.js +0 -0
- /package/esm/{Page → page}/page-header.d.ts +0 -0
- /package/esm/{Page → page}/page-header.js +0 -0
- /package/esm/{Page → page}/page.d.ts +0 -0
- /package/esm/{Page → page}/page.js +0 -0
- /package/esm/{Pagination → pagination}/index.d.ts +0 -0
- /package/esm/{Pagination → pagination}/index.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-context.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-context.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-ellipsis.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-ellipsis.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-item.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-item.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-next.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-next.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-pages.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-pages.js +0 -0
- /package/esm/{Pagination → pagination}/pagination-previous.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination-previous.js +0 -0
- /package/esm/{Pagination → pagination}/pagination.d.ts +0 -0
- /package/esm/{Pagination → pagination}/pagination.js +0 -0
- /package/esm/{Parser → parser}/HtmlParser.js +0 -0
- /package/esm/{Parser → parser}/convertNodeToElement.js +0 -0
- /package/esm/{Parser → parser}/dom/attributes/BooleanAttributes.js +0 -0
- /package/esm/{Parser → parser}/dom/attributes/ReactAttributes.js +0 -0
- /package/esm/{Parser → parser}/dom/elements/VoidElements.js +0 -0
- /package/esm/{Parser → parser}/elementTypes/StyleElementType.js +0 -0
- /package/esm/{Parser → parser}/elementTypes/TagElementType.js +0 -0
- /package/esm/{Parser → parser}/elementTypes/TextElementType.js +0 -0
- /package/esm/{Parser → parser}/elementTypes/UnsupportedElementType.js +0 -0
- /package/esm/{Parser → parser}/elementTypes/index.js +0 -0
- /package/esm/{Parser → parser}/index.js +0 -0
- /package/esm/{Parser → parser}/processNodes.js +0 -0
- /package/esm/{Parser → parser}/scripts/attributes-diff.js +0 -0
- /package/esm/{Parser → parser}/utils/generatePropsFromAttributes.js +0 -0
- /package/esm/{Parser → parser}/utils/htmlAttributesToReact.js +0 -0
- /package/esm/{Parser → parser}/utils/inlineStyleToObject.js +0 -0
- /package/esm/{Parser → parser}/utils/isEmptyTextNode.js +0 -0
- /package/esm/{Parser → parser}/utils/isValidTagOrAttributeName.js +0 -0
- /package/esm/{PhoneInput → phone-input}/index.d.ts +0 -0
- /package/esm/{PhoneInput → phone-input}/index.js +0 -0
- /package/esm/{Placeholder → placeholder}/empty.d.ts +0 -0
- /package/esm/{Placeholder → placeholder}/empty.js +0 -0
- /package/esm/{Placeholder/placeholder.d.ts → placeholder/holder.d.ts} +0 -0
- /package/esm/{Popover → popover}/index.d.ts +0 -0
- /package/esm/{Popover → popover}/index.js +0 -0
- /package/esm/{Popover → popover}/popover-context.d.ts +0 -0
- /package/esm/{Popover → popover}/popover-context.js +0 -0
- /package/esm/{Popover → popover}/popover-item.d.ts +0 -0
- /package/esm/{Popover → popover}/popover-item.js +0 -0
- /package/esm/{Progress → progress}/index.d.ts +0 -0
- /package/esm/{Progress → progress}/index.js +0 -0
- /package/esm/{Progress → progress}/progress.d.ts +0 -0
- /package/esm/{Progress → progress}/progress.js +0 -0
- /package/esm/{Radio → radio}/index.d.ts +0 -0
- /package/esm/{Radio → radio}/index.js +0 -0
- /package/esm/{Radio → radio}/radio-context.d.ts +0 -0
- /package/esm/{Radio → radio}/radio-context.js +0 -0
- /package/esm/{Radio → radio}/radio-description.d.ts +0 -0
- /package/esm/{Radio → radio}/radio-description.js +0 -0
- /package/esm/{Radio → radio}/radio-group.d.ts +0 -0
- /package/esm/{Radio → radio}/radio-group.js +0 -0
- /package/esm/{Radio → radio}/radio.d.ts +0 -0
- /package/esm/{Radio → radio}/radio.js +0 -0
- /package/esm/{Radio → radio}/styles.js +0 -0
- /package/esm/{Rating → rating}/index.d.ts +0 -0
- /package/esm/{Rating → rating}/index.js +0 -0
- /package/esm/{Rating → rating}/rating-icon.d.ts +0 -0
- /package/esm/{Rating → rating}/rating-icon.js +0 -0
- /package/esm/{Rating → rating}/rating.js +0 -0
- /package/esm/{Row → row}/index.js +0 -0
- /package/esm/{Row → row}/row.js +0 -0
- /package/esm/{SearchBar → search-bar}/components/ClearIcon.js +0 -0
- /package/esm/{SearchBar → search-bar}/components/Results.js +0 -0
- /package/esm/{SearchBar → search-bar}/components/SearchIcon.js +0 -0
- /package/esm/{SearchBar → search-bar}/components/SearchInput.js +0 -0
- /package/esm/{SearchBar → search-bar}/components/index.js +0 -0
- /package/esm/{SearchBar → search-bar}/config/config.js +0 -0
- /package/esm/{SearchBar → search-bar}/index.js +0 -0
- /package/esm/{SearchBar → search-bar}/utils/utils.js +0 -0
- /package/esm/{Select → select}/index.d.ts +0 -0
- /package/esm/{Select → select}/index.js +0 -0
- /package/esm/{Select → select}/select-context.d.ts +0 -0
- /package/esm/{Select → select}/select-context.js +0 -0
- /package/esm/{Select → select}/select-dropdown.d.ts +0 -0
- /package/esm/{Select → select}/select-dropdown.js +0 -0
- /package/esm/{Select → select}/select-icon-clear.d.ts +0 -0
- /package/esm/{Select → select}/select-icon-clear.js +0 -0
- /package/esm/{Select → select}/select-icon.d.ts +0 -0
- /package/esm/{Select → select}/select-icon.js +0 -0
- /package/esm/{Select → select}/select-input.d.ts +0 -0
- /package/esm/{Select → select}/select-input.js +0 -0
- /package/esm/{Select → select}/select-multiple-value.d.ts +0 -0
- /package/esm/{Select → select}/select-option.d.ts +0 -0
- /package/esm/{Select → select}/select-option.js +0 -0
- /package/esm/{Select → select}/select.d.ts +0 -0
- /package/esm/{Select → select}/styles.js +0 -0
- /package/esm/{Skeleton → skeleton}/index.d.ts +0 -0
- /package/esm/{Skeleton → skeleton}/index.js +0 -0
- /package/esm/{Slider → slider}/index.d.ts +0 -0
- /package/esm/{Slider → slider}/index.js +0 -0
- /package/esm/{Slider → slider}/slider-dot.d.ts +0 -0
- /package/esm/{Slider → slider}/slider-dot.js +0 -0
- /package/esm/{Slider → slider}/slider-mark.d.ts +0 -0
- /package/esm/{Slider → slider}/slider-mark.js +0 -0
- /package/esm/{Slider → slider}/slider.d.ts +0 -0
- /package/esm/{Slider → slider}/slider.js +0 -0
- /package/esm/{Slider → slider}/styles.js +0 -0
- /package/esm/{Snippet → snippet}/index.d.ts +0 -0
- /package/esm/{Snippet → snippet}/index.js +0 -0
- /package/esm/{Snippet → snippet}/snippet-icon.d.ts +0 -0
- /package/esm/{Snippet → snippet}/snippet-icon.js +0 -0
- /package/esm/{Snippet → snippet}/snippet.d.ts +0 -0
- /package/esm/{Snippet → snippet}/snippet.js +0 -0
- /package/esm/{Snippet → snippet}/styles.js +0 -0
- /package/esm/{Spacer → spacer}/index.d.ts +0 -0
- /package/esm/{Spacer → spacer}/index.js +0 -0
- /package/esm/{Spacer → spacer}/spacer.d.ts +0 -0
- /package/esm/{Spacer → spacer}/spacer.js +0 -0
- /package/esm/{Spinner → spinner}/index.d.ts +0 -0
- /package/esm/{Spinner → spinner}/index.js +0 -0
- /package/esm/{Spinner → spinner}/spinner.d.ts +0 -0
- /package/esm/{Spinner → spinner}/spinner.js +0 -0
- /package/esm/{Swipe → swipe}/demo.js +0 -0
- /package/esm/{Swipe → swipe}/index.d.ts +0 -0
- /package/esm/{Swipe → swipe}/index.js +0 -0
- /package/esm/{Swipe → swipe}/react-swipe.d.ts +0 -0
- /package/esm/{Swipe → swipe}/react-swipe.js +0 -0
- /package/esm/{Table → table}/index.d.ts +0 -0
- /package/esm/{Table → table}/index.js +0 -0
- /package/esm/{Table → table}/table-body.d.ts +0 -0
- /package/esm/{Table → table}/table-cell.d.ts +0 -0
- /package/esm/{Table → table}/table-cell.js +0 -0
- /package/esm/{Table → table}/table-column.d.ts +0 -0
- /package/esm/{Table → table}/table-column.js +0 -0
- /package/esm/{Table → table}/table-context.d.ts +0 -0
- /package/esm/{Table → table}/table-context.js +0 -0
- /package/esm/{Table → table}/table-head.d.ts +0 -0
- /package/esm/{Table → table}/table-types.js +0 -0
- /package/esm/{Table → table}/table.d.ts +0 -0
- /package/esm/{Tabs → tabs}/index.d.ts +0 -0
- /package/esm/{Tabs → tabs}/index.js +0 -0
- /package/esm/{Tabs → tabs}/tabs-context.d.ts +0 -0
- /package/esm/{Tabs → tabs}/tabs-context.js +0 -0
- /package/esm/{Tabs → tabs}/tabs-item.d.ts +0 -0
- /package/esm/{Tabs → tabs}/tabs-item.js +0 -0
- /package/esm/{Tabs → tabs}/tabs.d.ts +0 -0
- /package/esm/{Tabs → tabs}/tabs.js +0 -0
- /package/esm/{Tag → tag}/index.d.ts +0 -0
- /package/esm/{Tag → tag}/index.js +0 -0
- /package/esm/{Tag → tag}/tag.d.ts +0 -0
- /package/esm/{Tag → tag}/tag.js +0 -0
- /package/esm/{Text → text}/child.js +0 -0
- /package/esm/{Text → text}/index.d.ts +0 -0
- /package/esm/{Text → text}/index.js +0 -0
- /package/esm/{Text → text}/text.d.ts +0 -0
- /package/esm/{Text → text}/text.js +0 -0
- /package/esm/{Textarea → textarea}/index.d.ts +0 -0
- /package/esm/{Textarea → textarea}/index.js +0 -0
- /package/esm/{Textarea → textarea}/textarea.d.ts +0 -0
- /package/esm/{Themes → themes}/index.d.ts +0 -0
- /package/esm/{Themes → themes}/index.js +0 -0
- /package/esm/{Themes → themes}/presets/dark.d.ts +0 -0
- /package/esm/{Themes → themes}/presets/dark.js +0 -0
- /package/esm/{Themes → themes}/presets/default.d.ts +0 -0
- /package/esm/{Themes → themes}/presets/default.js +0 -0
- /package/esm/{Themes → themes}/presets/index.d.ts +0 -0
- /package/esm/{Themes → themes}/presets/index.js +0 -0
- /package/esm/{Themes → themes}/presets/shared.d.ts +0 -0
- /package/esm/{Themes → themes}/presets/shared.js +0 -0
- /package/esm/{Themes → themes}/themes.d.ts +0 -0
- /package/esm/{Themes → themes}/themes.js +0 -0
- /package/esm/{Timer → timer}/hooks/index.js +0 -0
- /package/esm/{Timer → timer}/hooks/useInterval.js +0 -0
- /package/esm/{Timer → timer}/index.js +0 -0
- /package/esm/{Timer → timer}/useStopwatch.js +0 -0
- /package/esm/{Timer → timer}/useTime.js +0 -0
- /package/esm/{Timer → timer}/useTimer.js +0 -0
- /package/esm/{Timer → timer}/utils/Time.js +0 -0
- /package/esm/{Timer → timer}/utils/Validate.js +0 -0
- /package/esm/{Timer → timer}/utils/index.js +0 -0
- /package/esm/{Toggle → toggle}/index.d.ts +0 -0
- /package/esm/{Toggle → toggle}/index.js +0 -0
- /package/esm/{Toggle → toggle}/styles.js +0 -0
- /package/esm/{Toggle → toggle}/toggle.d.ts +0 -0
- /package/esm/{Toggle → toggle}/toggle.js +0 -0
- /package/esm/{Tooltip → tooltip}/__test__/index.test.js +0 -0
- /package/esm/{Tooltip → tooltip}/helper.d.ts +0 -0
- /package/esm/{Tooltip → tooltip}/helper.js +0 -0
- /package/esm/{Tooltip → tooltip}/index.d.ts +0 -0
- /package/esm/{Tooltip → tooltip}/index.js +0 -0
- /package/esm/{Tooltip → tooltip}/placement.d.ts +0 -0
- /package/esm/{Tooltip → tooltip}/placement.js +0 -0
- /package/esm/{Tooltip → tooltip}/styles.js +0 -0
- /package/esm/{Tooltip → tooltip}/tooltip-content.d.ts +0 -0
- /package/esm/{Tooltip → tooltip}/tooltip-content.js +0 -0
- /package/esm/{Tooltip → tooltip}/tooltip-icon.d.ts +0 -0
- /package/esm/{Tooltip → tooltip}/tooltip-icon.js +0 -0
- /package/esm/{Tooltip → tooltip}/tooltip.d.ts +0 -0
- /package/esm/{Tree → tree}/index.d.ts +0 -0
- /package/esm/{Tree → tree}/index.js +0 -0
- /package/esm/{Tree → tree}/tree-context.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-context.js +0 -0
- /package/esm/{Tree → tree}/tree-file-icon.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-file-icon.js +0 -0
- /package/esm/{Tree → tree}/tree-file.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-file.js +0 -0
- /package/esm/{Tree → tree}/tree-folder-icon.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-folder-icon.js +0 -0
- /package/esm/{Tree → tree}/tree-folder.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-folder.js +0 -0
- /package/esm/{Tree → tree}/tree-indents.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-indents.js +0 -0
- /package/esm/{Tree → tree}/tree-status-icon.d.ts +0 -0
- /package/esm/{Tree → tree}/tree-status-icon.js +0 -0
- /package/esm/{Tree → tree}/tree.d.ts +0 -0
- /package/esm/{Tree → tree}/tree.js +0 -0
- /package/esm/{User → user}/index.d.ts +0 -0
- /package/esm/{User → user}/index.js +0 -0
- /package/esm/{User → user}/user-link.d.ts +0 -0
- /package/esm/{User → user}/user.d.ts +0 -0
|
@@ -3,10 +3,11 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
|
3
3
|
import _JSXStyle from "../styled-jsx.es.js";
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
5
|
import { useTheme, useClasses } from '@helpdice/theme';
|
|
6
|
+
import _ from 'lodash';
|
|
7
|
+
import Placeholder from '../placeholder';
|
|
6
8
|
import TableCell from './table-cell';
|
|
7
9
|
import { useTableContext } from './table-context';
|
|
8
|
-
|
|
9
|
-
import Placeholder from '../Placeholder';
|
|
10
|
+
|
|
10
11
|
// import { DataTable } from '@helpdice/pro'
|
|
11
12
|
|
|
12
13
|
var TableBody = function TableBody(_ref) {
|
|
@@ -4,8 +4,8 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
|
4
4
|
import _JSXStyle from "../styled-jsx.es.js";
|
|
5
5
|
import React, { useMemo } from 'react';
|
|
6
6
|
import { useTheme } from '@helpdice/theme';
|
|
7
|
-
import Input from '../
|
|
8
|
-
import Select from '../
|
|
7
|
+
import Input from '../input';
|
|
8
|
+
import Select from '../select';
|
|
9
9
|
// import Button from '../button'
|
|
10
10
|
|
|
11
11
|
var makeColgroup = function makeColgroup(width, columns) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
1
|
+
import React, { CSSProperties, JSX } from 'react';
|
|
2
2
|
export type TableDataItemBase = Record<string, any>;
|
|
3
3
|
export type TableColumnRender<Item extends TableDataItemBase> = (value: Item[keyof Item], rowData: Item, rowIndex: number) => JSX.Element | void;
|
|
4
4
|
export type TableAbstractColumn<TableDataItem> = {
|
|
@@ -15,9 +15,9 @@ import { TableContext } from './table-context';
|
|
|
15
15
|
import useScale, { withScale } from '../use-scale';
|
|
16
16
|
import TableColumn from './table-column';
|
|
17
17
|
import { ChevronLeft, ChevronRight } from '@helpdice/icons';
|
|
18
|
-
import Pagination from '../
|
|
19
|
-
import Button from '../
|
|
20
|
-
import Tooltip from '../
|
|
18
|
+
import Pagination from '../pagination';
|
|
19
|
+
import Button from '../button';
|
|
20
|
+
import Tooltip from '../tooltip';
|
|
21
21
|
function TableComponent(tableProps) {
|
|
22
22
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
23
23
|
var _ref = tableProps,
|
|
@@ -8,7 +8,7 @@ import _JSXStyle from "../styled-jsx.es.js";
|
|
|
8
8
|
import React, { useRef, useImperativeHandle, useEffect, useMemo, useState } from 'react';
|
|
9
9
|
import { useTheme, useClasses } from '@helpdice/theme';
|
|
10
10
|
import { tuple } from '../utils/prop-types';
|
|
11
|
-
import { getColors } from '../
|
|
11
|
+
import { getColors } from '../input/styles';
|
|
12
12
|
import useScale, { withScale } from '../use-scale';
|
|
13
13
|
var resizeTypes = tuple('none', 'both', 'horizontal', 'vertical', 'initial', 'inherit');
|
|
14
14
|
var TextareaComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
@@ -36,7 +36,7 @@ var TextareaComponent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
36
36
|
var textareaRef = useRef(null);
|
|
37
37
|
useImperativeHandle(ref, function () {
|
|
38
38
|
return textareaRef.current;
|
|
39
|
-
});
|
|
39
|
+
}); // added not null
|
|
40
40
|
var isControlledComponent = useMemo(function () {
|
|
41
41
|
return value !== undefined;
|
|
42
42
|
}, [value]);
|
|
@@ -38,7 +38,7 @@ var TooltipComponent = function TooltipComponent(_ref) {
|
|
|
38
38
|
hideArrow = _ref$hideArrow === void 0 ? false : _ref$hideArrow,
|
|
39
39
|
customVisible = _ref.visible,
|
|
40
40
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
41
|
-
var timer = useRef();
|
|
41
|
+
var timer = useRef(undefined);
|
|
42
42
|
var ref = useRef(null);
|
|
43
43
|
var _useState = useState(initialVisible),
|
|
44
44
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
export declare const sortChildren: (children: ReactNode | undefined, folderComponentType: React.ElementType) => (string | number | React.ReactElement<
|
|
2
|
+
export declare const sortChildren: (children: ReactNode | undefined, folderComponentType: React.ElementType) => (string | number | bigint | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined>)[];
|
|
3
3
|
export declare const makeChildPath: (name: string, parentPath?: string) => string;
|
|
4
4
|
export declare const stopPropagation: (event: React.MouseEvent) => void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export var sortChildren = function sortChildren(children, folderComponentType) {
|
|
3
|
-
return React.Children.toArray(children).sort(function (
|
|
3
|
+
return React.Children.toArray(children).sort(function (_a, _b) {
|
|
4
|
+
var a = _a;
|
|
5
|
+
var b = _b;
|
|
4
6
|
if (! /*#__PURE__*/React.isValidElement(a) || ! /*#__PURE__*/React.isValidElement(b)) return 0;
|
|
5
7
|
if (a.type !== b.type) return a.type !== folderComponentType ? 1 : -1;
|
|
6
8
|
return "".concat(a.props.name).charCodeAt(0) - "".concat(b.props.name).charCodeAt(0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dispatch, MutableRefObject, SetStateAction } from 'react';
|
|
2
|
-
import { ModalProps } from '../
|
|
2
|
+
import { ModalProps } from '../modal';
|
|
3
3
|
export type ModalHooksBindings = Pick<ModalProps, 'visible' | 'onClose'>;
|
|
4
4
|
declare const useModal: (initialVisible?: boolean) => {
|
|
5
5
|
visible: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Toast } from './use-toast';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { NormalTypes } from '../utils/prop-types';
|
|
4
|
+
export declare const makeToastActions: (actions: Toast["actions"], cancelHandle: () => void) => React.JSX.Element[] | null;
|
|
5
|
+
export declare const getColors: (palette: any, type?: NormalTypes) => {
|
|
6
|
+
bgColor: string;
|
|
7
|
+
color: any;
|
|
8
|
+
};
|
|
9
|
+
declare const toastPlacement: ["topLeft", "topRight", "bottomLeft", "bottomRight"];
|
|
10
|
+
export type ToastPlacement = typeof toastPlacement[number];
|
|
11
|
+
export declare const isTopPlacement: (placement: ToastPlacement) => boolean;
|
|
12
|
+
export declare const isLeftPlacement: (placement: ToastPlacement) => boolean;
|
|
13
|
+
export declare const getTranslateByPlacement: (placement: ToastPlacement) => {
|
|
14
|
+
enter: string;
|
|
15
|
+
leave: string;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Button from '../button';
|
|
3
|
+
// import { } from '@helpdice/theme'
|
|
4
|
+
import { tuple } from '../utils/prop-types';
|
|
5
|
+
export var makeToastActions = function makeToastActions(actions, cancelHandle) {
|
|
6
|
+
var handler = function handler(event, userHandler) {
|
|
7
|
+
userHandler && userHandler(event, cancelHandle);
|
|
8
|
+
};
|
|
9
|
+
if (!actions || !actions.length) return null;
|
|
10
|
+
return actions.map(function (action, index) {
|
|
11
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
12
|
+
auto: true,
|
|
13
|
+
scale: 1 / 3,
|
|
14
|
+
font: "13px",
|
|
15
|
+
color: action.passive ? 'default' : 'secondary',
|
|
16
|
+
key: "action-".concat(index),
|
|
17
|
+
onClick: function onClick(event) {
|
|
18
|
+
return handler(event, action.handler);
|
|
19
|
+
}
|
|
20
|
+
}, action.name);
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
export var getColors = function getColors(palette, type) {
|
|
24
|
+
var colors = {
|
|
25
|
+
"default": palette.background,
|
|
26
|
+
secondary: palette.secondary,
|
|
27
|
+
success: palette.success,
|
|
28
|
+
warning: palette.warning,
|
|
29
|
+
error: palette.error
|
|
30
|
+
};
|
|
31
|
+
var isDefault = !type || type === 'default';
|
|
32
|
+
if (isDefault) return {
|
|
33
|
+
bgColor: colors["default"],
|
|
34
|
+
color: palette.foreground
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Prevent main color change in special types.
|
|
38
|
+
* The color will only follow the theme when it is in the default type.
|
|
39
|
+
*/
|
|
40
|
+
return {
|
|
41
|
+
bgColor: colors[type],
|
|
42
|
+
color: 'white'
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
var toastPlacement = tuple('topLeft', 'topRight', 'bottomLeft', 'bottomRight');
|
|
46
|
+
export var isTopPlacement = function isTopPlacement(placement) {
|
|
47
|
+
return "".concat(placement).toLowerCase().startsWith('top');
|
|
48
|
+
};
|
|
49
|
+
export var isLeftPlacement = function isLeftPlacement(placement) {
|
|
50
|
+
return "".concat(placement).toLowerCase().endsWith('left');
|
|
51
|
+
};
|
|
52
|
+
export var getTranslateByPlacement = function getTranslateByPlacement(placement) {
|
|
53
|
+
var translateInByPlacement = {
|
|
54
|
+
topLeft: 'translate(-60px, -60px)',
|
|
55
|
+
topRight: 'translate(60px, -60px)',
|
|
56
|
+
bottomLeft: 'translate(-60px, 60px)',
|
|
57
|
+
bottomRight: 'translate(60px, 60px)'
|
|
58
|
+
};
|
|
59
|
+
var translateOutByPlacement = {
|
|
60
|
+
topLeft: 'translate(-50px, 15px) scale(0.85)',
|
|
61
|
+
topRight: 'translate(50px, 15px) scale(0.85)',
|
|
62
|
+
bottomLeft: 'translate(-50px, -15px) scale(0.85)',
|
|
63
|
+
bottomRight: 'translate(50px, -15px) scale(0.85)'
|
|
64
|
+
};
|
|
65
|
+
return {
|
|
66
|
+
enter: translateInByPlacement[placement],
|
|
67
|
+
leave: translateOutByPlacement[placement]
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
|
+
import _JSXStyle from "../styled-jsx.es.js";
|
|
6
|
+
import React, { useEffect, useMemo } from 'react';
|
|
7
|
+
import { createPortal } from 'react-dom';
|
|
8
|
+
import usePortal from '../utils/use-portal';
|
|
9
|
+
import { useTheme, useClasses, useCurrentState } from '@helpdice/theme';
|
|
10
|
+
import { useHUIContext } from '../utils/use-hd-ui-context';
|
|
11
|
+
import ToastItem from './toast-item';
|
|
12
|
+
import { isLeftPlacement, isTopPlacement } from './helpers';
|
|
13
|
+
var ToastContainer = function ToastContainer() {
|
|
14
|
+
var theme = useTheme();
|
|
15
|
+
var portal = usePortal('toast');
|
|
16
|
+
var _useCurrentState = useCurrentState(false),
|
|
17
|
+
_useCurrentState2 = _slicedToArray(_useCurrentState, 3),
|
|
18
|
+
setHovering = _useCurrentState2[1],
|
|
19
|
+
hoveringRef = _useCurrentState2[2];
|
|
20
|
+
var _useHUIContext = useHUIContext(),
|
|
21
|
+
toasts = _useHUIContext.toasts,
|
|
22
|
+
updateToasts = _useHUIContext.updateToasts,
|
|
23
|
+
toastLayout = _useHUIContext.toastLayout,
|
|
24
|
+
lastUpdateToastId = _useHUIContext.lastUpdateToastId;
|
|
25
|
+
var memoizedLayout = useMemo(function () {
|
|
26
|
+
return toastLayout;
|
|
27
|
+
}, [toastLayout]);
|
|
28
|
+
var toastElements = useMemo(function () {
|
|
29
|
+
return toasts.map(function (toast) {
|
|
30
|
+
return /*#__PURE__*/React.createElement(ToastItem, {
|
|
31
|
+
toast: toast,
|
|
32
|
+
layout: memoizedLayout,
|
|
33
|
+
key: toast._internalIdent
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
}, [toasts, memoizedLayout]);
|
|
37
|
+
var classNames = useMemo(function () {
|
|
38
|
+
return useClasses('toasts', {
|
|
39
|
+
top: isTopPlacement(toastLayout.placement),
|
|
40
|
+
left: isLeftPlacement(toastLayout.placement)
|
|
41
|
+
});
|
|
42
|
+
}, [memoizedLayout]);
|
|
43
|
+
var hoverHandler = function hoverHandler(isHovering) {
|
|
44
|
+
setHovering(isHovering);
|
|
45
|
+
if (isHovering) {
|
|
46
|
+
return updateToasts(function (last) {
|
|
47
|
+
return last.map(function (toast) {
|
|
48
|
+
if (!toast.visible) return toast;
|
|
49
|
+
toast._timeout && window.clearTimeout(toast._timeout);
|
|
50
|
+
return _extends({}, toast, {
|
|
51
|
+
timeout: null
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
updateToasts(function (last) {
|
|
57
|
+
return last.map(function (toast, index) {
|
|
58
|
+
if (!toast.visible) return toast;
|
|
59
|
+
toast._timeout && window.clearTimeout(toast._timeout);
|
|
60
|
+
return _extends({}, toast, {
|
|
61
|
+
_timeout: function () {
|
|
62
|
+
var timer = window.setTimeout(function () {
|
|
63
|
+
toast.cancel();
|
|
64
|
+
window.clearTimeout(timer);
|
|
65
|
+
}, toast.delay + index * 100);
|
|
66
|
+
return timer;
|
|
67
|
+
}()
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
useEffect(function () {
|
|
73
|
+
var index = toasts.findIndex(function (r) {
|
|
74
|
+
return r._internalIdent === lastUpdateToastId;
|
|
75
|
+
});
|
|
76
|
+
var toast = toasts[index];
|
|
77
|
+
if (!toast || toast.visible || !hoveringRef.current) return;
|
|
78
|
+
var hasVisible = toasts.find(function (r, i) {
|
|
79
|
+
return i < index && r.visible;
|
|
80
|
+
});
|
|
81
|
+
if (hasVisible || !hoveringRef.current) return;
|
|
82
|
+
hoverHandler(false);
|
|
83
|
+
}, [toasts, lastUpdateToastId]);
|
|
84
|
+
useEffect(function () {
|
|
85
|
+
var timeout = null;
|
|
86
|
+
var timer = window.setInterval(function () {
|
|
87
|
+
if (toasts.length === 0) return;
|
|
88
|
+
timeout = window.setTimeout(function () {
|
|
89
|
+
var allInvisible = !toasts.find(function (r) {
|
|
90
|
+
return r.visible;
|
|
91
|
+
});
|
|
92
|
+
allInvisible && updateToasts(function () {
|
|
93
|
+
return [];
|
|
94
|
+
});
|
|
95
|
+
timeout && clearTimeout(timeout);
|
|
96
|
+
}, 350);
|
|
97
|
+
}, 5000);
|
|
98
|
+
return function () {
|
|
99
|
+
timer && clearInterval(timer);
|
|
100
|
+
timeout && clearTimeout(timeout);
|
|
101
|
+
};
|
|
102
|
+
}, [toasts]);
|
|
103
|
+
if (!portal) return null;
|
|
104
|
+
if (!toasts || toasts.length === 0) return null;
|
|
105
|
+
return /*#__PURE__*/createPortal(/*#__PURE__*/React.createElement("div", {
|
|
106
|
+
onMouseEnter: function onMouseEnter() {
|
|
107
|
+
return hoverHandler(true);
|
|
108
|
+
},
|
|
109
|
+
onMouseLeave: function onMouseLeave() {
|
|
110
|
+
return hoverHandler(false);
|
|
111
|
+
},
|
|
112
|
+
className: _JSXStyle.dynamic([["622610754", [theme.layout.gap, theme.layout.gap, theme.layout.gap, theme.layout.gap]]]) + " " + (classNames || "")
|
|
113
|
+
}, toastElements, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
114
|
+
id: "622610754",
|
|
115
|
+
dynamic: [theme.layout.gap, theme.layout.gap, theme.layout.gap, theme.layout.gap]
|
|
116
|
+
}, ".toasts.__jsx-style-dynamic-selector{position:fixed;width:auto;max-width:100%;right:".concat(theme.layout.gap, ";bottom:").concat(theme.layout.gap, ";z-index:2000;-webkit-transition:all 400ms ease;transition:all 400ms ease;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.top.__jsx-style-dynamic-selector{bottom:unset;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;top:").concat(theme.layout.gap, ";}.left.__jsx-style-dynamic-selector{right:unset;left:").concat(theme.layout.gap, ";}"))), portal);
|
|
117
|
+
};
|
|
118
|
+
export default ToastContainer;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _JSXStyle from "../styled-jsx.es.js";
|
|
2
|
+
import React, { useMemo } from 'react';
|
|
3
|
+
import { useTheme, CssTransition } from '@helpdice/theme';
|
|
4
|
+
import { makeToastActions, getColors, getTranslateByPlacement } from './helpers';
|
|
5
|
+
var ToastItem = /*#__PURE__*/React.memo(function (_ref) {
|
|
6
|
+
var toast = _ref.toast,
|
|
7
|
+
layout = _ref.layout;
|
|
8
|
+
var theme = useTheme();
|
|
9
|
+
var _useMemo = useMemo(function () {
|
|
10
|
+
return getColors(theme.palette, toast.type);
|
|
11
|
+
}, [theme.palette, toast.type]),
|
|
12
|
+
color = _useMemo.color,
|
|
13
|
+
bgColor = _useMemo.bgColor;
|
|
14
|
+
var isReactNode = typeof toast.text !== 'string';
|
|
15
|
+
var padding = layout.padding,
|
|
16
|
+
margin = layout.margin,
|
|
17
|
+
maxHeight = layout.maxHeight,
|
|
18
|
+
maxWidth = layout.maxWidth,
|
|
19
|
+
width = layout.width,
|
|
20
|
+
placement = layout.placement;
|
|
21
|
+
var _useMemo2 = useMemo(function () {
|
|
22
|
+
return getTranslateByPlacement(placement);
|
|
23
|
+
}, [placement]),
|
|
24
|
+
enter = _useMemo2.enter,
|
|
25
|
+
leave = _useMemo2.leave;
|
|
26
|
+
return /*#__PURE__*/React.createElement(CssTransition, {
|
|
27
|
+
name: "toast",
|
|
28
|
+
visible: toast.visible,
|
|
29
|
+
clearTime: 350
|
|
30
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
key: toast.id,
|
|
32
|
+
className: _JSXStyle.dynamic([["1407001838", [width, maxWidth, maxHeight, theme.palette.foreground, bgColor, color, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, enter, margin, padding, margin, padding, leave]]]) + " " + "toast"
|
|
33
|
+
}, isReactNode ? toast.text : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: _JSXStyle.dynamic([["1407001838", [width, maxWidth, maxHeight, theme.palette.foreground, bgColor, color, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, enter, margin, padding, margin, padding, leave]]]) + " " + "message"
|
|
35
|
+
}, toast.text), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: _JSXStyle.dynamic([["1407001838", [width, maxWidth, maxHeight, theme.palette.foreground, bgColor, color, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, enter, margin, padding, margin, padding, leave]]]) + " " + "action"
|
|
37
|
+
}, makeToastActions(toast.actions, toast.cancel))), /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
38
|
+
id: "1407001838",
|
|
39
|
+
dynamic: [width, maxWidth, maxHeight, theme.palette.foreground, bgColor, color, theme.layout.radius, theme.expressiveness.shadowSmall, theme.layout.gapHalf, enter, margin, padding, margin, padding, leave]
|
|
40
|
+
}, ".toast.__jsx-style-dynamic-selector{width:".concat(width, ";max-width:").concat(maxWidth, ";max-height:").concat(maxHeight, ";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:").concat(theme.palette.foreground, ";background-color:").concat(bgColor, ";color:").concat(color, ";border:0;border-radius:").concat(theme.layout.radius, ";opacity:1;box-shadow:").concat(theme.expressiveness.shadowSmall, ";-webkit-transition:all 350ms cubic-bezier(0.1,0.2,0.1,1);transition:all 350ms cubic-bezier(0.1,0.2,0.1,1);overflow:hidden;}.message.__jsx-style-dynamic-selector{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;font-size:0.875em;display:-webkit-box;word-break:break-all;padding-right:").concat(theme.layout.gapHalf, ";overflow:hidden;max-height:100%;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.1rem;}.toast-enter.__jsx-style-dynamic-selector{opacity:0;height:0;padding:0;margin:0;-webkit-transform:").concat(enter, ";-ms-transform:").concat(enter, ";transform:").concat(enter, ";}.toast-enter-active.__jsx-style-dynamic-selector{opacity:1;height:auto;margin:").concat(margin, ";padding:").concat(padding, ";-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0);}.toast-leave.__jsx-style-dynamic-selector{opacity:1;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0);height:auto;margin:").concat(margin, ";padding:").concat(padding, ";}.toast-leave-active.__jsx-style-dynamic-selector{opacity:0;-webkit-transform:").concat(leave, ";-ms-transform:").concat(leave, ";transform:").concat(leave, ";}"))));
|
|
41
|
+
});
|
|
42
|
+
export default ToastItem;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import type { NormalTypes } from '../utils/prop-types';
|
|
3
|
+
import { ToastPlacement } from '../use-toasts/helpers';
|
|
4
|
+
export interface ToastAction {
|
|
5
|
+
name: string;
|
|
6
|
+
handler: (event: React.MouseEvent<HTMLButtonElement>, cancel: () => void) => void;
|
|
7
|
+
passive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type ToastTypes = NormalTypes;
|
|
10
|
+
export type ToastLayout = {
|
|
11
|
+
padding?: CSSProperties['padding'];
|
|
12
|
+
margin?: CSSProperties['margin'];
|
|
13
|
+
width?: CSSProperties['width'];
|
|
14
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
15
|
+
maxHeight?: CSSProperties['maxHeight'];
|
|
16
|
+
placement?: ToastPlacement;
|
|
17
|
+
};
|
|
18
|
+
export interface ToastInput {
|
|
19
|
+
text: string | React.ReactNode;
|
|
20
|
+
type?: ToastTypes;
|
|
21
|
+
id?: string;
|
|
22
|
+
delay?: number;
|
|
23
|
+
actions?: Array<ToastAction>;
|
|
24
|
+
}
|
|
25
|
+
export type ToastInstance = {
|
|
26
|
+
visible: boolean;
|
|
27
|
+
cancel: () => void;
|
|
28
|
+
_timeout: null | number;
|
|
29
|
+
_internalIdent: string;
|
|
30
|
+
};
|
|
31
|
+
export type Toast = Required<ToastInput> & ToastInstance;
|
|
32
|
+
export type ToastHooksResult = {
|
|
33
|
+
toasts: Array<Toast>;
|
|
34
|
+
setToast: (toast: ToastInput) => void;
|
|
35
|
+
removeAll: () => void;
|
|
36
|
+
findToastOneByID: (ident: string) => Toast | undefined;
|
|
37
|
+
removeToastOneByID: (ident: string) => void;
|
|
38
|
+
};
|
|
39
|
+
declare const useToasts: (layout?: ToastLayout) => ToastHooksResult;
|
|
40
|
+
export default useToasts;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
4
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
|
+
import { useEffect } from 'react';
|
|
6
|
+
import { defaultToastLayout, useHUIContext } from '../utils/use-hd-ui-context';
|
|
7
|
+
import { getId } from '../utils/collections';
|
|
8
|
+
var defaultToast = {
|
|
9
|
+
delay: 2000,
|
|
10
|
+
type: 'default'
|
|
11
|
+
};
|
|
12
|
+
var useToasts = function useToasts(layout) {
|
|
13
|
+
var _useHUIContext = useHUIContext(),
|
|
14
|
+
updateToasts = _useHUIContext.updateToasts,
|
|
15
|
+
toasts = _useHUIContext.toasts,
|
|
16
|
+
updateToastLayout = _useHUIContext.updateToastLayout,
|
|
17
|
+
updateLastToastId = _useHUIContext.updateLastToastId;
|
|
18
|
+
useEffect(function () {
|
|
19
|
+
if (!layout) return;
|
|
20
|
+
updateToastLayout(function () {
|
|
21
|
+
return layout ? _extends({}, defaultToastLayout, layout) : defaultToastLayout;
|
|
22
|
+
});
|
|
23
|
+
}, []);
|
|
24
|
+
var _cancel = function cancel(internalId) {
|
|
25
|
+
updateToasts(function (currentToasts) {
|
|
26
|
+
return currentToasts.map(function (item) {
|
|
27
|
+
if (item._internalIdent !== internalId) return item;
|
|
28
|
+
return _extends({}, item, {
|
|
29
|
+
visible: false
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
updateLastToastId(function () {
|
|
34
|
+
return internalId;
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var removeAll = function removeAll() {
|
|
38
|
+
updateToasts(function (last) {
|
|
39
|
+
return last.map(function (toast) {
|
|
40
|
+
return _extends({}, toast, {
|
|
41
|
+
visible: false
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var findToastOneByID = function findToastOneByID(id) {
|
|
47
|
+
return toasts.find(function (t) {
|
|
48
|
+
return t.id === id;
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
var removeToastOneByID = function removeToastOneByID(id) {
|
|
52
|
+
updateToasts(function (last) {
|
|
53
|
+
return last.map(function (toast) {
|
|
54
|
+
if (toast.id !== id) return toast;
|
|
55
|
+
return _extends({}, toast, {
|
|
56
|
+
visible: false
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
var setToast = function setToast(toast) {
|
|
62
|
+
var internalIdent = "toast-".concat(getId());
|
|
63
|
+
var delay = toast.delay || defaultToast.delay;
|
|
64
|
+
if (toast.id) {
|
|
65
|
+
var hasIdent = toasts.find(function (t) {
|
|
66
|
+
return t.id === toast.id;
|
|
67
|
+
});
|
|
68
|
+
if (hasIdent) {
|
|
69
|
+
throw new Error('Toast: Already have the same key: "ident"');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
updateToasts(function (last) {
|
|
73
|
+
var newToast = {
|
|
74
|
+
delay: delay,
|
|
75
|
+
text: toast.text,
|
|
76
|
+
visible: true,
|
|
77
|
+
type: toast.type || defaultToast.type,
|
|
78
|
+
id: toast.id || internalIdent,
|
|
79
|
+
actions: toast.actions || [],
|
|
80
|
+
_internalIdent: internalIdent,
|
|
81
|
+
_timeout: window.setTimeout(function () {
|
|
82
|
+
_cancel(internalIdent);
|
|
83
|
+
if (newToast._timeout) {
|
|
84
|
+
window.clearTimeout(newToast._timeout);
|
|
85
|
+
newToast._timeout = null;
|
|
86
|
+
}
|
|
87
|
+
}, delay),
|
|
88
|
+
cancel: function cancel() {
|
|
89
|
+
return _cancel(internalIdent);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
return [].concat(_toConsumableArray(last), [newToast]);
|
|
93
|
+
});
|
|
94
|
+
};
|
|
95
|
+
return {
|
|
96
|
+
toasts: toasts,
|
|
97
|
+
setToast: setToast,
|
|
98
|
+
removeAll: removeAll,
|
|
99
|
+
findToastOneByID: findToastOneByID,
|
|
100
|
+
removeToastOneByID: removeToastOneByID
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export default useToasts;
|
|
@@ -5,7 +5,7 @@ import _JSXStyle from "../styled-jsx.es.js";
|
|
|
5
5
|
/* "use client" */
|
|
6
6
|
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import Link from '../
|
|
8
|
+
import Link from '../link';
|
|
9
9
|
var UserLink = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10
10
|
var href = _ref.href,
|
|
11
11
|
_ref$className = _ref.className,
|
|
@@ -5,7 +5,7 @@ import _JSXStyle from "../styled-jsx.es.js";
|
|
|
5
5
|
/* "use client" */
|
|
6
6
|
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import Avatar from '../
|
|
8
|
+
import Avatar from '../avatar';
|
|
9
9
|
import { useTheme, useClasses } from '@helpdice/theme';
|
|
10
10
|
import useScale, { withScale } from '../use-scale';
|
|
11
11
|
var UserComponent = function UserComponent(_ref) {
|
package/esm/utils/collections.js
CHANGED
|
@@ -31,7 +31,8 @@ export var pickChild = function pickChild(children, targetChild) {
|
|
|
31
31
|
export var pickChildByProps = function pickChildByProps(children, key, value) {
|
|
32
32
|
var target = [];
|
|
33
33
|
var isArray = Array.isArray(value);
|
|
34
|
-
var withoutPropChildren = React.Children.map(children, function (
|
|
34
|
+
var withoutPropChildren = React.Children.map(children, function (_item) {
|
|
35
|
+
var item = _item;
|
|
35
36
|
if (! /*#__PURE__*/React.isValidElement(item)) return null;
|
|
36
37
|
if (!item.props) return item;
|
|
37
38
|
if (isArray) {
|
package/esm/utils/use-drag.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export type DraggingEvent = {
|
|
|
4
4
|
currentX: number;
|
|
5
5
|
};
|
|
6
6
|
export type DraggingHandler = (event: DraggingEvent) => void;
|
|
7
|
-
declare const useDrag: (elementRef: RefObject<HTMLElement
|
|
7
|
+
declare const useDrag: (elementRef: RefObject<HTMLElement | null>, draggingHandler?: DraggingHandler, dragStartHandler?: DraggingHandler, dragEndHandler?: DraggingHandler) => void;
|
|
8
8
|
export default useDrag;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ToastLayout, Toast } from '@helpdice/theme';
|
|
3
|
+
export declare const defaultToastLayout: Required<ToastLayout>;
|
|
4
|
+
export type UpdateToastsFunction = (fn: (toasts: Array<Toast>) => Array<Toast>) => any;
|
|
5
|
+
export type UpdateToastsLayoutFunction = (fn: (layout: Required<ToastLayout>) => Required<ToastLayout>) => any;
|
|
6
|
+
export type UpdateToastsIDFunction = (fn: () => string | null) => any;
|
|
7
|
+
export interface HUIContextParams {
|
|
8
|
+
toasts: Array<Toast>;
|
|
9
|
+
updateToasts: UpdateToastsFunction;
|
|
10
|
+
toastLayout: Required<ToastLayout>;
|
|
11
|
+
updateToastLayout: UpdateToastsLayoutFunction;
|
|
12
|
+
lastUpdateToastId: string | null;
|
|
13
|
+
updateLastToastId: UpdateToastsIDFunction;
|
|
14
|
+
}
|
|
15
|
+
export declare const HUIContent: React.Context<HUIContextParams>;
|
|
16
|
+
export declare const useHUIContext: () => HUIContextParams;
|