@photonix/basic 3.3.0 → 3.4.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -5444,7 +5444,7 @@ var getVariantVars = (value, weight) => {
|
|
|
5444
5444
|
const vars = {};
|
|
5445
5445
|
const breakpoints = ["base", "sm", "md", "lg", "xl", "2xl"];
|
|
5446
5446
|
const getWeightToken = (variant) => {
|
|
5447
|
-
if (weight === "regular") return
|
|
5447
|
+
if (weight === "regular") return "var(--typeface-weight-regular)";
|
|
5448
5448
|
if (weight === "medium") return `var(--${variant}-weight-emphasize, var(--label-md-weight-emphasize))`;
|
|
5449
5449
|
if (weight === "bold") return "var(--display-lg-weight)";
|
|
5450
5450
|
return variant.startsWith("title-") || variant.startsWith("label-") ? `var(--${variant}-weight-emphasize)` : `var(--${variant}-weight)`;
|
package/dist/index.mjs
CHANGED
|
@@ -5154,7 +5154,7 @@ var getVariantVars = (value, weight) => {
|
|
|
5154
5154
|
const vars = {};
|
|
5155
5155
|
const breakpoints = ["base", "sm", "md", "lg", "xl", "2xl"];
|
|
5156
5156
|
const getWeightToken = (variant) => {
|
|
5157
|
-
if (weight === "regular") return
|
|
5157
|
+
if (weight === "regular") return "var(--typeface-weight-regular)";
|
|
5158
5158
|
if (weight === "medium") return `var(--${variant}-weight-emphasize, var(--label-md-weight-emphasize))`;
|
|
5159
5159
|
if (weight === "bold") return "var(--display-lg-weight)";
|
|
5160
5160
|
return variant.startsWith("title-") || variant.startsWith("label-") ? `var(--${variant}-weight-emphasize)` : `var(--${variant}-weight)`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@photonix/basic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Photonix Basic - Foundation primitives and essential UI building blocks",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"./dist/index.css": "./dist/index.css"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@photonix/icons": "^3.
|
|
21
|
-
"@photonix/illustrations": "^3.
|
|
20
|
+
"@photonix/icons": "^3.4.0",
|
|
21
|
+
"@photonix/illustrations": "^3.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@repo/typescript-config": "*",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"eslint": "^9.39.1",
|
|
27
27
|
"tsup": "^8.0.2",
|
|
28
28
|
"typescript": "5.9.2",
|
|
29
|
-
"@photonix/ultimate": "^3.
|
|
29
|
+
"@photonix/ultimate": "^3.4.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^18.0.0 || ^19.0.0",
|