@debtcollective/dc-header-component
Advanced tools
Comparing version 0.12.1 to 0.12.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.12.2](https://github.com/debtcollective/packages/compare/v0.12.1...v0.12.2) (2020-09-10) | ||
**Note:** Version bump only for package @debtcollective/dc-header-component | ||
## [0.12.1](https://github.com/debtcollective/packages/compare/v0.12.0...v0.12.1) (2020-09-09) | ||
@@ -8,0 +16,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-2f891e81.js'); | ||
const index = require('./index-ca93f08f.js'); | ||
@@ -8,0 +8,0 @@ // https://stackoverflow.com/a/33829607/1422380 |
@@ -5,4 +5,4 @@ 'use strict'; | ||
const index = require('./index-2f891e81.js'); | ||
const patch = require('./patch-eddb3357.js'); | ||
const index = require('./index-ca93f08f.js'); | ||
const patch = require('./patch-a0db6ca0.js'); | ||
@@ -9,0 +9,0 @@ const defineCustomElements = (win, options) => { |
'use strict'; | ||
const index = require('./index-2f891e81.js'); | ||
const patch = require('./patch-eddb3357.js'); | ||
const index = require('./index-ca93f08f.js'); | ||
const patch = require('./patch-a0db6ca0.js'); | ||
@@ -6,0 +6,0 @@ patch.patchBrowser().then(options => { |
@@ -9,3 +9,3 @@ { | ||
"name": "@stencil/core", | ||
"version": "1.16.5", | ||
"version": "1.17.3", | ||
"typescriptVersion": "3.9.7" | ||
@@ -12,0 +12,0 @@ }, |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, c as createEvent, h, g as getAssetPath, H as Host } from './index-9e70c7e7.js'; | ||
import { r as registerInstance, c as createEvent, h, g as getAssetPath, H as Host } from './index-842e9fdf.js'; | ||
// https://stackoverflow.com/a/33829607/1422380 | ||
@@ -40,0 +40,0 @@ var getCSRFToken = function (discourseEndpoint) { return __awaiter(void 0, void 0, void 0, function () { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, g as getAssetPath, H as Host } from './index-9e70c7e7.js'; | ||
import { r as registerInstance, c as createEvent, h, g as getAssetPath, H as Host } from './index-842e9fdf.js'; | ||
@@ -3,0 +3,0 @@ // https://stackoverflow.com/a/33829607/1422380 |
@@ -233,6 +233,21 @@ declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void; | ||
/** | ||
* getAssetPath | ||
* Get the base path to where the assets can be found. Use `setAssetPath(path)` | ||
* if the path needs to be customized. | ||
*/ | ||
export declare function getAssetPath(path: string): string; | ||
/** | ||
* Used to manually set the base path where assets can be found. For lazy-loaded | ||
* builds the asset path is automatically set and assets copied to the correct | ||
* build directory. However, for custom elements builds, the `setAssetPath(path)` could | ||
* be used to customize the asset path depending on how the script file is consumed. | ||
* If the script is used as "module", it's recommended to use "import.meta.url", such | ||
* as `setAssetPath(import.meta.url)`. Other options include | ||
* `setAssetPath(document.currentScript.src)`, or using a bundler's replace plugin to | ||
* dynamically set the path at build time, such as `setAssetPath(process.env.ASSET_PATH)`. | ||
* But do note that this configuration depends on how your script is bundled, or lack of | ||
* bunding, and where your assets can be loaded from. Additionally custom bundling | ||
* will have to ensure the static assets are copied to its build directory. | ||
*/ | ||
export declare function setAssetPath(path: string): string; | ||
/** | ||
* getElement | ||
@@ -1528,1 +1543,12 @@ */ | ||
} | ||
export interface CustomElementsDefineOptions { | ||
exclude?: string[]; | ||
resourcesUrl?: string; | ||
syncQueue?: boolean; | ||
transformTagName?: (tagName: string) => string; | ||
jmp?: (c: Function) => any; | ||
raf?: (c: FrameRequestCallback) => number; | ||
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; | ||
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; | ||
ce?: (eventName: string, opts?: any) => CustomEvent; | ||
} |
@@ -1,1 +0,1 @@ | ||
import{b as e}from"./p-703aba10.js";import{p as n}from"./p-df50867d.js";n().then(n=>e([["p-9b44b63e",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{user:[16]}]]]],n)); | ||
import{b as e}from"./p-6826c141.js";import{p as n}from"./p-2efee4fa.js";n().then(n=>e([["p-442d77bf",[[1,"dc-header",{links:[1],donateURL:[1,"donate-u-r-l"],user:[32],isMenuOpen:[32]},[[0,"toggleMenu","toggleMenuHandler"]]],[4,"dc-menu",{open:[4]}],[0,"dc-user-items",{user:[16]}]]]],n)); |
{ | ||
"name": "@debtcollective/dc-header-component", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "Stencil header component for debtcollective web apps", | ||
@@ -28,6 +28,6 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@stencil/core": "1.16.5", | ||
"@types/jest": "25.2.1", | ||
"@types/node": "13.13.5", | ||
"@types/puppeteer": "2.0.1", | ||
"@stencil/core": "1.17.3", | ||
"@types/jest": "25.2.3", | ||
"@types/node": "13.13.18", | ||
"@types/puppeteer": "2.1.3", | ||
"puppeteer": "2.1.1", | ||
@@ -42,3 +42,3 @@ "rollup-plugin-dotenv": "0.3.0" | ||
"license": "MIT", | ||
"gitHead": "b6c98c594b88a301503620ffed9cbddad8e13813" | ||
"gitHead": "445fe44907c67ff53955493eb43f290a2c42b772" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
895688
11505
86