@almadar/ui 5.108.0 → 5.110.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.
@@ -49882,6 +49882,9 @@ function collectEmbeddedTraits(schema) {
49882
49882
  if (!traitRef || typeof traitRef !== "object") continue;
49883
49883
  const resolved = traitRef._resolved;
49884
49884
  const target = resolved && typeof resolved === "object" ? resolved : traitRef;
49885
+ if (target.config) {
49886
+ collectTraitRefsFromValue(target.config, out);
49887
+ }
49885
49888
  const transitions = target.stateMachine?.transitions;
49886
49889
  if (!Array.isArray(transitions)) continue;
49887
49890
  for (const t of transitions) {
package/dist/avl/index.js CHANGED
@@ -49836,6 +49836,9 @@ function collectEmbeddedTraits(schema) {
49836
49836
  if (!traitRef || typeof traitRef !== "object") continue;
49837
49837
  const resolved = traitRef._resolved;
49838
49838
  const target = resolved && typeof resolved === "object" ? resolved : traitRef;
49839
+ if (target.config) {
49840
+ collectTraitRefsFromValue(target.config, out);
49841
+ }
49839
49842
  const transitions = target.stateMachine?.transitions;
49840
49843
  if (!Array.isArray(transitions)) continue;
49841
49844
  for (const t of transitions) {
@@ -14,6 +14,8 @@ export type BoxShadow = "none" | "sm" | "md" | "lg" | "xl";
14
14
  export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
15
15
  /** Additional CSS classes applied to the root element. */
16
16
  className?: string;
17
+ /** Data-theme attribute applied to the root element for CSS theme scoping (e.g. almadar-website-dark). */
18
+ 'data-theme'?: string;
17
19
  /** Padding on all sides */
18
20
  padding?: BoxPadding;
19
21
  /** Horizontal padding (overrides padding for x-axis) */
@@ -17,6 +17,8 @@ type BoxShadow = "none" | "sm" | "md" | "lg" | "xl";
17
17
  interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
18
18
  /** Additional CSS classes applied to the root element. */
19
19
  className?: string;
20
+ /** Data-theme attribute applied to the root element for CSS theme scoping (e.g. almadar-website-dark). */
21
+ 'data-theme'?: string;
20
22
  /** Padding on all sides */
21
23
  padding?: BoxPadding;
22
24
  /** Horizontal padding (overrides padding for x-axis) */
@@ -45234,6 +45234,9 @@ function collectEmbeddedTraits(schema) {
45234
45234
  if (!traitRef || typeof traitRef !== "object") continue;
45235
45235
  const resolved = traitRef._resolved;
45236
45236
  const target = resolved && typeof resolved === "object" ? resolved : traitRef;
45237
+ if (target.config) {
45238
+ collectTraitRefsFromValue(target.config, out);
45239
+ }
45237
45240
  const transitions = target.stateMachine?.transitions;
45238
45241
  if (!Array.isArray(transitions)) continue;
45239
45242
  for (const t of transitions) {
@@ -45189,6 +45189,9 @@ function collectEmbeddedTraits(schema) {
45189
45189
  if (!traitRef || typeof traitRef !== "object") continue;
45190
45190
  const resolved = traitRef._resolved;
45191
45191
  const target = resolved && typeof resolved === "object" ? resolved : traitRef;
45192
+ if (target.config) {
45193
+ collectTraitRefsFromValue(target.config, out);
45194
+ }
45192
45195
  const transitions = target.stateMachine?.transitions;
45193
45196
  if (!Array.isArray(transitions)) continue;
45194
45197
  for (const t of transitions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.108.0",
3
+ "version": "5.110.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [