@react-ui-org/react-ui 0.63.0 → 0.64.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.
Files changed (52) hide show
  1. package/.claude/agents/code-reviewer.md +122 -0
  2. package/.claude/rules/code.md +22 -0
  3. package/.claude/rules/docs.md +35 -0
  4. package/.claude/rules/frontend.md +72 -0
  5. package/.claude/rules/git.md +13 -0
  6. package/.claude/rules/safety-guards.md +9 -0
  7. package/.claude/rules/styling.md +32 -0
  8. package/.claude/rules/testing.md +59 -0
  9. package/.claude/settings.json +32 -0
  10. package/.claude/skills/commit/SKILL.md +54 -0
  11. package/.devcontainer/devcontainer.json +23 -0
  12. package/.mcp.json +8 -0
  13. package/CLAUDE.md +82 -0
  14. package/dist/react-ui.css +4 -4
  15. package/dist/react-ui.development.css +600 -590
  16. package/dist/react-ui.development.js +20 -10
  17. package/dist/react-ui.js +1 -1
  18. package/docker-compose.base.yml +93 -0
  19. package/docker-compose.yml.dist +41 -0
  20. package/opencode.json +10 -0
  21. package/package.json +3 -2
  22. package/scripts/auto-start-mkdocs.sh +5 -0
  23. package/scripts/auto-start-node.sh +33 -0
  24. package/scripts/mcps/chrome-host/README.md +118 -0
  25. package/scripts/mcps/chrome-host/cdp_proxy.py +90 -0
  26. package/scripts/mcps/chrome-host/mcp-entry.sh +33 -0
  27. package/scripts/mcps/chrome-host/mcp-launch.sh +36 -0
  28. package/scripts/mcps/chrome-host/mcp-setup.sh +70 -0
  29. package/scripts/mcps/chrome-host/start-host-chrome.sh +267 -0
  30. package/scripts/write-lockfile-hash.sh +15 -0
  31. package/setup.sh +107 -0
  32. package/src/components/Button/Button.jsx +4 -0
  33. package/src/components/Button/Button.module.scss +11 -0
  34. package/src/components/FileInputField/FileInputField.jsx +9 -2
  35. package/src/components/FormLayout/FormLayoutCustomField.jsx +4 -1
  36. package/src/components/FormLayout/FormLayoutCustomFieldContext.js +3 -0
  37. package/src/components/FormLayout/README.md +168 -161
  38. package/src/components/FormLayout/index.js +1 -0
  39. package/src/components/Popover/Popover.jsx +1 -0
  40. package/src/components/Popover/Popover.module.scss +1 -0
  41. package/src/components/Popover/README.md +29 -0
  42. package/src/components/Popover/_helpers/cleanPlacementStyle.js +1 -0
  43. package/src/components/Popover/_theme.scss +1 -0
  44. package/src/components/SelectField/SelectField.jsx +8 -3
  45. package/src/components/TextArea/TextArea.jsx +9 -2
  46. package/src/components/TextField/TextField.jsx +8 -3
  47. package/src/styles/_utilities.scss +5 -1
  48. package/src/styles/tools/_collections.scss +34 -22
  49. package/src/styles/tools/_utilities.scss +4 -2
  50. package/src/theme.scss +1 -0
  51. package/.env.playwright +0 -9
  52. package/.env.playwright.dist +0 -9
@@ -63,8 +63,29 @@
63
63
  $properties,
64
64
  ) {
65
65
  @each $property in $properties {
66
- $modifier: if($modifier-value, "--" + $modifier-value, "");
67
- $state: if($interaction-state, "--" + $interaction-state, "");
66
+ $fallback-custom-property: "";
67
+ $modifier: "";
68
+ $state: "";
69
+
70
+ @if $modifier-value {
71
+ $modifier: "--" + $modifier-value;
72
+ }
73
+
74
+ @if $interaction-state {
75
+ $state: "--" + $interaction-state;
76
+ }
77
+
78
+ @if $interaction-state == "disabled" {
79
+ $fallback-custom-property: ", var(--"
80
+ + $prefix
81
+ + $component-name
82
+ + $modifier
83
+ + "--"
84
+ + $variant-value
85
+ + "--default__"
86
+ + $property
87
+ + ")";
88
+ }
68
89
 
69
90
  // 1.
70
91
  --#{$prefix}local-#{$property}:
@@ -80,19 +101,7 @@
80
101
  + "__"
81
102
  + $property
82
103
  }
83
- #{if(
84
- $interaction-state and $interaction-state == "disabled",
85
- ", var(--"
86
- + $prefix
87
- + $component-name
88
- + $modifier
89
- + "--"
90
- + $variant-value
91
- + "--default__"
92
- + $property
93
- + ")",
94
- ""
95
- )}
104
+ #{$fallback-custom-property}
96
105
  ); // 2.
97
106
  }
98
107
  }
@@ -202,13 +211,16 @@
202
211
  $inherit-link-color: false,
203
212
  $properties,
204
213
  ) {
205
- $modifier-class-name:
206
- if(
207
- $modifier-name and $modifier-value,
208
- ".isRoot#{rui-string.capitalize($modifier-name)}#{rui-string.capitalize($modifier-value)}",
209
- ""
210
- );
211
- $variant-class-name: ".isRoot#{rui-string.capitalize($variant-name)}#{rui-string.capitalize($variant-value)}";
214
+ $modifier-class-name: "";
215
+ $variant-class-name: ".isRoot"
216
+ + rui-string.capitalize($variant-name)
217
+ + rui-string.capitalize($variant-value);
218
+
219
+ @if $modifier-name and $modifier-value {
220
+ $modifier-class-name: ".isRoot"
221
+ + rui-string.capitalize($modifier-name)
222
+ + rui-string.capitalize($modifier-value);
223
+ }
212
224
 
213
225
  #{$modifier-class-name}#{$variant-class-name} {
214
226
  @if $generate-interaction-states {
@@ -16,9 +16,11 @@
16
16
  @each $key, $value in $values {
17
17
  $properties: map.get($utility, property);
18
18
  $property-class: map.get($utility, class);
19
+ $property-class-modifier: "";
19
20
 
20
- // Don't prefix if value key is null (e.g. with shadow class)
21
- $property-class-modifier: if($key, "-" + $key, "");
21
+ @if $key {
22
+ $property-class-modifier: "-" + $key;
23
+ }
22
24
 
23
25
  .#{$property-class + $infix + $property-class-modifier} {
24
26
  @each $property in $properties {
package/src/theme.scss CHANGED
@@ -1090,6 +1090,7 @@
1090
1090
  --rui-Popover__color: var(--rui-color-text-primary);
1091
1091
  --rui-Popover__background-color: var(--rui-color-background-layer-2);
1092
1092
  --rui-Popover__box-shadow: var(--rui-shadow-layer-2);
1093
+ --rui-Popover__z-index: auto;
1093
1094
 
1094
1095
  //
1095
1096
  // Tabs
package/.env.playwright DELETED
@@ -1,9 +0,0 @@
1
- ###########################
2
- # Playwright configuration #
3
- ###########################
4
-
5
- # Number of workers to use to run Playwright tests
6
- PW_WORKERS=1
7
-
8
- # Port used by Playwright Component Testing to serve the test files
9
- PW_CT_PORT=3100
@@ -1,9 +0,0 @@
1
- ###########################
2
- # Playwright configuration #
3
- ###########################
4
-
5
- # Number of workers to use to run Playwright tests
6
- PW_WORKERS=1
7
-
8
- # Port used by Playwright Component Testing to serve the test files
9
- PW_CT_PORT=3100