reke-ui 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +725 -322
- package/dist/components/reke-combobox/reke-combobox.d.ts +70 -0
- package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.js +146 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts +2 -0
- package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -0
- package/dist/components/reke-combobox/reke-combobox.styles.js +162 -0
- package/dist/components/reke-table/reke-table.d.ts +11 -0
- package/dist/components/reke-table/reke-table.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.js +83 -52
- package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
- package/dist/components/reke-table/reke-table.styles.js +28 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -11
- package/dist/react.d.ts +9 -0
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +61 -52
- package/dist/shared/tailwind.js +1 -1
- package/package.json +5 -1
- package/dist/node_modules/lit/directives/ref.js +0 -1
- package/dist/node_modules/lit-html/async-directive.js +0 -55
- package/dist/node_modules/lit-html/directive-helpers.js +0 -5
- package/dist/node_modules/lit-html/directive.js +0 -28
- package/dist/node_modules/lit-html/directives/ref.js +0 -30
- package/dist/node_modules/lit-html/lit-html.js +0 -234
package/dist/shared/tailwind.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/shared/tailwind.css?inline
|
|
2
|
-
var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}";
|
|
2
|
+
var e = "/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reke-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Web Component library built with Lit 3 — dark & light themes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -57,6 +57,10 @@
|
|
|
57
57
|
"types": "./dist/components/reke-select/reke-select.d.ts",
|
|
58
58
|
"default": "./dist/components/reke-select/reke-select.js"
|
|
59
59
|
},
|
|
60
|
+
"./combobox": {
|
|
61
|
+
"types": "./dist/components/reke-combobox/reke-combobox.d.ts",
|
|
62
|
+
"default": "./dist/components/reke-combobox/reke-combobox.js"
|
|
63
|
+
},
|
|
60
64
|
"./table": {
|
|
61
65
|
"types": "./dist/components/reke-table/reke-table.d.ts",
|
|
62
66
|
"default": "./dist/components/reke-table/reke-table.js"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../lit-html/directives/ref.js";
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { r as e } from "./directive-helpers.js";
|
|
2
|
-
import { i as t, t as n } from "./directive.js";
|
|
3
|
-
//#region node_modules/lit-html/async-directive.js
|
|
4
|
-
var r = (e, t) => {
|
|
5
|
-
let n = e._$AN;
|
|
6
|
-
if (n === void 0) return !1;
|
|
7
|
-
for (let e of n) e._$AO?.(t, !1), r(e, t);
|
|
8
|
-
return !0;
|
|
9
|
-
}, i = (e) => {
|
|
10
|
-
let t, n;
|
|
11
|
-
do {
|
|
12
|
-
if ((t = e._$AM) === void 0) break;
|
|
13
|
-
n = t._$AN, n.delete(e), e = t;
|
|
14
|
-
} while (n?.size === 0);
|
|
15
|
-
}, a = (e) => {
|
|
16
|
-
for (let t; t = e._$AM; e = t) {
|
|
17
|
-
let n = t._$AN;
|
|
18
|
-
if (n === void 0) t._$AN = n = /* @__PURE__ */ new Set();
|
|
19
|
-
else if (n.has(e)) break;
|
|
20
|
-
n.add(e), c(t);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
function o(e) {
|
|
24
|
-
this._$AN === void 0 ? this._$AM = e : (i(this), this._$AM = e, a(this));
|
|
25
|
-
}
|
|
26
|
-
function s(e, t = !1, n = 0) {
|
|
27
|
-
let a = this._$AH, o = this._$AN;
|
|
28
|
-
if (o !== void 0 && o.size !== 0) if (t) if (Array.isArray(a)) for (let e = n; e < a.length; e++) r(a[e], !1), i(a[e]);
|
|
29
|
-
else a != null && (r(a, !1), i(a));
|
|
30
|
-
else r(this, e);
|
|
31
|
-
}
|
|
32
|
-
var c = (e) => {
|
|
33
|
-
e.type == n.CHILD && (e._$AP ??= s, e._$AQ ??= o);
|
|
34
|
-
}, l = class extends t {
|
|
35
|
-
constructor() {
|
|
36
|
-
super(...arguments), this._$AN = void 0;
|
|
37
|
-
}
|
|
38
|
-
_$AT(e, t, n) {
|
|
39
|
-
super._$AT(e, t, n), a(this), this.isConnected = e._$AU;
|
|
40
|
-
}
|
|
41
|
-
_$AO(e, t = !0) {
|
|
42
|
-
e !== this.isConnected && (this.isConnected = e, e ? this.reconnected?.() : this.disconnected?.()), t && (r(this, e), i(this));
|
|
43
|
-
}
|
|
44
|
-
setValue(t) {
|
|
45
|
-
if (e(this._$Ct)) this._$Ct._$AI(t, this);
|
|
46
|
-
else {
|
|
47
|
-
let e = [...this._$Ct._$AH];
|
|
48
|
-
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
disconnected() {}
|
|
52
|
-
reconnected() {}
|
|
53
|
-
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { l as f };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region node_modules/lit-html/directive.js
|
|
2
|
-
var e = {
|
|
3
|
-
ATTRIBUTE: 1,
|
|
4
|
-
CHILD: 2,
|
|
5
|
-
PROPERTY: 3,
|
|
6
|
-
BOOLEAN_ATTRIBUTE: 4,
|
|
7
|
-
EVENT: 5,
|
|
8
|
-
ELEMENT: 6
|
|
9
|
-
}, t = (e) => (...t) => ({
|
|
10
|
-
_$litDirective$: e,
|
|
11
|
-
values: t
|
|
12
|
-
}), n = class {
|
|
13
|
-
constructor(e) {}
|
|
14
|
-
get _$AU() {
|
|
15
|
-
return this._$AM._$AU;
|
|
16
|
-
}
|
|
17
|
-
_$AT(e, t, n) {
|
|
18
|
-
this._$Ct = e, this._$AM = t, this._$Ci = n;
|
|
19
|
-
}
|
|
20
|
-
_$AS(e, t) {
|
|
21
|
-
return this.update(e, t);
|
|
22
|
-
}
|
|
23
|
-
update(e, t) {
|
|
24
|
-
return this.render(...t);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { t as e, n as i, e as t };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { A as e } from "../lit-html.js";
|
|
2
|
-
import { e as t } from "../directive.js";
|
|
3
|
-
import { f as n } from "../async-directive.js";
|
|
4
|
-
//#region node_modules/lit-html/directives/ref.js
|
|
5
|
-
var r = /* @__PURE__ */ new WeakMap(), i = t(class extends n {
|
|
6
|
-
render(t) {
|
|
7
|
-
return e;
|
|
8
|
-
}
|
|
9
|
-
update(t, [n]) {
|
|
10
|
-
let r = n !== this.G;
|
|
11
|
-
return r && this.rt(void 0), (r || this.lt !== this.ct) && (this.G = n, this.ht = t.options?.host, this.rt(this.ct = t.element)), e;
|
|
12
|
-
}
|
|
13
|
-
rt(e) {
|
|
14
|
-
if (this.G !== void 0) if (this.isConnected || (e = void 0), typeof this.G == "function") {
|
|
15
|
-
let t = this.ht ?? globalThis, n = r.get(t);
|
|
16
|
-
n === void 0 && (n = /* @__PURE__ */ new WeakMap(), r.set(t, n)), n.get(this.G) !== void 0 && this.G.call(this.ht, void 0), n.set(this.G, e), e !== void 0 && this.G.call(this.ht, e);
|
|
17
|
-
} else this.G.value = e;
|
|
18
|
-
}
|
|
19
|
-
get lt() {
|
|
20
|
-
return typeof this.G == "function" ? r.get(this.ht ?? globalThis)?.get(this.G) : this.G?.value;
|
|
21
|
-
}
|
|
22
|
-
disconnected() {
|
|
23
|
-
this.lt === this.ct && this.rt(void 0);
|
|
24
|
-
}
|
|
25
|
-
reconnected() {
|
|
26
|
-
this.rt(this.ct);
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
//#endregion
|
|
30
|
-
export { i as n };
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
//#region node_modules/lit-html/lit-html.js
|
|
2
|
-
var e = globalThis, t = (e) => e, n = e.trustedTypes, r = n ? n.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, i = "$lit$", a = `lit$${Math.random().toFixed(9).slice(2)}$`, o = "?" + a, s = `<${o}>`, c = document, l = () => c.createComment(""), u = (e) => e === null || typeof e != "object" && typeof e != "function", d = Array.isArray, f = (e) => d(e) || typeof e?.[Symbol.iterator] == "function", p = "[ \n\f\r]", m = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, h = /-->/g, g = />/g, _ = RegExp(`>|${p}(?:([^\\s"'>=/]+)(${p}*=${p}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), v = /'/g, y = /"/g, b = /^(?:script|style|textarea|title)$/i, x = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), C = /* @__PURE__ */ new WeakMap(), w = c.createTreeWalker(c, 129);
|
|
3
|
-
function T(e, t) {
|
|
4
|
-
if (!d(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
5
|
-
return r === void 0 ? t : r.createHTML(t);
|
|
6
|
-
}
|
|
7
|
-
var E = (e, t) => {
|
|
8
|
-
let n = e.length - 1, r = [], o, c = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", l = m;
|
|
9
|
-
for (let t = 0; t < n; t++) {
|
|
10
|
-
let n = e[t], u, d, f = -1, p = 0;
|
|
11
|
-
for (; p < n.length && (l.lastIndex = p, d = l.exec(n), d !== null);) p = l.lastIndex, l === m ? d[1] === "!--" ? l = h : d[1] === void 0 ? d[2] === void 0 ? d[3] !== void 0 && (l = _) : (b.test(d[2]) && (o = RegExp("</" + d[2], "g")), l = _) : l = g : l === _ ? d[0] === ">" ? (l = o ?? m, f = -1) : d[1] === void 0 ? f = -2 : (f = l.lastIndex - d[2].length, u = d[1], l = d[3] === void 0 ? _ : d[3] === "\"" ? y : v) : l === y || l === v ? l = _ : l === h || l === g ? l = m : (l = _, o = void 0);
|
|
12
|
-
let x = l === _ && e[t + 1].startsWith("/>") ? " " : "";
|
|
13
|
-
c += l === m ? n + s : f >= 0 ? (r.push(u), n.slice(0, f) + i + n.slice(f) + a + x) : n + a + (f === -2 ? t : x);
|
|
14
|
-
}
|
|
15
|
-
return [T(e, c + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
16
|
-
}, D = class e {
|
|
17
|
-
constructor({ strings: t, _$litType$: r }, s) {
|
|
18
|
-
let c;
|
|
19
|
-
this.parts = [];
|
|
20
|
-
let u = 0, d = 0, f = t.length - 1, p = this.parts, [m, h] = E(t, r);
|
|
21
|
-
if (this.el = e.createElement(m, s), w.currentNode = this.el.content, r === 2 || r === 3) {
|
|
22
|
-
let e = this.el.content.firstChild;
|
|
23
|
-
e.replaceWith(...e.childNodes);
|
|
24
|
-
}
|
|
25
|
-
for (; (c = w.nextNode()) !== null && p.length < f;) {
|
|
26
|
-
if (c.nodeType === 1) {
|
|
27
|
-
if (c.hasAttributes()) for (let e of c.getAttributeNames()) if (e.endsWith(i)) {
|
|
28
|
-
let t = h[d++], n = c.getAttribute(e).split(a), r = /([.?@])?(.*)/.exec(t);
|
|
29
|
-
p.push({
|
|
30
|
-
type: 1,
|
|
31
|
-
index: u,
|
|
32
|
-
name: r[2],
|
|
33
|
-
strings: n,
|
|
34
|
-
ctor: r[1] === "." ? M : r[1] === "?" ? N : r[1] === "@" ? P : j
|
|
35
|
-
}), c.removeAttribute(e);
|
|
36
|
-
} else e.startsWith(a) && (p.push({
|
|
37
|
-
type: 6,
|
|
38
|
-
index: u
|
|
39
|
-
}), c.removeAttribute(e));
|
|
40
|
-
if (b.test(c.tagName)) {
|
|
41
|
-
let e = c.textContent.split(a), t = e.length - 1;
|
|
42
|
-
if (t > 0) {
|
|
43
|
-
c.textContent = n ? n.emptyScript : "";
|
|
44
|
-
for (let n = 0; n < t; n++) c.append(e[n], l()), w.nextNode(), p.push({
|
|
45
|
-
type: 2,
|
|
46
|
-
index: ++u
|
|
47
|
-
});
|
|
48
|
-
c.append(e[t], l());
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
} else if (c.nodeType === 8) if (c.data === o) p.push({
|
|
52
|
-
type: 2,
|
|
53
|
-
index: u
|
|
54
|
-
});
|
|
55
|
-
else {
|
|
56
|
-
let e = -1;
|
|
57
|
-
for (; (e = c.data.indexOf(a, e + 1)) !== -1;) p.push({
|
|
58
|
-
type: 7,
|
|
59
|
-
index: u
|
|
60
|
-
}), e += a.length - 1;
|
|
61
|
-
}
|
|
62
|
-
u++;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
static createElement(e, t) {
|
|
66
|
-
let n = c.createElement("template");
|
|
67
|
-
return n.innerHTML = e, n;
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
function O(e, t, n = e, r) {
|
|
71
|
-
if (t === x) return t;
|
|
72
|
-
let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = u(t) ? void 0 : t._$litDirective$;
|
|
73
|
-
return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = O(e, i._$AS(e, t.values), i, r)), t;
|
|
74
|
-
}
|
|
75
|
-
var k = class {
|
|
76
|
-
constructor(e, t) {
|
|
77
|
-
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
78
|
-
}
|
|
79
|
-
get parentNode() {
|
|
80
|
-
return this._$AM.parentNode;
|
|
81
|
-
}
|
|
82
|
-
get _$AU() {
|
|
83
|
-
return this._$AM._$AU;
|
|
84
|
-
}
|
|
85
|
-
u(e) {
|
|
86
|
-
let { el: { content: t }, parts: n } = this._$AD, r = (e?.creationScope ?? c).importNode(t, !0);
|
|
87
|
-
w.currentNode = r;
|
|
88
|
-
let i = w.nextNode(), a = 0, o = 0, s = n[0];
|
|
89
|
-
for (; s !== void 0;) {
|
|
90
|
-
if (a === s.index) {
|
|
91
|
-
let t;
|
|
92
|
-
s.type === 2 ? t = new A(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new F(i, this, e)), this._$AV.push(t), s = n[++o];
|
|
93
|
-
}
|
|
94
|
-
a !== s?.index && (i = w.nextNode(), a++);
|
|
95
|
-
}
|
|
96
|
-
return w.currentNode = c, r;
|
|
97
|
-
}
|
|
98
|
-
p(e) {
|
|
99
|
-
let t = 0;
|
|
100
|
-
for (let n of this._$AV) n !== void 0 && (n.strings === void 0 ? n._$AI(e[t]) : (n._$AI(e, n, t), t += n.strings.length - 2)), t++;
|
|
101
|
-
}
|
|
102
|
-
}, A = class e {
|
|
103
|
-
get _$AU() {
|
|
104
|
-
return this._$AM?._$AU ?? this._$Cv;
|
|
105
|
-
}
|
|
106
|
-
constructor(e, t, n, r) {
|
|
107
|
-
this.type = 2, this._$AH = S, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = r, this._$Cv = r?.isConnected ?? !0;
|
|
108
|
-
}
|
|
109
|
-
get parentNode() {
|
|
110
|
-
let e = this._$AA.parentNode, t = this._$AM;
|
|
111
|
-
return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
|
|
112
|
-
}
|
|
113
|
-
get startNode() {
|
|
114
|
-
return this._$AA;
|
|
115
|
-
}
|
|
116
|
-
get endNode() {
|
|
117
|
-
return this._$AB;
|
|
118
|
-
}
|
|
119
|
-
_$AI(e, t = this) {
|
|
120
|
-
e = O(this, e, t), u(e) ? e === S || e == null || e === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : e !== this._$AH && e !== x && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? f(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
|
|
121
|
-
}
|
|
122
|
-
O(e) {
|
|
123
|
-
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
124
|
-
}
|
|
125
|
-
T(e) {
|
|
126
|
-
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
127
|
-
}
|
|
128
|
-
_(e) {
|
|
129
|
-
this._$AH !== S && u(this._$AH) ? this._$AA.nextSibling.data = e : this.T(c.createTextNode(e)), this._$AH = e;
|
|
130
|
-
}
|
|
131
|
-
$(e) {
|
|
132
|
-
let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = D.createElement(T(n.h, n.h[0]), this.options)), n);
|
|
133
|
-
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
134
|
-
else {
|
|
135
|
-
let e = new k(r, this), n = e.u(this.options);
|
|
136
|
-
e.p(t), this.T(n), this._$AH = e;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
_$AC(e) {
|
|
140
|
-
let t = C.get(e.strings);
|
|
141
|
-
return t === void 0 && C.set(e.strings, t = new D(e)), t;
|
|
142
|
-
}
|
|
143
|
-
k(t) {
|
|
144
|
-
d(this._$AH) || (this._$AH = [], this._$AR());
|
|
145
|
-
let n = this._$AH, r, i = 0;
|
|
146
|
-
for (let a of t) i === n.length ? n.push(r = new e(this.O(l()), this.O(l()), this, this.options)) : r = n[i], r._$AI(a), i++;
|
|
147
|
-
i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
|
|
148
|
-
}
|
|
149
|
-
_$AR(e = this._$AA.nextSibling, n) {
|
|
150
|
-
for (this._$AP?.(!1, !0, n); e !== this._$AB;) {
|
|
151
|
-
let n = t(e).nextSibling;
|
|
152
|
-
t(e).remove(), e = n;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
setConnected(e) {
|
|
156
|
-
this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
|
|
157
|
-
}
|
|
158
|
-
}, j = class {
|
|
159
|
-
get tagName() {
|
|
160
|
-
return this.element.tagName;
|
|
161
|
-
}
|
|
162
|
-
get _$AU() {
|
|
163
|
-
return this._$AM._$AU;
|
|
164
|
-
}
|
|
165
|
-
constructor(e, t, n, r, i) {
|
|
166
|
-
this.type = 1, this._$AH = S, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = i, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(/* @__PURE__ */ new String()), this.strings = n) : this._$AH = S;
|
|
167
|
-
}
|
|
168
|
-
_$AI(e, t = this, n, r) {
|
|
169
|
-
let i = this.strings, a = !1;
|
|
170
|
-
if (i === void 0) e = O(this, e, t, 0), a = !u(e) || e !== this._$AH && e !== x, a && (this._$AH = e);
|
|
171
|
-
else {
|
|
172
|
-
let r = e, o, s;
|
|
173
|
-
for (e = i[0], o = 0; o < i.length - 1; o++) s = O(this, r[n + o], t, o), s === x && (s = this._$AH[o]), a ||= !u(s) || s !== this._$AH[o], s === S ? e = S : e !== S && (e += (s ?? "") + i[o + 1]), this._$AH[o] = s;
|
|
174
|
-
}
|
|
175
|
-
a && !r && this.j(e);
|
|
176
|
-
}
|
|
177
|
-
j(e) {
|
|
178
|
-
e === S ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
179
|
-
}
|
|
180
|
-
}, M = class extends j {
|
|
181
|
-
constructor() {
|
|
182
|
-
super(...arguments), this.type = 3;
|
|
183
|
-
}
|
|
184
|
-
j(e) {
|
|
185
|
-
this.element[this.name] = e === S ? void 0 : e;
|
|
186
|
-
}
|
|
187
|
-
}, N = class extends j {
|
|
188
|
-
constructor() {
|
|
189
|
-
super(...arguments), this.type = 4;
|
|
190
|
-
}
|
|
191
|
-
j(e) {
|
|
192
|
-
this.element.toggleAttribute(this.name, !!e && e !== S);
|
|
193
|
-
}
|
|
194
|
-
}, P = class extends j {
|
|
195
|
-
constructor(e, t, n, r, i) {
|
|
196
|
-
super(e, t, n, r, i), this.type = 5;
|
|
197
|
-
}
|
|
198
|
-
_$AI(e, t = this) {
|
|
199
|
-
if ((e = O(this, e, t, 0) ?? S) === x) return;
|
|
200
|
-
let n = this._$AH, r = e === S && n !== S || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, i = e !== S && (n === S || r);
|
|
201
|
-
r && this.element.removeEventListener(this.name, this, n), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
202
|
-
}
|
|
203
|
-
handleEvent(e) {
|
|
204
|
-
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
|
|
205
|
-
}
|
|
206
|
-
}, F = class {
|
|
207
|
-
constructor(e, t, n) {
|
|
208
|
-
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
|
209
|
-
}
|
|
210
|
-
get _$AU() {
|
|
211
|
-
return this._$AM._$AU;
|
|
212
|
-
}
|
|
213
|
-
_$AI(e) {
|
|
214
|
-
O(this, e);
|
|
215
|
-
}
|
|
216
|
-
}, I = {
|
|
217
|
-
M: i,
|
|
218
|
-
P: a,
|
|
219
|
-
A: o,
|
|
220
|
-
C: 1,
|
|
221
|
-
L: E,
|
|
222
|
-
R: k,
|
|
223
|
-
D: f,
|
|
224
|
-
V: O,
|
|
225
|
-
I: A,
|
|
226
|
-
H: j,
|
|
227
|
-
N,
|
|
228
|
-
U: P,
|
|
229
|
-
B: M,
|
|
230
|
-
F
|
|
231
|
-
}, L = e.litHtmlPolyfillSupport;
|
|
232
|
-
L?.(D, A), (e.litHtmlVersions ??= []).push("3.3.3");
|
|
233
|
-
//#endregion
|
|
234
|
-
export { S as A, I as j };
|