Skip to content

Commit

Permalink
Performance optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
xizon committed Sep 4, 2024
1 parent a02bb52 commit 2e7696d
Show file tree
Hide file tree
Showing 294 changed files with 27,824 additions and 168,141 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "UIUX Lab",
"email": "[email protected]",
"name": "funda-ui",
"version": "4.2.525",
"version": "4.2.611",
"description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
"repository": {
"type": "git",
Expand Down
4,186 changes: 289 additions & 3,897 deletions packages/Accordion/dist/cjs/index.js

Large diffs are not rendered by default.

15 changes: 4 additions & 11 deletions packages/Accordion/dist/esm/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,22 @@ import React, { useState, useRef } from 'react';

import Item from './AccordionItem';

import {animateStyles} from 'funda-utils';

import animateStyles from 'funda-utils/dist/cjs/anim';


// Adapt the easing parameters of TweenMax
enum EasingList {
export enum EasingList {
linear = 'linear',
easeIn = 'ease-in',
easeOut = 'ease-out',
easeInOut = 'ease-in-out'
}


declare module 'react' {
interface ReactI18NextChildren<T> {
children?: any;
}
}

type AccordionOptionChangeFnType = (arg1: any, arg2: any) => void;
export type AccordionOptionChangeFnType = (arg1: any, arg2: any) => void;


type AccordionProps = {
export type AccordionProps = {
wrapperClassName?: string;
/** One event type, such as `click` or `mouseover` */
triggerType?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/Accordion/dist/esm/AccordionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useRef, useState } from 'react';


type AccordionItemProps = {
export type AccordionItemProps = {
heightObserver?: number;
index?: number;
/** Class of items */
Expand Down
15 changes: 4 additions & 11 deletions packages/Accordion/src/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,22 @@ import React, { useState, useRef } from 'react';

import Item from './AccordionItem';

import {animateStyles} from 'funda-utils';

import animateStyles from 'funda-utils/dist/cjs/anim';


// Adapt the easing parameters of TweenMax
enum EasingList {
export enum EasingList {
linear = 'linear',
easeIn = 'ease-in',
easeOut = 'ease-out',
easeInOut = 'ease-in-out'
}


declare module 'react' {
interface ReactI18NextChildren<T> {
children?: any;
}
}

type AccordionOptionChangeFnType = (arg1: any, arg2: any) => void;
export type AccordionOptionChangeFnType = (arg1: any, arg2: any) => void;


type AccordionProps = {
export type AccordionProps = {
wrapperClassName?: string;
/** One event type, such as `click` or `mouseover` */
triggerType?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/Accordion/src/AccordionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useRef, useState } from 'react';


type AccordionItemProps = {
export type AccordionItemProps = {
heightObserver?: number;
index?: number;
/** Class of items */
Expand Down
8 changes: 7 additions & 1 deletion packages/BackToTop/dist/cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import React from 'react';
declare type BackToTopProps = {
export declare enum EasingList {
linear = "linear",
easeIn = "ease-in",
easeOut = "ease-out",
easeInOut = "ease-in-out"
}
export declare type BackToTopProps = {
/** Speed of scrolling up. Amount of time measured in milliseconds. */
speed?: number;
/** Types of easing animation */
Expand Down
Loading

0 comments on commit 2e7696d

Please sign in to comment.