@w6w/ui 0.2.57 → 0.2.58

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 (44) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/StepBuilderModal.d.ts +9 -2
  3. package/dist/TriggerFillForm.d.ts +4 -3
  4. package/dist/WorkflowFlowEditor.d.ts +6 -0
  5. package/dist/components/ExpressionOptions.d.ts +2 -0
  6. package/dist/condition-editor.d.ts +3 -1
  7. package/dist/connection-app-meta-CKTmUX08.cjs +24 -0
  8. package/dist/connection-app-meta-CKTmUX08.cjs.map +1 -0
  9. package/dist/{connection-app-meta-aURFNTx_.js → connection-app-meta-D5hNbJB5.js} +4462 -4234
  10. package/dist/connection-app-meta-D5hNbJB5.js.map +1 -0
  11. package/dist/flow-history.d.ts +8 -0
  12. package/dist/flow.cjs +5 -5
  13. package/dist/flow.cjs.map +1 -1
  14. package/dist/flow.mjs +2110 -2064
  15. package/dist/flow.mjs.map +1 -1
  16. package/dist/index.cjs +2 -2
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.mjs +9 -2
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/provider.d.ts +6 -0
  21. package/dist/state-shape.d.ts +13 -0
  22. package/dist/step-preview-state.d.ts +10 -1
  23. package/dist/types.d.ts +8 -0
  24. package/package.json +3 -1
  25. package/src/code.css +2 -1
  26. package/src/styles/_box-reset.scss +22 -0
  27. package/src/styles/_canvas.scss +1 -4
  28. package/src/styles/_chips.scss +0 -1
  29. package/src/styles/_copyable.scss +3 -1
  30. package/src/styles/_data-stores.scss +15 -5
  31. package/src/styles/_data-table.scss +6 -0
  32. package/src/styles/_data-vars.scss +10 -0
  33. package/src/styles/_execution-log.scss +3 -4
  34. package/src/styles/_fields.scss +57 -25
  35. package/src/styles/_flow.scss +11 -0
  36. package/src/styles/_fx.scss +14 -47
  37. package/src/styles/_host-guard.scss +100 -0
  38. package/src/styles/_step-builder.scss +4 -2
  39. package/src/styles/_step-config.scss +4 -5
  40. package/src/styles.css +172 -95
  41. package/src/styles.scss +2 -0
  42. package/dist/connection-app-meta-BeYDm-cs.cjs +0 -24
  43. package/dist/connection-app-meta-BeYDm-cs.cjs.map +0 -1
  44. 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
  }
@@ -3778,11 +3832,10 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
3778
3832
  .w6w-flyout {
3779
3833
  position: fixed;
3780
3834
  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;
3835
+ /* Border-box (from `_box-reset.scss`, which covers every `w6w-` element) is
3836
+ load-bearing here: the inline `width` set by `Flyout` is meant to match the
3837
+ anchor row EXACTLY (2026-08-30: "should extend to the end of the prod button
3838
+ and div"), so padding/border must come out of that width, not add to it. */
3786
3839
  background: var(--w6w-panel);
3787
3840
  border: 1px solid var(--w6w-border);
3788
3841
  border-radius: 8px;
@@ -4265,6 +4318,15 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
4265
4318
  color: var(--w6w-muted);
4266
4319
  }
4267
4320
 
4321
+ .w6w-flow .w6w-if-true-label {
4322
+ position: absolute;
4323
+ left: calc(100% + 6px);
4324
+ bottom: calc(50% + 4px);
4325
+ white-space: nowrap;
4326
+ pointer-events: none;
4327
+ color: var(--w6w-muted);
4328
+ }
4329
+
4268
4330
  /* "Write to state" (step settings): the `validateStateConfig` messages for the current config. */
