@yahoo/uds-v5-wip 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion.config.d.ts +2 -0
- package/dist/components/accordion.config.js +2 -0
- package/dist/components/accordion.d.ts +2 -0
- package/dist/components/accordion.js +2 -0
- package/dist/components/alert.config.d.ts +2 -0
- package/dist/components/alert.config.js +2 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/anchor.config.d.ts +2 -0
- package/dist/components/anchor.config.js +2 -0
- package/dist/components/anchor.d.ts +2 -0
- package/dist/components/anchor.js +2 -0
- package/dist/components/article.d.ts +2 -0
- package/dist/components/article.js +2 -0
- package/dist/components/aside.d.ts +2 -0
- package/dist/components/aside.js +2 -0
- package/dist/components/avatar-group.config.d.ts +2 -0
- package/dist/components/avatar-group.config.js +2 -0
- package/dist/components/avatar-group.d.ts +2 -0
- package/dist/components/avatar-group.js +2 -0
- package/dist/components/avatar.config.d.ts +2 -0
- package/dist/components/avatar.config.js +2 -0
- package/dist/components/avatar.d.ts +2 -0
- package/dist/components/avatar.js +2 -0
- package/dist/components/badge.config.d.ts +2 -0
- package/dist/components/badge.config.js +2 -0
- package/dist/components/badge.d.ts +2 -0
- package/dist/components/badge.js +2 -0
- package/dist/components/box.d.ts +2 -0
- package/dist/components/box.js +2 -0
- package/dist/components/breadcrumb.config.d.ts +2 -0
- package/dist/components/breadcrumb.config.js +2 -0
- package/dist/components/breadcrumb.d.ts +2 -0
- package/dist/components/breadcrumb.js +2 -0
- package/dist/components/button.config.d.ts +2 -0
- package/dist/components/button.config.js +2 -0
- package/dist/components/button.d.ts +2 -0
- package/dist/components/button.js +2 -0
- package/dist/components/card.config.d.ts +2 -0
- package/dist/components/card.config.js +2 -0
- package/dist/components/card.d.ts +2 -0
- package/dist/components/card.js +2 -0
- package/dist/components/collapsible.config.d.ts +2 -0
- package/dist/components/collapsible.config.js +2 -0
- package/dist/components/collapsible.d.ts +2 -0
- package/dist/components/collapsible.js +2 -0
- package/dist/components/command.config.d.ts +2 -0
- package/dist/components/command.config.js +2 -0
- package/dist/components/command.d.ts +2 -0
- package/dist/components/command.js +2 -0
- package/dist/components/control-color.config.d.ts +2 -0
- package/dist/components/control-color.config.js +2 -0
- package/dist/components/control-color.d.ts +2 -0
- package/dist/components/control-color.js +2 -0
- package/dist/components/control-curve.config.d.ts +2 -0
- package/dist/components/control-curve.config.js +2 -0
- package/dist/components/control-curve.d.ts +2 -0
- package/dist/components/control-curve.js +2 -0
- package/dist/components/control-folder.config.d.ts +2 -0
- package/dist/components/control-folder.config.js +2 -0
- package/dist/components/control-folder.d.ts +2 -0
- package/dist/components/control-folder.js +2 -0
- package/dist/components/control-group.config.d.ts +2 -0
- package/dist/components/control-group.config.js +2 -0
- package/dist/components/control-group.d.ts +2 -0
- package/dist/components/control-group.js +2 -0
- package/dist/components/control-knob.config.d.ts +2 -0
- package/dist/components/control-knob.config.js +2 -0
- package/dist/components/control-knob.d.ts +2 -0
- package/dist/components/control-knob.js +2 -0
- package/dist/components/control-panel.config.d.ts +2 -0
- package/dist/components/control-panel.config.js +2 -0
- package/dist/components/control-panel.d.ts +2 -0
- package/dist/components/control-panel.js +2 -0
- package/dist/components/control-select.config.d.ts +2 -0
- package/dist/components/control-select.config.js +2 -0
- package/dist/components/control-select.d.ts +2 -0
- package/dist/components/control-select.js +2 -0
- package/dist/components/control-slider.config.d.ts +2 -0
- package/dist/components/control-slider.config.js +2 -0
- package/dist/components/control-slider.d.ts +2 -0
- package/dist/components/control-slider.js +2 -0
- package/dist/components/control-spring.config.d.ts +2 -0
- package/dist/components/control-spring.config.js +2 -0
- package/dist/components/control-spring.d.ts +2 -0
- package/dist/components/control-spring.js +2 -0
- package/dist/components/control-stepper.config.d.ts +2 -0
- package/dist/components/control-stepper.config.js +2 -0
- package/dist/components/control-stepper.d.ts +2 -0
- package/dist/components/control-stepper.js +2 -0
- package/dist/components/control-toggle.config.d.ts +2 -0
- package/dist/components/control-toggle.config.js +2 -0
- package/dist/components/control-toggle.d.ts +2 -0
- package/dist/components/control-toggle.js +2 -0
- package/dist/components/dist/_slots.js +8 -0
- package/dist/components/dist/accordion.config.d.ts +432 -0
- package/dist/components/dist/accordion.config.js +81 -0
- package/dist/components/dist/accordion.d.ts +454 -0
- package/dist/components/dist/accordion.js +60 -0
- package/dist/components/dist/alert.config.d.ts +220 -0
- package/dist/components/dist/alert.config.js +54 -0
- package/dist/components/dist/alert.d.ts +231 -0
- package/dist/components/dist/alert.js +16 -0
- package/dist/components/dist/anchor.config.d.ts +251 -0
- package/dist/components/dist/anchor.config.js +22 -0
- package/dist/components/dist/anchor.d.ts +262 -0
- package/dist/components/dist/anchor.js +9 -0
- package/dist/components/dist/article.d.ts +12 -0
- package/dist/components/dist/article.js +9 -0
- package/dist/components/dist/aside.d.ts +12 -0
- package/dist/components/dist/aside.js +9 -0
- package/dist/components/dist/avatar-group.config.d.ts +316 -0
- package/dist/components/dist/avatar-group.config.js +33 -0
- package/dist/components/dist/avatar-group.d.ts +330 -0
- package/dist/components/dist/avatar-group.js +39 -0
- package/dist/components/dist/avatar.config.d.ts +198 -0
- package/dist/components/dist/avatar.config.js +49 -0
- package/dist/components/dist/avatar.d.ts +212 -0
- package/dist/components/dist/avatar.js +20 -0
- package/dist/components/dist/badge.config.d.ts +478 -0
- package/dist/components/dist/badge.config.js +99 -0
- package/dist/components/dist/badge.d.ts +490 -0
- package/dist/components/dist/badge.js +16 -0
- package/dist/components/dist/box.d.ts +15 -0
- package/dist/components/dist/box.js +9 -0
- package/dist/components/dist/breadcrumb.config.d.ts +391 -0
- package/dist/components/dist/breadcrumb.config.js +43 -0
- package/dist/components/dist/breadcrumb.d.ts +421 -0
- package/dist/components/dist/breadcrumb.js +119 -0
- package/dist/components/dist/button.config.d.ts +382 -0
- package/dist/components/dist/button.config.js +91 -0
- package/dist/components/dist/button.d.ts +404 -0
- package/dist/components/dist/button.js +35 -0
- package/dist/components/dist/card.config.d.ts +337 -0
- package/dist/components/dist/card.config.js +33 -0
- package/dist/components/dist/card.d.ts +353 -0
- package/dist/components/dist/card.js +27 -0
- package/dist/components/dist/collapsible.config.d.ts +46 -0
- package/dist/components/dist/collapsible.config.js +46 -0
- package/dist/components/dist/collapsible.d.ts +62 -0
- package/dist/components/dist/collapsible.js +38 -0
- package/dist/components/dist/command.config.d.ts +1614 -0
- package/dist/components/dist/command.config.js +170 -0
- package/dist/components/dist/command.d.ts +1723 -0
- package/dist/components/dist/command.js +341 -0
- package/dist/components/dist/control-color.config.d.ts +980 -0
- package/dist/components/dist/control-color.config.js +81 -0
- package/dist/components/dist/control-color.d.ts +996 -0
- package/dist/components/dist/control-color.js +64 -0
- package/dist/components/dist/control-curve.config.d.ts +19 -0
- package/dist/components/dist/control-curve.config.js +14 -0
- package/dist/components/dist/control-curve.d.ts +36 -0
- package/dist/components/dist/control-curve.js +81 -0
- package/dist/components/dist/control-folder.config.d.ts +178 -0
- package/dist/components/dist/control-folder.config.js +47 -0
- package/dist/components/dist/control-folder.d.ts +195 -0
- package/dist/components/dist/control-folder.js +41 -0
- package/dist/components/dist/control-group.config.d.ts +860 -0
- package/dist/components/dist/control-group.config.js +80 -0
- package/dist/components/dist/control-group.d.ts +882 -0
- package/dist/components/dist/control-group.js +89 -0
- package/dist/components/dist/control-knob.config.d.ts +793 -0
- package/dist/components/dist/control-knob.config.js +67 -0
- package/dist/components/dist/control-knob.d.ts +820 -0
- package/dist/components/dist/control-knob.js +148 -0
- package/dist/components/dist/control-panel.config.d.ts +403 -0
- package/dist/components/dist/control-panel.config.js +38 -0
- package/dist/components/dist/control-panel.d.ts +416 -0
- package/dist/components/dist/control-panel.js +22 -0
- package/dist/components/dist/control-select.config.d.ts +1177 -0
- package/dist/components/dist/control-select.config.js +102 -0
- package/dist/components/dist/control-select.d.ts +1201 -0
- package/dist/components/dist/control-select.js +63 -0
- package/dist/components/dist/control-slider.config.d.ts +105 -0
- package/dist/components/dist/control-slider.config.js +98 -0
- package/dist/components/dist/control-slider.d.ts +128 -0
- package/dist/components/dist/control-slider.js +87 -0
- package/dist/components/dist/control-spring.config.d.ts +418 -0
- package/dist/components/dist/control-spring.config.js +36 -0
- package/dist/components/dist/control-spring.d.ts +440 -0
- package/dist/components/dist/control-spring.js +136 -0
- package/dist/components/dist/control-stepper.config.d.ts +1085 -0
- package/dist/components/dist/control-stepper.config.js +108 -0
- package/dist/components/dist/control-stepper.d.ts +1105 -0
- package/dist/components/dist/control-stepper.js +109 -0
- package/dist/components/dist/control-toggle.config.d.ts +408 -0
- package/dist/components/dist/control-toggle.config.js +26 -0
- package/dist/components/dist/control-toggle.d.ts +421 -0
- package/dist/components/dist/control-toggle.js +36 -0
- package/dist/components/dist/createSlot.d.ts +9 -0
- package/dist/components/dist/createSlot.js +89 -0
- package/dist/components/dist/dropdown.config.d.ts +921 -0
- package/dist/components/dist/dropdown.config.js +107 -0
- package/dist/components/dist/dropdown.d.ts +951 -0
- package/dist/components/dist/dropdown.js +92 -0
- package/dist/components/dist/empty-state.config.d.ts +397 -0
- package/dist/components/dist/empty-state.config.js +53 -0
- package/dist/components/dist/empty-state.d.ts +417 -0
- package/dist/components/dist/empty-state.js +33 -0
- package/dist/components/dist/footer.d.ts +12 -0
- package/dist/components/dist/footer.js +9 -0
- package/dist/components/dist/grid.d.ts +42 -0
- package/dist/components/dist/grid.js +34 -0
- package/dist/components/dist/header.d.ts +12 -0
- package/dist/components/dist/header.js +9 -0
- package/dist/components/dist/hstack.d.ts +16 -0
- package/dist/components/dist/hstack.js +21 -0
- package/dist/components/dist/image.d.ts +20 -0
- package/dist/components/dist/image.js +9 -0
- package/dist/components/dist/input.config.d.ts +59 -0
- package/dist/components/dist/input.config.js +42 -0
- package/dist/components/dist/input.d.ts +68 -0
- package/dist/components/dist/input.js +14 -0
- package/dist/components/dist/item.config.d.ts +352 -0
- package/dist/components/dist/item.config.js +83 -0
- package/dist/components/dist/item.d.ts +375 -0
- package/dist/components/dist/item.js +51 -0
- package/dist/components/dist/list.d.ts +20 -0
- package/dist/components/dist/list.js +21 -0
- package/dist/components/dist/main.d.ts +12 -0
- package/dist/components/dist/main.js +9 -0
- package/dist/components/dist/modal.config.d.ts +398 -0
- package/dist/components/dist/modal.config.js +92 -0
- package/dist/components/dist/modal.d.ts +434 -0
- package/dist/components/dist/modal.js +125 -0
- package/dist/components/dist/nav-header.config.d.ts +159 -0
- package/dist/components/dist/nav-header.config.js +26 -0
- package/dist/components/dist/nav-header.d.ts +174 -0
- package/dist/components/dist/nav-header.js +23 -0
- package/dist/components/dist/nav.d.ts +12 -0
- package/dist/components/dist/nav.js +9 -0
- package/dist/components/dist/preset-bar.config.d.ts +193 -0
- package/dist/components/dist/preset-bar.config.js +39 -0
- package/dist/components/dist/preset-bar.d.ts +216 -0
- package/dist/components/dist/preset-bar.js +71 -0
- package/dist/components/dist/presets/index.d.ts +17675 -0
- package/dist/components/dist/presets/index.js +97 -0
- package/dist/components/dist/pressable.d.ts +12 -0
- package/dist/components/dist/pressable.js +9 -0
- package/dist/components/dist/progress.config.d.ts +297 -0
- package/dist/components/dist/progress.config.js +35 -0
- package/dist/components/dist/progress.d.ts +312 -0
- package/dist/components/dist/progress.js +43 -0
- package/dist/components/dist/section.d.ts +12 -0
- package/dist/components/dist/section.js +9 -0
- package/dist/components/dist/select.config.d.ts +32 -0
- package/dist/components/dist/select.config.js +25 -0
- package/dist/components/dist/select.d.ts +46 -0
- package/dist/components/dist/select.js +13 -0
- package/dist/components/dist/sheet.config.d.ts +246 -0
- package/dist/components/dist/sheet.config.js +99 -0
- package/dist/components/dist/sheet.d.ts +268 -0
- package/dist/components/dist/sheet.js +53 -0
- package/dist/components/dist/sidebar.config.d.ts +1652 -0
- package/dist/components/dist/sidebar.config.js +217 -0
- package/dist/components/dist/sidebar.d.ts +1826 -0
- package/dist/components/dist/sidebar.js +496 -0
- package/dist/components/dist/skeleton.config.d.ts +17 -0
- package/dist/components/dist/skeleton.config.js +10 -0
- package/dist/components/dist/skeleton.d.ts +28 -0
- package/dist/components/dist/skeleton.js +16 -0
- package/dist/components/dist/slider.config.d.ts +45 -0
- package/dist/components/dist/slider.config.js +40 -0
- package/dist/components/dist/slider.d.ts +71 -0
- package/dist/components/dist/slider.js +247 -0
- package/dist/components/dist/spinner.config.d.ts +35 -0
- package/dist/components/dist/spinner.config.js +24 -0
- package/dist/components/dist/spinner.d.ts +43 -0
- package/dist/components/dist/spinner.js +29 -0
- package/dist/components/dist/svg.d.ts +22 -0
- package/dist/components/dist/svg.js +17 -0
- package/dist/components/dist/switch.config.d.ts +354 -0
- package/dist/components/dist/switch.config.js +47 -0
- package/dist/components/dist/switch.d.ts +371 -0
- package/dist/components/dist/switch.js +32 -0
- package/dist/components/dist/table.d.ts +37 -0
- package/dist/components/dist/table.js +29 -0
- package/dist/components/dist/tabs.config.d.ts +612 -0
- package/dist/components/dist/tabs.config.js +56 -0
- package/dist/components/dist/tabs.d.ts +633 -0
- package/dist/components/dist/tabs.js +77 -0
- package/dist/components/dist/text.config.d.ts +307 -0
- package/dist/components/dist/text.config.js +149 -0
- package/dist/components/dist/text.d.ts +206 -0
- package/dist/components/dist/text.js +12 -0
- package/dist/components/dist/textarea.config.d.ts +353 -0
- package/dist/components/dist/textarea.config.js +57 -0
- package/dist/components/dist/textarea.d.ts +363 -0
- package/dist/components/dist/textarea.js +9 -0
- package/dist/components/dist/toast.config.d.ts +336 -0
- package/dist/components/dist/toast.config.js +145 -0
- package/dist/components/dist/toast.d.ts +427 -0
- package/dist/components/dist/toast.js +159 -0
- package/dist/components/dist/tooltip.config.d.ts +194 -0
- package/dist/components/dist/tooltip.config.js +40 -0
- package/dist/components/dist/tooltip.d.ts +207 -0
- package/dist/components/dist/tooltip.js +28 -0
- package/dist/components/dist/vstack.d.ts +16 -0
- package/dist/components/dist/vstack.js +20 -0
- package/dist/components/dropdown.config.d.ts +2 -0
- package/dist/components/dropdown.config.js +2 -0
- package/dist/components/dropdown.d.ts +2 -0
- package/dist/components/dropdown.js +2 -0
- package/dist/components/empty-state.config.d.ts +2 -0
- package/dist/components/empty-state.config.js +2 -0
- package/dist/components/empty-state.d.ts +2 -0
- package/dist/components/empty-state.js +2 -0
- package/dist/components/footer.d.ts +2 -0
- package/dist/components/footer.js +2 -0
- package/dist/components/grid.d.ts +2 -0
- package/dist/components/grid.js +2 -0
- package/dist/components/header.d.ts +2 -0
- package/dist/components/header.js +2 -0
- package/dist/components/hstack.d.ts +2 -0
- package/dist/components/hstack.js +2 -0
- package/dist/components/image.d.ts +2 -0
- package/dist/components/image.js +2 -0
- package/dist/components/input.config.d.ts +2 -0
- package/dist/components/input.config.js +2 -0
- package/dist/components/input.d.ts +2 -0
- package/dist/components/input.js +2 -0
- package/dist/components/item.config.d.ts +2 -0
- package/dist/components/item.config.js +2 -0
- package/dist/components/item.d.ts +2 -0
- package/dist/components/item.js +2 -0
- package/dist/components/list.d.ts +2 -0
- package/dist/components/list.js +2 -0
- package/dist/components/main.d.ts +2 -0
- package/dist/components/main.js +2 -0
- package/dist/components/modal.config.d.ts +2 -0
- package/dist/components/modal.config.js +2 -0
- package/dist/components/modal.d.ts +2 -0
- package/dist/components/modal.js +2 -0
- package/dist/components/nav-header.config.d.ts +2 -0
- package/dist/components/nav-header.config.js +2 -0
- package/dist/components/nav-header.d.ts +2 -0
- package/dist/components/nav-header.js +2 -0
- package/dist/components/nav.d.ts +2 -0
- package/dist/components/nav.js +2 -0
- package/dist/components/preset-bar.config.d.ts +2 -0
- package/dist/components/preset-bar.config.js +2 -0
- package/dist/components/preset-bar.d.ts +2 -0
- package/dist/components/preset-bar.js +2 -0
- package/dist/components/presets/index.d.ts +44 -0
- package/dist/components/presets/index.js +44 -0
- package/dist/components/pressable.d.ts +2 -0
- package/dist/components/pressable.js +2 -0
- package/dist/components/progress.config.d.ts +2 -0
- package/dist/components/progress.config.js +2 -0
- package/dist/components/progress.d.ts +2 -0
- package/dist/components/progress.js +2 -0
- package/dist/components/section.d.ts +2 -0
- package/dist/components/section.js +2 -0
- package/dist/components/select.config.d.ts +2 -0
- package/dist/components/select.config.js +2 -0
- package/dist/components/select.d.ts +2 -0
- package/dist/components/select.js +2 -0
- package/dist/components/sheet.config.d.ts +2 -0
- package/dist/components/sheet.config.js +2 -0
- package/dist/components/sheet.d.ts +2 -0
- package/dist/components/sheet.js +2 -0
- package/dist/components/sidebar.config.d.ts +2 -0
- package/dist/components/sidebar.config.js +2 -0
- package/dist/components/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +2 -0
- package/dist/components/skeleton.config.d.ts +2 -0
- package/dist/components/skeleton.config.js +2 -0
- package/dist/components/skeleton.d.ts +2 -0
- package/dist/components/skeleton.js +2 -0
- package/dist/components/slider.config.d.ts +2 -0
- package/dist/components/slider.config.js +2 -0
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/spinner.config.d.ts +2 -0
- package/dist/components/spinner.config.js +2 -0
- package/dist/components/spinner.d.ts +2 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/svg.d.ts +2 -0
- package/dist/components/svg.js +2 -0
- package/dist/components/switch.config.d.ts +2 -0
- package/dist/components/switch.config.js +2 -0
- package/dist/components/switch.d.ts +2 -0
- package/dist/components/switch.js +2 -0
- package/dist/components/table.d.ts +2 -0
- package/dist/components/table.js +2 -0
- package/dist/components/tabs.config.d.ts +2 -0
- package/dist/components/tabs.config.js +2 -0
- package/dist/components/tabs.d.ts +2 -0
- package/dist/components/tabs.js +2 -0
- package/dist/components/text.config.d.ts +2 -0
- package/dist/components/text.config.js +2 -0
- package/dist/components/text.d.ts +2 -0
- package/dist/components/text.js +2 -0
- package/dist/components/textarea.config.d.ts +2 -0
- package/dist/components/textarea.config.js +2 -0
- package/dist/components/textarea.d.ts +2 -0
- package/dist/components/textarea.js +2 -0
- package/dist/components/toast.config.d.ts +2 -0
- package/dist/components/toast.config.js +2 -0
- package/dist/components/toast.d.ts +2 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/tooltip.config.d.ts +2 -0
- package/dist/components/tooltip.config.js +2 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/components/vstack.d.ts +2 -0
- package/dist/components/vstack.js +2 -0
- package/dist/config/dist/component-resolution.d.ts +1 -0
- package/dist/config/dist/component-resolution.js +78 -0
- package/dist/config/dist/consts/defaultColors.d.ts +253 -0
- package/dist/config/dist/consts/defaultColors.js +252 -0
- package/dist/config/dist/createConfig.d.ts +214 -0
- package/dist/config/dist/createConfig.js +454 -0
- package/dist/config/dist/index.d.ts +5 -0
- package/dist/config/dist/index.js +4 -0
- package/dist/config/dist/preset-merge.js +165 -0
- package/dist/config/dist/serialize.d.ts +57 -0
- package/dist/config/dist/serialize.js +153 -0
- package/dist/config-utils/dist/componentConfig.d.ts +10 -0
- package/dist/config-utils/dist/componentConfig.js +11 -0
- package/dist/config-utils.d.ts +2 -0
- package/dist/config-utils.js +2 -0
- package/dist/config.d.ts +3512 -0
- package/dist/config.js +22 -0
- package/dist/core/dist/createComponent.boundaries.js +192 -0
- package/dist/core/dist/createComponent.d.ts +57 -0
- package/dist/core/dist/createComponent.js +67 -0
- package/dist/core/dist/createComponentExample.d.ts +42 -0
- package/dist/core/dist/createComponentExample.js +27 -0
- package/dist/core/dist/createProvider.d.ts +13 -0
- package/dist/core/dist/createProvider.js +24 -0
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +1701 -0
- package/dist/core/dist/generated/stylePropsTwMap.js +570 -0
- package/dist/core/dist/getComponentStyles.d.ts +50 -0
- package/dist/core/dist/getComponentStyles.js +85 -0
- package/dist/core/dist/getStyles.d.ts +43 -0
- package/dist/core/dist/getStyles.js +305 -0
- package/dist/core/dist/index.d.ts +11 -0
- package/dist/core/dist/index.js +11 -0
- package/dist/core/dist/macros.d.ts +22 -0
- package/dist/core/dist/macros.js +49 -0
- package/dist/core/dist/propMappings.d.ts +77 -0
- package/dist/core/dist/propMappings.js +1404 -0
- package/dist/core/dist/resolveMotionState.d.ts +5 -0
- package/dist/core/dist/resolveMotionState.js +17 -0
- package/dist/core/dist/resolveProps.boundaries.js +130 -0
- package/dist/core/dist/transformPreset.d.ts +18 -0
- package/dist/core/dist/transformPreset.js +28 -0
- package/dist/core/dist/withDefaultStyleProps.d.ts +44 -0
- package/dist/core/dist/withDefaultStyleProps.js +18 -0
- package/dist/core.d.ts +12 -0
- package/dist/core.js +13 -0
- package/dist/createSlot.d.ts +2 -0
- package/dist/createSlot.js +2 -0
- package/dist/devtools.d.ts +2 -0
- package/dist/devtools.js +3 -0
- package/dist/fixtures.d.ts +2 -0
- package/dist/fixtures.js +3 -0
- package/dist/foundational-presets/dist/boldVibrant.d.ts +3575 -0
- package/dist/foundational-presets/dist/boldVibrant.js +326 -0
- package/dist/foundational-presets/dist/brutalist.d.ts +3575 -0
- package/dist/foundational-presets/dist/brutalist.js +326 -0
- package/dist/foundational-presets/dist/candy.d.ts +3575 -0
- package/dist/foundational-presets/dist/candy.js +326 -0
- package/dist/foundational-presets/dist/cleanMinimalist.d.ts +3575 -0
- package/dist/foundational-presets/dist/cleanMinimalist.js +326 -0
- package/dist/foundational-presets/dist/corporate.d.ts +3575 -0
- package/dist/foundational-presets/dist/corporate.js +326 -0
- package/dist/foundational-presets/dist/darkMoody.d.ts +3575 -0
- package/dist/foundational-presets/dist/darkMoody.js +326 -0
- package/dist/foundational-presets/dist/defaultPreset.d.ts +3509 -0
- package/dist/foundational-presets/dist/defaultPreset.js +1784 -0
- package/dist/foundational-presets/dist/forest.d.ts +3575 -0
- package/dist/foundational-presets/dist/forest.js +326 -0
- package/dist/foundational-presets/dist/highContrast.d.ts +3575 -0
- package/dist/foundational-presets/dist/highContrast.js +326 -0
- package/dist/foundational-presets/dist/index.d.ts +19 -0
- package/dist/foundational-presets/dist/index.js +19 -0
- package/dist/foundational-presets/dist/lavender.d.ts +3575 -0
- package/dist/foundational-presets/dist/lavender.js +326 -0
- package/dist/foundational-presets/dist/luxury.d.ts +3575 -0
- package/dist/foundational-presets/dist/luxury.js +326 -0
- package/dist/foundational-presets/dist/monochrome.d.ts +3575 -0
- package/dist/foundational-presets/dist/monochrome.js +326 -0
- package/dist/foundational-presets/dist/motion.d.ts +13 -0
- package/dist/foundational-presets/dist/motion.js +10 -0
- package/dist/foundational-presets/dist/neonCyber.d.ts +3575 -0
- package/dist/foundational-presets/dist/neonCyber.js +326 -0
- package/dist/foundational-presets/dist/newspaper.d.ts +3575 -0
- package/dist/foundational-presets/dist/newspaper.js +326 -0
- package/dist/foundational-presets/dist/ocean.d.ts +3575 -0
- package/dist/foundational-presets/dist/ocean.js +326 -0
- package/dist/foundational-presets/dist/slate.d.ts +3575 -0
- package/dist/foundational-presets/dist/slate.js +326 -0
- package/dist/foundational-presets/dist/sunset.d.ts +3575 -0
- package/dist/foundational-presets/dist/sunset.js +326 -0
- package/dist/foundational-presets/dist/terminal.d.ts +3575 -0
- package/dist/foundational-presets/dist/terminal.js +326 -0
- package/dist/foundational-presets/dist/warmOrganic.d.ts +3575 -0
- package/dist/foundational-presets/dist/warmOrganic.js +326 -0
- package/dist/loader/dist/_virtual/_rolldown/runtime.js +6 -0
- package/dist/loader/dist/loader/artifacts.js +43 -0
- package/dist/loader/dist/loader/babel-utils.js +29 -0
- package/dist/loader/dist/loader/create-component-data.js +33 -0
- package/dist/loader/dist/loader/create-component-lowering.js +454 -0
- package/dist/loader/dist/loader/data-attr-transform.js +191 -0
- package/dist/loader/dist/loader/dynamic-style-codegen.js +96 -0
- package/dist/loader/dist/loader/internal-meta.js +22 -0
- package/dist/loader/dist/loader/motion-transform.js +717 -0
- package/dist/loader/dist/loader/style-transform.js +670 -0
- package/dist/loader/dist/loader.d.ts +8 -0
- package/dist/loader/dist/loader.js +357 -0
- package/dist/loader/dist/next.d.ts +17 -0
- package/dist/loader/dist/next.js +77 -0
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +203 -0
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +25 -0
- package/dist/loader/dist/node_modules/react/cjs/react.development.js +762 -0
- package/dist/loader/dist/node_modules/react/cjs/react.production.js +351 -0
- package/dist/loader/dist/node_modules/react/index.js +10 -0
- package/dist/loader/dist/node_modules/react/jsx-runtime.js +10 -0
- package/dist/loader/dist/packages/core/dist/createComponent.js +6 -0
- package/dist/loader/dist/packages/core/dist/createProvider.js +7 -0
- package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +570 -0
- package/dist/loader/dist/packages/core/dist/getComponentStyles.js +2 -0
- package/dist/loader/dist/packages/core/dist/getStyles.js +58 -0
- package/dist/loader/dist/packages/core/dist/index.js +6 -0
- package/dist/loader/dist/packages/core/dist/macros.js +41 -0
- package/dist/loader/dist/packages/core/dist/propMappings.js +1347 -0
- package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +1 -0
- package/dist/loader.d.ts +2 -0
- package/dist/loader.js +2 -0
- package/dist/next.d.ts +2 -0
- package/dist/next.js +2 -0
- package/dist/plugin.d.ts +2 -0
- package/dist/plugin.js +2 -0
- package/dist/presets/dist/boldVibrant.d.ts +6 -0
- package/dist/presets/dist/boldVibrant.js +7 -0
- package/dist/presets/dist/brutalist.d.ts +6 -0
- package/dist/presets/dist/brutalist.js +7 -0
- package/dist/presets/dist/candy.d.ts +6 -0
- package/dist/presets/dist/candy.js +7 -0
- package/dist/presets/dist/cleanMinimalist.d.ts +6 -0
- package/dist/presets/dist/cleanMinimalist.js +7 -0
- package/dist/presets/dist/corporate.d.ts +6 -0
- package/dist/presets/dist/corporate.js +7 -0
- package/dist/presets/dist/darkMoody.d.ts +6 -0
- package/dist/presets/dist/darkMoody.js +7 -0
- package/dist/presets/dist/defaultPreset.d.ts +6 -0
- package/dist/presets/dist/defaultPreset.js +68 -0
- package/dist/presets/dist/forest.d.ts +6 -0
- package/dist/presets/dist/forest.js +7 -0
- package/dist/presets/dist/highContrast.d.ts +6 -0
- package/dist/presets/dist/highContrast.js +7 -0
- package/dist/presets/dist/index.d.ts +19 -0
- package/dist/presets/dist/index.js +19 -0
- package/dist/presets/dist/lavender.d.ts +6 -0
- package/dist/presets/dist/lavender.js +7 -0
- package/dist/presets/dist/luxury.d.ts +6 -0
- package/dist/presets/dist/luxury.js +7 -0
- package/dist/presets/dist/monochrome.d.ts +6 -0
- package/dist/presets/dist/monochrome.js +7 -0
- package/dist/presets/dist/neonCyber.d.ts +6 -0
- package/dist/presets/dist/neonCyber.js +7 -0
- package/dist/presets/dist/newspaper.d.ts +6 -0
- package/dist/presets/dist/newspaper.js +7 -0
- package/dist/presets/dist/ocean.d.ts +6 -0
- package/dist/presets/dist/ocean.js +7 -0
- package/dist/presets/dist/slate.d.ts +6 -0
- package/dist/presets/dist/slate.js +7 -0
- package/dist/presets/dist/sunset.d.ts +6 -0
- package/dist/presets/dist/sunset.js +7 -0
- package/dist/presets/dist/terminal.d.ts +6 -0
- package/dist/presets/dist/terminal.js +7 -0
- package/dist/presets/dist/warmOrganic.d.ts +6 -0
- package/dist/presets/dist/warmOrganic.js +7 -0
- package/dist/presets/motion.d.ts +2 -0
- package/dist/presets/motion.js +2 -0
- package/dist/presets.d.ts +20 -0
- package/dist/presets.js +21 -0
- package/dist/remotion/dist/components/image-slide.config.js +43 -0
- package/dist/remotion/dist/components/image-slide.d.ts +20 -0
- package/dist/remotion/dist/components/image-slide.js +24 -0
- package/dist/remotion/dist/components/index.js +16 -0
- package/dist/remotion/dist/components/lower-third.config.js +54 -0
- package/dist/remotion/dist/components/lower-third.d.ts +21 -0
- package/dist/remotion/dist/components/lower-third.js +26 -0
- package/dist/remotion/dist/components/quote-card.config.js +85 -0
- package/dist/remotion/dist/components/quote-card.d.ts +21 -0
- package/dist/remotion/dist/components/quote-card.js +27 -0
- package/dist/remotion/dist/components/split-screen.config.js +90 -0
- package/dist/remotion/dist/components/split-screen.d.ts +25 -0
- package/dist/remotion/dist/components/split-screen.js +35 -0
- package/dist/remotion/dist/components/stat-card.config.js +55 -0
- package/dist/remotion/dist/components/stat-card.d.ts +19 -0
- package/dist/remotion/dist/components/stat-card.js +23 -0
- package/dist/remotion/dist/components/text-overlay.config.js +46 -0
- package/dist/remotion/dist/components/text-overlay.d.ts +17 -0
- package/dist/remotion/dist/components/text-overlay.js +16 -0
- package/dist/remotion/dist/components/title-card.config.js +56 -0
- package/dist/remotion/dist/components/title-card.d.ts +19 -0
- package/dist/remotion/dist/components/title-card.js +23 -0
- package/dist/remotion/dist/components/typing-text.config.js +57 -0
- package/dist/remotion/dist/components/typing-text.d.ts +21 -0
- package/dist/remotion/dist/components/typing-text.js +23 -0
- package/dist/remotion/dist/index.d.ts +8 -0
- package/dist/remotion/dist/index.js +8 -0
- package/dist/remotion/dist/transitions/fade.js +19 -0
- package/dist/remotion/dist/transitions/index.js +7 -0
- package/dist/remotion/dist/transitions/slide-down.js +21 -0
- package/dist/remotion/dist/transitions/slide-left.js +21 -0
- package/dist/remotion/dist/transitions/slide-right.js +21 -0
- package/dist/remotion/dist/transitions/slide-up.js +21 -0
- package/dist/remotion/dist/transitions/wipe.js +21 -0
- package/dist/remotion/dist/transitions/zoom.js +19 -0
- package/dist/remotion.d.ts +9 -0
- package/dist/remotion.js +10 -0
- package/dist/styles.d.ts +4 -0
- package/dist/styles.js +5 -0
- package/dist/transformPreset.d.ts +2 -0
- package/dist/transformPreset.js +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/utils/dist/array-utils/closestItem.d.ts +5 -0
- package/dist/utils/dist/array-utils/closestItem.js +9 -0
- package/dist/utils/dist/array-utils/removeItem.d.ts +5 -0
- package/dist/utils/dist/array-utils/removeItem.js +8 -0
- package/dist/utils/dist/component-style-defaults.d.ts +6 -0
- package/dist/utils/dist/component-style-defaults.js +68 -0
- package/dist/utils/dist/index.js +23 -0
- package/dist/utils/dist/math-utils/clamp.d.ts +13 -0
- package/dist/utils/dist/math-utils/clamp.js +14 -0
- package/dist/utils/dist/motion-utils/interpolate.d.ts +11 -0
- package/dist/utils/dist/motion-utils/interpolate.js +25 -0
- package/dist/utils/dist/object-utils/entries.d.ts +5 -0
- package/dist/utils/dist/object-utils/entries.js +6 -0
- package/dist/utils/dist/object-utils/flattenObj.d.ts +13 -0
- package/dist/utils/dist/object-utils/flattenObj.js +21 -0
- package/dist/utils/dist/object-utils/fromEntries.d.ts +5 -0
- package/dist/utils/dist/object-utils/fromEntries.js +6 -0
- package/dist/utils/dist/object-utils/keys.d.ts +5 -0
- package/dist/utils/dist/object-utils/keys.js +6 -0
- package/dist/utils/dist/object-utils/mapKeys.d.ts +6 -0
- package/dist/utils/dist/object-utils/mapKeys.js +10 -0
- package/dist/utils/dist/object-utils/mapValues.d.ts +6 -0
- package/dist/utils/dist/object-utils/mapValues.js +9 -0
- package/dist/utils/dist/string-utils/arrayToUnion.d.ts +5 -0
- package/dist/utils/dist/string-utils/arrayToUnion.js +6 -0
- package/dist/utils/dist/string-utils/capitalize.d.ts +5 -0
- package/dist/utils/dist/string-utils/capitalize.js +6 -0
- package/dist/utils/dist/string-utils/componentClassName.d.ts +26 -0
- package/dist/utils/dist/string-utils/componentClassName.js +33 -0
- package/dist/utils/dist/string-utils/createTemplate.d.ts +17 -0
- package/dist/utils/dist/string-utils/createTemplate.js +142 -0
- package/dist/utils/dist/string-utils/cssVar.d.ts +54 -0
- package/dist/utils/dist/string-utils/cssVar.js +61 -0
- package/dist/utils/dist/string-utils/cssVars.d.ts +82 -0
- package/dist/utils/dist/string-utils/cssVars.js +108 -0
- package/dist/utils/dist/string-utils/dedent.d.ts +48 -0
- package/dist/utils/dist/string-utils/dedent.js +68 -0
- package/dist/utils/dist/string-utils/indent.d.ts +5 -0
- package/dist/utils/dist/string-utils/indent.js +6 -0
- package/dist/utils/dist/string-utils/join.d.ts +6 -0
- package/dist/utils/dist/string-utils/join.js +6 -0
- package/dist/utils/dist/string-utils/kebabCase.d.ts +14 -0
- package/dist/utils/dist/string-utils/kebabCase.js +14 -0
- package/dist/utils/dist/string-utils/objectToInterface.js +6 -0
- package/dist/utils/dist/string-utils/split.d.ts +11 -0
- package/dist/utils/dist/string-utils/split.js +12 -0
- package/dist/utils/dist/string-utils/tsProperties.d.ts +30 -0
- package/dist/utils/dist/string-utils/tsProperties.js +60 -0
- package/dist/utils.d.ts +24 -0
- package/dist/utils.js +25 -0
- package/package.json +185 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createComponent } from "../../core/dist/createComponent.js";
|
|
3
|
+
import "../../core/dist/index.js";
|
|
4
|
+
import { useCallback, useRef } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region ../components/dist/control-color.js
|
|
7
|
+
const HEX_PATTERN = /^#[0-9a-fA-F]{6}$/;
|
|
8
|
+
const DEFAULT_HEX = "#000000";
|
|
9
|
+
/**
|
|
10
|
+
* @description A hex color input with preview swatch and text field
|
|
11
|
+
*/
|
|
12
|
+
const ControlColor = createComponent(({ props, value, onChange, label }) => {
|
|
13
|
+
const nativeInputRef = useRef(null);
|
|
14
|
+
const handleSwatchClick = useCallback(() => {
|
|
15
|
+
nativeInputRef.current?.click();
|
|
16
|
+
}, []);
|
|
17
|
+
const handleNativeChange = useCallback((e) => {
|
|
18
|
+
onChange(e.target.value);
|
|
19
|
+
}, [onChange]);
|
|
20
|
+
const handleTextChange = useCallback((e) => {
|
|
21
|
+
const val = e.target.value;
|
|
22
|
+
if (HEX_PATTERN.test(val)) onChange(val);
|
|
23
|
+
}, [onChange]);
|
|
24
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
25
|
+
...props.root,
|
|
26
|
+
children: [label && /* @__PURE__ */ jsx("span", {
|
|
27
|
+
...props.label,
|
|
28
|
+
children: label
|
|
29
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
30
|
+
...props.endContent,
|
|
31
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
onClick: handleSwatchClick,
|
|
34
|
+
style: { backgroundColor: value },
|
|
35
|
+
...props.swatch,
|
|
36
|
+
children: /* @__PURE__ */ jsx("input", {
|
|
37
|
+
ref: nativeInputRef,
|
|
38
|
+
type: "color",
|
|
39
|
+
value: HEX_PATTERN.test(value) ? value : DEFAULT_HEX,
|
|
40
|
+
onChange: handleNativeChange,
|
|
41
|
+
style: {
|
|
42
|
+
opacity: 0,
|
|
43
|
+
position: "absolute",
|
|
44
|
+
width: 0,
|
|
45
|
+
height: 0,
|
|
46
|
+
pointerEvents: "none"
|
|
47
|
+
},
|
|
48
|
+
tabIndex: -1,
|
|
49
|
+
"aria-hidden": true
|
|
50
|
+
})
|
|
51
|
+
}), /* @__PURE__ */ jsx("input", {
|
|
52
|
+
type: "text",
|
|
53
|
+
defaultValue: value,
|
|
54
|
+
onBlur: handleTextChange,
|
|
55
|
+
placeholder: "#000000",
|
|
56
|
+
maxLength: 7,
|
|
57
|
+
"aria-label": label ?? "Color value",
|
|
58
|
+
...props.input
|
|
59
|
+
})]
|
|
60
|
+
})]
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { ControlColor };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
+
//#region ../components/dist/control-curve.config.d.ts
|
|
3
|
+
//#region src/control-curve.config.d.ts
|
|
4
|
+
declare const controlCurveConfig: ComponentConfig<{
|
|
5
|
+
ControlCurve: {
|
|
6
|
+
readonly base: {
|
|
7
|
+
readonly root: {
|
|
8
|
+
readonly borderRadius: string;
|
|
9
|
+
readonly overflow: "hidden";
|
|
10
|
+
readonly backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
readonly variants: {};
|
|
14
|
+
readonly defaultVariants: {};
|
|
15
|
+
};
|
|
16
|
+
}, {}>;
|
|
17
|
+
type ControlCurveConfig = typeof controlCurveConfig; //#endregion
|
|
18
|
+
//#endregion
|
|
19
|
+
export { ControlCurveConfig, controlCurveConfig };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defaultFoundationPreset } from "../../foundational-presets/dist/defaultPreset.js";
|
|
2
|
+
import "../../foundational-presets/dist/index.js";
|
|
3
|
+
//#region ../components/dist/control-curve.config.js
|
|
4
|
+
const controlCurveConfig = defaultFoundationPreset.defineComponent("ControlCurve", ({ tokens }) => ({
|
|
5
|
+
base: { root: {
|
|
6
|
+
borderRadius: tokens.borderRadius.md,
|
|
7
|
+
overflow: "hidden",
|
|
8
|
+
backgroundColor: tokens.bg.secondary
|
|
9
|
+
} },
|
|
10
|
+
variants: {},
|
|
11
|
+
defaultVariants: {}
|
|
12
|
+
}));
|
|
13
|
+
//#endregion
|
|
14
|
+
export { controlCurveConfig };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_uds_types0 from "@uds/types";
|
|
4
|
+
|
|
5
|
+
//#region ../components/dist/control-curve.d.ts
|
|
6
|
+
//#region src/control-curve.d.ts
|
|
7
|
+
interface ControlCurveInput {
|
|
8
|
+
stiffness: number;
|
|
9
|
+
damping: number;
|
|
10
|
+
mass: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @description SVG spring curve visualization using Euler integration
|
|
14
|
+
*/
|
|
15
|
+
declare const ControlCurve: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentConfig<{
|
|
16
|
+
ControlCurve: {
|
|
17
|
+
readonly base: {
|
|
18
|
+
readonly root: {
|
|
19
|
+
readonly borderRadius: string;
|
|
20
|
+
readonly overflow: "hidden";
|
|
21
|
+
readonly backgroundColor: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly variants: {};
|
|
25
|
+
readonly defaultVariants: {};
|
|
26
|
+
};
|
|
27
|
+
}, {}>, {
|
|
28
|
+
config: ControlCurveInput;
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
}, {
|
|
32
|
+
root: "div";
|
|
33
|
+
}>>;
|
|
34
|
+
type ControlCurveProps = React.ComponentProps<typeof ControlCurve>; //#endregion
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ControlCurve, ControlCurveInput, ControlCurveProps };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createComponent } from "../../core/dist/createComponent.js";
|
|
3
|
+
import "../../core/dist/index.js";
|
|
4
|
+
import { useMemo } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region ../components/dist/control-curve.js
|
|
7
|
+
function simulateSpring(config, totalSteps, dt) {
|
|
8
|
+
const stiffness = Number(config.stiffness) || 100;
|
|
9
|
+
const damping = Number(config.damping) || 10;
|
|
10
|
+
const mass = Number(config.mass) || 1;
|
|
11
|
+
const target = 1;
|
|
12
|
+
let pos = 0;
|
|
13
|
+
let vel = 0;
|
|
14
|
+
const positions = [pos];
|
|
15
|
+
for (let i = 0; i < totalSteps; i++) {
|
|
16
|
+
const acc = (stiffness * (target - pos) - damping * vel) / mass;
|
|
17
|
+
vel += acc * dt;
|
|
18
|
+
pos += vel * dt;
|
|
19
|
+
positions.push(pos);
|
|
20
|
+
if (Math.abs(pos - target) < .001 && Math.abs(vel) < .001) {
|
|
21
|
+
while (positions.length <= totalSteps) positions.push(target);
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return positions;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @description SVG spring curve visualization using Euler integration
|
|
29
|
+
*/
|
|
30
|
+
const ControlCurve = createComponent(({ props, config, width: rawWidth = 280, height: rawHeight = 80 }) => {
|
|
31
|
+
const width = typeof rawWidth === "number" ? rawWidth : 280;
|
|
32
|
+
const height = typeof rawHeight === "number" ? rawHeight : 80;
|
|
33
|
+
const path = useMemo(() => {
|
|
34
|
+
const dt = 1 / 120;
|
|
35
|
+
const totalSteps = 360;
|
|
36
|
+
const positions = simulateSpring(config, totalSteps, dt);
|
|
37
|
+
const scaleY = height * .7;
|
|
38
|
+
return `M${positions.map((pos, i) => {
|
|
39
|
+
return `${i / totalSteps * width},${height - pos * scaleY}`;
|
|
40
|
+
}).join(" L")}`;
|
|
41
|
+
}, [
|
|
42
|
+
config.stiffness,
|
|
43
|
+
config.damping,
|
|
44
|
+
config.mass,
|
|
45
|
+
width,
|
|
46
|
+
height
|
|
47
|
+
]);
|
|
48
|
+
const targetY = height - height * .7;
|
|
49
|
+
return /* @__PURE__ */ jsx("div", {
|
|
50
|
+
...props.root,
|
|
51
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
52
|
+
width,
|
|
53
|
+
height,
|
|
54
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
55
|
+
style: {
|
|
56
|
+
display: "block",
|
|
57
|
+
width: "100%",
|
|
58
|
+
height: "auto"
|
|
59
|
+
},
|
|
60
|
+
children: [/* @__PURE__ */ jsx("line", {
|
|
61
|
+
x1: 0,
|
|
62
|
+
y1: targetY,
|
|
63
|
+
x2: width,
|
|
64
|
+
y2: targetY,
|
|
65
|
+
stroke: "var(--uds-color-on-secondary)",
|
|
66
|
+
strokeWidth: .5,
|
|
67
|
+
strokeDasharray: "4 2",
|
|
68
|
+
opacity: .3
|
|
69
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
70
|
+
d: path,
|
|
71
|
+
fill: "none",
|
|
72
|
+
stroke: "var(--uds-bg-brand)",
|
|
73
|
+
strokeWidth: 1.5,
|
|
74
|
+
strokeLinecap: "round",
|
|
75
|
+
strokeLinejoin: "round"
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
//#endregion
|
|
81
|
+
export { ControlCurve };
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
+
//#region ../components/dist/control-folder.config.d.ts
|
|
3
|
+
//#region src/control-folder.config.d.ts
|
|
4
|
+
declare const controlFolderConfig: ComponentConfig<{
|
|
5
|
+
ControlFolder: {
|
|
6
|
+
readonly base: {
|
|
7
|
+
readonly root: {
|
|
8
|
+
readonly display: "flex";
|
|
9
|
+
readonly flexDirection: "column";
|
|
10
|
+
};
|
|
11
|
+
readonly header: {
|
|
12
|
+
readonly display: "flex";
|
|
13
|
+
readonly alignItems: "center";
|
|
14
|
+
readonly gap: string;
|
|
15
|
+
readonly padding: `${string} 0`;
|
|
16
|
+
readonly cursor: "pointer";
|
|
17
|
+
readonly backgroundColor: "transparent";
|
|
18
|
+
readonly borderWidth: "0";
|
|
19
|
+
readonly width: "100%";
|
|
20
|
+
};
|
|
21
|
+
readonly chevron: {
|
|
22
|
+
readonly fontSize: "10px";
|
|
23
|
+
readonly lineHeight: "1";
|
|
24
|
+
readonly transition: "transform 0.15s ease";
|
|
25
|
+
readonly color: string;
|
|
26
|
+
};
|
|
27
|
+
readonly label: {
|
|
28
|
+
readonly color: string;
|
|
29
|
+
readonly fontSize: string;
|
|
30
|
+
readonly fontWeight: string;
|
|
31
|
+
readonly lineHeight: "1";
|
|
32
|
+
readonly fontFamily: string;
|
|
33
|
+
} | {
|
|
34
|
+
readonly color: string;
|
|
35
|
+
readonly fontSize: string;
|
|
36
|
+
readonly fontWeight: string;
|
|
37
|
+
readonly lineHeight: string;
|
|
38
|
+
readonly fontFamily: string;
|
|
39
|
+
} | {
|
|
40
|
+
readonly color: string;
|
|
41
|
+
readonly fontSize: string;
|
|
42
|
+
readonly fontWeight: string;
|
|
43
|
+
readonly lineHeight: string;
|
|
44
|
+
readonly fontFamily: string;
|
|
45
|
+
} | {
|
|
46
|
+
readonly color: string;
|
|
47
|
+
readonly fontSize: string;
|
|
48
|
+
readonly fontWeight: string;
|
|
49
|
+
readonly lineHeight: string;
|
|
50
|
+
readonly fontFamily: string;
|
|
51
|
+
} | {
|
|
52
|
+
readonly color: string;
|
|
53
|
+
readonly fontSize: string;
|
|
54
|
+
readonly fontWeight: string;
|
|
55
|
+
readonly lineHeight: string;
|
|
56
|
+
readonly fontFamily: string;
|
|
57
|
+
} | {
|
|
58
|
+
readonly color: string;
|
|
59
|
+
readonly fontSize: string;
|
|
60
|
+
readonly fontWeight: "450";
|
|
61
|
+
readonly lineHeight: string;
|
|
62
|
+
readonly fontFamily: string;
|
|
63
|
+
} | {
|
|
64
|
+
readonly color: string;
|
|
65
|
+
readonly fontSize: string;
|
|
66
|
+
readonly fontWeight: string;
|
|
67
|
+
readonly lineHeight: string;
|
|
68
|
+
readonly fontFamily: string;
|
|
69
|
+
} | {
|
|
70
|
+
readonly color: string;
|
|
71
|
+
readonly fontSize: string;
|
|
72
|
+
readonly fontWeight: string;
|
|
73
|
+
readonly lineHeight: string;
|
|
74
|
+
readonly fontFamily: string;
|
|
75
|
+
} | {
|
|
76
|
+
readonly color: string;
|
|
77
|
+
readonly fontSize: string;
|
|
78
|
+
readonly fontWeight: "450";
|
|
79
|
+
readonly lineHeight: string;
|
|
80
|
+
readonly fontFamily: string;
|
|
81
|
+
} | {
|
|
82
|
+
readonly color: string;
|
|
83
|
+
readonly fontSize: string;
|
|
84
|
+
readonly fontWeight: string;
|
|
85
|
+
readonly lineHeight: string;
|
|
86
|
+
readonly fontFamily: string;
|
|
87
|
+
} | {
|
|
88
|
+
readonly color: string;
|
|
89
|
+
readonly fontSize: string;
|
|
90
|
+
readonly fontWeight: "450";
|
|
91
|
+
readonly lineHeight: string;
|
|
92
|
+
readonly fontFamily: string;
|
|
93
|
+
} | {
|
|
94
|
+
readonly color: string;
|
|
95
|
+
readonly fontSize: string;
|
|
96
|
+
readonly fontWeight: string;
|
|
97
|
+
readonly lineHeight: string;
|
|
98
|
+
readonly fontFamily: string;
|
|
99
|
+
} | {
|
|
100
|
+
readonly color: string;
|
|
101
|
+
readonly fontSize: string;
|
|
102
|
+
readonly fontWeight: string;
|
|
103
|
+
readonly lineHeight: string;
|
|
104
|
+
readonly fontFamily: string;
|
|
105
|
+
} | {
|
|
106
|
+
readonly color: string;
|
|
107
|
+
readonly fontSize: string;
|
|
108
|
+
readonly fontWeight: string;
|
|
109
|
+
readonly lineHeight: string;
|
|
110
|
+
readonly fontFamily: string;
|
|
111
|
+
} | {
|
|
112
|
+
readonly color: string;
|
|
113
|
+
readonly fontSize: string;
|
|
114
|
+
readonly fontWeight: string;
|
|
115
|
+
readonly lineHeight: string;
|
|
116
|
+
readonly fontFamily: string;
|
|
117
|
+
} | {
|
|
118
|
+
readonly color: string;
|
|
119
|
+
readonly fontSize: string;
|
|
120
|
+
readonly fontWeight: string;
|
|
121
|
+
readonly lineHeight: string;
|
|
122
|
+
readonly fontFamily: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly color: string;
|
|
125
|
+
readonly fontSize: string;
|
|
126
|
+
readonly fontWeight: string;
|
|
127
|
+
readonly lineHeight: string;
|
|
128
|
+
readonly fontFamily: string;
|
|
129
|
+
} | {
|
|
130
|
+
readonly color: string;
|
|
131
|
+
readonly fontSize: string;
|
|
132
|
+
readonly fontWeight: string;
|
|
133
|
+
readonly lineHeight: string;
|
|
134
|
+
readonly fontFamily: string;
|
|
135
|
+
} | {
|
|
136
|
+
readonly color: string;
|
|
137
|
+
readonly fontSize: string;
|
|
138
|
+
readonly fontWeight: string;
|
|
139
|
+
readonly lineHeight: string;
|
|
140
|
+
readonly fontFamily: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly color: string;
|
|
143
|
+
readonly fontSize: string;
|
|
144
|
+
readonly fontWeight: string;
|
|
145
|
+
readonly lineHeight: string;
|
|
146
|
+
readonly fontFamily: string;
|
|
147
|
+
} | {
|
|
148
|
+
readonly color: string;
|
|
149
|
+
readonly fontSize: string;
|
|
150
|
+
readonly fontWeight: string;
|
|
151
|
+
readonly lineHeight: string;
|
|
152
|
+
readonly fontFamily: string;
|
|
153
|
+
} | {
|
|
154
|
+
readonly color: string;
|
|
155
|
+
readonly fontSize: string;
|
|
156
|
+
readonly fontWeight: string;
|
|
157
|
+
readonly lineHeight: string;
|
|
158
|
+
readonly fontFamily: string;
|
|
159
|
+
};
|
|
160
|
+
readonly content: {
|
|
161
|
+
readonly overflow: "hidden";
|
|
162
|
+
readonly transition: "max-height 0.25s ease";
|
|
163
|
+
};
|
|
164
|
+
readonly children: {
|
|
165
|
+
readonly display: "flex";
|
|
166
|
+
readonly flexDirection: "column";
|
|
167
|
+
readonly gap: string;
|
|
168
|
+
readonly paddingLeft: string;
|
|
169
|
+
readonly padding: `${string} 0 ${string} ${string}`;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
readonly variants: {};
|
|
173
|
+
readonly defaultVariants: {};
|
|
174
|
+
};
|
|
175
|
+
}, {}>;
|
|
176
|
+
type ControlFolderConfig = typeof controlFolderConfig; //#endregion
|
|
177
|
+
//#endregion
|
|
178
|
+
export { ControlFolderConfig, controlFolderConfig };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defaultFoundationPreset } from "../../foundational-presets/dist/defaultPreset.js";
|
|
2
|
+
import "../../foundational-presets/dist/index.js";
|
|
3
|
+
import { textVariants } from "./text.config.js";
|
|
4
|
+
//#region ../components/dist/control-folder.config.js
|
|
5
|
+
const controlFolderConfig = defaultFoundationPreset.defineComponent("ControlFolder", ({ tokens }) => ({
|
|
6
|
+
base: {
|
|
7
|
+
root: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
flexDirection: "column"
|
|
10
|
+
},
|
|
11
|
+
header: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
gap: tokens.spacing["2"],
|
|
15
|
+
padding: `${tokens.spacing["2"]} 0`,
|
|
16
|
+
cursor: "pointer",
|
|
17
|
+
backgroundColor: "transparent",
|
|
18
|
+
borderWidth: "0",
|
|
19
|
+
width: "100%"
|
|
20
|
+
},
|
|
21
|
+
chevron: {
|
|
22
|
+
fontSize: "10px",
|
|
23
|
+
lineHeight: "1",
|
|
24
|
+
transition: "transform 0.15s ease",
|
|
25
|
+
color: tokens.color["on-primary"]
|
|
26
|
+
},
|
|
27
|
+
label: {
|
|
28
|
+
...textVariants.label1,
|
|
29
|
+
color: tokens.color["on-primary"]
|
|
30
|
+
},
|
|
31
|
+
content: {
|
|
32
|
+
overflow: "hidden",
|
|
33
|
+
transition: "max-height 0.25s ease"
|
|
34
|
+
},
|
|
35
|
+
children: {
|
|
36
|
+
display: "flex",
|
|
37
|
+
flexDirection: "column",
|
|
38
|
+
gap: tokens.spacing["2"],
|
|
39
|
+
paddingLeft: tokens.spacing["4"],
|
|
40
|
+
padding: `${tokens.spacing["1"]} 0 ${tokens.spacing["1"]} ${tokens.spacing["4"]}`
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
variants: {},
|
|
44
|
+
defaultVariants: {}
|
|
45
|
+
}));
|
|
46
|
+
//#endregion
|
|
47
|
+
export { controlFolderConfig };
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_uds_types0 from "@uds/types";
|
|
4
|
+
|
|
5
|
+
//#region ../components/dist/control-folder.d.ts
|
|
6
|
+
//#region src/control-folder.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* @description A collapsible folder section with animated expand/collapse
|
|
9
|
+
*/
|
|
10
|
+
declare const ControlFolder: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentConfig<{
|
|
11
|
+
ControlFolder: {
|
|
12
|
+
readonly base: {
|
|
13
|
+
readonly root: {
|
|
14
|
+
readonly display: "flex";
|
|
15
|
+
readonly flexDirection: "column";
|
|
16
|
+
};
|
|
17
|
+
readonly header: {
|
|
18
|
+
readonly display: "flex";
|
|
19
|
+
readonly alignItems: "center";
|
|
20
|
+
readonly gap: string;
|
|
21
|
+
readonly padding: `${string} 0`;
|
|
22
|
+
readonly cursor: "pointer";
|
|
23
|
+
readonly backgroundColor: "transparent";
|
|
24
|
+
readonly borderWidth: "0";
|
|
25
|
+
readonly width: "100%";
|
|
26
|
+
};
|
|
27
|
+
readonly chevron: {
|
|
28
|
+
readonly fontSize: "10px";
|
|
29
|
+
readonly lineHeight: "1";
|
|
30
|
+
readonly transition: "transform 0.15s ease";
|
|
31
|
+
readonly color: string;
|
|
32
|
+
};
|
|
33
|
+
readonly label: {
|
|
34
|
+
readonly color: string;
|
|
35
|
+
readonly fontSize: string;
|
|
36
|
+
readonly fontWeight: string;
|
|
37
|
+
readonly lineHeight: "1";
|
|
38
|
+
readonly fontFamily: string;
|
|
39
|
+
} | {
|
|
40
|
+
readonly color: string;
|
|
41
|
+
readonly fontSize: string;
|
|
42
|
+
readonly fontWeight: string;
|
|
43
|
+
readonly lineHeight: string;
|
|
44
|
+
readonly fontFamily: string;
|
|
45
|
+
} | {
|
|
46
|
+
readonly color: string;
|
|
47
|
+
readonly fontSize: string;
|
|
48
|
+
readonly fontWeight: string;
|
|
49
|
+
readonly lineHeight: string;
|
|
50
|
+
readonly fontFamily: string;
|
|
51
|
+
} | {
|
|
52
|
+
readonly color: string;
|
|
53
|
+
readonly fontSize: string;
|
|
54
|
+
readonly fontWeight: string;
|
|
55
|
+
readonly lineHeight: string;
|
|
56
|
+
readonly fontFamily: string;
|
|
57
|
+
} | {
|
|
58
|
+
readonly color: string;
|
|
59
|
+
readonly fontSize: string;
|
|
60
|
+
readonly fontWeight: string;
|
|
61
|
+
readonly lineHeight: string;
|
|
62
|
+
readonly fontFamily: string;
|
|
63
|
+
} | {
|
|
64
|
+
readonly color: string;
|
|
65
|
+
readonly fontSize: string;
|
|
66
|
+
readonly fontWeight: "450";
|
|
67
|
+
readonly lineHeight: string;
|
|
68
|
+
readonly fontFamily: string;
|
|
69
|
+
} | {
|
|
70
|
+
readonly color: string;
|
|
71
|
+
readonly fontSize: string;
|
|
72
|
+
readonly fontWeight: string;
|
|
73
|
+
readonly lineHeight: string;
|
|
74
|
+
readonly fontFamily: string;
|
|
75
|
+
} | {
|
|
76
|
+
readonly color: string;
|
|
77
|
+
readonly fontSize: string;
|
|
78
|
+
readonly fontWeight: string;
|
|
79
|
+
readonly lineHeight: string;
|
|
80
|
+
readonly fontFamily: string;
|
|
81
|
+
} | {
|
|
82
|
+
readonly color: string;
|
|
83
|
+
readonly fontSize: string;
|
|
84
|
+
readonly fontWeight: "450";
|
|
85
|
+
readonly lineHeight: string;
|
|
86
|
+
readonly fontFamily: string;
|
|
87
|
+
} | {
|
|
88
|
+
readonly color: string;
|
|
89
|
+
readonly fontSize: string;
|
|
90
|
+
readonly fontWeight: string;
|
|
91
|
+
readonly lineHeight: string;
|
|
92
|
+
readonly fontFamily: string;
|
|
93
|
+
} | {
|
|
94
|
+
readonly color: string;
|
|
95
|
+
readonly fontSize: string;
|
|
96
|
+
readonly fontWeight: "450";
|
|
97
|
+
readonly lineHeight: string;
|
|
98
|
+
readonly fontFamily: string;
|
|
99
|
+
} | {
|
|
100
|
+
readonly color: string;
|
|
101
|
+
readonly fontSize: string;
|
|
102
|
+
readonly fontWeight: string;
|
|
103
|
+
readonly lineHeight: string;
|
|
104
|
+
readonly fontFamily: string;
|
|
105
|
+
} | {
|
|
106
|
+
readonly color: string;
|
|
107
|
+
readonly fontSize: string;
|
|
108
|
+
readonly fontWeight: string;
|
|
109
|
+
readonly lineHeight: string;
|
|
110
|
+
readonly fontFamily: string;
|
|
111
|
+
} | {
|
|
112
|
+
readonly color: string;
|
|
113
|
+
readonly fontSize: string;
|
|
114
|
+
readonly fontWeight: string;
|
|
115
|
+
readonly lineHeight: string;
|
|
116
|
+
readonly fontFamily: string;
|
|
117
|
+
} | {
|
|
118
|
+
readonly color: string;
|
|
119
|
+
readonly fontSize: string;
|
|
120
|
+
readonly fontWeight: string;
|
|
121
|
+
readonly lineHeight: string;
|
|
122
|
+
readonly fontFamily: string;
|
|
123
|
+
} | {
|
|
124
|
+
readonly color: string;
|
|
125
|
+
readonly fontSize: string;
|
|
126
|
+
readonly fontWeight: string;
|
|
127
|
+
readonly lineHeight: string;
|
|
128
|
+
readonly fontFamily: string;
|
|
129
|
+
} | {
|
|
130
|
+
readonly color: string;
|
|
131
|
+
readonly fontSize: string;
|
|
132
|
+
readonly fontWeight: string;
|
|
133
|
+
readonly lineHeight: string;
|
|
134
|
+
readonly fontFamily: string;
|
|
135
|
+
} | {
|
|
136
|
+
readonly color: string;
|
|
137
|
+
readonly fontSize: string;
|
|
138
|
+
readonly fontWeight: string;
|
|
139
|
+
readonly lineHeight: string;
|
|
140
|
+
readonly fontFamily: string;
|
|
141
|
+
} | {
|
|
142
|
+
readonly color: string;
|
|
143
|
+
readonly fontSize: string;
|
|
144
|
+
readonly fontWeight: string;
|
|
145
|
+
readonly lineHeight: string;
|
|
146
|
+
readonly fontFamily: string;
|
|
147
|
+
} | {
|
|
148
|
+
readonly color: string;
|
|
149
|
+
readonly fontSize: string;
|
|
150
|
+
readonly fontWeight: string;
|
|
151
|
+
readonly lineHeight: string;
|
|
152
|
+
readonly fontFamily: string;
|
|
153
|
+
} | {
|
|
154
|
+
readonly color: string;
|
|
155
|
+
readonly fontSize: string;
|
|
156
|
+
readonly fontWeight: string;
|
|
157
|
+
readonly lineHeight: string;
|
|
158
|
+
readonly fontFamily: string;
|
|
159
|
+
} | {
|
|
160
|
+
readonly color: string;
|
|
161
|
+
readonly fontSize: string;
|
|
162
|
+
readonly fontWeight: string;
|
|
163
|
+
readonly lineHeight: string;
|
|
164
|
+
readonly fontFamily: string;
|
|
165
|
+
};
|
|
166
|
+
readonly content: {
|
|
167
|
+
readonly overflow: "hidden";
|
|
168
|
+
readonly transition: "max-height 0.25s ease";
|
|
169
|
+
};
|
|
170
|
+
readonly children: {
|
|
171
|
+
readonly display: "flex";
|
|
172
|
+
readonly flexDirection: "column";
|
|
173
|
+
readonly gap: string;
|
|
174
|
+
readonly paddingLeft: string;
|
|
175
|
+
readonly padding: `${string} 0 ${string} ${string}`;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readonly variants: {};
|
|
179
|
+
readonly defaultVariants: {};
|
|
180
|
+
};
|
|
181
|
+
}, {}>, {
|
|
182
|
+
label: string;
|
|
183
|
+
defaultOpen?: boolean;
|
|
184
|
+
children: React.ReactNode;
|
|
185
|
+
}, {
|
|
186
|
+
root: "div";
|
|
187
|
+
header: "button";
|
|
188
|
+
chevron: "span";
|
|
189
|
+
label: "span";
|
|
190
|
+
content: "div";
|
|
191
|
+
children: "div";
|
|
192
|
+
}>>;
|
|
193
|
+
type ControlFolderProps = React.ComponentProps<typeof ControlFolder>; //#endregion
|
|
194
|
+
//#endregion
|
|
195
|
+
export { ControlFolder, ControlFolderProps };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createComponent } from "../../core/dist/createComponent.js";
|
|
3
|
+
import "../../core/dist/index.js";
|
|
4
|
+
import { useCallback, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region ../components/dist/control-folder.js
|
|
7
|
+
/**
|
|
8
|
+
* @description A collapsible folder section with animated expand/collapse
|
|
9
|
+
*/
|
|
10
|
+
const ControlFolder = createComponent(({ props, label, defaultOpen = false, children }) => {
|
|
11
|
+
const [isOpen, setIsOpen] = useState(defaultOpen);
|
|
12
|
+
const toggle = useCallback(() => {
|
|
13
|
+
setIsOpen((prev) => !prev);
|
|
14
|
+
}, []);
|
|
15
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
16
|
+
...props.root,
|
|
17
|
+
children: [/* @__PURE__ */ jsxs("button", {
|
|
18
|
+
type: "button",
|
|
19
|
+
onClick: toggle,
|
|
20
|
+
"aria-expanded": isOpen,
|
|
21
|
+
...props.header,
|
|
22
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
23
|
+
style: { transform: isOpen ? "rotate(90deg)" : "rotate(0deg)" },
|
|
24
|
+
...props.chevron,
|
|
25
|
+
children: "▶"
|
|
26
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
27
|
+
...props.label,
|
|
28
|
+
children: label
|
|
29
|
+
})]
|
|
30
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
31
|
+
style: { maxHeight: isOpen ? 1e3 : 0 },
|
|
32
|
+
...props.content,
|
|
33
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
34
|
+
...props.children,
|
|
35
|
+
children
|
|
36
|
+
})
|
|
37
|
+
})]
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ControlFolder };
|