@elliemae/ds-filter-bar 3.70.0-next.62 → 3.70.0-next.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/hooks/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/DSFilterBarActions/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/DSFilterBarContent/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/parts/DSFilterBarMenuButton/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/react-desc-prop-types.js.map +2 -2
- package/dist/esm/hooks/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/DSFilterBarActions/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/DSFilterBarContent/react-desc-prop-types.js.map +2 -2
- package/dist/esm/parts/DSFilterBarMenuButton/react-desc-prop-types.js.map +2 -2
- package/dist/esm/react-desc-prop-types.js.map +2 -2
- package/package.json +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/hooks/react-desc-prop-types.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import { PropTypes, type DSPropTypesSchema, type ValidationMap } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSHookUseFilterBarPrevNextFocusT {\n export interface RequiredProps {\n filterBarRef: React.RefObject<HTMLElement | null>;\n fallbackRef: React.RefObject<HTMLElement | null>;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props extends Partial<DefaultProps>, OptionalProps, RequiredProps {}\n\n export interface InternalProps extends DefaultProps, OptionalProps, RequiredProps {}\n}\nexport const DSHookUseFilterBarPrevNextFocusPropTypes: DSPropTypesSchema<DSHookUseFilterBarPrevNextFocusT.Props> = {\n filterBarRef: PropTypes.object.isRequired.description('Ref to the filter bar element'),\n fallbackRef: PropTypes.object.isRequired.description(\n 'Ref to the fallback element to focus when the filter bar is removed',\n ),\n};\n\nexport const DSHookUseFilterBarPrevNextFocusPropTypesSchema =\n DSHookUseFilterBarPrevNextFocusPropTypes as unknown as ValidationMap<DSHookUseFilterBarPrevNextFocusT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAAsE;AAgB/D,MAAM,2CAAsG;AAAA,EACjH,cAAc,kCAAU,OAAO,WAAW,YAAY,+BAA+B;AAAA,EACrF,aAAa,kCAAU,OAAO,WAAW;AAAA,IACvC;AAAA,EACF;AACF;AAEO,MAAM,iDACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/DSFilterBarActions/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_ACTIONS_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarActionsT {\n export interface RequiredProps {\n children: React.ReactNode;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_ACTIONS_SLOTS\n > {}\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarActionsT.DefaultProps = {};\n\nexport const DSFilterBarActionsPropTypes: DSPropTypesSchema<DSFilterBarActionsT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_ACTIONS_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description('The content of the filter bar actions, typically action buttons'),\n};\n\nexport const DSFilterBarActionsPropTypesSchema =\n DSFilterBarActionsPropTypes as unknown as ValidationMap<DSFilterBarActionsT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAKO;AAEP,uBAA0D;AA8BnD,MAAM,eAAiD,CAAC;AAExD,MAAM,8BAA4E;AAAA,EACvF,OAAG,kDAAyB,kCAAiB,yCAAwB;AAAA,EACrE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,kCAAU,KAAK,WAAW,YAAY,iEAAiE;AACnH;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/DSFilterBarContent/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_CONTENT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarContentT {\n export interface RequiredProps {\n children: React.ReactNode;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_CONTENT_SLOTS\n > {}\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarContentT.DefaultProps = {};\n\nexport const DSFilterBarContentPropTypes: DSPropTypesSchema<DSFilterBarContentT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_CONTENT_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description('The content of the filter bar, typically Pills components'),\n};\n\nexport const DSFilterBarContentPropTypesSchema =\n DSFilterBarContentPropTypes as unknown as ValidationMap<DSFilterBarContentT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAKO;AAEP,uBAA0D;AA8BnD,MAAM,eAAiD,CAAC;AAExD,MAAM,8BAA4E;AAAA,EACvF,OAAG,kDAAyB,kCAAiB,yCAAwB;AAAA,EACrE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,kCAAU,KAAK,WAAW,YAAY,2DAA2D;AAC7G;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/parts/DSFilterBarMenuButton/react-desc-prop-types.ts", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import { type DSMenuButtonT } from '@elliemae/ds-menu-button';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, getPropsPerSlotPropTypes, globalAttributesPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_MENU_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarMenuButtonT {\n export interface RequiredProps {\n onClearFilters: TypescriptHelpersT.GenericFunc;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_MENU_BUTTON_SLOTS\n > {\n options?: DSMenuButtonT.MenuItemInterface[];\n innerRef?: React.RefObject<HTMLButtonElement>;\n onItemSelected?: (\n newSelection: DSMenuButtonT.SelectionableMenuNodes[],\n metainfo: { itemNode: DSMenuButtonT.SelectionableMenuNodes; event?: React.SyntheticEvent },\n ) => void | TypescriptHelpersT.StateSetter<DSMenuButtonT.SelectionableMenuNodes[]>;\n onActivateItem?: (\n itemNode: DSMenuButtonT.PseudoFocusableMenuNodes,\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void;\n [key: string]: unknown;\n selectedItems?: DSMenuButtonT.SelectionableMenuNodes[] | DSMenuButtonT.SelectionableMenuItemInterface[];\n }\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof XstyledProps | 'type'>,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof XstyledProps | 'type'>,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarMenuButtonT.DefaultProps = {\n options: [],\n};\n\nexport const DSFilterBarMenuButtonPropTypes: DSPropTypesSchema<DSFilterBarMenuButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_MENU_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n onClearFilters: PropTypes.func.isRequired.description(\n 'Callback function to clear all filters, triggered by the \"Clear Filters\" option in the menu',\n ),\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).description(\n 'The options to display in the menu, following the same structure as DSMenuButton options',\n ),\n innerRef: PropTypes.object.description('Ref to the menu button element, used for focus management'),\n selectedItems: PropTypes.arrayOf(PropTypes.object).description(\n 'an array of tree-nodes or tree-items that have to be marked as selected in the GUI, required if the menu has selectionable items',\n ),\n onItemSelected: PropTypes.func.description(\n 'IoC function in charge of handling the selection of a menu item, required if the menu has selectionable items',\n ).signature(`((\n newSelection: DSMenuButtonT.PseudoFocusableMenuNodes[],\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void)`),\n onActivateItem: PropTypes.func.description(\n 'IoC function in charge of handling the activation (NOT INVOKED ON SELECTION) of a menu item, required if the menu has activable items',\n ).signature(`((\n itemNode: DSMenuButtonT.PseudoFocusableMenuNodes,\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void)`),\n};\n\nexport const DSFilterBarMenuButtonPropTypesSchema =\n DSFilterBarMenuButtonPropTypes as unknown as ValidationMap<DSFilterBarMenuButtonT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,8BAA+E;AAE/E,uBAA8D;AAyCvD,MAAM,eAAoD;AAAA,EAC/D,SAAS,CAAC;AACZ;AAEO,MAAM,iCAAkF;AAAA,EAC7F,OAAG,kDAAyB,kCAAiB,6CAA4B;AAAA,EACzE,GAAG;AAAA,EACH,gBAAgB,kCAAU,KAAK,WAAW;AAAA,IACxC;AAAA,EACF;AAAA,EACA,SAAS,kCAAU,UAAU,CAAC,kCAAU,OAAO,kCAAU,MAAM,CAAC,EAAE;AAAA,IAChE;AAAA,EACF;AAAA,EACA,UAAU,kCAAU,OAAO,YAAY,2DAA2D;AAAA,EAClG,eAAe,kCAAU,QAAQ,kCAAU,MAAM,EAAE;AAAA,IACjD;AAAA,EACF;AAAA,EACA,gBAAgB,kCAAU,KAAK;AAAA,IAC7B;AAAA,EACF,EAAE,UAAU;AAAA;AAAA;AAAA,eAGC;AAAA,EACb,gBAAgB,kCAAU,KAAK;AAAA,IAC7B;AAAA,EACF,EAAE,UAAU;AAAA;AAAA;AAAA,eAGC;AACf;AAEO,MAAM,uCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarT {\n export interface RequiredProps {\n children: React.ReactNode;\n filterBarRef: React.MutableRefObject<HTMLElement | null>;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_SLOTS\n > {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarT.DefaultProps = {};\n\nexport const DSFilterBarPropTypes: DSPropTypesSchema<DSFilterBarT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description(\n 'The content of the filter bar, typically composed with DSFilterBarContent and DSFilterBarActions',\n ),\n filterBarRef: PropTypes.object.isRequired.description('Ref to the filter bar element, used for focus management'),\n};\n\nexport const DSFilterBarPropTypesSchema = DSFilterBarPropTypes as unknown as ValidationMap<DSFilterBarT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,8BAKO;AAEP,uBAAkD;AAgC3C,MAAM,eAA0C,CAAC;AAEjD,MAAM,uBAA8D;AAAA,EACzE,OAAG,kDAAyB,kCAAiB,iCAAgB;AAAA,EAC7D,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,kCAAU,KAAK,WAAW;AAAA,IAClC;AAAA,EACF;AAAA,EACA,cAAc,kCAAU,OAAO,WAAW,YAAY,0DAA0D;AAClH;AAEO,MAAM,6BAA6B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/hooks/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes, type DSPropTypesSchema, type ValidationMap } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSHookUseFilterBarPrevNextFocusT {\n export interface RequiredProps {\n filterBarRef: React.RefObject<HTMLElement | null>;\n fallbackRef: React.RefObject<HTMLElement | null>;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps {}\n\n export interface Props extends Partial<DefaultProps>, OptionalProps, RequiredProps {}\n\n export interface InternalProps extends DefaultProps, OptionalProps, RequiredProps {}\n}\nexport const DSHookUseFilterBarPrevNextFocusPropTypes: DSPropTypesSchema<DSHookUseFilterBarPrevNextFocusT.Props> = {\n filterBarRef: PropTypes.object.isRequired.description('Ref to the filter bar element'),\n fallbackRef: PropTypes.object.isRequired.description(\n 'Ref to the fallback element to focus when the filter bar is removed',\n ),\n};\n\nexport const DSHookUseFilterBarPrevNextFocusPropTypesSchema =\n DSHookUseFilterBarPrevNextFocusPropTypes as unknown as ValidationMap<DSHookUseFilterBarPrevNextFocusT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAA6D;AAgB/D,MAAM,2CAAsG;AAAA,EACjH,cAAc,UAAU,OAAO,WAAW,YAAY,+BAA+B;AAAA,EACrF,aAAa,UAAU,OAAO,WAAW;AAAA,IACvC;AAAA,EACF;AACF;AAEO,MAAM,iDACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/DSFilterBarActions/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_ACTIONS_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarActionsT {\n export interface RequiredProps {\n children: React.ReactNode;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_ACTIONS_SLOTS\n > {}\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarActionsT.DefaultProps = {};\n\nexport const DSFilterBarActionsPropTypes: DSPropTypesSchema<DSFilterBarActionsT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_ACTIONS_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description('The content of the filter bar actions, typically action buttons'),\n};\n\nexport const DSFilterBarActionsPropTypesSchema =\n DSFilterBarActionsPropTypes as unknown as ValidationMap<DSFilterBarActionsT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACCvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB,gCAAgC;AA8BnD,MAAM,eAAiD,CAAC;AAExD,MAAM,8BAA4E;AAAA,EACvF,GAAG,yBAAyB,iBAAiB,wBAAwB;AAAA,EACrE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,UAAU,KAAK,WAAW,YAAY,iEAAiE;AACnH;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/DSFilterBarContent/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { GlobalAttributesT, XstyledProps, DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';\nimport {\n PropTypes,\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_CONTENT_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarContentT {\n export interface RequiredProps {\n children: React.ReactNode;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_CONTENT_SLOTS\n > {}\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarContentT.DefaultProps = {};\n\nexport const DSFilterBarContentPropTypes: DSPropTypesSchema<DSFilterBarContentT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_CONTENT_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description('The content of the filter bar, typically Pills components'),\n};\n\nexport const DSFilterBarContentPropTypesSchema =\n DSFilterBarContentPropTypes as unknown as ValidationMap<DSFilterBarContentT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACCvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB,gCAAgC;AA8BnD,MAAM,eAAiD,CAAC;AAExD,MAAM,8BAA4E;AAAA,EACvF,GAAG,yBAAyB,iBAAiB,wBAAwB;AAAA,EACrE,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,UAAU,KAAK,WAAW,YAAY,2DAA2D;AAC7G;AAEO,MAAM,oCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/DSFilterBarMenuButton/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { type DSMenuButtonT } from '@elliemae/ds-menu-button';\nimport type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport { PropTypes, getPropsPerSlotPropTypes, globalAttributesPropTypes } from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_MENU_BUTTON_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarMenuButtonT {\n export interface RequiredProps {\n onClearFilters: TypescriptHelpersT.GenericFunc;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_MENU_BUTTON_SLOTS\n > {\n options?: DSMenuButtonT.MenuItemInterface[];\n innerRef?: React.RefObject<HTMLButtonElement>;\n onItemSelected?: (\n newSelection: DSMenuButtonT.SelectionableMenuNodes[],\n metainfo: { itemNode: DSMenuButtonT.SelectionableMenuNodes; event?: React.SyntheticEvent },\n ) => void | TypescriptHelpersT.StateSetter<DSMenuButtonT.SelectionableMenuNodes[]>;\n onActivateItem?: (\n itemNode: DSMenuButtonT.PseudoFocusableMenuNodes,\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void;\n [key: string]: unknown;\n selectedItems?: DSMenuButtonT.SelectionableMenuNodes[] | DSMenuButtonT.SelectionableMenuItemInterface[];\n }\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof XstyledProps | 'type'>,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLButtonElement>, keyof XstyledProps | 'type'>,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarMenuButtonT.DefaultProps = {\n options: [],\n};\n\nexport const DSFilterBarMenuButtonPropTypes: DSPropTypesSchema<DSFilterBarMenuButtonT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_MENU_BUTTON_SLOTS),\n ...globalAttributesPropTypes,\n onClearFilters: PropTypes.func.isRequired.description(\n 'Callback function to clear all filters, triggered by the \"Clear Filters\" option in the menu',\n ),\n options: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).description(\n 'The options to display in the menu, following the same structure as DSMenuButton options',\n ),\n innerRef: PropTypes.object.description('Ref to the menu button element, used for focus management'),\n selectedItems: PropTypes.arrayOf(PropTypes.object).description(\n 'an array of tree-nodes or tree-items that have to be marked as selected in the GUI, required if the menu has selectionable items',\n ),\n onItemSelected: PropTypes.func.description(\n 'IoC function in charge of handling the selection of a menu item, required if the menu has selectionable items',\n ).signature(`((\n newSelection: DSMenuButtonT.PseudoFocusableMenuNodes[],\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void)`),\n onActivateItem: PropTypes.func.description(\n 'IoC function in charge of handling the activation (NOT INVOKED ON SELECTION) of a menu item, required if the menu has activable items',\n ).signature(`((\n itemNode: DSMenuButtonT.PseudoFocusableMenuNodes,\n metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },\n ) => void)`),\n};\n\nexport const DSFilterBarMenuButtonPropTypesSchema =\n DSFilterBarMenuButtonPropTypes as unknown as ValidationMap<DSFilterBarMenuButtonT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACEvB,SAAS,WAAW,0BAA0B,iCAAiC;AAE/E,SAAS,iBAAiB,oCAAoC;AAyCvD,MAAM,eAAoD;AAAA,EAC/D,SAAS,CAAC;AACZ;AAEO,MAAM,iCAAkF;AAAA,EAC7F,GAAG,yBAAyB,iBAAiB,4BAA4B;AAAA,EACzE,GAAG;AAAA,EACH,gBAAgB,UAAU,KAAK,WAAW;AAAA,IACxC;AAAA,EACF;AAAA,EACA,SAAS,UAAU,UAAU,CAAC,UAAU,OAAO,UAAU,MAAM,CAAC,EAAE;AAAA,IAChE;AAAA,EACF;AAAA,EACA,UAAU,UAAU,OAAO,YAAY,2DAA2D;AAAA,EAClG,eAAe,UAAU,QAAQ,UAAU,MAAM,EAAE;AAAA,IACjD;AAAA,EACF;AAAA,EACA,gBAAgB,UAAU,KAAK;AAAA,IAC7B;AAAA,EACF,EAAE,UAAU;AAAA;AAAA;AAAA,eAGC;AAAA,EACb,gBAAgB,UAAU,KAAK;AAAA,IAC7B;AAAA,EACF,EAAE,UAAU;AAAA;AAAA;AAAA,eAGC;AACf;AAEO,MAAM,uCACX;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';\nimport {\n getPropsPerSlotPropTypes,\n globalAttributesPropTypes,\n PropTypes,\n xstyledPropTypes,\n} from '@elliemae/ds-props-helpers';\nimport { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';\nimport { DSFilterBarName, FILTER_BAR_SLOTS } from './constants/index.js';\n\nexport declare namespace DSFilterBarT {\n export interface RequiredProps {\n children: React.ReactNode;\n filterBarRef: React.MutableRefObject<HTMLElement | null>;\n }\n\n export interface DefaultProps {}\n\n export interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<\n typeof DSFilterBarName,\n typeof FILTER_BAR_SLOTS\n > {}\n\n export interface Props\n extends\n Partial<DefaultProps>,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n\n export interface InternalProps\n extends\n DefaultProps,\n OptionalProps,\n Omit<GlobalAttributesT<HTMLElement>, keyof XstyledProps | 'children'>,\n XstyledProps,\n RequiredProps {}\n}\n\nexport const defaultProps: DSFilterBarT.DefaultProps = {};\n\nexport const DSFilterBarPropTypes: DSPropTypesSchema<DSFilterBarT.Props> = {\n ...getPropsPerSlotPropTypes(DSFilterBarName, FILTER_BAR_SLOTS),\n ...globalAttributesPropTypes,\n ...xstyledPropTypes,\n children: PropTypes.node.isRequired.description(\n 'The content of the filter bar, typically composed with DSFilterBarContent and DSFilterBarActions',\n ),\n filterBarRef: PropTypes.object.isRequired.description('Ref to the filter bar element, used for focus management'),\n};\n\nexport const DSFilterBarPropTypesSchema = DSFilterBarPropTypes as unknown as ValidationMap<DSFilterBarT.Props>;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACCvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB,wBAAwB;AAgC3C,MAAM,eAA0C,CAAC;AAEjD,MAAM,uBAA8D;AAAA,EACzE,GAAG,yBAAyB,iBAAiB,gBAAgB;AAAA,EAC7D,GAAG;AAAA,EACH,GAAG;AAAA,EACH,UAAU,UAAU,KAAK,WAAW;AAAA,IAClC;AAAA,EACF;AAAA,EACA,cAAc,UAAU,OAAO,WAAW,YAAY,0DAA0D;AAClH;AAEO,MAAM,6BAA6B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-filter-bar",
|
|
3
|
-
"version": "3.70.0-next.
|
|
3
|
+
"version": "3.70.0-next.69",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Filter Bar",
|
|
6
6
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
26
|
-
"url": "https://
|
|
26
|
+
"url": "https://github.com/intcx/PLATFORM-UI.dimsum.git"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"pnpm": ">=9",
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"uid": "^2.0.2",
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-menu-button": "3.70.0-next.
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-
|
|
46
|
-
"@elliemae/ds-system": "3.70.0-next.
|
|
41
|
+
"@elliemae/ds-grid": "3.70.0-next.69",
|
|
42
|
+
"@elliemae/ds-button-v2": "3.70.0-next.69",
|
|
43
|
+
"@elliemae/ds-menu-button": "3.70.0-next.69",
|
|
44
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.69",
|
|
45
|
+
"@elliemae/ds-icons": "3.70.0-next.69",
|
|
46
|
+
"@elliemae/ds-system": "3.70.0-next.69"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"jest": "^30.0.0",
|
|
50
50
|
"styled-components": "~5.3.11",
|
|
51
|
-
"@elliemae/ds-
|
|
52
|
-
"@elliemae/ds-
|
|
53
|
-
"@elliemae/ds-
|
|
51
|
+
"@elliemae/ds-test-utils": "3.70.0-next.69",
|
|
52
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.69",
|
|
53
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-next.69"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@testing-library/jest-dom": "^6.6.3",
|