@conduction/nextcloud-vue 2.21.0-beta.34 → 2.21.0-beta.35

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.
@@ -688,6 +688,27 @@
688
688
 
689
689
  .statValue { font-size: 1.1em; font-weight: 600; }
690
690
 
691
+ /* Notes composer width, stated globally rather than only in the component's
692
+ scoped block.
693
+ *
694
+ * Nextcloud's server stylesheet sets `width: 130px` on every `textarea`. The
695
+ * component's own `width: 100%` normally beats it on specificity, but it is a
696
+ * SCOPED rule, so it only applies where the scope attribute is present. In
697
+ * OpenRegister's self-contained `integration-global` bundle the component
698
+ * resolves without its scope id, and the composer then rendered 130px wide
699
+ * inside a ~1000px panel: a one-line box for writing a case note.
700
+ *
701
+ * A plain class here is (0,1,0) against Nextcloud's (0,0,1) and carries no
702
+ * scope id, so it holds wherever the markup renders. This is deliberately a
703
+ * floor, not a replacement: the scoped rule still owns the rest of the
704
+ * composer's appearance. The underlying resolution gap is tracked in
705
+ * ConductionNL/openregister#3387. */
706
+
707
+ .cn-notes-card__textarea {
708
+ width: 100%;
709
+ box-sizing: border-box;
710
+ }
711
+
691
712
  /* ========================================
692
713
  @conduction/nextcloud-vue — Pagination
693
714
  ======================================== */
@@ -688,6 +688,27 @@
688
688
 
689
689
  .statValue { font-size: 1.1em; font-weight: 600; }
690
690
 
691
+ /* Notes composer width, stated globally rather than only in the component's
692
+ scoped block.
693
+ *
694
+ * Nextcloud's server stylesheet sets `width: 130px` on every `textarea`. The
695
+ * component's own `width: 100%` normally beats it on specificity, but it is a
696
+ * SCOPED rule, so it only applies where the scope attribute is present. In
697
+ * OpenRegister's self-contained `integration-global` bundle the component
698
+ * resolves without its scope id, and the composer then rendered 130px wide
699
+ * inside a ~1000px panel: a one-line box for writing a case note.
700
+ *
701
+ * A plain class here is (0,1,0) against Nextcloud's (0,0,1) and carries no
702
+ * scope id, so it holds wherever the markup renders. This is deliberately a
703
+ * floor, not a replacement: the scoped rule still owns the rest of the
704
+ * composer's appearance. The underlying resolution gap is tracked in
705
+ * ConductionNL/openregister#3387. */
706
+
707
+ .cn-notes-card__textarea {
708
+ width: 100%;
709
+ box-sizing: border-box;
710
+ }
711
+
691
712
  /* ========================================
692
713
  @conduction/nextcloud-vue — Pagination
693
714
  ======================================== */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/nextcloud-vue",
3
- "version": "2.21.0-beta.34",
3
+ "version": "2.21.0-beta.35",
4
4
  "description": "Shared Vue component library for Conduction Nextcloud apps — complements @nextcloud/vue with higher-level components, OpenRegister integration, and NL Design System support",
5
5
  "license": "EUPL-1.2",
6
6
  "author": "Conduction B.V. <info@conduction.nl>",
package/src/css/card.css CHANGED
@@ -127,3 +127,23 @@
127
127
  .statItem { display: flex; flex-direction: column; gap: var(--default-grid-baseline); }
128
128
  .statLabel { color: var(--color-text-maxcontrast); font-size: 0.9em; }
129
129
  .statValue { font-size: 1.1em; font-weight: 600; }
130
+
131
+ /* Notes composer width, stated globally rather than only in the component's
132
+ scoped block.
133
+ *
134
+ * Nextcloud's server stylesheet sets `width: 130px` on every `textarea`. The
135
+ * component's own `width: 100%` normally beats it on specificity, but it is a
136
+ * SCOPED rule, so it only applies where the scope attribute is present. In
137
+ * OpenRegister's self-contained `integration-global` bundle the component
138
+ * resolves without its scope id, and the composer then rendered 130px wide
139
+ * inside a ~1000px panel: a one-line box for writing a case note.
140
+ *
141
+ * A plain class here is (0,1,0) against Nextcloud's (0,0,1) and carries no
142
+ * scope id, so it holds wherever the markup renders. This is deliberately a
143
+ * floor, not a replacement: the scoped rule still owns the rest of the
144
+ * composer's appearance. The underlying resolution gap is tracked in
145
+ * ConductionNL/openregister#3387. */
146
+ .cn-notes-card__textarea {
147
+ width: 100%;
148
+ box-sizing: border-box;
149
+ }