@uniformdev/design-system 19.34.0 → 19.35.1-alpha.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.
- package/dist/esm/index.js +11 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -4
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -12875,9 +12875,9 @@ var DrawerContentBtnGroup = css40`
|
|
|
12875
12875
|
|
|
12876
12876
|
// src/components/Drawer/DrawerContent.tsx
|
|
12877
12877
|
import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
|
|
12878
|
-
var DrawerContent2 = ({ children, buttonGroup, ...props }) => {
|
|
12878
|
+
var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
|
|
12879
12879
|
return /* @__PURE__ */ jsxs23("div", { css: DrawerContent, ...props, children: [
|
|
12880
|
-
/* @__PURE__ */ jsx41("div", { css: DrawerContentInner, children }),
|
|
12880
|
+
/* @__PURE__ */ jsx41("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
|
|
12881
12881
|
buttonGroup ? /* @__PURE__ */ jsx41("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
|
|
12882
12882
|
] });
|
|
12883
12883
|
};
|
|
@@ -14778,11 +14778,11 @@ var IntegrationTile = ({
|
|
|
14778
14778
|
|
|
14779
14779
|
// src/components/Tiles/styles/Tile.styles.ts
|
|
14780
14780
|
import { css as css62 } from "@emotion/react";
|
|
14781
|
+
var tileBorderSize = "1px";
|
|
14781
14782
|
var Tile = css62`
|
|
14782
14783
|
background: var(--white);
|
|
14783
|
-
border: none;
|
|
14784
14784
|
cursor: pointer;
|
|
14785
|
-
|
|
14785
|
+
border: ${tileBorderSize} solid var(--gray-300);
|
|
14786
14786
|
display: grid;
|
|
14787
14787
|
padding: var(--spacing-base);
|
|
14788
14788
|
place-items: center;
|
|
@@ -14818,6 +14818,13 @@ var TileContainerInner = (gap, templateColumns) => css63`
|
|
|
14818
14818
|
display: grid;
|
|
14819
14819
|
grid-template-columns: ${templateColumns};
|
|
14820
14820
|
gap: var(--spacing-${gap});
|
|
14821
|
+
margin-top: ${tileBorderSize};
|
|
14822
|
+
margin-left: ${tileBorderSize};
|
|
14823
|
+
|
|
14824
|
+
> * {
|
|
14825
|
+
margin-top: -${tileBorderSize};
|
|
14826
|
+
margin-left: -${tileBorderSize};
|
|
14827
|
+
}
|
|
14821
14828
|
`;
|
|
14822
14829
|
|
|
14823
14830
|
// 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
|
@@ -13103,9 +13103,9 @@ var DrawerContentBtnGroup = import_react50.css`
|
|
|
13103
13103
|
|
|
13104
13104
|
// src/components/Drawer/DrawerContent.tsx
|
|
13105
13105
|
var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
|
|
13106
|
-
var DrawerContent2 = ({ children, buttonGroup, ...props }) => {
|
|
13106
|
+
var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
|
|
13107
13107
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: DrawerContent, ...props, children: [
|
|
13108
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: DrawerContentInner, children }),
|
|
13108
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
|
|
13109
13109
|
buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
|
|
13110
13110
|
] });
|
|
13111
13111
|
};
|
|
@@ -15006,11 +15006,11 @@ var IntegrationTile = ({
|
|
|
15006
15006
|
|
|
15007
15007
|
// src/components/Tiles/styles/Tile.styles.ts
|
|
15008
15008
|
var import_react77 = require("@emotion/react");
|
|
15009
|
+
var tileBorderSize = "1px";
|
|
15009
15010
|
var Tile = import_react77.css`
|
|
15010
15011
|
background: var(--white);
|
|
15011
|
-
border: none;
|
|
15012
15012
|
cursor: pointer;
|
|
15013
|
-
|
|
15013
|
+
border: ${tileBorderSize} solid var(--gray-300);
|
|
15014
15014
|
display: grid;
|
|
15015
15015
|
padding: var(--spacing-base);
|
|
15016
15016
|
place-items: center;
|
|
@@ -15046,6 +15046,13 @@ var TileContainerInner = (gap, templateColumns) => import_react78.css`
|
|
|
15046
15046
|
display: grid;
|
|
15047
15047
|
grid-template-columns: ${templateColumns};
|
|
15048
15048
|
gap: var(--spacing-${gap});
|
|
15049
|
+
margin-top: ${tileBorderSize};
|
|
15050
|
+
margin-left: ${tileBorderSize};
|
|
15051
|
+
|
|
15052
|
+
> * {
|
|
15053
|
+
margin-top: -${tileBorderSize};
|
|
15054
|
+
margin-left: -${tileBorderSize};
|
|
15055
|
+
}
|
|
15049
15056
|
`;
|
|
15050
15057
|
|
|
15051
15058
|
// src/components/Tiles/TileContainer.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.35.1-alpha.0+a014a056d",
|
|
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.
|
|
28
|
-
"@uniformdev/richtext": "^19.
|
|
27
|
+
"@uniformdev/canvas": "^19.35.1-alpha.0+a014a056d",
|
|
28
|
+
"@uniformdev/richtext": "^19.35.1-alpha.0+a014a056d",
|
|
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.
|
|
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": "
|
|
71
|
+
"gitHead": "a014a056d438287f661292e7ff6a9d32bb58488f"
|
|
72
72
|
}
|