qstd 0.3.36 → 0.3.38
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/dist/block/fns.d.ts.map +1 -1
- package/dist/react/index.cjs +10 -3
- package/dist/react/index.js +10 -3
- package/package.json +1 -1
package/dist/block/fns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fns.d.ts","sourceRoot":"","sources":["../../src/block/fns.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAMlE,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAG9B,KAAK,kBAAkB,GAAG,EAAE,CAAC,gBAAgB,GAC3C,EAAE,CAAC,YAAY,GACf,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAW1B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,GAAG,IAAI,uBAsC3C,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,GAAG,IAAI,uBA6BjD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,GAAG,IAAI,kBAsB3C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAU,CAAC,SAAS,IAAI,EAAE,eAAe,IAAI,EAAE,iBA4BvE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,MAAM,EACxD,UAAU,KAAK,CAAC,SAAS,EACzB,aAAa,MAAM,KAClB,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,SAW1B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,IAAI,EAAE,CAAC,EAAE,EAAE,OAAO;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;;;;;;;;;CAsEvE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,SAAS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AO,CAAC,EACjC,CAAC,SAAS,MAAM,CAAC,EACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,CAmB5E"}
|
package/dist/react/index.cjs
CHANGED
|
@@ -1108,7 +1108,14 @@ var extractElAndStyles = (extract, anyProps) => {
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
const cursor = anyProps.isLoading ? "not-allowed" : "pointer";
|
|
1111
|
-
const
|
|
1111
|
+
const hasGridProp = "grid" in remaining && remaining.grid !== void 0;
|
|
1112
|
+
const hasFlexProp = "flex" in remaining && remaining.flex !== void 0;
|
|
1113
|
+
const hasDisplayProp = "display" in remaining && remaining.display !== void 0;
|
|
1114
|
+
const hasCustomLayout = hasGridProp || hasFlexProp || hasDisplayProp;
|
|
1115
|
+
const btnClassName = extract.is === "btn" ? css({
|
|
1116
|
+
...hasCustomLayout ? {} : { display: "flex", alignI: "center" },
|
|
1117
|
+
cursor
|
|
1118
|
+
}) : "";
|
|
1112
1119
|
const linkClassName = extract.isLink ? css({
|
|
1113
1120
|
color: { base: "blue.500", _dark: "blue.400" },
|
|
1114
1121
|
_hover: { textDecoration: "underline" },
|
|
@@ -2025,7 +2032,7 @@ function Textarea(props) {
|
|
|
2025
2032
|
return () => form.removeEventListener("reset", onReset);
|
|
2026
2033
|
}, [isControlled]);
|
|
2027
2034
|
const resize = props.resize ?? "none";
|
|
2028
|
-
const hasDebug = rest.debug !== void 0;
|
|
2035
|
+
const hasDebug = "debug" in rest && rest.debug !== void 0;
|
|
2029
2036
|
return /* @__PURE__ */ jsxRuntime.jsxs(Base3, { grid: true, rows: "/ 4", children: [
|
|
2030
2037
|
/* @__PURE__ */ jsxRuntime.jsxs(Base3, { grid: true, relative: true, children: [
|
|
2031
2038
|
labelWithProps,
|
|
@@ -2173,7 +2180,7 @@ function Input(props) {
|
|
|
2173
2180
|
onAnimationComplete: _onAnimationComplete,
|
|
2174
2181
|
...rest
|
|
2175
2182
|
} = props;
|
|
2176
|
-
const hasDebug = rest.debug !== void 0;
|
|
2183
|
+
const hasDebug = "debug" in rest && rest.debug !== void 0;
|
|
2177
2184
|
const label = findChildrenByDisplayName(
|
|
2178
2185
|
children,
|
|
2179
2186
|
LabelNameKey2
|
package/dist/react/index.js
CHANGED
|
@@ -1085,7 +1085,14 @@ var extractElAndStyles = (extract, anyProps) => {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
const cursor = anyProps.isLoading ? "not-allowed" : "pointer";
|
|
1088
|
-
const
|
|
1088
|
+
const hasGridProp = "grid" in remaining && remaining.grid !== void 0;
|
|
1089
|
+
const hasFlexProp = "flex" in remaining && remaining.flex !== void 0;
|
|
1090
|
+
const hasDisplayProp = "display" in remaining && remaining.display !== void 0;
|
|
1091
|
+
const hasCustomLayout = hasGridProp || hasFlexProp || hasDisplayProp;
|
|
1092
|
+
const btnClassName = extract.is === "btn" ? css({
|
|
1093
|
+
...hasCustomLayout ? {} : { display: "flex", alignI: "center" },
|
|
1094
|
+
cursor
|
|
1095
|
+
}) : "";
|
|
1089
1096
|
const linkClassName = extract.isLink ? css({
|
|
1090
1097
|
color: { base: "blue.500", _dark: "blue.400" },
|
|
1091
1098
|
_hover: { textDecoration: "underline" },
|
|
@@ -2002,7 +2009,7 @@ function Textarea(props) {
|
|
|
2002
2009
|
return () => form.removeEventListener("reset", onReset);
|
|
2003
2010
|
}, [isControlled]);
|
|
2004
2011
|
const resize = props.resize ?? "none";
|
|
2005
|
-
const hasDebug = rest.debug !== void 0;
|
|
2012
|
+
const hasDebug = "debug" in rest && rest.debug !== void 0;
|
|
2006
2013
|
return /* @__PURE__ */ jsxs(Base3, { grid: true, rows: "/ 4", children: [
|
|
2007
2014
|
/* @__PURE__ */ jsxs(Base3, { grid: true, relative: true, children: [
|
|
2008
2015
|
labelWithProps,
|
|
@@ -2150,7 +2157,7 @@ function Input(props) {
|
|
|
2150
2157
|
onAnimationComplete: _onAnimationComplete,
|
|
2151
2158
|
...rest
|
|
2152
2159
|
} = props;
|
|
2153
|
-
const hasDebug = rest.debug !== void 0;
|
|
2160
|
+
const hasDebug = "debug" in rest && rest.debug !== void 0;
|
|
2154
2161
|
const label = findChildrenByDisplayName(
|
|
2155
2162
|
children,
|
|
2156
2163
|
LabelNameKey2
|