@appquality/unguess-design-system 4.0.55--canary.3431671.0 → 4.0.55--canary.7dfd21d.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/build/index.d.ts CHANGED
@@ -5808,7 +5808,7 @@ declare interface NextItemArgs extends IItemProps_2 {
5808
5808
  * Used for this:
5809
5809
  - For a passive status update about user or system activity
5810
5810
  */
5811
- declare const Notification_2: ({ closeText, message, onClose, type, isPrimary, isRegular, ...props }: NotificationArgs) => JSX_2.Element;
5811
+ declare const Notification_2: ({ message, onClose, type, isPrimary, isRegular, ...props }: NotificationArgs) => JSX_2.Element;
5812
5812
  export { Notification_2 as Notification }
5813
5813
 
5814
5814
  declare interface NotificationArgs extends INotificationProps {
package/build/index.js CHANGED
@@ -46628,12 +46628,14 @@ const nUe = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w
46628
46628
  display: none;
46629
46629
  }
46630
46630
 
46631
- a[data-custom-id="notifications.notification.close"] {
46632
- margin: 0;
46633
- position: absolute;
46634
- top: ${({ theme: e }) => e.space.xxs};
46635
- right: ${({ theme: e }) => e.space.xxs};
46636
- }
46631
+ ${({ closeText: e, theme: t }) => !e && `
46632
+ a[data-custom-id="notifications.notification.close"] {
46633
+ margin: 0;
46634
+ position: absolute;
46635
+ top: ${t.space.xxs};
46636
+ right: ${t.space.xxs};
46637
+ }
46638
+ `}
46637
46639
 
46638
46640
  ${DQ} {
46639
46641
  text-align: center;
@@ -46645,16 +46647,15 @@ const nUe = (e) => /* @__PURE__ */ G.createElement("svg", { xmlns: "http://www.w
46645
46647
  }
46646
46648
  }
46647
46649
  `, vUe = ({
46648
- closeText: e,
46649
- message: t,
46650
- onClose: n,
46651
- type: r,
46652
- isPrimary: i,
46653
- isRegular: o,
46654
- ...a
46655
- }) => /* @__PURE__ */ M.jsxs(gUe, { type: r, isPrimary: i, ...a, children: [
46656
- /* @__PURE__ */ M.jsx(DQ, { isRegular: o, type: r, isPrimary: i, children: t }),
46657
- /* @__PURE__ */ M.jsx(t3, { type: r, isPrimary: i, onClick: n, children: e ?? /* @__PURE__ */ M.jsx(mUe, {}) })
46650
+ message: e,
46651
+ onClose: t,
46652
+ type: n,
46653
+ isPrimary: r,
46654
+ isRegular: i,
46655
+ ...o
46656
+ }) => /* @__PURE__ */ M.jsxs(gUe, { type: n, isPrimary: r, ...o, children: [
46657
+ /* @__PURE__ */ M.jsx(DQ, { isRegular: i, type: n, isPrimary: r, children: e }),
46658
+ /* @__PURE__ */ M.jsx(t3, { type: n, isPrimary: r, onClick: t, children: o.closeText ?? /* @__PURE__ */ M.jsx(mUe, {}) })
46658
46659
  ] }), fot = (e) => /* @__PURE__ */ M.jsx(zv, { ...e }), yUe = Dj;
46659
46660
  let Hg;
46660
46661
  const bUe = new Uint8Array(16);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "4.0.55--canary.3431671.0",
3
+ "version": "4.0.55--canary.7dfd21d.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",