File size: 6,012 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
import { comboboxAnatomy as arkComboboxAnatomy } from "@ark-ui/react"
import { accordionAnatomy as arkAccordionAnatomy } from "@ark-ui/react/accordion"
import { createAnatomy } from "@ark-ui/react/anatomy"
import { clipboardAnatomy as arkClipboardAnatomy } from "@ark-ui/react/clipboard"
import { colorPickerAnatomy as arkColorPickerAnatomy } from "@ark-ui/react/color-picker"
import { dialogAnatomy as arkDialogAnatomy } from "@ark-ui/react/dialog"
import { editableAnatomy as arkEditableAnatomy } from "@ark-ui/react/editable"
import { fieldAnatomy as arkFieldAnatomy } from "@ark-ui/react/field"
import { fieldsetAnatomy as arkFieldsetAnatomy } from "@ark-ui/react/fieldset"
import { fileUploadAnatomy as arkFileUploadAnatomy } from "@ark-ui/react/file-upload"
import { menuAnatomy as arkMenuAnatomy } from "@ark-ui/react/menu"
import { popoverAnatomy as arkPopoverAnatomy } from "@ark-ui/react/popover"
import { radioGroupAnatomy as arkRadioGroupAnatomy } from "@ark-ui/react/radio-group"
import { ratingGroupAnatomy as arkRatingGroupAnatomy } from "@ark-ui/react/rating-group"
import { selectAnatomy as arkSelectAnatomy } from "@ark-ui/react/select"
import { sliderAnatomy as arkSliderAnatomy } from "@ark-ui/react/slider"
import { switchAnatomy as arkSwitchAnatomy } from "@ark-ui/react/switch"
export const accordionAnatomy = arkAccordionAnatomy.extendWith("itemBody")
export const actionBarAnatomy = createAnatomy("action-bar").parts(
"positioner",
"content",
"separator",
"selectionTrigger",
"closeTrigger",
)
export const alertAnatomy = createAnatomy("alert").parts(
"title",
"description",
"root",
"indicator",
"content",
)
export const breadcrumbAnatomy = createAnatomy("breadcrumb").parts(
"link",
"currentLink",
"item",
"list",
"root",
"ellipsis",
"separator",
)
export const blockquoteAnatomy = createAnatomy("blockquote").parts(
"root",
"icon",
"content",
"caption",
)
export const cardAnatomy = createAnatomy("card").parts(
"root",
"header",
"body",
"footer",
"title",
"description",
)
export const checkboxCardAnatomy = createAnatomy("checkbox-card", [
"root",
"control",
"label",
"description",
"addon",
"indicator",
"content",
])
export const dataListAnatomy = createAnatomy("data-list").parts(
"root",
"item",
"itemLabel",
"itemValue",
)
export const dialogAnatomy = arkDialogAnatomy.extendWith(
"header",
"body",
"footer",
"backdrop",
)
export const drawerAnatomy = arkDialogAnatomy.extendWith(
"header",
"body",
"footer",
"backdrop",
)
export const editableAnatomy = arkEditableAnatomy.extendWith("textarea")
export const emptyStateAnatomy = createAnatomy("empty-state", [
"root",
"content",
"indicator",
"title",
"description",
])
export const fieldAnatomy = arkFieldAnatomy.extendWith("requiredIndicator")
export const fieldsetAnatomy = arkFieldsetAnatomy.extendWith("content")
export const fileUploadAnatomy = arkFileUploadAnatomy.extendWith(
"itemContent",
"dropzoneContent",
"fileText",
)
export const listAnatomy = createAnatomy("list").parts(
"root",
"item",
"indicator",
)
export const menuAnatomy = arkMenuAnatomy.extendWith("itemCommand")
export const nativeSelectAnatomy = createAnatomy("select").parts(
"root",
"field",
"indicator",
)
export const popoverAnatomy = arkPopoverAnatomy.extendWith(
"header",
"body",
"footer",
)
export const radioGroupAnatomy = arkRadioGroupAnatomy.extendWith(
"itemAddon",
"itemIndicator",
)
export const radioCardAnatomy = radioGroupAnatomy.extendWith(
"itemContent",
"itemDescription",
)
export const ratingGroupAnatomy =
arkRatingGroupAnatomy.extendWith("itemIndicator")
export const selectAnatomy = arkSelectAnatomy.extendWith("indicatorGroup")
export const comboboxAnatomy = arkComboboxAnatomy.extendWith(
"indicatorGroup",
"empty",
)
export const sliderAnatomy = arkSliderAnatomy.extendWith("markerIndicator")
export const statAnatomy = createAnatomy("stat").parts(
"root",
"label",
"helpText",
"valueText",
"valueUnit",
"indicator",
)
export const statusAnatomy = createAnatomy("status").parts("root", "indicator")
export const stepsAnatomy = createAnatomy("steps", [
"root",
"list",
"item",
"trigger",
"indicator",
"separator",
"content",
"title",
"description",
"nextTrigger",
"prevTrigger",
"progress",
])
export const switchAnatomy = arkSwitchAnatomy.extendWith("indicator")
export const tableAnatomy = createAnatomy("table").parts(
"root",
"header",
"body",
"row",
"columnHeader",
"cell",
"footer",
"caption",
)
export const toastAnatomy = createAnatomy("toast").parts(
"root",
"title",
"description",
"indicator",
"closeTrigger",
"actionTrigger",
)
export const tabsAnatomy = createAnatomy("tabs").parts(
"root",
"trigger",
"list",
"content",
"contentGroup",
"indicator",
)
export const tagAnatomy = createAnatomy("tag").parts(
"root",
"label",
"closeTrigger",
"startElement",
"endElement",
)
export const timelineAnatomy = createAnatomy("timeline").parts(
"root",
"item",
"content",
"separator",
"indicator",
"connector",
"title",
"description",
)
export const colorPickerAnatomy =
arkColorPickerAnatomy.extendWith("channelText")
export { treeViewAnatomy } from "@ark-ui/react/tree-view"
export { avatarAnatomy } from "@ark-ui/react/avatar"
export { checkboxAnatomy } from "@ark-ui/react/checkbox"
export { collapsibleAnatomy } from "@ark-ui/react/collapsible"
export { hoverCardAnatomy } from "@ark-ui/react/hover-card"
export { numberInputAnatomy } from "@ark-ui/react/number-input"
export { pinInputAnatomy } from "@ark-ui/react/pin-input"
export { progressAnatomy } from "@ark-ui/react/progress"
export { qrCodeAnatomy } from "@ark-ui/react/qr-code"
export { segmentGroupAnatomy } from "@ark-ui/react/segment-group"
export { tooltipAnatomy } from "@ark-ui/react/tooltip"
export const clipboardAnatomy = arkClipboardAnatomy.extendWith("valueText")
|