@pikacss/core 0.0.21 → 0.0.22
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/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const ATOMIC_STYLE_ID_PLACEHOLDER = "
|
|
4
|
-
const ATOMIC_STYLE_ID_PLACEHOLDER_RE_GLOBAL =
|
|
3
|
+
const ATOMIC_STYLE_ID_PLACEHOLDER = "%";
|
|
4
|
+
const ATOMIC_STYLE_ID_PLACEHOLDER_RE_GLOBAL = /%/g;
|
|
5
5
|
|
|
6
6
|
let _warn = (...args) => {
|
|
7
7
|
console.warn("[@pikacss/core]", ...args);
|
package/dist/index.d.cts
CHANGED
|
@@ -395,15 +395,15 @@ interface EngineConfig {
|
|
|
395
395
|
*/
|
|
396
396
|
prefix?: string;
|
|
397
397
|
/**
|
|
398
|
-
* Set the default selector format. '
|
|
398
|
+
* Set the default selector format. '%' will be replaced with the atomic style id.
|
|
399
399
|
*
|
|
400
|
-
* @default '
|
|
400
|
+
* @default '.%'
|
|
401
401
|
* @example
|
|
402
402
|
* ```ts
|
|
403
403
|
* {
|
|
404
|
-
* defaultSelector: '
|
|
404
|
+
* defaultSelector: '.%' // Use with class attribute: <div class="a b c">
|
|
405
405
|
* // or
|
|
406
|
-
* defaultSelector: '[data-pika~="
|
|
406
|
+
* defaultSelector: '[data-pika~="%"]' // Use with attribute selector: <div data-pika="a b c">
|
|
407
407
|
* }
|
|
408
408
|
* ```
|
|
409
409
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -395,15 +395,15 @@ interface EngineConfig {
|
|
|
395
395
|
*/
|
|
396
396
|
prefix?: string;
|
|
397
397
|
/**
|
|
398
|
-
* Set the default selector format. '
|
|
398
|
+
* Set the default selector format. '%' will be replaced with the atomic style id.
|
|
399
399
|
*
|
|
400
|
-
* @default '
|
|
400
|
+
* @default '.%'
|
|
401
401
|
* @example
|
|
402
402
|
* ```ts
|
|
403
403
|
* {
|
|
404
|
-
* defaultSelector: '
|
|
404
|
+
* defaultSelector: '.%' // Use with class attribute: <div class="a b c">
|
|
405
405
|
* // or
|
|
406
|
-
* defaultSelector: '[data-pika~="
|
|
406
|
+
* defaultSelector: '[data-pika~="%"]' // Use with attribute selector: <div data-pika="a b c">
|
|
407
407
|
* }
|
|
408
408
|
* ```
|
|
409
409
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -395,15 +395,15 @@ interface EngineConfig {
|
|
|
395
395
|
*/
|
|
396
396
|
prefix?: string;
|
|
397
397
|
/**
|
|
398
|
-
* Set the default selector format. '
|
|
398
|
+
* Set the default selector format. '%' will be replaced with the atomic style id.
|
|
399
399
|
*
|
|
400
|
-
* @default '
|
|
400
|
+
* @default '.%'
|
|
401
401
|
* @example
|
|
402
402
|
* ```ts
|
|
403
403
|
* {
|
|
404
|
-
* defaultSelector: '
|
|
404
|
+
* defaultSelector: '.%' // Use with class attribute: <div class="a b c">
|
|
405
405
|
* // or
|
|
406
|
-
* defaultSelector: '[data-pika~="
|
|
406
|
+
* defaultSelector: '[data-pika~="%"]' // Use with attribute selector: <div data-pika="a b c">
|
|
407
407
|
* }
|
|
408
408
|
* ```
|
|
409
409
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const ATOMIC_STYLE_ID_PLACEHOLDER = "
|
|
2
|
-
const ATOMIC_STYLE_ID_PLACEHOLDER_RE_GLOBAL =
|
|
1
|
+
const ATOMIC_STYLE_ID_PLACEHOLDER = "%";
|
|
2
|
+
const ATOMIC_STYLE_ID_PLACEHOLDER_RE_GLOBAL = /%/g;
|
|
3
3
|
|
|
4
4
|
let _warn = (...args) => {
|
|
5
5
|
console.warn("[@pikacss/core]", ...args);
|