@adiba-banking-cloud/backoffice 0.0.36 → 0.0.37

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.
@@ -13137,11 +13137,20 @@ const ConfirmModal = _ref => {
13137
13137
  let {
13138
13138
  children
13139
13139
  } = _ref;
13140
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icons, {
13141
- size: 48,
13140
+ return /*#__PURE__*/React.createElement(core.Stack, {
13141
+ gap: "sm",
13142
+ align: "center"
13143
+ }, /*#__PURE__*/React.createElement(core.Center, {
13144
+ w: 170,
13145
+ h: 170
13146
+ }, /*#__PURE__*/React.createElement(Icons, {
13147
+ size: 120,
13148
+ variant: "Bulk",
13142
13149
  name: "MessageQuestion"
13143
- }), /*#__PURE__*/React.createElement(core.Text, {
13144
- size: "sm"
13150
+ })), /*#__PURE__*/React.createElement(core.Text, {
13151
+ size: "sm",
13152
+ ta: "center",
13153
+ fw: 300
13145
13154
  }, children));
13146
13155
  };
13147
13156
 
@@ -13164,9 +13173,21 @@ const useModal = () => {
13164
13173
  children: ConfirmModal({
13165
13174
  children
13166
13175
  }),
13176
+ confirmProps: {
13177
+ radius: "xl",
13178
+ fw: 300,
13179
+ size: "md"
13180
+ },
13181
+ cancelProps: {
13182
+ radius: "xl",
13183
+ fw: 300,
13184
+ color: "#F95454",
13185
+ variant: "filled",
13186
+ size: "md"
13187
+ },
13167
13188
  groupProps: {
13168
- justify: "stretch",
13169
- gap: 'md'
13189
+ gap: "sm",
13190
+ grow: true
13170
13191
  },
13171
13192
  onConfirm,
13172
13193
  labels
@@ -13116,11 +13116,20 @@ const ConfirmModal = _ref => {
13116
13116
  let {
13117
13117
  children
13118
13118
  } = _ref;
13119
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icons, {
13120
- size: 48,
13119
+ return /*#__PURE__*/React.createElement(Stack, {
13120
+ gap: "sm",
13121
+ align: "center"
13122
+ }, /*#__PURE__*/React.createElement(Center, {
13123
+ w: 170,
13124
+ h: 170
13125
+ }, /*#__PURE__*/React.createElement(Icons, {
13126
+ size: 120,
13127
+ variant: "Bulk",
13121
13128
  name: "MessageQuestion"
13122
- }), /*#__PURE__*/React.createElement(Text, {
13123
- size: "sm"
13129
+ })), /*#__PURE__*/React.createElement(Text, {
13130
+ size: "sm",
13131
+ ta: "center",
13132
+ fw: 300
13124
13133
  }, children));
13125
13134
  };
13126
13135
 
@@ -13143,9 +13152,21 @@ const useModal = () => {
13143
13152
  children: ConfirmModal({
13144
13153
  children
13145
13154
  }),
13155
+ confirmProps: {
13156
+ radius: "xl",
13157
+ fw: 300,
13158
+ size: "md"
13159
+ },
13160
+ cancelProps: {
13161
+ radius: "xl",
13162
+ fw: 300,
13163
+ color: "#F95454",
13164
+ variant: "filled",
13165
+ size: "md"
13166
+ },
13146
13167
  groupProps: {
13147
- justify: "stretch",
13148
- gap: 'md'
13168
+ gap: "sm",
13169
+ grow: true
13149
13170
  },
13150
13171
  onConfirm,
13151
13172
  labels
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.36",
4
+ "version": "0.0.37",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",