@ainias42/react-bootstrap-mobile 0.1.10 → 0.1.11

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/bin/release.sh CHANGED
@@ -3,8 +3,6 @@
3
3
  # Exit when a command fails
4
4
  set -e
5
5
 
6
- ORIGIN_DIR=$(pwd)
7
-
8
6
  REPOSITORY=git@github.com:Ainias/react-bootstrap-mobile.git
9
7
 
10
8
  if [[ -z "$1" ]]; then
@@ -14,6 +12,8 @@ fi;
14
12
 
15
13
  versionName=$1
16
14
  versionExists="$(git ls-remote $REPOSITORY refs/tags/"$versionName"| tr -d '\n')"
15
+ workingDir=$(pwd);
16
+
17
17
 
18
18
  if [ -n "$versionExists" ]; then
19
19
  echo "Version existiert bereits!";
@@ -36,5 +36,5 @@ git push
36
36
 
37
37
  echo "$TMPDIR"
38
38
 
39
- cd "$ORIGIN_DIR"
39
+ cd "$workingDir"
40
40
  git pull
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @ainias42/react-bootstrap-mobile v0.1.9
3
+ * @ainias42/react-bootstrap-mobile v0.1.10
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
@@ -1396,7 +1396,7 @@ var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(7537);
1396
1396
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(3645);
1397
1397
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
1398
1398
  // Module
