@uniformdev/design-system 17.7.1-alpha.169 → 17.7.1-alpha.172

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/dist/esm/index.js CHANGED
@@ -2646,6 +2646,7 @@ import { css as css25 } from "@emotion/react";
2646
2646
  var minHeight = (prop) => {
2647
2647
  const values = {
2648
2648
  auto: "auto",
2649
+ xs: "4rem",
2649
2650
  sm: "8rem",
2650
2651
  md: "16rem",
2651
2652
  lg: "20rem"
@@ -2669,7 +2670,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css25`
2669
2670
  flex-flow: column wrap;
2670
2671
  justify-content: ${textAlign};
2671
2672
  text-align: ${textAlign};
2672
- padding: var(--spacing-lg);
2673
+ padding: ${boxHeight === "xs" ? "var(--spacing-base)" : "var(--spacing-lg)"};
2673
2674
  will-change: auto;
2674
2675
  min-height: ${minHeight(boxHeight)};
2675
2676
  `;
package/dist/index.d.ts CHANGED
@@ -342,7 +342,7 @@ type CounterProps = {
342
342
  declare const Counter: ({ count }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
343
343
 
344
344
  type TextAlignProps = 'left' | 'right' | 'center';
345
- type BoxHeightProps = 'auto' | 'sm' | 'md' | 'lg';
345
+ type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
346
346
  type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
347
347
  /** React child elements */
348
348
  children: React$1.ReactNode;
package/dist/index.js CHANGED
@@ -2779,6 +2779,7 @@ var import_react31 = require("@emotion/react");
2779
2779
  var minHeight = (prop) => {
2780
2780
  const values = {
2781
2781
  auto: "auto",
2782
+ xs: "4rem",
2782
2783
  sm: "8rem",
2783
2784
  md: "16rem",
2784
2785
  lg: "20rem"
@@ -2802,7 +2803,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react31.c
2802
2803
  flex-flow: column wrap;
2803
2804
  justify-content: ${textAlign};
2804
2805
  text-align: ${textAlign};
2805
- padding: var(--spacing-lg);
2806
+ padding: ${boxHeight === "xs" ? "var(--spacing-base)" : "var(--spacing-lg)"};
2806
2807
  will-change: auto;
2807
2808
  min-height: ${minHeight(boxHeight)};
2808
2809
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "17.7.1-alpha.169+522807b78",
3
+ "version": "17.7.1-alpha.172+bc69aa309",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,5 +45,5 @@
45
45
  "files": [
46
46
  "/dist"
47
47
  ],
48
- "gitHead": "522807b78c5e15b076bd07b4a1a4124de07dcb5b"
48
+ "gitHead": "bc69aa30983f9bc3f4aeea9af5974d417a34dbc9"
49
49
  }