@uniformdev/design-system 19.33.0 → 19.33.1-alpha.15

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
@@ -173,6 +173,7 @@ var Theme = ({ disableReset = false }) => {
173
173
  --error-10: rgba(184, 50, 46, 0.1);
174
174
 
175
175
  /* z-indexs */
176
+ --z-1: 1;
176
177
  --z-10: 10;
177
178
  --z-20: 20;
178
179
  --z-drawer: 50;
@@ -11858,7 +11859,7 @@ var CardMenu = css26`
11858
11859
  position: absolute;
11859
11860
  top: var(--spacing-md);
11860
11861
  right: var(--spacing-md);
11861
- z-index: var(--z-10);
11862
+ z-index: var(--z-1);
11862
11863
  transition: color var(--duration-fast) var(--timing-ease-out);
11863
11864
 
11864
11865
  &:hover,
@@ -12875,9 +12876,9 @@ var DrawerContentBtnGroup = css40`
12875
12876
 
12876
12877
  // src/components/Drawer/DrawerContent.tsx
12877
12878
  import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
12878
- var DrawerContent2 = ({ children, buttonGroup, ...props }) => {
12879
+ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
12879
12880
  return /* @__PURE__ */ jsxs23("div", { css: DrawerContent, ...props, children: [
12880
- /* @__PURE__ */ jsx41("div", { css: DrawerContentInner, children }),
12881
+ /* @__PURE__ */ jsx41("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
12881
12882
  buttonGroup ? /* @__PURE__ */ jsx41("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
12882
12883
  ] });
12883
12884
  };
@@ -14778,11 +14779,11 @@ var IntegrationTile = ({
14778
14779
 
14779
14780
  // src/components/Tiles/styles/Tile.styles.ts
14780
14781
  import { css as css62 } from "@emotion/react";
14782
+ var tileBorderSize = "1px";
14781
14783
  var Tile = css62`
14782
14784
  background: var(--white);
14783
- border: none;
14784
14785
  cursor: pointer;
14785
- outline: 1px solid var(--gray-300);
14786
+ border: ${tileBorderSize} solid var(--gray-300);
14786
14787
  display: grid;
14787
14788
  padding: var(--spacing-base);
14788
14789
  place-items: center;
@@ -14818,6 +14819,13 @@ var TileContainerInner = (gap, templateColumns) => css63`
14818
14819
  display: grid;
14819
14820
  grid-template-columns: ${templateColumns};
14820
14821
  gap: var(--spacing-${gap});
14822
+ margin-top: ${tileBorderSize};
14823
+ margin-left: ${tileBorderSize};
14824
+
14825
+ > * {
14826
+ margin-top: -${tileBorderSize};
14827
+ margin-left: -${tileBorderSize};
14828
+ }
14821
14829
  `;
14822
14830
 
14823
14831
  // src/components/Tiles/TileContainer.tsx
package/dist/index.d.ts CHANGED
@@ -20525,8 +20525,9 @@ declare const Drawer: React__default.ForwardRefExoticComponent<DrawerProps & Omi
20525
20525
  type DrawerContentProps = {
20526
20526
  children: ReactNode;
20527
20527
  buttonGroup?: ReactNode;
20528
+ noPadding?: boolean;
20528
20529
  } & HTMLAttributes<HTMLDivElement>;
20529
- declare const DrawerContent: ({ children, buttonGroup, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20530
+ declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20530
20531
 
20531
20532
  interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
20532
20533
  /** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
package/dist/index.js CHANGED
@@ -405,6 +405,7 @@ var Theme = ({ disableReset = false }) => {
405
405
  --error-10: rgba(184, 50, 46, 0.1);
406
406
 
407
407
  /* z-indexs */
408
+ --z-1: 1;
408
409
  --z-10: 10;
409
410
  --z-20: 20;
410
411
  --z-drawer: 50;
@@ -12086,7 +12087,7 @@ var CardMenu = import_react34.css`
12086
12087
  position: absolute;
12087
12088
  top: var(--spacing-md);
12088
12089
  right: var(--spacing-md);
12089
- z-index: var(--z-10);
12090
+ z-index: var(--z-1);
12090
12091
  transition: color var(--duration-fast) var(--timing-ease-out);
12091
12092
 
12092
12093
  &:hover,
@@ -13103,9 +13104,9 @@ var DrawerContentBtnGroup = import_react50.css`
13103
13104
 
13104
13105
  // src/components/Drawer/DrawerContent.tsx
13105
13106
  var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
13106
- var DrawerContent2 = ({ children, buttonGroup, ...props }) => {
13107
+ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
13107
13108
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: DrawerContent, ...props, children: [
13108
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: DrawerContentInner, children }),
13109
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
13109
13110
  buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
13110
13111
  ] });
13111
13112
  };
@@ -15006,11 +15007,11 @@ var IntegrationTile = ({
15006
15007
 
15007
15008
  // src/components/Tiles/styles/Tile.styles.ts
15008
15009
  var import_react77 = require("@emotion/react");
15010
+ var tileBorderSize = "1px";
15009
15011
  var Tile = import_react77.css`
15010
15012
  background: var(--white);
15011
- border: none;
15012
15013
  cursor: pointer;
15013
- outline: 1px solid var(--gray-300);
15014
+ border: ${tileBorderSize} solid var(--gray-300);
15014
15015
  display: grid;
15015
15016
  padding: var(--spacing-base);
15016
15017
  place-items: center;
@@ -15046,6 +15047,13 @@ var TileContainerInner = (gap, templateColumns) => import_react78.css`
15046
15047
  display: grid;
15047
15048
  grid-template-columns: ${templateColumns};
15048
15049
  gap: var(--spacing-${gap});
15050
+ margin-top: ${tileBorderSize};
15051
+ margin-left: ${tileBorderSize};
15052
+
15053
+ > * {
15054
+ margin-top: -${tileBorderSize};
15055
+ margin-left: -${tileBorderSize};
15056
+ }
15049
15057
  `;
15050
15058
 
15051
15059
  // src/components/Tiles/TileContainer.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.33.0",
3
+ "version": "19.33.1-alpha.15+31348a1dd",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "6.5.16",
25
25
  "@types/react": "18.2.7",
26
26
  "@types/react-dom": "18.2.4",
27
- "@uniformdev/canvas": "^19.33.0",
28
- "@uniformdev/richtext": "^19.33.0",
27
+ "@uniformdev/canvas": "^19.33.1-alpha.15+31348a1dd",
28
+ "@uniformdev/richtext": "^19.33.1-alpha.15+31348a1dd",
29
29
  "autoprefixer": "10.4.14",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.24",
@@ -56,7 +56,7 @@
56
56
  "react-select": "5.7.3",
57
57
  "react-use": "17.4.0",
58
58
  "reakit": "1.3.11",
59
- "zod-to-json-schema": "3.21.1"
59
+ "zod-to-json-schema": "3.21.3"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "react": ">=17 || 17 || 18",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "a26cf289e832737b2cf4c9b6d767640b627a6368"
71
+ "gitHead": "31348a1dd87271a9316b89ce924f634a5307f9ce"
72
72
  }