1399
- ___CSS_LOADER_EXPORT___.push([module.id, ".checkbox__mmwyA{position:relative;display:inline-block;cursor:pointer}.checkbox__mmwyA>label{display:flex;cursor:pointer}.checkbox__mmwyA .label__XBVqt{line-height:22px}.checkbox__mmwyA .label__XBVqt:not(:empty){margin-left:.2rem;margin-right:.2rem}.checkbox__mmwyA .input__Gybym{display:none}.checkbox__mmwyA .checkmark__fjX47{display:inline-block;user-select:none;position:relative}.checkbox__mmwyA .checkmark__fjX47::before{content:\" \";position:absolute;width:100%;height:100%;left:0}.material-design .checkbox__mmwyA .checkmark__fjX47{width:18px;height:18px;margin:2px}.material-design .checkbox__mmwyA .checkmark__fjX47::before{border:2px solid var(--border-strong);border-radius:2px;transition:background-color .1s linear .2s,border-color .1s linear .2s;background-color:rgba(0,0,0,0)}.flat-design .checkbox__mmwyA .checkmark__fjX47{width:22px;height:22px}.flat-design .checkbox__mmwyA .checkmark__fjX47::before{background:rgba(0,0,0,0);border:1px solid var(--border-light);border-radius:22px}.checkbox__mmwyA input:checked+.checkmark__fjX47::after{content:\" \";position:absolute;height:5px;background:rgba(0,0,0,0);border-radius:0;transform:rotate(-45deg);border:2px none #fff;border-bottom-style:solid;border-left-style:solid}.checkbox__mmwyA input:checked+.checkmark__fjX47::before{background-color:var(--flavor-accent)}.material-design .checkbox__mmwyA input:checked+.checkmark__fjX47::before{border:2px solid var(--flavor-accent);transition:background-color .1s linear,border-color .1s linear}.material-design .checkbox__mmwyA input:checked+.checkmark__fjX47::after{transition:transform .2s ease .2s;top:5px;left:4px;width:10px}.flat-design .checkbox__mmwyA input:checked+.checkmark__fjX47::before{border:none}.flat-design .checkbox__mmwyA input:checked+.checkmark__fjX47::after{top:7px;left:5px;width:11px}", "",{"version":3,"sources":["webpack://./src/Components/FormElements/CheckBox/checkbox.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,iBACE,iBAAA,CACA,oBAAA,CACA,cAAA,CAEA,uBACE,YAAA,CACA,cAAA,CAGF,+BACE,gBAAA,CAEA,2CACE,iBAAA,CACA,kBAAA,CAIJ,+BACE,YAAA,CAGF,mCACE,oBAAA,CACA,gBAAA,CACA,iBAAA,CAEA,2CACE,WAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,MAAA,CChCO,oDDoCP,UAAA,CACA,WAAA,CACA,UAAA,CAEA,4DACE,qCAAA,CACA,iBAAA,CACA,sEAAA,CACA,8BAAA,CC5CK,gDDgDP,UAAA,CACA,WAAA,CAEA,wDACE,wBAAA,CACA,oCAAA,CACA,kBAAA,CAOF,wDACE,WAAA,CACA,iBAAA,CACA,UAAA,CACA,wBAAA,CACA,eAAA,CACA,wBAAA,CACA,oBAAA,CACA,yBAAA,CACA,uBAAA,CAGF,yDACE,qCAAA,CAIA,0EACE,qCAAA,CACA,8DAAA,CAEF,yEACE,iCAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CAKF,sEACE,WAAA,CAEF,qEACE,OAAA,CACA,QAAA,CACA,UAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.checkbox {\n position: relative;\n display: inline-block;\n cursor: pointer;\n\n > label {\n display: flex;\n cursor: pointer;\n }\n\n .label {\n line-height: 22px;\n\n &:not(:empty) {\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n }\n }\n\n .input {\n display: none;\n }\n\n .checkmark {\n display: inline-block;\n user-select: none;\n position: relative;\n\n &::before {\n content: \" \";\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n }\n\n @include design($material) {\n width: 18px;\n height: 18px;\n margin: 2px;\n\n &::before {\n border: 2px solid var(--border-strong);\n border-radius: 2px;\n transition: background-color 0.1s linear 0.2s, border-color 0.1s linear 0.2s;\n background-color: transparent;\n }\n }\n @include design($flat) {\n width: 22px;\n height: 22px;\n\n &::before {\n background: transparent;\n border: 1px solid var(--border-light);\n border-radius: 22px;\n }\n }\n }\n\n input:checked + {\n .checkmark {\n &::after {\n content: \" \";\n position: absolute;\n height: 5px;\n background: transparent;\n border-radius: 0;\n transform: rotate(-45deg);\n border: 2px none #fff;\n border-bottom-style: solid;\n border-left-style: solid;\n }\n\n &::before {\n background-color: var(--flavor-accent);\n }\n\n @include design($material) {\n &::before {\n border: 2px solid var(--flavor-accent);\n transition: background-color 0.1s linear, border-color 0.1s linear;\n }\n &::after {\n transition: transform 0.2s ease 0.2s;\n top: 5px;\n left: 4px;\n width: 10px;\n\n }\n }\n @include design($flat) {\n &::before {\n border: none;\n }\n &::after {\n top: 7px;\n left: 5px;\n width: 11px;\n }\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":""}]);
1399
+ ___CSS_LOADER_EXPORT___.push([module.id, ".checkbox__mmwyA{position:relative;display:inline-block;cursor:pointer}.checkbox__mmwyA>label{display:flex;cursor:pointer}.checkbox__mmwyA .label__XBVqt{line-height:22px}.checkbox__mmwyA .label__XBVqt:not(:empty){margin-left:.2rem;margin-right:.2rem}.checkbox__mmwyA .input__Gybym{display:none}.checkbox__mmwyA .checkmark__fjX47{display:inline-block;user-select:none;position:relative}.checkbox__mmwyA .checkmark__fjX47::before{content:\" \";position:absolute;width:100%;height:100%;left:0}.material-design .checkbox__mmwyA .checkmark__fjX47{width:18px;min-width:18px;height:18px;margin:2px}.material-design .checkbox__mmwyA .checkmark__fjX47::before{border:2px solid var(--border-strong);border-radius:2px;transition:background-color .1s linear .2s,border-color .1s linear .2s;background-color:rgba(0,0,0,0)}.flat-design .checkbox__mmwyA .checkmark__fjX47{width:22px;min-width:22px;height:22px}.flat-design .checkbox__mmwyA .checkmark__fjX47::before{background:rgba(0,0,0,0);border:1px solid var(--border-light);border-radius:22px}.checkbox__mmwyA input:checked+.checkmark__fjX47::after{content:\" \";position:absolute;height:5px;background:rgba(0,0,0,0);border-radius:0;transform:rotate(-45deg);border:2px none #fff;border-bottom-style:solid;border-left-style:solid}.checkbox__mmwyA input:checked+.checkmark__fjX47::before{background-color:var(--flavor-accent)}.material-design .checkbox__mmwyA input:checked+.checkmark__fjX47::before{border:2px solid var(--flavor-accent);transition:background-color .1s linear,border-color .1s linear}.material-design .checkbox__mmwyA input:checked+.checkmark__fjX47::after{transition:transform .2s ease .2s;top:5px;left:4px;width:10px}.flat-design .checkbox__mmwyA input:checked+.checkmark__fjX47::before{border:none}.flat-design .checkbox__mmwyA input:checked+.checkmark__fjX47::after{top:7px;left:5px;width:11px}", "",{"version":3,"sources":["webpack://./src/Components/FormElements/CheckBox/checkbox.scss","webpack://./src/scss/_designMixin.scss"],"names":[],"mappings":"AAGA,iBACE,iBAAA,CACA,oBAAA,CACA,cAAA,CAEA,uBACE,YAAA,CACA,cAAA,CAGF,+BACE,gBAAA,CAEA,2CACE,iBAAA,CACA,kBAAA,CAIJ,+BACE,YAAA,CAGF,mCACE,oBAAA,CACA,gBAAA,CACA,iBAAA,CAEA,2CACE,WAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,MAAA,CChCO,oDDoCP,UAAA,CACA,cAAA,CACA,WAAA,CACA,UAAA,CAEA,4DACE,qCAAA,CACA,iBAAA,CACA,sEAAA,CACA,8BAAA,CC7CK,gDDiDP,UAAA,CACA,cAAA,CACA,WAAA,CAEA,wDACE,wBAAA,CACA,oCAAA,CACA,kBAAA,CAOF,wDACE,WAAA,CACA,iBAAA,CACA,UAAA,CACA,wBAAA,CACA,eAAA,CACA,wBAAA,CACA,oBAAA,CACA,yBAAA,CACA,uBAAA,CAGF,yDACE,qCAAA,CAIA,0EACE,qCAAA,CACA,8DAAA,CAEF,yEACE,iCAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CAKF,sEACE,WAAA,CAEF,qEACE,OAAA,CACA,QAAA,CACA,UAAA","sourcesContent":["@import \"../../../scss/variables\";\n@import \"../../../scss/designMixin\";\n\n.checkbox {\n position: relative;\n display: inline-block;\n cursor: pointer;\n\n > label {\n display: flex;\n cursor: pointer;\n }\n\n .label {\n line-height: 22px;\n\n &:not(:empty) {\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n }\n }\n\n .input {\n display: none;\n }\n\n .checkmark {\n display: inline-block;\n user-select: none;\n position: relative;\n\n &::before {\n content: \" \";\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n }\n\n @include design($material) {\n width: 18px;\n min-width: 18px;\n height: 18px;\n margin: 2px;\n\n &::before {\n border: 2px solid var(--border-strong);\n border-radius: 2px;\n transition: background-color 0.1s linear 0.2s, border-color 0.1s linear 0.2s;\n background-color: transparent;\n }\n }\n @include design($flat) {\n width: 22px;\n min-width: 22px;\n height: 22px;\n\n &::before {\n background: transparent;\n border: 1px solid var(--border-light);\n border-radius: 22px;\n }\n }\n }\n\n input:checked + {\n .checkmark {\n &::after {\n content: \" \";\n position: absolute;\n height: 5px;\n background: transparent;\n border-radius: 0;\n transform: rotate(-45deg);\n border: 2px none #fff;\n border-bottom-style: solid;\n border-left-style: solid;\n }\n\n &::before {\n background-color: var(--flavor-accent);\n }\n\n @include design($material) {\n &::before {\n border: 2px solid var(--flavor-accent);\n transition: background-color 0.1s linear, border-color 0.1s linear;\n }\n &::after {\n transition: transform 0.2s ease 0.2s;\n top: 5px;\n left: 4px;\n width: 10px;\n\n }\n }\n @include design($flat) {\n &::before {\n border: none;\n }\n &::after {\n top: 7px;\n left: 5px;\n width: 11px;\n }\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":""}]);
1400
1400
  // Exports
1401
1401
  ___CSS_LOADER_EXPORT___.locals = {
1402
1402
  "checkbox": "checkbox__mmwyA",
@@ -23086,11 +23086,11 @@ function Textarea(_a) {
23086
23086
  label,
23087
23087
  className,
23088
23088
  style,
23089
- onKeyPress,
23089
+ onKeyUp,
23090
23090
  onChangeText,
23091
23091
  onEnter
23092
23092
  } = _a,
23093
- otherProps = Textarea_rest(_a, ["label", "className", "style", "onKeyPress", "onChangeText", "onEnter"]);
23093
+ otherProps = Textarea_rest(_a, ["label", "className", "style", "onKeyUp", "onChangeText", "onEnter"]);
23094
23094
  // States
23095
23095
  // Refs
23096
23096
  // Callbacks
@@ -23102,13 +23102,13 @@ function Textarea(_a) {
23102
23102
  onChangeWithData(e);
23103
23103
  }, [onChangeWithData, onChangeText]);
23104
23104
  const realOnKeyPress = (0,external_react_.useCallback)(e => {
23105
- if (onKeyPress) {
23106
- onKeyPress(e);
23105
+ if (onKeyUp) {
23106
+ onKeyUp(e);
23107
23107
  }
23108
23108
  if (onEnter && e.key === 'Enter' && !e.defaultPrevented) {
23109
23109
  onEnter(e.target.value);
23110
23110
  }
23111
- }, [onEnter, onKeyPress]);
23111
+ }, [onEnter, onKeyUp]);
23112
23112
  // Effects
23113
23113
  // Other
23114
23114
  // Render Functions
@@ -23118,7 +23118,7 @@ function Textarea(_a) {
23118
23118
  }, label ? /*#__PURE__*/external_react_.createElement("span", {
23119
23119
  className: (textarea_default()).label
23120
23120
  }, label) : null, /*#__PURE__*/external_react_.createElement("textarea", Textarea_extends({}, otherProps, {
23121
- onKeyPress: realOnKeyPress,
23121
+ onKeyUp: realOnKeyPress,
23122
23122
  className: (textarea_default()).textarea,
23123
23123
  onChange: onChange
23124
23124
  })));
@@ -23198,6 +23198,8 @@ function FullScreen(_a) {
23198
23198
  const props = (0,external_react_.useMemo)(() => Object.assign(Object.assign({}, otherProps), {
23199
23199
  ref: containerRef
23200
23200
  }), [otherProps]);
23201
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
23202
+ // @ts-ignore
23201
23203
  return /*#__PURE__*/external_react_.createElement(element, props, children);
23202
23204
  }
23203
23205
  // Need FullScreenMemo for autocompletion of phpstorm