icss-utils/000755 001751 000177 0000000000 14522325161014633 5ustar00runner000000 000000 1452232516114522325161icss-utils/LICENSE000644 001751 000177 0000002165 14522325161015644 0ustar00runner000000 000000 1452232516114522325161 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE icss-utils/README.md000644 001751 000177 0000002460 14522325161016114 0ustar00runner000000 000000 1452236520214522325161# Installation > `npm install --save @types/icss-utils` # Summary This package contains type definitions for icss-utils (https://github.com/css-modules/icss-utils#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/icss-utils. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/icss-utils/index.d.ts) ````ts import { Container, Rule } from "postcss"; export interface Replacements { [key: string]: string; } export interface CSSImports { [key: string]: { [key: string]: string }; } export interface CSSExports { [key: string]: string; } export interface ExtractedICSS { icssImports: CSSImports; icssExports: CSSExports; } export function replaceValueSymbols(value: string, replacements: Replacements): string; export function replaceSymbols(css: Container, replacements: Replacements): void; export function extractICSS(css: Container, removeRules?: boolean): ExtractedICSS; export function createICSSRules(imports: CSSImports, exports: CSSExports): Rule[]; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: [postcss](https://npmjs.com/package/postcss) # Credits These definitions were written by [Bob Matcuk](https://github.com/bmatcuk). icss-utils/index.d.ts000644 001751 000177 0000001246 14522325161016537 0ustar00runner000000 000000 1452232516114522325161import { Container, Rule } from "postcss"; export interface Replacements { [key: string]: string; } export interface CSSImports { [key: string]: { [key: string]: string }; } export interface CSSExports { [key: string]: string; } export interface ExtractedICSS { icssImports: CSSImports; icssExports: CSSExports; } export function replaceValueSymbols(value: string, replacements: Replacements): string; export function replaceSymbols(css: Container, replacements: Replacements): void; export function extractICSS(css: Container, removeRules?: boolean): ExtractedICSS; export function createICSSRules(imports: CSSImports, exports: CSSExports): Rule[]; icss-utils/package.json000644 001751 000177 0000001473 14522325161017126 0ustar00runner000000 000000 1452236520214522325161{ "name": "@types/icss-utils", "version": "5.1.2", "description": "TypeScript definitions for icss-utils", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/icss-utils", "license": "MIT", "contributors": [ { "name": "Bob Matcuk", "githubUsername": "bmatcuk", "url": "https://github.com/bmatcuk" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/icss-utils" }, "scripts": {}, "dependencies": { "postcss": "^8.0.0" }, "typesPublisherContentHash": "4cb19e496ff71e0e18b4b8e7d9a444306999e22b5ea1b4271cd03f420e03d4d7", "typeScriptVersion": "4.5" }