@aivex/ui 1.2.0-dev.6 → 1.2.0-dev.61
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/README.md +195 -1
- package/dist/DESIGN.md +241 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/comment.cjs +1 -114
- package/dist/comment.js +4 -13623
- package/dist/components/Accordion/Accordion.cjs +2 -0
- package/dist/components/Accordion/Accordion.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.d.cts +111 -0
- package/dist/components/Accordion/Accordion.d.ts +111 -0
- package/dist/components/Accordion/Accordion.js +75 -0
- package/dist/components/Accordion/Accordion.js.map +1 -0
- package/dist/components/Accordion/index.d.cts +2 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Autocomplete/Autocomplete.cjs +2 -0
- package/dist/components/Autocomplete/Autocomplete.cjs.map +1 -0
- package/dist/components/Autocomplete/Autocomplete.d.cts +157 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +157 -0
- package/dist/components/Autocomplete/Autocomplete.js +192 -0
- package/dist/components/Autocomplete/Autocomplete.js.map +1 -0
- package/dist/components/Autocomplete/index.d.cts +2 -0
- package/dist/components/Autocomplete/index.d.ts +2 -0
- package/dist/components/Avatar/Avatar.cjs +2 -0
- package/dist/components/Avatar/Avatar.cjs.map +1 -0
- package/dist/components/Avatar/Avatar.d.cts +42 -0
- package/dist/components/Avatar/Avatar.d.ts +26 -4
- package/dist/components/Avatar/Avatar.js +107 -0
- package/dist/components/Avatar/Avatar.js.map +1 -0
- package/dist/components/Avatar/index.d.cts +2 -0
- package/dist/components/Avatar/index.d.ts +2 -2
- package/dist/components/Badge/Badge.cjs +2 -0
- package/dist/components/Badge/Badge.cjs.map +1 -0
- package/dist/components/Badge/Badge.d.cts +93 -0
- package/dist/components/Badge/Badge.d.ts +66 -1
- package/dist/components/Badge/Badge.js +232 -0
- package/dist/components/Badge/Badge.js.map +1 -0
- package/dist/components/Badge/index.d.cts +2 -0
- package/dist/components/Badge/index.d.ts +2 -2
- package/dist/components/BreadCrumb/BreadCrumb.cjs +2 -0
- package/dist/components/BreadCrumb/BreadCrumb.cjs.map +1 -0
- package/dist/components/BreadCrumb/BreadCrumb.d.cts +57 -0
- package/dist/components/BreadCrumb/BreadCrumb.d.ts +34 -2
- package/dist/components/BreadCrumb/BreadCrumb.js +98 -0
- package/dist/components/BreadCrumb/BreadCrumb.js.map +1 -0
- package/dist/components/BreadCrumb/index.d.cts +2 -0
- package/dist/components/BreadCrumb/index.d.ts +2 -2
- package/dist/components/Button/Button.cjs +2 -0
- package/dist/components/Button/Button.cjs.map +1 -0
- package/dist/components/Button/Button.d.cts +51 -0
- package/dist/components/Button/Button.d.ts +33 -2
- package/dist/components/Button/Button.js +127 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/index.d.cts +2 -0
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Calendar/Calendar.cjs +2 -0
- package/dist/components/Calendar/Calendar.cjs.map +1 -0
- package/dist/components/Calendar/Calendar.d.cts +81 -0
- package/dist/components/Calendar/Calendar.d.ts +81 -0
- package/dist/components/Calendar/Calendar.js +150 -0
- package/dist/components/Calendar/Calendar.js.map +1 -0
- package/dist/components/Calendar/date.cjs +2 -0
- package/dist/components/Calendar/date.cjs.map +1 -0
- package/dist/components/Calendar/date.d.cts +35 -0
- package/dist/components/Calendar/date.d.ts +35 -0
- package/dist/components/Calendar/date.js +54 -0
- package/dist/components/Calendar/date.js.map +1 -0
- package/dist/components/Calendar/index.d.cts +2 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Card/Card.cjs +2 -0
- package/dist/components/Card/Card.cjs.map +1 -0
- package/dist/components/Card/Card.d.cts +47 -0
- package/dist/components/Card/Card.d.ts +38 -6
- package/dist/components/Card/Card.js +33 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Card/index.d.cts +2 -0
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.cjs +2 -0
- package/dist/components/Checkbox/Checkbox.cjs.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.cts +36 -0
- package/dist/components/Checkbox/Checkbox.d.ts +30 -7
- package/dist/components/Checkbox/Checkbox.js +49 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/ChipsCheckbox.cjs +2 -0
- package/dist/components/Checkbox/ChipsCheckbox.cjs.map +1 -0
- package/dist/components/Checkbox/ChipsCheckbox.d.cts +26 -0
- package/dist/components/Checkbox/ChipsCheckbox.d.ts +24 -5
- package/dist/components/Checkbox/ChipsCheckbox.js +27 -0
- package/dist/components/Checkbox/ChipsCheckbox.js.map +1 -0
- package/dist/components/Checkbox/index.d.cts +4 -0
- package/dist/components/Checkbox/index.d.ts +4 -4
- package/dist/components/Coachmark/Coachmark.cjs +2 -0
- package/dist/components/Coachmark/Coachmark.cjs.map +1 -0
- package/dist/components/Coachmark/Coachmark.d.cts +92 -0
- package/dist/components/Coachmark/Coachmark.d.ts +58 -20
- package/dist/components/Coachmark/Coachmark.js +110 -0
- package/dist/components/Coachmark/Coachmark.js.map +1 -0
- package/dist/components/Coachmark/index.d.cts +2 -0
- package/dist/components/Coachmark/index.d.ts +2 -2
- package/dist/components/Comment/CommentInput.cjs +2 -0
- package/dist/components/Comment/CommentInput.cjs.map +1 -0
- package/dist/components/Comment/CommentInput.d.cts +75 -0
- package/dist/components/Comment/CommentInput.d.ts +51 -6
- package/dist/components/Comment/CommentInput.js +76 -0
- package/dist/components/Comment/CommentInput.js.map +1 -0
- package/dist/components/Comment/CommentPin.cjs +2 -0
- package/dist/components/Comment/CommentPin.cjs.map +1 -0
- package/dist/components/Comment/CommentPin.d.cts +48 -0
- package/dist/components/Comment/CommentPin.d.ts +35 -4
- package/dist/components/Comment/CommentPin.js +40 -0
- package/dist/components/Comment/CommentPin.js.map +1 -0
- package/dist/components/Comment/MentionInput.cjs +2 -0
- package/dist/components/Comment/MentionInput.cjs.map +1 -0
- package/dist/components/Comment/MentionInput.d.cts +45 -0
- package/dist/components/Comment/MentionInput.d.ts +19 -4
- package/dist/components/Comment/MentionInput.js +93 -0
- package/dist/components/Comment/MentionInput.js.map +1 -0
- package/dist/components/Comment/MentionList.cjs +2 -0
- package/dist/components/Comment/MentionList.cjs.map +1 -0
- package/dist/components/Comment/MentionList.d.cts +19 -0
- package/dist/components/Comment/MentionList.d.ts +9 -4
- package/dist/components/Comment/MentionList.js +97 -0
- package/dist/components/Comment/MentionList.js.map +1 -0
- package/dist/components/Comment/index.d.cts +4 -0
- package/dist/components/Comment/index.d.ts +4 -4
- package/dist/components/Comment/mentionContent.cjs +5 -0
- package/dist/components/Comment/mentionContent.cjs.map +1 -0
- package/dist/components/Comment/mentionContent.d.cts +5 -0
- package/dist/components/Comment/mentionContent.d.ts +5 -0
- package/dist/components/Comment/mentionContent.js +40 -0
- package/dist/components/Comment/mentionContent.js.map +1 -0
- package/dist/components/Comment/types.d.cts +16 -0
- package/dist/components/Comment/types.d.ts +6 -2
- package/dist/components/Comment/useMentionSuggestion.cjs +2 -0
- package/dist/components/Comment/useMentionSuggestion.cjs.map +1 -0
- package/dist/components/Comment/useMentionSuggestion.d.cts +19 -0
- package/dist/components/Comment/useMentionSuggestion.d.ts +6 -2
- package/dist/components/Comment/useMentionSuggestion.js +78 -0
- package/dist/components/Comment/useMentionSuggestion.js.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.cjs +2 -0
- package/dist/components/ContextMenu/ContextMenu.cjs.map +1 -0
- package/dist/components/ContextMenu/ContextMenu.d.cts +72 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +72 -0
- package/dist/components/ContextMenu/ContextMenu.js +56 -0
- package/dist/components/ContextMenu/ContextMenu.js.map +1 -0
- package/dist/components/ContextMenu/index.d.cts +2 -0
- package/dist/components/ContextMenu/index.d.ts +2 -0
- package/dist/components/DataGrid/DataGrid.cjs +2 -0
- package/dist/components/DataGrid/DataGrid.cjs.map +1 -0
- package/dist/components/DataGrid/DataGrid.d.cts +136 -0
- package/dist/components/DataGrid/DataGrid.d.ts +114 -70
- package/dist/components/DataGrid/DataGrid.js +188 -0
- package/dist/components/DataGrid/DataGrid.js.map +1 -0
- package/dist/components/DataGrid/DataGridColumnSettings.cjs +2 -0
- package/dist/components/DataGrid/DataGridColumnSettings.cjs.map +1 -0
- package/dist/components/DataGrid/DataGridColumnSettings.d.cts +41 -0
- package/dist/components/DataGrid/DataGridColumnSettings.d.ts +41 -0
- package/dist/components/DataGrid/DataGridColumnSettings.js +199 -0
- package/dist/components/DataGrid/DataGridColumnSettings.js.map +1 -0
- package/dist/components/DataGrid/DataGridPrimitives.cjs +2 -0
- package/dist/components/DataGrid/DataGridPrimitives.cjs.map +1 -0
- package/dist/components/DataGrid/DataGridPrimitives.d.cts +165 -0
- package/dist/components/DataGrid/DataGridPrimitives.d.ts +165 -0
- package/dist/components/DataGrid/DataGridPrimitives.js +141 -0
- package/dist/components/DataGrid/DataGridPrimitives.js.map +1 -0
- package/dist/components/DataGrid/DataGridRows.cjs +2 -0
- package/dist/components/DataGrid/DataGridRows.cjs.map +1 -0
- package/dist/components/DataGrid/DataGridRows.d.cts +66 -0
- package/dist/components/DataGrid/DataGridRows.d.ts +66 -0
- package/dist/components/DataGrid/DataGridRows.js +108 -0
- package/dist/components/DataGrid/DataGridRows.js.map +1 -0
- package/dist/components/DataGrid/index.d.cts +8 -0
- package/dist/components/DataGrid/index.d.ts +6 -2
- package/dist/components/DataGrid/index.js +6 -0
- package/dist/components/Dialog/Dialog.cjs +2 -0
- package/dist/components/Dialog/Dialog.cjs.map +1 -0
- package/dist/components/Dialog/Dialog.d.cts +77 -0
- package/dist/components/Dialog/Dialog.d.ts +63 -6
- package/dist/components/Dialog/Dialog.js +109 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Dialog/index.d.cts +2 -0
- package/dist/components/Dialog/index.d.ts +2 -2
- package/dist/components/Divider/Divider.cjs +2 -0
- package/dist/components/Divider/Divider.cjs.map +1 -0
- package/dist/components/Divider/Divider.d.cts +30 -0
- package/dist/components/Divider/Divider.d.ts +19 -0
- package/dist/components/Divider/Divider.js +58 -0
- package/dist/components/Divider/Divider.js.map +1 -0
- package/dist/components/Divider/index.d.cts +2 -0
- package/dist/components/Divider/index.d.ts +2 -2
- package/dist/components/DraggableScroll/DraggableScroll.cjs +2 -0
- package/dist/components/DraggableScroll/DraggableScroll.cjs.map +1 -0
- package/dist/components/DraggableScroll/DraggableScroll.d.cts +47 -0
- package/dist/components/DraggableScroll/DraggableScroll.d.ts +38 -2
- package/dist/components/DraggableScroll/DraggableScroll.js +45 -0
- package/dist/components/DraggableScroll/DraggableScroll.js.map +1 -0
- package/dist/components/DraggableScroll/index.d.cts +2 -0
- package/dist/components/DraggableScroll/index.d.ts +2 -2
- package/dist/components/Drawer/Drawer.cjs +2 -0
- package/dist/components/Drawer/Drawer.cjs.map +1 -0
- package/dist/components/Drawer/Drawer.d.cts +161 -0
- package/dist/components/Drawer/Drawer.d.ts +161 -0
- package/dist/components/Drawer/Drawer.js +110 -0
- package/dist/components/Drawer/Drawer.js.map +1 -0
- package/dist/components/Drawer/index.d.cts +2 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/EmptyState/EmptyState.cjs +2 -0
- package/dist/components/EmptyState/EmptyState.cjs.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.cts +61 -0
- package/dist/components/EmptyState/EmptyState.d.ts +61 -0
- package/dist/components/EmptyState/EmptyState.js +50 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -0
- package/dist/components/EmptyState/index.d.cts +2 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/Field/Field.cjs +2 -0
- package/dist/components/Field/Field.cjs.map +1 -0
- package/dist/components/Field/Field.d.cts +111 -0
- package/dist/components/Field/Field.d.ts +85 -20
- package/dist/components/Field/Field.js +78 -0
- package/dist/components/Field/Field.js.map +1 -0
- package/dist/components/Field/FieldStateContext.cjs +2 -0
- package/dist/components/Field/FieldStateContext.cjs.map +1 -0
- package/dist/components/Field/FieldStateContext.d.cts +12 -0
- package/dist/components/Field/FieldStateContext.d.ts +12 -0
- package/dist/components/Field/FieldStateContext.js +14 -0
- package/dist/components/Field/FieldStateContext.js.map +1 -0
- package/dist/components/Field/index.d.cts +1 -0
- package/dist/components/Field/index.d.ts +1 -1
- package/dist/components/FilterModal/FilterModal.cjs +2 -0
- package/dist/components/FilterModal/FilterModal.cjs.map +1 -0
- package/dist/components/FilterModal/FilterModal.d.cts +83 -0
- package/dist/components/FilterModal/FilterModal.d.ts +52 -1
- package/dist/components/FilterModal/FilterModal.js +120 -0
- package/dist/components/FilterModal/FilterModal.js.map +1 -0
- package/dist/components/FilterModal/index.d.cts +2 -0
- package/dist/components/FilterModal/index.d.ts +2 -2
- package/dist/components/HoverCard/HoverCard.cjs +2 -0
- package/dist/components/HoverCard/HoverCard.cjs.map +1 -0
- package/dist/components/HoverCard/HoverCard.d.cts +61 -0
- package/dist/components/HoverCard/HoverCard.d.ts +61 -0
- package/dist/components/HoverCard/HoverCard.js +44 -0
- package/dist/components/HoverCard/HoverCard.js.map +1 -0
- package/dist/components/HoverCard/index.d.cts +2 -0
- package/dist/components/HoverCard/index.d.ts +2 -0
- package/dist/components/Icon/index.cjs +2 -0
- package/dist/components/Icon/index.cjs.map +1 -0
- package/dist/components/Icon/index.d.cts +2105 -0
- package/dist/components/Icon/index.d.ts +2093 -275
- package/dist/components/Icon/index.js +4490 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/Icon/svgA11y.cjs +2 -0
- package/dist/components/Icon/svgA11y.cjs.map +1 -0
- package/dist/components/Icon/svgA11y.d.cts +10 -0
- package/dist/components/Icon/svgA11y.d.ts +10 -0
- package/dist/components/Icon/svgA11y.js +9 -0
- package/dist/components/Icon/svgA11y.js.map +1 -0
- package/dist/components/Icon/uniqueSvgIds.cjs +2 -0
- package/dist/components/Icon/uniqueSvgIds.cjs.map +1 -0
- package/dist/components/Icon/uniqueSvgIds.d.cts +8 -0
- package/dist/components/Icon/uniqueSvgIds.d.ts +8 -0
- package/dist/components/Icon/uniqueSvgIds.js +42 -0
- package/dist/components/Icon/uniqueSvgIds.js.map +1 -0
- package/dist/components/IconButton/IconButton.cjs +2 -0
- package/dist/components/IconButton/IconButton.cjs.map +1 -0
- package/dist/components/IconButton/IconButton.d.cts +46 -0
- package/dist/components/IconButton/IconButton.d.ts +33 -4
- package/dist/components/IconButton/IconButton.js +74 -0
- package/dist/components/IconButton/IconButton.js.map +1 -0
- package/dist/components/IconButton/index.d.cts +2 -0
- package/dist/components/IconButton/index.d.ts +2 -2
- package/dist/components/Illustration/Illustration.cjs +2 -0
- package/dist/components/Illustration/Illustration.cjs.map +1 -0
- package/dist/components/Illustration/Illustration.d.cts +37 -0
- package/dist/components/Illustration/Illustration.d.ts +37 -0
- package/dist/components/Illustration/Illustration.js +40 -0
- package/dist/components/Illustration/Illustration.js.map +1 -0
- package/dist/components/Illustration/assets/box-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/box-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/box-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/box-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/box-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/box-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/box-light.webp.js +7 -0
- package/dist/components/Illustration/assets/box-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/equipment-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/equipment-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/equipment-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/equipment-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/equipment-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/equipment-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/equipment-light.webp.js +7 -0
- package/dist/components/Illustration/assets/equipment-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/failed-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/failed-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/failed-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/failed-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/failed-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/failed-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/failed-light.webp.js +7 -0
- package/dist/components/Illustration/assets/failed-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/file-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/file-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/file-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/file-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/file-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/file-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/file-light.webp.js +7 -0
- package/dist/components/Illustration/assets/file-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/images-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/images-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/images-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/images-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/images-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/images-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/images-light.webp.js +7 -0
- package/dist/components/Illustration/assets/images-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/letter-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/letter-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/letter-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/letter-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/letter-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/letter-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/letter-light.webp.js +7 -0
- package/dist/components/Illustration/assets/letter-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/message-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/message-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/message-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/message-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/message-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/message-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/message-light.webp.js +7 -0
- package/dist/components/Illustration/assets/message-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/network-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/network-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/network-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/network-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/network-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/network-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/network-light.webp.js +7 -0
- package/dist/components/Illustration/assets/network-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/no-data-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/no-data-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/no-data-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/no-data-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/no-data-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/no-data-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/no-data-light.webp.js +7 -0
- package/dist/components/Illustration/assets/no-data-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/paper-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/paper-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/paper-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/paper-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/paper-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/paper-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/paper-light.webp.js +7 -0
- package/dist/components/Illustration/assets/paper-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/success-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/success-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/success-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/success-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/success-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/success-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/success-light.webp.js +7 -0
- package/dist/components/Illustration/assets/success-light.webp.js.map +1 -0
- package/dist/components/Illustration/assets/warning-dark.webp.cjs +2 -0
- package/dist/components/Illustration/assets/warning-dark.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/warning-dark.webp.js +7 -0
- package/dist/components/Illustration/assets/warning-dark.webp.js.map +1 -0
- package/dist/components/Illustration/assets/warning-light.webp.cjs +2 -0
- package/dist/components/Illustration/assets/warning-light.webp.cjs.map +1 -0
- package/dist/components/Illustration/assets/warning-light.webp.js +7 -0
- package/dist/components/Illustration/assets/warning-light.webp.js.map +1 -0
- package/dist/components/Illustration/illustrations.cjs +2 -0
- package/dist/components/Illustration/illustrations.cjs.map +1 -0
- package/dist/components/Illustration/illustrations.d.cts +81 -0
- package/dist/components/Illustration/illustrations.d.ts +81 -0
- package/dist/components/Illustration/illustrations.js +104 -0
- package/dist/components/Illustration/illustrations.js.map +1 -0
- package/dist/components/Illustration/index.d.cts +1 -0
- package/dist/components/Illustration/index.d.ts +1 -0
- package/dist/components/InputBase/InputBase.cjs +2 -0
- package/dist/components/InputBase/InputBase.cjs.map +1 -0
- package/dist/components/InputBase/InputBase.d.cts +59 -0
- package/dist/components/InputBase/InputBase.d.ts +35 -7
- package/dist/components/InputBase/InputBase.js +87 -0
- package/dist/components/InputBase/InputBase.js.map +1 -0
- package/dist/components/InputBase/index.d.cts +1 -0
- package/dist/components/InputBase/index.d.ts +1 -1
- package/dist/components/InputBase/useInputState.cjs +2 -0
- package/dist/components/InputBase/useInputState.cjs.map +1 -0
- package/dist/components/InputBase/useInputState.d.cts +19 -0
- package/dist/components/InputBase/useInputState.d.ts +19 -0
- package/dist/components/InputBase/useInputState.js +25 -0
- package/dist/components/InputBase/useInputState.js.map +1 -0
- package/dist/components/InteractionLayer/InteractionLayer.cjs +2 -0
- package/dist/components/InteractionLayer/InteractionLayer.cjs.map +1 -0
- package/dist/components/InteractionLayer/InteractionLayer.d.cts +43 -0
- package/dist/components/InteractionLayer/InteractionLayer.d.ts +34 -0
- package/dist/components/InteractionLayer/InteractionLayer.js +17 -0
- package/dist/components/InteractionLayer/InteractionLayer.js.map +1 -0
- package/dist/components/InteractionLayer/index.d.cts +1 -0
- package/dist/components/InteractionLayer/index.d.ts +1 -1
- package/dist/components/Logo/index.cjs +2 -0
- package/dist/components/Logo/index.cjs.map +1 -0
- package/dist/components/Logo/index.d.cts +92 -0
- package/dist/components/Logo/index.d.ts +88 -13
- package/dist/components/Logo/index.js +1949 -0
- package/dist/components/Logo/index.js.map +1 -0
- package/dist/components/Menu/Menu.cjs +2 -0
- package/dist/components/Menu/Menu.cjs.map +1 -0
- package/dist/components/Menu/Menu.d.cts +183 -0
- package/dist/components/Menu/Menu.d.ts +126 -27
- package/dist/components/Menu/Menu.js +216 -0
- package/dist/components/Menu/Menu.js.map +1 -0
- package/dist/components/Menu/index.d.cts +2 -0
- package/dist/components/Menu/index.d.ts +2 -2
- package/dist/components/Messagebox/Messagebox.cjs +2 -0
- package/dist/components/Messagebox/Messagebox.cjs.map +1 -0
- package/dist/components/Messagebox/Messagebox.d.cts +50 -0
- package/dist/components/Messagebox/Messagebox.d.ts +39 -3
- package/dist/components/Messagebox/Messagebox.js +84 -0
- package/dist/components/Messagebox/Messagebox.js.map +1 -0
- package/dist/components/Messagebox/index.d.cts +2 -0
- package/dist/components/Messagebox/index.d.ts +2 -2
- package/dist/components/Modal/Modal.cjs +2 -0
- package/dist/components/Modal/Modal.cjs.map +1 -0
- package/dist/components/Modal/Modal.d.cts +161 -0
- package/dist/components/Modal/Modal.d.ts +131 -7
- package/dist/components/Modal/Modal.js +195 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/ModalBase.cjs +2 -0
- package/dist/components/Modal/ModalBase.cjs.map +1 -0
- package/dist/components/Modal/ModalBase.d.cts +80 -0
- package/dist/components/Modal/ModalBase.d.ts +80 -0
- package/dist/components/Modal/ModalBase.js +44 -0
- package/dist/components/Modal/ModalBase.js.map +1 -0
- package/dist/components/Modal/index.d.cts +4 -0
- package/dist/components/Modal/index.d.ts +4 -2
- package/dist/components/Nav/Nav.cjs +2 -0
- package/dist/components/Nav/Nav.cjs.map +1 -0
- package/dist/components/Nav/Nav.d.cts +69 -0
- package/dist/components/Nav/Nav.d.ts +46 -0
- package/dist/components/Nav/Nav.js +73 -0
- package/dist/components/Nav/Nav.js.map +1 -0
- package/dist/components/Nav/index.d.cts +2 -0
- package/dist/components/Nav/index.d.ts +2 -2
- package/dist/components/NumberField/NumberField.cjs +2 -0
- package/dist/components/NumberField/NumberField.cjs.map +1 -0
- package/dist/components/NumberField/NumberField.d.cts +79 -0
- package/dist/components/NumberField/NumberField.d.ts +79 -0
- package/dist/components/NumberField/NumberField.js +65 -0
- package/dist/components/NumberField/NumberField.js.map +1 -0
- package/dist/components/NumberField/index.d.cts +2 -0
- package/dist/components/NumberField/index.d.ts +2 -0
- package/dist/components/Overlay/Overlay.cjs +2 -0
- package/dist/components/Overlay/Overlay.cjs.map +1 -0
- package/dist/components/Overlay/Overlay.d.cts +36 -0
- package/dist/components/Overlay/Overlay.d.ts +30 -4
- package/dist/components/Overlay/Overlay.js +24 -0
- package/dist/components/Overlay/Overlay.js.map +1 -0
- package/dist/components/Overlay/index.d.cts +2 -0
- package/dist/components/Overlay/index.d.ts +2 -2
- package/dist/components/Pagination/Pagination.cjs +2 -0
- package/dist/components/Pagination/Pagination.cjs.map +1 -0
- package/dist/components/Pagination/Pagination.d.cts +68 -0
- package/dist/components/Pagination/Pagination.d.ts +45 -2
- package/dist/components/Pagination/Pagination.js +127 -0
- package/dist/components/Pagination/Pagination.js.map +1 -0
- package/dist/components/Pagination/index.d.cts +2 -0
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/Panel/Panel.cjs +2 -0
- package/dist/components/Panel/Panel.cjs.map +1 -0
- package/dist/components/Panel/Panel.d.cts +124 -0
- package/dist/components/Panel/Panel.d.ts +119 -8
- package/dist/components/Panel/Panel.js +92 -0
- package/dist/components/Panel/Panel.js.map +1 -0
- package/dist/components/Panel/index.d.cts +2 -0
- package/dist/components/Panel/index.d.ts +2 -2
- package/dist/components/Popover/Popover.cjs +2 -0
- package/dist/components/Popover/Popover.cjs.map +1 -0
- package/dist/components/Popover/Popover.d.cts +105 -0
- package/dist/components/Popover/Popover.d.ts +72 -14
- package/dist/components/Popover/Popover.js +79 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/Popover/index.d.cts +2 -0
- package/dist/components/Popover/index.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.cjs +2 -0
- package/dist/components/ProgressBar/ProgressBar.cjs.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.cts +45 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +32 -0
- package/dist/components/ProgressBar/ProgressBar.js +41 -0
- package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/ProgressBar/index.d.cts +2 -0
- package/dist/components/ProgressBar/index.d.ts +2 -2
- package/dist/components/Radio/Radio.cjs +2 -0
- package/dist/components/Radio/Radio.cjs.map +1 -0
- package/dist/components/Radio/Radio.d.cts +61 -0
- package/dist/components/Radio/Radio.d.ts +56 -6
- package/dist/components/Radio/Radio.js +62 -0
- package/dist/components/Radio/Radio.js.map +1 -0
- package/dist/components/Radio/index.d.cts +2 -0
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/ScrollArea/ScrollArea.cjs +2 -0
- package/dist/components/ScrollArea/ScrollArea.cjs.map +1 -0
- package/dist/components/ScrollArea/ScrollArea.d.cts +59 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +51 -6
- package/dist/components/ScrollArea/ScrollArea.js +62 -0
- package/dist/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/components/ScrollArea/index.d.cts +2 -0
- package/dist/components/ScrollArea/index.d.ts +2 -2
- package/dist/components/Segmented/Segmented.cjs +2 -0
- package/dist/components/Segmented/Segmented.cjs.map +1 -0
- package/dist/components/Segmented/Segmented.d.cts +56 -0
- package/dist/components/Segmented/Segmented.d.ts +45 -4
- package/dist/components/Segmented/Segmented.js +61 -0
- package/dist/components/Segmented/Segmented.js.map +1 -0
- package/dist/components/Segmented/index.d.cts +2 -0
- package/dist/components/Segmented/index.d.ts +2 -2
- package/dist/components/SelectBox/SelectBox.cjs +2 -0
- package/dist/components/SelectBox/SelectBox.cjs.map +1 -0
- package/dist/components/SelectBox/SelectBox.d.cts +93 -0
- package/dist/components/SelectBox/SelectBox.d.ts +62 -5
- package/dist/components/SelectBox/SelectBox.js +85 -0
- package/dist/components/SelectBox/SelectBox.js.map +1 -0
- package/dist/components/SelectBox/index.d.cts +2 -0
- package/dist/components/SelectBox/index.d.ts +2 -2
- package/dist/components/SelectButton/SelectButton.cjs +2 -0
- package/dist/components/SelectButton/SelectButton.cjs.map +1 -0
- package/dist/components/SelectButton/SelectButton.d.cts +57 -0
- package/dist/components/SelectButton/SelectButton.d.ts +57 -0
- package/dist/components/SelectButton/SelectButton.js +43 -0
- package/dist/components/SelectButton/SelectButton.js.map +1 -0
- package/dist/components/SelectButton/index.d.cts +2 -0
- package/dist/components/SelectButton/index.d.ts +2 -0
- package/dist/components/ShapeEditor/ShapeEditor.cjs +2 -0
- package/dist/components/ShapeEditor/ShapeEditor.cjs.map +1 -0
- package/dist/components/ShapeEditor/ShapeEditor.d.cts +40 -0
- package/dist/components/ShapeEditor/ShapeEditor.d.ts +38 -7
- package/dist/components/ShapeEditor/ShapeEditor.js +564 -0
- package/dist/components/ShapeEditor/ShapeEditor.js.map +1 -0
- package/dist/components/ShapeEditor/ShapeViewer.cjs +2 -0
- package/dist/components/ShapeEditor/ShapeViewer.cjs.map +1 -0
- package/dist/components/ShapeEditor/ShapeViewer.d.cts +92 -0
- package/dist/components/ShapeEditor/ShapeViewer.d.ts +57 -7
- package/dist/components/ShapeEditor/ShapeViewer.js +303 -0
- package/dist/components/ShapeEditor/ShapeViewer.js.map +1 -0
- package/dist/components/ShapeEditor/_components/AssistantOverlay.cjs +2 -0
- package/dist/components/ShapeEditor/_components/AssistantOverlay.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/AssistantOverlay.d.cts +17 -0
- package/dist/components/ShapeEditor/_components/AssistantOverlay.d.ts +2 -2
- package/dist/components/ShapeEditor/_components/AssistantOverlay.js +64 -0
- package/dist/components/ShapeEditor/_components/AssistantOverlay.js.map +1 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.cjs +2 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.d.cts +13 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.d.ts +3 -3
- package/dist/components/ShapeEditor/_components/ContextMenu.js +67 -0
- package/dist/components/ShapeEditor/_components/ContextMenu.js.map +1 -0
- package/dist/components/ShapeEditor/_components/CursorGuide.cjs +2 -0
- package/dist/components/ShapeEditor/_components/CursorGuide.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/CursorGuide.d.cts +8 -0
- package/dist/components/ShapeEditor/_components/CursorGuide.js +56 -0
- package/dist/components/ShapeEditor/_components/CursorGuide.js.map +1 -0
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.cjs +2 -0
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.d.cts +17 -0
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.d.ts +9 -3
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.js +101 -0
- package/dist/components/ShapeEditor/_components/ImageStateOverlay.js.map +1 -0
- package/dist/components/ShapeEditor/_components/Minimap.cjs +2 -0
- package/dist/components/ShapeEditor/_components/Minimap.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/Minimap.d.cts +46 -0
- package/dist/components/ShapeEditor/_components/Minimap.d.ts +17 -16
- package/dist/components/ShapeEditor/_components/Minimap.js +172 -0
- package/dist/components/ShapeEditor/_components/Minimap.js.map +1 -0
- package/dist/components/ShapeEditor/_components/MinimapShape.cjs +2 -0
- package/dist/components/ShapeEditor/_components/MinimapShape.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/MinimapShape.d.cts +6 -0
- package/dist/components/ShapeEditor/_components/MinimapShape.d.ts +3 -3
- package/dist/components/ShapeEditor/_components/MinimapShape.js +55 -0
- package/dist/components/ShapeEditor/_components/MinimapShape.js.map +1 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.cjs +2 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.d.cts +16 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.d.ts +16 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.js +41 -0
- package/dist/components/ShapeEditor/_components/OverlayMarkers.js.map +1 -0
- package/dist/components/ShapeEditor/_components/RegionOverlay.cjs +2 -0
- package/dist/components/ShapeEditor/_components/RegionOverlay.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/RegionOverlay.d.cts +21 -0
- package/dist/components/ShapeEditor/_components/RegionOverlay.d.ts +1 -1
- package/dist/components/ShapeEditor/_components/RegionOverlay.js +59 -0
- package/dist/components/ShapeEditor/_components/RegionOverlay.js.map +1 -0
- package/dist/components/ShapeEditor/_components/SelectionInfo.cjs +2 -0
- package/dist/components/ShapeEditor/_components/SelectionInfo.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/SelectionInfo.d.cts +20 -0
- package/dist/components/ShapeEditor/_components/SelectionInfo.d.ts +10 -3
- package/dist/components/ShapeEditor/_components/SelectionInfo.js +115 -0
- package/dist/components/ShapeEditor/_components/SelectionInfo.js.map +1 -0
- package/dist/components/ShapeEditor/_components/SettingsPanel.cjs +2 -0
- package/dist/components/ShapeEditor/_components/SettingsPanel.cjs.map +1 -0
- package/dist/components/ShapeEditor/_components/SettingsPanel.d.cts +28 -0
- package/dist/components/ShapeEditor/_components/SettingsPanel.d.ts +18 -5
- package/dist/components/ShapeEditor/_components/SettingsPanel.js +167 -0
- package/dist/components/ShapeEditor/_components/SettingsPanel.js.map +1 -0
- package/dist/components/ShapeEditor/_constants.cjs +2 -0
- package/dist/components/ShapeEditor/_constants.cjs.map +1 -0
- package/dist/components/ShapeEditor/_constants.d.cts +15 -0
- package/dist/components/ShapeEditor/_constants.d.ts +7 -25
- package/dist/components/ShapeEditor/_constants.js +7 -0
- package/dist/components/ShapeEditor/_constants.js.map +1 -0
- package/dist/components/ShapeEditor/_model/brush.cjs +2 -0
- package/dist/components/ShapeEditor/_model/brush.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/brush.d.cts +3 -0
- package/dist/components/ShapeEditor/_model/brush.d.ts +1 -1
- package/dist/components/ShapeEditor/_model/brush.js +27 -0
- package/dist/components/ShapeEditor/_model/brush.js.map +1 -0
- package/dist/components/ShapeEditor/_model/clipboard.cjs +2 -0
- package/dist/components/ShapeEditor/_model/clipboard.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/clipboard.d.cts +22 -0
- package/dist/components/ShapeEditor/_model/clipboard.d.ts +22 -0
- package/dist/components/ShapeEditor/_model/clipboard.js +85 -0
- package/dist/components/ShapeEditor/_model/clipboard.js.map +1 -0
- package/dist/components/ShapeEditor/_model/cursors.cjs +2 -0
- package/dist/components/ShapeEditor/_model/cursors.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/cursors.d.cts +23 -0
- package/dist/components/ShapeEditor/_model/cursors.d.ts +7 -2
- package/dist/components/ShapeEditor/_model/cursors.js +52 -0
- package/dist/components/ShapeEditor/_model/cursors.js.map +1 -0
- package/dist/components/ShapeEditor/_model/geometry.cjs +2 -0
- package/dist/components/ShapeEditor/_model/geometry.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/geometry.d.cts +182 -0
- package/dist/components/ShapeEditor/_model/geometry.d.ts +54 -2
- package/dist/components/ShapeEditor/_model/geometry.js +431 -0
- package/dist/components/ShapeEditor/_model/geometry.js.map +1 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.cjs +2 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.d.cts +38 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.d.ts +38 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.js +358 -0
- package/dist/components/ShapeEditor/_model/imageDiagnosis.js.map +1 -0
- package/dist/components/ShapeEditor/_model/imageLoad.cjs +2 -0
- package/dist/components/ShapeEditor/_model/imageLoad.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/imageLoad.d.cts +29 -0
- package/dist/components/ShapeEditor/_model/imageLoad.d.ts +29 -0
- package/dist/components/ShapeEditor/_model/imageLoad.js +88 -0
- package/dist/components/ShapeEditor/_model/imageLoad.js.map +1 -0
- package/dist/components/ShapeEditor/_model/imageSignature.cjs +2 -0
- package/dist/components/ShapeEditor/_model/imageSignature.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/imageSignature.d.cts +18 -0
- package/dist/components/ShapeEditor/_model/imageSignature.d.ts +18 -0
- package/dist/components/ShapeEditor/_model/imageSignature.js +196 -0
- package/dist/components/ShapeEditor/_model/imageSignature.js.map +1 -0
- package/dist/components/ShapeEditor/_model/imageTiles.cjs +2 -0
- package/dist/components/ShapeEditor/_model/imageTiles.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/imageTiles.d.cts +11 -0
- package/dist/components/ShapeEditor/_model/imageTiles.js +28 -0
- package/dist/components/ShapeEditor/_model/imageTiles.js.map +1 -0
- package/dist/components/ShapeEditor/_model/keymap.cjs +2 -0
- package/dist/components/ShapeEditor/_model/keymap.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/keymap.d.cts +17 -0
- package/dist/components/ShapeEditor/_model/keymap.d.ts +2 -0
- package/dist/components/ShapeEditor/_model/keymap.js +75 -0
- package/dist/components/ShapeEditor/_model/keymap.js.map +1 -0
- package/dist/components/ShapeEditor/_model/overlays.cjs +2 -0
- package/dist/components/ShapeEditor/_model/overlays.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/overlays.d.cts +108 -0
- package/dist/components/ShapeEditor/_model/overlays.d.ts +11 -25
- package/dist/components/ShapeEditor/_model/overlays.js +186 -0
- package/dist/components/ShapeEditor/_model/overlays.js.map +1 -0
- package/dist/components/ShapeEditor/_model/pinIcon.cjs +2 -0
- package/dist/components/ShapeEditor/_model/pinIcon.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/pinIcon.d.cts +13 -0
- package/dist/components/ShapeEditor/_model/pinIcon.js +10 -0
- package/dist/components/ShapeEditor/_model/pinIcon.js.map +1 -0
- package/dist/components/ShapeEditor/_model/polygonFill.cjs +2 -0
- package/dist/components/ShapeEditor/_model/polygonFill.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/polygonFill.d.cts +2 -0
- package/dist/components/ShapeEditor/_model/polygonFill.d.ts +2 -0
- package/dist/components/ShapeEditor/_model/polygonFill.js +12 -0
- package/dist/components/ShapeEditor/_model/polygonFill.js.map +1 -0
- package/dist/components/ShapeEditor/_model/props.d.cts +13 -0
- package/dist/components/ShapeEditor/_model/props.d.ts +11 -443
- package/dist/components/ShapeEditor/_model/scalarMask.cjs +2 -0
- package/dist/components/ShapeEditor/_model/scalarMask.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/scalarMask.d.cts +21 -0
- package/dist/components/ShapeEditor/_model/scalarMask.d.ts +1 -1
- package/dist/components/ShapeEditor/_model/scalarMask.js +188 -0
- package/dist/components/ShapeEditor/_model/scalarMask.js.map +1 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.cjs +2 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.d.cts +14 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.d.ts +14 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.js +38 -0
- package/dist/components/ShapeEditor/_model/shapeHitTest.js.map +1 -0
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.cjs +2 -0
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.d.cts +16 -0
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.d.ts +1 -1
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.js +19 -0
- package/dist/components/ShapeEditor/_model/shapeRenderStyle.js.map +1 -0
- package/dist/components/ShapeEditor/_model/strings.cjs +2 -0
- package/dist/components/ShapeEditor/_model/strings.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/strings.d.cts +62 -0
- package/dist/components/ShapeEditor/_model/strings.d.ts +10 -1
- package/dist/components/ShapeEditor/_model/strings.js +130 -0
- package/dist/components/ShapeEditor/_model/strings.js.map +1 -0
- package/dist/components/ShapeEditor/_model/tools.cjs +2 -0
- package/dist/components/ShapeEditor/_model/tools.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/tools.d.cts +29 -0
- package/dist/components/ShapeEditor/_model/tools.d.ts +4 -2
- package/dist/components/ShapeEditor/_model/tools.js +19 -0
- package/dist/components/ShapeEditor/_model/tools.js.map +1 -0
- package/dist/components/ShapeEditor/_model/types/assistant.d.cts +37 -0
- package/dist/components/ShapeEditor/_model/types/assistant.d.ts +37 -0
- package/dist/components/ShapeEditor/_model/types/handle.d.cts +124 -0
- package/dist/components/ShapeEditor/_model/types/handle.d.ts +124 -0
- package/dist/components/ShapeEditor/_model/types/props.d.cts +432 -0
- package/dist/components/ShapeEditor/_model/types/props.d.ts +432 -0
- package/dist/components/ShapeEditor/_model/viewSettings.cjs +2 -0
- package/dist/components/ShapeEditor/_model/viewSettings.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/viewSettings.d.cts +73 -0
- package/dist/components/ShapeEditor/_model/viewSettings.d.ts +60 -2
- package/dist/components/ShapeEditor/_model/viewSettings.js +57 -0
- package/dist/components/ShapeEditor/_model/viewSettings.js.map +1 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.cjs +2 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.d.cts +60 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.d.ts +60 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.js +57 -0
- package/dist/components/ShapeEditor/_model/viewerPatch.js.map +1 -0
- package/dist/components/ShapeEditor/_model/viewport.cjs +2 -0
- package/dist/components/ShapeEditor/_model/viewport.cjs.map +1 -0
- package/dist/components/ShapeEditor/_model/viewport.d.cts +36 -0
- package/dist/components/ShapeEditor/_model/viewport.d.ts +10 -2
- package/dist/components/ShapeEditor/_model/viewport.js +79 -0
- package/dist/components/ShapeEditor/_model/viewport.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.cts +121 -0
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.d.ts +28 -76
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.js +305 -0
- package/dist/components/ShapeEditor/_renderers/PixiRenderer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.d.cts +35 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.d.ts +35 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.js +59 -0
- package/dist/components/ShapeEditor/_renderers/imageLayer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.d.cts +36 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.d.ts +36 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.js +65 -0
- package/dist/components/ShapeEditor/_renderers/overlayLayer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.d.cts +34 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.d.ts +34 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.js +112 -0
- package/dist/components/ShapeEditor/_renderers/previewLayer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.d.cts +49 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.d.ts +49 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.js +94 -0
- package/dist/components/ShapeEditor/_renderers/shapeLayer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.d.cts +27 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.d.ts +27 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.js +166 -0
- package/dist/components/ShapeEditor/_renderers/shapePainter.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.d.cts +55 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.d.ts +55 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.js +94 -0
- package/dist/components/ShapeEditor/_renderers/transformDriver.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformSession.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/transformSession.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformSession.d.cts +74 -0
- package/dist/components/ShapeEditor/_renderers/transformSession.d.ts +11 -5
- package/dist/components/ShapeEditor/_renderers/transformSession.js +135 -0
- package/dist/components/ShapeEditor/_renderers/transformSession.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.cjs +2 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.cjs.map +1 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.d.cts +69 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.d.ts +69 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.js +248 -0
- package/dist/components/ShapeEditor/_renderers/transformerLayer.js.map +1 -0
- package/dist/components/ShapeEditor/_renderers/types.d.cts +129 -0
- package/dist/components/ShapeEditor/_renderers/types.d.ts +50 -27
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.cjs +2 -0
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.d.cts +26 -0
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.d.ts +26 -0
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.js +118 -0
- package/dist/components/ShapeEditor/_state/buildContextMenuItems.js.map +1 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.cjs +2 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.d.cts +42 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.d.ts +42 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.js +86 -0
- package/dist/components/ShapeEditor/_state/buildHotkeyActions.js.map +1 -0
- package/dist/components/ShapeEditor/_state/createInteractionController.cjs +2 -0
- package/dist/components/ShapeEditor/_state/createInteractionController.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/createInteractionController.d.cts +73 -0
- package/dist/components/ShapeEditor/_state/createInteractionController.d.ts +30 -11
- package/dist/components/ShapeEditor/_state/createInteractionController.js +398 -0
- package/dist/components/ShapeEditor/_state/createInteractionController.js.map +1 -0
- package/dist/components/ShapeEditor/_state/drawSessionState.cjs +2 -0
- package/dist/components/ShapeEditor/_state/drawSessionState.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/drawSessionState.d.cts +6 -0
- package/dist/components/ShapeEditor/_state/drawSessionState.d.ts +2 -2
- package/dist/components/ShapeEditor/_state/drawSessionState.js +21 -0
- package/dist/components/ShapeEditor/_state/drawSessionState.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useAssistant.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useAssistant.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useAssistant.d.cts +49 -0
- package/dist/components/ShapeEditor/_state/useAssistant.d.ts +4 -3
- package/dist/components/ShapeEditor/_state/useAssistant.js +178 -0
- package/dist/components/ShapeEditor/_state/useAssistant.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useDrawSession.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useDrawSession.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useDrawSession.d.cts +64 -0
- package/dist/components/ShapeEditor/_state/useDrawSession.d.ts +9 -6
- package/dist/components/ShapeEditor/_state/useDrawSession.js +372 -0
- package/dist/components/ShapeEditor/_state/useDrawSession.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorDocument.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useEditorDocument.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorDocument.d.cts +30 -0
- package/dist/components/ShapeEditor/_state/useEditorDocument.d.ts +8 -1
- package/dist/components/ShapeEditor/_state/useEditorDocument.js +173 -0
- package/dist/components/ShapeEditor/_state/useEditorDocument.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.d.cts +34 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.d.ts +34 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.js +95 -0
- package/dist/components/ShapeEditor/_state/useEditorHandle.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.d.cts +25 -0
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.d.ts +5 -5
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.js +44 -0
- package/dist/components/ShapeEditor/_state/useEditorHotkeys.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorView.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useEditorView.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useEditorView.d.cts +15 -0
- package/dist/components/ShapeEditor/_state/useEditorView.d.ts +15 -0
- package/dist/components/ShapeEditor/_state/useEditorView.js +45 -0
- package/dist/components/ShapeEditor/_state/useEditorView.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.cts +89 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.d.ts +48 -17
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.js +126 -0
- package/dist/components/ShapeEditor/_state/useEngineLifecycle.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.d.cts +7 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.d.ts +7 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.js +13 -0
- package/dist/components/ShapeEditor/_state/useLatestRef.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.d.cts +27 -0
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.d.ts +1 -1
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.js +118 -0
- package/dist/components/ShapeEditor/_state/useMinimapNavigation.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useMinimapSync.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useMinimapSync.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useMinimapSync.d.cts +26 -0
- package/dist/components/ShapeEditor/_state/useMinimapSync.d.ts +6 -4
- package/dist/components/ShapeEditor/_state/useMinimapSync.js +69 -0
- package/dist/components/ShapeEditor/_state/useMinimapSync.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionActions.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useSelectionActions.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionActions.d.cts +31 -0
- package/dist/components/ShapeEditor/_state/useSelectionActions.d.ts +9 -6
- package/dist/components/ShapeEditor/_state/useSelectionActions.js +151 -0
- package/dist/components/ShapeEditor/_state/useSelectionActions.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.d.cts +32 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.d.ts +32 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.js +64 -0
- package/dist/components/ShapeEditor/_state/useSelectionInfoOverlay.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.d.cts +24 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.d.ts +24 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.js +65 -0
- package/dist/components/ShapeEditor/_state/useSelectionModel.js.map +1 -0
- package/dist/components/ShapeEditor/_state/useViewportControls.cjs +2 -0
- package/dist/components/ShapeEditor/_state/useViewportControls.cjs.map +1 -0
- package/dist/components/ShapeEditor/_state/useViewportControls.d.cts +23 -0
- package/dist/components/ShapeEditor/_state/useViewportControls.d.ts +3 -3
- package/dist/components/ShapeEditor/_state/useViewportControls.js +79 -0
- package/dist/components/ShapeEditor/_state/useViewportControls.js.map +1 -0
- package/dist/components/ShapeEditor/index.d.cts +13 -0
- package/dist/components/ShapeEditor/index.d.ts +13 -8
- package/dist/components/Shortcut/Shortcut.cjs +2 -0
- package/dist/components/Shortcut/Shortcut.cjs.map +1 -0
- package/dist/components/Shortcut/Shortcut.d.cts +24 -0
- package/dist/components/Shortcut/Shortcut.d.ts +16 -0
- package/dist/components/Shortcut/Shortcut.js +22 -0
- package/dist/components/Shortcut/Shortcut.js.map +1 -0
- package/dist/components/Shortcut/index.d.cts +2 -0
- package/dist/components/Shortcut/index.d.ts +2 -2
- package/dist/components/Skeleton/Skeleton.cjs +2 -0
- package/dist/components/Skeleton/Skeleton.cjs.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.cts +26 -0
- package/dist/components/Skeleton/Skeleton.d.ts +21 -2
- package/dist/components/Skeleton/Skeleton.js +20 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/Skeleton/index.d.cts +2 -0
- package/dist/components/Skeleton/index.d.ts +2 -2
- package/dist/components/Slider/Slider.cjs +2 -0
- package/dist/components/Slider/Slider.cjs.map +1 -0
- package/dist/components/Slider/Slider.d.cts +58 -0
- package/dist/components/Slider/Slider.d.ts +52 -5
- package/dist/components/Slider/Slider.js +78 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Slider/index.d.cts +2 -0
- package/dist/components/Slider/index.d.ts +2 -2
- package/dist/components/Spinner/Spinner.cjs +2 -0
- package/dist/components/Spinner/Spinner.cjs.map +1 -0
- package/dist/components/Spinner/Spinner.d.cts +32 -0
- package/dist/components/Spinner/Spinner.d.ts +32 -0
- package/dist/components/Spinner/Spinner.js +27 -0
- package/dist/components/Spinner/Spinner.js.map +1 -0
- package/dist/components/Spinner/index.d.cts +2 -0
- package/dist/components/Spinner/index.d.ts +2 -0
- package/dist/components/Switch/Switch.cjs +2 -0
- package/dist/components/Switch/Switch.cjs.map +1 -0
- package/dist/components/Switch/Switch.d.cts +31 -0
- package/dist/components/Switch/Switch.d.ts +22 -3
- package/dist/components/Switch/Switch.js +48 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Switch/index.d.cts +2 -0
- package/dist/components/Switch/index.d.ts +2 -2
- package/dist/components/Tab/Tab.cjs +2 -0
- package/dist/components/Tab/Tab.cjs.map +1 -0
- package/dist/components/Tab/Tab.d.cts +76 -0
- package/dist/components/Tab/Tab.d.ts +70 -13
- package/dist/components/Tab/Tab.js +43 -0
- package/dist/components/Tab/Tab.js.map +1 -0
- package/dist/components/Tab/index.d.cts +2 -0
- package/dist/components/Tab/index.d.ts +2 -2
- package/dist/components/Tag/Tag.cjs +2 -0
- package/dist/components/Tag/Tag.cjs.map +1 -0
- package/dist/components/Tag/Tag.d.cts +50 -0
- package/dist/components/Tag/Tag.d.ts +37 -3
- package/dist/components/Tag/Tag.js +60 -0
- package/dist/components/Tag/Tag.js.map +1 -0
- package/dist/components/Tag/index.d.cts +2 -0
- package/dist/components/Tag/index.d.ts +2 -2
- package/dist/components/Tagbox/Tagbox.cjs +2 -0
- package/dist/components/Tagbox/Tagbox.cjs.map +1 -0
- package/dist/components/Tagbox/Tagbox.d.cts +65 -0
- package/dist/components/Tagbox/Tagbox.d.ts +48 -8
- package/dist/components/Tagbox/Tagbox.js +89 -0
- package/dist/components/Tagbox/Tagbox.js.map +1 -0
- package/dist/components/Tagbox/index.d.cts +2 -0
- package/dist/components/Tagbox/index.d.ts +2 -2
- package/dist/components/Textarea/Textarea.cjs +2 -0
- package/dist/components/Textarea/Textarea.cjs.map +1 -0
- package/dist/components/Textarea/Textarea.d.cts +49 -0
- package/dist/components/Textarea/Textarea.d.ts +36 -6
- package/dist/components/Textarea/Textarea.js +60 -0
- package/dist/components/Textarea/Textarea.js.map +1 -0
- package/dist/components/Textarea/index.d.cts +2 -0
- package/dist/components/Textarea/index.d.ts +2 -2
- package/dist/components/Textbox/Textbox.cjs +2 -0
- package/dist/components/Textbox/Textbox.cjs.map +1 -0
- package/dist/components/Textbox/Textbox.d.cts +47 -0
- package/dist/components/Textbox/Textbox.d.ts +36 -8
- package/dist/components/Textbox/Textbox.js +61 -0
- package/dist/components/Textbox/Textbox.js.map +1 -0
- package/dist/components/Textbox/index.d.cts +2 -0
- package/dist/components/Textbox/index.d.ts +2 -2
- package/dist/components/Toast/Toast.cjs +2 -0
- package/dist/components/Toast/Toast.cjs.map +1 -0
- package/dist/components/Toast/Toast.d.cts +100 -0
- package/dist/components/Toast/Toast.d.ts +88 -5
- package/dist/components/Toast/Toast.js +82 -0
- package/dist/components/Toast/Toast.js.map +1 -0
- package/dist/components/Toast/index.d.cts +2 -0
- package/dist/components/Toast/index.d.ts +2 -2
- package/dist/components/ToggleButton/ToggleButton.cjs +2 -0
- package/dist/components/ToggleButton/ToggleButton.cjs.map +1 -0
- package/dist/components/ToggleButton/ToggleButton.d.cts +41 -0
- package/dist/components/ToggleButton/ToggleButton.d.ts +26 -2
- package/dist/components/ToggleButton/ToggleButton.js +117 -0
- package/dist/components/ToggleButton/ToggleButton.js.map +1 -0
- package/dist/components/ToggleButton/index.d.cts +2 -0
- package/dist/components/ToggleButton/index.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.cjs +2 -0
- package/dist/components/Tooltip/Tooltip.cjs.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.cts +40 -0
- package/dist/components/Tooltip/Tooltip.d.ts +28 -1
- package/dist/components/Tooltip/Tooltip.js +62 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/index.d.cts +2 -0
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/TruncatedText/TruncatedText.cjs +2 -0
- package/dist/components/TruncatedText/TruncatedText.cjs.map +1 -0
- package/dist/components/TruncatedText/TruncatedText.d.cts +44 -0
- package/dist/components/TruncatedText/TruncatedText.d.ts +44 -0
- package/dist/components/TruncatedText/TruncatedText.js +84 -0
- package/dist/components/TruncatedText/TruncatedText.js.map +1 -0
- package/dist/components/TruncatedText/index.d.cts +2 -0
- package/dist/components/TruncatedText/index.d.ts +2 -0
- package/dist/components/Typography/Typography.cjs +2 -0
- package/dist/components/Typography/Typography.cjs.map +1 -0
- package/dist/components/Typography/Typography.d.cts +33 -0
- package/dist/components/Typography/Typography.d.ts +21 -0
- package/dist/components/Typography/Typography.js +59 -0
- package/dist/components/Typography/Typography.js.map +1 -0
- package/dist/components/Typography/index.d.cts +2 -0
- package/dist/components/Typography/index.d.ts +2 -2
- package/dist/components/UploadArea/UploadArea.cjs +2 -0
- package/dist/components/UploadArea/UploadArea.cjs.map +1 -0
- package/dist/components/UploadArea/UploadArea.d.cts +82 -0
- package/dist/components/UploadArea/UploadArea.d.ts +66 -1
- package/dist/components/UploadArea/UploadArea.js +121 -0
- package/dist/components/UploadArea/UploadArea.js.map +1 -0
- package/dist/components/UploadArea/index.d.cts +2 -0
- package/dist/components/UploadArea/index.d.ts +2 -2
- package/dist/fonts.css +4 -0
- package/dist/illustration.cjs +1 -0
- package/dist/illustration.js +3 -0
- package/dist/index.cjs +1 -15
- package/dist/index.d.cts +58 -0
- package/dist/index.d.ts +58 -49
- package/dist/index.js +65 -8751
- package/dist/llms-full.txt +6663 -0
- package/dist/llms.txt +125 -0
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.cjs.map +1 -1
- package/dist/shape-editor.js +10 -5732
- package/dist/shape-editor.js.map +1 -1
- package/dist/styles.css +5 -2
- package/dist/tailwind.css +434 -0
- package/dist/tokens/tokens.css +629 -611
- package/dist/utils/PortalEventBoundary.cjs +2 -0
- package/dist/utils/PortalEventBoundary.cjs.map +1 -0
- package/dist/utils/PortalEventBoundary.d.cts +13 -0
- package/dist/utils/PortalEventBoundary.d.ts +13 -0
- package/dist/utils/PortalEventBoundary.js +12 -0
- package/dist/utils/PortalEventBoundary.js.map +1 -0
- package/dist/utils/Primitive.cjs +2 -0
- package/dist/utils/Primitive.cjs.map +1 -0
- package/dist/utils/Primitive.d.cts +9 -0
- package/dist/utils/Primitive.d.ts +9 -0
- package/dist/utils/Primitive.js +15 -0
- package/dist/utils/Primitive.js.map +1 -0
- package/dist/utils/cn.d.cts +12 -0
- package/dist/utils/cn.d.ts +10 -0
- package/dist/utils/dataAttributes.d.cts +7 -0
- package/dist/utils/dataAttributes.d.ts +7 -0
- package/dist/utils/keyboard.cjs +2 -0
- package/dist/utils/keyboard.cjs.map +1 -0
- package/dist/utils/keyboard.d.cts +3 -0
- package/dist/utils/keyboard.d.ts +3 -0
- package/dist/utils/keyboard.js +14 -0
- package/dist/utils/keyboard.js.map +1 -0
- package/dist/utils/popupArrow.cjs +2 -0
- package/dist/utils/popupArrow.cjs.map +1 -0
- package/dist/utils/popupArrow.d.cts +14 -0
- package/dist/utils/popupArrow.d.ts +14 -0
- package/dist/utils/popupArrow.js +26 -0
- package/dist/utils/popupArrow.js.map +1 -0
- package/dist/utils/popupPositioning.cjs +2 -0
- package/dist/utils/popupPositioning.cjs.map +1 -0
- package/dist/utils/popupPositioning.d.cts +11 -0
- package/dist/utils/popupPositioning.d.ts +11 -0
- package/dist/utils/popupPositioning.js +25 -0
- package/dist/utils/popupPositioning.js.map +1 -0
- package/dist/utils/sheet.cjs +2 -0
- package/dist/utils/sheet.cjs.map +1 -0
- package/dist/utils/sheet.d.cts +17 -0
- package/dist/utils/sheet.d.ts +17 -0
- package/dist/utils/sheet.js +7 -0
- package/dist/utils/sheet.js.map +1 -0
- package/dist/utils/useComposedRefs.cjs +2 -0
- package/dist/utils/useComposedRefs.cjs.map +1 -0
- package/dist/utils/useComposedRefs.d.cts +6 -0
- package/dist/utils/useComposedRefs.d.ts +6 -0
- package/dist/utils/useComposedRefs.js +22 -0
- package/dist/utils/useComposedRefs.js.map +1 -0
- package/dist/utils/useControllableState.cjs +2 -0
- package/dist/utils/useControllableState.cjs.map +1 -0
- package/dist/utils/useControllableState.d.cts +17 -0
- package/dist/utils/useControllableState.d.ts +17 -0
- package/dist/utils/useControllableState.js +13 -0
- package/dist/utils/useControllableState.js.map +1 -0
- package/dist/utils/useModalFocus.cjs +2 -0
- package/dist/utils/useModalFocus.cjs.map +1 -0
- package/dist/utils/useModalFocus.d.cts +31 -0
- package/dist/utils/useModalFocus.d.ts +31 -0
- package/dist/utils/useModalFocus.js +28 -0
- package/dist/utils/useModalFocus.js.map +1 -0
- package/dist/utils/useResizableWidth.cjs +2 -0
- package/dist/utils/useResizableWidth.cjs.map +1 -0
- package/dist/utils/useResizableWidth.d.cts +30 -0
- package/dist/utils/useResizableWidth.d.ts +30 -0
- package/dist/utils/useResizableWidth.js +32 -0
- package/dist/utils/useResizableWidth.js.map +1 -0
- package/dist/utils.cjs +2 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.js +59 -0
- package/dist/utils.js.map +1 -0
- package/package.json +68 -28
- package/dist/Button-C_GP2mJ-.cjs +0 -2
- package/dist/Button-C_GP2mJ-.cjs.map +0 -1
- package/dist/Button-CzqDPqUT.js +0 -8600
- package/dist/Button-CzqDPqUT.js.map +0 -1
- package/dist/IconButton-B-MspnYP.cjs +0 -2
- package/dist/IconButton-B-MspnYP.cjs.map +0 -1
- package/dist/IconButton-DTGSfJme.js +0 -560
- package/dist/IconButton-DTGSfJme.js.map +0 -1
- package/dist/Switch-B2irM7Pp.js +0 -2656
- package/dist/Switch-B2irM7Pp.js.map +0 -1
- package/dist/Switch-CMKBdqkX.cjs +0 -42
- package/dist/Switch-CMKBdqkX.cjs.map +0 -1
- package/dist/comment.cjs.map +0 -1
- package/dist/comment.js.map +0 -1
- package/dist/components/Chips/index.d.ts +0 -19
- package/dist/components/DatePicker/Calendar.d.ts +0 -27
- package/dist/components/DatePicker/DatePicker.d.ts +0 -119
- package/dist/components/DatePicker/date.d.ts +0 -24
- package/dist/components/DatePicker/index.d.ts +0 -4
- package/dist/components/ShapeEditor/_model/imageFetch.d.ts +0 -9
- package/dist/components/ShapeEditor/_model/konva.d.ts +0 -4
- package/dist/components/ShapeEditor/_model/overlays.test.d.ts +0 -1
- package/dist/components/ShapeEditor/_renderers/KonvaRenderer.d.ts +0 -124
- package/dist/components/Table/Table.d.ts +0 -61
- package/dist/components/Table/index.d.ts +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,15 +1,47 @@
|
|
|
1
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
1
2
|
import type { HTMLAttributes, ReactNode, Ref } from "react";
|
|
2
3
|
export interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* 호버·포커스·pressed 인터랙션 스타일을 추가합니다. 클릭/링크는 호출측에서 직접 연결하세요.
|
|
6
|
+
* onClick과 함께 쓰고 `render`가 없으면 버튼처럼 동작합니다 — role="button",
|
|
7
|
+
* 탭 포커스(tabIndex 0), Enter·Space로 클릭. role·tabIndex를 넘기면 그 값이 우선합니다.
|
|
8
|
+
*/
|
|
4
9
|
interactive?: boolean;
|
|
5
|
-
/** 선택된 상태. brand 색 border + brand-subtle 배경을
|
|
10
|
+
/** 선택된 상태. brand 색 border + brand-subtle 배경을 적용합니다(시각 스타일만 — 필요하면 `aria-pressed` 등을 직접 지정). */
|
|
6
11
|
selected?: boolean;
|
|
7
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* 비활성 상태. 인터랙션 스타일과 이벤트 핸들러를 비활성화합니다.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
8
16
|
disabled?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
|
|
17
|
+
/**
|
|
18
|
+
* div 대신 그릴 요소(예: `<a href="…" />`, 라우터 `<Link />`) 또는 `(props) => 요소` 함수.
|
|
19
|
+
* Card 스타일과 상태가 그 요소에 합쳐지고, 내용은 `children`으로 그대로 넘깁니다.
|
|
20
|
+
*/
|
|
21
|
+
render?: useRender.RenderProp;
|
|
22
|
+
/** 카드 내용. 제목·본문 등 내부 레이아웃은 호출측에서 구성합니다. */
|
|
11
23
|
children?: ReactNode;
|
|
12
24
|
ref?: Ref<HTMLDivElement>;
|
|
13
25
|
}
|
|
14
|
-
|
|
26
|
+
/**
|
|
27
|
+
* 테두리와 둥근 모서리를 가진 콘텐츠 컨테이너 카드.
|
|
28
|
+
*
|
|
29
|
+
* Header/Body 같은 하위 파트는 없고 children을 그대로 담는다(기본 padding 포함).
|
|
30
|
+
* `interactive` + `onClick`이면 키보드로도 누를 수 있는 버튼처럼 동작하고, 링크로 쓰려면 `render`에 `<a>`/Link를 넘긴다.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* import { Card } from "@aivex/ui";
|
|
35
|
+
*
|
|
36
|
+
* <Card interactive selected={isSelected} aria-pressed={isSelected} onClick={() => setSelected(!isSelected)}>
|
|
37
|
+
* <h3>프로젝트 A</h3>
|
|
38
|
+
* <p>설명</p>
|
|
39
|
+
* </Card>
|
|
40
|
+
*
|
|
41
|
+
* <Card interactive render={<a href="/projects/a" />}>
|
|
42
|
+
* 프로젝트 A
|
|
43
|
+
* </Card>
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
declare function Card({ className, interactive, selected, disabled, render, children, ref, onClick, onDoubleClick, onKeyDown, onKeyUp, tabIndex, "aria-disabled": ariaDisabled, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
15
47
|
export { Card };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../utils.js";
|
|
3
|
+
import { useRender as t } from "@base-ui/react/use-render";
|
|
4
|
+
//#region src/components/Card/Card.tsx
|
|
5
|
+
function n({ className: n, interactive: r, selected: i, disabled: a = !1, render: o, children: s, ref: c, onClick: l, onDoubleClick: u, onKeyDown: d, onKeyUp: f, tabIndex: p, "aria-disabled": m, ...h }) {
|
|
6
|
+
let g = !!(r && l && !o);
|
|
7
|
+
return t({
|
|
8
|
+
defaultTagName: "div",
|
|
9
|
+
render: o,
|
|
10
|
+
ref: c,
|
|
11
|
+
props: {
|
|
12
|
+
className: e("aivex:bg-bg-primary aivex:rounded-xl aivex:p-xl aivex:border aivex:border-border-subtle aivex:transition-colors", n, r && !a && "aivex:cursor-pointer aivex:hover:border-border-strong aivex:active:border-border-strong aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand", r && !a && !i && "aivex:active:bg-bg-tertiary", i && "aivex:border-border-brand aivex:bg-bg-brand-subtle aivex:hover:border-border-brand", a && "aivex:cursor-not-allowed aivex:opacity-disable"),
|
|
13
|
+
"aria-disabled": a || m || void 0,
|
|
14
|
+
"data-disabled": a ? "" : void 0,
|
|
15
|
+
role: g ? "button" : void 0,
|
|
16
|
+
tabIndex: a ? -1 : p ?? (g ? 0 : void 0),
|
|
17
|
+
onClick: a ? void 0 : l,
|
|
18
|
+
onDoubleClick: a ? void 0 : u,
|
|
19
|
+
onKeyDown: a ? void 0 : (e) => {
|
|
20
|
+
d?.(e), !(!g || e.defaultPrevented) && e.target === e.currentTarget && (e.key === "Enter" ? (e.preventDefault(), e.repeat || e.currentTarget.click()) : e.key === " " && e.preventDefault());
|
|
21
|
+
},
|
|
22
|
+
onKeyUp: a ? void 0 : (e) => {
|
|
23
|
+
f?.(e), !(!g || e.defaultPrevented) && e.target === e.currentTarget && e.key === " " && e.currentTarget.click();
|
|
24
|
+
},
|
|
25
|
+
...h,
|
|
26
|
+
children: s
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { n as Card };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.js","names":[],"sources":["../../../src/components/Card/Card.tsx"],"sourcesContent":["import { useRender } from \"@base-ui/react/use-render\";\nimport type { HTMLAttributes, KeyboardEvent, ReactNode, Ref } from \"react\";\nimport { cn } from \"@/utils/cn\";\n\nexport interface CardProps extends HTMLAttributes<HTMLDivElement> {\n /**\n * 호버·포커스·pressed 인터랙션 스타일을 추가합니다. 클릭/링크는 호출측에서 직접 연결하세요.\n * onClick과 함께 쓰고 `render`가 없으면 버튼처럼 동작합니다 — role=\"button\",\n * 탭 포커스(tabIndex 0), Enter·Space로 클릭. role·tabIndex를 넘기면 그 값이 우선합니다.\n */\n interactive?: boolean;\n /** 선택된 상태. brand 색 border + brand-subtle 배경을 적용합니다(시각 스타일만 — 필요하면 `aria-pressed` 등을 직접 지정). */\n selected?: boolean;\n /**\n * 비활성 상태. 인터랙션 스타일과 이벤트 핸들러를 비활성화합니다.\n * @default false\n */\n disabled?: boolean;\n /**\n * div 대신 그릴 요소(예: `<a href=\"…\" />`, 라우터 `<Link />`) 또는 `(props) => 요소` 함수.\n * Card 스타일과 상태가 그 요소에 합쳐지고, 내용은 `children`으로 그대로 넘깁니다.\n */\n render?: useRender.RenderProp;\n /** 카드 내용. 제목·본문 등 내부 레이아웃은 호출측에서 구성합니다. */\n children?: ReactNode;\n ref?: Ref<HTMLDivElement>;\n}\n\n/**\n * 테두리와 둥근 모서리를 가진 콘텐츠 컨테이너 카드.\n *\n * Header/Body 같은 하위 파트는 없고 children을 그대로 담는다(기본 padding 포함).\n * `interactive` + `onClick`이면 키보드로도 누를 수 있는 버튼처럼 동작하고, 링크로 쓰려면 `render`에 `<a>`/Link를 넘긴다.\n *\n * @example\n * ```tsx\n * import { Card } from \"@aivex/ui\";\n *\n * <Card interactive selected={isSelected} aria-pressed={isSelected} onClick={() => setSelected(!isSelected)}>\n * <h3>프로젝트 A</h3>\n * <p>설명</p>\n * </Card>\n *\n * <Card interactive render={<a href=\"/projects/a\" />}>\n * 프로젝트 A\n * </Card>\n * ```\n */\nfunction Card({\n className,\n interactive,\n selected,\n disabled = false,\n render,\n children,\n ref,\n onClick,\n onDoubleClick,\n onKeyDown,\n onKeyUp,\n tabIndex,\n \"aria-disabled\": ariaDisabled,\n ...props\n}: CardProps) {\n // 링크 등 자체 시맨틱을 가진 요소(render)는 건드리지 않는다.\n const isButtonLike = Boolean(interactive && onClick && !render);\n\n return useRender({\n defaultTagName: \"div\",\n render,\n ref,\n props: {\n className: cn(\n \"aivex:bg-bg-primary aivex:rounded-xl aivex:p-xl aivex:border aivex:border-border-subtle aivex:transition-colors\",\n className,\n interactive &&\n !disabled &&\n \"aivex:cursor-pointer aivex:hover:border-border-strong aivex:active:border-border-strong aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n interactive && !disabled && !selected && \"aivex:active:bg-bg-tertiary\",\n selected &&\n \"aivex:border-border-brand aivex:bg-bg-brand-subtle aivex:hover:border-border-brand\",\n disabled && \"aivex:cursor-not-allowed aivex:opacity-disable\",\n ),\n \"aria-disabled\": disabled || ariaDisabled || undefined,\n \"data-disabled\": disabled ? \"\" : undefined,\n role: isButtonLike ? \"button\" : undefined,\n tabIndex: disabled ? -1 : (tabIndex ?? (isButtonLike ? 0 : undefined)),\n onClick: disabled ? undefined : onClick,\n onDoubleClick: disabled ? undefined : onDoubleClick,\n onKeyDown: disabled\n ? undefined\n : (event: KeyboardEvent<HTMLDivElement>) => {\n onKeyDown?.(event);\n // 카드 안의 다른 컨트롤에서 올라온 키는 그 컨트롤의 몫이다.\n if (!isButtonLike || event.defaultPrevented) return;\n if (event.target !== event.currentTarget) return;\n if (event.key === \"Enter\") {\n event.preventDefault();\n // 키를 누르고 있을 때의 자동 반복은 한 번만 누른 것으로 본다.\n if (!event.repeat) event.currentTarget.click();\n } else if (event.key === \" \") {\n // 네이티브 버튼처럼 Space는 keyup에서 누른다 — 여기선 스크롤만 막는다.\n event.preventDefault();\n }\n },\n onKeyUp: disabled\n ? undefined\n : (event: KeyboardEvent<HTMLDivElement>) => {\n onKeyUp?.(event);\n if (!isButtonLike || event.defaultPrevented) return;\n if (event.target !== event.currentTarget) return;\n if (event.key === \" \") event.currentTarget.click();\n },\n ...props,\n children,\n },\n });\n}\n\nexport { Card };\n"],"mappings":";;;;AAgDA,SAAS,EAAK,EACZ,cACA,gBACA,aACA,cAAW,IACX,WACA,aACA,QACA,YACA,kBACA,cACA,YACA,aACA,iBAAiB,GACjB,GAAG,KACS;CAEZ,IAAM,IAAe,GAAQ,KAAe,KAAW,CAAC;AAExD,QAAO,EAAU;EACf,gBAAgB;EAChB;EACA;EACA,OAAO;GACL,WAAW,EACT,mHACA,GACA,KACE,CAAC,KACD,6LACF,KAAe,CAAC,KAAY,CAAC,KAAY,+BACzC,KACE,sFACF,KAAY,iDACb;GACD,iBAAiB,KAAY,KAAgB,KAAA;GAC7C,iBAAiB,IAAW,KAAK,KAAA;GACjC,MAAM,IAAe,WAAW,KAAA;GAChC,UAAU,IAAW,KAAM,MAAa,IAAe,IAAI,KAAA;GAC3D,SAAS,IAAW,KAAA,IAAY;GAChC,eAAe,IAAW,KAAA,IAAY;GACtC,WAAW,IACP,KAAA,KACC,MAAyC;AACxC,QAAY,EAAM,EAEd,GAAC,KAAgB,EAAM,qBACvB,EAAM,WAAW,EAAM,kBACvB,EAAM,QAAQ,WAChB,EAAM,gBAAgB,EAEjB,EAAM,UAAQ,EAAM,cAAc,OAAO,IACrC,EAAM,QAAQ,OAEvB,EAAM,gBAAgB;;GAG9B,SAAS,IACL,KAAA,KACC,MAAyC;AACxC,QAAU,EAAM,EACZ,GAAC,KAAgB,EAAM,qBACvB,EAAM,WAAW,EAAM,iBACvB,EAAM,QAAQ,OAAK,EAAM,cAAc,OAAO;;GAExD,GAAG;GACH;GACD;EACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { CardProps } from "./Card";
|
|
2
|
-
export { Card } from "./Card";
|
|
1
|
+
export type { CardProps } from "./Card.js";
|
|
2
|
+
export { Card } from "./Card.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use client";require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../Icon/index.cjs`),t=require(`../../utils.cjs`),n=require(`../InputBase/useInputState.cjs`);let r=require(`react/jsx-runtime`),i=require(`class-variance-authority`),a=require(`@base-ui/react/checkbox`);var o=(0,i.cva)([`aivex:relative aivex:m-0 aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:cursor-pointer aivex:transition-colors aivex:outline-none`,`aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand`,`aivex:data-[invalid]:border-border-danger`,`aivex:data-[checked]:border-transparent aivex:data-[checked]:bg-bg-brand`,`aivex:data-[indeterminate]:border-transparent aivex:data-[indeterminate]:bg-bg-brand`],{variants:{size:{sm:`aivex:w-4 aivex:h-4`,md:`aivex:w-[18px] aivex:h-[18px]`}},defaultVariants:{size:`md`}}),s={sm:`aivex:w-5 aivex:h-5`,md:`aivex:w-6 aivex:h-6`};function c({className:i,size:c=`md`,indeterminate:l=!1,onCheckedChange:u,ref:d,...f}){let p=c??`md`,m=n.isAriaInvalid(f[`aria-invalid`]);return(0,r.jsx)(`span`,{className:`aivex:inline-flex aivex:items-center aivex:gap-md aivex:has-[[data-disabled]]:opacity-disable aivex:has-[[data-disabled]]:pointer-events-none`,children:(0,r.jsxs)(`span`,{className:t.cn(`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group`,s[p]),children:[(0,r.jsx)(`span`,{className:`aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity`}),(0,r.jsx)(a.Checkbox.Root,{ref:d,indeterminate:l,onCheckedChange:u?e=>u(e):void 0,className:t.cn(o({size:p}),m&&`aivex:border-border-danger`,i),...f,children:(0,r.jsx)(a.Checkbox.Indicator,{className:`aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none`,children:l?(0,r.jsx)(e.CheckboxIndeterminateIcon,{size:p}):(0,r.jsx)(e.CheckboxCheckIcon,{size:p})})})]})})}exports.Checkbox=c,exports.checkboxVariants=o;
|
|
2
|
+
//# sourceMappingURL=Checkbox.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.cjs","names":[],"sources":["../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type { Ref } from \"react\";\nimport { CheckboxCheckIcon, CheckboxIndeterminateIcon } from \"@/components/Icon\";\nimport { isAriaInvalid } from \"@/components/InputBase/useInputState\";\nimport { cn } from \"@/utils/cn\";\n\n/** Checkbox 박스의 크기(`size`) 클래스를 만드는 cva 변형 함수. */\nconst checkboxVariants = cva(\n [\n \"aivex:relative aivex:m-0 aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:cursor-pointer aivex:transition-colors aivex:outline-none\",\n \"aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n // Field의 invalid가 전파되면 data-invalid가 붙는다.\n \"aivex:data-[invalid]:border-border-danger\",\n \"aivex:data-[checked]:border-transparent aivex:data-[checked]:bg-bg-brand\",\n \"aivex:data-[indeterminate]:border-transparent aivex:data-[indeterminate]:bg-bg-brand\",\n ],\n {\n variants: {\n size: {\n sm: \"aivex:w-4 aivex:h-4\",\n md: \"aivex:w-[18px] aivex:h-[18px]\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n },\n);\n\ntype CheckboxRootProps = CheckboxPrimitive.Root.Props;\n\nexport interface CheckboxProps\n extends Omit<\n CheckboxRootProps,\n \"className\" | \"style\" | \"onCheckedChange\" | \"render\" | \"nativeButton\" | \"parent\" | \"children\"\n >,\n VariantProps<typeof checkboxVariants> {\n className?: string;\n /** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */\n onCheckedChange?: (checked: boolean) => void;\n /** 보이는 체크박스 요소(`role=\"checkbox\"`) ref */\n ref?: Ref<HTMLElement>;\n}\n\nconst checkboxContainerSizeClass = {\n sm: \"aivex:w-5 aivex:h-5\",\n md: \"aivex:w-6 aivex:h-6\",\n};\n\n/**\n * 체크박스.\n *\n * `checked`(+`onCheckedChange`)로 제어하거나 `defaultChecked`로 비제어로 쓴다. `indeterminate`는 일부 선택(–)으로\n * 표시하며 `checked`보다 우선해 보인다. 폼에는 `name`·`value`가 숨은 input으로 제출된다(`inputRef`로 접근).\n * 라벨을 포함하지 않으므로 `Field` 안에 `FieldLabel`과 함께 두거나 `aria-label`을 준다. `Field` 안에서는\n * 라벨·설명·invalid·disabled가 자동으로 연결된다.\n * `size`: sm(16px)·md(18px, 기본). `aria-invalid`를 주면 오류 테두리로 표시된다.\n *\n * @example\n * ```tsx\n * import { Checkbox, Field, FieldLabel } from \"@aivex/ui\";\n *\n * <Field orientation=\"horizontal\">\n * <Checkbox checked={agreed} onCheckedChange={setAgreed} />\n * <FieldLabel>약관에 동의합니다</FieldLabel>\n * </Field>\n * ```\n */\nfunction Checkbox({\n className,\n size = \"md\",\n indeterminate = false,\n onCheckedChange,\n ref,\n ...props\n}: CheckboxProps) {\n const resolvedSize = size ?? \"md\";\n const invalid = isAriaInvalid(props[\"aria-invalid\"]);\n\n return (\n <span className=\"aivex:inline-flex aivex:items-center aivex:gap-md aivex:has-[[data-disabled]]:opacity-disable aivex:has-[[data-disabled]]:pointer-events-none\">\n <span\n className={cn(\n \"aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group\",\n checkboxContainerSizeClass[resolvedSize],\n )}\n >\n <span className=\"aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity\" />\n <CheckboxPrimitive.Root\n ref={ref}\n indeterminate={indeterminate}\n onCheckedChange={onCheckedChange ? (checked) => onCheckedChange(checked) : undefined}\n className={cn(\n checkboxVariants({ size: resolvedSize }),\n invalid && \"aivex:border-border-danger\",\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator className=\"aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none\">\n {indeterminate ? (\n <CheckboxIndeterminateIcon size={resolvedSize} />\n ) : (\n <CheckboxCheckIcon size={resolvedSize} />\n )}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n </span>\n );\n}\n\nexport { Checkbox, checkboxVariants };\n"],"mappings":"sSAUA,IAAM,GAAA,EAAA,EAAA,KACJ,CACE,kPACA,mEAEA,4CACA,2EACA,uFACD,CACD,CACE,SAAU,CACR,KAAM,CACJ,GAAI,sBACJ,GAAI,gCACL,CACF,CACD,gBAAiB,CACf,KAAM,KACP,CACF,CACF,CAiBK,EAA6B,CACjC,GAAI,sBACJ,GAAI,sBACL,CAqBD,SAAS,EAAS,CAChB,YACA,OAAO,KACP,gBAAgB,GAChB,kBACA,MACA,GAAG,GACa,CAChB,IAAM,EAAe,GAAQ,KACvB,EAAU,EAAA,cAAc,EAAM,gBAAgB,CAEpD,OACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,0JACd,EAAA,EAAA,MAAC,OAAD,CACE,UAAW,EAAA,GACT,sGACA,EAA2B,GAC5B,UAJH,EAME,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,0MAA4M,CAAA,EAC5N,EAAA,EAAA,KAAC,EAAA,SAAkB,KAAnB,CACO,MACU,gBACf,gBAAiB,EAAmB,GAAY,EAAgB,EAAQ,CAAG,IAAA,GAC3E,UAAW,EAAA,GACT,EAAiB,CAAE,KAAM,EAAc,CAAC,CACxC,GAAW,6BACX,EACD,CACD,GAAI,YAEJ,EAAA,EAAA,KAAC,EAAA,SAAkB,UAAnB,CAA6B,UAAU,iHACpC,GACC,EAAA,EAAA,KAAC,EAAA,0BAAD,CAA2B,KAAM,EAAgB,CAAA,EAEjD,EAAA,EAAA,KAAC,EAAA,kBAAD,CAAmB,KAAM,EAAgB,CAAA,CAEf,CAAA,CACP,CAAA,CACpB,GACF,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
import type { Ref } from "react";
|
|
4
|
+
/** Checkbox 박스의 크기(`size`) 클래스를 만드는 cva 변형 함수. */
|
|
5
|
+
declare const checkboxVariants: (props?: ({
|
|
6
|
+
size?: "md" | "sm" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
type CheckboxRootProps = CheckboxPrimitive.Root.Props;
|
|
9
|
+
export interface CheckboxProps extends Omit<CheckboxRootProps, "className" | "style" | "onCheckedChange" | "render" | "nativeButton" | "parent" | "children">, VariantProps<typeof checkboxVariants> {
|
|
10
|
+
className?: string;
|
|
11
|
+
/** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */
|
|
12
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
13
|
+
/** 보이는 체크박스 요소(`role="checkbox"`) ref */
|
|
14
|
+
ref?: Ref<HTMLElement>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 체크박스.
|
|
18
|
+
*
|
|
19
|
+
* `checked`(+`onCheckedChange`)로 제어하거나 `defaultChecked`로 비제어로 쓴다. `indeterminate`는 일부 선택(–)으로
|
|
20
|
+
* 표시하며 `checked`보다 우선해 보인다. 폼에는 `name`·`value`가 숨은 input으로 제출된다(`inputRef`로 접근).
|
|
21
|
+
* 라벨을 포함하지 않으므로 `Field` 안에 `FieldLabel`과 함께 두거나 `aria-label`을 준다. `Field` 안에서는
|
|
22
|
+
* 라벨·설명·invalid·disabled가 자동으로 연결된다.
|
|
23
|
+
* `size`: sm(16px)·md(18px, 기본). `aria-invalid`를 주면 오류 테두리로 표시된다.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* import { Checkbox, Field, FieldLabel } from "@aivex/ui";
|
|
28
|
+
*
|
|
29
|
+
* <Field orientation="horizontal">
|
|
30
|
+
* <Checkbox checked={agreed} onCheckedChange={setAgreed} />
|
|
31
|
+
* <FieldLabel>약관에 동의합니다</FieldLabel>
|
|
32
|
+
* </Field>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare function Checkbox({ className, size, indeterminate, onCheckedChange, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export { Checkbox, checkboxVariants };
|
|
@@ -1,13 +1,36 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
1
2
|
import { type VariantProps } from "class-variance-authority";
|
|
2
|
-
import
|
|
3
|
+
import type { Ref } from "react";
|
|
4
|
+
/** Checkbox 박스의 크기(`size`) 클래스를 만드는 cva 변형 함수. */
|
|
3
5
|
declare const checkboxVariants: (props?: ({
|
|
4
6
|
size?: "md" | "sm" | null | undefined;
|
|
5
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
type CheckboxRootProps = CheckboxPrimitive.Root.Props;
|
|
9
|
+
export interface CheckboxProps extends Omit<CheckboxRootProps, "className" | "style" | "onCheckedChange" | "render" | "nativeButton" | "parent" | "children">, VariantProps<typeof checkboxVariants> {
|
|
10
|
+
className?: string;
|
|
11
|
+
/** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */
|
|
12
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
13
|
+
/** 보이는 체크박스 요소(`role="checkbox"`) ref */
|
|
14
|
+
ref?: Ref<HTMLElement>;
|
|
11
15
|
}
|
|
12
|
-
|
|
16
|
+
/**
|
|
17
|
+
* 체크박스.
|
|
18
|
+
*
|
|
19
|
+
* `checked`(+`onCheckedChange`)로 제어하거나 `defaultChecked`로 비제어로 쓴다. `indeterminate`는 일부 선택(–)으로
|
|
20
|
+
* 표시하며 `checked`보다 우선해 보인다. 폼에는 `name`·`value`가 숨은 input으로 제출된다(`inputRef`로 접근).
|
|
21
|
+
* 라벨을 포함하지 않으므로 `Field` 안에 `FieldLabel`과 함께 두거나 `aria-label`을 준다. `Field` 안에서는
|
|
22
|
+
* 라벨·설명·invalid·disabled가 자동으로 연결된다.
|
|
23
|
+
* `size`: sm(16px)·md(18px, 기본). `aria-invalid`를 주면 오류 테두리로 표시된다.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* import { Checkbox, Field, FieldLabel } from "@aivex/ui";
|
|
28
|
+
*
|
|
29
|
+
* <Field orientation="horizontal">
|
|
30
|
+
* <Checkbox checked={agreed} onCheckedChange={setAgreed} />
|
|
31
|
+
* <FieldLabel>약관에 동의합니다</FieldLabel>
|
|
32
|
+
* </Field>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare function Checkbox({ className, size, indeterminate, onCheckedChange, ref, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
13
36
|
export { Checkbox, checkboxVariants };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { CheckboxCheckIcon as e, CheckboxIndeterminateIcon as t } from "../Icon/index.js";
|
|
4
|
+
import { cn as n } from "../../utils.js";
|
|
5
|
+
import { isAriaInvalid as r } from "../InputBase/useInputState.js";
|
|
6
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
|
+
import { cva as o } from "class-variance-authority";
|
|
8
|
+
import { Checkbox as s } from "@base-ui/react/checkbox";
|
|
9
|
+
//#region src/components/Checkbox/Checkbox.tsx
|
|
10
|
+
var c = o([
|
|
11
|
+
"aivex:relative aivex:m-0 aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:cursor-pointer aivex:transition-colors aivex:outline-none",
|
|
12
|
+
"aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand",
|
|
13
|
+
"aivex:data-[invalid]:border-border-danger",
|
|
14
|
+
"aivex:data-[checked]:border-transparent aivex:data-[checked]:bg-bg-brand",
|
|
15
|
+
"aivex:data-[indeterminate]:border-transparent aivex:data-[indeterminate]:bg-bg-brand"
|
|
16
|
+
], {
|
|
17
|
+
variants: { size: {
|
|
18
|
+
sm: "aivex:w-4 aivex:h-4",
|
|
19
|
+
md: "aivex:w-[18px] aivex:h-[18px]"
|
|
20
|
+
} },
|
|
21
|
+
defaultVariants: { size: "md" }
|
|
22
|
+
}), l = {
|
|
23
|
+
sm: "aivex:w-5 aivex:h-5",
|
|
24
|
+
md: "aivex:w-6 aivex:h-6"
|
|
25
|
+
};
|
|
26
|
+
function u({ className: o, size: u = "md", indeterminate: d = !1, onCheckedChange: f, ref: p, ...m }) {
|
|
27
|
+
let h = u ?? "md", g = r(m["aria-invalid"]);
|
|
28
|
+
return /* @__PURE__ */ i("span", {
|
|
29
|
+
className: "aivex:inline-flex aivex:items-center aivex:gap-md aivex:has-[[data-disabled]]:opacity-disable aivex:has-[[data-disabled]]:pointer-events-none",
|
|
30
|
+
children: /* @__PURE__ */ a("span", {
|
|
31
|
+
className: n("aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group", l[h]),
|
|
32
|
+
children: [/* @__PURE__ */ i("span", { className: "aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity" }), /* @__PURE__ */ i(s.Root, {
|
|
33
|
+
ref: p,
|
|
34
|
+
indeterminate: d,
|
|
35
|
+
onCheckedChange: f ? (e) => f(e) : void 0,
|
|
36
|
+
className: n(c({ size: h }), g && "aivex:border-border-danger", o),
|
|
37
|
+
...m,
|
|
38
|
+
children: /* @__PURE__ */ i(s.Indicator, {
|
|
39
|
+
className: "aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none",
|
|
40
|
+
children: i(d ? t : e, { size: h })
|
|
41
|
+
})
|
|
42
|
+
})]
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { u as Checkbox, c as checkboxVariants };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.js","names":[],"sources":["../../../src/components/Checkbox/Checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport type { Ref } from \"react\";\nimport { CheckboxCheckIcon, CheckboxIndeterminateIcon } from \"@/components/Icon\";\nimport { isAriaInvalid } from \"@/components/InputBase/useInputState\";\nimport { cn } from \"@/utils/cn\";\n\n/** Checkbox 박스의 크기(`size`) 클래스를 만드는 cva 변형 함수. */\nconst checkboxVariants = cva(\n [\n \"aivex:relative aivex:m-0 aivex:inline-flex aivex:shrink-0 aivex:items-center aivex:justify-center aivex:rounded-xs aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:cursor-pointer aivex:transition-colors aivex:outline-none\",\n \"aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n // Field의 invalid가 전파되면 data-invalid가 붙는다.\n \"aivex:data-[invalid]:border-border-danger\",\n \"aivex:data-[checked]:border-transparent aivex:data-[checked]:bg-bg-brand\",\n \"aivex:data-[indeterminate]:border-transparent aivex:data-[indeterminate]:bg-bg-brand\",\n ],\n {\n variants: {\n size: {\n sm: \"aivex:w-4 aivex:h-4\",\n md: \"aivex:w-[18px] aivex:h-[18px]\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n },\n);\n\ntype CheckboxRootProps = CheckboxPrimitive.Root.Props;\n\nexport interface CheckboxProps\n extends Omit<\n CheckboxRootProps,\n \"className\" | \"style\" | \"onCheckedChange\" | \"render\" | \"nativeButton\" | \"parent\" | \"children\"\n >,\n VariantProps<typeof checkboxVariants> {\n className?: string;\n /** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */\n onCheckedChange?: (checked: boolean) => void;\n /** 보이는 체크박스 요소(`role=\"checkbox\"`) ref */\n ref?: Ref<HTMLElement>;\n}\n\nconst checkboxContainerSizeClass = {\n sm: \"aivex:w-5 aivex:h-5\",\n md: \"aivex:w-6 aivex:h-6\",\n};\n\n/**\n * 체크박스.\n *\n * `checked`(+`onCheckedChange`)로 제어하거나 `defaultChecked`로 비제어로 쓴다. `indeterminate`는 일부 선택(–)으로\n * 표시하며 `checked`보다 우선해 보인다. 폼에는 `name`·`value`가 숨은 input으로 제출된다(`inputRef`로 접근).\n * 라벨을 포함하지 않으므로 `Field` 안에 `FieldLabel`과 함께 두거나 `aria-label`을 준다. `Field` 안에서는\n * 라벨·설명·invalid·disabled가 자동으로 연결된다.\n * `size`: sm(16px)·md(18px, 기본). `aria-invalid`를 주면 오류 테두리로 표시된다.\n *\n * @example\n * ```tsx\n * import { Checkbox, Field, FieldLabel } from \"@aivex/ui\";\n *\n * <Field orientation=\"horizontal\">\n * <Checkbox checked={agreed} onCheckedChange={setAgreed} />\n * <FieldLabel>약관에 동의합니다</FieldLabel>\n * </Field>\n * ```\n */\nfunction Checkbox({\n className,\n size = \"md\",\n indeterminate = false,\n onCheckedChange,\n ref,\n ...props\n}: CheckboxProps) {\n const resolvedSize = size ?? \"md\";\n const invalid = isAriaInvalid(props[\"aria-invalid\"]);\n\n return (\n <span className=\"aivex:inline-flex aivex:items-center aivex:gap-md aivex:has-[[data-disabled]]:opacity-disable aivex:has-[[data-disabled]]:pointer-events-none\">\n <span\n className={cn(\n \"aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group\",\n checkboxContainerSizeClass[resolvedSize],\n )}\n >\n <span className=\"aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity\" />\n <CheckboxPrimitive.Root\n ref={ref}\n indeterminate={indeterminate}\n onCheckedChange={onCheckedChange ? (checked) => onCheckedChange(checked) : undefined}\n className={cn(\n checkboxVariants({ size: resolvedSize }),\n invalid && \"aivex:border-border-danger\",\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator className=\"aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none\">\n {indeterminate ? (\n <CheckboxIndeterminateIcon size={resolvedSize} />\n ) : (\n <CheckboxCheckIcon size={resolvedSize} />\n )}\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n </span>\n </span>\n );\n}\n\nexport { Checkbox, checkboxVariants };\n"],"mappings":";;;;;;;;;AAUA,IAAM,IAAmB,EACvB;CACE;CACA;CAEA;CACA;CACA;CACD,EACD;CACE,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACL,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CACF,EAiBK,IAA6B;CACjC,IAAI;CACJ,IAAI;CACL;AAqBD,SAAS,EAAS,EAChB,cACA,UAAO,MACP,mBAAgB,IAChB,oBACA,QACA,GAAG,KACa;CAChB,IAAM,IAAe,KAAQ,MACvB,IAAU,EAAc,EAAM,gBAAgB;AAEpD,QACE,kBAAC,QAAD;EAAM,WAAU;YACd,kBAAC,QAAD;GACE,WAAW,EACT,uGACA,EAA2B,GAC5B;aAJH,CAME,kBAAC,QAAD,EAAM,WAAU,2MAA4M,CAAA,EAC5N,kBAAC,EAAkB,MAAnB;IACO;IACU;IACf,iBAAiB,KAAmB,MAAY,EAAgB,EAAQ,GAAG,KAAA;IAC3E,WAAW,EACT,EAAiB,EAAE,MAAM,GAAc,CAAC,EACxC,KAAW,8BACX,EACD;IACD,GAAI;cAEJ,kBAAC,EAAkB,WAAnB;KAA6B,WAAU;eAEnC,EADD,IACE,IAEA,GAFD,EAA2B,MAAM,GAAgB,CAER;KAEf,CAAA;IACP,CAAA,CACpB;;EACF,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use client";require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../Icon/index.cjs`),t=require(`../../utils.cjs`),n=require(`../InteractionLayer/InteractionLayer.cjs`);let r=require(`react/jsx-runtime`),i=require(`@base-ui/react/checkbox`);function a({className:a,onCheckedChange:o,ref:s,...c}){return(0,r.jsxs)(i.Checkbox.Root,{ref:s,onCheckedChange:o?e=>o(e):void 0,className:t.cn(`aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center`,`aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors aivex:outline-none`,`aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand`,`aivex:bg-bg-tertiary aivex:border-border-default`,`aivex:data-[checked]:bg-bg-brand-subtle aivex:data-[checked]:border-border-brand-subtle`,`aivex:data-[disabled]:opacity-disable aivex:data-[disabled]:pointer-events-none`,a),...c,children:[(0,r.jsx)(n.InteractionLayer,{}),(0,r.jsxs)(`span`,{className:`aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0`,children:[(0,r.jsx)(`span`,{className:`aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors aivex:bg-bg-primary aivex:border-border-default aivex:group-data-[checked]:bg-bg-brand aivex:group-data-[checked]:border-transparent`}),(0,r.jsx)(i.Checkbox.Indicator,{className:`aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none`,children:(0,r.jsx)(e.CheckboxCheckIcon,{size:`sm`})})]})]})}exports.ChipsCheckbox=a;
|
|
2
|
+
//# sourceMappingURL=ChipsCheckbox.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipsCheckbox.cjs","names":[],"sources":["../../../src/components/Checkbox/ChipsCheckbox.tsx"],"sourcesContent":["\"use client\";\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\";\nimport type { Ref } from \"react\";\nimport { CheckboxCheckIcon } from \"@/components/Icon\";\nimport { InteractionLayer } from \"@/components/InteractionLayer\";\nimport { cn } from \"@/utils/cn\";\n\ntype CheckboxRootProps = CheckboxPrimitive.Root.Props;\n\nexport interface ChipsCheckboxProps\n extends Omit<\n CheckboxRootProps,\n | \"className\"\n | \"style\"\n | \"onCheckedChange\"\n | \"render\"\n | \"nativeButton\"\n | \"parent\"\n | \"indeterminate\"\n | \"children\"\n > {\n className?: string;\n /** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */\n onCheckedChange?: (checked: boolean) => void;\n /** 칩(`role=\"checkbox\"`) 요소 ref */\n ref?: Ref<HTMLElement>;\n}\n\n/**\n * 32×32 칩 모양 배경 안에 체크박스를 담은 정사각형 선택 컨트롤.\n *\n * 체크 시 칩 배경·테두리가 brand-subtle로 바뀐다. 텍스트 라벨이 없으므로 `aria-label`을 반드시 준다.\n * 일반 폼의 체크박스는 `Checkbox`를 쓴다. `checked`(+`onCheckedChange`) 제어형, `defaultChecked` 비제어형 모두 지원한다.\n * 칩 전체가 체크박스라 `className`·`onClick` 등은 칩에 적용되고, 폼 제출용 숨은 input은 `inputRef`로 접근한다.\n *\n * @example\n * ```tsx\n * import { ChipsCheckbox } from \"@aivex/ui\";\n *\n * <ChipsCheckbox aria-label=\"행 선택\" checked={selected} onCheckedChange={setSelected} />\n * ```\n */\nfunction ChipsCheckbox({ className, onCheckedChange, ref, ...props }: ChipsCheckboxProps) {\n return (\n <CheckboxPrimitive.Root\n ref={ref}\n onCheckedChange={onCheckedChange ? (checked) => onCheckedChange(checked) : undefined}\n className={cn(\n \"aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center\",\n \"aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors aivex:outline-none\",\n \"aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n \"aivex:bg-bg-tertiary aivex:border-border-default\",\n \"aivex:data-[checked]:bg-bg-brand-subtle aivex:data-[checked]:border-border-brand-subtle\",\n \"aivex:data-[disabled]:opacity-disable aivex:data-[disabled]:pointer-events-none\",\n className,\n )}\n {...props}\n >\n <InteractionLayer />\n <span className=\"aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0\">\n <span className=\"aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors aivex:bg-bg-primary aivex:border-border-default aivex:group-data-[checked]:bg-bg-brand aivex:group-data-[checked]:border-transparent\" />\n <CheckboxPrimitive.Indicator className=\"aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none\">\n <CheckboxCheckIcon size=\"sm\" />\n </CheckboxPrimitive.Indicator>\n </span>\n </CheckboxPrimitive.Root>\n );\n}\n\nexport { ChipsCheckbox };\n"],"mappings":"0QA2CA,SAAS,EAAc,CAAE,YAAW,kBAAiB,MAAK,GAAG,GAA6B,CACxF,OACE,EAAA,EAAA,MAAC,EAAA,SAAkB,KAAnB,CACO,MACL,gBAAiB,EAAmB,GAAY,EAAgB,EAAQ,CAAG,IAAA,GAC3E,UAAW,EAAA,GACT,6GACA,qJACA,mEACA,mDACA,0FACA,kFACA,EACD,CACD,GAAI,WAZN,EAcE,EAAA,EAAA,KAAC,EAAA,iBAAD,EAAoB,CAAA,EACpB,EAAA,EAAA,MAAC,OAAD,CAAM,UAAU,uHAAhB,EACE,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,iNAAmN,CAAA,EACnO,EAAA,EAAA,KAAC,EAAA,SAAkB,UAAnB,CAA6B,UAAU,+IACrC,EAAA,EAAA,KAAC,EAAA,kBAAD,CAAmB,KAAK,KAAO,CAAA,CACH,CAAA,CACzB,GACgB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
2
|
+
import type { Ref } from "react";
|
|
3
|
+
type CheckboxRootProps = CheckboxPrimitive.Root.Props;
|
|
4
|
+
export interface ChipsCheckboxProps extends Omit<CheckboxRootProps, "className" | "style" | "onCheckedChange" | "render" | "nativeButton" | "parent" | "indeterminate" | "children"> {
|
|
5
|
+
className?: string;
|
|
6
|
+
/** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */
|
|
7
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
8
|
+
/** 칩(`role="checkbox"`) 요소 ref */
|
|
9
|
+
ref?: Ref<HTMLElement>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 32×32 칩 모양 배경 안에 체크박스를 담은 정사각형 선택 컨트롤.
|
|
13
|
+
*
|
|
14
|
+
* 체크 시 칩 배경·테두리가 brand-subtle로 바뀐다. 텍스트 라벨이 없으므로 `aria-label`을 반드시 준다.
|
|
15
|
+
* 일반 폼의 체크박스는 `Checkbox`를 쓴다. `checked`(+`onCheckedChange`) 제어형, `defaultChecked` 비제어형 모두 지원한다.
|
|
16
|
+
* 칩 전체가 체크박스라 `className`·`onClick` 등은 칩에 적용되고, 폼 제출용 숨은 input은 `inputRef`로 접근한다.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* import { ChipsCheckbox } from "@aivex/ui";
|
|
21
|
+
*
|
|
22
|
+
* <ChipsCheckbox aria-label="행 선택" checked={selected} onCheckedChange={setSelected} />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
declare function ChipsCheckbox({ className, onCheckedChange, ref, ...props }: ChipsCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export { ChipsCheckbox };
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";
|
|
2
|
+
import type { Ref } from "react";
|
|
3
|
+
type CheckboxRootProps = CheckboxPrimitive.Root.Props;
|
|
4
|
+
export interface ChipsCheckboxProps extends Omit<CheckboxRootProps, "className" | "style" | "onCheckedChange" | "render" | "nativeButton" | "parent" | "indeterminate" | "children"> {
|
|
5
|
+
className?: string;
|
|
6
|
+
/** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */
|
|
7
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
8
|
+
/** 칩(`role="checkbox"`) 요소 ref */
|
|
9
|
+
ref?: Ref<HTMLElement>;
|
|
5
10
|
}
|
|
6
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 32×32 칩 모양 배경 안에 체크박스를 담은 정사각형 선택 컨트롤.
|
|
13
|
+
*
|
|
14
|
+
* 체크 시 칩 배경·테두리가 brand-subtle로 바뀐다. 텍스트 라벨이 없으므로 `aria-label`을 반드시 준다.
|
|
15
|
+
* 일반 폼의 체크박스는 `Checkbox`를 쓴다. `checked`(+`onCheckedChange`) 제어형, `defaultChecked` 비제어형 모두 지원한다.
|
|
16
|
+
* 칩 전체가 체크박스라 `className`·`onClick` 등은 칩에 적용되고, 폼 제출용 숨은 input은 `inputRef`로 접근한다.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* import { ChipsCheckbox } from "@aivex/ui";
|
|
21
|
+
*
|
|
22
|
+
* <ChipsCheckbox aria-label="행 선택" checked={selected} onCheckedChange={setSelected} />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
declare function ChipsCheckbox({ className, onCheckedChange, ref, ...props }: ChipsCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
7
26
|
export { ChipsCheckbox };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import { CheckboxCheckIcon as e } from "../Icon/index.js";
|
|
4
|
+
import { cn as t } from "../../utils.js";
|
|
5
|
+
import { InteractionLayer as n } from "../InteractionLayer/InteractionLayer.js";
|
|
6
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
7
|
+
import { Checkbox as a } from "@base-ui/react/checkbox";
|
|
8
|
+
//#region src/components/Checkbox/ChipsCheckbox.tsx
|
|
9
|
+
function o({ className: o, onCheckedChange: s, ref: c, ...l }) {
|
|
10
|
+
return /* @__PURE__ */ i(a.Root, {
|
|
11
|
+
ref: c,
|
|
12
|
+
onCheckedChange: s ? (e) => s(e) : void 0,
|
|
13
|
+
className: t("aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center", "aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors aivex:outline-none", "aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand", "aivex:bg-bg-tertiary aivex:border-border-default", "aivex:data-[checked]:bg-bg-brand-subtle aivex:data-[checked]:border-border-brand-subtle", "aivex:data-[disabled]:opacity-disable aivex:data-[disabled]:pointer-events-none", o),
|
|
14
|
+
...l,
|
|
15
|
+
children: [/* @__PURE__ */ r(n, {}), /* @__PURE__ */ i("span", {
|
|
16
|
+
className: "aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0",
|
|
17
|
+
children: [/* @__PURE__ */ r("span", { className: "aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors aivex:bg-bg-primary aivex:border-border-default aivex:group-data-[checked]:bg-bg-brand aivex:group-data-[checked]:border-transparent" }), /* @__PURE__ */ r(a.Indicator, {
|
|
18
|
+
className: "aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none",
|
|
19
|
+
children: /* @__PURE__ */ r(e, { size: "sm" })
|
|
20
|
+
})]
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { o as ChipsCheckbox };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=ChipsCheckbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipsCheckbox.js","names":[],"sources":["../../../src/components/Checkbox/ChipsCheckbox.tsx"],"sourcesContent":["\"use client\";\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\";\nimport type { Ref } from \"react\";\nimport { CheckboxCheckIcon } from \"@/components/Icon\";\nimport { InteractionLayer } from \"@/components/InteractionLayer\";\nimport { cn } from \"@/utils/cn\";\n\ntype CheckboxRootProps = CheckboxPrimitive.Root.Props;\n\nexport interface ChipsCheckboxProps\n extends Omit<\n CheckboxRootProps,\n | \"className\"\n | \"style\"\n | \"onCheckedChange\"\n | \"render\"\n | \"nativeButton\"\n | \"parent\"\n | \"indeterminate\"\n | \"children\"\n > {\n className?: string;\n /** 체크 상태가 바뀔 때 새 checked 값으로 호출된다. */\n onCheckedChange?: (checked: boolean) => void;\n /** 칩(`role=\"checkbox\"`) 요소 ref */\n ref?: Ref<HTMLElement>;\n}\n\n/**\n * 32×32 칩 모양 배경 안에 체크박스를 담은 정사각형 선택 컨트롤.\n *\n * 체크 시 칩 배경·테두리가 brand-subtle로 바뀐다. 텍스트 라벨이 없으므로 `aria-label`을 반드시 준다.\n * 일반 폼의 체크박스는 `Checkbox`를 쓴다. `checked`(+`onCheckedChange`) 제어형, `defaultChecked` 비제어형 모두 지원한다.\n * 칩 전체가 체크박스라 `className`·`onClick` 등은 칩에 적용되고, 폼 제출용 숨은 input은 `inputRef`로 접근한다.\n *\n * @example\n * ```tsx\n * import { ChipsCheckbox } from \"@aivex/ui\";\n *\n * <ChipsCheckbox aria-label=\"행 선택\" checked={selected} onCheckedChange={setSelected} />\n * ```\n */\nfunction ChipsCheckbox({ className, onCheckedChange, ref, ...props }: ChipsCheckboxProps) {\n return (\n <CheckboxPrimitive.Root\n ref={ref}\n onCheckedChange={onCheckedChange ? (checked) => onCheckedChange(checked) : undefined}\n className={cn(\n \"aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center\",\n \"aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors aivex:outline-none\",\n \"aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand\",\n \"aivex:bg-bg-tertiary aivex:border-border-default\",\n \"aivex:data-[checked]:bg-bg-brand-subtle aivex:data-[checked]:border-border-brand-subtle\",\n \"aivex:data-[disabled]:opacity-disable aivex:data-[disabled]:pointer-events-none\",\n className,\n )}\n {...props}\n >\n <InteractionLayer />\n <span className=\"aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0\">\n <span className=\"aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors aivex:bg-bg-primary aivex:border-border-default aivex:group-data-[checked]:bg-bg-brand aivex:group-data-[checked]:border-transparent\" />\n <CheckboxPrimitive.Indicator className=\"aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-icon-on-color aivex:pointer-events-none\">\n <CheckboxCheckIcon size=\"sm\" />\n </CheckboxPrimitive.Indicator>\n </span>\n </CheckboxPrimitive.Root>\n );\n}\n\nexport { ChipsCheckbox };\n"],"mappings":";;;;;;;;AA2CA,SAAS,EAAc,EAAE,cAAW,oBAAiB,QAAK,GAAG,KAA6B;AACxF,QACE,kBAAC,EAAkB,MAAnB;EACO;EACL,iBAAiB,KAAmB,MAAY,EAAgB,EAAQ,GAAG,KAAA;EAC3E,WAAW,EACT,8GACA,sJACA,oEACA,oDACA,2FACA,mFACA,EACD;EACD,GAAI;YAZN,CAcE,kBAAC,GAAD,EAAoB,CAAA,EACpB,kBAAC,QAAD;GAAM,WAAU;aAAhB,CACE,kBAAC,QAAD,EAAM,WAAU,kNAAmN,CAAA,EACnO,kBAAC,EAAkB,WAAnB;IAA6B,WAAU;cACrC,kBAAC,GAAD,EAAmB,MAAK,MAAO,CAAA;IACH,CAAA,CACzB;KACgB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { CheckboxProps } from "./Checkbox";
|
|
2
|
-
export { Checkbox, checkboxVariants } from "./Checkbox";
|
|
3
|
-
export type { ChipsCheckboxProps } from "./ChipsCheckbox";
|
|
4
|
-
export { ChipsCheckbox } from "./ChipsCheckbox";
|
|
1
|
+
export type { CheckboxProps } from "./Checkbox.js";
|
|
2
|
+
export { Checkbox, checkboxVariants } from "./Checkbox.js";
|
|
3
|
+
export type { ChipsCheckboxProps } from "./ChipsCheckbox.js";
|
|
4
|
+
export { ChipsCheckbox } from "./ChipsCheckbox.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use client";require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../Icon/index.cjs`),t=require(`../../utils.cjs`),n=require(`../IconButton/IconButton.cjs`),r=require(`../../utils/PortalEventBoundary.cjs`),i=require(`../../utils/popupPositioning.cjs`),a=require(`../../utils/popupArrow.cjs`),o=require(`../Button/Button.cjs`),s=require(`../Popover/Popover.cjs`);let c=require(`react/jsx-runtime`),l=require(`@base-ui/react/popover`);var u=20,d=10,f=t.cn(s.popoverContentBaseClassName,`aivex:w-[280px] aivex:bg-static-gray aivex:text-text-on-color`);function p({button:e,variant:n,className:r}){let{children:i,...a}=e;return(0,c.jsx)(o.Button,{variant:n,color:`primary`,size:`md`,className:t.cn(`aivex:text-text-on-color`,r),...a,children:i})}function m(e){return(0,c.jsx)(l.Popover.Root,{...e})}function h({ref:e,...t}){return(0,c.jsx)(l.Popover.Trigger,{ref:e,...t})}function g({className:o,title:m,children:h,tertiaryButton:g,secondaryButton:_,primaryButton:v,onClose:y,closeAriaLabel:b=`닫기`,container:x,keepMounted:S,ref:C,...w}){let[{sideOffset:T=8,...E},D]=i.splitPositioningProps(w),O=!!(g||_||v);return(0,c.jsx)(r.PortalEventBoundary,{children:(0,c.jsx)(l.Popover.Portal,{container:x,keepMounted:S,children:(0,c.jsx)(l.Popover.Positioner,{sideOffset:typeof T==`number`?T+d:e=>T(e)+d,className:s.popoverPositionerClassName,...E,children:(0,c.jsxs)(l.Popover.Popup,{ref:C,initialFocus:!1,className:t.cn(f,o),...D,children:[(m!=null||y!=null)&&(0,c.jsxs)(`div`,{className:`aivex:flex aivex:w-full aivex:items-center aivex:gap-2.5 aivex:px-xs`,children:[(0,c.jsx)(`div`,{className:`aivex:min-w-0 aivex:flex-1 aivex:truncate aivex:text-label-lg`,children:m}),y!=null&&(0,c.jsx)(n.IconButton,{"aria-label":b,color:`white`,size:`xs`,onClick:y,children:(0,c.jsx)(e.CloseIcon,{size:20})})]}),(0,c.jsx)(`div`,{className:`aivex:flex aivex:max-h-[200px] aivex:min-h-[40px] aivex:w-full aivex:flex-col aivex:gap-md aivex:overflow-y-auto aivex:text-body-md-regular`,children:h}),O&&(0,c.jsxs)(`div`,{className:`aivex:flex aivex:w-full aivex:items-center aivex:justify-end aivex:gap-md`,children:[(0,c.jsx)(`div`,{className:`aivex:flex aivex:min-w-0 aivex:flex-1 aivex:items-start`,children:g&&(0,c.jsx)(p,{button:g,variant:`ghost`,className:`aivex:min-w-9`})}),(0,c.jsxs)(`div`,{className:`aivex:flex aivex:items-start aivex:gap-md`,children:[_&&(0,c.jsx)(p,{button:_,variant:`ghost`,className:`aivex:min-w-[60px]`}),v&&(0,c.jsx)(p,{button:v,variant:`solid`,className:`aivex:min-w-[60px]`})]})]}),(0,c.jsx)(l.Popover.Arrow,{className:a.popupArrowClassName,style:a.popupArrowStyle(u,d),children:(0,c.jsx)(a.PopupArrowShape,{width:u,height:d,className:`aivex:fill-static-gray`})})]})})})})}var _=Object.assign(m,{Trigger:h,Content:g});exports.Coachmark=_;
|
|
2
|
+
//# sourceMappingURL=Coachmark.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Coachmark.cjs","names":[],"sources":["../../../src/components/Coachmark/Coachmark.tsx"],"sourcesContent":["\"use client\";\n\nimport { Popover as PopoverPrimitive } from \"@base-ui/react/popover\";\nimport type { ReactNode, Ref } from \"react\";\nimport { Button, type ButtonProps } from \"@/components/Button\";\nimport { CloseIcon } from \"@/components/Icon\";\nimport { IconButton } from \"@/components/IconButton\";\nimport {\n popoverContentBaseClassName,\n popoverPositionerClassName,\n} from \"@/components/Popover/Popover\";\nimport { cn } from \"@/utils/cn\";\nimport type { DataAttributes } from \"@/utils/dataAttributes\";\nimport { PortalEventBoundary } from \"@/utils/PortalEventBoundary\";\nimport { PopupArrowShape, popupArrowClassName, popupArrowStyle } from \"@/utils/popupArrow\";\nimport { type PopupPositioningProps, splitPositioningProps } from \"@/utils/popupPositioning\";\n\n// 화살표 크기(px). 말풍선은 화살표 끝이 기준 요소에서 sideOffset만큼 떨어지도록 그 길이만큼 더 띄운다.\nconst ARROW_WIDTH = 20;\nconst ARROW_HEIGHT = 10;\n\n// 진한 배경(static-gray) 위 코치마크 콘텐츠. side/충돌 회피/화살표 위치는 Positioner가 처리한다.\n// 폭 280px은 Figma Popover-Bubble(3848:11976) 사양이다(Popover-Dropdown은 277px).\nconst contentClassName = cn(\n popoverContentBaseClassName,\n \"aivex:w-[280px] aivex:bg-static-gray aivex:text-text-on-color\",\n);\n\n/** 버튼은 라벨을 children으로 받고, 스타일(variant/color/size)은 Coachmark가 고정한다. */\nexport interface CoachmarkButtonProps\n extends Omit<\n ButtonProps,\n \"children\" | \"className\" | \"color\" | \"ref\" | \"render\" | \"size\" | \"style\" | \"variant\"\n >,\n DataAttributes {\n /** 버튼 라벨 */\n children: ReactNode;\n}\n\nfunction CoachmarkActionButton({\n button,\n variant,\n className,\n}: {\n button: CoachmarkButtonProps;\n variant: ButtonProps[\"variant\"];\n className?: string;\n}) {\n const { children, ...props } = button;\n\n return (\n <Button\n variant={variant}\n color=\"primary\"\n size=\"md\"\n // 진한 배경 위라 세 버튼 모두 text/on-color(흰색)다. ghost의 기본 브랜드색을 덮는다.\n className={cn(\"aivex:text-text-on-color\", className)}\n {...props}\n >\n {children}\n </Button>\n );\n}\n\n// ─── Root ───────────────────────────────────────────────────────────────────\n/** Coachmark 루트 props: `open`·`defaultOpen`·`onOpenChange(open, details)`·`modal`. */\ntype CoachmarkRootProps = PopoverPrimitive.Root.Props;\n\n/** 코치마크의 열림 상태를 관리하는 루트. */\nfunction CoachmarkRoot(props: CoachmarkRootProps) {\n return <PopoverPrimitive.Root {...props} />;\n}\n\n// ─── Trigger ─────────────────────────────────────────────────────────────────\n/** Coachmark.Trigger props — button 속성 + `render`. */\ntype CoachmarkTriggerProps = PopoverPrimitive.Trigger.Props & {\n ref?: Ref<HTMLButtonElement>;\n};\n\n/** 클릭하면 코치마크를 여닫는 기준 요소. `render`로 임의의 버튼을 넘긴다. */\nfunction CoachmarkTrigger({ ref, ...props }: CoachmarkTriggerProps) {\n return <PopoverPrimitive.Trigger ref={ref} {...props} />;\n}\n\n// ─── Content ─────────────────────────────────────────────────────────────────\n/** Coachmark.Content props. `side`·`align`·`sideOffset`·`anchor` 등 위치 props도 받는다. */\ninterface CoachmarkContentProps\n extends Omit<PopoverPrimitive.Popup.Props, \"children\" | \"className\" | \"title\">,\n PopupPositioningProps {\n className?: string;\n /** 상단 타이틀. 생략하면 타이틀 영역을 렌더하지 않는다. */\n title?: ReactNode;\n /** 본문(텍스트·이미지 등, min 40 / max 200px, 초과 시 스크롤). */\n children?: ReactNode;\n /** 좌측 하단 보조 버튼(예: 넘기기). */\n tertiaryButton?: CoachmarkButtonProps;\n /** 우측 보조 버튼(예: 이전). */\n secondaryButton?: CoachmarkButtonProps;\n /** 우측 주요 버튼(예: 다음). */\n primaryButton?: CoachmarkButtonProps;\n /** 지정하면 타이틀 우측에 닫기(X) 버튼을 렌더한다. */\n onClose?: () => void;\n /** 포털 대상. 생략하면 document.body — Shadow DOM 안에서는 그 루트 안의 요소를 넘긴다. */\n container?: PopoverPrimitive.Portal.Props[\"container\"];\n /**\n * 닫혀 있을 때도 DOM에 남겨 둔다.\n * @default false\n */\n keepMounted?: boolean;\n /**\n * 닫기 버튼 aria-label\n * @default \"닫기\"\n */\n closeAriaLabel?: string;\n ref?: Ref<HTMLDivElement>;\n}\n\n/**\n * 진한 배경의 말풍선 본체. 포털로 렌더링되고 열릴 때 포커스를 가져가지 않는다.\n * `sideOffset` 기본값은 8(화살표 끝과 기준 요소 사이 간격)이다.\n * 클릭 트리거 없이 특정 요소만 가리키려면 `anchor`에 그 요소나 ref를 넘긴다.\n */\nfunction CoachmarkContent({\n className,\n title,\n children,\n tertiaryButton,\n secondaryButton,\n primaryButton,\n onClose,\n closeAriaLabel = \"닫기\",\n container,\n keepMounted,\n ref,\n ...props\n}: CoachmarkContentProps) {\n const [{ sideOffset = 8, ...positioning }, popupProps] = splitPositioningProps(props);\n const hasBtnArea = Boolean(tertiaryButton || secondaryButton || primaryButton);\n\n return (\n <PortalEventBoundary>\n <PopoverPrimitive.Portal container={container} keepMounted={keepMounted}>\n <PopoverPrimitive.Positioner\n sideOffset={\n typeof sideOffset === \"number\"\n ? sideOffset + ARROW_HEIGHT\n : (data) => sideOffset(data) + ARROW_HEIGHT\n }\n className={popoverPositionerClassName}\n {...positioning}\n >\n <PopoverPrimitive.Popup\n ref={ref}\n // 코치마크는 페이지 흐름을 방해하지 않도록 열릴 때 포커스를 뺏지 않는다.\n initialFocus={false}\n className={cn(contentClassName, className)}\n {...popupProps}\n >\n {(title != null || onClose != null) && (\n <div className=\"aivex:flex aivex:w-full aivex:items-center aivex:gap-2.5 aivex:px-xs\">\n <div className=\"aivex:min-w-0 aivex:flex-1 aivex:truncate aivex:text-label-lg\">\n {title}\n </div>\n {onClose != null && (\n <IconButton aria-label={closeAriaLabel} color=\"white\" size=\"xs\" onClick={onClose}>\n <CloseIcon size={20} />\n </IconButton>\n )}\n </div>\n )}\n\n <div className=\"aivex:flex aivex:max-h-[200px] aivex:min-h-[40px] aivex:w-full aivex:flex-col aivex:gap-md aivex:overflow-y-auto aivex:text-body-md-regular\">\n {children}\n </div>\n\n {hasBtnArea && (\n <div className=\"aivex:flex aivex:w-full aivex:items-center aivex:justify-end aivex:gap-md\">\n <div className=\"aivex:flex aivex:min-w-0 aivex:flex-1 aivex:items-start\">\n {tertiaryButton && (\n <CoachmarkActionButton\n button={tertiaryButton}\n variant=\"ghost\"\n className=\"aivex:min-w-9\"\n />\n )}\n </div>\n <div className=\"aivex:flex aivex:items-start aivex:gap-md\">\n {secondaryButton && (\n <CoachmarkActionButton\n button={secondaryButton}\n variant=\"ghost\"\n className=\"aivex:min-w-[60px]\"\n />\n )}\n {primaryButton && (\n <CoachmarkActionButton\n button={primaryButton}\n variant=\"solid\"\n className=\"aivex:min-w-[60px]\"\n />\n )}\n </div>\n </div>\n )}\n\n <PopoverPrimitive.Arrow\n className={popupArrowClassName}\n style={popupArrowStyle(ARROW_WIDTH, ARROW_HEIGHT)}\n >\n <PopupArrowShape\n width={ARROW_WIDTH}\n height={ARROW_HEIGHT}\n className=\"aivex:fill-static-gray\"\n />\n </PopoverPrimitive.Arrow>\n </PopoverPrimitive.Popup>\n </PopoverPrimitive.Positioner>\n </PopoverPrimitive.Portal>\n </PortalEventBoundary>\n );\n}\n\n/**\n * 특정 요소를 가리키며 온보딩·기능 안내를 띄우는 진한 말풍선 코치마크.\n *\n * Figma Popover-Bubble(3848:11976). side/정렬/충돌 회피/화살표 위치는 자동으로 처리된다.\n * 진한 배경 위에 타이틀·닫기·본문·버튼(넘기기/이전/다음)을 담는다. 일반 드롭다운·폼 팝업은 `Popover`, 짧은 hover 설명은 `Tooltip`을 쓴다.\n * 구성: `Coachmark`(루트, `open`/`onOpenChange`) > `Coachmark.Trigger`(render) + `Coachmark.Content`.\n * 클릭 트리거 없이 가리키기만 하려면 Trigger를 빼고 `Coachmark.Content`의 `anchor`에 기준 요소(ref)를 넘긴다.\n * 바깥 클릭 등으로도 닫히므로 보통 `open`을 제어형으로 관리한다.\n *\n * @example\n * ```tsx\n * import { Button, Coachmark } from \"@aivex/ui\";\n *\n * const [open, setOpen] = useState(true);\n * const anchorRef = useRef<HTMLButtonElement>(null);\n *\n * <Button ref={anchorRef} variant=\"outline\" color=\"secondary\">새 기능</Button>\n * <Coachmark open={open} onOpenChange={setOpen}>\n * <Coachmark.Content\n * anchor={anchorRef}\n * side=\"bottom\"\n * title=\"새 기능 안내\"\n * onClose={() => setOpen(false)}\n * tertiaryButton={{ children: \"넘기기\", onClick: () => setOpen(false) }}\n * primaryButton={{ children: \"다음\", onClick: goNext }}\n * >\n * 여기서 데이터를 내보낼 수 있습니다.\n * </Coachmark.Content>\n * </Coachmark>\n * ```\n */\nconst Coachmark = Object.assign(CoachmarkRoot, {\n Trigger: CoachmarkTrigger,\n Content: CoachmarkContent,\n});\n\nexport type { CoachmarkContentProps, CoachmarkRootProps, CoachmarkTriggerProps };\nexport { Coachmark };\n"],"mappings":"0cAkBA,IAAM,EAAc,GACd,EAAe,GAIf,EAAmB,EAAA,GACvB,EAAA,4BACA,gEACD,CAaD,SAAS,EAAsB,CAC7B,SACA,UACA,aAKC,CACD,GAAM,CAAE,WAAU,GAAG,GAAU,EAE/B,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CACW,UACT,MAAM,UACN,KAAK,KAEL,UAAW,EAAA,GAAG,2BAA4B,EAAU,CACpD,GAAI,EAEH,WACM,CAAA,CASb,SAAS,EAAc,EAA2B,CAChD,OAAO,EAAA,EAAA,KAAC,EAAA,QAAiB,KAAlB,CAAuB,GAAI,EAAS,CAAA,CAU7C,SAAS,EAAiB,CAAE,MAAK,GAAG,GAAgC,CAClE,OAAO,EAAA,EAAA,KAAC,EAAA,QAAiB,QAAlB,CAA+B,MAAK,GAAI,EAAS,CAAA,CAyC1D,SAAS,EAAiB,CACxB,YACA,QACA,WACA,iBACA,kBACA,gBACA,UACA,iBAAiB,KACjB,YACA,cACA,MACA,GAAG,GACqB,CACxB,GAAM,CAAC,CAAE,aAAa,EAAG,GAAG,GAAe,GAAc,EAAA,sBAAsB,EAAM,CAC/E,EAAa,GAAQ,GAAkB,GAAmB,GAEhE,OACE,EAAA,EAAA,KAAC,EAAA,oBAAD,CAAA,UACE,EAAA,EAAA,KAAC,EAAA,QAAiB,OAAlB,CAAoC,YAAwB,wBAC1D,EAAA,EAAA,KAAC,EAAA,QAAiB,WAAlB,CACE,WACE,OAAO,GAAe,SAClB,EAAa,EACZ,GAAS,EAAW,EAAK,CAAG,EAEnC,UAAW,EAAA,2BACX,GAAI,YAEJ,EAAA,EAAA,MAAC,EAAA,QAAiB,MAAlB,CACO,MAEL,aAAc,GACd,UAAW,EAAA,GAAG,EAAkB,EAAU,CAC1C,GAAI,WALN,EAOI,GAAS,MAAQ,GAAW,QAC5B,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,gFAAf,EACE,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,yEACZ,EACG,CAAA,CACL,GAAW,OACV,EAAA,EAAA,KAAC,EAAA,WAAD,CAAY,aAAY,EAAgB,MAAM,QAAQ,KAAK,KAAK,QAAS,YACvE,EAAA,EAAA,KAAC,EAAA,UAAD,CAAW,KAAM,GAAM,CAAA,CACZ,CAAA,CAEX,IAGR,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,8IACZ,WACG,CAAA,CAEL,IACC,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,qFAAf,EACE,EAAA,EAAA,KAAC,MAAD,CAAK,UAAU,mEACZ,IACC,EAAA,EAAA,KAAC,EAAD,CACE,OAAQ,EACR,QAAQ,QACR,UAAU,gBACV,CAAA,CAEA,CAAA,EACN,EAAA,EAAA,MAAC,MAAD,CAAK,UAAU,qDAAf,CACG,IACC,EAAA,EAAA,KAAC,EAAD,CACE,OAAQ,EACR,QAAQ,QACR,UAAU,qBACV,CAAA,CAEH,IACC,EAAA,EAAA,KAAC,EAAD,CACE,OAAQ,EACR,QAAQ,QACR,UAAU,qBACV,CAAA,CAEA,GACF,IAGR,EAAA,EAAA,KAAC,EAAA,QAAiB,MAAlB,CACE,UAAW,EAAA,oBACX,MAAO,EAAA,gBAAgB,EAAa,EAAa,WAEjD,EAAA,EAAA,KAAC,EAAA,gBAAD,CACE,MAAO,EACP,OAAQ,EACR,UAAU,yBACV,CAAA,CACqB,CAAA,CACF,GACG,CAAA,CACN,CAAA,CACN,CAAA,CAmC1B,IAAM,EAAY,OAAO,OAAO,EAAe,CAC7C,QAAS,EACT,QAAS,EACV,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
|
|
2
|
+
import type { ReactNode, Ref } from "react";
|
|
3
|
+
import { type ButtonProps } from "../Button/index.cjs";
|
|
4
|
+
import type { DataAttributes } from "../../utils/dataAttributes.cjs";
|
|
5
|
+
import { type PopupPositioningProps } from "../../utils/popupPositioning.cjs";
|
|
6
|
+
/** 버튼은 라벨을 children으로 받고, 스타일(variant/color/size)은 Coachmark가 고정한다. */
|
|
7
|
+
export interface CoachmarkButtonProps extends Omit<ButtonProps, "children" | "className" | "color" | "ref" | "render" | "size" | "style" | "variant">, DataAttributes {
|
|
8
|
+
/** 버튼 라벨 */
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
/** Coachmark 루트 props: `open`·`defaultOpen`·`onOpenChange(open, details)`·`modal`. */
|
|
12
|
+
type CoachmarkRootProps = PopoverPrimitive.Root.Props;
|
|
13
|
+
/** 코치마크의 열림 상태를 관리하는 루트. */
|
|
14
|
+
declare function CoachmarkRoot(props: CoachmarkRootProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
/** Coachmark.Trigger props — button 속성 + `render`. */
|
|
16
|
+
type CoachmarkTriggerProps = PopoverPrimitive.Trigger.Props & {
|
|
17
|
+
ref?: Ref<HTMLButtonElement>;
|
|
18
|
+
};
|
|
19
|
+
/** 클릭하면 코치마크를 여닫는 기준 요소. `render`로 임의의 버튼을 넘긴다. */
|
|
20
|
+
declare function CoachmarkTrigger({ ref, ...props }: CoachmarkTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
/** Coachmark.Content props. `side`·`align`·`sideOffset`·`anchor` 등 위치 props도 받는다. */
|
|
22
|
+
interface CoachmarkContentProps extends Omit<PopoverPrimitive.Popup.Props, "children" | "className" | "title">, PopupPositioningProps {
|
|
23
|
+
className?: string;
|
|
24
|
+
/** 상단 타이틀. 생략하면 타이틀 영역을 렌더하지 않는다. */
|
|
25
|
+
title?: ReactNode;
|
|
26
|
+
/** 본문(텍스트·이미지 등, min 40 / max 200px, 초과 시 스크롤). */
|
|
27
|
+
children?: ReactNode;
|
|
28
|
+
/** 좌측 하단 보조 버튼(예: 넘기기). */
|
|
29
|
+
tertiaryButton?: CoachmarkButtonProps;
|
|
30
|
+
/** 우측 보조 버튼(예: 이전). */
|
|
31
|
+
secondaryButton?: CoachmarkButtonProps;
|
|
32
|
+
/** 우측 주요 버튼(예: 다음). */
|
|
33
|
+
primaryButton?: CoachmarkButtonProps;
|
|
34
|
+
/** 지정하면 타이틀 우측에 닫기(X) 버튼을 렌더한다. */
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
/** 포털 대상. 생략하면 document.body — Shadow DOM 안에서는 그 루트 안의 요소를 넘긴다. */
|
|
37
|
+
container?: PopoverPrimitive.Portal.Props["container"];
|
|
38
|
+
/**
|
|
39
|
+
* 닫혀 있을 때도 DOM에 남겨 둔다.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
keepMounted?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* 닫기 버튼 aria-label
|
|
45
|
+
* @default "닫기"
|
|
46
|
+
*/
|
|
47
|
+
closeAriaLabel?: string;
|
|
48
|
+
ref?: Ref<HTMLDivElement>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 진한 배경의 말풍선 본체. 포털로 렌더링되고 열릴 때 포커스를 가져가지 않는다.
|
|
52
|
+
* `sideOffset` 기본값은 8(화살표 끝과 기준 요소 사이 간격)이다.
|
|
53
|
+
* 클릭 트리거 없이 특정 요소만 가리키려면 `anchor`에 그 요소나 ref를 넘긴다.
|
|
54
|
+
*/
|
|
55
|
+
declare function CoachmarkContent({ className, title, children, tertiaryButton, secondaryButton, primaryButton, onClose, closeAriaLabel, container, keepMounted, ref, ...props }: CoachmarkContentProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
/**
|
|
57
|
+
* 특정 요소를 가리키며 온보딩·기능 안내를 띄우는 진한 말풍선 코치마크.
|
|
58
|
+
*
|
|
59
|
+
* Figma Popover-Bubble(3848:11976). side/정렬/충돌 회피/화살표 위치는 자동으로 처리된다.
|
|
60
|
+
* 진한 배경 위에 타이틀·닫기·본문·버튼(넘기기/이전/다음)을 담는다. 일반 드롭다운·폼 팝업은 `Popover`, 짧은 hover 설명은 `Tooltip`을 쓴다.
|
|
61
|
+
* 구성: `Coachmark`(루트, `open`/`onOpenChange`) > `Coachmark.Trigger`(render) + `Coachmark.Content`.
|
|
62
|
+
* 클릭 트리거 없이 가리키기만 하려면 Trigger를 빼고 `Coachmark.Content`의 `anchor`에 기준 요소(ref)를 넘긴다.
|
|
63
|
+
* 바깥 클릭 등으로도 닫히므로 보통 `open`을 제어형으로 관리한다.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```tsx
|
|
67
|
+
* import { Button, Coachmark } from "@aivex/ui";
|
|
68
|
+
*
|
|
69
|
+
* const [open, setOpen] = useState(true);
|
|
70
|
+
* const anchorRef = useRef<HTMLButtonElement>(null);
|
|
71
|
+
*
|
|
72
|
+
* <Button ref={anchorRef} variant="outline" color="secondary">새 기능</Button>
|
|
73
|
+
* <Coachmark open={open} onOpenChange={setOpen}>
|
|
74
|
+
* <Coachmark.Content
|
|
75
|
+
* anchor={anchorRef}
|
|
76
|
+
* side="bottom"
|
|
77
|
+
* title="새 기능 안내"
|
|
78
|
+
* onClose={() => setOpen(false)}
|
|
79
|
+
* tertiaryButton={{ children: "넘기기", onClick: () => setOpen(false) }}
|
|
80
|
+
* primaryButton={{ children: "다음", onClick: goNext }}
|
|
81
|
+
* >
|
|
82
|
+
* 여기서 데이터를 내보낼 수 있습니다.
|
|
83
|
+
* </Coachmark.Content>
|
|
84
|
+
* </Coachmark>
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
declare const Coachmark: typeof CoachmarkRoot & {
|
|
88
|
+
Trigger: typeof CoachmarkTrigger;
|
|
89
|
+
Content: typeof CoachmarkContent;
|
|
90
|
+
};
|
|
91
|
+
export type { CoachmarkContentProps, CoachmarkRootProps, CoachmarkTriggerProps };
|
|
92
|
+
export { Coachmark };
|