@flipdish/ui-library 0.71.0 → 0.72.0

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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var useFocusHandOff = require('@flipdish/ui-library/hooks/useFocusHandOff');
4
3
  var React = require('react');
4
+ var useFocusHandOff = require('../../../../../hooks/__internal__/useFocusHandOff/useFocusHandOff.cjs');
5
5
  var tableFocusHandOff_utils = require('../utilities/tableFocusHandOff.utils.cjs');
6
6
 
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"useTableFocusHandOff.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/Tables/Table/hooks/useTableFocusHandOff.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAA8B,MAAM,OAAO,CAAC;AAGxH,MAAM,WAAW,iBAAiB;IAChC,+HAA+H;IAC/H,MAAM,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACjC,6HAA6H;IAC7H,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACnC,uGAAuG;IACvG,UAAU,EAAE;QACV,GAAG,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;QACzB,gBAAgB,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC9D,cAAc,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KAC9D,CAAC;CACH;AAOD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,QAAO,iBA+DvC,CAAC"}
1
+ {"version":3,"file":"useTableFocusHandOff.d.ts","sourceRoot":"","sources":["../../../../../../src/components/organisms/Tables/Table/hooks/useTableFocusHandOff.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAA8B,MAAM,OAAO,CAAC;AAIxH,MAAM,WAAW,iBAAiB;IAChC,+HAA+H;IAC/H,MAAM,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACjC,6HAA6H;IAC7H,QAAQ,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACnC,uGAAuG;IACvG,UAAU,EAAE;QACV,GAAG,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;QACzB,gBAAgB,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;QAC9D,cAAc,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KAC9D,CAAC;CACH;AAOD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,QAAO,iBA+DvC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { useFocusHandOff } from '@flipdish/ui-library/hooks/useFocusHandOff';
2
1
  import { useRef, useEffect, useMemo } from 'react';
2
+ import { useFocusHandOff } from '../../../../../hooks/__internal__/useFocusHandOff/useFocusHandOff.js';
3
3
  import { pressedControlOf, isPressKey, watchForLeaving } from '../utilities/tableFocusHandOff.utils.js';
4
4
 
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var focusFromCode_utils = require('../../utilities/__internal__/focusUtils/focusFromCode.utils.cjs');
4
+ var focusFromCode_utils = require('../../../utilities/__internal__/focusUtils/focusFromCode.utils.cjs');
5
5
 
6
6
  // What `styles.css` draws the keyboard-only focus ring from; also spelled there.
7
7
  const FOCUS_TARGET_ATTRIBUTE = 'data-focus-hand-off-target';
@@ -64,4 +64,4 @@ const useFocusHandOff = () => {
64
64
  };
65
65
 
66
66
  exports.useFocusHandOff = useFocusHandOff;
67
- //# sourceMappingURL=index.cjs.map
67
+ //# sourceMappingURL=useFocusHandOff.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusHandOff.cjs","sources":["../../../../src/hooks/__internal__/useFocusHandOff/useFocusHandOff.ts"],"sourcesContent":[null],"names":["isFocusableFromCodeOnly","takeFocusFromCodeOnly","useRef","useCallback"],"mappings":";;;;;AAKA;AACA,MAAM,sBAAsB,GAAG,4BAA4B;AAE3D;AACA;AACA,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEnE,MAAM,aAAa,GAAG,CAAC,OAAoB,KAAI;IAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;AACrD,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;AACvE,CAAC;AAED;AACA;AACA;AACA,MAAM,eAAe,GAAG,CAAC,OAAoB,KAAI;IAC/C,IAAI,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,IAAIA,2CAAuB,CAAC,OAAO,CAAC;QAAE;IAC7HC,yCAAqB,CAAC,OAAO,CAAC;AAC9B,IAAA,OAAO,CAAC,YAAY,CAAC,sBAAsB,EAAE,EAAE,CAAC;AAClD,CAAC;AAED;;;;;;;;;;;AAWG;AACI,MAAM,eAAe,GAAG,MAAK;AAClC,IAAA,MAAM,SAAS,GAAGC,YAAM,CAAC,KAAK,CAAC;AAE/B,IAAA,MAAM,OAAO,GAAGC,iBAAW,CACzB,CAAiC,MAAiC,KAChE,CAAC,GAAG,IAAU,KAAY;AACxB,QAAA,SAAS,CAAC,OAAO,GAAG,IAAI;AACxB,QAAA,IAAI;AACF,YAAA,OAAO,MAAM,CAAC,GAAG,IAAI,CAAC;QACxB;QAAE,OAAO,KAAK,EAAE;;AAEd,YAAA,SAAS,CAAC,OAAO,GAAG,KAAK;AACzB,YAAA,MAAM,KAAK;QACb;IACF,CAAC,EACH,EAAE,CACH;AAED,IAAA,MAAM,SAAS,GAAGA,iBAAW,CAAC,CAAC,MAA0B,KAAI;AAC3D,QAAA,IAAI,CAAC,MAAM;YAAE;QACb,eAAe,CAAC,MAAM,CAAC;QACvB,IAAI,CAAC,SAAS,CAAC,OAAO;YAAE;AACxB,QAAA,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM;;AAEhC,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;YAAE,MAAM,CAAC,KAAK,EAAE;;AAEtE,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;AAAE,YAAA,SAAS,CAAC,OAAO,GAAG,KAAK;IACnF,CAAC,EAAE,EAAE,CAAC;AAEN,IAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE;AAC/B;;"}
@@ -14,4 +14,4 @@ export declare const useFocusHandOff: () => {
14
14
  handOff: <Args extends unknown[], Result>(action: (...args: Args) => Result) => (...args: Args) => Result;
15
15
  targetRef: (target: HTMLElement | null) => void;
16
16
  };
17
- //# sourceMappingURL=index.d.ts.map
17
+ //# sourceMappingURL=useFocusHandOff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusHandOff.d.ts","sourceRoot":"","sources":["../../../../src/hooks/__internal__/useFocusHandOff/useFocusHandOff.ts"],"names":[],"mappings":"AA0BA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;cAIvB,IAAI,SAAS,OAAO,EAAE,EAAE,MAAM,UAAU,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,MAAM,eACtD,IAAI,KAAG,MAAM;wBAaY,WAAW,GAAG,IAAI;CAY1D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { useRef, useCallback } from 'react';
2
- import { isFocusableFromCodeOnly, takeFocusFromCodeOnly } from '../../utilities/__internal__/focusUtils/focusFromCode.utils.js';
2
+ import { isFocusableFromCodeOnly, takeFocusFromCodeOnly } from '../../../utilities/__internal__/focusUtils/focusFromCode.utils.js';
3
3
 
4
4
  // What `styles.css` draws the keyboard-only focus ring from; also spelled there.
5
5
  const FOCUS_TARGET_ATTRIBUTE = 'data-focus-hand-off-target';
@@ -62,4 +62,4 @@ const useFocusHandOff = () => {
62
62
  };
63
63
 
64
64
  export { useFocusHandOff };
65
- //# sourceMappingURL=index.js.map
65
+ //# sourceMappingURL=useFocusHandOff.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusHandOff.js","sources":["../../../../src/hooks/__internal__/useFocusHandOff/useFocusHandOff.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA;AACA,MAAM,sBAAsB,GAAG,4BAA4B;AAE3D;AACA;AACA,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEnE,MAAM,aAAa,GAAG,CAAC,OAAoB,KAAI;IAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;AACrD,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;AACvE,CAAC;AAED;AACA;AACA;AACA,MAAM,eAAe,GAAG,CAAC,OAAoB,KAAI;IAC/C,IAAI,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,IAAI,uBAAuB,CAAC,OAAO,CAAC;QAAE;IAC7H,qBAAqB,CAAC,OAAO,CAAC;AAC9B,IAAA,OAAO,CAAC,YAAY,CAAC,sBAAsB,EAAE,EAAE,CAAC;AAClD,CAAC;AAED;;;;;;;;;;;AAWG;AACI,MAAM,eAAe,GAAG,MAAK;AAClC,IAAA,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC;AAE/B,IAAA,MAAM,OAAO,GAAG,WAAW,CACzB,CAAiC,MAAiC,KAChE,CAAC,GAAG,IAAU,KAAY;AACxB,QAAA,SAAS,CAAC,OAAO,GAAG,IAAI;AACxB,QAAA,IAAI;AACF,YAAA,OAAO,MAAM,CAAC,GAAG,IAAI,CAAC;QACxB;QAAE,OAAO,KAAK,EAAE;;AAEd,YAAA,SAAS,CAAC,OAAO,GAAG,KAAK;AACzB,YAAA,MAAM,KAAK;QACb;IACF,CAAC,EACH,EAAE,CACH;AAED,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,MAA0B,KAAI;AAC3D,QAAA,IAAI,CAAC,MAAM;YAAE;QACb,eAAe,CAAC,MAAM,CAAC;QACvB,IAAI,CAAC,SAAS,CAAC,OAAO;YAAE;AACxB,QAAA,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM;;AAEhC,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;YAAE,MAAM,CAAC,KAAK,EAAE;;AAEtE,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;AAAE,YAAA,SAAS,CAAC,OAAO,GAAG,KAAK;IACnF,CAAC,EAAE,EAAE,CAAC;AAEN,IAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE;AAC/B;;"}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var useFocusHandOff = require('@flipdish/ui-library/hooks/useFocusHandOff');
3
+ var useFocusHandOff = require('../__internal__/useFocusHandOff/useFocusHandOff.cjs');
4
4
 
5
5
  // The ring `contentProps` spreads, for the callers still on it.
6
6
  const FOCUS_TARGET_CLASSES = 'outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2';
7
7
  /**
8
8
  * Keeps keyboard focus in place across a retry. A "Try again" button unmounts once the data arrives, and focus would
9
9
  * otherwise fall back to the top of the page; use it wherever a load error is replaced by the content it failed to load.
10
- * It is `useFocusHandOff` for one action; for several controls that hand focus on, use that hook.
10
+ * Inside a `Table`'s `renderEmptyState` the table hands focus to its rows or cards and to an `EmptyState.Title` itself; any other heading takes it through this hook.
11
11
  *
12
12
  * @param retry Starts the failed request again.
13
13
  * @returns `retryLoad` for the retry button, and `contentRef` for the element that replaces the error. That element takes
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Keeps keyboard focus in place across a retry. A "Try again" button unmounts once the data arrives, and focus would
3
3
  * otherwise fall back to the top of the page; use it wherever a load error is replaced by the content it failed to load.
4
- * It is `useFocusHandOff` for one action; for several controls that hand focus on, use that hook.
4
+ * Inside a `Table`'s `renderEmptyState` the table hands focus to its rows or cards and to an `EmptyState.Title` itself; any other heading takes it through this hook.
5
5
  *
6
6
  * @param retry Starts the failed request again.
7
7
  * @returns `retryLoad` for the retry button, and `contentRef` for the element that replaces the error. That element takes
@@ -1,11 +1,11 @@
1
- import { useFocusHandOff } from '@flipdish/ui-library/hooks/useFocusHandOff';
1
+ import { useFocusHandOff } from '../__internal__/useFocusHandOff/useFocusHandOff.js';
2
2
 
3
3
  // The ring `contentProps` spreads, for the callers still on it.
4
4
  const FOCUS_TARGET_CLASSES = 'outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2';
5
5
  /**
6
6
  * Keeps keyboard focus in place across a retry. A "Try again" button unmounts once the data arrives, and focus would
7
7
  * otherwise fall back to the top of the page; use it wherever a load error is replaced by the content it failed to load.
8
- * It is `useFocusHandOff` for one action; for several controls that hand focus on, use that hook.
8
+ * Inside a `Table`'s `renderEmptyState` the table hands focus to its rows or cards and to an `EmptyState.Title` itself; any other heading takes it through this hook.
9
9
  *
10
10
  * @param retry Starts the failed request again.
11
11
  * @returns `retryLoad` for the retry button, and `contentRef` for the element that replaces the error. That element takes
package/dist/styles.css CHANGED
@@ -142,9 +142,9 @@
142
142
  }
143
143
 
144
144
  /*
145
- * The keyboard focus ring of an element `useFocusHandOff` (or `useFocusAfterRetry`, built on it) made focusable, which marks
146
- * it with this attribute, so the element keeps its own classes. In `base`, so a utility on the element such as
147
- * `focus-visible:outline-hidden` still wins.
145
+ * The keyboard focus ring of an element `hooks/__internal__/useFocusHandOff` made focusable, behind `useFocusAfterRetry` and
146
+ * `Table`, which marks it with this attribute, so the element keeps its own classes. In `base`, so a utility on the element
147
+ * such as `focus-visible:outline-hidden` still wins.
148
148
  */
149
149
  @layer base {
150
150
  [data-focus-hand-off-target]:focus-visible {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/ui-library",
3
- "version": "0.71.0",
3
+ "version": "0.72.0",
4
4
  "description": "Flipdish Design System — atomic-design component library (Tailwind v4 + UntitledUI + React Aria).",
5
5
  "type": "module",
6
6
  "imports": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/hooks/useFocusHandOff/index.ts"],"sourcesContent":[null],"names":["isFocusableFromCodeOnly","takeFocusFromCodeOnly","useRef","useCallback"],"mappings":";;;;;AAKA;AACA,MAAM,sBAAsB,GAAG,4BAA4B;AAE3D;AACA;AACA,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEnE,MAAM,aAAa,GAAG,CAAC,OAAoB,KAAI;IAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC;AACrD,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,mBAAmB,CAAC,GAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;AACvE,CAAC;AAED;AACA;AACA;AACA,MAAM,eAAe,GAAG,CAAC,OAAoB,KAAI;IAC/C,IAAI,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,IAAIA,2CAAuB,CAAC,OAAO,CAAC;QAAE;IAC7HC,yCAAqB,CAAC,OAAO,CAAC;AAC9B,IAAA,OAAO,CAAC,YAAY,CAAC,sBAAsB,EAAE,EAAE,CAAC;AAClD,C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AED,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,MAA0B,KAAI;AAC3D,QAAA,IAAI,CAAC,MAAM;YAAE;QACb,eAAe,CAAC,MAAM,CAAC;QACvB,IAAI,CAAC,SAAS,CAAC,OAAO;YAAE;AACxB,QAAA,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM;;AAEhC,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;YAAE,MAAM,CAAC,KAAK,EAAE;;AAEtE,QAAA,IAAI,aAAa,CAAC,aAAa,KAAK,aAAa,CAAC,IAAI;AAAE,YAAA,SAAS,CAAC,OAAO,GAAG,KAAK;IACnF,CAAC,EAAE,EAAE,CAAC;AAEN,IAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE;AAC/B;;"}
@@ -1,12 +0,0 @@
1
- /**
2
- * `useFocusHandOff` has no React Native implementation.
3
- *
4
- * This is a generated types-only stub (scripts/emit-native-stubs.mjs). It exists so
5
- * that importing `@flipdish/ui-library/hooks/useFocusHandOff` from React Native fails at
6
- * compile time rather than resolving to the web build's types. There is no
7
- * matching `index.js`, so Metro cannot bundle this module either.
8
- *
9
- * To make `useFocusHandOff` available on React Native, add an `index.native.tsx` beside
10
- * its `index.tsx` — the build picks it up automatically and this stub disappears.
11
- */
12
- export declare const __NO_REACT_NATIVE_IMPLEMENTATION__: never;