@vandeurenglenn/lite-elements 0.3.85 → 0.4.1

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 (76) hide show
  1. package/exports/bundle/banner.js +1 -1
  2. package/exports/bundle/button.css.js +1 -1
  3. package/exports/bundle/button.js +1 -1
  4. package/exports/bundle/card.js +1 -1
  5. package/exports/bundle/code.js +1 -1
  6. package/exports/bundle/column-DdHjND9w.js +1 -0
  7. package/exports/bundle/custom-element-Wj8bC3gl.js +1 -0
  8. package/exports/bundle/dark-mode2-CBfmAvIL.js +11 -0
  9. package/exports/bundle/{dark-mode2-AFovKiD8.js → dark-mode2-DBD32xmy.js} +1 -1
  10. package/exports/bundle/demo-elements.js +1 -1
  11. package/exports/bundle/demo-icons.js +1 -1
  12. package/exports/bundle/demo-shell.js +1 -1
  13. package/exports/bundle/demo.js +2 -2
  14. package/exports/bundle/dialog.js +1 -1
  15. package/exports/bundle/divider.js +1 -1
  16. package/exports/bundle/drawer-button.js +1 -1
  17. package/exports/bundle/drawer-item.js +1 -1
  18. package/exports/bundle/drawer-layout.js +1 -1
  19. package/exports/bundle/drawer.js +2 -2
  20. package/exports/bundle/dropdown-menu.js +1 -1
  21. package/exports/bundle/dropdown.js +1 -1
  22. package/exports/bundle/elements.js +1 -1
  23. package/exports/bundle/elevation.js +1 -1
  24. package/exports/bundle/fab.js +1 -1
  25. package/exports/bundle/file-reader-mixin.js +1 -1
  26. package/exports/bundle/hash-router.js +1 -1
  27. package/exports/bundle/icon-button.js +1 -1
  28. package/exports/bundle/icon-set.js +2 -2
  29. package/exports/bundle/icon.js +1 -1
  30. package/exports/bundle/input.js +1 -6
  31. package/exports/bundle/input2.js +6 -1
  32. package/exports/bundle/list-item.js +1 -1
  33. package/exports/bundle/menu.js +1 -1
  34. package/exports/bundle/minute-field.js +1 -1
  35. package/exports/bundle/notification.js +1 -1
  36. package/exports/bundle/notifications.js +1 -1
  37. package/exports/bundle/pages.js +1 -1
  38. package/exports/bundle/pane.js +6 -4
  39. package/exports/bundle/prompt.js +1 -1
  40. package/exports/bundle/property-EGWO0JMT.js +23 -0
  41. package/exports/bundle/query-DK39_nIZ.js +1 -0
  42. package/exports/bundle/rail.js +1 -1
  43. package/exports/bundle/root.js +1 -1
  44. package/exports/bundle/row-B1G5fFY7.js +28 -0
  45. package/exports/bundle/scroll-mixin.js +1 -1
  46. package/exports/bundle/section.js +2 -2
  47. package/exports/bundle/section2.js +1 -1
  48. package/exports/bundle/select-mixin.js +1 -1
  49. package/exports/bundle/selector-mixin.js +1 -1
  50. package/exports/bundle/selector.js +1 -1
  51. package/exports/bundle/summary-mirror.js +1 -1
  52. package/exports/bundle/summary.js +1 -1
  53. package/exports/bundle/supporting-pane.js +1 -1
  54. package/exports/bundle/tab.js +1 -1
  55. package/exports/bundle/tabs.js +1 -1
  56. package/exports/bundle/text-field.js +1 -1
  57. package/exports/bundle/theme.js +1 -1
  58. package/exports/bundle/time-picker.js +1 -1
  59. package/exports/bundle/toggle-button.js +1 -1
  60. package/exports/bundle/toggle.js +1 -1
  61. package/exports/bundle/top-app-bar.js +2 -2
  62. package/exports/bundle/typography.js +1 -1
  63. package/exports/bundle/upload-file.js +1 -1
  64. package/exports/bundle/upload-image.js +19 -19
  65. package/exports/demo-shell.js +4 -4
  66. package/exports/elements.js +1 -1
  67. package/exports/input.js +6 -13
  68. package/exports/input2.js +13 -6
  69. package/exports/time-picker.js +1 -1
  70. package/package.json +7 -12
  71. package/exports/bundle/column-Ci52gPdn.js +0 -1
  72. package/exports/bundle/custom-element-B_TPyPQO.js +0 -1
  73. package/exports/bundle/dark-mode2-CXqeCi6t.js +0 -11
  74. package/exports/bundle/property-CChxy2ZU.js +0 -23
  75. package/exports/bundle/query-DCTzLeFk.js +0 -1
  76. package/exports/bundle/row-CEpFJOUe.js +0 -28
