@superblocksteam/library 2.0.0-next.96 → 2.0.0-next.98
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-C6qeZ4_p.js → allPaths-BWbS8jKY.js} +2 -2
- package/dist/{allPaths-C6qeZ4_p.js.map → allPaths-BWbS8jKY.js.map} +1 -1
- package/dist/{allPaths-Dsgw01PB.js → allPaths-DLvz7sMG.js} +2 -2
- package/dist/{allPaths-Dsgw01PB.js.map → allPaths-DLvz7sMG.js.map} +1 -1
- package/dist/{allPathsLoader-4bTX5Z5s.js → allPathsLoader-1k1s_eYQ.js} +3 -3
- package/dist/{allPathsLoader-4bTX5Z5s.js.map → allPathsLoader-1k1s_eYQ.js.map} +1 -1
- package/dist/{allPathsLoader-BjTp2_ti.js → allPathsLoader-BEq28PgG.js} +3 -3
- package/dist/{allPathsLoader-BjTp2_ti.js.map → allPathsLoader-BEq28PgG.js.map} +1 -1
- package/dist/{index-Cfiz5DdU.js → index-CE5Ur-oO.js} +38 -36
- package/dist/{index-Cfiz5DdU.js.map → index-CE5Ur-oO.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-Ba_jngBn.js → splitPathsBySizeLoader-BaYSsfyB.js} +2 -2
- package/dist/{splitPathsBySizeLoader-Ba_jngBn.js.map → splitPathsBySizeLoader-BaYSsfyB.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BHujcI7q.js → splitPathsBySizeLoader-CCp8V4s7.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BHujcI7q.js.map → splitPathsBySizeLoader-CCp8V4s7.js.map} +1 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +6 -6
- package/dist-types/lib/user-facing/components/input/props.d.ts +6 -6
- package/dist-types/lib/user-facing/components/text/index.d.ts +6 -6
- package/dist-types/lib/user-facing/components/text/props.d.ts +13 -12
- package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +2 -2
- 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-CE5Ur-oO.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-BWbS8jKY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-BWbS8jKY.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-CE5Ur-oO.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-DLvz7sMG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-DLvz7sMG.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-CE5Ur-oO.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-DLvz7sMG.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-1k1s_eYQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-1k1s_eYQ.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]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-CE5Ur-oO.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-BWbS8jKY.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-BEq28PgG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-BEq28PgG.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]}
|
|
@@ -2690,14 +2690,14 @@ function getLoaderFn$1(options) {
|
|
|
2690
2690
|
if (!(loader === "all")) return [3, 3];
|
|
2691
2691
|
return [4, import(
|
|
2692
2692
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
2693
|
-
"./allPathsLoader-
|
|
2693
|
+
"./allPathsLoader-BEq28PgG.js"
|
|
2694
2694
|
)];
|
|
2695
2695
|
case 2:
|
|
2696
2696
|
return [2, _b2.sent().allPathsLoader];
|
|
2697
2697
|
case 3:
|
|
2698
2698
|
return [4, import(
|
|
2699
2699
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
2700
|
-
"./splitPathsBySizeLoader-
|
|
2700
|
+
"./splitPathsBySizeLoader-CCp8V4s7.js"
|
|
2701
2701
|
)];
|
|
2702
2702
|
case 4:
|
|
2703
2703
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -126767,7 +126767,7 @@ const getCustomValidationProperties = ({
|
|
|
126767
126767
|
const getFractionDigitsProperties = ({
|
|
126768
126768
|
schema
|
|
126769
126769
|
} = {}) => ({
|
|
126770
|
-
|
|
126770
|
+
minDecimals: Prop.number().readAndWrite().propertiesPanel({
|
|
126771
126771
|
label: "Min decimals",
|
|
126772
126772
|
helpText: "The minimum number of digits after the decimal separator",
|
|
126773
126773
|
controlType: "INPUT_TEXT",
|
|
@@ -126776,7 +126776,7 @@ const getFractionDigitsProperties = ({
|
|
|
126776
126776
|
visibility: "SHOW_NAME",
|
|
126777
126777
|
defaultOnAdd: () => 1
|
|
126778
126778
|
}),
|
|
126779
|
-
|
|
126779
|
+
maxDecimals: Prop.number().readAndWrite().propertiesPanel({
|
|
126780
126780
|
label: "Max decimals",
|
|
126781
126781
|
helpText: "The maximum number of digits after the decimal separator",
|
|
126782
126782
|
controlType: "INPUT_TEXT",
|
|
@@ -126873,7 +126873,7 @@ const propertiesDefinition$d = {
|
|
|
126873
126873
|
variants: [
|
|
126874
126874
|
{
|
|
126875
126875
|
inputType: Prop.literal(InputTypes.NUMBER),
|
|
126876
|
-
|
|
126876
|
+
numberFormat: Prop.string().readAndWrite().default("standard").propertiesPanel({
|
|
126877
126877
|
label: "Number format",
|
|
126878
126878
|
controlType: "DROP_DOWN",
|
|
126879
126879
|
options: NUMBER_FORMATTING_OPTIONS,
|
|
@@ -126882,7 +126882,7 @@ const propertiesDefinition$d = {
|
|
|
126882
126882
|
},
|
|
126883
126883
|
{
|
|
126884
126884
|
inputType: Prop.literal(InputTypes.CURRENCY),
|
|
126885
|
-
|
|
126885
|
+
numberFormat: Prop.string().readAndWrite().default("standard").propertiesPanel({
|
|
126886
126886
|
label: "Number format",
|
|
126887
126887
|
controlType: "DROP_DOWN",
|
|
126888
126888
|
options: NUMBER_FORMATTING_OPTIONS,
|
|
@@ -127074,7 +127074,9 @@ const SbInput = registerSbComponent(
|
|
|
127074
127074
|
padding: padding2,
|
|
127075
127075
|
currency,
|
|
127076
127076
|
currencyCodeDisplay,
|
|
127077
|
-
|
|
127077
|
+
numberFormat,
|
|
127078
|
+
minDecimals,
|
|
127079
|
+
maxDecimals,
|
|
127078
127080
|
labelPosition: labelPosition2,
|
|
127079
127081
|
label,
|
|
127080
127082
|
stepper,
|
|
@@ -127176,7 +127178,9 @@ const SbInput = registerSbComponent(
|
|
|
127176
127178
|
backgroundColor,
|
|
127177
127179
|
border: border2,
|
|
127178
127180
|
inputType,
|
|
127179
|
-
numberFormatting,
|
|
127181
|
+
numberFormatting: numberFormat,
|
|
127182
|
+
minimumFractionDigits: minDecimals,
|
|
127183
|
+
maximumFractionDigits: maxDecimals,
|
|
127180
127184
|
isDisabled,
|
|
127181
127185
|
placeholder: placeholderText,
|
|
127182
127186
|
inputClassName: inputClassNames,
|
|
@@ -133895,7 +133899,7 @@ const Button$2 = memo(
|
|
|
133895
133899
|
Button$2.displayName = "Button";
|
|
133896
133900
|
Button$2.__ANT_BUTTON = true;
|
|
133897
133901
|
const DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT = "label";
|
|
133898
|
-
const
|
|
133902
|
+
const numberFormatProperty = Prop.string().readAndWrite().default("standard").propertiesPanel({
|
|
133899
133903
|
label: "Number format",
|
|
133900
133904
|
controlType: "DROP_DOWN",
|
|
133901
133905
|
options: NUMBER_FORMATTING_OPTIONS,
|
|
@@ -133945,7 +133949,10 @@ const propertiesDefinition$b = {
|
|
|
133945
133949
|
{ icon: "VERTICAL_TOP", value: "top" },
|
|
133946
133950
|
{ icon: "VERTICAL_CENTER", value: "center" },
|
|
133947
133951
|
{ icon: "VERTICAL_BOTTOM", value: "bottom" }
|
|
133948
|
-
]
|
|
133952
|
+
],
|
|
133953
|
+
isVisible: function() {
|
|
133954
|
+
return this.height.mode !== "fit";
|
|
133955
|
+
}
|
|
133949
133956
|
}),
|
|
133950
133957
|
wrapText: Prop.boolean().readAndWrite().propertiesPanel({
|
|
133951
133958
|
label: "Wrap text",
|
|
@@ -133996,12 +134003,12 @@ const propertiesDefinition$b = {
|
|
|
133996
134003
|
value: item
|
|
133997
134004
|
}))
|
|
133998
134005
|
}),
|
|
133999
|
-
|
|
134006
|
+
numberFormat: numberFormatProperty,
|
|
134000
134007
|
...getFractionDigitsProperties()
|
|
134001
134008
|
},
|
|
134002
134009
|
{
|
|
134003
134010
|
textType: Prop.literal("number"),
|
|
134004
|
-
|
|
134011
|
+
numberFormat: numberFormatProperty,
|
|
134005
134012
|
...getFractionDigitsProperties()
|
|
134006
134013
|
},
|
|
134007
134014
|
{
|
|
@@ -134063,9 +134070,9 @@ const StyledText = styleAsClass`
|
|
|
134063
134070
|
`;
|
|
134064
134071
|
const useText = ({
|
|
134065
134072
|
text,
|
|
134066
|
-
|
|
134067
|
-
|
|
134068
|
-
|
|
134073
|
+
numberFormat,
|
|
134074
|
+
minDecimals,
|
|
134075
|
+
maxDecimals,
|
|
134069
134076
|
textType,
|
|
134070
134077
|
currency,
|
|
134071
134078
|
dateInputFormat,
|
|
@@ -134074,19 +134081,14 @@ const useText = ({
|
|
|
134074
134081
|
return useMemo$2(() => {
|
|
134075
134082
|
switch (textType) {
|
|
134076
134083
|
case "number":
|
|
134077
|
-
return formatNumber(
|
|
134078
|
-
text,
|
|
134079
|
-
notation,
|
|
134080
|
-
minimumFractionDigits,
|
|
134081
|
-
maximumFractionDigits
|
|
134082
|
-
);
|
|
134084
|
+
return formatNumber(text, numberFormat, minDecimals, maxDecimals);
|
|
134083
134085
|
case "currency":
|
|
134084
134086
|
return formatCurrency(
|
|
134085
134087
|
text,
|
|
134086
134088
|
currency,
|
|
134087
|
-
|
|
134088
|
-
|
|
134089
|
-
|
|
134089
|
+
numberFormat,
|
|
134090
|
+
minDecimals,
|
|
134091
|
+
maxDecimals
|
|
134090
134092
|
);
|
|
134091
134093
|
case "date":
|
|
134092
134094
|
return formatDate(text, dateInputFormat, dateOutputFormat);
|
|
@@ -134095,9 +134097,9 @@ const useText = ({
|
|
|
134095
134097
|
}
|
|
134096
134098
|
}, [
|
|
134097
134099
|
text,
|
|
134098
|
-
|
|
134099
|
-
|
|
134100
|
-
|
|
134100
|
+
numberFormat,
|
|
134101
|
+
minDecimals,
|
|
134102
|
+
maxDecimals,
|
|
134101
134103
|
textType,
|
|
134102
134104
|
currency,
|
|
134103
134105
|
dateInputFormat,
|
|
@@ -134203,9 +134205,9 @@ const SbText = registerSbComponent(
|
|
|
134203
134205
|
name,
|
|
134204
134206
|
iconPosition,
|
|
134205
134207
|
icon,
|
|
134206
|
-
|
|
134207
|
-
|
|
134208
|
-
|
|
134208
|
+
numberFormat,
|
|
134209
|
+
minDecimals,
|
|
134210
|
+
maxDecimals,
|
|
134209
134211
|
textType,
|
|
134210
134212
|
currency,
|
|
134211
134213
|
dateInputFormat,
|
|
@@ -134229,9 +134231,9 @@ const SbText = registerSbComponent(
|
|
|
134229
134231
|
});
|
|
134230
134232
|
const formattedText = useText({
|
|
134231
134233
|
text,
|
|
134232
|
-
|
|
134233
|
-
|
|
134234
|
-
|
|
134234
|
+
numberFormat,
|
|
134235
|
+
minDecimals,
|
|
134236
|
+
maxDecimals,
|
|
134235
134237
|
textType,
|
|
134236
134238
|
currency,
|
|
134237
134239
|
dateInputFormat,
|
|
@@ -144483,14 +144485,14 @@ function getLoaderFn(options) {
|
|
|
144483
144485
|
if (!(loader === "all")) return [3, 3];
|
|
144484
144486
|
return [4, import(
|
|
144485
144487
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
144486
|
-
"./allPathsLoader-
|
|
144488
|
+
"./allPathsLoader-1k1s_eYQ.js"
|
|
144487
144489
|
)];
|
|
144488
144490
|
case 2:
|
|
144489
144491
|
return [2, _b2.sent().allPathsLoader];
|
|
144490
144492
|
case 3:
|
|
144491
144493
|
return [4, import(
|
|
144492
144494
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
144493
|
-
"./splitPathsBySizeLoader-
|
|
144495
|
+
"./splitPathsBySizeLoader-BaYSsfyB.js"
|
|
144494
144496
|
)];
|
|
144495
144497
|
case 4:
|
|
144496
144498
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -196718,4 +196720,4 @@ export {
|
|
|
196718
196720
|
copyToClipboard as y,
|
|
196719
196721
|
navigateTo as z
|
|
196720
196722
|
};
|
|
196721
|
-
//# sourceMappingURL=index-
|
|
196723
|
+
//# sourceMappingURL=index-CE5Ur-oO.js.map
|