playbook_ui_docs 14.17.0.pre.alpha.play1906overlaykitaddopacityandgradient7232 → 14.17.0.pre.alpha.playcdntest7233

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80b1e6e1d966e4059e7371e07ee233b1ea46341b2710750acf8981790673e607
4
- data.tar.gz: ed4a95f3cacc7e3d167381a0c9a2982af3bb62456980c9a6260ad37ae443b187
3
+ metadata.gz: 928d266a62ffa1fc328c1015aeebe1c4eac7f81e50b7ad6dcab8ff0036e42f2a
4
+ data.tar.gz: 7316c6e5e625708083da16241a65f95ac3e52f48d975fdf883e02d56dddfb325
5
5
  SHA512:
6
- metadata.gz: 2c8172a07e60cc95a83519b06b1be0efe9432ff18d88f7d3a0916b157101cfdb92c84e3bbcab50cc6d7f74774ccbe16c9b250803448370ac5124fd10927469f8
7
- data.tar.gz: 233f114efd0b64f189b1c67754ffefae25d2ca9bba5728f1209a693654584406d6a435628942c785cc38196e4bcd2820a1800d9a2bd76047d684be8fe11916cb
6
+ metadata.gz: 95a4357a462767d5d382b097f358983f59b81f6068ddfb488dfbe3ba4605284f2b694226d042061697f8de24d1b8218ab939a9fe27fe0a209974ebfa5b8ddeba
7
+ data.tar.gz: fd21ce12213128f57c68c5eca0e28d4975a1e41889a67d4991ef405d01c9d837e5172e837f1c387033ed409bea9902e70934c617e913f961d303090533f2ddaf
@@ -1 +1,7 @@
1
- Overlays help shift focus by dimming or masking background content. This kit supports gradient and solid color modes, with adjustable opacity to suit the context.
1
+ Overlays optionally accept a `color`, which sets the "start" (opaque) color of a gradient mask. Because this overlay is intended to reveal underlying content, the "end" color is fixed to transparent.
2
+
3
+ The optional `layout` prop accepts the `position` and `size` of the overlay as a key:value pair.
4
+
5
+ The `position` key accepts `bottom` (default), `top`, `y` (for both top and bottom) `right`, `left`, or `x` (for both left and right), which sets the side(s) where the `color` overlay starts. The direction of the overlay is always toward the opposite side of the position. For example, the default position of `bottom` starts the overlay on the bottom edge of your container and extends it toward the opposite side: the top.
6
+
7
+ The `size` value is `full` (100%) by default, but accepts our [spacing tokens](https://playbook.powerapp.cloud/visual_guidelines/spacing) or a percentage value as a string, and literally translates to how much of the container is covered by the overlay(s).
@@ -1,9 +1,6 @@
1
1
  examples:
2
2
  react:
3
3
  - overlay_default: Default
4
- - overlay_gradient_opacity: Gradient & Opacity
5
- - overlay_color: Color
6
- - overlay_layout: Layout
7
4
  - overlay_multi_directional: Multi-directional
8
5
  - overlay_vertical_dynamic_multi_directional: Vertical Dynamic Multi-directional
9
6
  - overlay_toggle: Toggle
@@ -1,7 +1,4 @@
1
1
  export { default as OverlayDefault } from './_overlay_default.jsx'
2
- export { default as OverlayGradientOpacity } from './_overlay_gradient_opacity.jsx'
3
- export { default as OverlayColor } from './_overlay_color.jsx'
4
- export { default as OverlayLayout } from './_overlay_layout.jsx'
5
2
  export { default as OverlayMultiDirectional } from './_overlay_multi_directional.jsx'
6
3
  export { default as OverlayToggle } from './_overlay_toggle.jsx'
7
4
  export { default as OverlayVerticalDynamicMultiDirectional } from './_overlay_vertical_dynamic_multi_directional.jsx'