@w6w/ui 0.2.57 → 0.2.59

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 (55) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/AddConnectionModal.d.ts +6 -0
  3. package/dist/StepBuilderModal.d.ts +17 -4
  4. package/dist/TriggerFillForm.d.ts +4 -3
  5. package/dist/WorkflowConnections.d.ts +7 -1
  6. package/dist/WorkflowFlowEditor.d.ts +6 -0
  7. package/dist/canvas-context-menu.d.ts +8 -3
  8. package/dist/components/AuthFieldsForm.d.ts +6 -0
  9. package/dist/components/Combobox.d.ts +9 -1
  10. package/dist/components/CredentialPicker.d.ts +1 -1
  11. package/dist/components/ExpressionOptions.d.ts +2 -0
  12. package/dist/condition-editor.d.ts +3 -1
  13. package/dist/connection-app-meta-CNEwLsL3.cjs +24 -0
  14. package/dist/connection-app-meta-CNEwLsL3.cjs.map +1 -0
  15. package/dist/connection-app-meta-Cl6mUAMF.js +13537 -0
  16. package/dist/connection-app-meta-Cl6mUAMF.js.map +1 -0
  17. package/dist/flow-history.d.ts +8 -0
  18. package/dist/flow.cjs +5 -5
  19. package/dist/flow.cjs.map +1 -1
  20. package/dist/flow.mjs +2425 -2618
  21. package/dist/flow.mjs.map +1 -1
  22. package/dist/index.cjs +2 -2
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.mjs +99 -102
  25. package/dist/index.mjs.map +1 -1
  26. package/dist/provider.d.ts +6 -0
  27. package/dist/state-shape.d.ts +13 -0
  28. package/dist/step-preview-state.d.ts +10 -1
  29. package/dist/step-settings-controls.d.ts +20 -0
  30. package/dist/types.d.ts +13 -0
  31. package/package.json +4 -2
  32. package/src/code.css +2 -1
  33. package/src/styles/_box-reset.scss +22 -0
  34. package/src/styles/_callable-list.scss +5 -4
  35. package/src/styles/_canvas.scss +1 -4
  36. package/src/styles/_chips.scss +0 -1
  37. package/src/styles/_connections.scss +101 -0
  38. package/src/styles/_copyable.scss +3 -1
  39. package/src/styles/_data-stores.scss +15 -5
  40. package/src/styles/_data-table.scss +6 -0
  41. package/src/styles/_data-vars.scss +10 -0
  42. package/src/styles/_empty-state.scss +16 -0
  43. package/src/styles/_execution-log.scss +3 -4
  44. package/src/styles/_fields.scss +57 -25
  45. package/src/styles/_flow.scss +11 -0
  46. package/src/styles/_fx.scss +14 -47
  47. package/src/styles/_host-guard.scss +100 -0
  48. package/src/styles/_step-builder.scss +26 -2
  49. package/src/styles/_step-config.scss +4 -5
  50. package/src/styles.css +335 -99
  51. package/src/styles.scss +2 -0
  52. package/dist/connection-app-meta-BeYDm-cs.cjs +0 -24
  53. package/dist/connection-app-meta-BeYDm-cs.cjs.map +0 -1
  54. package/dist/connection-app-meta-aURFNTx_.js +0 -12731
  55. package/dist/connection-app-meta-aURFNTx_.js.map +0 -1
