New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@freshworks/crayons

Package Overview
Dependencies
Maintainers
11
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freshworks/crayons - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

dist/crayons/p-niw3migm.entry.js

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.1.0](https://github.com/freshdesk/crayons/compare/v1.0.1...v1.1.0) (2020-04-29)
### Features
* **fw-select-options, fw-select, fw-tag:** added 'disabled' state to fw-select options ([d15eb0f](https://github.com/freshdesk/crayons/commit/d15eb0fb5900f8839cd8a3887e70246d3990eef4))
## [1.0.1](https://github.com/freshdesk/crayons/compare/v1.0.0...v1.0.1) (2020-04-15)

@@ -2,0 +9,0 @@

2

dist/cjs/crayons.cjs.js

@@ -6,3 +6,3 @@ 'use strict';

index.patchBrowser().then(options => {
return index.bootstrapLazy([["fw-input.cjs",[[1,"fw-input",{"label":[1],"value":[1025],"type":[1],"autocomplete":[1],"clearInput":[4,"clear-input"],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"hasFocus":[32],"setFocus":[64]}]]],["fw-checkbox.cjs",[[1,"fw-checkbox",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1]}]]],["fw-label.cjs",[[1,"fw-label",{"color":[1],"value":[1]}]]],["fw-radio.cjs",[[1,"fw-radio",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1],"name":[1]}]]],["fw-radio-group.cjs",[[0,"fw-radio-group",{"allowEmpty":[4,"allow-empty"],"name":[1],"value":[1032]}]]],["fw-spinner.cjs",[[1,"fw-spinner",{"size":[1],"color":[1]}]]],["fw-tab.cjs",[[1,"fw-tab",{"tabHeader":[1,"tab-header"],"message":[1]}]]],["fw-tabs.cjs",[[1,"fw-tabs",{"tabs":[32],"activeTabIndex":[32],"activeChildClass":[32]}]]],["fw-textarea.cjs",[[1,"fw-textarea",{"label":[1],"value":[1025],"cols":[2],"rows":[2],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"wrap":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"hasFocus":[32],"setFocus":[64]}]]],["fw-toggle.cjs",[[1,"fw-toggle",{"checked":[4],"size":[1],"name":[1],"disabled":[4]}]]],["fw-icon.cjs",[[1,"fw-icon",{"name":[1],"size":[2],"color":[1],"svgHTML":[32]}]]],["fw-button_5.cjs",[[1,"fw-timepicker",{"format":[1],"value":[1025],"interval":[2],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"timeValues":[32],"isMeridianFormat":[32],"isDefaultEndTime":[32]}],[1,"fw-button",{"type":[1],"color":[1],"disabled":[516],"expand":[4],"size":[1]}],[1,"fw-select",{"label":[1],"value":[1032],"name":[1],"type":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"forceSelect":[4,"force-select"],"disabled":[4],"multiple":[4],"isExpanded":[32],"options":[32],"filteredOptions":[32],"hasFocus":[32],"getSelectedItem":[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{"value":[513],"selected":[1540],"html":[1540],"optionText":[513,"option-text"],"htmlContent":[1,"html-content"]}],[1,"fw-tag",{"text":[513],"value":[513]}]]]], options);
return index.bootstrapLazy([["fw-input.cjs",[[1,"fw-input",{"label":[1],"value":[1025],"type":[1],"autocomplete":[1],"clearInput":[4,"clear-input"],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"hasFocus":[32],"setFocus":[64]}]]],["fw-checkbox.cjs",[[1,"fw-checkbox",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1]}]]],["fw-label.cjs",[[1,"fw-label",{"color":[1],"value":[1]}]]],["fw-radio.cjs",[[1,"fw-radio",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1],"name":[1]}]]],["fw-radio-group.cjs",[[0,"fw-radio-group",{"allowEmpty":[4,"allow-empty"],"name":[1],"value":[1032]}]]],["fw-spinner.cjs",[[1,"fw-spinner",{"size":[1],"color":[1]}]]],["fw-tab.cjs",[[1,"fw-tab",{"tabHeader":[1,"tab-header"],"message":[1]}]]],["fw-tabs.cjs",[[1,"fw-tabs",{"tabs":[32],"activeTabIndex":[32],"activeChildClass":[32]}]]],["fw-textarea.cjs",[[1,"fw-textarea",{"label":[1],"value":[1025],"cols":[2],"rows":[2],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"wrap":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"hasFocus":[32],"setFocus":[64]}]]],["fw-toggle.cjs",[[1,"fw-toggle",{"checked":[4],"size":[1],"name":[1],"disabled":[4]}]]],["fw-icon.cjs",[[1,"fw-icon",{"name":[1],"size":[2],"color":[1],"svgHTML":[32]}]]],["fw-button_5.cjs",[[1,"fw-timepicker",{"format":[1],"value":[1025],"interval":[2],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"timeValues":[32],"isMeridianFormat":[32],"isDefaultEndTime":[32]}],[1,"fw-button",{"type":[1],"color":[1],"disabled":[516],"expand":[4],"size":[1]}],[1,"fw-select",{"label":[1],"value":[1032],"name":[1],"type":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"forceSelect":[4,"force-select"],"disabled":[4],"multiple":[4],"isExpanded":[32],"options":[32],"filteredOptions":[32],"hasFocus":[32],"getSelectedItem":[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{"value":[513],"selected":[1540],"disabled":[1540],"html":[1540],"optionText":[513,"option-text"],"htmlContent":[1,"html-content"]}],[1,"fw-tag",{"text":[513],"disabled":[516],"value":[513]}]]]], options);
});

