@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,7 @@
|
|
|
1
|
+
import { Variants } from 'framer-motion';
|
|
2
|
+
/**
|
|
3
|
+
* ? In order to work, the parent container must have the blinkContainer variants
|
|
4
|
+
* ? and each of the children must have the blinkItem variants
|
|
5
|
+
*/
|
|
6
|
+
export declare const blinkContainer: Variants;
|
|
7
|
+
export declare const blinkItem: Variants;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Brand: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
3
|
+
variant?: null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
isIconOnly?: boolean;
|
|
9
|
+
classNames?: {
|
|
10
|
+
base?: string;
|
|
11
|
+
logo?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
};
|
|
14
|
+
}, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './brand';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Column: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './column';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Container: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './container';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './copy-button';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function Field<TSchema extends FieldValues>({ className, classNames, name, type, inputProps, textareaProps, checkboxProps, selectProps, selectItemProps, autocompleteProps, autocompleteItemProps, switchProps, radioGroupProps, options, children, }: FieldProps<TSchema>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function AutocompleteField<TSchema extends FieldValues>({ autocompleteItemProps, autocompleteProps, options, name, }: Pick<FieldProps<TSchema>, "autocompleteItemProps" | "autocompleteProps" | "options" | "name">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function CheckboxField<TSchema extends FieldValues>({ checkboxProps, name, children, }: Pick<FieldProps<TSchema>, "checkboxProps" | "name" | "children">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function InputField<TSchema extends FieldValues>({ inputProps, name, }: Pick<FieldProps<TSchema>, "inputProps" | "name">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function RadioField<TSchema extends FieldValues>({ options, radioGroupProps, name, }: Pick<FieldProps<TSchema>, "options" | "radioGroupProps" | "name">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function SelectField<TSchema extends FieldValues>({ options, selectItemProps, selectProps, name, }: Pick<FieldProps<TSchema>, "options" | "selectItemProps" | "selectProps" | "name">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function SwitchField<TSchema extends FieldValues>({ switchProps, name, children, }: Pick<FieldProps<TSchema>, "switchProps" | "name" | "children">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FieldProps } from '../../../../types';
|
|
2
|
+
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
export declare function TextareaField<TSchema extends FieldValues>({ textareaProps, name, }: Pick<FieldProps<TSchema>, "textareaProps" | "name">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FilterProps } from '../../../types';
|
|
2
|
+
export declare function Filter({ className, type, searchProps, selectProps, autocompleteProps, dateProps, numericProps, checkboxProps, checkboxGroupProps, radioProps, switchProps, rangeProps, paramKey, options, ...props }: FilterProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const filterClasses: (props?: ({
|
|
2
|
+
type?: "search" | "select" | "switch" | "checkbox" | "radio" | "date" | "autocomplete" | "numeric" | "checkboxGroup" | "range" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FilterProps } from '../../../../types';
|
|
2
|
+
export declare function AutocompleteFilter({ classNames, autocompleteProps, autocompleteItemProps, paramKey, options, }: Pick<FilterProps, "classNames" | "autocompleteProps" | "autocompleteItemProps" | "paramKey" | "options">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './search-filter';
|
|
2
|
+
export * from './select-filter';
|
|
3
|
+
export * from './autocomplete-filter';
|
|
4
|
+
export * from './date-filter';
|
|
5
|
+
export * from './numeric-filter';
|
|
6
|
+
export * from './checkbox-filter';
|
|
7
|
+
export * from './checkbox-group-filter';
|
|
8
|
+
export * from './switch-filter';
|
|
9
|
+
export * from './range-filter';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { FilterProps } from '../../../../types';
|
|
2
|
+
export declare function SelectFilter({ classNames, selectProps, selectItemProps, paramKey, options, }: Pick<FilterProps, "classNames" | "selectProps" | "selectItemProps" | "paramKey" | "options">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './brand';
|
|
2
|
+
export * from './column';
|
|
3
|
+
export * from './container';
|
|
4
|
+
export * from './row';
|
|
5
|
+
export * from './portal';
|
|
6
|
+
export * from './uploader';
|
|
7
|
+
export * from './filter';
|
|
8
|
+
export * from './field';
|
|
9
|
+
export * from './theme-switch';
|
|
10
|
+
export * from './color-picker';
|
|
11
|
+
export * from './copy-button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './portal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './row';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const Row: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './theme-switch';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function AvatarLabel(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './uploader';
|
|
2
|
+
export * from './avatar-label';
|
|
3
|
+
export * from './upload-file-label';
|
|
4
|
+
export * from './view-image-modal';
|
|
5
|
+
export * from './upload-file-listing';
|
|
6
|
+
export * from './upload-file-error-box';
|
|
7
|
+
export * from './upload-file-input';
|
|
8
|
+
export * from './uploader-title';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadFileErrorBox(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadFileInput(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadFileLabel(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function UploadFileListing(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
/**
|
|
3
|
+
* @usage
|
|
4
|
+
* ```
|
|
5
|
+
* const uploadProps = useUpload({
|
|
6
|
+
labelId: "uploaded-file",
|
|
7
|
+
fileTypes: ["image", "pdf"],
|
|
8
|
+
isRequired: true,
|
|
9
|
+
isMulti: true,
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
<Uploader {...uploadProps} />
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare const Uploader: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../../types').SharedComponentProps & import('../../../../types').UploaderContextState & {
|
|
16
|
+
className?: string;
|
|
17
|
+
hideListing?: boolean;
|
|
18
|
+
isAvatar?: boolean;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ViewImageModal(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
type ItemActionsButtonsProps = Pick<ItemCardProps, "actions" | "classNames" | "onActionClick"> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function ItemActionsButtons({ actions, classNames, onActionClick, className, }: ItemActionsButtonsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
type ItemActionsOverlayProps = Pick<ItemCardProps, "actions" | "classNames" | "onActionClick" | "orientation">;
|
|
3
|
+
export declare function ItemActionsOverlay({ actions, classNames, onActionClick, orientation, }: ItemActionsOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
export declare function ItemCardBody({ item, orientation, classNames, actions, onActionClick, actionsViewVariant, }: Pick<ItemCardProps, "item" | "orientation" | "classNames" | "actions" | "onActionClick" | "actionsViewVariant">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
export declare function ItemCardFooter({ item, orientation, classNames, actions, onActionClick, actionsViewVariant, }: Pick<ItemCardProps, "item" | "orientation" | "classNames" | "actions" | "onActionClick" | "actionsViewVariant">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
export declare function ItemCardHeader({ item, orientation, classNames, actions, onActionClick, actionsViewVariant, }: Pick<ItemCardProps, "item" | "orientation" | "classNames" | "actions" | "onActionClick" | "actionsViewVariant">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ItemCardProps } from '../../../../../types';
|
|
2
|
+
export declare function ItemCard({ variants, isLoading, className, classNames, item, actions, hoverEffect, onActionClick, orientation: defaultOrientation, actionsViewVariant, }: ItemCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const itemCardMotionClasses: (props?: ({
|
|
2
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const itemMainWrapperClasses: (props?: ({
|
|
5
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export declare const itemImageWrapperClasses: (props?: ({
|
|
8
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export declare const itemHeaderClasses: (props?: ({
|
|
11
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
12
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
+
export declare const itemBodyClasses: (props?: ({
|
|
14
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
15
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
+
export declare const itemFooterClasses: (props?: ({
|
|
17
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
18
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
|
+
export declare const itemTitleClasses: (props?: ({
|
|
20
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
21
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
22
|
+
export declare const itemPriceClasses: (props?: ({
|
|
23
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
24
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
+
export declare const itemDescriptionClasses: (props?: ({
|
|
26
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
27
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
28
|
+
export declare const itemChipsClasses: (props?: ({
|
|
29
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
30
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
31
|
+
export declare const itemBannerClasses: (props?: ({
|
|
32
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
33
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './classes';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { NavBarItemProps } from '../../../types';
|
|
3
|
+
export declare const NavBarItem: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLLIElement> & import('react').LiHTMLAttributes<HTMLLIElement> & VariantProps<(props?: ({
|
|
4
|
+
hoverEffect?: "default" | "underline" | "solid" | "ghost" | "bordered" | "none" | null | undefined;
|
|
5
|
+
variant?: "default" | "solid" | "bordered" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & NavBarItemProps, "ref"> & import('react').RefAttributes<HTMLLIElement>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const NavBar: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLElement> & import('react').HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
|
|
3
|
+
hoverEffect?: "default" | "underline" | "solid" | "ghost" | "bordered" | "none" | null | undefined;
|
|
4
|
+
variant?: "default" | "solid" | "bordered" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
6
|
+
items: import('../../../types').NavigationItem[];
|
|
7
|
+
classNames?: import('../../../types').NavBarClassnames;
|
|
8
|
+
hoverEffect?: import('../../../types').NavBarHoverEffect;
|
|
9
|
+
radius?: import('../../../types').ComponentRadius;
|
|
10
|
+
size?: import('../../../types').ComponentSize;
|
|
11
|
+
variant?: import('../../../types').NavBarVariant;
|
|
12
|
+
subItemsColumns?: number;
|
|
13
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const navBarClasses: (props?: ({
|
|
2
|
+
hoverEffect?: "default" | "underline" | "solid" | "ghost" | "bordered" | "none" | null | undefined;
|
|
3
|
+
variant?: "default" | "solid" | "bordered" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
export declare const navBarMenuClasses: (props?: ({
|
|
6
|
+
variant?: "default" | "solid" | "bordered" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export declare const navBarItemClasses: (props?: ({
|
|
9
|
+
hoverEffect?: "default" | "underline" | "solid" | "ghost" | "bordered" | "none" | null | undefined;
|
|
10
|
+
variant?: "default" | "solid" | "bordered" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NavBarItemStylesProps, NavBarMenuStylesProps, NavBarStylesProps } from '../../../../types';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
export declare const navBarStyles: ({ primaryColor, foregroundColor, variant, }: NavBarStylesProps) => CSSProperties;
|
|
4
|
+
export declare const navBarMenuStyles: ({}: NavBarMenuStylesProps) => CSSProperties;
|
|
5
|
+
export declare const navBarItemStyles: ({ foregroundColor, hoverEffect, primaryColor, isHovered, variant, }: NavBarItemStylesProps) => CSSProperties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scaffold-classes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const scaffoldClasses: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './side-bar';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export declare const SideBar: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
3
|
+
variant?: "default" | "compact" | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & import('../../../types').SharedComponentProps & {
|
|
5
|
+
classNames?: import('../../../types').SideBarClassnames;
|
|
6
|
+
variant?: import('../../../types').SideBarVariant;
|
|
7
|
+
items: import('../../../types').NavigationItem[];
|
|
8
|
+
actions?: import('../../../types').SideBarAction[];
|
|
9
|
+
triggerProps?: Omit<import('@heroui/button').ButtonProps, "content"> & {
|
|
10
|
+
content?: import('react').ReactNode;
|
|
11
|
+
};
|
|
12
|
+
isOpen?: boolean;
|
|
13
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
14
|
+
header?: import('react').ReactNode;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const sideBarClasses: (props?: ({
|
|
2
|
+
variant?: "default" | "compact" | null | undefined;
|
|
3
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
export declare const sideBarItemClasses: (props?: ({
|
|
5
|
+
variant?: "default" | "compact" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|