smoothly 0.1.103 → 0.1.106

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 (56) hide show
  1. package/dist/cjs/{App-ffc56e72.js → App-08e717a8.js} +2 -2
  2. package/dist/cjs/{Notice-9120d311.js → Notice-2496bc28.js} +2 -2
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/smoothly-accordion_48.cjs.entry.js +38 -32
  6. package/dist/cjs/smoothly-app-demo.cjs.entry.js +13 -13
  7. package/dist/cjs/smoothly-app.cjs.entry.js +1 -1
  8. package/dist/cjs/smoothly-menu-options.cjs.entry.js +2 -2
  9. package/dist/cjs/smoothly-option.cjs.entry.js +3 -2
  10. package/dist/cjs/smoothly-picker.cjs.entry.js +17 -11
  11. package/dist/cjs/smoothly-select-demo.cjs.entry.js +1 -1
  12. package/dist/cjs/smoothly-submit.cjs.entry.js +1 -2
  13. package/dist/cjs/smoothly.cjs.js +1 -1
  14. package/dist/collection/components/App.js +2 -2
  15. package/dist/collection/components/app/style.css +111 -41
  16. package/dist/collection/components/app-demo/index.js +17 -17
  17. package/dist/collection/components/menu-options/index.js +3 -1
  18. package/dist/collection/components/menu-options/style.css +8 -5
  19. package/dist/collection/components/option/index.js +22 -3
  20. package/dist/collection/components/option/style.css +28 -10
  21. package/dist/collection/components/picker/index.js +40 -12
  22. package/dist/collection/components/picker/style.css +46 -15
  23. package/dist/collection/components/select-demo/index.js +1 -1
  24. package/dist/collection/components/submit/index.js +1 -2
  25. package/dist/custom-elements/index.js +41 -35
  26. package/dist/{smoothly/App-c5f6000f.js → esm/App-33847333.js} +2 -2
  27. package/dist/esm/{Notice-d87d90f7.js → Notice-819c6f49.js} +2 -2
  28. package/dist/esm/index.js +1 -1
  29. package/dist/esm/loader.js +1 -1
  30. package/dist/esm/smoothly-accordion_48.entry.js +38 -32
  31. package/dist/esm/smoothly-app-demo.entry.js +13 -13
  32. package/dist/esm/smoothly-app.entry.js +1 -1
  33. package/dist/esm/smoothly-menu-options.entry.js +2 -2
  34. package/dist/esm/smoothly-option.entry.js +3 -2
  35. package/dist/esm/smoothly-picker.entry.js +17 -11
  36. package/dist/esm/smoothly-select-demo.entry.js +1 -1
  37. package/dist/esm/smoothly-submit.entry.js +1 -2
  38. package/dist/esm/smoothly.js +1 -1
  39. package/dist/{esm/App-c5f6000f.js → smoothly/App-33847333.js} +2 -2
  40. package/dist/smoothly/index.esm.js +1 -1
  41. package/dist/smoothly/{p-1e768876.js → p-14c6de14.js} +1 -1
  42. package/dist/smoothly/p-c43da6c0.entry.js +1 -0
  43. package/dist/smoothly/smoothly-app-demo.entry.js +13 -13
  44. package/dist/smoothly/smoothly-app.entry.js +1 -1
  45. package/dist/smoothly/smoothly-menu-options.entry.js +2 -2
  46. package/dist/smoothly/smoothly-option.entry.js +3 -2
  47. package/dist/smoothly/smoothly-picker.entry.js +17 -11
  48. package/dist/smoothly/smoothly-select-demo.entry.js +1 -1
  49. package/dist/smoothly/smoothly-submit.entry.js +1 -2
  50. package/dist/smoothly/smoothly.esm.js +1 -1
  51. package/dist/types/components/option/index.d.ts +1 -0
  52. package/dist/types/components/picker/index.d.ts +3 -2
  53. package/dist/types/components.d.ts +4 -0
  54. package/dist/types/model/OptionType.d.ts +3 -1
  55. package/package.json +1 -1
  56. package/dist/smoothly/p-3160a740.entry.js +0 -1