@@ -10,3 +10,3 @@ 'use strict';

return index.patchEsm().then(() => {
index.bootstrapLazy([["fw-input.cjs",[[1,"fw-input",{"label":[1],"value":[1025],"type":[1],"autocomplete":[1],"clearInput":[4,"clear-input"],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"hasFocus":[32],"setFocus":[64]}]]],["fw-checkbox.cjs",[[1,"fw-checkbox",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1]}]]],["fw-label.cjs",[[1,"fw-label",{"color":[1],"value":[1]}]]],["fw-radio.cjs",[[1,"fw-radio",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1],"name":[1]}]]],["fw-radio-group.cjs",[[0,"fw-radio-group",{"allowEmpty":[4,"allow-empty"],"name":[1],"value":[1032]}]]],["fw-spinner.cjs",[[1,"fw-spinner",{"size":[1],"color":[1]}]]],["fw-tab.cjs",[[1,"fw-tab",{"tabHeader":[1,"tab-header"],"message":[1]}]]],["fw-tabs.cjs",[[1,"fw-tabs",{"tabs":[32],"activeTabIndex":[32],"activeChildClass":[32]}]]],["fw-textarea.cjs",[[1,"fw-textarea",{"label":[1],"value":[1025],"cols":[2],"rows":[2],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"wrap":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"hasFocus":[32],"setFocus":[64]}]]],["fw-toggle.cjs",[[1,"fw-toggle",{"checked":[4],"size":[1],"name":[1],"disabled":[4]}]]],["fw-icon.cjs",[[1,"fw-icon",{"name":[1],"size":[2],"color":[1],"svgHTML":[32]}]]],["fw-button_5.cjs",[[1,"fw-timepicker",{"format":[1],"value":[1025],"interval":[2],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"timeValues":[32],"isMeridianFormat":[32],"isDefaultEndTime":[32]}],[1,"fw-button",{"type":[1],"color":[1],"disabled":[516],"expand":[4],"size":[1]}],[1,"fw-select",{"label":[1],"value":[1032],"name":[1],"type":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"forceSelect":[4,"force-select"],"disabled":[4],"multiple":[4],"isExpanded":[32],"options":[32],"filteredOptions":[32],"hasFocus":[32],"getSelectedItem":[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{"value":[513],"selected":[1540],"html":[1540],"optionText":[513,"option-text"],"htmlContent":[1,"html-content"]}],[1,"fw-tag",{"text":[513],"value":[513]}]]]], options);
index.bootstrapLazy([["fw-input.cjs",[[1,"fw-input",{"label":[1],"value":[1025],"type":[1],"autocomplete":[1],"clearInput":[4,"clear-input"],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"iconLeft":[1,"icon-left"],"iconRight":[1,"icon-right"],"hasFocus":[32],"setFocus":[64]}]]],["fw-checkbox.cjs",[[1,"fw-checkbox",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1]}]]],["fw-label.cjs",[[1,"fw-label",{"color":[1],"value":[1]}]]],["fw-radio.cjs",[[1,"fw-radio",{"checked":[1028],"disabled":[1028],"label":[1],"value":[1],"name":[1]}]]],["fw-radio-group.cjs",[[0,"fw-radio-group",{"allowEmpty":[4,"allow-empty"],"name":[1],"value":[1032]}]]],["fw-spinner.cjs",[[1,"fw-spinner",{"size":[1],"color":[1]}]]],["fw-tab.cjs",[[1,"fw-tab",{"tabHeader":[1,"tab-header"],"message":[1]}]]],["fw-tabs.cjs",[[1,"fw-tabs",{"tabs":[32],"activeTabIndex":[32],"activeChildClass":[32]}]]],["fw-textarea.cjs",[[1,"fw-textarea",{"label":[1],"value":[1025],"cols":[2],"rows":[2],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"state":[1],"wrap":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"disabled":[4],"hasFocus":[32],"setFocus":[64]}]]],["fw-toggle.cjs",[[1,"fw-toggle",{"checked":[4],"size":[1],"name":[1],"disabled":[4]}]]],["fw-icon.cjs",[[1,"fw-icon",{"name":[1],"size":[2],"color":[1],"svgHTML":[32]}]]],["fw-button_5.cjs",[[1,"fw-timepicker",{"format":[1],"value":[1025],"interval":[2],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"timeValues":[32],"isMeridianFormat":[32],"isDefaultEndTime":[32]}],[1,"fw-button",{"type":[1],"color":[1],"disabled":[516],"expand":[4],"size":[1]}],[1,"fw-select",{"label":[1],"value":[1032],"name":[1],"type":[1],"placeholder":[1],"state":[1],"stateText":[1,"state-text"],"readonly":[4],"required":[4],"forceSelect":[4,"force-select"],"disabled":[4],"multiple":[4],"isExpanded":[32],"options":[32],"filteredOptions":[32],"hasFocus":[32],"getSelectedItem":[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{"value":[513],"selected":[1540],"disabled":[1540],"html":[1540],"optionText":[513,"option-text"],"htmlContent":[1,"html-content"]}],[1,"fw-tag",{"text":[513],"disabled":[516],"value":[513]}]]]], options);
});

