@ni/nimble-components 35.5.4 → 35.5.5
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 +60 -16
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +44 -18
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor-step/index.d.ts +4 -0
- package/dist/esm/anchor-step/index.js +9 -0
- package/dist/esm/anchor-step/index.js.map +1 -1
- package/dist/esm/anchor-step/template.js +1 -0
- package/dist/esm/anchor-step/template.js.map +1 -1
- package/dist/esm/patterns/step/styles.js +40 -16
- package/dist/esm/patterns/step/styles.js.map +1 -1
- package/dist/esm/patterns/step/testing/step-base.pageobject.d.ts +1 -0
- package/dist/esm/patterns/step/testing/step-base.pageobject.js +3 -0
- package/dist/esm/patterns/step/testing/step-base.pageobject.js.map +1 -1
- package/dist/esm/patterns/step/types.d.ts +5 -0
- package/dist/esm/patterns/step/types.js.map +1 -1
- package/dist/esm/step/index.d.ts +4 -0
- package/dist/esm/step/index.js +9 -0
- package/dist/esm/step/index.js.map +1 -1
- package/dist/esm/step/template.js +1 -0
- package/dist/esm/step/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -1863,6 +1863,7 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
1863
1863
|
:host([selected]) .control {
|
|
1864
1864
|
--ni-private-step-icon-color: ${sc};
|
|
1865
1865
|
--ni-private-step-icon-border-color: ${sc};
|
|
1866
|
+
--ni-private-step-icon-border-width: 2px;
|
|
1866
1867
|
--ni-private-step-icon-background-color: rgb(from ${sc} r g b / 30%);
|
|
1867
1868
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-none-size);
|
|
1868
1869
|
--ni-private-step-line-color: ${sc};
|
|
@@ -1902,10 +1903,6 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
1902
1903
|
box-shadow ${Od} ease-in-out;
|
|
1903
1904
|
}
|
|
1904
1905
|
|
|
1905
|
-
:host([selected]) .icon {
|
|
1906
|
-
--ni-private-step-icon-border-width: 2px;
|
|
1907
|
-
}
|
|
1908
|
-
|
|
1909
1906
|
.icon::before {
|
|
1910
1907
|
content: '';
|
|
1911
1908
|
position: absolute;
|
|
@@ -1915,7 +1912,8 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
1915
1912
|
outline-color: var(--ni-private-step-icon-outline-inset-color);
|
|
1916
1913
|
outline-style: solid;
|
|
1917
1914
|
outline-width: 0px;
|
|
1918
|
-
|
|
1915
|
+
${""}
|
|
1916
|
+
outline-offset: -1px;
|
|
1919
1917
|
border: none;
|
|
1920
1918
|
border-radius: 100%;
|
|
1921
1919
|
color: transparent;
|
|
@@ -1993,9 +1991,9 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
1993
1991
|
min-width: ${Cc};
|
|
1994
1992
|
height: 1px;
|
|
1995
1993
|
min-height: 1px;
|
|
1994
|
+
transform: scale(1, 1);
|
|
1996
1995
|
background: var(--ni-private-step-line-color);
|
|
1997
1996
|
background-clip: content-box;
|
|
1998
|
-
transform: scale(1, 1);
|
|
1999
1997
|
transition:
|
|
2000
1998
|
background-color ${Od} ease-in-out,
|
|
2001
1999
|
transform ${Od} ease-in-out;
|
|
@@ -2009,8 +2007,8 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2009
2007
|
width: 1px;
|
|
2010
2008
|
min-width: 1px;
|
|
2011
2009
|
height: 100%;
|
|
2012
|
-
padding-top: ${wc};
|
|
2013
2010
|
min-height: ${Cc};
|
|
2011
|
+
padding-top: ${wc};
|
|
2014
2012
|
}
|
|
2015
2013
|
|
|
2016
2014
|
.subtitle {
|
|
@@ -2039,6 +2037,7 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2039
2037
|
@layer hover {
|
|
2040
2038
|
.control:hover {
|
|
2041
2039
|
--ni-private-step-icon-border-color: ${sc};
|
|
2040
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2042
2041
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-inset-size);
|
|
2043
2042
|
--ni-private-step-line-color: ${sc};
|
|
2044
2043
|
}
|
|
@@ -2069,8 +2068,12 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2069
2068
|
--ni-private-step-line-color: ${sc};
|
|
2070
2069
|
}
|
|
2071
2070
|
|
|
2072
|
-
.control:hover
|
|
2073
|
-
--ni-private-step-icon-
|
|
2071
|
+
:host([readonly]) .control:hover {
|
|
2072
|
+
--ni-private-step-icon-color: revert-layer;
|
|
2073
|
+
--ni-private-step-icon-border-color: revert-layer;
|
|
2074
|
+
--ni-private-step-icon-border-width: revert-layer;
|
|
2075
|
+
--ni-private-step-icon-background-size: revert-layer;
|
|
2076
|
+
--ni-private-step-line-color: revert-layer;
|
|
2074
2077
|
}
|
|
2075
2078
|
|
|
2076
2079
|
.control:hover .line {
|
|
@@ -2080,11 +2083,16 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2080
2083
|
.container.vertical .control:hover .line {
|
|
2081
2084
|
transform: scale(2, 1);
|
|
2082
2085
|
}
|
|
2086
|
+
|
|
2087
|
+
:host([readonly]) .container .control:hover .line {
|
|
2088
|
+
transform: revert-layer;
|
|
2089
|
+
}
|
|
2083
2090
|
}
|
|
2084
2091
|
|
|
2085
2092
|
@layer focusVisible {
|
|
2086
2093
|
.control${Uo} {
|
|
2087
2094
|
--ni-private-step-icon-border-color: ${sc};
|
|
2095
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2088
2096
|
--ni-private-step-icon-outline-inset-color: ${sc};
|
|
2089
2097
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-inset-size);
|
|
2090
2098
|
--ni-private-step-line-color: ${sc};
|
|
@@ -2120,10 +2128,6 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2120
2128
|
--ni-private-step-line-color: ${sc};
|
|
2121
2129
|
}
|
|
2122
2130
|
|
|
2123
|
-
.control${Uo} .icon {
|
|
2124
|
-
--ni-private-step-icon-border-width: 2px;
|
|
2125
|
-
}
|
|
2126
|
-
|
|
2127
2131
|
.control${Uo} .icon::before {
|
|
2128
2132
|
outline-width: ${Sc};
|
|
2129
2133
|
${""}
|
|
@@ -2142,6 +2146,7 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2142
2146
|
@layer active {
|
|
2143
2147
|
.control:active {
|
|
2144
2148
|
--ni-private-step-icon-border-color: ${sc};
|
|
2149
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2145
2150
|
--ni-private-step-icon-background-color: ${Kl};
|
|
2146
2151
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-full-size);
|
|
2147
2152
|
--ni-private-step-line-color: ${sc};
|
|
@@ -2173,26 +2178,45 @@ e&&$a.unsubscribe(e)}}const ah=(t,e)=>new sh(t,e),lh=Mt`
|
|
|
2173
2178
|
--ni-private-step-line-color: ${sc};
|
|
2174
2179
|
}
|
|
2175
2180
|
|
|
2176
|
-
.control:active
|
|
2177
|
-
--ni-private-step-icon-
|
|
2181
|
+
:host([readonly]) .control:active {
|
|
2182
|
+
--ni-private-step-icon-color: revert-layer;
|
|
2183
|
+
--ni-private-step-icon-border-color: revert-layer;
|
|
2184
|
+
--ni-private-step-icon-border-width: revert-layer;
|
|
2185
|
+
--ni-private-step-icon-background-color: revert-layer;
|
|
2186
|
+
--ni-private-step-icon-background-size: revert-layer;
|
|
2187
|
+
--ni-private-step-line-color: revert-layer;
|
|
2178
2188
|
}
|
|
2179
2189
|
|
|
2180
2190
|
.control:active .icon::before {
|
|
2181
2191
|
outline-width: 0px;
|
|
2182
|
-
outline-offset:
|
|
2192
|
+
outline-offset: -1px;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
:host([readonly]) .control:active .icon::before {
|
|
2196
|
+
outline-width: revert-layer;
|
|
2197
|
+
outline-offset: revert-layer;
|
|
2183
2198
|
}
|
|
2184
2199
|
|
|
2185
2200
|
.control:active .line {
|
|
2186
2201
|
transform: scale(1, 1);
|
|
2187
2202
|
}
|
|
2203
|
+
|
|
2204
|
+
:host([readonly]) .control:active .line {
|
|
2205
|
+
transform: revert-layer;
|
|
2206
|
+
}
|
|
2188
2207
|
}
|
|
2189
2208
|
|
|
2190
2209
|
@layer disabled {
|
|
2210
|
+
:host([readonly]) .control {
|
|
2211
|
+
cursor: default;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2191
2214
|
:host([disabled]) .control {
|
|
2192
2215
|
cursor: default;
|
|
2193
2216
|
color: ${wd};
|
|
2194
2217
|
--ni-private-step-icon-color: rgb(from ${yd} r g b / 30%);
|
|
2195
2218
|
--ni-private-step-icon-border-color: transparent;
|
|
2219
|
+
--ni-private-step-icon-border-width: 1px;
|
|
2196
2220
|
--ni-private-step-icon-background-color: rgba(${tc}, 0.1);
|
|
2197
2221
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-full-size);
|
|
2198
2222
|
--ni-private-step-icon-outline-inset-color: transparent;
|
|
@@ -2303,7 +2327,7 @@ Pm("icon-check",class extends Bm{constructor(){super(xu)}})
|
|
|
2303
2327
|
const Hm="nimble-icon-check",Um="Close",qm="Increment",jm="Decrement",Wm="Error",Gm="Warning",Zm="Completed",Km="Current",Ym="Information",Xm="Search",Jm="No items found",Qm="Loading…",tg="Scroll backward",eg="Scroll forward",ng="Remove",ig=Ci.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(Um),og=Ci.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(jm),rg=Ci.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(qm),sg=Ci.create({name:"popup-icon-error-label",cssCustomPropertyName:null}).withDefault(Wm),ag=Ci.create({name:"popup-icon-warning-label",cssCustomPropertyName:null}).withDefault(Gm),lg=Ci.create({name:"popup-icon-completed-label",cssCustomPropertyName:null}).withDefault(Zm),cg=Ci.create({name:"popup-icon-current-label",cssCustomPropertyName:null}).withDefault(Km),dg=Ci.create({name:"popup-icon-information-label",cssCustomPropertyName:null}).withDefault(Ym),hg=Ci.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(Xm),ug=Ci.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(Jm),pg=Ci.create({name:"loading-label",cssCustomPropertyName:null}).withDefault(Qm),fg=Ci.create({name:"scroll-backward-label",cssCustomPropertyName:null}).withDefault(tg),mg=Ci.create({name:"scroll-forward-label",cssCustomPropertyName:null}).withDefault(eg),gg=Ci.create({name:"item-remove-label",cssCustomPropertyName:null}).withDefault(ng),vg=Ge
|
|
2304
2328
|
class bg{constructor(){this.orientation=vg.horizontal,this.last=!1,this.position=1}}t([C],bg.prototype,"orientation",void 0),t([C],bg.prototype,"last",void 0),t([C],bg.prototype,"position",void 0)
|
|
2305
2329
|
const yg=ph
|
|
2306
|
-
class wg extends(fh(Vo)){constructor(){super(...arguments),this.severity=yg.default,this.disabled=!1,this.readOnly=!1,this.selected=!1,this.stepInternals=new bg}}t([ft()],wg.prototype,"severity",void 0),t([ft({mode:"boolean"})],wg.prototype,"disabled",void 0),t([ft({attribute:"readonly",mode:"boolean"})],wg.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],wg.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],wg.prototype,"tabIndex",void 0)
|
|
2330
|
+
class wg extends(fh(Vo)){constructor(){super(...arguments),this.severity=yg.default,this.disabled=!1,this.readOnly=!1,this.selected=!1,this.stepInternals=new bg}onClick(t){(this.disabled||this.readOnly)&&(t.preventDefault(),t.stopImmediatePropagation())}}t([ft()],wg.prototype,"severity",void 0),t([ft({mode:"boolean"})],wg.prototype,"disabled",void 0),t([ft({attribute:"readonly",mode:"boolean"})],wg.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],wg.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],wg.prototype,"tabIndex",void 0)
|
|
2307
2331
|
const xg=wg.compose({baseName:"anchor-step",template:(t,e)=>Q`
|
|
2308
2332
|
<template slot="step">
|
|
2309
2333
|
<li class="
|
|
@@ -2343,6 +2367,7 @@ const xg=wg.compose({baseName:"anchor-step",template:(t,e)=>Q`
|
|
|
2343
2367
|
aria-owns="${t=>t.ariaOwns}"
|
|
2344
2368
|
aria-relevant="${t=>t.ariaRelevant}"
|
|
2345
2369
|
aria-roledescription="${t=>t.ariaRoledescription}"
|
|
2370
|
+
@click="${(t,e)=>t.onClick(e.event)}"
|
|
2346
2371
|
${zt("control")}
|
|
2347
2372
|
>
|
|
2348
2373
|
<div class="icon-background"></div>
|
|
@@ -11030,7 +11055,7 @@ const GN=Mt`
|
|
|
11030
11055
|
}
|
|
11031
11056
|
}
|
|
11032
11057
|
`,ZN=ph
|
|
11033
|
-
class KN extends(fh(Ln)){constructor(){super(...arguments),this.severity=ZN.default,this.readOnly=!1,this.selected=!1,this.stepInternals=new bg}}t([ft()],KN.prototype,"severity",void 0),t([ft({attribute:"readonly",mode:"boolean"})],KN.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],KN.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],KN.prototype,"tabIndex",void 0)
|
|
11058
|
+
class KN extends(fh(Ln)){constructor(){super(...arguments),this.severity=ZN.default,this.readOnly=!1,this.selected=!1,this.stepInternals=new bg}onClick(t){(this.disabled||this.readOnly)&&(t.preventDefault(),t.stopImmediatePropagation())}}t([ft()],KN.prototype,"severity",void 0),t([ft({attribute:"readonly",mode:"boolean"})],KN.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],KN.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],KN.prototype,"tabIndex",void 0)
|
|
11034
11059
|
const YN=KN.compose({baseName:"step",template:(t,e)=>Q`
|
|
11035
11060
|
<template slot="step">
|
|
11036
11061
|
<li class="
|
|
@@ -11074,6 +11099,7 @@ const YN=KN.compose({baseName:"step",template:(t,e)=>Q`
|
|
|
11074
11099
|
aria-pressed="${t=>t.ariaPressed}"
|
|
11075
11100
|
aria-relevant="${t=>t.ariaRelevant}"
|
|
11076
11101
|
aria-roledescription="${t=>t.ariaRoledescription}"
|
|
11102
|
+
@click="${(t,e)=>t.onClick(e.event)}"
|
|
11077
11103
|
${zt("control")}
|
|
11078
11104
|
>
|
|
11079
11105
|
<div class="icon-background"></div>
|