@fluentic/style 0.1.0-beta.11 → 0.1.0-beta.13
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/CHANGELOG.md +16 -0
- package/atomic/layer/layer.ts +7 -3
- package/builder/data/data.ts +1 -1
- package/builder/selector_override_core.ts +7 -1
- package/compiler/compiler/compiler.ts +8 -4
- package/compiler/extract/extract.ts +14 -9
- package/compiler/extract/types.ts +2 -1
- package/compiler/transform/extract/chain/chain.ts +7 -4
- package/compiler/transform/extract/chain/extract_chain.ts +14 -0
- package/compiler/transform/extract/utils/replacement.ts +6 -1
- package/compiler/utils/file_resolver.ts +2 -1
- package/config/config/css.ts +19 -0
- package/css/sheet.ts +3 -2
- package/dist/{combine-Bww7VnSr.js → combine-yuoQ_qpx.js} +2 -2
- package/dist/{combine-Bww7VnSr.js.map → combine-yuoQ_qpx.js.map} +1 -1
- package/dist/compiler/index.mjs +1 -1
- package/dist/{compiler-C3CEGGtI.mjs → compiler-BEHxZYjz.mjs} +35 -16
- package/dist/compiler-BEHxZYjz.mjs.map +1 -0
- package/dist/config/index.js +2 -2
- package/dist/{config-CDjbHwb-.js → config-B5nEd-TV.js} +2 -2
- package/dist/{config-CDjbHwb-.js.map → config-B5nEd-TV.js.map} +1 -1
- package/dist/{config-C5VWvTav.js → config-BWGBkVrM.js} +4 -4
- package/dist/{config-C5VWvTav.js.map → config-BWGBkVrM.js.map} +1 -1
- package/dist/{config-BKP5LOkt.js → config-Bqe8Y-4_.js} +2 -2
- package/dist/{config-BKP5LOkt.js.map → config-Bqe8Y-4_.js.map} +1 -1
- package/dist/{config-DNEnHEf3.js → config-DggQEE-4.js} +3 -3
- package/dist/{config-DNEnHEf3.js.map → config-DggQEE-4.js.map} +1 -1
- package/dist/{createTransformElement-D8fXZ3wA.js → createTransformElement-B2jSnugo.js} +2 -2
- package/dist/{createTransformElement-D8fXZ3wA.js.map → createTransformElement-B2jSnugo.js.map} +1 -1
- package/dist/{css-CFxNrYt3.js → css-BQRIvzwZ.js} +41 -20
- package/dist/css-BQRIvzwZ.js.map +1 -0
- package/dist/{css-BDn0epJ8.js → css-CGMAis1n.js} +7 -7
- package/dist/css-CGMAis1n.js.map +1 -0
- package/dist/{css-DWBWsyxZ.js → css-D7eTqvMH.js} +9 -2
- package/dist/{css-DWBWsyxZ.js.map → css-D7eTqvMH.js.map} +1 -1
- package/dist/{css-DEYgrj76.js → css-p_5ZNny_.js} +12 -12
- package/dist/css-p_5ZNny_.js.map +1 -0
- package/dist/css.js +1 -1
- package/dist/{css_extra-nTq_Gw0E.js → css_extra-DuVzUIYx.js} +2 -2
- package/dist/{css_extra-nTq_Gw0E.js.map → css_extra-DuVzUIYx.js.map} +1 -1
- package/dist/{data-CDrS1Bq4.js → data-QXDBLlWs.js} +7 -7
- package/dist/{data-CDrS1Bq4.js.map → data-QXDBLlWs.js.map} +1 -1
- package/dist/{debug-YuhEIQVO.js → debug-0iaVEC7z.js} +3 -3
- package/dist/{debug-YuhEIQVO.js.map → debug-0iaVEC7z.js.map} +1 -1
- package/dist/{debug-BkVbf0Cz.js → debug-CkgcZDaX.js} +2 -2
- package/dist/{debug-BkVbf0Cz.js.map → debug-CkgcZDaX.js.map} +1 -1
- package/dist/dev/rsc.js +7 -7
- package/dist/dev/rsc.js.map +1 -1
- package/dist/{dev-0imWmSVb.js → dev-DocaGP3_.js} +7 -7
- package/dist/{dev-0imWmSVb.js.map → dev-DocaGP3_.js.map} +1 -1
- package/dist/dev.js +1 -1
- package/dist/dialect/extracted/index.js +1 -1
- package/dist/dialect/index.js +1 -1
- package/dist/{elementMarker-kvpMjB49.js → elementMarker-DZjd1NuA.js} +35 -21
- package/dist/elementMarker-DZjd1NuA.js.map +1 -0
- package/dist/entry/dev/adapter/preact.js +1 -1
- package/dist/entry/dev/adapter/react.js +1 -1
- package/dist/entry/dev/adapter/solid.js +1 -1
- package/dist/entry/dev/css.js +2 -2
- package/dist/entry/dev/jsx-dev-runtime.js +2 -2
- package/dist/entry/dev/jsx-runtime.js +2 -2
- package/dist/entry/dev.js +11 -11
- package/dist/entry/prod/css.js +2 -2
- package/dist/entry/prod.js +2 -2
- package/dist/entry/rsc-dev/adapter/preact.js +1 -1
- package/dist/entry/rsc-dev/adapter/react.js +1 -1
- package/dist/entry/rsc-dev/adapter/solid.js +1 -1
- package/dist/entry/rsc-dev/css.js +2 -2
- package/dist/entry/rsc-dev/dev.js +6 -6
- package/dist/entry/rsc-dev/dev.js.map +1 -1
- package/dist/entry/rsc-dev/jsx-dev-runtime.js +2 -2
- package/dist/entry/rsc-dev/jsx-runtime.js +2 -2
- package/dist/entry/rsc-dev.js +5 -5
- package/dist/entry/rsc-prod/css.js +2 -2
- package/dist/entry/rsc-prod.js +2 -2
- package/dist/{env-Cz8frh6e.js → env-DJyXPJ9q.js} +40 -19
- package/dist/env-DJyXPJ9q.js.map +1 -0
- package/dist/getClassName-9CsXbNls.js.map +1 -1
- package/dist/{getClassName-DGm-VNDo.js → getClassName-BB_L7U_v.js} +5 -5
- package/dist/{getClassName-DGm-VNDo.js.map → getClassName-BB_L7U_v.js.map} +1 -1
- package/dist/{getClassName-Dtc4yyYI.js → getClassName-BIqt1S41.js} +4 -4
- package/dist/{getClassName-Dtc4yyYI.js.map → getClassName-BIqt1S41.js.map} +1 -1
- package/dist/{global-CAc9OjKx.js → global-CBQGormL.js} +2 -2
- package/dist/{global-CAc9OjKx.js.map → global-CBQGormL.js.map} +1 -1
- package/dist/index.js +9 -9
- package/dist/jsx/jsx-dev-runtime.js +1 -1
- package/dist/jsx/jsx-dev-runtime.server.js +1 -1
- package/dist/jsx/jsx-runtime.js +1 -1
- package/dist/jsx/jsx-runtime.server.js +1 -1
- package/dist/{jsx-CVxpkS04.js → jsx-BCufpzdb.js} +4 -4
- package/dist/{jsx-CVxpkS04.js.map → jsx-BCufpzdb.js.map} +1 -1
- package/dist/{jsx_runtime-6Qa1lmz2.js → jsx_runtime-Bu_A8mr4.js} +2 -2
- package/dist/{jsx_runtime-6Qa1lmz2.js.map → jsx_runtime-Bu_A8mr4.js.map} +1 -1
- package/dist/{loader-_-VjzlrX.mjs → loader-vMHuD1zT.mjs} +3 -3
- package/dist/loader-vMHuD1zT.mjs.map +1 -0
- package/dist/{misc-B76PUnWe.mjs → misc-9EGKYkZo.mjs} +2 -2
- package/dist/{misc-B76PUnWe.mjs.map → misc-9EGKYkZo.mjs.map} +1 -1
- package/dist/{namedTokens-5AayGokX.js → namedTokens-DnpyC5XT.js} +3 -3
- package/dist/{namedTokens-5AayGokX.js.map → namedTokens-DnpyC5XT.js.map} +1 -1
- package/dist/plugin/farm/index.mjs +3 -3
- package/dist/plugin/nextjs/index.mjs +4 -4
- package/dist/plugin/nextjs/index.mjs.map +1 -1
- package/dist/plugin/nextjs/loader.mjs +4 -4
- package/dist/plugin/parcel/index.cjs +1 -1
- package/dist/plugin/parcel/index.mjs +2 -2
- package/dist/plugin/parcel/optimizer.cjs +1 -1
- package/dist/plugin/parcel/optimizer.mjs +2 -2
- package/dist/plugin/parcel/resolver.cjs +1 -1
- package/dist/plugin/parcel/resolver.mjs +2 -2
- package/dist/plugin/parcel/runtime.cjs +1 -1
- package/dist/plugin/parcel/runtime.mjs +1 -1
- package/dist/plugin/parcel/transformer.cjs +1 -1
- package/dist/plugin/parcel/transformer.mjs +2 -2
- package/dist/plugin/rspack/index.mjs +2 -2
- package/dist/plugin/vite/index.mjs +3 -3
- package/dist/plugin/webpack/index.mjs +2 -2
- package/dist/plugin/webpack/loader.mjs +2 -2
- package/dist/presets/tailwind/index.js +3 -3
- package/dist/{registry-w8ET5R7v.mjs → registry-DVB7n6V-.mjs} +2 -2
- package/dist/{registry-w8ET5R7v.mjs.map → registry-DVB7n6V-.mjs.map} +1 -1
- package/dist/{resolveClassNameRuntime-CJjlUP93.js → resolveClassNameRuntime-DvH6j_4N.js} +2 -2
- package/dist/{resolveClassNameRuntime-CJjlUP93.js.map → resolveClassNameRuntime-DvH6j_4N.js.map} +1 -1
- package/dist/{rules-DaMaMHgb.js → rules-znG9bsKI.js} +8 -8
- package/dist/{rules-DaMaMHgb.js.map → rules-znG9bsKI.js.map} +1 -1
- package/dist/server.js +13 -13
- package/dist/{shared-PK52rW6T.cjs → shared-DaEDCb8I.cjs} +35 -16
- package/dist/shared-DaEDCb8I.cjs.map +1 -0
- package/dist/{shared-C_cYxNzz.mjs → shared-O-5Fcsxa.mjs} +4 -4
- package/dist/{shared-C_cYxNzz.mjs.map → shared-O-5Fcsxa.mjs.map} +1 -1
- package/dist/sheet-SlZRjOmw.js +7 -0
- package/dist/{sheet-CxkO1Hwt.js.map → sheet-SlZRjOmw.js.map} +1 -1
- package/dist/{sidecar-BhvmXYsD.mjs → sidecar-DiYLwXbk.mjs} +3 -3
- package/dist/{sidecar-BhvmXYsD.mjs.map → sidecar-DiYLwXbk.mjs.map} +1 -1
- package/dist/{style-CAhAnRni.js → style-CtXEZqgx.js} +10 -10
- package/dist/{style-CAhAnRni.js.map → style-CtXEZqgx.js.map} +1 -1
- package/dist/{styleStore-BzLZwpwy.js → styleStore-BImBZdt6.js} +6 -4
- package/dist/styleStore-BImBZdt6.js.map +1 -0
- package/dist/{styleStore-DaIJ4OPV.js → styleStore-CBan0gHQ.js} +9 -7
- package/dist/styleStore-CBan0gHQ.js.map +1 -0
- package/dist/{token-D33mKTka.js → token-DyLO6Hnf.js} +2 -2
- package/dist/{token-D33mKTka.js.map → token-DyLO6Hnf.js.map} +1 -1
- package/dist/{trace-c2WmBbmX.js → trace-Bsh-Kkg_.js} +2 -2
- package/dist/{trace-c2WmBbmX.js.map → trace-Bsh-Kkg_.js.map} +1 -1
- package/dist/{trace-B3dpTRJp.js → trace-C1_6fM21.js} +3 -3
- package/dist/{trace-B3dpTRJp.js.map → trace-C1_6fM21.js.map} +1 -1
- package/dist/{transform-DSpimwwC.js → transform-8TIMiF5A.js} +2 -2
- package/dist/{transform-DSpimwwC.js.map → transform-8TIMiF5A.js.map} +1 -1
- package/dist/types/adapter/preact.d.ts +1 -0
- package/dist/types/adapter/react.d.ts +1 -0
- package/dist/types/adapter/solid.d.ts +1 -0
- package/dist/types/atomic/atRule/counterStyle.d.ts +10 -0
- package/dist/types/atomic/atRule/fontFace.d.ts +10 -0
- package/dist/types/atomic/atRule/fontPaletteValues.d.ts +10 -0
- package/dist/types/atomic/atRule/fontSrc.d.ts +1 -0
- package/dist/types/atomic/atRule/keyframes.d.ts +13 -0
- package/dist/types/atomic/atRule/positionTry.d.ts +13 -0
- package/dist/types/atomic/atRule/property.d.ts +13 -0
- package/dist/types/atomic/atRule/utils.d.ts +5 -0
- package/dist/types/atomic/className.d.ts +11 -0
- package/dist/types/atomic/debug/className/className.d.ts +9 -0
- package/dist/types/atomic/debug/className/index.d.ts +1 -0
- package/dist/types/atomic/debug/property/data.d.ts +3 -0
- package/dist/types/atomic/debug/property/index.d.ts +1 -0
- package/dist/types/atomic/debug/property/property.d.ts +5 -0
- package/dist/types/atomic/debug/selector.d.ts +2 -0
- package/dist/types/atomic/debug/value.d.ts +5 -0
- package/dist/types/atomic/element.d.ts +5 -0
- package/dist/types/atomic/layer/index.d.ts +3 -0
- package/dist/types/atomic/layer/layer.d.ts +12 -0
- package/dist/types/atomic/layer/types.d.ts +30 -0
- package/dist/types/atomic/layer/utils.d.ts +4 -0
- package/dist/types/atomic/property/index.d.ts +2 -0
- package/dist/types/atomic/property/presets.d.ts +4 -0
- package/dist/types/atomic/property/property.d.ts +3 -0
- package/dist/types/atomic/property/type_maps.d.ts +31 -0
- package/dist/types/atomic/property/types.d.ts +4 -0
- package/dist/types/atomic/rule.d.ts +5 -0
- package/dist/types/atomic/scope.d.ts +3 -0
- package/dist/types/atomic/theme.d.ts +7 -0
- package/dist/types/atomic/token.d.ts +7 -0
- package/dist/types/atomic/utils/cssIdent.d.ts +2 -0
- package/dist/types/atomic/utils/cssVar.d.ts +3 -0
- package/dist/types/atomic/utils/debug.d.ts +4 -0
- package/dist/types/atomic/utils/format.d.ts +5 -0
- package/dist/types/atomic/utils/hash.d.ts +1 -0
- package/dist/types/atomic/utils/selector.d.ts +6 -0
- package/dist/types/atomic/utils/types.d.ts +7 -0
- package/dist/types/atomic/value/index.d.ts +2 -0
- package/dist/types/atomic/value/unitless.d.ts +1 -0
- package/dist/types/atomic/value/value.d.ts +2 -0
- package/dist/types/atomic/var.d.ts +4 -0
- package/dist/types/builder/classname/class_name_builder.d.ts +4 -0
- package/dist/types/builder/classname/fns.d.ts +48 -0
- package/dist/types/builder/classname/index.d.ts +3 -0
- package/dist/types/builder/classname/types.d.ts +18 -0
- package/dist/types/builder/data/check_selector.d.ts +2 -0
- package/dist/types/builder/data/const.d.ts +26 -0
- package/dist/types/builder/data/create.d.ts +13 -0
- package/dist/types/builder/data/data.d.ts +44 -0
- package/dist/types/builder/data/debug.d.ts +38 -0
- package/dist/types/builder/data/index.d.ts +8 -0
- package/dist/types/builder/data/is.d.ts +16 -0
- package/dist/types/builder/data/merge/index.d.ts +2 -0
- package/dist/types/builder/data/merge/scope.d.ts +7 -0
- package/dist/types/builder/data/merge/style.d.ts +6 -0
- package/dist/types/builder/data/merge/utils.d.ts +5 -0
- package/dist/types/builder/data/selector.d.ts +8 -0
- package/dist/types/builder/data/state.d.ts +85 -0
- package/dist/types/builder/extract/index.d.ts +7 -0
- package/dist/types/builder/extract/scope.d.ts +14 -0
- package/dist/types/builder/extract/sheet.d.ts +10 -0
- package/dist/types/builder/extract/slot.d.ts +9 -0
- package/dist/types/builder/extract/style.d.ts +11 -0
- package/dist/types/builder/extract/theme.d.ts +2 -0
- package/dist/types/builder/extract/token.d.ts +7 -0
- package/dist/types/builder/extract/utils.d.ts +28 -0
- package/dist/types/builder/extract/withTokens.d.ts +10 -0
- package/dist/types/builder/index.d.ts +2 -0
- package/dist/types/builder/selector_override.d.ts +5 -0
- package/dist/types/builder/selector_override_core.d.ts +6 -0
- package/dist/types/builder/style_builder.d.ts +15 -0
- package/dist/types/builder/style_data.d.ts +8 -0
- package/dist/types/builder/style_fns.d.ts +14 -0
- package/dist/types/builder/token/data.d.ts +10 -0
- package/dist/types/builder/token/name.d.ts +3 -0
- package/dist/types/builder/token/symbols.d.ts +4 -0
- package/dist/types/builder/types/alias.d.ts +59 -0
- package/dist/types/builder/types/fns.d.ts +115 -0
- package/dist/types/builder/types/index.d.ts +1 -0
- package/dist/types/builder/types/types.d.ts +22 -0
- package/dist/types/builder/utils.d.ts +9 -0
- package/dist/types/compiler/compiler/cache.d.ts +24 -0
- package/dist/types/compiler/compiler/compiler.d.ts +28 -0
- package/dist/types/compiler/compiler/constants.d.ts +6 -0
- package/dist/types/compiler/compiler/index.d.ts +4 -0
- package/dist/types/compiler/compiler/types.d.ts +53 -0
- package/dist/types/compiler/cssProp.d.ts +8 -0
- package/dist/types/compiler/extract/collector.d.ts +8 -0
- package/dist/types/compiler/extract/extract.d.ts +6 -0
- package/dist/types/compiler/extract/index.d.ts +3 -0
- package/dist/types/compiler/extract/types.d.ts +23 -0
- package/dist/types/compiler/index.d.ts +3 -0
- package/dist/types/compiler/transform/cssProp/index.d.ts +1 -0
- package/dist/types/compiler/transform/cssProp/plugin.d.ts +13 -0
- package/dist/types/compiler/transform/debug/index.d.ts +2 -0
- package/dist/types/compiler/transform/debug/plugin.d.ts +34 -0
- package/dist/types/compiler/transform/debug/transform.d.ts +7 -0
- package/dist/types/compiler/transform/debug/utils/debug_data.d.ts +11 -0
- package/dist/types/compiler/transform/debug/utils/source_url.d.ts +2 -0
- package/dist/types/compiler/transform/evaluator/evaluator.d.ts +41 -0
- package/dist/types/compiler/transform/evaluator/index.d.ts +3 -0
- package/dist/types/compiler/transform/evaluator/tracer.d.ts +8 -0
- package/dist/types/compiler/transform/evaluator/types.d.ts +21 -0
- package/dist/types/compiler/transform/extract/chain/chain.d.ts +18 -0
- package/dist/types/compiler/transform/extract/chain/extract_chain.d.ts +19 -0
- package/dist/types/compiler/transform/extract/chain/index.d.ts +3 -0
- package/dist/types/compiler/transform/extract/chain/types.d.ts +32 -0
- package/dist/types/compiler/transform/extract/index.d.ts +2 -0
- package/dist/types/compiler/transform/extract/plugin.d.ts +20 -0
- package/dist/types/compiler/transform/extract/transform.d.ts +10 -0
- package/dist/types/compiler/transform/extract/utils/imports.d.ts +3 -0
- package/dist/types/compiler/transform/extract/utils/replacement.d.ts +9 -0
- package/dist/types/compiler/transform/extract/utils/slot.d.ts +4 -0
- package/dist/types/compiler/transform/extract/utils/state.d.ts +34 -0
- package/dist/types/compiler/transform/extract/utils/theme.d.ts +9 -0
- package/dist/types/compiler/transform/extract/utils/token.d.ts +1 -0
- package/dist/types/compiler/transform/index.d.ts +5 -0
- package/dist/types/compiler/transform/syntax/index.d.ts +5 -0
- package/dist/types/compiler/transform/syntax/isStaticStyleValue.d.ts +2 -0
- package/dist/types/compiler/transform/syntax/isStyleChainCall.d.ts +2 -0
- package/dist/types/compiler/transform/syntax/static_ids.d.ts +16 -0
- package/dist/types/compiler/transform/syntax/types.d.ts +4 -0
- package/dist/types/compiler/transform/syntax/utils.d.ts +5 -0
- package/dist/types/compiler/transform/utils/babel.d.ts +21 -0
- package/dist/types/compiler/transform/utils/import.d.ts +2 -0
- package/dist/types/compiler/transform/utils/path.d.ts +1 -0
- package/dist/types/compiler/transform/utils/selector.d.ts +18 -0
- package/dist/types/compiler/utils/constants.d.ts +68 -0
- package/dist/types/compiler/utils/file_resolver.d.ts +12 -0
- package/dist/types/compiler/utils/import_source.d.ts +28 -0
- package/dist/types/compiler/utils/imports.d.ts +6 -0
- package/dist/types/compiler/utils/path.d.ts +4 -0
- package/dist/types/compiler/utils/sourcemap.d.ts +36 -0
- package/dist/types/config/build.d.ts +20 -0
- package/dist/types/config/config/check.d.ts +11 -0
- package/dist/types/config/config/css.d.ts +28 -0
- package/dist/types/config/config/css_extra.d.ts +13 -0
- package/dist/types/config/config/debug.d.ts +14 -0
- package/dist/types/config/config/dev.d.ts +36 -0
- package/dist/types/config/config/runtime.d.ts +10 -0
- package/dist/types/config/configure.d.ts +12 -0
- package/dist/types/config/constants.d.ts +1 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/config/types.d.ts +47 -0
- package/dist/types/config/utils.d.ts +2 -0
- package/dist/types/css/counterStyle.d.ts +4 -0
- package/dist/types/css/fontFace.d.ts +5 -0
- package/dist/types/css/fontPaletteValues.d.ts +4 -0
- package/dist/types/css/index.d.ts +9 -0
- package/dist/types/css/keyframes.d.ts +4 -0
- package/dist/types/css/positionTry.d.ts +4 -0
- package/dist/types/css/property.d.ts +7 -0
- package/dist/types/css/sheet.d.ts +7 -0
- package/dist/types/css/styleTarget.d.ts +9 -0
- package/dist/types/css/utils.d.ts +19 -0
- package/dist/types/dev/config.d.ts +6 -0
- package/dist/types/dev/fns.d.ts +14 -0
- package/dist/types/dev/index.d.ts +2 -0
- package/dist/types/dev/trace.d.ts +8 -0
- package/dist/types/dev/utils.d.ts +5 -0
- package/dist/types/dialect/extracted/index.d.ts +1 -0
- package/dist/types/dialect/index.d.ts +1 -0
- package/dist/types/dialect/namedTokens.d.ts +9 -0
- package/dist/types/entry/dev/adapter/preact.d.ts +1 -0
- package/dist/types/entry/dev/adapter/react.d.ts +1 -0
- package/dist/types/entry/dev/adapter/solid.d.ts +1 -0
- package/dist/types/entry/dev/config.d.ts +2 -0
- package/dist/types/entry/dev/css.d.ts +2 -0
- package/dist/types/entry/dev/index.d.ts +3 -0
- package/dist/types/entry/dev/jsx_dev_runtime.d.ts +3 -0
- package/dist/types/entry/dev/sheet.d.ts +1 -0
- package/dist/types/entry/prod/adapter/preact.d.ts +1 -0
- package/dist/types/entry/prod/adapter/react.d.ts +1 -0
- package/dist/types/entry/prod/adapter/solid.d.ts +1 -0
- package/dist/types/entry/prod/config.d.ts +2 -0
- package/dist/types/entry/prod/config_debug.d.ts +2 -0
- package/dist/types/entry/prod/css.d.ts +2 -0
- package/dist/types/entry/prod/extract.d.ts +1 -0
- package/dist/types/entry/prod/index.d.ts +2 -0
- package/dist/types/entry/prod/jsx_runtime.d.ts +2 -0
- package/dist/types/entry/prod/runtime.d.ts +8 -0
- package/dist/types/entry/rsc_dev/adapter/preact.d.ts +1 -0
- package/dist/types/entry/rsc_dev/adapter/react.d.ts +1 -0
- package/dist/types/entry/rsc_dev/adapter/solid.d.ts +1 -0
- package/dist/types/entry/rsc_dev/config.d.ts +2 -0
- package/dist/types/entry/rsc_dev/css.d.ts +2 -0
- package/dist/types/entry/rsc_dev/index.d.ts +2 -0
- package/dist/types/entry/rsc_dev/server.d.ts +10 -0
- package/dist/types/entry/rsc_prod/adapter/preact.d.ts +1 -0
- package/dist/types/entry/rsc_prod/adapter/react.d.ts +1 -0
- package/dist/types/entry/rsc_prod/adapter/solid.d.ts +1 -0
- package/dist/types/entry/rsc_prod/config.d.ts +2 -0
- package/dist/types/entry/rsc_prod/config_debug.d.ts +2 -0
- package/dist/types/entry/rsc_prod/css.d.ts +2 -0
- package/dist/types/entry/rsc_prod/index.d.ts +2 -0
- package/dist/types/entry/rsc_prod/jsx_runtime.d.ts +2 -0
- package/dist/types/entry/rsc_prod/runtime.d.ts +4 -0
- package/dist/types/entry/rsc_prod/server.d.ts +6 -0
- package/dist/types/entry/shared/config.d.ts +1 -0
- package/dist/types/entry/shared/config_debug.d.ts +1 -0
- package/dist/types/entry/shared/config_dev.d.ts +1 -0
- package/dist/types/entry/shared/dev.d.ts +1 -0
- package/dist/types/entry/shared/prod.d.ts +1 -0
- package/dist/types/entry/shared/utils.d.ts +2 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/jsx/extracted/jsx_runtime.d.ts +7 -0
- package/dist/types/jsx/rsc/jsx_runtime.d.ts +7 -0
- package/dist/types/jsx/rsc_extracted/jsx_runtime.d.ts +2 -0
- package/dist/types/jsx/runtime/jsx_dev_runtime.d.ts +6 -0
- package/dist/types/jsx/runtime/jsx_runtime.d.ts +7 -0
- package/dist/types/jsx/types/index.d.ts +1 -0
- package/dist/types/jsx/types/preact.d.ts +12 -0
- package/dist/types/jsx/types/react.d.ts +10 -0
- package/dist/types/jsx/types/solid.d.ts +12 -0
- package/dist/types/jsx/utils.d.ts +19 -0
- package/dist/types/plugin/bundler/farm/index.d.ts +1 -0
- package/dist/types/plugin/bundler/farm/plugin.d.ts +91 -0
- package/dist/types/plugin/bundler/parcel/index.d.ts +1 -0
- package/dist/types/plugin/bundler/parcel/optimizer.d.ts +3 -0
- package/dist/types/plugin/bundler/parcel/plugin.d.ts +6 -0
- package/dist/types/plugin/bundler/parcel/resolver.d.ts +3 -0
- package/dist/types/plugin/bundler/parcel/runtime.d.ts +3 -0
- package/dist/types/plugin/bundler/parcel/shared.d.ts +37 -0
- package/dist/types/plugin/bundler/parcel/transformer.d.ts +3 -0
- package/dist/types/plugin/bundler/rspack/index.d.ts +1 -0
- package/dist/types/plugin/bundler/rspack/plugin.d.ts +7 -0
- package/dist/types/plugin/bundler/vite/index.d.ts +1 -0
- package/dist/types/plugin/bundler/vite/plugin.d.ts +6 -0
- package/dist/types/plugin/bundler/vite/state.d.ts +55 -0
- package/dist/types/plugin/bundler/webpack/index.d.ts +1 -0
- package/dist/types/plugin/bundler/webpack/loader.d.ts +2 -0
- package/dist/types/plugin/bundler/webpack/plugin.d.ts +11 -0
- package/dist/types/plugin/bundler/webpack/shared/loader.d.ts +31 -0
- package/dist/types/plugin/bundler/webpack/shared/registry.d.ts +4 -0
- package/dist/types/plugin/bundler/webpack/utils.d.ts +18 -0
- package/dist/types/plugin/nextjs/constants.d.ts +3 -0
- package/dist/types/plugin/nextjs/html.d.ts +1 -0
- package/dist/types/plugin/nextjs/index.d.ts +2 -0
- package/dist/types/plugin/nextjs/loader.d.ts +3 -0
- package/dist/types/plugin/nextjs/plugin.d.ts +5 -0
- package/dist/types/plugin/nextjs/types.d.ts +21 -0
- package/dist/types/plugin/nextjs/utils.d.ts +59 -0
- package/dist/types/plugin/utils/cache/css_cache.d.ts +34 -0
- package/dist/types/plugin/utils/cache/file.d.ts +4 -0
- package/dist/types/plugin/utils/cache/index.d.ts +2 -0
- package/dist/types/plugin/utils/compiler.d.ts +40 -0
- package/dist/types/plugin/utils/constants.d.ts +4 -0
- package/dist/types/plugin/utils/cssMarker.d.ts +4 -0
- package/dist/types/plugin/utils/cssOutput.d.ts +10 -0
- package/dist/types/plugin/utils/filter.d.ts +14 -0
- package/dist/types/plugin/utils/imports.d.ts +3 -0
- package/dist/types/plugin/utils/index.d.ts +10 -0
- package/dist/types/plugin/utils/injection.d.ts +3 -0
- package/dist/types/plugin/utils/misc.d.ts +1 -0
- package/dist/types/plugin/utils/runtimeEntry.d.ts +8 -0
- package/dist/types/plugin/utils/sidecar/index.d.ts +1 -0
- package/dist/types/plugin/utils/sidecar/server.d.ts +19 -0
- package/dist/types/plugin/utils/sidecar/sidecar.d.ts +17 -0
- package/dist/types/plugin/utils/sidecar/utils.d.ts +33 -0
- package/dist/types/plugin/utils/sourcemap.d.ts +9 -0
- package/dist/types/plugin/utils/virtual.d.ts +12 -0
- package/dist/types/presets/tailwind/classname/index.d.ts +2 -0
- package/dist/types/presets/tailwind/classname/transform.d.ts +8 -0
- package/dist/types/presets/tailwind/classname/types.d.ts +27 -0
- package/dist/types/presets/tailwind/index.d.ts +5 -0
- package/dist/types/presets/tailwind/selectors.d.ts +68 -0
- package/dist/types/presets/tailwind/style/index.d.ts +2 -0
- package/dist/types/presets/tailwind/style/transform.d.ts +8 -0
- package/dist/types/presets/tailwind/style/types.d.ts +149 -0
- package/dist/types/presets/tailwind/theme.d.ts +477 -0
- package/dist/types/presets/tailwind/types.d.ts +53 -0
- package/dist/types/runtime/adapter/utils.d.ts +12 -0
- package/dist/types/runtime/core/cache/combine.d.ts +6 -0
- package/dist/types/runtime/core/cache/combineRuntime.d.ts +1 -0
- package/dist/types/runtime/core/cache/item.d.ts +15 -0
- package/dist/types/runtime/core/cache/itemWithResolver.d.ts +4 -0
- package/dist/types/runtime/core/cache/pool.d.ts +16 -0
- package/dist/types/runtime/core/cache/prop.d.ts +19 -0
- package/dist/types/runtime/core/cache/propCache.d.ts +12 -0
- package/dist/types/runtime/core/cache/resolvedItem.d.ts +5 -0
- package/dist/types/runtime/core/cache/result.d.ts +9 -0
- package/dist/types/runtime/core/cache/stateItem.d.ts +8 -0
- package/dist/types/runtime/core/cache/token.d.ts +2 -0
- package/dist/types/runtime/core/cache/tokenValues.d.ts +26 -0
- package/dist/types/runtime/core/cache/utils/tree.d.ts +12 -0
- package/dist/types/runtime/core/cache/utils/walk.d.ts +1 -0
- package/dist/types/runtime/core/className.d.ts +18 -0
- package/dist/types/runtime/core/combinedStyle.d.ts +20 -0
- package/dist/types/runtime/core/createTransformElement.d.ts +4 -0
- package/dist/types/runtime/core/elementMarker.d.ts +12 -0
- package/dist/types/runtime/core/elementMarkerData.d.ts +7 -0
- package/dist/types/runtime/core/getClassName.d.ts +4 -0
- package/dist/types/runtime/core/getSheetRules.d.ts +3 -0
- package/dist/types/runtime/core/getToken.d.ts +3 -0
- package/dist/types/runtime/core/index.d.ts +5 -0
- package/dist/types/runtime/core/jsx.d.ts +1 -0
- package/dist/types/runtime/core/resolveClassNameRuntime.d.ts +8 -0
- package/dist/types/runtime/env.d.ts +2 -0
- package/dist/types/runtime/extract/combineStyle.d.ts +27 -0
- package/dist/types/runtime/extract/getClassName.d.ts +10 -0
- package/dist/types/runtime/extract/index.d.ts +6 -0
- package/dist/types/runtime/extract/jsx.d.ts +10 -0
- package/dist/types/runtime/extract/token.d.ts +5 -0
- package/dist/types/runtime/extract/tokenResolver.d.ts +2 -0
- package/dist/types/runtime/rsc/constants.d.ts +4 -0
- package/dist/types/runtime/rsc/dev.d.ts +6 -0
- package/dist/types/runtime/rsc/getClassName.d.ts +24 -0
- package/dist/types/runtime/rsc/index.d.ts +1 -0
- package/dist/types/runtime/rsc/jsx.d.ts +1 -0
- package/dist/types/runtime/rsc/observer.d.ts +5 -0
- package/dist/types/runtime/rsc/styleStore.d.ts +5 -0
- package/dist/types/runtime/sheet/element.d.ts +2 -0
- package/dist/types/runtime/sheet/global.d.ts +3 -0
- package/dist/types/runtime/sheet/index.d.ts +3 -0
- package/dist/types/runtime/sheet/insert.d.ts +5 -0
- package/dist/types/runtime/sheet/rule.d.ts +8 -0
- package/dist/types/runtime/sheet/rules.d.ts +10 -0
- package/dist/types/runtime/sheet/theme.d.ts +5 -0
- package/dist/types/runtime/style/index.d.ts +3 -0
- package/dist/types/runtime/style/scope.d.ts +4 -0
- package/dist/types/runtime/style/style.d.ts +27 -0
- package/dist/types/runtime/style/token.d.ts +1 -0
- package/dist/types/runtime/types.d.ts +28 -0
- package/dist/types/selector/assert.d.ts +13 -0
- package/dist/types/selector/index.d.ts +5 -0
- package/dist/types/selector/presets/default.d.ts +108 -0
- package/dist/types/selector/presets/index.d.ts +3 -0
- package/dist/types/selector/presets/minimal.d.ts +46 -0
- package/dist/types/selector/presets/selectors.d.ts +62 -0
- package/dist/types/selector/selector.d.ts +12 -0
- package/dist/types/selector/types.d.ts +12 -0
- package/dist/types/selector/validate.d.ts +5 -0
- package/dist/types/sheet/dev/dev_layer.d.ts +4 -0
- package/dist/types/sheet/dev/dev_sort.d.ts +2 -0
- package/dist/types/sheet/dev/index.d.ts +5 -0
- package/dist/types/sheet/dev/utils.d.ts +26 -0
- package/dist/types/sheet/index.d.ts +4 -0
- package/dist/types/sheet/prod.d.ts +2 -0
- package/dist/types/sheet/sheet.d.ts +2 -0
- package/dist/types/sheet/sourcemap.d.ts +11 -0
- package/dist/types/sheet/types.d.ts +30 -0
- package/dist/types/sheet/utils/dom.d.ts +5 -0
- package/dist/types/sheet/utils/index.d.ts +4 -0
- package/dist/types/sheet/utils/layer.d.ts +10 -0
- package/dist/types/sheet/utils/noop.d.ts +2 -0
- package/dist/types/sheet/utils/rule.d.ts +3 -0
- package/dist/types/sheet/utils/sourcemap.d.ts +12 -0
- package/dist/types/style/classname.d.ts +15 -0
- package/dist/types/style/important.d.ts +8 -0
- package/dist/types/style/index.d.ts +12 -0
- package/dist/types/style/keyframes.d.ts +10 -0
- package/dist/types/style/style.d.ts +426 -0
- package/dist/types/style/theme.d.ts +5 -0
- package/dist/types/style/token.d.ts +29 -0
- package/dist/types/style/tokens.d.ts +10 -0
- package/dist/types/style/transform.d.ts +21 -0
- package/dist/types/style/types.d.ts +22 -0
- package/dist/types/style/utils/expose.d.ts +8 -0
- package/dist/types/style/utils/index.d.ts +1 -0
- package/dist/types/style/value.d.ts +12 -0
- package/dist/types/style/valueRef.d.ts +13 -0
- package/dist/types/style/weight.d.ts +9 -0
- package/dist/types/utils/global.d.ts +4 -0
- package/dist/types/utils/hash.d.ts +3 -0
- package/dist/types/utils/id.d.ts +12 -0
- package/dist/types/utils/object.d.ts +10 -0
- package/dist/types/utils/symbol.d.ts +1 -0
- package/dist/types/utils/trace.d.ts +21 -0
- package/dist/types/utils/type.d.ts +11 -0
- package/dist/{utils-H1VInWpd.js → utils-10MTZOuB.js} +31 -15
- package/dist/utils-10MTZOuB.js.map +1 -0
- package/dist/{utils-NdisireF.mjs → utils-BBN9msTv.mjs} +4 -4
- package/dist/{utils-NdisireF.mjs.map → utils-BBN9msTv.mjs.map} +1 -1
- package/dist/{utils-DND33M6y.mjs → utils-Bjh9pO87.mjs} +3 -3
- package/dist/{utils-DND33M6y.mjs.map → utils-Bjh9pO87.mjs.map} +1 -1
- package/dist/{utils-DZK0mfmY.js → utils-DoKJnvxk.js} +3 -3
- package/dist/{utils-DZK0mfmY.js.map → utils-DoKJnvxk.js.map} +1 -1
- package/dist/utils.js +3 -3
- package/dist/{value-CK0-Xbov.js → value-Dg6ALjjj.js} +2 -2
- package/dist/{value-CK0-Xbov.js.map → value-Dg6ALjjj.js.map} +1 -1
- package/dist/{webpack-D7QO0bKN.mjs → webpack-C1j49Psk.mjs} +5 -5
- package/dist/{webpack-D7QO0bKN.mjs.map → webpack-C1j49Psk.mjs.map} +1 -1
- package/jsx/types/solid.ts +8 -25
- package/package.json +76 -72
- package/plugin/bundler/webpack/shared/loader.ts +4 -0
- package/plugin/nextjs/plugin.ts +7 -8
- package/runtime/rsc/observer.ts +4 -1
- package/runtime/rsc/styleStore.ts +6 -2
- package/runtime/sheet/rule.ts +2 -2
- package/sheet/dev/dev_layer.ts +7 -3
- package/sheet/dev/dev_sort.ts +18 -11
- package/sheet/prod.ts +7 -3
- package/sheet/types.ts +2 -1
- package/sheet/utils/layer.ts +2 -1
- package/dist/compiler-C3CEGGtI.mjs.map +0 -1
- package/dist/css-BDn0epJ8.js.map +0 -1
- package/dist/css-CFxNrYt3.js.map +0 -1
- package/dist/css-DEYgrj76.js.map +0 -1
- package/dist/elementMarker-kvpMjB49.js.map +0 -1
- package/dist/env-Cz8frh6e.js.map +0 -1
- package/dist/loader-_-VjzlrX.mjs.map +0 -1
- package/dist/shared-PK52rW6T.cjs.map +0 -1
- package/dist/sheet-CxkO1Hwt.js +0 -7
- package/dist/styleStore-BzLZwpwy.js.map +0 -1
- package/dist/styleStore-DaIJ4OPV.js.map +0 -1
- package/dist/utils-H1VInWpd.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { StyleTokenOverride } from "../../../style/token.js";
|
|
2
|
+
export type StyleTokenValues = {
|
|
3
|
+
ids: readonly string[];
|
|
4
|
+
values: readonly unknown[];
|
|
5
|
+
lookup: Record<string, unknown>;
|
|
6
|
+
};
|
|
7
|
+
export type MutableTokenValues = {
|
|
8
|
+
ids: string[] | null;
|
|
9
|
+
values: unknown[] | null;
|
|
10
|
+
lookup: Record<string, unknown> | null;
|
|
11
|
+
index: Record<string, number> | null;
|
|
12
|
+
};
|
|
13
|
+
export type TokenValueResolver = {
|
|
14
|
+
key: unknown;
|
|
15
|
+
is(item: unknown): item is StyleTokenOverride;
|
|
16
|
+
id(token: StyleTokenOverride): string;
|
|
17
|
+
value(token: StyleTokenOverride): unknown;
|
|
18
|
+
};
|
|
19
|
+
export declare function createMutableTokenValues(base: StyleTokenValues | null): MutableTokenValues;
|
|
20
|
+
export declare function addTokenOverride(values: MutableTokenValues, item: unknown, resolver: TokenValueResolver): boolean;
|
|
21
|
+
export declare function addTokenValue(values: MutableTokenValues, id: string, value: unknown): void;
|
|
22
|
+
export declare function addTokenValues(values: MutableTokenValues, next: StyleTokenValues | null): void;
|
|
23
|
+
export declare function addTokenOverrides(values: MutableTokenValues, overrides: readonly StyleTokenOverride[], resolver: TokenValueResolver): void;
|
|
24
|
+
export declare function finishTokenValues(base: StyleTokenValues | null, values: MutableTokenValues): StyleTokenValues | null;
|
|
25
|
+
export declare function mergeTokenValues(base: StyleTokenValues | null, next: StyleTokenValues | null): StyleTokenValues | null;
|
|
26
|
+
export declare function mergeTokenOverrides(base: StyleTokenValues | null, overrides: readonly StyleTokenOverride[], resolver: TokenValueResolver): StyleTokenValues | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CacheTreeNode<Key, Value> = {
|
|
2
|
+
children: Map<Key, CacheTreeNode<Key, Value>>;
|
|
3
|
+
value: Value;
|
|
4
|
+
};
|
|
5
|
+
export type WeakCacheTreeNode<Key extends object, Value> = {
|
|
6
|
+
children: WeakMap<Key, WeakCacheTreeNode<Key, Value>>;
|
|
7
|
+
value: Value;
|
|
8
|
+
};
|
|
9
|
+
export declare function createCacheTreeNode<Key, Value>(value: Value): CacheTreeNode<Key, Value>;
|
|
10
|
+
export declare function getCacheTreeChild<Key, Value>(node: CacheTreeNode<Key, Value>, key: Key, createValue: () => Value): CacheTreeNode<Key, Value>;
|
|
11
|
+
export declare function createWeakCacheTreeNode<Key extends object, Value>(value: Value): WeakCacheTreeNode<Key, Value>;
|
|
12
|
+
export declare function getWeakCacheTreeChild<Key extends object, Value>(node: WeakCacheTreeNode<Key, Value>, key: Key, createValue: () => Value): WeakCacheTreeNode<Key, Value>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function walkRecursiveItems(root: unknown, fn: (item: unknown) => void): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { RecursiveArray } from "../../utils/type.js";
|
|
3
|
+
type Items<T = string> = T | false | null | undefined | RecursiveArray<T | false | null | undefined>;
|
|
4
|
+
export type ClassNameProps = {
|
|
5
|
+
className?: Items<string>;
|
|
6
|
+
style?: Items<CSSProperties>;
|
|
7
|
+
};
|
|
8
|
+
export type ClassNameResult = {
|
|
9
|
+
className?: string | undefined;
|
|
10
|
+
style?: CSSProperties | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare function mergeClassName(className: Items<string>): string | undefined;
|
|
13
|
+
export declare function mergeStyle(style: Items<CSSProperties>): {} | undefined;
|
|
14
|
+
export declare function mergeResolvedClassName(result: ClassNameResult, resolvedClassName: string): void;
|
|
15
|
+
export declare function mergeResolvedStyle(result: ClassNameResult, resolvedStyle: CSSProperties | undefined): void;
|
|
16
|
+
export declare function createClassNameResult(props?: ClassNameProps): ClassNameResult;
|
|
17
|
+
export declare function finishClassNameResult(result: ClassNameResult): ClassNameResult;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ScopeTargetData, SelectorData, SheetData, SlotData, StyleData } from "../../builder/data/index.js";
|
|
2
|
+
import type { ResolvedStyleItem } from "./cache/item.js";
|
|
3
|
+
import type { StyleTokenValues } from "./cache/tokenValues.js";
|
|
4
|
+
export type CombinedStyleMeta<Styles = unknown> = {
|
|
5
|
+
styles: Styles;
|
|
6
|
+
scopes: readonly ScopeTargetData[];
|
|
7
|
+
tokens: StyleTokenValues | null;
|
|
8
|
+
};
|
|
9
|
+
export type CombinedStyle<Styles = unknown> = InferData<Styles>;
|
|
10
|
+
export type CombinedStyleFieldGetter = (meta: CombinedStyleMeta, prop: string | symbol) => unknown;
|
|
11
|
+
export declare function createCombinedStyle<Styles extends object>(meta: CombinedStyleMeta<Styles>, getField: CombinedStyleFieldGetter): CombinedStyle<Styles>;
|
|
12
|
+
export declare function isCombinedStyle<Styles = unknown>(value: unknown): value is CombinedStyle<Styles>;
|
|
13
|
+
export declare function getCombinedStyleStyles<Styles>(style: CombinedStyle<Styles>): Styles;
|
|
14
|
+
export declare function getCombinedStyleScopes(style: CombinedStyle): readonly ScopeTargetData[];
|
|
15
|
+
export declare function getCombinedStyleTokens(style: CombinedStyle): StyleTokenValues | null;
|
|
16
|
+
type InferValue<Value> = Value extends StyleData | SheetData | SlotData ? ResolvedStyleItem<Value> : Value extends SelectorData ? Value : Value extends object ? CombinedStyle<Value> : Value;
|
|
17
|
+
type InferData<Styles> = unknown extends Styles ? {} : Styles extends object ? {
|
|
18
|
+
[P in keyof Styles]: InferValue<Styles[P]>;
|
|
19
|
+
} : {};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TransformElement } from "../../jsx/utils.js";
|
|
2
|
+
import type { StyleProp } from "../types.js";
|
|
3
|
+
import type { ClassNameProps, ClassNameResult } from "./className.js";
|
|
4
|
+
export declare function createTransformElement(getClassName: (styleProp: StyleProp, props?: ClassNameProps) => ClassNameResult): TransformElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
2
|
+
import type { ElementDebugData } from "../types.js";
|
|
3
|
+
export { type ElementMarkerStyleProp, isElementDebugData, splitElementMarkerStyleProp } from "./elementMarkerData.js";
|
|
4
|
+
export declare function createElementMarkerClassName(debug: ElementDebugData | undefined): string | null;
|
|
5
|
+
export declare function insertElementMarkerSheetRule(rule: SheetRule, documentOverride?: Document): void;
|
|
6
|
+
export declare function createElementMarkerRuleFromDebug(debug: ElementDebugData | undefined): {
|
|
7
|
+
className: string;
|
|
8
|
+
rule: SheetRule;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare function isElementMarkerRule(rule: SheetRule): boolean;
|
|
11
|
+
export declare function getElementMarkerClassNameFromRule(rule: SheetRule): string | null;
|
|
12
|
+
export declare function clearElementMarkers(documentOverride?: Document | null): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementDebugData, StyleProp } from "../types.js";
|
|
2
|
+
export type ElementMarkerStyleProp = {
|
|
3
|
+
debug: ElementDebugData | undefined;
|
|
4
|
+
styleProp: StyleProp | undefined;
|
|
5
|
+
};
|
|
6
|
+
export declare function splitElementMarkerStyleProp(styleProp: StyleProp): ElementMarkerStyleProp;
|
|
7
|
+
export declare function isElementDebugData(value: unknown): value is ElementDebugData;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type StyleProp } from "../types.js";
|
|
2
|
+
import { type ClassNameProps, type ClassNameResult } from "./className.js";
|
|
3
|
+
export { type ClassNameProps, type ClassNameResult, mergeClassName, mergeStyle, } from "./className.js";
|
|
4
|
+
export declare function getClassName(styleProp: StyleProp, props?: ClassNameProps): ClassNameResult;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CombinedStyle } from "./combinedStyle.js";
|
|
2
|
+
export { type ClassNameProps, type ClassNameResult, getClassName, mergeClassName, mergeStyle } from "./getClassName.js";
|
|
3
|
+
export { getSheetRules } from "./getSheetRules.js";
|
|
4
|
+
export { getToken } from "./getToken.js";
|
|
5
|
+
export { transformElement } from "./jsx.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const transformElement: import("../../jsx/utils.js").TransformElement;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type StyleProp } from "../types.js";
|
|
2
|
+
import { type StylePropItem } from "./cache/prop.js";
|
|
3
|
+
import { type ClassNameProps, type ClassNameResult } from "./className.js";
|
|
4
|
+
export type RuntimeClassNameResolution = {
|
|
5
|
+
result: ClassNameResult;
|
|
6
|
+
items: StylePropItem[];
|
|
7
|
+
};
|
|
8
|
+
export declare function resolveClassNameRuntime(styleProp: StyleProp, props?: ClassNameProps): RuntimeClassNameResolution;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SheetData, SlotData, StyleData } from "../../builder/data/data.js";
|
|
2
|
+
import { type CombinedStyleArg } from "../core/cache/combine.js";
|
|
3
|
+
import type { CombinedStyle } from "../core/combinedStyle.js";
|
|
4
|
+
import type { StyleProp } from "../types.js";
|
|
5
|
+
export type StyleCombiner<T extends object> = (...args: CombinedStyleArg<T>[]) => CombinedStyle<T>;
|
|
6
|
+
export type CombinedStyleFor<T extends object | StyleCombiner<any>> = CombinedStyleArg<InferStyleCombinerStyles<T>>;
|
|
7
|
+
type InferStyleCombinerStyles<T extends object | StyleCombiner<any>> = T extends StyleCombiner<infer Styles> ? Styles : T extends object ? T : never;
|
|
8
|
+
type SingleStyleItem = StyleData | SheetData | SlotData;
|
|
9
|
+
type DirectStyleItem = SingleStyleItem | false | null | undefined | readonly DirectStyleItem[];
|
|
10
|
+
type CombineStyleFn = {
|
|
11
|
+
(style: SingleStyleItem, ...args: CombinedStyleArg<any>[]): StyleProp;
|
|
12
|
+
(styles: readonly DirectStyleItem[], ...args: CombinedStyleArg<any>[]): StyleProp;
|
|
13
|
+
<T extends object>(styles: T, ...args: CombinedStyleArg<T>[]): CombinedStyle<T>;
|
|
14
|
+
};
|
|
15
|
+
type StyleWithCombiner = {
|
|
16
|
+
(style: SingleStyleItem): StyleProp;
|
|
17
|
+
<T extends object>(styles: T): CombinedStyle<T>;
|
|
18
|
+
};
|
|
19
|
+
type CombineStyle = CombineStyleFn & {
|
|
20
|
+
for<T extends object>(styles: T): StyleCombiner<T>;
|
|
21
|
+
with(...args: CombinedStyleArg<any>[]): StyleWithCombiner;
|
|
22
|
+
multi<T extends readonly SingleStyleItem[]>(styles: T, ...args: CombinedStyleArg<any>[]): {
|
|
23
|
+
[P in keyof T]: StyleProp;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const combineStyle: CombineStyle;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ClassNameProps, type ClassNameResult, mergeClassName, mergeStyle } from "../core/className.js";
|
|
2
|
+
import type { StyleProp } from "../types.js";
|
|
3
|
+
export declare function getClassName(styleProp: StyleProp, props?: ClassNameProps): {
|
|
4
|
+
className?: undefined;
|
|
5
|
+
style?: undefined;
|
|
6
|
+
} | {
|
|
7
|
+
className: string | undefined;
|
|
8
|
+
style: {} | undefined;
|
|
9
|
+
};
|
|
10
|
+
export { type ClassNameProps, type ClassNameResult, mergeClassName, mergeStyle };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { CombinedStyle } from "../core/combinedStyle.js";
|
|
2
|
+
export { bindScope, combineScope } from "../style/scope.js";
|
|
3
|
+
export type { StyleProp, StyleTheme, StyleTokenInput, TokenTheme } from "../types.js";
|
|
4
|
+
export { type CombinedStyleFor, combineStyle } from "./combineStyle.js";
|
|
5
|
+
export { type ClassNameProps, type ClassNameResult, getClassName, mergeClassName, mergeStyle } from "./getClassName.js";
|
|
6
|
+
export { getToken } from "./token.js";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TransformElement, TransformElementArgs } from "../../jsx/utils.js";
|
|
2
|
+
export declare const transformElement: TransformElement;
|
|
3
|
+
export declare function transformElementProps(type: TransformElementArgs['type'], props: unknown): TransformElementArgs;
|
|
4
|
+
export declare function transformCssProps(attrs: Record<PropertyKey, unknown>): Record<PropertyKey, unknown> | {
|
|
5
|
+
className?: undefined;
|
|
6
|
+
style?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
className: string | undefined;
|
|
9
|
+
style: {} | undefined;
|
|
10
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StyleTokenData, StyleTokenOverride } from "../../style/token.js";
|
|
2
|
+
export declare function getToken(value: unknown): unknown;
|
|
3
|
+
export declare function getExtractedTokenVarName(token: StyleTokenData | StyleTokenOverride): string;
|
|
4
|
+
export declare function getExtractedTokenVar(token: StyleTokenData): string;
|
|
5
|
+
export declare function getExtractedTokenOverrideValue(token: StyleTokenOverride): unknown;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ELEMENT_CSS_DATA_ATTR = "data-css-dev";
|
|
2
|
+
export declare const PRECOLLECT_LINK_TAG_ATTR = "data-fluentic-style-rsc-dev-link";
|
|
3
|
+
export declare const SEED_STYLE_TAG_ATTR = "data-fluentic-style-rsc-dev-style";
|
|
4
|
+
export declare const SEED_STYLE_TAG_HREF = "href-fluentic-style-rsc-dev-style";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LayerPriority } from "../../atomic/layer/index.js";
|
|
2
|
+
import type { DebugData } from "../../builder/data/debug.js";
|
|
3
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
4
|
+
import type { StylePropItem } from "../core/cache/prop.js";
|
|
5
|
+
import type { ClassNameProps, ClassNameResult } from "../core/className.js";
|
|
6
|
+
import { splitElementMarkerStyleProp } from "../core/elementMarker.js";
|
|
7
|
+
import type { StyleProp } from "../types.js";
|
|
8
|
+
import { ELEMENT_CSS_DATA_ATTR } from "./constants.js";
|
|
9
|
+
export type RscStylePayloadRule = {
|
|
10
|
+
key?: string | null;
|
|
11
|
+
css: string;
|
|
12
|
+
priority?: LayerPriority | null;
|
|
13
|
+
important?: boolean;
|
|
14
|
+
layer?: SheetRule['layer'];
|
|
15
|
+
callsite?: SheetRule['callsite'];
|
|
16
|
+
debug?: DebugData | null;
|
|
17
|
+
debugField?: string | null;
|
|
18
|
+
};
|
|
19
|
+
export type ClassNameResultRSC = ClassNameResult & {
|
|
20
|
+
[ELEMENT_CSS_DATA_ATTR]?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function getClassName(styleProp: StyleProp, props?: ClassNameProps): ClassNameResultRSC;
|
|
23
|
+
export declare function getClassNameRSC(result: ClassNameResult, items: readonly StylePropItem[], markerDebug?: ReturnType<typeof splitElementMarkerStyleProp>['debug']): ClassNameResultRSC;
|
|
24
|
+
export declare function createRscStylePayload(rules: readonly SheetRule[]): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dev.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const transformElement: import("../../jsx/utils.js").TransformElement;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
2
|
+
export declare function startRscDevObserver(root?: ParentNode): void;
|
|
3
|
+
export declare function stopRscDevObserver(): void;
|
|
4
|
+
export declare function getRscDevInitialStyleSelector(): string;
|
|
5
|
+
export declare function parseRscStylePayload(value: string | null): SheetRule[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
2
|
+
export declare function addRscStyleRules(rules: SheetRule[]): void;
|
|
3
|
+
export declare function getRscStyleCssIfChanged(): string | null;
|
|
4
|
+
export declare function getRscStyleCss(): string;
|
|
5
|
+
export declare function clearRscStyleStore(): void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StyleSheet } from "../../sheet/types.js";
|
|
2
|
+
import type { StylePropItem } from "../core/cache/prop.js";
|
|
3
|
+
import type { StyleProp } from "../types.js";
|
|
4
|
+
export declare function insertStylePropRuntimeRules(sheet: StyleSheet, styleProp: StyleProp | undefined): void;
|
|
5
|
+
export declare function insertStylePropRuntimeItems(sheet: StyleSheet, items: readonly StylePropItem[]): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CreateSheetOptions } from "../../builder/data/index.js";
|
|
2
|
+
import type { StateItem } from "../../builder/data/state.js";
|
|
3
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
4
|
+
export type RuntimeSheetRule = SheetRule & {
|
|
5
|
+
dedupe: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function createRuntimeSheetRules(item: StateItem, sheetOptions?: CreateSheetOptions | null): RuntimeSheetRule[] | null;
|
|
8
|
+
export declare function createRuntimeSheetRule(item: StateItem): RuntimeSheetRule | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ThemeData } from "../../builder/data/data.js";
|
|
2
|
+
import type { SheetRule } from "../../sheet/index.js";
|
|
3
|
+
import { type StylePropItem } from "../core/cache/prop.js";
|
|
4
|
+
import type { StyleProp } from "../types.js";
|
|
5
|
+
import { type RuntimeSheetRule } from "./rule.js";
|
|
6
|
+
export declare function walkStylePropSheetRules(styleProp: StyleProp, onRule: (rule: RuntimeSheetRule) => void, onTheme?: (theme: ThemeData) => void): void;
|
|
7
|
+
export declare function walkStylePropItemsSheetRules(items: readonly StylePropItem[], onRule: (rule: RuntimeSheetRule) => void, onTheme?: (theme: ThemeData) => void): void;
|
|
8
|
+
export declare function collectStylePropSheetRules(styleProp: StyleProp): SheetRule[];
|
|
9
|
+
export declare function collectStylePropItemsSheetRules(items: readonly StylePropItem[]): SheetRule[];
|
|
10
|
+
export declare function collectStylePropItemsSheetRulesWithThemes(items: readonly StylePropItem[]): SheetRule[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ThemeData } from "../../builder/data/data.js";
|
|
2
|
+
import type { StyleSheet } from "../../sheet/index.js";
|
|
3
|
+
export declare function insertRuntimeTheme(sheet: StyleSheet, theme: ThemeData): void;
|
|
4
|
+
export declare function insertRuntimeThemeRule(sheet: StyleSheet, theme: ThemeData): void;
|
|
5
|
+
export declare function createThemeRule(theme: ThemeData): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScopeTargetData, SlotData } from "../../builder/data/data.js";
|
|
2
|
+
import type { StyleTheme } from "../types.js";
|
|
3
|
+
export declare function combineScope(...scopes: (StyleTheme | undefined)[]): (target: SlotData) => ScopeTargetData[];
|
|
4
|
+
export declare function bindScope(target: SlotData, ...scopes: (StyleTheme | undefined)[]): ScopeTargetData[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SheetData, SlotData, StyleData } from "../../builder/data/index.js";
|
|
2
|
+
import type { CombinedStyleArg } from "../core/cache/combine.js";
|
|
3
|
+
import type { CombinedStyle } from "../core/combinedStyle.js";
|
|
4
|
+
import type { StyleProp } from "../types.js";
|
|
5
|
+
export type StyleCombiner<T extends object> = (...args: CombinedStyleArg<T>[]) => CombinedStyle<T>;
|
|
6
|
+
export type CombinedStyleFor<T extends object | StyleCombiner<any>> = CombinedStyleArg<InferStyleCombinerStyles<T>>;
|
|
7
|
+
type InferStyleCombinerStyles<T extends object | StyleCombiner<any>> = T extends StyleCombiner<infer Styles> ? Styles : T extends object ? T : never;
|
|
8
|
+
type SingleStyleItem = StyleData | SheetData | SlotData;
|
|
9
|
+
type DirectStyleItem = SingleStyleItem | false | null | undefined | readonly DirectStyleItem[];
|
|
10
|
+
type CombineStyleFn = {
|
|
11
|
+
(style: SingleStyleItem, ...args: CombinedStyleArg<any>[]): StyleProp;
|
|
12
|
+
(styles: readonly DirectStyleItem[], ...args: CombinedStyleArg<any>[]): StyleProp;
|
|
13
|
+
<T extends object>(styles: T, ...args: CombinedStyleArg<T>[]): CombinedStyle<T>;
|
|
14
|
+
};
|
|
15
|
+
type StyleWithCombiner = {
|
|
16
|
+
(style: SingleStyleItem): StyleProp;
|
|
17
|
+
<T extends object>(styles: T): CombinedStyle<T>;
|
|
18
|
+
};
|
|
19
|
+
type CombineStyle = CombineStyleFn & {
|
|
20
|
+
for<T extends object>(styles: T): StyleCombiner<T>;
|
|
21
|
+
with(...args: CombinedStyleArg<any>[]): StyleWithCombiner;
|
|
22
|
+
multi<T extends readonly SingleStyleItem[]>(styles: T, ...args: CombinedStyleArg<any>[]): {
|
|
23
|
+
[P in keyof T]: StyleProp;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const combineStyle: CombineStyle;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../core/getToken.js";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { ScopeData, ScopeTargetData, SheetData, SlotData, StyleData, ThemeData } from "../builder/data/index.js";
|
|
3
|
+
import type { StyleTokenData, StyleTokenOverride } from "../style/index.js";
|
|
4
|
+
import type { ResolvedStyleItem } from "./core/cache/item.js";
|
|
5
|
+
export type Falsy = false | null | undefined;
|
|
6
|
+
export type RecursiveProp<Item> = Item | Falsy | readonly RecursiveProp<Item>[];
|
|
7
|
+
export type StyleItem = ScopeTargetData | StyleTokenOverride<any>;
|
|
8
|
+
export type StyleItems = (StyleItem | Falsy)[];
|
|
9
|
+
export type RuntimeStyleItem = ResolvedStyleItem | ThemeData;
|
|
10
|
+
export type RuntimeStylePropItem = RuntimeStyleItem | StyleData | SheetData | SlotData;
|
|
11
|
+
export type StyleProp = RecursiveProp<RuntimeStylePropItem>;
|
|
12
|
+
export type StyleTokenInput<T> = T | StyleTokenData<T>;
|
|
13
|
+
export type StyleTheme = RecursiveProp<ScopeData | SheetData>;
|
|
14
|
+
export type TokenTheme = ThemeData;
|
|
15
|
+
export type RuntimeStyleAttributes = {
|
|
16
|
+
css?: StyleProp;
|
|
17
|
+
};
|
|
18
|
+
export type ElementDebugData = {
|
|
19
|
+
$$elementDebug: true;
|
|
20
|
+
loc: [line: number, column: number];
|
|
21
|
+
label: string;
|
|
22
|
+
sourceUrl: string;
|
|
23
|
+
code?: string;
|
|
24
|
+
};
|
|
25
|
+
export type DomElementProps = {
|
|
26
|
+
className?: string;
|
|
27
|
+
style?: CSSProperties;
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SelectorAssert, SelectorAssertFn } from "./types.js";
|
|
2
|
+
export declare function assertSelector(type: SelectorAssert | null, value: string): void;
|
|
3
|
+
export declare function assertEnumSelector<const Values extends readonly string[]>(values: Values): SelectorAssertFn<Values[number]>;
|
|
4
|
+
export declare function assertEnumSelector<const Values extends readonly string[]>(...values: Values): SelectorAssertFn<Values[number]>;
|
|
5
|
+
export declare const assertSelectorNotEmpty: SelectorAssertFn<string>;
|
|
6
|
+
export declare const assertLocalSelector: SelectorAssertFn<string>;
|
|
7
|
+
export declare const assertPseudoArgSelector: SelectorAssertFn<string>;
|
|
8
|
+
export declare const assertTagSelector: SelectorAssertFn<string>;
|
|
9
|
+
export declare const assertAttrSelector: SelectorAssertFn<string>;
|
|
10
|
+
export declare const assertRawValue: SelectorAssertFn<string>;
|
|
11
|
+
export declare const assertMediaQuery: SelectorAssertFn<string>;
|
|
12
|
+
export declare const assertSupportsQuery: SelectorAssertFn<string>;
|
|
13
|
+
export declare const assertContainerQuery: SelectorAssertFn<string>;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export declare const Selectors: {
|
|
2
|
+
media: import("../index.js").Selector<"@media $$", string>;
|
|
3
|
+
container: import("../index.js").Selector<"@container $$", string>;
|
|
4
|
+
supports: import("../index.js").Selector<"@supports $$", string>;
|
|
5
|
+
attr: import("../index.js").Selector<"$", string>;
|
|
6
|
+
select: import("../index.js").Selector<"$$", string>;
|
|
7
|
+
merge: import("../index.js").Selector<"...", string>;
|
|
8
|
+
not: import("../index.js").Selector<":not($$)", string>;
|
|
9
|
+
is: import("../index.js").Selector<":is($$)", string>;
|
|
10
|
+
where: import("../index.js").Selector<":where($$)", string>;
|
|
11
|
+
has: import("../index.js").Selector<":has($$)", string>;
|
|
12
|
+
nthChild: import("../index.js").Selector<":nth-child($)", string>;
|
|
13
|
+
nthLastChild: import("../index.js").Selector<":nth-last-child($)", string>;
|
|
14
|
+
nthOfType: import("../index.js").Selector<":nth-of-type($)", string>;
|
|
15
|
+
nthLastOfType: import("../index.js").Selector<":nth-last-of-type($)", string>;
|
|
16
|
+
lang: import("../index.js").Selector<":lang($)", string>;
|
|
17
|
+
dir: import("../index.js").Selector<":dir($)", string>;
|
|
18
|
+
before: import("../index.js").Selector<"::before", string>;
|
|
19
|
+
after: import("../index.js").Selector<"::after", string>;
|
|
20
|
+
hover: import("../index.js").Selector<":hover", string>;
|
|
21
|
+
active: import("../index.js").Selector<":active", string>;
|
|
22
|
+
focus: import("../index.js").Selector<":focus", string>;
|
|
23
|
+
focusVisible: import("../index.js").Selector<":focus-visible", string>;
|
|
24
|
+
focusWithin: import("../index.js").Selector<":focus-within", string>;
|
|
25
|
+
visited: import("../index.js").Selector<":visited", string>;
|
|
26
|
+
link: import("../index.js").Selector<":link", string>;
|
|
27
|
+
anyLink: import("../index.js").Selector<":any-link", string>;
|
|
28
|
+
target: import("../index.js").Selector<":target", string>;
|
|
29
|
+
disabled: import("../index.js").Selector<":disabled", string>;
|
|
30
|
+
enabled: import("../index.js").Selector<":enabled", string>;
|
|
31
|
+
checked: import("../index.js").Selector<":checked", string>;
|
|
32
|
+
indeterminate: import("../index.js").Selector<":indeterminate", string>;
|
|
33
|
+
invalid: import("../index.js").Selector<":invalid", string>;
|
|
34
|
+
valid: import("../index.js").Selector<":valid", string>;
|
|
35
|
+
required: import("../index.js").Selector<":required", string>;
|
|
36
|
+
optional: import("../index.js").Selector<":optional", string>;
|
|
37
|
+
readOnly: import("../index.js").Selector<":read-only", string>;
|
|
38
|
+
readWrite: import("../index.js").Selector<":read-write", string>;
|
|
39
|
+
inRange: import("../index.js").Selector<":in-range", string>;
|
|
40
|
+
outOfRange: import("../index.js").Selector<":out-of-range", string>;
|
|
41
|
+
default: import("../index.js").Selector<":default", string>;
|
|
42
|
+
placeholderShown: import("../index.js").Selector<":placeholder-shown", string>;
|
|
43
|
+
autofill: import("../index.js").Selector<":autofill", string>;
|
|
44
|
+
empty: import("../index.js").Selector<":empty", string>;
|
|
45
|
+
root: import("../index.js").Selector<":root", string>;
|
|
46
|
+
firstChild: import("../index.js").Selector<":first-child", string>;
|
|
47
|
+
lastChild: import("../index.js").Selector<":last-child", string>;
|
|
48
|
+
onlyChild: import("../index.js").Selector<":only-child", string>;
|
|
49
|
+
firstOfType: import("../index.js").Selector<":first-of-type", string>;
|
|
50
|
+
lastOfType: import("../index.js").Selector<":last-of-type", string>;
|
|
51
|
+
onlyOfType: import("../index.js").Selector<":only-of-type", string>;
|
|
52
|
+
fullscreen: import("../index.js").Selector<":fullscreen", string>;
|
|
53
|
+
modal: import("../index.js").Selector<":modal", string>;
|
|
54
|
+
};
|
|
55
|
+
export declare const PrioritySelectors: {
|
|
56
|
+
media: import("../index.js").Selector<"@media $$", string>;
|
|
57
|
+
container: import("../index.js").Selector<"@container $$", string>;
|
|
58
|
+
supports: import("../index.js").Selector<"@supports $$", string>;
|
|
59
|
+
attr: import("../index.js").Selector<"$", string>;
|
|
60
|
+
select: import("../index.js").Selector<"$$", string>;
|
|
61
|
+
merge: import("../index.js").Selector<"...", string>;
|
|
62
|
+
not: import("../index.js").Selector<":not($$)", string>;
|
|
63
|
+
is: import("../index.js").Selector<":is($$)", string>;
|
|
64
|
+
where: import("../index.js").Selector<":where($$)", string>;
|
|
65
|
+
has: import("../index.js").Selector<":has($$)", string>;
|
|
66
|
+
nthChild: import("../index.js").Selector<":nth-child($)", string>;
|
|
67
|
+
nthLastChild: import("../index.js").Selector<":nth-last-child($)", string>;
|
|
68
|
+
nthOfType: import("../index.js").Selector<":nth-of-type($)", string>;
|
|
69
|
+
nthLastOfType: import("../index.js").Selector<":nth-last-of-type($)", string>;
|
|
70
|
+
lang: import("../index.js").Selector<":lang($)", string>;
|
|
71
|
+
dir: import("../index.js").Selector<":dir($)", string>;
|
|
72
|
+
before: import("../index.js").Selector<"::before", string>;
|
|
73
|
+
after: import("../index.js").Selector<"::after", string>;
|
|
74
|
+
hover: import("../index.js").Selector<":hover", string>;
|
|
75
|
+
active: import("../index.js").Selector<":active", string>;
|
|
76
|
+
focus: import("../index.js").Selector<":focus", string>;
|
|
77
|
+
focusVisible: import("../index.js").Selector<":focus-visible", string>;
|
|
78
|
+
focusWithin: import("../index.js").Selector<":focus-within", string>;
|
|
79
|
+
visited: import("../index.js").Selector<":visited", string>;
|
|
80
|
+
link: import("../index.js").Selector<":link", string>;
|
|
81
|
+
anyLink: import("../index.js").Selector<":any-link", string>;
|
|
82
|
+
target: import("../index.js").Selector<":target", string>;
|
|
83
|
+
disabled: import("../index.js").Selector<":disabled", string>;
|
|
84
|
+
enabled: import("../index.js").Selector<":enabled", string>;
|
|
85
|
+
checked: import("../index.js").Selector<":checked", string>;
|
|
86
|
+
indeterminate: import("../index.js").Selector<":indeterminate", string>;
|
|
87
|
+
invalid: import("../index.js").Selector<":invalid", string>;
|
|
88
|
+
valid: import("../index.js").Selector<":valid", string>;
|
|
89
|
+
required: import("../index.js").Selector<":required", string>;
|
|
90
|
+
optional: import("../index.js").Selector<":optional", string>;
|
|
91
|
+
readOnly: import("../index.js").Selector<":read-only", string>;
|
|
92
|
+
readWrite: import("../index.js").Selector<":read-write", string>;
|
|
93
|
+
inRange: import("../index.js").Selector<":in-range", string>;
|
|
94
|
+
outOfRange: import("../index.js").Selector<":out-of-range", string>;
|
|
95
|
+
default: import("../index.js").Selector<":default", string>;
|
|
96
|
+
placeholderShown: import("../index.js").Selector<":placeholder-shown", string>;
|
|
97
|
+
autofill: import("../index.js").Selector<":autofill", string>;
|
|
98
|
+
empty: import("../index.js").Selector<":empty", string>;
|
|
99
|
+
root: import("../index.js").Selector<":root", string>;
|
|
100
|
+
firstChild: import("../index.js").Selector<":first-child", string>;
|
|
101
|
+
lastChild: import("../index.js").Selector<":last-child", string>;
|
|
102
|
+
onlyChild: import("../index.js").Selector<":only-child", string>;
|
|
103
|
+
firstOfType: import("../index.js").Selector<":first-of-type", string>;
|
|
104
|
+
lastOfType: import("../index.js").Selector<":last-of-type", string>;
|
|
105
|
+
onlyOfType: import("../index.js").Selector<":only-of-type", string>;
|
|
106
|
+
fullscreen: import("../index.js").Selector<":fullscreen", string>;
|
|
107
|
+
modal: import("../index.js").Selector<":modal", string>;
|
|
108
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const MinimalSelectors: {
|
|
2
|
+
media: import("../index.js").Selector<"@media $$", string>;
|
|
3
|
+
container: import("../index.js").Selector<"@container $$", string>;
|
|
4
|
+
supports: import("../index.js").Selector<"@supports $$", string>;
|
|
5
|
+
attr: import("../index.js").Selector<"$", string>;
|
|
6
|
+
select: import("../index.js").Selector<"$$", string>;
|
|
7
|
+
merge: import("../index.js").Selector<"...", string>;
|
|
8
|
+
before: import("../index.js").Selector<"::before", string>;
|
|
9
|
+
after: import("../index.js").Selector<"::after", string>;
|
|
10
|
+
hover: import("../index.js").Selector<":hover", string>;
|
|
11
|
+
active: import("../index.js").Selector<":active", string>;
|
|
12
|
+
focus: import("../index.js").Selector<":focus", string>;
|
|
13
|
+
focusWithin: import("../index.js").Selector<":focus-within", string>;
|
|
14
|
+
disabled: import("../index.js").Selector<":disabled", string>;
|
|
15
|
+
firstChild: import("../index.js").Selector<":first-child", string>;
|
|
16
|
+
lastChild: import("../index.js").Selector<":last-child", string>;
|
|
17
|
+
nthChild: import("../index.js").Selector<":nth-child($)", string>;
|
|
18
|
+
nthOfType: import("../index.js").Selector<":nth-of-type($)", string>;
|
|
19
|
+
is: import("../index.js").Selector<":is($$)", string>;
|
|
20
|
+
where: import("../index.js").Selector<":where($$)", string>;
|
|
21
|
+
not: import("../index.js").Selector<":not($$)", string>;
|
|
22
|
+
has: import("../index.js").Selector<":has($$)", string>;
|
|
23
|
+
};
|
|
24
|
+
export declare const MinimalPrioritySelectors: {
|
|
25
|
+
media: import("../index.js").Selector<"@media $$", string>;
|
|
26
|
+
container: import("../index.js").Selector<"@container $$", string>;
|
|
27
|
+
supports: import("../index.js").Selector<"@supports $$", string>;
|
|
28
|
+
attr: import("../index.js").Selector<"$", string>;
|
|
29
|
+
select: import("../index.js").Selector<"$$", string>;
|
|
30
|
+
merge: import("../index.js").Selector<"...", string>;
|
|
31
|
+
before: import("../index.js").Selector<"::before", string>;
|
|
32
|
+
after: import("../index.js").Selector<"::after", string>;
|
|
33
|
+
hover: import("../index.js").Selector<":hover", string>;
|
|
34
|
+
active: import("../index.js").Selector<":active", string>;
|
|
35
|
+
focus: import("../index.js").Selector<":focus", string>;
|
|
36
|
+
focusWithin: import("../index.js").Selector<":focus-within", string>;
|
|
37
|
+
disabled: import("../index.js").Selector<":disabled", string>;
|
|
38
|
+
firstChild: import("../index.js").Selector<":first-child", string>;
|
|
39
|
+
lastChild: import("../index.js").Selector<":last-child", string>;
|
|
40
|
+
nthChild: import("../index.js").Selector<":nth-child($)", string>;
|
|
41
|
+
nthOfType: import("../index.js").Selector<":nth-of-type($)", string>;
|
|
42
|
+
is: import("../index.js").Selector<":is($$)", string>;
|
|
43
|
+
where: import("../index.js").Selector<":where($$)", string>;
|
|
44
|
+
not: import("../index.js").Selector<":not($$)", string>;
|
|
45
|
+
has: import("../index.js").Selector<":has($$)", string>;
|
|
46
|
+
};
|