@@ -123,5 +123,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
123
123
 
124
124
  patchBrowser().then(options => {
125
125
  appGlobals.globalScripts();
126
- return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[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"]]]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-picker.cjs",[[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.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-backtotop.cjs",[[2,"smoothly-backtotop",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"size":[1],"intermediate":[1540],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet.cjs",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon.cjs",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025]},[[0,"dateSet","dateSetHandler"]]]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-menu-options.cjs",[[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.cjs",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time.cjs",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516],"size":[513]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}]]],["smoothly-input.cjs",[[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],"getFormData":[64],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
126
+ return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[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"]]]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-picker.cjs",[[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"],"selectionName":[1025,"selection-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-backtotop.cjs",[[2,"smoothly-backtotop",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"size":[1],"intermediate":[1540],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet.cjs",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon.cjs",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025]},[[0,"dateSet","dateSetHandler"]]]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-menu-options.cjs",[[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.cjs",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time.cjs",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537],"divider":[1540]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516],"size":[513]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}]]],["smoothly-input.cjs",[[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],"getFormData":[64],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
127
127
  });
@@ -21,7 +21,6 @@ export const App = (attributes, nodes, utils) => {
21
21
  h("header", null,
22
22
  h("h1", null,
23
23
  h("a", Object.assign({}, href((_a = resolve("")) !== null && _a !== void 0 ? _a : "/")), attributes.label)),
24
- children.filter(child => { var _a; return ((_a = child.vattrs) === null || _a === void 0 ? void 0 : _a.slot) == "header"; }).map(child => child.node),
25
24
  h("nav", null,
26
25
  h("ul", null, utils
27
26
  .map([
@@ -54,7 +53,8 @@ export const App = (attributes, nodes, utils) => {
54
53
  const child = nodeToChild(node);
55
54
  return child.vtag == "a" && !((_a = child.vattrs) === null || _a === void 0 ? void 0 : _a.target) ? (h("a", Object.assign({}, child.vattrs, href((_b = child.vattrs) === null || _b === void 0 ? void 0 : _b.href)), child.vchildren)) : (node);
56
55
  })
57
- .map(child => (h("li", null, child)))))),
56
+ .map(child => (h("li", null, child))))),
57
+ children.filter(child => { var _a; return ((_a = child.vattrs) === null || _a === void 0 ? void 0 : _a.slot) == "header"; }).map(child => child.node)),
58
58
  h("content", null,
59
59
  h(Router.Switch, null, children
60
60
  .filter(child => { var _a; return ((_a = child.vattrs) === null || _a === void 0 ? void 0 : _a.path) != undefined; })
@@ -2,17 +2,20 @@ smoothly-app {
2
2
  display: block;
3
3
  scrollbar-width: none;
4
4
  }
5
+
5
6
  smoothly-app[hidden] {
6
7
  display: none;
7
8
  }
9
+
8
10
  smoothly-app[color=default],
9
11
  smoothly-app:not([color]) {
10
- --smoothly-app-background: var(--smoothly-default-shade);
12
+ --smoothly-app-background: var(--smoothly-default-color);
11
13
  --smoothly-app-color: var(--smoothly-default-contrast);
12
14
  --smoothly-app-hover-background: var(--smoothly-primary-color);
13
15
  --smoothly-app-hover-color: var(--smoothly-primary-contrast);
14
16
  --smoothly-app-shadow: var(--smoothly-default-shadow);
15
17
  }
18
+
16
19
  smoothly-app[color=primary] {
17
20
  --smoothly-app-background: var(--smoothly-primary-shade);
18
21
  --smoothly-app-color: var(--smoothly-primary-contrast);
@@ -20,6 +23,7 @@ smoothly-app[color=primary] {
20
23
  --smoothly-app-hover-color: var(--smoothly-secondary-contrast);
21
24
  --smoothly-app-shadow: var(--smoothly-primary-shadow);
22
25
  }
26
+
23
27
  smoothly-app[color=secondary] {
24
28
  --smoothly-app-background: var(--smoothly-secondary-shade);
25
29
  --smoothly-app-color: var(--smoothly-secondary-contrast);
@@ -27,6 +31,7 @@ smoothly-app[color=secondary] {
27
31
  --smoothly-app-hover-color: var(--smoothly-primary-contrast);
28
32
  --smoothly-app-shadow: var(--smoothly-secondary-shadow);
29
33
  }
34
+
30
35
  smoothly-app[color=tertiary],
31
36
  smoothly-app[color=success],
32
37
  smoothly-app[color=warning],
@@ -37,72 +42,137 @@ smoothly-app[color=danger] {
37
42
  --smoothly-app-hover-color: var(--smoothly-default-contrast);
38
43
  --smoothly-app-shadow: var(--smoothly-color-shadow);
39
44
  }
40
- smoothly-app > smoothly-notifier > header {
45
+
46
+ smoothly-app>smoothly-notifier>header {
41
47
  position: fixed;
42
48
  top: 0;
43
49
  left: 0;
44
50
  width: 100%;
45
51
  z-index: 5;
46
- height: 1.6cm;
52
+ height: 90px;
47
53
  background-color: rgb(var(--smoothly-app-background));
48
- color: rgb(var(--smoothly-app-color));
49
- fill: rgb(var(--smoothly-app-color));
50
- stroke: rgb(var(--smoothly-app-color));
54
+ color: rgba(var(--smoothly-medium-color));
55
+ fill: rgb(var(--smoothly-medium-color));
56
+ stroke: rgb(var(--smoothly-medium-color));
51
57
  display: flex;
58
+ font-size: 18px;
52
59
  justify-content: space-between;
53
60
  align-items: center;
54
61
  box-shadow: 0 2px 5px 0 rgba(var(--smoothly-app-shadow));
62
+ border-bottom: 1px solid rgba(var(--smoothly-dark-color))
55
63
  }
56
- smoothly-app > smoothly-notifier > header a {
64
+
65
+ smoothly-app>smoothly-notifier>header a {
57
66
  color: inherit;
58
67
  text-decoration: inherit;
59
68
  }
60
- smoothly-app > smoothly-notifier > header > nav {
69
+
70
+ smoothly-app>smoothly-notifier>header>nav {
61
71
  flex-shrink: 0;
62
- }
63
- smoothly-app > smoothly-notifier > header > h1,
64
- smoothly-app > smoothly-notifier > header > nav,
65
- smoothly-app > smoothly-notifier > header > nav > ul,
66
- smoothly-app > smoothly-notifier > header > nav > ul > li,
67
- smoothly-app > smoothly-notifier > header > nav > ul > li > *:not(a) {
68
- display: inline-block;
72
+ width: 100%;
73
+ flex-shrink: 2;
74
+ }
75
+
76
+ smoothly-app>smoothly-notifier>header>h1,
77
+ smoothly-app>smoothly-notifier>header>nav,
78
+ smoothly-app>smoothly-notifier>header>nav>ul,
79
+ smoothly-app>smoothly-notifier>header>nav>ul>li,
80
+ smoothly-app>smoothly-notifier>header>nav>ul>li>*:not(a) {
81
+ display: flex;
69
82
  height: 100%;
70
83
  margin: 0;
71
84
  }
72
- smoothly-app > smoothly-notifier > header > h1 a {
85
+
86
+ smoothly-app>smoothly-notifier>header>h1 {
87
+ margin-left: 60px;
88
+ }
89
+
90
+ smoothly-app>smoothly-notifier>header>h1>a {
73
91
  overflow: hidden;
74
92
  user-select: none;
93
+ height: 200%;
94
+ display: flex;
95
+ align-self: center;
96
+ size: 100%;
97
+ background-position-y: center;
75
98
  }
76
- smoothly-app > smoothly-notifier > header > nav > ul > li a {
99
+
100
+ smoothly-app>smoothly-notifier>header>nav>ul>li a {
77
101
  line-height: 1.6cm;
78
102
  }
79
- smoothly-app > smoothly-notifier > header > h1 a,
80
- smoothly-app > smoothly-notifier > header > nav > ul > li a {
81
- display: inline-block;
82
- height: 100%;
83
- padding: 0 0.4cm;
103
+
104
+ smoothly-app>smoothly-notifier>header>nav>ul {
105
+ width: 100%;
106
+ }
107
+
108
+ smoothly-app>smoothly-notifier>header>[slot="header"] {
109
+ display: flex;
110
+ margin-right: 34.25px;
111
+ justify-content: flex-end;
112
+ border: 0;
113
+ }
114
+
115
+ smoothly-app>smoothly-notifier>header>[slot="header"]>a {
116
+ display: flex;
117
+ align-self: center;
118
+ border-width: 0;
119
+ align-items: center;
120
+ margin-right: 62.25px;
121
+ }
122
+
123
+ smoothly-app>smoothly-notifier>header>[slot="header"]>a>smoothly-icon {
124
+ fill: rgb(var(--smoothly-primary-shade));
125
+ stroke: rgb(var(--smoothly-primary-shade));
126
+ color: rgb(var(--smoothly-primary-shade));
127
+
128
+ }
129
+
130
+ smoothly-app>smoothly-notifier>header>nav>ul>li a {
131
+ display: flex;
132
+ height: 36px;
133
+ margin: 0 0.4cm;
84
134
  text-decoration: none;
85
- font-weight: bold;
86
135
  }
87
- smoothly-app > smoothly-notifier > header > nav > ul > li smoothly-trigger.sc-smoothly-trigger-h {
136
+
137
+ smoothly-app>smoothly-notifier>header>nav>ul>li>a {
138
+ display: flex;
139
+ align-items: center;
140
+ align-self: center;
141
+ margin-bottom: 2px;
142
+ }
143
+
144
+ smoothly-app>smoothly-notifier>header>nav>ul>li smoothly-trigger.sc-smoothly-trigger-h {
88
145
  border: 0;
89
146
  }
90
- smoothly-app > smoothly-notifier > header > nav > ul > li a > smoothly-icon {
91
- position: relative;
92
- top: 0.2cm;
93
- }
94
- smoothly-app > smoothly-notifier > header > nav > ul > li > a:hover > smoothly-icon,
95
- smoothly-app > smoothly-notifier > header > nav > ul > li > a.active > smoothly-icon,
96
- smoothly-app > smoothly-notifier > header > nav > ul > li > smoothly-trigger.active a > smoothly-icon,
97
- smoothly-app > smoothly-notifier > header > nav > ul > li > smoothly-trigger:hover a > smoothly-icon,
98
- smoothly-app > smoothly-notifier > header > nav > ul > li a:hover,
99
- smoothly-app > smoothly-notifier > header > nav > ul > li a.active {
100
- background-color: rgb(var(--smoothly-app-hover-background));
101
- color: rgb(var(--smoothly-app-hover-color));
102
- stroke: rgb(var(--smoothly-app-hover-color));
103
- fill: rgb(var(--smoothly-app-hover-color));
104
- }
105
- smoothly-app > smoothly-notifier > content {
147
+
148
+ smoothly-app>smoothly-notifier>header>nav>ul>li>a>smoothly-icon>svg {
149
+ fill: rgb(var(--smoothly-medium-color));
150
+ stroke: rgb(var(--smoothly-medium-color));
151
+ color: rgb(var(--smoothly-medium-color));
152
+ align-items: center;
153
+ display: flex;
154
+ }
155
+
156
+ smoothly-app>smoothly-notifier>header>nav>ul>li>a:hover>smoothly-icon>svg,
157
+ smoothly-app>smoothly-notifier>header>nav>ul>li>a.active>smoothly-icon>svg {
158
+ color: rgb(var(--smoothly-app-color));
159
+ stroke: rgb(var(--smoothly-app-color));
160
+ fill: rgb(var(--smoothly-app-color));
161
+ }
162
+
163
+ smoothly-app>smoothly-notifier>header>nav>ul>li>smoothly-trigger.active a>smoothly-icon,
164
+ smoothly-app>smoothly-notifier>header>nav>ul>li>smoothly-trigger:hover a>smoothly-icon,
165
+ smoothly-app>smoothly-notifier>header>nav>ul>li a:hover,
166
+ smoothly-app>smoothly-notifier>header>nav>ul>li a.active {
167
+ border-bottom: 2px solid rgb(var(--smoothly-app-color));
168
+ margin-bottom: 0px;
169
+ border-bottom-width: 2px;
170
+ color: rgb(var(--smoothly-app-color));
171
+ stroke: rgb(var(--smoothly-app-color));
172
+ fill: rgb(var(--smoothly-app-color));
173
+ }
174
+
175
+ smoothly-app>smoothly-notifier>content {
106
176
  position: relative;
107
- top: 1.6cm;
177
+ top: 90px;
108
178
  }
@@ -5,22 +5,6 @@ export class SmoothlyAppDemo {
5
5
  return (h(App, { label: "Smoothly Demo" },
6
6
  h("a", { slot: "nav-start", href: "display" }, "Display"),
7
7
  h("a", { slot: "nav-start", href: "https://google.com" }, "External"),
8
- h("span", { slot: "header", style: { width: "100%", maxWidth: "500px" } },
9
- h("smoothly-picker", { label: "All Animals Selected", style: { minWidth: "100px" }, labelSetting: "hide", "empty-menu-label": "Sorry, we're out of options.", "max-height": "58px", multiple: true, "select-none-name": "Select All", options: [
10
- { name: "Big Dog", value: "dog", aliases: ["WOFF"] },
11
- { name: "Cat Stevens", value: "cat", aliases: ["moew"] },
12
- { name: "Noble Pig", value: "pig" },
13
- { name: "Turtle Wax", value: "turtle" },
14
- { name: "Spider Man", value: "spider" },
15
- { name: "Phoenix Order Long Wooord", value: "phoenix" },
16
- { name: "Horse Back", value: "horse" },
17
- { name: "Unicorn Horn", value: "unicorn" },
18
- { name: "Talking Parrot Parrot", value: "parrot" },
19
- { name: "Hidden Dragon", value: "dragon" },
20
- { name: "Scary Kraken", value: "kraken" },
21
- ] })),
22
- h("smoothly-trigger", { slot: "nav-end", type: "link", name: "logout" },
23
- h("smoothly-icon", { toolTip: "Log out", name: "log-out", size: "medium" })),
24
8
  h("smoothly-room", { path: "" },
25
9
  h("smoothly-input", { type: "text" }, "Default")),
26
10
  h("smoothly-room", { path: "input", label: "Input" },
@@ -35,7 +19,23 @@ export class SmoothlyAppDemo {
35
19
  h("smoothly-select-demo", null)),
36
20
  h("smoothly-room", { path: "icon", label: "Icon" },
37
21
  h("smoothly-icon-demo", null)),
38
- h("smoothly-room", { path: "old", label: "Old", to: "select" })));
22
+ h("smoothly-room", { path: "old", label: "Old", to: "select" }),
23
+ h("span", { slot: "header", style: { width: "100%", maxWidth: "500px" } },
24
+ h("smoothly-picker", { label: "All Animals Selected", style: { minWidth: "100px" }, labelSetting: "hide", "empty-menu-label": "Sorry, we're out of options.", "max-height": "58px", multiple: true, "select-none-name": "Select All", options: [
25
+ { name: "Big Dog", value: "dog", aliases: ["WOFF"] },
26
+ { name: "Cat Stevens", value: "cat", aliases: ["moew"], right: "🐈" },
27
+ { name: "Noble Pig", value: "pig", right: "🐷" },
28
+ { name: "Turtle Wax", value: "turtle", right: "" },
29
+ { name: "Spider Man", value: "spider", right: "" },
30
+ { name: "Phoenix Order Long Wooord", value: "phoenix", right: "" },
31
+ { name: "Horse Back", value: "horse", right: "" },
32
+ { name: "Unicorn Horn", value: "unicorn", right: "" },
33
+ { name: "Talking Parrot Parrot", value: "parrot", right: "" },
34
+ { name: "Hidden Dragon", value: "dragon", right: "" },
35
+ { name: "Scary Kraken", value: "kraken", right: "" },
36
+ ] })),
37
+ h("smoothly-trigger", { slot: "header", type: "link", name: "logout" },
38
+ h("smoothly-icon", { toolTip: "Log out", name: "log-out", size: "medium" }))));
39
39
  }
40
40
  static get is() { return "smoothly-app-demo"; }
41
41
  static get properties() { return {
@@ -88,7 +88,9 @@ export class SmoothlyMenuOptions {
88
88
  }
89
89
  }
90
90
  render() {
91
- return (h(Host, { style: { "--max-menu-height": this.maxMenuHeight } }, this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("smoothly-option", { style: this.optionStyle, ref: el => index == 0 && (this.firstOptionsElement = el !== null && el !== void 0 ? el : this.firstOptionsElement), value: option.value, name: option.name, "data-highlight": this.highlightIndex == index }, option.description)))) : (h("div", null, this.emptyMenuLabel))));
91
+ return (h(Host, { style: { "--max-menu-height": this.maxMenuHeight } }, this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("smoothly-option", { style: this.optionStyle, ref: el => index == 0 && (this.firstOptionsElement = el !== null && el !== void 0 ? el : this.firstOptionsElement), value: option.value, name: option.name, divider: option.divider, "data-highlight": this.highlightIndex == index },
92
+ option.left ? h("div", { slot: "left" }, option.left) : undefined,
93
+ option.right ? h("div", { slot: "right" }, option.right) : undefined)))) : (h("div", null, this.emptyMenuLabel))));
92
94
  }
93
95
  static get is() { return "smoothly-menu-options"; }
94
96
  static get encapsulation() { return "shadow"; }
@@ -2,14 +2,17 @@
2
2
  max-height: 300px;
3
3
  width: 85%;
4
4
  max-height: var(--max-menu-height);
5
- border: 1px solid black;
6
5
  box-sizing: border-box;
7
- background-color: rgb(var(--smoothly-default-shade));
6
+ background-color: rgb(var(--smoothly-default-color));
7
+ border-radius: 0.25em;
8
+ color: rgb(var(--smoothly-primary-color));
9
+ stroke: rgb(var(--smoothly-primary-color));
10
+ fill: rgb(var(--smoothly-primary-color));
11
+ box-shadow: 0px 2px 24px rgba(64, 60, 57, 0.08), inset 0px 0px 1px rgba(64, 60, 57, 0.4);
8
12
  overflow-y: auto;
9
13
  cursor: pointer;
10
14
  }
11
15
 
12
- div:last-child:not(:empty) {
13
- padding: 0.5em 1em;
14
- font-style: italic;
16
+ :host:first-child {
17
+ margin: 10em;
15
18
  }
@@ -2,6 +2,7 @@ import { Component, Element, Event, h, Host, Prop } from "@stencil/core";
2
2
  export class SmoothlyOption {
3
3
  constructor() {
4
4
  this.dataHighlight = false;
5
+ this.divider = false;
5
6
  }
6
7
  onHover(event) {
7
8
  this.optionHover.emit({ name: this.name, value: this.value });
@@ -14,9 +15,9 @@ export class SmoothlyOption {
14
15
  }
15
16
  render() {
16
17
  return (h(Host, { onMouseDown: (e) => this.onSelect(e), onMouseOver: (e) => this.onHover(e) },
17
- h("div", null, this.name),
18
- h("div", null,
19
- h("slot", null))));
18
+ h("slot", { name: "left" }),
19
+ h("div", { class: "middle" }, this.name),
20
+ h("slot", { name: "right" })));
20
21
  }
21
22
  static get is() { return "smoothly-option"; }
22
23
  static get encapsulation() { return "shadow"; }
@@ -95,6 +96,24 @@ export class SmoothlyOption {
95
96
  },
96
97
  "attribute": "value",
97
98
  "reflect": true
99
+ },
100
+ "divider": {
101
+ "type": "boolean",
102
+ "mutable": true,
103
+ "complexType": {
104
+ "original": "boolean",
105
+ "resolved": "boolean | undefined",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": true,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": ""
113
+ },
114
+ "attribute": "divider",
115
+ "reflect": true,
116
+ "defaultValue": "false"
98
117
  }
99
118
  }; }
100
119
  static get events() { return [{
@@ -2,21 +2,39 @@
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
5
- justify-content: space-between;
6
- padding: 0.5em 1em;
5
+ justify-content: flex-start;
6
+ padding: 0.7em 1em;
7
+ margin-left: 1px;
8
+ margin-right: 1px;
9
+ background-color: transparent;
10
+ position: relative;
7
11
  }
8
12
 
9
13
  :host([data-highlight]) {
10
- background-color: rgb(var(--smoothly-primary-color));
11
- color: rgb(var(--smoothly-primary-contrast));
12
- stroke: rgb(var(--smoothly-primary-contrast));
13
- fill: rgb(var(--smoothly-primary-contrast));
14
+ background-color: rgb(var(--smoothly-default-shade));
14
15
  }
15
- :host([data-highlight]) div:last-child {
16
- color: rgba(var(--smoothly-primary-contrast), 0.8);
16
+
17
+ :host > div.middle {
18
+ padding-left: 0.5em;
19
+ flex-shrink: 1;
20
+ width: 100%;
21
+ }
22
+
23
+ :host([divider]) {
24
+ margin-bottom: 0.5em;
17
25
  }
18
26
 
19
- :host div:last-child {
20
- color: rgba(var(--smoothly-default-contrast), 0.8);
27
+ ::slotted([slot=right]) {
21
28
  font-style: italic;
29
+ white-space: nowrap;
30
+ }
31
+
32
+ :host([divider])::after {
33
+ position: absolute;
34
+ height: 1px;
35
+ width: 100%;
36
+ left: 0;
37
+ bottom: -0.25em;
38
+ content: "";
39
+ background-color: rgba(var(--smoothly-dark-color));
22
40
  }
@@ -4,8 +4,10 @@ export class SmoothlyPicker {
4
4
  this.keepFocusOnReRender = false;
5
5
  this.emptyMenuLabel = "No Options";
6
6
  this.multiple = false;
7
+ this.options = [];
7
8
  this.selections = [];
8
9
  this.selectNoneName = "Select None";
10
+ this.selectionName = "items selected";
9
11
  }
10
12
  isOpenChangeHander() {
11
13
  if (this.isOpen == false) {
@@ -25,13 +27,14 @@ export class SmoothlyPicker {
25
27
  }
26
28
  toggle(option) {
27
29
  option.value == "select-none"
28
- ? this.clearSelection()
30
+ ? this.toggleAll()
29
31
  : this.selections.map(s => s.value).includes(option.value)
30
32
  ? this.unselect(option)
31
33
  : this.select(option);
32
34
  }
33
- clearSelection() {
34
- this.selections = [];
35
+ toggleAll() {
36
+ var _a;
37
+ this.selections = this.selections.length == ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) ? [] : this.options;
35
38
  this.inputElement.focus();
36
39
  this.keepFocusOnReRender = true;
37
40
  }
@@ -103,31 +106,37 @@ export class SmoothlyPicker {
103
106
  this.isOpen = false;
104
107
  this.filterOptions();
105
108
  }
106
- getCheckHtml() {
107
- return h("smoothly-icon", { name: "checkmark-sharp", size: "small" });
109
+ getCheckHtml(checked) {
110
+ return checked ? (h("smoothly-icon", { name: "checkbox", size: "small" })) : (h("smoothly-icon", { name: "square-outline", size: "small" }));
108
111
  }
109
112
  render() {
110
- var _a, _b, _c;
113
+ var _a, _b, _c, _d;
111
114
  const cssVariables = {
112
115
  "--max-height": (_a = this.maxHeight) !== null && _a !== void 0 ? _a : "inherit",
113
116
  "--label-display": this.labelSetting == "hide" ? "none" : "absolute",
114
117
  };
115
118
  (_b = this.options) === null || _b === void 0 ? void 0 : _b.forEach(o => {
116
- o.description = this.selections.map(s => s.value).includes(o.value) ? this.getCheckHtml() : "";
119
+ o.left = this.getCheckHtml(this.selections.map(s => s.value).includes(o.value));
117
120
  });
118
121
  const options = [
119
122
  {
120
123
  value: "select-none",
121
124
  name: this.selectNoneName,
122
- description: this.selections.length == 0 ? this.getCheckHtml() : "",
125
+ left: this.getCheckHtml(this.selections.length == ((_c = this.options) === null || _c === void 0 ? void 0 : _c.length)),
126
+ divider: true,
123
127
  },
124
- ...((_c = this.options) !== null && _c !== void 0 ? _c : []),
128
+ ...((_d = this.options) !== null && _d !== void 0 ? _d : []),
125
129
  ];
126
130
  return (h(Host, { style: cssVariables, "has-selection": this.selections.length > 0, "is-open": this.isOpen ? "" : undefined, onMouseDown: (e) => e.preventDefault(), onClick: () => this.onClick() },
127
131
  h("div", null,
132
+ h("smoothly-icon", { class: "search", name: "search-outline", size: "tiny" }),
128
133
  h("label", null, this.label),
129
- h("input", { type: "text", ref: (el) => (this.inputElement = el ? el : this.inputElement), onFocus: () => this.highlightDefault(), onBlur: () => this.onBlur(), placeholder: this.selections.map(selection => selection.name).join(", "), onKeyDown: e => this.onKeyDown(e), onInput: (e) => this.onInput(e) })),
130
- h("smoothly-menu-options", { style: { width: "100%" }, optionStyle: Object.assign({ padding: "0 1em", height: "2.5em" }, this.optionStyle), order: false, emptyMenuLabel: this.emptyMenuLabel, "max-menu-height": this.maxMenuHeight, ref: (el) => (this.menuElement = el !== null && el !== void 0 ? el : this.menuElement), onClick: e => e.stopPropagation(), resetHighlightOnOptionsChange: false, options: options })));
134
+ h("input", { type: "text", ref: (el) => (this.inputElement = el ? el : this.inputElement), onFocus: () => this.highlightDefault(), onBlur: () => this.onBlur(), placeholder: this.selections.length > 3
135
+ ? this.selections.length.toString() + " " + this.selectionName
136
+ : this.selections.map(selection => selection.name).join(", "), onKeyDown: e => this.onKeyDown(e), onInput: (e) => this.onInput(e) }),
137
+ h("smoothly-icon", { class: "down", name: "chevron-down", size: "tiny" }),
138
+ h("smoothly-icon", { class: "up", name: "chevron-up", size: "tiny" })),
139
+ h("smoothly-menu-options", { style: { width: "100%" }, optionStyle: Object.assign({}, this.optionStyle), order: false, emptyMenuLabel: this.emptyMenuLabel, "max-menu-height": this.maxMenuHeight, ref: (el) => (this.menuElement = el !== null && el !== void 0 ? el : this.menuElement), onClick: e => e.stopPropagation(), resetHighlightOnOptionsChange: false, options: options })));
131
140
  }
132
141
  static get is() { return "smoothly-picker"; }
133
142
  static get encapsulation() { return "shadow"; }
@@ -243,7 +252,8 @@ export class SmoothlyPicker {
243
252
  "docs": {
244
253
  "tags": [],
245
254
  "text": ""
246
- }
255
+ },
256
+ "defaultValue": "[]"
247
257
  },
248
258
  "labelSetting": {
249
259
  "type": "string",
@@ -317,6 +327,24 @@ export class SmoothlyPicker {
317
327
  "attribute": "select-none-name",
318
328
  "reflect": false,
319
329
  "defaultValue": "\"Select None\""
330
+ },
331
+ "selectionName": {
332
+ "type": "string",
333
+ "mutable": true,
334
+ "complexType": {
335
+ "original": "string",
336
+ "resolved": "string",
337
+ "references": {}
338
+ },
339
+ "required": false,
340
+ "optional": false,
341
+ "docs": {
342
+ "tags": [],
343
+ "text": ""
344
+ },
345
+ "attribute": "selection-name",
346
+ "reflect": false,
347
+ "defaultValue": "\"items selected\""
320
348
  }
321
349
  }; }
322
350
  static get states() { return {