@ni/ok-components 0.3.8 → 0.3.9
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.
|
@@ -1877,6 +1877,7 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
1877
1877
|
:host([selected]) .control {
|
|
1878
1878
|
--ni-private-step-icon-color: ${cc};
|
|
1879
1879
|
--ni-private-step-icon-border-color: ${cc};
|
|
1880
|
+
--ni-private-step-icon-border-width: 2px;
|
|
1880
1881
|
--ni-private-step-icon-background-color: rgb(from ${cc} r g b / 30%);
|
|
1881
1882
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-none-size);
|
|
1882
1883
|
--ni-private-step-line-color: ${cc};
|
|
@@ -1916,10 +1917,6 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
1916
1917
|
box-shadow ${Hd} ease-in-out;
|
|
1917
1918
|
}
|
|
1918
1919
|
|
|
1919
|
-
:host([selected]) .icon {
|
|
1920
|
-
--ni-private-step-icon-border-width: 2px;
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
1920
|
.icon::before {
|
|
1924
1921
|
content: '';
|
|
1925
1922
|
position: absolute;
|
|
@@ -1929,7 +1926,8 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
1929
1926
|
outline-color: var(--ni-private-step-icon-outline-inset-color);
|
|
1930
1927
|
outline-style: solid;
|
|
1931
1928
|
outline-width: 0px;
|
|
1932
|
-
|
|
1929
|
+
${""}
|
|
1930
|
+
outline-offset: -1px;
|
|
1933
1931
|
border: none;
|
|
1934
1932
|
border-radius: 100%;
|
|
1935
1933
|
color: transparent;
|
|
@@ -2007,9 +2005,9 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2007
2005
|
min-width: ${Tc};
|
|
2008
2006
|
height: 1px;
|
|
2009
2007
|
min-height: 1px;
|
|
2008
|
+
transform: scale(1, 1);
|
|
2010
2009
|
background: var(--ni-private-step-line-color);
|
|
2011
2010
|
background-clip: content-box;
|
|
2012
|
-
transform: scale(1, 1);
|
|
2013
2011
|
transition:
|
|
2014
2012
|
background-color ${Hd} ease-in-out,
|
|
2015
2013
|
transform ${Hd} ease-in-out;
|
|
@@ -2023,8 +2021,8 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2023
2021
|
width: 1px;
|
|
2024
2022
|
min-width: 1px;
|
|
2025
2023
|
height: 100%;
|
|
2026
|
-
padding-top: ${Ec};
|
|
2027
2024
|
min-height: ${Tc};
|
|
2025
|
+
padding-top: ${Ec};
|
|
2028
2026
|
}
|
|
2029
2027
|
|
|
2030
2028
|
.subtitle {
|
|
@@ -2053,6 +2051,7 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2053
2051
|
@layer hover {
|
|
2054
2052
|
.control:hover {
|
|
2055
2053
|
--ni-private-step-icon-border-color: ${cc};
|
|
2054
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2056
2055
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-inset-size);
|
|
2057
2056
|
--ni-private-step-line-color: ${cc};
|
|
2058
2057
|
}
|
|
@@ -2083,8 +2082,12 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2083
2082
|
--ni-private-step-line-color: ${cc};
|
|
2084
2083
|
}
|
|
2085
2084
|
|
|
2086
|
-
.control:hover
|
|
2087
|
-
--ni-private-step-icon-
|
|
2085
|
+
:host([readonly]) .control:hover {
|
|
2086
|
+
--ni-private-step-icon-color: revert-layer;
|
|
2087
|
+
--ni-private-step-icon-border-color: revert-layer;
|
|
2088
|
+
--ni-private-step-icon-border-width: revert-layer;
|
|
2089
|
+
--ni-private-step-icon-background-size: revert-layer;
|
|
2090
|
+
--ni-private-step-line-color: revert-layer;
|
|
2088
2091
|
}
|
|
2089
2092
|
|
|
2090
2093
|
.control:hover .line {
|
|
@@ -2094,11 +2097,16 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2094
2097
|
.container.vertical .control:hover .line {
|
|
2095
2098
|
transform: scale(2, 1);
|
|
2096
2099
|
}
|
|
2100
|
+
|
|
2101
|
+
:host([readonly]) .container .control:hover .line {
|
|
2102
|
+
transform: revert-layer;
|
|
2103
|
+
}
|
|
2097
2104
|
}
|
|
2098
2105
|
|
|
2099
2106
|
@layer focusVisible {
|
|
2100
2107
|
.control${qo} {
|
|
2101
2108
|
--ni-private-step-icon-border-color: ${cc};
|
|
2109
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2102
2110
|
--ni-private-step-icon-outline-inset-color: ${cc};
|
|
2103
2111
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-inset-size);
|
|
2104
2112
|
--ni-private-step-line-color: ${cc};
|
|
@@ -2134,10 +2142,6 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2134
2142
|
--ni-private-step-line-color: ${cc};
|
|
2135
2143
|
}
|
|
2136
2144
|
|
|
2137
|
-
.control${qo} .icon {
|
|
2138
|
-
--ni-private-step-icon-border-width: 2px;
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
2145
|
.control${qo} .icon::before {
|
|
2142
2146
|
outline-width: ${Oc};
|
|
2143
2147
|
${""}
|
|
@@ -2156,6 +2160,7 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2156
2160
|
@layer active {
|
|
2157
2161
|
.control:active {
|
|
2158
2162
|
--ni-private-step-icon-border-color: ${cc};
|
|
2163
|
+
--ni-private-step-icon-border-width: 2px;
|
|
2159
2164
|
--ni-private-step-icon-background-color: ${Jl};
|
|
2160
2165
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-full-size);
|
|
2161
2166
|
--ni-private-step-line-color: ${cc};
|
|
@@ -2187,26 +2192,45 @@ e&&Ma.unsubscribe(e)}}const vh=(t,e)=>new gh(t,e),bh=Mt`
|
|
|
2187
2192
|
--ni-private-step-line-color: ${cc};
|
|
2188
2193
|
}
|
|
2189
2194
|
|
|
2190
|
-
.control:active
|
|
2191
|
-
--ni-private-step-icon-
|
|
2195
|
+
:host([readonly]) .control:active {
|
|
2196
|
+
--ni-private-step-icon-color: revert-layer;
|
|
2197
|
+
--ni-private-step-icon-border-color: revert-layer;
|
|
2198
|
+
--ni-private-step-icon-border-width: revert-layer;
|
|
2199
|
+
--ni-private-step-icon-background-color: revert-layer;
|
|
2200
|
+
--ni-private-step-icon-background-size: revert-layer;
|
|
2201
|
+
--ni-private-step-line-color: revert-layer;
|
|
2192
2202
|
}
|
|
2193
2203
|
|
|
2194
2204
|
.control:active .icon::before {
|
|
2195
2205
|
outline-width: 0px;
|
|
2196
|
-
outline-offset:
|
|
2206
|
+
outline-offset: -1px;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
:host([readonly]) .control:active .icon::before {
|
|
2210
|
+
outline-width: revert-layer;
|
|
2211
|
+
outline-offset: revert-layer;
|
|
2197
2212
|
}
|
|
2198
2213
|
|
|
2199
2214
|
.control:active .line {
|
|
2200
2215
|
transform: scale(1, 1);
|
|
2201
2216
|
}
|
|
2217
|
+
|
|
2218
|
+
:host([readonly]) .control:active .line {
|
|
2219
|
+
transform: revert-layer;
|
|
2220
|
+
}
|
|
2202
2221
|
}
|
|
2203
2222
|
|
|
2204
2223
|
@layer disabled {
|
|
2224
|
+
:host([readonly]) .control {
|
|
2225
|
+
cursor: default;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2205
2228
|
:host([disabled]) .control {
|
|
2206
2229
|
cursor: default;
|
|
2207
2230
|
color: ${Ed};
|
|
2208
2231
|
--ni-private-step-icon-color: rgb(from ${Id} r g b / 30%);
|
|
2209
2232
|
--ni-private-step-icon-border-color: transparent;
|
|
2233
|
+
--ni-private-step-icon-border-width: 1px;
|
|
2210
2234
|
--ni-private-step-icon-background-color: rgba(${ic}, 0.1);
|
|
2211
2235
|
--ni-private-step-icon-background-size: var(--ni-private-step-icon-background-full-size);
|
|
2212
2236
|
--ni-private-step-icon-outline-inset-color: transparent;
|
|
@@ -2317,7 +2341,7 @@ Km("icon-check",class extends Zm{constructor(){super(Tu)}})
|
|
|
2317
2341
|
const Jm="nimble-icon-check",Qm="Close",tg="Increment",eg="Decrement",ng="Error",ig="Warning",og="Completed",rg="Current",sg="Information",ag="Search",lg="No items found",cg="Loading…",dg="Scroll backward",hg="Scroll forward",ug="Remove",pg=Ci.create({name:"popup-dismiss-label",cssCustomPropertyName:null}).withDefault(Qm),fg=Ci.create({name:"numeric-decrement-label",cssCustomPropertyName:null}).withDefault(eg),mg=Ci.create({name:"numeric-increment-label",cssCustomPropertyName:null}).withDefault(tg),gg=Ci.create({name:"popup-icon-error-label",cssCustomPropertyName:null}).withDefault(ng),vg=Ci.create({name:"popup-icon-warning-label",cssCustomPropertyName:null}).withDefault(ig),bg=Ci.create({name:"popup-icon-completed-label",cssCustomPropertyName:null}).withDefault(og),yg=Ci.create({name:"popup-icon-current-label",cssCustomPropertyName:null}).withDefault(rg),wg=Ci.create({name:"popup-icon-information-label",cssCustomPropertyName:null}).withDefault(sg),xg=Ci.create({name:"filter-search-label",cssCustomPropertyName:null}).withDefault(ag),Cg=Ci.create({name:"filter-no-results-label",cssCustomPropertyName:null}).withDefault(lg),kg=Ci.create({name:"loading-label",cssCustomPropertyName:null}).withDefault(cg),Sg=Ci.create({name:"scroll-backward-label",cssCustomPropertyName:null}).withDefault(dg),_g=Ci.create({name:"scroll-forward-label",cssCustomPropertyName:null}).withDefault(hg),$g=Ci.create({name:"item-remove-label",cssCustomPropertyName:null}).withDefault(ug),Mg=Ge
|
|
2318
2342
|
class Ig{constructor(){this.orientation=Mg.horizontal,this.last=!1,this.position=1}}t([C],Ig.prototype,"orientation",void 0),t([C],Ig.prototype,"last",void 0),t([C],Ig.prototype,"position",void 0)
|
|
2319
2343
|
const Eg=kh
|
|
2320
|
-
class Ag extends(Sh(Ho)){constructor(){super(...arguments),this.severity=Eg.default,this.disabled=!1,this.readOnly=!1,this.selected=!1,this.stepInternals=new Ig}}t([ft()],Ag.prototype,"severity",void 0),t([ft({mode:"boolean"})],Ag.prototype,"disabled",void 0),t([ft({attribute:"readonly",mode:"boolean"})],Ag.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],Ag.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],Ag.prototype,"tabIndex",void 0)
|
|
2344
|
+
class Ag extends(Sh(Ho)){constructor(){super(...arguments),this.severity=Eg.default,this.disabled=!1,this.readOnly=!1,this.selected=!1,this.stepInternals=new Ig}onClick(t){(this.disabled||this.readOnly)&&(t.preventDefault(),t.stopImmediatePropagation())}}t([ft()],Ag.prototype,"severity",void 0),t([ft({mode:"boolean"})],Ag.prototype,"disabled",void 0),t([ft({attribute:"readonly",mode:"boolean"})],Ag.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],Ag.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],Ag.prototype,"tabIndex",void 0)
|
|
2321
2345
|
const Tg=Ag.compose({baseName:"anchor-step",template:(t,e)=>Q`
|
|
2322
2346
|
<template slot="step">
|
|
2323
2347
|
<li class="
|
|
@@ -2357,6 +2381,7 @@ const Tg=Ag.compose({baseName:"anchor-step",template:(t,e)=>Q`
|
|
|
2357
2381
|
aria-owns="${t=>t.ariaOwns}"
|
|
2358
2382
|
aria-relevant="${t=>t.ariaRelevant}"
|
|
2359
2383
|
aria-roledescription="${t=>t.ariaRoledescription}"
|
|
2384
|
+
@click="${(t,e)=>t.onClick(e.event)}"
|
|
2360
2385
|
${zt("control")}
|
|
2361
2386
|
>
|
|
2362
2387
|
<div class="icon-background"></div>
|
|
@@ -11047,7 +11072,7 @@ const rL=Mt`
|
|
|
11047
11072
|
}
|
|
11048
11073
|
}
|
|
11049
11074
|
`,sL=kh
|
|
11050
|
-
class aL extends(Sh(Ln)){constructor(){super(...arguments),this.severity=sL.default,this.readOnly=!1,this.selected=!1,this.stepInternals=new Ig}}t([ft()],aL.prototype,"severity",void 0),t([ft({attribute:"readonly",mode:"boolean"})],aL.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],aL.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],aL.prototype,"tabIndex",void 0)
|
|
11075
|
+
class aL extends(Sh(Ln)){constructor(){super(...arguments),this.severity=sL.default,this.readOnly=!1,this.selected=!1,this.stepInternals=new Ig}onClick(t){(this.disabled||this.readOnly)&&(t.preventDefault(),t.stopImmediatePropagation())}}t([ft()],aL.prototype,"severity",void 0),t([ft({attribute:"readonly",mode:"boolean"})],aL.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],aL.prototype,"selected",void 0),t([ft({attribute:"tabindex",converter:ut})],aL.prototype,"tabIndex",void 0)
|
|
11051
11076
|
const lL=aL.compose({baseName:"step",template:(t,e)=>Q`
|
|
11052
11077
|
<template slot="step">
|
|
11053
11078
|
<li class="
|
|
@@ -11091,6 +11116,7 @@ const lL=aL.compose({baseName:"step",template:(t,e)=>Q`
|
|
|
11091
11116
|
aria-pressed="${t=>t.ariaPressed}"
|
|
11092
11117
|
aria-relevant="${t=>t.ariaRelevant}"
|
|
11093
11118
|
aria-roledescription="${t=>t.ariaRoledescription}"
|
|
11119
|
+
@click="${(t,e)=>t.onClick(e.event)}"
|
|
11094
11120
|
${zt("control")}
|
|
11095
11121
|
>
|
|
11096
11122
|
<div class="icon-background"></div>
|