@stonecrop/aform 0.58.3 → 0.59.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.
@@ -971,20 +971,33 @@ legend[data-v-8215ff87] {
971
971
  background-color: var(--sc-gray-5);
972
972
  }
973
973
 
974
- .aform_form-link-wrapper[data-v-ade07034] {
974
+ .aform_form-link-wrapper[data-v-df32226b] {
975
975
  position: relative;
976
976
  }
977
- .input-group[data-v-ade07034] {
977
+ .input-group[data-v-df32226b] {
978
978
  display: flex;
979
979
  align-items: stretch;
980
980
  }
981
- .aform_input-field[data-v-ade07034] {
981
+ .aform_form-link-field[data-v-df32226b] {
982
+ position: relative;
983
+ display: flex;
984
+ flex: 1;
985
+ min-width: 0;
986
+ }
987
+ .aform_input-field[data-v-df32226b] {
982
988
  flex: 1;
983
989
  min-width: 0;
984
990
  }
985
991
 
992
+ /* The shared rule offsets the error from the field's top, past the label's padding; here it is placed
993
+ against the input itself, whose top border is this box's top. Its right edge is the input's, so the
994
+ message ends before the navigate button. */
995
+ .aform_form-link-field > p.aform_error[data-v-df32226b] {
996
+ top: 0;
997
+ }
998
+
986
999
  /* No top padding: the shared rule reserves it for a floating label, which embedded mode never renders. */
987
- .aform_form-element--embedded[data-v-ade07034] {
1000
+ .aform_form-element--embedded[data-v-df32226b] {
988
1001
  min-width: 0;
989
1002
  flex: 1 1 auto;
990
1003
  width: 100%;
@@ -993,7 +1006,7 @@ legend[data-v-8215ff87] {
993
1006
 
994
1007
  /* Embedded mode: the host component's own container supplies the border, so this input goes
995
1008
  borderless. Its vertical padding stays the standalone field's, so its text lines up with the host's. */
996
- .aform_input-field--embedded[data-v-ade07034] {
1009
+ .aform_input-field--embedded[data-v-df32226b] {
997
1010
  box-sizing: border-box;
998
1011
  width: 100%;
999
1012
  min-width: 0;
@@ -1005,14 +1018,14 @@ legend[data-v-8215ff87] {
1005
1018
  /* Only in embedded mode is the trigger deliberately narrower than its options (e.g. a currency
1006
1019
  symbol box): let the dropdown grow past it rather than truncate. Standalone pickers keep the
1007
1020
  dropdown flush with the input, so a long display text can't overhang a narrow form column. */
1008
- .aform_form-element--embedded .autocomplete-results[data-v-ade07034] {
1021
+ .aform_form-element--embedded .autocomplete-results[data-v-df32226b] {
1009
1022
  min-width: 100%;
1010
1023
  }
1011
1024
 
1012
1025
  /* Give the button the same outline as the input, then slide it 2px left so the outlines
1013
1026
  overlap exactly at the join: input right outline sits at (input_right - 1px),
1014
1027
  button left outline also sits at (button_left + 1px) = (input_right - 2px + 1px) = same pixel. */
1015
- .aform_form-btn[data-v-ade07034] {
1028
+ .aform_form-btn[data-v-df32226b] {
1016
1029
  appearance: none;
1017
1030
  border: none;
1018
1031
  outline: 1px solid var(--sc-input-border-color);
@@ -1030,7 +1043,7 @@ legend[data-v-8215ff87] {
1030
1043
 
1031
1044
  /* Drawn rather than a text glyph, but set on the text's baseline at capital height: text sits
1032
1045
  above its box's centre, so an icon centred in the box reads low beside the input's text. */
1033
- .aform_form-btn-icon[data-v-ade07034] {
1046
+ .aform_form-btn-icon[data-v-df32226b] {
1034
1047
  height: 0.716em;
1035
1048
  width: auto;
1036
1049
  vertical-align: baseline;
@@ -1043,7 +1056,7 @@ legend[data-v-8215ff87] {
1043
1056
  }
1044
1057
 
1045
1058
  /* The glyph stays as the button's spoken name, hidden from sight. */
1046
- .aform_form-btn-name[data-v-ade07034] {
1059
+ .aform_form-btn-name[data-v-df32226b] {
1047
1060
  position: absolute;
1048
1061
  width: 1px;
1049
1062
  height: 1px;
@@ -1052,8 +1065,8 @@ legend[data-v-8215ff87] {
1052
1065
  clip: rect(0, 0, 0, 0);
1053
1066
  white-space: nowrap;
1054
1067
  }
1055
- .aform_form-btn[data-v-ade07034]:focus,
1056
- .input-group:focus-within .aform_form-btn[data-v-ade07034] {
1068
+ .aform_form-btn[data-v-df32226b]:focus,
1069
+ .input-group:focus-within .aform_form-btn[data-v-df32226b] {
1057
1070
  outline-color: var(--sc-input-active-border-color);
1058
1071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AK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/aform",
3
- "version": "0.58.3",
3
+ "version": "0.59.0",
4
4
  "description": "Schema-driven form components for Stonecrop",
5
5
  "keywords": [
6
6
  "components",
@@ -47,10 +47,10 @@
47
47
  "@vueuse/components": "^14.2.1",
48
48
  "@vueuse/core": "^14.2.1",
49
49
  "temporal-polyfill": "^1.0.5",
50
- "@stonecrop/atable": "0.58.3",
51
- "@stonecrop/schema": "0.58.3",
52
- "@stonecrop/themes": "0.58.3",
53
- "@stonecrop/utilities": "0.58.3"
50
+ "@stonecrop/schema": "0.59.0",
51
+ "@stonecrop/atable": "0.59.0",
52
+ "@stonecrop/themes": "0.59.0",
53
+ "@stonecrop/utilities": "0.59.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@microsoft/api-extractor": "^7.58.7",