@rcarls/rc-textarea 0.5.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @rcarls/rc-textarea
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 985067e: Allow `rc-textarea` to shrink below its intrinsic content width so `word-wrap`
8
+ wraps long, unbroken lines inside narrow grid and flex layouts instead of
9
+ forcing the consumer layout to overflow.
10
+ - 57370e4: Align component metadata, aggregate framework typings, development-time native-child
11
+ validation, controlled menu state, package declarations, and public documentation before the
12
+ next release.
13
+ - Updated dependencies [6683eb9]
14
+ - Updated dependencies [ee7ba6c]
15
+ - Updated dependencies [30eb232]
16
+ - @rcarls/rc-common@0.6.0
17
+
3
18
  ## 0.5.0
4
19
 
5
20
  ### Minor Changes
@@ -169,7 +169,7 @@
169
169
  "name": "generateId",
170
170
  "declaration": {
171
171
  "name": "generateId",
172
- "module": "./types.ts"
172
+ "module": "./types.js"
173
173
  }
174
174
  },
175
175
  {
@@ -363,7 +363,7 @@
363
363
  "name": "RCTextarea",
364
364
  "declaration": {
365
365
  "name": "RCTextarea",
366
- "module": "./rc-textarea.ts"
366
+ "module": "./rc-textarea.js"
367
367
  }
368
368
  },
369
369
  {
@@ -371,7 +371,7 @@
371
371
  "name": "Decoration",
372
372
  "declaration": {
373
373
  "name": "Decoration",
374
- "module": "./types.ts"
374
+ "module": "./types.js"
375
375
  }
376
376
  },
377
377
  {
@@ -379,7 +379,7 @@
379
379
  "name": "DecorationInput",
380
380
  "declaration": {
381
381
  "name": "DecorationInput",
382
- "module": "./types.ts"
382
+ "module": "./types.js"
383
383
  }
384
384
  },
385
385
  {
@@ -387,7 +387,7 @@
387
387
  "name": "MarkDecoration",
388
388
  "declaration": {
389
389
  "name": "MarkDecoration",
390
- "module": "./types.ts"
390
+ "module": "./types.js"
391
391
  }
392
392
  },
393
393
  {
@@ -395,7 +395,7 @@
395
395
  "name": "MarkDecorationStyle",
396
396
  "declaration": {
397
397
  "name": "MarkDecorationStyle",
398
- "module": "./types.ts"
398
+ "module": "./types.js"
399
399
  }
400
400
  },
401
401
  {
@@ -403,7 +403,7 @@
403
403
  "name": "LineDecoration",
404
404
  "declaration": {
405
405
  "name": "LineDecoration",
406
- "module": "./types.ts"
406
+ "module": "./types.js"
407
407
  }
408
408
  },
409
409
  {
@@ -411,7 +411,7 @@
411
411
  "name": "WidgetDecoration",
412
412
  "declaration": {
413
413
  "name": "WidgetDecoration",
414
- "module": "./types.ts"
414
+ "module": "./types.js"
415
415
  }
416
416
  },
417
417
  {
@@ -419,7 +419,7 @@
419
419
  "name": "RCTextareaPlugin",
420
420
  "declaration": {
421
421
  "name": "RCTextareaPlugin",
422
- "module": "./types.ts"
422
+ "module": "./types.js"
423
423
  }
424
424
  },
425
425
  {
@@ -427,7 +427,7 @@
427
427
  "name": "RCTextareaPluginAPI",
428
428
  "declaration": {
429
429
  "name": "RCTextareaPluginAPI",
430
- "module": "./types.ts"
430
+ "module": "./types.js"
431
431
  }
432
432
  },
433
433
  {
@@ -435,7 +435,7 @@
435
435
  "name": "TextPattern",
436
436
  "declaration": {
437
437
  "name": "TextPattern",
438
- "module": "./types.ts"
438
+ "module": "./types.js"
439
439
  }
440
440
  },
441
441
  {
@@ -443,7 +443,7 @@
443
443
  "name": "LineDecoratorPlugin",
444
444
  "declaration": {
445
445
  "name": "LineDecoratorPlugin",
446
- "module": "./types.ts"
446
+ "module": "./types.js"
447
447
  }
448
448
  },