@@ -13,0 +13,0 @@ }

@@ -5,6 +5,10 @@ import { h } from "@stencil/core";

/**
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to true.
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to false.
*/
this.selected = false;
/**
* Sets the state of the option to disabled. The selected option is disabled and greyed out. If the attribute’s value is undefined, the value is set to false.
*/
this.disabled = false;
/**
* States that the option is an HTML value. If the attribute's value is undefined, the value is set to true.

@@ -15,2 +19,5 @@ */

onOptionSelected() {
if (this.disabled) {
return;
}
this.selected = !this.selected;

@@ -21,3 +28,5 @@ const { value, selected } = this;

render() {
return (h("li", { ref: el => this.nativeLi = el, class: { 'select-option': true, 'selected': this.selected }, onMouseDown: () => this.onOptionSelected() }, this.html ? '' : h("slot", null)));
return (h("li", { ref: el => this.nativeLi = el, class: { 'select-option': true, 'selected': this.selected, 'disabled': this.disabled }, onMouseDown: () => this.onOptionSelected() }, this.html
? '' :
h("slot", null)));
}

@@ -67,3 +76,3 @@ componentDidLoad() {

"tags": [],
"text": "Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute\u2019s value is undefined, the value is set to true."
"text": "Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute\u2019s value is undefined, the value is set to false."
},

@@ -74,2 +83,20 @@ "attribute": "selected",

},
"disabled": {
"type": "boolean",
"mutable": true,
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "Sets the state of the option to disabled. The selected option is disabled and greyed out. If the attribute\u2019s value is undefined, the value is set to false."
},
"attribute": "disabled",
"reflect": true,
"defaultValue": "false"
},
"html": {

@@ -76,0 +103,0 @@ "type": "boolean",

@@ -128,3 +128,3 @@ import { Host, h } from "@stencil/core";

.filter(option => option.selected)
.map(option => h("fw-tag", { text: option.text, value: option.value }));
.map(option => h("fw-tag", { text: option.text, disabled: option.disabled, value: option.value }));
}

