smoothly 0.1.89 → 0.1.90
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/cjs/GoogleFont-47aed323.js +21 -0
- package/dist/cjs/{index-de5d1ee1.js → index-b5fcdcf9.js} +2 -0
- package/dist/cjs/index.cjs.js +8 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-accordion_47.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-dialog.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-display-demo.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-frame.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-google-font.cjs.entry.js +17 -0
- package/dist/cjs/smoothly-input.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/google-font/index.js +33 -0
- package/dist/collection/components/input/style.css +1 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/model/GoogleFont.js +19 -0
- package/dist/collection/model/index.js +1 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +34 -2
- package/dist/esm/GoogleFont-31de060f.js +21 -0
- package/dist/esm/{index-68492ed9.js → index-53434aca.js} +2 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-accordion_47.entry.js +2 -1
- package/dist/esm/smoothly-dialog.entry.js +2 -1
- package/dist/esm/smoothly-display-demo.entry.js +2 -1
- package/dist/esm/smoothly-frame.entry.js +2 -1
- package/dist/esm/smoothly-google-font.entry.js +13 -0
- package/dist/esm/smoothly-input.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -1
- package/dist/esm/smoothly-trigger-source.entry.js +2 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/GoogleFont-31de060f.js +21 -0
- package/dist/smoothly/{index-68492ed9.js → index-53434aca.js} +2 -0
- package/dist/smoothly/index.esm.js +2 -1
- package/dist/smoothly/p-07653599.entry.js +1 -0
- package/dist/smoothly/p-2191d2d2.entry.js +1 -0
- package/dist/smoothly/p-82f56327.js +1 -0
- package/dist/smoothly/p-d2cfda26.entry.js +1 -0
- package/dist/smoothly/p-f6cbbcf3.entry.js +1 -0
- package/dist/smoothly/smoothly-dialog.entry.js +2 -1
- package/dist/smoothly/smoothly-display-demo.entry.js +2 -1
- package/dist/smoothly/smoothly-frame.entry.js +2 -1
- package/dist/smoothly/smoothly-google-font.entry.js +13 -0
- package/dist/smoothly/smoothly-input.entry.js +1 -1
- package/dist/smoothly/smoothly-trigger-sink.entry.js +2 -1
- package/dist/smoothly/smoothly-trigger-source.entry.js +2 -1
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/google-font/index.d.ts +5 -0
- package/dist/types/components.d.ts +16 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/model/GoogleFont.d.ts +6 -0
- package/dist/types/model/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/smoothly/p-09d633f8.entry.js +0 -1
- package/dist/smoothly/p-1a81597b.entry.js +0 -1
- package/dist/smoothly/p-8a51635f.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as o,a as r}from"./p-074a0448.js";import{M as e,T as i}from"./p-2cda1784.js";import"./p-82f56327.js";let n=class{constructor(o){s(this,o),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){e.listen(this.listen,((s,t)=>{i.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})}),window)}render(){return o("slot",null)}get element(){return r(this)}};n.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{n as smoothly_trigger_source}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, k as Host } from './index-02a70ac1.js';
|
|
2
|
-
import { T as Trigger } from './index-
|
|
2
|
+
import { T as Trigger } from './index-53434aca.js';
|
|
3
|
+
import './GoogleFont-31de060f.js';
|
|
3
4
|
|
|
4
5
|
const styleCss = ".sc-smoothly-dialog-h{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color));border-color:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h:not([header]) header.sc-smoothly-dialog{border:none}.sc-smoothly-dialog-h>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>main.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em;border:1px solid rgb(var(--smoothly-default-contrast));box-sizing:border-box;overflow:hidden}.sc-smoothly-dialog-h:not([header]) main.sc-smoothly-dialog{border-radius:8px}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1;border-color:transparent}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog:hover{border-color:transparent}.sc-smoothly-dialog-h smoothly-icon.sc-smoothly-dialog{background-color:rgb(var(--smoothly-color));border-radius:50%}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}";
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, i as createEvent, h } from './index-02a70ac1.js';
|
|
2
|
-
import { N as Notice } from './index-
|
|
2
|
+
import { N as Notice } from './index-53434aca.js';
|
|
3
|
+
import './GoogleFont-31de060f.js';
|
|
3
4
|
|
|
4
5
|
let SmoothlyDisplayDemo = class {
|
|
5
6
|
constructor(hostRef) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
|
|
2
|
-
import { M as Message, T as Trigger } from './index-
|
|
2
|
+
import { M as Message, T as Trigger } from './index-53434aca.js';
|
|
3
|
+
import './GoogleFont-31de060f.js';
|
|
3
4
|
|
|
4
5
|
const styleCss = ".sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}";
|
|
5
6
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
|
+
import { G as GoogleFont } from './GoogleFont-31de060f.js';
|
|
3
|
+
|
|
4
|
+
let SmoothlyGoogleFont = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return GoogleFont.is(this.value) ? h("style", null, GoogleFont.styleImportString(this.value)) : "";
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { SmoothlyGoogleFont as smoothly_google_font };
|
|
@@ -3,7 +3,7 @@ import { d as dist$1 } from './index-a5a08f46.js';
|
|
|
3
3
|
import { d as dist } from './index-37a67c97.js';
|
|
4
4
|
import './_commonjsHelpers-8fe71198.js';
|
|
5
5
|
|
|
6
|
-
const styleCss = ".sc-smoothly-input-h{display:block;position:relative}[hidden].sc-smoothly-input-h{display:none}label.sc-smoothly-input{position:absolute;left:0.4em;top:0.6em;color:rgb(var(--smoothly-text-tint));opacity:0.8;user-select:none;cursor:inherit;transition:font-size 0.1s;transition-timing-function:ease}input.sc-smoothly-input{padding:1em 0.2em 0.2em 0.2em;width:calc(100% - 0.4em);background:none;border:0;z-index:1;position:relative;font-size:1rem;font-family:var(--smoothly-font-family)}smoothly-icon.sc-smoothly-input{display:none;position:absolute;right:0.2em;top:0.6em}input.sc-smoothly-input:invalid+smoothly-icon.sc-smoothly-input{display:block}.has-value.sc-smoothly-input-h>label.sc-smoothly-input{top:0.3em;top:0.4em;font-size:60%;z-index:0}.sc-smoothly-input-h:focus-within>label.sc-smoothly-input{top:0.3em;top:0.4em;font-size:60%;z-index:0}input.sc-smoothly-input:focus{outline:none}input.sc-smoothly-input:-webkit-autofill,input.sc-smoothly-input:-webkit-autofill:hover,input.sc-smoothly-input:-webkit-autofill:focus,input.sc-smoothly-input:-webkit-autofill:active{box-shadow:0 0 0 30px unset inset !important;-webkit-box-shadow:0 0 0 30px unset inset !important}input.sc-smoothly-input:-webkit-autofill{-webkit-text-fill-color:unset !important}input.sc-smoothly-input:-internal-autofill-previewed,input.sc-smoothly-input:-internal-autofill-selected,textarea.sc-smoothly-input:-internal-autofill-previewed,textarea.sc-smoothly-input:-internal-autofill-selected,select.sc-smoothly-input:-internal-autofill-previewed,select.sc-smoothly-input:-internal-autofill-selected{background-color:none !important;background-image:none !important;color:unset !important}";
|
|
6
|
+
const styleCss = ".sc-smoothly-input-h{display:block;position:relative;font-weight:var(--smoothly-font-weight)}[hidden].sc-smoothly-input-h{display:none}label.sc-smoothly-input{position:absolute;left:0.4em;top:0.6em;color:rgb(var(--smoothly-text-tint));opacity:0.8;user-select:none;cursor:inherit;transition:font-size 0.1s;transition-timing-function:ease}input.sc-smoothly-input{padding:1em 0.2em 0.2em 0.2em;width:calc(100% - 0.4em);background:none;border:0;z-index:1;position:relative;font-size:1rem;font-family:var(--smoothly-font-family)}smoothly-icon.sc-smoothly-input{display:none;position:absolute;right:0.2em;top:0.6em}input.sc-smoothly-input:invalid+smoothly-icon.sc-smoothly-input{display:block}.has-value.sc-smoothly-input-h>label.sc-smoothly-input{top:0.3em;top:0.4em;font-size:60%;z-index:0}.sc-smoothly-input-h:focus-within>label.sc-smoothly-input{top:0.3em;top:0.4em;font-size:60%;z-index:0}input.sc-smoothly-input:focus{outline:none}input.sc-smoothly-input:-webkit-autofill,input.sc-smoothly-input:-webkit-autofill:hover,input.sc-smoothly-input:-webkit-autofill:focus,input.sc-smoothly-input:-webkit-autofill:active{box-shadow:0 0 0 30px unset inset !important;-webkit-box-shadow:0 0 0 30px unset inset !important}input.sc-smoothly-input:-webkit-autofill{-webkit-text-fill-color:unset !important}input.sc-smoothly-input:-internal-autofill-previewed,input.sc-smoothly-input:-internal-autofill-selected,textarea.sc-smoothly-input:-internal-autofill-previewed,textarea.sc-smoothly-input:-internal-autofill-selected,select.sc-smoothly-input:-internal-autofill-previewed,select.sc-smoothly-input:-internal-autofill-selected{background-color:none !important;background-image:none !important;color:unset !important}";
|
|
7
7
|
|
|
8
8
|
let SmoothlyInput = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
|
-
import { T as Trigger, M as Message } from './index-
|
|
2
|
+
import { T as Trigger, M as Message } from './index-53434aca.js';
|
|
3
|
+
import './GoogleFont-31de060f.js';
|
|
3
4
|
|
|
4
5
|
const styleCss = ".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
|
|
2
|
-
import { M as Message, T as Trigger } from './index-
|
|
2
|
+
import { M as Message, T as Trigger } from './index-53434aca.js';
|
|
3
|
+
import './GoogleFont-31de060f.js';
|
|
3
4
|
|
|
4
5
|
const styleCss = ".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";
|
|
5
6
|
|
|
@@ -121,5 +121,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
121
121
|
|
|
122
122
|
patchBrowser().then(options => {
|
|
123
123
|
globalScripts();
|
|
124
|
-
return bootstrapLazy([["smoothly-app-demo",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-radio-group",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo",[[0,"smoothly-input-demo"]]],["smoothly-select-demo",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo",[[2,"smoothly-table-demo"]]],["smoothly-display-demo",[[0,"smoothly-display-demo"]]],["smoothly-app",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo",[[2,"smoothly-icon-demo"]]],["smoothly-room",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]]]],["smoothly-
|
|
124
|
+
return bootstrapLazy([["smoothly-app-demo",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-google-font",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo",[[0,"smoothly-input-demo"]]],["smoothly-select-demo",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo",[[2,"smoothly-table-demo"]]],["smoothly-display-demo",[[0,"smoothly-display-demo"]]],["smoothly-notifier",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-app",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo",[[2,"smoothly-icon-demo"]]],["smoothly-room",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]]]],["smoothly-picker",[[1,"smoothly-picker",{"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"optionStyle":[8,"option-style"],"options":[16],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-checkbox",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-urlencoded",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-selector",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-input-date",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025]},[[0,"dateSet","dateSetHandler"]]]]],["smoothly-notification",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-option",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537]}]]],["smoothly-menu-options",[[1,"smoothly-menu-options",{"emptyMenuLabel":[1025,"empty-menu-label"],"maxMenuHeight":[1,"max-menu-height"],"order":[4],"optionStyle":[8,"option-style"],"options":[1040],"resetHighlightOnOptionsChange":[1028,"reset-highlight-on-options-change"],"filteredOptions":[32],"highlightIndex":[32],"moveHighlight":[64],"setHighlight":[64],"getHighlighted":[64],"filterOptions":[64]},[[0,"optionHover","optionHoverHandler"]]]]],["smoothly-display",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-spinner",[[2,"smoothly-spinner",{"active":[516]}]]],["smoothly-tuple",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-item",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-calendar",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}]]],["smoothly-input",[[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-input-month",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-trigger",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
|
|
125
125
|
});
|
|
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { Color, Expand, Fill, Message, Notice, OptionType, Trigger } from "./model";
|
|
9
9
|
import { CountryCode, Currency, Date, DateRange, DateTime } from "isoly";
|
|
10
10
|
import { Direction, Type } from "tidily";
|
|
11
|
+
import { GoogleFont } from "./model/GoogleFont";
|
|
11
12
|
export namespace Components {
|
|
12
13
|
interface SmoothlyAccordion {
|
|
13
14
|
"value"?: string;
|
|
@@ -66,6 +67,9 @@ export namespace Components {
|
|
|
66
67
|
"send": (message: string | Message<any>, content?: Trigger | any) => Promise<void>;
|
|
67
68
|
"url": string;
|
|
68
69
|
}
|
|
70
|
+
interface SmoothlyGoogleFont {
|
|
71
|
+
"value"?: GoogleFont;
|
|
72
|
+
}
|
|
69
73
|
interface SmoothlyIcon {
|
|
70
74
|
"color": Color;
|
|
71
75
|
"fill": Fill;
|
|
@@ -323,6 +327,12 @@ declare global {
|
|
|
323
327
|
prototype: HTMLSmoothlyFrameElement;
|
|
324
328
|
new (): HTMLSmoothlyFrameElement;
|
|
325
329
|
};
|
|
330
|
+
interface HTMLSmoothlyGoogleFontElement extends Components.SmoothlyGoogleFont, HTMLStencilElement {
|
|
331
|
+
}
|
|
332
|
+
var HTMLSmoothlyGoogleFontElement: {
|
|
333
|
+
prototype: HTMLSmoothlyGoogleFontElement;
|
|
334
|
+
new (): HTMLSmoothlyGoogleFontElement;
|
|
335
|
+
};
|
|
326
336
|
interface HTMLSmoothlyIconElement extends Components.SmoothlyIcon, HTMLStencilElement {
|
|
327
337
|
}
|
|
328
338
|
var HTMLSmoothlyIconElement: {
|
|
@@ -565,6 +575,7 @@ declare global {
|
|
|
565
575
|
"smoothly-display-date-time": HTMLSmoothlyDisplayDateTimeElement;
|
|
566
576
|
"smoothly-display-demo": HTMLSmoothlyDisplayDemoElement;
|
|
567
577
|
"smoothly-frame": HTMLSmoothlyFrameElement;
|
|
578
|
+
"smoothly-google-font": HTMLSmoothlyGoogleFontElement;
|
|
568
579
|
"smoothly-icon": HTMLSmoothlyIconElement;
|
|
569
580
|
"smoothly-icon-demo": HTMLSmoothlyIconDemoElement;
|
|
570
581
|
"smoothly-input": HTMLSmoothlyInputElement;
|
|
@@ -675,6 +686,9 @@ declare namespace LocalJSX {
|
|
|
675
686
|
"origin"?: string | undefined;
|
|
676
687
|
"url"?: string;
|
|
677
688
|
}
|
|
689
|
+
interface SmoothlyGoogleFont {
|
|
690
|
+
"value"?: GoogleFont;
|
|
691
|
+
}
|
|
678
692
|
interface SmoothlyIcon {
|
|
679
693
|
"color"?: Color;
|
|
680
694
|
"fill"?: Fill;
|
|
@@ -883,6 +897,7 @@ declare namespace LocalJSX {
|
|
|
883
897
|
"smoothly-display-date-time": SmoothlyDisplayDateTime;
|
|
884
898
|
"smoothly-display-demo": SmoothlyDisplayDemo;
|
|
885
899
|
"smoothly-frame": SmoothlyFrame;
|
|
900
|
+
"smoothly-google-font": SmoothlyGoogleFont;
|
|
886
901
|
"smoothly-icon": SmoothlyIcon;
|
|
887
902
|
"smoothly-icon-demo": SmoothlyIconDemo;
|
|
888
903
|
"smoothly-input": SmoothlyInput;
|
|
@@ -940,6 +955,7 @@ declare module "@stencil/core" {
|
|
|
940
955
|
"smoothly-display-date-time": LocalJSX.SmoothlyDisplayDateTime & JSXBase.HTMLAttributes<HTMLSmoothlyDisplayDateTimeElement>;
|
|
941
956
|
"smoothly-display-demo": LocalJSX.SmoothlyDisplayDemo & JSXBase.HTMLAttributes<HTMLSmoothlyDisplayDemoElement>;
|
|
942
957
|
"smoothly-frame": LocalJSX.SmoothlyFrame & JSXBase.HTMLAttributes<HTMLSmoothlyFrameElement>;
|
|
958
|
+
"smoothly-google-font": LocalJSX.SmoothlyGoogleFont & JSXBase.HTMLAttributes<HTMLSmoothlyGoogleFontElement>;
|
|
943
959
|
"smoothly-icon": LocalJSX.SmoothlyIcon & JSXBase.HTMLAttributes<HTMLSmoothlyIconElement>;
|
|
944
960
|
"smoothly-icon-demo": LocalJSX.SmoothlyIconDemo & JSXBase.HTMLAttributes<HTMLSmoothlyIconDemoElement>;
|
|
945
961
|
"smoothly-input": LocalJSX.SmoothlyInput & JSXBase.HTMLAttributes<HTMLSmoothlyInputElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Components, JSX } from "./components";
|
|
2
2
|
export { App } from "./components/App";
|
|
3
|
-
export { Autocomplete, ClientIdentifier, Color, Expand, Fill, Message, Notice, Trigger, OptionType } from "./model";
|
|
3
|
+
export { Autocomplete, ClientIdentifier, Color, Expand, Fill, GoogleFont, Message, Notice, Trigger, OptionType, } from "./model";
|
|
4
4
|
export { Cosmetic } from "./utilities";
|
|
@@ -3,6 +3,7 @@ export { ClientIdentifier } from "./ClientIdentifier";
|
|
|
3
3
|
export { Color } from "./Color";
|
|
4
4
|
export { Expand } from "./Expand";
|
|
5
5
|
export { Fill } from "./Fill";
|
|
6
|
+
export { GoogleFont } from "./GoogleFont";
|
|
6
7
|
export { Message } from "./Message";
|
|
7
8
|
export { Notice } from "./Notice";
|
|
8
9
|
export { OptionType } from "./OptionType";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-074a0448.js";import{T as i,M as r}from"./p-2cda1784.js";let o=class{constructor(t){s(this,t)}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(s){i.is(s.detail)&&this.filters.some((t=>t==s.detail.name))&&(r.send(this.destination,s.detail,this.context||window),s.preventDefault(),s.stopPropagation())}render(){return t("slot",null)}};o.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{o as smoothly_trigger_sink}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as o,a as r}from"./p-074a0448.js";import{M as e,T as i}from"./p-2cda1784.js";let n=class{constructor(o){s(this,o),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){e.listen(this.listen,((s,t)=>{i.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})}),window)}render(){return o("slot",null)}get element(){return r(this)}};n.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{n as smoothly_trigger_source}
|