package/src/styles.css CHANGED
@@ -939,6 +939,44 @@ svg.react-flow__connectionline {
939
939
  * exist purely so a consumer stops inventing its own breakpoint values (seven
940
940
  * uncoordinated ones exist across the four repos today).
941
941
  */
942
+ /* w6w-host-guard:begin */
943
+ /* guard: label */
944
+ label:is([class^=w6w-], [class*=" w6w-"]):is([class^=w6w-], [class*=" w6w-"]),
945
+ :is([class^=w6w-], [class*=" w6w-"]) label:not(:is([class^=w6w-], [class*=" w6w-"])) {
946
+ margin-bottom: revert;
947
+ }
948
+
949
+ /* guard: text-input */
950
+ input:where(:not([type]), [type=text], [type=password], [type=number], [type=email], [type=search], [type=url], [type=tel], [type=date], [type=datetime-local], [type=time]):is([class^=w6w-], [class*=" w6w-"]):is([class^=w6w-], [class*=" w6w-"]),
951
+ :is([class^=w6w-], [class*=" w6w-"]) input:where(:not([type]), [type=text], [type=password], [type=number], [type=email], [type=search], [type=url], [type=tel], [type=date], [type=datetime-local], [type=time]):not(:is([class^=w6w-], [class*=" w6w-"])) {
952
+ width: revert;
953
+ margin-top: revert;
954
+ }
955
+
956
+ /* guard: textarea */
957
+ textarea:is([class^=w6w-], [class*=" w6w-"]):is([class^=w6w-], [class*=" w6w-"]),
958
+ :is([class^=w6w-], [class*=" w6w-"]) textarea:not(:is([class^=w6w-], [class*=" w6w-"])) {
959
+ width: revert;
960
+ margin-top: revert;
961
+ min-height: revert;
962
+ }
963
+
964
+ /* guard: checkbox */
965
+ input:where([type=checkbox]):is([class^=w6w-], [class*=" w6w-"]):is([class^=w6w-], [class*=" w6w-"]),
966
+ :is([class^=w6w-], [class*=" w6w-"]) input:where([type=checkbox]):not(:is([class^=w6w-], [class*=" w6w-"])) {
967
+ margin-right: revert;
968
+ }
969
+
970
+ /* w6w-host-guard:end */
971
+ /* w6w-box-reset:begin */
972
+ [class^=w6w-],
973
+ [class*=" w6w-"],
974
+ [class^=w6w-] *,
975
+ [class*=" w6w-"] * {
976
+ box-sizing: border-box;
977
+ }
978
+
979
+ /* w6w-box-reset:end */
942
980
  /* Layout helpers */
943
981
  /* A vertical column whose direct children are cards/panels. ONE gap, from the
944
982
  shared spacing scale — never a per-screen number and never a second gap: do
@@ -1054,35 +1092,27 @@ select optgroup {
1054
1092
  }
1055
1093
 
1056
1094
  /* An object-item array row's boolean cell: `<label><checkbox><span>`. It is a
1057
- `<label>`, so `margin: 0` is load-bearing for the same reason it is on
1058
- `.w6w-fx-inline-label` further down — a host page layers an unscoped
1059
- `label { margin-bottom: 10px }` after this file (studio's does, at
1060
- `studio/src/styles.css:499`) and owns any property this block leaves
1061
- undeclared. `.w6w-array-cells` is a flex row at the default `align-items:
1062
- stretch`, so a bottom margin does not translate this cell, it SHORTENS its
1063
- stretched box — and because this block centres its own contents, the checkbox
1064
- and its caption then ride upward off the row's centre line. Measured before
1065
- this declaration existed, in [ui+studio]: checkbox cy 792 against the sibling
1066
- text cell's 799 — 7.0px out, while a ui-only render showed 0.0px. */
1095
+ `<label>`, so a host page's unscoped `label { margin-bottom }` would shorten
1096
+ its stretched box inside the `align-items: stretch` `.w6w-array-cells` row and
1097
+ ride the checkbox off the row's centre line; `_host-guard.scss` reverts that
1098
+ margin for every `w6w-` label, so this block declares none. */
1067
1099
  .w6w-array-check {
1068
1100
  display: inline-flex;
1069
1101
  align-items: center;
1070
1102
  gap: var(--w6w-sp-1-5);
1071
1103
  flex: 0 0 auto;
1072
- margin: 0;
1073
1104
  font-size: 13px;
1074
1105
  color: var(--w6w-text);
1075
1106
  white-space: nowrap;
1076
1107
  cursor: pointer;
1077
1108
  }
1078
1109
 
1079
- /* `> input[type="checkbox"]`, not `input`: a bare `.w6w-array-check input` is
1080
- (0,1,1), which TIES with a host `input[type="checkbox"] { margin-right: 6px }`
1081
- (studio/src/styles.css:785) and then loses on source order — measured
1082
- `margin-right: 6px` reaching this checkbox with the `margin: 0` below already
1083
- present. The compound form is (0,2,1) and wins outright. Same shape as
1084
- `.w6w-fx-inline > input[type="checkbox"]`, which is why that one was never
1085
- affected. */
1110
+ /* The checkbox's own `margin: 0` (a library choice: the UA's 3px/4px would
1111
+ misalign it). `> input[type="checkbox"]` is (0,2,1): it TIES the guard's checkbox arm
1112
+ (0,2,1, `margin-right: revert`) and wins only by loading later — do not
1113
+ simplify it to `.w6w-array-check input` (0,1,1), which the guard would
1114
+ silently out-rank. A host `input[type="checkbox"] { margin-right }` is only
1115
+ (0,1,1). */
1086
1116
  .w6w-array-check > input[type=checkbox] {
1087
1117
  margin: 0;
1088
1118
  }
@@ -1090,12 +1120,6 @@ select optgroup {
1090
1120
  .w6w-field .w6w-array-input {
1091
1121
  flex: 1;
1092
1122
  min-width: 0;
1093
- /* Load-bearing, same class as `.w6w-array-check` above: a host
1094
- `input[type="text"] { margin-top: 4px }` otherwise lands here and drops this
1095
- cell 2px below its own row's checkbox cell. Measured in [ui+studio]:
1096
- checkbox cy 797 against this input's 799. This selector is (0,2,0) and beats
1097
- the host's (0,1,1). */
1098
- margin: 0;
1099
1123
  background: var(--w6w-panel-2);
1100
1124
  border: 1px solid var(--w6w-border);
1101
1125
  border-radius: 8px;
@@ -1105,6 +1129,15 @@ select optgroup {
1105
1129
  font-family: inherit;
1106
1130
  }
1107
1131
 
1132
+ /* A JSON cell: the one-line preview takes the cell, the open-editor button sits after it. */
1133
+ .w6w-array-json {
1134
+ display: flex;
1135
+ align-items: center;
1136
+ gap: var(--w6w-sp-1);
1137
+ flex: 1;
1138
+ min-width: 0;
1139
+ }
1140
+
1108
1141
  .w6w-field .w6w-array-input:focus {
1109
1142
  outline: none;
1110
1143
  border-color: var(--w6w-accent);
@@ -1135,6 +1168,50 @@ select optgroup {
1135
1168
  margin-top: var(--w6w-sp-0-5);
1136
1169
  }
1137
1170
 
1171
+ /* Column headers over an object-item array. Each header cell takes the same
1172
+ flex as the input below it (`.w6w-field .w6w-array-input` → `flex: 1`), and
1173
+ checkbox / × columns are invisible copies of the real cells, so headers line
1174
+ up with their columns without a fixed grid. */
1175
+ .w6w-array-head {
1176
+ display: flex;
1177
+ align-items: center;
1178
+ gap: var(--w6w-sp-1-5);
1179
+ width: 100%;
1180
+ margin-bottom: calc(-1 * var(--w6w-sp-1));
1181
+ }
1182
+
1183
+ .w6w-array-head-cells {
1184
+ display: flex;
1185
+ flex-wrap: wrap;
1186
+ gap: var(--w6w-sp-1-5);
1187
+ flex: 1;
1188
+ min-width: 0;
1189
+ }
1190
+
1191
+ /* Stands in for the checkbox (13px in every engine's default form controls). */
1192
+ .w6w-array-head-box {
1193
+ display: inline-block;
1194
+ width: 13px;
1195
+ }
1196
+
1197
+ .w6w-array-head-cell {
1198
+ flex: 1;
1199
+ min-width: 0;
1200
+ overflow: hidden;
1201
+ text-overflow: ellipsis;
1202
+ white-space: nowrap;
1203
+ font-size: var(--w6w-fs-xs);
1204
+ font-weight: 500;
1205
+ color: var(--w6w-muted);
1206
+ }
1207
+
1208
+ .w6w-array-head-ghost {
1209
+ visibility: hidden;
1210
+ height: 0;
1211
+ border-top-width: 0;
1212
+ border-bottom-width: 0;
1213
+ }
1214
+
1138
1215
  /* Combobox (`components/Combobox.tsx`): its <input> sits inside the component's
1139
1216
  own positioned root, so it is not a direct flex child of `.w6w-field` and would
1140
1217
  keep its intrinsic width. The root and the input fill the field instead. */
@@ -1144,7 +1221,6 @@ select optgroup {
1144
1221
 
1145
1222
  .w6w-combobox > input[type=text] {
1146
1223
  width: 100%;
1147
- box-sizing: border-box;
1148
1224
  }
1149
1225
 
1150
1226
  /* Material-style multi-select: chips live INSIDE a single input-like box,
@@ -1918,46 +1994,20 @@ select optgroup {
1918
1994
  .w6w-fx-wrap input[type=password],
1919
1995
  .w6w-fx-wrap input[type=number],
1920
1996
  .w6w-fx-wrap select,
1921
- .w6w-fx-wrap textarea {
1997
+ .w6w-fx-wrap textarea,
1998
+ .w6w-fx-wrap.w6w-fx-wrap textarea {
1922
1999
  border: none;
1923
2000
  background: transparent;
1924
2001
  border-radius: 0;
1925
2002
  padding: var(--w6w-sp-1) var(--w6w-sp-0-5);
1926
2003
  outline: none;
1927
- /* EVERY property in this block is load-bearing, for the same reason
1928
- `.w6w-fx-inline-label`'s `margin: 0` is (see below): a host page layers its
1929
- own unscoped `input[type="text"], textarea { … }` rule AFTER this file
1930
- (studio's does, at `studio/src/styles.css:513-533`, `:759-771` and `:788`),
1931
- so every property this block leaves undeclared is the host's — including
1932
- inside a box this library draws. The two below were measured leaking, in
1933
- [ui+studio], before they were declared — and they fix DIFFERENT things:
1934
-
1935
- margin — ALIGNMENT. A host `margin-top: 4px` in an `align-items:
1936
- center` row drops the control 2px below the ƒx it shares the
1937
- row with (string, number and the bare vars cell; select and
1938
- multiselect escaped only because the host rule does not list
1939
- them). Rendered: control cy 67 vs ƒx cy 65. On the textarea
1940
- row — `align-items: flex-start` — the same 4px showed up as
1941
- the ƒx sitting 4px off the control's first line. `margin: 0`
1942
- is the whole of that fix.
1943
-
1944
- min-height — SIZE, and nothing else. Do not re-justify this one as
1945
- alignment: the counterfactual was rendered (this `margin: 0`
1946
- kept, `min-height: 0` removed) and the row measures a 0.0px
1947
- top delta with the host's 80px floor fully in effect. What it
1948
- fixes is that a host `textarea { min-height: 80px }`, written
1949
- for that host's own bare textareas, was sizing the INSIDE of
1950
- a box it cannot see — 80px/94px against the 62px/72px the
1951
- same markup renders elsewhere, i.e. one of five control types
1952
- 29% taller than the library drew it. The box is the library's
1953
- to size; how many lines it holds is `rows` on the control.
1954
- If a taller body field is ever wanted, it belongs HERE, not
1955
- in a host element selector.
1956
-
1957
- Declared, not fought for: this stays at the block's existing specificity and
1958
- uses no `!important`. A component that is only aligned while the host
1959
- cooperates is broken. */
1960
- margin: 0;
2004
+ /* The control is inside a box this library draws, so it carries no margin or
2005
+ host floor of its own. A host `input[type="text"], textarea { margin-top;
2006
+ width; min-height: 80px }` (studio's does) is reverted by `_host-guard.scss`
2007
+ for every `w6w-` form element, so this block declares no margin. `min-height:
2008
+ 0` stays: it is the library's own value for a control inside a flex row (the
2009
+ UA's `auto` is a different computed value on inputs/selects), not only a
2010
+ counter to the host's textarea floor. */
1961
2011
  min-height: 0;
1962
2012
  }
1963
2013
 
@@ -1990,19 +2040,10 @@ select optgroup {
1990
2040
  }
1991
2041
 
1992
2042
  /* The label reads as the control's own text, next to it (mirrors
1993
- `.w6w-array-check` above, the existing inline-checkbox idiom).
1994
- `margin: 0` is LOAD-BEARING, not tidiness: a host page may carry an unscoped
1995
- top-level `label { … margin-bottom: 10px }` (studio's own sheet does, at
1996
- `studio/src/styles.css:499`), and since it is layered AFTER this file any
1997
- property this block leaves undeclared is the host's. A bottom margin inside an
1998
- `align-items: center` row lifts the text off the row's centre line — measured
1999
- 5px above the checkbox and the ƒx before this declaration existed. Every other
2000
- element of the row is defended the same way: the checkbox's `margin: 0` above
2001
- out-specifies a host `input[type="checkbox"] { margin-right: … }` (0,2,1 vs
2002
- 0,1,1), and the ƒx's chrome is pinned by `.w6w-fx-inline .w6w-expr-fx` below.
2003
- A component that only lines up when the host sheet cooperates is broken. */
2043
+ `.w6w-array-check` above, the existing inline-checkbox idiom). Its host
2044
+ `label { margin-bottom }` is reverted by `_host-guard.scss`, and the ƒx's chrome
2045
+ is pinned by `.w6w-fx-inline .w6w-expr-fx` below. */
2004
2046
  .w6w-fx-inline-label {
2005
- margin: 0;
2006
2047
  color: var(--w6w-text);
2007
2048
  font-size: 13px;
2008
2049
  cursor: pointer;
@@ -2120,7 +2161,8 @@ select optgroup {
2120
2161
  .w6w-copyable input[type=password],
2121
2162
  .w6w-copyable input[type=number],
2122
2163
  .w6w-copyable select,
2123
- .w6w-copyable textarea {
2164
+ .w6w-copyable textarea,
2165
+ .w6w-copyable.w6w-copyable textarea {
2124
2166
  border: none;
2125
2167
  background: transparent;
2126
2168
  border-radius: 0;
@@ -2352,7 +2394,6 @@ select optgroup {
2352
2394
  align-items: center;
2353
2395
  gap: var(--w6w-sp-1);
2354
2396
  vertical-align: baseline;
2355
- box-sizing: border-box;
2356
2397
  /* Never exceed the field's content box; the label truncates before the chip
2357
2398
  can overrun the adjacent ƒx button. */
2358
2399
  max-width: 100%;
@@ -2593,6 +2634,17 @@ select optgroup {
2593
2634
  min-width: 0;
2594
2635
  }
2595
2636
 
2637
+ /* Column headers: same grid as the rows, so each label sits over its column. */
2638
+ .w6w-datavar-head {
2639
+ display: grid;
2640
+ grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr) auto;
2641
+ gap: var(--w6w-sp-1-5);
2642
+ align-items: end;
2643
+ font-size: var(--w6w-fs-xs);
2644
+ font-weight: 500;
2645
+ color: var(--w6w-muted);
2646
+ }
2647
+
2596
2648
  .w6w-datavar-row input,
2597
2649
  .w6w-datavar-row select {
2598
2650
  background: var(--w6w-panel-2);
@@ -3186,7 +3238,9 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
3186
3238
  padding-right: var(--w6w-sp-1);
3187
3239
  }
3188
3240
 
3189
- .w6w-stepbuilder-search {
3241
+ /* input.x.x is (0,2,1): the host guard's text-input arm is (0,2,1) with
3242
+ `width: revert`, so a bare (0,1,0) class would lose `width: 100%` outside a flex column. */
3243
+ input.w6w-stepbuilder-search.w6w-stepbuilder-search {
3190
3244
  background: var(--w6w-panel-2);
3191
3245
  border: 1px solid var(--w6w-border);
3192
3246
  border-radius: 8px;
@@ -3197,7 +3251,7 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
3197
3251
  width: 100%;
3198
3252
  }
3199
3253
 
3200
- .w6w-stepbuilder-search:focus {
3254
+ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
3201
3255
  outline: none;
3202
3256
  border-color: var(--w6w-accent);
3203
3257
  }
@@ -3673,6 +3727,30 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
3673
3727
  top: var(--w6w-sp-2);
3674
3728
  }
3675
3729
 
3730
+ /* Search-everything results: one scrolling column of titled sections. */
3731
+ .w6w-stepbuilder-results {
3732
+ display: flex;
3733
+ flex-direction: column;
3734
+ gap: var(--w6w-sp-4);
3735
+ min-height: 0;
3736
+ overflow-y: auto;
3737
+ }
3738
+
3739
+ .w6w-stepbuilder-results-section {
3740
+ display: flex;
3741
+ flex-direction: column;
3742
+ gap: var(--w6w-sp-2);
3743
+ }
3744
+
3745
+ .w6w-stepbuilder-results-section > h4 {
3746
+ margin: 0;
3747
+ color: var(--w6w-muted);
3748
+ font-size: var(--w6w-fs-xs);
3749
+ font-weight: var(--w6w-fw-semibold);
3750
+ letter-spacing: 0.04em;
3751
+ text-transform: uppercase;
3752
+ }
3753
+
3676
3754
  .w6w-stepconfig-header {
3677
3755
  display: flex;
3678
3756
  flex-direction: column;
@@ -3778,11 +3856,10 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
3778
3856
  .w6w-flyout {
3779
3857
  position: fixed;
3780
3858
  z-index: 40;
3781
- /* No `box-sizing: border-box` reset elsewhere in this package (checked) —
3782
- the inline `width` set by `Flyout` is meant to match the anchor row
3783
- EXACTLY (2026-08-30: "should extend to the end of the prod button and
3784
- div"), so padding/border must come out of that width, not add to it. */
3785
- box-sizing: border-box;
3859
+ /* Border-box (from `_box-reset.scss`, which covers every `w6w-` element) is
3860
+ load-bearing here: the inline `width` set by `Flyout` is meant to match the
3861
+ anchor row EXACTLY (2026-08-30: "should extend to the end of the prod button
3862
+ and div"), so padding/border must come out of that width, not add to it. */
3786
3863
  background: var(--w6w-panel);
3787
3864
  border: 1px solid var(--w6w-border);
3788
3865
  border-radius: 8px;
@@ -4265,6 +4342,15 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
4265
4342
  color: var(--w6w-muted);
4266
4343
  }
4267
4344
 
4345
+ .w6w-flow .w6w-if-true-label {
4346
+ position: absolute;
4347
+ left: calc(100% + 6px);
4348
+ bottom: calc(50% + 4px);
4349
+ white-space: nowrap;
4350
+ pointer-events: none;
4351
+ color: var(--w6w-muted);
4352
+ }
4353
+
4268
4354
  /* "Write to state" (step settings): the `validateStateConfig` messages for the current config. */
4269
4355
  .w6w-state-write-issues {
4270
4356
  color: var(--w6w-danger);
@@ -5266,11 +5352,10 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
5266
5352
  width: 100%;
5267
5353
  }
5268
5354
 
5269
- /* `width: 100%` plus padding and a border overflows the parent under the
5270
- default content-box sizing; this package has no global box-sizing reset, so
5271
- it opts in per element (as `_chips.scss` and `_step-config.scss` do). */
5355
+ /* `width: 100%` plus padding and a border overflows the parent under content-box
5356
+ sizing; `_box-reset.scss` makes every `w6w-` element border-box, so it needs no
5357
+ declaration of its own. */
5272
5358
  .w6w-execution-log-empty {
5273
- box-sizing: border-box;
5274
5359
  width: 100%;
5275
5360
  padding: var(--w6w-sp-4);
5276
5361
  border: 1px dashed var(--w6w-border);
@@ -6442,11 +6527,11 @@ button.w6w-rel-open:focus-visible strong {
6442
6527
  white-space: nowrap;
6443
6528
  }
6444
6529
 
6530
+ /* No frame here: the body holds a DataTable or an EmptyState, and each draws its own
6531
+ border. A border on this wrapper painted a second frame hugging the first (human
6532
+ report 2026-11-08, Workflows: "double borders around the table"). */
6445
6533
  .w6w-callable-list-body {
6446
- border: 1px solid var(--w6w-border);
6447
- border-radius: 8px;
6448
- background: var(--w6w-panel);
6449
- overflow: hidden;
6534
+ min-width: 0;
6450
6535
  }
6451
6536
 
6452
6537
  .w6w-callable-list-main {
@@ -6468,6 +6553,7 @@ button.w6w-rel-open:focus-visible strong {
6468
6553
  display: inline-flex;
6469
6554
  align-items: center;
6470
6555
  gap: var(--w6w-sp-2);
6556
+ white-space: nowrap;
6471
6557
  }
6472
6558
 
6473
6559
  .w6w-callable-list-badge {
@@ -6517,6 +6603,13 @@ button.w6w-rel-open:focus-visible strong {
6517
6603
  border-right: 0;
6518
6604
  }
6519
6605
 
6606
+ /* Row separators only (`className="w6w-data-table-rows"`): a list whose second column is just a
6607
+ row's controls (Variables, Secrets, Constants) reads as one item per row, not a grid. */
6608
+ .w6w-data-table.w6w-data-table-rows th,
6609
+ .w6w-data-table.w6w-data-table-rows td {
6610
+ border-right: 0;
6611
+ }
6612
+
6520
6613
  .w6w-data-table tbody tr:last-child > td {
6521
6614
  border-bottom: 0;
6522
6615
  }
@@ -6738,6 +6831,123 @@ button.w6w-rel-open:focus-visible strong {
6738
6831
  color: var(--w6w-accent);
6739
6832
  }
6740
6833
 
6834
+ /* AddConnectionModal: the auth's "Where do I get this?" steps — a one-line toggle until opened. */
6835
+ .w6w-auth-setup {
6836
+ margin: var(--w6w-sp-1) 0 var(--w6w-sp-2);
6837
+ font-size: var(--w6w-fs-sm);
6838
+ }
6839
+
6840
+ .w6w-auth-setup-title {
6841
+ display: inline-flex;
6842
+ align-items: center;
6843
+ gap: var(--w6w-sp-1);
6844
+ color: var(--w6w-accent);
6845
+ font-weight: var(--w6w-fw-medium);
6846
+ cursor: pointer;
6847
+ list-style: none;
6848
+ }
6849
+
6850
+ .w6w-auth-setup-title::-webkit-details-marker {
6851
+ display: none;
6852
+ }
6853
+
6854
+ .w6w-auth-setup-title::before {
6855
+ content: "▸";
6856
+ font-size: var(--w6w-fs-xs);
6857
+ }
6858
+
6859
+ .w6w-auth-setup[open] > .w6w-auth-setup-title::before {
6860
+ content: "▾";
6861
+ }
6862
+
6863
+ .w6w-auth-setup ol {
6864
+ margin: var(--w6w-sp-2) 0 0;
6865
+ padding: var(--w6w-sp-3) var(--w6w-sp-4) var(--w6w-sp-3) var(--w6w-sp-8);
6866
+ border-radius: var(--w6w-radius);
6867
+ background: var(--w6w-panel-2);
6868
+ }
6869
+
6870
+ .w6w-auth-setup li + li {
6871
+ margin-top: var(--w6w-sp-1);
6872
+ }
6873
+
6874
+ .w6w-auth-setup a {
6875
+ color: var(--w6w-accent);
6876
+ font-weight: var(--w6w-fw-medium);
6877
+ white-space: nowrap;
6878
+ }
6879
+
6880
+ /* AuthFieldsForm: a pasted key file, read back as its fields (secret parts masked). */
6881
+ .w6w-keyfile {
6882
+ display: flex;
6883
+ flex-direction: column;
6884
+ align-items: flex-start;
6885
+ gap: var(--w6w-sp-2);
6886
+ padding: var(--w6w-sp-3) var(--w6w-sp-4);
6887
+ border: 1px solid var(--w6w-border);
6888
+ border-radius: var(--w6w-radius);
6889
+ background: var(--w6w-panel-2);
6890
+ }
6891
+
6892
+ .w6w-keyfile dl {
6893
+ display: grid;
6894
+ grid-template-columns: max-content minmax(0, 1fr);
6895
+ gap: var(--w6w-sp-1) var(--w6w-sp-4);
6896
+ margin: 0;
6897
+ width: 100%;
6898
+ font-size: var(--w6w-fs-sm);
6899
+ }
6900
+
6901
+ .w6w-keyfile dl > div {
6902
+ display: contents;
6903
+ }
6904
+
6905
+ .w6w-keyfile dt {
6906
+ color: var(--w6w-muted);
6907
+ }
6908
+
6909
+ .w6w-keyfile dd {
6910
+ margin: 0;
6911
+ min-width: 0;
6912
+ overflow-wrap: anywhere;
6913
+ }
6914
+
6915
+ .w6w-keyfile code {
6916
+ font-size: var(--w6w-fs-xs);
6917
+ }
6918
+
6919
+ .w6w-keyfile-secret {
6920
+ color: var(--w6w-muted);
6921
+ }
6922
+
6923
+ .w6w-keyfile-paste {
6924
+ font-family: var(--w6w-font-mono);
6925
+ font-size: var(--w6w-fs-xs);
6926
+ }
6927
+
6928
+ /* AddConnectionModal: the comma-separated scopes line with its Copy button. */
6929
+ .w6w-scopes {
6930
+ display: flex;
6931
+ align-items: center;
6932
+ gap: var(--w6w-sp-2);
6933
+ min-width: 0;
6934
+ }
6935
+
6936
+ .w6w-scopes code {
6937
+ flex: 1;
6938
+ min-width: 0;
6939
+ padding: var(--w6w-sp-1) var(--w6w-sp-2);
6940
+ border-radius: var(--w6w-radius);
6941
+ background: var(--w6w-panel-2);
6942
+ font-size: var(--w6w-fs-xs);
6943
+ overflow-wrap: anywhere;
6944
+ user-select: all;
6945
+ }
6946
+
6947
+ .w6w-keyfile code {
6948
+ user-select: all;
6949
+ }
6950
+
6741
6951
  /* Data stores (F-2): DataStoreList, ColumnsEditor, CsvPanel and the data-grid/entry rules ported from Studio's Data store detail page. */
6742
6952
  .w6w-data-store-list {
6743
6953
  display: flex;
@@ -6777,23 +6987,35 @@ button.w6w-rel-open:focus-visible strong {
6777
6987
  gap: var(--w6w-sp-2);
6778
6988
  }
6779
6989
 
6990
+ /* A grid, not a wrapping flex row, so the header row's labels sit over their
6991
+ columns: name | type | required | default | remove. */
6780
6992
  .w6w-data-columns-row {
6781
- display: flex;
6782
- flex-wrap: wrap;
6993
+ display: grid;
6994
+ grid-template-columns: minmax(0, 1fr) minmax(0, 7rem) auto minmax(0, 1fr) auto;
6783
6995
  align-items: center;
6784
6996
  gap: var(--w6w-sp-2);
6785
6997
  }
6786
6998
 
6999
+ .w6w-data-columns-row > * {
7000
+ min-width: 0;
7001
+ }
7002
+
7003
+ .w6w-data-columns-colhead {
7004
+ font-size: var(--w6w-fs-xs);
7005
+ font-weight: 500;
7006
+ color: var(--w6w-muted);
7007
+ }
7008
+
7009
+ .w6w-data-columns-error {
7010
+ grid-column: 1/-1;
7011
+ }
7012
+
6787
7013
  .w6w-data-columns-required {
6788
7014
  display: flex;
6789
7015
  align-items: center;
6790
7016
  gap: var(--w6w-sp-1);
6791
7017
  }
6792
7018
 
6793
- .w6w-data-columns-error {
6794
- flex-basis: 100%;
6795
- }
6796
-
6797
7019
  .w6w-data-entries-toolbar {
6798
7020
  display: flex;
6799
7021
  align-items: center;
@@ -6926,6 +7148,23 @@ button.w6w-rel-open:focus-visible strong {
6926
7148
  color: var(--w6w-muted);
6927
7149
  }
6928
7150
 
7151
+ /* StepBuilderModal: "Connect <App> to choose an action" — a quiet inline prompt, not a box. */
7152
+ .w6w-empty-state.w6w-sb-connect-gate {
7153
+ min-height: 0;
7154
+ background: none;
7155
+ border: none;
7156
+ padding: var(--w6w-sp-3) 0;
7157
+ }
7158
+
7159
+ .w6w-sb-connect-gate .w6w-empty-state-inner {
7160
+ position: static;
7161
+ transform: none;
7162
+ flex-direction: row;
7163
+ justify-content: flex-start;
7164
+ gap: var(--w6w-sp-3);
7165
+ text-align: left;
7166
+ }
7167
+
6929
7168
  .w6w-canvas-layer {
6930
7169
  position: absolute;
6931
7170
  top: 0;
@@ -6939,7 +7178,6 @@ button.w6w-rel-open:focus-visible strong {
6939
7178
  .w6w-canvas-section,
6940
7179
  .w6w-canvas-note {
6941
7180
  position: absolute;
6942
- box-sizing: border-box;
6943
7181
  border: 1px solid var(--w6w-canvas-color, var(--w6w-border));
6944
7182
  border-radius: var(--w6w-radius, 6px);
6945
7183
  background: color-mix(in srgb, var(--w6w-canvas-color, var(--w6w-panel)) 14%, transparent);
@@ -6987,7 +7225,6 @@ button.w6w-rel-open:focus-visible strong {
6987
7225
  }
6988
7226
 
6989
7227
  .w6w-canvas-note-body {
6990
- box-sizing: border-box;
6991
7228
  height: 100%;
6992
7229
  overflow: auto;
6993
7230
  padding: var(--w6w-sp-3) var(--w6w-sp-3);
@@ -7183,7 +7420,7 @@ button.w6w-rel-open:focus-visible strong {
7183
7420
  overflow: hidden;
7184
7421
  background: conic-gradient(#f87171, #facc15, #4ade80, #60a5fa, #a78bfa, #f87171);
7185
7422
  }
7186
- .w6w-note-swatch-custom input {
7423
+ .w6w-note-swatch-custom input[type=color] {
7187
7424
  position: absolute;
7188
7425
  inset: 0;
7189
7426
  width: 100%;
@@ -7292,7 +7529,6 @@ button.w6w-rel-open:focus-visible strong {
7292
7529
 
7293
7530
  .w6w-section-draw-rect {
7294
7531
  position: absolute;
7295
- box-sizing: border-box;
7296
7532
  border: 2px dashed var(--w6w-accent);
7297
7533
  border-radius: var(--w6w-radius, 6px);
7298
7534
  background: color-mix(in srgb, var(--w6w-accent) 10%, transparent);
package/src/styles.scss CHANGED
@@ -27,6 +27,8 @@
27
27
 
28
28
  @use "styles/tokens";
29
29
  @use "styles/scale";
30
+ @use "styles/host-guard";
31
+ @use "styles/box-reset";
30
32
  @use "styles/layout";
31
33
  @use "styles/fields";
32
34
  @use "styles/multiselect";