@spaced-out/ui-design-system 0.5.12 → 0.5.13-beta.1
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.5.13-beta.1](https://github.com/spaced-out/ui-design-system/compare/v0.5.13-beta.0...v0.5.13-beta.1) (2025-10-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* floating-portal ([#413](https://github.com/spaced-out/ui-design-system/issues/413)) ([12ab553](https://github.com/spaced-out/ui-design-system/commit/12ab5532fa453c6468dce94ee15d6362a0c0f0d2))
|
|
11
|
+
|
|
12
|
+
### [0.5.13-beta.0](https://github.com/spaced-out/ui-design-system/compare/v0.5.12...v0.5.13-beta.0) (2025-10-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* floating-ui ([#412](https://github.com/spaced-out/ui-design-system/issues/412)) ([f9d3b0e](https://github.com/spaced-out/ui-design-system/commit/f9d3b0e27548ee03c103a63c42e0b91ed66950eb))
|
|
18
|
+
|
|
5
19
|
### [0.5.12](https://github.com/spaced-out/ui-design-system/compare/v0.5.11...v0.5.12) (2025-10-15)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { FloatingFocusManagerProps } from '@floating-ui/react';
|
|
2
3
|
type ClassNames = Readonly<{
|
|
3
4
|
wrapper?: string;
|
|
4
5
|
}>;
|
|
6
|
+
interface FloatingPortalProps {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
id?: string;
|
|
9
|
+
root?: HTMLElement | null | React.MutableRefObject<HTMLElement | null>;
|
|
10
|
+
preserveTabOrder?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const GenesisFloatingPortal: (props: FloatingPortalProps) => React.JSX.Element;
|
|
13
|
+
export declare const GenesisFloatingFocusManager: (props: FloatingFocusManagerProps) => React.JSX.Element;
|
|
5
14
|
export interface FocusManagerProps {
|
|
6
15
|
classNames?: ClassNames;
|
|
7
16
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FocusManager.d.ts","sourceRoot":"","sources":["../../../src/components/FocusManager/FocusManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FocusManager.d.ts","sourceRoot":"","sources":["../../../src/components/FocusManager/FocusManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,oBAAoB,CAAC;AAalE,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IACvE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,mBAAmB,sBAE/D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,OAAO,yBAAyB,sBACM,CAAC;AAEzC,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBA+BpD,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.FocusManager = void 0;
|
|
6
|
+
exports.GenesisFloatingPortal = exports.GenesisFloatingFocusManager = exports.FocusManager = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _react2 = require("@floating-ui/react");
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
@@ -12,6 +12,14 @@ var _FocusManagerModule = _interopRequireDefault(require("./FocusManager.module.
|
|
|
12
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15
|
+
const GenesisFloatingPortal = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingPortal, {
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
exports.GenesisFloatingPortal = GenesisFloatingPortal;
|
|
19
|
+
const GenesisFloatingFocusManager = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.FloatingFocusManager, {
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
exports.GenesisFloatingFocusManager = GenesisFloatingFocusManager;
|
|
15
23
|
const FocusManager = props => {
|
|
16
24
|
const {
|
|
17
25
|
refs,
|