@teambit/component.ui.version-dropdown 0.0.604 → 0.0.605
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/lane-info/lane-info.d.ts +1 -1
- package/dist/lane-info/lane-info.js +2 -2
- package/dist/lane-info/lane-info.js.map +1 -1
- package/dist/version-dropdown.d.ts +1 -1
- package/lane-info/lane-info.tsx +1 -1
- package/package-tar/teambit-component.ui.version-dropdown-0.0.605.tgz +0 -0
- package/package.json +3 -3
- package/{preview-1660707067764.js → preview-1660793399184.js} +2 -2
- package/version-dropdown.tsx +1 -1
- package/package-tar/teambit-component.ui.version-dropdown-0.0.604.tgz +0 -0
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.LaneInfo = void 0;
|
7
|
-
const
|
7
|
+
const lanes_ui_models_1 = require("@teambit/lanes.ui.models");
|
8
8
|
const react_1 = __importDefault(require("react"));
|
9
9
|
const design_ui_surfaces_menu_link_item_1 = require("@teambit/design.ui.surfaces.menu.link-item");
|
10
10
|
const evangelist_elements_icon_1 = require("@teambit/evangelist.elements.icon");
|
@@ -12,7 +12,7 @@ const lane_info_module_scss_1 = __importDefault(require("./lane-info.module.scss
|
|
12
12
|
function LaneInfo({ id, currentLane }) {
|
13
13
|
const isCurrent = (currentLane === null || currentLane === void 0 ? void 0 : currentLane.id) === id;
|
14
14
|
return (react_1.default.createElement("div", { key: id },
|
15
|
-
react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem, { active: isCurrent, href:
|
15
|
+
react_1.default.createElement(design_ui_surfaces_menu_link_item_1.MenuLinkItem, { active: isCurrent, href: lanes_ui_models_1.LanesModel.getLaneUrl(id), className: lane_info_module_scss_1.default.versionRow },
|
16
16
|
react_1.default.createElement("span", null,
|
17
17
|
react_1.default.createElement(evangelist_elements_icon_1.Icon, { className: lane_info_module_scss_1.default.laneIcon, of: "lane" }),
|
18
18
|
id))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lane-info.js","sourceRoot":"","sources":["../../lane-info/lane-info.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"version":3,"file":"lane-info.js","sourceRoot":"","sources":["../../lane-info/lane-info.tsx"],"names":[],"mappings":";;;;;;AAAA,8DAAiE;AACjE,kDAA0B;AAC1B,kGAA0E;AAC1E,gFAAyD;AACzD,oFAA6C;AAI7C,SAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAiB;IACzD,MAAM,SAAS,GAAG,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,EAAE,MAAK,EAAE,CAAC;IAEzC,OAAO,CACL,uCAAK,GAAG,EAAE,EAAE;QACV,8BAAC,gDAAY,IAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,4BAAU,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,+BAAM,CAAC,UAAU;YAC5F;gBACE,8BAAC,+BAAI,IAAC,SAAS,EAAE,+BAAM,CAAC,QAAQ,EAAE,EAAE,EAAC,MAAM,GAAQ;gBAClD,EAAE,CACE,CACM,CACX,CACP,CAAC;AACJ,CAAC;AAbD,4BAaC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
import { LegacyComponentLog } from '@teambit/legacy-component-log';
|
3
|
-
import { LaneModel } from '@teambit/lanes.ui.
|
3
|
+
import { LaneModel } from '@teambit/lanes.ui.models';
|
4
4
|
export declare const LOCAL_VERSION = "workspace";
|
5
5
|
export declare type DropdownComponentVersion = Partial<LegacyComponentLog> & {
|
6
6
|
version: string;
|
package/lane-info/lane-info.tsx
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LaneModel, LanesModel } from '@teambit/lanes.ui.
|
1
|
+
import { LaneModel, LanesModel } from '@teambit/lanes.ui.models';
|
2
2
|
import React from 'react';
|
3
3
|
import { MenuLinkItem } from '@teambit/design.ui.surfaces.menu.link-item';
|
4
4
|
import { Icon } from '@teambit/evangelist.elements.icon';
|
Binary file
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/component.ui.version-dropdown",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.605",
|
4
4
|
"homepage": "https://bit.dev/teambit/component/ui/version-dropdown",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.component",
|
8
8
|
"name": "ui/version-dropdown",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.605"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"classnames": "2.2.6",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"@teambit/evangelist.surfaces.dropdown": "1.0.2",
|
19
19
|
"@teambit/design.ui.styles.ellipsis": "0.0.347",
|
20
20
|
"@teambit/design.ui.time-ago": "0.0.353",
|
21
|
-
"@teambit/lanes.ui.
|
21
|
+
"@teambit/lanes.ui.models": "0.0.1",
|
22
22
|
"@teambit/legacy-component-log": "0.0.392",
|
23
23
|
"@teambit/ui-foundation.ui.use-box.tab": "0.0.106",
|
24
24
|
"@teambit/component.ui.version-label": "0.0.494"
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_ui_version-dropdown@0.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_ui_version-dropdown@0.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_ui_version-dropdown@0.0.605/dist/version-dropdown.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_ui_version-dropdown@0.0.605/dist/version-dropdown.docs.js';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/version-dropdown.tsx
CHANGED
@@ -5,7 +5,7 @@ import { Tab } from '@teambit/ui-foundation.ui.use-box.tab';
|
|
5
5
|
import { LegacyComponentLog } from '@teambit/legacy-component-log';
|
6
6
|
import { UserAvatar } from '@teambit/design.ui.avatar';
|
7
7
|
import { LineSkeleton } from '@teambit/base-ui.loaders.skeleton';
|
8
|
-
import { LaneModel } from '@teambit/lanes.ui.
|
8
|
+
import { LaneModel } from '@teambit/lanes.ui.models';
|
9
9
|
import classNames from 'classnames';
|
10
10
|
|
11
11
|
import styles from './version-dropdown.module.scss';
|
Binary file
|