dawn-ui-react 1.0.0-alpha.7 → 1.0.0-alpha.8

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.
@@ -1,6 +1,6 @@
1
- import { i as e } from "./form-context-om_k3VKa.js";
1
+ import { i as e } from "./form-context-D_CUI37x.js";
2
2
  import { t } from "./cn-DWnOBdrm.js";
3
- import { t as n } from "./input-group-input-DOxvfiMV.js";
3
+ import { t as n } from "./input-group-input-DJJYMhiE.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/field/field-input-group-input.tsx
6
6
  var i = ({ className: i, ref: a, ...o }) => {
@@ -1,6 +1,6 @@
1
- import { i as e } from "./form-context-om_k3VKa.js";
1
+ import { i as e } from "./form-context-D_CUI37x.js";
2
2
  import { t } from "./cn-DWnOBdrm.js";
3
- import { t as n } from "./input-group-CWH7SWRv.js";
3
+ import { t as n } from "./input-group-B9tCZ-1V.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region src/components/field/field-input-group.tsx
6
6
  var i = ({ className: i, children: a, ref: o, ...s }) => {
@@ -596,7 +596,7 @@ var xt = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, St = e, Ct =
596
596
  process.env.NODE_ENV !== "production" && (Ot.displayName = "Button");
597
597
  //#endregion
598
598
  //#region src/components/button/button.types.ts
599
- var kt = Ct("inline-flex cursor-pointer items-center justify-center rounded-full whitespace-nowrap transition-all select-none disabled:pointer-events-none disabled:opacity-50", {
599
+ var kt = Ct("inline-flex cursor-pointer items-center justify-center rounded-full whitespace-nowrap transition-all select-none disabled:pointer-events-none disabled:opacity-50 [&>svg]:shrink-0", {
600
600
  variants: {
601
601
  tone: {
602
602
  brand: "",
@@ -3033,7 +3033,7 @@ var Wn = ({ className: e, children: n, ref: r, ...i }) => /* @__PURE__ */ m(ir()
3033
3033
  weight: "bold"
3034
3034
  }) : n
3035
3035
  })
3036
- }), qn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldDescription }))), Jn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldErrors }))), Yn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldInput }))), Xn = a(() => import("./field-input-group-BwMQAM6n.js").then((e) => ({ default: e.FieldInputGroup }))), Zn = a(() => import("./field-input-group-input-DnJFuMi4.js").then((e) => ({ default: e.FieldInputGroupInput }))), Qn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldLabel }))), $n = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldSelect }))), er = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldSlider }))), { fieldContext: tr, useFieldContext: nr, formContext: rr, useFormContext: ir } = Hn(), { useAppForm: ar, withFieldGroup: or, withForm: sr, useTypedAppFormContext: cr } = Un({
3036
+ }), qn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldDescription }))), Jn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldErrors }))), Yn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldInput }))), Xn = a(() => import("./field-input-group-zaT2fZVE.js").then((e) => ({ default: e.FieldInputGroup }))), Zn = a(() => import("./field-input-group-input-CtDhhP9-.js").then((e) => ({ default: e.FieldInputGroupInput }))), Qn = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldLabel }))), $n = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldSelect }))), er = a(() => import("./dawn-ui-react.js").then((e) => ({ default: e.FieldSlider }))), { fieldContext: tr, useFieldContext: nr, formContext: rr, useFormContext: ir } = Hn(), { useAppForm: ar, withFieldGroup: or, withForm: sr, useTypedAppFormContext: cr } = Un({
3037
3037
  fieldContext: tr,
3038
3038
  fieldComponents: {
3039
3039
  FieldDescription: qn,
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DWnOBdrm.js";
2
- import { t } from "./input.types-BeeCYL9x.js";
2
+ import { t } from "./input.types-Cv68_8o4.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/components/input-group/input-group.tsx
5
5
  var r = ({ variant: r, className: i, children: a, ref: o, ...s }) => /* @__PURE__ */ n("div", {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DWnOBdrm.js";
2
- import { t } from "./Input-BkHt7FC1.js";
2
+ import { t } from "./Input-kWMjBJ1G.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/components/input-group/input-group-input.tsx
5
5
  var r = ({ className: r, ref: i, ...a }) => /* @__PURE__ */ n(t, {
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./form-context-om_k3VKa.js";
1
+ import { _ as e } from "./form-context-D_CUI37x.js";
2
2
  //#region src/components/input/input.types.tsx
3
3
  var t = e("group flex w-full items-center rounded-full text-ellipsis caret-brand-border-strong outline outline-transparent transition-all placeholder:opacity-60 focus-within:outline-brand-border-strong not-focus-within:hover:outline-border-strong disabled:cursor-not-allowed aria-invalid:bg-error-container aria-invalid:text-error-on-container aria-invalid:caret-error-border-strong aria-invalid:outline-error-border aria-invalid:focus-within:outline-error-border-strong aria-invalid:not-focus-within:hover:outline-error-border data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50", {
4
4
  variants: {
@@ -1,4 +1,4 @@
1
- import { $ as e, B as t, G as n, I as r, J as i, Q as a, W as o, X as s, Z as c, j as ee } from "./form-context-om_k3VKa.js";
1
+ import { $ as e, B as t, G as n, I as r, J as i, Q as a, W as o, X as s, Z as c, j as ee } from "./form-context-D_CUI37x.js";
2
2
  import * as l from "react";
3
3
  //#region node_modules/.pnpm/@base-ui+utils@0.2.8_@types+react@19.2.14_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@base-ui/utils/esm/useControlled.js
4
4
  function u({ controlled: t, default: n, name: r, state: i = "value" }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dawn-ui-react",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.8",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",