@nulogy/components 14.1.0 → 14.1.2

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/main.js CHANGED
@@ -28909,6 +28909,13 @@
28909
28909
  var theme = styled.useTheme();
28910
28910
  closeButtonLabel || (closeButtonLabel = t("close"));
28911
28911
  var closeOnClick = !disableCloseOnOverlayClick;
28912
+ /*
28913
+ x5: The footer buttons are x5 in height
28914
+ x2: The footer has a padding top and bottom of x2
28915
+ x4: To match the top padding of the content
28916
+ */
28917
+
28918
+ var footerHeight = "calc(" + theme.space.x5 + " + (" + theme.space.x2 + " * 2) + " + theme.space.x4 + ")";
28912
28919
  return /*#__PURE__*/React__default["default"].createElement(BottomSheetParts.Root, {
28913
28920
  isOpen: isOpen,
28914
28921
  onClose: onClose
@@ -28929,7 +28936,8 @@
28929
28936
  margin: "0 auto"
28930
28937
  }, /*#__PURE__*/React__default["default"].createElement(BottomSheetParts.Header, null, title && /*#__PURE__*/React__default["default"].createElement(BottomSheetParts.Title, null, title), helpText && (typeof helpText === "string" ? /*#__PURE__*/React__default["default"].createElement(BottomSheetParts.HelpText, null, helpText) : helpText)), /*#__PURE__*/React__default["default"].createElement(Box, {
28931
28938
  px: "x3",
28932
- py: "x4"
28939
+ pt: "x4",
28940
+ pb: footerHeight
28933
28941
  }, children)), /*#__PURE__*/React__default["default"].createElement(BottomSheetParts.Footer, null, /*#__PURE__*/React__default["default"].createElement(Flex, {
28934
28942
  alignItems: "center",
28935
28943
  justifyContent: "space-between",
@@ -54828,7 +54836,11 @@
54828
54836
  x5: "40px",
54829
54837
  x6: "48px",
54830
54838
  x7: "56px",
54831
- x8: "64px"
54839
+ x8: "64px",
54840
+ x9: "72px",
54841
+ x10: "80px",
54842
+ x11: "88px",
54843
+ x12: "96px"
54832
54844
  },
54833
54845
  sizes: {
54834
54846
  none: "0px",
@@ -54848,7 +54860,11 @@
54848
54860
  x5: "40px",
54849
54861
  x6: "48px",
54850
54862
  x7: "56px",
54851
- x8: "64px"
54863
+ x8: "64px",
54864
+ x9: "72px",
54865
+ x10: "80px",
54866
+ x11: "88px",
54867
+ x12: "96px"
54852
54868
  },
54853
54869
  radii: {
54854
54870
  small: "2px",
@@ -54982,7 +54998,11 @@
54982
54998
  x5: "40px",
54983
54999
  x6: "48px",
54984
55000
  x7: "56px",
54985
- x8: "64px"
55001
+ x8: "64px",
55002
+ x9: "72px",
55003
+ x10: "80px",
55004
+ x11: "88px",
55005
+ x12: "96px"
54986
55006
  },
54987
55007
  sizes: {
54988
55008
  none: "0px",
@@ -55002,7 +55022,11 @@
55002
55022
  x5: "40px",
55003
55023
  x6: "48px",
55004
55024
  x7: "56px",
55005
- x8: "64px"
55025
+ x8: "64px",
55026
+ x9: "72px",
55027
+ x10: "80px",
55028
+ x11: "88px",
55029
+ x12: "96px"
55006
55030
  },
55007
55031
  radii: {
55008
55032
  small: "2px",
@@ -55136,7 +55160,11 @@
55136
55160
  x5: "56px",
55137
55161
  x6: "67.19999999999999px",
55138
55162
  x7: "78.39999999999999px",
55139
- x8: "89.6px"
55163
+ x8: "89.6px",
55164
+ x9: "100.8px",
55165
+ x10: "112px",
55166
+ x11: "123.19999999999999px",
55167
+ x12: "134.39999999999998px"
55140
55168
  },
55141
55169
  sizes: {
55142
55170
  none: "0px",
@@ -55156,7 +55184,11 @@
55156
55184
  x5: "56px",
55157
55185
  x6: "67.19999999999999px",
55158
55186
  x7: "78.39999999999999px",
55159
- x8: "89.6px"
55187
+ x8: "89.6px",
55188
+ x9: "100.8px",
55189
+ x10: "112px",
55190
+ x11: "123.19999999999999px",
55191
+ x12: "134.39999999999998px"
55160
55192
  },
55161
55193
  radii: {
55162
55194
  small: "2.8px",
@@ -55290,7 +55322,11 @@
55290
55322
  x5: "36px",
55291
55323
  x6: "43.2px",
55292
55324
  x7: "50.4px",
55293
- x8: "57.6px"
55325
+ x8: "57.6px",
55326
+ x9: "64.8px",
55327
+ x10: "72px",
55328
+ x11: "79.2px",
55329
+ x12: "86.4px"
55294
55330
  },
55295
55331
  sizes: {
55296
55332
  none: "0px",
@@ -55310,7 +55346,11 @@
55310
55346
  x5: "36px",
55311
55347
  x6: "43.2px",
55312
55348
  x7: "50.4px",
55313
- x8: "57.6px"
55349
+ x8: "57.6px",
55350
+ x9: "64.8px",
55351
+ x10: "72px",
55352
+ x11: "79.2px",
55353
+ x12: "86.4px"
55314
55354
  },
55315
55355
  radii: {
55316
55356
  small: "1.8px",
@@ -28892,6 +28892,13 @@ function BottomSheet(_a) {
28892
28892
  var theme = useTheme();
28893
28893
  closeButtonLabel || (closeButtonLabel = t("close"));
28894
28894
  var closeOnClick = !disableCloseOnOverlayClick;
28895
+ /*
28896
+ x5: The footer buttons are x5 in height
28897
+ x2: The footer has a padding top and bottom of x2
28898
+ x4: To match the top padding of the content
28899
+ */
28900
+
28901
+ var footerHeight = "calc(" + theme.space.x5 + " + (" + theme.space.x2 + " * 2) + " + theme.space.x4 + ")";
28895
28902
  return /*#__PURE__*/React__default.createElement(BottomSheetParts.Root, {
28896
28903
  isOpen: isOpen,
28897
28904
  onClose: onClose
@@ -28912,7 +28919,8 @@ function BottomSheet(_a) {
28912
28919
  margin: "0 auto"
28913
28920
  }, /*#__PURE__*/React__default.createElement(BottomSheetParts.Header, null, title && /*#__PURE__*/React__default.createElement(BottomSheetParts.Title, null, title), helpText && (typeof helpText === "string" ? /*#__PURE__*/React__default.createElement(BottomSheetParts.HelpText, null, helpText) : helpText)), /*#__PURE__*/React__default.createElement(Box, {
28914
28921
  px: "x3",
28915
- py: "x4"
28922
+ pt: "x4",
28923
+ pb: footerHeight
28916
28924
  }, children)), /*#__PURE__*/React__default.createElement(BottomSheetParts.Footer, null, /*#__PURE__*/React__default.createElement(Flex, {
28917
28925
  alignItems: "center",
28918
28926
  justifyContent: "space-between",
@@ -54811,7 +54819,11 @@ var themes = {
54811
54819
  x5: "40px",
54812
54820
  x6: "48px",
54813
54821
  x7: "56px",
54814
- x8: "64px"
54822
+ x8: "64px",
54823
+ x9: "72px",
54824
+ x10: "80px",
54825
+ x11: "88px",
54826
+ x12: "96px"
54815
54827
  },
54816
54828
  sizes: {
54817
54829
  none: "0px",
@@ -54831,7 +54843,11 @@ var themes = {
54831
54843
  x5: "40px",
54832
54844
  x6: "48px",
54833
54845
  x7: "56px",
54834
- x8: "64px"
54846
+ x8: "64px",
54847
+ x9: "72px",
54848
+ x10: "80px",
54849
+ x11: "88px",
54850
+ x12: "96px"
54835
54851
  },
54836
54852
  radii: {
54837
54853
  small: "2px",
@@ -54965,7 +54981,11 @@ var themes = {
54965
54981
  x5: "40px",
54966
54982
  x6: "48px",
54967
54983
  x7: "56px",
54968
- x8: "64px"
54984
+ x8: "64px",
54985
+ x9: "72px",
54986
+ x10: "80px",
54987
+ x11: "88px",
54988
+ x12: "96px"
54969
54989
  },
54970
54990
  sizes: {
54971
54991
  none: "0px",
@@ -54985,7 +55005,11 @@ var themes = {
54985
55005
  x5: "40px",
54986
55006
  x6: "48px",
54987
55007
  x7: "56px",
54988
- x8: "64px"
55008
+ x8: "64px",
55009
+ x9: "72px",
55010
+ x10: "80px",
55011
+ x11: "88px",
55012
+ x12: "96px"
54989
55013
  },
54990
55014
  radii: {
54991
55015
  small: "2px",
@@ -55119,7 +55143,11 @@ var themes = {
55119
55143
  x5: "56px",
55120
55144
  x6: "67.19999999999999px",
55121
55145
  x7: "78.39999999999999px",
55122
- x8: "89.6px"
55146
+ x8: "89.6px",
55147
+ x9: "100.8px",
55148
+ x10: "112px",
55149
+ x11: "123.19999999999999px",
55150
+ x12: "134.39999999999998px"
55123
55151
  },
55124
55152
  sizes: {
55125
55153
  none: "0px",
@@ -55139,7 +55167,11 @@ var themes = {
55139
55167
  x5: "56px",
55140
55168
  x6: "67.19999999999999px",
55141
55169
  x7: "78.39999999999999px",
55142
- x8: "89.6px"
55170
+ x8: "89.6px",
55171
+ x9: "100.8px",
55172
+ x10: "112px",
55173
+ x11: "123.19999999999999px",
55174
+ x12: "134.39999999999998px"
55143
55175
  },
55144
55176
  radii: {
55145
55177
  small: "2.8px",
@@ -55273,7 +55305,11 @@ var themes = {
55273
55305
  x5: "36px",
55274
55306
  x6: "43.2px",
55275
55307
  x7: "50.4px",
55276
- x8: "57.6px"
55308
+ x8: "57.6px",
55309
+ x9: "64.8px",
55310
+ x10: "72px",
55311
+ x11: "79.2px",
55312
+ x12: "86.4px"
55277
55313
  },
55278
55314
  sizes: {
55279
55315
  none: "0px",
@@ -55293,7 +55329,11 @@ var themes = {
55293
55329
  x5: "36px",
55294
55330
  x6: "43.2px",
55295
55331
  x7: "50.4px",
55296
- x8: "57.6px"
55332
+ x8: "57.6px",
55333
+ x9: "64.8px",
55334
+ x10: "72px",
55335
+ x11: "79.2px",
55336
+ x12: "86.4px"
55297
55337
  },
55298
55338
  radii: {
55299
55339
  small: "1.8px",
@@ -85,6 +85,10 @@ interface Space {
85
85
  x6: string;
86
86
  x7: string;
87
87
  x8: string;
88
+ x9: string;
89
+ x10: string;
90
+ x11: string;
91
+ x12: string;
88
92
  }
89
93
  interface Fonts {
90
94
  base: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "14.1.0",
3
+ "version": "14.1.2",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -80,6 +80,7 @@
80
80
  "@semantic-release/github": "^8.0.7",
81
81
  "@semantic-release/npm": "^9.0.0",
82
82
  "@semantic-release/release-notes-generator": "^10.0.3",
83
+ "@storybook/react": "6.3.12",
83
84
  "@storybook/addon-a11y": "^6.1.9",
84
85
  "@storybook/addon-actions": "^6.1.9",
85
86
  "@storybook/addon-docs": "6.1.9",
@@ -154,7 +155,6 @@
154
155
  "@emotion/is-prop-valid": "^1.3.1",
155
156
  "@nulogy/tokens": "^5.4.0",
156
157
  "@reach/dialog": "0.17.0",
157
- "@storybook/react": "6.3.12",
158
158
  "@styled-system/prop-types": "^5.1.4",
159
159
  "@styled-system/theme-get": "^5.1.2",
160
160
  "@types/react-window": "^1.8.8",