@@ -140,3 +140,3 @@ }

renderDropdown() {
return this.filteredOptions.map(option => (h("fw-select-option", { value: option.value, selected: option.selected, html: option.isHtml, htmlContent: option.htmlContent }, option.text)));
return this.filteredOptions.map(option => (h("fw-select-option", { value: option.value, selected: option.selected, html: option.isHtml, disabled: option.disabled, htmlContent: option.htmlContent }, option.text)));
}

@@ -151,2 +151,3 @@ componentWillLoad() {

selected: option.selected,
disabled: option.disabled,
htmlContent: option.html ? option.innerHTML : '',

@@ -153,0 +154,0 @@ };

import { h } from "@stencil/core";
export class Tag {
removeTag() {
if (this.disabled) {
return;
}
const { value, text } = this;

@@ -10,3 +13,3 @@ this.fwClosed.emit({ value, text });

this.text,
h("span", { role: "button", class: "remove-btn", onClick: () => this.removeTag() }, "\u00D7")));
h("span", { role: "button", class: { 'remove-btn': true, 'disabled': this.disabled }, onClick: () => this.removeTag() }, "\u00D7")));
}

@@ -39,2 +42,19 @@ static get is() { return "fw-tag"; }

},
"disabled": {
"type": "boolean",
"mutable": false,
"complexType": {
"original": "false",
"resolved": "boolean",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "Sets the state of the tag to disabled. The close button is disabled. If the attribute\u2019s value is undefined, the value is set to false."
},
"attribute": "disabled",
"reflect": true
},
"value": {

@@ -41,0 +61,0 @@ "type": "string",

@@ -1,1 +0,1 @@

import{p as e,b as t}from"./p-8ab0e981.js";e().then(e=>t([["p-ofi2vnay",[[1,"fw-input",{label:[1],value:[1025],type:[1],autocomplete:[1],clearInput:[4,"clear-input"],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],hasFocus:[32],setFocus:[64]}]]],["p-kjefr3ib",[[1,"fw-checkbox",{checked:[1028],disabled:[1028],label:[1],value:[1]}]]],["p-umcvs7ne",[[1,"fw-label",{color:[1],value:[1]}]]],["p-1d3mufpd",[[1,"fw-radio",{checked:[1028],disabled:[1028],label:[1],value:[1],name:[1]}]]],["p-cqh5euwa",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-kbi45os3",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-c1c7onld",[[1,"fw-tab",{tabHeader:[1,"tab-header"],message:[1]}]]],["p-y0zzxqie",[[1,"fw-tabs",{tabs:[32],activeTabIndex:[32],activeChildClass:[32]}]]],["p-dxg9utt6",[[1,"fw-textarea",{label:[1],value:[1025],cols:[2],rows:[2],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],wrap:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],hasFocus:[32],setFocus:[64]}]]],["p-hfjaueyz",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-voaijijj",[[1,"fw-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}]]],["p-al6mojew",[[1,"fw-timepicker",{format:[1],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[1,"fw-button",{type:[1],color:[1],disabled:[516],expand:[4],size:[1]}],[1,"fw-select",{label:[1],value:[1032],name:[1],type:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],forceSelect:[4,"force-select"],disabled:[4],multiple:[4],isExpanded:[32],options:[32],filteredOptions:[32],hasFocus:[32],getSelectedItem:[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{value:[513],selected:[1540],html:[1540],optionText:[513,"option-text"],htmlContent:[1,"html-content"]}],[1,"fw-tag",{text:[513],value:[513]}]]]],e));
import{p as e,b as t}from"./p-8ab0e981.js";e().then(e=>t([["p-ofi2vnay",[[1,"fw-input",{label:[1],value:[1025],type:[1],autocomplete:[1],clearInput:[4,"clear-input"],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],hasFocus:[32],setFocus:[64]}]]],["p-kjefr3ib",[[1,"fw-checkbox",{checked:[1028],disabled:[1028],label:[1],value:[1]}]]],["p-umcvs7ne",[[1,"fw-label",{color:[1],value:[1]}]]],["p-1d3mufpd",[[1,"fw-radio",{checked:[1028],disabled:[1028],label:[1],value:[1],name:[1]}]]],["p-cqh5euwa",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-kbi45os3",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-c1c7onld",[[1,"fw-tab",{tabHeader:[1,"tab-header"],message:[1]}]]],["p-y0zzxqie",[[1,"fw-tabs",{tabs:[32],activeTabIndex:[32],activeChildClass:[32]}]]],["p-dxg9utt6",[[1,"fw-textarea",{label:[1],value:[1025],cols:[2],rows:[2],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],wrap:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],hasFocus:[32],setFocus:[64]}]]],["p-hfjaueyz",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-voaijijj",[[1,"fw-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}]]],["p-niw3migm",[[1,"fw-timepicker",{format:[1],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[1,"fw-button",{type:[1],color:[1],disabled:[516],expand:[4],size:[1]}],[1,"fw-select",{label:[1],value:[1032],name:[1],type:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],forceSelect:[4,"force-select"],disabled:[4],multiple:[4],isExpanded:[32],options:[32],filteredOptions:[32],hasFocus:[32],getSelectedItem:[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{value:[513],selected:[1540],disabled:[1540],html:[1540],optionText:[513,"option-text"],htmlContent:[1,"html-content"]}],[1,"fw-tag",{text:[513],disabled:[516],value:[513]}]]]],e));

