@innovastudio/contentbuilder 1.4.74 → 1.4.76
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/package.json
CHANGED
|
@@ -76791,7 +76791,10 @@ class Lib {
|
|
|
76791
76791
|
updateContentSize(activeBox, val) {
|
|
76792
76792
|
const container = activeBox.querySelector('.is-container');
|
|
76793
76793
|
// const contentSizes = this.builder.contentSizes;
|
|
76794
|
-
const contentSizes = [300,
|
|
76794
|
+
// const contentSizes = [300,320,360,400,440,480,520,560,600,640,680,720,760,800,840,880,920,960,1000,1040,1080,
|
|
76795
|
+
// 1120,1160,1200,1240,1280,1320,1360,1400,1440,1480,1520,1560,1600,1640,1680,1720,1760,1800,1840,1880,
|
|
76796
|
+
// 1920,1960,2000,2040,2080,2120,2160,2200,2240,2280,2320,2360,2400,2440,2480,2520,2560,2600,2640,2680,2700];
|
|
76797
|
+
const contentSizes = [320, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900, 2000];
|
|
76795
76798
|
if (val === '') {
|
|
76796
76799
|
container.style.maxWidth = '';
|
|
76797
76800
|
container.classList.forEach(item => {
|
|
@@ -77634,7 +77637,7 @@ class Dictation {
|
|
|
77634
77637
|
const btnCommandList = builderStuff.querySelector('.cmd-command-list');
|
|
77635
77638
|
const inpCommand = this.builderStuff.querySelector('.inp-command');
|
|
77636
77639
|
if (localStorage.getItem('_sampleshown') === null) {
|
|
77637
|
-
inpCommand.setAttribute('placeholder', this.builder.
|
|
77640
|
+
inpCommand.setAttribute('placeholder', this.builder.commandPlaceholderText);
|
|
77638
77641
|
localStorage.setItem('_sampleshown', true);
|
|
77639
77642
|
}
|
|
77640
77643
|
this.builder.commandText = '';
|
|
@@ -78624,7 +78627,7 @@ class ContentBuilder {
|
|
|
78624
78627
|
/* Prompt/Command Stuff */
|
|
78625
78628
|
isContentBox: false,
|
|
78626
78629
|
sendCommandUrl: 'http://localhost:8081/answer',
|
|
78627
|
-
|
|
78630
|
+
commandPlaceholderText: '',
|
|
78628
78631
|
enableShortCommands: true,
|
|
78629
78632
|
speechRecognitionLang: 'en-US',
|
|
78630
78633
|
headlineList: ['We create simple and effective designs.', 'Ultimate Experiences With Story, Emotion, And Purpose.', 'Build Anything Beautifully', 'With Less Stuff and More Compassion', 'We\'re [CompanyName]. Full stack development with a spark of creativity.', 'Transforming your digital experience with [CompanyName]. Achieve your online goals with our customized solutions.', 'Revolutionizing web development with [CompanyName]. Unleash your digital potential with our high-performance solutions.', 'Creative and Inspiring'],
|