@app-studio/web 0.8.94 → 0.8.96

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.
@@ -85,3 +85,5 @@ export declare const ChartIcon: React.FC<IconProps>;
85
85
  export declare const GiftIcon: React.FC<IconProps>;
86
86
  export declare const ShieldIcon: React.FC<IconProps>;
87
87
  export declare const CheckIcon: React.FC<IconProps>;
88
+ export declare const LogoutIcon: React.FC<IconProps>;
89
+ export declare const PowerOffIcon: React.FC<IconProps>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ToastProps, ToastContainerProps } from './Toast/Toast.props';
3
+ import { showToast } from './Toast/Toast.store';
3
4
  declare const Toast: React.FC<ToastProps> & {
4
5
  Container: (props: ToastContainerProps) => React.JSX.Element;
5
6
  show: (variant: import("./Toast/Toast.type").ToastVariant, title: string, description?: string | undefined, options?: import("./Toast/Toast.type").ToastOptions | undefined) => any;
@@ -19,4 +20,4 @@ export declare const useToast: () => {
19
20
  remove: (id: string) => void;
20
21
  removeAll: () => void;
21
22
  };
22
- export { Toast };
23
+ export { Toast, showToast };
@@ -735,7 +735,9 @@ var _excluded$3 = ["widthHeight", "color", "transform", "orientation", "children
735
735
  _excluded76 = ["widthHeight", "color", "strokeWidth", "filled"],
736
736
  _excluded77 = ["widthHeight", "color", "strokeWidth", "filled"],
737
737
  _excluded78 = ["widthHeight", "color", "strokeWidth", "filled"],
738
- _excluded79 = ["widthHeight", "color", "strokeWidth", "filled"];
738
+ _excluded79 = ["widthHeight", "color", "strokeWidth", "filled"],
739
+ _excluded80 = ["widthHeight", "color", "strokeWidth", "filled"],
740
+ _excluded81 = ["widthHeight", "color", "strokeWidth", "filled"];
739
741
  // Default wrapper component for consistent sizing and styling
740
742
  var IconWrapper = _ref => {
741
743
  var {
@@ -2803,6 +2805,53 @@ var ShieldIcon = _ref79 => {
2803
2805
  })));
2804
2806
  };
2805
2807
  var CheckIcon = TickIcon;
2808
+ var LogoutIcon = _ref80 => {
2809
+ var {
2810
+ widthHeight = 24,
2811
+ color = 'currentColor',
2812
+ strokeWidth = 1,
2813
+ filled = false
2814
+ } = _ref80,
2815
+ props = _objectWithoutPropertiesLoose(_ref80, _excluded80);
2816
+ return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
2817
+ widthHeight: widthHeight,
2818
+ color: color
2819
+ }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
2820
+ viewBox: "0 0 24 24",
2821
+ "aria-hidden": "false",
2822
+ focusable: "false"
2823
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
2824
+ d: "M16 17l5-5-5-5"
2825
+ }), /*#__PURE__*/React__default.createElement("path", {
2826
+ d: "M21 12H9"
2827
+ }), /*#__PURE__*/React__default.createElement("path", {
2828
+ d: "M13 5v-2a1 1 0 0 0-1-1H5a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h7a1 1 0 0 0 1-1v-2"
2829
+ })));
2830
+ };
2831
+ var PowerOffIcon = _ref81 => {
2832
+ var {
2833
+ widthHeight = 24,
2834
+ color = 'currentColor',
2835
+ strokeWidth = 1.5,
2836
+ filled = false
2837
+ } = _ref81,
2838
+ props = _objectWithoutPropertiesLoose(_ref81, _excluded81);
2839
+ return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
2840
+ widthHeight: widthHeight,
2841
+ color: color
2842
+ }, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
2843
+ viewBox: "0 0 24 24",
2844
+ "aria-hidden": "false",
2845
+ focusable: "false"
2846
+ }, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("line", {
2847
+ x1: "12",
2848
+ y1: "2",
2849
+ x2: "12",
2850
+ y2: "8"
2851
+ }), /*#__PURE__*/React__default.createElement("path", {
2852
+ d: "M6.8 6.8a8 8 0 1 0 10 0"
2853
+ })));
2854
+ };
2806
2855
 
2807
2856
  var Icon = {
2808
2857
  __proto__: null,
@@ -2885,7 +2934,9 @@ var Icon = {
2885
2934
  ChartIcon: ChartIcon,
2886
2935
  GiftIcon: GiftIcon,
2887
2936
  ShieldIcon: ShieldIcon,
2888
- CheckIcon: CheckIcon
2937
+ CheckIcon: CheckIcon,
2938
+ LogoutIcon: LogoutIcon,
2939
+ PowerOffIcon: PowerOffIcon
2889
2940
  };
2890
2941
 
2891
2942
  /**
@@ -18613,6 +18664,7 @@ exports.LinkedinIcon = LinkedinIcon;
18613
18664
  exports.Loader = Loader;
18614
18665
  exports.LocationIcon = LocationIcon;
18615
18666
  exports.LockIcon = LockIcon;
18667
+ exports.LogoutIcon = LogoutIcon;
18616
18668
  exports.MagicWandIcon = MagicWandIcon;
18617
18669
  exports.MenuIcon = MenuIcon;
18618
18670
  exports.Menubar = Menubar;
@@ -18632,6 +18684,7 @@ exports.Password = Password;
18632
18684
  exports.PauseIcon = PauseIcon;
18633
18685
  exports.PlayIcon = PlayIcon;
18634
18686
  exports.PlusIcon = PlusIcon;
18687
+ exports.PowerOffIcon = PowerOffIcon;
18635
18688
  exports.PrintIcon = PrintIcon;
18636
18689
  exports.ProfileIcon = ProfileIcon;
18637
18690
  exports.RefreshIcon = RefreshIcon;
@@ -18684,6 +18737,7 @@ exports.hideMessage = hideMessage;
18684
18737
  exports.hideModal = hideModal;
18685
18738
  exports.showMessage = showMessage;
18686
18739
  exports.showModal = showModal;
18740
+ exports.showToast = showToast;
18687
18741
  exports.useMessageStore = useMessageStore;
18688
18742
  exports.useModalStore = useModalStore;
18689
18743
  exports.useToast = useToast$1;