@@ -1,1 +0,1 @@

System.register(["./p-91cae62c.system.js"],(function(){"use strict";var e,t;return{setters:[function(a){e=a.p;t=a.b}],execute:function(){e().then((function(e){return t([["p-7h9jnqwx.system",[[1,"fw-input",{label:[1],value:[1025],type:[1],autocomplete:[1],clearInput:[4,"clear-input"],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],hasFocus:[32],setFocus:[64]}]]],["p-hsvwdiqx.system",[[1,"fw-checkbox",{checked:[1028],disabled:[1028],label:[1],value:[1]}]]],["p-ijbsh9tx.system",[[1,"fw-label",{color:[1],value:[1]}]]],["p-lbuu217x.system",[[1,"fw-radio",{checked:[1028],disabled:[1028],label:[1],value:[1],name:[1]}]]],["p-fy9cedzq.system",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-j643qbt3.system",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-q8liflcr.system",[[1,"fw-tab",{tabHeader:[1,"tab-header"],message:[1]}]]],["p-9fjfe9ic.system",[[1,"fw-tabs",{tabs:[32],activeTabIndex:[32],activeChildClass:[32]}]]],["p-xa89bxak.system",[[1,"fw-textarea",{label:[1],value:[1025],cols:[2],rows:[2],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],wrap:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],hasFocus:[32],setFocus:[64]}]]],["p-x87ssexp.system",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-mlwpcid7.system",[[1,"fw-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}]]],["p-ogb11u7z.system",[[1,"fw-timepicker",{format:[1],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[1,"fw-button",{type:[1],color:[1],disabled:[516],expand:[4],size:[1]}],[1,"fw-select",{label:[1],value:[1032],name:[1],type:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],forceSelect:[4,"force-select"],disabled:[4],multiple:[4],isExpanded:[32],options:[32],filteredOptions:[32],hasFocus:[32],getSelectedItem:[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{value:[513],selected:[1540],html:[1540],optionText:[513,"option-text"],htmlContent:[1,"html-content"]}],[1,"fw-tag",{text:[513],value:[513]}]]]],e)}))}}}));
System.register(["./p-91cae62c.system.js"],(function(){"use strict";var e,t;return{setters:[function(a){e=a.p;t=a.b}],execute:function(){e().then((function(e){return t([["p-7h9jnqwx.system",[[1,"fw-input",{label:[1],value:[1025],type:[1],autocomplete:[1],clearInput:[4,"clear-input"],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],iconLeft:[1,"icon-left"],iconRight:[1,"icon-right"],hasFocus:[32],setFocus:[64]}]]],["p-hsvwdiqx.system",[[1,"fw-checkbox",{checked:[1028],disabled:[1028],label:[1],value:[1]}]]],["p-ijbsh9tx.system",[[1,"fw-label",{color:[1],value:[1]}]]],["p-lbuu217x.system",[[1,"fw-radio",{checked:[1028],disabled:[1028],label:[1],value:[1],name:[1]}]]],["p-fy9cedzq.system",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-j643qbt3.system",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-q8liflcr.system",[[1,"fw-tab",{tabHeader:[1,"tab-header"],message:[1]}]]],["p-9fjfe9ic.system",[[1,"fw-tabs",{tabs:[32],activeTabIndex:[32],activeChildClass:[32]}]]],["p-xa89bxak.system",[[1,"fw-textarea",{label:[1],value:[1025],cols:[2],rows:[2],maxlength:[2],minlength:[2],name:[1],placeholder:[1],state:[1],wrap:[1],stateText:[1,"state-text"],readonly:[4],required:[4],disabled:[4],hasFocus:[32],setFocus:[64]}]]],["p-x87ssexp.system",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-mlwpcid7.system",[[1,"fw-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}]]],["p-rky9i3kc.system",[[1,"fw-timepicker",{format:[1],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[1,"fw-button",{type:[1],color:[1],disabled:[516],expand:[4],size:[1]}],[1,"fw-select",{label:[1],value:[1032],name:[1],type:[1],placeholder:[1],state:[1],stateText:[1,"state-text"],readonly:[4],required:[4],forceSelect:[4,"force-select"],disabled:[4],multiple:[4],isExpanded:[32],options:[32],filteredOptions:[32],hasFocus:[32],getSelectedItem:[64]},[[0,"fwSelected","fwSelectedHandler"],[0,"fwClosed","fwCloseHandler"],[0,"keydown","onKeyDonw"]]],[1,"fw-select-option",{value:[513],selected:[1540],disabled:[1540],html:[1540],optionText:[513,"option-text"],htmlContent:[1,"html-content"]}],[1,"fw-tag",{text:[513],disabled:[516],value:[513]}]]]],e)}))}}}));

