dawn-ui-react 1.0.0-alpha → 1.0.0-alpha.10
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-Br91lfPH.js → Input--h5J-IHe.js} +4 -4
- package/dist/{clamp-C6OCmUfq.js → clamp-XXDcNhZ7.js} +50 -50
- package/dist/{cn-CXogf8HW.js → cn-DWnOBdrm.js} +349 -307
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.types.d.ts +1 -0
- package/dist/components/code-block/code-block-actions.d.ts +2 -0
- package/dist/components/code-block/code-block-copy.d.ts +2 -0
- package/dist/components/code-block/code-block-download.d.ts +2 -0
- package/dist/components/code-block/code-block-header-group.d.ts +2 -0
- package/dist/components/code-block/code-block-header.d.ts +3 -0
- package/dist/components/code-block/code-block-name.d.ts +2 -0
- package/dist/components/code-block/code-block-select.d.ts +2 -0
- package/dist/components/code-block/code-block-tabs.d.ts +2 -0
- package/dist/components/code-block/code-block-window.d.ts +3 -0
- package/dist/components/code-block/code-block.d.ts +3 -0
- package/dist/components/code-block/code-block.types.d.ts +26 -0
- package/dist/components/code-block/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/drawer/drawer-close.d.ts +2 -0
- package/dist/components/drawer/drawer-content.d.ts +2 -0
- package/dist/components/drawer/drawer-description.d.ts +2 -0
- package/dist/components/drawer/drawer-header.d.ts +2 -0
- package/dist/components/drawer/drawer-popup.d.ts +2 -0
- package/dist/components/drawer/drawer-provider.d.ts +2 -0
- package/dist/components/drawer/drawer-title.d.ts +2 -0
- package/dist/components/drawer/drawer-trigger.d.ts +2 -0
- package/dist/components/drawer/drawer.d.ts +2 -0
- package/dist/components/drawer/drawer.types.d.ts +10 -0
- package/dist/components/drawer/index.d.ts +10 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/input-otp/index.d.ts +2 -1
- package/dist/components/input-otp/input-otp-separator.d.ts +2 -0
- package/dist/components/input-otp/input-otp-slot.d.ts +1 -1
- package/dist/components/input-otp/input-otp.types.d.ts +4 -3
- package/dist/components/layer-tree/index.d.ts +5 -1
- package/dist/components/layer-tree/layer-tree-body.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-footer.d.ts +2 -0
- package/dist/components/layer-tree/layer-tree-node-toggle.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-node.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-row.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-search.d.ts +1 -1
- package/dist/components/layer-tree/layer-tree-sort.d.ts +2 -0
- package/dist/components/layer-tree/layer-tree-utils.d.ts +83 -0
- package/dist/components/layer-tree/layer-tree.d.ts +9 -4
- package/dist/components/layer-tree/layer-tree.types.d.ts +16 -5
- 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/components/profile/index.d.ts +5 -1
- package/dist/components/profile/profile-action.d.ts +2 -0
- package/dist/components/profile/profile-content.d.ts +2 -0
- package/dist/components/profile/profile-name.d.ts +2 -0
- package/dist/components/profile/profile-subname.d.ts +2 -0
- package/dist/components/profile/profile.d.ts +1 -1
- package/dist/components/profile/profile.types.d.ts +6 -14
- package/dist/components/separator/separator.d.ts +1 -1
- package/dist/components/separator/separator.types.d.ts +3 -1
- package/dist/components/tabs/tabs.types.d.ts +1 -1
- package/dist/dawn-ui-react.js +20673 -10612
- package/dist/dawn-ui-react.umd.cjs +71 -24
- package/dist/{field-input-group-Dcwadst3.js → field-input-group-8FpzC5q3.js} +3 -3
- package/dist/{field-input-group-input-CLQz2SPo.js → field-input-group-input-DZCaKPkV.js} +3 -3
- package/dist/{form-context-CzC_p5DL.js → form-context-D2zlNF0l.js} +529 -509
- package/dist/{input-group-D3zocoNy.js → input-group-Ddhxk-gp.js} +2 -2
- package/dist/{input-group-input-CHby62R-.js → input-group-input-iCeN23U6.js} +2 -2
- package/dist/input.types-oyKEbsbD.js +21 -0
- package/dist/styles.css +149 -118
- package/dist/{useLabelableId-VWw8rfpn.js → useLabelableId-C8TWIYiH.js} +51 -51
- package/package.json +40 -40
- package/dist/field-description-BDRJXMS8.js +0 -12
- package/dist/field-errors-BDUanNiE.js +0 -19
- package/dist/field-input-0WxX-93A.js +0 -58
- package/dist/field-label-DwF_1o76.js +0 -16
- package/dist/field-select-BmvhGVSz.js +0 -2149
- package/dist/field-slider-oL8pDrCe.js +0 -2167
- package/dist/input.types-Dl_61f0y.js +0 -21
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { _ as e } from "./form-context-CzC_p5DL.js";
|
|
2
|
-
//#region src/components/input/input.types.tsx
|
|
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
|
-
variants: {
|
|
5
|
-
variant: {
|
|
6
|
-
primary: "bg-surface shadow-2xs",
|
|
7
|
-
secondary: "bg-surface-low"
|
|
8
|
-
},
|
|
9
|
-
size: {
|
|
10
|
-
small: "h-lg gap-3xs px-xs style-text-prose--1",
|
|
11
|
-
medium: "h-xl gap-2xs px-sm style-text-prose-0",
|
|
12
|
-
large: "h-2xl gap-xs px-md style-text-prose-1"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
variant: "primary",
|
|
17
|
-
size: "medium"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//#endregion
|
|
21
|
-
export { t };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var e = Object.defineProperty, t = (t, n) => {
|
|
3
|
-
let r = {};
|
|
4
|
-
for (var i in t) e(r, i, {
|
|
5
|
-
get: t[i],
|
|
6
|
-
enumerable: !0
|
|
7
|
-
});
|
|
8
|
-
return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
-
};
|
|
10
|
-
//#endregion
|
|
11
|
-
export { t };
|