@divetool/coral
Advanced tools
Comparing version 0.0.2 to 0.0.3
'use strict'; | ||
const index = require('./index-f4bdb0d5.js'); | ||
const index = require('./index-f8cf7a47.js'); | ||
@@ -18,3 +18,3 @@ /* | ||
patchBrowser().then(options => { | ||
return index.bootstrapLazy([["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
return index.bootstrapLazy([["crl-button.cjs",[[1,"crl-button",{"first":[1],"middle":[1],"last":[1]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-f4bdb0d5.js'); | ||
const index = require('./index-f8cf7a47.js'); | ||
@@ -18,3 +18,3 @@ /* | ||
return patchEsm().then(() => { | ||
return index.bootstrapLazy([["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
return index.bootstrapLazy([["crl-button.cjs",[[1,"crl-button",{"first":[1],"middle":[1],"last":[1]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); | ||
@@ -21,0 +21,0 @@ }; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-f4bdb0d5.js'); | ||
const index = require('./index-f8cf7a47.js'); | ||
@@ -8,0 +8,0 @@ function format(first, middle, last) { |
{ | ||
"entries": [ | ||
"./components/crl-button/crl-button.js", | ||
"./components/my-component/my-component.js" | ||
@@ -4,0 +5,0 @@ ], |
/* coral custom elements */ | ||
export { CrlButton as CrlButton } from '../types/components/crl-button/crl-button'; | ||
export { MyComponent as MyComponent } from '../types/components/my-component/my-component'; | ||
@@ -3,0 +4,0 @@ |
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client'; | ||
export { CrlButton, defineCustomElement as defineCustomElementCrlButton } from './crl-button.js'; | ||
export { MyComponent, defineCustomElement as defineCustomElementMyComponent } from './my-component.js'; |
@@ -1,1 +0,1 @@ | ||
import{p as a,b as t}from"./p-e87ac55c.js";(()=>{const t=import.meta.url,e={};return""!==t&&(e.resourcesUrl=new URL(".",t).href),a(e)})().then((a=>t([["p-d4a5eaab",[[1,"my-component",{first:[1],middle:[1],last:[1]}]]]],a))); | ||
import{p as t,b as r}from"./p-9a1be115.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),t(s)})().then((t=>r([["p-2b7af9d0",[[1,"crl-button",{first:[1],middle:[1],last:[1]}]]],["p-3b5d3ab5",[[1,"my-component",{first:[1],middle:[1],last:[1]}]]]],t))); |
@@ -1,2 +0,2 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-1d85f3a1.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-d40f8766.js'; | ||
@@ -16,3 +16,3 @@ /* | ||
patchBrowser().then(options => { | ||
return bootstrapLazy([["my-component",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
return bootstrapLazy([["crl-button",[[1,"crl-button",{"first":[1],"middle":[1],"last":[1]}]]],["my-component",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); |
@@ -1,2 +0,2 @@ | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-1d85f3a1.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-d40f8766.js'; | ||
@@ -13,3 +13,3 @@ /* | ||
return patchEsm().then(() => { | ||
return bootstrapLazy([["my-component",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
return bootstrapLazy([["crl-button",[[1,"crl-button",{"first":[1],"middle":[1],"last":[1]}]]],["my-component",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options); | ||
}); | ||
@@ -16,0 +16,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h } from './index-1d85f3a1.js'; | ||
import { r as registerInstance, h } from './index-d40f8766.js'; | ||
@@ -3,0 +3,0 @@ function format(first, middle, last) { |
import { sass } from '@stencil/sass'; | ||
import { reactOutputTarget } from '@stencil/react-output-target'; | ||
import { angularOutputTarget, } from '@stencil/angular-output-target'; | ||
const angularValueAccessorBindings = []; | ||
export const config = { | ||
@@ -27,3 +29,10 @@ namespace: 'coral', | ||
}), | ||
angularOutputTarget({ | ||
componentCorePackage: '@divetool/coral/dist', | ||
directivesProxyFile: '../../../packages/coral-angular/src/lib/generated/components.ts', | ||
directivesArrayFile: '../../../packages/coral-angular/src/lib/generated/index.ts', | ||
valueAccessorConfigs: angularValueAccessorBindings, | ||
includeImportCustomElements: true, | ||
}), | ||
], | ||
}; |
@@ -9,2 +9,16 @@ /* eslint-disable */ | ||
export namespace Components { | ||
interface CrlButton { | ||
/** | ||
* The first name | ||
*/ | ||
"first": string; | ||
/** | ||
* The last name | ||
*/ | ||
"last": string; | ||
/** | ||
* The middle name | ||
*/ | ||
"middle": string; | ||
} | ||
interface MyComponent { | ||
@@ -26,2 +40,8 @@ /** | ||
declare global { | ||
interface HTMLCrlButtonElement extends Components.CrlButton, HTMLStencilElement { | ||
} | ||
var HTMLCrlButtonElement: { | ||
prototype: HTMLCrlButtonElement; | ||
new (): HTMLCrlButtonElement; | ||
}; | ||
interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement { | ||
@@ -34,2 +54,3 @@ } | ||
interface HTMLElementTagNameMap { | ||
"crl-button": HTMLCrlButtonElement; | ||
"my-component": HTMLMyComponentElement; | ||
@@ -39,2 +60,16 @@ } | ||
declare namespace LocalJSX { | ||
interface CrlButton { | ||
/** | ||
* The first name | ||
*/ | ||
"first"?: string; | ||
/** | ||
* The last name | ||
*/ | ||
"last"?: string; | ||
/** | ||
* The middle name | ||
*/ | ||
"middle"?: string; | ||
} | ||
interface MyComponent { | ||
@@ -55,2 +90,3 @@ /** | ||
interface IntrinsicElements { | ||
"crl-button": CrlButton; | ||
"my-component": MyComponent; | ||
@@ -63,2 +99,3 @@ } | ||
interface IntrinsicElements { | ||
"crl-button": LocalJSX.CrlButton & JSXBase.HTMLAttributes<HTMLCrlButtonElement>; | ||
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>; | ||
@@ -65,0 +102,0 @@ } |
{ | ||
"name": "@divetool/coral", | ||
"description": "🪸 Coral Design System by DiveTool", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "./dist/index.cjs.js", | ||
@@ -6,0 +6,0 @@ "module": "./dist/index.js", |
292660
53
4651