@tapie-kr/inspire-react
Version:
React Component Collection for INSPIRE
21 lines (17 loc) • 1.08 kB
JavaScript
/* eslint-disable */
/*
* INSPIRE : Creative Kit
* React Component Collection for INSPIRE
*
* This file is generated automatically. Do not modify it manually
* Generated at : 2025. 3. 4. 오후 6:18:13
* @tapie-kr/inspire-react version: 0.2.15
*
* (c) 2025 TAPIE. All rights reserved.
* MIT License
*/
;
var vanillaExtractCss_esm = require('../../node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js');
function getLayerApplier(layer){function style(...args){const[rule,debugId]=args;const appliedRule=rule instanceof Array?rule.map(r=>isLayerApplicable(r)?applyLayer(layer,r):r):applyLayer(layer,rule);return vanillaExtractCss_esm.style(appliedRule,debugId)}function globalStyle(...args){const[selector,rule]=args;return vanillaExtractCss_esm.globalStyle(selector,applyLayer(layer,rule))}return {style,globalStyle}}function applyLayer(layer,rule){return {"@layer":{[layer]:rule}}}function isLayerApplicable(rule){return typeof rule==="object"&&!Array.isArray(rule)}
exports.applyLayer = applyLayer;
exports.getLayerApplier = getLayerApplier;