freemium-ui 1.0.335 → 2.0.0-beta.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.
- package/.husky/pre-commit +5 -0
- package/README.md +5 -5
- package/lib/allPaths-4jds4b8u.js +49 -0
- package/lib/allPaths-4jds4b8u.js.map +1 -0
- package/lib/allPaths-e8VA3yQO.js +43 -0
- package/lib/allPaths-e8VA3yQO.js.map +1 -0
- package/lib/allPathsLoader-CuUB6u5u.js +35 -0
- package/lib/allPathsLoader-CuUB6u5u.js.map +1 -0
- package/lib/allPathsLoader-yJz6TViP.js +38 -0
- package/lib/allPathsLoader-yJz6TViP.js.map +1 -0
- package/lib/index-8rV84AoG.js +1803 -0
- package/lib/index-8rV84AoG.js.map +1 -0
- package/lib/index-L5DmzNWk.js +90422 -0
- package/lib/index-L5DmzNWk.js.map +1 -0
- package/lib/index-iz2gaJPW.js +1803 -0
- package/lib/index-iz2gaJPW.js.map +1 -0
- package/lib/index-r54UMUG5.js +90457 -0
- package/lib/index-r54UMUG5.js.map +1 -0
- package/lib/index-sWSmgRnL.js +1800 -0
- package/lib/index-sWSmgRnL.js.map +1 -0
- package/lib/index-vyy0c5Au.js +1801 -0
- package/lib/index-vyy0c5Au.js.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -0
- package/lib/splitPathsBySizeLoader-hFbrdfcY.js +48 -0
- package/lib/splitPathsBySizeLoader-hFbrdfcY.js.map +1 -0
- package/lib/splitPathsBySizeLoader-r7D-AKA-.js +45 -0
- package/lib/splitPathsBySizeLoader-r7D-AKA-.js.map +1 -0
- package/package.json +93 -87
- package/rollup.config.mjs +56 -0
- package/.github/workflows/security.yml +0 -52
- package/lib/index.cjs.js +0 -28
- package/lib/index.esm.js +0 -42
- package/lib/types/components/Alert/Alert.d.ts +0 -17
- package/lib/types/components/Alert/index.d.ts +0 -1
- package/lib/types/components/BoxedRadio/boxedRadio.d.ts +0 -10
- package/lib/types/components/BoxedRadio/boxedRadioContext.d.ts +0 -7
- package/lib/types/components/BoxedRadio/boxedRadioGroup.d.ts +0 -2
- package/lib/types/components/BoxedRadio/index.d.ts +0 -2
- package/lib/types/components/Button/Buttons.d.ts +0 -19
- package/lib/types/components/Button/index.d.ts +0 -1
- package/lib/types/components/ButtonDropdown/ButtonDropdown.d.ts +0 -20
- package/lib/types/components/ButtonDropdown/index.d.ts +0 -1
- package/lib/types/components/Checkbox/Checkbox.d.ts +0 -13
- package/lib/types/components/Checkbox/index.d.ts +0 -1
- package/lib/types/components/Confirmation/Confirmation.d.ts +0 -38
- package/lib/types/components/Confirmation/index.d.ts +0 -2
- package/lib/types/components/Confirmation/useConfirmation.d.ts +0 -10
- package/lib/types/components/ControlledTable/ControlledTable.d.ts +0 -50
- package/lib/types/components/ControlledTable/index.d.ts +0 -1
- package/lib/types/components/CssBaseLine/index.d.ts +0 -1
- package/lib/types/components/Drawer/Drawer.d.ts +0 -17
- package/lib/types/components/Drawer/index.d.ts +0 -2
- package/lib/types/components/Drawer/styles.d.ts +0 -6
- package/lib/types/components/Dropdown/DropdownButton.d.ts +0 -14
- package/lib/types/components/Dropdown/DropdownInput.d.ts +0 -4
- package/lib/types/components/Dropdown/DropdownMenu.d.ts +0 -4
- package/lib/types/components/Dropdown/index.d.ts +0 -30
- package/lib/types/components/Dropdown/styles.d.ts +0 -7
- package/lib/types/components/Dropdown/withDownshift.d.ts +0 -8
- package/lib/types/components/Icons/Icons.d.ts +0 -20
- package/lib/types/components/Icons/index.d.ts +0 -1
- package/lib/types/components/Input/Input.d.ts +0 -57
- package/lib/types/components/Input/index.d.ts +0 -1
- package/lib/types/components/Loader/Loader.d.ts +0 -8
- package/lib/types/components/Loader/index.d.ts +0 -1
- package/lib/types/components/Menu/Menu.d.ts +0 -20
- package/lib/types/components/Menu/index.d.ts +0 -1
- package/lib/types/components/Modal/Modal.d.ts +0 -13
- package/lib/types/components/Modal/index.d.ts +0 -3
- package/lib/types/components/Modal/styles.d.ts +0 -12
- package/lib/types/components/Modal/use-modal.d.ts +0 -10
- package/lib/types/components/MultiSelectDropdown/MultiSelectDropdown.d.ts +0 -32
- package/lib/types/components/MultiSelectDropdown/index.d.ts +0 -1
- package/lib/types/components/Pickers/DatePicker.d.ts +0 -4
- package/lib/types/components/Pickers/DateRangePicker.d.ts +0 -4
- package/lib/types/components/Pickers/DateTimePicker.d.ts +0 -4
- package/lib/types/components/Pickers/TimePicker.d.ts +0 -4
- package/lib/types/components/Pickers/index.d.ts +0 -4
- package/lib/types/components/Pickers/styles.d.ts +0 -4
- package/lib/types/components/Pickers/types.d.ts +0 -29
- package/lib/types/components/Popover/Popover.d.ts +0 -21
- package/lib/types/components/Popover/index.d.ts +0 -1
- package/lib/types/components/Radio/Radio.d.ts +0 -9
- package/lib/types/components/Radio/index.d.ts +0 -1
- package/lib/types/components/RestTable/RestTable.d.ts +0 -19
- package/lib/types/components/RestTable/index.d.ts +0 -1
- package/lib/types/components/Table/Table.d.ts +0 -56
- package/lib/types/components/Table/index.d.ts +0 -1
- package/lib/types/components/Tabs/Tabs.d.ts +0 -20
- package/lib/types/components/Tabs/index.d.ts +0 -1
- package/lib/types/components/Tag/Tag.d.ts +0 -7
- package/lib/types/components/Tag/index.d.ts +0 -1
- package/lib/types/components/ThemeProvider/index.d.ts +0 -12
- package/lib/types/components/Toast/Toast.d.ts +0 -14
- package/lib/types/components/Toast/index.d.ts +0 -3
- package/lib/types/components/Toggle/Toggle.d.ts +0 -15
- package/lib/types/components/Toggle/index.d.ts +0 -1
- package/lib/types/components/Tooltip/Tooltip.d.ts +0 -24
- package/lib/types/components/Tooltip/index.d.ts +0 -1
- package/lib/types/components/Transition/Transition.d.ts +0 -14
- package/lib/types/components/Transition/fade.d.ts +0 -6
- package/lib/types/components/Transition/index.d.ts +0 -4
- package/lib/types/components/Transition/slide-fade.d.ts +0 -13
- package/lib/types/components/Transition/slide.d.ts +0 -11
- package/lib/types/components/UiProvider/UiProvider.d.ts +0 -2
- package/lib/types/components/UiProvider/index.d.ts +0 -1
- package/lib/types/components/use-toasts/index.d.ts +0 -1
- package/lib/types/components/use-toasts/toast-container.d.ts +0 -8
- package/lib/types/components/use-toasts/toast-item.d.ts +0 -15
- package/lib/types/components/use-toasts/use-toast.d.ts +0 -17
- package/lib/types/index.d.ts +0 -30
- package/lib/types/theme/default/colors.d.ts +0 -3
- package/lib/types/theme/default/index.d.ts +0 -7
- package/lib/types/theme/default/palette.d.ts +0 -3
- package/lib/types/theme/default/typography.d.ts +0 -3
- package/lib/types/theme/freshstatus/colors.d.ts +0 -3
- package/lib/types/theme/freshstatus/index.d.ts +0 -7
- package/lib/types/theme/freshstatus/palette.d.ts +0 -3
- package/lib/types/theme/freshstatus/typography.d.ts +0 -3
- package/lib/types/theme/index.d.ts +0 -352
- package/lib/types/theme/shared.d.ts +0 -2
- package/lib/types/utils/date.d.ts +0 -7
- package/lib/types/utils/index.d.ts +0 -1
- package/lib/types/utils/use-current-state.d.ts +0 -4
- package/lib/types/utils/use-portal.d.ts +0 -2
- package/lib/types/utils/use-ssr.d.ts +0 -6
- package/lib/types/utils/use-ui-context.d.ts +0 -11
- package/lib/types/utils/with-defaults.d.ts +0 -3
package/README.md
CHANGED
|
@@ -25,15 +25,15 @@ Please note that `@next` will only point to pre-releases; to get the latest stab
|
|
|
25
25
|
Here is a quick example to get you started, **it's all you need**:
|
|
26
26
|
|
|
27
27
|
```jsx
|
|
28
|
-
import React from 'react'
|
|
29
|
-
import ReactDOM from 'react-dom'
|
|
30
|
-
import {Button} from 'freemium-ui'
|
|
28
|
+
import React from 'react';
|
|
29
|
+
import ReactDOM from 'react-dom';
|
|
30
|
+
import { Button } from 'freemium-ui';
|
|
31
31
|
|
|
32
32
|
function App() {
|
|
33
|
-
return <Button>Freemium Button</Button
|
|
33
|
+
return <Button>Freemium Button</Button>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
ReactDOM.render(<App />, document.querySelector('#app'))
|
|
36
|
+
ReactDOM.render(<App />, document.querySelector('#app'));
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Contribution
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-8rV84AoG.js');
|
|
4
|
+
var index$1 = require('./index-iz2gaJPW.js');
|
|
5
|
+
var index$2 = require('./index-r54UMUG5.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* Copyright 2021 Palantir Technologies, Inc. All rights reserved.
|
|
9
|
+
*
|
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
+
* you may not use this file except in compliance with the License.
|
|
12
|
+
* You may obtain a copy of the License at
|
|
13
|
+
*
|
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
+
*
|
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
+
* See the License for the specific language governing permissions and
|
|
20
|
+
* limitations under the License.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Get the list of vector paths that define a given icon. These path strings are used to render `<path>`
|
|
24
|
+
* elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component
|
|
25
|
+
* handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.
|
|
26
|
+
*
|
|
27
|
+
* Note: this function loads all icon definitions __statically__, which means every icon is included in your
|
|
28
|
+
* JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a
|
|
29
|
+
* dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from "@blueprintjs/icons"` instead.
|
|
30
|
+
*/
|
|
31
|
+
function getIconPaths(name, size) {
|
|
32
|
+
var key = index$2.pascalCase(name);
|
|
33
|
+
return size === index$2.IconSize.STANDARD ? index.IconSvgPaths16[key] : index$1.IconSvgPaths20[key];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Type safe string literal conversion of snake-case icon names to PascalCase icon names.
|
|
37
|
+
* This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
|
|
38
|
+
*
|
|
39
|
+
* @deprecated use `getIconPaths` instead
|
|
40
|
+
*/
|
|
41
|
+
function iconNameToPathsRecordKey(name) {
|
|
42
|
+
return index$2.pascalCase(name);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.IconSvgPaths16 = index.IconSvgPaths16;
|
|
46
|
+
exports.IconSvgPaths20 = index$1.IconSvgPaths20;
|
|
47
|
+
exports.getIconPaths = getIconPaths;
|
|
48
|
+
exports.iconNameToPathsRecordKey = iconNameToPathsRecordKey;
|
|
49
|
+
//# sourceMappingURL=allPaths-4jds4b8u.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allPaths-4jds4b8u.js","sources":["../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":["pascalCase","IconSize","IconSvgPaths16","IconSvgPaths20"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE;AACzC,IAAI,IAAI,GAAG,GAAGA,kBAAU,CAAC,IAAI,CAAC,CAAC;AAC/B,IAAI,OAAO,IAAI,KAAKC,gBAAQ,CAAC,QAAQ,GAAGC,oBAAc,CAAC,GAAG,CAAC,GAAGC,sBAAc,CAAC,GAAG,CAAC,CAAC;AAClF,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,wBAAwB,CAAC,IAAI,EAAE;AAC/C,IAAI,OAAOH,kBAAU,CAAC,IAAI,CAAC,CAAC;AAC5B;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { I as IconSvgPaths16 } from './index-sWSmgRnL.js';
|
|
2
|
+
import { I as IconSvgPaths20 } from './index-vyy0c5Au.js';
|
|
3
|
+
import { p as pascalCase, I as IconSize } from './index-L5DmzNWk.js';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2021 Palantir Technologies, Inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Get the list of vector paths that define a given icon. These path strings are used to render `<path>`
|
|
22
|
+
* elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component
|
|
23
|
+
* handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.
|
|
24
|
+
*
|
|
25
|
+
* Note: this function loads all icon definitions __statically__, which means every icon is included in your
|
|
26
|
+
* JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a
|
|
27
|
+
* dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from "@blueprintjs/icons"` instead.
|
|
28
|
+
*/
|
|
29
|
+
function getIconPaths(name, size) {
|
|
30
|
+
var key = pascalCase(name);
|
|
31
|
+
return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Type safe string literal conversion of snake-case icon names to PascalCase icon names.
|
|
35
|
+
* This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.
|
|
36
|
+
*
|
|
37
|
+
* @deprecated use `getIconPaths` instead
|
|
38
|
+
*/
|
|
39
|
+
function iconNameToPathsRecordKey(name) {
|
|
40
|
+
return pascalCase(name);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { IconSvgPaths16, IconSvgPaths20, getIconPaths, iconNameToPathsRecordKey };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allPaths-e8VA3yQO.js","sources":["../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":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE;AACzC,IAAI,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;AAC/B,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC,QAAQ,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAClF,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,wBAAwB,CAAC,IAAI,EAAE;AAC/C,IAAI,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC;AAC5B;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { _ as __awaiter, a as __generator } from './index-L5DmzNWk.js';
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* A simple module loader which concatenates all icon paths into a single chunk.
|
|
20
|
+
*/
|
|
21
|
+
var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {
|
|
22
|
+
var getIconPaths;
|
|
23
|
+
return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0: return [4 /*yield*/, import(
|
|
26
|
+
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
27
|
+
'./allPaths-e8VA3yQO.js')];
|
|
28
|
+
case 1:
|
|
29
|
+
getIconPaths = (_a.sent()).getIconPaths;
|
|
30
|
+
return [2 /*return*/, getIconPaths(name, size)];
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}); };
|
|
34
|
+
|
|
35
|
+
export { allPathsLoader };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allPathsLoader-CuUB6u5u.js","sources":["../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":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACU,IAAC,cAAc,GAAG,UAAU,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,SAAS,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY;AACzG,IAAI,IAAI,YAAY,CAAC;AACrB,IAAI,OAAO,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE;AAC3C,QAAQ,QAAQ,EAAE,CAAC,KAAK;AACxB,YAAY,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC,YAAY;AACzC;AACA,gBAAgB,wBAAa,CAAC,CAAC,CAAC;AAChC,YAAY,KAAK,CAAC;AAClB,gBAAgB,YAAY,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC;AACxD,gBAAgB,OAAO,CAAC,CAAC,aAAa,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAChE,SAAS;AACT,KAAK,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-r54UMUG5.js');
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* A simple module loader which concatenates all icon paths into a single chunk.
|
|
22
|
+
*/
|
|
23
|
+
var allPathsLoader = function (name, size) { return index.__awaiter(void 0, void 0, void 0, function () {
|
|
24
|
+
var getIconPaths;
|
|
25
|
+
return index.__generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require(
|
|
28
|
+
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
29
|
+
'./allPaths-4jds4b8u.js'); })];
|
|
30
|
+
case 1:
|
|
31
|
+
getIconPaths = (_a.sent()).getIconPaths;
|
|
32
|
+
return [2 /*return*/, getIconPaths(name, size)];
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}); };
|
|
36
|
+
|
|
37
|
+
exports.allPathsLoader = allPathsLoader;
|
|
38
|
+
//# sourceMappingURL=allPathsLoader-yJz6TViP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allPathsLoader-yJz6TViP.js","sources":["../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":["__awaiter","__generator"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACU,IAAC,cAAc,GAAG,UAAU,IAAI,EAAE,IAAI,EAAE,EAAE,OAAOA,eAAS,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY;AACzG,IAAI,IAAI,YAAY,CAAC;AACrB,IAAI,OAAOC,iBAAW,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE;AAC3C,QAAQ,QAAQ,EAAE,CAAC,KAAK;AACxB,YAAY,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC,YAAY,oDAAO;AAChD;AACA,gBAAgB,wBAAa,KAAC,CAAC,CAAC;AAChC,YAAY,KAAK,CAAC;AAClB,gBAAgB,YAAY,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC;AACxD,gBAAgB,OAAO,CAAC,CAAC,aAAa,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAChE,SAAS;AACT,KAAK,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;;;;","x_google_ignoreList":[0]}
|