@js-empire/emperor-ui 1.3.9 → 1.3.11
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/emperor-ui.umd.cjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/src/animations/blink.d.ts +7 -0
- package/dist/src/animations/floating.d.ts +2 -0
- package/dist/src/animations/index.d.ts +2 -0
- package/dist/src/components/atoms/brand/brand.d.ts +14 -0
- package/dist/src/components/atoms/brand/index.d.ts +1 -0
- package/dist/src/components/atoms/brand/styles/classes.d.ts +3 -0
- package/dist/src/components/atoms/brand/styles/index.d.ts +2 -0
- package/dist/src/components/atoms/brand/styles/styles.d.ts +1 -0
- package/dist/src/components/atoms/color-picker/color-picker.d.ts +2 -0
- package/dist/src/components/atoms/color-picker/free-color-picker.d.ts +2 -0
- package/dist/src/components/atoms/color-picker/index.d.ts +3 -0
- package/dist/src/components/atoms/color-picker/preset-color-picker.d.ts +2 -0
- package/dist/src/components/atoms/column/column.d.ts +2 -0
- package/dist/src/components/atoms/column/index.d.ts +1 -0
- package/dist/src/components/atoms/container/container.d.ts +2 -0
- package/dist/src/components/atoms/container/index.d.ts +1 -0
- package/dist/src/components/atoms/copy-button/copy-button.d.ts +3 -0
- package/dist/src/components/atoms/copy-button/index.d.ts +1 -0
- package/dist/src/components/atoms/field/field.d.ts +3 -0
- package/dist/src/components/atoms/field/index.d.ts +3 -0
- package/dist/src/components/atoms/field/styles/classes.d.ts +3 -0
- package/dist/src/components/atoms/field/styles/index.d.ts +1 -0
- package/dist/src/components/atoms/field/units/autocomplete-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/checkbox-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/index.d.ts +7 -0
- package/dist/src/components/atoms/field/units/input-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/radio-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/select-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/switch-field.d.ts +3 -0
- package/dist/src/components/atoms/field/units/textarea-field.d.ts +3 -0
- package/dist/src/components/atoms/filter/filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/index.d.ts +3 -0
- package/dist/src/components/atoms/filter/styles/classes.d.ts +3 -0
- package/dist/src/components/atoms/filter/styles/index.d.ts +1 -0
- package/dist/src/components/atoms/filter/units/autocomplete-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/checkbox-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/checkbox-group-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/date-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/index.d.ts +9 -0
- package/dist/src/components/atoms/filter/units/numeric-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/range-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/search-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/select-filter.d.ts +2 -0
- package/dist/src/components/atoms/filter/units/switch-filter.d.ts +2 -0
- package/dist/src/components/atoms/index.d.ts +11 -0
- package/dist/src/components/atoms/portal/index.d.ts +1 -0
- package/dist/src/components/atoms/portal/portal.d.ts +2 -0
- package/dist/src/components/atoms/row/index.d.ts +1 -0
- package/dist/src/components/atoms/row/row.d.ts +2 -0
- package/dist/src/components/atoms/theme-switch/index.d.ts +1 -0
- package/dist/src/components/atoms/theme-switch/styles/classes.d.ts +3 -0
- package/dist/src/components/atoms/theme-switch/styles/index.d.ts +1 -0
- package/dist/src/components/atoms/theme-switch/theme-switch.d.ts +2 -0
- package/dist/src/components/atoms/uploader/components/avatar-label.d.ts +1 -0
- package/dist/src/components/atoms/uploader/components/index.d.ts +8 -0
- package/dist/src/components/atoms/uploader/components/upload-file-error-box.d.ts +1 -0
- package/dist/src/components/atoms/uploader/components/upload-file-input.d.ts +1 -0
- package/dist/src/components/atoms/uploader/components/upload-file-label.d.ts +1 -0
- package/dist/src/components/atoms/uploader/components/upload-file-listing.d.ts +1 -0
- package/dist/src/components/atoms/uploader/components/uploader-title.d.ts +2 -0
- package/dist/src/components/atoms/uploader/components/uploader.d.ts +19 -0
- package/dist/src/components/atoms/uploader/components/view-image-modal.d.ts +1 -0
- package/dist/src/components/atoms/uploader/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +4 -0
- package/dist/src/components/molecules/index.d.ts +4 -0
- package/dist/src/components/molecules/item-card/components/actions/index.d.ts +3 -0
- package/dist/src/components/molecules/item-card/components/actions/item-actions-buttons.d.ts +6 -0
- package/dist/src/components/molecules/item-card/components/actions/item-actions-dropdown.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/actions/item-actions-overlay.d.ts +4 -0
- package/dist/src/components/molecules/item-card/components/additions/index.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/additions/item-banner.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/additions/loading-item.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/card/index.d.ts +4 -0
- package/dist/src/components/molecules/item-card/components/card/item-card-body.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/card/item-card-footer.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/card/item-card-header.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/card/item-card.d.ts +2 -0
- package/dist/src/components/molecules/item-card/components/index.d.ts +3 -0
- package/dist/src/components/molecules/item-card/index.d.ts +2 -0
- package/dist/src/components/molecules/item-card/styles/classes.d.ts +33 -0
- package/dist/src/components/molecules/item-card/styles/index.d.ts +1 -0
- package/dist/src/components/molecules/nav-bar/index.d.ts +3 -0
- package/dist/src/components/molecules/nav-bar/nav-bar-item.d.ts +6 -0
- package/dist/src/components/molecules/nav-bar/nav-bar.d.ts +13 -0
- package/dist/src/components/molecules/nav-bar/styles/classes.d.ts +11 -0
- package/dist/src/components/molecules/nav-bar/styles/index.d.ts +2 -0
- package/dist/src/components/molecules/nav-bar/styles/styles.d.ts +5 -0
- package/dist/src/components/molecules/nav-bar/sub-items-box.d.ts +2 -0
- package/dist/src/components/molecules/scaffold/index.d.ts +2 -0
- package/dist/src/components/molecules/scaffold/scaffold.d.ts +3 -0
- package/dist/src/components/molecules/scaffold/styles/index.d.ts +1 -0
- package/dist/src/components/molecules/scaffold/styles/scaffold-classes.d.ts +1 -0
- package/dist/src/components/molecules/side-bar/compact-side-bar.d.ts +2 -0
- package/dist/src/components/molecules/side-bar/index.d.ts +1 -0
- package/dist/src/components/molecules/side-bar/side-bar-drawer.d.ts +2 -0
- package/dist/src/components/molecules/side-bar/side-bar.d.ts +15 -0
- package/dist/src/components/molecules/side-bar/styles/classes.d.ts +6 -0
- package/dist/src/components/molecules/side-bar/styles/index.d.ts +2 -0
- package/dist/src/components/molecules/side-bar/styles/styles.d.ts +3 -0
- package/dist/src/components/organisms/deletion-confirmor/deletion-confirmor.d.ts +2 -0
- package/dist/src/components/organisms/deletion-confirmor/index.d.ts +3 -0
- package/dist/src/components/organisms/deletion-confirmor/stories/components.d.ts +2 -0
- package/dist/src/components/organisms/deletion-confirmor/styles/classes.d.ts +4 -0
- package/dist/src/components/organisms/deletion-confirmor/styles/index.d.ts +2 -0
- package/dist/src/components/organisms/deletion-confirmor/styles/styles.d.ts +2 -0
- package/dist/src/components/organisms/footer/copy-rights-box.d.ts +2 -0
- package/dist/src/components/organisms/footer/footer.d.ts +11 -0
- package/dist/src/components/organisms/footer/index.d.ts +5 -0
- package/dist/src/components/organisms/footer/policies-box.d.ts +2 -0
- package/dist/src/components/organisms/footer/quick-links-box.d.ts +2 -0
- package/dist/src/components/organisms/footer/social-links-box.d.ts +2 -0
- package/dist/src/components/organisms/footer/styles/classes.d.ts +9 -0
- package/dist/src/components/organisms/footer/styles/index.d.ts +2 -0
- package/dist/src/components/organisms/footer/styles/styles.d.ts +2 -0
- package/dist/src/components/organisms/form-builder/form-builder.d.ts +3 -0
- package/dist/src/components/organisms/form-builder/index.d.ts +1 -0
- package/dist/src/components/organisms/header/header.d.ts +8 -0
- package/dist/src/components/organisms/header/index.d.ts +1 -0
- package/dist/src/components/organisms/header/segmented-header-content.d.ts +2 -0
- package/dist/src/components/organisms/header/styles/classes.d.ts +3 -0
- package/dist/src/components/organisms/header/styles/index.d.ts +2 -0
- package/dist/src/components/organisms/header/styles/styles.d.ts +6 -0
- package/dist/src/components/organisms/index.d.ts +6 -0
- package/dist/src/components/organisms/item-details/index.d.ts +1 -0
- package/dist/src/components/organisms/item-details/item-details.d.ts +2 -0
- package/dist/src/components/organisms/listings/empty-listings.d.ts +9 -0
- package/dist/src/components/organisms/listings/index.d.ts +3 -0
- package/dist/src/components/organisms/listings/listings.d.ts +2 -0
- package/dist/src/components/organisms/listings/styles/classes.d.ts +10 -0
- package/dist/src/components/organisms/listings/styles/index.d.ts +2 -0
- package/dist/src/components/organisms/listings/styles/styles.d.ts +2 -0
- package/dist/src/components/templates/index.d.ts +1 -0
- package/dist/src/components/templates/landing-page/index.d.ts +1 -0
- package/dist/src/components/templates/landing-page/landing-page.d.ts +10 -0
- package/dist/src/components/templates/landing-page/styles/classes.d.ts +3 -0
- package/dist/src/components/templates/landing-page/styles/index.d.ts +1 -0
- package/dist/src/constants/animations.d.ts +5 -0
- package/dist/src/constants/card.d.ts +3 -0
- package/dist/src/constants/defaults.d.ts +2 -0
- package/dist/src/constants/fake.d.ts +2 -0
- package/dist/src/constants/footer.d.ts +6 -0
- package/dist/src/constants/index.d.ts +6 -0
- package/dist/src/constants/uploader.d.ts +8 -0
- package/dist/src/context/emperor-ui-context.d.ts +2 -0
- package/dist/src/context/form-builder-context.d.ts +3 -0
- package/dist/src/context/index.d.ts +4 -0
- package/dist/src/context/navigation-context.d.ts +2 -0
- package/dist/src/context/uploader-context.d.ts +2 -0
- package/dist/src/enums/index.d.ts +2 -0
- package/dist/src/enums/placeholders.d.ts +5 -0
- package/dist/src/enums/preserved-keys.d.ts +3 -0
- package/dist/src/examples/index.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +8 -0
- package/dist/src/hooks/use-emperor-ui.d.ts +1 -0
- package/dist/src/hooks/use-filters.d.ts +4 -0
- package/dist/src/hooks/use-form-builder-context.d.ts +3 -0
- package/dist/src/hooks/use-navigation.d.ts +1 -0
- package/dist/src/hooks/use-search-params-handler.d.ts +17 -0
- package/dist/src/hooks/use-uploader-context.d.ts +1 -0
- package/dist/src/hooks/use-uploader.d.ts +2 -0
- package/dist/src/hooks/use-window-size.d.ts +7 -0
- package/dist/src/i18n/configs/i18n.d.ts +6 -0
- package/dist/src/i18n/configs/index.d.ts +1 -0
- package/dist/src/i18n/constants/index.d.ts +1 -0
- package/dist/src/i18n/constants/locales.d.ts +4 -0
- package/dist/src/i18n/index.d.ts +5 -0
- package/dist/src/i18n/locales/ar.d.ts +32 -0
- package/dist/src/i18n/locales/atoms/ar.d.ts +16 -0
- package/dist/src/i18n/locales/atoms/en.d.ts +16 -0
- package/dist/src/i18n/locales/atoms/index.d.ts +2 -0
- package/dist/src/i18n/locales/common/ar.d.ts +1 -0
- package/dist/src/i18n/locales/common/en.d.ts +1 -0
- package/dist/src/i18n/locales/common/index.d.ts +2 -0
- package/dist/src/i18n/locales/en.d.ts +32 -0
- package/dist/src/i18n/locales/index.d.ts +4 -0
- package/dist/src/i18n/locales/molecules/ar.d.ts +1 -0
- package/dist/src/i18n/locales/molecules/en.d.ts +1 -0
- package/dist/src/i18n/locales/molecules/index.d.ts +2 -0
- package/dist/src/i18n/locales/organisms/ar.d.ts +10 -0
- package/dist/src/i18n/locales/organisms/en.d.ts +10 -0
- package/dist/src/i18n/locales/organisms/index.d.ts +2 -0
- package/dist/src/i18n/locales/templates/ar.d.ts +1 -0
- package/dist/src/i18n/locales/templates/en.d.ts +1 -0
- package/dist/src/i18n/locales/templates/index.d.ts +2 -0
- package/dist/src/i18n/locales/toasts/ar.d.ts +1 -0
- package/dist/src/i18n/locales/toasts/en.d.ts +1 -0
- package/dist/src/i18n/locales/toasts/index.d.ts +2 -0
- package/dist/src/i18n/types/index.d.ts +2 -0
- package/dist/src/i18n/types/locale.d.ts +3 -0
- package/dist/src/i18n/types/toasts.d.ts +2 -0
- package/dist/src/i18n/utils/get-locales.d.ts +2 -0
- package/dist/src/i18n/utils/index.d.ts +2 -0
- package/dist/src/i18n/utils/localize.d.ts +6 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/mocks/constants.d.ts +10 -0
- package/dist/src/mocks/deletion-confirmor.d.ts +7 -0
- package/dist/src/mocks/header.d.ts +5 -0
- package/dist/src/mocks/index.d.ts +6 -0
- package/dist/src/mocks/listings.d.ts +14 -0
- package/dist/src/mocks/locales/index.d.ts +1 -0
- package/dist/src/mocks/locales/uploader.d.ts +2 -0
- package/dist/src/mocks/types.d.ts +28 -0
- package/dist/src/providers/config-provider.d.ts +2 -0
- package/dist/src/providers/emperor-ui-provider.d.ts +4 -0
- package/dist/src/providers/form-builder-provider-context.d.ts +7 -0
- package/dist/src/providers/index.d.ts +6 -0
- package/dist/src/providers/navigation-provider.d.ts +2 -0
- package/dist/src/providers/theme-provider.d.ts +5 -0
- package/dist/src/providers/uploader-provider.d.ts +2 -0
- package/dist/src/styles/hero.d.ts +2 -0
- package/dist/src/types/components/atoms/brand.d.ts +12 -0
- package/dist/src/types/components/atoms/color-picker/color-picker.d.ts +10 -0
- package/dist/src/types/components/atoms/color-picker/index.d.ts +1 -0
- package/dist/src/types/components/atoms/column.d.ts +2 -0
- package/dist/src/types/components/atoms/container.d.ts +2 -0
- package/dist/src/types/components/atoms/field/field.d.ts +36 -0
- package/dist/src/types/components/atoms/field/index.d.ts +1 -0
- package/dist/src/types/components/atoms/filter/filter.d.ts +35 -0
- package/dist/src/types/components/atoms/filter/index.d.ts +2 -0
- package/dist/src/types/components/atoms/filter/select-filter.d.ts +7 -0
- package/dist/src/types/components/atoms/index.d.ts +9 -0
- package/dist/src/types/components/atoms/portal.d.ts +5 -0
- package/dist/src/types/components/atoms/row.d.ts +2 -0
- package/dist/src/types/components/atoms/uploader.d.ts +84 -0
- package/dist/src/types/components/index.d.ts +4 -0
- package/dist/src/types/components/molecules/footer/footer.d.ts +60 -0
- package/dist/src/types/components/molecules/footer/index.d.ts +1 -0
- package/dist/src/types/components/molecules/header/header.d.ts +38 -0
- package/dist/src/types/components/molecules/header/index.d.ts +1 -0
- package/dist/src/types/components/molecules/index.d.ts +9 -0
- package/dist/src/types/components/molecules/item-card/index.d.ts +1 -0
- package/dist/src/types/components/molecules/item-card/item-card.d.ts +57 -0
- package/dist/src/types/components/molecules/item-details/index.d.ts +1 -0
- package/dist/src/types/components/molecules/item-details/item-details.d.ts +7 -0
- package/dist/src/types/components/molecules/listings/index.d.ts +1 -0
- package/dist/src/types/components/molecules/listings/listings.d.ts +22 -0
- package/dist/src/types/components/molecules/nav-bar/index.d.ts +1 -0
- package/dist/src/types/components/molecules/nav-bar/nav-bar.d.ts +45 -0
- package/dist/src/types/components/molecules/scaffold/index.d.ts +1 -0
- package/dist/src/types/components/molecules/scaffold/scaffold.d.ts +7 -0
- package/dist/src/types/components/molecules/side-bar/index.d.ts +1 -0
- package/dist/src/types/components/molecules/side-bar/side-bar.d.ts +36 -0
- package/dist/src/types/components/molecules/theme-switch/index.d.ts +1 -0
- package/dist/src/types/components/molecules/theme-switch/theme-switch.d.ts +7 -0
- package/dist/src/types/components/organisms/deletion-confirmor/deletion-confirmor.d.ts +20 -0
- package/dist/src/types/components/organisms/deletion-confirmor/index.d.ts +1 -0
- package/dist/src/types/components/organisms/filters/filters.d.ts +9 -0
- package/dist/src/types/components/organisms/filters/index.d.ts +1 -0
- package/dist/src/types/components/organisms/form-builder/context.d.ts +5 -0
- package/dist/src/types/components/organisms/form-builder/form-builder.d.ts +26 -0
- package/dist/src/types/components/organisms/form-builder/index.d.ts +2 -0
- package/dist/src/types/components/organisms/index.d.ts +3 -0
- package/dist/src/types/components/templates/index.d.ts +1 -0
- package/dist/src/types/components/templates/landing-page.d.ts +8 -0
- package/dist/src/types/context/config.d.ts +19 -0
- package/dist/src/types/context/index.d.ts +4 -0
- package/dist/src/types/context/localization.d.ts +17 -0
- package/dist/src/types/context/navigation.d.ts +15 -0
- package/dist/src/types/context/theme.d.ts +32 -0
- package/dist/src/types/index.d.ts +3 -0
- package/dist/src/types/shared/components.d.ts +10 -0
- package/dist/src/types/shared/index.d.ts +1 -0
- package/dist/src/utils/cn.d.ts +2 -0
- package/dist/src/utils/compress-images.d.ts +2 -0
- package/dist/src/utils/index.d.ts +5 -0
- package/dist/src/utils/locales.d.ts +10 -0
- package/dist/src/utils/storybook.d.ts +4 -0
- package/dist/src/utils/uploader.d.ts +40 -0
- package/package.json +7 -6
- package/dist/index.d.ts +0 -1357
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const deletionConfirmorContentClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
2
|
+
export declare const deletionConfirmorHeaderClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
3
|
+
export declare const deletionConfirmorBodyClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const deletionConfirmorFooterClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Footer: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
3
|
+
variant?: "default" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
5
|
+
classNames?: import('../../../types').FooterClassnames;
|
|
6
|
+
policies?: import('../../../types').QuickLink[];
|
|
7
|
+
quickLinks?: import('../../../types').QuickLinkCollection[];
|
|
8
|
+
socialLinks?: import('../../../types').SocialLink[];
|
|
9
|
+
copyRights?: import('../../../types').CopyRights;
|
|
10
|
+
contacts?: import('../../../types').Contacts;
|
|
11
|
+
}, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const footerClasses: (props?: ({
|
|
2
|
+
variant?: "default" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const contentClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export declare const policiesClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
export declare const socialLinksClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export declare const copyRightsClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const contactsClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export declare const quickLinksClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FormBuilderProps } from '../../../types';
|
|
2
|
+
import { ZodType } from 'zod';
|
|
3
|
+
export declare function FormBuilder<TSchema extends ZodType<any, any, any>>({ children, className, classNames, formProps, onSubmit, onSuccess, onError, onValuesChange, }: FormBuilderProps<TSchema>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './form-builder';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Header: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
3
|
+
variant?: "default" | "floating" | "light" | "segmented-floating" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
5
|
+
variant?: import('../../../types').HeaderVariant;
|
|
6
|
+
classNames?: import('../../../types').HeaderClassnames;
|
|
7
|
+
glassEffect?: import('../../../types').HeaderGlassEffect;
|
|
8
|
+
}, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './header';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { HeaderGlassEffect, HeaderStylesProps } from '../../../../types';
|
|
3
|
+
export declare const getGlassEffectStyles: ({ glassEffect, }: {
|
|
4
|
+
glassEffect: HeaderGlassEffect;
|
|
5
|
+
}) => CSSProperties;
|
|
6
|
+
export declare const headerStyles: ({ primaryColor, foregroundColor, variant, glassEffect, }: HeaderStylesProps) => CSSProperties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './item-details';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const listingsClasses: (props?: ({
|
|
2
|
+
layout?: "grid" | "list" | "carousel" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const listingsItemClasses: (props?: ({
|
|
5
|
+
layout?: "grid" | "list" | "carousel" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export declare const listingsPaginationClasses: (props?: ({
|
|
8
|
+
layout?: "grid" | "list" | "carousel" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export declare const emptyListingsClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './landing-page';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './landing-page';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
/**
|
|
3
|
+
* This component is not for general use nor it is reusable, it is intended to be used as a demo page.
|
|
4
|
+
*/
|
|
5
|
+
export declare const LandingPage: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
6
|
+
variant?: "default" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
8
|
+
classNames?: import('../../../types').LandingPageClassnames;
|
|
9
|
+
variant?: "default";
|
|
10
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const FAKE_SENTENCE = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.";
|
|
2
|
+
export declare const FAKE_PARAGRAPH = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CopyRights, Contacts, QuickLink, QuickLinkCollection, SocialLink } from '../types';
|
|
2
|
+
export declare const quickLinks: QuickLinkCollection[];
|
|
3
|
+
export declare const policies: QuickLink[];
|
|
4
|
+
export declare const copyRights: CopyRights;
|
|
5
|
+
export declare const contacts: Contacts;
|
|
6
|
+
export declare const socialLinks: SocialLink[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const ALLOWED_IMAGES_TYPES: string[];
|
|
2
|
+
export declare const ALLOWED_PDF_TYPES: string[];
|
|
3
|
+
export declare const ALLOWED_DOC_TYPES: string[];
|
|
4
|
+
export declare const ALLOWED_SHEET_TYPES: string[];
|
|
5
|
+
export declare const ONE_MEGABYTE = 1024;
|
|
6
|
+
export declare const fileTypesMapping: {
|
|
7
|
+
[key: string]: string[];
|
|
8
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Stable external URLs so the published package does not ship image assets. */
|
|
2
|
+
export declare enum Placeholders {
|
|
3
|
+
PLACEHOLDER_MALE_AVATAR = "https://api.dicebear.com/7.x/avataaars/svg?seed=male",
|
|
4
|
+
PLACEHOLDER_FEMALE_AVATAR = "https://api.dicebear.com/7.x/avataaars/svg?seed=female"
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './use-emperor-ui';
|
|
2
|
+
export * from './use-navigation';
|
|
3
|
+
export * from './use-search-params-handler';
|
|
4
|
+
export * from './use-uploader-context';
|
|
5
|
+
export * from './use-uploader';
|
|
6
|
+
export * from './use-window-size';
|
|
7
|
+
export * from './use-filters';
|
|
8
|
+
export * from './use-form-builder-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useEmperorUI(): import('..').ConfigContextState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useNavigation(): import('..').NavigationContextState;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare function useSearchParamsHandler(): {
|
|
2
|
+
getParam: (name: string) => string | null;
|
|
3
|
+
allParams: Record<string, string>;
|
|
4
|
+
setParams: ({ params, options, }: {
|
|
5
|
+
params: Record<string, string | number | boolean | undefined | null>;
|
|
6
|
+
options?: {
|
|
7
|
+
replace?: boolean;
|
|
8
|
+
};
|
|
9
|
+
}) => void;
|
|
10
|
+
deleteParam: ({ key }: {
|
|
11
|
+
key: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
deleteParams: ({ keys }: {
|
|
14
|
+
keys: string[];
|
|
15
|
+
}) => void;
|
|
16
|
+
clearParams: () => void;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useUploaderContext(): import('..').UploaderContextState;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { UseUploadFileProps, UseUploadFileReturn } from '../types';
|
|
2
|
+
export declare const useUploader: ({ labelContent, labelId, fileTypes, isRequired, isDraggable, isMulti, preventDuplicates, maxCount, maxFileSize, compressFiles, onChange, locales, }: UseUploadFileProps) => UseUploadFileReturn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './i18n';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './locales';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const ar: {
|
|
2
|
+
common: {};
|
|
3
|
+
toasts: {};
|
|
4
|
+
atoms: {
|
|
5
|
+
colorPicker: {
|
|
6
|
+
invalidColorFormat: string;
|
|
7
|
+
};
|
|
8
|
+
uploader: {
|
|
9
|
+
dropHere: string;
|
|
10
|
+
selectFile: string;
|
|
11
|
+
selectionTypes: string;
|
|
12
|
+
selectBtn: string;
|
|
13
|
+
errorUploadingFile: string;
|
|
14
|
+
maxNumImages: string;
|
|
15
|
+
errorUploadedTypes: string;
|
|
16
|
+
maxSizeExceededError: string;
|
|
17
|
+
duplicatesDenied: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
molecules: {};
|
|
21
|
+
organisms: {
|
|
22
|
+
deletionConfirmor: {
|
|
23
|
+
confirm: string;
|
|
24
|
+
decline: string;
|
|
25
|
+
};
|
|
26
|
+
listings: {
|
|
27
|
+
emptyTitle: string;
|
|
28
|
+
emptyDescription: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
templates: {};
|
|
32
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const atomsAr: {
|
|
2
|
+
colorPicker: {
|
|
3
|
+
invalidColorFormat: string;
|
|
4
|
+
};
|
|
5
|
+
uploader: {
|
|
6
|
+
dropHere: string;
|
|
7
|
+
selectFile: string;
|
|
8
|
+
selectionTypes: string;
|
|
9
|
+
selectBtn: string;
|
|
10
|
+
errorUploadingFile: string;
|
|
11
|
+
maxNumImages: string;
|
|
12
|
+
errorUploadedTypes: string;
|
|
13
|
+
maxSizeExceededError: string;
|
|
14
|
+
duplicatesDenied: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const atomsEn: {
|
|
2
|
+
colorPicker: {
|
|
3
|
+
invalidColorFormat: string;
|
|
4
|
+
};
|
|
5
|
+
uploader: {
|
|
6
|
+
dropHere: string;
|
|
7
|
+
selectFile: string;
|
|
8
|
+
selectionTypes: string;
|
|
9
|
+
selectBtn: string;
|
|
10
|
+
errorUploadingFile: string;
|
|
11
|
+
maxNumImages: string;
|
|
12
|
+
errorUploadedTypes: string;
|
|
13
|
+
maxSizeExceededError: string;
|
|
14
|
+
duplicatesDenied: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commonAr: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commonEn: {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const en: {
|
|
2
|
+
common: {};
|
|
3
|
+
toasts: {};
|
|
4
|
+
atoms: {
|
|
5
|
+
colorPicker: {
|
|
6
|
+
invalidColorFormat: string;
|
|
7
|
+
};
|
|
8
|
+
uploader: {
|
|
9
|
+
dropHere: string;
|
|
10
|
+
selectFile: string;
|
|
11
|
+
selectionTypes: string;
|
|
12
|
+
selectBtn: string;
|
|
13
|
+
errorUploadingFile: string;
|
|
14
|
+
maxNumImages: string;
|
|
15
|
+
errorUploadedTypes: string;
|
|
16
|
+
maxSizeExceededError: string;
|
|
17
|
+
duplicatesDenied: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
molecules: {};
|
|
21
|
+
organisms: {
|
|
22
|
+
deletionConfirmor: {
|
|
23
|
+
confirm: string;
|
|
24
|
+
decline: string;
|
|
25
|
+
};
|
|
26
|
+
listings: {
|
|
27
|
+
emptyTitle: string;
|
|
28
|
+
emptyDescription: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
templates: {};
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const moleculesAr: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const moleculesEn: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const templatesAr: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const templatesEn: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toastsAr: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const toastsEn: {};
|