@loomhq/lens 12.8.0 → 12.10.0
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/README.md +35 -7
- package/dist/cjs/icons/banner-vector-up.js +17 -3
- package/dist/cjs/icons/banner-vector-up.js.map +2 -2
- package/dist/cjs/icons/cursor.js +40 -0
- package/dist/cjs/icons/cursor.js.map +7 -0
- package/dist/cjs/icons/editions-icon.js +40 -0
- package/dist/cjs/icons/editions-icon.js.map +7 -0
- package/dist/cjs/icons/editions.js +9 -2
- package/dist/cjs/icons/editions.js.map +2 -2
- package/dist/cjs/icons/index.js +653 -638
- package/dist/cjs/icons/index.js.map +4 -4
- package/dist/cjs/index.js +799 -555
- package/dist/cjs/index.js.map +4 -4
- package/dist/esm/icons/banner-vector-up.js +1 -1
- package/dist/esm/icons/{chunk-2V4R73H6.js → chunk-3OR7GMMB.js} +8 -4
- package/dist/esm/icons/chunk-3OR7GMMB.js.map +7 -0
- package/dist/esm/icons/chunk-KVOGDZ34.js +11 -0
- package/dist/esm/icons/chunk-KVOGDZ34.js.map +7 -0
- package/dist/esm/icons/chunk-SPTM4NUO.js +18 -0
- package/dist/esm/icons/chunk-SPTM4NUO.js.map +7 -0
- package/dist/esm/icons/cursor.js +8 -0
- package/dist/esm/icons/cursor.js.map +7 -0
- package/dist/esm/icons/editions-icon.js +12 -0
- package/dist/esm/icons/editions-icon.js.map +7 -0
- package/dist/esm/icons/editions.js +1 -1
- package/dist/esm/icons/index.js +120 -116
- package/dist/esm/index.js +737 -489
- package/dist/esm/index.js.map +4 -4
- package/dist/types/colors.d.ts +1 -1
- package/dist/types/colors.d.ts.map +1 -1
- package/dist/types/components/align/align.d.ts +1 -1
- package/dist/types/components/align/align.d.ts.map +1 -1
- package/dist/types/components/arrange/arrange.d.ts +1 -1
- package/dist/types/components/arrange/arrange.d.ts.map +1 -1
- package/dist/types/components/avatar/avatar.d.ts +1 -1
- package/dist/types/components/avatar/avatar.d.ts.map +1 -1
- package/dist/types/components/backdrop/backdrop.d.ts +1 -1
- package/dist/types/components/backdrop/backdrop.d.ts.map +1 -1
- package/dist/types/components/base-styles/base-styles.d.ts.map +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/button/button.d.ts.map +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/types/components/container/container.d.ts +1 -1
- package/dist/types/components/container/container.d.ts.map +1 -1
- package/dist/types/components/distribute/distribute.d.ts +1 -1
- package/dist/types/components/distribute/distribute.d.ts.map +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +3 -1
- package/dist/types/components/dropdown/dropdown.d.ts.map +1 -1
- package/dist/types/components/ellipses-loader/ellipses-loader.d.ts +1 -1
- package/dist/types/components/ellipses-loader/ellipses-loader.d.ts.map +1 -1
- package/dist/types/components/form-field/form-field.d.ts +2 -2
- package/dist/types/components/form-field/form-field.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/banner-vector-up.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/cursor.d.ts +3 -0
- package/dist/types/components/icon/available-icons/cursor.d.ts.map +1 -0
- package/dist/types/components/icon/available-icons/editions-icon.d.ts +3 -0
- package/dist/types/components/icon/available-icons/editions-icon.d.ts.map +1 -0
- package/dist/types/components/icon/available-icons/editions.d.ts +1 -1
- package/dist/types/components/icon/available-icons/editions.d.ts.map +1 -1
- package/dist/types/components/icon/available-icons/index.d.ts +1 -0
- package/dist/types/components/icon/available-icons/index.d.ts.map +1 -1
- package/dist/types/components/icon/icon.d.ts +2 -2
- package/dist/types/components/icon/icon.d.ts.map +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/types/components/layout/layout.d.ts +1 -1
- package/dist/types/components/layout/layout.d.ts.map +1 -1
- package/dist/types/components/link/link.d.ts +1 -1
- package/dist/types/components/link/link.d.ts.map +1 -1
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list/list.d.ts.map +1 -1
- package/dist/types/components/loader/loader.d.ts +1 -1
- package/dist/types/components/loader/loader.d.ts.map +1 -1
- package/dist/types/components/logo/logo.d.ts +1 -1
- package/dist/types/components/logo/logo.d.ts.map +1 -1
- package/dist/types/components/menu/menu.d.ts +5 -2
- package/dist/types/components/menu/menu.d.ts.map +1 -1
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/modal/modal.d.ts.map +1 -1
- package/dist/types/components/notification-bar/notification-bar.d.ts +2 -2
- package/dist/types/components/notification-bar/notification-bar.d.ts.map +1 -1
- package/dist/types/components/pill/pill.d.ts +1 -1
- package/dist/types/components/pill/pill.d.ts.map +1 -1
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/select/select.d.ts.map +1 -1
- package/dist/types/components/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/types/components/spacer/spacer.d.ts +1 -1
- package/dist/types/components/spacer/spacer.d.ts.map +1 -1
- package/dist/types/components/split/split.d.ts +1 -1
- package/dist/types/components/split/split.d.ts.map +1 -1
- package/dist/types/components/switch/switch.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts.map +1 -1
- package/dist/types/components/tabs/tabs.d.ts +25 -2
- package/dist/types/components/tabs/tabs.d.ts.map +1 -1
- package/dist/types/components/text/text.d.ts +2 -2
- package/dist/types/components/text/text.d.ts.map +1 -1
- package/dist/types/components/text-button/text-button.d.ts +1 -1
- package/dist/types/components/text-button/text-button.d.ts.map +1 -1
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components/toast/toast.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/components/typeahead/typeahead.d.ts +2 -2
- package/dist/types/components/typeahead/typeahead.d.ts.map +1 -1
- package/dist/types/components/waveform-loader/waveform-loader.d.ts +1 -1
- package/dist/types/components/waveform-loader/waveform-loader.d.ts.map +1 -1
- package/dist/types/icons/banner-vector-up.d.ts.map +1 -1
- package/dist/types/icons/cursor.d.ts +3 -0
- package/dist/types/icons/cursor.d.ts.map +1 -0
- package/dist/types/icons/editions-icon.d.ts +3 -0
- package/dist/types/icons/editions-icon.d.ts.map +1 -0
- package/dist/types/icons/editions.d.ts +1 -1
- package/dist/types/icons/editions.d.ts.map +1 -1
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/icons/index.d.ts.map +1 -1
- package/dist/types/utilities/responsive.d.ts +3 -3
- package/dist/types/utilities/responsive.d.ts.map +1 -1
- package/dist/types/utilities/size.d.ts +1 -1
- package/dist/types/utilities/size.d.ts.map +1 -1
- package/dist/types/utilities/text.d.ts +3 -0
- package/dist/types/utilities/text.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/esm/icons/chunk-2V4R73H6.js.map +0 -7
- package/dist/esm/icons/chunk-T4L22EHS.js +0 -11
- package/dist/esm/icons/chunk-T4L22EHS.js.map +0 -7
package/README.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@loomhq/lens)
|
|
6
6
|
|
|
7
|
+
## Content Overview
|
|
8
|
+
|
|
9
|
+
- [Installation](#installation) - Add Lens to your project with required dependencies
|
|
10
|
+
- [Running Lens Locally](#running-lens-locally) - Test your Lens changes in development
|
|
11
|
+
- [Contributing](#contributing) - Guidelines and workflows for contributing to Lens
|
|
12
|
+
- [Adding a New Icon](#adding-a-new-icon-to-lens) - Step-by-step process for adding custom icons
|
|
13
|
+
- [Upgrading Lens Versions](#upgrading-lens-versions) - How to publish and update Lens versions
|
|
14
|
+
- [Using ADS Icons](#add-an-icon-to-the-icon-set) - Integrate Atlassian Design System icons
|
|
15
|
+
- [Documentation](#documentation) - Access the full Lens documentation site
|
|
16
|
+
|
|
7
17
|
## Installation
|
|
8
18
|
|
|
9
19
|
Add Lens to your app:
|
|
@@ -50,19 +60,37 @@ style.innerHTML = cssUtilities();
|
|
|
50
60
|
document.head.appendChild(style);
|
|
51
61
|
```
|
|
52
62
|
|
|
53
|
-
## Running Locally
|
|
63
|
+
## Running Lens Locally
|
|
64
|
+
|
|
65
|
+
Want to test if your Lens changes went through? Just like how there's a Loom local, there's a Lens local.
|
|
54
66
|
|
|
55
|
-
From the Lens directory
|
|
67
|
+
From the Lens directory - found at `libraries/lens`
|
|
56
68
|
|
|
57
69
|
```
|
|
58
70
|
pnpm i
|
|
59
71
|
pnpm --filter @loomhq/lens dev
|
|
60
|
-
navigate to: http://localhost:3000
|
|
61
72
|
```
|
|
62
73
|
|
|
74
|
+
After running the last `pnpm --filter` in your terminal, a `localhost` address should appear. Follow it to your local lens development website.
|
|
75
|
+
|
|
63
76
|
## Contributing
|
|
77
|
+
If you are looking to use an ADS (Atlassian Design System) component, [check out this section for implementation guidance](#add-an-icon-to-the-icon-set).
|
|
78
|
+
|
|
79
|
+
If you add any new Lens components, please surface any urgent pull requests in [#lens-designsystem](https://useloom.slack.com/archives/CJ52CKB27).
|
|
80
|
+
|
|
81
|
+
### Adding a New Icon to Lens
|
|
82
|
+
1. Within the `loom` repository, navigate to `projects/libraries/lens/src/components/icon/available-icons`
|
|
83
|
+
2. Create a new file in the `available-icons` folder, and give it a literal name (e.g., bug icon → bug.tsx)
|
|
84
|
+
- > **If the icon you are trying to add already exists in ADS**, use the same name as what can be found in the [ADS icon explorer](https://atlassian.design/components/icon/icon-explorer)
|
|
85
|
+
3. After creating your new icon, go to `index.ts` (found at `/lens/src/components/icon/available-icons/index.ts`) and add an export statement for your new icon in there.
|
|
86
|
+
4. When you're finished adding your icon into lens library, and run `pnpm build` → this command will automatically register your new icon to Lens and must be ran before you can view or test your new icon locally
|
|
87
|
+
5. [Follow these steps to run Lens locally.](#running-lens-locally)
|
|
88
|
+
6. Once you have finalized your changes and your code is ready for PR, you need to run `pnpm changeset` from the root directory
|
|
89
|
+
7. After running `changeset`, you should be prompted with "what changeset do you need" within your terminal
|
|
90
|
+
8. Select the files that you have changed, and press enter to proceed until you see a `patch bump` prompt. Make sure to select a severity that accurately reflects the scope of your changes.
|
|
91
|
+
- For example, a change that merely adds a new component or icon would be considered minor, but a change that adds a new component **and** removes support for another component/the previous version of that variant would be considered a **major** change.
|
|
64
92
|
|
|
65
|
-
|
|
93
|
+
> **Note:** If there's no `changeset` file included in your PR, your changes won't be available to use in the rest of the repo until a changeset is merged. Think of it like merging without deploying.
|
|
66
94
|
|
|
67
95
|
### Use conventional commits
|
|
68
96
|
|
|
@@ -72,13 +100,13 @@ Use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) messa
|
|
|
72
100
|
|
|
73
101
|
### Upgrading Lens versions
|
|
74
102
|
|
|
75
|
-
####
|
|
103
|
+
#### Loom
|
|
76
104
|
|
|
77
105
|
From the root of the [main Loom repo](http://github.com/loomhq/loom)
|
|
78
106
|
|
|
79
|
-
1. Make your updates in
|
|
107
|
+
1. Make your updates in `/projects/libraries/lens`
|
|
80
108
|
|
|
81
|
-
2. You should be able to see the updates reflected in
|
|
109
|
+
2. You should be able to see the updates reflected in your local web app.
|
|
82
110
|
|
|
83
111
|
3. Run `pnpm changeset` when you are done with your changes
|
|
84
112
|
|
|
@@ -2,8 +2,22 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
+
var __spreadValues = (a, b) => {
|
|
11
|
+
for (var prop in b || (b = {}))
|
|
12
|
+
if (__hasOwnProp.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
if (__getOwnPropSymbols)
|
|
15
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
+
if (__propIsEnum.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
}
|
|
19
|
+
return a;
|
|
20
|
+
};
|
|
7
21
|
var __export = (target, all) => {
|
|
8
22
|
for (var name in all)
|
|
9
23
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -36,18 +50,18 @@ var React = __toESM(require("react"));
|
|
|
36
50
|
function SvgBannerVectorUp(props) {
|
|
37
51
|
return /* @__PURE__ */ React.createElement(
|
|
38
52
|
"svg",
|
|
39
|
-
{
|
|
53
|
+
__spreadValues({
|
|
40
54
|
xmlns: "http://www.w3.org/2000/svg",
|
|
41
55
|
width: "24",
|
|
42
56
|
height: "11",
|
|
43
57
|
viewBox: "0 0 24 11",
|
|
44
58
|
fill: "none"
|
|
45
|
-
},
|
|
59
|
+
}, props),
|
|
46
60
|
/* @__PURE__ */ React.createElement(
|
|
47
61
|
"path",
|
|
48
62
|
{
|
|
49
63
|
d: "M24 11L0 11L9.17157 1.82843C10.7337 0.266331 13.2663 0.26633 14.8284 1.82843L24 11Z",
|
|
50
|
-
fill: "
|
|
64
|
+
fill: "currentColor"
|
|
51
65
|
}
|
|
52
66
|
)
|
|
53
67
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/icon/available-icons/banner-vector-up.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\n\nexport function SvgBannerVectorUp(props: any) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"11\"\n viewBox=\"0 0 24 11\"\n fill=\"none\"\n >\n <path\n d=\"M24 11L0 11L9.17157 1.82843C10.7337 0.266331 13.2663 0.26633 14.8284 1.82843L24 11Z\"\n fill=\"
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\n\nexport function SvgBannerVectorUp(props: any) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"11\"\n viewBox=\"0 0 24 11\"\n fill=\"none\"\n {...props}\n >\n <path\n d=\"M24 11L0 11L9.17157 1.82843C10.7337 0.266331 13.2663 0.26633 14.8284 1.82843L24 11Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AAEhB,SAAS,kBAAkB,OAAY;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,OACD;AAAA,IAEJ;AAAA,MAAC;AAAA;AAAA,QACC,GAAE;AAAA,QACF,MAAK;AAAA;AAAA,IACP;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/icon/available-icons/cursor.tsx
|
|
30
|
+
var cursor_exports = {};
|
|
31
|
+
__export(cursor_exports, {
|
|
32
|
+
SvgCursor: () => SvgCursor
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(cursor_exports);
|
|
35
|
+
var import_cursor = __toESM(require("@atlaskit/icon-lab/core/cursor"));
|
|
36
|
+
var React = __toESM(require("react"));
|
|
37
|
+
var SvgCursor = () => {
|
|
38
|
+
return /* @__PURE__ */ React.createElement(import_cursor.default, { label: "", testId: "ads-refreshed-icon" });
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=cursor.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/icon/available-icons/cursor.tsx"],
|
|
4
|
+
"sourcesContent": ["import CursorIcon from '@atlaskit/icon-lab/core/cursor';\nimport * as React from 'react';\n\nexport const SvgCursor = () => {\n return <CursorIcon label=\"\" testId=\"ads-refreshed-icon\" />;\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuB;AACvB,YAAuB;AAEhB,IAAM,YAAY,MAAM;AAC7B,SAAO,oCAAC,cAAAA,SAAA,EAAW,OAAM,IAAG,QAAO,sBAAqB;AAC1D;",
|
|
6
|
+
"names": ["CursorIcon"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/icon/available-icons/editions-icon.tsx
|
|
30
|
+
var editions_icon_exports = {};
|
|
31
|
+
__export(editions_icon_exports, {
|
|
32
|
+
SvgEditionsIcon: () => SvgEditionsIcon
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(editions_icon_exports);
|
|
35
|
+
var import_editions = __toESM(require("@atlaskit/icon-lab/core/editions"));
|
|
36
|
+
var React = __toESM(require("react"));
|
|
37
|
+
function SvgEditionsIcon() {
|
|
38
|
+
return /* @__PURE__ */ React.createElement(import_editions.default, { label: "editions" });
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=editions-icon.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/icon/available-icons/editions-icon.tsx"],
|
|
4
|
+
"sourcesContent": ["import EditionsIcon from '@atlaskit/icon-lab/core/editions';\nimport * as React from 'react';\n\nexport function SvgEditionsIcon() {\n return <EditionsIcon label=\"editions\" />;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB;AACzB,YAAuB;AAEhB,SAAS,kBAAkB;AAChC,SAAO,oCAAC,gBAAAA,SAAA,EAAa,OAAM,YAAW;AACxC;",
|
|
6
|
+
"names": ["EditionsIcon"]
|
|
7
|
+
}
|
|
@@ -34,7 +34,14 @@ __export(editions_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(editions_exports);
|
|
35
35
|
var import_editions = __toESM(require("@atlaskit/icon-lab/core/editions"));
|
|
36
36
|
var React = __toESM(require("react"));
|
|
37
|
-
function SvgEditions() {
|
|
38
|
-
return /* @__PURE__ */ React.createElement(
|
|
37
|
+
function SvgEditions(props) {
|
|
38
|
+
return /* @__PURE__ */ React.createElement(
|
|
39
|
+
import_editions.default,
|
|
40
|
+
{
|
|
41
|
+
label: "",
|
|
42
|
+
testId: "ads-refreshed-icon",
|
|
43
|
+
color: props.color ? props.color : "currentColor"
|
|
44
|
+
}
|
|
45
|
+
);
|
|
39
46
|
}
|
|
40
47
|
//# sourceMappingURL=editions.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/icon/available-icons/editions.tsx"],
|
|
4
|
-
"sourcesContent": ["import EditionsIcon from '@atlaskit/icon-lab/core/editions';\nimport * as React from 'react';\n\nexport function SvgEditions() {\n return <EditionsIcon
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB;AACzB,YAAuB;AAEhB,SAAS,
|
|
4
|
+
"sourcesContent": ["import EditionsIcon from '@atlaskit/icon-lab/core/editions';\nimport * as React from 'react';\n\nexport function SvgEditions(props) {\n return (\n <EditionsIcon\n label=\"\"\n testId=\"ads-refreshed-icon\"\n color={props.color ? props.color : 'currentColor'}\n />\n );\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAyB;AACzB,YAAuB;AAEhB,SAAS,YAAY,OAAO;AACjC,SACE;AAAA,IAAC,gBAAAA;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,OAAO,MAAM,QAAQ,MAAM,QAAQ;AAAA;AAAA,EACrC;AAEJ;",
|
|
6
6
|
"names": ["EditionsIcon"]
|
|
7
7
|
}
|