@public-ui/components 1.1.14 → 1.1.15-rc.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.
- package/custom-elements.json +1 -1
- package/dist/cjs/{app-globals-76ae34a9.js → app-globals-2c0b0de7.js} +1 -1
- package/dist/cjs/button-link-a12f7601.js +4 -0
- package/dist/cjs/{controller-f9878fc6.js → controller-25d2bcf5.js} +1 -1
- package/dist/cjs/{controller-2a3bb69b.js → controller-2808db1f.js} +1 -1
- package/dist/cjs/{controller-71eb89c9.js → controller-418bac47.js} +1 -1
- package/dist/cjs/{controller-250c33b0.js → controller-54c16d9a.js} +1 -1
- package/dist/cjs/{controller-99ca8214.js → controller-b37f5ec4.js} +1 -1
- package/dist/cjs/{controller-ff2c7079.js → controller-dc5edb3c.js} +1 -1
- package/dist/cjs/{devtools-34604ecc.js → devtools-27b5778d.js} +1 -1
- package/dist/cjs/{icon-797460dc.js → icon-76cfdf6c.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc_3.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-logo.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-span.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
- package/dist/cjs/kol-table.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-4275ff0e.js → label-39ee877b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{prop.validators-0257b98f.js → prop.validators-b46024aa.js} +1 -1
- package/dist/cjs/{tab-index-a05fe504.js → tab-index-3f6be69b.js} +1 -1
- package/dist/cjs/{validation-e37d4d60.js → validation-014e625a.js} +1 -1
- package/dist/cjs/validation-a248d5ed.js +4 -0
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component14.js +1 -1
- package/dist/components/component15.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/controller3.js +1 -1
- package/dist/components/controller5.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-group.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-color.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon-icofont.js +1 -1
- package/dist/components/kol-indented-text.js +1 -1
- package/dist/components/kol-input-adapter-leanup.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio-group.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-input.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link-group.js +1 -1
- package/dist/components/kol-link-wc.js +1 -1
- package/dist/components/kol-logo.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-span-wc.js +1 -1
- package/dist/components/kol-span.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-table.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast.js +1 -1
- package/dist/components/kol-tooltip.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/shadow.js +1 -1
- package/dist/components/shadow2.js +1 -1
- package/dist/esm/{app-globals-e2f7e846.js → app-globals-644d6123.js} +1 -1
- package/dist/esm/{button-link-037f13ca.js → button-link-fefd87d2.js} +1 -1
- package/dist/esm/{controller-8f43642b.js → controller-05a74538.js} +1 -1
- package/dist/esm/{controller-077364ce.js → controller-343a5fe3.js} +1 -1
- package/dist/esm/{controller-cb9b3214.js → controller-5298105d.js} +1 -1
- package/dist/esm/{controller-650bbefa.js → controller-8216ecac.js} +1 -1
- package/dist/esm/{controller-5f71a728.js → controller-cc829bb5.js} +1 -1
- package/dist/esm/{controller-05a2f9b7.js → controller-eb819846.js} +1 -1
- package/dist/esm/{devtools-a9590957.js → devtools-ee3136ac.js} +1 -1
- package/dist/esm/{icon-63fac1a4.js → icon-f697146e.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-wc_3.entry.js +1 -1
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-color.entry.js +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-group.entry.js +1 -1
- package/dist/esm/kol-link-wc.entry.js +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-logo.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-span-wc.entry.js +1 -1
- package/dist/esm/kol-span.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-symbol.entry.js +1 -1
- package/dist/esm/kol-table.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-toast.entry.js +1 -1
- package/dist/esm/kol-tooltip.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-9d29cae2.js → label-c2847eb8.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{prop.validators-13dda64d.js → prop.validators-5a755a6e.js} +1 -1
- package/dist/esm/{tab-index-92fe8657.js → tab-index-027c9865.js} +1 -1
- package/dist/esm/{validation-33c8ce6d.js → validation-0c93e1e9.js} +1 -1
- package/dist/esm/{validation-20917649.js → validation-60c358f7.js} +1 -1
- package/dist/kolibri/{app-globals-e2f7e846.js → app-globals-644d6123.js} +1 -1
- package/dist/kolibri/{button-link-037f13ca.js → button-link-fefd87d2.js} +1 -1
- package/dist/kolibri/{controller-8f43642b.js → controller-05a74538.js} +1 -1
- package/dist/kolibri/controller-343a5fe3.js +4 -0
- package/dist/kolibri/{controller-cb9b3214.js → controller-5298105d.js} +1 -1
- package/dist/kolibri/{controller-650bbefa.js → controller-8216ecac.js} +1 -1
- package/dist/kolibri/{controller-5f71a728.js → controller-cc829bb5.js} +1 -1
- package/dist/kolibri/{controller-05a2f9b7.js → controller-eb819846.js} +1 -1
- package/dist/kolibri/{devtools-a9590957.js → devtools-ee3136ac.js} +1 -1
- package/dist/kolibri/{icon-63fac1a4.js → icon-f697146e.js} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-wc_3.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-color.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-group.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-logo.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-span-wc.entry.js +1 -1
- package/dist/kolibri/kol-span.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast.entry.js +1 -1
- package/dist/kolibri/kol-tooltip.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/{label-9d29cae2.js → label-c2847eb8.js} +1 -1
- package/dist/kolibri/prop.validators-5a755a6e.js +4 -0
- package/dist/kolibri/tab-index-027c9865.js +4 -0
- package/dist/kolibri/validation-0c93e1e9.js +4 -0
- package/dist/kolibri/validation-60c358f7.js +4 -0
- package/dist/types/components/abbr/component.d.ts +1 -0
- package/jest-test-results.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/button-link-47a047fc.js +0 -4
- package/dist/cjs/validation-00b4c7b9.js +0 -4
- package/dist/components/component16.js +0 -4
- package/dist/custom-elements/devtools.js +0 -4
- package/dist/custom-elements/index.d.ts +0 -375
- package/dist/custom-elements/index.js +0 -4
- package/dist/kolibri/controller-077364ce.js +0 -4
- package/dist/kolibri/prop.validators-13dda64d.js +0 -4
- package/dist/kolibri/tab-index-92fe8657.js +0 -4
- package/dist/kolibri/validation-20917649.js +0 -4
- package/dist/kolibri/validation-33c8ce6d.js +0 -4
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const prop_validators=require("./prop.validators-0257b98f.js"),watchTooltipAlignment=(t,o,i)=>{prop_validators.watchValidator(t,o,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),i,{defaultValue:"top"})};exports.watchTooltipAlignment=watchTooltipAlignment;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const a11y_tipps=require("./a11y.tipps-df3024df.js"),prop_validators=require("./prop.validators-0257b98f.js"),watchNavLinks=(t,s,a)=>{prop_validators.watchJsonArrayString(s,"_links",(t=>"object"==typeof t&&"string"==typeof t._label),a),a11y_tipps.uiUxHintMillerscheZahl(t,s.state._links.length)};exports.watchNavLinks=watchNavLinks;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{j as watchValidator,B as getDocument,n as nonce,w as watchString}from"./prop.validators.js";import{d as defineCustomElement$3}from"./component2.js";import{d as defineCustomElement$2}from"./component6.js";import{d as defineCustomElement$1}from"./component15.js";const watchTooltipAlignment=(t,e,o)=>{watchValidator(t,e,(t=>"top"===t||"right"===t||"bottom"===t||"left"===t),new Set(["TooltipAlignment {top, right, buttom, left}"]),o,{defaultValue:"top"})},defaultStyleCss='kol-badge,.tooltip{font-size:1rem;position:fixed;animation-name:fadeInOpacity;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.5s;display:none;z-index:1000;max-width:300px;box-shadow:0 0 0.15rem rgba(255, 255, 255, 0.8)}kol-badge::after,.tooltip::after{content:" ";position:absolute;border-style:solid;border-width:5px}kol-badge.arrow-left::after,.tooltip.arrow-left::after{margin-top:-5px;top:50%;right:100%;border-color:transparent black transparent transparent}kol-badge.arrow-right::after,.tooltip.arrow-right::after{margin-top:-5px;top:50%;left:100%;border-color:transparent transparent transparent black}kol-badge.arrow-top::after,.tooltip.arrow-top::after{margin-left:-5px;left:50%;bottom:100%;border-color:transparent transparent black transparent}kol-badge.arrow-bottom::after,.tooltip.arrow-bottom::after{margin-left:-5px;left:50%;top:100%;border-color:black transparent transparent transparent}@keyframes fadeInOpacity{0%{opacity:0}100%{opacity:1}}',KolTooltip=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.hydrated=!1,this.hostElement=null,this.childElements=[],this.alignTooltip=()=>{const t=this.childElements[0];{const e=t.getBoundingClientRect();if(this.tooltipElement instanceof HTMLElement){switch(this.state._align){case"top":case"bottom":this.tooltipElement.style.left=e.left+t.offsetWidth/2-this.tooltipElement.offsetWidth/2+"px";break;default:this.tooltipElement.style.top=e.top+e.height/2-this.tooltipElement.offsetHeight/2+"px"}switch(this.state._align){case"left":this.tooltipElement.style.left=`calc(${e.left-this.tooltipElement.offsetWidth}px - 0.5em)`;break;case"right":this.tooltipElement.style.left=`calc(${e.right}px + 0.5em)`;break;case"bottom":this.tooltipElement.style.top=`calc(${e.bottom}px + 0.5em)`;break;default:this.tooltipElement.style.top=`calc(${e.top-this.tooltipElement.offsetHeight}px - 0.5em)`}}}},this.showTooltip=()=>{this.tooltipElement instanceof HTMLElement&&(this.tooltipElement.style.setProperty("display","block"),getDocument().body.addEventListener("keyup",this.hideTooltipByEscape),this.alignTooltip(),this.tooltipElement.style.setProperty("visibility","visible"),document.addEventListener("scroll",this.alignTooltip))},this.hideTooltip=()=>{this.tooltipElement instanceof HTMLElement&&(this.tooltipElement.style.setProperty("display","none"),this.tooltipElement.style.setProperty("visibility","hidden"),document.removeEventListener("scroll",this.alignTooltip))},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(getDocument().body.removeEventListener("keyup",this.hideTooltipByEscape),this.hideTooltip())},this.catchHostElement=t=>{if(this.hostElement=t,this.hostElement instanceof HTMLElement){const t=this.hostElement.previousElementSibling;t instanceof HTMLElement&&(t.removeEventListener("mouseover",this.showTooltip),t.addEventListener("mouseover",this.showTooltip),t.removeEventListener("focus",this.showTooltip),t.addEventListener("focus",this.showTooltip),t.removeEventListener("mouseout",this.hideTooltip),t.addEventListener("mouseout",this.hideTooltip),t.removeEventListener("blur",this.hideTooltip),t.addEventListener("blur",this.hideTooltip),this.childElements.push(t))}},this.catchTooltipElement=t=>{this.tooltipElement=t},this._align="top",this._id=void 0,this._label=void 0,this.state={_align:"top",_id:nonce(),_label:""}}render(){const t=setTimeout((()=>{clearTimeout(t),this.alignTooltip()}),250);return h(Host,{ref:this.catchHostElement,style:{maxWidth:"300px"}},""!==this.state._label&&h("kol-badge",{class:{"arrow-bottom":"top"===this.state._align,"arrow-left":"right"===this.state._align,"arrow-top":"bottom"===this.state._align,"arrow-right":"left"===this.state._align},id:this.state._id,ref:this.catchTooltipElement,_color:{backgroundColor:"#333",color:"#ddd"},_label:this.state._label}))}validateAlign(t){watchTooltipAlignment(this,"_align",t)}validateId(t){watchString(this,"_id",t)}validateLabel(t){watchString(this,"_label",t)}componentWillLoad(){this.validateAlign(this._align),this.validateId(this._id),this.validateLabel(this._label),this.hydrated=!0}static get watchers(){return{_align:["validateAlign"],_id:["validateId"],_label:["validateLabel"]}}static get style(){return{default:defaultStyleCss}}},[32,"kol-tooltip",{_align:[1],_id:[1],_label:[1],state:[32]}]);function defineCustomElement(){if("undefined"==typeof customElements)return;["kol-tooltip","kol-badge","kol-icon","kol-span-wc"].forEach((t=>{switch(t){case"kol-tooltip":customElements.get(t)||customElements.define(t,KolTooltip);break;case"kol-badge":customElements.get(t)||defineCustomElement$3();break;case"kol-icon":customElements.get(t)||defineCustomElement$2();break;case"kol-span-wc":customElements.get(t)||defineCustomElement$1()}}))}export{KolTooltip as K,defineCustomElement as d,watchTooltipAlignment as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as initKoliBri,g as getDevMode,r as renderDevAdvice,a as getDocument,b as getColorContrastAnalysis,L as Log,K as KoliBriUtils,k as koliBriA11yColorContrast,c as KoliBri,d as koliBriQuerySelector,e as koliBriQuerySelectorAll,f as koliBriQuerySelectorColors,p as parseJson,s as stringifyJson}from"./index.js";function prototypeKoliBri(t,o){try{Object.defineProperty(KoliBri,t,{get:function(){return o}})}catch(o){Log.debug(`KoliBri property ${t} is already bind.`)}}const initialize=()=>{if(initKoliBri(),getDevMode()){renderDevAdvice(),prototypeKoliBri("a11yColorContrast",koliBriA11yColorContrast),prototypeKoliBri("querySelector",koliBriQuerySelector),prototypeKoliBri("querySelectorAll",koliBriQuerySelectorAll),prototypeKoliBri("querySelectorColors",koliBriQuerySelectorColors),prototypeKoliBri("utils",(function(){return KoliBriUtils})),prototypeKoliBri("parseJson",parseJson),prototypeKoliBri("stringifyJson",stringifyJson);const t=getDocument().body,o=getDocument().createElement("svg");if(o.setAttribute("aria-label","KoliBri-DevTools"),o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("role","toolbar"),o.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),o.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',getDocument().body.appendChild(o),getColorContrastAnalysis()){Log.debug("Color-Contrast-Analysis activated");const o=setTimeout((()=>{clearTimeout(o),setInterval((()=>{KoliBriUtils.queryHtmlElementColors(getDocument().createElement("div"),koliBriA11yColorContrast(t),!1,!1)}),1e4)}),2500)}else Log.debug("Color-Contrast-Analysis not activated")}};export{initialize};
|
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
/* kolibri custom elements bundle */
|
|
2
|
-
|
|
3
|
-
import type { Components, JSX } from "../types/kolibri";
|
|
4
|
-
|
|
5
|
-
interface KolAbbr extends Components.KolAbbr, HTMLElement {}
|
|
6
|
-
export const KolAbbr: {
|
|
7
|
-
prototype: KolAbbr;
|
|
8
|
-
new (): KolAbbr;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
interface KolAccordion extends Components.KolAccordion, HTMLElement {}
|
|
12
|
-
export const KolAccordion: {
|
|
13
|
-
prototype: KolAccordion;
|
|
14
|
-
new (): KolAccordion;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
interface KolAlert extends Components.KolAlert, HTMLElement {}
|
|
18
|
-
export const KolAlert: {
|
|
19
|
-
prototype: KolAlert;
|
|
20
|
-
new (): KolAlert;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
interface KolBadge extends Components.KolBadge, HTMLElement {}
|
|
24
|
-
export const KolBadge: {
|
|
25
|
-
prototype: KolBadge;
|
|
26
|
-
new (): KolBadge;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
interface KolBreadcrumb extends Components.KolBreadcrumb, HTMLElement {}
|
|
30
|
-
export const KolBreadcrumb: {
|
|
31
|
-
prototype: KolBreadcrumb;
|
|
32
|
-
new (): KolBreadcrumb;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
interface KolButton extends Components.KolButton, HTMLElement {}
|
|
36
|
-
export const KolButton: {
|
|
37
|
-
prototype: KolButton;
|
|
38
|
-
new (): KolButton;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
interface KolButtonGroup extends Components.KolButtonGroup, HTMLElement {}
|
|
42
|
-
export const KolButtonGroup: {
|
|
43
|
-
prototype: KolButtonGroup;
|
|
44
|
-
new (): KolButtonGroup;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
interface KolButtonGroupWc extends Components.KolButtonGroupWc, HTMLElement {}
|
|
48
|
-
export const KolButtonGroupWc: {
|
|
49
|
-
prototype: KolButtonGroupWc;
|
|
50
|
-
new (): KolButtonGroupWc;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
interface KolButtonLink extends Components.KolButtonLink, HTMLElement {}
|
|
54
|
-
export const KolButtonLink: {
|
|
55
|
-
prototype: KolButtonLink;
|
|
56
|
-
new (): KolButtonLink;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
interface KolButtonWc extends Components.KolButtonWc, HTMLElement {}
|
|
60
|
-
export const KolButtonWc: {
|
|
61
|
-
prototype: KolButtonWc;
|
|
62
|
-
new (): KolButtonWc;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
interface KolCard extends Components.KolCard, HTMLElement {}
|
|
66
|
-
export const KolCard: {
|
|
67
|
-
prototype: KolCard;
|
|
68
|
-
new (): KolCard;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
interface KolColor extends Components.KolColor, HTMLElement {}
|
|
72
|
-
export const KolColor: {
|
|
73
|
-
prototype: KolColor;
|
|
74
|
-
new (): KolColor;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
interface KolCounter extends Components.KolCounter, HTMLElement {}
|
|
78
|
-
export const KolCounter: {
|
|
79
|
-
prototype: KolCounter;
|
|
80
|
-
new (): KolCounter;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
interface KolDetails extends Components.KolDetails, HTMLElement {}
|
|
84
|
-
export const KolDetails: {
|
|
85
|
-
prototype: KolDetails;
|
|
86
|
-
new (): KolDetails;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
interface KolForm extends Components.KolForm, HTMLElement {}
|
|
90
|
-
export const KolForm: {
|
|
91
|
-
prototype: KolForm;
|
|
92
|
-
new (): KolForm;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
interface KolHeading extends Components.KolHeading, HTMLElement {}
|
|
96
|
-
export const KolHeading: {
|
|
97
|
-
prototype: KolHeading;
|
|
98
|
-
new (): KolHeading;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
interface KolHeadingWc extends Components.KolHeadingWc, HTMLElement {}
|
|
102
|
-
export const KolHeadingWc: {
|
|
103
|
-
prototype: KolHeadingWc;
|
|
104
|
-
new (): KolHeadingWc;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
interface KolIcon extends Components.KolIcon, HTMLElement {}
|
|
108
|
-
export const KolIcon: {
|
|
109
|
-
prototype: KolIcon;
|
|
110
|
-
new (): KolIcon;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
interface KolIconFontAwesome extends Components.KolIconFontAwesome, HTMLElement {}
|
|
114
|
-
export const KolIconFontAwesome: {
|
|
115
|
-
prototype: KolIconFontAwesome;
|
|
116
|
-
new (): KolIconFontAwesome;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
interface KolIconIcofont extends Components.KolIconIcofont, HTMLElement {}
|
|
120
|
-
export const KolIconIcofont: {
|
|
121
|
-
prototype: KolIconIcofont;
|
|
122
|
-
new (): KolIconIcofont;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
interface KolIndentedText extends Components.KolIndentedText, HTMLElement {}
|
|
126
|
-
export const KolIndentedText: {
|
|
127
|
-
prototype: KolIndentedText;
|
|
128
|
-
new (): KolIndentedText;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
interface KolInput extends Components.KolInput, HTMLElement {}
|
|
132
|
-
export const KolInput: {
|
|
133
|
-
prototype: KolInput;
|
|
134
|
-
new (): KolInput;
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
interface KolInputAdapterLeanup extends Components.KolInputAdapterLeanup, HTMLElement {}
|
|
138
|
-
export const KolInputAdapterLeanup: {
|
|
139
|
-
prototype: KolInputAdapterLeanup;
|
|
140
|
-
new (): KolInputAdapterLeanup;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
interface KolInputCheckbox extends Components.KolInputCheckbox, HTMLElement {}
|
|
144
|
-
export const KolInputCheckbox: {
|
|
145
|
-
prototype: KolInputCheckbox;
|
|
146
|
-
new (): KolInputCheckbox;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
interface KolInputColor extends Components.KolInputColor, HTMLElement {}
|
|
150
|
-
export const KolInputColor: {
|
|
151
|
-
prototype: KolInputColor;
|
|
152
|
-
new (): KolInputColor;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
interface KolInputDate extends Components.KolInputDate, HTMLElement {}
|
|
156
|
-
export const KolInputDate: {
|
|
157
|
-
prototype: KolInputDate;
|
|
158
|
-
new (): KolInputDate;
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
interface KolInputEmail extends Components.KolInputEmail, HTMLElement {}
|
|
162
|
-
export const KolInputEmail: {
|
|
163
|
-
prototype: KolInputEmail;
|
|
164
|
-
new (): KolInputEmail;
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
interface KolInputFile extends Components.KolInputFile, HTMLElement {}
|
|
168
|
-
export const KolInputFile: {
|
|
169
|
-
prototype: KolInputFile;
|
|
170
|
-
new (): KolInputFile;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
interface KolInputNumber extends Components.KolInputNumber, HTMLElement {}
|
|
174
|
-
export const KolInputNumber: {
|
|
175
|
-
prototype: KolInputNumber;
|
|
176
|
-
new (): KolInputNumber;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
interface KolInputPassword extends Components.KolInputPassword, HTMLElement {}
|
|
180
|
-
export const KolInputPassword: {
|
|
181
|
-
prototype: KolInputPassword;
|
|
182
|
-
new (): KolInputPassword;
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
interface KolInputRadio extends Components.KolInputRadio, HTMLElement {}
|
|
186
|
-
export const KolInputRadio: {
|
|
187
|
-
prototype: KolInputRadio;
|
|
188
|
-
new (): KolInputRadio;
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
interface KolInputRadioGroup extends Components.KolInputRadioGroup, HTMLElement {}
|
|
192
|
-
export const KolInputRadioGroup: {
|
|
193
|
-
prototype: KolInputRadioGroup;
|
|
194
|
-
new (): KolInputRadioGroup;
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
interface KolInputRange extends Components.KolInputRange, HTMLElement {}
|
|
198
|
-
export const KolInputRange: {
|
|
199
|
-
prototype: KolInputRange;
|
|
200
|
-
new (): KolInputRange;
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
interface KolInputText extends Components.KolInputText, HTMLElement {}
|
|
204
|
-
export const KolInputText: {
|
|
205
|
-
prototype: KolInputText;
|
|
206
|
-
new (): KolInputText;
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
interface KolKolibri extends Components.KolKolibri, HTMLElement {}
|
|
210
|
-
export const KolKolibri: {
|
|
211
|
-
prototype: KolKolibri;
|
|
212
|
-
new (): KolKolibri;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
interface KolLink extends Components.KolLink, HTMLElement {}
|
|
216
|
-
export const KolLink: {
|
|
217
|
-
prototype: KolLink;
|
|
218
|
-
new (): KolLink;
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
interface KolLinkButton extends Components.KolLinkButton, HTMLElement {}
|
|
222
|
-
export const KolLinkButton: {
|
|
223
|
-
prototype: KolLinkButton;
|
|
224
|
-
new (): KolLinkButton;
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
interface KolLinkGroup extends Components.KolLinkGroup, HTMLElement {}
|
|
228
|
-
export const KolLinkGroup: {
|
|
229
|
-
prototype: KolLinkGroup;
|
|
230
|
-
new (): KolLinkGroup;
|
|
231
|
-
};
|
|
232
|
-
|
|
233
|
-
interface KolLinkWc extends Components.KolLinkWc, HTMLElement {}
|
|
234
|
-
export const KolLinkWc: {
|
|
235
|
-
prototype: KolLinkWc;
|
|
236
|
-
new (): KolLinkWc;
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
interface KolLogo extends Components.KolLogo, HTMLElement {}
|
|
240
|
-
export const KolLogo: {
|
|
241
|
-
prototype: KolLogo;
|
|
242
|
-
new (): KolLogo;
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
interface KolModal extends Components.KolModal, HTMLElement {}
|
|
246
|
-
export const KolModal: {
|
|
247
|
-
prototype: KolModal;
|
|
248
|
-
new (): KolModal;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
interface KolNav extends Components.KolNav, HTMLElement {}
|
|
252
|
-
export const KolNav: {
|
|
253
|
-
prototype: KolNav;
|
|
254
|
-
new (): KolNav;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
interface KolPagination extends Components.KolPagination, HTMLElement {}
|
|
258
|
-
export const KolPagination: {
|
|
259
|
-
prototype: KolPagination;
|
|
260
|
-
new (): KolPagination;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
interface KolProgress extends Components.KolProgress, HTMLElement {}
|
|
264
|
-
export const KolProgress: {
|
|
265
|
-
prototype: KolProgress;
|
|
266
|
-
new (): KolProgress;
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
interface KolSelect extends Components.KolSelect, HTMLElement {}
|
|
270
|
-
export const KolSelect: {
|
|
271
|
-
prototype: KolSelect;
|
|
272
|
-
new (): KolSelect;
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
interface KolSkipNav extends Components.KolSkipNav, HTMLElement {}
|
|
276
|
-
export const KolSkipNav: {
|
|
277
|
-
prototype: KolSkipNav;
|
|
278
|
-
new (): KolSkipNav;
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
interface KolSpan extends Components.KolSpan, HTMLElement {}
|
|
282
|
-
export const KolSpan: {
|
|
283
|
-
prototype: KolSpan;
|
|
284
|
-
new (): KolSpan;
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
interface KolSpanWc extends Components.KolSpanWc, HTMLElement {}
|
|
288
|
-
export const KolSpanWc: {
|
|
289
|
-
prototype: KolSpanWc;
|
|
290
|
-
new (): KolSpanWc;
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
interface KolSpin extends Components.KolSpin, HTMLElement {}
|
|
294
|
-
export const KolSpin: {
|
|
295
|
-
prototype: KolSpin;
|
|
296
|
-
new (): KolSpin;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
interface KolSymbol extends Components.KolSymbol, HTMLElement {}
|
|
300
|
-
export const KolSymbol: {
|
|
301
|
-
prototype: KolSymbol;
|
|
302
|
-
new (): KolSymbol;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
interface KolTable extends Components.KolTable, HTMLElement {}
|
|
306
|
-
export const KolTable: {
|
|
307
|
-
prototype: KolTable;
|
|
308
|
-
new (): KolTable;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
interface KolTabs extends Components.KolTabs, HTMLElement {}
|
|
312
|
-
export const KolTabs: {
|
|
313
|
-
prototype: KolTabs;
|
|
314
|
-
new (): KolTabs;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
interface KolTextarea extends Components.KolTextarea, HTMLElement {}
|
|
318
|
-
export const KolTextarea: {
|
|
319
|
-
prototype: KolTextarea;
|
|
320
|
-
new (): KolTextarea;
|
|
321
|
-
};
|
|
322
|
-
|
|
323
|
-
interface KolToast extends Components.KolToast, HTMLElement {}
|
|
324
|
-
export const KolToast: {
|
|
325
|
-
prototype: KolToast;
|
|
326
|
-
new (): KolToast;
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
interface KolTooltip extends Components.KolTooltip, HTMLElement {}
|
|
330
|
-
export const KolTooltip: {
|
|
331
|
-
prototype: KolTooltip;
|
|
332
|
-
new (): KolTooltip;
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
interface KolVersion extends Components.KolVersion, HTMLElement {}
|
|
336
|
-
export const KolVersion: {
|
|
337
|
-
prototype: KolVersion;
|
|
338
|
-
new (): KolVersion;
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Utility to define all custom elements within this package using the tag name provided in the component's source.
|
|
343
|
-
* When defining each custom element, it will also check it's safe to define by:
|
|
344
|
-
*
|
|
345
|
-
* 1. Ensuring the "customElements" registry is available in the global context (window).
|
|
346
|
-
* 2. The component tag name is not already defined.
|
|
347
|
-
*
|
|
348
|
-
* Use the standard [customElements.define()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define)
|
|
349
|
-
* method instead to define custom elements individually, or to provide a different tag name.
|
|
350
|
-
*/
|
|
351
|
-
export declare const defineCustomElements: (opts?: any) => void;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Used to manually set the base path where assets can be found.
|
|
355
|
-
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
356
|
-
* such as "setAssetPath(import.meta.url)". Other options include
|
|
357
|
-
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
358
|
-
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
359
|
-
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
360
|
-
* bunding, and where your assets can be loaded from. Additionally custom bundling
|
|
361
|
-
* will have to ensure the static assets are copied to its build directory.
|
|
362
|
-
*/
|
|
363
|
-
export declare const setAssetPath: (path: string) => void;
|
|
364
|
-
|
|
365
|
-
export interface SetPlatformOptions {
|
|
366
|
-
raf?: (c: FrameRequestCallback) => number;
|
|
367
|
-
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
368
|
-
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
369
|
-
ce?: (eventName: string, opts?: any) => CustomEvent;
|
|
370
|
-
}
|
|
371
|
-
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
372
|
-
|
|
373
|
-
export type { Components, JSX };
|
|
374
|
-
|
|
375
|
-
export * from '../types';
|