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.
- package/dist/{Input-BkHt7FC1.js → Input-kWMjBJ1G.js} +2 -2
- package/dist/{clamp-Bd-I2_Rk.js → clamp-adUQHSQX.js} +2 -2
- package/dist/components/popover/index.d.ts +2 -1
- package/dist/components/popover/popover-button.d.ts +2 -0
- package/dist/components/popover/popover.types.d.ts +2 -0
- package/dist/dawn-ui-react.js +133 -116
- package/dist/dawn-ui-react.umd.cjs +4 -4
- package/dist/{field-input-group-input-DnJFuMi4.js → field-input-group-input-CtDhhP9-.js} +2 -2
- package/dist/{field-input-group-BwMQAM6n.js → field-input-group-zaT2fZVE.js} +2 -2
- package/dist/{form-context-om_k3VKa.js → form-context-D_CUI37x.js} +2 -2
- package/dist/{input-group-CWH7SWRv.js → input-group-B9tCZ-1V.js} +1 -1
- package/dist/{input-group-input-DOxvfiMV.js → input-group-input-DJJYMhiE.js} +1 -1
- package/dist/{input.types-BeeCYL9x.js → input.types-Cv68_8o4.js} +1 -1
- package/dist/{useLabelableId-B_P81Wgy.js → useLabelableId-Cu8szM6L.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e } from "./form-context-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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" }) {
|