UNPKG

@tapie-kr/inspire-react

Version:

React Component Collection for INSPIRE

18 lines (15 loc) 1.01 kB
/* 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 */ import { globalStyle, style } from '../../node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js'; function getLayerApplier(layer){function style$1(...args){const[rule,debugId]=args;const appliedRule=rule instanceof Array?rule.map(r=>isLayerApplicable(r)?applyLayer(layer,r):r):applyLayer(layer,rule);return style(appliedRule,debugId)}function globalStyle$1(...args){const[selector,rule]=args;return globalStyle(selector,applyLayer(layer,rule))}return {style: style$1,globalStyle: globalStyle$1}}function applyLayer(layer,rule){return {"@layer":{[layer]:rule}}}function isLayerApplicable(rule){return typeof rule==="object"&&!Array.isArray(rule)} export { applyLayer, getLayerApplier };