Skip to content

Commit

Permalink
Add build for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Nov 3, 2024
1 parent 070d77b commit 7eeb606
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion dist/interfaces/severity.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
/**
* Severity Enum
*
* This is a shared enum used to define the severity of different components
* (e.g., alert, button, etc.). This makes it easier to reference severity
* levels across multiple components, also defining a common concept across
* themes.
*
* Template components must accept all values of this enum as valid input.
* However, themes may choose to ignore or bind some values to another style.
* For example, a theme might not have an 'Info' colored button. In this case,
* the theme's button component must accept 'Info' as a valid input, but it can
* map it to the 'Primary' style.
*/
export declare enum Severity {
Primary = "Primary",
Secondary = "Secondary",
Success = "Success",
Warning = "Warning",
Danger = "Danger",
Info = "Info",
Muted = "Muted"
Muted = "Muted",// Aka, Disabled
Default = "Default"
}
2 changes: 1 addition & 1 deletion dist/types.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=(n=>(n.Primary="Primary",n.Secondary="Secondary",n.Success="Success",n.Warning="Warning",n.Danger="Danger",n.Info="Info",n.Muted="Muted",n))(r||{});exports.Severity=r;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=(a=>(a.Primary="Primary",a.Secondary="Secondary",a.Success="Success",a.Warning="Warning",a.Danger="Danger",a.Info="Info",a.Muted="Muted",a.Default="Default",a))(n||{});exports.Severity=n;
4 changes: 2 additions & 2 deletions dist/types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var a = /* @__PURE__ */ ((n) => (n.Primary = "Primary", n.Secondary = "Secondary", n.Success = "Success", n.Warning = "Warning", n.Danger = "Danger", n.Info = "Info", n.Muted = "Muted", n))(a || {});
var n = /* @__PURE__ */ ((a) => (a.Primary = "Primary", a.Secondary = "Secondary", a.Success = "Success", a.Warning = "Warning", a.Danger = "Danger", a.Info = "Info", a.Muted = "Muted", a.Default = "Default", a))(n || {});
export {
a as Severity
n as Severity
};

0 comments on commit 7eeb606

Please sign in to comment.