@revotech-group/revotech-ui-kit 0.0.76 → 0.0.78
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/library.css +3 -6
- package/dist/rtg-ui-kit.js +4 -4
- package/dist/rtg-ui-kit.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/library.css
CHANGED
|
@@ -584,9 +584,6 @@ video {
|
|
|
584
584
|
|
|
585
585
|
* {
|
|
586
586
|
border-color: hsl(var(--border));
|
|
587
|
-
font-family:
|
|
588
|
-
GeistSans, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
589
|
-
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
590
587
|
}
|
|
591
588
|
|
|
592
589
|
body {
|
|
@@ -1399,9 +1396,9 @@ body {
|
|
|
1399
1396
|
padding-left: 1.25rem;
|
|
1400
1397
|
padding-right: 1.25rem;
|
|
1401
1398
|
}
|
|
1402
|
-
.rtg-px-
|
|
1403
|
-
padding-left:
|
|
1404
|
-
padding-right:
|
|
1399
|
+
.rtg-px-6 {
|
|
1400
|
+
padding-left: 1.5rem;
|
|
1401
|
+
padding-right: 1.5rem;
|
|
1405
1402
|
}
|
|
1406
1403
|
.rtg-py-0\.5 {
|
|
1407
1404
|
padding-top: 0.125rem;
|
package/dist/rtg-ui-kit.js
CHANGED
|
@@ -5913,10 +5913,10 @@ const Wa = dt(
|
|
|
5913
5913
|
link: "rtg-text-primary rtg-underline-offset-4 hover:rtg-underline"
|
|
5914
5914
|
},
|
|
5915
5915
|
size: {
|
|
5916
|
-
default: "rtg-h-
|
|
5917
|
-
sm: "rtg-h-
|
|
5918
|
-
lg: "rtg-h-
|
|
5919
|
-
icon: "rtg-h-
|
|
5916
|
+
default: "rtg-h-9 rtg-rounded-md rtg-px-4 rtg-py-2 rtg-has-[>svg]:px-3",
|
|
5917
|
+
sm: "rtg-h-8 rtg-rounded-md rtg-px-3 rtg-text-xs rtg-has-[>svg]:px-2.5",
|
|
5918
|
+
lg: "rtg-h-10 rtg-rounded-md rtg-px-6 rtg-has-[>svg]:px-4",
|
|
5919
|
+
icon: "rtg-h-9 rtg-w-9"
|
|
5920
5920
|
}
|
|
5921
5921
|
},
|
|
5922
5922
|
defaultVariants: {
|
package/dist/rtg-ui-kit.umd.cjs
CHANGED
|
@@ -2968,7 +2968,7 @@ body {
|
|
|
2968
2968
|
</div>`:""}
|
|
2969
2969
|
${this.message?d.html`<div part="alert-description">${this.message}</div>`:""}
|
|
2970
2970
|
</div>
|
|
2971
|
-
`}},o.Alert.alertVariants=Er,Kt([l.property({type:String})],o.Alert.prototype,"title",2),Kt([l.property({type:String})],o.Alert.prototype,"message",2),Kt([l.property({type:String})],o.Alert.prototype,"variant",2),Kt([l.property({type:String})],o.Alert.prototype,"size",2),o.Alert=Kt([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-
|
|
2971
|
+
`}},o.Alert.alertVariants=Er,Kt([l.property({type:String})],o.Alert.prototype,"title",2),Kt([l.property({type:String})],o.Alert.prototype,"message",2),Kt([l.property({type:String})],o.Alert.prototype,"variant",2),Kt([l.property({type:String})],o.Alert.prototype,"size",2),o.Alert=Kt([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-9 rtg-rounded-md rtg-px-4 rtg-py-2 rtg-has-[>svg]:px-3",sm:"rtg-h-8 rtg-rounded-md rtg-px-3 rtg-text-xs rtg-has-[>svg]:px-2.5",lg:"rtg-h-10 rtg-rounded-md rtg-px-6 rtg-has-[>svg]:px-4",icon:"rtg-h-9 rtg-w-9"}},defaultVariants:{variant:"default",size:"default"}});var jo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,_t=(i,t,r,n)=>{for(var e=n>1?void 0:n?Wo(t,r):t,a=i.length-1,s;a>=0;a--)(s=i[a])&&(e=(n?s(t,r,e):s(e))||e);return n&&e&&jo(t,r,e),e};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","custom-class"]}getAttributesToRemoveFromParent(){return["class"]}firstUpdated(){this.moveLightDomChildrenInto(this.buttonElement),this.removeParentAttributes()}render(){const t=this.getFilteredAttributes();return d.html`
|
|
2972
2972
|
<button
|
|
2973
2973
|
part="button"
|
|
2974
2974
|
type="${this.type}"
|
package/package.json
CHANGED