@breakside/jskit 2024.20.0 → 2024.24.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/Frameworks/DOM.jsframework/Info.json +2 -2
- package/Frameworks/DOM.jsframework/io.breakside.JSKit.DOM-bundle.js +2 -2
- package/Frameworks/FontKit.jsframework/Info.json +2 -2
- package/Frameworks/FontKit.jsframework/io.breakside.JSKit.FontKit-bundle.js +2 -2
- package/Frameworks/Foundation.jsframework/Info.json +2 -2
- package/Frameworks/Foundation.jsframework/JS/JSAttributedString.js +32 -0
- package/Frameworks/Foundation.jsframework/JS/JSHTMLTextParser.js +584 -0
- package/Frameworks/Foundation.jsframework/io.breakside.JSKit.Foundation-bundle.js +2 -2
- package/Frameworks/Foundation.jsframework/sources.json +3 -0
- package/Frameworks/SecurityKit.jsframework/Info.json +2 -2
- package/Frameworks/SecurityKit.jsframework/io.breakside.JSKit.SecurityKit-bundle.js +2 -2
- package/Info.json +2 -2
- package/Node/io.breakside.jskit-bundle.js +2 -2
- package/Node/jskit +1 -0
- package/Root/Frameworks/APIKit/Info.yaml +1 -1
- package/Root/Frameworks/APIKitTesting/Info.yaml +1 -1
- package/Root/Frameworks/AuthKit/Info.yaml +1 -1
- package/Root/Frameworks/CSSOM/Info.yaml +1 -1
- package/Root/Frameworks/ChartKit/Info.yaml +1 -1
- package/Root/Frameworks/ConferenceKit/Info.yaml +1 -1
- package/Root/Frameworks/DBKit/Info.yaml +1 -1
- package/Root/Frameworks/DOM/Info.yaml +1 -1
- package/Root/Frameworks/Dispatch/Info.yaml +1 -1
- package/Root/Frameworks/FontKit/Info.yaml +1 -1
- package/Root/Frameworks/Foundation/Info.yaml +1 -1
- package/Root/Frameworks/Foundation/JSAttributedString.js +32 -0
- package/Root/Frameworks/Foundation/JSHTMLTextParser.js +584 -0
- package/Root/Frameworks/ImageKit/Info.yaml +1 -1
- package/Root/Frameworks/MediaKit/Info.yaml +1 -1
- package/Root/Frameworks/MediaKitUI/Info.yaml +1 -1
- package/Root/Frameworks/NotificationKit/Info.yaml +1 -1
- package/Root/Frameworks/PDFKit/Info.yaml +1 -1
- package/Root/Frameworks/QRKit/Info.yaml +1 -1
- package/Root/Frameworks/SearchKit/Info.yaml +1 -1
- package/Root/Frameworks/SecurityKit/Info.yaml +1 -1
- package/Root/Frameworks/ServerKit/Info.yaml +1 -1
- package/Root/Frameworks/ServerKitTesting/Info.yaml +1 -1
- package/Root/Frameworks/TestKit/Info.yaml +1 -1
- package/Root/Frameworks/UIKit/Info.yaml +1 -1
- package/Root/Frameworks/UIKit/UITokenField.js +1 -1
- package/Root/Frameworks/UIKit/UIWindow.js +2 -1
- package/Root/Frameworks/UIKitTesting/Info.yaml +1 -1
- package/package.json +1 -1
|
@@ -273,7 +273,7 @@ JSClass("UITokenFieldTokenView", UIView, {
|
|
|
273
273
|
initWithString: function(str, textField){
|
|
274
274
|
UITokenFieldTokenView.$super.init.call(this);
|
|
275
275
|
this.tokenLabel = UILabel.initWithFrame(this.bounds);
|
|
276
|
-
this.tokenLabel.textInsets = JSInsets(
|
|
276
|
+
this.tokenLabel.textInsets = JSInsets(0, 4);
|
|
277
277
|
this.tokenLabel.lineBreakMode = JSLineBreakMode.truncateTail;
|
|
278
278
|
this.tokenLabel.maximumNumberOfLines = 1;
|
|
279
279
|
this.textField = textField;
|
|
@@ -320,7 +320,8 @@ JSClass('UIWindow', UIView, {
|
|
|
320
320
|
// -------------------------------------------------------------------------
|
|
321
321
|
// MARK: Traits
|
|
322
322
|
|
|
323
|
-
layerDidChangeSize: function(){
|
|
323
|
+
layerDidChangeSize: function(layer){
|
|
324
|
+
UIWindow.$super.layerDidChangeSize.call(this, layer);
|
|
324
325
|
if (this._traitCollection !== null){
|
|
325
326
|
var traits = this._traitCollection.traitsWithSize(this.bounds.size);
|
|
326
327
|
this._setTraitCollection(traits);
|