@@ -232,2 +232,6 @@ /* eslint-disable */

/**
* Sets the state of the option to disabled. The selected option is disabled and greyed out. If the attribute’s value is undefined, the value is set to false.
*/
"disabled": boolean;
/**
* States that the option is an HTML value. If the attribute's value is undefined, the value is set to true.

@@ -245,3 +249,3 @@ */

/**
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to true.
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to false.
*/

@@ -278,2 +282,6 @@ "selected": boolean;

/**
* Sets the state of the tag to disabled. The close button is disabled. If the attribute’s value is undefined, the value is set to false.
*/
"disabled": false;
/**
* Display text in the tag component.

@@ -797,2 +805,6 @@ */

/**
* Sets the state of the option to disabled. The selected option is disabled and greyed out. If the attribute’s value is undefined, the value is set to false.
*/
"disabled"?: boolean;
/**
* States that the option is an HTML value. If the attribute's value is undefined, the value is set to true.

@@ -814,3 +826,3 @@ */

/**
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to true.
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to false.
*/

@@ -847,2 +859,6 @@ "selected"?: boolean;

/**
* Sets the state of the tag to disabled. The close button is disabled. If the attribute’s value is undefined, the value is set to false.
*/
"disabled"?: false;
/**
* Triggered when the tag is deselected.

@@ -849,0 +865,0 @@ */

@@ -9,6 +9,10 @@ import { EventEmitter } from '../../stencil-public-runtime';

/**
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to true.
* Sets the state of the option to selected. The selected option is highlighted and a check mark is displayed next to it. If the attribute’s value is undefined, the value is set to false.
*/
selected: boolean;
/**
* Sets the state of the option to disabled. The selected option is disabled and greyed out. If the attribute’s value is undefined, the value is set to false.
*/
disabled: boolean;
/**
* States that the option is an HTML value. If the attribute's value is undefined, the value is set to true.

@@ -15,0 +19,0 @@ */

@@ -9,2 +9,6 @@ import { EventEmitter } from '../../stencil-public-runtime';

/**
* Sets the state of the tag to disabled. The close button is disabled. If the attribute’s value is undefined, the value is set to false.
*/
disabled: false;
/**
* Value associated with the tag component, that is saved when the form data is saved.

@@ -11,0 +15,0 @@ */

@@ -18,3 +18,3 @@ {

"author": "Freshworks Inc",
"version": "1.0.1",
"version": "1.1.0",
"description": "Crayons for Developer Platform",

@@ -21,0 +21,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc