@revotech-group/revotech-ui-kit 0.0.71 → 0.0.72
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/dist/rtg-ui-kit.js +3 -3
- package/dist/rtg-ui-kit.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/rtg-ui-kit.js
CHANGED
|
@@ -5881,7 +5881,7 @@ const Wa = dt(
|
|
|
5881
5881
|
}
|
|
5882
5882
|
}
|
|
5883
5883
|
), Xa = dt(
|
|
5884
|
-
"rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-
|
|
5884
|
+
"rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-md rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",
|
|
5885
5885
|
{
|
|
5886
5886
|
variants: {
|
|
5887
5887
|
variant: {
|
|
@@ -5893,9 +5893,9 @@ const Wa = dt(
|
|
|
5893
5893
|
link: "rtg-text-primary rtg-underline-offset-4 hover:rtg-underline"
|
|
5894
5894
|
},
|
|
5895
5895
|
size: {
|
|
5896
|
-
default: "rtg-h-8 rtg-px-4 rtg-py-2",
|
|
5896
|
+
default: "rtg-h-8 rtg-rounded-md rtg-px-4 rtg-py-2",
|
|
5897
5897
|
sm: "rtg-h-7 rtg-rounded-sm rtg-px-3 rtg-text-xs",
|
|
5898
|
-
lg: "rtg-h-9 rtg-rounded-
|
|
5898
|
+
lg: "rtg-h-9 rtg-rounded-md rtg-px-8",
|
|
5899
5899
|
icon: "rtg-h-8 rtg-w-8"
|
|
5900
5900
|
}
|
|
5901
5901
|
},
|
package/dist/rtg-ui-kit.umd.cjs
CHANGED
|
@@ -2967,7 +2967,7 @@ body {
|
|
|
2967
2967
|
</div>`:""}
|
|
2968
2968
|
${this.message?d.html`<div part="alert-description">${this.message}</div>`:""}
|
|
2969
2969
|
</div>
|
|
2970
|
-
`}},o.Alert.alertVariants=Er,Ke([l.property({type:String})],o.Alert.prototype,"title",2),Ke([l.property({type:String})],o.Alert.prototype,"message",2),Ke([l.property({type:String})],o.Alert.prototype,"variant",2),Ke([l.property({type:String})],o.Alert.prototype,"size",2),o.Alert=Ke([l.customElement("rtg-alert")],o.Alert);const Ho=Z("rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-sm rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",{variants:{variant:{outline:"rtg-border rtg-border-input rtg-bg-transparent rtg-shadow-sm hover:rtg-bg-accent hover:rtg-text-accent-foreground"},size:{default:"rtg-h-7 rtg-w-7 rtg-p-0"}},defaultVariants:{variant:"outline",size:"default"}}),Yo=Z("rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-
|
|
2970
|
+
`}},o.Alert.alertVariants=Er,Ke([l.property({type:String})],o.Alert.prototype,"title",2),Ke([l.property({type:String})],o.Alert.prototype,"message",2),Ke([l.property({type:String})],o.Alert.prototype,"variant",2),Ke([l.property({type:String})],o.Alert.prototype,"size",2),o.Alert=Ke([l.customElement("rtg-alert")],o.Alert);const Ho=Z("rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-sm rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",{variants:{variant:{outline:"rtg-border rtg-border-input rtg-bg-transparent rtg-shadow-sm hover:rtg-bg-accent hover:rtg-text-accent-foreground"},size:{default:"rtg-h-7 rtg-w-7 rtg-p-0"}},defaultVariants:{variant:"outline",size:"default"}}),Yo=Z("rtg-inline-flex rtg-items-center rtg-justify-center rtg-whitespace-nowrap rtg-rounded-md rtg-text-sm rtg-font-medium rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-1 focus-visible:rtg-ring-ring disabled:rtg-pointer-events-none disabled:rtg-opacity-50",{variants:{variant:{default:"rtg-bg-primary rtg-text-primary-foreground rtg-shadow hover:rtg-bg-primary/90",destructive:"rtg-bg-destructive rtg-text-destructive-foreground rtg-shadow-sm hover:rtg-bg-destructive/90",outline:"rtg-border rtg-border-input rtg-bg-background rtg-shadow-sm hover:rtg-bg-accent hover:rtg-text-accent-foreground",secondary:"rtg-bg-secondary rtg-text-secondary-foreground rtg-shadow-sm hover:rtg-bg-secondary/80",ghost:"hover:rtg-bg-accent hover:rtg-text-accent-foreground",link:"rtg-text-primary rtg-underline-offset-4 hover:rtg-underline"},size:{default:"rtg-h-8 rtg-rounded-md rtg-px-4 rtg-py-2",sm:"rtg-h-7 rtg-rounded-sm rtg-px-3 rtg-text-xs",lg:"rtg-h-9 rtg-rounded-md rtg-px-8",icon:"rtg-h-8 rtg-w-8"}},defaultVariants:{variant:"default",size:"default"}});var jo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,_e=(i,e,r,n)=>{for(var t=n>1?void 0:n?Wo(e,r):e,a=i.length-1,s;a>=0;a--)(s=i[a])&&(t=(n?s(e,r,t):s(t))||t);return n&&t&&jo(e,r,t),t};o.Button=class extends h{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.type="button",this.variant="default",this.size="default"}handleClick(){this.disabled||this.click()}createRenderRoot(){return this}getAttributesToExclude(){return["click","disabled","type","variant","size","data-testid"]}getAttributesToRemoveFromParent(){return["class"]}firstUpdated(){this.moveLightDomChildrenInto(this.buttonElement),this.removeParentAttributes()}render(){const e=this.getFilteredAttributes();return d.html`
|
|
2971
2971
|
<button
|
|
2972
2972
|
part="button"
|
|
2973
2973
|
type="${this.type}"
|
package/package.json
CHANGED