diff --git a/package.json b/package.json index c30a33a17..d30667dc7 100644 --- a/package.json +++ b/package.json @@ -4,68 +4,64 @@ "packages/*" ], "scripts": { - "lerna": "./node_modules/.bin/lerna", - "prepack": "npm run lint && npm run build && npm run test", - "unlink-all": "./node_modules/.bin/lerna exec --parallel -- npm run unlink", - "link-all": "./node_modules/.bin/lerna exec --parallel -- npm run link", - "test": "BABEL_ENV=tests ./node_modules/.bin/jest", - "lint": "./node_modules/.bin/eslint .", - "clean": "./node_modules/.bin/lerna exec --parallel -- yarn clean", - "build": "./node_modules/.bin/lerna exec -- yarn build", + "prepack": "yarn lint && yarn build && yarn test", + "test": "BABEL_ENV=tests jest", + "lint": "eslint .", + "clean": "lerna exec --parallel -- yarn clean", + "build": "lerna exec -- yarn build", "serve": "storybook dev", - "storybook-build": "storybook build", - "generate-types": "./node_modules/.bin/lerna exec -- npm run generate-types" + "storybook-build": "storybook build" }, "devDependencies": { - "@babel/eslint-plugin": "7.23.5", + "@babel/eslint-plugin": "7.24.6", "@poool/eslint-config": "3.0.1", "@poool/eslint-config-react": "3.0.1", "@poool/eslint-plugin": "3.0.0", "@rollup/plugin-alias": "5.1.0", "@rollup/plugin-babel": "6.0.4", - "@rollup/plugin-commonjs": "25.0.7", + "@rollup/plugin-commonjs": "25.0.8", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-swc": "0.3.0", "@rollup/plugin-terser": "0.4.4", "@rollup/plugin-typescript": "11.1.6", - "@storybook/addon-actions": "7.6.17", - "@storybook/addon-storysource": "7.6.17", + "@storybook/addon-actions": "7.6.19", + "@storybook/addon-storysource": "7.6.19", "@storybook/addon-styling": "1.3.7", - "@storybook/react": "7.6.17", - "@storybook/react-webpack5": "7.6.17", - "@swc/core": "1.4.2", + "@storybook/react": "7.6.19", + "@storybook/react-webpack5": "7.6.19", + "@swc/core": "1.5.24", "@swc/jest": "0.2.36", - "@testing-library/jest-dom": "6.4.2", - "@testing-library/react": "14.2.1", + "@testing-library/jest-dom": "6.4.5", + "@testing-library/react": "14.3.1", "@testing-library/user-event": "14.5.2", "@types/d3": "7.4.3", "@types/jest": "29.5.12", "@types/node": "20.14.0", - "@typescript-eslint/parser": "7.1.0", - "autoprefixer": "10.4.17", + "@typescript-eslint/parser": "7.11.0", + "autoprefixer": "10.4.19", "babel-jest": "29.7.0", - "d3": "7.8.5", + "d3": "7.9.0", "eslint": "8.57.0", "eslint-config-standard": "17.1.0", "eslint-plugin-babel": "5.3.1", "eslint-plugin-import": "2.29.1", - "eslint-plugin-n": "16.6.2", - "eslint-plugin-promise": "6.1.1", - "eslint-plugin-react": "7.33.2", + "eslint-plugin-n": "17.7.0", + "eslint-plugin-promise": "6.2.0", + "eslint-plugin-react": "7.34.2", "fs-extra": "11.2.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", - "lerna": "8.1.2", - "postcss": "8.4.35", - "react": "18.2.0", - "react-dom": "18.2.0", - "rollup": "4.12.0", - "rollup-plugin-dts": "6.1.0", - "sass": "1.71.1", - "storybook": "7.6.17", + "lerna": "8.1.3", + "postcss": "8.4.38", + "react": "18.3.1", + "react-dom": "18.3.1", + "rollup": "4.18.0", + "rollup-plugin-dts": "6.1.1", + "sass": "1.77.4", + "storybook": "7.6.19", "storybook-addon-swc": "1.2.0", - "tailwindcss": "3.4.1", - "typescript": "5.3.3" + "tailwindcss": "3.4.3", + "typescript": "5.4.5" }, "resolutions": { "inline-style-prefixer": "6.0.4" diff --git a/packages/core/lib/index.ts b/packages/core/lib/index.ts index 459634919..0498dded5 100644 --- a/packages/core/lib/index.ts +++ b/packages/core/lib/index.ts @@ -57,3 +57,8 @@ export { getFloatPrecision, formatThousand, } from './numbers'; + +export type { + ForwardedProps, + MockState, +} from './types'; diff --git a/packages/core/lib/types.ts b/packages/core/lib/types.ts new file mode 100644 index 000000000..63460397f --- /dev/null +++ b/packages/core/lib/types.ts @@ -0,0 +1,6 @@ +import type { ForwardRefExoticComponent } from 'react'; + +export declare interface ForwardedProps + extends ForwardRefExoticComponent> {} + +export declare type MockState = (state: T, action: any) => T; diff --git a/packages/react/lib/Abstract/index.tsx b/packages/react/lib/Abstract/index.tsx index 3fa744323..d75156886 100644 --- a/packages/react/lib/Abstract/index.tsx +++ b/packages/react/lib/Abstract/index.tsx @@ -1,4 +1,4 @@ -import { ComponentPropsWithoutRef, ReactNode } from 'react'; +import type { ComponentPropsWithoutRef, ReactNode } from 'react'; import { classNames } from '@junipero/core'; import { useFieldControl } from '../hooks'; @@ -8,11 +8,10 @@ export declare interface AbstractProps extends ComponentPropsWithoutRef { children?: ReactNode | JSX.Element; } -const Abstract = ( - { - className, - ...rest - }: AbstractProps): JSX.Element => { +const Abstract = ({ + className, + ...rest +}: AbstractProps): JSX.Element => { const { valid = true, dirty = false, focused = false } = useFieldControl(); return ( diff --git a/packages/react/lib/Alert/index.tsx b/packages/react/lib/Alert/index.tsx index 3156d7e7a..d0a736ad6 100644 --- a/packages/react/lib/Alert/index.tsx +++ b/packages/react/lib/Alert/index.tsx @@ -1,20 +1,19 @@ import { + type MutableRefObject, + type ReactNode, + type ComponentPropsWithRef, + type ElementType, forwardRef, useState, useImperativeHandle, useRef, - MutableRefObject, - ReactNode, - ComponentPropsWithRef, - ElementType, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import { useTimeout } from '@junipero/hooks'; import PropTypes from 'prop-types'; import { Remove } from '../icons'; import Card from '../Card'; -import { ForwardedProps } from '../utils'; export declare type AlertRef = { isJunipero: boolean; @@ -132,4 +131,5 @@ Alert.propTypes = { onDismiss: PropTypes.func, onClick: PropTypes.func, }; + export default Alert; diff --git a/packages/react/lib/Alerts/index.tsx b/packages/react/lib/Alerts/index.tsx index 91bc32281..279d2930d 100644 --- a/packages/react/lib/Alerts/index.tsx +++ b/packages/react/lib/Alerts/index.tsx @@ -1,17 +1,16 @@ import { - ComponentPropsWithRef, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames, omit } from '@junipero/core'; +import { type ForwardedProps, classNames, omit } from '@junipero/core'; import PropTypes from 'prop-types'; import { useAlerts } from '../hooks'; import Alert, { AlertObject } from '../Alert'; -import { ForwardedProps } from '../utils'; export declare type AlertsRef = { alerts: Array; @@ -19,18 +18,18 @@ export declare type AlertsRef = { innerRef: MutableRefObject; }; -declare type AlertsTypes = - 'danger' | - 'default' | - 'primary'| - 'success' | - 'warning'; +export declare type AlertsTypes = + | 'danger' + | 'default' + | 'primary' + | 'success' + | 'warning'; export declare interface AlertsProps extends ComponentPropsWithRef { animationTimeout?: number; className?: string; icons?: { - [type in AlertsTypes]?: ReactNode | JSX.Element + [type in AlertsTypes]?: ReactNode | JSX.Element; }; animateAlert?( alert: ReactNode | JSX.Element, diff --git a/packages/react/lib/AlertsControl/index.tsx b/packages/react/lib/AlertsControl/index.tsx index fa5f6a5b3..c13feb5ed 100644 --- a/packages/react/lib/AlertsControl/index.tsx +++ b/packages/react/lib/AlertsControl/index.tsx @@ -1,23 +1,18 @@ import { - ComponentProps, - ComponentPropsWithRef, - ComponentPropsWithoutRef, - ComponentRef, - ForwardedRef, - MutableRefObject, - PropsWithRef, + type ComponentPropsWithRef, + type MutableRefObject, forwardRef, useCallback, useImperativeHandle, useState, } from 'react'; +import { type ForwardedProps } from '@junipero/core'; import PropTypes from 'prop-types'; -import { AlertsContext, AlertsContextType } from '../contexts'; -import { AlertObject } from '../Alert'; -import { ForwardedProps } from '../utils'; +import { type AlertsContextType, AlertsContext } from '../contexts'; +import { type AlertObject } from '../Alert'; -export declare type AlertsControlRef ={ +export declare type AlertsControlRef = { alerts: Array; isJunipero: boolean; add(alert: AlertObject): void; @@ -72,4 +67,5 @@ AlertsControl.propTypes = { alerts: PropTypes.array, generateId: PropTypes.func, }; + export default AlertsControl; diff --git a/packages/react/lib/Badge/index.tsx b/packages/react/lib/Badge/index.tsx index 4de9b42b2..8722e45b8 100644 --- a/packages/react/lib/Badge/index.tsx +++ b/packages/react/lib/Badge/index.tsx @@ -1,17 +1,15 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type BadgeRef = { isJunipero: boolean; innerRef: MutableRefObject; @@ -49,4 +47,5 @@ Badge.displayName = 'Badge'; Badge.propTypes = { tag: PropTypes.any, //TODO fixme }; + export default Badge; diff --git a/packages/react/lib/BreadCrumb/index.tsx b/packages/react/lib/BreadCrumb/index.tsx index 09bf03b4b..aaa953771 100644 --- a/packages/react/lib/BreadCrumb/index.tsx +++ b/packages/react/lib/BreadCrumb/index.tsx @@ -1,23 +1,27 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, Children, - forwardRef, Fragment, + forwardRef, useImperativeHandle, useReducer, useRef, useMemo, - ReactNode, - MutableRefObject, - ComponentPropsWithRef, } from 'react'; -import { exists, classNames, mockState } from '@junipero/core'; +import { + type ForwardedProps, + type MockState, + exists, + classNames, + mockState, +} from '@junipero/core'; import PropTypes from 'prop-types'; import BreadCrumbItem from '../BreadCrumbItem'; -import { ForwardedProps, MockState } from '../utils'; export declare type BreadCrumbRef = { - items: Array | Array; + items: Array; isJunipero: boolean; innerRef: MutableRefObject; }; @@ -25,11 +29,16 @@ export declare type BreadCrumbRef = { export declare interface BreadCrumbProps extends ComponentPropsWithRef { children?: JSX.Element | Array; className?: string; - items?: Array | Array; + items?: Array; maxItems?: number; filterItem?(children: JSX.Element): boolean; ref?: MutableRefObject; } + +export declare interface BreadCrumbState { + opened: boolean; +} + const BreadCrumb = forwardRef(({ className, children, @@ -39,11 +48,9 @@ const BreadCrumb = forwardRef(({ ...rest }: BreadCrumbProps, ref) => { const innerRef = useRef(); - const [state, dispatch] = useReducer>( - mockState, { - opened: false, - } - ); + const [state, dispatch] = useReducer>(mockState, { + opened: false, + }); useImperativeHandle(ref, () => ({ items, @@ -108,4 +115,5 @@ BreadCrumb.propTypes = { maxItems: PropTypes.number, filterItem: PropTypes.func, }; + export default BreadCrumb; diff --git a/packages/react/lib/BreadCrumbItem/index.tsx b/packages/react/lib/BreadCrumbItem/index.tsx index e144a1fc0..0753c9b66 100644 --- a/packages/react/lib/BreadCrumbItem/index.tsx +++ b/packages/react/lib/BreadCrumbItem/index.tsx @@ -1,17 +1,15 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type BreadCrumbItemRef = { isJunipero: boolean; innerRef: MutableRefObject; @@ -58,4 +56,5 @@ BreadCrumbItem.propTypes = { tag: PropTypes.any, // TODO fixme animate: PropTypes.func, }; + export default BreadCrumbItem; diff --git a/packages/react/lib/Button/index.tsx b/packages/react/lib/Button/index.tsx index 3d9716a70..afbaf2e66 100644 --- a/packages/react/lib/Button/index.tsx +++ b/packages/react/lib/Button/index.tsx @@ -1,17 +1,15 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type ButtonRef = { isJunipero: boolean; innerRef: MutableRefObject; @@ -67,4 +65,5 @@ Button.propTypes = { onClick: PropTypes.func, tag: PropTypes.any, // TODO fixme }; + export default Button; diff --git a/packages/react/lib/Calendar/index.tsx b/packages/react/lib/Calendar/index.tsx index b7452d0b0..b6e9f7688 100644 --- a/packages/react/lib/Calendar/index.tsx +++ b/packages/react/lib/Calendar/index.tsx @@ -1,6 +1,6 @@ import { - ComponentPropsWithRef, - MutableRefObject, + type ComponentPropsWithRef, + type MutableRefObject, forwardRef, useEffect, useImperativeHandle, @@ -9,6 +9,8 @@ import { useRef, } from 'react'; import { + type ForwardedProps, + type MockState, classNames, mockState, exists, @@ -19,8 +21,8 @@ import { } from '@junipero/core'; import PropTypes from 'prop-types'; +import type { FixedArray } from '../types'; import { ArrowLeft, ArrowRight } from '../icons'; -import { FixedArray, ForwardedProps, MockState } from '../utils'; export declare type CalendarRef = { value: Date; @@ -40,6 +42,10 @@ export declare interface CalendarProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface CalendarState { + value: Date; +} + const Calendar = forwardRef(({ className, active, @@ -53,9 +59,6 @@ const Calendar = forwardRef(({ ...rest }: CalendarProps, ref) => { const innerRef = useRef(); - - type CalendarState = { value: Date } - const [state, dispatch] = useReducer>(mockState, { value: active ?? new Date(), }); @@ -265,4 +268,5 @@ Calendar.propTypes = { weekDaysNames: PropTypes.any, onSelect: PropTypes.func, }; + export default Calendar; diff --git a/packages/react/lib/Card/index.tsx b/packages/react/lib/Card/index.tsx index e725645da..c75324150 100644 --- a/packages/react/lib/Card/index.tsx +++ b/packages/react/lib/Card/index.tsx @@ -1,17 +1,15 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type CardRef = { isJunipero: boolean; innerRef: MutableRefObject; @@ -23,9 +21,12 @@ export declare interface CardProps extends ComponentPropsWithRef { tag?: string | ElementType; ref?: MutableRefObject; } -const Card = forwardRef(( - { className, tag: Tag = 'div', ...rest }: CardProps, ref -) => { + +const Card = forwardRef(({ + className, + tag: Tag = 'div', + ...rest +}: CardProps, ref) => { const innerRef = useRef(); useImperativeHandle(ref, () => ({ @@ -46,4 +47,5 @@ Card.displayName = 'Card'; Card.propTypes = { tag: PropTypes.any, // TODO fixme }; + export default Card; diff --git a/packages/react/lib/CheckboxField/index.tsx b/packages/react/lib/CheckboxField/index.tsx index 457a1ed8c..61144e8de 100644 --- a/packages/react/lib/CheckboxField/index.tsx +++ b/packages/react/lib/CheckboxField/index.tsx @@ -1,19 +1,23 @@ import { + type MutableRefObject, + type ReactNode, + type ComponentPropsWithRef, + forwardRef, useEffect, useImperativeHandle, useReducer, useRef, - forwardRef, - MutableRefObject, - ReactNode, - ComponentPropsWithRef, } from 'react'; -import { classNames, mockState } from '@junipero/core'; +import { + type ForwardedProps, + type MockState, + classNames, + mockState, +} from '@junipero/core'; import PropTypes from 'prop-types'; import { useFieldControl } from '../hooks'; import { Check } from '../icons'; -import { ForwardedProps, MockState } from '../utils'; export declare type CheckboxFieldRef = { checked: boolean; @@ -39,6 +43,13 @@ export declare interface CheckboxFieldProps extends ComponentPropsWithRef { ): boolean; ref?: MutableRefObject; } + +export declare interface CheckboxState { + checked: boolean; + valid: boolean; + dirty: boolean; +} + const CheckboxField = forwardRef(({ checked = false, valid = true, @@ -56,12 +67,6 @@ const CheckboxField = forwardRef(({ const innerRef = useRef(); const inputRef = useRef(); const { update: updateControl } = useFieldControl(); - - type CheckboxState = { - checked: boolean, - valid: boolean, - dirty: boolean - }; const [state, dispatch] = useReducer>(mockState, { checked: checked ?? false, valid: valid ?? true, @@ -160,4 +165,5 @@ CheckboxField.propTypes = { onValidate: PropTypes.func, valid: PropTypes.bool, }; + export default CheckboxField; diff --git a/packages/react/lib/CodeField/index.tsx b/packages/react/lib/CodeField/index.tsx index d8fdc6c04..ad19f8c2a 100644 --- a/packages/react/lib/CodeField/index.tsx +++ b/packages/react/lib/CodeField/index.tsx @@ -1,21 +1,23 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ClipboardEvent, forwardRef, useReducer, useEffect, useMemo, useRef, useImperativeHandle, - MutableRefObject, - ComponentPropsWithRef, - DragEvent, - SyntheticEvent, - ClipboardEvent, } from 'react'; -import { classNames, mockState } from '@junipero/core'; +import { + type ForwardedProps, + type MockState, + classNames, + mockState, +} from '@junipero/core'; import PropTypes from 'prop-types'; import { useFieldControl } from '../hooks'; -import { ForwardedProps, MockState } from '../utils'; export declare type CodeFieldRef = { dirty: boolean; @@ -50,6 +52,13 @@ export declare interface CodeFieldProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface CodeFieldState { + values: Array; + valid: boolean; + dirty: boolean; + active: number; +} + const CodeField = forwardRef(({ className, id, @@ -71,12 +80,6 @@ const CodeField = forwardRef(({ const inputsRef = useRef([]); const inputRef = useRef(); const { update: updateControl } = useFieldControl(); - type CodeFieldState = { - valid: boolean, - values: Array, - dirty: boolean, - active: number, - } const [state, dispatch] = useReducer>(mockState, { valid: valid ?? false, values: value?.split('').slice(0, size) || [], @@ -220,7 +223,9 @@ const CodeField = forwardRef(({ const isEmpty = () => state.values?.length > 0; - const inputs = useMemo(() => Array.from({ length: size }), [size]); + const inputs = useMemo(() => ( + Array.from({ length: size }) + ), [size]); return (
{ ref?: MutableRefObject; } +export declare interface ColorFieldState { + value: string; + a: number; + h: number; + s: number; + v: number; + valid: boolean; + dirty: boolean; + opened: boolean; + handleMoving: boolean; + handleType: string | null; + focused: boolean; +} + const ColorField = forwardRef(({ animateMenu, className, @@ -104,20 +118,6 @@ const ColorField = forwardRef(({ onValidate = (val, { required }) => !!val || !required, ...rest }: ColorFieldProps, ref) => { - type ColorFieldState = { - value: string, - a: number, - h: number, - s: number, - v: number, - valid: boolean, - dirty: boolean, - opened: boolean, - handleMoving: boolean, - handleType: string | null, - focused: boolean - } - const innerRef = useRef(); const textFieldRef = useRef(); const colorLightnessRef = useRef(); @@ -542,4 +542,5 @@ ColorField.propTypes = { id: PropTypes.string, name: PropTypes.string, }; + export default ColorField; diff --git a/packages/react/lib/DateField/index.tsx b/packages/react/lib/DateField/index.tsx index 64c11c194..c58b27cf7 100644 --- a/packages/react/lib/DateField/index.tsx +++ b/packages/react/lib/DateField/index.tsx @@ -1,17 +1,19 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ReactNode, + type ChangeEvent, + type FocusEvent, + type MouseEvent, forwardRef, useImperativeHandle, useReducer, useRef, useEffect, - MutableRefObject, - ComponentPropsWithRef, - ReactNode, - ChangeEvent, - FocusEvent, - MouseEvent, } from 'react'; import { + type ForwardedProps, + type MockState, classNames, mockState, exists, @@ -24,7 +26,7 @@ import Dropdown, { DropdownRef } from '../Dropdown'; import DropdownToggle from '../DropdownToggle'; import DropdownMenu from '../DropdownMenu'; import Calendar from '../Calendar'; -import { FixedArray, ForwardedProps, MockState } from '../utils'; +import { FixedArray } from '../types'; export declare type DateFieldRef = { dirty: boolean; @@ -84,6 +86,18 @@ export declare interface DateFieldProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface DateFieldState { + value?: Date; + selected: Date; + displayed: Date; + valid: boolean; + dirty: boolean; + opened: boolean; + focused: boolean; + time: string; + timeDirty: boolean; +} + const DateField = forwardRef(({ animateMenu, className, @@ -125,18 +139,6 @@ const DateField = forwardRef(({ const timeInputRef = useRef(); const inputRef = useRef(); const { update: updateControl } = useFieldControl(); - - type DateFieldState = { - value?: Date, - selected: Date, - displayed: Date, - valid: boolean, - dirty: boolean, - opened: boolean, - focused: boolean, - time: string, - timeDirty: boolean, - }; const [state, dispatch] = useReducer>(mockState, { value: value ?? null, selected: value ?? new Date(), diff --git a/packages/react/lib/Draggable/index.tsx b/packages/react/lib/Draggable/index.tsx index 996c4cef5..eb583804d 100644 --- a/packages/react/lib/Draggable/index.tsx +++ b/packages/react/lib/Draggable/index.tsx @@ -1,17 +1,15 @@ import { + type ComponentPropsWithRef, + type DragEvent, Children, cloneElement, forwardRef, useState, - DragEvent, - ComponentPropsWithRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import { useTimeout } from '@junipero/hooks'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare interface DraggableProps extends ComponentPropsWithRef { children?: JSX.Element; className?: string; @@ -26,8 +24,7 @@ export declare interface DraggableProps extends ComponentPropsWithRef { } const Draggable = forwardRef((props: DraggableProps, ref) => { - - // the Proptypes eslint error force me to destructuring the props here + // the Proptypes eslint error forces me to destructure the props here const { className, children, @@ -130,4 +127,5 @@ Draggable.propTypes = { onDragStart: PropTypes.func, onDragEnd: PropTypes.func, }; + export default Draggable; diff --git a/packages/react/lib/Dropdown/index.tsx b/packages/react/lib/Dropdown/index.tsx index 42ae9b4e4..45c367b82 100644 --- a/packages/react/lib/Dropdown/index.tsx +++ b/packages/react/lib/Dropdown/index.tsx @@ -1,15 +1,25 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, forwardRef, useCallback, useImperativeHandle, useRef, useReducer, useEffect, - MutableRefObject, - ComponentPropsWithRef, } from 'react'; -import { classNames, mockState } from '@junipero/core'; import { + type ForwardedProps, + type MockState, + classNames, + mockState, +} from '@junipero/core'; +import { + type UseClickProps, + type UseDismissProps, + type UseHoverProps, + type Placement, + type OpenChangeReason, offset, autoUpdate, flip, @@ -20,16 +30,10 @@ import { useDismiss, useClick, useHover, - UseClickProps, - UseDismissProps, - UseHoverProps, - Placement, - OpenChangeReason, } from '@floating-ui/react'; import PropTypes from 'prop-types'; -import { DropdownContext, DropdownContextType } from '../contexts'; -import { ForwardedProps, MockState } from '../utils'; +import { DropdownContext, type DropdownContextType } from '../contexts'; export declare type DropdownRef = { isJunipero: boolean; @@ -54,6 +58,12 @@ export declare interface DropdownProps extends ComponentPropsWithRef { onToggle?(props: { opened: boolean }): void; ref?: MutableRefObject; } + +export declare interface DropdownState { + opened: boolean; + visible: boolean; +} + const Dropdown = forwardRef(({ className, container, @@ -69,12 +79,6 @@ const Dropdown = forwardRef(({ ...rest }: DropdownProps, ref) => { const innerRef = useRef(); - - type DropdownState = { - opened: boolean, - visible: boolean - }; - const [state, dispatch] = useReducer>(mockState, { opened: opened ?? false, visible: opened ?? false, diff --git a/packages/react/lib/DropdownGroup/index.tsx b/packages/react/lib/DropdownGroup/index.tsx index 18fc4831d..9fffaf8ff 100644 --- a/packages/react/lib/DropdownGroup/index.tsx +++ b/packages/react/lib/DropdownGroup/index.tsx @@ -1,6 +1,6 @@ +import type { ComponentPropsWithoutRef, ReactNode } from 'react'; import { classNames } from '@junipero/core'; -import * as PropTypes from 'prop-types'; -import { ComponentPropsWithoutRef, ReactNode } from 'react'; +import PropTypes from 'prop-types'; export declare interface DropdownGroupProps extends ComponentPropsWithoutRef { @@ -9,9 +9,11 @@ export declare interface DropdownGroupProps title?: ReactNode | JSX.Element; } -const DropdownGroup = ( - { children, title, className }: DropdownGroupProps -): JSX.Element => ( +const DropdownGroup = ({ + children, + title, + className, +}: DropdownGroupProps): JSX.Element => (
{ title }
diff --git a/packages/react/lib/DropdownItem/index.tsx b/packages/react/lib/DropdownItem/index.tsx index 882b786e6..7887acac1 100644 --- a/packages/react/lib/DropdownItem/index.tsx +++ b/packages/react/lib/DropdownItem/index.tsx @@ -1,5 +1,5 @@ +import type { ComponentPropsWithoutRef, ReactNode } from 'react'; import { classNames } from '@junipero/core'; -import { ComponentPropsWithoutRef, ReactNode } from 'react'; export declare interface DropdownItemProps extends ComponentPropsWithoutRef { @@ -7,9 +7,10 @@ export declare interface DropdownItemProps className?: string; } -const DropdownItem = ( - { className, ...rest }: DropdownItemProps -):JSX.Element => ( +const DropdownItem = ({ + className, + ...rest +}: DropdownItemProps): JSX.Element => (
  • ); diff --git a/packages/react/lib/DropdownMenu/index.tsx b/packages/react/lib/DropdownMenu/index.tsx index 66007be02..6fe6784e5 100644 --- a/packages/react/lib/DropdownMenu/index.tsx +++ b/packages/react/lib/DropdownMenu/index.tsx @@ -1,10 +1,10 @@ import { + type ComponentPropsWithRef, + type MutableRefObject, + type ReactNode, forwardRef, useRef, useImperativeHandle, - ComponentPropsWithRef, - MutableRefObject, - ReactNode, } from 'react'; import { classNames, ensureNode } from '@junipero/core'; import { createPortal } from 'react-dom'; diff --git a/packages/react/lib/DropdownToggle/index.tsx b/packages/react/lib/DropdownToggle/index.tsx index 6df7bc4c1..ce53aeda8 100644 --- a/packages/react/lib/DropdownToggle/index.tsx +++ b/packages/react/lib/DropdownToggle/index.tsx @@ -1,17 +1,16 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, Children, forwardRef, cloneElement, useImperativeHandle, useRef, - MutableRefObject, - ComponentPropsWithRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; +import type { DropdownRef } from '../Dropdown'; import { useDropdown } from '../hooks'; -import { ForwardedProps } from '../utils'; -import { DropdownRef } from '../Dropdown'; export declare type DropdownToggleRef = { isJunipero: boolean; diff --git a/packages/react/lib/Droppable/index.tsx b/packages/react/lib/Droppable/index.tsx index c4cbdbdc1..340bff666 100644 --- a/packages/react/lib/Droppable/index.tsx +++ b/packages/react/lib/Droppable/index.tsx @@ -1,19 +1,17 @@ import { + type ComponentPropsWithRef, + type DragEvent, Children, cloneElement, forwardRef, useState, useEffect, - ComponentPropsWithoutRef, - ComponentPropsWithRef, - DragEvent, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type DraggingPositionType = 'before' | 'after'; + export declare interface DroppableProps extends ComponentPropsWithRef { className?: string; children?: JSX.Element; diff --git a/packages/react/lib/FieldAddon/index.tsx b/packages/react/lib/FieldAddon/index.tsx index b49b595a1..83c3cf15d 100644 --- a/packages/react/lib/FieldAddon/index.tsx +++ b/packages/react/lib/FieldAddon/index.tsx @@ -1,17 +1,16 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; import { useFieldControl } from '../hooks'; -import { ForwardedProps } from '../utils'; export declare type FieldAddonRef = { isJunipero: boolean; @@ -32,6 +31,7 @@ const FieldAddon = forwardRef(({ }: FieldAddonProps, ref) => { const innerRef = useRef(); const { focused } = useFieldControl(); + useImperativeHandle(ref, () => ({ innerRef, isJunipero: true, diff --git a/packages/react/lib/FieldControl/index.tsx b/packages/react/lib/FieldControl/index.tsx index 768920e6f..e226d6e3c 100644 --- a/packages/react/lib/FieldControl/index.tsx +++ b/packages/react/lib/FieldControl/index.tsx @@ -1,23 +1,22 @@ import { ComponentPropsWithRef, useCallback, useReducer } from 'react'; -import { mockState } from '@junipero/core'; +import { type MockState, mockState } from '@junipero/core'; import { FieldControlContext, FieldContextType } from '../contexts'; -import { MockState } from '../utils'; -const FieldControl = (props: ComponentPropsWithRef): JSX.Element => { +export declare interface FieldControlState { + valid: boolean; + dirty: boolean; + focused: boolean; +} - type FieldControlState = { - valid: boolean, - dirty: boolean, - focused: boolean, - } - const [state, dispatch] = useReducer>( - mockState, { - valid: true, - dirty: false, - focused: false, - } - ); +const FieldControl = (props: ComponentPropsWithRef): JSX.Element => { + const [state, dispatch] = useReducer< + MockState + >(mockState, { + valid: true, + dirty: false, + focused: false, + }); const getContext = useCallback<() => FieldContextType>(() => ({ valid: state.valid, diff --git a/packages/react/lib/FieldGroup/index.tsx b/packages/react/lib/FieldGroup/index.tsx index c6062ec69..98479eb55 100644 --- a/packages/react/lib/FieldGroup/index.tsx +++ b/packages/react/lib/FieldGroup/index.tsx @@ -1,17 +1,15 @@ import { - ComponentPropsWithRef, - ElementType, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type FieldGroupRef = { isJunipero: boolean; innerRef: MutableRefObject; diff --git a/packages/react/lib/Label/index.tsx b/packages/react/lib/Label/index.tsx index 91a34c896..df373ae7e 100644 --- a/packages/react/lib/Label/index.tsx +++ b/packages/react/lib/Label/index.tsx @@ -1,5 +1,5 @@ +import type { ComponentPropsWithoutRef } from 'react'; import { classNames } from '@junipero/core'; -import { ComponentPropsWithoutRef } from 'react'; import { useFieldControl } from '../hooks'; diff --git a/packages/react/lib/List/index.tsx b/packages/react/lib/List/index.tsx index 04cec9312..f2ad78ae1 100644 --- a/packages/react/lib/List/index.tsx +++ b/packages/react/lib/List/index.tsx @@ -1,20 +1,24 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, forwardRef, useImperativeHandle, useRef, useReducer, useCallback, useMemo, - MutableRefObject, - ComponentPropsWithRef, } from 'react'; -import { mockState, classNames } from '@junipero/core'; +import { + type ForwardedProps, + type MockState, + mockState, + classNames, +} from '@junipero/core'; import PropTypes from 'prop-types'; -import { ListContext, ListContextType } from '../contexts'; +import type { ListColumnObject } from '../ListColumn'; +import { ListContext, type ListContextType } from '../contexts'; import { ArrowDown, ArrowUp } from '../icons'; -import { ListColumnObject } from '../ListColumn'; -import { ForwardedProps, MockState } from '../utils'; export declare type ListRef = { orderable: boolean; @@ -31,6 +35,12 @@ export declare interface ListProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface ListState { + columns: Array; + active?: string | number; + asc?: boolean; +} + const List = forwardRef(({ className, children, @@ -41,13 +51,6 @@ const List = forwardRef(({ const listRef = useRef([]); const innerRef = useRef(); const orderable = useMemo(() => !!onOrder, [onOrder]); - - type ListState = { - columns: Array, - active?: string | number, - asc?: boolean, - }; - const [state, dispatch] = useReducer>(mockState, { columns, active: null, diff --git a/packages/react/lib/ListCell/index.tsx b/packages/react/lib/ListCell/index.tsx index d863d27cc..85275149c 100644 --- a/packages/react/lib/ListCell/index.tsx +++ b/packages/react/lib/ListCell/index.tsx @@ -5,8 +5,7 @@ import { useImperativeHandle, useRef, } from 'react'; - -import { ForwardedProps } from '../utils'; +import { type ForwardedProps } from '@junipero/core'; export declare type ListCellRef = { isJunipero: boolean; @@ -17,9 +16,7 @@ export declare interface ListCellProps extends ComponentPropsWithRef { ref?: MutableRefObject; } -const ListCell = forwardRef(({ - ...rest -}: ListCellProps, ref) => { +const ListCell = forwardRef((props: ListCellProps, ref) => { const innerRef = useRef(); useImperativeHandle(ref, () => ({ @@ -28,7 +25,7 @@ const ListCell = forwardRef(({ })); return ( - + ); }) as ForwardedProps; diff --git a/packages/react/lib/ListColumn/index.tsx b/packages/react/lib/ListColumn/index.tsx index 17e5645ba..0da49c519 100644 --- a/packages/react/lib/ListColumn/index.tsx +++ b/packages/react/lib/ListColumn/index.tsx @@ -1,15 +1,15 @@ import { + type ReactNode, + type ComponentPropsWithRef, + type MutableRefObject, forwardRef, useLayoutEffect, useImperativeHandle, - ReactNode, - ComponentPropsWithRef, - MutableRefObject, } from 'react'; +import { type ForwardedProps } from '@junipero/core'; import PropTypes from 'prop-types'; import { useList } from '../hooks'; -import { ForwardedProps } from '../utils'; export declare interface ListColumnObject { id?: string | number; @@ -26,6 +26,7 @@ export declare interface ListColumnProps extends ComponentPropsWithRef { children?: ReactNode | JSX.Element; ref?: MutableRefObject; } + const ListColumn = forwardRef(({ id, children, diff --git a/packages/react/lib/ListItem/index.tsx b/packages/react/lib/ListItem/index.tsx index 6f70298d4..c81b8b1bf 100644 --- a/packages/react/lib/ListItem/index.tsx +++ b/packages/react/lib/ListItem/index.tsx @@ -6,10 +6,9 @@ import { useImperativeHandle, useRef, } from 'react'; +import { type ForwardedProps } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type ListItemRef = { isJunipero: boolean; innerRef: MutableRefObject; diff --git a/packages/react/lib/Logo/index.tsx b/packages/react/lib/Logo/index.tsx index 4a4244e26..38780c349 100644 --- a/packages/react/lib/Logo/index.tsx +++ b/packages/react/lib/Logo/index.tsx @@ -1,6 +1,6 @@ /* eslint-disable max-len */ -import { ComponentPropsWithoutRef } from 'react'; +import type { ComponentPropsWithoutRef } from 'react'; export const PooolLogo = (props: ComponentPropsWithoutRef<'svg'>): JSX.Element => ( diff --git a/packages/react/lib/Modal/index.tsx b/packages/react/lib/Modal/index.tsx index 647a2ca40..0311b8cd9 100644 --- a/packages/react/lib/Modal/index.tsx +++ b/packages/react/lib/Modal/index.tsx @@ -1,8 +1,8 @@ import { - ComponentPropsWithRef, - MouseEvent, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type MouseEvent, + type MutableRefObject, + type ReactNode, forwardRef, useEffect, useImperativeHandle, @@ -10,12 +10,17 @@ import { useRef, } from 'react'; import { createPortal } from 'react-dom'; +import { + type ForwardedProps, + type MockState, + classNames, + mockState, + ensureNode, +} from '@junipero/core'; import PropTypes from 'prop-types'; -import { classNames, mockState, ensureNode } from '@junipero/core'; -import { Remove } from '../icons'; -import { ForwardedProps, MockState } from '../utils'; import { useModal } from '../hooks'; +import { Remove } from '../icons'; export declare type ModalRef = { isJunipero: boolean; @@ -45,6 +50,11 @@ export declare interface ModalProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface ModalState { + opened: boolean; + visible: boolean; +} + const Modal = forwardRef(({ animate, children, @@ -61,12 +71,7 @@ const Modal = forwardRef(({ const contentRef = useRef(); const wrapperRef = useRef(); const closeButtonRef = useRef(); - type ModalState = { - opened: boolean; - visible: boolean; - } const { setRef: setControlRef } = useModal(); - const [state, dispatch] = useReducer>(mockState, { opened: opened ?? false, visible: opened ?? false, diff --git a/packages/react/lib/ModalControl/index.tsx b/packages/react/lib/ModalControl/index.tsx index ffdcf732d..6fce0f528 100644 --- a/packages/react/lib/ModalControl/index.tsx +++ b/packages/react/lib/ModalControl/index.tsx @@ -1,15 +1,15 @@ import { + type ReactNode, + type MutableRefObject, + type ComponentPropsWithoutRef, forwardRef, useCallback, useImperativeHandle, useRef, - ReactNode, - MutableRefObject, - ComponentPropsWithoutRef, } from 'react'; +import type { ModalRef } from '../Modal'; import { ModalContext } from '../contexts'; -import { ModalRef } from '../Modal'; export declare type ModalControlRef = { isJunipero: boolean; diff --git a/packages/react/lib/RadioField/index.tsx b/packages/react/lib/RadioField/index.tsx index c436396e1..aaa4ead1f 100644 --- a/packages/react/lib/RadioField/index.tsx +++ b/packages/react/lib/RadioField/index.tsx @@ -1,18 +1,22 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type KeyboardEvent, forwardRef, useReducer, useRef, useImperativeHandle, useEffect, - MutableRefObject, - ComponentPropsWithRef, - KeyboardEvent, } from 'react'; +import { + type ForwardedProps, + type MockState, + classNames, + mockState, +} from '@junipero/core'; import PropTypes from 'prop-types'; -import { classNames, mockState } from '@junipero/core'; import { useFieldControl } from '../hooks'; -import { ForwardedProps, MockState } from '../utils'; export declare type RadioFieldRef = { dirty: boolean; @@ -42,6 +46,13 @@ export declare interface RadioFieldProps extends ComponentPropsWithRef { parseValue?(option: any): any; ref?: MutableRefObject; } + +export declare interface RadioFieldState { + dirty: boolean; + value: any; + valid: boolean; +} + const RadioField = forwardRef(({ disabled = false, required = false, @@ -62,12 +73,6 @@ const RadioField = forwardRef(({ const optionRefs = useRef([]); const innerRef = useRef(); const { update: updateControl } = useFieldControl(); - - type RadioFieldState = { - dirty: boolean; - value: any; - valid: boolean; - } const [state, dispatch] = useReducer>(mockState, { dirty: false, value, @@ -75,9 +80,7 @@ const RadioField = forwardRef(({ }); useEffect(() => { - if ( - value !== state.value - ) { + if (value !== state.value) { const valid = onValidate(value, { dirty: state.dirty, required }); dispatch({ value: options?.find(o => parseValue(o) === parseValue(value)), @@ -100,9 +103,8 @@ const RadioField = forwardRef(({ valid: state.valid, })); - const isChecked = ( - option: any - ) => parseValue(option) === parseValue(state.value); + const isChecked = (option: any) => + parseValue(option) === parseValue(state.value); const onChange_ = (option: any) => { if (disabled || option.disabled) { diff --git a/packages/react/lib/SelectField/index.tsx b/packages/react/lib/SelectField/index.tsx index c7fca7d5f..c23a5f7cd 100644 --- a/packages/react/lib/SelectField/index.tsx +++ b/packages/react/lib/SelectField/index.tsx @@ -1,4 +1,7 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ReactNode, forwardRef, useReducer, useEffect, @@ -6,11 +9,10 @@ import { useLayoutEffect, useImperativeHandle, useMemo, - MutableRefObject, - ComponentPropsWithRef, - ReactNode, } from 'react'; import { + type ForwardedProps, + type MockState, classNames, mockState, exists, @@ -22,14 +24,13 @@ import PropTypes from 'prop-types'; import { useFieldControl } from '../hooks'; import { Arrows, Remove } from '../icons'; -import Dropdown from '../Dropdown'; +import Dropdown, { type DropdownRef } from '../Dropdown'; import DropdownToggle from '../DropdownToggle'; import DropdownMenu from '../DropdownMenu'; import DropdownGroup from '../DropdownGroup'; import DropdownItem from '../DropdownItem'; import Tag from '../Tag'; import Spinner from '../Spinner'; -import { ForwardedProps, MockState } from '../utils'; export declare type SelectFieldRef = { dirty: boolean; @@ -88,6 +89,20 @@ export declare interface SelectFieldProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface SelectFieldState { + value: any; + valid: boolean; + dirty: boolean; + opened: boolean; + focused: boolean; + search: string; + searching: boolean; + searchResults: Array; + selectedItem: number; + placeholderSize: number; + refocus?: boolean; +} + const SelectField = forwardRef(({ toggleClick, keyboardHandler = false, @@ -123,24 +138,9 @@ const SelectField = forwardRef(({ onSearch, ...rest }: SelectFieldProps, ref) => { - const dropdownRef = useRef(); - const searchInputRef = useRef(); + const dropdownRef = useRef(); + const searchInputRef = useRef(); const { update: updateControl } = useFieldControl(); - - type SelectFieldState = { - value: any; - valid: boolean; - dirty: boolean; - opened: boolean; - focused: boolean; - search: string; - searching: boolean; - searchResults: Array; - selectedItem: number; - placeholderSize: number; - refocus?: boolean; - } - const [state, dispatch] = useReducer>(mockState, { value: value ?? (multiple ? [] : null), valid: valid ?? false, diff --git a/packages/react/lib/Slider/index.tsx b/packages/react/lib/Slider/index.tsx index e5bf142b1..1c2c0c361 100644 --- a/packages/react/lib/Slider/index.tsx +++ b/packages/react/lib/Slider/index.tsx @@ -1,9 +1,9 @@ import { - ComponentPropsWithRef, - KeyboardEvent, - MouseEvent, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type KeyboardEvent, + type MouseEvent, + type MutableRefObject, + type ReactNode, forwardRef, useEffect, useImperativeHandle, @@ -11,6 +11,8 @@ import { useRef, } from 'react'; import { + type ForwardedProps, + type MockState, classNames, mockState, getFloatPrecision, @@ -19,8 +21,7 @@ import { import { useEventListener } from '@junipero/hooks'; import PropTypes from 'prop-types'; -import Tooltip from '../Tooltip'; -import { ForwardedProps, MockState } from '../utils'; +import Tooltip, { type TooltipRef } from '../Tooltip'; export declare type SliderRef = { isJunipero: boolean; @@ -28,11 +29,11 @@ export declare type SliderRef = { precision: number; value: number; reset: () => void; - fillRef: MutableRefObject; - handleRef: MutableRefObject; - innerRef: MutableRefObject; - slideRef: MutableRefObject; - tooltipRef: MutableRefObject; + fillRef: MutableRefObject; + handleRef: MutableRefObject; + innerRef: MutableRefObject; + slideRef: MutableRefObject; + tooltipRef: MutableRefObject; }; export declare interface SliderProps extends ComponentPropsWithRef { @@ -55,6 +56,12 @@ export declare interface SliderProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface SliderState { + value: number; + precision: number; + moving: boolean; +} + const Slider = forwardRef(({ className, value = 0, @@ -72,17 +79,11 @@ const Slider = forwardRef(({ parseTitle = v => v, ...rest }: SliderProps, ref) => { - const innerRef = useRef(); - const fillRef = useRef(); - const handleRef = useRef(); - const slideRef = useRef(); - const tooltipRef = useRef(); - type SliderState = { - value: number; - precision: number; - moving: boolean; - }; - + const innerRef = useRef(); + const fillRef = useRef(); + const handleRef = useRef(); + const slideRef = useRef(); + const tooltipRef = useRef(); const [state, dispatch] = useReducer>(mockState, { value: parseFloat( ensureMinMax(Math.round(value / step) * step, minValue, maxValue diff --git a/packages/react/lib/Spinner/index.tsx b/packages/react/lib/Spinner/index.tsx index 195cbadc4..d39a03b73 100644 --- a/packages/react/lib/Spinner/index.tsx +++ b/packages/react/lib/Spinner/index.tsx @@ -1,5 +1,5 @@ +import type { ComponentPropsWithoutRef } from 'react'; import { classNames } from '@junipero/core'; -import { ComponentPropsWithoutRef } from 'react'; export declare interface SpinnerProps extends ComponentPropsWithoutRef { className?: string; diff --git a/packages/react/lib/Step/index.tsx b/packages/react/lib/Step/index.tsx index 6aa15e066..d69acd664 100644 --- a/packages/react/lib/Step/index.tsx +++ b/packages/react/lib/Step/index.tsx @@ -1,15 +1,15 @@ import { - ComponentPropsWithRef, - MutableRefObject, - ReactNode, - forwardRef, useImperativeHandle, + type ComponentPropsWithRef, + type MutableRefObject, + type ReactNode, + forwardRef, + useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; import { Check } from '../icons'; -import { ForwardedProps } from '../utils'; export declare interface StepObject { title: ReactNode | JSX.Element; @@ -19,7 +19,7 @@ export declare interface StepObject { export declare type StepRef = { isJunipero: boolean; - innerRef: MutableRefObject; + innerRef: MutableRefObject; }; export declare interface StepProps extends ComponentPropsWithRef { @@ -27,29 +27,35 @@ export declare interface StepProps extends ComponentPropsWithRef { icon?: ReactNode | JSX.Element; ref?: MutableRefObject; } -const Step = forwardRef( - ({ title, icon, children, status, ...rest }: StepProps, ref) => { - const innerRef = useRef(); - - useImperativeHandle(ref, () => ({ - isJunipero: true, - innerRef, - })); - - return ( -
    -
    -
    - { status === 'completed' && (icon || ) } -
    -
    - { title } - { children } -
    + +const Step = forwardRef(({ + title, + icon, + children, + status, + ...rest +}: StepProps, ref) => { + const innerRef = useRef(); + + useImperativeHandle(ref, () => ({ + isJunipero: true, + innerRef, + })); + + return ( +
    +
    +
    + { status === 'completed' && (icon || ) } +
    +
    + { title } + { children }
    - ); - }) as ForwardedProps; +
    + ); +}) as ForwardedProps; Step.displayName = 'Step'; Step.propTypes = { diff --git a/packages/react/lib/Stepper/index.tsx b/packages/react/lib/Stepper/index.tsx index 79cbbd563..011de8f85 100644 --- a/packages/react/lib/Stepper/index.tsx +++ b/packages/react/lib/Stepper/index.tsx @@ -1,23 +1,23 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ReactNode, cloneElement, forwardRef, useMemo, useImperativeHandle, useRef, - MutableRefObject, - ComponentPropsWithRef, - ReactNode, } from 'react'; +import { type ForwardedProps } from '@junipero/core'; import PropTypes from 'prop-types'; -import Step, { StepObject } from '../Step'; -import { ForwardedProps } from '../utils'; +import Step, { type StepObject } from '../Step'; export declare type StepperRef = { active: number; steps: Array; isJunipero: boolean; - innerRef: MutableRefObject; + innerRef: MutableRefObject; }; export declare interface StepperProps extends ComponentPropsWithRef { @@ -34,8 +34,7 @@ const Stepper = forwardRef(({ icon, ...rest }: StepperProps, ref) => { - - const innerRef = useRef(); + const innerRef = useRef(); useImperativeHandle(ref, () => ({ steps, @@ -57,23 +56,22 @@ const Stepper = forwardRef(({ }; const availableSteps = useMemo(() => ( - steps - ? steps.map((t, i) => ( - - { t.content } - - )) : children.map((t: JSX.Element, i: number) => - cloneElement(t, { status: getStepStatus(i), key: i } - )) + steps ? steps.map((t, i) => ( + + { t.content } + + )) : children.map((t: JSX.Element, i: number) => ( + cloneElement(t, { status: getStepStatus(i), key: i }) + )) ), [steps, children]); return ( -
    +
    { availableSteps }
    diff --git a/packages/react/lib/Tab/index.tsx b/packages/react/lib/Tab/index.tsx index 2936b7c68..a32f78d62 100644 --- a/packages/react/lib/Tab/index.tsx +++ b/packages/react/lib/Tab/index.tsx @@ -1,16 +1,14 @@ import { + type ReactNode, + type MutableRefObject, + type ComponentPropsWithRef, + type ElementType, forwardRef, useRef, useImperativeHandle, - ReactNode, - MutableRefObject, - ComponentPropsWithRef, - ElementType, } from 'react'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { classNames } from '@junipero/core'; - -import { ForwardedProps } from '../utils'; export declare interface TabObject { title: ReactNode | JSX.Element; diff --git a/packages/react/lib/Tabs/index.tsx b/packages/react/lib/Tabs/index.tsx index 0059b2a70..4a32bf41e 100644 --- a/packages/react/lib/Tabs/index.tsx +++ b/packages/react/lib/Tabs/index.tsx @@ -1,4 +1,8 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ReactNode, + type MouseEvent, Children, forwardRef, useEffect, @@ -6,22 +10,17 @@ import { useRef, useState, useMemo, - MutableRefObject, - ComponentPropsWithRef, - ReactNode, - MouseEvent, } from 'react'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { classNames } from '@junipero/core'; -import Tab, { TabObject } from '../Tab'; -import { ForwardedProps } from '../utils'; +import Tab, { type TabObject } from '../Tab'; export declare type TabsRef = { activeTab: number; tabs: Array; isJunipero: boolean; - innerRef: MutableRefObject; + innerRef: MutableRefObject; }; export declare interface TabsProps extends ComponentPropsWithRef { @@ -45,7 +44,7 @@ const Tabs = forwardRef(({ onToggle, ...rest }:TabsProps, ref) => { - const innerRef = useRef(); + const innerRef = useRef(); const [activeTab, setActiveTab] = useState(active); useImperativeHandle(ref, () => ({ diff --git a/packages/react/lib/Tag/index.tsx b/packages/react/lib/Tag/index.tsx index c25f35db1..68f3429a1 100644 --- a/packages/react/lib/Tag/index.tsx +++ b/packages/react/lib/Tag/index.tsx @@ -1,18 +1,17 @@ import { - ComponentPropsWithRef, - ElementType, - MouseEvent, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MouseEvent, + type MutableRefObject, + type ReactNode, forwardRef, useImperativeHandle, useRef, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; import { Remove } from '../icons'; -import { ForwardedProps } from '../utils'; export declare type TagRef = { isJunipero: boolean; diff --git a/packages/react/lib/TextField/index.tsx b/packages/react/lib/TextField/index.tsx index 516755df4..7d0f2574f 100644 --- a/packages/react/lib/TextField/index.tsx +++ b/packages/react/lib/TextField/index.tsx @@ -1,28 +1,27 @@ import { - ChangeEvent, - ComponentPropsWithRef, - FocusEvent, - MutableRefObject, - ReactNode, - SyntheticEvent, - WheelEvent, + type ChangeEvent, + type ComponentPropsWithRef, + type FocusEvent, + type MutableRefObject, + type ReactNode, + type WheelEvent, forwardRef, useEffect, useImperativeHandle, useReducer, useRef, } from 'react'; -import { classNames, mockState, exists } from '@junipero/core'; +import { type MockState, classNames, mockState, exists } from '@junipero/core'; import PropTypes from 'prop-types'; import { useFieldControl } from '../hooks'; -import { MockState } from '../utils'; export declare type TextFieldChangeEvent = { value: string | number; valid: boolean; dirty: boolean } + export declare type TextFieldRef = { dirty: boolean; focused: boolean; @@ -33,8 +32,8 @@ export declare type TextFieldRef = { focus(): void; reset(): void; setDirty(dirty: boolean): void; - innerRef: MutableRefObject; - inputRef: MutableRefObject; + innerRef: MutableRefObject; + inputRef: MutableRefObject; }; export declare type TextFieldChangeField = { @@ -42,6 +41,7 @@ export declare type TextFieldChangeField = { valid: boolean; dirty: boolean; } + export declare interface TextFieldProps extends ComponentPropsWithRef { autoFocus?: boolean; children?: ReactNode | JSX.Element; @@ -64,6 +64,13 @@ export declare interface TextFieldProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface TextFieldState { + value: string | number; + valid: boolean; + dirty: boolean; + focused: boolean; +} + const TextField = forwardRef(({ autoFocus, children, @@ -80,16 +87,9 @@ const TextField = forwardRef(({ onValidate = (val, { required }) => !!val || !required, ...rest }: TextFieldProps, ref) => { - const innerRef = useRef(); - const inputRef = useRef(); + const innerRef = useRef(); + const inputRef = useRef(); const { update: updateControl } = useFieldControl(); - - type TextFieldState = { - value: string | number; - valid: boolean; - dirty: boolean; - focused: boolean; - } const [state, dispatch] = useReducer >(mockState, { value: value ?? '', valid: valid ?? false, diff --git a/packages/react/lib/Toast/index.tsx b/packages/react/lib/Toast/index.tsx index 49d34af16..04e836ab7 100644 --- a/packages/react/lib/Toast/index.tsx +++ b/packages/react/lib/Toast/index.tsx @@ -1,21 +1,19 @@ import { + type ReactNode, + type ComponentPropsWithRef, + type ElementType, + type MutableRefObject, + type MouseEvent, + type DragEvent, forwardRef, useState, useImperativeHandle, useRef, - ReactNode, - ComponentPropsWithRef, - ElementType, - MutableRefObject, - MouseEvent, - DragEvent, } from 'react'; -import { classNames } from '@junipero/core'; +import { type ForwardedProps, classNames } from '@junipero/core'; import { useTimeout } from '@junipero/hooks'; import PropTypes from 'prop-types'; -import { ForwardedProps } from '../utils'; - export declare type ToastRef = { enabled: boolean; isJunipero: boolean; @@ -51,6 +49,7 @@ export declare interface ToastProps extends ComponentPropsWithRef { onDismiss?(index?: string | number): any; ref?: MutableRefObject; } + const Toast = forwardRef(({ tag: Tag = 'div', animationTimeout = 100, diff --git a/packages/react/lib/Toasts/index.tsx b/packages/react/lib/Toasts/index.tsx index a71c92139..89c9640c2 100644 --- a/packages/react/lib/Toasts/index.tsx +++ b/packages/react/lib/Toasts/index.tsx @@ -1,21 +1,20 @@ import { - ComponentPropsWithRef, + type ComponentPropsWithRef, + type MutableRefObject, forwardRef, - MutableRefObject, useImperativeHandle, useRef, } from 'react'; -import { classNames, omit } from '@junipero/core'; +import { type ForwardedProps, classNames, omit } from '@junipero/core'; import PropTypes from 'prop-types'; import { useToasts } from '../hooks'; -import Toast, { ToastObject } from '../Toast'; -import { ForwardedProps } from '../utils'; +import Toast, { type ToastObject } from '../Toast'; export declare type ToastsRef = { isJunipero: boolean; toasts: Array; - innerRef: MutableRefObject; + innerRef: MutableRefObject; }; export declare interface ToastsProps extends ComponentPropsWithRef { @@ -27,13 +26,14 @@ export declare interface ToastsProps extends ComponentPropsWithRef { ): JSX.Element| Element; ref?: MutableRefObject; } + const Toasts = forwardRef(({ className, animateToast, animationTimeout, ...rest }: ToastsProps, ref) => { - const innerRef = useRef(); + const innerRef = useRef(); const { toasts, dismiss } = useToasts(); useImperativeHandle(ref, () => ({ diff --git a/packages/react/lib/ToastsControl/index.tsx b/packages/react/lib/ToastsControl/index.tsx index a149d0cfa..65064f2f8 100644 --- a/packages/react/lib/ToastsControl/index.tsx +++ b/packages/react/lib/ToastsControl/index.tsx @@ -1,16 +1,16 @@ import { - ComponentPropsWithoutRef, + type ComponentPropsWithoutRef, + type MutableRefObject, forwardRef, - MutableRefObject, useCallback, useImperativeHandle, useState, } from 'react'; +import { type ForwardedProps } from '@junipero/core'; import PropTypes from 'prop-types'; -import { ToastsContext, ToastsContextType } from '../contexts'; -import { ToastObject } from '../Toast'; -import { ForwardedProps } from '../utils'; +import type { ToastObject } from '../Toast'; +import { ToastsContext, type ToastsContextType } from '../contexts'; export declare type ToastsControlRef = { isJunipero: boolean; diff --git a/packages/react/lib/Toggle/index.tsx b/packages/react/lib/Toggle/index.tsx index cd7f9ff26..60941a985 100644 --- a/packages/react/lib/Toggle/index.tsx +++ b/packages/react/lib/Toggle/index.tsx @@ -1,19 +1,22 @@ import { - ComponentPropsWithRef, - KeyboardEvent, - MutableRefObject, - ReactNode, + type ComponentPropsWithRef, + type KeyboardEvent, + type MutableRefObject, + type ReactNode, forwardRef, useEffect, useImperativeHandle, useReducer, useRef, } from 'react'; -import { classNames, mockState } from '@junipero/core'; +import { + type ForwardedProps, + type MockState, + classNames, + mockState, +} from '@junipero/core'; import PropTypes from 'prop-types'; -import { ForwardedProps, MockState } from '../utils'; - export declare type ToggleRef = { checked: boolean; isJunipero: boolean; @@ -32,6 +35,10 @@ export declare interface ToggleProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface ToggleState { + checked: boolean; +} + const Toggle = forwardRef(({ checked = false, disabled = false, @@ -44,10 +51,6 @@ const Toggle = forwardRef(({ }: ToggleProps, ref) => { const innerRef = useRef(); const inputRef = useRef(); - - type ToggleState = { - checked: boolean; - } const [state, dispatch] = useReducer>(mockState, { checked, }); diff --git a/packages/react/lib/Tooltip/index.tsx b/packages/react/lib/Tooltip/index.tsx index 401cc8d7a..6eed29809 100644 --- a/packages/react/lib/Tooltip/index.tsx +++ b/packages/react/lib/Tooltip/index.tsx @@ -1,4 +1,7 @@ import { + type MutableRefObject, + type ComponentPropsWithRef, + type ReactNode, Children, forwardRef, cloneElement, @@ -6,34 +9,35 @@ import { useReducer, useRef, useEffect, - MutableRefObject, - ComponentPropsWithRef, - ReactNode, - Ref, } from 'react'; import { createPortal } from 'react-dom'; -import { classNames, ensureNode, mockState, omit } from '@junipero/core'; import { + type ForwardedProps, + type MockState, + classNames, + ensureNode, + mockState, + omit, +} from '@junipero/core'; +import { + type UseDismissProps, + type UseClickProps, + type UseHoverProps, + type UseFloatingOptions, + type Placement, + type OpenChangeReason, + offset, + flip, + shift, + autoUpdate, useFloating, useInteractions, useClick, useHover, useDismiss, - offset, - flip, - shift, - autoUpdate, - UseDismissProps, - UseClickProps, - UseHoverProps, - Placement, - UseFloatingOptions, - OpenChangeReason, } from '@floating-ui/react'; import PropTypes from 'prop-types'; -import { ForwardedProps, MockState } from '../utils'; - export declare type TooltipRef = { opened: boolean; open(): void; @@ -67,6 +71,11 @@ export declare interface TooltipProps extends ComponentPropsWithRef { ref?: MutableRefObject; } +export declare interface TooltipState { + opened: boolean, + visible: boolean +} + const Tooltip = forwardRef(({ animate, apparition, @@ -84,20 +93,13 @@ const Tooltip = forwardRef(({ trigger = 'hover', onToggle, ...rest -}:TooltipProps, ref) => { +}: TooltipProps, ref) => { const handleRef = useRef(); const innerRef = useRef(); - - type TooltipState = { - opened: boolean, - visible: boolean - }; - const [state, dispatch] = useReducer>(mockState, { opened: opened ?? false, visible: opened ?? false, }); - const { x, y, refs, strategy, context, update } = useFloating({ open: state.opened, onOpenChange: (...args) => onOpenChange(...args), @@ -116,7 +118,6 @@ const Tooltip = forwardRef(({ }), ], }); - const { getReferenceProps, getFloatingProps } = useInteractions([ useClick(context, { enabled: trigger === 'click', diff --git a/packages/react/lib/TouchableZone/index.tsx b/packages/react/lib/TouchableZone/index.tsx index 19116599f..92cf78754 100644 --- a/packages/react/lib/TouchableZone/index.tsx +++ b/packages/react/lib/TouchableZone/index.tsx @@ -1,13 +1,11 @@ import { - ComponentPropsWithRef, - ElementType, - ReactNode, + type ComponentPropsWithRef, + type ElementType, + type ReactNode, forwardRef, } from 'react'; +import { type ForwardedProps, classNames } from '@junipero/core'; import PropTypes from 'prop-types'; -import { classNames } from '@junipero/core'; - -import { ForwardedProps } from '../utils'; export declare interface TouchableZoneProps extends ComponentPropsWithRef { children?: ReactNode | JSX.Element; diff --git a/packages/react/lib/Transition/index.tsx b/packages/react/lib/Transition/index.tsx index 554fc340e..06cfd9071 100644 --- a/packages/react/lib/Transition/index.tsx +++ b/packages/react/lib/Transition/index.tsx @@ -1,24 +1,25 @@ import { + type ComponentPropsWithRef, + type ReactNode, Children, useState, useRef, useCallback, cloneElement, - ComponentPropsWithRef, - ReactNode, } from 'react'; import { useTimeout, useLayoutEffectAfterMount } from '@junipero/hooks'; import { classNames } from '@junipero/core'; -import * as PropTypes from 'prop-types'; +import PropTypes from 'prop-types'; -const UNMOUNTED = 'unmounted'; -const ENTER = 'enter'; -const EXIT = 'exit'; -const IDLE = 'idle'; -const STARTING = 'starting'; -const ACTIVE = 'active'; -const DONE = 'done'; -declare type TimeoutObject = { +export const TRANSITION_STATE_UNMOUNTED = 'unmounted'; +export const TRANSITION_STATE_ENTER = 'enter'; +export const TRANSITION_STATE_EXIT = 'exit'; +export const TRANSITION_STATE_IDLE = 'idle'; +export const TRANSITION_STATE_STARTING = 'starting'; +export const TRANSITION_STATE_ACTIVE = 'active'; +export const TRANSITION_STATE_DONE = 'done'; + +export declare type TransitionTimeoutObject = { enter?: number; exit?: number; }; @@ -28,7 +29,7 @@ export declare interface TransitionProps extends ComponentPropsWithRef { in: boolean; mounterOnEnter?: boolean; name?: string; - timeout?: number | TimeoutObject; + timeout?: number | TransitionTimeoutObject; unmountOnExit?: boolean; onEnter?(): void; onEntering?(): void; @@ -54,8 +55,12 @@ const Transition = ({ ...rest }: TransitionProps) => { const previousIn = useRef(inProp); - const [status, setStatus] = useState(inProp ? ENTER : UNMOUNTED); - const [step, setStep] = useState(inProp ? STARTING : IDLE); + const [status, setStatus] = useState( + inProp ? TRANSITION_STATE_ENTER : TRANSITION_STATE_UNMOUNTED + ); + const [step, setStep] = useState( + inProp ? TRANSITION_STATE_STARTING : TRANSITION_STATE_IDLE + ); useLayoutEffectAfterMount(() => { if (inProp === previousIn.current) { @@ -63,43 +68,54 @@ const Transition = ({ } previousIn.current = inProp; - setStatus(inProp ? ENTER : EXIT); + setStatus(inProp ? TRANSITION_STATE_ENTER : TRANSITION_STATE_EXIT); inProp ? onEnter?.() : onExit?.(); - setStep(STARTING); + setStep(TRANSITION_STATE_STARTING); }, [inProp]); useTimeout(() => { - setStep(ACTIVE); - status === ENTER ? onEntering?.() : onExiting?.(); - }, 0, [step, status], { enabled: step === STARTING }); + setStep(TRANSITION_STATE_ACTIVE); + status === TRANSITION_STATE_ENTER ? onEntering?.() : onExiting?.(); + }, 0, [step, status], { enabled: step === TRANSITION_STATE_STARTING }); useTimeout(() => { - if (step !== IDLE) { - setStep(DONE); + if (step !== TRANSITION_STATE_IDLE) { + setStep(TRANSITION_STATE_DONE); onEntered?.(); } - }, (timeout as TimeoutObject)?.enter ?? (timeout as number), [status, step], { - enabled: status === ENTER, - }); + }, + (timeout as TransitionTimeoutObject)?.enter ?? (timeout as number), + [status, step], + { enabled: status === TRANSITION_STATE_ENTER }); useTimeout(() => { - if (step !== IDLE) { - unmountOnExit && setStatus(UNMOUNTED); - setStep(DONE); + if (step !== TRANSITION_STATE_IDLE) { + unmountOnExit && setStatus(TRANSITION_STATE_UNMOUNTED); + setStep(TRANSITION_STATE_DONE); onExited?.(); } - }, (timeout as TimeoutObject)?.exit ?? (timeout as number), [status, step], { - enabled: status === EXIT, + }, + (timeout as TransitionTimeoutObject)?.exit ?? (timeout as number), + [status, step], + { + enabled: status === TRANSITION_STATE_EXIT, }); - const getClassName = useCallback(() => status === UNMOUNTED ? '' : ( - name + '-' + status + (![IDLE, STARTING].includes(step) ? '-' + step : '') + const getClassName = useCallback(() => ( + status === TRANSITION_STATE_UNMOUNTED ? '' : ( + name + '-' + status + ( + ![TRANSITION_STATE_IDLE, TRANSITION_STATE_STARTING].includes(step) + ? '-' + step + : '' + ) + ) ), [status, step]); const child = Children.only(children); - return status !== UNMOUNTED && (!unmountOnExit || mountOnEnter) - ? cloneElement(child as JSX.Element, { + return status !== TRANSITION_STATE_UNMOUNTED && ( + !unmountOnExit || mountOnEnter + ) ? cloneElement(child as JSX.Element, { className: classNames( (child as JSX.Element).props?.className, getClassName() ), diff --git a/packages/react/lib/contexts.tsx b/packages/react/lib/contexts.tsx index 52c1e7f5a..c7de0c6b7 100644 --- a/packages/react/lib/contexts.tsx +++ b/packages/react/lib/contexts.tsx @@ -1,10 +1,10 @@ -import { Dispatch, MutableRefObject, createContext } from 'react'; -import { ExtendedRefs, Strategy } from '@floating-ui/react'; +import type { ExtendedRefs, Strategy } from '@floating-ui/react'; +import { type Dispatch, createContext } from 'react'; -import { AlertObject } from './Alert'; -import { ToastObject } from './Toast'; -import { ListColumnObject } from './ListColumn'; -import { ModalRef } from './Modal'; +import type { AlertObject } from './Alert'; +import type { ToastObject } from './Toast'; +import type { ListColumnObject } from './ListColumn'; +import type { ModalRef } from './Modal'; export type AlertsContextType = { alerts?: Array; diff --git a/packages/react/lib/hooks.tsx b/packages/react/lib/hooks.tsx index 3a5dbcaf5..29d3307f7 100644 --- a/packages/react/lib/hooks.tsx +++ b/packages/react/lib/hooks.tsx @@ -15,8 +15,8 @@ import { ModalContextType, } from './contexts'; -export const useFieldControl = - () => useContext(FieldControlContext); +export const useFieldControl = () => + useContext(FieldControlContext); export const useDropdown = () => useContext(DropdownContext); export const useAlerts = () => useContext(AlertsContext); diff --git a/packages/react/lib/icons.tsx b/packages/react/lib/icons.tsx index 38f96530a..abd34d5a2 100644 --- a/packages/react/lib/icons.tsx +++ b/packages/react/lib/icons.tsx @@ -1,4 +1,4 @@ -import { ComponentPropsWithoutRef } from 'react'; +import type { ComponentPropsWithoutRef } from 'react'; import { classNames } from '@junipero/core'; export declare interface IconProps extends ComponentPropsWithoutRef<'svg'> { @@ -18,21 +18,18 @@ export const Arrows = ({ className, ...rest }: IconProps): JSX.Element => ( ); -export const Remove = ({ className, ...rest }: IconProps): JSX.Element => { - - return ( - - - - - ); -}; +export const Remove = ({ className, ...rest }: IconProps): JSX.Element => ( + + + + +); export const ArrowLeft = ({ className, ...rest }: IconProps): JSX.Element => ( > = ((x: T, ...xs: A) => void) extends ( ...a: infer X ) => void @@ -11,10 +9,3 @@ export type GrowToSize, N extends number> = { }[A['length'] extends N ? 0 : 1]; export type FixedArray = GrowToSize; - -// TODO move this to core project -export declare interface ForwardedProps - extends ForwardRefExoticComponent> {} - -// TODO move this to core project -export declare type MockState = (state: T, action: any) => T; diff --git a/packages/react/package.json b/packages/react/package.json index 396d9f596..3586784da 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -21,7 +21,7 @@ "react-dom": "^18.0.0" }, "dependencies": { - "@floating-ui/react": "0.26.9", + "@floating-ui/react": "0.26.16", "@junipero/core": "^3.4.13", "@junipero/hooks": "^3.4.11", "prop-types": "15.8.1" diff --git a/packages/tailwind-plugin/tests/utils.ts b/packages/tailwind-plugin/tests/utils.ts index 6a8d9c64c..b39af0884 100644 --- a/packages/tailwind-plugin/tests/utils.ts +++ b/packages/tailwind-plugin/tests/utils.ts @@ -6,6 +6,7 @@ export const generate = async ( plugin: { handler: PluginCreator; config?: Partial; }, content: string ) => ( + // @ts-ignore - TODO fixme postcss([ tailwind({ content: [{ raw: content }], diff --git a/tsconfig.json b/tsconfig.json index 86d007315..552f58278 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "noImplicitAny": true, "module": "esnext", "moduleResolution": "bundler", + "skipLibCheck": true, "target": "esnext", "noEmit": true, "paths": { @@ -22,6 +23,6 @@ }, "exclude": [ "**/dist/*", - "node_modules", + "node_modules/**/*", ] } diff --git a/yarn.lock b/yarn.lock index 632595e7f..f1dfcf455 100644 --- a/yarn.lock +++ b/yarn.lock @@ -47,7 +47,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.23.5": version: 7.23.5 resolution: "@babel/code-frame@npm:7.23.5" dependencies: @@ -57,6 +57,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.24.2": + version: 7.24.6 + resolution: "@babel/code-frame@npm:7.24.6" + dependencies: + "@babel/highlight": "npm:^7.24.6" + picocolors: "npm:^1.0.0" + checksum: 10c0/c93c6d1763530f415218c31d07359364397f19b70026abdff766164c21ed352a931cf07f3102c5fb9e04792de319e332d68bcb1f7debef601a02197f90f9ba24 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.23.5": version: 7.23.5 resolution: "@babel/compat-data@npm:7.23.5" @@ -110,15 +120,15 @@ __metadata: languageName: node linkType: hard -"@babel/eslint-plugin@npm:7.23.5": - version: 7.23.5 - resolution: "@babel/eslint-plugin@npm:7.23.5" +"@babel/eslint-plugin@npm:7.24.6": + version: 7.24.6 + resolution: "@babel/eslint-plugin@npm:7.24.6" dependencies: eslint-rule-composer: "npm:^0.3.0" peerDependencies: "@babel/eslint-parser": ^7.11.0 - eslint: ^7.5.0 || ^8.0.0 - checksum: 10c0/adaf0975bab774c9a7ddd7aac6f2f7e4e0b087fea24759d8538ebe988b72eaca5928d9afc6b9c13927bf3e3c6ac66795d1060f6a8bfa9748de27f5d93d3fef64 + eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 + checksum: 10c0/b611384b71eea9a35e59a33ce74947423a623435c544e34d12f8c7277d9636d518b977cfc0de6eb2222ec7a33e7a901714cec26d6b0314cdbb1a575a38404dc1 languageName: node linkType: hard @@ -361,6 +371,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.24.6": + version: 7.24.6 + resolution: "@babel/helper-validator-identifier@npm:7.24.6" + checksum: 10c0/d29d2e3fca66c31867a009014169b93f7bc21c8fc1dd7d0b9d85d7a4000670526ff2222d966febb75a6e12f9859a31d1e75b558984e28ecb69651314dd0a6fd1 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.23.5": version: 7.23.5 resolution: "@babel/helper-validator-option@npm:7.23.5" @@ -412,6 +429,18 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.24.6": + version: 7.24.6 + resolution: "@babel/highlight@npm:7.24.6" + dependencies: + "@babel/helper-validator-identifier": "npm:^7.24.6" + chalk: "npm:^2.4.2" + js-tokens: "npm:^4.0.0" + picocolors: "npm:^1.0.0" + checksum: 10c0/5bbc31695e5d44e97feb267f7aaf4c52908560d184ffeb2e2e57aae058d40125592931883889413e19def3326895ddb41ff45e090fa90b459d8c294b4ffc238c + languageName: node + linkType: hard + "@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9": version: 7.23.9 resolution: "@babel/parser@npm:7.23.9" @@ -1880,6 +1909,16 @@ __metadata: languageName: node linkType: hard +"@floating-ui/dom@npm:^1.0.0": + version: 1.6.5 + resolution: "@floating-ui/dom@npm:1.6.5" + dependencies: + "@floating-ui/core": "npm:^1.0.0" + "@floating-ui/utils": "npm:^0.2.0" + checksum: 10c0/ebdc14806f786e60df8e7cc2c30bf9cd4d75fe734f06d755588bbdef2f60d0a0f21dffb14abdc58dea96e5577e2e366feca6d66ba962018efd1bc91a3ece4526 + languageName: node + linkType: hard + "@floating-ui/dom@npm:^1.6.1": version: 1.6.3 resolution: "@floating-ui/dom@npm:1.6.3" @@ -1890,7 +1929,7 @@ __metadata: languageName: node linkType: hard -"@floating-ui/react-dom@npm:^2.0.0, @floating-ui/react-dom@npm:^2.0.8": +"@floating-ui/react-dom@npm:^2.0.0": version: 2.0.8 resolution: "@floating-ui/react-dom@npm:2.0.8" dependencies: @@ -1902,17 +1941,29 @@ __metadata: languageName: node linkType: hard -"@floating-ui/react@npm:0.26.9": - version: 0.26.9 - resolution: "@floating-ui/react@npm:0.26.9" +"@floating-ui/react-dom@npm:^2.1.0": + version: 2.1.0 + resolution: "@floating-ui/react-dom@npm:2.1.0" dependencies: - "@floating-ui/react-dom": "npm:^2.0.8" - "@floating-ui/utils": "npm:^0.2.1" - tabbable: "npm:^6.0.1" + "@floating-ui/dom": "npm:^1.0.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 10c0/769a6bc33c4fa6c8c38b2e1c91622854e5e8fdf39cb92b0998a7ca099dc831a551a005cd0aec7e98edf9bfed4f697397335f03034b5f41a0f4fb17c97fce6d20 + checksum: 10c0/9ee44dfeb27f585fb1e0114cbe37c72ff5d34149900f4f3013f6b0abf8c3365eab13286c360f97fbe0c44bb91a745e7a4c18b82d111990b45a7a7796dc55e461 + languageName: node + linkType: hard + +"@floating-ui/react@npm:0.26.16": + version: 0.26.16 + resolution: "@floating-ui/react@npm:0.26.16" + dependencies: + "@floating-ui/react-dom": "npm:^2.1.0" + "@floating-ui/utils": "npm:^0.2.0" + tabbable: "npm:^6.0.0" + peerDependencies: + react: ">=16.8.0" + react-dom: ">=16.8.0" + checksum: 10c0/8556e2c374d6046ce824a6dc7869fa652cd7c91bb290dba0db97f6d1236fa8e0db5cfefa21d82a15918fe0ff4819a3c8790221b18b1108863c4513168009ecbc languageName: node linkType: hard @@ -2321,7 +2372,7 @@ __metadata: version: 0.0.0-use.local resolution: "@junipero/react@workspace:packages/react" dependencies: - "@floating-ui/react": "npm:0.26.9" + "@floating-ui/react": "npm:0.26.16" "@junipero/core": "npm:^3.4.13" "@junipero/hooks": "npm:^3.4.11" prop-types: "npm:15.8.1" @@ -2360,12 +2411,12 @@ __metadata: languageName: unknown linkType: soft -"@lerna/create@npm:8.1.2": - version: 8.1.2 - resolution: "@lerna/create@npm:8.1.2" +"@lerna/create@npm:8.1.3": + version: 8.1.3 + resolution: "@lerna/create@npm:8.1.3" dependencies: "@npmcli/run-script": "npm:7.0.2" - "@nx/devkit": "npm:>=17.1.2 < 19" + "@nx/devkit": "npm:>=17.1.2 < 20" "@octokit/plugin-enterprise-rest": "npm:6.0.1" "@octokit/rest": "npm:19.0.11" byte-size: "npm:8.1.1" @@ -2402,7 +2453,7 @@ __metadata: npm-packlist: "npm:5.1.1" npm-registry-fetch: "npm:^14.0.5" npmlog: "npm:^6.0.2" - nx: "npm:>=17.1.2 < 19" + nx: "npm:>=17.1.2 < 20" p-map: "npm:4.0.0" p-map-series: "npm:2.1.0" p-queue: "npm:6.6.2" @@ -2418,7 +2469,7 @@ __metadata: slash: "npm:^3.0.0" ssri: "npm:^9.0.1" strong-log-transformer: "npm:2.1.0" - tar: "npm:6.1.11" + tar: "npm:6.2.1" temp-dir: "npm:1.0.0" upath: "npm:2.0.1" uuid: "npm:^9.0.0" @@ -2428,7 +2479,7 @@ __metadata: write-pkg: "npm:4.0.0" yargs: "npm:17.7.2" yargs-parser: "npm:21.1.1" - checksum: 10c0/c175d63fec4df805a4ec76db51c01d4ef15c9c7b2ea7933e36fcad604fe9f63e1352725009ea82598b64822bf02517b193bcd694d703d04152c133e4614951f1 + checksum: 10c0/6a8f470a8151630cbe9217e24ea2197f0c17b147e32ab985c8228312e11145658bcc7b519bac1ca04b834723f2a0e96503f9f80c03b9439c0da534a2128b8e04 languageName: node linkType: hard @@ -2577,111 +2628,112 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:18.0.5": - version: 18.0.5 - resolution: "@nrwl/devkit@npm:18.0.5" +"@nrwl/devkit@npm:19.1.2": + version: 19.1.2 + resolution: "@nrwl/devkit@npm:19.1.2" dependencies: - "@nx/devkit": "npm:18.0.5" - checksum: 10c0/2a66e71c45be57d6e614aee4a62a9962d9f041bb2f2a02f26f31e652f3b203550593440f273270102de1a91de278ca1c2439900fc1fad797efbabfdc8af095ed + "@nx/devkit": "npm:19.1.2" + checksum: 10c0/97f7af65cd67430ea5a9818531d68b7fb72b9feba344d5d17794bc9cc4bdcfd23352d0034deb21405745d2b78ff4671e853d9cad59a9b95ce8c00f6178e8f506 languageName: node linkType: hard -"@nrwl/tao@npm:18.0.5": - version: 18.0.5 - resolution: "@nrwl/tao@npm:18.0.5" +"@nrwl/tao@npm:19.1.2": + version: 19.1.2 + resolution: "@nrwl/tao@npm:19.1.2" dependencies: - nx: "npm:18.0.5" + nx: "npm:19.1.2" tslib: "npm:^2.3.0" bin: tao: index.js - checksum: 10c0/1a103082e36a747b0c10a11c5ab907496d21059986fece17b8bac6cf21e1b8eabbe4b80a654796aeca43584d0b9adc31194ac99f7dc25206acdacfdb7f361d34 + checksum: 10c0/dde2cf007717bf595d28e5a9e8d0392e5d0d0f92ad201581e35b124e1d6d4f5a55ecee1c7c21e98c3284fb1f3af05fea796fd01e201dc01597a17066ae6c4a72 languageName: node linkType: hard -"@nx/devkit@npm:18.0.5, @nx/devkit@npm:>=17.1.2 < 19": - version: 18.0.5 - resolution: "@nx/devkit@npm:18.0.5" +"@nx/devkit@npm:19.1.2, @nx/devkit@npm:>=17.1.2 < 20": + version: 19.1.2 + resolution: "@nx/devkit@npm:19.1.2" dependencies: - "@nrwl/devkit": "npm:18.0.5" + "@nrwl/devkit": "npm:19.1.2" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" + minimatch: "npm:9.0.3" semver: "npm:^7.5.3" tmp: "npm:~0.2.1" tslib: "npm:^2.3.0" yargs-parser: "npm:21.1.1" peerDependencies: - nx: ">= 16 <= 18" - checksum: 10c0/e89d4e2aa3f8c14319cbadf7aed626ee0be89371c6c075244fddf726744c04c3145910a82ab32e9552fd64babd91b2d54ef3c459e381ea6ef0a045cee25218e9 + nx: ">= 17 <= 20" + checksum: 10c0/b8484c6243be0afab41a148c369724e659ac06f1324f66f9707db9182707e5ca61b9ccede1aca7933cd9d69dbab87bdc300a04b5c644b0ead2c4440d97160792 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-darwin-arm64@npm:18.0.5" +"@nx/nx-darwin-arm64@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-darwin-arm64@npm:19.1.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-darwin-x64@npm:18.0.5" +"@nx/nx-darwin-x64@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-darwin-x64@npm:19.1.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-freebsd-x64@npm:18.0.5" +"@nx/nx-freebsd-x64@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-freebsd-x64@npm:19.1.2" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:18.0.5" +"@nx/nx-linux-arm-gnueabihf@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.1.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-linux-arm64-gnu@npm:18.0.5" +"@nx/nx-linux-arm64-gnu@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-linux-arm64-gnu@npm:19.1.2" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-linux-arm64-musl@npm:18.0.5" +"@nx/nx-linux-arm64-musl@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-linux-arm64-musl@npm:19.1.2" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-linux-x64-gnu@npm:18.0.5" +"@nx/nx-linux-x64-gnu@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-linux-x64-gnu@npm:19.1.2" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-linux-x64-musl@npm:18.0.5" +"@nx/nx-linux-x64-musl@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-linux-x64-musl@npm:19.1.2" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-win32-arm64-msvc@npm:18.0.5" +"@nx/nx-win32-arm64-msvc@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-win32-arm64-msvc@npm:19.1.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:18.0.5": - version: 18.0.5 - resolution: "@nx/nx-win32-x64-msvc@npm:18.0.5" +"@nx/nx-win32-x64-msvc@npm:19.1.2": + version: 19.1.2 + resolution: "@nx/nx-win32-x64-msvc@npm:19.1.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3524,9 +3576,9 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:25.0.7": - version: 25.0.7 - resolution: "@rollup/plugin-commonjs@npm:25.0.7" +"@rollup/plugin-commonjs@npm:25.0.8": + version: 25.0.8 + resolution: "@rollup/plugin-commonjs@npm:25.0.8" dependencies: "@rollup/pluginutils": "npm:^5.0.1" commondir: "npm:^1.0.1" @@ -3539,7 +3591,7 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: 10c0/d096af5aedd55c19ac528daa84a4cacdf21a69c9c9b20c23e04f27a64966cb383f5e2b01b9c903d40318e35dcaa74dc7b5292a844c6cbc66c252f5447eac05b4 + checksum: 10c0/00d6fe41c33476dcb4b4ac3068f869b8537153646ea18f1fb9d0dfd5592792148567dd735d58ac15e2fdd4ed6c98453d20fe5343105f8cfa93d291198c9a90f5 languageName: node linkType: hard @@ -3629,93 +3681,114 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.12.0" +"@rollup/rollup-android-arm-eabi@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.18.0" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-android-arm64@npm:4.12.0" +"@rollup/rollup-android-arm64@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-android-arm64@npm:4.18.0" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.12.0" +"@rollup/rollup-darwin-arm64@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.18.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.12.0" +"@rollup/rollup-darwin-x64@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.18.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.12.0" - conditions: os=linux & cpu=arm +"@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0" + conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.12.0" +"@rollup/rollup-linux-arm-musleabihf@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.18.0" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.18.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.12.0" +"@rollup/rollup-linux-arm64-musl@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.18.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.12.0" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.18.0" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.12.0" +"@rollup/rollup-linux-s390x-gnu@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.18.0" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.18.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.12.0" +"@rollup/rollup-linux-x64-musl@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.18.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.12.0" +"@rollup/rollup-win32-arm64-msvc@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.18.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.12.0" +"@rollup/rollup-win32-ia32-msvc@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.18.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.12.0": - version: 4.12.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.12.0" +"@rollup/rollup-win32-x64-msvc@npm:4.18.0": + version: 4.18.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.18.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -3838,28 +3911,28 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-actions@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/addon-actions@npm:7.6.17" +"@storybook/addon-actions@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/addon-actions@npm:7.6.19" dependencies: - "@storybook/core-events": "npm:7.6.17" + "@storybook/core-events": "npm:7.6.19" "@storybook/global": "npm:^5.0.0" "@types/uuid": "npm:^9.0.1" dequal: "npm:^2.0.2" polished: "npm:^4.2.2" uuid: "npm:^9.0.0" - checksum: 10c0/91d20a7c35fff6a0b2aa33f2c1171d457c68fb9d955da12629d6f75d931d5aa3756837e413ab7bb928c4cc4b48dcc5cdd63510e6028e7bd8fc8c82d93be967d0 + checksum: 10c0/9a3b8c84088f78c7a9c2178fe0c741615e76abc89ab5a37d35fc2943c92371653a5feb6fca49ca9ed651fecbad47c50d7a8577105e6046ab5f8a433a4c5b6f13 languageName: node linkType: hard -"@storybook/addon-storysource@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/addon-storysource@npm:7.6.17" +"@storybook/addon-storysource@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/addon-storysource@npm:7.6.19" dependencies: - "@storybook/source-loader": "npm:7.6.17" + "@storybook/source-loader": "npm:7.6.19" estraverse: "npm:^5.2.0" tiny-invariant: "npm:^1.3.1" - checksum: 10c0/f0c4c0da544276faaadc028aa2c4329a5212f4544efc28824688dfebf950d892cd33dc209980884d53f664ef70e08c538c08b4e156190c26b62c0bbf4bebe00d + checksum: 10c0/5a9b2bf1e65c4bf900202d92962310bdfbb514ec635eb41d40f677ed2a64057e608be82a9adc06fc8a56d2f64cd7b46c005d14c9c83a3b51480a59eb56b1e1d4 languageName: node linkType: hard @@ -3918,14 +3991,14 @@ __metadata: languageName: node linkType: hard -"@storybook/builder-manager@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/builder-manager@npm:7.6.17" +"@storybook/builder-manager@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/builder-manager@npm:7.6.19" dependencies: "@fal-works/esbuild-plugin-global-externals": "npm:^2.1.2" - "@storybook/core-common": "npm:7.6.17" - "@storybook/manager": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" + "@storybook/core-common": "npm:7.6.19" + "@storybook/manager": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" "@types/ejs": "npm:^3.1.1" "@types/find-cache-dir": "npm:^3.2.1" "@yarnpkg/esbuild-plugin-pnp": "npm:^3.0.0-rc.10" @@ -3938,23 +4011,23 @@ __metadata: fs-extra: "npm:^11.1.0" process: "npm:^0.11.10" util: "npm:^0.12.4" - checksum: 10c0/1b2ca77f7f3bf3c72890e949cfadc45d633fee7315ebcabfc1d6e23cd259db93114cbd9b9197597057f90c5fd60b3e72b0782a284a4f80c6efdd15f118b2c594 + checksum: 10c0/29bbe85c5765f2c481c52982fd72e2e333146f521078c6f2160c6b00e02fce0353a9462e5a1dcb8f2a00cc7f65b82b4f2fd846243d348e4faa704e7b13eddf9e languageName: node linkType: hard -"@storybook/builder-webpack5@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/builder-webpack5@npm:7.6.17" +"@storybook/builder-webpack5@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/builder-webpack5@npm:7.6.19" dependencies: "@babel/core": "npm:^7.23.2" - "@storybook/channels": "npm:7.6.17" - "@storybook/client-logger": "npm:7.6.17" - "@storybook/core-common": "npm:7.6.17" - "@storybook/core-events": "npm:7.6.17" - "@storybook/core-webpack": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/preview": "npm:7.6.17" - "@storybook/preview-api": "npm:7.6.17" + "@storybook/channels": "npm:7.6.19" + "@storybook/client-logger": "npm:7.6.19" + "@storybook/core-common": "npm:7.6.19" + "@storybook/core-events": "npm:7.6.19" + "@storybook/core-webpack": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/preview": "npm:7.6.19" + "@storybook/preview-api": "npm:7.6.19" "@swc/core": "npm:^1.3.82" "@types/node": "npm:^18.0.0" "@types/semver": "npm:^7.3.4" @@ -3987,7 +4060,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/5d5eb4cefb8e52119c3d0ef7f6b13557c00ebad80af8f35482bcd7d55ce50575d33dc12a66a0844f0171619174c7021489cfcf3b8cc128e0f05da6ff2b14e819 + checksum: 10c0/a6a2d74c969600751ad988a24a8c104e4455e83dd52851539e7958e331de3c39f380d2e74cb6c0c78d46c8a21ad69869c80a5cab81451d6c22fa6ef20118ec3e languageName: node linkType: hard @@ -4005,22 +4078,36 @@ __metadata: languageName: node linkType: hard -"@storybook/cli@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/cli@npm:7.6.17" +"@storybook/channels@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/channels@npm:7.6.19" + dependencies: + "@storybook/client-logger": "npm:7.6.19" + "@storybook/core-events": "npm:7.6.19" + "@storybook/global": "npm:^5.0.0" + qs: "npm:^6.10.0" + telejson: "npm:^7.2.0" + tiny-invariant: "npm:^1.3.1" + checksum: 10c0/7b5e879d15da93aa312f7e3df4055f9c0bf5d5120f82058cca6c878469c1748637509a03e7c31986cadec05ab378c035c4d38d74a4d45c94b5ad9ed77b4c93ee + languageName: node + linkType: hard + +"@storybook/cli@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/cli@npm:7.6.19" dependencies: "@babel/core": "npm:^7.23.2" "@babel/preset-env": "npm:^7.23.2" "@babel/types": "npm:^7.23.0" "@ndelangen/get-tarball": "npm:^3.0.7" - "@storybook/codemod": "npm:7.6.17" - "@storybook/core-common": "npm:7.6.17" - "@storybook/core-events": "npm:7.6.17" - "@storybook/core-server": "npm:7.6.17" - "@storybook/csf-tools": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/telemetry": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/codemod": "npm:7.6.19" + "@storybook/core-common": "npm:7.6.19" + "@storybook/core-events": "npm:7.6.19" + "@storybook/core-server": "npm:7.6.19" + "@storybook/csf-tools": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/telemetry": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/semver": "npm:^7.3.4" "@yarnpkg/fslib": "npm:2.10.3" "@yarnpkg/libzip": "npm:2.3.0" @@ -4052,7 +4139,7 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: 10c0/8d8d426a1eca5d58a4cafa8418a1c8a41736e21a89c66307d18cea98c583976d672ae0773ab53e4e38f110dad2db788bd5d8daef3970ae14834db205818713ef + checksum: 10c0/af46b19e9c248a0f3eb0c70a237f738109f09e1af6c8a101f8d4e3254f22ad84e7afed94964f925c10dcf2dc2039d2926d608e406a5b2d04a172a9374bfc00aa languageName: node linkType: hard @@ -4065,17 +4152,26 @@ __metadata: languageName: node linkType: hard -"@storybook/codemod@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/codemod@npm:7.6.17" +"@storybook/client-logger@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/client-logger@npm:7.6.19" + dependencies: + "@storybook/global": "npm:^5.0.0" + checksum: 10c0/16b5a6755874f82eec71364223af62c155d29e1bcd3c1061a734dff8b687a6a2e9d09da8866b92a16bf5e8f0717ad8f8a522e5d1cb023a9457ff220cb4819604 + languageName: node + linkType: hard + +"@storybook/codemod@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/codemod@npm:7.6.19" dependencies: "@babel/core": "npm:^7.23.2" "@babel/preset-env": "npm:^7.23.2" "@babel/types": "npm:^7.23.0" "@storybook/csf": "npm:^0.1.2" - "@storybook/csf-tools": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/csf-tools": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/cross-spawn": "npm:^6.0.2" cross-spawn: "npm:^7.0.3" globby: "npm:^11.0.2" @@ -4083,7 +4179,7 @@ __metadata: lodash: "npm:^4.17.21" prettier: "npm:^2.8.0" recast: "npm:^0.23.1" - checksum: 10c0/b8428203dfa551ea34b34659e5231cdc03eeb0fba2c53f801794b732515b173131bbe3df14dff9a540c18d3dfdafa7f94d11dbf34bf4dbaf03a47dd7c80d09ae + checksum: 10c0/68fd5cbd85b28a02c2164f52499197ad1ac55c01434fca50a5ca56a45fa39a86910c3792390e788e9796aa0bdef1253412b7c039247de42cb8555223ff91ffdb languageName: node linkType: hard @@ -4108,17 +4204,48 @@ __metadata: languageName: node linkType: hard -"@storybook/core-client@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/core-client@npm:7.6.17" +"@storybook/core-client@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/core-client@npm:7.6.19" dependencies: - "@storybook/client-logger": "npm:7.6.17" - "@storybook/preview-api": "npm:7.6.17" - checksum: 10c0/3342367bce219d46ac0c5b494688ae86aeb5c4006d98749dec2e30518850bc76a8b255611e9151f043d5141d11deb781b972c8610e98565cab4112dc86b7c1d5 + "@storybook/client-logger": "npm:7.6.19" + "@storybook/preview-api": "npm:7.6.19" + checksum: 10c0/e1ff7f6095b06fbc5956d0e18f61f10b342df46e9b09331705c87f388222882d4fc679f8673e8254ebdebc1b68da36e2d2f6f7b550d8f8337b64b312dcc085a6 + languageName: node + linkType: hard + +"@storybook/core-common@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/core-common@npm:7.6.19" + dependencies: + "@storybook/core-events": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" + "@types/find-cache-dir": "npm:^3.2.1" + "@types/node": "npm:^18.0.0" + "@types/node-fetch": "npm:^2.6.4" + "@types/pretty-hrtime": "npm:^1.0.0" + chalk: "npm:^4.1.0" + esbuild: "npm:^0.18.0" + esbuild-register: "npm:^3.5.0" + file-system-cache: "npm:2.3.0" + find-cache-dir: "npm:^3.0.0" + find-up: "npm:^5.0.0" + fs-extra: "npm:^11.1.0" + glob: "npm:^10.0.0" + handlebars: "npm:^4.7.7" + lazy-universal-dotenv: "npm:^4.0.0" + node-fetch: "npm:^2.0.0" + picomatch: "npm:^2.3.0" + pkg-dir: "npm:^5.0.0" + pretty-hrtime: "npm:^1.0.3" + resolve-from: "npm:^5.0.0" + ts-dedent: "npm:^2.0.0" + checksum: 10c0/da68811e3a54705ad5358917e073b21d83a96b35e15f960861e63ce383928893d69707f3cf6b54c0f13efbb774e2e6e0ba2b34bfbb89fd71cc38f176f673670c languageName: node linkType: hard -"@storybook/core-common@npm:7.6.17, @storybook/core-common@npm:^7.0.12": +"@storybook/core-common@npm:^7.0.12": version: 7.6.17 resolution: "@storybook/core-common@npm:7.6.17" dependencies: @@ -4158,25 +4285,34 @@ __metadata: languageName: node linkType: hard -"@storybook/core-server@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/core-server@npm:7.6.17" +"@storybook/core-events@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/core-events@npm:7.6.19" + dependencies: + ts-dedent: "npm:^2.0.0" + checksum: 10c0/9cb367fe024797f7673b308f0b1dac0043b91d3bca77cc2c55589c0234faaa91f3e886efba7b077a1b8c2f2e48d7269f8c40ac7246a679b03123c4015e3e3f60 + languageName: node + linkType: hard + +"@storybook/core-server@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/core-server@npm:7.6.19" dependencies: "@aw-web-design/x-default-browser": "npm:1.4.126" "@discoveryjs/json-ext": "npm:^0.5.3" - "@storybook/builder-manager": "npm:7.6.17" - "@storybook/channels": "npm:7.6.17" - "@storybook/core-common": "npm:7.6.17" - "@storybook/core-events": "npm:7.6.17" + "@storybook/builder-manager": "npm:7.6.19" + "@storybook/channels": "npm:7.6.19" + "@storybook/core-common": "npm:7.6.19" + "@storybook/core-events": "npm:7.6.19" "@storybook/csf": "npm:^0.1.2" - "@storybook/csf-tools": "npm:7.6.17" + "@storybook/csf-tools": "npm:7.6.19" "@storybook/docs-mdx": "npm:^0.1.0" "@storybook/global": "npm:^5.0.0" - "@storybook/manager": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/preview-api": "npm:7.6.17" - "@storybook/telemetry": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/manager": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/preview-api": "npm:7.6.19" + "@storybook/telemetry": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/detect-port": "npm:^1.3.0" "@types/node": "npm:^18.0.0" "@types/pretty-hrtime": "npm:^1.0.0" @@ -4203,37 +4339,37 @@ __metadata: util-deprecate: "npm:^1.0.2" watchpack: "npm:^2.2.0" ws: "npm:^8.2.3" - checksum: 10c0/b56077bea18c22151adb72c96efb1717034314b08bba5cae12b1f8a0e4135773f5c1e334ad3523dfeb578078b2d41a6091e2b0a992a110ca1859fdd89b1a4702 + checksum: 10c0/4e9f4cd7aacb9c8008acdc630223fc4854f93a7bd9c7ecf1db622df1202a98cc4d5de5d01a97ab43fcdb08311a7ddb0b19b4a0e67ebf19556f15710e891bb73b languageName: node linkType: hard -"@storybook/core-webpack@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/core-webpack@npm:7.6.17" +"@storybook/core-webpack@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/core-webpack@npm:7.6.19" dependencies: - "@storybook/core-common": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/core-common": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/node": "npm:^18.0.0" ts-dedent: "npm:^2.0.0" - checksum: 10c0/dad0817906effbd833939ed3cfdd9ae6e3fecd74b77e367f1c140f297ac20d551a609bde2363f8690649bee680ea5136bf2ee258e1034f4a30ff46d88ea1cf64 + checksum: 10c0/507f6ae68037fb822a5ab287b484af2ecd0890ccf5ac017f9cd61ea86201e8f2d6e07de8340f28b075d80d839ff16b9f8ad23108c60a9ae4f292981b87e56e67 languageName: node linkType: hard -"@storybook/csf-tools@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/csf-tools@npm:7.6.17" +"@storybook/csf-tools@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/csf-tools@npm:7.6.19" dependencies: "@babel/generator": "npm:^7.23.0" "@babel/parser": "npm:^7.23.0" "@babel/traverse": "npm:^7.23.2" "@babel/types": "npm:^7.23.0" "@storybook/csf": "npm:^0.1.2" - "@storybook/types": "npm:7.6.17" + "@storybook/types": "npm:7.6.19" fs-extra: "npm:^11.1.0" recast: "npm:^0.23.1" ts-dedent: "npm:^2.0.0" - checksum: 10c0/827458c97de27127a026d6f4592ad8760f27b69dc1082251710b8067b0616bf2c6b9c13b12cbf12a8162a6528d92ca81839cf78d0d10d09978d3ccdedaca7bce + checksum: 10c0/8f362672c475b3ea328eaa98b7575d338fbe18e281d046ac6dfd2efe6cce17e53027fa6fb6e4e45682ec2d07605e5428eec1328abcdff4e1c904161f2a99e659 languageName: node linkType: hard @@ -4253,18 +4389,18 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/docs-tools@npm:7.6.17" +"@storybook/docs-tools@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/docs-tools@npm:7.6.19" dependencies: - "@storybook/core-common": "npm:7.6.17" - "@storybook/preview-api": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/core-common": "npm:7.6.19" + "@storybook/preview-api": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/doctrine": "npm:^0.0.3" assert: "npm:^2.1.0" doctrine: "npm:^3.0.0" lodash: "npm:^4.17.21" - checksum: 10c0/38473d0ce609cee38df5a8f3ad34a23ce6050e06b492cab51052ba67a2c6ecece532e0dee9f5e3cc5dee3d7105233289d05465a7ae0f5cb94fd2bbda1c267d38 + checksum: 10c0/667f3da08737e186dae79369b78e65b428aa49b9d58dc2ecac087420548e45fb680880c8934289c8c2ddc8ed19c2042f72bada1949076b2cda459df1628e29cd languageName: node linkType: hard @@ -4297,10 +4433,10 @@ __metadata: languageName: node linkType: hard -"@storybook/manager@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/manager@npm:7.6.17" - checksum: 10c0/e703466e95b0fca58963ac0abec188164e6bce904471171dd360c0d63ead0183a5b242db034af63157acd42d38348984e5fe4e6414af6190234c4d5d41608cee +"@storybook/manager@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/manager@npm:7.6.19" + checksum: 10c0/e145747a28cc10507f572f1c0f22b5dbf4ccf346e64614946d9bb57b048768a0fa83cb3d24dfe7a24fb43ed070c82f5c0c768bf1b6e9667ddc8c732e66512b25 languageName: node linkType: hard @@ -4311,17 +4447,24 @@ __metadata: languageName: node linkType: hard -"@storybook/preset-react-webpack@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/preset-react-webpack@npm:7.6.17" +"@storybook/node-logger@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/node-logger@npm:7.6.19" + checksum: 10c0/cfb5ff9b6135cf59a9ea61613bcb6786485bf7a41593ad0d02d4d3f833ee672057bb7741cbd40baf79f7fdf1b45e80b86528d4b67a6f20ffdb93a8b83956eedd + languageName: node + linkType: hard + +"@storybook/preset-react-webpack@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/preset-react-webpack@npm:7.6.19" dependencies: "@babel/preset-flow": "npm:^7.22.15" "@babel/preset-react": "npm:^7.22.15" "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11" - "@storybook/core-webpack": "npm:7.6.17" - "@storybook/docs-tools": "npm:7.6.17" - "@storybook/node-logger": "npm:7.6.17" - "@storybook/react": "npm:7.6.17" + "@storybook/core-webpack": "npm:7.6.19" + "@storybook/docs-tools": "npm:7.6.19" + "@storybook/node-logger": "npm:7.6.19" + "@storybook/react": "npm:7.6.19" "@storybook/react-docgen-typescript-plugin": "npm:1.0.6--canary.9.0c3f3b7.0" "@types/node": "npm:^18.0.0" "@types/semver": "npm:^7.3.4" @@ -4341,11 +4484,33 @@ __metadata: optional: true typescript: optional: true - checksum: 10c0/092af3e2fed5fd17750dea11809981e9baa2d02f69f1fcc66da21e49aec006820ad72a45d53f96bdfee1c6481370c2a15d9bda626681d7ac09d2c22e7eb1e77d + checksum: 10c0/195016181d078d2822a1670408538f866b1acd1ee005f5ced63c5581e12f12aef232f86d1748cad27a1669409d7046c9423cf00c39a8c59883bd4a880a15d75e languageName: node linkType: hard -"@storybook/preview-api@npm:7.6.17, @storybook/preview-api@npm:^7.0.12": +"@storybook/preview-api@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/preview-api@npm:7.6.19" + dependencies: + "@storybook/channels": "npm:7.6.19" + "@storybook/client-logger": "npm:7.6.19" + "@storybook/core-events": "npm:7.6.19" + "@storybook/csf": "npm:^0.1.2" + "@storybook/global": "npm:^5.0.0" + "@storybook/types": "npm:7.6.19" + "@types/qs": "npm:^6.9.5" + dequal: "npm:^2.0.2" + lodash: "npm:^4.17.21" + memoizerific: "npm:^1.11.3" + qs: "npm:^6.10.0" + synchronous-promise: "npm:^2.0.15" + ts-dedent: "npm:^2.0.0" + util-deprecate: "npm:^1.0.2" + checksum: 10c0/4c43ed02034e07070087308093899df809a14d1152bd1aff90e1f2a285e4f6e7fd5844d0c8de1be64c5883b040b6ae509ef9dae621acbca00ffb3f4eec4882b3 + languageName: node + linkType: hard + +"@storybook/preview-api@npm:^7.0.12": version: 7.6.17 resolution: "@storybook/preview-api@npm:7.6.17" dependencies: @@ -4367,10 +4532,10 @@ __metadata: languageName: node linkType: hard -"@storybook/preview@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/preview@npm:7.6.17" - checksum: 10c0/b4a2394c4622ff7291ba1b161d537902c53ed52ae3511c65e10c934b04463f6e7e55487b88889800acab55ea1c0aa33ea2a207786f3e06eda4617787f859da6b +"@storybook/preview@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/preview@npm:7.6.19" + checksum: 10c0/7a75392738f55d115b404fc41a00351e23733b10b95fffd75e1af4043469dc8d1cefeca1cfa88145aa0f8d4a856986804b617e3254f5eed2a588bf13203e3dfa languageName: node linkType: hard @@ -4392,23 +4557,23 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/react-dom-shim@npm:7.6.17" +"@storybook/react-dom-shim@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/react-dom-shim@npm:7.6.19" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/20558c58f9f0a3a00c5a1bbf2aa3517e3d318e6528f503129c99fb9ee4b604a225e79725f67e01e6e99d5d8c7db0614575dcc89af7768381afe59c976cb7cfc0 + checksum: 10c0/bed132060ffe000fa73bb90c5325afbb22b74346e23f382becabd4e05889e9f0199527782f454bf5fc409174b56d80f50ab3fcd8fc674148117724b22b303c30 languageName: node linkType: hard -"@storybook/react-webpack5@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/react-webpack5@npm:7.6.17" +"@storybook/react-webpack5@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/react-webpack5@npm:7.6.19" dependencies: - "@storybook/builder-webpack5": "npm:7.6.17" - "@storybook/preset-react-webpack": "npm:7.6.17" - "@storybook/react": "npm:7.6.17" + "@storybook/builder-webpack5": "npm:7.6.19" + "@storybook/preset-react-webpack": "npm:7.6.19" + "@storybook/react": "npm:7.6.19" "@types/node": "npm:^18.0.0" peerDependencies: "@babel/core": ^7.22.0 @@ -4420,21 +4585,21 @@ __metadata: optional: true typescript: optional: true - checksum: 10c0/c95317c225fba4ae0cd93f3b602d758adb598dd8952ea0fee425809ba991086a0260a64eb3e6f815a8c99a877cc97af9a2d21862b178f4e0249818e3454d0193 + checksum: 10c0/0d858c33bbfe998f7c0238af67a8191542f3525bc6b1f72df2e8b57f3e4d89cc3a6ca7ba28084f87545ae115863034bf3b91112b07779a5988a283829589509f languageName: node linkType: hard -"@storybook/react@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/react@npm:7.6.17" +"@storybook/react@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/react@npm:7.6.19" dependencies: - "@storybook/client-logger": "npm:7.6.17" - "@storybook/core-client": "npm:7.6.17" - "@storybook/docs-tools": "npm:7.6.17" + "@storybook/client-logger": "npm:7.6.19" + "@storybook/core-client": "npm:7.6.19" + "@storybook/docs-tools": "npm:7.6.19" "@storybook/global": "npm:^5.0.0" - "@storybook/preview-api": "npm:7.6.17" - "@storybook/react-dom-shim": "npm:7.6.17" - "@storybook/types": "npm:7.6.17" + "@storybook/preview-api": "npm:7.6.19" + "@storybook/react-dom-shim": "npm:7.6.19" + "@storybook/types": "npm:7.6.19" "@types/escodegen": "npm:^0.0.6" "@types/estree": "npm:^0.0.51" "@types/node": "npm:^18.0.0" @@ -4456,7 +4621,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/747bb48413865701716652b9587c8c5b07cc51cb1d54125a69a4ec355f24fdcfc3a9d925a0b6268786875e97addf435e10efe737450e50eea1d19408049674e6 + checksum: 10c0/cddfc34ade9bad3411c1228633b2c63496cbe8edadb8dac0bbfda4669d2bfdfb0984cfe8c1db247c55d2a675da3ddb8bd4ddeb7b69f0f9d1098882e129bffc47 languageName: node linkType: hard @@ -4471,32 +4636,32 @@ __metadata: languageName: node linkType: hard -"@storybook/source-loader@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/source-loader@npm:7.6.17" +"@storybook/source-loader@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/source-loader@npm:7.6.19" dependencies: "@storybook/csf": "npm:^0.1.2" - "@storybook/types": "npm:7.6.17" + "@storybook/types": "npm:7.6.19" estraverse: "npm:^5.2.0" lodash: "npm:^4.17.21" prettier: "npm:^2.8.0" - checksum: 10c0/afa80234f17aa6831a5cd3792e53e57bc2ea9b065ac435b5711d04c1a14c88d188dc05f61a9de25284969ceb506ead98d076c2e82f79b5ca67d69b2d6b08b19f + checksum: 10c0/441b0ad446e3cf1de9bd5c27dccb96d87abfe6feb56133ba90871f6dc43b8c286b3d5581282e2ee3a0e163e7cc0a6618734e8225dda107588bef4ccd5d612ae7 languageName: node linkType: hard -"@storybook/telemetry@npm:7.6.17": - version: 7.6.17 - resolution: "@storybook/telemetry@npm:7.6.17" +"@storybook/telemetry@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/telemetry@npm:7.6.19" dependencies: - "@storybook/client-logger": "npm:7.6.17" - "@storybook/core-common": "npm:7.6.17" - "@storybook/csf-tools": "npm:7.6.17" + "@storybook/client-logger": "npm:7.6.19" + "@storybook/core-common": "npm:7.6.19" + "@storybook/csf-tools": "npm:7.6.19" chalk: "npm:^4.1.0" detect-package-manager: "npm:^2.0.1" fetch-retry: "npm:^5.0.2" fs-extra: "npm:^11.1.0" read-pkg-up: "npm:^7.0.1" - checksum: 10c0/2d13afef0fd73982c1efec1598583ed592bd608bbc61f9c4d96c47be9202d80043041764e00ea3b10b0636417cfbfe7b3d13c6898187a09554c8a696f89ac226 + checksum: 10c0/78b1d65363abf043f00e7e99489d6502e62dfe5ff31156668e3fd2931d3f7768ddfd72957072b8c96363bf5a5446c4f46803d4c342020c732d9ed6fe41787282 languageName: node linkType: hard @@ -4527,6 +4692,18 @@ __metadata: languageName: node linkType: hard +"@storybook/types@npm:7.6.19": + version: 7.6.19 + resolution: "@storybook/types@npm:7.6.19" + dependencies: + "@storybook/channels": "npm:7.6.19" + "@types/babel__core": "npm:^7.0.0" + "@types/express": "npm:^4.7.0" + file-system-cache: "npm:2.3.0" + checksum: 10c0/6df3b74b0164c44e7edf2eb77458daac90b4facdd739bbec09498e88dfa6d29bf61cff9d937b7c27145f8e7029bc50a28d306c66ebafc868ad042bf73ff4aaf9 + languageName: node + linkType: hard + "@swc/core-darwin-arm64@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-darwin-arm64@npm:1.4.2" @@ -4534,6 +4711,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-arm64@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-darwin-arm64@npm:1.5.24" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-darwin-x64@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-darwin-x64@npm:1.4.2" @@ -4541,6 +4725,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-x64@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-darwin-x64@npm:1.5.24" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@swc/core-linux-arm-gnueabihf@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.2" @@ -4548,6 +4739,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm-gnueabihf@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.5.24" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@swc/core-linux-arm64-gnu@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-linux-arm64-gnu@npm:1.4.2" @@ -4555,6 +4753,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-gnu@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-linux-arm64-gnu@npm:1.5.24" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-arm64-musl@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-linux-arm64-musl@npm:1.4.2" @@ -4562,6 +4767,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-musl@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-linux-arm64-musl@npm:1.5.24" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@swc/core-linux-x64-gnu@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-linux-x64-gnu@npm:1.4.2" @@ -4569,6 +4781,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-gnu@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-linux-x64-gnu@npm:1.5.24" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-x64-musl@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-linux-x64-musl@npm:1.4.2" @@ -4576,6 +4795,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-musl@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-linux-x64-musl@npm:1.5.24" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@swc/core-win32-arm64-msvc@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-win32-arm64-msvc@npm:1.4.2" @@ -4583,6 +4809,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-arm64-msvc@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-win32-arm64-msvc@npm:1.5.24" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-win32-ia32-msvc@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-win32-ia32-msvc@npm:1.4.2" @@ -4590,6 +4823,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-ia32-msvc@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-win32-ia32-msvc@npm:1.5.24" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@swc/core-win32-x64-msvc@npm:1.4.2": version: 1.4.2 resolution: "@swc/core-win32-x64-msvc@npm:1.4.2" @@ -4597,7 +4837,60 @@ __metadata: languageName: node linkType: hard -"@swc/core@npm:1.4.2, @swc/core@npm:^1.3.82": +"@swc/core-win32-x64-msvc@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core-win32-x64-msvc@npm:1.5.24" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@swc/core@npm:1.5.24": + version: 1.5.24 + resolution: "@swc/core@npm:1.5.24" + dependencies: + "@swc/core-darwin-arm64": "npm:1.5.24" + "@swc/core-darwin-x64": "npm:1.5.24" + "@swc/core-linux-arm-gnueabihf": "npm:1.5.24" + "@swc/core-linux-arm64-gnu": "npm:1.5.24" + "@swc/core-linux-arm64-musl": "npm:1.5.24" + "@swc/core-linux-x64-gnu": "npm:1.5.24" + "@swc/core-linux-x64-musl": "npm:1.5.24" + "@swc/core-win32-arm64-msvc": "npm:1.5.24" + "@swc/core-win32-ia32-msvc": "npm:1.5.24" + "@swc/core-win32-x64-msvc": "npm:1.5.24" + "@swc/counter": "npm:^0.1.3" + "@swc/types": "npm:^0.1.7" + peerDependencies: + "@swc/helpers": "*" + dependenciesMeta: + "@swc/core-darwin-arm64": + optional: true + "@swc/core-darwin-x64": + optional: true + "@swc/core-linux-arm-gnueabihf": + optional: true + "@swc/core-linux-arm64-gnu": + optional: true + "@swc/core-linux-arm64-musl": + optional: true + "@swc/core-linux-x64-gnu": + optional: true + "@swc/core-linux-x64-musl": + optional: true + "@swc/core-win32-arm64-msvc": + optional: true + "@swc/core-win32-ia32-msvc": + optional: true + "@swc/core-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc/helpers": + optional: true + checksum: 10c0/7deec75ff91132bd5c3382760f20fa8e8f7ee56f95b52510a863c199f25dba9493da569d4278cec9bcea557b867993237a688a95b125d3ec19289290022e96d4 + languageName: node + linkType: hard + +"@swc/core@npm:^1.3.82": version: 1.4.2 resolution: "@swc/core@npm:1.4.2" dependencies: @@ -4670,6 +4963,15 @@ __metadata: languageName: node linkType: hard +"@swc/types@npm:^0.1.7": + version: 0.1.7 + resolution: "@swc/types@npm:0.1.7" + dependencies: + "@swc/counter": "npm:^0.1.3" + checksum: 10c0/da7c542de0a44b85a98139db03920448e86309d28ad9e9335f91b4025e5f32ae4fbbfdd0f287330fb0de737e7c5ec4f64ade0fc5fffea6c2fd9ac681b1e97bea + languageName: node + linkType: hard + "@testing-library/dom@npm:^9.0.0": version: 9.3.4 resolution: "@testing-library/dom@npm:9.3.4" @@ -4686,9 +4988,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:6.4.2": - version: 6.4.2 - resolution: "@testing-library/jest-dom@npm:6.4.2" +"@testing-library/jest-dom@npm:6.4.5": + version: 6.4.5 + resolution: "@testing-library/jest-dom@npm:6.4.5" dependencies: "@adobe/css-tools": "npm:^4.3.2" "@babel/runtime": "npm:^7.9.2" @@ -4696,7 +4998,7 @@ __metadata: chalk: "npm:^3.0.0" css.escape: "npm:^1.5.1" dom-accessibility-api: "npm:^0.6.3" - lodash: "npm:^4.17.15" + lodash: "npm:^4.17.21" redent: "npm:^3.0.0" peerDependencies: "@jest/globals": ">= 28" @@ -4715,13 +5017,13 @@ __metadata: optional: true vitest: optional: true - checksum: 10c0/e7eba527b34ce30cde94424d2ec685bdfed51daaafb7df9b68b51aec6052e99a50c8bfe654612dacdf857a1eb81d68cf294fc89de558ee3a992bf7a6019fffcc + checksum: 10c0/4cfdd44e2abab2b9d399c47cbfe686729bb65160d7df0f9e2329aaaea7702f6e852a9eefb29b468f00c1e5a5274b684f8cac76959d33299dfa909ba007ea191d languageName: node linkType: hard -"@testing-library/react@npm:14.2.1": - version: 14.2.1 - resolution: "@testing-library/react@npm:14.2.1" +"@testing-library/react@npm:14.3.1": + version: 14.3.1 + resolution: "@testing-library/react@npm:14.3.1" dependencies: "@babel/runtime": "npm:^7.12.5" "@testing-library/dom": "npm:^9.0.0" @@ -4729,7 +5031,7 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 10c0/83b35cf8bf5640f1b63b32223ebc75799dc1a8e034d819120b26838fba0b0ab10bdbe6ad07dd8ae8287365f2b0c52dc9892a6fa11bb24d3e63ad97dfb7f2f296 + checksum: 10c0/1ccf4eb1510500cc20a805cb0244c9098dca28a8745173a8f71ea1274d63774f0b7898a35c878b43c797b89c13621548909ff37843b835c1a27ee1efbbdd098c languageName: node linkType: hard @@ -5548,67 +5850,67 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:7.1.0": - version: 7.1.0 - resolution: "@typescript-eslint/parser@npm:7.1.0" +"@typescript-eslint/parser@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/parser@npm:7.11.0" dependencies: - "@typescript-eslint/scope-manager": "npm:7.1.0" - "@typescript-eslint/types": "npm:7.1.0" - "@typescript-eslint/typescript-estree": "npm:7.1.0" - "@typescript-eslint/visitor-keys": "npm:7.1.0" + "@typescript-eslint/scope-manager": "npm:7.11.0" + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/typescript-estree": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/8fcbfc8c0c86abb750173096e7ca09e1cd44aba3f6115bdb94ffb6b409b86ee23526e9d5a44935b69a6be2385893e66d8e55d92063206028dc48f70d379afcab + checksum: 10c0/f5d1343fae90ccd91aea8adf194e22ed3eb4b2ea79d03d8a9ca6e7b669a6db306e93138ec64f7020c5b3128619d50304dea1f06043eaff6b015071822cad4972 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.1.0": - version: 7.1.0 - resolution: "@typescript-eslint/scope-manager@npm:7.1.0" +"@typescript-eslint/scope-manager@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/scope-manager@npm:7.11.0" dependencies: - "@typescript-eslint/types": "npm:7.1.0" - "@typescript-eslint/visitor-keys": "npm:7.1.0" - checksum: 10c0/2fd167730bbe984343ab94739b00bd82e8cdeea9e63674b099cc5c89b420b28dbf79f40dab48022dc717db8d14ae6ee2739e0fcbdcc0321bc9da5f2602b55788 + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.0" + checksum: 10c0/35f9d88f38f2366017b15c9ee752f2605afa8009fa1eaf81c8b2b71fc22ddd2a33fff794a02015c8991a5fa99f315c3d6d76a5957d3fad1ccbb4cd46735c98b5 languageName: node linkType: hard -"@typescript-eslint/types@npm:7.1.0": - version: 7.1.0 - resolution: "@typescript-eslint/types@npm:7.1.0" - checksum: 10c0/095cde3e773b7605c5e0c86642002768ced09e94def7f3c6f49a67863f47d7c8ae15413a4ab1a2407f779d1b5ede5fb3000bc98b1cf9ed7ec938acc38cac89e7 +"@typescript-eslint/types@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/types@npm:7.11.0" + checksum: 10c0/c5d6c517124017eb44aa180c8ea1fad26ec8e47502f92fd12245ba3141560e69d7f7e35b8aa160ddd5df63a2952af407e2f62cc58b663c86e1f778ffb5b01789 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.1.0": - version: 7.1.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.1.0" +"@typescript-eslint/typescript-estree@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.11.0" dependencies: - "@typescript-eslint/types": "npm:7.1.0" - "@typescript-eslint/visitor-keys": "npm:7.1.0" + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" - minimatch: "npm:9.0.3" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/063845dc8526dfda722d1b00960443a5158d1bce2bc39bf49bd353f33f42aa30116105a87b55a04df3eaef99c0d1c13fb987c53848dff43de6152c66dd3ba41c + checksum: 10c0/a4eda43f352d20edebae0c1c221c4fd9de0673a94988cf1ae3f5e4917ef9cdb9ead8d3673ea8dd6e80d9cf3523a47c295be1326a3fae017b277233f4c4b4026b languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.1.0": - version: 7.1.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.1.0" +"@typescript-eslint/visitor-keys@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.11.0" dependencies: - "@typescript-eslint/types": "npm:7.1.0" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 10c0/9015a10e6ee2a99fc99e0f7a3f274496a813c2c239e868f29e7c0da919c825fe192fe21d3410c43d8a801e8186b51f08ef06523d2c3010570d893a1486ac293d + "@typescript-eslint/types": "npm:7.11.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10c0/664e558d9645896484b7ffc9381837f0d52443bf8d121a5586d02d42ca4d17dc35faf526768c4b1beb52c57c43fae555898eb087651eb1c7a3d60f1085effea1 languageName: node linkType: hard @@ -5832,14 +6134,14 @@ __metadata: languageName: node linkType: hard -"@zkochan/js-yaml@npm:0.0.6": - version: 0.0.6 - resolution: "@zkochan/js-yaml@npm:0.0.6" +"@zkochan/js-yaml@npm:0.0.7": + version: 0.0.7 + resolution: "@zkochan/js-yaml@npm:0.0.7" dependencies: argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/5ce27ae75fb1db9657d4065bf6b380b4c0f756feb1bdf42bfde40551a74bcc0ec918f748cbdbd5d95b7107d00bc2f731ee731b5cfe93acb6f7da5639b16aa1f8 + checksum: 10c0/c8b3525717912811f9422ed50e94c5751ed6f771eb1b7e5cde097f14835654931e2bdaecb1e5fc37b51cf8d822410a307f16dd1581d46149398c30215f3f9bac languageName: node linkType: hard @@ -6271,6 +6573,20 @@ __metadata: languageName: node linkType: hard +"array-includes@npm:^3.1.8": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + is-string: "npm:^1.0.7" + checksum: 10c0/5b1004d203e85873b96ddc493f090c9672fd6c80d7a60b798da8a14bff8a670ff95db5aafc9abc14a211943f05220dacf8ea17638ae0af1a6a47b8c0b48ce370 + languageName: node + linkType: hard + "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -6291,6 +6607,20 @@ __metadata: languageName: node linkType: hard +"array.prototype.findlast@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlast@npm:1.2.5" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10c0/ddc952b829145ab45411b9d6adcb51a8c17c76bf89c9dd64b52d5dffa65d033da8c076ed2e17091779e83bc892b9848188d7b4b33453c5565e65a92863cb2775 + languageName: node + linkType: hard + "array.prototype.findlastindex@npm:^1.2.3": version: 1.2.4 resolution: "array.prototype.findlastindex@npm:1.2.4" @@ -6316,28 +6646,40 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": - version: 1.3.2 - resolution: "array.prototype.flatmap@npm:1.3.2" +"array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" + dependencies: + call-bind: "npm:^1.0.2" + define-properties: "npm:^1.2.0" + es-abstract: "npm:^1.22.1" + es-shim-unscopables: "npm:^1.0.0" + checksum: 10c0/67b3f1d602bb73713265145853128b1ad77cc0f9b833c7e1e056b323fbeac41a4ff1c9c99c7b9445903caea924d9ca2450578d9011913191aa88cc3c3a4b54f4 + languageName: node + linkType: hard + +"array.prototype.toreversed@npm:^1.1.2": + version: 1.1.2 + resolution: "array.prototype.toreversed@npm:1.1.2" dependencies: call-bind: "npm:^1.0.2" define-properties: "npm:^1.2.0" es-abstract: "npm:^1.22.1" es-shim-unscopables: "npm:^1.0.0" - checksum: 10c0/67b3f1d602bb73713265145853128b1ad77cc0f9b833c7e1e056b323fbeac41a4ff1c9c99c7b9445903caea924d9ca2450578d9011913191aa88cc3c3a4b54f4 + checksum: 10c0/2b7627ea85eae1e80ecce665a500cc0f3355ac83ee4a1a727562c7c2a1d5f1c0b4dd7b65c468ec6867207e452ba01256910a2c0b41486bfdd11acf875a7a3435 languageName: node linkType: hard -"array.prototype.tosorted@npm:^1.1.1": - version: 1.1.3 - resolution: "array.prototype.tosorted@npm:1.1.3" +"array.prototype.tosorted@npm:^1.1.3": + version: 1.1.4 + resolution: "array.prototype.tosorted@npm:1.1.4" dependencies: - call-bind: "npm:^1.0.5" + call-bind: "npm:^1.0.7" define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.22.3" - es-errors: "npm:^1.1.0" + es-abstract: "npm:^1.23.3" + es-errors: "npm:^1.3.0" es-shim-unscopables: "npm:^1.0.2" - checksum: 10c0/a27e1ca51168ecacf6042901f5ef021e43c8fa04b6c6b6f2a30bac3645cd2b519cecbe0bc45db1b85b843f64dc3207f0268f700b4b9fbdec076d12d432cf0865 + checksum: 10c0/eb3c4c4fc0381b0bf6dba2ea4d48d367c2827a0d4236a5718d97caaccc6b78f11f4cadf090736e86301d295a6aa4967ed45568f92ced51be8cbbacd9ca410943 languageName: node linkType: hard @@ -6407,15 +6749,6 @@ __metadata: languageName: node linkType: hard -"asynciterator.prototype@npm:^1.0.0": - version: 1.0.0 - resolution: "asynciterator.prototype@npm:1.0.0" - dependencies: - has-symbols: "npm:^1.0.3" - checksum: 10c0/fb76850e57d931ff59fd16b6cddb79b0d34fe45f400b2c3480d38892e72cd089787401687dbdb7cdb14ece402c275d3e02a648760d1489cd493527129c4c6204 - languageName: node - linkType: hard - "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -6423,12 +6756,12 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:10.4.17": - version: 10.4.17 - resolution: "autoprefixer@npm:10.4.17" +"autoprefixer@npm:10.4.19": + version: 10.4.19 + resolution: "autoprefixer@npm:10.4.19" dependencies: - browserslist: "npm:^4.22.2" - caniuse-lite: "npm:^1.0.30001578" + browserslist: "npm:^4.23.0" + caniuse-lite: "npm:^1.0.30001599" fraction.js: "npm:^4.3.7" normalize-range: "npm:^0.1.2" picocolors: "npm:^1.0.0" @@ -6437,7 +6770,7 @@ __metadata: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: 10c0/1d21cc8edb7bf993682094ceed03a32c18f5293f071182a64c2c6defb44bbe91d576ad775d2347469a81997b80cea0bbc4ad3eeb5b12710f9feacf2e6c04bb51 + checksum: 10c0/fe0178eb8b1da4f15c6535cd329926609b22d1811e047371dccce50563623f8075dd06fb167daff059e4228da651b0bdff6d9b44281541eaf0ce0b79125bfd19 languageName: node linkType: hard @@ -6744,7 +7077,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.21.10, browserslist@npm:^4.22.2, browserslist@npm:^4.22.3": +"browserslist@npm:^4.21.10, browserslist@npm:^4.22.2, browserslist@npm:^4.22.3, browserslist@npm:^4.23.0": version: 4.23.0 resolution: "browserslist@npm:4.23.0" dependencies: @@ -6805,7 +7138,7 @@ __metadata: languageName: node linkType: hard -"builtins@npm:^5.0.0, builtins@npm:^5.0.1": +"builtins@npm:^5.0.0": version: 5.0.1 resolution: "builtins@npm:5.0.1" dependencies: @@ -6937,13 +7270,20 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001578, caniuse-lite@npm:^1.0.30001587": +"caniuse-lite@npm:^1.0.30001587": version: 1.0.30001591 resolution: "caniuse-lite@npm:1.0.30001591" checksum: 10c0/21937d341c3d75994504db21340f65573a1e847a8ab33ee4964ed493994d6552864c494ba144485459abd9c711c75c0708bc9fa19f2bff525bff75ffb0a42c3b languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001599": + version: 1.0.30001627 + resolution: "caniuse-lite@npm:1.0.30001627" + checksum: 10c0/67d39ca4bead791876c42220b4fe5bd22ba03dbec42f102f0ea9271be3df21bfdb6ba2b0f0dd9eb339eebfc96de3a42a3a5f3fc179ef47229ee5055301217572 + languageName: node + linkType: hard + "case-sensitive-paths-webpack-plugin@npm:^2.4.0": version: 2.4.0 resolution: "case-sensitive-paths-webpack-plugin@npm:2.4.0" @@ -7986,9 +8326,9 @@ __metadata: languageName: node linkType: hard -"d3@npm:7.8.5": - version: 7.8.5 - resolution: "d3@npm:7.8.5" +"d3@npm:7.9.0": + version: 7.9.0 + resolution: "d3@npm:7.9.0" dependencies: d3-array: "npm:3" d3-axis: "npm:3" @@ -8020,7 +8360,7 @@ __metadata: d3-timer: "npm:3" d3-transition: "npm:3" d3-zoom: "npm:3" - checksum: 10c0/408758dcc2437cbff8cd207b9d82760030b5c53c1df6a2ce5b1a76633388a6892fd65c0632cfa83da963e239722d49805062e5fb05d99e0fb078bda14cb22222 + checksum: 10c0/3dd9c08c73cfaa69c70c49e603c85e049c3904664d9c79a1a52a0f52795828a1ff23592dc9a7b2257e711d68a615472a13103c212032f38e016d609796e087e8 languageName: node linkType: hard @@ -8042,6 +8382,39 @@ __metadata: languageName: node linkType: hard +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10c0/8984119e59dbed906a11fcfb417d7d861936f16697a0e7216fe2c6c810f6b5e8f4a5281e73f2c28e8e9259027190ac4a33e2a65fdd7fa86ac06b76e838918583 + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10c0/b7d9e48a0cf5aefed9ab7d123559917b2d7e0d65531f43b2fd95b9d3a6b46042dd3fca597c42bba384e66b70d7ad66ff23932f8367b241f53d93af42cfe04ec2 + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" + dependencies: + call-bind: "npm:^1.0.6" + es-errors: "npm:^1.3.0" + is-data-view: "npm:^1.0.1" + checksum: 10c0/21b0d2e53fd6e20cc4257c873bf6d36d77bd6185624b84076c0a1ddaa757b49aaf076254006341d35568e89f52eecd1ccb1a502cfb620f2beca04f48a6a62a8f + languageName: node + linkType: hard + "dateformat@npm:^3.0.3": version: 3.0.3 resolution: "dateformat@npm:3.0.3" @@ -8690,7 +9063,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.22.4": +"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3": version: 1.22.4 resolution: "es-abstract@npm:1.22.4" dependencies: @@ -8739,6 +9112,60 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" + dependencies: + array-buffer-byte-length: "npm:^1.0.1" + arraybuffer.prototype.slice: "npm:^1.0.3" + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + data-view-buffer: "npm:^1.0.1" + data-view-byte-length: "npm:^1.0.1" + data-view-byte-offset: "npm:^1.0.0" + es-define-property: "npm:^1.0.0" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-set-tostringtag: "npm:^2.0.3" + es-to-primitive: "npm:^1.2.1" + function.prototype.name: "npm:^1.1.6" + get-intrinsic: "npm:^1.2.4" + get-symbol-description: "npm:^1.0.2" + globalthis: "npm:^1.0.3" + gopd: "npm:^1.0.1" + has-property-descriptors: "npm:^1.0.2" + has-proto: "npm:^1.0.3" + has-symbols: "npm:^1.0.3" + hasown: "npm:^2.0.2" + internal-slot: "npm:^1.0.7" + is-array-buffer: "npm:^3.0.4" + is-callable: "npm:^1.2.7" + is-data-view: "npm:^1.0.1" + is-negative-zero: "npm:^2.0.3" + is-regex: "npm:^1.1.4" + is-shared-array-buffer: "npm:^1.0.3" + is-string: "npm:^1.0.7" + is-typed-array: "npm:^1.1.13" + is-weakref: "npm:^1.0.2" + object-inspect: "npm:^1.13.1" + object-keys: "npm:^1.1.1" + object.assign: "npm:^4.1.5" + regexp.prototype.flags: "npm:^1.5.2" + safe-array-concat: "npm:^1.1.2" + safe-regex-test: "npm:^1.0.3" + string.prototype.trim: "npm:^1.2.9" + string.prototype.trimend: "npm:^1.0.8" + string.prototype.trimstart: "npm:^1.0.8" + typed-array-buffer: "npm:^1.0.2" + typed-array-byte-length: "npm:^1.0.1" + typed-array-byte-offset: "npm:^1.0.2" + typed-array-length: "npm:^1.0.6" + unbox-primitive: "npm:^1.0.2" + which-typed-array: "npm:^1.1.15" + checksum: 10c0/d27e9afafb225c6924bee9971a7f25f20c314f2d6cb93a63cada4ac11dcf42040896a6c22e5fb8f2a10767055ed4ddf400be3b1eb12297d281726de470b75666 + languageName: node + linkType: hard + "es-array-method-boxes-properly@npm:^1.0.0": version: 1.0.0 resolution: "es-array-method-boxes-properly@npm:1.0.0" @@ -8755,7 +9182,7 @@ __metadata: languageName: node linkType: hard -"es-errors@npm:^1.0.0, es-errors@npm:^1.1.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": +"es-errors@npm:^1.0.0, es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: 10c0/0a61325670072f98d8ae3b914edab3559b6caa980f08054a3b872052640d91da01d38df55df797fcc916389d77fc92b8d5906cf028f4db46d7e3003abecbca85 @@ -8779,26 +9206,25 @@ __metadata: languageName: node linkType: hard -"es-iterator-helpers@npm:^1.0.12": - version: 1.0.17 - resolution: "es-iterator-helpers@npm:1.0.17" +"es-iterator-helpers@npm:^1.0.19": + version: 1.0.19 + resolution: "es-iterator-helpers@npm:1.0.19" dependencies: - asynciterator.prototype: "npm:^1.0.0" call-bind: "npm:^1.0.7" define-properties: "npm:^1.2.1" - es-abstract: "npm:^1.22.4" + es-abstract: "npm:^1.23.3" es-errors: "npm:^1.3.0" - es-set-tostringtag: "npm:^2.0.2" + es-set-tostringtag: "npm:^2.0.3" function-bind: "npm:^1.1.2" get-intrinsic: "npm:^1.2.4" globalthis: "npm:^1.0.3" has-property-descriptors: "npm:^1.0.2" - has-proto: "npm:^1.0.1" + has-proto: "npm:^1.0.3" has-symbols: "npm:^1.0.3" internal-slot: "npm:^1.0.7" iterator.prototype: "npm:^1.1.2" - safe-array-concat: "npm:^1.1.0" - checksum: 10c0/d0f281257e7165f068fd4fc3beb63d07ae4f18fbef02a2bbe4a39272b764164c1ce3311ae7c5429ac30003aef290fcdf569050e4a9ba3560e044440f68e9a47c + safe-array-concat: "npm:^1.1.2" + checksum: 10c0/ae8f0241e383b3d197383b9842c48def7fce0255fb6ed049311b686ce295595d9e389b466f6a1b7d4e7bb92d82f5e716d6fae55e20c1040249bf976743b038c5 languageName: node linkType: hard @@ -8809,7 +9235,16 @@ __metadata: languageName: node linkType: hard -"es-set-tostringtag@npm:^2.0.2": +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" + dependencies: + es-errors: "npm:^1.3.0" + checksum: 10c0/1fed3d102eb27ab8d983337bb7c8b159dd2a1e63ff833ec54eea1311c96d5b08223b433060ba240541ca8adba9eee6b0a60cdbf2f80634b784febc9cc8b687b4 + languageName: node + linkType: hard + +"es-set-tostringtag@npm:^2.0.2, es-set-tostringtag@npm:^2.0.3": version: 2.0.3 resolution: "es-set-tostringtag@npm:2.0.3" dependencies: @@ -9083,59 +9518,58 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-n@npm:16.6.2": - version: 16.6.2 - resolution: "eslint-plugin-n@npm:16.6.2" +"eslint-plugin-n@npm:17.7.0": + version: 17.7.0 + resolution: "eslint-plugin-n@npm:17.7.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - builtins: "npm:^5.0.1" + enhanced-resolve: "npm:^5.15.0" eslint-plugin-es-x: "npm:^7.5.0" get-tsconfig: "npm:^4.7.0" - globals: "npm:^13.24.0" + globals: "npm:^15.0.0" ignore: "npm:^5.2.4" - is-builtin-module: "npm:^3.2.1" - is-core-module: "npm:^2.12.1" - minimatch: "npm:^3.1.2" - resolve: "npm:^1.22.2" + minimatch: "npm:^9.0.0" semver: "npm:^7.5.3" peerDependencies: - eslint: ">=7.0.0" - checksum: 10c0/6008493754b51c6b9ce18c17e7c3d455b69444d2c454dd399a5c2f1b833bb5a649992052f141a5dd695d22e3946a518063b2dd01e872c67dc0294eb143b80633 + eslint: ">=8.23.0" + checksum: 10c0/f54b7a1a17540e8b4b3eb02aa93908b8ebf2141c5c3962d17788636c7528481be7cb36b102ced7b70ed1c684b4cfef64fa6a991f7479abc0f46d27207894b584 languageName: node linkType: hard -"eslint-plugin-promise@npm:6.1.1": - version: 6.1.1 - resolution: "eslint-plugin-promise@npm:6.1.1" +"eslint-plugin-promise@npm:6.2.0": + version: 6.2.0 + resolution: "eslint-plugin-promise@npm:6.2.0" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: 10c0/ec705741c110cd1cb4d702776e1c7f7fe60b671b71f706c88054ab443cf2767aae5a663928fb426373ba1095eaeda312a740a4f880546631f0e0727f298b3393 + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + checksum: 10c0/5f42ee774023c089453ecb792076c64c6d0739ea6e9d6cdc9d6a63da5ba928c776e349d01cc110548f2c67045ec55343136aa7eb8b486e4ab145ac016c06a492 languageName: node linkType: hard -"eslint-plugin-react@npm:7.33.2": - version: 7.33.2 - resolution: "eslint-plugin-react@npm:7.33.2" +"eslint-plugin-react@npm:7.34.2": + version: 7.34.2 + resolution: "eslint-plugin-react@npm:7.34.2" dependencies: - array-includes: "npm:^3.1.6" - array.prototype.flatmap: "npm:^1.3.1" - array.prototype.tosorted: "npm:^1.1.1" + array-includes: "npm:^3.1.8" + array.prototype.findlast: "npm:^1.2.5" + array.prototype.flatmap: "npm:^1.3.2" + array.prototype.toreversed: "npm:^1.1.2" + array.prototype.tosorted: "npm:^1.1.3" doctrine: "npm:^2.1.0" - es-iterator-helpers: "npm:^1.0.12" + es-iterator-helpers: "npm:^1.0.19" estraverse: "npm:^5.3.0" jsx-ast-utils: "npm:^2.4.1 || ^3.0.0" minimatch: "npm:^3.1.2" - object.entries: "npm:^1.1.6" - object.fromentries: "npm:^2.0.6" - object.hasown: "npm:^1.1.2" - object.values: "npm:^1.1.6" + object.entries: "npm:^1.1.8" + object.fromentries: "npm:^2.0.8" + object.hasown: "npm:^1.1.4" + object.values: "npm:^1.2.0" prop-types: "npm:^15.8.1" - resolve: "npm:^2.0.0-next.4" + resolve: "npm:^2.0.0-next.5" semver: "npm:^6.3.1" - string.prototype.matchall: "npm:^4.0.8" + string.prototype.matchall: "npm:^4.0.11" peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 10c0/f9b247861024bafc396c4bd3c9ac946604b3b23077251c98f23602aa22027a0c33a69157fd49564e4ff7f17b3678e5dc366a46c7ec42a09454d7cbce786d5001 + checksum: 10c0/37dc04424da8626f20a071466e7238d53ed111c53e5e5398d813ac2cf76a2078f00d91f7833fe5b2f0fc98f2688a75b36e78e9ada9f1068705d23c7031094316 languageName: node linkType: hard @@ -10195,7 +10629,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0, globals@npm:^13.24.0": +"globals@npm:^13.19.0": version: 13.24.0 resolution: "globals@npm:13.24.0" dependencies: @@ -10204,6 +10638,13 @@ __metadata: languageName: node linkType: hard +"globals@npm:^15.0.0": + version: 15.3.0 + resolution: "globals@npm:15.3.0" + checksum: 10c0/edbef1c528185d02636ed6d72a1688168b922d6176031904386214f8b59d893f1d0a28da519b95665f557d366b17ea1affb9f433ea451e7372e2808fb31079d7 + languageName: node + linkType: hard + "globalthis@npm:^1.0.3": version: 1.0.3 resolution: "globalthis@npm:1.0.3" @@ -10360,6 +10801,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: "npm:^1.1.2" + checksum: 10c0/3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9 + languageName: node + linkType: hard + "he@npm:^1.2.0": version: 1.2.0 resolution: "he@npm:1.2.0" @@ -10750,7 +11200,7 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.5, internal-slot@npm:^1.0.7": +"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.7": version: 1.0.7 resolution: "internal-slot@npm:1.0.7" dependencies: @@ -10892,7 +11342,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1": +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -10901,6 +11351,15 @@ __metadata: languageName: node linkType: hard +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: "npm:^1.1.13" + checksum: 10c0/a3e6ec84efe303da859107aed9b970e018e2bee7ffcb48e2f8096921a493608134240e672a2072577e5f23a729846241d9634806e8a0e51d9129c56d5f65442d + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -11019,7 +11478,7 @@ __metadata: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.2": +"is-negative-zero@npm:^2.0.2, is-negative-zero@npm:^2.0.3": version: 2.0.3 resolution: "is-negative-zero@npm:2.0.3" checksum: 10c0/bcdcf6b8b9714063ffcfa9929c575ac69bfdabb8f4574ff557dfc086df2836cf07e3906f5bbc4f2a5c12f8f3ba56af640c843cdfc74da8caed86c7c7d66fd08e @@ -11119,7 +11578,7 @@ __metadata: languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2": +"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": version: 1.0.3 resolution: "is-shared-array-buffer@npm:1.0.3" dependencies: @@ -11847,7 +12306,7 @@ __metadata: languageName: node linkType: hard -"jiti@npm:^1.19.1, jiti@npm:^1.20.0": +"jiti@npm:^1.20.0, jiti@npm:^1.21.0": version: 1.21.0 resolution: "jiti@npm:1.21.0" bin: @@ -12141,13 +12600,13 @@ __metadata: languageName: node linkType: hard -"lerna@npm:8.1.2": - version: 8.1.2 - resolution: "lerna@npm:8.1.2" +"lerna@npm:8.1.3": + version: 8.1.3 + resolution: "lerna@npm:8.1.3" dependencies: - "@lerna/create": "npm:8.1.2" + "@lerna/create": "npm:8.1.3" "@npmcli/run-script": "npm:7.0.2" - "@nx/devkit": "npm:>=17.1.2 < 19" + "@nx/devkit": "npm:>=17.1.2 < 20" "@octokit/plugin-enterprise-rest": "npm:6.0.1" "@octokit/rest": "npm:19.0.11" byte-size: "npm:8.1.1" @@ -12190,7 +12649,7 @@ __metadata: npm-packlist: "npm:5.1.1" npm-registry-fetch: "npm:^14.0.5" npmlog: "npm:^6.0.2" - nx: "npm:>=17.1.2 < 19" + nx: "npm:>=17.1.2 < 20" p-map: "npm:4.0.0" p-map-series: "npm:2.1.0" p-pipe: "npm:3.1.0" @@ -12208,7 +12667,7 @@ __metadata: slash: "npm:3.0.0" ssri: "npm:^9.0.1" strong-log-transformer: "npm:2.1.0" - tar: "npm:6.1.11" + tar: "npm:6.2.1" temp-dir: "npm:1.0.0" typescript: "npm:>=3 < 6" upath: "npm:2.0.1" @@ -12221,7 +12680,7 @@ __metadata: yargs-parser: "npm:21.1.1" bin: lerna: dist/cli.js - checksum: 10c0/de1777aca8863253aad0b2fe8a00fe2cec1a652d9c9552cd0b8d45985f9eb7004ca0dfb17c56c29aae49694a776f7a42a7c64edb7a7a8ed613eb51dc070412a2 + checksum: 10c0/690e4bc332e0f62ad6f09d69c799a2143ffe771f20784aa8a923e18e084d4214249a8a32cafa3e8b23479e058f8d78fe43b9e8c3b69c86c0b26f9ca93b879cb5 languageName: node linkType: hard @@ -12416,7 +12875,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21": +"lodash@npm:^4.17.20, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c @@ -12494,7 +12953,16 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.3, magic-string@npm:^0.30.4, magic-string@npm:^0.30.5": +"magic-string@npm:^0.30.10": + version: 0.30.10 + resolution: "magic-string@npm:0.30.10" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.4.15" + checksum: 10c0/aa9ca17eae571a19bce92c8221193b6f93ee8511abb10f085e55ffd398db8e4c089a208d9eac559deee96a08b7b24d636ea4ab92f09c6cf42a7d1af51f7fd62b + languageName: node + linkType: hard + +"magic-string@npm:^0.30.3, magic-string@npm:^0.30.5": version: 0.30.7 resolution: "magic-string@npm:0.30.7" dependencies: @@ -12785,6 +13253,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.4": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10c0/2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -13398,24 +13875,24 @@ __metadata: languageName: node linkType: hard -"nx@npm:18.0.5, nx@npm:>=17.1.2 < 19": - version: 18.0.5 - resolution: "nx@npm:18.0.5" +"nx@npm:19.1.2, nx@npm:>=17.1.2 < 20": + version: 19.1.2 + resolution: "nx@npm:19.1.2" dependencies: - "@nrwl/tao": "npm:18.0.5" - "@nx/nx-darwin-arm64": "npm:18.0.5" - "@nx/nx-darwin-x64": "npm:18.0.5" - "@nx/nx-freebsd-x64": "npm:18.0.5" - "@nx/nx-linux-arm-gnueabihf": "npm:18.0.5" - "@nx/nx-linux-arm64-gnu": "npm:18.0.5" - "@nx/nx-linux-arm64-musl": "npm:18.0.5" - "@nx/nx-linux-x64-gnu": "npm:18.0.5" - "@nx/nx-linux-x64-musl": "npm:18.0.5" - "@nx/nx-win32-arm64-msvc": "npm:18.0.5" - "@nx/nx-win32-x64-msvc": "npm:18.0.5" + "@nrwl/tao": "npm:19.1.2" + "@nx/nx-darwin-arm64": "npm:19.1.2" + "@nx/nx-darwin-x64": "npm:19.1.2" + "@nx/nx-freebsd-x64": "npm:19.1.2" + "@nx/nx-linux-arm-gnueabihf": "npm:19.1.2" + "@nx/nx-linux-arm64-gnu": "npm:19.1.2" + "@nx/nx-linux-arm64-musl": "npm:19.1.2" + "@nx/nx-linux-x64-gnu": "npm:19.1.2" + "@nx/nx-linux-x64-musl": "npm:19.1.2" + "@nx/nx-win32-arm64-msvc": "npm:19.1.2" + "@nx/nx-win32-x64-msvc": "npm:19.1.2" "@yarnpkg/lockfile": "npm:^1.1.0" "@yarnpkg/parsers": "npm:3.0.0-rc.46" - "@zkochan/js-yaml": "npm:0.0.6" + "@zkochan/js-yaml": "npm:0.0.7" axios: "npm:^1.6.0" chalk: "npm:^4.1.0" cli-cursor: "npm:3.1.0" @@ -13429,7 +13906,6 @@ __metadata: fs-extra: "npm:^11.1.0" ignore: "npm:^5.0.4" jest-diff: "npm:^29.4.1" - js-yaml: "npm:4.1.0" jsonc-parser: "npm:3.2.0" lines-and-columns: "npm:~2.0.3" minimatch: "npm:9.0.3" @@ -13478,7 +13954,7 @@ __metadata: bin: nx: bin/nx.js nx-cloud: bin/nx-cloud.js - checksum: 10c0/ad3932f10af0dc5df35a65d63a7e8a4a2cd23715ec1fea389d6c68900b50ba5a35b2af483110ca9fd67d8c7b41a421df66b2a13ce7e459a14e7777ae2d1b8473 + checksum: 10c0/54afbf205811a076d23b717d8b23356046a98965d7e73f353e38bb5690bf37df68d84f7752de34477f0db80f2b4232dde6e9c6d52321e8bb72ef6f1d1589b056 languageName: node linkType: hard @@ -13546,18 +14022,18 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6": - version: 1.1.7 - resolution: "object.entries@npm:1.1.7" +"object.entries@npm:^1.1.8": + version: 1.1.8 + resolution: "object.entries@npm:1.1.8" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10c0/3ad1899cc7bf14546bf28f4a9b363ae8690b90948fcfbcac4c808395435d760f26193d9cae95337ce0e3c1e5c1f4fa45f7b46b31b68d389e9e117fce38775d86 + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/db9ea979d2956a3bc26c262da4a4d212d36f374652cc4c13efdd069c1a519c16571c137e2893d1c46e1cb0e15c88fd6419eaf410c945f329f09835487d7e65d3 languageName: node linkType: hard -"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": +"object.fromentries@npm:^2.0.7": version: 2.0.7 resolution: "object.fromentries@npm:2.0.7" dependencies: @@ -13568,6 +14044,18 @@ __metadata: languageName: node linkType: hard +"object.fromentries@npm:^2.0.8": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/cd4327e6c3369cfa805deb4cbbe919bfb7d3aeebf0bcaba291bb568ea7169f8f8cdbcabe2f00b40db0c20cd20f08e11b5f3a5a36fb7dd3fe04850c50db3bf83b + languageName: node + linkType: hard + "object.groupby@npm:^1.0.1": version: 1.0.2 resolution: "object.groupby@npm:1.0.2" @@ -13581,13 +14069,14 @@ __metadata: languageName: node linkType: hard -"object.hasown@npm:^1.1.2": - version: 1.1.3 - resolution: "object.hasown@npm:1.1.3" +"object.hasown@npm:^1.1.4": + version: 1.1.4 + resolution: "object.hasown@npm:1.1.4" dependencies: - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - checksum: 10c0/8a41ba4fb1208a85c2275e9b5098071beacc24345b9a71ab98ef0a1c61b34dc74c6b460ff1e1884c33843d8f2553df64a10eec2b74b3ed009e3b2710c826bd2c + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/f23187b08d874ef1aea060118c8259eb7f99f93c15a50771d710569534119062b90e087b92952b2d0fb1bb8914d61fb0b43c57fb06f622aaad538fe6868ab987 languageName: node linkType: hard @@ -13602,6 +14091,17 @@ __metadata: languageName: node linkType: hard +"object.values@npm:^1.2.0": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/15809dc40fd6c5529501324fec5ff08570b7d70fb5ebbe8e2b3901afec35cf2b3dc484d1210c6c642cd3e7e0a5e18dd1d6850115337fef46bdae14ab0cb18ac3 + languageName: node + linkType: hard + "objectorarray@npm:^1.0.5": version: 1.0.5 resolution: "objectorarray@npm:1.0.5" @@ -14347,7 +14847,18 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.35, postcss@npm:^8.2.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33": +"postcss@npm:8.4.38": + version: 8.4.38 + resolution: "postcss@npm:8.4.38" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.0.0" + source-map-js: "npm:^1.2.0" + checksum: 10c0/955407b8f70cf0c14acf35dab3615899a2a60a26718a63c848cf3c29f2467b0533991b985a2b994430d890bd7ec2b1963e36352b0774a19143b5f591540f7c06 + languageName: node + linkType: hard + +"postcss@npm:^8.2.14, postcss@npm:^8.4.23, postcss@npm:^8.4.33": version: 8.4.35 resolution: "postcss@npm:8.4.35" dependencies: @@ -14690,15 +15201,15 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.2.0": - version: 18.2.0 - resolution: "react-dom@npm:18.2.0" +"react-dom@npm:18.3.1": + version: 18.3.1 + resolution: "react-dom@npm:18.3.1" dependencies: loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.0" + scheduler: "npm:^0.23.2" peerDependencies: - react: ^18.2.0 - checksum: 10c0/66dfc5f93e13d0674e78ef41f92ed21dfb80f9c4ac4ac25a4b51046d41d4d2186abc915b897f69d3d0ebbffe6184e7c5876f2af26bfa956f179225d921be713a + react: ^18.3.1 + checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 languageName: node linkType: hard @@ -14803,12 +15314,12 @@ __metadata: languageName: node linkType: hard -"react@npm:18.2.0": - version: 18.2.0 - resolution: "react@npm:18.2.0" +"react@npm:18.3.1": + version: 18.3.1 + resolution: "react@npm:18.3.1" dependencies: loose-envify: "npm:^1.1.0" - checksum: 10c0/b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8 + checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 languageName: node linkType: hard @@ -15027,7 +15538,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1, regexp.prototype.flags@npm:^1.5.2": +"regexp.prototype.flags@npm:^1.5.1, regexp.prototype.flags@npm:^1.5.2": version: 1.5.2 resolution: "regexp.prototype.flags@npm:1.5.2" dependencies: @@ -15168,7 +15679,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.4": +"resolve@npm:^2.0.0-next.5": version: 2.0.0-next.5 resolution: "resolve@npm:2.0.0-next.5" dependencies: @@ -15194,7 +15705,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^2.0.0-next.4#optional!builtin": +"resolve@patch:resolve@npm%3A^2.0.0-next.5#optional!builtin": version: 2.0.0-next.5 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#optional!builtin::version=2.0.0-next.5&hash=c3c19d" dependencies: @@ -15282,39 +15793,42 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-dts@npm:6.1.0": - version: 6.1.0 - resolution: "rollup-plugin-dts@npm:6.1.0" +"rollup-plugin-dts@npm:6.1.1": + version: 6.1.1 + resolution: "rollup-plugin-dts@npm:6.1.1" dependencies: - "@babel/code-frame": "npm:^7.22.13" - magic-string: "npm:^0.30.4" + "@babel/code-frame": "npm:^7.24.2" + magic-string: "npm:^0.30.10" peerDependencies: rollup: ^3.29.4 || ^4 typescript: ^4.5 || ^5.0 dependenciesMeta: "@babel/code-frame": optional: true - checksum: 10c0/8fed9f292fec09a21fdac86964aee92f6d76cfa688faa7f47065a1b25e12be209d437329868d706f8a189c246b5e918efc6046eb09cd974cc7989e68fe746927 - languageName: node - linkType: hard - -"rollup@npm:4.12.0": - version: 4.12.0 - resolution: "rollup@npm:4.12.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.12.0" - "@rollup/rollup-android-arm64": "npm:4.12.0" - "@rollup/rollup-darwin-arm64": "npm:4.12.0" - "@rollup/rollup-darwin-x64": "npm:4.12.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.12.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.12.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.12.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.12.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.12.0" - "@rollup/rollup-linux-x64-musl": "npm:4.12.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.12.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.12.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.12.0" + checksum: 10c0/2b042198ff00fb10c9c70087bbac9013f748dc34be0dbfcca82c6353884ead1467b4a8a37bafe9a8b9356479d43715c7cbc591eeb8e4112c583452431c1cb0a0 + languageName: node + linkType: hard + +"rollup@npm:4.18.0": + version: 4.18.0 + resolution: "rollup@npm:4.18.0" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.18.0" + "@rollup/rollup-android-arm64": "npm:4.18.0" + "@rollup/rollup-darwin-arm64": "npm:4.18.0" + "@rollup/rollup-darwin-x64": "npm:4.18.0" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.18.0" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.18.0" + "@rollup/rollup-linux-arm64-gnu": "npm:4.18.0" + "@rollup/rollup-linux-arm64-musl": "npm:4.18.0" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.18.0" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.18.0" + "@rollup/rollup-linux-s390x-gnu": "npm:4.18.0" + "@rollup/rollup-linux-x64-gnu": "npm:4.18.0" + "@rollup/rollup-linux-x64-musl": "npm:4.18.0" + "@rollup/rollup-win32-arm64-msvc": "npm:4.18.0" + "@rollup/rollup-win32-ia32-msvc": "npm:4.18.0" + "@rollup/rollup-win32-x64-msvc": "npm:4.18.0" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -15328,12 +15842,18 @@ __metadata: optional: true "@rollup/rollup-linux-arm-gnueabihf": optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true "@rollup/rollup-linux-arm64-gnu": optional: true "@rollup/rollup-linux-arm64-musl": optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true "@rollup/rollup-linux-riscv64-gnu": optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true "@rollup/rollup-linux-x64-gnu": optional: true "@rollup/rollup-linux-x64-musl": @@ -15348,7 +15868,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/1650168231ae8e2bd6fb4d82cc232e53b5c0fe67895188fa683370c9bd3f1febaa28e45c6b100cea333e54f8f5fae6f4d0eea7d86256ec2cc3e38212c55796d6 + checksum: 10c0/7d0239f029c48d977e0d0b942433bed9ca187d2328b962fc815fc775d0fdf1966ffcd701fef265477e999a1fb01bddcc984fc675d1b9d9864bf8e1f1f487e23e languageName: node linkType: hard @@ -15356,55 +15876,55 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@babel/eslint-plugin": "npm:7.23.5" + "@babel/eslint-plugin": "npm:7.24.6" "@poool/eslint-config": "npm:3.0.1" "@poool/eslint-config-react": "npm:3.0.1" "@poool/eslint-plugin": "npm:3.0.0" "@rollup/plugin-alias": "npm:5.1.0" "@rollup/plugin-babel": "npm:6.0.4" - "@rollup/plugin-commonjs": "npm:25.0.7" + "@rollup/plugin-commonjs": "npm:25.0.8" "@rollup/plugin-node-resolve": "npm:15.2.3" "@rollup/plugin-swc": "npm:0.3.0" "@rollup/plugin-terser": "npm:0.4.4" "@rollup/plugin-typescript": "npm:11.1.6" - "@storybook/addon-actions": "npm:7.6.17" - "@storybook/addon-storysource": "npm:7.6.17" + "@storybook/addon-actions": "npm:7.6.19" + "@storybook/addon-storysource": "npm:7.6.19" "@storybook/addon-styling": "npm:1.3.7" - "@storybook/react": "npm:7.6.17" - "@storybook/react-webpack5": "npm:7.6.17" - "@swc/core": "npm:1.4.2" + "@storybook/react": "npm:7.6.19" + "@storybook/react-webpack5": "npm:7.6.19" + "@swc/core": "npm:1.5.24" "@swc/jest": "npm:0.2.36" - "@testing-library/jest-dom": "npm:6.4.2" - "@testing-library/react": "npm:14.2.1" + "@testing-library/jest-dom": "npm:6.4.5" + "@testing-library/react": "npm:14.3.1" "@testing-library/user-event": "npm:14.5.2" "@types/d3": "npm:7.4.3" "@types/jest": "npm:29.5.12" "@types/node": "npm:20.14.0" - "@typescript-eslint/parser": "npm:7.1.0" - autoprefixer: "npm:10.4.17" + "@typescript-eslint/parser": "npm:7.11.0" + autoprefixer: "npm:10.4.19" babel-jest: "npm:29.7.0" - d3: "npm:7.8.5" + d3: "npm:7.9.0" eslint: "npm:8.57.0" eslint-config-standard: "npm:17.1.0" eslint-plugin-babel: "npm:5.3.1" eslint-plugin-import: "npm:2.29.1" - eslint-plugin-n: "npm:16.6.2" - eslint-plugin-promise: "npm:6.1.1" - eslint-plugin-react: "npm:7.33.2" + eslint-plugin-n: "npm:17.7.0" + eslint-plugin-promise: "npm:6.2.0" + eslint-plugin-react: "npm:7.34.2" fs-extra: "npm:11.2.0" jest: "npm:29.7.0" jest-environment-jsdom: "npm:29.7.0" - lerna: "npm:8.1.2" - postcss: "npm:8.4.35" - react: "npm:18.2.0" - react-dom: "npm:18.2.0" - rollup: "npm:4.12.0" - rollup-plugin-dts: "npm:6.1.0" - sass: "npm:1.71.1" - storybook: "npm:7.6.17" + lerna: "npm:8.1.3" + postcss: "npm:8.4.38" + react: "npm:18.3.1" + react-dom: "npm:18.3.1" + rollup: "npm:4.18.0" + rollup-plugin-dts: "npm:6.1.1" + sass: "npm:1.77.4" + storybook: "npm:7.6.19" storybook-addon-swc: "npm:1.2.0" - tailwindcss: "npm:3.4.1" - typescript: "npm:5.3.3" + tailwindcss: "npm:3.4.3" + typescript: "npm:5.4.5" languageName: unknown linkType: soft @@ -15452,6 +15972,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" + dependencies: + call-bind: "npm:^1.0.7" + get-intrinsic: "npm:^1.2.4" + has-symbols: "npm:^1.0.3" + isarray: "npm:^2.0.5" + checksum: 10c0/12f9fdb01c8585e199a347eacc3bae7b5164ae805cdc8c6707199dbad5b9e30001a50a43c4ee24dc9ea32dbb7279397850e9208a7e217f4d8b1cf5d90129dec9 + languageName: node + linkType: hard + "safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": version: 5.1.2 resolution: "safe-buffer@npm:5.1.2" @@ -15508,16 +16040,16 @@ __metadata: languageName: node linkType: hard -"sass@npm:1.71.1": - version: 1.71.1 - resolution: "sass@npm:1.71.1" +"sass@npm:1.77.4": + version: 1.77.4 + resolution: "sass@npm:1.77.4" dependencies: chokidar: "npm:>=3.0.0 <4.0.0" immutable: "npm:^4.0.0" source-map-js: "npm:>=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 10c0/59d79a6e106747746792b0c71908ae0aecdaf9b794d5724ee64e5249412f0d8ebe7ee2bf12946618848f14f949c4f6b530d82da3e62ab31c71198c6f73002130 + checksum: 10c0/b9cb4882bded282aabe38d011adfce375e1f282184fcf93dc3da5d5be834c6aa53c474c15634c351ef7bd85146cfd1cc81343654cc3bcf000d78e856da4225ef languageName: node linkType: hard @@ -15530,12 +16062,12 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.0": - version: 0.23.0 - resolution: "scheduler@npm:0.23.0" +"scheduler@npm:^0.23.2": + version: 0.23.2 + resolution: "scheduler@npm:0.23.2" dependencies: loose-envify: "npm:^1.1.0" - checksum: 10c0/b777f7ca0115e6d93e126ac490dbd82642d14983b3079f58f35519d992fa46260be7d6e6cede433a92db70306310c6f5f06e144f0e40c484199e09c1f7be53dd + checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 languageName: node linkType: hard @@ -15591,6 +16123,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 10c0/97d3441e97ace8be4b1976433d1c32658f6afaff09f143e52c593bae7eef33de19e3e369c88bd985ce1042c6f441c80c6803078d1de2a9988080b66684cbb30c + languageName: node + linkType: hard + "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -15654,7 +16195,7 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": +"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" dependencies: @@ -15710,6 +16251,18 @@ __metadata: languageName: node linkType: hard +"side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.7" + es-errors: "npm:^1.3.0" + get-intrinsic: "npm:^1.2.4" + object-inspect: "npm:^1.13.1" + checksum: 10c0/d2afd163dc733cc0a39aa6f7e39bf0c436293510dbccbff446733daeaf295857dbccf94297092ec8c53e2503acac30f0b78830876f0485991d62a90e9cad305f + languageName: node + linkType: hard + "signal-exit@npm:3.0.7, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" @@ -15836,6 +16389,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 10c0/7e5f896ac10a3a50fe2898e5009c58ff0dc102dcb056ed27a354623a0ece8954d4b2649e1a1b2b52ef2e161d26f8859c7710350930751640e71e374fe2d321a4 + languageName: node + linkType: hard + "source-map-support@npm:0.5.13": version: 0.5.13 resolution: "source-map-support@npm:0.5.13" @@ -16015,15 +16575,15 @@ __metadata: languageName: node linkType: hard -"storybook@npm:7.6.17": - version: 7.6.17 - resolution: "storybook@npm:7.6.17" +"storybook@npm:7.6.19": + version: 7.6.19 + resolution: "storybook@npm:7.6.19" dependencies: - "@storybook/cli": "npm:7.6.17" + "@storybook/cli": "npm:7.6.19" bin: sb: ./index.js storybook: ./index.js - checksum: 10c0/256b8ff26b69f622889488605e786c0742350a901037139dd469ec20f2e7031c326d65f2a202a5ee7baa407ff407a6746af2f01d91c0c617eda2013679a65271 + checksum: 10c0/dd026c19ceb1df74a94b45ee139d92f246d75b687913cc8a862a0a849d2d5327edc1fea096cb1ab37982bb569197a8bdf209edf34039e77d8b813510b1e1f75e languageName: node linkType: hard @@ -16066,20 +16626,23 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.8": - version: 4.0.10 - resolution: "string.prototype.matchall@npm:4.0.10" +"string.prototype.matchall@npm:^4.0.11": + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + get-intrinsic: "npm:^1.2.4" + gopd: "npm:^1.0.1" has-symbols: "npm:^1.0.3" - internal-slot: "npm:^1.0.5" - regexp.prototype.flags: "npm:^1.5.0" - set-function-name: "npm:^2.0.0" - side-channel: "npm:^1.0.4" - checksum: 10c0/cd7495fb0de16d43efeee3887b98701941f3817bd5f09351ad1825b023d307720c86394d56d56380563d97767ab25bf5448db239fcecbb85c28e2180f23e324a + internal-slot: "npm:^1.0.7" + regexp.prototype.flags: "npm:^1.5.2" + set-function-name: "npm:^2.0.2" + side-channel: "npm:^1.0.6" + checksum: 10c0/915a2562ac9ab5e01b7be6fd8baa0b2b233a0a9aa975fcb2ec13cc26f08fb9a3e85d5abdaa533c99c6fc4c5b65b914eba3d80c4aff9792a4c9fed403f28f7d9d languageName: node linkType: hard @@ -16094,6 +16657,18 @@ __metadata: languageName: node linkType: hard +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.0" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/dcef1a0fb61d255778155006b372dff8cc6c4394bc39869117e4241f41a2c52899c0d263ffc7738a1f9e61488c490b05c0427faa15151efad721e1a9fb2663c2 + languageName: node + linkType: hard + "string.prototype.trimend@npm:^1.0.7": version: 1.0.7 resolution: "string.prototype.trimend@npm:1.0.7" @@ -16105,6 +16680,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/0a0b54c17c070551b38e756ae271865ac6cc5f60dabf2e7e343cceae7d9b02e1a1120a824e090e79da1b041a74464e8477e2da43e2775c85392be30a6f60963c + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.7": version: 1.0.7 resolution: "string.prototype.trimstart@npm:1.0.7" @@ -16116,6 +16702,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-object-atoms: "npm:^1.0.0" + checksum: 10c0/d53af1899959e53c83b64a5fd120be93e067da740e7e75acb433849aa640782fb6c7d4cd5b84c954c84413745a3764df135a8afeb22908b86a835290788d8366 + languageName: node + linkType: hard + "string_decoder@npm:^1.1.1": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -16315,16 +16912,16 @@ __metadata: languageName: node linkType: hard -"tabbable@npm:^6.0.1": +"tabbable@npm:^6.0.0": version: 6.2.0 resolution: "tabbable@npm:6.2.0" checksum: 10c0/ced8b38f05f2de62cd46836d77c2646c42b8c9713f5bd265daf0e78ff5ac73d3ba48a7ca45f348bafeef29b23da7187c72250742d37627883ef89cbd7fa76898 languageName: node linkType: hard -"tailwindcss@npm:3.4.1": - version: 3.4.1 - resolution: "tailwindcss@npm:3.4.1" +"tailwindcss@npm:3.4.3": + version: 3.4.3 + resolution: "tailwindcss@npm:3.4.3" dependencies: "@alloc/quick-lru": "npm:^5.2.0" arg: "npm:^5.0.2" @@ -16334,7 +16931,7 @@ __metadata: fast-glob: "npm:^3.3.0" glob-parent: "npm:^6.0.2" is-glob: "npm:^4.0.3" - jiti: "npm:^1.19.1" + jiti: "npm:^1.21.0" lilconfig: "npm:^2.1.0" micromatch: "npm:^4.0.5" normalize-path: "npm:^3.0.0" @@ -16351,7 +16948,7 @@ __metadata: bin: tailwind: lib/cli.js tailwindcss: lib/cli.js - checksum: 10c0/eec3d758f1cd4f51ab3b4c201927c3ecd18e55f8ac94256af60276aaf8d1df78f9dddb5e9fb1e057dfa7cea3c1356add4994cc3d42da9739df874e67047e656f + checksum: 10c0/11e5546494f2888f693ebaa271b218b3a8e52fe59d7b629e54f2dffd6eaafd5ded2e9f0c37ad04e6a866dffb2b116d91becebad77e1441beee8bf016bb2392f9 languageName: node linkType: hard @@ -16387,17 +16984,17 @@ __metadata: languageName: node linkType: hard -"tar@npm:6.1.11": - version: 6.1.11 - resolution: "tar@npm:6.1.11" +"tar@npm:6.2.1": + version: 6.2.1 + resolution: "tar@npm:6.2.1" dependencies: chownr: "npm:^2.0.0" fs-minipass: "npm:^2.0.0" - minipass: "npm:^3.0.0" + minipass: "npm:^5.0.0" minizlib: "npm:^2.1.1" mkdirp: "npm:^1.0.3" yallist: "npm:^4.0.0" - checksum: 10c0/5a016f5330f43815420797b87ade578e2ea60affd47439c988a3fc8f7bb6b36450d627c31ba6a839346fae248b4c8c12bb06bb0716211f37476838c7eff91f05 + checksum: 10c0/a5eca3eb50bc11552d453488344e6507156b9193efd7635e98e867fab275d527af53d8866e2370cd09dfe74378a18111622ace35af6a608e5223a7d27fe99537 languageName: node linkType: hard @@ -16646,12 +17243,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.2.1 - resolution: "ts-api-utils@npm:1.2.1" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 10c0/8ddb493e7ae581d3f57a2e469142feb60b420d4ad8366ab969fe8e36531f8f301f370676b47e8d97f28b5f5fd10d6f2d55f656943a8546ef95e35ce5cf117754 + checksum: 10c0/f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c languageName: node linkType: hard @@ -16810,7 +17407,7 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.1": +"typed-array-buffer@npm:^1.0.1, typed-array-buffer@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-buffer@npm:1.0.2" dependencies: @@ -16821,7 +17418,7 @@ __metadata: languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.0": +"typed-array-byte-length@npm:^1.0.0, typed-array-byte-length@npm:^1.0.1": version: 1.0.1 resolution: "typed-array-byte-length@npm:1.0.1" dependencies: @@ -16834,7 +17431,7 @@ __metadata: languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.0": +"typed-array-byte-offset@npm:^1.0.0, typed-array-byte-offset@npm:^1.0.2": version: 1.0.2 resolution: "typed-array-byte-offset@npm:1.0.2" dependencies: @@ -16862,6 +17459,20 @@ __metadata: languageName: node linkType: hard +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" + dependencies: + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-proto: "npm:^1.0.3" + is-typed-array: "npm:^1.1.13" + possible-typed-array-names: "npm:^1.0.0" + checksum: 10c0/74253d7dc488eb28b6b2711cf31f5a9dcefc9c41b0681fd1c178ed0a1681b4468581a3626d39cd4df7aee3d3927ab62be06aa9ca74e5baf81827f61641445b77 + languageName: node + linkType: hard + "typedarray@npm:^0.0.6": version: 0.0.6 resolution: "typedarray@npm:0.0.6" @@ -16869,7 +17480,17 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.3.3, typescript@npm:>=3 < 6": +"typescript@npm:5.4.5": + version: 5.4.5 + resolution: "typescript@npm:5.4.5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e + languageName: node + linkType: hard + +"typescript@npm:>=3 < 6": version: 5.3.3 resolution: "typescript@npm:5.3.3" bin: @@ -16879,7 +17500,17 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.3.3#optional!builtin, typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin": +"typescript@patch:typescript@npm%3A5.4.5#optional!builtin": + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 + languageName: node + linkType: hard + +"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin": version: 5.3.3 resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" bin: @@ -17424,6 +18055,19 @@ __metadata: languageName: node linkType: hard +"which-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" + dependencies: + available-typed-arrays: "npm:^1.0.7" + call-bind: "npm:^1.0.7" + for-each: "npm:^0.3.3" + gopd: "npm:^1.0.1" + has-tostringtag: "npm:^1.0.2" + checksum: 10c0/4465d5348c044032032251be54d8988270e69c6b7154f8fcb2a47ff706fe36f7624b3a24246b8d9089435a8f4ec48c1c1025c5d6b499456b9e5eff4f48212983 + languageName: node + linkType: hard + "which@npm:^2.0.1": version: 2.0.2 resolution: "which@npm:2.0.2"