@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,611 +0,0 @@
|
|
|
1
|
-
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
|
-
//#region ../components/dist/tabs.config.d.ts
|
|
3
|
-
declare const tabsConfig: ComponentConfig<{
|
|
4
|
-
Tabs: {
|
|
5
|
-
readonly base: {
|
|
6
|
-
readonly root: {
|
|
7
|
-
readonly display: "flex";
|
|
8
|
-
readonly flexDirection: "column";
|
|
9
|
-
readonly gap: string;
|
|
10
|
-
};
|
|
11
|
-
readonly tabList: {
|
|
12
|
-
readonly display: "flex";
|
|
13
|
-
readonly gap: string;
|
|
14
|
-
readonly backgroundColor: string;
|
|
15
|
-
readonly padding: string;
|
|
16
|
-
readonly borderRadius: string;
|
|
17
|
-
};
|
|
18
|
-
readonly tab: {
|
|
19
|
-
readonly position: "relative";
|
|
20
|
-
readonly flex: "1";
|
|
21
|
-
readonly textAlign: "center";
|
|
22
|
-
readonly padding: string;
|
|
23
|
-
readonly borderRadius: string;
|
|
24
|
-
readonly color: string;
|
|
25
|
-
readonly cursor: "pointer";
|
|
26
|
-
readonly backgroundColor: "transparent";
|
|
27
|
-
readonly fontSize: string;
|
|
28
|
-
readonly fontWeight: string;
|
|
29
|
-
readonly lineHeight: "1";
|
|
30
|
-
readonly fontFamily: string;
|
|
31
|
-
} | {
|
|
32
|
-
readonly position: "relative";
|
|
33
|
-
readonly flex: "1";
|
|
34
|
-
readonly textAlign: "center";
|
|
35
|
-
readonly padding: string;
|
|
36
|
-
readonly borderRadius: string;
|
|
37
|
-
readonly color: string;
|
|
38
|
-
readonly cursor: "pointer";
|
|
39
|
-
readonly backgroundColor: "transparent";
|
|
40
|
-
readonly fontSize: string;
|
|
41
|
-
readonly fontWeight: string;
|
|
42
|
-
readonly lineHeight: string;
|
|
43
|
-
readonly fontFamily: string;
|
|
44
|
-
} | {
|
|
45
|
-
readonly position: "relative";
|
|
46
|
-
readonly flex: "1";
|
|
47
|
-
readonly textAlign: "center";
|
|
48
|
-
readonly padding: string;
|
|
49
|
-
readonly borderRadius: string;
|
|
50
|
-
readonly color: string;
|
|
51
|
-
readonly cursor: "pointer";
|
|
52
|
-
readonly backgroundColor: "transparent";
|
|
53
|
-
readonly fontSize: string;
|
|
54
|
-
readonly fontWeight: string;
|
|
55
|
-
readonly lineHeight: string;
|
|
56
|
-
readonly fontFamily: string;
|
|
57
|
-
} | {
|
|
58
|
-
readonly position: "relative";
|
|
59
|
-
readonly flex: "1";
|
|
60
|
-
readonly textAlign: "center";
|
|
61
|
-
readonly padding: string;
|
|
62
|
-
readonly borderRadius: string;
|
|
63
|
-
readonly color: string;
|
|
64
|
-
readonly cursor: "pointer";
|
|
65
|
-
readonly backgroundColor: "transparent";
|
|
66
|
-
readonly fontSize: string;
|
|
67
|
-
readonly fontWeight: string;
|
|
68
|
-
readonly lineHeight: string;
|
|
69
|
-
readonly fontFamily: string;
|
|
70
|
-
} | {
|
|
71
|
-
readonly position: "relative";
|
|
72
|
-
readonly flex: "1";
|
|
73
|
-
readonly textAlign: "center";
|
|
74
|
-
readonly padding: string;
|
|
75
|
-
readonly borderRadius: string;
|
|
76
|
-
readonly color: string;
|
|
77
|
-
readonly cursor: "pointer";
|
|
78
|
-
readonly backgroundColor: "transparent";
|
|
79
|
-
readonly fontSize: string;
|
|
80
|
-
readonly fontWeight: string;
|
|
81
|
-
readonly lineHeight: string;
|
|
82
|
-
readonly fontFamily: string;
|
|
83
|
-
} | {
|
|
84
|
-
readonly position: "relative";
|
|
85
|
-
readonly flex: "1";
|
|
86
|
-
readonly textAlign: "center";
|
|
87
|
-
readonly padding: string;
|
|
88
|
-
readonly borderRadius: string;
|
|
89
|
-
readonly color: string;
|
|
90
|
-
readonly cursor: "pointer";
|
|
91
|
-
readonly backgroundColor: "transparent";
|
|
92
|
-
readonly fontSize: string;
|
|
93
|
-
readonly fontWeight: "450";
|
|
94
|
-
readonly lineHeight: string;
|
|
95
|
-
readonly fontFamily: string;
|
|
96
|
-
} | {
|
|
97
|
-
readonly position: "relative";
|
|
98
|
-
readonly flex: "1";
|
|
99
|
-
readonly textAlign: "center";
|
|
100
|
-
readonly padding: string;
|
|
101
|
-
readonly borderRadius: string;
|
|
102
|
-
readonly color: string;
|
|
103
|
-
readonly cursor: "pointer";
|
|
104
|
-
readonly backgroundColor: "transparent";
|
|
105
|
-
readonly fontSize: string;
|
|
106
|
-
readonly fontWeight: string;
|
|
107
|
-
readonly lineHeight: string;
|
|
108
|
-
readonly fontFamily: string;
|
|
109
|
-
} | {
|
|
110
|
-
readonly position: "relative";
|
|
111
|
-
readonly flex: "1";
|
|
112
|
-
readonly textAlign: "center";
|
|
113
|
-
readonly padding: string;
|
|
114
|
-
readonly borderRadius: string;
|
|
115
|
-
readonly color: string;
|
|
116
|
-
readonly cursor: "pointer";
|
|
117
|
-
readonly backgroundColor: "transparent";
|
|
118
|
-
readonly fontSize: string;
|
|
119
|
-
readonly fontWeight: string;
|
|
120
|
-
readonly lineHeight: string;
|
|
121
|
-
readonly fontFamily: string;
|
|
122
|
-
} | {
|
|
123
|
-
readonly position: "relative";
|
|
124
|
-
readonly flex: "1";
|
|
125
|
-
readonly textAlign: "center";
|
|
126
|
-
readonly padding: string;
|
|
127
|
-
readonly borderRadius: string;
|
|
128
|
-
readonly color: string;
|
|
129
|
-
readonly cursor: "pointer";
|
|
130
|
-
readonly backgroundColor: "transparent";
|
|
131
|
-
readonly fontSize: string;
|
|
132
|
-
readonly fontWeight: "450";
|
|
133
|
-
readonly lineHeight: string;
|
|
134
|
-
readonly fontFamily: string;
|
|
135
|
-
} | {
|
|
136
|
-
readonly position: "relative";
|
|
137
|
-
readonly flex: "1";
|
|
138
|
-
readonly textAlign: "center";
|
|
139
|
-
readonly padding: string;
|
|
140
|
-
readonly borderRadius: string;
|
|
141
|
-
readonly color: string;
|
|
142
|
-
readonly cursor: "pointer";
|
|
143
|
-
readonly backgroundColor: "transparent";
|
|
144
|
-
readonly fontSize: string;
|
|
145
|
-
readonly fontWeight: string;
|
|
146
|
-
readonly lineHeight: string;
|
|
147
|
-
readonly fontFamily: string;
|
|
148
|
-
} | {
|
|
149
|
-
readonly position: "relative";
|
|
150
|
-
readonly flex: "1";
|
|
151
|
-
readonly textAlign: "center";
|
|
152
|
-
readonly padding: string;
|
|
153
|
-
readonly borderRadius: string;
|
|
154
|
-
readonly color: string;
|
|
155
|
-
readonly cursor: "pointer";
|
|
156
|
-
readonly backgroundColor: "transparent";
|
|
157
|
-
readonly fontSize: string;
|
|
158
|
-
readonly fontWeight: "450";
|
|
159
|
-
readonly lineHeight: string;
|
|
160
|
-
readonly fontFamily: string;
|
|
161
|
-
} | {
|
|
162
|
-
readonly position: "relative";
|
|
163
|
-
readonly flex: "1";
|
|
164
|
-
readonly textAlign: "center";
|
|
165
|
-
readonly padding: string;
|
|
166
|
-
readonly borderRadius: string;
|
|
167
|
-
readonly color: string;
|
|
168
|
-
readonly cursor: "pointer";
|
|
169
|
-
readonly backgroundColor: "transparent";
|
|
170
|
-
readonly fontSize: string;
|
|
171
|
-
readonly fontWeight: string;
|
|
172
|
-
readonly lineHeight: string;
|
|
173
|
-
readonly fontFamily: string;
|
|
174
|
-
} | {
|
|
175
|
-
readonly position: "relative";
|
|
176
|
-
readonly flex: "1";
|
|
177
|
-
readonly textAlign: "center";
|
|
178
|
-
readonly padding: string;
|
|
179
|
-
readonly borderRadius: string;
|
|
180
|
-
readonly color: string;
|
|
181
|
-
readonly cursor: "pointer";
|
|
182
|
-
readonly backgroundColor: "transparent";
|
|
183
|
-
readonly fontSize: string;
|
|
184
|
-
readonly fontWeight: string;
|
|
185
|
-
readonly lineHeight: string;
|
|
186
|
-
readonly fontFamily: string;
|
|
187
|
-
} | {
|
|
188
|
-
readonly position: "relative";
|
|
189
|
-
readonly flex: "1";
|
|
190
|
-
readonly textAlign: "center";
|
|
191
|
-
readonly padding: string;
|
|
192
|
-
readonly borderRadius: string;
|
|
193
|
-
readonly color: string;
|
|
194
|
-
readonly cursor: "pointer";
|
|
195
|
-
readonly backgroundColor: "transparent";
|
|
196
|
-
readonly fontSize: string;
|
|
197
|
-
readonly fontWeight: string;
|
|
198
|
-
readonly lineHeight: string;
|
|
199
|
-
readonly fontFamily: string;
|
|
200
|
-
} | {
|
|
201
|
-
readonly position: "relative";
|
|
202
|
-
readonly flex: "1";
|
|
203
|
-
readonly textAlign: "center";
|
|
204
|
-
readonly padding: string;
|
|
205
|
-
readonly borderRadius: string;
|
|
206
|
-
readonly color: string;
|
|
207
|
-
readonly cursor: "pointer";
|
|
208
|
-
readonly backgroundColor: "transparent";
|
|
209
|
-
readonly fontSize: string;
|
|
210
|
-
readonly fontWeight: string;
|
|
211
|
-
readonly lineHeight: string;
|
|
212
|
-
readonly fontFamily: string;
|
|
213
|
-
} | {
|
|
214
|
-
readonly position: "relative";
|
|
215
|
-
readonly flex: "1";
|
|
216
|
-
readonly textAlign: "center";
|
|
217
|
-
readonly padding: string;
|
|
218
|
-
readonly borderRadius: string;
|
|
219
|
-
readonly color: string;
|
|
220
|
-
readonly cursor: "pointer";
|
|
221
|
-
readonly backgroundColor: "transparent";
|
|
222
|
-
readonly fontSize: string;
|
|
223
|
-
readonly fontWeight: string;
|
|
224
|
-
readonly lineHeight: string;
|
|
225
|
-
readonly fontFamily: string;
|
|
226
|
-
} | {
|
|
227
|
-
readonly position: "relative";
|
|
228
|
-
readonly flex: "1";
|
|
229
|
-
readonly textAlign: "center";
|
|
230
|
-
readonly padding: string;
|
|
231
|
-
readonly borderRadius: string;
|
|
232
|
-
readonly color: string;
|
|
233
|
-
readonly cursor: "pointer";
|
|
234
|
-
readonly backgroundColor: "transparent";
|
|
235
|
-
readonly fontSize: string;
|
|
236
|
-
readonly fontWeight: string;
|
|
237
|
-
readonly lineHeight: string;
|
|
238
|
-
readonly fontFamily: string;
|
|
239
|
-
} | {
|
|
240
|
-
readonly position: "relative";
|
|
241
|
-
readonly flex: "1";
|
|
242
|
-
readonly textAlign: "center";
|
|
243
|
-
readonly padding: string;
|
|
244
|
-
readonly borderRadius: string;
|
|
245
|
-
readonly color: string;
|
|
246
|
-
readonly cursor: "pointer";
|
|
247
|
-
readonly backgroundColor: "transparent";
|
|
248
|
-
readonly fontSize: string;
|
|
249
|
-
readonly fontWeight: string;
|
|
250
|
-
readonly lineHeight: string;
|
|
251
|
-
readonly fontFamily: string;
|
|
252
|
-
} | {
|
|
253
|
-
readonly position: "relative";
|
|
254
|
-
readonly flex: "1";
|
|
255
|
-
readonly textAlign: "center";
|
|
256
|
-
readonly padding: string;
|
|
257
|
-
readonly borderRadius: string;
|
|
258
|
-
readonly color: string;
|
|
259
|
-
readonly cursor: "pointer";
|
|
260
|
-
readonly backgroundColor: "transparent";
|
|
261
|
-
readonly fontSize: string;
|
|
262
|
-
readonly fontWeight: string;
|
|
263
|
-
readonly lineHeight: string;
|
|
264
|
-
readonly fontFamily: string;
|
|
265
|
-
} | {
|
|
266
|
-
readonly position: "relative";
|
|
267
|
-
readonly flex: "1";
|
|
268
|
-
readonly textAlign: "center";
|
|
269
|
-
readonly padding: string;
|
|
270
|
-
readonly borderRadius: string;
|
|
271
|
-
readonly color: string;
|
|
272
|
-
readonly cursor: "pointer";
|
|
273
|
-
readonly backgroundColor: "transparent";
|
|
274
|
-
readonly fontSize: string;
|
|
275
|
-
readonly fontWeight: string;
|
|
276
|
-
readonly lineHeight: string;
|
|
277
|
-
readonly fontFamily: string;
|
|
278
|
-
} | {
|
|
279
|
-
readonly position: "relative";
|
|
280
|
-
readonly flex: "1";
|
|
281
|
-
readonly textAlign: "center";
|
|
282
|
-
readonly padding: string;
|
|
283
|
-
readonly borderRadius: string;
|
|
284
|
-
readonly color: string;
|
|
285
|
-
readonly cursor: "pointer";
|
|
286
|
-
readonly backgroundColor: "transparent";
|
|
287
|
-
readonly fontSize: string;
|
|
288
|
-
readonly fontWeight: string;
|
|
289
|
-
readonly lineHeight: string;
|
|
290
|
-
readonly fontFamily: string;
|
|
291
|
-
} | {
|
|
292
|
-
readonly position: "relative";
|
|
293
|
-
readonly flex: "1";
|
|
294
|
-
readonly textAlign: "center";
|
|
295
|
-
readonly padding: string;
|
|
296
|
-
readonly borderRadius: string;
|
|
297
|
-
readonly color: string;
|
|
298
|
-
readonly cursor: "pointer";
|
|
299
|
-
readonly backgroundColor: "transparent";
|
|
300
|
-
readonly fontSize: string;
|
|
301
|
-
readonly fontWeight: string;
|
|
302
|
-
readonly lineHeight: string;
|
|
303
|
-
readonly fontFamily: string;
|
|
304
|
-
};
|
|
305
|
-
readonly activeTab: {
|
|
306
|
-
readonly position: "relative";
|
|
307
|
-
readonly flex: "1";
|
|
308
|
-
readonly textAlign: "center";
|
|
309
|
-
readonly padding: string;
|
|
310
|
-
readonly borderRadius: string;
|
|
311
|
-
readonly color: string;
|
|
312
|
-
readonly cursor: "pointer";
|
|
313
|
-
readonly backgroundColor: "transparent";
|
|
314
|
-
readonly fontSize: string;
|
|
315
|
-
readonly fontWeight: string;
|
|
316
|
-
readonly lineHeight: "1";
|
|
317
|
-
readonly fontFamily: string;
|
|
318
|
-
} | {
|
|
319
|
-
readonly position: "relative";
|
|
320
|
-
readonly flex: "1";
|
|
321
|
-
readonly textAlign: "center";
|
|
322
|
-
readonly padding: string;
|
|
323
|
-
readonly borderRadius: string;
|
|
324
|
-
readonly color: string;
|
|
325
|
-
readonly cursor: "pointer";
|
|
326
|
-
readonly backgroundColor: "transparent";
|
|
327
|
-
readonly fontSize: string;
|
|
328
|
-
readonly fontWeight: string;
|
|
329
|
-
readonly lineHeight: string;
|
|
330
|
-
readonly fontFamily: string;
|
|
331
|
-
} | {
|
|
332
|
-
readonly position: "relative";
|
|
333
|
-
readonly flex: "1";
|
|
334
|
-
readonly textAlign: "center";
|
|
335
|
-
readonly padding: string;
|
|
336
|
-
readonly borderRadius: string;
|
|
337
|
-
readonly color: string;
|
|
338
|
-
readonly cursor: "pointer";
|
|
339
|
-
readonly backgroundColor: "transparent";
|
|
340
|
-
readonly fontSize: string;
|
|
341
|
-
readonly fontWeight: string;
|
|
342
|
-
readonly lineHeight: string;
|
|
343
|
-
readonly fontFamily: string;
|
|
344
|
-
} | {
|
|
345
|
-
readonly position: "relative";
|
|
346
|
-
readonly flex: "1";
|
|
347
|
-
readonly textAlign: "center";
|
|
348
|
-
readonly padding: string;
|
|
349
|
-
readonly borderRadius: string;
|
|
350
|
-
readonly color: string;
|
|
351
|
-
readonly cursor: "pointer";
|
|
352
|
-
readonly backgroundColor: "transparent";
|
|
353
|
-
readonly fontSize: string;
|
|
354
|
-
readonly fontWeight: string;
|
|
355
|
-
readonly lineHeight: string;
|
|
356
|
-
readonly fontFamily: string;
|
|
357
|
-
} | {
|
|
358
|
-
readonly position: "relative";
|
|
359
|
-
readonly flex: "1";
|
|
360
|
-
readonly textAlign: "center";
|
|
361
|
-
readonly padding: string;
|
|
362
|
-
readonly borderRadius: string;
|
|
363
|
-
readonly color: string;
|
|
364
|
-
readonly cursor: "pointer";
|
|
365
|
-
readonly backgroundColor: "transparent";
|
|
366
|
-
readonly fontSize: string;
|
|
367
|
-
readonly fontWeight: string;
|
|
368
|
-
readonly lineHeight: string;
|
|
369
|
-
readonly fontFamily: string;
|
|
370
|
-
} | {
|
|
371
|
-
readonly position: "relative";
|
|
372
|
-
readonly flex: "1";
|
|
373
|
-
readonly textAlign: "center";
|
|
374
|
-
readonly padding: string;
|
|
375
|
-
readonly borderRadius: string;
|
|
376
|
-
readonly color: string;
|
|
377
|
-
readonly cursor: "pointer";
|
|
378
|
-
readonly backgroundColor: "transparent";
|
|
379
|
-
readonly fontSize: string;
|
|
380
|
-
readonly fontWeight: "450";
|
|
381
|
-
readonly lineHeight: string;
|
|
382
|
-
readonly fontFamily: string;
|
|
383
|
-
} | {
|
|
384
|
-
readonly position: "relative";
|
|
385
|
-
readonly flex: "1";
|
|
386
|
-
readonly textAlign: "center";
|
|
387
|
-
readonly padding: string;
|
|
388
|
-
readonly borderRadius: string;
|
|
389
|
-
readonly color: string;
|
|
390
|
-
readonly cursor: "pointer";
|
|
391
|
-
readonly backgroundColor: "transparent";
|
|
392
|
-
readonly fontSize: string;
|
|
393
|
-
readonly fontWeight: string;
|
|
394
|
-
readonly lineHeight: string;
|
|
395
|
-
readonly fontFamily: string;
|
|
396
|
-
} | {
|
|
397
|
-
readonly position: "relative";
|
|
398
|
-
readonly flex: "1";
|
|
399
|
-
readonly textAlign: "center";
|
|
400
|
-
readonly padding: string;
|
|
401
|
-
readonly borderRadius: string;
|
|
402
|
-
readonly color: string;
|
|
403
|
-
readonly cursor: "pointer";
|
|
404
|
-
readonly backgroundColor: "transparent";
|
|
405
|
-
readonly fontSize: string;
|
|
406
|
-
readonly fontWeight: string;
|
|
407
|
-
readonly lineHeight: string;
|
|
408
|
-
readonly fontFamily: string;
|
|
409
|
-
} | {
|
|
410
|
-
readonly position: "relative";
|
|
411
|
-
readonly flex: "1";
|
|
412
|
-
readonly textAlign: "center";
|
|
413
|
-
readonly padding: string;
|
|
414
|
-
readonly borderRadius: string;
|
|
415
|
-
readonly color: string;
|
|
416
|
-
readonly cursor: "pointer";
|
|
417
|
-
readonly backgroundColor: "transparent";
|
|
418
|
-
readonly fontSize: string;
|
|
419
|
-
readonly fontWeight: "450";
|
|
420
|
-
readonly lineHeight: string;
|
|
421
|
-
readonly fontFamily: string;
|
|
422
|
-
} | {
|
|
423
|
-
readonly position: "relative";
|
|
424
|
-
readonly flex: "1";
|
|
425
|
-
readonly textAlign: "center";
|
|
426
|
-
readonly padding: string;
|
|
427
|
-
readonly borderRadius: string;
|
|
428
|
-
readonly color: string;
|
|
429
|
-
readonly cursor: "pointer";
|
|
430
|
-
readonly backgroundColor: "transparent";
|
|
431
|
-
readonly fontSize: string;
|
|
432
|
-
readonly fontWeight: string;
|
|
433
|
-
readonly lineHeight: string;
|
|
434
|
-
readonly fontFamily: string;
|
|
435
|
-
} | {
|
|
436
|
-
readonly position: "relative";
|
|
437
|
-
readonly flex: "1";
|
|
438
|
-
readonly textAlign: "center";
|
|
439
|
-
readonly padding: string;
|
|
440
|
-
readonly borderRadius: string;
|
|
441
|
-
readonly color: string;
|
|
442
|
-
readonly cursor: "pointer";
|
|
443
|
-
readonly backgroundColor: "transparent";
|
|
444
|
-
readonly fontSize: string;
|
|
445
|
-
readonly fontWeight: "450";
|
|
446
|
-
readonly lineHeight: string;
|
|
447
|
-
readonly fontFamily: string;
|
|
448
|
-
} | {
|
|
449
|
-
readonly position: "relative";
|
|
450
|
-
readonly flex: "1";
|
|
451
|
-
readonly textAlign: "center";
|
|
452
|
-
readonly padding: string;
|
|
453
|
-
readonly borderRadius: string;
|
|
454
|
-
readonly color: string;
|
|
455
|
-
readonly cursor: "pointer";
|
|
456
|
-
readonly backgroundColor: "transparent";
|
|
457
|
-
readonly fontSize: string;
|
|
458
|
-
readonly fontWeight: string;
|
|
459
|
-
readonly lineHeight: string;
|
|
460
|
-
readonly fontFamily: string;
|
|
461
|
-
} | {
|
|
462
|
-
readonly position: "relative";
|
|
463
|
-
readonly flex: "1";
|
|
464
|
-
readonly textAlign: "center";
|
|
465
|
-
readonly padding: string;
|
|
466
|
-
readonly borderRadius: string;
|
|
467
|
-
readonly color: string;
|
|
468
|
-
readonly cursor: "pointer";
|
|
469
|
-
readonly backgroundColor: "transparent";
|
|
470
|
-
readonly fontSize: string;
|
|
471
|
-
readonly fontWeight: string;
|
|
472
|
-
readonly lineHeight: string;
|
|
473
|
-
readonly fontFamily: string;
|
|
474
|
-
} | {
|
|
475
|
-
readonly position: "relative";
|
|
476
|
-
readonly flex: "1";
|
|
477
|
-
readonly textAlign: "center";
|
|
478
|
-
readonly padding: string;
|
|
479
|
-
readonly borderRadius: string;
|
|
480
|
-
readonly color: string;
|
|
481
|
-
readonly cursor: "pointer";
|
|
482
|
-
readonly backgroundColor: "transparent";
|
|
483
|
-
readonly fontSize: string;
|
|
484
|
-
readonly fontWeight: string;
|
|
485
|
-
readonly lineHeight: string;
|
|
486
|
-
readonly fontFamily: string;
|
|
487
|
-
} | {
|
|
488
|
-
readonly position: "relative";
|
|
489
|
-
readonly flex: "1";
|
|
490
|
-
readonly textAlign: "center";
|
|
491
|
-
readonly padding: string;
|
|
492
|
-
readonly borderRadius: string;
|
|
493
|
-
readonly color: string;
|
|
494
|
-
readonly cursor: "pointer";
|
|
495
|
-
readonly backgroundColor: "transparent";
|
|
496
|
-
readonly fontSize: string;
|
|
497
|
-
readonly fontWeight: string;
|
|
498
|
-
readonly lineHeight: string;
|
|
499
|
-
readonly fontFamily: string;
|
|
500
|
-
} | {
|
|
501
|
-
readonly position: "relative";
|
|
502
|
-
readonly flex: "1";
|
|
503
|
-
readonly textAlign: "center";
|
|
504
|
-
readonly padding: string;
|
|
505
|
-
readonly borderRadius: string;
|
|
506
|
-
readonly color: string;
|
|
507
|
-
readonly cursor: "pointer";
|
|
508
|
-
readonly backgroundColor: "transparent";
|
|
509
|
-
readonly fontSize: string;
|
|
510
|
-
readonly fontWeight: string;
|
|
511
|
-
readonly lineHeight: string;
|
|
512
|
-
readonly fontFamily: string;
|
|
513
|
-
} | {
|
|
514
|
-
readonly position: "relative";
|
|
515
|
-
readonly flex: "1";
|
|
516
|
-
readonly textAlign: "center";
|
|
517
|
-
readonly padding: string;
|
|
518
|
-
readonly borderRadius: string;
|
|
519
|
-
readonly color: string;
|
|
520
|
-
readonly cursor: "pointer";
|
|
521
|
-
readonly backgroundColor: "transparent";
|
|
522
|
-
readonly fontSize: string;
|
|
523
|
-
readonly fontWeight: string;
|
|
524
|
-
readonly lineHeight: string;
|
|
525
|
-
readonly fontFamily: string;
|
|
526
|
-
} | {
|
|
527
|
-
readonly position: "relative";
|
|
528
|
-
readonly flex: "1";
|
|
529
|
-
readonly textAlign: "center";
|
|
530
|
-
readonly padding: string;
|
|
531
|
-
readonly borderRadius: string;
|
|
532
|
-
readonly color: string;
|
|
533
|
-
readonly cursor: "pointer";
|
|
534
|
-
readonly backgroundColor: "transparent";
|
|
535
|
-
readonly fontSize: string;
|
|
536
|
-
readonly fontWeight: string;
|
|
537
|
-
readonly lineHeight: string;
|
|
538
|
-
readonly fontFamily: string;
|
|
539
|
-
} | {
|
|
540
|
-
readonly position: "relative";
|
|
541
|
-
readonly flex: "1";
|
|
542
|
-
readonly textAlign: "center";
|
|
543
|
-
readonly padding: string;
|
|
544
|
-
readonly borderRadius: string;
|
|
545
|
-
readonly color: string;
|
|
546
|
-
readonly cursor: "pointer";
|
|
547
|
-
readonly backgroundColor: "transparent";
|
|
548
|
-
readonly fontSize: string;
|
|
549
|
-
readonly fontWeight: string;
|
|
550
|
-
readonly lineHeight: string;
|
|
551
|
-
readonly fontFamily: string;
|
|
552
|
-
} | {
|
|
553
|
-
readonly position: "relative";
|
|
554
|
-
readonly flex: "1";
|
|
555
|
-
readonly textAlign: "center";
|
|
556
|
-
readonly padding: string;
|
|
557
|
-
readonly borderRadius: string;
|
|
558
|
-
readonly color: string;
|
|
559
|
-
readonly cursor: "pointer";
|
|
560
|
-
readonly backgroundColor: "transparent";
|
|
561
|
-
readonly fontSize: string;
|
|
562
|
-
readonly fontWeight: string;
|
|
563
|
-
readonly lineHeight: string;
|
|
564
|
-
readonly fontFamily: string;
|
|
565
|
-
} | {
|
|
566
|
-
readonly position: "relative";
|
|
567
|
-
readonly flex: "1";
|
|
568
|
-
readonly textAlign: "center";
|
|
569
|
-
readonly padding: string;
|
|
570
|
-
readonly borderRadius: string;
|
|
571
|
-
readonly color: string;
|
|
572
|
-
readonly cursor: "pointer";
|
|
573
|
-
readonly backgroundColor: "transparent";
|
|
574
|
-
readonly fontSize: string;
|
|
575
|
-
readonly fontWeight: string;
|
|
576
|
-
readonly lineHeight: string;
|
|
577
|
-
readonly fontFamily: string;
|
|
578
|
-
} | {
|
|
579
|
-
readonly position: "relative";
|
|
580
|
-
readonly flex: "1";
|
|
581
|
-
readonly textAlign: "center";
|
|
582
|
-
readonly padding: string;
|
|
583
|
-
readonly borderRadius: string;
|
|
584
|
-
readonly color: string;
|
|
585
|
-
readonly cursor: "pointer";
|
|
586
|
-
readonly backgroundColor: "transparent";
|
|
587
|
-
readonly fontSize: string;
|
|
588
|
-
readonly fontWeight: string;
|
|
589
|
-
readonly lineHeight: string;
|
|
590
|
-
readonly fontFamily: string;
|
|
591
|
-
};
|
|
592
|
-
readonly indicator: {
|
|
593
|
-
readonly backgroundColor: string;
|
|
594
|
-
readonly borderRadius: string;
|
|
595
|
-
readonly boxShadow: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)";
|
|
596
|
-
readonly transition: "left 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1)";
|
|
597
|
-
};
|
|
598
|
-
readonly content: {
|
|
599
|
-
readonly padding: string;
|
|
600
|
-
readonly backgroundColor: string;
|
|
601
|
-
readonly borderRadius: string;
|
|
602
|
-
readonly borderWidth: string;
|
|
603
|
-
readonly borderColor: string;
|
|
604
|
-
readonly minHeight: "4rem";
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
}, {}>;
|
|
609
|
-
type TabsConfig = typeof tabsConfig;
|
|
610
|
-
//#endregion
|
|
611
|
-
export { TabsConfig, tabsConfig };
|
|
@@ -1,56 +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/tabs.config.js
|
|
5
|
-
const tabsConfig = defaultFoundationPreset.defineComponent("Tabs", ({ tokens }) => ({ base: {
|
|
6
|
-
root: {
|
|
7
|
-
display: "flex",
|
|
8
|
-
flexDirection: "column",
|
|
9
|
-
gap: tokens.spacing["4"]
|
|
10
|
-
},
|
|
11
|
-
tabList: {
|
|
12
|
-
display: "flex",
|
|
13
|
-
gap: tokens.spacing["1"],
|
|
14
|
-
backgroundColor: tokens.bg.tertiary,
|
|
15
|
-
padding: tokens.spacing["1.5"],
|
|
16
|
-
borderRadius: tokens.radius.sm
|
|
17
|
-
},
|
|
18
|
-
tab: {
|
|
19
|
-
...textVariants.label2,
|
|
20
|
-
position: "relative",
|
|
21
|
-
flex: "1",
|
|
22
|
-
textAlign: "center",
|
|
23
|
-
padding: tokens.spacing["2"],
|
|
24
|
-
borderRadius: tokens.radius.xs,
|
|
25
|
-
color: tokens.color["on-tertiary"],
|
|
26
|
-
cursor: "pointer",
|
|
27
|
-
backgroundColor: "transparent"
|
|
28
|
-
},
|
|
29
|
-
activeTab: {
|
|
30
|
-
...textVariants.label2,
|
|
31
|
-
position: "relative",
|
|
32
|
-
flex: "1",
|
|
33
|
-
textAlign: "center",
|
|
34
|
-
padding: tokens.spacing["2"],
|
|
35
|
-
borderRadius: tokens.radius.xs,
|
|
36
|
-
color: tokens.color["on-primary"],
|
|
37
|
-
cursor: "pointer",
|
|
38
|
-
backgroundColor: "transparent"
|
|
39
|
-
},
|
|
40
|
-
indicator: {
|
|
41
|
-
backgroundColor: tokens.bg.primary,
|
|
42
|
-
borderRadius: tokens.radius.xs,
|
|
43
|
-
boxShadow: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
|
|
44
|
-
transition: "left 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1)"
|
|
45
|
-
},
|
|
46
|
-
content: {
|
|
47
|
-
padding: tokens.spacing["4"],
|
|
48
|
-
backgroundColor: tokens.bg.tertiary,
|
|
49
|
-
borderRadius: tokens.radius.sm,
|
|
50
|
-
borderWidth: tokens.borderWidth.thin,
|
|
51
|
-
borderColor: tokens.borderColor.secondary,
|
|
52
|
-
minHeight: "4rem"
|
|
53
|
-
}
|
|
54
|
-
} }));
|
|
55
|
-
//#endregion
|
|
56
|
-
export { tabsConfig };
|