@semcore/fullscreen-modal 2.0.17 → 2.0.18

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [2.0.18] - 2022-09-08
6
+
7
+ ### Changed
8
+
9
+ - Removed unused `hidden` property from types.
10
+
5
11
  ## [2.0.17] - 2022-08-30
6
12
 
7
13
  ### Changed
@@ -56,22 +56,22 @@ var style = (
56
56
  /*__reshadow_css_start__*/
57
57
  _core.sstyled.insert(
58
58
  /*__inner_css_start__*/
59
- ".___SFullscreenOverlay_1nh5s_gg_{padding:0}.___SFullscreenModal_1nh5s_gg_{height:100%;display:flex;flex-direction:column;width:100%;background:#ffffff;border-radius:0;padding:0}.___SBack_1nh5s_gg_,.___SClose_1nh5s_gg_{cursor:pointer;position:absolute;z-index:1}.___SClose_1nh5s_gg_{top:17px;right:23px;padding:12px;color:#a9abb6}.___SClose_1nh5s_gg_:hover{color:#8a8e9b}.___SBack_1nh5s_gg_{top:8px;left:32px;display:flex;align-items:center;margin-bottom:12px;color:#6c6e79;font-size:12px;line-height:1.33}.___SBack_1nh5s_gg_:hover{color:#484a54}.___SBackText_1nh5s_gg_{margin-left:4px;font-size:14px;line-height:1.42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SDescription_1nh5s_gg_,.___STitle_1nh5s_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___STitle_1nh5s_gg_{font-size:24px;line-height:1.17;font-weight:700;font-family:FactorA-Bold,sans-serif;color:#191b23}.___SDescription_1nh5s_gg_{display:flex;align-items:baseline;font-size:12px;line-height:1.33;color:#6c6e79}.___SDescription_1nh5s_gg_:before{content:\"\";position:relative;top:4px;display:block;margin-left:12px;margin-right:12px;height:24px;width:1px;background-color:#c4c7cf}.___SHeader_1nh5s_gg_{display:flex;align-items:baseline;padding-left:32px;padding-bottom:8px;padding-right:72px;padding-top:40px;min-height:76px;box-shadow:inset 0 -1px 0 #c4c7cf;box-sizing:border-box}.___SFooter_1nh5s_gg_{min-height:52px;box-shadow:inset 0 1px 1px 0 #c4c7cf;box-sizing:border-box}.___SBody_1nh5s_gg_{display:flex;height:100%;overflow:auto}.___SSection_1nh5s_gg_{padding-top:24px;padding-bottom:24px;padding-left:32px;padding-right:32px;flex:1 1 auto}@media (prefers-reduced-motion){.___SBackText_1nh5s_gg_{transition:none}}"
59
+ ".___SFullscreenOverlay_2943m_gg_{padding:0}.___SFullscreenModal_2943m_gg_{height:100%;display:flex;flex-direction:column;width:100%;background:#ffffff;border-radius:0;padding:0}.___SBack_2943m_gg_,.___SClose_2943m_gg_{cursor:pointer;position:absolute;z-index:1}.___SClose_2943m_gg_{top:17px;right:23px;padding:12px;color:#a9abb6}.___SClose_2943m_gg_:hover{color:#8a8e9b}.___SBack_2943m_gg_{top:8px;left:32px;display:flex;align-items:center;margin-bottom:12px;color:#6c6e79;font-size:12px;line-height:1.33}.___SBack_2943m_gg_:hover{color:#484a54}.___SBackText_2943m_gg_{margin-left:4px;font-size:14px;line-height:1.42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SDescription_2943m_gg_,.___STitle_2943m_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___STitle_2943m_gg_{font-size:24px;line-height:1.17;font-weight:700;font-family:FactorA-Bold,sans-serif;color:#191b23}.___SDescription_2943m_gg_{display:flex;align-items:baseline;font-size:12px;line-height:1.33;color:#6c6e79}.___SDescription_2943m_gg_:before{content:\"\";position:relative;top:4px;display:block;margin-left:12px;margin-right:12px;height:24px;width:1px;background-color:#c4c7cf}.___SHeader_2943m_gg_{display:flex;align-items:baseline;padding-left:32px;padding-bottom:8px;padding-right:72px;padding-top:40px;min-height:76px;box-shadow:inset 0 -1px 0 #c4c7cf;box-sizing:border-box}.___SFooter_2943m_gg_{min-height:52px;box-shadow:inset 0 1px 1px 0 #c4c7cf;box-sizing:border-box}.___SBody_2943m_gg_{display:flex;height:100%;overflow:auto}.___SSection_2943m_gg_{padding-top:24px;padding-bottom:24px;padding-left:32px;padding-right:32px;flex:1 1 auto}@media (prefers-reduced-motion){.___SBackText_2943m_gg_{transition:none}}"
60
60
  /*__inner_css_end__*/
61
- , "1nh5s_gg_")
61
+ , "2943m_gg_")
62
62
  /*__reshadow_css_end__*/
