@freshworks/crayons
Advanced tools
Comparing version 2.3.3 to 2.3.4
113
CHANGELOG.md
@@ -1,2 +0,2 @@ | ||
## [2.3.3](https://github.com/freshdesk/crayons/compare/v2.3.2...v2.3.3) (2020-08-14) | ||
## [2.3.4](https://github.com/freshworks/crayons/compare/v2.3.3...v2.3.4) (2020-08-18) | ||
@@ -6,5 +6,5 @@ | ||
* **fw-tabs:** fwChange fires twice ([0135302](https://github.com/freshdesk/crayons/commit/0135302f0964c9e64229f11fd4aa789cf232af0a)), closes [#106](https://github.com/freshdesk/crayons/issues/106) | ||
* **fw-tabs:** fixes Multi-Level Nesting in Tabs ([8e312f2](https://github.com/freshworks/crayons/commit/8e312f24bd252c89b287ca9bad3a9a2396c588ab)), closes [#109](https://github.com/freshworks/crayons/issues/109) | ||
## [2.3.2](https://github.com/freshdesk/crayons/compare/v2.3.1...v2.3.2) (2020-07-24) | ||
## [2.3.3](https://github.com/freshworks/crayons/compare/v2.3.2...v2.3.3) (2020-08-14) | ||
@@ -14,5 +14,5 @@ | ||
* **datepicker:** fixes closing the datepicker as designed ([19eec6d](https://github.com/freshdesk/crayons/commit/19eec6d2c64bc1fc6ce0f761f46b33acfaeb5832)), closes [#98](https://github.com/freshdesk/crayons/issues/98) | ||
* **fw-tabs:** fwChange fires twice ([0135302](https://github.com/freshworks/crayons/commit/0135302f0964c9e64229f11fd4aa789cf232af0a)), closes [#106](https://github.com/freshworks/crayons/issues/106) | ||
## [2.3.1](https://github.com/freshdesk/crayons/compare/v2.3.0...v2.3.1) (2020-07-23) | ||
## [2.3.2](https://github.com/freshworks/crayons/compare/v2.3.1...v2.3.2) (2020-07-24) | ||
@@ -22,5 +22,5 @@ | ||
* close popup on click outside ([a88efc1](https://github.com/freshdesk/crayons/commit/a88efc18a89952a240de4b8a78d17d5f0c798a2e)), closes [#98](https://github.com/freshdesk/crayons/issues/98) | ||
* **datepicker:** fixes closing the datepicker as designed ([19eec6d](https://github.com/freshworks/crayons/commit/19eec6d2c64bc1fc6ce0f761f46b33acfaeb5832)), closes [#98](https://github.com/freshworks/crayons/issues/98) | ||
# [2.3.0](https://github.com/freshdesk/crayons/compare/v2.2.4...v2.3.0) (2020-07-14) | ||
## [2.3.1](https://github.com/freshworks/crayons/compare/v2.3.0...v2.3.1) (2020-07-23) | ||
@@ -30,15 +30,22 @@ | ||
* review comments ([2556171](https://github.com/freshdesk/crayons/commit/255617113413207f9d2a15540597dffa5cf97802)) | ||
* review comments - 2 ([7dbdf98](https://github.com/freshdesk/crayons/commit/7dbdf984f55097e71a012daec56b41a722b109fb)) | ||
* close popup on click outside ([a88efc1](https://github.com/freshworks/crayons/commit/a88efc18a89952a240de4b8a78d17d5f0c798a2e)), closes [#98](https://github.com/freshworks/crayons/issues/98) | ||
# [2.3.0](https://github.com/freshworks/crayons/compare/v2.2.4...v2.3.0) (2020-07-14) | ||
### Bug Fixes | ||
* review comments ([2556171](https://github.com/freshworks/crayons/commit/255617113413207f9d2a15540597dffa5cf97802)) | ||
* review comments - 2 ([7dbdf98](https://github.com/freshworks/crayons/commit/7dbdf984f55097e71a012daec56b41a722b109fb)) | ||
### Features | ||
* style fix ([71a0794](https://github.com/freshdesk/crayons/commit/71a07943a7559d787ee699b5e5e0400a699fed0d)) | ||
* **select:** added back readonly ([c78ae16](https://github.com/freshdesk/crayons/commit/c78ae16acac8acb5871b935daa54d9444e3dbfc4)) | ||
* **select:** review comments -4 ([7501ff8](https://github.com/freshdesk/crayons/commit/7501ff8891762ee561fbfedbd3c83479f57dceda)) | ||
* **select:** review comments - 3 ([b72687e](https://github.com/freshdesk/crayons/commit/b72687ede2f8b9591e8ecb2ac0f3476470737684)) | ||
* **textarea, timepicker, select:** improvements in textarea, select, timepicker ([ce02f62](https://github.com/freshdesk/crayons/commit/ce02f62eaebc17a6fd5777fe408ce48bb9a5a1f9)) | ||
* style fix ([71a0794](https://github.com/freshworks/crayons/commit/71a07943a7559d787ee699b5e5e0400a699fed0d)) | ||
* **select:** added back readonly ([c78ae16](https://github.com/freshworks/crayons/commit/c78ae16acac8acb5871b935daa54d9444e3dbfc4)) | ||
* **select:** review comments -4 ([7501ff8](https://github.com/freshworks/crayons/commit/7501ff8891762ee561fbfedbd3c83479f57dceda)) | ||
* **select:** review comments - 3 ([b72687e](https://github.com/freshworks/crayons/commit/b72687ede2f8b9591e8ecb2ac0f3476470737684)) | ||
* **textarea, timepicker, select:** improvements in textarea, select, timepicker ([ce02f62](https://github.com/freshworks/crayons/commit/ce02f62eaebc17a6fd5777fe408ce48bb9a5a1f9)) | ||
## [2.2.4](https://github.com/freshdesk/crayons/compare/v2.2.3...v2.2.4) (2020-06-23) | ||
## [2.2.4](https://github.com/freshworks/crayons/compare/v2.2.3...v2.2.4) (2020-06-23) | ||
@@ -48,5 +55,5 @@ | ||
* **tabs:** adds active index as an attribute/prop ([6f5cefb](https://github.com/freshdesk/crayons/commit/6f5cefb07183314fae1c3e16c14bb27eabaf4581)) | ||
* **tabs:** adds active index as an attribute/prop ([6f5cefb](https://github.com/freshworks/crayons/commit/6f5cefb07183314fae1c3e16c14bb27eabaf4581)) | ||
## [2.2.3](https://github.com/freshdesk/crayons/compare/v2.2.2...v2.2.3) (2020-06-22) | ||
## [2.2.3](https://github.com/freshworks/crayons/compare/v2.2.2...v2.2.3) (2020-06-22) | ||
@@ -56,5 +63,5 @@ | ||
* **checkbox, radio:** adds reflect property to keep sync of attributes and properties ([57bd15e](https://github.com/freshdesk/crayons/commit/57bd15ec8b21beb20c64ef5320819954907fa5f3)) | ||
* **checkbox, radio:** adds reflect property to keep sync of attributes and properties ([57bd15e](https://github.com/freshworks/crayons/commit/57bd15ec8b21beb20c64ef5320819954907fa5f3)) | ||
## [2.2.2](https://github.com/freshdesk/crayons/compare/v2.2.1...v2.2.2) (2020-06-19) | ||
## [2.2.2](https://github.com/freshworks/crayons/compare/v2.2.1...v2.2.2) (2020-06-19) | ||
@@ -64,5 +71,5 @@ | ||
* **tabs:** add customizations for color ([96bfac0](https://github.com/freshdesk/crayons/commit/96bfac098fe2780d7bca9467e41985f226b28c4e)) | ||
* **tabs:** add customizations for color ([96bfac0](https://github.com/freshworks/crayons/commit/96bfac098fe2780d7bca9467e41985f226b28c4e)) | ||
## [2.2.1](https://github.com/freshdesk/crayons/compare/v2.2.0...v2.2.1) (2020-06-17) | ||
## [2.2.1](https://github.com/freshworks/crayons/compare/v2.2.0...v2.2.1) (2020-06-17) | ||
@@ -72,5 +79,5 @@ | ||
* **tab:** fixes rendering when props of fw-tab is changed ([4d6a7f3](https://github.com/freshdesk/crayons/commit/4d6a7f3417f196101afd73fb3d7a775a3cf74ca7)) | ||
* **tab:** fixes rendering when props of fw-tab is changed ([4d6a7f3](https://github.com/freshworks/crayons/commit/4d6a7f3417f196101afd73fb3d7a775a3cf74ca7)) | ||
# [2.2.0](https://github.com/freshdesk/crayons/compare/v2.1.1...v2.2.0) (2020-06-17) | ||
# [2.2.0](https://github.com/freshworks/crayons/compare/v2.1.1...v2.2.0) (2020-06-17) | ||
@@ -80,3 +87,3 @@ | ||
* **tabs:** re-render on attribute change in `fw-tab` ([cc53bd4](https://github.com/freshdesk/crayons/commit/cc53bd4ba8c385541558aad97268e1c6db8a8746)) | ||
* **tabs:** re-render on attribute change in `fw-tab` ([cc53bd4](https://github.com/freshworks/crayons/commit/cc53bd4ba8c385541558aad97268e1c6db8a8746)) | ||
@@ -86,5 +93,5 @@ | ||
* **tabs:** added disable and tabHeaderHtml capability ([4ec6be8](https://github.com/freshdesk/crayons/commit/4ec6be8ab60855466a09b756fabd0de181399c68)) | ||
* **tabs:** added disable and tabHeaderHtml capability ([4ec6be8](https://github.com/freshworks/crayons/commit/4ec6be8ab60855466a09b756fabd0de181399c68)) | ||
## [2.1.1](https://github.com/freshdesk/crayons/compare/v2.1.0...v2.1.1) (2020-05-27) | ||
## [2.1.1](https://github.com/freshworks/crayons/compare/v2.1.0...v2.1.1) (2020-05-27) | ||
@@ -94,5 +101,5 @@ | ||
* **select.tsx, select.scss:** fixed UI bugs for next line input ([151671d](https://github.com/freshdesk/crayons/commit/151671d9791169be9ef0740f477dec542743554f)) | ||
* **select.tsx, select.scss:** fixed UI bugs for next line input ([151671d](https://github.com/freshworks/crayons/commit/151671d9791169be9ef0740f477dec542743554f)) | ||
# [2.1.0](https://github.com/freshdesk/crayons/compare/v2.0.4...v2.1.0) (2020-05-22) | ||
# [2.1.0](https://github.com/freshworks/crayons/compare/v2.0.4...v2.1.0) (2020-05-22) | ||
@@ -102,6 +109,6 @@ | ||
* **tabs:** react to changes within fw-tabs ([c1fe804](https://github.com/freshdesk/crayons/commit/c1fe804dc27b38333ebf9fa01e3b4df038425c0a)) | ||
* month Year Dropdown ([8ac0322](https://github.com/freshdesk/crayons/commit/8ac0322895e4c91e381b9a3e425478c303f9923e)) | ||
* select component default value fix ([7be93c5](https://github.com/freshdesk/crayons/commit/7be93c5d5f1e5e5c94604d58d4c84afd2d36260f)) | ||
* style and default value fix ([dda833f](https://github.com/freshdesk/crayons/commit/dda833f3f5440a3fde480131f861f0d11b39f4f1)) | ||
* **tabs:** react to changes within fw-tabs ([c1fe804](https://github.com/freshworks/crayons/commit/c1fe804dc27b38333ebf9fa01e3b4df038425c0a)) | ||
* month Year Dropdown ([8ac0322](https://github.com/freshworks/crayons/commit/8ac0322895e4c91e381b9a3e425478c303f9923e)) | ||
* select component default value fix ([7be93c5](https://github.com/freshworks/crayons/commit/7be93c5d5f1e5e5c94604d58d4c84afd2d36260f)) | ||
* style and default value fix ([dda833f](https://github.com/freshworks/crayons/commit/dda833f3f5440a3fde480131f861f0d11b39f4f1)) | ||
@@ -111,5 +118,5 @@ | ||
* **datepicker:** adding Datepicker component ([9208e76](https://github.com/freshdesk/crayons/commit/9208e765ce161edbce3ca497521c8c06bc946f1f)) | ||
* **datepicker:** adding Datepicker component ([9208e76](https://github.com/freshworks/crayons/commit/9208e765ce161edbce3ca497521c8c06bc946f1f)) | ||
## [2.0.5](https://github.com/freshdesk/crayons/compare/v2.0.4...v2.0.5) (2020-05-22) | ||
## [2.0.5](https://github.com/freshworks/crayons/compare/v2.0.4...v2.0.5) (2020-05-22) | ||
@@ -119,5 +126,5 @@ | ||
* **tabs:** react to changes within fw-tabs ([c1fe804](https://github.com/freshdesk/crayons/commit/c1fe804dc27b38333ebf9fa01e3b4df038425c0a)) | ||
* **tabs:** react to changes within fw-tabs ([c1fe804](https://github.com/freshworks/crayons/commit/c1fe804dc27b38333ebf9fa01e3b4df038425c0a)) | ||
## [2.0.5](https://github.com/freshdesk/crayons/compare/v2.0.4...v2.0.5) (2020-05-19) | ||
## [2.0.5](https://github.com/freshworks/crayons/compare/v2.0.4...v2.0.5) (2020-05-19) | ||
@@ -127,5 +134,5 @@ | ||
* **tabs:** react to changes within fw-tabs ([cbd2895](https://github.com/freshdesk/crayons/commit/cbd2895c940708ddee50f7634a276b44b4478fca)) | ||
* **tabs:** react to changes within fw-tabs ([cbd2895](https://github.com/freshworks/crayons/commit/cbd2895c940708ddee50f7634a276b44b4478fca)) | ||
## [2.0.4](https://github.com/freshdesk/crayons/compare/v2.0.3...v2.0.4) (2020-05-07) | ||
## [2.0.4](https://github.com/freshworks/crayons/compare/v2.0.3...v2.0.4) (2020-05-07) | ||
@@ -135,5 +142,5 @@ | ||
* **textarea:** fixes default textarea width to be 100% ([b475c35](https://github.com/freshdesk/crayons/commit/b475c3585755a901865429afeb761bc92f99194e)), closes [#30](https://github.com/freshdesk/crayons/issues/30) | ||
* **textarea:** fixes default textarea width to be 100% ([b475c35](https://github.com/freshworks/crayons/commit/b475c3585755a901865429afeb761bc92f99194e)), closes [#30](https://github.com/freshworks/crayons/issues/30) | ||
## [2.0.3](https://github.com/freshdesk/crayons/compare/v2.0.2...v2.0.3) (2020-05-06) | ||
## [2.0.3](https://github.com/freshworks/crayons/compare/v2.0.2...v2.0.3) (2020-05-06) | ||
@@ -143,5 +150,5 @@ | ||
* **select:** fixes select ([93cea4f](https://github.com/freshdesk/crayons/commit/93cea4f9aed40f0d08b936eefe7f35cee4a65290)) | ||
* **select:** fixes select ([93cea4f](https://github.com/freshworks/crayons/commit/93cea4f9aed40f0d08b936eefe7f35cee4a65290)) | ||
## [2.0.2](https://github.com/freshdesk/crayons/compare/v2.0.1...v2.0.2) (2020-05-06) | ||
## [2.0.2](https://github.com/freshworks/crayons/compare/v2.0.1...v2.0.2) (2020-05-06) | ||
@@ -151,5 +158,5 @@ | ||
* **select:** fixes error and warning css for select ([c9739fe](https://github.com/freshdesk/crayons/commit/c9739fe35e921a18ecbc660413e70a11b05dbffa)), closes [#74](https://github.com/freshdesk/crayons/issues/74) | ||
* **select:** fixes error and warning css for select ([c9739fe](https://github.com/freshworks/crayons/commit/c9739fe35e921a18ecbc660413e70a11b05dbffa)), closes [#74](https://github.com/freshworks/crayons/issues/74) | ||
## [2.0.1](https://github.com/freshdesk/crayons/compare/v2.0.0...v2.0.1) (2020-05-06) | ||
## [2.0.1](https://github.com/freshworks/crayons/compare/v2.0.0...v2.0.1) (2020-05-06) | ||
@@ -159,5 +166,5 @@ | ||
* **select:** fixes Select bug that caused `fwChange` not to be fired for last multi-select option ([650c205](https://github.com/freshdesk/crayons/commit/650c205022a148697235594eeb223fc2b03a2ce8)), closes [#68](https://github.com/freshdesk/crayons/issues/68) | ||
* **select:** fixes Select bug that caused `fwChange` not to be fired for last multi-select option ([650c205](https://github.com/freshworks/crayons/commit/650c205022a148697235594eeb223fc2b03a2ce8)), closes [#68](https://github.com/freshworks/crayons/issues/68) | ||
# [2.0.0](https://github.com/freshdesk/crayons/compare/v1.1.0...v2.0.0) (2020-05-06) | ||
# [2.0.0](https://github.com/freshworks/crayons/compare/v1.1.0...v2.0.0) (2020-05-06) | ||
@@ -167,3 +174,3 @@ | ||
* documents ([42055c2](https://github.com/freshdesk/crayons/commit/42055c202ea1dc34601c9c2ffc3bf924b09dcee1)) | ||
* documents ([42055c2](https://github.com/freshworks/crayons/commit/42055c202ea1dc34601c9c2ffc3bf924b09dcee1)) | ||
@@ -175,3 +182,3 @@ | ||
# [1.1.0](https://github.com/freshdesk/crayons/compare/v1.0.1...v1.1.0) (2020-04-29) | ||
# [1.1.0](https://github.com/freshworks/crayons/compare/v1.0.1...v1.1.0) (2020-04-29) | ||
@@ -181,5 +188,5 @@ | ||
* **fw-select-options, fw-select, fw-tag:** added 'disabled' state to fw-select options ([d15eb0f](https://github.com/freshdesk/crayons/commit/d15eb0fb5900f8839cd8a3887e70246d3990eef4)) | ||
* **fw-select-options, fw-select, fw-tag:** added 'disabled' state to fw-select options ([d15eb0f](https://github.com/freshworks/crayons/commit/d15eb0fb5900f8839cd8a3887e70246d3990eef4)) | ||
## [1.0.1](https://github.com/freshdesk/crayons/compare/v1.0.0...v1.0.1) (2020-04-15) | ||
## [1.0.1](https://github.com/freshworks/crayons/compare/v1.0.0...v1.0.1) (2020-04-15) | ||
@@ -189,3 +196,3 @@ | ||
* **tabs:** fixes initial render for Tabs component ([7ffe365](https://github.com/freshdesk/crayons/commit/7ffe365e166455ce0bf06358da7607b517c7985a)) | ||
* **tabs:** fixes initial render for Tabs component ([7ffe365](https://github.com/freshworks/crayons/commit/7ffe365e166455ce0bf06358da7607b517c7985a)) | ||
@@ -197,3 +204,3 @@ # 1.0.0 (2020-04-15) | ||
* **tab, tabs:** fixes querying nested components ([0f7e9e2](https://github.com/freshdesk/crayons/commit/0f7e9e2a4ab784b8d00a3db7956f2f587891a34f)) | ||
* **tab, tabs:** fixes querying nested components ([0f7e9e2](https://github.com/freshworks/crayons/commit/0f7e9e2a4ab784b8d00a3db7956f2f587891a34f)) | ||
@@ -203,2 +210,2 @@ | ||
* reverting Tokens ([e2f2b9a](https://github.com/freshdesk/crayons/commit/e2f2b9aa425e6292213697ba835ba876fb3d338c)) | ||
* reverting Tokens ([e2f2b9a](https://github.com/freshworks/crayons/commit/e2f2b9aa425e6292213697ba835ba876fb3d338c)) |
@@ -30,3 +30,3 @@ 'use strict'; | ||
init() { | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')); | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')).filter(node => node.parentNode === this.el); | ||
this.displayTab(this.activeTabIndex); | ||
@@ -33,0 +33,0 @@ } |
@@ -23,3 +23,3 @@ import { h } from "@stencil/core"; | ||
init() { | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')); | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')).filter(node => node.parentNode === this.el); | ||
this.displayTab(this.activeTabIndex); | ||
@@ -26,0 +26,0 @@ } |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as t}from"./p-9aee3588.js";e().then(e=>t([["p-nmxpdfzb",[[1,"fw-checkbox",{checked:[1540],disabled:[1540],label:[1],value:[1]}]]],["p-9wp24d4j",[[1,"fw-label",{color:[1],value:[1]}]]],["p-rsrnfh3a",[[1,"fw-radio",{checked:[1540],disabled:[1540],label:[1],value:[1],name:[1]}]]],["p-ledfiee9",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-t5nvwbh2",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-gjdruyzy",[[1,"fw-tab",{tabHeader:[1,"tab-header"],tabHeaderHtml:[1,"tab-header-html"],disabled:[4]}]]],["p-qvhjcxva",[[1,"fw-tabs",{activeTabIndex:[1538,"active-tab-index"],tabs:[32],activeChildClass:[32]},[[0,"propChanged","init"]]]]],["p-cpgt5xcb",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-2kzdu0of",[[1,"fw-datepicker",{mode:[1],minDate:[1,"min-date"],maxDate:[1,"max-date"],fromDate:[1025,"from-date"],toDate:[1025,"to-date"],dateFormat:[1,"date-format"],value:[1025],placeholder:[1],showDatePicker:[32],year:[32],toYear:[32],monthDetails:[32],nextMonthDetails:[32],month:[32],todayTimestamp:[32],selectedDay:[32],startDate:[32],endDate:[32],startDateFormatted:[32],endDateFormatted:[32],dateHovered:[32],supportedYears:[32],toMonth:[32]},[[0,"fwFocus","displayDatePicker"],[0,"fwClick","handleButtonClick"],[0,"fwChange","handleMonthYearDropDownSelection"]]],[1,"fw-timepicker",{format:[1],disabled:[4],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[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]}],[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]}],[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-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}],[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)); | ||
import{p as e,b as t}from"./p-9aee3588.js";e().then(e=>t([["p-nmxpdfzb",[[1,"fw-checkbox",{checked:[1540],disabled:[1540],label:[1],value:[1]}]]],["p-9wp24d4j",[[1,"fw-label",{color:[1],value:[1]}]]],["p-rsrnfh3a",[[1,"fw-radio",{checked:[1540],disabled:[1540],label:[1],value:[1],name:[1]}]]],["p-ledfiee9",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-t5nvwbh2",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-gjdruyzy",[[1,"fw-tab",{tabHeader:[1,"tab-header"],tabHeaderHtml:[1,"tab-header-html"],disabled:[4]}]]],["p-au2qaos2",[[1,"fw-tabs",{activeTabIndex:[1538,"active-tab-index"],tabs:[32],activeChildClass:[32]},[[0,"propChanged","init"]]]]],["p-cpgt5xcb",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-2kzdu0of",[[1,"fw-datepicker",{mode:[1],minDate:[1,"min-date"],maxDate:[1,"max-date"],fromDate:[1025,"from-date"],toDate:[1025,"to-date"],dateFormat:[1,"date-format"],value:[1025],placeholder:[1],showDatePicker:[32],year:[32],toYear:[32],monthDetails:[32],nextMonthDetails:[32],month:[32],todayTimestamp:[32],selectedDay:[32],startDate:[32],endDate:[32],startDateFormatted:[32],endDateFormatted:[32],dateHovered:[32],supportedYears:[32],toMonth:[32]},[[0,"fwFocus","displayDatePicker"],[0,"fwClick","handleButtonClick"],[0,"fwChange","handleMonthYearDropDownSelection"]]],[1,"fw-timepicker",{format:[1],disabled:[4],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[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]}],[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]}],[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-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}],[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-fa491ce6.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-xvt2q6j4.system",[[1,"fw-checkbox",{checked:[1540],disabled:[1540],label:[1],value:[1]}]]],["p-qng8sxgn.system",[[1,"fw-label",{color:[1],value:[1]}]]],["p-r1vpeunr.system",[[1,"fw-radio",{checked:[1540],disabled:[1540],label:[1],value:[1],name:[1]}]]],["p-frzibquo.system",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-dijmawkm.system",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-r48ia1qt.system",[[1,"fw-tab",{tabHeader:[1,"tab-header"],tabHeaderHtml:[1,"tab-header-html"],disabled:[4]}]]],["p-qs6suhgk.system",[[1,"fw-tabs",{activeTabIndex:[1538,"active-tab-index"],tabs:[32],activeChildClass:[32]},[[0,"propChanged","init"]]]]],["p-l6smlvqt.system",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-cya9ypx5.system",[[1,"fw-datepicker",{mode:[1],minDate:[1,"min-date"],maxDate:[1,"max-date"],fromDate:[1025,"from-date"],toDate:[1025,"to-date"],dateFormat:[1,"date-format"],value:[1025],placeholder:[1],showDatePicker:[32],year:[32],toYear:[32],monthDetails:[32],nextMonthDetails:[32],month:[32],todayTimestamp:[32],selectedDay:[32],startDate:[32],endDate:[32],startDateFormatted:[32],endDateFormatted:[32],dateHovered:[32],supportedYears:[32],toMonth:[32]},[[0,"fwFocus","displayDatePicker"],[0,"fwClick","handleButtonClick"],[0,"fwChange","handleMonthYearDropDownSelection"]]],[1,"fw-timepicker",{format:[1],disabled:[4],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[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]}],[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]}],[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-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}],[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)}))}}})); | ||
System.register(["./p-fa491ce6.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-xvt2q6j4.system",[[1,"fw-checkbox",{checked:[1540],disabled:[1540],label:[1],value:[1]}]]],["p-qng8sxgn.system",[[1,"fw-label",{color:[1],value:[1]}]]],["p-r1vpeunr.system",[[1,"fw-radio",{checked:[1540],disabled:[1540],label:[1],value:[1],name:[1]}]]],["p-frzibquo.system",[[0,"fw-radio-group",{allowEmpty:[4,"allow-empty"],name:[1],value:[1032]}]]],["p-dijmawkm.system",[[1,"fw-spinner",{size:[1],color:[1]}]]],["p-r48ia1qt.system",[[1,"fw-tab",{tabHeader:[1,"tab-header"],tabHeaderHtml:[1,"tab-header-html"],disabled:[4]}]]],["p-k0jvgepn.system",[[1,"fw-tabs",{activeTabIndex:[1538,"active-tab-index"],tabs:[32],activeChildClass:[32]},[[0,"propChanged","init"]]]]],["p-l6smlvqt.system",[[1,"fw-toggle",{checked:[4],size:[1],name:[1],disabled:[4]}]]],["p-cya9ypx5.system",[[1,"fw-datepicker",{mode:[1],minDate:[1,"min-date"],maxDate:[1,"max-date"],fromDate:[1025,"from-date"],toDate:[1025,"to-date"],dateFormat:[1,"date-format"],value:[1025],placeholder:[1],showDatePicker:[32],year:[32],toYear:[32],monthDetails:[32],nextMonthDetails:[32],month:[32],todayTimestamp:[32],selectedDay:[32],startDate:[32],endDate:[32],startDateFormatted:[32],endDateFormatted:[32],dateHovered:[32],supportedYears:[32],toMonth:[32]},[[0,"fwFocus","displayDatePicker"],[0,"fwClick","handleButtonClick"],[0,"fwChange","handleMonthYearDropDownSelection"]]],[1,"fw-timepicker",{format:[1],disabled:[4],value:[1025],interval:[2],minTime:[1,"min-time"],maxTime:[1,"max-time"],timeValues:[32],isMeridianFormat:[32],isDefaultEndTime:[32]}],[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]}],[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]}],[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-icon",{name:[1],size:[2],color:[1],svgHTML:[32]}],[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)}))}}})); |
@@ -25,3 +25,4 @@ import { r as registerInstance, c as createEvent, h, d as getElement } from './index-ec8b6351.js'; | ||
Tabs.prototype.init = function () { | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')); | ||
var _this = this; | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')).filter(function (node) { return node.parentNode === _this.el; }); | ||
this.displayTab(this.activeTabIndex); | ||
@@ -28,0 +29,0 @@ }; |
@@ -26,3 +26,3 @@ import { r as registerInstance, c as createEvent, h, d as getElement } from './index-ec8b6351.js'; | ||
init() { | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')); | ||
this.tabs = Array.from(this.el.querySelectorAll('fw-tab')).filter(node => node.parentNode === this.el); | ||
this.displayTab(this.activeTabIndex); | ||
@@ -29,0 +29,0 @@ } |
@@ -8,3 +8,3 @@ { | ||
"type": "git", | ||
"url": "https://github.com/freshdesk/crayons.git" | ||
"url": "https://github.com/freshworks/crayons.git" | ||
}, | ||
@@ -19,3 +19,3 @@ "keywords": [ | ||
"author": "Freshworks Inc", | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"description": "Crayons for Developer Platform", | ||
@@ -138,5 +138,5 @@ "main": "dist/index.js", | ||
"bugs": { | ||
"url": "https://github.com/freshdesk/crayons/issues" | ||
"url": "https://github.com/freshworks/crayons/issues" | ||
}, | ||
"homepage": "https://github.com/freshdesk/crayons#readme" | ||
"homepage": "https://github.com/freshworks/crayons#readme" | ||
} |
![Release](https://github.com/freshdesk/crayons/workflows/Release/badge.svg) ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ![NPM](https://img.shields.io/npm/l/@freshworks/crayons) ![npm](https://img.shields.io/npm/dw/@freshworks/crayons) | ||
![Release](https://github.com/freshworks/crayons/workflows/Release/badge.svg) ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ![NPM](https://img.shields.io/npm/l/@freshworks/crayons) ![npm](https://img.shields.io/npm/dw/@freshworks/crayons) | ||
@@ -21,3 +21,3 @@ | ||
```bash | ||
git clone https://github.com/freshdesk/crayons | ||
git clone https://github.com/freshworks/crayons | ||
cd crayons | ||
@@ -24,0 +24,0 @@ npm install |
2653176
25434