@easypost/easy-ui 1.0.0-alpha.94 → 1.0.0-alpha.95

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @easypost/easy-ui
2
2
 
3
+ ## 1.0.0-alpha.95
4
+
5
+ ### Patch Changes
6
+
7
+ - ba6929c: fix(Modal): disable hiding parent nested modal
8
+
3
9
  ## 1.0.0-alpha.94
4
10
 
5
11
  ### Minor Changes
package/Modal/index.js CHANGED
@@ -65,21 +65,21 @@ const useModalTrigger = () => {
65
65
  const modalTriggerContext = useModalTriggerContext();
66
66
  return modalTriggerContext.state;
67
67
  };
68
- const underlayBg = "_underlayBg_1i8y3_4";
69
- const underlayBox = "_underlayBox_1i8y3_30";
70
- const underlayEdge = "_underlayEdge_1i8y3_38";
71
- const Modal$1 = "_Modal_1i8y3_44";
72
- const header = "_header_1i8y3_62";
73
- const stuck = "_stuck_1i8y3_68";
74
- const body = "_body_1i8y3_72";
75
- const content = "_content_1i8y3_79";
76
- const footer = "_footer_1i8y3_96";
77
- const closeBtn = "_closeBtn_1i8y3_113";
78
- const iconAtEnd = "_iconAtEnd_1i8y3_127";
79
- const sizeSm = "_sizeSm_1i8y3_133";
80
- const sizeMd = "_sizeMd_1i8y3_137";
81
- const sizeLg = "_sizeLg_1i8y3_141";
82
- const sizeXl = "_sizeXl_1i8y3_145";
68
+ const underlayBg = "_underlayBg_12m01_4";
69
+ const underlayBox = "_underlayBox_12m01_27";
70
+ const underlayEdge = "_underlayEdge_12m01_35";
71
+ const Modal$1 = "_Modal_12m01_41";
72
+ const header = "_header_12m01_59";
73
+ const stuck = "_stuck_12m01_65";
74
+ const body = "_body_12m01_69";
75
+ const content = "_content_12m01_76";
76
+ const footer = "_footer_12m01_93";
77
+ const closeBtn = "_closeBtn_12m01_110";
78
+ const iconAtEnd = "_iconAtEnd_12m01_124";
79
+ const sizeSm = "_sizeSm_12m01_130";
80
+ const sizeMd = "_sizeMd_12m01_134";
81
+ const sizeLg = "_sizeLg_12m01_138";
82
+ const sizeXl = "_sizeXl_12m01_142";
83
83
  const styles = {
84
84
  underlayBg,
85
85
  underlayBox,
package/Modal/index.mjs CHANGED
@@ -63,21 +63,21 @@ const useModalTrigger = () => {
63
63
  const modalTriggerContext = useModalTriggerContext();
64
64
  return modalTriggerContext.state;
65
65
  };
66
- const underlayBg = "_underlayBg_1i8y3_4";
67
- const underlayBox = "_underlayBox_1i8y3_30";
68
- const underlayEdge = "_underlayEdge_1i8y3_38";
69
- const Modal$1 = "_Modal_1i8y3_44";
70
- const header = "_header_1i8y3_62";
71
- const stuck = "_stuck_1i8y3_68";
72
- const body = "_body_1i8y3_72";
73
- const content = "_content_1i8y3_79";
74
- const footer = "_footer_1i8y3_96";
75
- const closeBtn = "_closeBtn_1i8y3_113";
76
- const iconAtEnd = "_iconAtEnd_1i8y3_127";
77
- const sizeSm = "_sizeSm_1i8y3_133";
78
- const sizeMd = "_sizeMd_1i8y3_137";
79
- const sizeLg = "_sizeLg_1i8y3_141";
80
- const sizeXl = "_sizeXl_1i8y3_145";
66
+ const underlayBg = "_underlayBg_12m01_4";
67
+ const underlayBox = "_underlayBox_12m01_27";
68
+ const underlayEdge = "_underlayEdge_12m01_35";
69
+ const Modal$1 = "_Modal_12m01_41";
70
+ const header = "_header_12m01_59";
71
+ const stuck = "_stuck_12m01_65";
72
+ const body = "_body_12m01_69";
73
+ const content = "_content_12m01_76";
74
+ const footer = "_footer_12m01_93";
75
+ const closeBtn = "_closeBtn_12m01_110";
76
+ const iconAtEnd = "_iconAtEnd_12m01_124";
77
+ const sizeSm = "_sizeSm_12m01_130";
78
+ const sizeMd = "_sizeMd_12m01_134";
79
+ const sizeLg = "_sizeLg_12m01_138";
80
+ const sizeXl = "_sizeXl_12m01_142";
81
81
  const styles = {
82
82
  underlayBg,
83
83
  underlayBox,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypost/easy-ui",
3
- "version": "1.0.0-alpha.94",
3
+ "version": "1.0.0-alpha.95",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
package/style.css CHANGED
@@ -4961,7 +4961,7 @@ textarea {
4961
4961
  }/**
4962
4962
  * Do not edit directly, this file was auto-generated.
4963
4963
  */
4964
- ._underlayBg_1i8y3_4 {
4964
+ ._underlayBg_12m01_4 {
4965
4965
  --ezui-c-modal-underlay-edge-max-height: 72px;
4966
4966
  --ezui-c-modal-underlay-edge-min-height: 2.5vh;
4967
4967
  position: fixed;
@@ -4969,25 +4969,22 @@ textarea {
4969
4969
  display: flex;
4970
4970
  flex-direction: column;
4971
4971
  }
4972
- ._underlayBg_1i8y3_4::before {
4972
+ ._underlayBg_12m01_4::before {
4973
4973
  content: "";
4974
4974
  position: absolute;
4975
4975
  background: var(--ezui-color-primary-800);
4976
4976
  opacity: var(--ezui-opacity-underlay);
4977
4977
  }
4978
- ._underlayBg_1i8y3_4[aria-hidden=true] {
4979
- display: none;
4980
- }
4981
4978
 
4982
- ._underlayBg_1i8y3_4,
4983
- ._underlayBg_1i8y3_4::before {
4979
+ ._underlayBg_12m01_4,
4980
+ ._underlayBg_12m01_4::before {
4984
4981
  top: 0;
4985
4982
  left: 0;
4986
4983
  right: 0;
4987
4984
  bottom: 0;
4988
4985
  }
4989
4986
 
4990
- ._underlayBox_1i8y3_30 {
4987
+ ._underlayBox_12m01_27 {
4991
4988
  position: relative;
4992
4989
  display: flex;
4993
4990
  flex-direction: column;
@@ -4995,13 +4992,13 @@ textarea {
4995
4992
  pointer-events: none;
4996
4993
  }
4997
4994
 
4998
- ._underlayEdge_1i8y3_38 {
4995
+ ._underlayEdge_12m01_35 {
4999
4996
  flex: 0 9 auto;
5000
4997
  height: var(--ezui-c-modal-underlay-edge-max-height);
5001
4998
  min-height: var(--ezui-c-modal-underlay-edge-min-height);
5002
4999
  }
5003
5000
 
5004
- ._Modal_1i8y3_44 {
5001
+ ._Modal_12m01_41 {
5005
5002
  --ezui-c-modal-max-height: 762px;
5006
5003
  --ezui-c-modal-width: 95vw;
5007
5004
  flex: 0 1 auto;
@@ -5019,41 +5016,41 @@ textarea {
5019
5016
  outline: none;
5020
5017
  }
5021
5018
 
5022
- ._header_1i8y3_62 {
5019
+ ._header_12m01_59 {
5023
5020
  margin: 0;
5024
5021
  padding: var(--ezui-space-5);
5025
5022
  padding-bottom: var(--ezui-space-2);
5026
5023
  color: var(--ezui-color-primary-800);
5027
5024
  }
5028
- ._header_1i8y3_62._stuck_1i8y3_68 {
5025
+ ._header_12m01_59._stuck_12m01_65 {
5029
5026
  box-shadow: var(--ezui-shadow-stuck-from-top);
5030
5027
  }
5031
5028
 
5032
- ._body_1i8y3_72 {
5029
+ ._body_12m01_69 {
5033
5030
  overflow: auto;
5034
5031
  display: flex;
5035
5032
  flex-direction: column;
5036
5033
  overscroll-behavior: contain;
5037
5034
  }
5038
5035
 
5039
- ._content_1i8y3_79 {
5036
+ ._content_12m01_76 {
5040
5037
  padding: 0 var(--ezui-space-5);
5041
5038
  position: relative;
5042
5039
  }
5043
- ._content_1i8y3_79 [data-intercept] {
5040
+ ._content_12m01_76 [data-intercept] {
5044
5041
  position: absolute;
5045
5042
  left: 0;
5046
5043
  width: 1px;
5047
5044
  height: 1px;
5048
5045
  }
5049
- ._content_1i8y3_79 [data-intercept="header"] {
5046
+ ._content_12m01_76 [data-intercept="header"] {
5050
5047
  top: 0;
5051
5048
  }
5052
- ._content_1i8y3_79 [data-intercept="footer"] {
5049
+ ._content_12m01_76 [data-intercept="footer"] {
5053
5050
  bottom: 0;
5054
5051
  }
5055
5052
 
5056
- ._footer_1i8y3_96 {
5053
+ ._footer_12m01_93 {
5057
5054
  display: flex;
5058
5055
  flex-direction: column;
5059
5056
  justify-content: flex-end;
@@ -5062,15 +5059,15 @@ textarea {
5062
5059
  padding-top: var(--ezui-space-3);
5063
5060
  }
5064
5061
  @media (min-width: 30em) {
5065
- ._footer_1i8y3_96 {
5062
+ ._footer_12m01_93 {
5066
5063
  flex-direction: row;
5067
5064
  }
5068
5065
  }
5069
- ._footer_1i8y3_96._stuck_1i8y3_68 {
5066
+ ._footer_12m01_93._stuck_12m01_65 {
5070
5067
  box-shadow: var(--ezui-shadow-stuck-from-bottom);
5071
5068
  }
5072
5069
 
5073
- ._closeBtn_1i8y3_113 {
5070
+ ._closeBtn_12m01_110 {
5074
5071
  appearance: none;
5075
5072
  margin: 0;
5076
5073
  padding: 0;
@@ -5084,25 +5081,25 @@ textarea {
5084
5081
  cursor: pointer;
5085
5082
  }
5086
5083
 
5087
- ._iconAtEnd_1i8y3_127[data-size="2xl"] {
5084
+ ._iconAtEnd_12m01_124[data-size="2xl"] {
5088
5085
  display: inline-flex;
5089
5086
  margin-top: -5px;
5090
5087
  margin-bottom: -5px;
5091
5088
  }
5092
5089
 
5093
- ._sizeSm_1i8y3_133 {
5090
+ ._sizeSm_12m01_130 {
5094
5091
  --ezui-c-modal-max-width: 528px;
5095
5092
  }
5096
5093
 
5097
- ._sizeMd_1i8y3_137 {
5094
+ ._sizeMd_12m01_134 {
5098
5095
  --ezui-c-modal-max-width: 672px;
5099
5096
  }
5100
5097
 
5101
- ._sizeLg_1i8y3_141 {
5098
+ ._sizeLg_12m01_138 {
5102
5099
  --ezui-c-modal-max-width: 788px;
5103
5100
  }
5104
5101
 
5105
- ._sizeXl_1i8y3_145 {
5102
+ ._sizeXl_12m01_142 {
5106
5103
  --ezui-c-modal-max-width: 1000px;
5107
5104
  }/**
5108
5105
  * Do not edit directly, this file was auto-generated.