smoothly 0.1.77 → 0.1.81
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/{App-eff713bd.js → App-ffc56e72.js} +1 -1
- package/dist/cjs/{Notice-e43922ea.js → Notice-9120d311.js} +1 -1
- package/dist/cjs/{css-shim-e3f30f9a.js → css-shim-88cc6900.js} +1 -1
- package/dist/cjs/{dom-c8b6d1a7.js → dom-95afd968.js} +1 -1
- package/dist/cjs/{generate-7f7f7d99.js → generate-14aca5d2.js} +1 -1
- package/dist/cjs/{index-b7e6a72c.js → index-138c41c2.js} +342 -147
- package/dist/cjs/{index-5537d93a.js → index-41a36ce2.js} +154 -88
- package/dist/cjs/{index-7c9d0102.js → index-42db74b3.js} +2 -2
- package/dist/cjs/{index-c973259c.js → index-de5d1ee1.js} +10 -7
- package/dist/cjs/{index-e37f73fe.js → index-fc82954f.js} +311 -12
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{shadow-css-6cbb23a9.js → shadow-css-71d0f821.js} +12 -6
- package/dist/cjs/smoothly-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{smoothly-accordion_46.cjs.entry.js → smoothly-accordion_47.cjs.entry.js} +7965 -2493
- package/dist/cjs/smoothly-app-demo.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-app.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-calendar.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +5707 -504
- package/dist/cjs/smoothly-dialog-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-dialog.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-display-amount.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-display-demo.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-display.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-frame.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-icon-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-icon.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-input-date-range.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-input-date.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-input-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-input-month.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-input.cjs.entry.js +19 -12
- package/dist/cjs/smoothly-item.cjs.entry.js +6 -2
- package/dist/cjs/smoothly-menu-options.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-notification.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-notifier.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-option.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-picker.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-popup.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-quiet.cjs.entry.js +19 -0
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-radio.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-reorder.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-room.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-select-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-select.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-selector.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-spinner.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-submit.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tab-switch.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tab.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-expandable-cell.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-expandable-row.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-header.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-row.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tuple.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-urlencoded.cjs.entry.js +2 -2
- package/dist/cjs/smoothly.cjs.js +10 -7
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/display-demo/index.js +4 -1
- package/dist/collection/components/input/index.js +16 -9
- package/dist/collection/components/item/index.js +4 -0
- package/dist/collection/components/quiet/index.js +34 -0
- package/dist/collection/components/quiet/style.css +3 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +8186 -2655
- package/dist/{smoothly/App-bf78807d.js → esm/App-c5f6000f.js} +1 -1
- package/dist/esm/{Notice-966edc54.js → Notice-d87d90f7.js} +1 -1
- package/dist/esm/{css-shim-003e9264.js → css-shim-c64026cd.js} +1 -1
- package/dist/esm/{dom-1b195079.js → dom-a712b575.js} +1 -1
- package/dist/esm/{generate-7090dc14.js → generate-be25a8d1.js} +1 -1
- package/dist/esm/{index-0dd5f791.js → index-02a70ac1.js} +342 -147
- package/dist/{smoothly/index-01fedb5b.js → esm/index-36a04e8c.js} +2 -2
- package/dist/esm/{index-531e2f06.js → index-68492ed9.js} +10 -7
- package/dist/{smoothly/index-13251390.js → esm/index-a28d88cf.js} +311 -12
- package/dist/esm/{index-9d550804.js → index-dcb2b612.js} +154 -88
- package/dist/esm/index.js +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{shadow-css-c1ad5fdc.js → shadow-css-1e16431b.js} +12 -6
- package/dist/esm/smoothly-accordion-item.entry.js +2 -2
- package/dist/esm/smoothly-accordion.entry.js +2 -2
- package/dist/esm/{smoothly-accordion_46.entry.js → smoothly-accordion_47.entry.js} +7965 -2494
- package/dist/esm/smoothly-app-demo.entry.js +3 -3
- package/dist/esm/smoothly-app.entry.js +2 -2
- package/dist/esm/smoothly-calendar.entry.js +4 -4
- package/dist/esm/smoothly-checkbox.entry.js +5703 -500
- package/dist/esm/smoothly-dialog-demo.entry.js +2 -2
- package/dist/esm/smoothly-dialog.entry.js +3 -3
- package/dist/esm/smoothly-display-amount.entry.js +3 -3
- package/dist/esm/smoothly-display-date-time.entry.js +2 -2
- package/dist/esm/smoothly-display-demo.entry.js +4 -4
- package/dist/esm/smoothly-display.entry.js +3 -3
- package/dist/esm/smoothly-frame.entry.js +3 -3
- package/dist/esm/smoothly-icon-demo.entry.js +2 -2
- package/dist/esm/smoothly-icon.entry.js +2 -2
- package/dist/esm/smoothly-input-date-range.entry.js +3 -3
- package/dist/esm/smoothly-input-date.entry.js +3 -3
- package/dist/esm/smoothly-input-demo.entry.js +2 -2
- package/dist/esm/smoothly-input-month.entry.js +4 -4
- package/dist/esm/smoothly-input.entry.js +19 -12
- package/dist/esm/smoothly-item.entry.js +6 -2
- package/dist/esm/smoothly-menu-options.entry.js +2 -2
- package/dist/esm/smoothly-notification.entry.js +2 -2
- package/dist/esm/smoothly-notifier.entry.js +2 -2
- package/dist/esm/smoothly-option.entry.js +2 -2
- package/dist/esm/smoothly-picker.entry.js +2 -2
- package/dist/esm/smoothly-popup.entry.js +2 -2
- package/dist/esm/smoothly-quiet.entry.js +15 -0
- package/dist/esm/smoothly-radio-group.entry.js +2 -2
- package/dist/esm/smoothly-radio.entry.js +2 -2
- package/dist/esm/smoothly-reorder.entry.js +2 -2
- package/dist/esm/smoothly-room.entry.js +2 -2
- package/dist/esm/smoothly-select-demo.entry.js +2 -2
- package/dist/esm/smoothly-select.entry.js +2 -2
- package/dist/esm/smoothly-selector.entry.js +2 -2
- package/dist/esm/smoothly-spinner.entry.js +2 -2
- package/dist/esm/smoothly-submit.entry.js +2 -2
- package/dist/esm/smoothly-tab-switch.entry.js +2 -2
- package/dist/esm/smoothly-tab.entry.js +2 -2
- package/dist/esm/smoothly-table-cell.entry.js +2 -2
- package/dist/esm/smoothly-table-demo.entry.js +2 -2
- package/dist/esm/smoothly-table-expandable-cell.entry.js +2 -2
- package/dist/esm/smoothly-table-expandable-row.entry.js +2 -2
- package/dist/esm/smoothly-table-header.entry.js +2 -2
- package/dist/esm/smoothly-table-row.entry.js +2 -2
- package/dist/esm/smoothly-table.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +3 -3
- package/dist/esm/smoothly-trigger-source.entry.js +3 -3
- package/dist/esm/smoothly-trigger.entry.js +2 -2
- package/dist/esm/smoothly-tuple.entry.js +2 -2
- package/dist/esm/smoothly-urlencoded.entry.js +2 -2
- package/dist/esm/smoothly.js +10 -7
- package/dist/{esm/App-bf78807d.js → smoothly/App-c5f6000f.js} +1 -1
- package/dist/smoothly/{css-shim-003e9264.js → css-shim-c64026cd.js} +1 -1
- package/dist/smoothly/{dom-1b195079.js → dom-a712b575.js} +1 -1
- package/dist/smoothly/{generate-7090dc14.js → generate-be25a8d1.js} +1 -1
- package/dist/smoothly/{index-0dd5f791.js → index-02a70ac1.js} +342 -147
- package/dist/{esm/index-01fedb5b.js → smoothly/index-36a04e8c.js} +2 -2
- package/dist/smoothly/{index-531e2f06.js → index-68492ed9.js} +10 -7
- package/dist/{esm/index-13251390.js → smoothly/index-a28d88cf.js} +311 -12
- package/dist/smoothly/index.esm.js +3 -3
- package/dist/smoothly/{p-0906d4b2.js → p-074a0448.js} +1 -1
- package/dist/smoothly/p-09d633f8.entry.js +1 -0
- package/dist/smoothly/p-0c1e9588.entry.js +1 -0
- package/dist/smoothly/p-1a81597b.entry.js +1 -0
- package/dist/smoothly/{p-7f5dd95f.js → p-1e768876.js} +1 -1
- package/dist/smoothly/p-9fa3ab06.entry.js +1 -0
- package/dist/smoothly/p-c9d01e9b.entry.js +1 -0
- package/dist/smoothly/{shadow-css-c1ad5fdc.js → shadow-css-1e16431b.js} +12 -6
- package/dist/smoothly/smoothly-accordion-item.entry.js +2 -2
- package/dist/smoothly/smoothly-accordion.entry.js +2 -2
- package/dist/smoothly/smoothly-app-demo.entry.js +3 -3
- package/dist/smoothly/smoothly-app.entry.js +2 -2
- package/dist/smoothly/smoothly-calendar.entry.js +4 -4
- package/dist/smoothly/smoothly-checkbox.entry.js +5703 -500
- package/dist/smoothly/smoothly-dialog-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-dialog.entry.js +3 -3
- package/dist/smoothly/smoothly-display-amount.entry.js +3 -3
- package/dist/smoothly/smoothly-display-date-time.entry.js +2 -2
- package/dist/smoothly/smoothly-display-demo.entry.js +4 -4
- package/dist/smoothly/smoothly-display.entry.js +3 -3
- package/dist/smoothly/smoothly-frame.entry.js +3 -3
- package/dist/smoothly/smoothly-icon-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-icon.entry.js +2 -2
- package/dist/smoothly/smoothly-input-date-range.entry.js +3 -3
- package/dist/smoothly/smoothly-input-date.entry.js +3 -3
- package/dist/smoothly/smoothly-input-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-input-month.entry.js +4 -4
- package/dist/smoothly/smoothly-input.entry.js +19 -12
- package/dist/smoothly/smoothly-item.entry.js +6 -2
- package/dist/smoothly/smoothly-menu-options.entry.js +2 -2
- package/dist/smoothly/smoothly-notification.entry.js +2 -2
- package/dist/smoothly/smoothly-notifier.entry.js +2 -2
- package/dist/smoothly/smoothly-option.entry.js +2 -2
- package/dist/smoothly/smoothly-picker.entry.js +2 -2
- package/dist/smoothly/smoothly-popup.entry.js +2 -2
- package/dist/smoothly/smoothly-quiet.entry.js +15 -0
- package/dist/smoothly/smoothly-radio-group.entry.js +2 -2
- package/dist/smoothly/smoothly-radio.entry.js +2 -2
- package/dist/smoothly/smoothly-reorder.entry.js +2 -2
- package/dist/smoothly/smoothly-room.entry.js +2 -2
- package/dist/smoothly/smoothly-select-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-select.entry.js +2 -2
- package/dist/smoothly/smoothly-selector.entry.js +2 -2
- package/dist/smoothly/smoothly-spinner.entry.js +2 -2
- package/dist/smoothly/smoothly-submit.entry.js +2 -2
- package/dist/smoothly/smoothly-tab-switch.entry.js +2 -2
- package/dist/smoothly/smoothly-tab.entry.js +2 -2
- package/dist/smoothly/smoothly-table-cell.entry.js +2 -2
- package/dist/smoothly/smoothly-table-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-table-expandable-cell.entry.js +2 -2
- package/dist/smoothly/smoothly-table-expandable-row.entry.js +2 -2
- package/dist/smoothly/smoothly-table-header.entry.js +2 -2
- package/dist/smoothly/smoothly-table-row.entry.js +2 -2
- package/dist/smoothly/smoothly-table.entry.js +2 -2
- package/dist/smoothly/smoothly-trigger-sink.entry.js +3 -3
- package/dist/smoothly/smoothly-trigger-source.entry.js +3 -3
- package/dist/smoothly/smoothly-trigger.entry.js +2 -2
- package/dist/smoothly/smoothly-tuple.entry.js +2 -2
- package/dist/smoothly/smoothly-urlencoded.entry.js +2 -2
- package/dist/smoothly/smoothly.esm.js +10 -7
- package/dist/types/components/item/index.d.ts +1 -0
- package/dist/types/components/quiet/index.d.ts +4 -0
- package/dist/types/components.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/loader/index.d.ts +0 -1
- package/package.json +89 -90
- package/dist/smoothly/p-22bce579.entry.js +0 -1
- package/dist/smoothly/p-41528fcb.entry.js +0 -1
- package/dist/smoothly/p-89fe12b0.entry.js +0 -1
- package/dist/smoothly/p-e3d91e7a.entry.js +0 -1
- package/dist/smoothly/p-e79800d9.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Client Platform v2.
|
|
2
|
+
Stencil Client Platform v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
@@ -295,7 +295,7 @@ const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
|
295
295
|
const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
296
296
|
return selector
|
|
297
297
|
.split(',')
|
|
298
|
-
.map(shallowPart => {
|
|
298
|
+
.map((shallowPart) => {
|
|
299
299
|
if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
|
|
300
300
|
return shallowPart.trim();
|
|
301
301
|
}
|
|
@@ -315,7 +315,10 @@ const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector,
|
|
|
315
315
|
if (rule.selector[0] !== '@') {
|
|
316
316
|
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
317
317
|
}
|
|
318
|
-
else if (rule.selector.startsWith('@media') ||
|
|
318
|
+
else if (rule.selector.startsWith('@media') ||
|
|
319
|
+
rule.selector.startsWith('@supports') ||
|
|
320
|
+
rule.selector.startsWith('@page') ||
|
|
321
|
+
rule.selector.startsWith('@document')) {
|
|
319
322
|
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
320
323
|
}
|
|
321
324
|
const cssRule = {
|
|
@@ -356,11 +359,14 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
356
359
|
rule.selector = placeholder + rule.selector;
|
|
357
360
|
return rule;
|
|
358
361
|
};
|
|
359
|
-
cssText = processRules(cssText, rule => {
|
|
362
|
+
cssText = processRules(cssText, (rule) => {
|
|
360
363
|
if (rule.selector[0] !== '@') {
|
|
361
364
|
return processCommentedSelector(rule);
|
|
362
365
|
}
|
|
363
|
-
else if (rule.selector.startsWith('@media') ||
|
|
366
|
+
else if (rule.selector.startsWith('@media') ||
|
|
367
|
+
rule.selector.startsWith('@supports') ||
|
|
368
|
+
rule.selector.startsWith('@page') ||
|
|
369
|
+
rule.selector.startsWith('@document')) {
|
|
364
370
|
rule.content = processRules(rule.content, processCommentedSelector);
|
|
365
371
|
return rule;
|
|
366
372
|
}
|
|
@@ -374,7 +380,7 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
374
380
|
cssText = cssText.replace(placeholder, comment);
|
|
375
381
|
});
|
|
376
382
|
}
|
|
377
|
-
scoped.slottedSelectors.forEach(slottedSelector => {
|
|
383
|
+
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
378
384
|
cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
|
|
379
385
|
});
|
|
380
386
|
return cssText;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = ".sc-smoothly-accordion-item-h{display:block}[hidden].sc-smoothly-accordion-item-h{display:none}details.sc-smoothly-accordion-item{padding:0}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>span.sc-smoothly-accordion-item{float:right;margin:0.2em;font-size:60%}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{font-size:120%;list-style-type:none;cursor:pointer;padding:0.4em;color:rgb(var(--smoothly-text-tint))}details.sc-smoothly-accordion-item>fieldset.sc-smoothly-accordion-item{border:none;margin:0;padding:0}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item::-webkit-details-marker{display:none}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{width:1em;height:auto;margin-bottom:-0.2em;margin-right:0.4em}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-accordion-item-h:not([open])>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-text-tint))}";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
let SmoothlyAccordionItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.smoothlyAccordionItemDidLoad = createEvent(this, "smoothlyAccordionItemDidLoad", 7);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, j as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, j as getElement } from './index-02a70ac1.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
let SmoothlyAccordion = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.items = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { A as App } from './App-
|
|
1
|
+
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
|
+
import { A as App } from './App-c5f6000f.js';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
let SmoothlyAppDemo = class {
|
|
5
5
|
constructor(hostRef) {
|
|
6
6
|
registerInstance(this, hostRef);
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
2
|
|
|
3
3
|
const styleCss = "smoothly-app{display:block;scrollbar-width:none}smoothly-app[hidden]{display:none}smoothly-app[color=default],smoothly-app:not([color]){--smoothly-app-background:var(--smoothly-default-shade);--smoothly-app-color:var(--smoothly-default-contrast);--smoothly-app-hover-background:var(--smoothly-primary-color);--smoothly-app-hover-color:var(--smoothly-primary-contrast);--smoothly-app-shadow:var(--smoothly-default-shadow)}smoothly-app[color=primary]{--smoothly-app-background:var(--smoothly-primary-shade);--smoothly-app-color:var(--smoothly-primary-contrast);--smoothly-app-hover-background:var(--smoothly-secondary-color);--smoothly-app-hover-color:var(--smoothly-secondary-contrast);--smoothly-app-shadow:var(--smoothly-primary-shadow)}smoothly-app[color=secondary]{--smoothly-app-background:var(--smoothly-secondary-shade);--smoothly-app-color:var(--smoothly-secondary-contrast);--smoothly-app-hover-background:var(--smoothly-primary-color);--smoothly-app-hover-color:var(--smoothly-primary-contrast);--smoothly-app-shadow:var(--smoothly-secondary-shadow)}smoothly-app[color=tertiary],smoothly-app[color=success],smoothly-app[color=warning],smoothly-app[color=danger]{--smoothly-app-background:var(--smoothly-color-shade);--smoothly-app-color:var(--smoothly-color-contrast);--smoothly-app-hover-background:var(--smoothly-default-shade);--smoothly-app-hover-color:var(--smoothly-default-contrast);--smoothly-app-shadow:var(--smoothly-color-shadow)}smoothly-app>smoothly-notifier>header{position:fixed;top:0;left:0;width:100%;z-index:5;height:1.6cm;background-color:rgb(var(--smoothly-app-background));color:rgb(var(--smoothly-app-color));fill:rgb(var(--smoothly-app-color));stroke:rgb(var(--smoothly-app-color));display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 5px 0 rgba(var(--smoothly-app-shadow))}smoothly-app>smoothly-notifier>header a{color:inherit;text-decoration:inherit}smoothly-app>smoothly-notifier>header>nav{flex-shrink:0}smoothly-app>smoothly-notifier>header>h1,smoothly-app>smoothly-notifier>header>nav,smoothly-app>smoothly-notifier>header>nav>ul,smoothly-app>smoothly-notifier>header>nav>ul>li,smoothly-app>smoothly-notifier>header>nav>ul>li>*:not(a){display:inline-block;height:100%;margin:0}smoothly-app>smoothly-notifier>header>h1 a{overflow:hidden;user-select:none}smoothly-app>smoothly-notifier>header>nav>ul>li a{line-height:1.6cm}smoothly-app>smoothly-notifier>header>h1 a,smoothly-app>smoothly-notifier>header>nav>ul>li a{display:inline-block;height:100%;padding:0 0.4cm;text-decoration:none;font-weight:bold}smoothly-app>smoothly-notifier>header>nav>ul>li smoothly-trigger.sc-smoothly-trigger-h{border:0}smoothly-app>smoothly-notifier>header>nav>ul>li a>smoothly-icon{position:relative;top:0.2cm}smoothly-app>smoothly-notifier>header>nav>ul>li>a:hover>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul>li>a.active>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul>li>smoothly-trigger.active a>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul>li>smoothly-trigger:hover a>smoothly-icon,smoothly-app>smoothly-notifier>header>nav>ul>li a:hover,smoothly-app>smoothly-notifier>header>nav>ul>li a.active{background-color:rgb(var(--smoothly-app-hover-background));color:rgb(var(--smoothly-app-hover-color));stroke:rgb(var(--smoothly-app-hover-color));fill:rgb(var(--smoothly-app-hover-color))}smoothly-app>smoothly-notifier>content{position:relative;top:1.6cm}";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
let SmoothlyApp = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-
|
|
2
|
-
import { d as dist } from './index-
|
|
3
|
-
import { w as weekdays, m as month } from './generate-
|
|
1
|
+
import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
|
|
2
|
+
import { d as dist } from './index-a28d88cf.js';
|
|
3
|
+
import { w as weekdays, m as month } from './generate-be25a8d1.js';
|
|
4
4
|
import './_commonjsHelpers-8fe71198.js';
|
|
5
5
|
|
|
6
6
|
const styleCss = ".sc-smoothly-calendar-h{display:block;--other-month-opacity:0.5}.sc-smoothly-calendar-h>smoothly-input-month.sc-smoothly-calendar{width:calc(100% - 1em);padding:0.5em 0.5em 0 0.5em}th.sc-smoothly-calendar,td.sc-smoothly-calendar{text-align:center;padding:0.5em;min-width:2em;background-color:rgb(var(--smoothly-default-shade));cursor:pointer;user-select:none}td.currentMonth.sc-smoothly-calendar{color:rgb(var(--smoothly-default-contrast))}td.sc-smoothly-calendar:not(.currentMonth){color:rgba(var(--smoothly-default-contrast), var(--other-month-opacity))}td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).selected,td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).dateRange,td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).selected,td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).dateRange{color:rgba(var(--smoothly-default-contrast))}td.sc-smoothly-calendar:nth-child(6),td.sc-smoothly-calendar:nth-child(7){color:rgb(var(--smoothly-danger-tint))}td.sc-smoothly-calendar:nth-child(6):not(.currentMonth),td.sc-smoothly-calendar:nth-child(7):not(.currentMonth){color:rgba(var(--smoothly-danger-tint), var(--other-month-opacity))}td.sc-smoothly-calendar:not(.selected):hover{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}td.selected.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}td.sc-smoothly-calendar:not(.selected,.dateRange).sc-smoothly-calendar:not(:hover).today{background:rgb(var(--smoothly-dark-tint));color:rgb(var(--smoothly-dark-contrast))}td.dateRange.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
let Calendar = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.valueChanged = createEvent(this, "valueChanged", 7);
|