smoothly 0.1.121 → 0.2.2

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.
Files changed (44) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/smoothly-accordion_51.cjs.entry.js +68 -52
  3. package/dist/cjs/smoothly.cjs.js +1 -1
  4. package/dist/collection/components/app/style.css +12 -12
  5. package/dist/collection/components/button/style.css +1 -2
  6. package/dist/collection/components/calendar/style.css +2 -3
  7. package/dist/collection/components/input/index.js +68 -8
  8. package/dist/collection/components/input-date/index.js +1 -1
  9. package/dist/collection/components/input-date/style.css +2 -3
  10. package/dist/collection/components/input-date-range/index.js +2 -2
  11. package/dist/collection/components/input-demo/index.js +2 -1
  12. package/dist/collection/components/item/style.css +2 -3
  13. package/dist/collection/components/select-demo/style.css +1 -1
  14. package/dist/collection/components/selector/style.css +0 -2
  15. package/dist/collection/components/tab/style.css +3 -4
  16. package/dist/collection/components/tab-switch/index.js +1 -0
  17. package/dist/collection/components/tab-switch/style.css +1 -1
  18. package/dist/collection/components/table/cell/style.css +3 -1
  19. package/dist/collection/components/table/demo/index.js +38 -32
  20. package/dist/collection/components/table/expandable/cell/index.js +8 -9
  21. package/dist/collection/components/table/expandable/cell/style.css +38 -1
  22. package/dist/collection/components/table/expandable/row/index.js +84 -21
  23. package/dist/collection/components/table/expandable/row/style.css +35 -4
  24. package/dist/collection/components/table/header/index.js +22 -2
  25. package/dist/collection/components/table/header/style.css +5 -3
  26. package/dist/collection/components/table/index.js +33 -1
  27. package/dist/collection/components/table/row/index.js +20 -84
  28. package/dist/collection/components/table/row/style.css +2 -8
  29. package/dist/collection/components/table/style.css +8 -3
  30. package/dist/custom-elements/index.js +74 -58
  31. package/dist/esm/loader.js +1 -1
  32. package/dist/esm/smoothly-accordion_51.entry.js +68 -52
  33. package/dist/esm/smoothly.js +1 -1
  34. package/dist/smoothly/p-9d6a20c4.entry.js +1 -0
  35. package/dist/smoothly/smoothly.esm.js +1 -1
  36. package/dist/types/components/input/index.d.ts +10 -3
  37. package/dist/types/components/table/expandable/cell/index.d.ts +2 -2
  38. package/dist/types/components/table/expandable/row/index.d.ts +9 -4
  39. package/dist/types/components/table/header/index.d.ts +1 -0
  40. package/dist/types/components/table/index.d.ts +3 -0
  41. package/dist/types/components/table/row/index.d.ts +3 -9
  42. package/dist/types/components.d.ts +14 -7
  43. package/package.json +2 -2
  44. package/dist/smoothly/p-f4529a2d.entry.js +0 -1
@@ -1,7 +1,9 @@
1
1
  :host {
2
2
  display: table-cell;
3
- padding: 0.75rem 0.5rem;
4
- background-color: rgb(var(--smoothly-default-color));
5
- border: 1px solid rgb(var(--smoothly-dark-color), 0.5);
6
3
  line-height: 2.5rem;
4
+ background-color: rgb(var(--smoothly-color-shade));
5
+ border-bottom: 1px solid rgb(var(--smoothly-dark-color));
6
+ padding-left: 1rem;
7
+ font-weight: bold;
8
+ margin-bottom: 5rem;
7
9
  }
