@superblocksteam/library 2.0.2 → 2.0.3-next.1

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.
@@ -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-DV7VPZc1.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-DHOLy0gg.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-Ds8PViwH.js.map
17
+ //# sourceMappingURL=allPaths-DInKfo9f.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"allPaths-DInKfo9f.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,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-DV7VPZc1.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-DHOLy0gg.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-B2t0JFsE.js.map
17
+ //# sourceMappingURL=allPaths-suM7y71x.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"allPaths-suM7y71x.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-DV7VPZc1.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-DHOLy0gg.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-B2t0JFsE.js"
10
+ "./allPaths-suM7y71x.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-BwDYmyS1.js.map
22
+ //# sourceMappingURL=allPathsLoader-Bj9gR6m4.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"allPathsLoader-Bj9gR6m4.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-DV7VPZc1.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-DHOLy0gg.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-Ds8PViwH.js"
10
+ "./allPaths-DInKfo9f.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-l2CC2ZRN.js.map
22
+ //# sourceMappingURL=allPathsLoader-C6VX9lZI.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"allPathsLoader-C6VX9lZI.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]}
@@ -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-BwDYmyS1.js"
90486
+ "./allPathsLoader-Bj9gR6m4.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-CTv2UfGL.js"
90493
+ "./splitPathsBySizeLoader-K1ovXYr3.js"
90494
90494
  )];
90495
90495
  case 4:
90496
90496
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -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-l2CC2ZRN.js"
144880
+ "./allPathsLoader-C6VX9lZI.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-BsO5Qoxp.js"
144887
+ "./splitPathsBySizeLoader-yyTSdt5z.js"
144888
144888
  )];
144889
144889
  case 4:
144890
144890
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -152840,7 +152840,10 @@ const isValidDate = (date4) => {
152840
152840
  return date4 !== "Invalid date" && moment(date4).isValid();
152841
152841
  };
