@twilio-paste/tabs-primitive
Advanced tools
Comparing version 0.2.4 to 0.2.5
# Change Log | ||
## 0.2.5 | ||
### Patch Changes | ||
- [`c867e3f48`](https://github.com/twilio-labs/paste/commit/c867e3f48d739409d1f54fa18c4d2bee1d9242cf) [#2237](https://github.com/twilio-labs/paste/pull/2237) Thanks [@SiTaggart](https://github.com/SiTaggart)! - Updated a build dependency (esbuild) which changes the output of our builds slightly, without materially changing anything about the code. | ||
## 0.2.4 | ||
@@ -4,0 +10,0 @@ |
@@ -1,13 +0,35 @@ | ||
// src/index.tsx | ||
import { | ||
useTabState, | ||
Tab, | ||
TabList, | ||
TabPanel | ||
} from "@twilio-paste/reakit-library"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __reExport = (target, module, copyDefault, desc) => { | ||
if (module && typeof module === "object" || typeof module === "function") { | ||
for (let key of __getOwnPropNames(module)) | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable }); | ||
} | ||
return target; | ||
}; | ||
// esm-externals:@twilio-paste/reakit-library | ||
var reakit_library_exports = {}; | ||
__export(reakit_library_exports, { | ||
default: () => default2 | ||
}); | ||
__reExport(reakit_library_exports, reakit_library_star); | ||
import * as default2 from "@twilio-paste/reakit-library"; | ||
import * as reakit_library_star from "@twilio-paste/reakit-library"; | ||
var export_TabPrimitive = reakit_library_exports.Tab; | ||
var export_TabPrimitiveList = reakit_library_exports.TabList; | ||
var export_TabPrimitivePanel = reakit_library_exports.TabPanel; | ||
var export_useTabPrimitiveState = reakit_library_exports.useTabState; | ||
export { | ||
Tab as TabPrimitive, | ||
TabList as TabPrimitiveList, | ||
TabPanel as TabPrimitivePanel, | ||
useTabState as useTabPrimitiveState | ||
export_TabPrimitive as TabPrimitive, | ||
export_TabPrimitiveList as TabPrimitiveList, | ||
export_TabPrimitivePanel as TabPrimitivePanel, | ||
export_useTabPrimitiveState as useTabPrimitiveState | ||
}; |
@@ -1,30 +0,27 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true}); | ||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __export = (target, all) => { | ||
__markAsModule(target); | ||
for (var name in all) | ||
__defProp(target, name, {get: all[name], enumerable: true}); | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __exportStar = (target, module2, desc) => { | ||
__markAsModule(target); | ||
var __reExport = (target, module2, copyDefault, desc) => { | ||
if (module2 && typeof module2 === "object" || typeof module2 === "function") { | ||
for (let key of __getOwnPropNames(module2)) | ||
if (!__hasOwnProp.call(target, key) && key !== "default") | ||
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable}); | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable }); | ||
} | ||
return target; | ||
}; | ||
var __toModule = (module2) => { | ||
if (module2 && module2.__esModule) | ||
return module2; | ||
return __exportStar(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", {value: module2, enumerable: true}), module2); | ||
}; | ||
var __toCommonJS = /* @__PURE__ */ ((cache) => { | ||
return (module2, temp) => { | ||
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp); | ||
}; | ||
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); | ||
// src/index.tsx | ||
__export(exports, { | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
TabPrimitive: () => import_reakit_library.Tab, | ||
@@ -35,2 +32,10 @@ TabPrimitiveList: () => import_reakit_library.TabList, | ||
}); | ||
var import_reakit_library = __toModule(require("@twilio-paste/reakit-library")); | ||
var import_reakit_library = require("@twilio-paste/reakit-library"); | ||
module.exports = __toCommonJS(src_exports); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
TabPrimitive, | ||
TabPrimitiveList, | ||
TabPrimitivePanel, | ||
useTabPrimitiveState | ||
}); |
@@ -1,1 +0,1 @@ | ||
import{useTabState as a,Tab as i,TabList as t,TabPanel as e}from"@twilio-paste/reakit-library";export{i as TabPrimitive,t as TabPrimitiveList,e as TabPrimitivePanel,a as useTabPrimitiveState}; | ||
var P=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var v=(i,a)=>{for(var r in a)P(i,r,{get:a[r],enumerable:!0})},s=(i,a,r,b)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of m(a))!p.call(i,e)&&(r||e!=="default")&&P(i,e,{get:()=>a[e],enumerable:!(b=o(a,e))||b.enumerable});return i};var t={};v(t,{default:()=>T});s(t,n);import*as T from"@twilio-paste/reakit-library";import*as n from"@twilio-paste/reakit-library";var export_TabPrimitive=t.Tab;var export_TabPrimitiveList=t.TabList;var export_TabPrimitivePanel=t.TabPanel;var export_useTabPrimitiveState=t.useTabState;export{export_TabPrimitive as TabPrimitive,export_TabPrimitiveList as TabPrimitiveList,export_TabPrimitivePanel as TabPrimitivePanel,export_useTabPrimitiveState as useTabPrimitiveState}; |
@@ -1,1 +0,1 @@ | ||
var P=Object.create,s=Object.defineProperty,T=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,o=Object.getOwnPropertyNames,p=Object.getOwnPropertyDescriptor;var b=a=>s(a,"__esModule",{value:!0});var l=(a,i)=>{b(a);for(var e in i)s(a,e,{get:i[e],enumerable:!0})},v=(a,i,e)=>{if(b(a),i&&typeof i=="object"||typeof i=="function")for(let r of o(i))!m.call(a,r)&&r!=="default"&&s(a,r,{get:()=>i[r],enumerable:!(e=p(i,r))||e.enumerable});return a},n=a=>a&&a.__esModule?a:v(s(a!=null?P(T(a)):{},"default",{value:a,enumerable:!0}),a);l(exports,{TabPrimitive:()=>t.Tab,TabPrimitiveList:()=>t.TabList,TabPrimitivePanel:()=>t.TabPanel,useTabPrimitiveState:()=>t.useTabState});var t=n(require("@twilio-paste/reakit-library")); | ||
var s=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var o=i=>s(i,"__esModule",{value:!0});var p=(i,a)=>{for(var t in a)s(i,t,{get:a[t],enumerable:!0})},v=(i,a,t,b)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of T(a))!m.call(i,r)&&(t||r!=="default")&&s(i,r,{get:()=>a[r],enumerable:!(b=P(a,r))||b.enumerable});return i};var l=(i=>(a,t)=>i&&i.get(a)||(t=v(o({}),a,1),i&&i.set(a,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var n={};p(n,{TabPrimitive:()=>e.Tab,TabPrimitiveList:()=>e.TabList,TabPrimitivePanel:()=>e.TabPanel,useTabPrimitiveState:()=>e.useTabState});var e=require("@twilio-paste/reakit-library");module.exports=l(n);0&&(module.exports={TabPrimitive,TabPrimitiveList,TabPrimitivePanel,useTabPrimitiveState}); |
{ | ||
"name": "@twilio-paste/tabs-primitive", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"category": "interaction", | ||
@@ -33,3 +33,3 @@ "status": "production", | ||
"devDependencies": { | ||
"@twilio-paste/reakit-library": "^0.8.2", | ||
"@twilio-paste/reakit-library": "^0.8.3", | ||
"react": "^17.0.2", | ||
@@ -36,0 +36,0 @@ "react-dom": "^17.0.2" |
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
517281
84