@revotech-group/revotech-ui-kit 0.0.77 → 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 CHANGED
@@ -1396,9 +1396,9 @@ body {
1396
1396
  padding-left: 1.25rem;
1397
1397
  padding-right: 1.25rem;
1398
1398
  }
1399
- .rtg-px-8 {
1400
- padding-left: 2rem;
1401
- padding-right: 2rem;
1399
+ .rtg-px-6 {
1400
+ padding-left: 1.5rem;
1401
+ padding-right: 1.5rem;
1402
1402
  }
1403
1403
  .rtg-py-0\.5 {
1404
1404
  padding-top: 0.125rem;
@@ -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-8 rtg-rounded-md rtg-px-4 rtg-py-2",
5917
- sm: "rtg-h-7 rtg-rounded-sm rtg-px-3 rtg-text-xs",
5918
- lg: "rtg-h-9 rtg-rounded-md rtg-px-8",
5919
- icon: "rtg-h-8 rtg-w-8"
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: {
@@ -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-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,_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`
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
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent wc-ui following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "wc-ui",
6
- "version": "0.0.77",
6
+ "version": "0.0.78",
7
7
  "type": "module",
8
8
  "main": "dist/rtg-ui-kit.umd.cjs",
9
9
  "module": "./dist/rtg-ui-kit.js",