@ni/nimble-components 8.4.0 → 8.5.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/all-components-bundle.js +31 -7
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +31 -7
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/text-field/styles.js +31 -7
- package/dist/esm/text-field/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export const styles = css `
|
|
|
43
43
|
--ni-private-hover-bottom-border-width: 2px;
|
|
44
44
|
border: 0px solid rgba(${borderRgbPartialColor}, 0.3);
|
|
45
45
|
border-bottom-width: var(--ni-private-bottom-border-width);
|
|
46
|
+
gap: calc(${standardPadding} / 2);
|
|
46
47
|
padding-bottom: calc(
|
|
47
48
|
var(--ni-private-hover-bottom-border-width) -
|
|
48
49
|
var(--ni-private-bottom-border-width)
|
|
@@ -86,12 +87,40 @@ export const styles = css `
|
|
|
86
87
|
border-bottom-color: ${borderHoverColor};
|
|
87
88
|
}
|
|
88
89
|
|
|
90
|
+
:host([appearance='frameless'].clear-inline-padding) .root {
|
|
91
|
+
padding-left: 0px;
|
|
92
|
+
padding-right: 0px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.root::before {
|
|
96
|
+
${ /* Empty string causes alignment issue */''}
|
|
97
|
+
content: ' ';
|
|
98
|
+
color: transparent;
|
|
99
|
+
width: 0px;
|
|
100
|
+
user-select: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host([appearance='frameless'].clear-inline-padding) .root::before {
|
|
104
|
+
display: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.root::after {
|
|
108
|
+
${ /* Empty string causes alignment issue */''}
|
|
109
|
+
content: ' ';
|
|
110
|
+
color: transparent;
|
|
111
|
+
width: 0px;
|
|
112
|
+
user-select: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([appearance='frameless'].clear-inline-padding) .root::after {
|
|
116
|
+
display: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
89
119
|
[part='start'] {
|
|
90
120
|
display: contents;
|
|
91
121
|
}
|
|
92
122
|
|
|
93
123
|
slot[name='start']::slotted(*) {
|
|
94
|
-
margin-left: calc(${standardPadding} / 2);
|
|
95
124
|
flex: none;
|
|
96
125
|
}
|
|
97
126
|
|
|
@@ -100,8 +129,7 @@ export const styles = css `
|
|
|
100
129
|
font: inherit;
|
|
101
130
|
background: transparent;
|
|
102
131
|
color: inherit;
|
|
103
|
-
padding
|
|
104
|
-
padding-bottom: 0px;
|
|
132
|
+
padding: 0px;
|
|
105
133
|
height: calc(
|
|
106
134
|
${controlHeight} - ${borderWidth} -
|
|
107
135
|
var(--ni-private-hover-bottom-border-width)
|
|
@@ -109,8 +137,6 @@ export const styles = css `
|
|
|
109
137
|
width: 100%;
|
|
110
138
|
margin-top: auto;
|
|
111
139
|
margin-bottom: auto;
|
|
112
|
-
padding-left: calc(${standardPadding} / 2);
|
|
113
|
-
padding-right: calc(${standardPadding} / 2);
|
|
114
140
|
border: none;
|
|
115
141
|
text-overflow: ellipsis;
|
|
116
142
|
}
|
|
@@ -154,7 +180,6 @@ export const styles = css `
|
|
|
154
180
|
:host(.invalid) .error-content svg {
|
|
155
181
|
height: ${iconSize};
|
|
156
182
|
width: ${iconSize};
|
|
157
|
-
padding-right: 8px;
|
|
158
183
|
flex: none;
|
|
159
184
|
}
|
|
160
185
|
|
|
@@ -195,7 +220,6 @@ export const styles = css `
|
|
|
195
220
|
}
|
|
196
221
|
|
|
197
222
|
slot[name='actions']::slotted(*) {
|
|
198
|
-
margin-right: 8px;
|
|
199
223
|
${controlHeight.cssCustomProperty}: 24px;
|
|
200
224
|
}
|
|
201
225
|
`.withBehaviors(appearanceBehavior(TextFieldAppearance.Underline, css `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/text-field/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,SAAS,EACT,2BAA2B,EAC3B,QAAQ,EACR,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,cAAc,CAAC;;;gBAGb,QAAQ;;;;iBAIP,aAAa;uBACP,WAAW,MAAM,aAAa;;;;iBAIpC,qBAAqB;;;;;iBAKrB,qBAAqB;gBACtB,gBAAgB;;;;iBAIf,6BAA6B;;;;;;;;;;oCAUV,UAAU,oBAAoB,UAAU;;;iCAG3C,qBAAqB
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/text-field/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,OAAO,EACH,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,SAAS,EACT,2BAA2B,EAC3B,QAAQ,EACR,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EAC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AAqB;;;;;;SAMjD,CACA,EACD,kBAAkB,CACd,mBAAmB,CAAC,KAAK,EACzB,GAAG,CAAA;;yCAE0B,qBAAqB;;+BAE/B,WAAW;gCACV,WAAW;iCACV,WAAW;;;;;;;;;;;;;;;;;;;;;;;;yCAwBH,qBAAqB;;;;;yCAKrB,qBAAqB;;;;;;;;;;SAUrD,CACA,EACD,kBAAkB,CACd,mBAAmB,CAAC,OAAO,EAC3B,GAAG,CAAA;;;gCAGiB,WAAW;;;;;4BAKf,aAAa,MAAM,WAAW;;SAEjD,CACA,EACD,kBAAkB,CACd,mBAAmB,CAAC,SAAS,EAC7B,GAAG,CAAA;;;+BAGgB,WAAW;gCACV,WAAW;iCACV,WAAW;;;;;;;;;;SAUnC,CACA,EACD,aAAa,CACT,GAAG,CAAA;cACD,EAAE,CAAC,iBAAiB;;;;SAIzB,EACG,GAAG,CAAA;cACD,EAAE,CAAC,gBAAgB;;;;SAIxB;AACG,cAAc;AACd,KAAK,CAAC,IAAI,CACb,CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "Styled web components for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run generate-icons && npm run build-components && npm run bundle-components && npm run generate-scss && npm run build-storybook",
|