@redsift/pickers 11.6.0-muiv5-alpha.3 → 11.6.0-muiv5-alpha.5
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/{components/combobox/Combobox.d.ts → _internal/Combobox2.js} +7 -7
- package/_internal/Combobox2.js.map +1 -0
- package/{components/combobox-content/ComboboxContent.d.ts → _internal/ComboboxContent.js} +5 -5
- package/_internal/ComboboxContent.js.map +1 -0
- package/{components/combobox-content-footer/ComboboxContentFooter.d.ts → _internal/ComboboxContentFooter.js} +2 -2
- package/_internal/ComboboxContentFooter.js.map +1 -0
- package/{components/combobox-content-header/ComboboxContentHeader.d.ts → _internal/ComboboxContentHeader.js} +2 -2
- package/_internal/ComboboxContentHeader.js.map +1 -0
- package/{components/combobox-content-listbox/ComboboxContentListbox.d.ts → _internal/ComboboxContentListbox.js} +2 -2
- package/_internal/ComboboxContentListbox.js.map +1 -0
- package/{components/combobox-trigger/ComboboxTrigger.d.ts → _internal/ComboboxTrigger.js} +2 -2
- package/_internal/ComboboxTrigger.js.map +1 -0
- package/{components/item/Item.d.ts → _internal/Item2.js} +1 -1
- package/_internal/Item2.js.map +1 -0
- package/{components/menu-button/types.d.ts → _internal/MenuButton.js} +27 -2
- package/_internal/MenuButton.js.map +1 -0
- package/{components/menu-button-content/MenuButtonContent.d.ts → _internal/MenuButtonContent.js} +5 -5
- package/_internal/MenuButtonContent.js.map +1 -0
- package/{components/menu-button-content-footer/MenuButtonContentFooter.d.ts → _internal/MenuButtonContentFooter.js} +2 -2
- package/_internal/MenuButtonContentFooter.js.map +1 -0
- package/{components/menu-button-content-header/MenuButtonContentHeader.d.ts → _internal/MenuButtonContentHeader.js} +2 -2
- package/_internal/MenuButtonContentHeader.js.map +1 -0
- package/{components/menu-button-content-menu/MenuButtonContentMenu.d.ts → _internal/MenuButtonContentMenu.js} +2 -2
- package/_internal/MenuButtonContentMenu.js.map +1 -0
- package/{components/menu-button-trigger/MenuButtonTrigger.d.ts → _internal/MenuButtonTrigger.js} +2 -2
- package/_internal/MenuButtonTrigger.js.map +1 -0
- package/{components/select/types.d.ts → _internal/Select2.js} +20 -2
- package/_internal/Select2.js.map +1 -0
- package/{components/select-content/SelectContent.d.ts → _internal/SelectContent.js} +2 -2
- package/_internal/SelectContent.js.map +1 -0
- package/{components/select-trigger/SelectTrigger.d.ts → _internal/SelectTrigger.js} +2 -2
- package/_internal/SelectTrigger.js.map +1 -0
- package/{_virtual → _internal}/_rollupPluginBabelHelpers.js +1 -1
- package/_internal/combobox-content-footer.js +4 -0
- package/_internal/combobox-content-footer.js.map +1 -0
- package/_internal/combobox-content-header.js +4 -0
- package/_internal/combobox-content-header.js.map +1 -0
- package/_internal/combobox-content-listbox.js +6 -0
- package/_internal/combobox-content-listbox.js.map +1 -0
- package/_internal/combobox-content.js +9 -0
- package/_internal/combobox-content.js.map +1 -0
- package/_internal/combobox-trigger.js +6 -0
- package/_internal/combobox-trigger.js.map +1 -0
- package/_internal/combobox.js +10 -0
- package/_internal/combobox.js.map +1 -0
- package/_internal/item.js +2 -0
- package/_internal/item.js.map +1 -0
- package/_internal/menu-button-content-footer.js +4 -0
- package/_internal/menu-button-content-footer.js.map +1 -0
- package/_internal/menu-button-content-header.js +4 -0
- package/_internal/menu-button-content-header.js.map +1 -0
- package/_internal/menu-button-content-menu.js +3 -0
- package/_internal/menu-button-content-menu.js.map +1 -0
- package/_internal/menu-button-content.js +8 -0
- package/_internal/menu-button-content.js.map +1 -0
- package/_internal/menu-button-trigger.js +5 -0
- package/_internal/menu-button-trigger.js.map +1 -0
- package/_internal/menu-button.js +9 -0
- package/_internal/menu-button.js.map +1 -0
- package/_internal/select-content.js +4 -0
- package/_internal/select-content.js.map +1 -0
- package/_internal/select-trigger.js +5 -0
- package/_internal/select-trigger.js.map +1 -0
- package/_internal/select.js +6 -0
- package/_internal/select.js.map +1 -0
- package/{components/combobox-content-footer/types.d.ts → _internal/types.js} +1 -1
- package/_internal/types.js.map +1 -0
- package/{components/menu-button-content/types.d.ts → _internal/types10.js} +1 -1
- package/{components/menu-button-trigger/types.d.ts → _internal/types11.js} +1 -1
- package/{components/select-content/types.d.ts → _internal/types12.js} +1 -1
- package/{components/select-trigger/types.d.ts → _internal/types13.js} +1 -1
- package/{components/combobox-content-header/types.d.ts → _internal/types2.js} +1 -1
- package/{components/combobox-content-listbox/types.d.ts → _internal/types3.js} +2 -2
- package/{components/combobox-content/types.d.ts → _internal/types4.js} +1 -1
- package/{components/combobox-trigger/types.d.ts → _internal/types5.js} +2 -2
- package/{components/combobox/types.d.ts → _internal/types6.js} +1 -1
- package/{components/menu-button-content-footer/types.d.ts → _internal/types7.js} +1 -1
- package/{components/menu-button-content-header/types.d.ts → _internal/types8.js} +1 -1
- package/{components/menu-button-content-menu/types.d.ts → _internal/types9.js} +1 -1
- package/index.js +32 -18
- package/package.json +5 -5
- package/components/combobox/Combobox.js +0 -151
- package/components/combobox/Combobox.js.map +0 -1
- package/components/combobox/context.js +0 -6
- package/components/combobox/context.js.map +0 -1
- package/components/combobox/intl/en-US.json.js +0 -13
- package/components/combobox/intl/en-US.json.js.map +0 -1
- package/components/combobox/intl/fr-FR.json.js +0 -13
- package/components/combobox/intl/fr-FR.json.js.map +0 -1
- package/components/combobox/intl/index.js +0 -10
- package/components/combobox/intl/index.js.map +0 -1
- package/components/combobox/types.js +0 -22
- package/components/combobox/types.js.map +0 -1
- package/components/combobox-content/ComboboxContent.js +0 -70
- package/components/combobox-content/ComboboxContent.js.map +0 -1
- package/components/combobox-content-footer/ComboboxContentFooter.js +0 -28
- package/components/combobox-content-footer/ComboboxContentFooter.js.map +0 -1
- package/components/combobox-content-footer/styles.js +0 -12
- package/components/combobox-content-footer/styles.js.map +0 -1
- package/components/combobox-content-header/ComboboxContentHeader.js +0 -28
- package/components/combobox-content-header/ComboboxContentHeader.js.map +0 -1
- package/components/combobox-content-header/styles.js +0 -12
- package/components/combobox-content-header/styles.js.map +0 -1
- package/components/combobox-content-listbox/ComboboxContentListbox.js +0 -124
- package/components/combobox-content-listbox/ComboboxContentListbox.js.map +0 -1
- package/components/combobox-trigger/ComboboxTrigger.js +0 -352
- package/components/combobox-trigger/ComboboxTrigger.js.map +0 -1
- package/components/item/Item.js +0 -137
- package/components/item/Item.js.map +0 -1
- package/components/item/useMenuItem.js +0 -69
- package/components/item/useMenuItem.js.map +0 -1
- package/components/menu-button/MenuButton.d.ts +0 -29
- package/components/menu-button/MenuButton.js +0 -76
- package/components/menu-button/MenuButton.js.map +0 -1
- package/components/menu-button/context.js +0 -6
- package/components/menu-button/context.js.map +0 -1
- package/components/menu-button-content/MenuButtonContent.js +0 -68
- package/components/menu-button-content/MenuButtonContent.js.map +0 -1
- package/components/menu-button-content-footer/MenuButtonContentFooter.js +0 -28
- package/components/menu-button-content-footer/MenuButtonContentFooter.js.map +0 -1
- package/components/menu-button-content-footer/styles.js +0 -12
- package/components/menu-button-content-footer/styles.js.map +0 -1
- package/components/menu-button-content-header/MenuButtonContentHeader.js +0 -28
- package/components/menu-button-content-header/MenuButtonContentHeader.js.map +0 -1
- package/components/menu-button-content-header/styles.js +0 -12
- package/components/menu-button-content-header/styles.js.map +0 -1
- package/components/menu-button-content-menu/MenuButtonContentMenu.js +0 -41
- package/components/menu-button-content-menu/MenuButtonContentMenu.js.map +0 -1
- package/components/menu-button-trigger/MenuButtonTrigger.js +0 -167
- package/components/menu-button-trigger/MenuButtonTrigger.js.map +0 -1
- package/components/select/Select.d.ts +0 -22
- package/components/select/Select.js +0 -116
- package/components/select/Select.js.map +0 -1
- package/components/select/context.js +0 -6
- package/components/select/context.js.map +0 -1
- package/components/select-content/SelectContent.js +0 -62
- package/components/select-content/SelectContent.js.map +0 -1
- package/components/select-trigger/SelectTrigger.js +0 -249
- package/components/select-trigger/SelectTrigger.js.map +0 -1
- package/index.d.ts +0 -32
- /package/{_virtual → _internal}/_rollupPluginBabelHelpers.js.map +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Comp } from '@redsift/design-system';
|
|
2
|
-
import { SelectContentProps } from './
|
|
2
|
+
import { S as SelectContentProps } from './types12.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The SelectContent component.
|
|
6
6
|
*/
|
|
7
7
|
declare const SelectContent: Comp<SelectContentProps, HTMLDivElement>;
|
|
8
8
|
|
|
9
|
-
export { SelectContent };
|
|
9
|
+
export { SelectContent as S };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectContent.js","sources":["../../src/components/select-content/SelectContent.tsx"],"sourcesContent":["import React, { forwardRef, useContext, useEffect } from 'react';\n\nimport {\n AppContainerContext,\n Comp,\n Flexbox,\n FocusWithinGroupContext,\n ListboxContext,\n getContainerProps,\n useTheme,\n} from '@redsift/design-system';\nimport { SelectContentProps } from './types';\nimport {\n FloatingPortal,\n PopoverContent,\n StyledPopoverContent,\n useMergeRefs,\n usePopoverContext,\n} from '@redsift/popovers';\nimport classNames from 'classnames';\n\nconst COMPONENT_NAME = 'SelectContent';\nconst CLASSNAME = 'redsift-select-content';\n\n/**\n * The SelectContent component.\n */\nexport const SelectContent: Comp<SelectContentProps, HTMLDivElement> = forwardRef((props, ref) => {\n const { children, className, style } = props;\n const containerProps = getContainerProps(props);\n\n const { getFloatingProps, isOpen, refs, strategy, x, y } = usePopoverContext();\n const popoverRef = useMergeRefs([refs.setFloating, ref]);\n\n const appContainerState = useContext(AppContainerContext);\n const focusContext = useContext(FocusWithinGroupContext);\n const listboxState = useContext(ListboxContext);\n const theme = useTheme();\n\n useEffect(() => {\n if (focusContext && focusContext.state.delayedAction && focusContext.state.tabStops.length) {\n focusContext.dispatch(focusContext.state.delayedAction);\n }\n }, [focusContext.state.delayedAction, focusContext.state.tabStops.length]);\n\n return (\n <FloatingPortal root={appContainerState?.appContainerRef.current}>\n {isOpen && (\n <StyledPopoverContent\n $theme={theme!}\n ref={popoverRef}\n {...getFloatingProps(props)}\n style={{\n position: strategy,\n top: y ?? 0,\n left: x ?? 0,\n ...style,\n }}\n className={classNames(PopoverContent.className, SelectContent.className, className)}\n aria-disabled={listboxState.state.isDisabled}\n >\n <Flexbox flexDirection=\"column\" gap=\"0px\" margin=\"8px 0px\" width=\"100%\" {...containerProps}>\n {children}\n </Flexbox>\n </StyledPopoverContent>\n )}\n </FloatingPortal>\n );\n});\nSelectContent.className = CLASSNAME;\nSelectContent.displayName = COMPONENT_NAME;\n"],"names":["COMPONENT_NAME","CLASSNAME","SelectContent","forwardRef","props","ref","children","className","style","containerProps","getContainerProps","getFloatingProps","isOpen","refs","strategy","x","y","usePopoverContext","popoverRef","useMergeRefs","setFloating","appContainerState","useContext","AppContainerContext","focusContext","FocusWithinGroupContext","listboxState","ListboxContext","theme","useTheme","useEffect","state","delayedAction","tabStops","length","dispatch","React","createElement","FloatingPortal","root","appContainerRef","current","StyledPopoverContent","_extends","$theme","_objectSpread","position","top","left","classNames","PopoverContent","isDisabled","Flexbox","flexDirection","gap","margin","width","displayName"],"mappings":";;;;;;AAqBA,MAAMA,cAAc,GAAG,eAAe,CAAA;AACtC,MAAMC,SAAS,GAAG,wBAAwB,CAAA;;AAE1C;AACA;AACA;AACO,MAAMC,aAAuD,gBAAGC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;EAChG,MAAM;IAAEC,QAAQ;IAAEC,SAAS;AAAEC,IAAAA,KAAAA;AAAM,GAAC,GAAGJ,KAAK,CAAA;AAC5C,EAAA,MAAMK,cAAc,GAAGC,iBAAiB,CAACN,KAAK,CAAC,CAAA;EAE/C,MAAM;IAAEO,gBAAgB;IAAEC,MAAM;IAAEC,IAAI;IAAEC,QAAQ;IAAEC,CAAC;AAAEC,IAAAA,CAAAA;GAAG,GAAGC,iBAAiB,EAAE,CAAA;EAC9E,MAAMC,UAAU,GAAGC,YAAY,CAAC,CAACN,IAAI,CAACO,WAAW,EAAEf,GAAG,CAAC,CAAC,CAAA;AAExD,EAAA,MAAMgB,iBAAiB,GAAGC,UAAU,CAACC,mBAAmB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D,IAAAA,SAAS,EAAE0C,UAAU,CAACC,cAAc,CAAC3C,SAAS,EAAEL,aAAa,CAACK,SAAS,EAAEA,SAAS,CAAE;IACpF,eAAemB,EAAAA,YAAY,CAACK,KAAK,CAACoB,UAAAA;AAAW,GAAA,CAAA,eAE7Cf,KAAA,CAAAC,aAAA,CAACe,OAAO,EAAAT,QAAA,CAAA;AAACU,IAAAA,aAAa,EAAC,QAAQ;AAACC,IAAAA,GAAG,EAAC,KAAK;AAACC,IAAAA,MAAM,EAAC,SAAS;AAACC,IAAAA,KAAK,EAAC,MAAA;AAAM,GAAA,EAAK/C,cAAc,CAAA,EACvFH,QACM,CACW,CAEV,CAAC,CAAA;AAErB,CAAC,EAAC;AACFJ,aAAa,CAACK,SAAS,GAAGN,SAAS,CAAA;AACnCC,aAAa,CAACuD,WAAW,GAAGzD,cAAc;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Comp } from '@redsift/design-system';
|
|
2
|
-
import { SelectTriggerProps } from './
|
|
2
|
+
import { S as SelectTriggerProps } from './types13.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The SelectTrigger component.
|
|
6
6
|
*/
|
|
7
7
|
declare const SelectTrigger: Comp<SelectTriggerProps, HTMLButtonElement>;
|
|
8
8
|
|
|
9
|
-
export { SelectTrigger };
|
|
9
|
+
export { SelectTrigger as S };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectTrigger.js","sources":["../../src/components/select/context.ts","../../src/components/select-trigger/SelectTrigger.tsx"],"sourcesContent":["import React from 'react';\nimport { SelectState } from './types';\n\nexport const SelectContext = React.createContext<SelectState | null>(null);\n","import React, { MouseEvent, ReactElement, forwardRef, useContext, useEffect, useRef } from 'react';\nimport classNames from 'classnames';\n\nimport {\n Comp,\n EventKey,\n FocusWithinGroupActionType,\n FocusWithinGroupContext,\n Icon,\n ListboxActionType,\n ListboxContext,\n isComponent,\n useTheme,\n} from '@redsift/design-system';\nimport { SelectTriggerProps } from './types';\nimport { useMergeRefs, usePopoverContext } from '@redsift/popovers';\nimport { SelectContext } from '../select/context';\nimport { mdiChevronDown } from '@redsift/icons';\n\nconst COMPONENT_NAME = 'SelectTrigger';\nconst CLASSNAME = 'redsift-select-trigger';\n\n/**\n * The SelectTrigger component.\n */\nexport const SelectTrigger: Comp<SelectTriggerProps, HTMLButtonElement> = forwardRef((props, ref) => {\n const { children, hideExpandButton } = props;\n\n const { getReferenceProps, isOpen, handleOpen, refs } = usePopoverContext();\n const childrenRef = (children as any).ref;\n const triggerRef = useMergeRefs([refs.setReference, ref, childrenRef]);\n\n const focusContext = useContext(FocusWithinGroupContext);\n const selectContext = useContext(SelectContext);\n const listboxState = useContext(ListboxContext);\n const theme = useTheme();\n\n const renderedChildren =\n typeof children === 'function' ? children({ value: selectContext?.value, isOpen }) : children;\n\n const _inputRef = useRef<HTMLInputElement>();\n const inputRef = renderedChildren.props.inputRef ?? _inputRef;\n\n const handleKeyDown = (event: KeyboardEvent) => {\n const code = event.code;\n\n if (code === 'Escape') {\n if (isOpen) {\n handleOpen(false);\n }\n } else if (code === 'ArrowDown') {\n if (!isOpen) {\n handleOpen(true);\n }\n if (focusContext.state.selectedId !== null) {\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: {\n key: EventKey.ArrowDown,\n ctrlKey: event.ctrlKey,\n },\n },\n });\n } else if (!focusContext.state.activedescendant?.[0]) {\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: {\n key: EventKey.Home,\n ctrlKey: event.ctrlKey,\n },\n },\n });\n } else {\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.FOCUS_ON_LIST,\n payload: {\n id: focusContext.state.activedescendant?.[0] ?? '',\n },\n },\n });\n }\n event.preventDefault();\n } else if (code === 'ArrowUp') {\n if (!isOpen) {\n handleOpen(true);\n }\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: {\n key: focusContext.state.selectedId !== null ? EventKey.ArrowUp : EventKey.Home,\n ctrlKey: event.ctrlKey,\n },\n },\n });\n event.preventDefault();\n } else if (code === 'Home') {\n if (!isOpen) {\n handleOpen(true);\n }\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: {\n key: EventKey.Home,\n ctrlKey: event.ctrlKey,\n },\n },\n });\n event.preventDefault();\n } else if (code === 'End') {\n if (!isOpen) {\n handleOpen(true);\n }\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: {\n key: EventKey.End,\n ctrlKey: event.ctrlKey,\n },\n },\n });\n event.preventDefault();\n } else if (code === 'Enter') {\n if (isOpen && focusContext.state.selectedId) {\n listboxState.dispatch({\n type: ListboxActionType.SET,\n payload: {\n values: [focusContext.state.activedescendant?.[1] ?? ''],\n activedescendant: focusContext.state.activedescendant,\n },\n });\n }\n }\n };\n\n const handleClick = (event: MouseEvent) => {\n event.preventDefault();\n if (isOpen) {\n handleOpen(false);\n } else {\n handleOpen(true);\n focusContext.dispatch({\n type: FocusWithinGroupActionType.DELAY_ACTION,\n payload: {\n type: FocusWithinGroupActionType.FOCUS_ON_LIST,\n payload: {\n id: focusContext.state.activedescendant?.[0] ?? '',\n },\n },\n });\n }\n };\n\n useEffect(() => {\n selectContext?.setValue(listboxState.state.selectedValues[0]);\n handleOpen(false);\n }, [listboxState.state]);\n\n if (isComponent('TextField')(renderedChildren)) {\n return React.cloneElement(renderedChildren, {\n ...getReferenceProps({\n ref: triggerRef,\n ...props,\n ...(renderedChildren as ReactElement).props,\n children: (renderedChildren as ReactElement).props.children ?? '',\n }),\n 'aria-activedescendant': isOpen ? focusContext.state.activedescendant?.[0] : undefined,\n className: classNames((renderedChildren as ReactElement).props.className, selectContext?.triggerClassName),\n color: selectContext?.color ?? (renderedChildren as ReactElement).props.color,\n inputRef,\n internal: (value?: string, isDisabled?: boolean, isInvalid?: boolean, isRequired?: boolean) => {\n return (\n <>\n {typeof (renderedChildren as ReactElement).props.internal === 'function'\n ? (renderedChildren as ReactElement).props.internal(value, isDisabled, isInvalid, isRequired)\n : (renderedChildren as ReactElement).props.internal}\n {hideExpandButton ? null : (\n <Icon\n color={isDisabled ? 'no-data' : 'question'}\n icon={mdiChevronDown}\n style={{\n transition: 'transform 300ms ease-out',\n transform: `rotate(${isOpen ? '-180deg' : '0'})`,\n cursor: 'pointer',\n }}\n />\n )}\n </>\n );\n },\n isActive: isOpen,\n isDisabled: selectContext?.isDisabled,\n isReadOnly: true,\n theme,\n role: 'combobox',\n onClick: handleClick,\n onKeyDown: handleKeyDown,\n style: { ...(renderedChildren as ReactElement).props.style, caretColor: 'transparent', cursor: 'pointer' },\n variant: selectContext?.variant ?? (renderedChildren as ReactElement).props.variant,\n ...(selectContext?.isInvalid === true && { color: 'error' }),\n ...(typeof children !== 'function' &&\n selectContext?.value && {\n value: selectContext.value,\n }),\n inputProps: {\n ...(renderedChildren as ReactElement).props.inputProps,\n style: { ...(renderedChildren as ReactElement).props.inputProps?.style, cursor: 'pointer' },\n },\n });\n } else if (isComponent('Button')(renderedChildren)) {\n const children = (renderedChildren as ReactElement).props.children;\n const label = typeof children === 'string' ? children : children?.textContent;\n\n return React.cloneElement(renderedChildren, {\n ...getReferenceProps({\n ref: triggerRef,\n ...props,\n ...(renderedChildren as ReactElement).props,\n children: (renderedChildren as ReactElement).props.children ?? '',\n }),\n 'aria-activedescendant': isOpen ? focusContext.state.activedescendant?.[0] : undefined,\n 'aria-label': (renderedChildren as ReactElement).props['aria-label'] ?? label,\n className: classNames((renderedChildren as ReactElement).props.className, selectContext?.triggerClassName),\n color: selectContext?.color ?? (renderedChildren as ReactElement).props.color,\n isActive: isOpen,\n isDisabled: selectContext?.isDisabled,\n onClick: handleClick,\n onKeyDown: handleKeyDown,\n rightIcon: (renderedChildren as ReactElement).props.rightIcon ?? mdiChevronDown,\n rightIconProps: (renderedChildren as ReactElement).props.rightIcon\n ? (renderedChildren as ReactElement).props.rightIconProps\n : (renderedChildren as ReactElement).props.rightIconProps ?? {\n style: {\n transition: 'transform 300ms ease-out',\n transform: `rotate(${isOpen ? '-180deg' : '0'})`,\n },\n },\n role: 'combobox',\n theme,\n variant: selectContext?.variant ?? (renderedChildren as ReactElement).props.variant,\n ...(selectContext?.isInvalid === true && { color: 'error' }),\n ...(typeof children !== 'function' &&\n selectContext?.value && {\n children: selectContext.value,\n }),\n });\n }\n\n return <>{renderedChildren}</>;\n});\nSelectTrigger.className = CLASSNAME;\nSelectTrigger.displayName = COMPONENT_NAME;\n"],"names":["SelectContext","React","createContext","COMPONENT_NAME","CLASSNAME","SelectTrigger","forwardRef","props","ref","_renderedChildren$pro","children","hideExpandButton","getReferenceProps","isOpen","handleOpen","refs","usePopoverContext","childrenRef","triggerRef","useMergeRefs","setReference","focusContext","useContext","FocusWithinGroupContext","selectContext","listboxState","ListboxContext","theme","useTheme","renderedChildren","value","_inputRef","useRef","inputRef","handleKeyDown","event","code","_focusContext$state$a","state","selectedId","dispatch","type","FocusWithinGroupActionType","DELAY_ACTION","payload","KEY_DOWN_ON_LIST","key","EventKey","ArrowDown","ctrlKey","activedescendant","Home","_focusContext$state$a2","_focusContext$state$a3","FOCUS_ON_LIST","id","preventDefault","ArrowUp","End","_focusContext$state$a4","_focusContext$state$a5","ListboxActionType","SET","values","handleClick","_focusContext$state$a6","_focusContext$state$a7","useEffect","setValue","selectedValues","isComponent","_props$children","_focusContext$state$a8","_selectContext$color","_selectContext$varian","_props$inputProps","cloneElement","_objectSpread","undefined","className","classNames","triggerClassName","color","internal","isDisabled","isInvalid","isRequired","createElement","Fragment","Icon","icon","mdiChevronDown","style","transition","transform","cursor","isActive","isReadOnly","role","onClick","onKeyDown","caretColor","variant","inputProps","_props$children2","_focusContext$state$a9","_props$ariaLabel","_selectContext$color2","_props$rightIcon","_props$rightIconProps","_selectContext$varian2","label","textContent","rightIcon","rightIconProps","displayName"],"mappings":";;;;;;;AAGO,MAAMA,aAAa,gBAAGC,KAAK,CAACC,aAAa,CAAqB,IAAI;;ACgBzE,MAAMC,cAAc,GAAG,eAAe,CAAA;AACtC,MAAMC,SAAS,GAAG,wBAAwB,CAAA;;AAE1C;AACA;AACA;AACO,MAAMC,aAA0D,gBAAGC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;AAAA,EAAA,IAAAC,qBAAA,CAAA;EACnG,MAAM;IAAEC,QAAQ;AAAEC,IAAAA,gBAAAA;AAAiB,GAAC,GAAGJ,KAAK,CAAA;EAE5C,MAAM;IAAEK,iBAAiB;IAAEC,MAAM;IAAEC,UAAU;AAAEC,IAAAA,IAAAA;GAAM,GAAGC,iBAAiB,EAAE,CAAA;AAC3E,EAAA,MAAMC,WAAW,GAAIP,QAAQ,CAASF,GAAG,CAAA;AACzC,EAAA,MAAMU,UAAU,GAAGC,YAAY,CAAC,CAACJ,IAAI,CAACK,YAAY,EAAEZ,GAAG,EAAES,WAAW,CAAC,CAAC,CAAA;AAEtE,EAAA,MAAMI,YAAY,GAAGC,UAAU,CAACC,uBAAuB,CAAC,CAAA;AACxD,EAAA,MAAMC,aAAa,GAAGF,UAAU,CAACtB,aAAa,CAAC,CAAA;AAC/C,EAAA,MAAMyB,YAAY,GAAGH,UAAU,CAACI,cAAc,CAAC,CAAA;AAC/C,EAAA,MAAMC,KAAK,GAAGC,QAAQ,EAAE,CAAA;EAExB,MAAMC,gBAAgB,GACpB,OAAOnB,QAAQ,KAAK,UAAU,GAAGA,QAAQ,CAAC;AAAEoB,IAAAA,KAAK,EAAEN,aAAa,KAAA,IAAA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AA,CAAAtF,KAAA,CAAAuF,QAAA,EAAG3D,IAAAA,EAAAA,gBAAmB,CAAC,CAAA;AAChC,CAAC,EAAC;AACFxB,aAAa,CAAC0E,SAAS,GAAG3E,SAAS,CAAA;AACnCC,aAAa,CAAC8G,WAAW,GAAGhH,cAAc;;;;"}
|
|
@@ -89,5 +89,5 @@ function _toPropertyKey(arg) {
|
|
|
89
89
|
return typeof key === "symbol" ? key : String(key);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { _objectWithoutProperties as _, _extends as a, _objectSpread2 as b };
|
|
93
93
|
//# sourceMappingURL=_rollupPluginBabelHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-content-footer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-content-header.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-content-listbox.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { C as ComboboxContentProps } from './types4.js';
|
|
2
|
+
export { B as BaseComboboxContent, C as ComboboxContent } from './ComboboxContent.js';
|
|
3
|
+
import '@redsift/popovers';
|
|
4
|
+
import './types.js';
|
|
5
|
+
import '@redsift/design-system';
|
|
6
|
+
import 'react';
|
|
7
|
+
import './types3.js';
|
|
8
|
+
import './types6.js';
|
|
9
|
+
import './types2.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-content.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-trigger.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { d as ComboboxProps, C as ComboboxSelectionMode, c as ComboboxState, b as ComboboxValue, a as ComboboxVariant, S as StyledComboboxProps } from './types6.js';
|
|
2
|
+
export { B as BaseCombobox, C as Combobox } from './Combobox2.js';
|
|
3
|
+
import '@redsift/design-system';
|
|
4
|
+
import '@redsift/popovers';
|
|
5
|
+
import 'react';
|
|
6
|
+
import './types.js';
|
|
7
|
+
import './types3.js';
|
|
8
|
+
import './types2.js';
|
|
9
|
+
import './types4.js';
|
|
10
|
+
import './types5.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button-content-footer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button-content-header.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button-content-menu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { M as MenuButtonContentProps } from './types10.js';
|
|
2
|
+
export { B as BaseMenuButtonContent, M as MenuButtonContent } from './MenuButtonContent.js';
|
|
3
|
+
import '@redsift/popovers';
|
|
4
|
+
import './types7.js';
|
|
5
|
+
import '@redsift/design-system';
|
|
6
|
+
import 'react';
|
|
7
|
+
import './types9.js';
|
|
8
|
+
import './types8.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button-content.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button-trigger.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { B as BaseMenuButton, b as MenuButton, a as MenuButtonProps, M as MenuButtonState, S as StyledMenuButtonProps } from './MenuButton.js';
|
|
2
|
+
import './types7.js';
|
|
3
|
+
import '@redsift/design-system';
|
|
4
|
+
import 'react';
|
|
5
|
+
import './types9.js';
|
|
6
|
+
import './types8.js';
|
|
7
|
+
import './types10.js';
|
|
8
|
+
import '@redsift/popovers';
|
|
9
|
+
import './types11.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-button.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-content.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-trigger.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -8,4 +8,4 @@ interface ComboboxContentFooterProps extends ComponentProps<'div'>, ContainerPro
|
|
|
8
8
|
}
|
|
9
9
|
type StyledComboboxContentFooterProps = ComboboxContentFooterProps & {};
|
|
10
10
|
|
|
11
|
-
export { ComboboxContentFooterProps, StyledComboboxContentFooterProps };
|
|
11
|
+
export { ComboboxContentFooterProps as C, StyledComboboxContentFooterProps as S };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../src/components/combobox/context.ts","../../src/components/combobox/types.ts"],"sourcesContent":["import React from 'react';\nimport { ComboboxState } from './types';\n\nexport const ComboboxContext = React.createContext<ComboboxState | null>(null);\n","import { FlexboxProps, TextProps, Theme, ValueOf } from '@redsift/design-system';\nimport { PopoverProps } from '@redsift/popovers';\nimport { ReactElement, RefObject } from 'react';\n\n/**\n * Component variant.\n */\nexport const ComboboxSelectionMode = {\n single: 'single',\n multiple: 'multiple',\n} as const;\nexport type ComboboxSelectionMode = ValueOf<typeof ComboboxSelectionMode>;\n\nexport const ComboboxVariant = {\n options: 'options',\n suggestions: 'suggestions',\n} as const;\nexport type ComboboxVariant = ValueOf<typeof ComboboxVariant>;\n\nexport type ComboboxValue = string | string[];\n\n/**\n * Context props.\n */\nexport type ComboboxState = {\n /** Filtering parameters. */\n readonly filter?: {\n type: 'startsWith' | 'contains' | 'endsWith';\n caseSensitive?: boolean;\n };\n /** Whether the combobox is disabled or not. */\n readonly isDisabled: boolean;\n /** Whether the combobox is invalid or not. */\n readonly isInvalid: boolean;\n /** Sets the selected value. */\n setValue(value: ComboboxValue): void;\n /** Current selected value. */\n readonly value: ComboboxValue;\n /** Sets the input value. */\n setInputValue(inputValue: string): void;\n /** Current input value. */\n readonly inputValue: string;\n /** Whether the Combobox allow multiple selection or not. */\n selectionMode?: ComboboxSelectionMode;\n /** If 'options', the input field cannot have free text, the selection has to be made within the options. If 'suggestions', then choosing from the list isn't mandatory and the user can write free text within the input. */\n variant?: ComboboxVariant;\n /** Ref to the first item used to create values. */\n freeTextItemRef?: RefObject<HTMLDivElement>;\n /** Id of the first item used to create values. */\n freeTextItemId?: string;\n /** Class name to append to the trigger. */\n readonly triggerClassName?: string;\n /** Ref to the form, if any. */\n formRef?: RefObject<HTMLFormElement>;\n /** Ref to the submit button, if any. */\n submitRef?: RefObject<HTMLButtonElement>;\n};\n\n/**\n * Component props.\n */\nexport interface ComboboxProps extends PopoverProps {\n /** If 'options', the input field cannot have free text, the selection has to be made within the options. If 'suggestions', then choosing from the list isn't mandatory and the user can write free text within the input. */\n variant?: ComboboxVariant;\n /**\n * Default selected value.\n * Used for uncontrolled version.\n */\n defaultValue?: ComboboxValue;\n /** Description of the combobox. */\n description?: string | ReactElement;\n /** Additional description properties. */\n descriptionProps?: Omit<TextProps, 'ref'>;\n /** Filtering parameters. */\n filter?: {\n type: 'startsWith' | 'contains' | 'endsWith';\n caseSensitive?: boolean;\n };\n /** Ref to the form, if any. */\n formRef?: RefObject<HTMLFormElement>;\n /** Ref to the submit button, if any. */\n submitRef?: RefObject<HTMLButtonElement>;\n /** Whether the component is disabled or not. */\n isDisabled?: boolean;\n /** Whether the component is invalid or not. */\n isInvalid?: boolean;\n /** Maximum number of options displayed. Useful when too many options are displayed. */\n maxOptionsLength?: number;\n /** Method to handle selection change. */\n onChange?(value: ComboboxValue): void;\n /** Method to handle input change. */\n onInputChange?(value: string): void;\n /**\n * Currently selected value.\n * Used for controlled version.\n */\n value?: ComboboxValue;\n /** Input value. */\n inputValue?: string;\n /** Whether the Combobox allow multiple selection or not. */\n selectionMode?: ComboboxSelectionMode;\n /** Theme. */\n theme?: Theme;\n /** Class name to append to the trigger. */\n triggerClassName?: string;\n /** Props to forward to the wrapper. */\n wrapperProps?: Omit<FlexboxProps, 'ref'>;\n}\n\nexport type StyledComboboxProps = ComboboxProps;\n"],"names":["ComboboxContext","React","createContext","ComboboxSelectionMode","single","multiple","ComboboxVariant","options","suggestions"],"mappings":";;AAGO,MAAMA,eAAe,gBAAGC,KAAK,CAACC,aAAa,CAAuB,IAAI;;ACC7E;AACA;AACA;AACO,MAAMC,qBAAqB,GAAG;AACnCC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,QAAQ,EAAE,UAAA;AACZ,EAAU;AAGH,MAAMC,eAAe,GAAG;AAC7BC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,WAAW,EAAE,aAAA;AACf,EAAU;;AAKV;AACA;AACA;;AAmCA;AACA;AACA;;;;"}
|
|
@@ -8,4 +8,4 @@ interface ComboboxContentHeaderProps extends ComponentProps<'div'>, ContainerPro
|
|
|
8
8
|
}
|
|
9
9
|
type StyledComboboxContentHeaderProps = ComboboxContentHeaderProps & {};
|
|
10
10
|
|
|
11
|
-
export { ComboboxContentHeaderProps, StyledComboboxContentHeaderProps };
|
|
11
|
+
export { ComboboxContentHeaderProps as C, StyledComboboxContentHeaderProps as S };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { FlexboxProps, ListboxContextProps } from '@redsift/design-system';
|
|
3
|
-
import { ComboboxState } from '
|
|
3
|
+
import { c as ComboboxState } from './types6.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Component props.
|
|
@@ -9,4 +9,4 @@ interface ComboboxContentListboxProps extends FlexboxProps {
|
|
|
9
9
|
renderFreeTextItem?: ReactNode | ((value?: string, comboboxState?: ComboboxState | null, listboxState?: ListboxContextProps) => ReactNode);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export { ComboboxContentListboxProps };
|
|
12
|
+
export { ComboboxContentListboxProps as C };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverTriggerProps } from '@redsift/popovers';
|
|
2
2
|
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
import { ComboboxValue } from '
|
|
3
|
+
import { b as ComboboxValue } from './types6.js';
|
|
4
4
|
import { PillProps } from '@redsift/design-system';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -24,4 +24,4 @@ interface ComboboxTriggerProps extends Omit<PopoverTriggerProps, 'children'> {
|
|
|
24
24
|
render?: (value: string) => ReactNode;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export { ComboboxTriggerProps };
|
|
27
|
+
export { ComboboxTriggerProps as C };
|
|
@@ -104,4 +104,4 @@ interface ComboboxProps extends PopoverProps {
|
|
|
104
104
|
}
|
|
105
105
|
type StyledComboboxProps = ComboboxProps;
|
|
106
106
|
|
|
107
|
-
export {
|
|
107
|
+
export { ComboboxSelectionMode as C, StyledComboboxProps as S, ComboboxVariant as a, ComboboxValue as b, ComboboxState as c, ComboboxProps as d };
|
|
@@ -8,4 +8,4 @@ interface MenuButtonContentFooterProps extends ComponentProps<'div'>, ContainerP
|
|
|
8
8
|
}
|
|
9
9
|
type StyledMenuButtonContentFooterProps = MenuButtonContentFooterProps & {};
|
|
10
10
|
|
|
11
|
-
export { MenuButtonContentFooterProps, StyledMenuButtonContentFooterProps };
|
|
11
|
+
export { MenuButtonContentFooterProps as M, StyledMenuButtonContentFooterProps as S };
|
|
@@ -8,4 +8,4 @@ interface MenuButtonContentHeaderProps extends ComponentProps<'div'>, ContainerP
|
|
|
8
8
|
}
|
|
9
9
|
type StyledMenuButtonContentHeaderProps = MenuButtonContentHeaderProps & {};
|
|
10
10
|
|
|
11
|
-
export { MenuButtonContentHeaderProps, StyledMenuButtonContentHeaderProps };
|
|
11
|
+
export { MenuButtonContentHeaderProps as M, StyledMenuButtonContentHeaderProps as S };
|
package/index.js
CHANGED
|
@@ -1,18 +1,32 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
|
|
1
|
+
export { C as ComboboxContentFooterProps, S as StyledComboboxContentFooterProps } from './_internal/types.js';
|
|
2
|
+
export { C as ComboboxContentFooter } from './_internal/ComboboxContentFooter.js';
|
|
3
|
+
export { C as ComboboxContentHeaderProps, S as StyledComboboxContentHeaderProps } from './_internal/types2.js';
|
|
4
|
+
export { C as ComboboxContentHeader } from './_internal/ComboboxContentHeader.js';
|
|
5
|
+
export { C as ComboboxContentListboxProps } from './_internal/types3.js';
|
|
6
|
+
export { C as ComboboxContentListbox } from './_internal/ComboboxContentListbox.js';
|
|
7
|
+
export { C as ComboboxContentProps } from './_internal/types4.js';
|
|
8
|
+
export { B as BaseComboboxContent, C as ComboboxContent } from './_internal/ComboboxContent.js';
|
|
9
|
+
export { C as ComboboxTriggerProps } from './_internal/types5.js';
|
|
10
|
+
export { C as ComboboxTrigger } from './_internal/ComboboxTrigger.js';
|
|
11
|
+
export { d as ComboboxProps, C as ComboboxSelectionMode, c as ComboboxState, b as ComboboxValue, a as ComboboxVariant, S as StyledComboboxProps } from './_internal/types6.js';
|
|
12
|
+
export { B as BaseCombobox, C as Combobox } from './_internal/Combobox2.js';
|
|
13
|
+
export { I as Item } from './_internal/Item2.js';
|
|
14
|
+
export { ItemProps } from '@redsift/design-system';
|
|
15
|
+
export { M as MenuButtonContentFooterProps, S as StyledMenuButtonContentFooterProps } from './_internal/types7.js';
|
|
16
|
+
export { M as MenuButtonContentFooter } from './_internal/MenuButtonContentFooter.js';
|
|
17
|
+
export { M as MenuButtonContentHeaderProps, S as StyledMenuButtonContentHeaderProps } from './_internal/types8.js';
|
|
18
|
+
export { M as MenuButtonContentHeader } from './_internal/MenuButtonContentHeader.js';
|
|
19
|
+
export { M as MenuButtonContentMenuProps } from './_internal/types9.js';
|
|
20
|
+
export { M as MenuButtonContentMenu } from './_internal/MenuButtonContentMenu.js';
|
|
21
|
+
export { M as MenuButtonContentProps } from './_internal/types10.js';
|
|
22
|
+
export { B as BaseMenuButtonContent, M as MenuButtonContent } from './_internal/MenuButtonContent.js';
|
|
23
|
+
export { M as MenuButtonTriggerProps } from './_internal/types11.js';
|
|
24
|
+
export { M as MenuButtonTrigger } from './_internal/MenuButtonTrigger.js';
|
|
25
|
+
export { B as BaseMenuButton, b as MenuButton, a as MenuButtonProps, M as MenuButtonState, S as StyledMenuButtonProps } from './_internal/MenuButton.js';
|
|
26
|
+
export { S as SelectContentProps } from './_internal/types12.js';
|
|
27
|
+
export { S as SelectContent } from './_internal/SelectContent.js';
|
|
28
|
+
export { S as SelectTriggerProps } from './_internal/types13.js';
|
|
29
|
+
export { S as SelectTrigger } from './_internal/SelectTrigger.js';
|
|
30
|
+
export { B as BaseSelect, c as Select, a as SelectProps, S as SelectState, b as StyledSelectProps } from './_internal/Select2.js';
|
|
31
|
+
import 'react';
|
|
32
|
+
import '@redsift/popovers';
|
package/package.json
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"test": "yarn test:unit && yarn test:storybook"
|
|
31
31
|
},
|
|
32
32
|
"types": "index.d.ts",
|
|
33
|
-
"version": "11.6.0-muiv5-alpha.
|
|
33
|
+
"version": "11.6.0-muiv5-alpha.5",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@redsift/design-system": "^11.6.0-muiv5-alpha.
|
|
36
|
-
"@redsift/icons": "^11.6.0-muiv5-alpha.
|
|
37
|
-
"@redsift/popovers": "^11.6.0-muiv5-alpha.
|
|
35
|
+
"@redsift/design-system": "^11.6.0-muiv5-alpha.5",
|
|
36
|
+
"@redsift/icons": "^11.6.0-muiv5-alpha.5",
|
|
37
|
+
"@redsift/popovers": "^11.6.0-muiv5-alpha.5",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"styled-components": "^5.3.5"
|
|
40
40
|
},
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"react-dom": ">=17",
|
|
96
96
|
"styled-components": "^5.3.5"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "7c58df723ed4fb187d6ff9f43b2cf502f630b3cb"
|
|
99
99
|
}
|