@voxel51/voodo 0.0.15 → 0.0.16
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/components/Button/Button.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/color-classes.d.ts +1 -1
- package/dist/styles/color-classes.d.ts.map +1 -1
- package/dist/types/color.d.ts +1 -0
- package/dist/types/color.d.ts.map +1 -1
- package/dist/voodo.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ function I() {
|
|
|
18
18
|
}
|
|
19
19
|
var Ue = /* @__PURE__ */ ((e) => (e.TopLeft = "top-left", e.Top = "top", e.TopRight = "top-right", e.Right = "right", e.BottomRight = "bottom-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.Left = "left", e))(Ue || {}), pe = /* @__PURE__ */ ((e) => (e.Active = "data-active", e.AutoFocus = "data-autofocus", e.Checked = "data-checked", e.Disabled = "disabled", e.Focus = "data-focus", e.Hover = "hover", e.None = "none", e.Open = "data-open", e.Selected = "data-selected", e))(pe || {});
|
|
20
20
|
const Ss = (e, r = "none") => r === "none" ? e : `${r}:${e}`;
|
|
21
|
-
var Xe = /* @__PURE__ */ ((e) => (e.PrimaryDefault = "action-primary-primary", e.PrimaryHover = "action-primary-secondary", e.PrimaryFocus = "action-primary-tertiary", e.PrimaryText = "action-primary-text", e.SecondaryDefault = "action-secondary-primary", e.SecondaryHover = "action-secondary-secondary", e.SecondaryFocus = "action-secondary-tertiary", e.SecondaryText = "action-secondary-text", e.SuccessDefault = "action-success-primary", e.SuccessHover = "action-success-secondary", e.SuccessFocus = "action-success-tertiary", e.SuccessText = "action-success-text", e.DangerDefault = "action-danger-primary", e.DangerHover = "action-danger-secondary", e.DangerFocus = "action-danger-tertiary", e.DangerText = "action-danger-text", e.IconDefault = "action-icon-default", e))(Xe || {}), pt = /* @__PURE__ */ ((e) => (e.Background = "bg-background", e.Card1 = "bg-card-1", e.Card2 = "bg-card-2", e.CardElevated = "bg-card-elevated", e.Muted = "bg-muted", e.Popover = "bg-popover", e.Secondary = "bg-secondary", e))(pt || {}), Fe = /* @__PURE__ */ ((e) => (e.Default = "border-default", e.Strong = "border-strong", e.Hover = "border-hover", e.Focus = "border-focus", e.Subtle = "border-subtle", e.Active = "border-active", e.Error = "border-error", e.Success = "border-success", e.Warning = "border-warning", e.Disabled = "border-disabled", e.CardElevated = "bg-card-elevated", e))(Fe || {}), Fo = /* @__PURE__ */ ((e) => (e.Primary = "brand-primary", e.Accent = "brand-accent", e))(Fo || {}), ur = /* @__PURE__ */ ((e) => (e.Default = "icon-default", e.Subtle = "icon-subtle", e.Emphasis = "icon-emphasis", e.Muted = "icon-muted", e.Disabled = "icon-disabled", e.Decorative = "icon-decorative", e.Brand = "icon-brand", e.Success = "icon-success", e.Destructive = "icon-destructive", e.Warning = "icon-warning", e.Info = "icon-info", e))(ur || {}), M1 = /* @__PURE__ */ ((e) => (e.Success = "semantic-success", e.Destructive = "semantic-destructive", e.Info = "semantic-info", e.Warning = "semantic-warning", e))(M1 || {}), rp = /* @__PURE__ */ ((e) => (e.Approved = "status-approved", e.Review = "status-review", e.Progress = "status-progress", e.Default = "status-default", e.Failed = "status-failed", e))(rp || {}), ge = /* @__PURE__ */ ((e) => (e.Fg = "text-fg", e.Primary = "text-primary", e.Secondary = "text-secondary", e.Tertiary = "text-tertiary", e.Muted = "text-muted", e.Placeholder = "text-placeholder", e.Success = "text-success", e.Destructive = "text-destructive", e.Warning = "text-warning", e.Info = "text-info", e))(ge || {});
|
|
21
|
+
var Xe = /* @__PURE__ */ ((e) => (e.PrimaryDefault = "action-primary-primary", e.PrimaryHover = "action-primary-secondary", e.PrimaryFocus = "action-primary-tertiary", e.PrimaryText = "action-primary-text", e.SecondaryDefault = "action-secondary-primary", e.SecondaryHover = "action-secondary-secondary", e.SecondaryFocus = "action-secondary-tertiary", e.SecondaryText = "action-secondary-text", e.SuccessDefault = "action-success-primary", e.SuccessHover = "action-success-secondary", e.SuccessFocus = "action-success-tertiary", e.SuccessText = "action-success-text", e.DangerDefault = "action-danger-primary", e.DangerHover = "action-danger-secondary", e.DangerFocus = "action-danger-tertiary", e.DangerText = "action-danger-text", e.IconDefault = "action-icon-default", e))(Xe || {}), pt = /* @__PURE__ */ ((e) => (e.Transparent = "bg-transparent", e.Background = "bg-background", e.Card1 = "bg-card-1", e.Card2 = "bg-card-2", e.CardElevated = "bg-card-elevated", e.Muted = "bg-muted", e.Popover = "bg-popover", e.Secondary = "bg-secondary", e))(pt || {}), Fe = /* @__PURE__ */ ((e) => (e.Default = "border-default", e.Strong = "border-strong", e.Hover = "border-hover", e.Focus = "border-focus", e.Subtle = "border-subtle", e.Active = "border-active", e.Error = "border-error", e.Success = "border-success", e.Warning = "border-warning", e.Disabled = "border-disabled", e.CardElevated = "bg-card-elevated", e))(Fe || {}), Fo = /* @__PURE__ */ ((e) => (e.Primary = "brand-primary", e.Accent = "brand-accent", e))(Fo || {}), ur = /* @__PURE__ */ ((e) => (e.Default = "icon-default", e.Subtle = "icon-subtle", e.Emphasis = "icon-emphasis", e.Muted = "icon-muted", e.Disabled = "icon-disabled", e.Decorative = "icon-decorative", e.Brand = "icon-brand", e.Success = "icon-success", e.Destructive = "icon-destructive", e.Warning = "icon-warning", e.Info = "icon-info", e))(ur || {}), M1 = /* @__PURE__ */ ((e) => (e.Success = "semantic-success", e.Destructive = "semantic-destructive", e.Info = "semantic-info", e.Warning = "semantic-warning", e))(M1 || {}), rp = /* @__PURE__ */ ((e) => (e.Approved = "status-approved", e.Review = "status-review", e.Progress = "status-progress", e.Default = "status-default", e.Failed = "status-failed", e))(rp || {}), ge = /* @__PURE__ */ ((e) => (e.Fg = "text-fg", e.Primary = "text-primary", e.Secondary = "text-secondary", e.Tertiary = "text-tertiary", e.Muted = "text-muted", e.Placeholder = "text-placeholder", e.Success = "text-success", e.Destructive = "text-destructive", e.Warning = "text-warning", e.Info = "text-info", e))(ge || {});
|
|
22
22
|
const op = {
|
|
23
23
|
"action-icon-default": "text-transparent",
|
|
24
24
|
"action-primary-primary": "text-action-primary-primary",
|
|
@@ -44,6 +44,7 @@ const op = {
|
|
|
44
44
|
"bg-muted": "text-content-bg-muted",
|
|
45
45
|
"bg-popover": "text-content-bg-popover",
|
|
46
46
|
"bg-secondary": "text-content-bg-secondary",
|
|
47
|
+
"bg-transparent": "text-transparent",
|
|
47
48
|
"brand-accent": "text-brand-accent",
|
|
48
49
|
"brand-primary": "text-brand-primary",
|
|
49
50
|
"icon-brand": "text-content-icon-brand",
|
|
@@ -77,6 +78,7 @@ const op = {
|
|
|
77
78
|
"text-tertiary": "text-content-text-tertiary",
|
|
78
79
|
"text-warning": "text-content-text-warning"
|
|
79
80
|
}, ap = {
|
|
81
|
+
"bg-transparent": "bg-transparent",
|
|
80
82
|
"action-icon-default": "bg-transparent",
|
|
81
83
|
"action-primary-primary": "bg-action-primary-primary",
|
|
82
84
|
"action-primary-secondary": "bg-action-primary-secondary",
|
|
@@ -8095,6 +8097,7 @@ const M7 = {
|
|
|
8095
8097
|
Le(Xe.DangerFocus, pe.Active)
|
|
8096
8098
|
),
|
|
8097
8099
|
[Ie.Icon]: I(
|
|
8100
|
+
"px-2.5 py-2.5",
|
|
8098
8101
|
"bg-transparent",
|
|
8099
8102
|
Le(pt.CardElevated, pe.Hover)
|
|
8100
8103
|
),
|
|
@@ -8143,8 +8146,8 @@ const M7 = {
|
|
|
8143
8146
|
"transition-colors",
|
|
8144
8147
|
"hover:cursor-pointer",
|
|
8145
8148
|
"disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none",
|
|
8146
|
-
M7[e],
|
|
8147
8149
|
O7[r],
|
|
8150
|
+
M7[e],
|
|
8148
8151
|
n && "border-0",
|
|
8149
8152
|
a
|
|
8150
8153
|
),
|
|
@@ -14951,7 +14954,7 @@ const fs = ({
|
|
|
14951
14954
|
...i
|
|
14952
14955
|
}) => /* @__PURE__ */ M(Cr, { disabled: t, className: a, children: /* @__PURE__ */ Me(_o, { orientation: dr.Column, spacing: Tt.Sm, ...i, children: [
|
|
14953
14956
|
r && /* @__PURE__ */ Me(_o, { orientation: dr.Row, spacing: Tt.Sm, children: [
|
|
14954
|
-
/* @__PURE__ */ M(gr, { children: /* @__PURE__ */ M(et, { color: ge.
|
|
14957
|
+
/* @__PURE__ */ M(gr, { children: /* @__PURE__ */ M(et, { color: ge.Primary, children: r }) }),
|
|
14955
14958
|
n && /* @__PURE__ */ M(Ns, { children: /* @__PURE__ */ M(et, { color: ge.Secondary, children: n }) })
|
|
14956
14959
|
] }),
|
|
14957
14960
|
e,
|
|
@@ -15018,7 +15021,7 @@ const pf = ({
|
|
|
15018
15021
|
size: o = B.Md
|
|
15019
15022
|
}) => ue(
|
|
15020
15023
|
"w-full",
|
|
15021
|
-
Le(pt.
|
|
15024
|
+
Le(pt.Transparent),
|
|
15022
15025
|
we(ge.Primary),
|
|
15023
15026
|
"placeholder:text-content-text-tertiary",
|
|
15024
15027
|
"transition-colors",
|