@dialpad/dialtone-tokens 1.34.3 → 1.35.0
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/README.md +9 -0
- package/dist/doc.json +15261 -15261
- package/dist/postcss/rem-to-px.cjs +1 -0
- package/dist/postcss/rem-to-px.js +19 -0
- package/dist/themes/dp-dark.cjs +1 -1
- package/dist/themes/dp-dark.js +1 -1
- package/dist/themes/dp-light.cjs +1 -1
- package/dist/themes/dp-light.js +1 -1
- package/dist/themes/expressive-dark.cjs +1 -1
- package/dist/themes/expressive-dark.js +1 -1
- package/dist/themes/expressive-light.cjs +1 -1
- package/dist/themes/expressive-light.js +1 -1
- package/dist/themes/expressive-sm-dark.cjs +1 -1
- package/dist/themes/expressive-sm-dark.js +1 -1
- package/dist/themes/expressive-sm-light.cjs +1 -1
- package/dist/themes/expressive-sm-light.js +1 -1
- package/dist/themes/tmo-dark.cjs +1 -1
- package/dist/themes/tmo-dark.js +1 -1
- package/dist/themes/tmo-light.cjs +1 -1
- package/dist/themes/tmo-light.js +1 -1
- package/dist/themes/types/{config.d.ts.map → themes/config.d.ts.map} +1 -1
- package/dist/themes/types/{dp-dark.d.ts.map → themes/dp-dark.d.ts.map} +1 -1
- package/dist/themes/types/{dp-light.d.ts.map → themes/dp-light.d.ts.map} +1 -1
- package/dist/themes/types/themes/expressive-dark.d.ts.map +1 -0
- package/dist/themes/types/themes/expressive-light.d.ts.map +1 -0
- package/dist/themes/types/themes/expressive-sm-dark.d.ts.map +1 -0
- package/dist/themes/types/themes/expressive-sm-light.d.ts.map +1 -0
- package/dist/themes/types/{tmo-dark.d.ts.map → themes/tmo-dark.d.ts.map} +1 -1
- package/dist/themes/types/{tmo-light.d.ts.map → themes/tmo-light.d.ts.map} +1 -1
- package/package.json +4 -3
- package/dist/themes/types/expressive-dark.d.ts.map +0 -1
- package/dist/themes/types/expressive-light.d.ts.map +0 -1
- package/dist/themes/types/expressive-sm-dark.d.ts.map +0 -1
- package/dist/themes/types/expressive-sm-light.d.ts.map +0 -1
- /package/dist/themes/chunks/{tokens-base-dark--ozK7f0P.js → tokens-base-dark-C_VClg5s.js} +0 -0
- /package/dist/themes/chunks/{tokens-base-dark-V8E4WaJI.js → tokens-base-dark-CsflOADh.js} +0 -0
- /package/dist/themes/chunks/{tokens-base-light-ljPrpLe2.js → tokens-base-light-9TN2mC0P.js} +0 -0
- /package/dist/themes/chunks/{tokens-base-light-LYlvM3eZ.js → tokens-base-light-Bg9yNmR_.js} +0 -0
- /package/dist/themes/types/{config.d.ts → themes/config.d.ts} +0 -0
- /package/dist/themes/types/{dp-dark.d.ts → themes/dp-dark.d.ts} +0 -0
- /package/dist/themes/types/{dp-light.d.ts → themes/dp-light.d.ts} +0 -0
- /package/dist/themes/types/{expressive-dark.d.ts → themes/expressive-dark.d.ts} +0 -0
- /package/dist/themes/types/{expressive-light.d.ts → themes/expressive-light.d.ts} +0 -0
- /package/dist/themes/types/{expressive-sm-dark.d.ts → themes/expressive-sm-dark.d.ts} +0 -0
- /package/dist/themes/types/{expressive-sm-light.d.ts → themes/expressive-sm-light.d.ts} +0 -0
- /package/dist/themes/types/{tmo-dark.d.ts → themes/tmo-dark.d.ts} +0 -0
- /package/dist/themes/types/{tmo-light.d.ts → themes/tmo-light.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t={exports:{}};t.exports=()=>({postcssPlugin:"postcss-dialtone-rem-to-px",Declaration(e){if(e.value.includes("rem")){const s=parseFloat(e.value)*10;e.assign({value:`${s}px`})}}});var r=t.exports.postcss=!0,u=t.exports;const a=o(u);exports.default=a;exports.postcss=r;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function s(e) {
|
|
2
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
+
}
|
|
4
|
+
var t = { exports: {} };
|
|
5
|
+
t.exports = () => ({
|
|
6
|
+
postcssPlugin: "postcss-dialtone-rem-to-px",
|
|
7
|
+
Declaration(e) {
|
|
8
|
+
if (e.value.includes("rem")) {
|
|
9
|
+
const r = parseFloat(e.value) * 10;
|
|
10
|
+
e.assign({ value: `${r}px` });
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
var u = t.exports.postcss = !0, o = t.exports;
|
|
15
|
+
const p = /* @__PURE__ */ s(o);
|
|
16
|
+
export {
|
|
17
|
+
p as default,
|
|
18
|
+
u as postcss
|
|
19
|
+
};
|