@@ -1,5 +1,8 @@
1
- import { Component, Element, h } from "@stencil/core";
1
+ import { Component, Element, Event, h, Listen } from "@stencil/core";
2
2
  export class Table {
3
+ handleEvents(event) {
4
+ event.stopPropagation();
5
+ }
3
6
  render() {
4
7
  return [h("slot", null)];
5
8
  }
@@ -11,5 +14,34 @@ export class Table {
11
14
  static get styleUrls() { return {
12
15
  "$": ["style.css"]
13
16
  }; }
17
+ static get events() { return [{
18
+ "method": "loadMore",
19
+ "name": "loadMore",
20
+ "bubbles": true,
21
+ "cancelable": true,
22
+ "composed": true,
23
+ "docs": {
24
+ "tags": [],
25
+ "text": ""
26
+ },
27
+ "complexType": {
28
+ "original": "void",
29
+ "resolved": "void",
30
+ "references": {}
31
+ }
32
+ }]; }
14
33
  static get elementRef() { return "element"; }
34
+ static get listeners() { return [{
35
+ "name": "expansionLoad",
36
+ "method": "handleEvents",
37
+ "target": undefined,
38
+ "capture": false,
39
+ "passive": false
40
+ }, {
41
+ "name": "expansionOpen",
42
+ "method": "handleEvents",
43
+ "target": undefined,
44
+ "capture": false,
45
+ "passive": false
46
+ }]; }
15
47
  }
@@ -1,27 +1,21 @@
1
- import { Component, Element, Event, h, Host, Listen, Prop, State, Watch } from "@stencil/core";
1
+ import { Component, Element, h, Listen } from "@stencil/core";
2
2
  export class TableRow {
3
3
  constructor() {
4
- this.align = "left";
4
+ this.expansions = [];
5
5
  }
6
- openChanged(value) {
7
- if (this.expansionElement)
8
- this.element.after(this.expansionElement);
6
+ onExpansionLoad(event) {
7
+ this.expansions.push(event.target);
9
8
  }
10
- onClick(e) {
11
- this.open = !this.open;
12
- e.stopPropagation();
13
- }
14
- componentDidRender() {
15
- this.expansionOpen.emit(this.expansionElement);
16
- if (this.expansionElement && this.open)
17
- this.element.after(this.expansionElement);
9
+ onExpansionOpen(event) {
10
+ this.expansions.forEach(cell => {
11
+ if (cell != event.target)
12
+ cell.open = false;
13
+ });
14
+ if (event.detail)
15
+ this.element.after(event.detail);
18
16
  }
19
17
  render() {
20
- return (h(Host, { style: { textAlign: this.align } },
21
- h("slot", null),
22
- h("tr", { ref: e => (this.expansionElement = e) },
23
- h("td", { colSpan: 500, class: !this.open ? "hide" : "" },
24
- h("slot", { name: "detail" })))));
18
+ return h("slot", null);
25
19
  }
26
20
  static get is() { return "smoothly-table-row"; }
27
21
  static get encapsulation() { return "scoped"; }
@@ -31,74 +25,16 @@ export class TableRow {
31
25
  static get styleUrls() { return {
32
26
  "$": ["style.css"]
33
27
  }; }
34
- static get properties() { return {
35
- "align": {
36
- "type": "string",
37
- "mutable": false,
38
- "complexType": {
39
- "original": "\"left\" | \"center\" | \"right\"",
40
- "resolved": "\"center\" | \"left\" | \"right\"",
41
- "references": {}
42
- },
43
- "required": false,
44
- "optional": false,
45
- "docs": {
46
- "tags": [],
47
- "text": ""
48
- },
49
- "attribute": "align",
50
- "reflect": false,
51
- "defaultValue": "\"left\""
52
- },
53
- "open": {
54
- "type": "boolean",
55
- "mutable": true,
56
- "complexType": {
57
- "original": "boolean",
58
- "resolved": "boolean",
59
- "references": {}
60
- },
61
- "required": false,
62
- "optional": false,
63
- "docs": {
64
- "tags": [],
65
- "text": ""
66
- },
67
- "attribute": "open",
68
- "reflect": true
69
- }
70
- }; }
71
- static get states() { return {
72
- "beginOpen": {}
73
- }; }
74
- static get events() { return [{
75
- "method": "expansionOpen",
76
- "name": "expansionOpen",
77
- "bubbles": true,
78
- "cancelable": true,
79
- "composed": true,
80
- "docs": {
81
- "tags": [],
82
- "text": ""
83
- },
84
- "complexType": {
85
- "original": "HTMLElement",
86
- "resolved": "HTMLElement",
87
- "references": {
88
- "HTMLElement": {
89
- "location": "global"
90
- }
91
- }
92
- }
93
- }]; }
94
28
  static get elementRef() { return "element"; }
95
- static get watchers() { return [{
96
- "propName": "open",
97
- "methodName": "openChanged"
98
- }]; }
99
29
  static get listeners() { return [{
100
- "name": "click",
101
- "method": "onClick",
30
+ "name": "expansionLoad",
31
+ "method": "onExpansionLoad",
32
+ "target": undefined,
33
+ "capture": false,
34
+ "passive": false
35
+ }, {
36
+ "name": "expansionOpen",
37
+ "method": "onExpansionOpen",
102
38
  "target": undefined,
103
39
  "capture": false,
104
40
  "passive": false
@@ -1,14 +1,8 @@
1
1
  :host {
2
2
  display: table-row;
3
3
  border: 1px solid rgb(var(--smoothly-dark-color), 0.5);
4
- cursor: pointer;
4
+ cursor: default;
5
5
  }
6
- :host:nth-child(even) {
7
- background-color: rgb(var(--smoothly-default-color));
8
- }
9
- :host:hover {
10
- background-color: rgb(var(--smoothly-default-color));
11
- }
12
- .hide{
6
+ .hide {
13
7
  display: none;
14
8
  }
@@ -1,9 +1,14 @@
1
1
  :host {
2
2
  display: table;
3
3
  text-align: left;
4
- border-collapse: collapse;
5
- border: 3px solid rgb(var(--smoothly-dark-color), 0.5);
6
- width: 100%;
4
+ border: 1px solid rgb(var(--smoothly-dark-color));
5
+ width: 80%;
7
6
  box-sizing: border-box;
8
7
  background-color: rgb(var(--smoothly-default-color));
8
+ margin: 1rem 9.5%;
9
+ padding-bottom: 0.5rem;
10
+ }
11
+ .slot-detail > div {
12
+ padding: 10rem 0;
13
+ margin-left: 10rem;
9
14
  }
@@ -1715,7 +1715,7 @@ const SmoothlyBacktotop$1 = class extends HTMLElement {
1715
1715
  static get style() { return styleCss$I; }
1716
1716
  };
1717
1717
 
1718
- const styleCss$H = "[type=link].sc-smoothly-button-h{display:inline}.sc-smoothly-button-h:not([type=link]){display:block}.sc-smoothly-button-h{margin:1em;border-style:solid;border-width:1px;border-radius:3px}[hidden].sc-smoothly-button-h{display:none}[disabled].sc-smoothly-button-h{opacity:0.5}a.sc-smoothly-button,button.sc-smoothly-button{border-color:transparent;background-color:transparent;padding:0.2em 0.3em;font-size:110%;font-weight:400}.sc-smoothly-button-h:not([disabled]):hover,.sc-smoothly-button-h:not([disabled]):focus,.sc-smoothly-button-h:not([disabled]):active{border-color:var(--smoothly-button-border)}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{display:block;text-align:center;text-decoration:inherit}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{width:calc(100% - 0.6em)}.sc-smoothly-button-h>button.sc-smoothly-button{width:100%}[expand=fill].sc-smoothly-button-h{width:100%;border-left:none;border-right:none}";
1718
+ const styleCss$H = "[type=link].sc-smoothly-button-h{display:inline}.sc-smoothly-button-h:not([type=link]){display:block}.sc-smoothly-button-h{margin:1em;border-style:solid;border-width:1px;border-radius:3px}[hidden].sc-smoothly-button-h{display:none}[disabled].sc-smoothly-button-h{opacity:0.5}a.sc-smoothly-button,button.sc-smoothly-button{display:block;border-color:transparent;background-color:transparent;padding:0.2em 0.3em;font-size:110%;font-weight:400}.sc-smoothly-button-h:not([disabled]):hover,.sc-smoothly-button-h:not([disabled]):focus,.sc-smoothly-button-h:not([disabled]):active{border-color:var(--smoothly-button-border)}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{display:block;text-align:center;text-decoration:inherit}[type=button].sc-smoothly-button-h>a.sc-smoothly-button{width:calc(100% - 0.6em)}.sc-smoothly-button-h>button.sc-smoothly-button{width:100%}[expand=fill].sc-smoothly-button-h{width:100%;border-left:none;border-right:none}";
1719
1719
 
1720
1720
  const SmoothlyButton$1 = class extends HTMLElement {
1721
1721
  constructor() {
@@ -47463,7 +47463,9 @@ const SmoothlyInput$1 = class extends HTMLElement {
47463
47463
  constructor() {
47464
47464
  super();
47465
47465
  this.__registerHost();
47466
- this.smoothlyChanged = createEvent(this, "smoothlyChanged", 7);
47466
+ this.smoothlyBlur = createEvent(this, "smoothlyBlur", 7);
47467
+ this.smoothlyChange = createEvent(this, "smoothlyChange", 7);
47468
+ this.smoothlyInput = createEvent(this, "smoothlyInput", 7);
47467
47469
  this.keepFocusOnReRender = false;
47468
47470
  this.type = "text";
47469
47471
  this.required = false;
@@ -47472,6 +47474,7 @@ const SmoothlyInput$1 = class extends HTMLElement {
47472
47474
  this.maxLength = Number.POSITIVE_INFINITY;
47473
47475
  this.autocomplete = true;
47474
47476
  this.disabled = false;
47477
+ this.readonly = false;
47475
47478
  }
47476
47479
  get formatter() {
47477
47480
  let result;
@@ -47497,7 +47500,7 @@ const SmoothlyInput$1 = class extends HTMLElement {
47497
47500
  if (value != before) {
47498
47501
  if (typeof value == "string")
47499
47502
  value = value.trim();
47500
- this.smoothlyChanged.emit({ name: this.name, value });
47503
+ this.smoothlyInput.emit({ name: this.name, value });
47501
47504
  }
47502
47505
  }
47503
47506
  onCurrency() {
@@ -47547,8 +47550,14 @@ const SmoothlyInput$1 = class extends HTMLElement {
47547
47550
  const after = this.formatter.format(dist.StateEditor.copy(this.formatter.unformat(dist.StateEditor.copy(Object.assign({}, this.state)))));
47548
47551
  this.updateBackend(after, this.inputElement);
47549
47552
  }
47550
- onBlur(event) { }
47553
+ onBlur(event) {
47554
+ this.smoothlyBlur.emit();
47555
+ if (this.initialValue != this.value)
47556
+ this.smoothlyChange.emit({ name: this.name, value: this.value });
47557
+ this.initialValue = undefined;
47558
+ }
47551
47559
  onFocus(event) {
47560
+ this.initialValue = this.value;
47552
47561
  const after = this.formatter.format(dist.StateEditor.copy(this.formatter.unformat(dist.StateEditor.copy(Object.assign({}, this.state)))));
47553
47562
  if (event.target)
47554
47563
  this.updateBackend(after, event.target);
@@ -47624,8 +47633,10 @@ const SmoothlyInput$1 = class extends HTMLElement {
47624
47633
  return value;
47625
47634
  }
47626
47635
  processKey(event, backend) {
47627
- const after = dist.Action.apply(this.formatter, this.state, event);
47628
- this.updateBackend(after, backend);
47636
+ if (!this.readonly) {
47637
+ const after = dist.Action.apply(this.formatter, this.state, event);
47638
+ this.updateBackend(after, backend);
47639
+ }
47629
47640
  }
47630
47641
  updateBackend(after, backend) {
47631
47642
  if (after.value != backend.value)
@@ -47640,7 +47651,7 @@ const SmoothlyInput$1 = class extends HTMLElement {
47640
47651
  }
47641
47652
  render() {
47642
47653
  var _a, _b, _c, _d, _e, _f, _g;
47643
- return (h(Host, { class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("div", null, h("input", { name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_d = this.state) === null || _d === void 0 ? void 0 : _d.autocomplete : "off", disabled: this.disabled, pattern: ((_e = this.state) === null || _e === void 0 ? void 0 : _e.pattern) && ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern.source), value: (_g = this.state) === null || _g === void 0 ? void 0 : _g.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }), h("label", { htmlFor: this.name }, h("slot", null)), h("smoothly-icon", { name: "alert-circle", color: "danger", fill: "clear", size: "small" }))));
47654
+ return (h(Host, { class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("div", null, h("input", { name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_d = this.state) === null || _d === void 0 ? void 0 : _d.autocomplete : "off", disabled: this.disabled, readOnly: this.readonly, pattern: ((_e = this.state) === null || _e === void 0 ? void 0 : _e.pattern) && ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern.source), value: (_g = this.state) === null || _g === void 0 ? void 0 : _g.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }), h("label", { htmlFor: this.name }, h("slot", null)), h("smoothly-icon", { name: "alert-circle", color: "danger", fill: "clear", size: "small" }))));
47644
47655
  }
47645
47656
  static get watchers() { return {
47646
47657
  "value": ["valueWatcher"],
@@ -47653,7 +47664,7 @@ function getLocale() {
47653
47664
  return dist$2.Locale.is(result) ? result : dist$2.Language.is(result) ? dist$2.Locale.toLocale(result) : undefined;
47654
47665
  }
47655
47666
 
47656
- const styleCss$w = ".sc-smoothly-input-date-h{position:relative}nav.sc-smoothly-input-date{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-default-shade));max-width:22em}.sc-smoothly-input-date-h>div.sc-smoothly-input-date{position:fixed;top:0px;left:0px;right:0px;bottom:0px;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-h>nav.sc-smoothly-input-date>.arrow.sc-smoothly-input-date{position:absolute;z-index:9;transform:translate(2em, -.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-default-shade))}";
47667
+ const styleCss$w = ".sc-smoothly-input-date-h{position:relative}nav.sc-smoothly-input-date{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-default-shade));max-width:22em}.sc-smoothly-input-date-h>div.sc-smoothly-input-date{position:fixed;top:0px;left:0px;right:0px;bottom:0px;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-h>nav.sc-smoothly-input-date>.arrow.sc-smoothly-input-date{position:absolute;z-index:9;transform:translate(2em, -0.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-default-shade))}";
47657
47668
 
47658
47669
  const InputDate = class extends HTMLElement {
47659
47670
  constructor() {
@@ -47671,7 +47682,7 @@ const InputDate = class extends HTMLElement {
47671
47682
  render() {
47672
47683
  var _a;
47673
47684
  return [
47674
- h("smoothly-input", { onClick: () => (this.open = !this.open), disabled: this.disabled, type: "date", value: this.value, onSmoothlyChanged: e => (this.value = e.detail.value) }, h("slot", null)),
47685
+ h("smoothly-input", { onClick: () => (this.open = !this.open), disabled: this.disabled, type: "date", value: this.value, onSmoothlyInput: e => (this.value = e.detail.value) }, h("slot", null)),
47675
47686
  this.open && !this.disabled
47676
47687
  ? [
47677
47688
  h("div", { onClick: () => (this.open = false) }),
@@ -47717,7 +47728,7 @@ const InputDateRange = class extends HTMLElement {
47717
47728
  render() {
47718
47729
  var _a;
47719
47730
  return [
47720
- h("section", { onClick: () => (this.open = !this.open) }, h("smoothly-input", { type: "date", value: this.start, showLabel: this.showLabel, onSmoothlyChanged: e => (this.start = e.detail.value) }, "from"), h("span", null, "\u2013"), h("smoothly-input", { type: "date", showLabel: this.showLabel, value: this.end, onSmoothlyChanged: e => (this.end = e.detail.value) }, "to")),
47731
+ h("section", { onClick: () => (this.open = !this.open) }, h("smoothly-input", { type: "date", value: this.start, showLabel: this.showLabel, onSmoothlyInput: e => (this.start = e.detail.value) }, "from"), h("span", null, "\u2013"), h("smoothly-input", { type: "date", showLabel: this.showLabel, value: this.end, onSmoothlyInput: e => (this.end = e.detail.value) }, "to")),
47721
47732
  this.open ? h("div", { onClick: () => (this.open = false) }) : [],
47722
47733
  this.open ? (h("nav", null, h("div", { class: "arrow" }), h("smoothly-calendar", { doubleInput: true, value: (_a = this.value) !== null && _a !== void 0 ? _a : dist$2.Date.now(), onValueChanged: event => {
47723
47734
  this.value = event.detail;
@@ -47738,7 +47749,7 @@ const SmoothlyInputDemo$1 = class extends HTMLElement {
47738
47749
  }
47739
47750
  render() {
47740
47751
  return [
47741
- h("form", { action: "done", style: { position: "relative" } }, h("header", null, h("h5", null, "Address")), h("main", null, h("smoothly-input", { type: "text", name: "name" }, "Name"), h("smoothly-input", { type: "date", name: "date" }, "Date"), h("smoothly-input", { type: "date-time", name: "date-time" }, "Date-Time"), h("smoothly-input", { type: "divisor", name: "divisor" }, "Divisor"), h("smoothly-input", { type: "text", name: "street", value: "street" }, "Street"), h("smoothly-input", { type: "card-number", name: "card" }, "Card #"), h("smoothly-input", { type: "card-expires", name: "card", style: { width: "calc(60% - 2px)" } }, "Expires"), h("smoothly-input", { type: "card-csc", name: "card", style: { width: "calc(40% - 1px)", borderLeft: "none" } }, "CVV/CVC"), h("smoothly-radio", { name: "option", value: "1" }, "option 1"), h("smoothly-radio", { name: "option", value: "2", checked: true }, "option 2"), h("smoothly-radio", { name: "option", value: "3" }, "option 3"), h("smoothly-accordion", null, h("smoothly-accordion-item", { name: "A", open: true }, h("smoothly-radio", { name: "a", value: "1" }, "a 1"), h("smoothly-radio", { name: "a", value: "2", checked: true }, "a 2"), h("smoothly-radio", { name: "a", value: "3" }, "a 3")), h("smoothly-accordion-item", { name: "B" }, h("smoothly-radio", { name: "b", value: "1" }, "b 1"), h("smoothly-radio", { name: "b", value: "2" }, "b 2"), h("smoothly-radio", { name: "b", value: "3" }, "b 3"))), h("smoothly-display-amount", { currency: "SEK", amount: "1289.5" }), h("smoothly-display-date-time", { datetime: "2019-01-31T20:01:34" }), h("smoothly-checkbox", { selectAll: true, intermediate: true }), h("smoothly-checkbox", null), h("smoothly-checkbox", { disabled: true }), h("smoothly-address-display", { value: '{ "countryCode": "SE", "street": "Korkstigen 2", "zipCode": "654 31", "city": "Fejksala" }' }), h("smoothly-address", { editable: false, value: '{ "countryCode": "SE", "street": "Stigv\u00E4gen 34", "zipCode": "123 45", "city": "Hobbiton" }' }), h("smoothly-addresses", { allowed: "billing delivery visit", editable: true, value: '{ "billing": { "countryCode": "SE", "street": "Rundslingan 3", "zipCode": "987 65", "city": "Klotby" }, "visit": { "countryCode": "SE", "street": "G\u00E5ngbanan 34", "zipCode": "543 21", "city": "Trasktr\u00E4sk" } }' }), h("smoothly-input", { type: "postal-code", name: "zip", style: { width: "calc(60% - 2px)" } }, "ZipCode"), h("smoothly-input", { type: "text", name: "testing" }, "Texttest"), h("smoothly-input", { type: "password", name: "password" }, "Password"), h("smoothly-input", { type: "email", name: "email" }, "Email"), h("smoothly-input", { type: "price", currency: "SEK", name: "price" }, "Price"), h("smoothly-input", { type: "percent", name: "percent" }, "Percent"), h("smoothly-input", { type: "phone", name: "phone" }, "Phone"), h("smoothly-input-date", null, "Date")), h("footer", null, h("smoothly-submit", { expand: "block", onSubmit: (e) => alert(e), color: "success" }, "Submit"), h("smoothly-trigger", { expand: "block", color: "success", onClick: (e) => console.log(e.detail) }, "Trigger"))),
47752
+ h("form", { action: "done", style: { position: "relative" } }, h("header", null, h("h5", null, "Address")), h("main", null, h("smoothly-input", { type: "text", name: "name", readonly: true, value: "Readonly", onSmoothlyBlur: () => console.log("smoothly blur") }, "Readonly"), h("smoothly-input", { type: "text", name: "name", onSmoothlyChange: e => console.log("smoothly change event") }, "Name"), h("smoothly-input", { type: "date", name: "date" }, "Date"), h("smoothly-input", { type: "date-time", name: "date-time" }, "Date-Time"), h("smoothly-input", { type: "divisor", name: "divisor" }, "Divisor"), h("smoothly-input", { type: "text", name: "street", value: "street" }, "Street"), h("smoothly-input", { type: "card-number", name: "card" }, "Card #"), h("smoothly-input", { type: "card-expires", name: "card", style: { width: "calc(60% - 2px)" } }, "Expires"), h("smoothly-input", { type: "card-csc", name: "card", style: { width: "calc(40% - 1px)", borderLeft: "none" } }, "CVV/CVC"), h("smoothly-radio", { name: "option", value: "1" }, "option 1"), h("smoothly-radio", { name: "option", value: "2", checked: true }, "option 2"), h("smoothly-radio", { name: "option", value: "3" }, "option 3"), h("smoothly-accordion", null, h("smoothly-accordion-item", { name: "A", open: true }, h("smoothly-radio", { name: "a", value: "1" }, "a 1"), h("smoothly-radio", { name: "a", value: "2", checked: true }, "a 2"), h("smoothly-radio", { name: "a", value: "3" }, "a 3")), h("smoothly-accordion-item", { name: "B" }, h("smoothly-radio", { name: "b", value: "1" }, "b 1"), h("smoothly-radio", { name: "b", value: "2" }, "b 2"), h("smoothly-radio", { name: "b", value: "3" }, "b 3"))), h("smoothly-display-amount", { currency: "SEK", amount: "1289.5" }), h("smoothly-display-date-time", { datetime: "2019-01-31T20:01:34" }), h("smoothly-checkbox", { selectAll: true, intermediate: true }), h("smoothly-checkbox", null), h("smoothly-checkbox", { disabled: true }), h("smoothly-address-display", { value: '{ "countryCode": "SE", "street": "Korkstigen 2", "zipCode": "654 31", "city": "Fejksala" }' }), h("smoothly-address", { editable: false, value: '{ "countryCode": "SE", "street": "Stigv\u00E4gen 34", "zipCode": "123 45", "city": "Hobbiton" }' }), h("smoothly-addresses", { allowed: "billing delivery visit", editable: true, value: '{ "billing": { "countryCode": "SE", "street": "Rundslingan 3", "zipCode": "987 65", "city": "Klotby" }, "visit": { "countryCode": "SE", "street": "G\u00E5ngbanan 34", "zipCode": "543 21", "city": "Trasktr\u00E4sk" } }' }), h("smoothly-input", { type: "postal-code", name: "zip", style: { width: "calc(60% - 2px)" } }, "ZipCode"), h("smoothly-input", { type: "text", name: "testing" }, "Texttest"), h("smoothly-input", { type: "password", name: "password" }, "Password"), h("smoothly-input", { type: "email", name: "email" }, "Email"), h("smoothly-input", { type: "price", currency: "SEK", name: "price" }, "Price"), h("smoothly-input", { type: "percent", name: "percent" }, "Percent"), h("smoothly-input", { type: "phone", name: "phone" }, "Phone"), h("smoothly-input-date", null, "Date")), h("footer", null, h("smoothly-submit", { expand: "block", onSubmit: (e) => alert(e), color: "success" }, "Submit"), h("smoothly-trigger", { expand: "block", color: "success", onClick: (e) => console.log(e.detail) }, "Trigger"))),
47742
47753
  h("smoothly-backtotop", null),
47743
47754
  ];
47744
47755
  }
@@ -47776,7 +47787,7 @@ const MonthSelector = class extends HTMLElement {
47776
47787
  static get style() { return styleCss$u; }
47777
47788
  };
47778
47789
 
47779
- const styleCss$t = "[selected].sc-smoothly-item-h{background-color:rgb(var(--smoothly-primary-shade));color:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-item-h{padding:.5em;cursor:pointer;background-color:rgb(var(--smoothly-default-shade));color:rgb(var(--smoothly-default-contrast));border:rgb(var(--smoothly-default-shade) solid 1px)}.sc-smoothly-item-h:hover{background-color:rgb(var(--smoothly-primary-color));color:rgb(var(--smoothly-primary-contrast))}";
47790
+ const styleCss$t = "[selected].sc-smoothly-item-h{background-color:rgb(var(--smoothly-primary-shade));color:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-item-h{padding:0.5em;cursor:pointer;background-color:rgb(var(--smoothly-default-shade));color:rgb(var(--smoothly-default-contrast));border:rgb(var(--smoothly-default-shade) solid 1px)}.sc-smoothly-item-h:hover{background-color:rgb(var(--smoothly-primary-color));color:rgb(var(--smoothly-primary-contrast))}";
47780
47791
 
47781
47792
  const Item = class extends HTMLElement {
47782
47793
  constructor() {
@@ -48751,6 +48762,7 @@ const SmoothlyTabSwitch$1 = class extends HTMLElement {
48751
48762
  this.__registerHost();
48752
48763
  }
48753
48764
  openChanged(event) {
48765
+ event.stopPropagation();
48754
48766
  this.selectedElement = event.target;
48755
48767
  this.selectedElement.open = true;
48756
48768
  this.element.after(event.detail);
@@ -48769,12 +48781,16 @@ const SmoothlyTabSwitch$1 = class extends HTMLElement {
48769
48781
  static get style() { return styleCss$a; }
48770
48782
  };
48771
48783
 
48772
- const styleCss$9 = ".sc-smoothly-table-h{display:table;text-align:left;border-collapse:collapse;border:3px solid rgb(var(--smoothly-dark-color), 0.5);width:100%;box-sizing:border-box;background-color:rgb(var(--smoothly-default-color))}";
48784
+ const styleCss$9 = ".sc-smoothly-table-h{display:table;text-align:left;border:1px solid rgb(var(--smoothly-dark-color));width:80%;box-sizing:border-box;background-color:rgb(var(--smoothly-default-color));margin:1rem 9.5%;padding-bottom:0.5rem}.slot-detail.sc-smoothly-table>div.sc-smoothly-table{padding:10rem 0;margin-left:10rem}";
48773
48785
 
48774
48786
  const Table = class extends HTMLElement {
48775
48787
  constructor() {
48776
48788
  super();
48777
48789
  this.__registerHost();
48790
+ this.loadMore = createEvent(this, "loadMore", 7);
48791
+ }
48792
+ handleEvents(event) {
48793
+ event.stopPropagation();
48778
48794
  }
48779
48795
  render() {
48780
48796
  return [h("slot", null)];
@@ -48783,7 +48799,7 @@ const Table = class extends HTMLElement {
48783
48799
  static get style() { return styleCss$9; }
48784
48800
  };
48785
48801
 
48786
- const styleCss$8 = ".sc-smoothly-table-cell-h{display:table-cell;padding:0.5em}";
48802
+ const styleCss$8 = ".sc-smoothly-table-cell-h{display:table-cell;vertical-align:middle;line-height:1.5rem;padding:0.2rem 0 0.2rem 1rem}";
48787
48803
 
48788
48804
  const TableCell = class extends HTMLElement {
48789
48805
  constructor() {
@@ -48805,21 +48821,21 @@ const TableDemo = class extends HTMLElement {
48805
48821
  }
48806
48822
  render() {
48807
48823
  return [
48808
- h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header A"), h("smoothly-table-header", null, "Header B"), h("smoothly-table-header", null, "Header C")), h("smoothly-table-expandable-row", null, h("smoothly-table-expandable-cell", null, "Value 1A", h("div", { slot: "detail" }, "1A details")), h("smoothly-table-expandable-cell", null, h("smoothly-display", { type: "price", value: 20, currency: "EUR" }), h("div", { slot: "detail" }, "Budget details.")), h("smoothly-table-expandable-cell", null, h("smoothly-display", { type: "price", value: 18, currency: "EUR" }), h("div", { slot: "detail" }, "Cost details."))), h("smoothly-table-expandable-row", null, h("smoothly-table-expandable-cell", null, "Value 1A", h("div", { slot: "detail" }, "2A details")), h("smoothly-table-expandable-cell", null, h("smoothly-display", { type: "price", value: 30, currency: "EUR" }), h("div", { slot: "detail" }, "Budget details.")), h("smoothly-table-expandable-cell", null, h("smoothly-display", { type: "price", value: 38, currency: "EUR" }), h("div", { slot: "detail" }, "Cost details.")))),
48809
- h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header D"), h("smoothly-table-header", null, "Header E"), h("smoothly-table-header", null, "Header F")), h("smoothly-table-row", null, h("smoothly-table-cell", null, "Value 1A"), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: 20, currency: "EUR" })), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: 18, currency: "EUR" })), h("div", { slot: "detail" }, "Cost details.")), h("smoothly-table-row", null, h("smoothly-table-cell", null, "Value 1A"), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: 20, currency: "EUR" })), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: 18, currency: "EUR" })), h("div", { slot: "detail" }, "Cost details."))),
48824
+ h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header A"), h("smoothly-table-header", null, "Header B"), h("smoothly-table-header", null, "Header C"), h("smoothly-table-header", null, "Header D"), h("smoothly-table-header", null)), h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, "normal row (exp.cell)", h("div", { slot: "detail" }, "expandable cell 1 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 2 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 3 content")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell 4 content"))), h("smoothly-table-row", null, h("smoothly-table-cell", null, "normal row (nor.cell)\""), h("smoothly-table-cell", null, "normal cell"), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell details.")), h("smoothly-table-expandable-cell", null, "expandable cell", h("div", { slot: "detail" }, "expandable cell details."))), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "expandable row (nor.cell)"), h("smoothly-table-cell", null, "Normal cell"), h("smoothly-table-cell", null, "normal cell"), h("smoothly-table-cell", null, "Normal cell"), h("div", { slot: "detail" }, "expandable row content"))),
48825
+ h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header A"), h("smoothly-table-header", null)), h("smoothly-table-expandable-row", null, "A Content", h("div", { slot: "detail" }, h("smoothly-tab-switch", null, h("smoothly-tab", { label: "1", open: true }, h("smoothly-table", null, h("smoothly-table-row", null, h("smoothly-table-header", null, "Header B"), h("smoothly-table-header", null)), h("smoothly-table-expandable-row", null, h("smoothly-table-cell", null, "B Content")))))))),
48810
48826
  ];
48811
48827
  }
48812
48828
  static get style() { return styleCss$7; }
48813
48829
  };
48814
48830
 
48815
- const styleCss$6 = ".sc-smoothly-table-expandable-cell-h{display:table-cell;padding:0.5em}.hide.sc-smoothly-table-expandable-cell{display:none}";
48831
+ const styleCss$6 = ".sc-smoothly-table-expandable-cell-h{display:table-cell;vertical-align:middle;line-height:1.5em;cursor:pointer;padding:0.2em 0 0.2em;border-style:solid solid none solid;border-width:2px;border-color:rgb(var(--smoothly-default-color))}.hide.sc-smoothly-table-expandable-cell{display:none}[open].sc-smoothly-table-expandable-cell-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));border-style:solid solid none solid;border-width:2px;border-color:rgb(var(--smoothly-dark-color))}.slot-detail.sc-smoothly-table-expandable-cell{position:relative;background-color:rgb(var(--smoothly-default-color));width:104%;left:-2%;border-left-style:solid;border-left-color:rgb(var(--smoothly-tertiary-color));box-shadow:0px 0px 5px 4px rgb(var(--smoothly-dark-color), 0.5);box-sizing:border-box;padding:0.5rem 2%}.sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{width:0.6rem;height:1rem;float:left;padding-left:0.2rem;padding-right:0.2rem;padding-bottom:0.5rem;transition:transform 0.2s}[open].sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{transform:rotate(90deg)}";
48816
48832
 
48817
48833
  const TableExpandableCell = class extends HTMLElement {
48818
48834
  constructor() {
48819
48835
  super();
48820
48836
  this.__registerHost();
48821
48837
  this.expansionOpen = createEvent(this, "expansionOpen", 7);
48822
- this.expansionLoaded = createEvent(this, "expansionLoaded", 7);
48838
+ this.expansionLoad = createEvent(this, "expansionLoad", 7);
48823
48839
  this.align = "left";
48824
48840
  }
48825
48841
  openChanged(value) {
@@ -48833,7 +48849,7 @@ const TableExpandableCell = class extends HTMLElement {
48833
48849
  this.open = !this.open;
48834
48850
  }
48835
48851
  componentDidLoad() {
48836
- this.expansionLoaded.emit();
48852
+ this.expansionLoad.emit();
48837
48853
  }
48838
48854
  componentDidRender() {
48839
48855
  if (this.beginOpen) {
@@ -48842,7 +48858,7 @@ const TableExpandableCell = class extends HTMLElement {
48842
48858
  }
48843
48859
  }
48844
48860
  render() {
48845
- return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 500, class: !this.open ? "hide" : "" }, h("slot", { name: "detail" })))));
48861
+ return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-icon", { name: "chevron-forward", size: "tiny" }), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("div", { class: "slot-detail" }, h("slot", { name: "detail" }))))));
48846
48862
  }
48847
48863
  get element() { return this; }
48848
48864
  static get watchers() { return {
@@ -48851,33 +48867,39 @@ const TableExpandableCell = class extends HTMLElement {
48851
48867
  static get style() { return styleCss$6; }
48852
48868
  };
48853
48869
 
48854
- const styleCss$5 = ".sc-smoothly-table-expandable-row-h{display:table-row;border:1px solid rgb(var(--smoothly-default-color));cursor:pointer}.sc-smoothly-table-expandable-row-h:nth-child(even){background-color:rgb(var(--smoothly-default-tint))}.sc-smoothly-table-expandable-row-h:hover{background-color:rgb(var(--smoothly-default-color))}";
48870
+ const styleCss$5 = ".sc-smoothly-table-expandable-row-h{display:table-row;border:1px solid rgb(var(--smoothly-default-color));cursor:pointer;box-sizing:border-box}.hide.sc-smoothly-table-expandable-row{display:none}.slot-detail.sc-smoothly-table-expandable-row{position:relative;background-color:rgb(var(--smoothly-default-color));width:104%;left:-2%;border-left-style:solid;border-left-color:rgb(var(--smoothly-tertiary-color));box-shadow:0px 0px 5px 2px rgb(var(--smoothly-dark-color), 0.5);box-sizing:border-box;padding:0.5rem 2%}.sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{width:0.6rem;height:1rem;float:left;padding-left:0.2rem;padding-right:0.2rem;padding-bottom:0.5rem;transition:transform 0.2s}[open].sc-smoothly-table-expandable-row-h smoothly-icon.sc-smoothly-table-expandable-row{transform:rotate(90deg)}[open].sc-smoothly-table-expandable-row-h smoothly-table-cell.sc-smoothly-table-expandable-row{padding-bottom:0.5rem}[open].sc-smoothly-table-expandable-row-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-default-color));border-style:solid;border-width:5px;box-shadow:inset 2px 0px 0px 0px rgb(var(--smoothly-dark-color)), inset 0px 2px 0px 0px rgb(var(--smoothly-dark-color)), inset -2px 0px 0px 0px rgb(var(--smoothly-dark-color)), inset 0px 0px 0px 2px rgb(var(--smoothly-default-color))}";
48855
48871
 
48856
48872
  const TableExpandableRow = class extends HTMLElement {
48857
48873
  constructor() {
48858
48874
  super();
48859
48875
  this.__registerHost();
48860
- this.expansions = [];
48876
+ this.expansionOpen = createEvent(this, "expansionOpen", 7);
48877
+ this.align = "left";
48861
48878
  }
48862
- onExpansionLoaded(event) {
48863
- this.expansions.push(event.target);
48879
+ openChanged(value) {
48880
+ if (this.expansionElement)
48881
+ this.element.after(this.expansionElement);
48864
48882
  }
48865
- onDetailsLoaded(event) {
48866
- this.expansions.forEach(cell => {
48867
- if (cell != event.target)
48868
- cell.open = false;
48869
- });
48870
- if (event.detail)
48871
- this.element.after(event.detail);
48883
+ onClick(e) {
48884
+ this.open = !this.open;
48885
+ e.stopPropagation();
48886
+ }
48887
+ componentDidRender() {
48888
+ this.expansionOpen.emit(this.expansionElement);
48889
+ if (this.expansionElement && this.open)
48890
+ this.element.after(this.expansionElement);
48872
48891
  }
48873
48892
  render() {
48874
- return (h(Host, null, h("slot", null)));
48893
+ return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("smoothly-table-cell", null, h("smoothly-icon", { name: "chevron-forward", size: "tiny" })), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 999, class: !this.open ? "hide" : "" }, h("div", { class: "slot-detail" }, h("slot", { name: "detail" }))))));
48875
48894
  }
48876
48895
  get element() { return this; }
48896
+ static get watchers() { return {
48897
+ "open": ["openChanged"]
48898
+ }; }
48877
48899
  static get style() { return styleCss$5; }
48878
48900
  };
48879
48901
 
48880
- const styleCss$4 = ".sc-smoothly-table-header-h{display:table-cell;padding:0.75rem 0.5rem;background-color:rgb(var(--smoothly-default-color));border:1px solid rgb(var(--smoothly-dark-color), 0.5);line-height:2.5rem}";
48902
+ const styleCss$4 = ".sc-smoothly-table-header-h{display:table-cell;line-height:2.5rem;background-color:rgb(var(--smoothly-color-shade));border-bottom:1px solid rgb(var(--smoothly-dark-color));padding-left:1rem;font-weight:bold;margin-bottom:5rem}";
48881
48903
 
48882
48904
  const TableHeader = class extends HTMLElement {
48883
48905
  constructor() {
@@ -48885,40 +48907,34 @@ const TableHeader = class extends HTMLElement {
48885
48907
  this.__registerHost();
48886
48908
  }
48887
48909
  render() {
48888
- return h("slot", null);
48910
+ return (h(Host, null, h("slot", null)));
48889
48911
  }
48890
48912
  static get style() { return styleCss$4; }
48891
48913
  };
48892
48914
 
48893
- const styleCss$3 = ".sc-smoothly-table-row-h{display:table-row;border:1px solid rgb(var(--smoothly-dark-color), 0.5);cursor:pointer}.sc-smoothly-table-row-h:nth-child(even){background-color:rgb(var(--smoothly-default-color))}.sc-smoothly-table-row-h:hover{background-color:rgb(var(--smoothly-default-color))}.hide.sc-smoothly-table-row{display:none}";
48915
+ const styleCss$3 = ".sc-smoothly-table-row-h{display:table-row;border:1px solid rgb(var(--smoothly-dark-color), 0.5);cursor:default}.hide.sc-smoothly-table-row{display:none}";
48894
48916
 
48895
48917
  const TableRow = class extends HTMLElement {
48896
48918
  constructor() {
48897
48919
  super();
48898
48920
  this.__registerHost();
48899
- this.expansionOpen = createEvent(this, "expansionOpen", 7);
48900
- this.align = "left";
48901
- }
48902
- openChanged(value) {
48903
- if (this.expansionElement)
48904
- this.element.after(this.expansionElement);
48921
+ this.expansions = [];
48905
48922
  }
48906
- onClick(e) {
48907
- this.open = !this.open;
48908
- e.stopPropagation();
48923
+ onExpansionLoad(event) {
48924
+ this.expansions.push(event.target);
48909
48925
  }
48910
- componentDidRender() {
48911
- this.expansionOpen.emit(this.expansionElement);
48912
- if (this.expansionElement && this.open)
48913
- this.element.after(this.expansionElement);
48926
+ onExpansionOpen(event) {
48927
+ this.expansions.forEach(cell => {
48928
+ if (cell != event.target)
48929
+ cell.open = false;
48930
+ });
48931
+ if (event.detail)
48932
+ this.element.after(event.detail);
48914
48933
  }
48915
48934
  render() {
48916
- return (h(Host, { style: { textAlign: this.align } }, h("slot", null), h("tr", { ref: e => (this.expansionElement = e) }, h("td", { colSpan: 500, class: !this.open ? "hide" : "" }, h("slot", { name: "detail" })))));
48935
+ return h("slot", null);
48917
48936
  }
48918
48937
  get element() { return this; }
48919
- static get watchers() { return {
48920
- "open": ["openChanged"]
48921
- }; }
48922
48938
  static get style() { return styleCss$3; }
48923
48939
  };
48924
48940
 
@@ -49042,7 +49058,7 @@ const SmoothlyFrame = /*@__PURE__*/proxyCustomElement(SmoothlyFrame$1, [2,"smoot
49042
49058
  const SmoothlyGoogleFont = /*@__PURE__*/proxyCustomElement(SmoothlyGoogleFont$1, [2,"smoothly-google-font",{"value":[1]}]);
49043
49059
  const SmoothlyIcon = /*@__PURE__*/proxyCustomElement(SmoothlyIcon$1, [2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]);
49044
49060
  const SmoothlyIconDemo = /*@__PURE__*/proxyCustomElement(SmoothlyIconDemo$1, [2,"smoothly-icon-demo"]);
49045
- const SmoothlyInput = /*@__PURE__*/proxyCustomElement(SmoothlyInput$1, [6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"showLabel":[516,"show-label"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513]}]);
49061
+ const SmoothlyInput = /*@__PURE__*/proxyCustomElement(SmoothlyInput$1, [6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"showLabel":[516,"show-label"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"readonly":[1028],"currency":[513],"initialValue":[32]}]);
49046
49062
  const SmoothlyInputDate = /*@__PURE__*/proxyCustomElement(InputDate, [6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]]);
49047
49063
  const SmoothlyInputDateRange = /*@__PURE__*/proxyCustomElement(InputDateRange, [2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]]);
49048
49064
  const SmoothlyInputDemo = /*@__PURE__*/proxyCustomElement(SmoothlyInputDemo$1, [0,"smoothly-input-demo"]);
@@ -49068,13 +49084,13 @@ const SmoothlySubmit = /*@__PURE__*/proxyCustomElement(SmoothlySubmit$1, [6,"smo
49068
49084
  const SmoothlySvg = /*@__PURE__*/proxyCustomElement(SmoothlySvg$1, [2,"smoothly-svg",{"url":[513],"size":[513],"color":[1]}]);
49069
49085
  const SmoothlyTab = /*@__PURE__*/proxyCustomElement(SmoothlyTab$1, [6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]);
49070
49086
  const SmoothlyTabSwitch = /*@__PURE__*/proxyCustomElement(SmoothlyTabSwitch$1, [6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]);
49071
- const SmoothlyTable = /*@__PURE__*/proxyCustomElement(Table, [6,"smoothly-table"]);
49087
+ const SmoothlyTable = /*@__PURE__*/proxyCustomElement(Table, [6,"smoothly-table",null,[[0,"expansionLoad","handleEvents"],[0,"expansionOpen","handleEvents"]]]);
49072
49088
  const SmoothlyTableCell = /*@__PURE__*/proxyCustomElement(TableCell, [6,"smoothly-table-cell"]);
49073
49089
  const SmoothlyTableDemo = /*@__PURE__*/proxyCustomElement(TableDemo, [2,"smoothly-table-demo"]);
49074
- const SmoothlyTableExpandableCell = /*@__PURE__*/proxyCustomElement(TableExpandableCell, [6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]);
49075
- const SmoothlyTableExpandableRow = /*@__PURE__*/proxyCustomElement(TableExpandableRow, [6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]);
49076
- const SmoothlyTableHeader = /*@__PURE__*/proxyCustomElement(TableHeader, [6,"smoothly-table-header"]);
49077
- const SmoothlyTableRow = /*@__PURE__*/proxyCustomElement(TableRow, [6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]);
49090
+ const SmoothlyTableExpandableCell = /*@__PURE__*/proxyCustomElement(TableExpandableCell, [6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540]},[[0,"click","onClick"]]]);
49091
+ const SmoothlyTableExpandableRow = /*@__PURE__*/proxyCustomElement(TableExpandableRow, [6,"smoothly-table-expandable-row",{"align":[1],"open":[1540]},[[0,"click","onClick"]]]);
49092
+ const SmoothlyTableHeader = /*@__PURE__*/proxyCustomElement(TableHeader, [6,"smoothly-table-header",{"name":[1]}]);
49093
+ const SmoothlyTableRow = /*@__PURE__*/proxyCustomElement(TableRow, [6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]]);
49078
49094
  const SmoothlyTrigger = /*@__PURE__*/proxyCustomElement(SmoothlyTrigger$1, [6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]);
49079
49095
  const SmoothlyTriggerSink = /*@__PURE__*/proxyCustomElement(SmoothlyTriggerSink$1, [6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]);
49080
49096
  const SmoothlyTriggerSource = /*@__PURE__*/proxyCustomElement(SmoothlyTriggerSource$1, [6,"smoothly-trigger-source",{"listen":[1]}]);