152842
152842
  const StyledControlGroup$1 = qe$1(ControlGroup)`
152843
+ width: 100%;
152843
152844
  height: 100%;
152845
+ overflow-y: hidden;
152846
+
152844
152847
  &&& {
152845
152848
  .${INPUT$1} {
152846
152849
  width: 100%;
@@ -152924,7 +152927,7 @@ class DatePickerComponent extends React__default.Component {
152924
152927
  const dateFormat = this.normalizedDateFormat;
152925
152928
  const showTime = formatIncludesTime(dateFormat);
152926
152929
  const timePrecision = getTimePrecision(dateFormat);
152927
- return showTime && this.props.twentyFourHourTime && timePrecision === TimePrecision.MINUTE;
152930
+ return showTime && this.props.use24HourTime && timePrecision === TimePrecision.MINUTE;
152928
152931
  });
152929
152932
  __publicField(this, "handleInteraction", (openState) => {
152930
152933
  this.setState({
@@ -153197,7 +153200,7 @@ class DatePickerComponent extends React__default.Component {
153197
153200
  },
153198
153201
  timePickerProps: !showTime ? void 0 : {
153199
153202
  precision: timePrecision,
153200
- useAmPm: !this.props.twentyFourHourTime,
153203
+ useAmPm: !this.props.use24HourTime,
153201
153204
  onChange: this.onTimeChanged
153202
153205
  },
153203
153206
  value: currentValue,
@@ -153492,7 +153495,7 @@ const EditDateCell = (props2) => {
153492
153495
  selectedDate: date4,
153493
153496
  forceOpen: true,
153494
153497
  onDatePickerClosed: handleDatepickerClose,
153495
- twentyFourHourTime: editTwentyFourHourTime ?? true,
153498
+ use24HourTime: editTwentyFourHourTime ?? true,
153496
153499
  minDate: formattedMinDate,
153497
153500
  maxDate: formattedMaxDate,
153498
153501
  timezone: manageTimezone ? timezone : void 0,
@@ -181254,6 +181257,7 @@ const propertiesDefinition$8 = {
181254
181257
  }),
181255
181258
  validationErrors: Prop.any().readable().default(function() {
181256
181259
  const errors2 = {};
181260
+ if (!this.isTouched) return errors2;
181257
181261
  if (this.isRequired) {
181258
181262
  if (this.multiselect && this.selectedIndexArr && this.selectedIndexArr.length === 0) {
181259
181263
  errors2.isRequired = "Required";
@@ -181828,6 +181832,7 @@ const propertiesDefinition$7 = {
181828
181832
  return this.isChecked;
181829
181833
  }),
181830
181834
  validationErrors: Prop.any().readable().default(function() {
181835
+ if (!this.isTouched) return {};
181831
181836
  const errors2 = {};
181832
181837
  if (this.isRequired && !this.isChecked) {
181833
181838
  errors2.isRequired = "Required";
@@ -181916,6 +181921,8 @@ const adjustDateFormatSideEffect = (params) => {
181916
181921
  const newDateFormat = newWidget.dateFormat || ISO_DATE_FORMAT;
181917
181922
  const timezone = newWidget.timezone;
181918
181923
  const defaultDateIsDynamic = isBindingString(newWidget.defaultDate);
181924
+ const minDateIsDynamic = isBindingString(newWidget.minDate);
181925
+ const maxDateIsDynamic = isBindingString(newWidget.maxDate);
181919
181926
  const propUpdates = {};
181920
181927
  const metaUpdates = {};
181921
181928
  if (!defaultDateIsDynamic && newWidget.defaultDate) {
@@ -181940,6 +181947,32 @@ const adjustDateFormatSideEffect = (params) => {
181940
181947
  metaUpdates.selectedDate = metaDate.format(newDateFormat);
181941
181948
  }
181942
181949
  }
181950
+ if (!minDateIsDynamic && newWidget.minDate) {
181951
+ let minDate = moment(newWidget.minDate);
181952
+ if (minDate.isValid()) {
181953
+ if (timezone) {
181954
+ minDate = moment.tz(
181955
+ newWidget.minDate,
181956
+ [previousDateFormat, DEFAULT_DATE_FORMAT],
181957
+ timezone
181958
+ );
181959
+ }
181960
+ propUpdates.minDate = Property.Static(minDate.format(newDateFormat));
181961
+ }
181962
+ }
181963
+ if (!maxDateIsDynamic && newWidget.maxDate) {
181964
+ let maxDate = moment(newWidget.maxDate);
181965
+ if (maxDate.isValid()) {
181966
+ if (timezone) {
181967
+ maxDate = moment.tz(
181968
+ newWidget.maxDate,
181969
+ [previousDateFormat, DEFAULT_DATE_FORMAT],
181970
+ timezone
181971
+ );
181972
+ }
181973
+ propUpdates.maxDate = Property.Static(maxDate.format(newDateFormat));
181974
+ }
181975
+ }
181943
181976
  return {
181944
181977
  [widgetMeta.sourceId]: {
181945
181978
  props: propUpdates,
@@ -181961,12 +181994,12 @@ const adjustMinMaxDateSideEffect = (params) => {
181961
181994
  const propUpdates = {};
181962
181995
  if (updates.minDate && !isBindingString(updates.minDate.value) && defaultDate.isBefore(moment(updates.minDate.value, dateFormat))) {
181963
181996
  propUpdates.defaultDate = Property.Static(
181964
- updates.minDate.value
181997
+ moment(updates.minDate.value, dateFormat).format(dateFormat)
181965
181998
  );
181966
181999
  }
181967
182000
  if (updates.maxDate && !isBindingString(updates.maxDate.value) && defaultDate.isAfter(moment(updates.maxDate.value, dateFormat))) {
181968
182001
  propUpdates.defaultDate = Property.Static(
181969
- updates.maxDate.value
182002
+ moment(updates.maxDate.value, dateFormat).format(dateFormat)
181970
182003
  );
181971
182004
  }
181972
182005
  return {
@@ -182043,7 +182076,7 @@ const propertiesDefinition$6 = {
182043
182076
  ]
182044
182077
  })
182045
182078
  ).add({
182046
- twentyFourHourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182079
+ use24HourTime: Prop.boolean().readAndWrite().default(false).propertiesPanel({
182047
182080
  label: "24 hour time",
182048
182081
  helpText: "Whether to use 24-hour time format",
182049
182082
  controlType: "SWITCH"
@@ -182119,6 +182152,7 @@ const propertiesDefinition$6 = {
182119
182152
  return this.selectedDate ? this.selectedDate : void 0;
182120
182153
  }),
182121
182154
  validationErrors: Prop.any().readable().default(function() {
182155
+ if (!this.isTouched) return {};
182122
182156
  const errors2 = {};
182123
182157
  if (this.isRequired && !this.selectedDate) {
182124
182158
  errors2.isRequired = "Required";
@@ -182227,7 +182261,7 @@ const SbDatePicker = registerSbComponent(
182227
182261
  isValid: !isInvalid,
182228
182262
  isTouched: props2.isTouched,
182229
182263
  isRequired: props2.isRequired,
182230
- twentyFourHourTime: props2.twentyFourHourTime,
182264
+ use24HourTime: props2.use24HourTime,
182231
182265
  displayTimezone: props2.manageTimezone ? props2.displayTimezone : void 0,
182232
182266
  timezone: props2.manageTimezone ? props2.valueTimezone : void 0,
182233
182267
  showTimezone: !!props2.manageTimezone,
@@ -182316,6 +182350,7 @@ const propertiesDefinition$5 = {
182316
182350
  return this.isChecked;
182317
182351
  }),
182318
182352
  validationErrors: Prop.any().readable().default(function() {
182353
+ if (!this.isTouched) return {};
182319
182354
  const errors2 = {};
182320
182355
  if (this.isRequired && !this.isChecked) {
182321
182356
  errors2.isRequired = "Required";
@@ -197389,4 +197424,4 @@ export {
197389
197424
  copyToClipboard as y,
197390
197425
  navigateTo as z
197391
197426
  };
197392
- //# sourceMappingURL=index-DV7VPZc1.js.map
197427
+ //# sourceMappingURL=index-DHOLy0gg.js.map