@photonix/basic 3.3.0 → 3.5.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.css CHANGED
@@ -6260,12 +6260,15 @@
6260
6260
  .buttonContent {
6261
6261
  align-items: center;
6262
6262
  display: inline-flex;
6263
+ min-inline-size: 0;
6263
6264
  position: relative;
6264
6265
  z-index: var(--z-local-content);
6265
6266
  }
6266
6267
  .buttonText {
6267
- align-items: center;
6268
- display: inline-flex;
6268
+ display: block;
6269
+ min-inline-size: 0;
6270
+ overflow: hidden;
6271
+ text-overflow: ellipsis;
6269
6272
  }
6270
6273
  .buttonBadge {
6271
6274
  flex-shrink: 0;
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 `var(--${variant}-weight, var(--body-md-weight))`;
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 `var(--${variant}-weight, var(--body-md-weight))`;
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.0",
3
+ "version": "3.5.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.3.0",
21
- "@photonix/illustrations": "^3.3.0"
20
+ "@photonix/icons": "^3.5.0",
21
+ "@photonix/illustrations": "^3.5.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.3.0"
29
+ "@photonix/ultimate": "^3.5.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^18.0.0 || ^19.0.0",