63
63
  , {
64
- "__SFullscreenOverlay": "___SFullscreenOverlay_1nh5s_gg_",
65
- "__SFullscreenModal": "___SFullscreenModal_1nh5s_gg_",
66
- "__SBack": "___SBack_1nh5s_gg_",
67
- "__SClose": "___SClose_1nh5s_gg_",
68
- "__SBackText": "___SBackText_1nh5s_gg_",
69
- "__SDescription": "___SDescription_1nh5s_gg_",
70
- "__STitle": "___STitle_1nh5s_gg_",
71
- "__SHeader": "___SHeader_1nh5s_gg_",
72
- "__SFooter": "___SFooter_1nh5s_gg_",
73
- "__SBody": "___SBody_1nh5s_gg_",
74
- "__SSection": "___SSection_1nh5s_gg_"
64
+ "__SFullscreenOverlay": "___SFullscreenOverlay_2943m_gg_",
65
+ "__SFullscreenModal": "___SFullscreenModal_2943m_gg_",
66
+ "__SBack": "___SBack_2943m_gg_",
67
+ "__SClose": "___SClose_2943m_gg_",
68
+ "__SBackText": "___SBackText_2943m_gg_",
69
+ "__SDescription": "___SDescription_2943m_gg_",
70
+ "__STitle": "___STitle_2943m_gg_",
71
+ "__SHeader": "___SHeader_2943m_gg_",
72
+ "__SFooter": "___SFooter_2943m_gg_",
73
+ "__SBody": "___SBody_2943m_gg_",
74
+ "__SSection": "___SSection_2943m_gg_"
75
75
  });
76
76
 
