@koine/react 1.0.2 → 1.0.5

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.
Files changed (3) hide show
  1. package/index.esm.js +67 -83
  2. package/index.umd.js +67 -83
  3. package/package.json +3 -3
package/index.esm.js CHANGED
@@ -1108,11 +1108,11 @@ function __awaiter(thisArg, _arguments, P, generator) {
1108
1108
 
1109
1109
  const AlertRoot = /*#__PURE__*/styled.div.withConfig({
1110
1110
  displayName: "Alert__AlertRoot",
1111
- componentId: "lcej9m-0"
1111
+ componentId: "sc-lcej9m-0"
1112
1112
  })(["font-size:12px;", ""], p => p.$danger ? `color: var(--danger)` : "");
1113
1113
  const AlertInner = /*#__PURE__*/styled.div.withConfig({
1114
1114
  displayName: "Alert__AlertInner",
1115
- componentId: "lcej9m-1"
1115
+ componentId: "sc-lcej9m-1"
1116
1116
  })(["padding:1em;background-color:rgba(0,0,0,0.05);"]);
1117
1117
  const Alert = _a => {
1118
1118
  var {
@@ -1963,7 +1963,7 @@ const ProgressLinear = _a => {
1963
1963
 
1964
1964
  const InputInvisible = /*#__PURE__*/styled.input.withConfig({
1965
1965
  displayName: "styles__InputInvisible",
1966
- componentId: "a7tlb4-0"
1966
+ componentId: "sc-a7tlb4-0"
1967
1967
  })(["", ""], invisible);
1968
1968
  const InputHoneypot = /*#__PURE__*/styled(InputInvisible).attrs({
1969
1969
  type: "text",
@@ -1971,14 +1971,14 @@ const InputHoneypot = /*#__PURE__*/styled(InputInvisible).attrs({
1971
1971
  tabIndex: -1
1972
1972
  }).withConfig({
1973
1973
  displayName: "styles__InputHoneypot",
1974
- componentId: "a7tlb4-1"
1974
+ componentId: "sc-a7tlb4-1"
1975
1975
  })([""]);
1976
1976
  const InputProgress = /*#__PURE__*/styled(p => jsx(ProgressLinear, Object.assign({
1977
1977
  fg: "var(--accent300)",
1978
1978
  bg: "var(--accent400)"
1979
1979
  }, p))).withConfig({
1980
1980
  displayName: "styles__InputProgress",
1981
- componentId: "a7tlb4-2"
1981
+ componentId: "sc-a7tlb4-2"
1982
1982
  })(["position:absolute;bottom:0;left:0;width:100%;"]);
1983
1983
  /**
1984
1984
  * Remove the default light blue background on autofilled inputs. To be used as
@@ -2085,7 +2085,7 @@ const SelectArrow = /*#__PURE__*/forwardRef(function SelectArrow(_a, ref) {
2085
2085
 
2086
2086
  const Menu = /*#__PURE__*/styled.ul.withConfig({
2087
2087
  displayName: "Menu",
2088
- componentId: "v1thyt-0"
2088
+ componentId: "sc-v1thyt-0"
2089
2089
  })(["z-index:3;position:absolute;list-style-type:none;margin:0;padding:0;background:#fff;width:100%;box-shadow:var(--shadow);"]);
2090
2090
 
2091
2091
  const MenuItem = /*#__PURE__*/styled.li.withConfig({
@@ -2110,27 +2110,27 @@ const KoineButton = /*#__PURE__*/styled.button.withConfig({
2110
2110
 
2111
2111
  const Root$a = /*#__PURE__*/styled.span.withConfig({
2112
2112
  displayName: "ButtonComposite__Root",
2113
- componentId: "mrn633-0"
2113
+ componentId: "sc-mrn633-0"
2114
2114
  })(["", " padding:0;min-width:0;& svg{font-size:2em !important;margin:0 0.33em 0 0 !important;}"], p => p.$icon ? `display: flex;` : `display: inline-block; text-align: left;`);
2115
2115
  const ButtonCompositeIcon = /*#__PURE__*/styled.svg.withConfig({
2116
2116
  displayName: "ButtonComposite__ButtonCompositeIcon",
2117
- componentId: "mrn633-1"
2117
+ componentId: "sc-mrn633-1"
2118
2118
  })(["float:left;"]);
2119
2119
  const BesidesIcon = /*#__PURE__*/styled.span.withConfig({
2120
2120
  displayName: "ButtonComposite__BesidesIcon",
2121
- componentId: "mrn633-2"
2121
+ componentId: "sc-mrn633-2"
2122
2122
  })(["text-align:left;line-height:1.2;"]);
2123
2123
  const Main = /*#__PURE__*/styled.span.withConfig({
2124
2124
  displayName: "ButtonComposite__Main",
2125
- componentId: "mrn633-3"
2125
+ componentId: "sc-mrn633-3"
2126
2126
  })(["display:block;font-size:0.9em;&:last-child{margin-top:", ";}"], p => p.$reverse && !p.$icon ? "0.5em" : "0");
2127
2127
  const Sub = /*#__PURE__*/styled.span.withConfig({
2128
2128
  displayName: "ButtonComposite__Sub",
2129
- componentId: "mrn633-4"
2129
+ componentId: "sc-mrn633-4"
2130
2130
  })(["display:block;text-transform:none;font-size:0.7em;font-weight:500;", " + &{margin-top:", ";}"], Main, p => p.$reverse && !p.$icon ? "0.5em" : "0");
2131
2131
  const Text = /*#__PURE__*/styled.span.withConfig({
2132
2132
  displayName: "ButtonComposite__Text",
2133
- componentId: "mrn633-5"
2133
+ componentId: "sc-mrn633-5"
2134
2134
  })([""]);
2135
2135
  const Inner$2 = /*#__PURE__*/memo(({
2136
2136
  textMain,
@@ -2348,7 +2348,7 @@ $$8({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
2348
2348
 
2349
2349
  const Root$9 = /*#__PURE__*/styled(KoineButton).withConfig({
2350
2350
  displayName: "ButtonLink__Root",
2351
- componentId: "lp3x1u-0"
2351
+ componentId: "sc-lp3x1u-0"
2352
2352
  })(["text-decoration:none;"]); // export const KoineButtonLink: FC<ButtonLinkProps> = ({ Koine, ...props }) => {
2353
2353
  // return <Root {...props} as={Koine.Link} />;
2354
2354
  // }
@@ -2675,8 +2675,6 @@ const BodyMain = /*#__PURE__*/styled.main.withConfig({
2675
2675
  componentId: "sc-1308qu1-1"
2676
2676
  })(["flex:1;"]);
2677
2677
 
2678
- let _$1 = t => t,
2679
- _t$1;
2680
2678
  /**
2681
2679
  * App global style
2682
2680
  *
@@ -2726,7 +2724,7 @@ const stylesGlobal = `
2726
2724
  -webkit-tap-highlight-color: transparent;
2727
2725
  }
2728
2726
  `;
2729
- const StylesGlobal = /*#__PURE__*/createGlobalStyle(_t$1 || (_t$1 = _$1`${0}`), stylesGlobal);
2727
+ const StylesGlobal = /*#__PURE__*/createGlobalStyle(["", ""], stylesGlobal);
2730
2728
 
2731
2729
  var anObject$b = anObject$h;
2732
2730
 
@@ -4136,11 +4134,11 @@ const Hidden = /*#__PURE__*/styled.div.withConfig({
4136
4134
 
4137
4135
  const BgPhotoWrap = /*#__PURE__*/styled(Hidden).withConfig({
4138
4136
  displayName: "BgPhoto__BgPhotoWrap",
4139
- componentId: "rpv8r9-0"
4137
+ componentId: "sc-rpv8r9-0"
4140
4138
  })(["z-index:-10;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;background-repeat:no-repeat;background-position:top left;background-size:contain;filter:hue-rotate(-36deg);opacity:0.8;"]);
4141
4139
  const BgPhotoMask = /*#__PURE__*/styled(Container).withConfig({
4142
4140
  displayName: "BgPhoto__BgPhotoMask",
4143
- componentId: "rpv8r9-1"
4141
+ componentId: "sc-rpv8r9-1"
4144
4142
  })(["position:relative;min-height:100%;&:before{content:\"\";position:absolute;top:0;height:100%;right:calc(100% - ", "px);width:", ";background:linear-gradient( 90deg,rgba(var(--bodyBg-rgb,0)) 0%,rgba(var(--bodyBg-rgb,1)) 100% ),linear-gradient( 60deg,rgba(var(--bodyBg-rgb,0)) 0%,rgba(var(--bodyBg-rgb,1)) 70% );}&:after{content:\"\";position:absolute;top:0;height:100%;left:", "px;width:100vw;background:var(--bodyBg);}"], p => p.$overlap + 2, p => {
4145
4143
  const containerSizePx = p.theme.breakpoints[p.containerSize];
4146
4144
  return `calc(((100vw - ${containerSizePx}px) / 2) + ${p.$overlap + 2}px)`;
@@ -4168,7 +4166,7 @@ const BgPhoto = ({
4168
4166
 
4169
4167
  const Root$8 = /*#__PURE__*/styled.svg.withConfig({
4170
4168
  displayName: "BgSvg__Root",
4171
- componentId: "qvklmn-0"
4169
+ componentId: "sc-qvklmn-0"
4172
4170
  })(["position:fixed;z-index:-2;bottom:0;transform:rotate(180deg);opacity:0.9;"]);
4173
4171
  /**
4174
4172
  * Centered triangle shape
@@ -6901,19 +6899,19 @@ const CollapsableHeadRoot = /*#__PURE__*/styled(m.label).attrs(props => ({
6901
6899
  htmlFor: `${props.id}-input`
6902
6900
  })).withConfig({
6903
6901
  displayName: "Collapsable__CollapsableHeadRoot",
6904
- componentId: "e584ub-0"
6902
+ componentId: "sc-e584ub-0"
6905
6903
  })(["", " width:100%;padding:0;text-align:left;display:flex;justify-content:space-between;align-items:center;cursor:pointer;"], btnStyleReset);
6906
6904
  const CollapsableHeadSpace = /*#__PURE__*/styled.div.withConfig({
6907
6905
  displayName: "Collapsable__CollapsableHeadSpace",
6908
- componentId: "e584ub-1"
6906
+ componentId: "sc-e584ub-1"
6909
6907
  })(["flex:1;padding-left:20px;"]);
6910
6908
  const CollapsableHeadAction = /*#__PURE__*/styled.div.withConfig({
6911
6909
  displayName: "Collapsable__CollapsableHeadAction",
6912
- componentId: "e584ub-2"
6910
+ componentId: "sc-e584ub-2"
6913
6911
  })(["padding-left:20px;"]);
6914
6912
  const CollaspableHeadLine = /*#__PURE__*/styled(m.div).withConfig({
6915
6913
  displayName: "Collapsable__CollaspableHeadLine",
6916
- componentId: "e584ub-3"
6914
+ componentId: "sc-e584ub-3"
6917
6915
  })(["width:0%;height:1px;background:#bbb;"]);
6918
6916
  const collapsableHeadLineMotion = {
6919
6917
  hover: {
@@ -6925,11 +6923,11 @@ const collapsableHeadLineMotion = {
6925
6923
  };
6926
6924
  const CollapsableHeadText = /*#__PURE__*/styled.div.withConfig({
6927
6925
  displayName: "Collapsable__CollapsableHeadText",
6928
- componentId: "e584ub-4"
6926
+ componentId: "sc-e584ub-4"
6929
6927
  })([""]);
6930
6928
  const CollapsableHeadIcon = /*#__PURE__*/styled(m.div).withConfig({
6931
6929
  displayName: "Collapsable__CollapsableHeadIcon",
6932
- componentId: "e584ub-5"
6930
+ componentId: "sc-e584ub-5"
6933
6931
  })([""]);
6934
6932
  const CollapsableHead = ({
6935
6933
  $expanded,
@@ -6972,15 +6970,15 @@ const CollapsableInput = /*#__PURE__*/styled(InputInvisible).attrs({
6972
6970
  type: "checkbox"
6973
6971
  }).withConfig({
6974
6972
  displayName: "Collapsable__CollapsableInput",
6975
- componentId: "e584ub-6"
6973
+ componentId: "sc-e584ub-6"
6976
6974
  })([""]);
6977
6975
  const CollasableBodyWrap = /*#__PURE__*/styled(DisclosurePanel).withConfig({
6978
6976
  displayName: "Collapsable__CollasableBodyWrap",
6979
- componentId: "e584ub-7"
6977
+ componentId: "sc-e584ub-7"
6980
6978
  })(["&[hidden]{display:block;}"]);
6981
6979
  const CollapsableBodyRoot = /*#__PURE__*/styled(m.div).withConfig({
6982
6980
  displayName: "Collapsable__CollapsableBodyRoot",
6983
- componentId: "e584ub-8"
6981
+ componentId: "sc-e584ub-8"
6984
6982
  })([".no-js &{transition:margin-top 0.2s ease;}.no-js ", ":checked + ", " &{margin-top:0 !important;opacity:1 !important;}"], CollapsableInput, CollasableBodyWrap);
6985
6983
  const CollapsableBody = /*#__PURE__*/forwardRef(function CollapsableBody(props, ref) {
6986
6984
  return jsx(CollapsableBodyRoot, Object.assign({
@@ -7084,7 +7082,7 @@ const Collapsable = _a => {
7084
7082
 
7085
7083
  const Root$6 = /*#__PURE__*/styled.div.withConfig({
7086
7084
  displayName: "Debug__Root",
7087
- componentId: "a3cz4-0"
7085
+ componentId: "sc-a3cz4-0"
7088
7086
  })(["background:#f4f4f4;border:1px solid #ddd;border-left:3px solid #f36d33;color:#666;page-break-inside:avoid;font-family:monospace;font-size:small;line-height:1.6;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1em 1.5em;display:block;word-wrap:break-word;"]);
7089
7087
  const Debug = ({
7090
7088
  data
@@ -7574,19 +7572,19 @@ function useToggle(props, ref) {
7574
7572
 
7575
7573
  const CheckboxRoot = /*#__PURE__*/styled.label.withConfig({
7576
7574
  displayName: "Checkbox__CheckboxRoot",
7577
- componentId: "zwkhrm-0"
7575
+ componentId: "sc-zwkhrm-0"
7578
7576
  })(["display:flex;align-items:center;cursor:pointer;"]);
7579
7577
  const CheckboxToggle = /*#__PURE__*/styled(Toggle).withConfig({
7580
7578
  displayName: "Checkbox__CheckboxToggle",
7581
- componentId: "zwkhrm-1"
7579
+ componentId: "sc-zwkhrm-1"
7582
7580
  })(["pointer-events:none;"]);
7583
7581
  const CheckboxIndicator = /*#__PURE__*/styled(ToggleIndicatorSquared).withConfig({
7584
7582
  displayName: "Checkbox__CheckboxIndicator",
7585
- componentId: "zwkhrm-2"
7583
+ componentId: "sc-zwkhrm-2"
7586
7584
  })([""]);
7587
7585
  const CheckboxLabel = /*#__PURE__*/styled(ToggleLabel).withConfig({
7588
7586
  displayName: "Checkbox__CheckboxLabel",
7589
- componentId: "zwkhrm-3"
7587
+ componentId: "sc-zwkhrm-3"
7590
7588
  })(["font-size:0.8em;"]);
7591
7589
  /**
7592
7590
  * All logic and invisible Inputs come from the `useToggle` hook
@@ -7609,7 +7607,7 @@ const Checkbox = /*#__PURE__*/forwardRef(function Checkbox(props, ref) {
7609
7607
 
7610
7608
  const Root$5 = /*#__PURE__*/styled.div.withConfig({
7611
7609
  displayName: "Feedback__Root",
7612
- componentId: "ibaaij-0"
7610
+ componentId: "sc-ibaaij-0"
7613
7611
  })(["margin-top:0.2em;font-size:12px;", ""], p => p.$danger ? `color: var(--danger);` : "");
7614
7612
  const Feedback = ({
7615
7613
  $danger,
@@ -7803,11 +7801,11 @@ const animationRotation = /*#__PURE__*/keyframes(["0%{transform:rotate(0deg);}10
7803
7801
  const animationCircle = /*#__PURE__*/keyframes(["0%{stroke-dasharray:1px,200px;stroke-dashoffset:0;}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px;}100%{stroke-dasharray:100px,200px;stroke-dashoffset:-125px;}"]);
7804
7802
  const ProgressCircularSvg = /*#__PURE__*/styled.svg.withConfig({
7805
7803
  displayName: "ProgressCircular__ProgressCircularSvg",
7806
- componentId: "hfo1yr-0"
7804
+ componentId: "sc-hfo1yr-0"
7807
7805
  })(["animation:", " 1.5s linear infinite;"], animationRotation);
7808
7806
  const ProgressCircularCircle = /*#__PURE__*/styled.circle.withConfig({
7809
7807
  displayName: "ProgressCircular__ProgressCircularCircle",
7810
- componentId: "hfo1yr-1"
7808
+ componentId: "sc-hfo1yr-1"
7811
7809
  })(["animation:", " 1.5s linear infinite;"], animationCircle);
7812
7810
  /**
7813
7811
  * @see https://mui.com/components/progress/
@@ -7869,11 +7867,11 @@ const useHeader = () => {
7869
7867
 
7870
7868
  const ProgressOverlayWrap = /*#__PURE__*/styled(m.div).withConfig({
7871
7869
  displayName: "ProgressOverlay__ProgressOverlayWrap",
7872
- componentId: "umgj5t-0"
7870
+ componentId: "sc-umgj5t-0"
7873
7871
  })(["z-index:10000;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;cursor:wait;"]);
7874
7872
  const ProgressOverlayCenterer = /*#__PURE__*/styled.div.withConfig({
7875
7873
  displayName: "ProgressOverlay__ProgressOverlayCenterer",
7876
- componentId: "umgj5t-1"
7874
+ componentId: "sc-umgj5t-1"
7877
7875
  })(["position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:var(--progress-overlay-bg);"]);
7878
7876
  const ProgressOverlay = ({
7879
7877
  running
@@ -8042,27 +8040,27 @@ const Password = /*#__PURE__*/forwardRef(function Password(_a, ref) {
8042
8040
 
8043
8041
  const RadioRoot = /*#__PURE__*/styled.div.withConfig({
8044
8042
  displayName: "Radio__RadioRoot",
8045
- componentId: "gv6b7r-0"
8043
+ componentId: "sc-gv6b7r-0"
8046
8044
  })([""]);
8047
8045
  const RadioLabel = /*#__PURE__*/styled.div.withConfig({
8048
8046
  displayName: "Radio__RadioLabel",
8049
- componentId: "gv6b7r-1"
8047
+ componentId: "sc-gv6b7r-1"
8050
8048
  })(["", ""], label);
8051
8049
  const RadioOptionRoot = /*#__PURE__*/styled.label.withConfig({
8052
8050
  displayName: "Radio__RadioOptionRoot",
8053
- componentId: "gv6b7r-2"
8051
+ componentId: "sc-gv6b7r-2"
8054
8052
  })(["display:flex;align-items:center;padding:0.05em;cursor:pointer;"]);
8055
8053
  const RadioToggle = /*#__PURE__*/styled(Toggle).withConfig({
8056
8054
  displayName: "Radio__RadioToggle",
8057
- componentId: "gv6b7r-3"
8055
+ componentId: "sc-gv6b7r-3"
8058
8056
  })([""]);
8059
8057
  const RadioIndicator = /*#__PURE__*/styled(ToggleIndicatorSquared).withConfig({
8060
8058
  displayName: "Radio__RadioIndicator",
8061
- componentId: "gv6b7r-4"
8059
+ componentId: "sc-gv6b7r-4"
8062
8060
  })([""]);
8063
8061
  const RadioOptionLabel = /*#__PURE__*/styled(ToggleLabel).withConfig({
8064
8062
  displayName: "Radio__RadioOptionLabel",
8065
- componentId: "gv6b7r-5"
8063
+ componentId: "sc-gv6b7r-5"
8066
8064
  })([""]);
8067
8065
  const RadioOption = /*#__PURE__*/forwardRef(function RadioOption(_a, ref) {
8068
8066
  var {
@@ -8108,11 +8106,11 @@ const SWITCH_GUTTER = 0.25;
8108
8106
  const SWITCH_HANDLE_SIZE = 1;
8109
8107
  const SwitchTrack = /*#__PURE__*/styled.span.withConfig({
8110
8108
  displayName: "Switch__SwitchTrack",
8111
- componentId: "dstl69-0"
8109
+ componentId: "sc-dstl69-0"
8112
8110
  })(["position:relative;width:", "em;height:", "em;padding:", "em;border-radius:", "em;", " input:focus ~ &{", "}input:disabled ~ &{opacity:0.5;cursor:not-allowed;}"], SWITCH_HANDLE_SIZE * 3, SWITCH_HANDLE_SIZE * 1.5, SWITCH_GUTTER, SWITCH_HANDLE_SIZE, toggleBase, stateFocus);
8113
8111
  const SwitchHandle = /*#__PURE__*/styled.span.withConfig({
8114
8112
  displayName: "Switch__SwitchHandle",
8115
- componentId: "dstl69-1"
8113
+ componentId: "sc-dstl69-1"
8116
8114
  })(["position:absolute;width:", "em;height:", "em;left:", "em;margin-top:-1px;background:currentColor;opacity:0.5;border-radius:100%;transition:all 0.18s ease-in-out;input:checked + ", " &{opacity:1;left:calc(100% - ", "em - ", "em);}"], SWITCH_HANDLE_SIZE, SWITCH_HANDLE_SIZE, SWITCH_GUTTER, SwitchTrack, SWITCH_HANDLE_SIZE, SWITCH_GUTTER);
8117
8115
  /**
8118
8116
  * All logic and invisible Inputs come from the `useToggle` hook
@@ -8135,7 +8133,7 @@ const Switch = /*#__PURE__*/forwardRef(function Switch(props, ref) {
8135
8133
 
8136
8134
  const TextareaNative = /*#__PURE__*/styled.textarea.withConfig({
8137
8135
  displayName: "Textarea__TextareaNative",
8138
- componentId: "xvks9s-0"
8136
+ componentId: "sc-xvks9s-0"
8139
8137
  })(["", " ", " resize:vertical;"], inputBase, inputFocus);
8140
8138
  const Textarea = /*#__PURE__*/forwardRef(function Textarea(_a, ref) {
8141
8139
  var {
@@ -8155,33 +8153,19 @@ const Textarea = /*#__PURE__*/forwardRef(function Textarea(_a, ref) {
8155
8153
  });
8156
8154
  });
8157
8155
 
8158
- let _ = t => t,
8159
- _t;
8160
8156
  const EditorRoot = /*#__PURE__*/styled.div.withConfig({
8161
8157
  displayName: "components__EditorRoot",
8162
- componentId: "yit760-0"
8158
+ componentId: "sc-yit760-0"
8163
8159
  })(["", " ", ""], inputBorder, inputFocus);
8164
8160
  const EditorBarRoot = /*#__PURE__*/styled.div.withConfig({
8165
8161
  displayName: "components__EditorBarRoot",
8166
- componentId: "yit760-1"
8162
+ componentId: "sc-yit760-1"
8167
8163
  })(["display:flex;justify-content:flex-end;border-bottom:1px solid rgba(0,0,0,0.1);"]);
8168
8164
  const EditorBarBtn = /*#__PURE__*/styled(IconButton).withConfig({
8169
8165
  displayName: "components__EditorBarBtn",
8170
- componentId: "yit760-2"
8166
+ componentId: "sc-yit760-2"
8171
8167
  })([""]);
8172
- const EditorGlobalStyles = /*#__PURE__*/createGlobalStyle(_t || (_t = _`
8173
- .ProseMirror {
8174
- ${0}
8175
-
8176
- &:focus {
8177
- outline:none;
8178
- }
8179
-
8180
- > *:first-child {
8181
- margin-top: 0;
8182
- }
8183
- }
8184
- `), inputPadding);
8168
+ const EditorGlobalStyles = /*#__PURE__*/createGlobalStyle([".ProseMirror{", " &:focus{outline:none;}> *:first-child{margin-top:0;}}"], inputPadding);
8185
8169
 
8186
8170
  const EditorBar = ({
8187
8171
  editor
@@ -8231,7 +8215,7 @@ const Editor = _a => {
8231
8215
 
8232
8216
  const Root$4 = /*#__PURE__*/styled.div.withConfig({
8233
8217
  displayName: "TextareaRich__Root",
8234
- componentId: "viqw1n-0"
8218
+ componentId: "sc-viqw1n-0"
8235
8219
  })([".ProseMirror{max-height:160px;overflow:auto;}.EditorContent{position:relative;&:after{position:absolute;content:\"\";bottom:0;left:0;right:16px;height:3em;background:linear-gradient(0deg,white,white 33%,transparent);pointer-events:none;}}"]);
8236
8220
  const TextareaRich = /*#__PURE__*/forwardRef(function TextareaRich(_a, ref) {
8237
8221
  var {
@@ -8600,7 +8584,7 @@ const NoJs = _props => {
8600
8584
 
8601
8585
  const Root$3 = /*#__PURE__*/styled.nav.withConfig({
8602
8586
  displayName: "PaginationNav__Root",
8603
- componentId: "ydvvbf-0"
8587
+ componentId: "sc-ydvvbf-0"
8604
8588
  })(["display:flex;align-items:center;justify-content:center;padding:20px 0 40px;font-weight:600;& a{text-decoration:none;}"]);
8605
8589
  const item = `
8606
8590
  display: block;
@@ -8608,24 +8592,24 @@ const item = `
8608
8592
  `;
8609
8593
  const ItemCurrent = /*#__PURE__*/styled.span.withConfig({
8610
8594
  displayName: "PaginationNav__ItemCurrent",
8611
- componentId: "ydvvbf-1"
8595
+ componentId: "sc-ydvvbf-1"
8612
8596
  })(["", " background:var(--accent400);border-radius:2px;"], item);
8613
8597
  const ItemLink = /*#__PURE__*/styled.a.withConfig({
8614
8598
  displayName: "PaginationNav__ItemLink",
8615
- componentId: "ydvvbf-2"
8599
+ componentId: "sc-ydvvbf-2"
8616
8600
  })(["", " ", ""], item, props => props.prev ? "color: var(--grey100);" : "");
8617
8601
  const DotsSeparator = /*#__PURE__*/styled.span.withConfig({
8618
8602
  displayName: "PaginationNav__DotsSeparator",
8619
- componentId: "ydvvbf-3"
8603
+ componentId: "sc-ydvvbf-3"
8620
8604
  })(["color:var(--grey100);"]);
8621
8605
  const arrow = `display: flex; font-size: 20px;`;
8622
8606
  const ItemPrev = /*#__PURE__*/styled.a.withConfig({
8623
8607
  displayName: "PaginationNav__ItemPrev",
8624
- componentId: "ydvvbf-4"
8608
+ componentId: "sc-ydvvbf-4"
8625
8609
  })(["", ""], arrow);
8626
8610
  const ItemNext = /*#__PURE__*/styled.a.withConfig({
8627
8611
  displayName: "PaginationNav__ItemNext",
8628
- componentId: "ydvvbf-5"
8612
+ componentId: "sc-ydvvbf-5"
8629
8613
  })(["", ""], arrow);
8630
8614
  /*
8631
8615
  * Possible outcomes:
@@ -8729,11 +8713,11 @@ const KoinePaginationNav = ({
8729
8713
 
8730
8714
  const Root$2 = /*#__PURE__*/styled.div.withConfig({
8731
8715
  displayName: "PaginationResults__Root",
8732
- componentId: "sg84c7-0"
8716
+ componentId: "sc-sg84c7-0"
8733
8717
  })([""]);
8734
8718
  const Inner = /*#__PURE__*/styled(m.div).withConfig({
8735
8719
  displayName: "PaginationResults__Inner",
8736
- componentId: "sg84c7-1"
8720
+ componentId: "sc-sg84c7-1"
8737
8721
  })([""]);
8738
8722
  const PaginationResults = ({
8739
8723
  children
@@ -8769,24 +8753,24 @@ const PaginationResults = ({
8769
8753
 
8770
8754
  const Pill = /*#__PURE__*/styled.div.withConfig({
8771
8755
  displayName: "Pill",
8772
- componentId: "lqlli5-0"
8756
+ componentId: "sc-lqlli5-0"
8773
8757
  })(["display:inline-block;padding:5px 10px;margin:0 0.5em 0.5em 0;border-radius:2px;text-decoration:none;font-size:13px;font-weight:600;"]);
8774
8758
  const PillGreyLight = /*#__PURE__*/styled(Pill).withConfig({
8775
8759
  displayName: "Pill__PillGreyLight",
8776
- componentId: "lqlli5-1"
8760
+ componentId: "sc-lqlli5-1"
8777
8761
  })(["background:var(--grey800);color:var(--grey100);&:hover{color:white;background:var(--grey300);}"]);
8778
8762
  const PillAccentLight = /*#__PURE__*/styled(Pill).withConfig({
8779
8763
  displayName: "Pill__PillAccentLight",
8780
- componentId: "lqlli5-2"
8764
+ componentId: "sc-lqlli5-2"
8781
8765
  })(["background:var(--accent400);color:var(--grey100);&:hover{color:#fff;background:var(--accent300);}"]);
8782
8766
  const PillAccentLightOutlined = /*#__PURE__*/styled(Pill).withConfig({
8783
8767
  displayName: "Pill__PillAccentLightOutlined",
8784
- componentId: "lqlli5-3"
8768
+ componentId: "sc-lqlli5-3"
8785
8769
  })(["border:1px solid var(--accent300);color:var(--accent200);&:hover{color:#fff;background:var(--accent300);}"]);
8786
8770
 
8787
8771
  const RatingStarRoot = /*#__PURE__*/styled.svg.withConfig({
8788
8772
  displayName: "Rating__RatingStarRoot",
8789
- componentId: "crwndz-0"
8773
+ componentId: "sc-crwndz-0"
8790
8774
  })(["display:inline-block;vertical-align:middle;margin-right:1px;"]);
8791
8775
  const RatingStar = _a => {
8792
8776
  var {
@@ -8833,19 +8817,19 @@ const RatingStar = _a => {
8833
8817
  };
8834
8818
  const RatingDetails = /*#__PURE__*/styled.span.withConfig({
8835
8819
  displayName: "Rating__RatingDetails",
8836
- componentId: "crwndz-1"
8820
+ componentId: "sc-crwndz-1"
8837
8821
  })(["padding-left:0.5em;font-size:12px;color:var(--grey100);&:before{content:\"(\";}&:after{content:\")\";}"]);
8838
8822
  const RatingCount = /*#__PURE__*/styled.span.withConfig({
8839
8823
  displayName: "Rating__RatingCount",
8840
- componentId: "crwndz-2"
8824
+ componentId: "sc-crwndz-2"
8841
8825
  })([""]);
8842
8826
  const RatingValue = /*#__PURE__*/styled.span.withConfig({
8843
8827
  displayName: "Rating__RatingValue",
8844
- componentId: "crwndz-3"
8828
+ componentId: "sc-crwndz-3"
8845
8829
  })(["display:none;"]);
8846
8830
  const RatingRoot = /*#__PURE__*/styled.div.withConfig({
8847
8831
  displayName: "Rating__RatingRoot",
8848
- componentId: "crwndz-4"
8832
+ componentId: "sc-crwndz-4"
8849
8833
  })(["display:flex;align-items:center;&:hover ", "{display:inline-block;}"], RatingValue);
8850
8834
  const Rating = ({
8851
8835
  value: _value = 0,
package/index.umd.js CHANGED
@@ -1089,11 +1089,11 @@
1089
1089
 
1090
1090
  const AlertRoot = /*#__PURE__*/styled__default["default"].div.withConfig({
1091
1091
  displayName: "Alert__AlertRoot",
1092
- componentId: "lcej9m-0"
1092
+ componentId: "sc-lcej9m-0"
1093
1093
  })(["font-size:12px;", ""], p => p.$danger ? `color: var(--danger)` : "");
1094
1094
  const AlertInner = /*#__PURE__*/styled__default["default"].div.withConfig({
1095
1095
  displayName: "Alert__AlertInner",
1096
- componentId: "lcej9m-1"
1096
+ componentId: "sc-lcej9m-1"
1097
1097
  })(["padding:1em;background-color:rgba(0,0,0,0.05);"]);
1098
1098
  const Alert = _a => {
1099
1099
  var {
@@ -1944,7 +1944,7 @@
1944
1944
 
1945
1945
  const InputInvisible = /*#__PURE__*/styled__default["default"].input.withConfig({
1946
1946
  displayName: "styles__InputInvisible",
1947
- componentId: "a7tlb4-0"
1947
+ componentId: "sc-a7tlb4-0"
1948
1948
  })(["", ""], invisible);
1949
1949
  const InputHoneypot = /*#__PURE__*/styled__default["default"](InputInvisible).attrs({
1950
1950
  type: "text",
@@ -1952,14 +1952,14 @@
1952
1952
  tabIndex: -1
1953
1953
  }).withConfig({
1954
1954
  displayName: "styles__InputHoneypot",
1955
- componentId: "a7tlb4-1"
1955
+ componentId: "sc-a7tlb4-1"
1956
1956
  })([""]);
1957
1957
  const InputProgress = /*#__PURE__*/styled__default["default"](p => jsxRuntime.jsx(ProgressLinear, Object.assign({
1958
1958
  fg: "var(--accent300)",
1959
1959
  bg: "var(--accent400)"
1960
1960
  }, p))).withConfig({
1961
1961
  displayName: "styles__InputProgress",
1962
- componentId: "a7tlb4-2"
1962
+ componentId: "sc-a7tlb4-2"
1963
1963
  })(["position:absolute;bottom:0;left:0;width:100%;"]);
1964
1964
  /**
1965
1965
  * Remove the default light blue background on autofilled inputs. To be used as
@@ -2066,7 +2066,7 @@
2066
2066
 
2067
2067
  const Menu = /*#__PURE__*/styled__default["default"].ul.withConfig({
2068
2068
  displayName: "Menu",
2069
- componentId: "v1thyt-0"
2069
+ componentId: "sc-v1thyt-0"
2070
2070
  })(["z-index:3;position:absolute;list-style-type:none;margin:0;padding:0;background:#fff;width:100%;box-shadow:var(--shadow);"]);
2071
2071
 
2072
2072
  const MenuItem = /*#__PURE__*/styled__default["default"].li.withConfig({
@@ -2091,27 +2091,27 @@
2091
2091
 
2092
2092
  const Root$a = /*#__PURE__*/styled__default["default"].span.withConfig({
2093
2093
  displayName: "ButtonComposite__Root",
2094
- componentId: "mrn633-0"
2094
+ componentId: "sc-mrn633-0"
2095
2095
  })(["", " padding:0;min-width:0;& svg{font-size:2em !important;margin:0 0.33em 0 0 !important;}"], p => p.$icon ? `display: flex;` : `display: inline-block; text-align: left;`);
2096
2096
  const ButtonCompositeIcon = /*#__PURE__*/styled__default["default"].svg.withConfig({
2097
2097
  displayName: "ButtonComposite__ButtonCompositeIcon",
2098
- componentId: "mrn633-1"
2098
+ componentId: "sc-mrn633-1"
2099
2099
  })(["float:left;"]);
2100
2100
  const BesidesIcon = /*#__PURE__*/styled__default["default"].span.withConfig({
2101
2101
  displayName: "ButtonComposite__BesidesIcon",
2102
- componentId: "mrn633-2"
2102
+ componentId: "sc-mrn633-2"
2103
2103
  })(["text-align:left;line-height:1.2;"]);
2104
2104
  const Main = /*#__PURE__*/styled__default["default"].span.withConfig({
2105
2105
  displayName: "ButtonComposite__Main",
2106
- componentId: "mrn633-3"
2106
+ componentId: "sc-mrn633-3"
2107
2107
  })(["display:block;font-size:0.9em;&:last-child{margin-top:", ";}"], p => p.$reverse && !p.$icon ? "0.5em" : "0");
2108
2108
  const Sub = /*#__PURE__*/styled__default["default"].span.withConfig({
2109
2109
  displayName: "ButtonComposite__Sub",
2110
- componentId: "mrn633-4"
2110
+ componentId: "sc-mrn633-4"
2111
2111
  })(["display:block;text-transform:none;font-size:0.7em;font-weight:500;", " + &{margin-top:", ";}"], Main, p => p.$reverse && !p.$icon ? "0.5em" : "0");
2112
2112
  const Text = /*#__PURE__*/styled__default["default"].span.withConfig({
2113
2113
  displayName: "ButtonComposite__Text",
2114
- componentId: "mrn633-5"
2114
+ componentId: "sc-mrn633-5"
2115
2115
  })([""]);
2116
2116
  const Inner$2 = /*#__PURE__*/react.memo(({
2117
2117
  textMain,
@@ -2329,7 +2329,7 @@
2329
2329
 
2330
2330
  const Root$9 = /*#__PURE__*/styled__default["default"](KoineButton).withConfig({
2331
2331
  displayName: "ButtonLink__Root",
2332
- componentId: "lp3x1u-0"
2332
+ componentId: "sc-lp3x1u-0"
2333
2333
  })(["text-decoration:none;"]); // export const KoineButtonLink: FC<ButtonLinkProps> = ({ Koine, ...props }) => {
2334
2334
  // return <Root {...props} as={Koine.Link} />;
2335
2335
  // }
@@ -2656,8 +2656,6 @@
2656
2656
  componentId: "sc-1308qu1-1"
2657
2657
  })(["flex:1;"]);
2658
2658
 
2659
- let _$1 = t => t,
2660
- _t$1;
2661
2659
  /**
2662
2660
  * App global style
2663
2661
  *
@@ -2707,7 +2705,7 @@
2707
2705
  -webkit-tap-highlight-color: transparent;
2708
2706
  }
2709
2707
  `;
2710
- const StylesGlobal = /*#__PURE__*/styled.createGlobalStyle(_t$1 || (_t$1 = _$1`${0}`), stylesGlobal);
2708
+ const StylesGlobal = /*#__PURE__*/styled.createGlobalStyle(["", ""], stylesGlobal);
2711
2709
 
2712
2710
  var anObject$b = anObject$h;
2713
2711
 
@@ -4117,11 +4115,11 @@
4117
4115
 
4118
4116
  const BgPhotoWrap = /*#__PURE__*/styled__default["default"](Hidden).withConfig({
4119
4117
  displayName: "BgPhoto__BgPhotoWrap",
4120
- componentId: "rpv8r9-0"
4118
+ componentId: "sc-rpv8r9-0"
4121
4119
  })(["z-index:-10;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;background-repeat:no-repeat;background-position:top left;background-size:contain;filter:hue-rotate(-36deg);opacity:0.8;"]);
4122
4120
  const BgPhotoMask = /*#__PURE__*/styled__default["default"](Container).withConfig({
4123
4121
  displayName: "BgPhoto__BgPhotoMask",
4124
- componentId: "rpv8r9-1"
4122
+ componentId: "sc-rpv8r9-1"
4125
4123
  })(["position:relative;min-height:100%;&:before{content:\"\";position:absolute;top:0;height:100%;right:calc(100% - ", "px);width:", ";background:linear-gradient( 90deg,rgba(var(--bodyBg-rgb,0)) 0%,rgba(var(--bodyBg-rgb,1)) 100% ),linear-gradient( 60deg,rgba(var(--bodyBg-rgb,0)) 0%,rgba(var(--bodyBg-rgb,1)) 70% );}&:after{content:\"\";position:absolute;top:0;height:100%;left:", "px;width:100vw;background:var(--bodyBg);}"], p => p.$overlap + 2, p => {
4126
4124
  const containerSizePx = p.theme.breakpoints[p.containerSize];
4127
4125
  return `calc(((100vw - ${containerSizePx}px) / 2) + ${p.$overlap + 2}px)`;
@@ -4149,7 +4147,7 @@
4149
4147
 
4150
4148
  const Root$8 = /*#__PURE__*/styled__default["default"].svg.withConfig({
4151
4149
  displayName: "BgSvg__Root",
4152
- componentId: "qvklmn-0"
4150
+ componentId: "sc-qvklmn-0"
4153
4151
  })(["position:fixed;z-index:-2;bottom:0;transform:rotate(180deg);opacity:0.9;"]);
4154
4152
  /**
4155
4153
  * Centered triangle shape
@@ -6882,19 +6880,19 @@
6882
6880
  htmlFor: `${props.id}-input`
6883
6881
  })).withConfig({
6884
6882
  displayName: "Collapsable__CollapsableHeadRoot",
6885
- componentId: "e584ub-0"
6883
+ componentId: "sc-e584ub-0"
6886
6884
  })(["", " width:100%;padding:0;text-align:left;display:flex;justify-content:space-between;align-items:center;cursor:pointer;"], btnStyleReset);
6887
6885
  const CollapsableHeadSpace = /*#__PURE__*/styled__default["default"].div.withConfig({
6888
6886
  displayName: "Collapsable__CollapsableHeadSpace",
6889
- componentId: "e584ub-1"
6887
+ componentId: "sc-e584ub-1"
6890
6888
  })(["flex:1;padding-left:20px;"]);
6891
6889
  const CollapsableHeadAction = /*#__PURE__*/styled__default["default"].div.withConfig({
6892
6890
  displayName: "Collapsable__CollapsableHeadAction",
6893
- componentId: "e584ub-2"
6891
+ componentId: "sc-e584ub-2"
6894
6892
  })(["padding-left:20px;"]);
6895
6893
  const CollaspableHeadLine = /*#__PURE__*/styled__default["default"](framerMotion.m.div).withConfig({
6896
6894
  displayName: "Collapsable__CollaspableHeadLine",
6897
- componentId: "e584ub-3"
6895
+ componentId: "sc-e584ub-3"
6898
6896
  })(["width:0%;height:1px;background:#bbb;"]);
6899
6897
  const collapsableHeadLineMotion = {
6900
6898
  hover: {
@@ -6906,11 +6904,11 @@
6906
6904
  };
6907
6905
  const CollapsableHeadText = /*#__PURE__*/styled__default["default"].div.withConfig({
6908
6906
  displayName: "Collapsable__CollapsableHeadText",
6909
- componentId: "e584ub-4"
6907
+ componentId: "sc-e584ub-4"
6910
6908
  })([""]);
6911
6909
  const CollapsableHeadIcon = /*#__PURE__*/styled__default["default"](framerMotion.m.div).withConfig({
6912
6910
  displayName: "Collapsable__CollapsableHeadIcon",
6913
- componentId: "e584ub-5"
6911
+ componentId: "sc-e584ub-5"
6914
6912
  })([""]);
6915
6913
  const CollapsableHead = ({
6916
6914
  $expanded,
@@ -6953,15 +6951,15 @@
6953
6951
  type: "checkbox"
6954
6952
  }).withConfig({
6955
6953
  displayName: "Collapsable__CollapsableInput",
6956
- componentId: "e584ub-6"
6954
+ componentId: "sc-e584ub-6"
6957
6955
  })([""]);
6958
6956
  const CollasableBodyWrap = /*#__PURE__*/styled__default["default"](disclosure.DisclosurePanel).withConfig({
6959
6957
  displayName: "Collapsable__CollasableBodyWrap",
6960
- componentId: "e584ub-7"
6958
+ componentId: "sc-e584ub-7"
6961
6959
  })(["&[hidden]{display:block;}"]);
6962
6960
  const CollapsableBodyRoot = /*#__PURE__*/styled__default["default"](framerMotion.m.div).withConfig({
6963
6961
  displayName: "Collapsable__CollapsableBodyRoot",
6964
- componentId: "e584ub-8"
6962
+ componentId: "sc-e584ub-8"
6965
6963
  })([".no-js &{transition:margin-top 0.2s ease;}.no-js ", ":checked + ", " &{margin-top:0 !important;opacity:1 !important;}"], CollapsableInput, CollasableBodyWrap);
6966
6964
  const CollapsableBody = /*#__PURE__*/react.forwardRef(function CollapsableBody(props, ref) {
6967
6965
  return jsxRuntime.jsx(CollapsableBodyRoot, Object.assign({
@@ -7065,7 +7063,7 @@
7065
7063
 
7066
7064
  const Root$6 = /*#__PURE__*/styled__default["default"].div.withConfig({
7067
7065
  displayName: "Debug__Root",
7068
- componentId: "a3cz4-0"
7066
+ componentId: "sc-a3cz4-0"
7069
7067
  })(["background:#f4f4f4;border:1px solid #ddd;border-left:3px solid #f36d33;color:#666;page-break-inside:avoid;font-family:monospace;font-size:small;line-height:1.6;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1em 1.5em;display:block;word-wrap:break-word;"]);
7070
7068
  const Debug = ({
7071
7069
  data
@@ -7555,19 +7553,19 @@
7555
7553
 
7556
7554
  const CheckboxRoot = /*#__PURE__*/styled__default["default"].label.withConfig({
7557
7555
  displayName: "Checkbox__CheckboxRoot",
7558
- componentId: "zwkhrm-0"
7556
+ componentId: "sc-zwkhrm-0"
7559
7557
  })(["display:flex;align-items:center;cursor:pointer;"]);
7560
7558
  const CheckboxToggle = /*#__PURE__*/styled__default["default"](Toggle).withConfig({
7561
7559
  displayName: "Checkbox__CheckboxToggle",
7562
- componentId: "zwkhrm-1"
7560
+ componentId: "sc-zwkhrm-1"
7563
7561
  })(["pointer-events:none;"]);
7564
7562
  const CheckboxIndicator = /*#__PURE__*/styled__default["default"](ToggleIndicatorSquared).withConfig({
7565
7563
  displayName: "Checkbox__CheckboxIndicator",
7566
- componentId: "zwkhrm-2"
7564
+ componentId: "sc-zwkhrm-2"
7567
7565
  })([""]);
7568
7566
  const CheckboxLabel = /*#__PURE__*/styled__default["default"](ToggleLabel).withConfig({
7569
7567
  displayName: "Checkbox__CheckboxLabel",
7570
- componentId: "zwkhrm-3"
7568
+ componentId: "sc-zwkhrm-3"
7571
7569
  })(["font-size:0.8em;"]);
7572
7570
  /**
7573
7571
  * All logic and invisible Inputs come from the `useToggle` hook
@@ -7590,7 +7588,7 @@
7590
7588
 
7591
7589
  const Root$5 = /*#__PURE__*/styled__default["default"].div.withConfig({
7592
7590
  displayName: "Feedback__Root",
7593
- componentId: "ibaaij-0"
7591
+ componentId: "sc-ibaaij-0"
7594
7592
  })(["margin-top:0.2em;font-size:12px;", ""], p => p.$danger ? `color: var(--danger);` : "");
7595
7593
  const Feedback = ({
7596
7594
  $danger,
@@ -7784,11 +7782,11 @@
7784
7782
  const animationCircle = /*#__PURE__*/styled.keyframes(["0%{stroke-dasharray:1px,200px;stroke-dashoffset:0;}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px;}100%{stroke-dasharray:100px,200px;stroke-dashoffset:-125px;}"]);
7785
7783
  const ProgressCircularSvg = /*#__PURE__*/styled__default["default"].svg.withConfig({
7786
7784
  displayName: "ProgressCircular__ProgressCircularSvg",
7787
- componentId: "hfo1yr-0"
7785
+ componentId: "sc-hfo1yr-0"
7788
7786
  })(["animation:", " 1.5s linear infinite;"], animationRotation);
7789
7787
  const ProgressCircularCircle = /*#__PURE__*/styled__default["default"].circle.withConfig({
7790
7788
  displayName: "ProgressCircular__ProgressCircularCircle",
7791
- componentId: "hfo1yr-1"
7789
+ componentId: "sc-hfo1yr-1"
7792
7790
  })(["animation:", " 1.5s linear infinite;"], animationCircle);
7793
7791
  /**
7794
7792
  * @see https://mui.com/components/progress/
@@ -7850,11 +7848,11 @@
7850
7848
 
7851
7849
  const ProgressOverlayWrap = /*#__PURE__*/styled__default["default"](framerMotion.m.div).withConfig({
7852
7850
  displayName: "ProgressOverlay__ProgressOverlayWrap",
7853
- componentId: "umgj5t-0"
7851
+ componentId: "sc-umgj5t-0"
7854
7852
  })(["z-index:10000;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;cursor:wait;"]);
7855
7853
  const ProgressOverlayCenterer = /*#__PURE__*/styled__default["default"].div.withConfig({
7856
7854
  displayName: "ProgressOverlay__ProgressOverlayCenterer",
7857
- componentId: "umgj5t-1"
7855
+ componentId: "sc-umgj5t-1"
7858
7856
  })(["position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:var(--progress-overlay-bg);"]);
7859
7857
  const ProgressOverlay = ({
7860
7858
  running
@@ -8023,27 +8021,27 @@
8023
8021
 
8024
8022
  const RadioRoot = /*#__PURE__*/styled__default["default"].div.withConfig({
8025
8023
  displayName: "Radio__RadioRoot",
8026
- componentId: "gv6b7r-0"
8024
+ componentId: "sc-gv6b7r-0"
8027
8025
  })([""]);
8028
8026
  const RadioLabel = /*#__PURE__*/styled__default["default"].div.withConfig({
8029
8027
  displayName: "Radio__RadioLabel",
8030
- componentId: "gv6b7r-1"
8028
+ componentId: "sc-gv6b7r-1"
8031
8029
  })(["", ""], label);
8032
8030
  const RadioOptionRoot = /*#__PURE__*/styled__default["default"].label.withConfig({
8033
8031
  displayName: "Radio__RadioOptionRoot",
8034
- componentId: "gv6b7r-2"
8032
+ componentId: "sc-gv6b7r-2"
8035
8033
  })(["display:flex;align-items:center;padding:0.05em;cursor:pointer;"]);
8036
8034
  const RadioToggle = /*#__PURE__*/styled__default["default"](Toggle).withConfig({
8037
8035
  displayName: "Radio__RadioToggle",
8038
- componentId: "gv6b7r-3"
8036
+ componentId: "sc-gv6b7r-3"
8039
8037
  })([""]);
8040
8038
  const RadioIndicator = /*#__PURE__*/styled__default["default"](ToggleIndicatorSquared).withConfig({
8041
8039
  displayName: "Radio__RadioIndicator",
8042
- componentId: "gv6b7r-4"
8040
+ componentId: "sc-gv6b7r-4"
8043
8041
  })([""]);
8044
8042
  const RadioOptionLabel = /*#__PURE__*/styled__default["default"](ToggleLabel).withConfig({
8045
8043
  displayName: "Radio__RadioOptionLabel",
8046
- componentId: "gv6b7r-5"
8044
+ componentId: "sc-gv6b7r-5"
8047
8045
  })([""]);
8048
8046
  const RadioOption = /*#__PURE__*/react.forwardRef(function RadioOption(_a, ref) {
8049
8047
  var {
@@ -8089,11 +8087,11 @@
8089
8087
  const SWITCH_HANDLE_SIZE = 1;
8090
8088
  const SwitchTrack = /*#__PURE__*/styled__default["default"].span.withConfig({
8091
8089
  displayName: "Switch__SwitchTrack",
8092
- componentId: "dstl69-0"
8090
+ componentId: "sc-dstl69-0"
8093
8091
  })(["position:relative;width:", "em;height:", "em;padding:", "em;border-radius:", "em;", " input:focus ~ &{", "}input:disabled ~ &{opacity:0.5;cursor:not-allowed;}"], SWITCH_HANDLE_SIZE * 3, SWITCH_HANDLE_SIZE * 1.5, SWITCH_GUTTER, SWITCH_HANDLE_SIZE, toggleBase, stateFocus);
8094
8092
  const SwitchHandle = /*#__PURE__*/styled__default["default"].span.withConfig({
8095
8093
  displayName: "Switch__SwitchHandle",
8096
- componentId: "dstl69-1"
8094
+ componentId: "sc-dstl69-1"
8097
8095
  })(["position:absolute;width:", "em;height:", "em;left:", "em;margin-top:-1px;background:currentColor;opacity:0.5;border-radius:100%;transition:all 0.18s ease-in-out;input:checked + ", " &{opacity:1;left:calc(100% - ", "em - ", "em);}"], SWITCH_HANDLE_SIZE, SWITCH_HANDLE_SIZE, SWITCH_GUTTER, SwitchTrack, SWITCH_HANDLE_SIZE, SWITCH_GUTTER);
8098
8096
  /**
8099
8097
  * All logic and invisible Inputs come from the `useToggle` hook
@@ -8116,7 +8114,7 @@
8116
8114
 
8117
8115
  const TextareaNative = /*#__PURE__*/styled__default["default"].textarea.withConfig({
8118
8116
  displayName: "Textarea__TextareaNative",
8119
- componentId: "xvks9s-0"
8117
+ componentId: "sc-xvks9s-0"
8120
8118
  })(["", " ", " resize:vertical;"], inputBase, inputFocus);
8121
8119
  const Textarea = /*#__PURE__*/react.forwardRef(function Textarea(_a, ref) {
8122
8120
  var {
@@ -8136,33 +8134,19 @@
8136
8134
  });
8137
8135
  });
8138
8136
 
8139
- let _ = t => t,
8140
- _t;
8141
8137
  const EditorRoot = /*#__PURE__*/styled__default["default"].div.withConfig({
8142
8138
  displayName: "components__EditorRoot",
8143
- componentId: "yit760-0"
8139
+ componentId: "sc-yit760-0"
8144
8140
  })(["", " ", ""], inputBorder, inputFocus);
8145
8141
  const EditorBarRoot = /*#__PURE__*/styled__default["default"].div.withConfig({
8146
8142
  displayName: "components__EditorBarRoot",
8147
- componentId: "yit760-1"
8143
+ componentId: "sc-yit760-1"
8148
8144
  })(["display:flex;justify-content:flex-end;border-bottom:1px solid rgba(0,0,0,0.1);"]);
8149
8145
  const EditorBarBtn = /*#__PURE__*/styled__default["default"](IconButton).withConfig({
8150
8146
  displayName: "components__EditorBarBtn",
8151
- componentId: "yit760-2"
8147
+ componentId: "sc-yit760-2"
8152
8148
  })([""]);
8153
- const EditorGlobalStyles = /*#__PURE__*/styled.createGlobalStyle(_t || (_t = _`
8154
- .ProseMirror {
8155
- ${0}
8156
-
8157
- &:focus {
8158
- outline:none;
8159
- }
8160
-
8161
- > *:first-child {
8162
- margin-top: 0;
8163
- }
8164
- }
8165
- `), inputPadding);
8149
+ const EditorGlobalStyles = /*#__PURE__*/styled.createGlobalStyle([".ProseMirror{", " &:focus{outline:none;}> *:first-child{margin-top:0;}}"], inputPadding);
8166
8150
 
8167
8151
  const EditorBar = ({
8168
8152
  editor
@@ -8212,7 +8196,7 @@
8212
8196
 
8213
8197
  const Root$4 = /*#__PURE__*/styled__default["default"].div.withConfig({
8214
8198
  displayName: "TextareaRich__Root",
8215
- componentId: "viqw1n-0"
8199
+ componentId: "sc-viqw1n-0"
8216
8200
  })([".ProseMirror{max-height:160px;overflow:auto;}.EditorContent{position:relative;&:after{position:absolute;content:\"\";bottom:0;left:0;right:16px;height:3em;background:linear-gradient(0deg,white,white 33%,transparent);pointer-events:none;}}"]);
8217
8201
  const TextareaRich = /*#__PURE__*/react.forwardRef(function TextareaRich(_a, ref) {
8218
8202
  var {
@@ -8581,7 +8565,7 @@
8581
8565
 
8582
8566
  const Root$3 = /*#__PURE__*/styled__default["default"].nav.withConfig({
8583
8567
  displayName: "PaginationNav__Root",
8584
- componentId: "ydvvbf-0"
8568
+ componentId: "sc-ydvvbf-0"
8585
8569
  })(["display:flex;align-items:center;justify-content:center;padding:20px 0 40px;font-weight:600;& a{text-decoration:none;}"]);
8586
8570
  const item = `
8587
8571
  display: block;
@@ -8589,24 +8573,24 @@
8589
8573
  `;
8590
8574
  const ItemCurrent = /*#__PURE__*/styled__default["default"].span.withConfig({
8591
8575
  displayName: "PaginationNav__ItemCurrent",
8592
- componentId: "ydvvbf-1"
8576
+ componentId: "sc-ydvvbf-1"
8593
8577
  })(["", " background:var(--accent400);border-radius:2px;"], item);
8594
8578
  const ItemLink = /*#__PURE__*/styled__default["default"].a.withConfig({
8595
8579
  displayName: "PaginationNav__ItemLink",
8596
- componentId: "ydvvbf-2"
8580
+ componentId: "sc-ydvvbf-2"
8597
8581
  })(["", " ", ""], item, props => props.prev ? "color: var(--grey100);" : "");
8598
8582
  const DotsSeparator = /*#__PURE__*/styled__default["default"].span.withConfig({
8599
8583
  displayName: "PaginationNav__DotsSeparator",
8600
- componentId: "ydvvbf-3"
8584
+ componentId: "sc-ydvvbf-3"
8601
8585
  })(["color:var(--grey100);"]);
8602
8586
  const arrow = `display: flex; font-size: 20px;`;
8603
8587
  const ItemPrev = /*#__PURE__*/styled__default["default"].a.withConfig({
8604
8588
  displayName: "PaginationNav__ItemPrev",
8605
- componentId: "ydvvbf-4"
8589
+ componentId: "sc-ydvvbf-4"
8606
8590
  })(["", ""], arrow);
8607
8591
  const ItemNext = /*#__PURE__*/styled__default["default"].a.withConfig({
8608
8592
  displayName: "PaginationNav__ItemNext",
8609
- componentId: "ydvvbf-5"
8593
+ componentId: "sc-ydvvbf-5"
8610
8594
  })(["", ""], arrow);
8611
8595
  /*
8612
8596
  * Possible outcomes:
@@ -8710,11 +8694,11 @@
8710
8694
 
8711
8695
  const Root$2 = /*#__PURE__*/styled__default["default"].div.withConfig({
8712
8696
  displayName: "PaginationResults__Root",
8713
- componentId: "sg84c7-0"
8697
+ componentId: "sc-sg84c7-0"
8714
8698
  })([""]);
8715
8699
  const Inner = /*#__PURE__*/styled__default["default"](framerMotion.m.div).withConfig({
8716
8700
  displayName: "PaginationResults__Inner",
8717
- componentId: "sg84c7-1"
8701
+ componentId: "sc-sg84c7-1"
8718
8702
  })([""]);
8719
8703
  const PaginationResults = ({
8720
8704
  children
@@ -8750,24 +8734,24 @@
8750
8734
 
8751
8735
  const Pill = /*#__PURE__*/styled__default["default"].div.withConfig({
8752
8736
  displayName: "Pill",
8753
- componentId: "lqlli5-0"
8737
+ componentId: "sc-lqlli5-0"
8754
8738
  })(["display:inline-block;padding:5px 10px;margin:0 0.5em 0.5em 0;border-radius:2px;text-decoration:none;font-size:13px;font-weight:600;"]);
8755
8739
  const PillGreyLight = /*#__PURE__*/styled__default["default"](Pill).withConfig({
8756
8740
  displayName: "Pill__PillGreyLight",
8757
- componentId: "lqlli5-1"
8741
+ componentId: "sc-lqlli5-1"
8758
8742
  })(["background:var(--grey800);color:var(--grey100);&:hover{color:white;background:var(--grey300);}"]);
8759
8743
  const PillAccentLight = /*#__PURE__*/styled__default["default"](Pill).withConfig({
8760
8744
  displayName: "Pill__PillAccentLight",
8761
- componentId: "lqlli5-2"
8745
+ componentId: "sc-lqlli5-2"
8762
8746
  })(["background:var(--accent400);color:var(--grey100);&:hover{color:#fff;background:var(--accent300);}"]);
8763
8747
  const PillAccentLightOutlined = /*#__PURE__*/styled__default["default"](Pill).withConfig({
8764
8748
  displayName: "Pill__PillAccentLightOutlined",
8765
- componentId: "lqlli5-3"
8749
+ componentId: "sc-lqlli5-3"
8766
8750
  })(["border:1px solid var(--accent300);color:var(--accent200);&:hover{color:#fff;background:var(--accent300);}"]);
8767
8751
 
8768
8752
  const RatingStarRoot = /*#__PURE__*/styled__default["default"].svg.withConfig({
8769
8753
  displayName: "Rating__RatingStarRoot",
8770
- componentId: "crwndz-0"
8754
+ componentId: "sc-crwndz-0"
8771
8755
  })(["display:inline-block;vertical-align:middle;margin-right:1px;"]);
8772
8756
  const RatingStar = _a => {
8773
8757
  var {
@@ -8814,19 +8798,19 @@
8814
8798
  };
8815
8799
  const RatingDetails = /*#__PURE__*/styled__default["default"].span.withConfig({
8816
8800
  displayName: "Rating__RatingDetails",
8817
- componentId: "crwndz-1"
8801
+ componentId: "sc-crwndz-1"
8818
8802
  })(["padding-left:0.5em;font-size:12px;color:var(--grey100);&:before{content:\"(\";}&:after{content:\")\";}"]);
8819
8803
  const RatingCount = /*#__PURE__*/styled__default["default"].span.withConfig({
8820
8804
  displayName: "Rating__RatingCount",
8821
- componentId: "crwndz-2"
8805
+ componentId: "sc-crwndz-2"
8822
8806
  })([""]);
8823
8807
  const RatingValue = /*#__PURE__*/styled__default["default"].span.withConfig({
8824
8808
  displayName: "Rating__RatingValue",
8825
- componentId: "crwndz-3"
8809
+ componentId: "sc-crwndz-3"
8826
8810
  })(["display:none;"]);
8827
8811
  const RatingRoot = /*#__PURE__*/styled__default["default"].div.withConfig({
8828
8812
  displayName: "Rating__RatingRoot",
8829
- componentId: "crwndz-4"
8813
+ componentId: "sc-crwndz-4"
8830
8814
  })(["display:flex;align-items:center;&:hover ", "{display:inline-block;}"], RatingValue);
8831
8815
  const Rating = ({
8832
8816
  value: _value = 0,
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@koine/react",
3
3
  "sideEffects": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.5",
5
5
  "main": "./index.umd.js",
6
6
  "module": "./index.esm.js",
7
7
  "typings": "./index.d.ts",
8
8
  "dependencies": {
9
9
  "styled-components": "^5.3.5",
10
10
  "framer-motion": "^6.2.9",
11
- "react": "^17.0.2",
11
+ "react": ">=17.0.2",
12
12
  "@mui/base": "^5.0.0-alpha.75",
13
- "@koine/utils": "1.0.2",
13
+ "@koine/utils": "1.0.5",
14
14
  "@react-icons/all-files": "^4.1.0",
15
15
  "date-fns": "^2.28.0",
16
16
  "react-swipeable": "^6.2.1",