@superblocksteam/library 2.0.0-next.124 → 2.0.0-next.126
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/{allPaths-BJnrF9AU.js → allPaths-B2t0JFsE.js} +2 -2
- package/dist/{allPaths-BJnrF9AU.js.map → allPaths-B2t0JFsE.js.map} +1 -1
- package/dist/{allPaths-BY4OehCu.js → allPaths-Ds8PViwH.js} +2 -2
- package/dist/{allPaths-BY4OehCu.js.map → allPaths-Ds8PViwH.js.map} +1 -1
- package/dist/{allPathsLoader-DWcc3hj-.js → allPathsLoader-BwDYmyS1.js} +3 -3
- package/dist/{allPathsLoader-DWcc3hj-.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
- package/dist/{allPathsLoader-JV39yPhu.js → allPathsLoader-l2CC2ZRN.js} +3 -3
- package/dist/{allPathsLoader-JV39yPhu.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
- package/dist/{index-BkdlrCmB.js → index-DV7VPZc1.js} +141 -139
- package/dist/{index-BkdlrCmB.js.map → index-DV7VPZc1.js.map} +1 -1
- package/dist/index.js +120 -119
- package/dist/{splitPathsBySizeLoader-DzoTq-wT.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DzoTq-wT.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-DNUa4tl6.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DNUa4tl6.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
- package/dist-types/lib/index.d.ts +1 -0
- package/dist-types/lib/user-facing/hooks/use-theme.d.ts +3 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IconSvgPaths16 } from "./index-DIJYif9G.js";
|
|
2
2
|
import { I as IconSvgPaths20 } from "./index-LHtbj0-V.js";
|
|
3
|
-
import { p as pascalCase, I as IconSize } from "./index-
|
|
3
|
+
import { p as pascalCase, I as IconSize } from "./index-DV7VPZc1.js";
|
|
4
4
|
function getIconPaths(name, size) {
|
|
5
5
|
var key = pascalCase(name);
|
|
6
6
|
return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getIconPaths,
|
|
15
15
|
iconNameToPathsRecordKey
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=allPaths-
|
|
17
|
+
//# sourceMappingURL=allPaths-B2t0JFsE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-B2t0JFsE.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IconSvgPaths16 } from "./index-BxzKdlqH.js";
|
|
2
2
|
import { I as IconSvgPaths20 } from "./index-DIn-fanT.js";
|
|
3
|
-
import { p as pascalCase, b as IconSize } from "./index-
|
|
3
|
+
import { p as pascalCase, b as IconSize } from "./index-DV7VPZc1.js";
|
|
4
4
|
function getIconPaths(name, size) {
|
|
5
5
|
var key = pascalCase(name);
|
|
6
6
|
return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getIconPaths,
|
|
15
15
|
iconNameToPathsRecordKey
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=allPaths-
|
|
17
|
+
//# sourceMappingURL=allPaths-Ds8PViwH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-Ds8PViwH.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-DV7VPZc1.js";
|
|
2
2
|
var allPathsLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var getIconPaths;
|
|
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
|
|
|
7
7
|
case 0:
|
|
8
8
|
return [4, import(
|
|
9
9
|
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
10
|
-
"./allPaths-
|
|
10
|
+
"./allPaths-B2t0JFsE.js"
|
|
11
11
|
)];
|
|
12
12
|
case 1:
|
|
13
13
|
getIconPaths = _a.sent().getIconPaths;
|
|
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
|
|
|
19
19
|
export {
|
|
20
20
|
allPathsLoader
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=allPathsLoader-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-BwDYmyS1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-BwDYmyS1.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-DV7VPZc1.js";
|
|
2
2
|
var allPathsLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var getIconPaths;
|
|
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
|
|
|
7
7
|
case 0:
|
|
8
8
|
return [4, import(
|
|
9
9
|
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
10
|
-
"./allPaths-
|
|
10
|
+
"./allPaths-Ds8PViwH.js"
|
|
11
11
|
)];
|
|
12
12
|
case 1:
|
|
13
13
|
getIconPaths = _a.sent().getIconPaths;
|
|
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
|
|
|
19
19
|
export {
|
|
20
20
|
allPathsLoader
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=allPathsLoader-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-l2CC2ZRN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-l2CC2ZRN.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -88881,7 +88881,7 @@ const ThemeProvider = ({ theme, children }) => {
|
|
|
88881
88881
|
}, [theme]);
|
|
88882
88882
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeContext.Provider, { value, children });
|
|
88883
88883
|
};
|
|
88884
|
-
const useTheme = () => {
|
|
88884
|
+
const useTheme$1 = () => {
|
|
88885
88885
|
return useContext(ThemeContext);
|
|
88886
88886
|
};
|
|
88887
88887
|
var Alignment$1 = {
|
|
@@ -90483,14 +90483,14 @@ function getLoaderFn$1(options) {
|
|
|
90483
90483
|
if (!(loader === "all")) return [3, 3];
|
|
90484
90484
|
return [4, import(
|
|
90485
90485
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
90486
|
-
"./allPathsLoader-
|
|
90486
|
+
"./allPathsLoader-BwDYmyS1.js"
|
|
90487
90487
|
)];
|
|
90488
90488
|
case 2:
|
|
90489
90489
|
return [2, _b2.sent().allPathsLoader];
|
|
90490
90490
|
case 3:
|
|
90491
90491
|
return [4, import(
|
|
90492
90492
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
90493
|
-
"./splitPathsBySizeLoader-
|
|
90493
|
+
"./splitPathsBySizeLoader-CTv2UfGL.js"
|
|
90494
90494
|
)];
|
|
90495
90495
|
case 4:
|
|
90496
90496
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -99766,7 +99766,7 @@ const InternalGlobalScope = internalCreateScope(() => ({}), {
|
|
|
99766
99766
|
const globalName = getName("Global");
|
|
99767
99767
|
const GlobalScope = registerScope(
|
|
99768
99768
|
({ children }) => {
|
|
99769
|
-
const { theme } = useTheme();
|
|
99769
|
+
const { theme } = useTheme$1();
|
|
99770
99770
|
useEffect(() => {
|
|
99771
99771
|
const global2 = rootStore.entityManager.getEntity(
|
|
99772
99772
|
GLOBAL_SCOPE_ID,
|
|
@@ -111032,7 +111032,7 @@ const ShimmerDiv = qe$1.div`
|
|
|
111032
111032
|
`;
|
|
111033
111033
|
function SuspenseFallback({ style: style2 }) {
|
|
111034
111034
|
var _a2, _b2;
|
|
111035
|
-
const { theme } = useTheme();
|
|
111035
|
+
const { theme } = useTheme$1();
|
|
111036
111036
|
const backgroundColor = ((_a2 = theme == null ? void 0 : theme.colors) == null ? void 0 : _a2.neutral50) || "#f8f9fa";
|
|
111037
111037
|
const shimmerHighlight = ((_b2 = theme == null ? void 0 : theme.colors) == null ? void 0 : _b2.neutral100) || "#ffffff";
|
|
111038
111038
|
const borderRadius2 = (theme == null ? void 0 : theme.borderRadius.value) + (theme == null ? void 0 : theme.borderRadius.mode);
|
|
@@ -115536,7 +115536,7 @@ const Collisions = observer(
|
|
|
115536
115536
|
targetPadding
|
|
115537
115537
|
} = props2;
|
|
115538
115538
|
const editStore2 = getEditStore();
|
|
115539
|
-
const { theme } = useTheme();
|
|
115539
|
+
const { theme } = useTheme$1();
|
|
115540
115540
|
const children = parentInstanceId ? editStore2.runtimeEntitiesManager.getEditorWidgetChildrenMeta(parentInstanceId).filter((child) => !editStore2.ui.isInstanceSelected(child.instanceId)) : [];
|
|
115541
115541
|
const parentMeta = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
|
|
115542
115542
|
parentInstanceId
|
|
@@ -118537,7 +118537,7 @@ const DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT = "inputText";
|
|
|
118537
118537
|
const useLabelProps = ({
|
|
118538
118538
|
labelStyle: labelStyle2
|
|
118539
118539
|
}) => {
|
|
118540
|
-
const { theme } = useTheme();
|
|
118540
|
+
const { theme } = useTheme$1();
|
|
118541
118541
|
return useTypographyStyling({
|
|
118542
118542
|
textStyle: labelStyle2,
|
|
118543
118543
|
defaultTextStyleVariant: DEFAULT_INPUT_WIDGET_LABEL_STYLE_VARIANT,
|
|
@@ -118549,7 +118549,7 @@ const useInputTypographyProps = ({
|
|
|
118549
118549
|
backgroundColor,
|
|
118550
118550
|
textStyle: textStyle2
|
|
118551
118551
|
}) => {
|
|
118552
|
-
const { theme } = useTheme();
|
|
118552
|
+
const { theme } = useTheme$1();
|
|
118553
118553
|
const inputBaseStyle = backgroundColor ? { backgroundColor } : {};
|
|
118554
118554
|
return useTypographyStyling({
|
|
118555
118555
|
textStyle: textStyle2,
|
|
@@ -118906,7 +118906,7 @@ const SbButton = registerSbComponent(
|
|
|
118906
118906
|
}
|
|
118907
118907
|
setIsLoading(false);
|
|
118908
118908
|
}, [onClick, props2.isDisabled, isLoading]);
|
|
118909
|
-
const { theme } = useTheme();
|
|
118909
|
+
const { theme } = useTheme$1();
|
|
118910
118910
|
const typographies = theme.typographies;
|
|
118911
118911
|
const minSize = useComponentMinSize(props2);
|
|
118912
118912
|
const textProps = useTypographyStyling({
|
|
@@ -119005,7 +119005,7 @@ const resolveDefaultColor = (theme, key2, fallbackColor) => {
|
|
|
119005
119005
|
return fallbackColor;
|
|
119006
119006
|
};
|
|
119007
119007
|
const useComputeComponentStyles = (props2) => {
|
|
119008
|
-
const { theme } = useTheme();
|
|
119008
|
+
const { theme } = useTheme$1();
|
|
119009
119009
|
const {
|
|
119010
119010
|
border: border2,
|
|
119011
119011
|
borderRadius: borderRadius2,
|
|
@@ -119762,7 +119762,7 @@ const InternalContainer = (props2) => {
|
|
|
119762
119762
|
var _a2, _b2, _c2;
|
|
119763
119763
|
const { style: style2, ...passThroughProps } = usePassthroughProps(props2);
|
|
119764
119764
|
const { isEditing } = useEditor();
|
|
119765
|
-
const { theme } = useTheme();
|
|
119765
|
+
const { theme } = useTheme$1();
|
|
119766
119766
|
const componentClasses = useMemo$2(
|
|
119767
119767
|
() => [
|
|
119768
119768
|
"container-component",
|
|
@@ -122198,7 +122198,7 @@ const ErrorWrapper = styleAsClass`
|
|
|
122198
122198
|
}
|
|
122199
122199
|
`;
|
|
122200
122200
|
const ErrorInlineMessage = (props2) => {
|
|
122201
|
-
const { theme } = useTheme();
|
|
122201
|
+
const { theme } = useTheme$1();
|
|
122202
122202
|
const errorColor = theme.colors.danger;
|
|
122203
122203
|
const errorElement = useRef(null);
|
|
122204
122204
|
const errorMessages = useErrorMessages(props2.errorMessages);
|
|
@@ -126317,7 +126317,7 @@ const useIconTop = ({
|
|
|
126317
126317
|
inputHeight
|
|
126318
126318
|
}) => {
|
|
126319
126319
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
126320
|
-
const { theme } = useTheme();
|
|
126320
|
+
const { theme } = useTheme$1();
|
|
126321
126321
|
const borderTop = ((_b2 = (_a2 = border2 == null ? void 0 : border2.top) == null ? void 0 : _a2.width) == null ? void 0 : _b2.value) ?? ((_c2 = defaultInputBorderObject(theme).top.width) == null ? void 0 : _c2.value) ?? 0;
|
|
126322
126322
|
const borderBottom = ((_e2 = (_d2 = border2 == null ? void 0 : border2.bottom) == null ? void 0 : _d2.width) == null ? void 0 : _e2.value) ?? ((_f2 = defaultInputBorderObject(theme).bottom.width) == null ? void 0 : _f2.value) ?? 0;
|
|
126323
126323
|
const paddingTop = ((_g2 = padding2 == null ? void 0 : padding2.top) == null ? void 0 : _g2.value) ?? INPUT_PADDING.top.value ?? 0;
|
|
@@ -126328,7 +126328,7 @@ const useIconTop = ({
|
|
|
126328
126328
|
const useInputIconSize = ({
|
|
126329
126329
|
textStyle: textStyle2
|
|
126330
126330
|
}) => {
|
|
126331
|
-
const { theme } = useTheme();
|
|
126331
|
+
const { theme } = useTheme$1();
|
|
126332
126332
|
const generatedInputTheme = theme.typographies;
|
|
126333
126333
|
return textStyle2 ? getIconSizeBasedOnFontSize(
|
|
126334
126334
|
getFontSizeInPxFromTextStyle({
|
|
@@ -126340,7 +126340,7 @@ const useInputIconSize = ({
|
|
|
126340
126340
|
) : DEFAULT_ICON_SIZE$1;
|
|
126341
126341
|
};
|
|
126342
126342
|
const useInputGroupStylingProps = (props2) => {
|
|
126343
|
-
const { theme } = useTheme();
|
|
126343
|
+
const { theme } = useTheme$1();
|
|
126344
126344
|
const { border: border2, borderRadius: borderRadius2, padding: padding2 } = props2;
|
|
126345
126345
|
return useMemo$2(() => {
|
|
126346
126346
|
return {
|
|
@@ -134512,7 +134512,7 @@ const getFontSizePx = (textStyle2, theme) => {
|
|
|
134512
134512
|
});
|
|
134513
134513
|
};
|
|
134514
134514
|
const useIcon = ({ textStyle: textStyle2 }) => {
|
|
134515
|
-
const { theme } = useTheme();
|
|
134515
|
+
const { theme } = useTheme$1();
|
|
134516
134516
|
const variant = (textStyle2 == null ? void 0 : textStyle2.variant) ?? DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT;
|
|
134517
134517
|
return useMemo$2(() => {
|
|
134518
134518
|
const fontSize = getFontSizePx({ ...textStyle2, variant }, theme);
|
|
@@ -134607,7 +134607,7 @@ const SbText = registerSbComponent(
|
|
|
134607
134607
|
}
|
|
134608
134608
|
});
|
|
134609
134609
|
const [isLongTextVisible, setIsLongTextVisible] = useState(false);
|
|
134610
|
-
const { theme } = useTheme();
|
|
134610
|
+
const { theme } = useTheme$1();
|
|
134611
134611
|
const textClassName = useTextClassName({
|
|
134612
134612
|
textStyleVariant: (textStyle2 == null ? void 0 : textStyle2.variant) ?? DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT,
|
|
134613
134613
|
isLoading
|
|
@@ -144877,14 +144877,14 @@ function getLoaderFn(options) {
|
|
|
144877
144877
|
if (!(loader === "all")) return [3, 3];
|
|
144878
144878
|
return [4, import(
|
|
144879
144879
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
144880
|
-
"./allPathsLoader-
|
|
144880
|
+
"./allPathsLoader-l2CC2ZRN.js"
|
|
144881
144881
|
)];
|
|
144882
144882
|
case 2:
|
|
144883
144883
|
return [2, _b2.sent().allPathsLoader];
|
|
144884
144884
|
case 3:
|
|
144885
144885
|
return [4, import(
|
|
144886
144886
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
144887
|
-
"./splitPathsBySizeLoader-
|
|
144887
|
+
"./splitPathsBySizeLoader-BsO5Qoxp.js"
|
|
144888
144888
|
)];
|
|
144889
144889
|
case 4:
|
|
144890
144890
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -177702,7 +177702,7 @@ const SbTable = registerSbComponent(
|
|
|
177702
177702
|
var _a2;
|
|
177703
177703
|
const { update } = useActions();
|
|
177704
177704
|
const { features } = useEditor();
|
|
177705
|
-
const { theme } = useTheme();
|
|
177705
|
+
const { theme } = useTheme$1();
|
|
177706
177706
|
const {
|
|
177707
177707
|
onRowSelected,
|
|
177708
177708
|
onPageChange,
|
|
@@ -186075,6 +186075,7 @@ function useUpdateProperties() {
|
|
|
186075
186075
|
[actions]
|
|
186076
186076
|
);
|
|
186077
186077
|
}
|
|
186078
|
+
const useTheme = useTheme$1;
|
|
186078
186079
|
function sbComputed(fn3) {
|
|
186079
186080
|
const computedValue = computed(() => {
|
|
186080
186081
|
try {
|
|
@@ -197224,7 +197225,7 @@ function requireClient() {
|
|
|
197224
197225
|
}
|
|
197225
197226
|
var clientExports = requireClient();
|
|
197226
197227
|
export {
|
|
197227
|
-
|
|
197228
|
+
HashRouter as $,
|
|
197228
197229
|
AppStateVarPersistence6 as A,
|
|
197229
197230
|
setQueryParams as B,
|
|
197230
197231
|
download as C,
|
|
@@ -197239,129 +197240,130 @@ export {
|
|
|
197239
197240
|
Env as L,
|
|
197240
197241
|
SbEvent as M,
|
|
197241
197242
|
useUpdateProperties as N,
|
|
197242
|
-
|
|
197243
|
+
useTheme as O,
|
|
197243
197244
|
Prop as P,
|
|
197244
|
-
|
|
197245
|
-
|
|
197245
|
+
sbComputed as Q,
|
|
197246
|
+
Dim as R,
|
|
197246
197247
|
SbButton as S,
|
|
197247
197248
|
Theme as T,
|
|
197248
|
-
|
|
197249
|
-
|
|
197250
|
-
|
|
197251
|
-
|
|
197252
|
-
|
|
197253
|
-
|
|
197249
|
+
SB as U,
|
|
197250
|
+
Outlet as V,
|
|
197251
|
+
clientExports as W,
|
|
197252
|
+
Await as X,
|
|
197253
|
+
BrowserRouter as Y,
|
|
197254
|
+
Form2 as Z,
|
|
197254
197255
|
__awaiter as _,
|
|
197255
197256
|
__generator as a,
|
|
197256
|
-
|
|
197257
|
-
|
|
197258
|
-
|
|
197259
|
-
|
|
197260
|
-
|
|
197261
|
-
|
|
197262
|
-
|
|
197263
|
-
|
|
197264
|
-
|
|
197265
|
-
|
|
197266
|
-
|
|
197267
|
-
|
|
197268
|
-
|
|
197269
|
-
|
|
197270
|
-
|
|
197271
|
-
|
|
197272
|
-
|
|
197273
|
-
|
|
197274
|
-
|
|
197275
|
-
|
|
197276
|
-
|
|
197277
|
-
|
|
197278
|
-
|
|
197279
|
-
|
|
197280
|
-
|
|
197281
|
-
|
|
197282
|
-
|
|
197283
|
-
|
|
197284
|
-
|
|
197285
|
-
|
|
197286
|
-
|
|
197287
|
-
|
|
197288
|
-
|
|
197289
|
-
|
|
197290
|
-
|
|
197291
|
-
|
|
197292
|
-
|
|
197293
|
-
|
|
197294
|
-
|
|
197295
|
-
|
|
197296
|
-
|
|
197297
|
-
|
|
197298
|
-
|
|
197299
|
-
|
|
197300
|
-
|
|
197301
|
-
|
|
197302
|
-
|
|
197303
|
-
|
|
197304
|
-
|
|
197305
|
-
|
|
197306
|
-
|
|
197307
|
-
|
|
197308
|
-
|
|
197309
|
-
|
|
197310
|
-
|
|
197311
|
-
|
|
197312
|
-
|
|
197313
|
-
|
|
197314
|
-
|
|
197315
|
-
|
|
197316
|
-
|
|
197317
|
-
|
|
197318
|
-
|
|
197319
|
-
|
|
197257
|
+
href as a$,
|
|
197258
|
+
IDLE_BLOCKER as a0,
|
|
197259
|
+
IDLE_FETCHER as a1,
|
|
197260
|
+
IDLE_NAVIGATION as a2,
|
|
197261
|
+
Link as a3,
|
|
197262
|
+
Links as a4,
|
|
197263
|
+
MemoryRouter as a5,
|
|
197264
|
+
Meta as a6,
|
|
197265
|
+
NavLink as a7,
|
|
197266
|
+
Navigate as a8,
|
|
197267
|
+
Action as a9,
|
|
197268
|
+
decodeViaTurboStream as aA,
|
|
197269
|
+
deserializeErrors2 as aB,
|
|
197270
|
+
getPatchRoutesOnNavigationFunction as aC,
|
|
197271
|
+
getSingleFetchDataStrategy as aD,
|
|
197272
|
+
invariant as aE,
|
|
197273
|
+
mapRouteProperties as aF,
|
|
197274
|
+
shouldHydrateRouteLoader as aG,
|
|
197275
|
+
useFogOFWarDiscovery as aH,
|
|
197276
|
+
useScrollRestoration as aI,
|
|
197277
|
+
createBrowserRouter as aJ,
|
|
197278
|
+
createCookie as aK,
|
|
197279
|
+
createCookieSessionStorage as aL,
|
|
197280
|
+
createHashRouter as aM,
|
|
197281
|
+
createMemoryRouter as aN,
|
|
197282
|
+
createMemorySessionStorage as aO,
|
|
197283
|
+
createPath as aP,
|
|
197284
|
+
createRequestHandler as aQ,
|
|
197285
|
+
createRoutesFromChildren as aR,
|
|
197286
|
+
createRoutesFromElements as aS,
|
|
197287
|
+
createRoutesStub as aT,
|
|
197288
|
+
createSearchParams as aU,
|
|
197289
|
+
createSession as aV,
|
|
197290
|
+
createSessionStorage as aW,
|
|
197291
|
+
createStaticHandler2 as aX,
|
|
197292
|
+
createStaticRouter as aY,
|
|
197293
|
+
data as aZ,
|
|
197294
|
+
generatePath as a_,
|
|
197295
|
+
PrefetchPageLinks as aa,
|
|
197296
|
+
Route as ab,
|
|
197297
|
+
Router as ac,
|
|
197298
|
+
RouterProvider as ad,
|
|
197299
|
+
Routes as ae,
|
|
197300
|
+
Scripts as af,
|
|
197301
|
+
ScrollRestoration as ag,
|
|
197302
|
+
ServerRouter as ah,
|
|
197303
|
+
StaticRouter as ai,
|
|
197304
|
+
StaticRouterProvider as aj,
|
|
197305
|
+
DataRouterContext as ak,
|
|
197306
|
+
DataRouterStateContext as al,
|
|
197307
|
+
ErrorResponseImpl as am,
|
|
197308
|
+
FetchersContext as an,
|
|
197309
|
+
FrameworkContext as ao,
|
|
197310
|
+
LocationContext as ap,
|
|
197311
|
+
NavigationContext as aq,
|
|
197312
|
+
RemixErrorBoundary as ar,
|
|
197313
|
+
RouteContext as as,
|
|
197314
|
+
ServerMode as at,
|
|
197315
|
+
SingleFetchRedirectSymbol as au,
|
|
197316
|
+
ViewTransitionContext as av,
|
|
197317
|
+
createBrowserHistory as aw,
|
|
197318
|
+
createClientRoutes as ax,
|
|
197319
|
+
createClientRoutesWithHMRRevalidationOptOut as ay,
|
|
197320
|
+
createRouter as az,
|
|
197320
197321
|
IconSize as b,
|
|
197321
|
-
|
|
197322
|
-
|
|
197323
|
-
|
|
197324
|
-
|
|
197325
|
-
|
|
197326
|
-
|
|
197327
|
-
|
|
197328
|
-
|
|
197329
|
-
|
|
197330
|
-
|
|
197331
|
-
|
|
197332
|
-
|
|
197333
|
-
|
|
197334
|
-
|
|
197335
|
-
|
|
197336
|
-
|
|
197337
|
-
|
|
197338
|
-
|
|
197339
|
-
|
|
197340
|
-
|
|
197341
|
-
|
|
197342
|
-
|
|
197343
|
-
|
|
197344
|
-
|
|
197345
|
-
|
|
197346
|
-
|
|
197347
|
-
|
|
197348
|
-
|
|
197349
|
-
|
|
197350
|
-
|
|
197351
|
-
|
|
197352
|
-
|
|
197353
|
-
|
|
197354
|
-
|
|
197355
|
-
|
|
197356
|
-
|
|
197357
|
-
|
|
197358
|
-
|
|
197359
|
-
|
|
197360
|
-
|
|
197361
|
-
|
|
197362
|
-
|
|
197363
|
-
|
|
197364
|
-
|
|
197322
|
+
isCookie as b0,
|
|
197323
|
+
isRouteErrorResponse as b1,
|
|
197324
|
+
isSession as b2,
|
|
197325
|
+
matchPath as b3,
|
|
197326
|
+
matchRoutes as b4,
|
|
197327
|
+
parsePath as b5,
|
|
197328
|
+
redirect as b6,
|
|
197329
|
+
redirectDocument as b7,
|
|
197330
|
+
renderMatches as b8,
|
|
197331
|
+
replace2 as b9,
|
|
197332
|
+
useParams as bA,
|
|
197333
|
+
useResolvedPath as bB,
|
|
197334
|
+
useRevalidator as bC,
|
|
197335
|
+
useRouteError as bD,
|
|
197336
|
+
useRouteLoaderData as bE,
|
|
197337
|
+
useRoutes as bF,
|
|
197338
|
+
useSearchParams as bG,
|
|
197339
|
+
useSubmit as bH,
|
|
197340
|
+
useViewTransitionState as bI,
|
|
197341
|
+
resolvePath as ba,
|
|
197342
|
+
HistoryRouter as bb,
|
|
197343
|
+
unstable_RouterContextProvider as bc,
|
|
197344
|
+
unstable_createContext as bd,
|
|
197345
|
+
setDevServerHooks as be,
|
|
197346
|
+
usePrompt as bf,
|
|
197347
|
+
useActionData as bg,
|
|
197348
|
+
useAsyncError as bh,
|
|
197349
|
+
useAsyncValue as bi,
|
|
197350
|
+
useBeforeUnload as bj,
|
|
197351
|
+
useBlocker as bk,
|
|
197352
|
+
useFetcher as bl,
|
|
197353
|
+
useFetchers as bm,
|
|
197354
|
+
useFormAction as bn,
|
|
197355
|
+
useHref as bo,
|
|
197356
|
+
useInRouterContext as bp,
|
|
197357
|
+
useLinkClickHandler as bq,
|
|
197358
|
+
useLoaderData as br,
|
|
197359
|
+
useLocation as bs,
|
|
197360
|
+
useMatch as bt,
|
|
197361
|
+
useMatches as bu,
|
|
197362
|
+
useNavigate as bv,
|
|
197363
|
+
useNavigation as bw,
|
|
197364
|
+
useNavigationType as bx,
|
|
197365
|
+
useOutlet as by,
|
|
197366
|
+
useOutletContext as bz,
|
|
197365
197367
|
SbSection as c,
|
|
197366
197368
|
SbColumn as d,
|
|
197367
197369
|
SbContainer as e,
|
|
@@ -197387,4 +197389,4 @@ export {
|
|
|
197387
197389
|
copyToClipboard as y,
|
|
197388
197390
|
navigateTo as z
|
|
197389
197391
|
};
|
|
197390
|
-
//# sourceMappingURL=index-
|
|
197392
|
+
//# sourceMappingURL=index-DV7VPZc1.js.map
|