Skip to content

Commit

Permalink
bump version and built dist
Browse files Browse the repository at this point in the history
  • Loading branch information
iantrich committed Sep 8, 2021
1 parent df131db commit 93f292a
Show file tree
Hide file tree
Showing 96 changed files with 780 additions and 349 deletions.
2 changes: 1 addition & 1 deletion dist/has-changed.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { PropertyValues } from "lit-element";
import { PropertyValues } from "lit";
export declare function hasConfigOrEntityChanged(element: any, changedProps: PropertyValues, forceUpdate: Boolean): boolean;
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.m.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.m.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.modern.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.modern.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js.map

Large diffs are not rendered by default.

33 changes: 22 additions & 11 deletions dist/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ declare global {
};
"show-dialog": {};
undefined: any;
"action": {
action: {
action: string;
};
}
Expand Down Expand Up @@ -160,8 +160,8 @@ export interface HomeAssistant {
panels: Panels;
panelUrl: string;
/**
* @deprecated Use `locale.language` instead
*/
* @deprecated Use `locale.language` instead
*/
language: string;
locale?: FrontendTranslationData;
selectedLanguage: string;
Expand All @@ -188,6 +188,25 @@ export interface HomeAssistant {
sendWS: (msg: MessageBase) => Promise<void>;
callWS: <T>(msg: MessageBase) => Promise<T>;
}
export declare enum NumberFormat {
language = "language",
system = "system",
comma_decimal = "comma_decimal",
decimal_comma = "decimal_comma",
space_comma = "space_comma",
none = "none"
}
export declare enum TimeFormat {
language = "language",
system = "system",
am_pm = "12",
twenty_four = "24"
}
export interface FrontendLocaleData {
language: string;
number_format: NumberFormat;
time_format: TimeFormat;
}
export interface LovelaceCardConfig {
index?: number;
view_index?: number;
Expand Down Expand Up @@ -234,14 +253,6 @@ export interface FrontendTranslationData {
language: string;
number_format: NumberFormat;
}
export declare enum NumberFormat {
language = "language",
system = "system",
comma_decimal = "comma_decimal",
decimal_comma = "decimal_comma",
space_comma = "space_comma",
none = "none"
}
export interface ActionHandlerDetail {
action: string;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/enums/_types_.numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h3>comma_<wbr>decimal</h3>
<div class="tsd-signature tsd-kind-icon">comma_<wbr>decimal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;comma_decimal&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L300">src/types.ts:300</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L246">src/types.ts:246</a></li>
</ul>
</aside>
</section>
Expand All @@ -105,7 +105,7 @@ <h3>decimal_<wbr>comma</h3>
<div class="tsd-signature tsd-kind-icon">decimal_<wbr>comma<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;decimal_comma&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L301">src/types.ts:301</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L247">src/types.ts:247</a></li>
</ul>
</aside>
</section>
Expand All @@ -115,7 +115,7 @@ <h3>language</h3>
<div class="tsd-signature tsd-kind-icon">language<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;language&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L298">src/types.ts:298</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L244">src/types.ts:244</a></li>
</ul>
</aside>
</section>
Expand All @@ -125,7 +125,7 @@ <h3>none</h3>
<div class="tsd-signature tsd-kind-icon">none<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;none&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L303">src/types.ts:303</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L249">src/types.ts:249</a></li>
</ul>
</aside>
</section>
Expand All @@ -135,7 +135,7 @@ <h3>space_<wbr>comma</h3>
<div class="tsd-signature tsd-kind-icon">space_<wbr>comma<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;space_comma&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L302">src/types.ts:302</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L248">src/types.ts:248</a></li>
</ul>
</aside>
</section>
Expand All @@ -145,7 +145,7 @@ <h3>system</h3>
<div class="tsd-signature tsd-kind-icon">system<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;system&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/types.ts#L299">src/types.ts:299</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L245">src/types.ts:245</a></li>
</ul>
</aside>
</section>
Expand Down
204 changes: 204 additions & 0 deletions docs/enums/_types_.timeformat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TimeFormat | custom-card-helpers</title>
<meta name="description" content="Documentation for custom-card-helpers">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">custom-card-helpers</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="../modules/_types_.html">&quot;types&quot;</a>
</li>
<li>
<a href="_types_.timeformat.html">TimeFormat</a>
</li>
</ul>
<h1>Enumeration TimeFormat</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Enumeration members</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_types_.timeformat.html#am_pm" class="tsd-kind-icon">am_<wbr>pm</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_types_.timeformat.html#language" class="tsd-kind-icon">language</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_types_.timeformat.html#system" class="tsd-kind-icon">system</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_types_.timeformat.html#twenty_four" class="tsd-kind-icon">twenty_<wbr>four</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Enumeration members</h2>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum">
<a name="am_pm" class="tsd-anchor"></a>
<h3>am_<wbr>pm</h3>
<div class="tsd-signature tsd-kind-icon">am_<wbr>pm<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;12&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L255">src/types.ts:255</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum">
<a name="language" class="tsd-anchor"></a>
<h3>language</h3>
<div class="tsd-signature tsd-kind-icon">language<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;language&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L253">src/types.ts:253</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum">
<a name="system" class="tsd-anchor"></a>
<h3>system</h3>
<div class="tsd-signature tsd-kind-icon">system<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;system&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L254">src/types.ts:254</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum">
<a name="twenty_four" class="tsd-anchor"></a>
<h3>twenty_<wbr>four</h3>
<div class="tsd-signature tsd-kind-icon">twenty_<wbr>four<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = &quot;24&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/types.ts#L256">src/types.ts:256</a></li>
</ul>
</aside>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class="current tsd-kind-module">
<a href="../modules/_types_.html">&quot;types&quot;</a>
<ul>
<li class=" tsd-kind-namespace tsd-parent-kind-module tsd-is-not-exported">
<a href="../modules/_types_.__global.html">__global</a>
</li>
</ul>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-enum tsd-parent-kind-module">
<a href="_types_.timeformat.html" class="tsd-kind-icon">Time<wbr>Format</a>
<ul>
<li class=" tsd-kind-enum-member tsd-parent-kind-enum">
<a href="_types_.timeformat.html#am_pm" class="tsd-kind-icon">am_<wbr>pm</a>
</li>
<li class=" tsd-kind-enum-member tsd-parent-kind-enum">
<a href="_types_.timeformat.html#language" class="tsd-kind-icon">language</a>
</li>
<li class=" tsd-kind-enum-member tsd-parent-kind-enum">
<a href="_types_.timeformat.html#system" class="tsd-kind-icon">system</a>
</li>
<li class=" tsd-kind-enum-member tsd-parent-kind-enum">
<a href="_types_.timeformat.html#twenty_four" class="tsd-kind-icon">twenty_<wbr>four</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/interfaces/_fire_event_.hassdomevent.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h3>detail</h3>
<div class="tsd-signature tsd-kind-icon">detail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/fire-event.ts#L39">src/fire-event.ts:39</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/fire-event.ts#L39">src/fire-event.ts:39</a></li>
</ul>
</aside>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>haptic</h3>
<div class="tsd-signature tsd-kind-icon">haptic<span class="tsd-signature-symbol">:</span> <a href="_fire_event_.hassdomevent.html" class="tsd-signature-type">HASSDomEvent</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_haptic_.html#haptictype" class="tsd-signature-type">HapticType</a><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/haptic.ts#L27">src/haptic.ts:27</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/haptic.ts#L27">src/haptic.ts:27</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_haptic_.__global.hassdomevents.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>haptic</h3>
<div class="tsd-signature tsd-kind-icon">haptic<span class="tsd-signature-symbol">:</span> <a href="../modules/_haptic_.html#haptictype" class="tsd-signature-type">HapticType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/haptic.ts#L23">src/haptic.ts:23</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/haptic.ts#L23">src/haptic.ts:23</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_navigate_.__global.hassdomevents.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>location-<wbr>changed</h3>
<div class="tsd-signature tsd-kind-icon">location-<wbr>changed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>replace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/navigate.ts#L6">src/navigate.ts:6</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/navigate.ts#L6">src/navigate.ts:6</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down
6 changes: 3 additions & 3 deletions docs/interfaces/_translations_localize_.formatstype.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>date</h3>
<div class="tsd-signature tsd-kind-icon">date<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/translations/localize.ts#L11">src/translations/localize.ts:11</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/translations/localize.ts#L11">src/translations/localize.ts:11</a></li>
</ul>
</aside>
</section>
Expand All @@ -110,7 +110,7 @@ <h3>number</h3>
<div class="tsd-signature tsd-kind-icon">number<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/translations/localize.ts#L10">src/translations/localize.ts:10</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/translations/localize.ts#L10">src/translations/localize.ts:10</a></li>
</ul>
</aside>
</section>
Expand All @@ -120,7 +120,7 @@ <h3>time</h3>
<div class="tsd-signature tsd-kind-icon">time<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/2dece72/src/translations/localize.ts#L12">src/translations/localize.ts:12</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/df131db/src/translations/localize.ts#L12">src/translations/localize.ts:12</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 93f292a

Please sign in to comment.