@teambit/sidebar 1.0.258 → 1.0.260
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_ui_foundation_sidebar-preview.js +1 -1
- package/artifacts/schema.json +46 -10
- package/dist/preview-1714620113654.js +7 -0
- package/dist/ui/side-bar/side-bar.js +1 -1
- package/dist/ui/side-bar/side-bar.js.map +1 -1
- package/package.json +4 -4
- package/dist/preview-1714472366682.js +0 -7
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.ui-foundation/sidebar@1.0.
|
3
|
+
<testsuite name="teambit.ui-foundation/sidebar@1.0.260" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/sidebar-preview"]=t():e["teambit.ui-foundation/sidebar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.ui-foundation/sidebar-preview"]=t():e["teambit.ui-foundation/sidebar-preview"]=t()}(self,(()=>(()=>{"use strict";var e={94:(e,t,o)=>{var r={id:"teambit.ui-foundation/sidebar@1.0.260",homepage:"https://bit.cloud/teambit/ui-foundation/sidebar",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/sidebar.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{o.r(r),o.d(r,{compositions:()=>u,compositions_metadata:()=>l,overview:()=>f});var e={};o.r(e),o.d(e,{default:()=>d});var t=o(94);o(41594);const n=MdxJsReact,i=TeambitMdxUiMdxScopeContext;var a=["components"];function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},p.apply(this,arguments)}var s={},c="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,a);return(0,n.mdx)(c,p({},s,o,{components:t,mdxType:"MDXLayout"}),(0,n.mdx)(i.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const u=[t],f=[e],l={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
|
package/artifacts/schema.json
CHANGED
@@ -56,7 +56,8 @@
|
|
56
56
|
"line": 24,
|
57
57
|
"character": 35
|
58
58
|
},
|
59
|
-
"name": "DrawerSlot"
|
59
|
+
"name": "DrawerSlot",
|
60
|
+
"internalFilePath": "sidebar.ui.runtime.tsx"
|
60
61
|
},
|
61
62
|
"isOptional": false,
|
62
63
|
"isSpread": false
|
@@ -115,7 +116,12 @@
|
|
115
116
|
"line": 29,
|
116
117
|
"character": 29
|
117
118
|
},
|
118
|
-
"name": "DrawerType"
|
119
|
+
"name": "DrawerType",
|
120
|
+
"componentId": {
|
121
|
+
"scope": "teambit.ui-foundation",
|
122
|
+
"name": "ui/tree/drawer",
|
123
|
+
"version": "0.0.518"
|
124
|
+
}
|
119
125
|
}
|
120
126
|
},
|
121
127
|
"isOptional": false,
|
@@ -300,7 +306,8 @@
|
|
300
306
|
"line": 47,
|
301
307
|
"character": 54
|
302
308
|
},
|
303
|
-
"name": "DrawerSlot"
|
309
|
+
"name": "DrawerSlot",
|
310
|
+
"internalFilePath": "sidebar.ui.runtime.tsx"
|
304
311
|
}
|
305
312
|
]
|
306
313
|
},
|
@@ -352,6 +359,11 @@
|
|
352
359
|
"character": 31
|
353
360
|
},
|
354
361
|
"name": "SlotRegistry",
|
362
|
+
"componentId": {
|
363
|
+
"scope": "teambit.harmony",
|
364
|
+
"name": "harmony",
|
365
|
+
"version": "0.4.6"
|
366
|
+
},
|
355
367
|
"typeArgs": [
|
356
368
|
{
|
357
369
|
"__schema": "TypeArraySchema",
|
@@ -435,7 +447,8 @@
|
|
435
447
|
"line": 16,
|
436
448
|
"character": 15
|
437
449
|
},
|
438
|
-
"name": "ComponentType"
|
450
|
+
"name": "ComponentType",
|
451
|
+
"packageName": "react"
|
439
452
|
},
|
440
453
|
"isOptional": true
|
441
454
|
}
|
@@ -597,7 +610,8 @@
|
|
597
610
|
"line": 16,
|
598
611
|
"character": 15
|
599
612
|
},
|
600
|
-
"name": "ComponentType"
|
613
|
+
"name": "ComponentType",
|
614
|
+
"packageName": "react"
|
601
615
|
},
|
602
616
|
"isOptional": true
|
603
617
|
}
|
@@ -621,6 +635,11 @@
|
|
621
635
|
"character": 31
|
622
636
|
},
|
623
637
|
"name": "SlotRegistry",
|
638
|
+
"componentId": {
|
639
|
+
"scope": "teambit.harmony",
|
640
|
+
"name": "harmony",
|
641
|
+
"version": "0.4.6"
|
642
|
+
},
|
624
643
|
"typeArgs": [
|
625
644
|
{
|
626
645
|
"__schema": "TypeArraySchema",
|
@@ -659,6 +678,11 @@
|
|
659
678
|
"character": 26
|
660
679
|
},
|
661
680
|
"name": "SlotRegistry",
|
681
|
+
"componentId": {
|
682
|
+
"scope": "teambit.harmony",
|
683
|
+
"name": "harmony",
|
684
|
+
"version": "0.4.6"
|
685
|
+
},
|
662
686
|
"typeArgs": [
|
663
687
|
{
|
664
688
|
"__schema": "TypeArraySchema",
|
@@ -674,7 +698,12 @@
|
|
674
698
|
"line": 21,
|
675
699
|
"character": 39
|
676
700
|
},
|
677
|
-
"name": "DrawerType"
|
701
|
+
"name": "DrawerType",
|
702
|
+
"componentId": {
|
703
|
+
"scope": "teambit.ui-foundation",
|
704
|
+
"name": "ui/tree/drawer",
|
705
|
+
"version": "0.0.518"
|
706
|
+
}
|
678
707
|
}
|
679
708
|
}
|
680
709
|
]
|
@@ -715,7 +744,8 @@
|
|
715
744
|
"line": 24,
|
716
745
|
"character": 35
|
717
746
|
},
|
718
|
-
"name": "DrawerSlot"
|
747
|
+
"name": "DrawerSlot",
|
748
|
+
"internalFilePath": "sidebar.ui.runtime.tsx"
|
719
749
|
},
|
720
750
|
"isOptional": false,
|
721
751
|
"isSpread": false
|
@@ -774,7 +804,12 @@
|
|
774
804
|
"line": 29,
|
775
805
|
"character": 29
|
776
806
|
},
|
777
|
-
"name": "DrawerType"
|
807
|
+
"name": "DrawerType",
|
808
|
+
"componentId": {
|
809
|
+
"scope": "teambit.ui-foundation",
|
810
|
+
"name": "ui/tree/drawer",
|
811
|
+
"version": "0.0.518"
|
812
|
+
}
|
778
813
|
}
|
779
814
|
},
|
780
815
|
"isOptional": false,
|
@@ -959,7 +994,8 @@
|
|
959
994
|
"line": 47,
|
960
995
|
"character": 54
|
961
996
|
},
|
962
|
-
"name": "DrawerSlot"
|
997
|
+
"name": "DrawerSlot",
|
998
|
+
"internalFilePath": "sidebar.ui.runtime.tsx"
|
963
999
|
}
|
964
1000
|
]
|
965
1001
|
},
|
@@ -1050,7 +1086,7 @@
|
|
1050
1086
|
"componentId": {
|
1051
1087
|
"scope": "teambit.ui-foundation",
|
1052
1088
|
"name": "sidebar",
|
1053
|
-
"version": "1.0.
|
1089
|
+
"version": "1.0.260"
|
1054
1090
|
},
|
1055
1091
|
"taggedModuleExports": []
|
1056
1092
|
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_sidebar@1.0.260/dist/sidebar.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.ui-foundation_sidebar@1.0.260/dist/sidebar.docs.mdx';
|
3
|
+
|
4
|
+
export const compositions = [compositions_0];
|
5
|
+
export const overview = [overview_0];
|
6
|
+
|
7
|
+
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|
@@ -52,7 +52,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
52
52
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
53
53
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
54
54
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
55
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
55
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
56
56
|
/**
|
57
57
|
* side bar component.
|
58
58
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","data","_interopRequireWildcard","require","_lodash","_classnames","_interopRequireDefault","_designUiSurfacesMenu","_uiFoundationUiTree","_sideBarModule","_excluded","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","prototype","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","
|
1
|
+
{"version":3,"names":["_react","data","_interopRequireWildcard","require","_lodash","_classnames","_interopRequireDefault","_designUiSurfacesMenu","_uiFoundationUiTree","_sideBarModule","_excluded","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","prototype","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","SideBar","_ref","drawerSlot","items","overrideDrawerSlot","rest","drawers","flatten","values","filter","drawer","isHidden","sort","sortFn","openDrawerList","onToggleDrawer","useState","map","id","handleDrawerToggle","isDrawerOpen","includes","list","concat","createElement","className","styles","sidebar","MenuSection","name","isOpen","DrawerUI","classNames","sidebarDrawer","open","onToggle","Widgets","widgets","Context","render","first","second","order"],"sources":["side-bar.tsx"],"sourcesContent":["import React, { useState, ComponentType } from 'react';\nimport { flatten } from 'lodash';\nimport classNames from 'classnames';\nimport { MenuSection } from '@teambit/design.ui.surfaces.menu.section';\nimport { DrawerType, DrawerUI } from '@teambit/ui-foundation.ui.tree.drawer';\nimport { DrawerSlot } from '../../sidebar.ui.runtime';\nimport styles from './side-bar.module.scss';\n\nexport type SideBarProps = {\n /**\n * slot of registered drawers.\n */\n drawerSlot: DrawerSlot;\n /**\n * slot of registered items to the main section at the top.\n */\n items?: ComponentType[];\n /**\n * override register drawers from the slot\n */\n overrideDrawerSlot?: DrawerType[];\n} & React.HTMLAttributes<HTMLDivElement>;\n\n/**\n * side bar component.\n */\nexport function SideBar({ drawerSlot, items = [], overrideDrawerSlot, ...rest }: SideBarProps) {\n const drawers = (overrideDrawerSlot || flatten(drawerSlot.values()))\n .filter((drawer) => !drawer?.isHidden?.())\n .sort(sortFn);\n\n const [openDrawerList, onToggleDrawer] = useState<(string | undefined)[]>(drawers.map((drawer) => drawer.id));\n\n const handleDrawerToggle = (id: string) => {\n const isDrawerOpen = openDrawerList.includes(id);\n if (isDrawerOpen) {\n onToggleDrawer((list) => list.filter((drawer) => drawer !== id));\n return;\n }\n onToggleDrawer((list) => list.concat(id));\n };\n\n return (\n <div {...rest} className={styles.sidebar}>\n <MenuSection items={items} />\n {drawers.map((drawer) => {\n if (!drawer || !drawer.name) return null;\n // consider passing collapse all as a prop so each drawer collapses itself\n const isOpen = openDrawerList.includes(drawer.id);\n\n return (\n <DrawerUI\n className={classNames(styles.sidebarDrawer, isOpen && styles.open)}\n isOpen={isOpen}\n onToggle={() => handleDrawerToggle(drawer.id)}\n key={drawer.id}\n name={drawer.name}\n Widgets={drawer.widgets}\n Context={drawer.Context}\n >\n <drawer.render />\n </DrawerUI>\n );\n })}\n </div>\n );\n}\nfunction sortFn(first: DrawerType, second: DrawerType) {\n // 0 - equal\n // <0 - first < second\n // >0 - first > second\n\n return (first.order ?? 0) - (second.order ?? 0);\n}\n"],"mappings":";;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,uBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,YAAA;EAAA,MAAAJ,IAAA,GAAAK,sBAAA,CAAAH,OAAA;EAAAE,WAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,sBAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,qBAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,oBAAA;EAAA,MAAAP,IAAA,GAAAE,OAAA;EAAAK,mBAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAQ,eAAA;EAAA,MAAAR,IAAA,GAAAK,sBAAA,CAAAH,OAAA;EAAAM,cAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA4C,MAAAS,SAAA;AAAA,SAAAJ,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,K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a,OAAA,CAAA4D,aAAA,CAACjE,mBAAA,GAAAwE,QAAQ;MACPN,SAAS,EAAE,IAAAO,qBAAU,EAACN,wBAAM,CAACO,aAAa,EAAEH,MAAM,IAAIJ,wBAAM,CAACQ,IAAI,CAAE;MACnEJ,MAAM,EAAEA,MAAO;MACfK,QAAQ,EAAEA,CAAA,KAAMhB,kBAAkB,CAACT,MAAM,CAACQ,EAAE,CAAE;MAC9C5B,GAAG,EAAEoB,MAAM,CAACQ,EAAG;MACfW,IAAI,EAAEnB,MAAM,CAACmB,IAAK;MAClBO,OAAO,EAAE1B,MAAM,CAAC2B,OAAQ;MACxBC,OAAO,EAAE5B,MAAM,CAAC4B;IAAQ,gBAExBvF,MAAA,GAAAa,OAAA,CAAA4D,aAAA,CAACd,MAAM,CAAC6B,MAAM,MAAE,CACR,CAAC;EAEf,CAAC,CACE,CAAC;AAEV;AACA,SAAS1B,MAAMA,CAAC2B,KAAiB,EAAEC,MAAkB,EAAE;EACrD;EACA;EACA;;EAEA,OAAO,CAACD,KAAK,CAACE,KAAK,IAAI,CAAC,KAAKD,MAAM,CAACC,KAAK,IAAI,CAAC,CAAC;AACjD","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/sidebar",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.260",
|
4
4
|
"homepage": "https://bit.cloud/teambit/ui-foundation/sidebar",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.ui-foundation",
|
8
8
|
"name": "sidebar",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.260"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"classnames": "2.2.6",
|
@@ -14,8 +14,8 @@
|
|
14
14
|
"@teambit/harmony": "0.4.6",
|
15
15
|
"@teambit/ui-foundation.ui.tree.drawer": "0.0.518",
|
16
16
|
"@teambit/design.ui.surfaces.menu.section": "0.0.357",
|
17
|
-
"@teambit/component": "1.0.
|
18
|
-
"@teambit/ui": "1.0.
|
17
|
+
"@teambit/component": "1.0.260",
|
18
|
+
"@teambit/ui": "1.0.260"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@types/classnames": "2.2.11",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_sidebar@1.0.258/dist/sidebar.composition.js';
|
2
|
-
import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.ui-foundation_sidebar@1.0.258/dist/sidebar.docs.mdx';
|
3
|
-
|
4
|
-
export const compositions = [compositions_0];
|
5
|
-
export const overview = [overview_0];
|
6
|
-
|
7
|
-
export const compositions_metadata = {"compositions":[{"displayName":"Logo","identifier":"Logo"}]};
|