@ainias42/react-bootstrap-mobile 0.1.25 → 0.1.26

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @ainias42/react-bootstrap-mobile v0.1.24
3
+ * @ainias42/react-bootstrap-mobile v0.1.25
4
4
  * git+https://github.com/Ainias/Bootstrap-React-Mobile.git
5
5
  * Copyright (c) Silas Günther and project contributors.
6
6
  * This source code is licensed under the MIT license found in the
@@ -2301,7 +2301,7 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(7537);
2301
2301
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(3645);
2302
2302
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
2303
2303
  // Module
2304
- ___CSS_LOADER_EXPORT___.push([module.id, `.toastContainer__Cr4Pc{position:fixed;left:0;right:0;bottom:3rem;margin:auto;max-width:576px;z-index:1;display:flex;align-items:center;flex-direction:column}.toast__sXrim{background-color:rgba(0,0,0,.8);min-height:48px;line-height:1.5;--text-primary-default-color: white;color:#fff;font-size:.77rem;letter-spacing:normal;transition-duration:.25s;margin:8px}.toast__sXrim.hiding__VMWIu{opacity:0}.material-design .toast__sXrim{padding:16px 24px}.flat-design .toast__sXrim{border-radius:.5rem;padding:16px}.toast__sXrim .action__WbNF_{text-transform:uppercase;margin-left:24px}.material-design .toast__sXrim .action__WbNF_{color:#bbdefb}.flat-design .toast__sXrim .action__WbNF_{color:#fff}`, "",{"version":3,"sources":["webpack://./src/Components/Toast/toast.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,uBACE,cAAA,CACA,MAAA,CACA,OAAA,CACA,WAAA,CACA,WAAA,CACA,eAAA,CACA,SAAA,CACA,YAAA,CACA,kBAAA,CACA,qBAAA,CAGF,cACE,+BAAA,CACA,eAAA,CACA,eAAA,CACA,mCAAA,CACA,UAAA,CACA,gBAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAA,CAEA,4BACE,SAAA,CCxBS,+BD4BT,iBAAA,CC5BS,2BDgCT,mBAAA,CACA,YAAA,CAGF,6BACE,wBAAA,CACA,gBAAA,CCtCS,8CDyCP,aAAA,CCzCO,0CD4CP,UAAA","sourcesContent":["@import \"../../scss/variables\";\n@import \"../../scss/designMixin\";\n\n.toastContainer {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 3rem;\n margin: auto;\n max-width: map-get($grid-breakpoints, \"sm\");\n z-index: 1;\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n\n.toast {\n background-color: rgba(0, 0, 0, 0.8);\n min-height: 48px;\n line-height: 1.5;\n --text-primary-default-color: white;\n color: white;\n font-size: 0.77rem;\n letter-spacing: normal;\n transition-duration: 0.25s;\n margin: 8px;\n\n &.hiding {\n opacity: 0;\n }\n\n @include design($material) {\n padding: 16px 24px;\n }\n\n @include design($flat) {\n border-radius: 0.5rem;\n padding: 16px;\n }\n\n .action {\n text-transform: uppercase;\n margin-left: 24px;\n\n @include design($material) {\n color: #bbdefb\n }\n @include design($flat) {\n color: #ffffff;\n }\n }\n\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
2304
+ ___CSS_LOADER_EXPORT___.push([module.id, `.toastContainer__Cr4Pc{position:fixed;left:0;right:0;bottom:3rem;margin:auto;max-width:576px;z-index:1001;display:flex;align-items:center;flex-direction:column}.toast__sXrim{background-color:rgba(0,0,0,.8);min-height:48px;line-height:1.5;--text-primary-default-color: white;color:#fff;font-size:.77rem;letter-spacing:normal;transition-duration:.25s;margin:8px}.toast__sXrim.hiding__VMWIu{opacity:0}.material-design .toast__sXrim{padding:16px 24px}.flat-design .toast__sXrim{border-radius:.5rem;padding:16px}.toast__sXrim .action__WbNF_{text-transform:uppercase;margin-left:24px}.material-design .toast__sXrim .action__WbNF_{color:#bbdefb}.flat-design .toast__sXrim .action__WbNF_{color:#fff}`, "",{"version":3,"sources":["webpack://./src/Components/Toast/toast.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,uBACE,cAAA,CACA,MAAA,CACA,OAAA,CACA,WAAA,CACA,WAAA,CACA,eAAA,CACA,YAAA,CACA,YAAA,CACA,kBAAA,CACA,qBAAA,CAGF,cACE,+BAAA,CACA,eAAA,CACA,eAAA,CACA,mCAAA,CACA,UAAA,CACA,gBAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAA,CAEA,4BACE,SAAA,CCxBS,+BD4BT,iBAAA,CC5BS,2BDgCT,mBAAA,CACA,YAAA,CAGF,6BACE,wBAAA,CACA,gBAAA,CCtCS,8CDyCP,aAAA,CCzCO,0CD4CP,UAAA","sourcesContent":["@import \"../../scss/variables\";\n@import \"../../scss/designMixin\";\n\n.toastContainer {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 3rem;\n margin: auto;\n max-width: map-get($grid-breakpoints, \"sm\");\n z-index: 1001;\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n\n.toast {\n background-color: rgba(0, 0, 0, 0.8);\n min-height: 48px;\n line-height: 1.5;\n --text-primary-default-color: white;\n color: white;\n font-size: 0.77rem;\n letter-spacing: normal;\n transition-duration: 0.25s;\n margin: 8px;\n\n &.hiding {\n opacity: 0;\n }\n\n @include design($material) {\n padding: 16px 24px;\n }\n\n @include design($flat) {\n border-radius: 0.5rem;\n padding: 16px;\n }\n\n .action {\n text-transform: uppercase;\n margin-left: 24px;\n\n @include design($material) {\n color: #bbdefb\n }\n @include design($flat) {\n color: #ffffff;\n }\n }\n\n}\n","@use 'sass:selector';\n\n@mixin design($designName) {\n @if & {\n @at-root #{selector.nest(':global(.'+$designName+\")\", &)} {\n @content\n }\n } @else {\n :global(.#{$designName}) {\n @content\n }\n }\n}\n"],"sourceRoot":""}]);
2305
2305
  // Exports
2306
2306
  ___CSS_LOADER_EXPORT___.locals = {
2307
2307
  "toastContainer": `toastContainer__Cr4Pc`,
@@ -9631,7 +9631,7 @@ __webpack_require__.d(__webpack_exports__, {
9631
9631
  FullScreen: () => (/* reexport */ FullScreenMemo),
9632
9632
  Grid: () => (/* reexport */ GridMemo),
9633
9633
  GridItem: () => (/* reexport */ GridItemMemo),
9634
- Grow: () => (/* reexport */ Grow_tmp),
9634
+ Grow: () => (/* reexport */ Grow),
9635
9635
  Heading: () => (/* reexport */ HeadingMemo),
9636
9636
  HiddenInput: () => (/* reexport */ HiddenInput_tmp),
9637
9637
  HoverMenu: () => (/* reexport */ HoverMenu),
@@ -22694,13 +22694,13 @@ var fileInput_default = /*#__PURE__*/__webpack_require__.n(fileInput);
22694
22694
 
22695
22695
 
22696
22696
 
22697
- function Grow({
22697
+ const Grow = withForwardRef(function Grow({
22698
22698
  className,
22699
22699
  children,
22700
22700
  center = false,
22701
22701
  style,
22702
22702
  weight = 1
22703
- }) {
22703
+ }, ref) {
22704
22704
  // Variables
22705
22705
  // States
22706
22706
  // Refs
@@ -22709,6 +22709,7 @@ function Grow({
22709
22709
  // Other
22710
22710
  // Render Functions
22711
22711
  return /*#__PURE__*/external_react_.createElement("div", {
22712
+ ref: ref,
22712
22713
  className: classnames_default()((layout_default()).grow, {
22713
22714
  [(layout_default()).center]: center,
22714
22715
  [(layout_default()).weight0]: weight === 0,
@@ -22721,9 +22722,7 @@ function Grow({
22721
22722
  }, className),
22722
22723
  style: style
22723
22724
  }, children);
22724
- }
22725
- const Grow_tmp = withMemo(Grow, (layout_default()));
22726
-
22725
+ }, (layout_default()));
22727
22726
  // EXTERNAL MODULE: ./src/Components/Image/image.scss
22728
22727
  var Image_image = __webpack_require__(9782);
22729
22728
  var image_default = /*#__PURE__*/__webpack_require__.n(Image_image);
@@ -22960,10 +22959,10 @@ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
22960
22959
  style: style
22961
22960
  }, /*#__PURE__*/external_react_.createElement(Flex_tmp, {
22962
22961
  horizontal: true
22963
- }, !!label && /*#__PURE__*/external_react_.createElement(Grow_tmp, null, /*#__PURE__*/external_react_.createElement(tmp, null, label)), maxFiles > 1 && /*#__PURE__*/external_react_.createElement(InlineMemo, null, /*#__PURE__*/external_react_.createElement(tmp, null, value.length, "/", maxFiles))), /*#__PURE__*/external_react_.createElement(Flex_tmp, {
22962
+ }, !!label && /*#__PURE__*/external_react_.createElement(Grow, null, /*#__PURE__*/external_react_.createElement(tmp, null, label)), maxFiles > 1 && /*#__PURE__*/external_react_.createElement(InlineMemo, null, /*#__PURE__*/external_react_.createElement(tmp, null, value.length, "/", maxFiles))), /*#__PURE__*/external_react_.createElement(Flex_tmp, {
22964
22963
  horizontal: true,
22965
22964
  className: (fileInput_default()).previewContainer
22966
- }, value === null || value === void 0 ? void 0 : value.map((file, index) => /*#__PURE__*/external_react_.createElement(Grow_tmp, {
22965
+ }, value === null || value === void 0 ? void 0 : value.map((file, index) => /*#__PURE__*/external_react_.createElement(Grow, {
22967
22966
  className: (fileInput_default()).preview,
22968
22967
  center: true,
22969
22968
  key: file.data
@@ -22979,7 +22978,7 @@ const MultipleFileInput = withMemo(function MultipleImageInput(_a) {
22979
22978
  onClickData: index
22980
22979
  }, /*#__PURE__*/external_react_.createElement(Icon, {
22981
22980
  icon: free_solid_svg_icons_namespaceObject.faTimesCircle
22982
- }))))), /*#__PURE__*/external_react_.createElement(Grow_tmp, {
22981
+ }))))), /*#__PURE__*/external_react_.createElement(Grow, {
22983
22982
  className: classnames_default()((fileInput_default()).addFile, {
22984
22983
  [(fileInput_default()).hidden]: value.length >= maxFiles
22985
22984
  }),
@@ -23219,7 +23218,7 @@ const PasswordInput = withForwardRef(function PasswordInput(_a, ref) {
23219
23218
  horizontal: true,
23220
23219
  className: classnames_default()((passwordInput_default()).passwordInput, className),
23221
23220
  style: style
23222
- }, /*#__PURE__*/external_react_default().createElement(Grow_tmp, null, /*#__PURE__*/external_react_default().createElement(Input, PasswordInput_extends({}, props, {
23221
+ }, /*#__PURE__*/external_react_default().createElement(Grow, null, /*#__PURE__*/external_react_default().createElement(Input, PasswordInput_extends({}, props, {
23223
23222
  type: isVisible ? 'text' : 'password',
23224
23223
  ref: ref
23225
23224
  }))), /*#__PURE__*/external_react_default().createElement(ClickableMemo, {
@@ -23368,7 +23367,7 @@ const SearchSelectInput = withMemo(function SearchSelectInput({
23368
23367
  }, label) : null, /*#__PURE__*/external_react_.createElement(Flex_tmp, {
23369
23368
  className: (seachSelectInput_default()).inputContainer,
23370
23369
  horizontal: true
23371
- }, /*#__PURE__*/external_react_.createElement(InlineBlockMemo, null, values.map(renderOption)), /*#__PURE__*/external_react_.createElement(Grow_tmp, {
23370
+ }, /*#__PURE__*/external_react_.createElement(InlineBlockMemo, null, values.map(renderOption)), /*#__PURE__*/external_react_.createElement(Grow, {
23372
23371
  __allowChildren: "html"
23373
23372
  }, /*#__PURE__*/external_react_.createElement("input", {
23374
23373
  className: (seachSelectInput_default()).text,
@@ -27106,7 +27105,7 @@ const Submenu = withMemo(function Submenu({
27106
27105
  icon: icon,
27107
27106
  color: iconColor,
27108
27107
  className: (menu_default()).icon
27109
- }), /*#__PURE__*/external_react_default().createElement(Grow_tmp, null, /*#__PURE__*/external_react_default().createElement(tmp, null, label)), /*#__PURE__*/external_react_default().createElement(Icon, {
27108
+ }), /*#__PURE__*/external_react_default().createElement(Grow, null, /*#__PURE__*/external_react_default().createElement(tmp, null, label)), /*#__PURE__*/external_react_default().createElement(Icon, {
27110
27109
  icon: free_solid_svg_icons_namespaceObject.faChevronRight
27111
27110
  })), /*#__PURE__*/external_react_default().createElement(BlockMemo, {
27112
27111
  className: (menu_default()).container,
@@ -27217,7 +27216,9 @@ function Spoiler(_a) {
27217
27216
  style: style
27218
27217
  }, /*#__PURE__*/external_react_.createElement(Flex_tmp, {
27219
27218
  horizontal: true
27220
- }, /*#__PURE__*/external_react_.createElement(Grow_tmp, null, titleComponent), icon ? /*#__PURE__*/external_react_.createElement(Icon, {
27219
+ }, /*#__PURE__*/external_react_.createElement(Grow, {
27220
+ __allowChildren: "all"
27221
+ }, titleComponent), icon ? /*#__PURE__*/external_react_.createElement(Icon, {
27221
27222
  icon: icon,
27222
27223
  className: (spoiler_default()).icon
27223
27224
  }) : null), /*#__PURE__*/external_react_.createElement(BlockMemo, {
@@ -27228,7 +27229,7 @@ function Spoiler(_a) {
27228
27229
  }, children)));
27229
27230
  }
27230
27231
  // Need SpoilerMemo for autocompletion of phpstorm
27231
- const SpoilerMemo = withMemo(Spoiler, (spoiler_default()));
27232
+ const SpoilerMemo = withMemo(Spoiler, (spoiler_default()), "all");
27232
27233
 
27233
27234
  ;// CONCATENATED MODULE: ./src/Components/SpoilerList/useSpoilerGroup.ts
27234
27235