77
77
  var FullscreenModalRoot = /*#__PURE__*/function (_Component) {
@@ -6,8 +6,6 @@ import { IIconProps } from '@semcore/icon';
6
6
  import { Text } from '@semcore/typography';
7
7
 
8
8
  export interface IFullscreenModalProps extends IModalProps {
9
- /** This property is responsible for the visibility of the modal window */
10
- hidden?: boolean;
11
9
  /** Function that is invoked when hiding a component */
12
10
  onClose?: (
13
11
  trigger: 'onBackClick' | 'onCloseClick' | 'onEscape' | 'onOutsideClick',
@@ -38,22 +38,22 @@ var style = (
38
38
  /*__reshadow_css_start__*/
39
39
  _sstyled.insert(
40
40
  /*__inner_css_start__*/
41
- ".___SFullscreenOverlay_1nh5s_gg_{padding:0}.___SFullscreenModal_1nh5s_gg_{height:100%;display:flex;flex-direction:column;width:100%;background:#ffffff;border-radius:0;padding:0}.___SBack_1nh5s_gg_,.___SClose_1nh5s_gg_{cursor:pointer;position:absolute;z-index:1}.___SClose_1nh5s_gg_{top:17px;right:23px;padding:12px;color:#a9abb6}.___SClose_1nh5s_gg_:hover{color:#8a8e9b}.___SBack_1nh5s_gg_{top:8px;left:32px;display:flex;align-items:center;margin-bottom:12px;color:#6c6e79;font-size:12px;line-height:1.33}.___SBack_1nh5s_gg_:hover{color:#484a54}.___SBackText_1nh5s_gg_{margin-left:4px;font-size:14px;line-height:1.42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SDescription_1nh5s_gg_,.___STitle_1nh5s_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___STitle_1nh5s_gg_{font-size:24px;line-height:1.17;font-weight:700;font-family:FactorA-Bold,sans-serif;color:#191b23}.___SDescription_1nh5s_gg_{display:flex;align-items:baseline;font-size:12px;line-height:1.33;color:#6c6e79}.___SDescription_1nh5s_gg_:before{content:\"\";position:relative;top:4px;display:block;margin-left:12px;margin-right:12px;height:24px;width:1px;background-color:#c4c7cf}.___SHeader_1nh5s_gg_{display:flex;align-items:baseline;padding-left:32px;padding-bottom:8px;padding-right:72px;padding-top:40px;min-height:76px;box-shadow:inset 0 -1px 0 #c4c7cf;box-sizing:border-box}.___SFooter_1nh5s_gg_{min-height:52px;box-shadow:inset 0 1px 1px 0 #c4c7cf;box-sizing:border-box}.___SBody_1nh5s_gg_{display:flex;height:100%;overflow:auto}.___SSection_1nh5s_gg_{padding-top:24px;padding-bottom:24px;padding-left:32px;padding-right:32px;flex:1 1 auto}@media (prefers-reduced-motion){.___SBackText_1nh5s_gg_{transition:none}}"
41
+ ".___SFullscreenOverlay_2943m_gg_{padding:0}.___SFullscreenModal_2943m_gg_{height:100%;display:flex;flex-direction:column;width:100%;background:#ffffff;border-radius:0;padding:0}.___SBack_2943m_gg_,.___SClose_2943m_gg_{cursor:pointer;position:absolute;z-index:1}.___SClose_2943m_gg_{top:17px;right:23px;padding:12px;color:#a9abb6}.___SClose_2943m_gg_:hover{color:#8a8e9b}.___SBack_2943m_gg_{top:8px;left:32px;display:flex;align-items:center;margin-bottom:12px;color:#6c6e79;font-size:12px;line-height:1.33}.___SBack_2943m_gg_:hover{color:#484a54}.___SBackText_2943m_gg_{margin-left:4px;font-size:14px;line-height:1.42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SDescription_2943m_gg_,.___STitle_2943m_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___STitle_2943m_gg_{font-size:24px;line-height:1.17;font-weight:700;font-family:FactorA-Bold,sans-serif;color:#191b23}.___SDescription_2943m_gg_{display:flex;align-items:baseline;font-size:12px;line-height:1.33;color:#6c6e79}.___SDescription_2943m_gg_:before{content:\"\";position:relative;top:4px;display:block;margin-left:12px;margin-right:12px;height:24px;width:1px;background-color:#c4c7cf}.___SHeader_2943m_gg_{display:flex;align-items:baseline;padding-left:32px;padding-bottom:8px;padding-right:72px;padding-top:40px;min-height:76px;box-shadow:inset 0 -1px 0 #c4c7cf;box-sizing:border-box}.___SFooter_2943m_gg_{min-height:52px;box-shadow:inset 0 1px 1px 0 #c4c7cf;box-sizing:border-box}.___SBody_2943m_gg_{display:flex;height:100%;overflow:auto}.___SSection_2943m_gg_{padding-top:24px;padding-bottom:24px;padding-left:32px;padding-right:32px;flex:1 1 auto}@media (prefers-reduced-motion){.___SBackText_2943m_gg_{transition:none}}"
42
42
  /*__inner_css_end__*/
43
- , "1nh5s_gg_")
43
+ , "2943m_gg_")
44
44
  /*__reshadow_css_end__*/
45
45
  , {
46
- "__SFullscreenOverlay": "___SFullscreenOverlay_1nh5s_gg_",
47
- "__SFullscreenModal": "___SFullscreenModal_1nh5s_gg_",
48
- "__SBack": "___SBack_1nh5s_gg_",
49
- "__SClose": "___SClose_1nh5s_gg_",
50
- "__SBackText": "___SBackText_1nh5s_gg_",
51
- "__SDescription": "___SDescription_1nh5s_gg_",
52
- "__STitle": "___STitle_1nh5s_gg_",
53
- "__SHeader": "___SHeader_1nh5s_gg_",
54
- "__SFooter": "___SFooter_1nh5s_gg_",
55
- "__SBody": "___SBody_1nh5s_gg_",
56
- "__SSection": "___SSection_1nh5s_gg_"
46
+ "__SFullscreenOverlay": "___SFullscreenOverlay_2943m_gg_",
47
+ "__SFullscreenModal": "___SFullscreenModal_2943m_gg_",
48
+ "__SBack": "___SBack_2943m_gg_",
49
+ "__SClose": "___SClose_2943m_gg_",
50
+ "__SBackText": "___SBackText_2943m_gg_",
51
+ "__SDescription": "___SDescription_2943m_gg_",
52
+ "__STitle": "___STitle_2943m_gg_",
53
+ "__SHeader": "___SHeader_2943m_gg_",
54
+ "__SFooter": "___SFooter_2943m_gg_",
55
+ "__SBody": "___SBody_2943m_gg_",
56
+ "__SSection": "___SSection_2943m_gg_"
57
57
  });
58
58
 
59
59
  var FullscreenModalRoot = /*#__PURE__*/function (_Component) {
@@ -6,8 +6,6 @@ import { IIconProps } from '@semcore/icon';
6
6
  import { Text } from '@semcore/typography';
7
7
 
8
8
  export interface IFullscreenModalProps extends IModalProps {
9
- /** This property is responsible for the visibility of the modal window */
10
- hidden?: boolean;
11
9
  /** Function that is invoked when hiding a component */
12
10
  onClose?: (
13
11
  trigger: 'onBackClick' | 'onCloseClick' | 'onEscape' | 'onOutsideClick',
@@ -6,8 +6,6 @@ import { IIconProps } from '@semcore/icon';
6
6
  import { Text } from '@semcore/typography';
7
7
 
8
8
  export interface IFullscreenModalProps extends IModalProps {
9
- /** This property is responsible for the visibility of the modal window */
10
- hidden?: boolean;
11
9
  /** Function that is invoked when hiding a component */
12
10
  onClose?: (
13
11
  trigger: 'onBackClick' | 'onCloseClick' | 'onEscape' | 'onOutsideClick',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/fullscreen-modal",
3
3
  "description": "Semrush FullscreenModal Component",
4
- "version": "2.0.17",
4
+ "version": "2.0.18",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",