@spaced-out/genesis-mcp 1.0.18 → 1.0.19
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/data/design-system.json +3 -3
- package/package.json +1 -1
package/data/design-system.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
|
-
"buildDate": "2026-03-
|
|
4
|
-
"version": "0.6.2
|
|
3
|
+
"buildDate": "2026-03-10T07:14:54.783Z",
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"designSystemPath": "/home/runner/work/ui-design-system/ui-design-system"
|
|
6
6
|
},
|
|
7
7
|
"components": {
|
|
@@ -1585,7 +1585,7 @@
|
|
|
1585
1585
|
"files": {
|
|
1586
1586
|
"main": {
|
|
1587
1587
|
"path": "Modal.d.ts",
|
|
1588
|
-
"content": "import * as React from 'react';\nimport type { UseTransitionStylesProps } from '@floating-ui/react';\ntype ClassNames = Readonly<{\n container?: string;\n content?: string;\n backdrop?: string;\n}>;\ntype FooterClassNames = Readonly<{\n wrapper?: string;\n actions?: string;\n}>;\nexport interface ModalProps {\n classNames?: ClassNames;\n children?: React.ReactNode;\n isOpen?: boolean;\n onClose?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined;\n hideBackdrop?: boolean;\n tapOutsideToClose?: boolean;\n allowBackgroundInteraction?: boolean;\n initialFocus?: number;\n customAnimation?: UseTransitionStylesProps;\n testId?: string;\n}\nexport type ModalSize = 'small' | 'medium' | 'large';\nexport type OverlayType = 'Modal' | 'Dialog' | 'Panel';\nexport type OverlaySize = 'small' | 'medium' | 'large' | 'fullscreen';\nexport type OverlayAnchor = 'left' | 'right';\nexport interface OverlayEventDetail {\n /** Stable identifier to correlate mount/unmount pairs */\n id: string;\n overlayType: OverlayType;\n size?: OverlaySize;\n anchor?: OverlayAnchor;\n /** Whether the overlay renders a visible backdrop */\n hasBackdrop: boolean;\n tapOutsideToClose: boolean;\n allowBackgroundInteraction: boolean;\n /** Dialog semantic
|
|
1588
|
+
"content": "import * as React from 'react';\nimport type { UseTransitionStylesProps } from '@floating-ui/react';\ntype ClassNames = Readonly<{\n container?: string;\n content?: string;\n backdrop?: string;\n}>;\ntype FooterClassNames = Readonly<{\n wrapper?: string;\n actions?: string;\n}>;\nexport interface ModalProps {\n classNames?: ClassNames;\n children?: React.ReactNode;\n isOpen?: boolean;\n onClose?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined;\n hideBackdrop?: boolean;\n tapOutsideToClose?: boolean;\n allowBackgroundInteraction?: boolean;\n initialFocus?: number;\n customAnimation?: UseTransitionStylesProps;\n testId?: string;\n}\nexport type ModalSize = 'small' | 'medium' | 'large';\nexport type OverlayType = 'Modal' | 'Dialog' | 'Panel';\nexport type OverlaySize = 'small' | 'medium' | 'large' | 'fullscreen';\nexport type OverlayAnchor = 'left' | 'right';\nexport interface OverlayEventDetail {\n /** Stable identifier to correlate mount/unmount pairs */\n id: string;\n overlayType: OverlayType;\n size?: OverlaySize;\n anchor?: OverlayAnchor;\n /** Whether the overlay renders a visible backdrop */\n hasBackdrop: boolean;\n tapOutsideToClose: boolean;\n allowBackgroundInteraction: boolean;\n /** Dialog semantic (neutral, success, warning, danger, information) */\n semantic?: string;\n testId?: string;\n}\nexport declare const OVERLAY_MOUNT_EVENT: \"ds:overlay:mount\";\nexport declare const OVERLAY_UNMOUNT_EVENT: \"ds:overlay:unmount\";\nexport type OverlayMountEvent = CustomEvent<OverlayEventDetail>;\nexport type OverlayUnmountEvent = CustomEvent<OverlayEventDetail>;\ndeclare global {\n interface WindowEventMap {\n 'ds:overlay:mount': OverlayMountEvent;\n 'ds:overlay:unmount': OverlayUnmountEvent;\n }\n}\nexport interface BaseModalProps extends Omit<ModalProps, 'size'> {\n size?: ModalSize;\n /** @internal Used by Panel/Dialog to identify overlay type in lifecycle events */\n overlayType?: OverlayType;\n /** @internal Used by Panel/Dialog to report size in lifecycle events */\n overlaySize?: OverlaySize;\n /** @internal Used by Panel to report anchor in lifecycle events */\n overlayAnchor?: OverlayAnchor;\n /** @internal Used by Dialog to report semantic variant in lifecycle events */\n overlaySemantic?: string;\n}\nexport interface ModalHeaderProps {\n children?: React.ReactNode;\n hideCloseBtn?: boolean;\n onCloseButtonClick?: React.MouseEventHandler<HTMLButtonElement>;\n className?: string;\n testId?: string;\n}\nexport interface ModalFooterProps {\n children?: React.ReactNode;\n classNames?: FooterClassNames;\n testId?: string;\n}\nexport interface ModalBodyProps {\n children?: React.ReactNode;\n className?: string;\n testId?: string;\n}\nexport declare const ModalHeader: ({ children, hideCloseBtn, onCloseButtonClick, className, testId, }: ModalHeaderProps) => React.JSX.Element;\nexport declare const ModalBody: ({ children, className, testId }: ModalBodyProps) => React.JSX.Element;\nexport declare const ModalFooter: ({ children, classNames, testId, }: ModalFooterProps) => React.JSX.Element;\nexport declare const Modal: ({ classNames, children, isOpen, onClose, hideBackdrop, tapOutsideToClose, initialFocus, customAnimation, allowBackgroundInteraction, testId, size, overlayType, overlaySize, overlayAnchor, overlaySemantic, }: BaseModalProps) => React.ReactPortal | null;\nexport declare const FullScreenModal: ({ classNames, testId, ...props }: ModalProps) => React.JSX.Element;\nexport {};\n//# sourceMappingURL=Modal.d.ts.map"
|
|
1589
1589
|
},
|
|
1590
1590
|
"story": {
|
|
1591
1591
|
"path": "Modal.stories.tsx",
|
package/package.json
CHANGED