@yahoo/uds-v5-wip 1.60.0 → 1.61.0
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/codegen/dist/loader/getLoaderArtifacts.js +2 -0
- package/dist/config/dist/Props.d.ts +161 -25
- package/dist/config/dist/bindRender.d.ts +16 -0
- package/dist/config/dist/bindRender.js +310 -0
- package/dist/config/dist/className.d.ts +54 -0
- package/dist/config/dist/className.js +77 -0
- package/dist/config/dist/component-config.d.ts +674 -161
- package/dist/config/dist/component-config.js +163 -0
- package/dist/config/dist/component-refs.d.ts +41 -18
- package/dist/config/dist/createConfig.d.ts +140 -59
- package/dist/config/dist/createConfig.js +95 -217
- package/dist/config/dist/createStyler.d.ts +35 -0
- package/dist/config/dist/createStyler.js +93 -0
- package/dist/config/dist/defineComponent.d.ts +297 -4
- package/dist/config/dist/defineComponent.js +264 -2
- package/dist/config/dist/defineCompositeStyle.d.ts +93 -0
- package/dist/config/dist/defineCompositeStyle.js +18 -0
- package/dist/config/dist/defineMotionConfig.d.ts +152 -0
- package/dist/config/dist/definePreview.d.ts +45 -0
- package/dist/config/dist/definePreview.js +35 -0
- package/dist/config/dist/defineStyleProp.d.ts +199 -3
- package/dist/config/dist/defineStyleProp.js +3 -2
- package/dist/config/dist/index.d.ts +20 -11
- package/dist/config/dist/index.js +8 -4
- package/dist/config/dist/merge-utils.js +51 -0
- package/dist/config/dist/propertyAcceptedTypes.d.ts +19 -0
- package/dist/config/dist/refs.d.ts +85 -0
- package/dist/config/dist/refs.js +92 -47
- package/dist/config/dist/resolveCompoundProps.d.ts +65 -0
- package/dist/config/dist/resolveCompoundProps.js +120 -0
- package/dist/config/dist/resolveStyleProp.d.ts +72 -3
- package/dist/config/dist/resolveStyleProp.js +68 -43
- package/dist/config/dist/runtime-registry.js +30 -2
- package/dist/config/dist/serialize.d.ts +8 -34
- package/dist/config/dist/serialize.js +10 -71
- package/dist/config/dist/sniffTokenType.d.ts +7 -0
- package/dist/config/dist/sniffTokenType.js +67 -0
- package/dist/config/dist/style-prop-runtime.d.ts +75 -1
- package/dist/config/dist/style-prop-runtime.js +390 -0
- package/dist/config/dist/types/css-properties.d.ts +223 -0
- package/dist/config/dist/types/css-values.d.ts +2 -1
- package/dist/config/dist/types.d.ts +14 -3
- package/dist/config.d.ts +21 -1560
- package/dist/config.js +15 -20
- package/dist/loader/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/loader/dist/index.d.ts +2 -0
- package/dist/loader/dist/index.js +3 -0
- package/dist/loader/dist/loader/artifacts.js +2 -2
- package/dist/loader/dist/loader/babel-utils.js +1 -29
- package/dist/loader/dist/loader/internal-meta.js +38 -1
- package/dist/loader/dist/loader/lower-new-api-primitive.js +176 -14
- package/dist/loader/dist/loader.d.ts +29 -1
- package/dist/loader/dist/loader.js +71 -309
- package/dist/loader/dist/next.d.ts +2 -1
- package/dist/loader/dist/transform-runner.js +14 -0
- package/dist/loader/dist/unplugin.d.ts +27 -0
- package/dist/loader/dist/unplugin.js +52 -0
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.js +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -51
- package/dist/components/accordion.config.d.ts +0 -2
- package/dist/components/accordion.config.js +0 -2
- package/dist/components/accordion.d.ts +0 -2
- package/dist/components/accordion.js +0 -2
- package/dist/components/alert.config.d.ts +0 -2
- package/dist/components/alert.config.js +0 -2
- package/dist/components/alert.d.ts +0 -2
- package/dist/components/alert.js +0 -2
- package/dist/components/anchor.config.d.ts +0 -2
- package/dist/components/anchor.config.js +0 -2
- package/dist/components/anchor.d.ts +0 -2
- package/dist/components/anchor.js +0 -2
- package/dist/components/article.d.ts +0 -2
- package/dist/components/article.js +0 -2
- package/dist/components/aside.d.ts +0 -2
- package/dist/components/aside.js +0 -2
- package/dist/components/avatar-group.config.d.ts +0 -2
- package/dist/components/avatar-group.config.js +0 -2
- package/dist/components/avatar-group.d.ts +0 -2
- package/dist/components/avatar-group.js +0 -2
- package/dist/components/avatar.config.d.ts +0 -2
- package/dist/components/avatar.config.js +0 -2
- package/dist/components/avatar.d.ts +0 -2
- package/dist/components/avatar.js +0 -2
- package/dist/components/badge.config.d.ts +0 -2
- package/dist/components/badge.config.js +0 -2
- package/dist/components/badge.d.ts +0 -2
- package/dist/components/badge.js +0 -2
- package/dist/components/box.d.ts +0 -2
- package/dist/components/box.js +0 -2
- package/dist/components/breadcrumb.config.d.ts +0 -2
- package/dist/components/breadcrumb.config.js +0 -2
- package/dist/components/breadcrumb.d.ts +0 -2
- package/dist/components/breadcrumb.js +0 -2
- package/dist/components/button.config.d.ts +0 -2
- package/dist/components/button.config.js +0 -2
- package/dist/components/button.d.ts +0 -2
- package/dist/components/button.js +0 -2
- package/dist/components/card.config.d.ts +0 -2
- package/dist/components/card.config.js +0 -2
- package/dist/components/card.d.ts +0 -2
- package/dist/components/card.js +0 -2
- package/dist/components/collapsible.config.d.ts +0 -2
- package/dist/components/collapsible.config.js +0 -2
- package/dist/components/collapsible.d.ts +0 -2
- package/dist/components/collapsible.js +0 -2
- package/dist/components/command.config.d.ts +0 -2
- package/dist/components/command.config.js +0 -2
- package/dist/components/command.d.ts +0 -2
- package/dist/components/command.js +0 -2
- package/dist/components/control-color.config.d.ts +0 -2
- package/dist/components/control-color.config.js +0 -2
- package/dist/components/control-color.d.ts +0 -2
- package/dist/components/control-color.js +0 -2
- package/dist/components/control-curve.config.d.ts +0 -2
- package/dist/components/control-curve.config.js +0 -2
- package/dist/components/control-curve.d.ts +0 -2
- package/dist/components/control-curve.js +0 -2
- package/dist/components/control-folder.config.d.ts +0 -2
- package/dist/components/control-folder.config.js +0 -2
- package/dist/components/control-folder.d.ts +0 -2
- package/dist/components/control-folder.js +0 -2
- package/dist/components/control-group.config.d.ts +0 -2
- package/dist/components/control-group.config.js +0 -2
- package/dist/components/control-group.d.ts +0 -2
- package/dist/components/control-group.js +0 -2
- package/dist/components/control-knob.config.d.ts +0 -2
- package/dist/components/control-knob.config.js +0 -2
- package/dist/components/control-knob.d.ts +0 -2
- package/dist/components/control-knob.js +0 -2
- package/dist/components/control-panel.config.d.ts +0 -2
- package/dist/components/control-panel.config.js +0 -2
- package/dist/components/control-panel.d.ts +0 -2
- package/dist/components/control-panel.js +0 -2
- package/dist/components/control-select.config.d.ts +0 -2
- package/dist/components/control-select.config.js +0 -2
- package/dist/components/control-select.d.ts +0 -2
- package/dist/components/control-select.js +0 -2
- package/dist/components/control-slider.config.d.ts +0 -2
- package/dist/components/control-slider.config.js +0 -2
- package/dist/components/control-slider.d.ts +0 -2
- package/dist/components/control-slider.js +0 -2
- package/dist/components/control-spring.config.d.ts +0 -2
- package/dist/components/control-spring.config.js +0 -2
- package/dist/components/control-spring.d.ts +0 -2
- package/dist/components/control-spring.js +0 -2
- package/dist/components/control-stepper.config.d.ts +0 -2
- package/dist/components/control-stepper.config.js +0 -2
- package/dist/components/control-stepper.d.ts +0 -2
- package/dist/components/control-stepper.js +0 -2
- package/dist/components/control-toggle.config.d.ts +0 -2
- package/dist/components/control-toggle.config.js +0 -2
- package/dist/components/control-toggle.d.ts +0 -2
- package/dist/components/control-toggle.js +0 -2
- package/dist/components/dist/_slots.js +0 -8
- package/dist/components/dist/accordion.config.d.ts +0 -431
- package/dist/components/dist/accordion.config.js +0 -81
- package/dist/components/dist/accordion.d.ts +0 -453
- package/dist/components/dist/accordion.js +0 -60
- package/dist/components/dist/alert.config.d.ts +0 -219
- package/dist/components/dist/alert.config.js +0 -54
- package/dist/components/dist/alert.d.ts +0 -230
- package/dist/components/dist/alert.js +0 -16
- package/dist/components/dist/anchor.config.d.ts +0 -250
- package/dist/components/dist/anchor.config.js +0 -22
- package/dist/components/dist/anchor.d.ts +0 -261
- package/dist/components/dist/anchor.js +0 -9
- package/dist/components/dist/article.d.ts +0 -11
- package/dist/components/dist/article.js +0 -9
- package/dist/components/dist/aside.d.ts +0 -11
- package/dist/components/dist/aside.js +0 -9
- package/dist/components/dist/avatar-group.config.d.ts +0 -315
- package/dist/components/dist/avatar-group.config.js +0 -33
- package/dist/components/dist/avatar-group.d.ts +0 -329
- package/dist/components/dist/avatar-group.js +0 -39
- package/dist/components/dist/avatar.config.d.ts +0 -197
- package/dist/components/dist/avatar.config.js +0 -49
- package/dist/components/dist/avatar.d.ts +0 -211
- package/dist/components/dist/avatar.js +0 -20
- package/dist/components/dist/badge.config.d.ts +0 -477
- package/dist/components/dist/badge.config.js +0 -99
- package/dist/components/dist/badge.d.ts +0 -489
- package/dist/components/dist/badge.js +0 -16
- package/dist/components/dist/box.d.ts +0 -14
- package/dist/components/dist/box.js +0 -9
- package/dist/components/dist/breadcrumb.config.d.ts +0 -390
- package/dist/components/dist/breadcrumb.config.js +0 -43
- package/dist/components/dist/breadcrumb.d.ts +0 -420
- package/dist/components/dist/breadcrumb.js +0 -119
- package/dist/components/dist/button.config.d.ts +0 -381
- package/dist/components/dist/button.config.js +0 -91
- package/dist/components/dist/button.d.ts +0 -403
- package/dist/components/dist/button.js +0 -35
- package/dist/components/dist/card.config.d.ts +0 -336
- package/dist/components/dist/card.config.js +0 -33
- package/dist/components/dist/card.d.ts +0 -352
- package/dist/components/dist/card.js +0 -27
- package/dist/components/dist/collapsible.config.d.ts +0 -45
- package/dist/components/dist/collapsible.config.js +0 -46
- package/dist/components/dist/collapsible.d.ts +0 -61
- package/dist/components/dist/collapsible.js +0 -38
- package/dist/components/dist/command.config.d.ts +0 -1613
- package/dist/components/dist/command.config.js +0 -170
- package/dist/components/dist/command.d.ts +0 -1722
- package/dist/components/dist/command.js +0 -341
- package/dist/components/dist/control-color.config.d.ts +0 -979
- package/dist/components/dist/control-color.config.js +0 -81
- package/dist/components/dist/control-color.d.ts +0 -995
- package/dist/components/dist/control-color.js +0 -64
- package/dist/components/dist/control-curve.config.d.ts +0 -18
- package/dist/components/dist/control-curve.config.js +0 -14
- package/dist/components/dist/control-curve.d.ts +0 -35
- package/dist/components/dist/control-curve.js +0 -81
- package/dist/components/dist/control-folder.config.d.ts +0 -177
- package/dist/components/dist/control-folder.config.js +0 -47
- package/dist/components/dist/control-folder.d.ts +0 -194
- package/dist/components/dist/control-folder.js +0 -41
- package/dist/components/dist/control-group.config.d.ts +0 -859
- package/dist/components/dist/control-group.config.js +0 -80
- package/dist/components/dist/control-group.d.ts +0 -881
- package/dist/components/dist/control-group.js +0 -89
- package/dist/components/dist/control-knob.config.d.ts +0 -792
- package/dist/components/dist/control-knob.config.js +0 -67
- package/dist/components/dist/control-knob.d.ts +0 -819
- package/dist/components/dist/control-knob.js +0 -148
- package/dist/components/dist/control-panel.config.d.ts +0 -402
- package/dist/components/dist/control-panel.config.js +0 -38
- package/dist/components/dist/control-panel.d.ts +0 -415
- package/dist/components/dist/control-panel.js +0 -22
- package/dist/components/dist/control-select.config.d.ts +0 -1176
- package/dist/components/dist/control-select.config.js +0 -102
- package/dist/components/dist/control-select.d.ts +0 -1200
- package/dist/components/dist/control-select.js +0 -63
- package/dist/components/dist/control-slider.config.d.ts +0 -104
- package/dist/components/dist/control-slider.config.js +0 -98
- package/dist/components/dist/control-slider.d.ts +0 -127
- package/dist/components/dist/control-slider.js +0 -87
- package/dist/components/dist/control-spring.config.d.ts +0 -417
- package/dist/components/dist/control-spring.config.js +0 -36
- package/dist/components/dist/control-spring.d.ts +0 -439
- package/dist/components/dist/control-spring.js +0 -136
- package/dist/components/dist/control-stepper.config.d.ts +0 -1084
- package/dist/components/dist/control-stepper.config.js +0 -108
- package/dist/components/dist/control-stepper.d.ts +0 -1104
- package/dist/components/dist/control-stepper.js +0 -109
- package/dist/components/dist/control-toggle.config.d.ts +0 -407
- package/dist/components/dist/control-toggle.config.js +0 -26
- package/dist/components/dist/control-toggle.d.ts +0 -420
- package/dist/components/dist/control-toggle.js +0 -36
- package/dist/components/dist/createSlot.d.ts +0 -8
- package/dist/components/dist/createSlot.js +0 -89
- package/dist/components/dist/dropdown.config.d.ts +0 -920
- package/dist/components/dist/dropdown.config.js +0 -107
- package/dist/components/dist/dropdown.d.ts +0 -950
- package/dist/components/dist/dropdown.js +0 -92
- package/dist/components/dist/empty-state.config.d.ts +0 -396
- package/dist/components/dist/empty-state.config.js +0 -53
- package/dist/components/dist/empty-state.d.ts +0 -416
- package/dist/components/dist/empty-state.js +0 -33
- package/dist/components/dist/footer.d.ts +0 -11
- package/dist/components/dist/footer.js +0 -9
- package/dist/components/dist/grid.d.ts +0 -41
- package/dist/components/dist/grid.js +0 -34
- package/dist/components/dist/header.d.ts +0 -11
- package/dist/components/dist/header.js +0 -9
- package/dist/components/dist/hstack.d.ts +0 -15
- package/dist/components/dist/hstack.js +0 -21
- package/dist/components/dist/image.d.ts +0 -19
- package/dist/components/dist/image.js +0 -9
- package/dist/components/dist/input.config.d.ts +0 -58
- package/dist/components/dist/input.config.js +0 -42
- package/dist/components/dist/input.d.ts +0 -67
- package/dist/components/dist/input.js +0 -14
- package/dist/components/dist/item.config.d.ts +0 -351
- package/dist/components/dist/item.config.js +0 -83
- package/dist/components/dist/item.d.ts +0 -374
- package/dist/components/dist/item.js +0 -51
- package/dist/components/dist/list.d.ts +0 -19
- package/dist/components/dist/list.js +0 -21
- package/dist/components/dist/main.d.ts +0 -11
- package/dist/components/dist/main.js +0 -9
- package/dist/components/dist/modal.config.d.ts +0 -397
- package/dist/components/dist/modal.config.js +0 -92
- package/dist/components/dist/modal.d.ts +0 -433
- package/dist/components/dist/modal.js +0 -125
- package/dist/components/dist/nav-header.config.d.ts +0 -158
- package/dist/components/dist/nav-header.config.js +0 -26
- package/dist/components/dist/nav-header.d.ts +0 -173
- package/dist/components/dist/nav-header.js +0 -23
- package/dist/components/dist/nav.d.ts +0 -11
- package/dist/components/dist/nav.js +0 -9
- package/dist/components/dist/preset-bar.config.d.ts +0 -192
- package/dist/components/dist/preset-bar.config.js +0 -39
- package/dist/components/dist/preset-bar.d.ts +0 -215
- package/dist/components/dist/preset-bar.js +0 -71
- package/dist/components/dist/presets/index.d.ts +0 -17674
- package/dist/components/dist/presets/index.js +0 -97
- package/dist/components/dist/pressable.d.ts +0 -11
- package/dist/components/dist/pressable.js +0 -9
- package/dist/components/dist/progress.config.d.ts +0 -296
- package/dist/components/dist/progress.config.js +0 -35
- package/dist/components/dist/progress.d.ts +0 -311
- package/dist/components/dist/progress.js +0 -43
- package/dist/components/dist/section.d.ts +0 -11
- package/dist/components/dist/section.js +0 -9
- package/dist/components/dist/select.config.d.ts +0 -31
- package/dist/components/dist/select.config.js +0 -25
- package/dist/components/dist/select.d.ts +0 -45
- package/dist/components/dist/select.js +0 -13
- package/dist/components/dist/sheet.config.d.ts +0 -245
- package/dist/components/dist/sheet.config.js +0 -99
- package/dist/components/dist/sheet.d.ts +0 -267
- package/dist/components/dist/sheet.js +0 -53
- package/dist/components/dist/sidebar.config.d.ts +0 -1651
- package/dist/components/dist/sidebar.config.js +0 -217
- package/dist/components/dist/sidebar.d.ts +0 -1825
- package/dist/components/dist/sidebar.js +0 -492
- package/dist/components/dist/skeleton.config.d.ts +0 -16
- package/dist/components/dist/skeleton.config.js +0 -10
- package/dist/components/dist/skeleton.d.ts +0 -27
- package/dist/components/dist/skeleton.js +0 -16
- package/dist/components/dist/slider.config.d.ts +0 -44
- package/dist/components/dist/slider.config.js +0 -40
- package/dist/components/dist/slider.d.ts +0 -70
- package/dist/components/dist/slider.js +0 -247
- package/dist/components/dist/spinner.config.d.ts +0 -34
- package/dist/components/dist/spinner.config.js +0 -24
- package/dist/components/dist/spinner.d.ts +0 -42
- package/dist/components/dist/spinner.js +0 -29
- package/dist/components/dist/svg.d.ts +0 -21
- package/dist/components/dist/svg.js +0 -17
- package/dist/components/dist/switch.config.d.ts +0 -353
- package/dist/components/dist/switch.config.js +0 -47
- package/dist/components/dist/switch.d.ts +0 -370
- package/dist/components/dist/switch.js +0 -32
- package/dist/components/dist/table.d.ts +0 -36
- package/dist/components/dist/table.js +0 -29
- package/dist/components/dist/tabs.config.d.ts +0 -611
- package/dist/components/dist/tabs.config.js +0 -56
- package/dist/components/dist/tabs.d.ts +0 -632
- package/dist/components/dist/tabs.js +0 -77
- package/dist/components/dist/text.config.d.ts +0 -306
- package/dist/components/dist/text.config.js +0 -149
- package/dist/components/dist/text.d.ts +0 -205
- package/dist/components/dist/text.js +0 -12
- package/dist/components/dist/textarea.config.d.ts +0 -352
- package/dist/components/dist/textarea.config.js +0 -57
- package/dist/components/dist/textarea.d.ts +0 -362
- package/dist/components/dist/textarea.js +0 -9
- package/dist/components/dist/toast.config.d.ts +0 -335
- package/dist/components/dist/toast.config.js +0 -145
- package/dist/components/dist/toast.d.ts +0 -426
- package/dist/components/dist/toast.js +0 -159
- package/dist/components/dist/tooltip.config.d.ts +0 -193
- package/dist/components/dist/tooltip.config.js +0 -40
- package/dist/components/dist/tooltip.d.ts +0 -206
- package/dist/components/dist/tooltip.js +0 -28
- package/dist/components/dist/vstack.d.ts +0 -15
- package/dist/components/dist/vstack.js +0 -20
- package/dist/components/dropdown.config.d.ts +0 -2
- package/dist/components/dropdown.config.js +0 -2
- package/dist/components/dropdown.d.ts +0 -2
- package/dist/components/dropdown.js +0 -2
- package/dist/components/empty-state.config.d.ts +0 -2
- package/dist/components/empty-state.config.js +0 -2
- package/dist/components/empty-state.d.ts +0 -2
- package/dist/components/empty-state.js +0 -2
- package/dist/components/footer.d.ts +0 -2
- package/dist/components/footer.js +0 -2
- package/dist/components/grid.d.ts +0 -2
- package/dist/components/grid.js +0 -2
- package/dist/components/header.d.ts +0 -2
- package/dist/components/header.js +0 -2
- package/dist/components/hstack.d.ts +0 -2
- package/dist/components/hstack.js +0 -2
- package/dist/components/image.d.ts +0 -2
- package/dist/components/image.js +0 -2
- package/dist/components/input.config.d.ts +0 -2
- package/dist/components/input.config.js +0 -2
- package/dist/components/input.d.ts +0 -2
- package/dist/components/input.js +0 -2
- package/dist/components/item.config.d.ts +0 -2
- package/dist/components/item.config.js +0 -2
- package/dist/components/item.d.ts +0 -2
- package/dist/components/item.js +0 -2
- package/dist/components/list.d.ts +0 -2
- package/dist/components/list.js +0 -2
- package/dist/components/main.d.ts +0 -2
- package/dist/components/main.js +0 -2
- package/dist/components/modal.config.d.ts +0 -2
- package/dist/components/modal.config.js +0 -2
- package/dist/components/modal.d.ts +0 -2
- package/dist/components/modal.js +0 -2
- package/dist/components/nav-header.config.d.ts +0 -2
- package/dist/components/nav-header.config.js +0 -2
- package/dist/components/nav-header.d.ts +0 -2
- package/dist/components/nav-header.js +0 -2
- package/dist/components/nav.d.ts +0 -2
- package/dist/components/nav.js +0 -2
- package/dist/components/preset-bar.config.d.ts +0 -2
- package/dist/components/preset-bar.config.js +0 -2
- package/dist/components/preset-bar.d.ts +0 -2
- package/dist/components/preset-bar.js +0 -2
- package/dist/components/presets/index.d.ts +0 -44
- package/dist/components/presets/index.js +0 -44
- package/dist/components/pressable.d.ts +0 -2
- package/dist/components/pressable.js +0 -2
- package/dist/components/progress.config.d.ts +0 -2
- package/dist/components/progress.config.js +0 -2
- package/dist/components/progress.d.ts +0 -2
- package/dist/components/progress.js +0 -2
- package/dist/components/section.d.ts +0 -2
- package/dist/components/section.js +0 -2
- package/dist/components/select.config.d.ts +0 -2
- package/dist/components/select.config.js +0 -2
- package/dist/components/select.d.ts +0 -2
- package/dist/components/select.js +0 -2
- package/dist/components/sheet.config.d.ts +0 -2
- package/dist/components/sheet.config.js +0 -2
- package/dist/components/sheet.d.ts +0 -2
- package/dist/components/sheet.js +0 -2
- package/dist/components/sidebar.config.d.ts +0 -2
- package/dist/components/sidebar.config.js +0 -2
- package/dist/components/sidebar.d.ts +0 -2
- package/dist/components/sidebar.js +0 -2
- package/dist/components/skeleton.config.d.ts +0 -2
- package/dist/components/skeleton.config.js +0 -2
- package/dist/components/skeleton.d.ts +0 -2
- package/dist/components/skeleton.js +0 -2
- package/dist/components/slider.config.d.ts +0 -2
- package/dist/components/slider.config.js +0 -2
- package/dist/components/slider.d.ts +0 -2
- package/dist/components/slider.js +0 -2
- package/dist/components/spinner.config.d.ts +0 -2
- package/dist/components/spinner.config.js +0 -2
- package/dist/components/spinner.d.ts +0 -2
- package/dist/components/spinner.js +0 -2
- package/dist/components/svg.d.ts +0 -2
- package/dist/components/svg.js +0 -2
- package/dist/components/switch.config.d.ts +0 -2
- package/dist/components/switch.config.js +0 -2
- package/dist/components/switch.d.ts +0 -2
- package/dist/components/switch.js +0 -2
- package/dist/components/table.d.ts +0 -2
- package/dist/components/table.js +0 -2
- package/dist/components/tabs.config.d.ts +0 -2
- package/dist/components/tabs.config.js +0 -2
- package/dist/components/tabs.d.ts +0 -2
- package/dist/components/tabs.js +0 -2
- package/dist/components/text.config.d.ts +0 -2
- package/dist/components/text.config.js +0 -2
- package/dist/components/text.d.ts +0 -2
- package/dist/components/text.js +0 -2
- package/dist/components/textarea.config.d.ts +0 -2
- package/dist/components/textarea.config.js +0 -2
- package/dist/components/textarea.d.ts +0 -2
- package/dist/components/textarea.js +0 -2
- package/dist/components/toast.config.d.ts +0 -2
- package/dist/components/toast.config.js +0 -2
- package/dist/components/toast.d.ts +0 -2
- package/dist/components/toast.js +0 -2
- package/dist/components/tooltip.config.d.ts +0 -2
- package/dist/components/tooltip.config.js +0 -2
- package/dist/components/tooltip.d.ts +0 -2
- package/dist/components/tooltip.js +0 -2
- package/dist/components/vstack.d.ts +0 -2
- package/dist/components/vstack.js +0 -2
- package/dist/config/dist/component-resolution.js +0 -78
- package/dist/config/dist/consts/defaultColors.d.ts +0 -253
- package/dist/config/dist/consts/defaultColors.js +0 -252
- package/dist/config/dist/createComponent.d.ts +0 -1
- package/dist/config/dist/createComponent.js +0 -1
- package/dist/config/dist/preset-merge.js +0 -192
- package/dist/config/dist/propertyGroups.d.ts +0 -1
- package/dist/config/dist/propertyGroups.js +0 -414
- package/dist/config/dist/resolveTokenTypes.d.ts +0 -1
- package/dist/config/dist/resolveTokenTypes.js +0 -149
- package/dist/config-utils/dist/componentConfig.d.ts +0 -10
- package/dist/config-utils/dist/componentConfig.js +0 -11
- package/dist/config-utils.d.ts +0 -2
- package/dist/config-utils.js +0 -2
- package/dist/core/dist/color-opacity-map.js +0 -33
- package/dist/core/dist/compositeStyles.d.ts +0 -21
- package/dist/core/dist/compositeStyles.js +0 -51
- package/dist/core/dist/configurable-prop-helpers.d.ts +0 -31
- package/dist/core/dist/configurable-prop-helpers.js +0 -61
- package/dist/core/dist/createComponent.boundaries.js +0 -192
- package/dist/core/dist/createComponent.d.ts +0 -56
- package/dist/core/dist/createComponent.js +0 -67
- package/dist/core/dist/createComponentExample.d.ts +0 -41
- package/dist/core/dist/createComponentExample.js +0 -27
- package/dist/core/dist/createProvider.d.ts +0 -12
- package/dist/core/dist/createProvider.js +0 -24
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +0 -1700
- package/dist/core/dist/generated/stylePropsTwMap.js +0 -570
- package/dist/core/dist/getComponentStyles.d.ts +0 -49
- package/dist/core/dist/getComponentStyles.js +0 -85
- package/dist/core/dist/getStyles.d.ts +0 -42
- package/dist/core/dist/getStyles.js +0 -300
- package/dist/core/dist/index.d.ts +0 -13
- package/dist/core/dist/index.js +0 -13
- package/dist/core/dist/modifier-mappings.d.ts +0 -12
- package/dist/core/dist/modifier-mappings.js +0 -61
- package/dist/core/dist/resolveMotionState.d.ts +0 -4
- package/dist/core/dist/resolveMotionState.js +0 -17
- package/dist/core/dist/resolveProps.boundaries.js +0 -131
- package/dist/core/dist/style-prop-data.d.ts +0 -32
- package/dist/core/dist/style-prop-data.js +0 -1257
- package/dist/core/dist/transformPreset.d.ts +0 -17
- package/dist/core/dist/transformPreset.js +0 -28
- package/dist/core/dist/withDefaultStyleProps.d.ts +0 -43
- package/dist/core/dist/withDefaultStyleProps.js +0 -18
- package/dist/core.d.ts +0 -14
- package/dist/core.js +0 -15
- package/dist/createSlot.d.ts +0 -2
- package/dist/createSlot.js +0 -2
- package/dist/fixtures.d.ts +0 -4
- package/dist/fixtures.js +0 -5
- package/dist/foundational-presets/dist/_virtual/_rolldown/runtime.js +0 -13
- package/dist/foundational-presets/dist/defaultPreset.d.ts +0 -1557
- package/dist/foundational-presets/dist/defaultPreset.js +0 -615
- package/dist/foundational-presets/dist/index.d.ts +0 -1
- package/dist/foundational-presets/dist/index.js +0 -1
- package/dist/foundational-presets/dist/motion.d.ts +0 -12
- package/dist/foundational-presets/dist/motion.js +0 -10
- package/dist/foundational-presets/dist/style-props.js +0 -1445
- package/dist/loader/dist/loader/create-component-data.js +0 -33
- package/dist/loader/dist/loader/create-component-lowering.js +0 -454
- package/dist/loader/dist/loader/data-attr-transform.js +0 -191
- package/dist/loader/dist/loader/dynamic-style-codegen.js +0 -97
- package/dist/loader/dist/loader/motion-transform.js +0 -717
- package/dist/loader/dist/loader/style-transform.js +0 -670
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -203
- package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -25
- package/dist/loader/dist/node_modules/react/cjs/react.development.js +0 -762
- package/dist/loader/dist/node_modules/react/cjs/react.production.js +0 -351
- package/dist/loader/dist/node_modules/react/index.js +0 -10
- package/dist/loader/dist/node_modules/react/jsx-runtime.js +0 -10
- package/dist/loader/dist/packages/core/dist/color-opacity-map.js +0 -33
- package/dist/loader/dist/packages/core/dist/compositeStyles.js +0 -43
- package/dist/loader/dist/packages/core/dist/createComponent.js +0 -6
- package/dist/loader/dist/packages/core/dist/createProvider.js +0 -7
- package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +0 -570
- package/dist/loader/dist/packages/core/dist/getComponentStyles.js +0 -2
- package/dist/loader/dist/packages/core/dist/getStyles.js +0 -60
- package/dist/loader/dist/packages/core/dist/index.js +0 -6
- package/dist/loader/dist/packages/core/dist/modifier-mappings.js +0 -61
- package/dist/loader/dist/packages/core/dist/style-prop-data.js +0 -1257
- package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +0 -1
- package/dist/presets/dist/defaultPreset.d.ts +0 -6
- package/dist/presets/dist/defaultPreset.js +0 -51
- package/dist/presets/dist/index.d.ts +0 -1
- package/dist/presets/dist/index.js +0 -1
- package/dist/presets/motion.d.ts +0 -2
- package/dist/presets/motion.js +0 -2
- package/dist/presets.d.ts +0 -2
- package/dist/presets.js +0 -3
- package/dist/styles.d.ts +0 -4
- package/dist/styles.js +0 -5
- package/dist/transformPreset.d.ts +0 -2
- package/dist/transformPreset.js +0 -3
- /package/dist/{config/dist/component-resolution.d.ts → loader/dist/transform-runner.d.ts} +0 -0
|
@@ -1,397 +0,0 @@
|
|
|
1
|
-
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
-
//#region ../components/dist/modal.config.d.ts
|
|
3
|
-
declare const modalConfig: ComponentConfig<{
|
|
4
|
-
Modal: {
|
|
5
|
-
readonly base: {
|
|
6
|
-
readonly overlay: {
|
|
7
|
-
readonly position: "fixed";
|
|
8
|
-
readonly inset: "0";
|
|
9
|
-
readonly zIndex: "50";
|
|
10
|
-
readonly display: "flex";
|
|
11
|
-
readonly alignItems: "center";
|
|
12
|
-
readonly justifyContent: "center";
|
|
13
|
-
readonly backgroundColor: "rgba(0,0,0,0.5)";
|
|
14
|
-
readonly motion: {
|
|
15
|
-
readonly initial: {
|
|
16
|
-
readonly opacity: 0;
|
|
17
|
-
};
|
|
18
|
-
readonly animate: {
|
|
19
|
-
readonly opacity: 1;
|
|
20
|
-
};
|
|
21
|
-
readonly exit: {
|
|
22
|
-
readonly opacity: 0;
|
|
23
|
-
};
|
|
24
|
-
readonly transition: {
|
|
25
|
-
readonly duration: 0.15;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
readonly trigger: {
|
|
30
|
-
readonly display: "inline-block";
|
|
31
|
-
readonly cursor: "pointer";
|
|
32
|
-
};
|
|
33
|
-
readonly dismiss: {
|
|
34
|
-
readonly position: "absolute";
|
|
35
|
-
readonly inset: "0";
|
|
36
|
-
readonly background: "none";
|
|
37
|
-
readonly border: "none";
|
|
38
|
-
readonly padding: "0";
|
|
39
|
-
readonly cursor: "default";
|
|
40
|
-
};
|
|
41
|
-
readonly panel: {
|
|
42
|
-
readonly position: "relative";
|
|
43
|
-
readonly zIndex: "1";
|
|
44
|
-
readonly backgroundColor: string;
|
|
45
|
-
readonly borderRadius: string;
|
|
46
|
-
readonly padding: string;
|
|
47
|
-
readonly minWidth: "24rem";
|
|
48
|
-
readonly maxWidth: "32rem";
|
|
49
|
-
readonly display: "flex";
|
|
50
|
-
readonly flexDirection: "column";
|
|
51
|
-
readonly gap: string;
|
|
52
|
-
readonly borderWidth: string;
|
|
53
|
-
readonly borderColor: string;
|
|
54
|
-
readonly motion: {
|
|
55
|
-
readonly initial: {
|
|
56
|
-
readonly opacity: 0;
|
|
57
|
-
readonly scale: 0.95;
|
|
58
|
-
readonly y: 10;
|
|
59
|
-
};
|
|
60
|
-
readonly animate: {
|
|
61
|
-
readonly opacity: 1;
|
|
62
|
-
readonly scale: 1;
|
|
63
|
-
readonly y: 0;
|
|
64
|
-
};
|
|
65
|
-
readonly exit: {
|
|
66
|
-
readonly opacity: 0;
|
|
67
|
-
readonly scale: 0.95;
|
|
68
|
-
readonly y: 10;
|
|
69
|
-
};
|
|
70
|
-
readonly transition: {
|
|
71
|
-
readonly duration: 0.2;
|
|
72
|
-
readonly ease: [0.16, 1, 0.3, 1];
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
readonly title: {
|
|
77
|
-
readonly fontSize: "1.125rem";
|
|
78
|
-
readonly color: string;
|
|
79
|
-
readonly fontWeight: string;
|
|
80
|
-
readonly lineHeight: "1";
|
|
81
|
-
readonly fontFamily: string;
|
|
82
|
-
} | {
|
|
83
|
-
readonly fontSize: "1.125rem";
|
|
84
|
-
readonly color: string;
|
|
85
|
-
readonly fontWeight: string;
|
|
86
|
-
readonly lineHeight: string;
|
|
87
|
-
readonly fontFamily: string;
|
|
88
|
-
} | {
|
|
89
|
-
readonly fontSize: "1.125rem";
|
|
90
|
-
readonly color: string;
|
|
91
|
-
readonly fontWeight: string;
|
|
92
|
-
readonly lineHeight: string;
|
|
93
|
-
readonly fontFamily: string;
|
|
94
|
-
} | {
|
|
95
|
-
readonly fontSize: "1.125rem";
|
|
96
|
-
readonly color: string;
|
|
97
|
-
readonly fontWeight: string;
|
|
98
|
-
readonly lineHeight: string;
|
|
99
|
-
readonly fontFamily: string;
|
|
100
|
-
} | {
|
|
101
|
-
readonly fontSize: "1.125rem";
|
|
102
|
-
readonly color: string;
|
|
103
|
-
readonly fontWeight: string;
|
|
104
|
-
readonly lineHeight: string;
|
|
105
|
-
readonly fontFamily: string;
|
|
106
|
-
} | {
|
|
107
|
-
readonly fontSize: "1.125rem";
|
|
108
|
-
readonly color: string;
|
|
109
|
-
readonly fontWeight: "450";
|
|
110
|
-
readonly lineHeight: string;
|
|
111
|
-
readonly fontFamily: string;
|
|
112
|
-
} | {
|
|
113
|
-
readonly fontSize: "1.125rem";
|
|
114
|
-
readonly color: string;
|
|
115
|
-
readonly fontWeight: string;
|
|
116
|
-
readonly lineHeight: string;
|
|
117
|
-
readonly fontFamily: string;
|
|
118
|
-
} | {
|
|
119
|
-
readonly fontSize: "1.125rem";
|
|
120
|
-
readonly color: string;
|
|
121
|
-
readonly fontWeight: string;
|
|
122
|
-
readonly lineHeight: string;
|
|
123
|
-
readonly fontFamily: string;
|
|
124
|
-
} | {
|
|
125
|
-
readonly fontSize: "1.125rem";
|
|
126
|
-
readonly color: string;
|
|
127
|
-
readonly fontWeight: "450";
|
|
128
|
-
readonly lineHeight: string;
|
|
129
|
-
readonly fontFamily: string;
|
|
130
|
-
} | {
|
|
131
|
-
readonly fontSize: "1.125rem";
|
|
132
|
-
readonly color: string;
|
|
133
|
-
readonly fontWeight: string;
|
|
134
|
-
readonly lineHeight: string;
|
|
135
|
-
readonly fontFamily: string;
|
|
136
|
-
} | {
|
|
137
|
-
readonly fontSize: "1.125rem";
|
|
138
|
-
readonly color: string;
|
|
139
|
-
readonly fontWeight: "450";
|
|
140
|
-
readonly lineHeight: string;
|
|
141
|
-
readonly fontFamily: string;
|
|
142
|
-
} | {
|
|
143
|
-
readonly fontSize: "1.125rem";
|
|
144
|
-
readonly color: string;
|
|
145
|
-
readonly fontWeight: string;
|
|
146
|
-
readonly lineHeight: string;
|
|
147
|
-
readonly fontFamily: string;
|
|
148
|
-
} | {
|
|
149
|
-
readonly fontSize: "1.125rem";
|
|
150
|
-
readonly color: string;
|
|
151
|
-
readonly fontWeight: string;
|
|
152
|
-
readonly lineHeight: string;
|
|
153
|
-
readonly fontFamily: string;
|
|
154
|
-
} | {
|
|
155
|
-
readonly fontSize: "1.125rem";
|
|
156
|
-
readonly color: string;
|
|
157
|
-
readonly fontWeight: string;
|
|
158
|
-
readonly lineHeight: string;
|
|
159
|
-
readonly fontFamily: string;
|
|
160
|
-
} | {
|
|
161
|
-
readonly fontSize: "1.125rem";
|
|
162
|
-
readonly color: string;
|
|
163
|
-
readonly fontWeight: string;
|
|
164
|
-
readonly lineHeight: string;
|
|
165
|
-
readonly fontFamily: string;
|
|
166
|
-
} | {
|
|
167
|
-
readonly fontSize: "1.125rem";
|
|
168
|
-
readonly color: string;
|
|
169
|
-
readonly fontWeight: string;
|
|
170
|
-
readonly lineHeight: string;
|
|
171
|
-
readonly fontFamily: string;
|
|
172
|
-
} | {
|
|
173
|
-
readonly fontSize: "1.125rem";
|
|
174
|
-
readonly color: string;
|
|
175
|
-
readonly fontWeight: string;
|
|
176
|
-
readonly lineHeight: string;
|
|
177
|
-
readonly fontFamily: string;
|
|
178
|
-
} | {
|
|
179
|
-
readonly fontSize: "1.125rem";
|
|
180
|
-
readonly color: string;
|
|
181
|
-
readonly fontWeight: string;
|
|
182
|
-
readonly lineHeight: string;
|
|
183
|
-
readonly fontFamily: string;
|
|
184
|
-
} | {
|
|
185
|
-
readonly fontSize: "1.125rem";
|
|
186
|
-
readonly color: string;
|
|
187
|
-
readonly fontWeight: string;
|
|
188
|
-
readonly lineHeight: string;
|
|
189
|
-
readonly fontFamily: string;
|
|
190
|
-
} | {
|
|
191
|
-
readonly fontSize: "1.125rem";
|
|
192
|
-
readonly color: string;
|
|
193
|
-
readonly fontWeight: string;
|
|
194
|
-
readonly lineHeight: string;
|
|
195
|
-
readonly fontFamily: string;
|
|
196
|
-
} | {
|
|
197
|
-
readonly fontSize: "1.125rem";
|
|
198
|
-
readonly color: string;
|
|
199
|
-
readonly fontWeight: string;
|
|
200
|
-
readonly lineHeight: string;
|
|
201
|
-
readonly fontFamily: string;
|
|
202
|
-
} | {
|
|
203
|
-
readonly fontSize: "1.125rem";
|
|
204
|
-
readonly color: string;
|
|
205
|
-
readonly fontWeight: string;
|
|
206
|
-
readonly lineHeight: string;
|
|
207
|
-
readonly fontFamily: string;
|
|
208
|
-
};
|
|
209
|
-
readonly description: {
|
|
210
|
-
readonly color: string;
|
|
211
|
-
readonly maxInlineSize: "65ch";
|
|
212
|
-
readonly textWrap: "pretty";
|
|
213
|
-
readonly fontSize: string;
|
|
214
|
-
readonly fontWeight: string;
|
|
215
|
-
readonly lineHeight: "1";
|
|
216
|
-
readonly fontFamily: string;
|
|
217
|
-
} | {
|
|
218
|
-
readonly color: string;
|
|
219
|
-
readonly maxInlineSize: "65ch";
|
|
220
|
-
readonly textWrap: "pretty";
|
|
221
|
-
readonly fontSize: string;
|
|
222
|
-
readonly fontWeight: string;
|
|
223
|
-
readonly lineHeight: string;
|
|
224
|
-
readonly fontFamily: string;
|
|
225
|
-
} | {
|
|
226
|
-
readonly color: string;
|
|
227
|
-
readonly maxInlineSize: "65ch";
|
|
228
|
-
readonly textWrap: "pretty";
|
|
229
|
-
readonly fontSize: string;
|
|
230
|
-
readonly fontWeight: string;
|
|
231
|
-
readonly lineHeight: string;
|
|
232
|
-
readonly fontFamily: string;
|
|
233
|
-
} | {
|
|
234
|
-
readonly color: string;
|
|
235
|
-
readonly maxInlineSize: "65ch";
|
|
236
|
-
readonly textWrap: "pretty";
|
|
237
|
-
readonly fontSize: string;
|
|
238
|
-
readonly fontWeight: string;
|
|
239
|
-
readonly lineHeight: string;
|
|
240
|
-
readonly fontFamily: string;
|
|
241
|
-
} | {
|
|
242
|
-
readonly color: string;
|
|
243
|
-
readonly maxInlineSize: "65ch";
|
|
244
|
-
readonly textWrap: "pretty";
|
|
245
|
-
readonly fontSize: string;
|
|
246
|
-
readonly fontWeight: string;
|
|
247
|
-
readonly lineHeight: string;
|
|
248
|
-
readonly fontFamily: string;
|
|
249
|
-
} | {
|
|
250
|
-
readonly color: string;
|
|
251
|
-
readonly maxInlineSize: "65ch";
|
|
252
|
-
readonly textWrap: "pretty";
|
|
253
|
-
readonly fontSize: string;
|
|
254
|
-
readonly fontWeight: "450";
|
|
255
|
-
readonly lineHeight: string;
|
|
256
|
-
readonly fontFamily: string;
|
|
257
|
-
} | {
|
|
258
|
-
readonly color: string;
|
|
259
|
-
readonly maxInlineSize: "65ch";
|
|
260
|
-
readonly textWrap: "pretty";
|
|
261
|
-
readonly fontSize: string;
|
|
262
|
-
readonly fontWeight: string;
|
|
263
|
-
readonly lineHeight: string;
|
|
264
|
-
readonly fontFamily: string;
|
|
265
|
-
} | {
|
|
266
|
-
readonly color: string;
|
|
267
|
-
readonly maxInlineSize: "65ch";
|
|
268
|
-
readonly textWrap: "pretty";
|
|
269
|
-
readonly fontSize: string;
|
|
270
|
-
readonly fontWeight: string;
|
|
271
|
-
readonly lineHeight: string;
|
|
272
|
-
readonly fontFamily: string;
|
|
273
|
-
} | {
|
|
274
|
-
readonly color: string;
|
|
275
|
-
readonly maxInlineSize: "65ch";
|
|
276
|
-
readonly textWrap: "pretty";
|
|
277
|
-
readonly fontSize: string;
|
|
278
|
-
readonly fontWeight: "450";
|
|
279
|
-
readonly lineHeight: string;
|
|
280
|
-
readonly fontFamily: string;
|
|
281
|
-
} | {
|
|
282
|
-
readonly color: string;
|
|
283
|
-
readonly maxInlineSize: "65ch";
|
|
284
|
-
readonly textWrap: "pretty";
|
|
285
|
-
readonly fontSize: string;
|
|
286
|
-
readonly fontWeight: string;
|
|
287
|
-
readonly lineHeight: string;
|
|
288
|
-
readonly fontFamily: string;
|
|
289
|
-
} | {
|
|
290
|
-
readonly color: string;
|
|
291
|
-
readonly maxInlineSize: "65ch";
|
|
292
|
-
readonly textWrap: "pretty";
|
|
293
|
-
readonly fontSize: string;
|
|
294
|
-
readonly fontWeight: "450";
|
|
295
|
-
readonly lineHeight: string;
|
|
296
|
-
readonly fontFamily: string;
|
|
297
|
-
} | {
|
|
298
|
-
readonly color: string;
|
|
299
|
-
readonly maxInlineSize: "65ch";
|
|
300
|
-
readonly textWrap: "pretty";
|
|
301
|
-
readonly fontSize: string;
|
|
302
|
-
readonly fontWeight: string;
|
|
303
|
-
readonly lineHeight: string;
|
|
304
|
-
readonly fontFamily: string;
|
|
305
|
-
} | {
|
|
306
|
-
readonly color: string;
|
|
307
|
-
readonly maxInlineSize: "65ch";
|
|
308
|
-
readonly textWrap: "pretty";
|
|
309
|
-
readonly fontSize: string;
|
|
310
|
-
readonly fontWeight: string;
|
|
311
|
-
readonly lineHeight: string;
|
|
312
|
-
readonly fontFamily: string;
|
|
313
|
-
} | {
|
|
314
|
-
readonly color: string;
|
|
315
|
-
readonly maxInlineSize: "65ch";
|
|
316
|
-
readonly textWrap: "pretty";
|
|
317
|
-
readonly fontSize: string;
|
|
318
|
-
readonly fontWeight: string;
|
|
319
|
-
readonly lineHeight: string;
|
|
320
|
-
readonly fontFamily: string;
|
|
321
|
-
} | {
|
|
322
|
-
readonly color: string;
|
|
323
|
-
readonly maxInlineSize: "65ch";
|
|
324
|
-
readonly textWrap: "pretty";
|
|
325
|
-
readonly fontSize: string;
|
|
326
|
-
readonly fontWeight: string;
|
|
327
|
-
readonly lineHeight: string;
|
|
328
|
-
readonly fontFamily: string;
|
|
329
|
-
} | {
|
|
330
|
-
readonly color: string;
|
|
331
|
-
readonly maxInlineSize: "65ch";
|
|
332
|
-
readonly textWrap: "pretty";
|
|
333
|
-
readonly fontSize: string;
|
|
334
|
-
readonly fontWeight: string;
|
|
335
|
-
readonly lineHeight: string;
|
|
336
|
-
readonly fontFamily: string;
|
|
337
|
-
} | {
|
|
338
|
-
readonly color: string;
|
|
339
|
-
readonly maxInlineSize: "65ch";
|
|
340
|
-
readonly textWrap: "pretty";
|
|
341
|
-
readonly fontSize: string;
|
|
342
|
-
readonly fontWeight: string;
|
|
343
|
-
readonly lineHeight: string;
|
|
344
|
-
readonly fontFamily: string;
|
|
345
|
-
} | {
|
|
346
|
-
readonly color: string;
|
|
347
|
-
readonly maxInlineSize: "65ch";
|
|
348
|
-
readonly textWrap: "pretty";
|
|
349
|
-
readonly fontSize: string;
|
|
350
|
-
readonly fontWeight: string;
|
|
351
|
-
readonly lineHeight: string;
|
|
352
|
-
readonly fontFamily: string;
|
|
353
|
-
} | {
|
|
354
|
-
readonly color: string;
|
|
355
|
-
readonly maxInlineSize: "65ch";
|
|
356
|
-
readonly textWrap: "pretty";
|
|
357
|
-
readonly fontSize: string;
|
|
358
|
-
readonly fontWeight: string;
|
|
359
|
-
readonly lineHeight: string;
|
|
360
|
-
readonly fontFamily: string;
|
|
361
|
-
} | {
|
|
362
|
-
readonly color: string;
|
|
363
|
-
readonly maxInlineSize: "65ch";
|
|
364
|
-
readonly textWrap: "pretty";
|
|
365
|
-
readonly fontSize: string;
|
|
366
|
-
readonly fontWeight: string;
|
|
367
|
-
readonly lineHeight: string;
|
|
368
|
-
readonly fontFamily: string;
|
|
369
|
-
} | {
|
|
370
|
-
readonly color: string;
|
|
371
|
-
readonly maxInlineSize: "65ch";
|
|
372
|
-
readonly textWrap: "pretty";
|
|
373
|
-
readonly fontSize: string;
|
|
374
|
-
readonly fontWeight: string;
|
|
375
|
-
readonly lineHeight: string;
|
|
376
|
-
readonly fontFamily: string;
|
|
377
|
-
} | {
|
|
378
|
-
readonly color: string;
|
|
379
|
-
readonly maxInlineSize: "65ch";
|
|
380
|
-
readonly textWrap: "pretty";
|
|
381
|
-
readonly fontSize: string;
|
|
382
|
-
readonly fontWeight: string;
|
|
383
|
-
readonly lineHeight: string;
|
|
384
|
-
readonly fontFamily: string;
|
|
385
|
-
};
|
|
386
|
-
readonly actions: {
|
|
387
|
-
readonly display: "flex";
|
|
388
|
-
readonly justifyContent: "flex-end";
|
|
389
|
-
readonly gap: string;
|
|
390
|
-
readonly paddingTop: string;
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
}, {}>;
|
|
395
|
-
type ModalConfig = typeof modalConfig;
|
|
396
|
-
//#endregion
|
|
397
|
-
export { ModalConfig, modalConfig };
|
|
@@ -1,92 +0,0 @@
|
|
|
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/modal.config.js
|
|
5
|
-
const modalConfig = defaultFoundationPreset.defineComponent("Modal", ({ tokens }) => ({ base: {
|
|
6
|
-
overlay: {
|
|
7
|
-
position: "fixed",
|
|
8
|
-
inset: "0",
|
|
9
|
-
zIndex: "50",
|
|
10
|
-
display: "flex",
|
|
11
|
-
alignItems: "center",
|
|
12
|
-
justifyContent: "center",
|
|
13
|
-
backgroundColor: "rgba(0,0,0,0.5)",
|
|
14
|
-
motion: {
|
|
15
|
-
initial: { opacity: 0 },
|
|
16
|
-
animate: { opacity: 1 },
|
|
17
|
-
exit: { opacity: 0 },
|
|
18
|
-
transition: { duration: .15 }
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
trigger: {
|
|
22
|
-
display: "inline-block",
|
|
23
|
-
cursor: "pointer"
|
|
24
|
-
},
|
|
25
|
-
dismiss: {
|
|
26
|
-
position: "absolute",
|
|
27
|
-
inset: "0",
|
|
28
|
-
background: "none",
|
|
29
|
-
border: "none",
|
|
30
|
-
padding: "0",
|
|
31
|
-
cursor: "default"
|
|
32
|
-
},
|
|
33
|
-
panel: {
|
|
34
|
-
position: "relative",
|
|
35
|
-
zIndex: "1",
|
|
36
|
-
backgroundColor: tokens.bg["elevation-1"],
|
|
37
|
-
borderRadius: tokens.radius.lg,
|
|
38
|
-
padding: tokens.spacing["6"],
|
|
39
|
-
minWidth: "24rem",
|
|
40
|
-
maxWidth: "32rem",
|
|
41
|
-
display: "flex",
|
|
42
|
-
flexDirection: "column",
|
|
43
|
-
gap: tokens.spacing["4"],
|
|
44
|
-
borderWidth: tokens.borderWidth.thin,
|
|
45
|
-
borderColor: tokens.borderColor.secondary,
|
|
46
|
-
motion: {
|
|
47
|
-
initial: {
|
|
48
|
-
opacity: 0,
|
|
49
|
-
scale: .95,
|
|
50
|
-
y: 10
|
|
51
|
-
},
|
|
52
|
-
animate: {
|
|
53
|
-
opacity: 1,
|
|
54
|
-
scale: 1,
|
|
55
|
-
y: 0
|
|
56
|
-
},
|
|
57
|
-
exit: {
|
|
58
|
-
opacity: 0,
|
|
59
|
-
scale: .95,
|
|
60
|
-
y: 10
|
|
61
|
-
},
|
|
62
|
-
transition: {
|
|
63
|
-
duration: .2,
|
|
64
|
-
ease: [
|
|
65
|
-
.16,
|
|
66
|
-
1,
|
|
67
|
-
.3,
|
|
68
|
-
1
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
title: {
|
|
74
|
-
...textVariants.headline,
|
|
75
|
-
fontSize: "1.125rem",
|
|
76
|
-
color: tokens.color["on-primary"]
|
|
77
|
-
},
|
|
78
|
-
description: {
|
|
79
|
-
...textVariants.label2,
|
|
80
|
-
color: tokens.color["on-secondary"],
|
|
81
|
-
maxInlineSize: "65ch",
|
|
82
|
-
textWrap: "pretty"
|
|
83
|
-
},
|
|
84
|
-
actions: {
|
|
85
|
-
display: "flex",
|
|
86
|
-
justifyContent: "flex-end",
|
|
87
|
-
gap: tokens.spacing["2"],
|
|
88
|
-
paddingTop: tokens.spacing["2"]
|
|
89
|
-
}
|
|
90
|
-
} }));
|
|
91
|
-
//#endregion
|
|
92
|
-
export { modalConfig };
|