449
449
  {
@@ -451,7 +451,7 @@
451
451
  "name": "Token",
452
452
  "declaration": {
453
453
  "name": "Token",
454
- "module": "./types.ts"
454
+ "module": "./types.js"
455
455
  }
456
456
  },
457
457
  {
@@ -459,7 +459,7 @@
459
459
  "name": "matchPatternResults",
460
460
  "declaration": {
461
461
  "name": "matchPatternResults",
462
- "module": "./pattern-matcher.ts"
462
+ "module": "./pattern-matcher.js"
463
463
  }
464
464
  },
465
465
  {
@@ -467,7 +467,7 @@
467
467
  "name": "createLineDecoratorPlugin",
468
468
  "declaration": {
469
469
  "name": "createLineDecoratorPlugin",
470
- "module": "./line-decorator.ts"
470
+ "module": "./line-decorator.js"
471
471
  }
472
472
  },
473
473
  {
@@ -475,7 +475,7 @@
475
475
  "name": "LineDecoratorPluginOptions",
476
476
  "declaration": {
477
477
  "name": "LineDecoratorPluginOptions",
478
- "module": "./line-decorator.ts"
478
+ "module": "./line-decorator.js"
479
479
  }
480
480
  },
481
481
  {
@@ -483,7 +483,7 @@
483
483
  "name": "LineActionsController",
484
484
  "declaration": {
485
485
  "name": "LineActionsController",
486
- "module": "./line-actions-controller.ts"
486
+ "module": "./line-actions-controller.js"
487
487
  }
488
488
  },
489
489
  {
@@ -491,7 +491,7 @@
491
491
  "name": "LineAction",
492
492
  "declaration": {
493
493
  "name": "LineAction",
494
- "module": "./line-actions-controller.ts"
494
+ "module": "./line-actions-controller.js"
495
495
  }
496
496
  },
497
497
  {
@@ -499,7 +499,7 @@
499
499
  "name": "LineActionsOptions",
500
500
  "declaration": {
501
501
  "name": "LineActionsOptions",
502
- "module": "./line-actions-controller.ts"
502
+ "module": "./line-actions-controller.js"
503
503
  }
504
504
  }
505
505
  ]
@@ -1785,7 +1785,8 @@
1785
1785
  "name": "rc-textarea-focus",
1786
1786
  "type": {
1787
1787
  "text": "CustomEvent"
1788
- }
1788
+ },
1789
+ "description": "Fired when the field gains focus"
1789
1790
  },
1790
1791
  {
1791
1792
  "name": "rc-textarea-blur",
@@ -1800,6 +1801,10 @@
1800
1801
  "text": "CustomEvent"
1801
1802
  },
1802
1803
  "description": "Fired when the field value changes"
1804
+ },
1805
+ {
1806
+ "description": "Fired when the selection changes while the editor is focused",
1807
+ "name": "rc-textarea-select"
1803
1808
  }
1804
1809
  ],
1805
1810
  "attributes": [
@@ -1123,7 +1123,11 @@ function P(n) {
1123
1123
  const [r] = s.getComposedRanges({ shadowRoots: [t] });
1124
1124
  if (r && n.contains(r.startContainer) && n.contains(r.endContainer))
1125
1125
  return {
1126
- anchorOffset: $(n, r.startContainer, r.startOffset),
1126
+ anchorOffset: $(
1127
+ n,
1128
+ r.startContainer,
1129
+ r.startOffset
1130
+ ),
1127
1131
  focusOffset: $(n, r.endContainer, r.endOffset)
1128
1132
  };
1129
1133
  }
@@ -1262,6 +1266,7 @@ const ce = Lt`
1262
1266
  :host {
1263
1267
  display: block;
1264
1268
  box-sizing: border-box;
1269
+ min-inline-size: 0;
1265
1270
  color-scheme: inherit;
1266
1271
  }
1267
1272
 
@@ -2359,4 +2364,4 @@ export {
2359
2364
  we as c,
2360
2365
  le as m
2361
2366
  };
2362
- //# sourceMappingURL=line-actions-controller-CB8U0WvH.js.map
2367
+ //# sourceMappingURL=line-actions-controller-BcsnmSPS.js.map