@oxy.so/bloom 5.4.0 → 5.4.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/docs/adoption-matrix.mdx +2 -2
- package/lib/commonjs/provider/BloomProvider.js +13 -10
- package/lib/commonjs/provider/BloomProvider.js.map +1 -1
- package/lib/module/provider/BloomProvider.js +13 -10
- package/lib/module/provider/BloomProvider.js.map +1 -1
- package/lib/typescript/commonjs/provider/BloomProvider.d.ts.map +1 -1
- package/lib/typescript/module/provider/BloomProvider.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/provider/BloomProvider.tsx +41 -36
- package/src/__tests__/support/adoption-matrix.ts +0 -708
- package/src/__tests__/support/card-surface.ts +0 -17
- package/src/__tests__/support/collision-fixture-barrel.ts +0 -20
- package/src/__tests__/support/commerce-harness.tsx +0 -97
- package/src/__tests__/support/composite.ts +0 -68
- package/src/__tests__/support/constructed-style-sheets.ts +0 -68
- package/src/__tests__/support/messages-in.ts +0 -10
- package/src/__tests__/support/press-host.ts +0 -30
- package/src/__tests__/support/rendered-style.ts +0 -99
- package/src/__tests__/support/unread-hook-fixture.ts +0 -33
- package/src/__tests__/support/worklet-capture-fixture.tsx +0 -28
- package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +0 -9346
- package/src/theme/__tests__/__fixtures__/tonal-glass-primary-failures.json +0 -69
- package/src/theme/__tests__/fixtures/color-engine-golden.json +0 -1
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -265,7 +265,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
265
265
|
| `progressive-blur` | `@oxy.so/bloom/progressive-blur` + barrel | web fork | `progressive-blur.mdx` | yes | 1 | | | | |
|
|
266
266
|
| `proof-of-delivery` | `@oxy.so/bloom/proof-of-delivery` + barrel | universal | `proof-of-delivery.mdx` | yes | 1 | | | | reads |
|
|
267
267
|
| `property-insights` | `@oxy.so/bloom/property-insights` + barrel | universal | `property-insights.mdx` | yes | 5 | | | | reads |
|
|
268
|
-
| `provider` | `@oxy.so/bloom/provider` | universal | `provider.mdx` | yes |
|
|
268
|
+
| `provider` | `@oxy.so/bloom/provider` | universal | `provider.mdx` | yes | 3 | | | | |
|
|
269
269
|
| `questionnaire` | `@oxy.so/bloom/questionnaire` + barrel | universal | `questionnaire.mdx` | yes | 1 | **adaptation** | | | **adaptation** |
|
|
270
270
|
| `queue-panel` | `@oxy.so/bloom/queue-panel` + barrel | universal | `queue-panel.mdx` | yes | 3 | | | | **adaptation** |
|
|
271
271
|
| `radio` | `@oxy.so/bloom/radio` + barrel | universal | `radio.mdx` | yes | 3 | reads | | | |
|
|
@@ -308,7 +308,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
308
308
|
| `tenancy` | `@oxy.so/bloom/tenancy` + barrel | universal | `tenancy.mdx` | yes | 5 | | n/a¹ | | |
|
|
309
309
|
| `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 16 | reads | reads | | |
|
|
310
310
|
| `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 4 | reads | reads | | n/a¹ |
|
|
311
|
-
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes |
|
|
311
|
+
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 343 | | | n/a¹ | reads |
|
|
312
312
|
| `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
|
|
313
313
|
| `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 17 | | | | |
|
|
314
314
|
| `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 1 | | | | |
|
|
@@ -40,18 +40,21 @@ function BloomProvider({
|
|
|
40
40
|
value: imageResolver ?? null,
|
|
41
41
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.LocaleProvider, {
|
|
42
42
|
locale: locale,
|
|
43
|
-
fallback: themeProps.onFontsLoading ?? null,
|
|
44
43
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_theme.BloomThemeProvider, {
|
|
45
44
|
...themeProps,
|
|
46
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
45
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context.LocaleProvider, {
|
|
46
|
+
locale: locale,
|
|
47
|
+
fallback: themeProps.onFontsLoading ?? null,
|
|
48
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context3.ScrollRestorationProvider, {
|
|
49
|
+
adapter: scrollAdapter,
|
|
50
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_useHaptics.BloomHapticsProvider, {
|
|
51
|
+
enabled: haptics,
|
|
52
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_blurTarget.GlassBlurTargetProvider, {
|
|
53
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_bottomEdge.BottomEdgeProvider, {
|
|
54
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_topEdge.TopEdgeProvider, {
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_context2.TabBarMinimizeProvider, {
|
|
56
|
+
children: children
|
|
57
|
+
})
|
|
55
58
|
})
|
|
56
59
|
})
|
|
57
60
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_blurTarget","require","_bottomEdge","_topEdge","_index","_context","_useHaptics","_context2","_theme","_context3","_react","_jsxRuntime","noRouterAdapter","useScreenContentId","useScreenFocusEffect","effect","useEffect","BloomProvider","children","imageResolver","haptics","scrollAdapter","locale","themeProps","jsx","ImageResolverProvider","value","LocaleProvider","
|
|
1
|
+
{"version":3,"names":["_blurTarget","require","_bottomEdge","_topEdge","_index","_context","_useHaptics","_context2","_theme","_context3","_react","_jsxRuntime","noRouterAdapter","useScreenContentId","useScreenFocusEffect","effect","useEffect","BloomProvider","children","imageResolver","haptics","scrollAdapter","locale","themeProps","jsx","ImageResolverProvider","value","LocaleProvider","BloomThemeProvider","fallback","onFontsLoading","ScrollRestorationProvider","adapter","BloomHapticsProvider","enabled","GlassBlurTargetProvider","BottomEdgeProvider","TopEdgeProvider","TabBarMinimizeProvider","displayName"],"sourceRoot":"../../../src","sources":["provider/BloomProvider.tsx"],"mappings":";;;;;;AAKA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,MAAA,GAAAT,OAAA;AAAkC,IAAAU,WAAA,GAAAV,OAAA;AAdlC;AACA;AACA;;AAeA;AACA,MAAMW,eAAoC,GAAG;EAC3CC,kBAAkB,EAAEA,CAAA,KAAM,IAAI;EAC9BC,oBAAoB,EAAEC,MAAM,IAAI,IAAAC,gBAAS,EAACD,MAAM,EAAE,CAACA,MAAM,CAAC;AAC5D,CAAC;AAGM,SAASE,aAAaA,CAAC;EAC5BC,QAAQ;EACRC,aAAa;EACbC,OAAO,GAAG,IAAI;EACdC,aAAa,GAAGT,eAAe;EAC/BU,MAAM;EACN,GAAGC;AACe,CAAC,EAAE;EACrB;IAAA;IACE;IACA;IACA,IAAAZ,WAAA,CAAAa,GAAA,EAACpB,MAAA,CAAAqB,qBAAqB;MAACC,KAAK,EAAEP,aAAa,IAAI,IAAK;MAAAD,QAAA,eAElD,IAAAP,WAAA,CAAAa,GAAA,EAACnB,QAAA,CAAAsB,cAAc;QAACL,MAAM,EAAEA,MAAO;QAAAJ,QAAA,eAC7B,IAAAP,WAAA,CAAAa,GAAA,EAAChB,MAAA,CAAAoB,kBAAkB;UAAA,GAAKL,UAAU;UAAAL,QAAA,eAKhC,IAAAP,WAAA,CAAAa,GAAA,EAACnB,QAAA,CAAAsB,cAAc;YAACL,MAAM,EAAEA,MAAO;YAACO,QAAQ,EAAEN,UAAU,CAACO,cAAc,IAAI,IAAK;YAAAZ,QAAA,eAC1E,IAAAP,WAAA,CAAAa,GAAA,EAACf,SAAA,CAAAsB,yBAAyB;cAACC,OAAO,EAAEX,aAAc;cAAAH,QAAA,eAChD,IAAAP,WAAA,CAAAa,GAAA,EAAClB,WAAA,CAAA2B,oBAAoB;gBAACC,OAAO,EAAEd,OAAQ;gBAAAF,QAAA,eAYrC,IAAAP,WAAA,CAAAa,GAAA,EAACxB,WAAA,CAAAmC,uBAAuB;kBAAAjB,QAAA,eAQtB,IAAAP,WAAA,CAAAa,GAAA,EAACtB,WAAA,CAAAkC,kBAAkB;oBAAAlB,QAAA,eASjB,IAAAP,WAAA,CAAAa,GAAA,EAACrB,QAAA,CAAAkC,eAAe;sBAAAnB,QAAA,eACd,IAAAP,WAAA,CAAAa,GAAA,EAACjB,SAAA,CAAA+B,sBAAsB;wBAAApB,QAAA,EAAEA;sBAAQ,CAAyB;oBAAC,CAC5C;kBAAC,CACA;gBAAC,CACE;cAAC,CACN;YAAC,CACE;UAAC,CACd;QAAC,CACC;MAAC,CACP;IAAC,CACI;EAAC;AAE5B;AAEAD,aAAa,CAACsB,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
@@ -36,18 +36,21 @@ export function BloomProvider({
|
|
|
36
36
|
value: imageResolver ?? null,
|
|
37
37
|
children: /*#__PURE__*/_jsx(LocaleProvider, {
|
|
38
38
|
locale: locale,
|
|
39
|
-
fallback: themeProps.onFontsLoading ?? null,
|
|
40
39
|
children: /*#__PURE__*/_jsx(BloomThemeProvider, {
|
|
41
40
|
...themeProps,
|
|
42
|
-
children: /*#__PURE__*/_jsx(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
children: /*#__PURE__*/_jsx(LocaleProvider, {
|
|
42
|
+
locale: locale,
|
|
43
|
+
fallback: themeProps.onFontsLoading ?? null,
|
|
44
|
+
children: /*#__PURE__*/_jsx(ScrollRestorationProvider, {
|
|
45
|
+
adapter: scrollAdapter,
|
|
46
|
+
children: /*#__PURE__*/_jsx(BloomHapticsProvider, {
|
|
47
|
+
enabled: haptics,
|
|
48
|
+
children: /*#__PURE__*/_jsx(GlassBlurTargetProvider, {
|
|
49
|
+
children: /*#__PURE__*/_jsx(BottomEdgeProvider, {
|
|
50
|
+
children: /*#__PURE__*/_jsx(TopEdgeProvider, {
|
|
51
|
+
children: /*#__PURE__*/_jsx(TabBarMinimizeProvider, {
|
|
52
|
+
children: children
|
|
53
|
+
})
|
|
51
54
|
})
|
|
52
55
|
})
|
|
53
56
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["GlassBlurTargetProvider","BottomEdgeProvider","TopEdgeProvider","ImageResolverProvider","LocaleProvider","BloomHapticsProvider","TabBarMinimizeProvider","BloomThemeProvider","ScrollRestorationProvider","useEffect","jsx","_jsx","noRouterAdapter","useScreenContentId","useScreenFocusEffect","effect","BloomProvider","children","imageResolver","haptics","scrollAdapter","locale","themeProps","value","fallback","onFontsLoading","adapter","enabled","displayName"],"sourceRoot":"../../../src","sources":["provider/BloomProvider.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA,SAASA,uBAAuB,QAAQ,yBAAsB;AAC9D,SAASC,kBAAkB,QAAQ,0BAAuB;AAC1D,SAASC,eAAe,QAAQ,uBAAoB;AACpD,SAASC,qBAAqB,QAA4B,4BAAmB;AAC7E,SAASC,cAAc,QAAQ,sBAAmB;AAClD,SAASC,oBAAoB,QAAQ,yBAAsB;AAC3D,SAASC,sBAAsB,QAAQ,uBAAoB;AAC3D,SAASC,kBAAkB,QAAsC,UAAU;AAC3E,SAASC,yBAAyB,QAAQ,sBAAmB;AAC7D,SAASC,SAAS,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGlC;AACA,MAAMC,eAAoC,GAAG;EAC3CC,kBAAkB,EAAEA,CAAA,KAAM,IAAI;EAC9BC,oBAAoB,EAAEC,MAAM,IAAIN,SAAS,CAACM,MAAM,EAAE,CAACA,MAAM,CAAC;AAC5D,CAAC;AAGD,OAAO,SAASC,aAAaA,CAAC;EAC5BC,QAAQ;EACRC,aAAa;EACbC,OAAO,GAAG,IAAI;EACdC,aAAa,GAAGR,eAAe;EAC/BS,MAAM;EACN,GAAGC;AACe,CAAC,EAAE;EACrB;IAAA;IACE;IACA;IACAX,IAAA,CAACR,qBAAqB;MAACoB,KAAK,EAAEL,aAAa,IAAI,IAAK;MAAAD,QAAA,
|
|
1
|
+
{"version":3,"names":["GlassBlurTargetProvider","BottomEdgeProvider","TopEdgeProvider","ImageResolverProvider","LocaleProvider","BloomHapticsProvider","TabBarMinimizeProvider","BloomThemeProvider","ScrollRestorationProvider","useEffect","jsx","_jsx","noRouterAdapter","useScreenContentId","useScreenFocusEffect","effect","BloomProvider","children","imageResolver","haptics","scrollAdapter","locale","themeProps","value","fallback","onFontsLoading","adapter","enabled","displayName"],"sourceRoot":"../../../src","sources":["provider/BloomProvider.tsx"],"mappings":";;AAAA;AACA;AACA;;AAGA,SAASA,uBAAuB,QAAQ,yBAAsB;AAC9D,SAASC,kBAAkB,QAAQ,0BAAuB;AAC1D,SAASC,eAAe,QAAQ,uBAAoB;AACpD,SAASC,qBAAqB,QAA4B,4BAAmB;AAC7E,SAASC,cAAc,QAAQ,sBAAmB;AAClD,SAASC,oBAAoB,QAAQ,yBAAsB;AAC3D,SAASC,sBAAsB,QAAQ,uBAAoB;AAC3D,SAASC,kBAAkB,QAAsC,UAAU;AAC3E,SAASC,yBAAyB,QAAQ,sBAAmB;AAC7D,SAASC,SAAS,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGlC;AACA,MAAMC,eAAoC,GAAG;EAC3CC,kBAAkB,EAAEA,CAAA,KAAM,IAAI;EAC9BC,oBAAoB,EAAEC,MAAM,IAAIN,SAAS,CAACM,MAAM,EAAE,CAACA,MAAM,CAAC;AAC5D,CAAC;AAGD,OAAO,SAASC,aAAaA,CAAC;EAC5BC,QAAQ;EACRC,aAAa;EACbC,OAAO,GAAG,IAAI;EACdC,aAAa,GAAGR,eAAe;EAC/BS,MAAM;EACN,GAAGC;AACe,CAAC,EAAE;EACrB;IAAA;IACE;IACA;IACAX,IAAA,CAACR,qBAAqB;MAACoB,KAAK,EAAEL,aAAa,IAAI,IAAK;MAAAD,QAAA,eAElDN,IAAA,CAACP,cAAc;QAACiB,MAAM,EAAEA,MAAO;QAAAJ,QAAA,eAC7BN,IAAA,CAACJ,kBAAkB;UAAA,GAAKe,UAAU;UAAAL,QAAA,eAKhCN,IAAA,CAACP,cAAc;YAACiB,MAAM,EAAEA,MAAO;YAACG,QAAQ,EAAEF,UAAU,CAACG,cAAc,IAAI,IAAK;YAAAR,QAAA,eAC1EN,IAAA,CAACH,yBAAyB;cAACkB,OAAO,EAAEN,aAAc;cAAAH,QAAA,eAChDN,IAAA,CAACN,oBAAoB;gBAACsB,OAAO,EAAER,OAAQ;gBAAAF,QAAA,eAYrCN,IAAA,CAACX,uBAAuB;kBAAAiB,QAAA,eAQtBN,IAAA,CAACV,kBAAkB;oBAAAgB,QAAA,eASjBN,IAAA,CAACT,eAAe;sBAAAe,QAAA,eACdN,IAAA,CAACL,sBAAsB;wBAAAW,QAAA,EAAEA;sBAAQ,CAAyB;oBAAC,CAC5C;kBAAC,CACA;gBAAC,CACE;cAAC,CACN;YAAC,CACE;UAAC,CACd;QAAC,CACC;MAAC,CACP;IAAC,CACI;EAAC;AAE5B;AAEAD,aAAa,CAACY,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BloomProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/BloomProvider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAa,EACb,OAAc,EACd,aAA+B,EAC/B,MAAM,EACN,GAAG,UAAU,EACd,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"BloomProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/BloomProvider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAa,EACb,OAAc,EACd,aAA+B,EAC/B,MAAM,EACN,GAAG,UAAU,EACd,EAAE,kBAAkB,2CAuDpB;yBA9De,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BloomProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/BloomProvider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAa,EACb,OAAc,EACd,aAA+B,EAC/B,MAAM,EACN,GAAG,UAAU,EACd,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"BloomProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/BloomProvider.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAa,EACb,OAAc,EACd,aAA+B,EAC/B,MAAM,EACN,GAAG,UAAU,EACd,EAAE,kBAAkB,2CAuDpB;yBA9De,aAAa"}
|
package/package.json
CHANGED
|
@@ -34,47 +34,52 @@ export function BloomProvider({
|
|
|
34
34
|
// `value` is passed unconditionally (null when unset) so toggling a resolver
|
|
35
35
|
// never changes the tree shape and remounts everything below it.
|
|
36
36
|
<ImageResolverProvider value={imageResolver ?? null}>
|
|
37
|
-
{/*
|
|
38
|
-
|
|
39
|
-
<LocaleProvider locale={locale} fallback={themeProps.onFontsLoading ?? null}>
|
|
37
|
+
{/* The locale for everything below, the font-loading screen included. */}
|
|
38
|
+
<LocaleProvider locale={locale}>
|
|
40
39
|
<BloomThemeProvider {...themeProps}>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
elsewhere — so a second mount duplicates nothing, and the nearest
|
|
49
|
-
one simply becomes the target for its subtree. Nor is its position
|
|
50
|
-
an app decision the way an outlet's is: it has no z-order and no
|
|
51
|
-
insets, and it must WRAP the content, which is exactly what this
|
|
52
|
-
provider already does with `children`.
|
|
53
|
-
*/}
|
|
54
|
-
<GlassBlurTargetProvider>
|
|
40
|
+
{/* Holds the first paint on the same screen as font loading until a
|
|
41
|
+
non-English locale's strings have loaded (English never waits).
|
|
42
|
+
Inside the theme, like the font wait, because that screen is built
|
|
43
|
+
from Bloom components that read it. */}
|
|
44
|
+
<LocaleProvider locale={locale} fallback={themeProps.onFontsLoading ?? null}>
|
|
45
|
+
<ScrollRestorationProvider adapter={scrollAdapter}>
|
|
46
|
+
<BloomHapticsProvider enabled={haptics}>
|
|
55
47
|
{/*
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
the
|
|
48
|
+
A PROVIDER, not an outlet, and the distinction is the one this
|
|
49
|
+
component's exclusion list encodes. Outlets stay out because a
|
|
50
|
+
second mount duplicates every surface they render; this renders NO
|
|
51
|
+
surface — a transparent container on Android and nothing at all
|
|
52
|
+
elsewhere — so a second mount duplicates nothing, and the nearest
|
|
53
|
+
one simply becomes the target for its subtree. Nor is its position
|
|
54
|
+
an app decision the way an outlet's is: it has no z-order and no
|
|
55
|
+
insets, and it must WRAP the content, which is exactly what this
|
|
56
|
+
provider already does with `children`.
|
|
61
57
|
*/}
|
|
62
|
-
<
|
|
58
|
+
<GlassBlurTargetProvider>
|
|
63
59
|
{/*
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
re-render when the other moves.
|
|
60
|
+
The bottom edge's claim registry. Also a provider, not an outlet:
|
|
61
|
+
it renders nothing and holds only the set of surfaces currently
|
|
62
|
+
parked at the bottom edge, so a tab bar can publish its footprint
|
|
63
|
+
and a FAB or a toast stack can read it without either importing
|
|
64
|
+
the other.
|
|
70
65
|
*/}
|
|
71
|
-
<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
66
|
+
<BottomEdgeProvider>
|
|
67
|
+
{/*
|
|
68
|
+
And the top edge's, for the same reason one edge further up: a
|
|
69
|
+
floating `PageHeader` overlays the content rather than sitting
|
|
70
|
+
above it, so the content has to be told how much of the edge is
|
|
71
|
+
gone. Two registries rather than one keyed by edge, because a
|
|
72
|
+
reader of either only ever wants one number and must not
|
|
73
|
+
re-render when the other moves.
|
|
74
|
+
*/}
|
|
75
|
+
<TopEdgeProvider>
|
|
76
|
+
<TabBarMinimizeProvider>{children}</TabBarMinimizeProvider>
|
|
77
|
+
</TopEdgeProvider>
|
|
78
|
+
</BottomEdgeProvider>
|
|
79
|
+
</GlassBlurTargetProvider>
|
|
80
|
+
</BloomHapticsProvider>
|
|
81
|
+
</ScrollRestorationProvider>
|
|
82
|
+
</LocaleProvider>
|
|
78
83
|
</BloomThemeProvider>
|
|
79
84
|
</LocaleProvider>
|
|
80
85
|
</ImageResolverProvider>
|