@digital-realty/ix-button 3.3.5-alpha-228372-t54.0 → 3.3.5-alpha-246374-t51.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/dist/ix-button.js +7 -3
- package/dist/ix-button.js.map +1 -1
- package/dist/ix-button.min.js +4 -1
- package/package.json +3 -3
package/dist/ix-button.js
CHANGED
|
@@ -9,10 +9,14 @@ IxButtonStyled.styles = css `
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.slot-wrap {
|
|
12
|
-
font-
|
|
13
|
-
|
|
12
|
+
font-family: var(
|
|
13
|
+
--ix-button-font-family,
|
|
14
|
+
var(--root-secondary-font, 'sans-serif')
|
|
15
|
+
);
|
|
16
|
+
font-weight: var(--ix-button-font-weight, bold);
|
|
17
|
+
text-transform: var(--ix-button-text-transform, uppercase);
|
|
14
18
|
position: relative;
|
|
15
|
-
letter-spacing: 1.25px;
|
|
19
|
+
letter-spacing: var(--ix-button-letter-spacing, 1.25px);
|
|
16
20
|
}
|
|
17
21
|
`;
|
|
18
22
|
window.customElements.define('ix-button', IxButtonStyled);
|
package/dist/ix-button.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ix-button.js","sourceRoot":"","sources":["../src/ix-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,OAAO,cAAe,SAAQ,QAAQ;;AAC1B,qBAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ix-button.js","sourceRoot":"","sources":["../src/ix-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,OAAO,cAAe,SAAQ,QAAQ;;AAC1B,qBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;GAgB3B,CAAC;AAGJ,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,CAAC","sourcesContent":["import { css } from 'lit';\nimport { IxButton } from './IxButton.js';\n\nexport class IxButtonStyled extends IxButton {\n static override styles = css`\n .md-button {\n display: flex;\n --md-circular-progress-size: 24px;\n }\n\n .slot-wrap {\n font-family: var(\n --ix-button-font-family,\n var(--root-secondary-font, 'sans-serif')\n );\n font-weight: var(--ix-button-font-weight, bold);\n text-transform: var(--ix-button-text-transform, uppercase);\n position: relative;\n letter-spacing: var(--ix-button-letter-spacing, 1.25px);\n }\n `;\n}\n\nwindow.customElements.define('ix-button', IxButtonStyled);\n"]}
|
package/dist/ix-button.min.js
CHANGED
|
@@ -19,4 +19,7 @@ import{LitElement,isServer,html,nothing,css}from"lit";import{__decorate}from"tsl
|
|
|
19
19
|
></ix-progress>`:html`<slot></slot>`}
|
|
20
20
|
</div>
|
|
21
21
|
${this.hasIcon?html`<slot slot="icon" name="icon"></slot>`:nothing}
|
|
22
|
-
</${t}>`)}}_a=internals,requestUpdateOnAriaChange(IxButton),setupFormSubmitter(IxButton),IxButton.formAssociated=!0,IxButton.shadowRootOptions={mode:"open",delegatesFocus:!0},__decorate([property()],IxButton.prototype,"value",void 0),__decorate([property()],IxButton.prototype,"type",void 0),__decorate([property({type:Boolean,reflect:!0})],IxButton.prototype,"disabled",void 0),__decorate([property({type:Boolean,reflect:!0})],IxButton.prototype,"submitting",void 0),__decorate([property()],IxButton.prototype,"href",void 0),__decorate([property()],IxButton.prototype,"target",void 0),__decorate([property({type:Boolean,attribute:"trailing-icon"})],IxButton.prototype,"trailingIcon",void 0),__decorate([property({type:Boolean,attribute:"has-icon"})],IxButton.prototype,"hasIcon",void 0),__decorate([property()],IxButton.prototype,"appearance",void 0);class IxButtonStyled extends IxButton{}IxButtonStyled.styles=css`.md-button{display:flex;--md-circular-progress-size:24px}.slot-wrap{font-
|
|
22
|
+
</${t}>`)}}_a=internals,requestUpdateOnAriaChange(IxButton),setupFormSubmitter(IxButton),IxButton.formAssociated=!0,IxButton.shadowRootOptions={mode:"open",delegatesFocus:!0},__decorate([property()],IxButton.prototype,"value",void 0),__decorate([property()],IxButton.prototype,"type",void 0),__decorate([property({type:Boolean,reflect:!0})],IxButton.prototype,"disabled",void 0),__decorate([property({type:Boolean,reflect:!0})],IxButton.prototype,"submitting",void 0),__decorate([property()],IxButton.prototype,"href",void 0),__decorate([property()],IxButton.prototype,"target",void 0),__decorate([property({type:Boolean,attribute:"trailing-icon"})],IxButton.prototype,"trailingIcon",void 0),__decorate([property({type:Boolean,attribute:"has-icon"})],IxButton.prototype,"hasIcon",void 0),__decorate([property()],IxButton.prototype,"appearance",void 0);class IxButtonStyled extends IxButton{}IxButtonStyled.styles=css`.md-button{display:flex;--md-circular-progress-size:24px}.slot-wrap{font-family:var(
|
|
23
|
+
--ix-button-font-family,
|
|
24
|
+
var(--root-secondary-font, 'sans-serif')
|
|
25
|
+
);font-weight:var(--ix-button-font-weight,bold);text-transform:var(--ix-button-text-transform,uppercase);position:relative;letter-spacing:var(--ix-button-letter-spacing,1.25px)}`,window.customElements.define("ix-button",IxButtonStyled);export{IxButtonStyled};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-button following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "3.3.5-alpha-
|
|
6
|
+
"version": "3.3.5-alpha-246374-t51.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\""
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@digital-realty/ix-progress": "^1.
|
|
30
|
+
"@digital-realty/ix-progress": "^1.1.11",
|
|
31
31
|
"@lit/react": "^1.0.2",
|
|
32
32
|
"@material/web": "1.2.0",
|
|
33
33
|
"lit": "^2.8.0 || ^3.0.0",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"README.md",
|
|
108
108
|
"LICENSE"
|
|
109
109
|
],
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "a796f08349c6265d3e2389f3c6ffaad41ddd13d4"
|
|
111
111
|
}
|