4269
4331
  .w6w-state-write-issues {
4270
4332
  color: var(--w6w-danger);
@@ -5266,11 +5328,10 @@ dialog.w6w-modal.w6w-modal-fullscreen .w6w-modal-header {
5266
5328
  width: 100%;
5267
5329
  }
5268
5330
 
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). */
5331
+ /* `width: 100%` plus padding and a border overflows the parent under content-box
5332
+ sizing; `_box-reset.scss` makes every `w6w-` element border-box, so it needs no
5333
+ declaration of its own. */
5272
5334
  .w6w-execution-log-empty {
5273
- box-sizing: border-box;
5274
5335
  width: 100%;
5275
5336
  padding: var(--w6w-sp-4);
5276
5337
  border: 1px dashed var(--w6w-border);
@@ -6517,6 +6578,13 @@ button.w6w-rel-open:focus-visible strong {
6517
6578
  border-right: 0;
6518
6579
  }
6519
6580
 
6581
+ /* Row separators only (`className="w6w-data-table-rows"`): a list whose second column is just a
6582
+ row's controls (Variables, Secrets, Constants) reads as one item per row, not a grid. */
6583
+ .w6w-data-table.w6w-data-table-rows th,
6584
+ .w6w-data-table.w6w-data-table-rows td {
6585
+ border-right: 0;
6586
+ }
6587
+
6520
6588
  .w6w-data-table tbody tr:last-child > td {
6521
6589
  border-bottom: 0;
6522
6590
  }
@@ -6777,23 +6845,35 @@ button.w6w-rel-open:focus-visible strong {
6777
6845
  gap: var(--w6w-sp-2);
6778
6846
  }
6779
6847
 
6848
+ /* A grid, not a wrapping flex row, so the header row's labels sit over their
6849
+ columns: name | type | required | default | remove. */
6780
6850
  .w6w-data-columns-row {
6781
- display: flex;
6782
- flex-wrap: wrap;
6851
+ display: grid;
6852
+ grid-template-columns: minmax(0, 1fr) minmax(0, 7rem) auto minmax(0, 1fr) auto;
6783
6853
  align-items: center;
6784
6854
  gap: var(--w6w-sp-2);
6785
6855
  }
6786
6856
 
6857
+ .w6w-data-columns-row > * {
6858
+ min-width: 0;
6859
+ }
6860
+
6861
+ .w6w-data-columns-colhead {
6862
+ font-size: var(--w6w-fs-xs);
6863
+ font-weight: 500;
6864
+ color: var(--w6w-muted);
6865
+ }
6866
+
6867
+ .w6w-data-columns-error {
6868
+ grid-column: 1/-1;
6869
+ }
6870
+
6787
6871
  .w6w-data-columns-required {
6788
6872
  display: flex;
6789
6873
  align-items: center;
6790
6874
  gap: var(--w6w-sp-1);
6791
6875
  }
6792
6876
 
6793
- .w6w-data-columns-error {
6794
- flex-basis: 100%;
6795
- }
6796
-
6797
6877
  .w6w-data-entries-toolbar {
6798
6878
  display: flex;
6799
6879
  align-items: center;
@@ -6939,7 +7019,6 @@ button.w6w-rel-open:focus-visible strong {
6939
7019
  .w6w-canvas-section,
6940
7020
  .w6w-canvas-note {
6941
7021
  position: absolute;
6942
- box-sizing: border-box;
6943
7022
  border: 1px solid var(--w6w-canvas-color, var(--w6w-border));
6944
7023
  border-radius: var(--w6w-radius, 6px);
6945
7024
  background: color-mix(in srgb, var(--w6w-canvas-color, var(--w6w-panel)) 14%, transparent);
@@ -6987,7 +7066,6 @@ button.w6w-rel-open:focus-visible strong {
6987
7066
  }
6988
7067
 
6989
7068
  .w6w-canvas-note-body {
6990
- box-sizing: border-box;
6991
7069
  height: 100%;
6992
7070
  overflow: auto;
6993
7071
  padding: var(--w6w-sp-3) var(--w6w-sp-3);
@@ -7183,7 +7261,7 @@ button.w6w-rel-open:focus-visible strong {
7183
7261
  overflow: hidden;
7184
7262
  background: conic-gradient(#f87171, #facc15, #4ade80, #60a5fa, #a78bfa, #f87171);
7185
7263
  }
7186
- .w6w-note-swatch-custom input {
7264
+ .w6w-note-swatch-custom input[type=color] {
7187
7265
  position: absolute;
7188
7266
  inset: 0;
7189
7267
  width: 100%;
@@ -7292,7 +7370,6 @@ button.w6w-rel-open:focus-visible strong {
7292
7370
 
7293
7371
  .w6w-section-draw-rect {
7294
7372
  position: absolute;
7295
- box-sizing: border-box;
7296
7373
  border: 2px dashed var(--w6w-accent);
7297
7374
  border-radius: var(--w6w-radius, 6px);
7298
7375
  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";