@@ -1,28 +0,0 @@
1
- import{s as t,r as e,x as s}from"./dark-mode2-CXqeCi6t.js";function i(t,e,s,i,a,r){function n(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var c,o=i.kind,d="getter"===o?"get":"setter"===o?"set":"value",h=t?i.static?t:t.prototype:null,g=h?Object.getOwnPropertyDescriptor(h,i.name):{},l=!1,m=s.length-1;m>=0;m--){var p={};for(var _ in i)p[_]="access"===_?{}:i[_];for(var _ in i.access)p.access[_]=i.access[_];p.addInitializer=function(t){if(l)throw new TypeError("Cannot add initializers after decoration has completed");r.push(n(t||null))};var f=(0,s[m])("accessor"===o?{get:g.get,set:g.set}:g[d],p);if("accessor"===o){if(void 0===f)continue;if(null===f||"object"!=typeof f)throw new TypeError("Object expected");(c=n(f.get))&&(g.get=c),(c=n(f.set))&&(g.set=c),(c=n(f.init))&&a.unshift(c)}else(c=n(f))&&("field"===o?a.unshift(c):g[d]=c)}h&&Object.defineProperty(h,i.name,g),l=!0}function a(t,e,s){for(var i=arguments.length>2,a=0;a<e.length;a++)s=i?e[a].call(t,s):e[a].call(t);return i?s:void 0}"function"==typeof SuppressedError&&SuppressedError;let r=(()=>{let r,n,c,o,d,h,g,l,m,p,_=t,f=[],u=[],y=[],x=[],v=[],w=[],b=[],S=[],j=[],C=[],W=[],z=[],k=[],I=[],$=[],E=[],O=[],F=[],P=[],T=[];return class FlexDisplay extends _{static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(_[Symbol.metadata]??null):void 0;r=[e({type:String})],n=[e({type:String})],c=[e({type:String})],o=[e({type:String})],d=[e({type:String,reflect:!0})],h=[e({type:Boolean,reflect:!0})],g=[e({type:Boolean,reflect:!0,attribute:"center-center"})],l=[e({type:String})],m=[e({type:String})],p=[e({type:String})],i(this,0,r,{kind:"accessor",name:"padding",static:!1,private:!1,access:{has:t=>"padding"in t,get:t=>t.padding,set:(t,e)=>{t.padding=e}},metadata:t},f,u),i(this,0,n,{kind:"accessor",name:"minWidth",static:!1,private:!1,access:{has:t=>"minWidth"in t,get:t=>t.minWidth,set:(t,e)=>{t.minWidth=e}},metadata:t},y,x),i(this,0,c,{kind:"accessor",name:"maxWidth",static:!1,private:!1,access:{has:t=>"maxWidth"in t,get:t=>t.maxWidth,set:(t,e)=>{t.maxWidth=e}},metadata:t},v,w),i(this,0,o,{kind:"accessor",name:"width",static:!1,private:!1,access:{has:t=>"width"in t,get:t=>t.width,set:(t,e)=>{t.width=e}},metadata:t},b,S),i(this,0,d,{kind:"accessor",name:"direction",static:!1,private:!1,access:{has:t=>"direction"in t,get:t=>t.direction,set:(t,e)=>{t.direction=e}},metadata:t},j,C),i(this,0,h,{kind:"accessor",name:"center",static:!1,private:!1,access:{has:t=>"center"in t,get:t=>t.center,set:(t,e)=>{t.center=e}},metadata:t},W,z),i(this,0,g,{kind:"accessor",name:"centerCenter",static:!1,private:!1,access:{has:t=>"centerCenter"in t,get:t=>t.centerCenter,set:(t,e)=>{t.centerCenter=e}},metadata:t},k,I),i(this,0,l,{kind:"accessor",name:"justifyContent",static:!1,private:!1,access:{has:t=>"justifyContent"in t,get:t=>t.justifyContent,set:(t,e)=>{t.justifyContent=e}},metadata:t},$,E),i(this,0,m,{kind:"accessor",name:"alignItems",static:!1,private:!1,access:{has:t=>"alignItems"in t,get:t=>t.alignItems,set:(t,e)=>{t.alignItems=e}},metadata:t},O,F),i(this,0,p,{kind:"accessor",name:"boxSizing",static:!1,private:!1,access:{has:t=>"boxSizing"in t,get:t=>t.boxSizing,set:(t,e)=>{t.boxSizing=e}},metadata:t},P,T),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#t=a(this,f,"0");get padding(){return this.#t}set padding(t){this.#t=t}#e=(a(this,u),a(this,y,"auto"));get minWidth(){return this.#e}set minWidth(t){this.#e=t}#s=(a(this,x),a(this,v,"auto"));get maxWidth(){return this.#s}set maxWidth(t){this.#s=t}#i=(a(this,w),a(this,b,"100%"));get width(){return this.#i}set width(t){this.#i=t}#a=(a(this,S),a(this,j,"row"));get direction(){return this.#a}set direction(t){this.#a=t}#r=(a(this,C),a(this,W,void 0));get center(){return this.#r}set center(t){this.#r=t}#n=(a(this,z),a(this,k,void 0));get centerCenter(){return this.#n}set centerCenter(t){this.#n=t}#c=(a(this,I),a(this,$,"flex-start"));get justifyContent(){return this.#c}set justifyContent(t){this.#c=t}#o=(a(this,E),a(this,O,"flex-start"));get alignItems(){return this.#o}set alignItems(t){this.#o=t}#d=(a(this,F),a(this,P,"border-box"));get boxSizing(){return this.#d}set boxSizing(t){this.#d=t}render(){return s`
2
- <style>
3
- :host {
4
- display: flex;
5
- box-sizing: var(--flex-display-box-sizing, ${this.boxSizing});
6
- max-width: var(--flex-display-max-width, ${this.maxWidth});
7
- min-width: var(--flex-display-min-width, ${this.minWidth});
8
- width: var(--flex-display-width, ${this.width});
9
- flex-direction: var(--flex-display-direction, ${this.direction});
10
- justify-content: var(
11
- --flex-display-justify-content,
12
- ${this.justifyContent}
13
- );
14
- align-items: var(--flex-display-align-items, ${this.alignItems});
15
- padding: var(--flex-display-padding, ${this.padding});
16
- }
17
-
18
- :host([center]) {
19
- align-items: center;
20
- }
21
-
22
- :host([center-center]) {
23
- align-items: center;
24
- justify-content: center;
25
- }
26
- </style>
27
- <slot></slot>
28
- `}constructor(){super(...arguments),a(this,T)}}})();customElements.define("flex-row",class FlexRow extends r{constructor(){super(),this.direction="row",this.width="auto"}});export{r as F};