@descope/web-components-ui 1.0.213 → 1.0.214
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +5 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +4 -0
- package/src/theme/components/checkbox.js +1 -2
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[3726],{3483:(e,t,r)=>{r.r(t),r.d(t,{CheckboxClass:()=>g});var o=r(4567),p=r(2061),l=r(1e3),i=r(818),
|
1
|
+
"use strict";(self.webpackChunkDescopeUI=self.webpackChunkDescopeUI||[]).push([[3726],{3483:(e,t,r)=>{r.r(t),r.d(t,{CheckboxClass:()=>g});var o=r(4567),p=r(2061),l=r(1e3),i=r(818),n=r(6882),c=r(4201);const a=(0,o.iY)("checkbox"),{host:s,component:d,checkboxElement:h,checkboxSurface:u,checkboxHiddenLabel:b,label:y,requiredIndicator:f,helperText:x,errorMessage:k}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxHiddenLabel:{selector:'vaadin-checkbox [slot="label"]'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},g=(0,p.qC)((0,l.yk)({mappings:{hostWidth:{...s,property:"width"},fontSize:[s,h,y,b],fontFamily:[y,b,x,k],labelTextColor:[{...y,property:"color"},{...f,property:"color"},{...y,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...f,property:"content"},errorMessageTextColor:{...k,property:"color"},labelFontWeight:[{...y,property:"font-weight"},{...b,property:"font-weight"}],labelSpacing:[{...y,property:"left"},{...b,property:"padding-left"}],inputValueTextColor:{...u,property:"color"},inputBackgroundColor:{...h,property:"background-color"},inputBorderRadius:{...h,property:"border-radius"},inputBorderWidth:{...h,property:"border-width"},inputBorderOffset:{...h,property:"border-offset"},inputBorderColor:{...h,property:"border-color"},inputBorderStyle:{...h,property:"border-style"},inputOutlineWidth:{...h,property:"outline-width"},inputOutlineOffset:{...h,property:"outline-offset"},inputOutlineColor:{...h,property:"outline-color"},inputOutlineStyle:{...h,property:"outline-style"},inputSize:[{...h,property:"width"},{...h,property:"height"},{...u,property:"font-size"},{...d,property:"font-size"},{...b,property:"line-height"},{...y,property:"margin-left"},{...y,property:"line-height"}]}}),l.e4,(0,l.dj)({proxyProps:["value","selectionStart"]}),l.Ae,i.h)((0,l.DM)({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${n.Z}\n vaadin-checkbox::part(checkbox)::after {\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t}\n\n vaadin-text-field::part(label) {\n width: calc(100% - var(${g.cssVarList.inputSize}))\n }\n\t\t\t${(0,c.bi)(g.cssVarList)}\n\t\t`,excludeAttrsSync:["tabindex"],componentName:a}));r(9515),r(9789),r(6676),customElements.define(a,g)}}]);
|
package/package.json
CHANGED
@@ -98,6 +98,10 @@ export const CheckboxClass = compose(
|
|
98
98
|
top: 0;
|
99
99
|
left: 0;
|
100
100
|
}
|
101
|
+
|
102
|
+
vaadin-text-field::part(label) {
|
103
|
+
width: calc(100% - var(${CheckboxClass.cssVarList.inputSize}))
|
104
|
+
}
|
101
105
|
${useHostExternalPadding(CheckboxClass.cssVarList)}
|
102
106
|
`,
|
103
107
|
excludeAttrsSync: ['tabindex'],
|
@@ -20,11 +20,10 @@ const checkbox = {
|
|
20
20
|
[vars.inputBorderColor]: refs.borderColor,
|
21
21
|
[vars.inputBorderWidth]: refs.borderWidth,
|
22
22
|
[vars.inputBorderStyle]: refs.borderStyle,
|
23
|
-
[vars.inputBackgroundColor]: refs.
|
23
|
+
[vars.inputBackgroundColor]: refs.backgroundColor,
|
24
24
|
[vars.inputSize]: '2em',
|
25
25
|
|
26
26
|
_checked: {
|
27
|
-
[vars.inputBackgroundColor]: refs.backgroundColor,
|
28
27
|
[vars.inputValueTextColor]: refs.valueTextColor,
|
29
28
|
},
|
30
29
|
|