@dialpad/dialtone-vue 3.36.0 → 3.37.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/README.md CHANGED
@@ -54,6 +54,10 @@ import { getEmojiData } from '@dialpad/dialtone-vue/emoji'
54
54
  const emojiData = getEmojiData();
55
55
  ```
56
56
 
57
+ ## Shadow DOM
58
+
59
+ If you are using Dialtone Vue within a shadow DOM set the `shadowRoot: YOUR_ELEMENT` option on your vue instance and the styles will be isolated to that element rather than rendered at the root.
60
+
57
61
  ## Contributing
58
62
 
59
63
  If you would like to contribute to Dialtone Vue the first step is to get the project running locally. Follow the below quickstart to do so.
@@ -313,7 +313,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tippy-box[data-popper-escaped] .d-too
313
313
 
314
314
  /***/ }),
315
315
 
316
- /***/ 647:
316
+ /***/ 432:
317
317
  /***/ ((module, __webpack_exports__, __webpack_require__) => {
318
318
 
319
319
  "use strict";
@@ -330,7 +330,7 @@ __webpack_require__.r(__webpack_exports__);
330
330
 
331
331
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
332
332
  // Module
333
- ___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--circle.d-btn--icon-only .d-btn__label{display:none}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}", ""]);
333
+ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--circle.d-btn--icon-only .d-btn__label{display:none}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}", ""]);
334
334
  // Exports
335
335
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
336
336
 
@@ -1566,9 +1566,11 @@ var content = __webpack_require__(951);
1566
1566
  if(content.__esModule) content = content.default;
1567
1567
  if(typeof content === 'string') content = [[module.id, content, '']];
1568
1568
  if(content.locals) module.exports = content.locals;
1569
- // add the styles to the DOM
1570
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1571
- var update = add("e1cef0bc", content, true, {"sourceMap":false,"shadowMode":false});
1569
+ // add CSS to Shadow Root
1570
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1571
+ module.exports.__inject__ = function (shadowRoot) {
1572
+ add("e1cef0bc", content, shadowRoot)
1573
+ };
1572
1574
 
1573
1575
  /***/ }),
1574
1576
 
@@ -1582,9 +1584,11 @@ var content = __webpack_require__(794);
1582
1584
  if(content.__esModule) content = content.default;
1583
1585
  if(typeof content === 'string') content = [[module.id, content, '']];
1584
1586
  if(content.locals) module.exports = content.locals;
1585
- // add the styles to the DOM
1586
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1587
- var update = add("7b0d71b4", content, true, {"sourceMap":false,"shadowMode":false});
1587
+ // add CSS to Shadow Root
1588
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1589
+ module.exports.__inject__ = function (shadowRoot) {
1590
+ add("7b0d71b4", content, shadowRoot)
1591
+ };
1588
1592
 
1589
1593
  /***/ }),
1590
1594
 
@@ -1598,9 +1602,11 @@ var content = __webpack_require__(869);
1598
1602
  if(content.__esModule) content = content.default;
1599
1603
  if(typeof content === 'string') content = [[module.id, content, '']];
1600
1604
  if(content.locals) module.exports = content.locals;
1601
- // add the styles to the DOM
1602
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1603
- var update = add("5ed8c6c8", content, true, {"sourceMap":false,"shadowMode":false});
1605
+ // add CSS to Shadow Root
1606
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1607
+ module.exports.__inject__ = function (shadowRoot) {
1608
+ add("5ed8c6c8", content, shadowRoot)
1609
+ };
1604
1610
 
1605
1611
  /***/ }),
1606
1612
 
@@ -1614,9 +1620,11 @@ var content = __webpack_require__(515);
1614
1620
  if(content.__esModule) content = content.default;
1615
1621
  if(typeof content === 'string') content = [[module.id, content, '']];
1616
1622
  if(content.locals) module.exports = content.locals;
1617
- // add the styles to the DOM
1618
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1619
- var update = add("4b0828d7", content, true, {"sourceMap":false,"shadowMode":false});
1623
+ // add CSS to Shadow Root
1624
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1625
+ module.exports.__inject__ = function (shadowRoot) {
1626
+ add("4b0828d7", content, shadowRoot)
1627
+ };
1620
1628
 
1621
1629
  /***/ }),
1622
1630
 
@@ -1630,9 +1638,11 @@ var content = __webpack_require__(317);
1630
1638
  if(content.__esModule) content = content.default;
1631
1639
  if(typeof content === 'string') content = [[module.id, content, '']];
1632
1640
  if(content.locals) module.exports = content.locals;
1633
- // add the styles to the DOM
1634
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1635
- var update = add("eb4c37f0", content, true, {"sourceMap":false,"shadowMode":false});
1641
+ // add CSS to Shadow Root
1642
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1643
+ module.exports.__inject__ = function (shadowRoot) {
1644
+ add("eb4c37f0", content, shadowRoot)
1645
+ };
1636
1646
 
1637
1647
  /***/ }),
1638
1648
 
@@ -1646,9 +1656,11 @@ var content = __webpack_require__(728);
1646
1656
  if(content.__esModule) content = content.default;
1647
1657
  if(typeof content === 'string') content = [[module.id, content, '']];
1648
1658
  if(content.locals) module.exports = content.locals;
1649
- // add the styles to the DOM
1650
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1651
- var update = add("0c78fb76", content, true, {"sourceMap":false,"shadowMode":false});
1659
+ // add CSS to Shadow Root
1660
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1661
+ module.exports.__inject__ = function (shadowRoot) {
1662
+ add("0c78fb76", content, shadowRoot)
1663
+ };
1652
1664
 
1653
1665
  /***/ }),
1654
1666
 
@@ -1662,9 +1674,11 @@ var content = __webpack_require__(399);
1662
1674
  if(content.__esModule) content = content.default;
1663
1675
  if(typeof content === 'string') content = [[module.id, content, '']];
1664
1676
  if(content.locals) module.exports = content.locals;
1665
- // add the styles to the DOM
1666
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1667
- var update = add("61c1a254", content, true, {"sourceMap":false,"shadowMode":false});
1677
+ // add CSS to Shadow Root
1678
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1679
+ module.exports.__inject__ = function (shadowRoot) {
1680
+ add("61c1a254", content, shadowRoot)
1681
+ };
1668
1682
 
1669
1683
  /***/ }),
1670
1684
 
@@ -1678,9 +1692,11 @@ var content = __webpack_require__(265);
1678
1692
  if(content.__esModule) content = content.default;
1679
1693
  if(typeof content === 'string') content = [[module.id, content, '']];
1680
1694
  if(content.locals) module.exports = content.locals;
1681
- // add the styles to the DOM
1682
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1683
- var update = add("4d925410", content, true, {"sourceMap":false,"shadowMode":false});
1695
+ // add CSS to Shadow Root
1696
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1697
+ module.exports.__inject__ = function (shadowRoot) {
1698
+ add("4d925410", content, shadowRoot)
1699
+ };
1684
1700
 
1685
1701
  /***/ }),
1686
1702
 
@@ -1694,9 +1710,11 @@ var content = __webpack_require__(273);
1694
1710
  if(content.__esModule) content = content.default;
1695
1711
  if(typeof content === 'string') content = [[module.id, content, '']];
1696
1712
  if(content.locals) module.exports = content.locals;
1697
- // add the styles to the DOM
1698
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1699
- var update = add("5f7d7664", content, true, {"sourceMap":false,"shadowMode":false});
1713
+ // add CSS to Shadow Root
1714
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1715
+ module.exports.__inject__ = function (shadowRoot) {
1716
+ add("5f7d7664", content, shadowRoot)
1717
+ };
1700
1718
 
1701
1719
  /***/ }),
1702
1720
 
@@ -1710,9 +1728,11 @@ var content = __webpack_require__(298);
1710
1728
  if(content.__esModule) content = content.default;
1711
1729
  if(typeof content === 'string') content = [[module.id, content, '']];
1712
1730
  if(content.locals) module.exports = content.locals;
1713
- // add the styles to the DOM
1714
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1715
- var update = add("0868b640", content, true, {"sourceMap":false,"shadowMode":false});
1731
+ // add CSS to Shadow Root
1732
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1733
+ module.exports.__inject__ = function (shadowRoot) {
1734
+ add("0868b640", content, shadowRoot)
1735
+ };
1716
1736
 
1717
1737
  /***/ }),
1718
1738
 
@@ -1726,9 +1746,11 @@ var content = __webpack_require__(691);
1726
1746
  if(content.__esModule) content = content.default;
1727
1747
  if(typeof content === 'string') content = [[module.id, content, '']];
1728
1748
  if(content.locals) module.exports = content.locals;
1729
- // add the styles to the DOM
1730
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1731
- var update = add("578174fd", content, true, {"sourceMap":false,"shadowMode":false});
1749
+ // add CSS to Shadow Root
1750
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1751
+ module.exports.__inject__ = function (shadowRoot) {
1752
+ add("578174fd", content, shadowRoot)
1753
+ };
1732
1754
 
1733
1755
  /***/ }),
1734
1756
 
@@ -1742,9 +1764,11 @@ var content = __webpack_require__(141);
1742
1764
  if(content.__esModule) content = content.default;
1743
1765
  if(typeof content === 'string') content = [[module.id, content, '']];
1744
1766
  if(content.locals) module.exports = content.locals;
1745
- // add the styles to the DOM
1746
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1747
- var update = add("3230f382", content, true, {"sourceMap":false,"shadowMode":false});
1767
+ // add CSS to Shadow Root
1768
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1769
+ module.exports.__inject__ = function (shadowRoot) {
1770
+ add("3230f382", content, shadowRoot)
1771
+ };
1748
1772
 
1749
1773
  /***/ }),
1750
1774
 
@@ -1758,25 +1782,29 @@ var content = __webpack_require__(6);
1758
1782
  if(content.__esModule) content = content.default;
1759
1783
  if(typeof content === 'string') content = [[module.id, content, '']];
1760
1784
  if(content.locals) module.exports = content.locals;
1761
- // add the styles to the DOM
1762
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1763
- var update = add("6f07a584", content, true, {"sourceMap":false,"shadowMode":false});
1785
+ // add CSS to Shadow Root
1786
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1787
+ module.exports.__inject__ = function (shadowRoot) {
1788
+ add("6f07a584", content, shadowRoot)
1789
+ };
1764
1790
 
1765
1791
  /***/ }),
1766
1792
 
1767
- /***/ 980:
1793
+ /***/ 924:
1768
1794
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1769
1795
 
1770
1796
  // style-loader: Adds some css to the DOM by adding a <style> tag
1771
1797
 
1772
1798
  // load the styles
1773
- var content = __webpack_require__(647);
1799
+ var content = __webpack_require__(432);
1774
1800
  if(content.__esModule) content = content.default;
1775
1801
  if(typeof content === 'string') content = [[module.id, content, '']];
1776
1802
  if(content.locals) module.exports = content.locals;
1777
- // add the styles to the DOM
1778
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1779
- var update = add("4994410c", content, true, {"sourceMap":false,"shadowMode":false});
1803
+ // add CSS to Shadow Root
1804
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1805
+ module.exports.__inject__ = function (shadowRoot) {
1806
+ add("c1fd4b12", content, shadowRoot)
1807
+ };
1780
1808
 
1781
1809
  /***/ }),
1782
1810
 
@@ -1790,9 +1818,11 @@ var content = __webpack_require__(297);
1790
1818
  if(content.__esModule) content = content.default;
1791
1819
  if(typeof content === 'string') content = [[module.id, content, '']];
1792
1820
  if(content.locals) module.exports = content.locals;
1793
- // add the styles to the DOM
1794
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1795
- var update = add("1d7a8b7e", content, true, {"sourceMap":false,"shadowMode":false});
1821
+ // add CSS to Shadow Root
1822
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1823
+ module.exports.__inject__ = function (shadowRoot) {
1824
+ add("1d7a8b7e", content, shadowRoot)
1825
+ };
1796
1826
 
1797
1827
  /***/ }),
1798
1828
 
@@ -1806,9 +1836,11 @@ var content = __webpack_require__(568);
1806
1836
  if(content.__esModule) content = content.default;
1807
1837
  if(typeof content === 'string') content = [[module.id, content, '']];
1808
1838
  if(content.locals) module.exports = content.locals;
1809
- // add the styles to the DOM
1810
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1811
- var update = add("6a465747", content, true, {"sourceMap":false,"shadowMode":false});
1839
+ // add CSS to Shadow Root
1840
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1841
+ module.exports.__inject__ = function (shadowRoot) {
1842
+ add("6a465747", content, shadowRoot)
1843
+ };
1812
1844
 
1813
1845
  /***/ }),
1814
1846
 
@@ -1822,20 +1854,22 @@ var content = __webpack_require__(406);
1822
1854
  if(content.__esModule) content = content.default;
1823
1855
  if(typeof content === 'string') content = [[module.id, content, '']];
1824
1856
  if(content.locals) module.exports = content.locals;
1825
- // add the styles to the DOM
1826
- var add = (__webpack_require__(402)/* ["default"] */ .Z)
1827
- var update = add("074f9abe", content, true, {"sourceMap":false,"shadowMode":false});
1857
+ // add CSS to Shadow Root
1858
+ var add = (__webpack_require__(339)/* ["default"] */ .Z)
1859
+ module.exports.__inject__ = function (shadowRoot) {
1860
+ add("074f9abe", content, shadowRoot)
1861
+ };
1828
1862
 
1829
1863
  /***/ }),
1830
1864
 
1831
- /***/ 402:
1865
+ /***/ 339:
1832
1866
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1833
1867
 
1834
1868
  "use strict";
1835
1869
 
1836
1870
  // EXPORTS
1837
1871
  __webpack_require__.d(__webpack_exports__, {
1838
- "Z": () => (/* binding */ addStylesClient)
1872
+ "Z": () => (/* binding */ addStylesToShadowDOM)
1839
1873
  });
1840
1874
 
1841
1875
  ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
@@ -1867,23 +1901,12 @@ function listToStyles (parentId, list) {
1867
1901
  return styles
1868
1902
  }
1869
1903
 
1870
- ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
1871
- /*
1872
- MIT License http://www.opensource.org/licenses/mit-license.php
1873
- Author Tobias Koppers @sokra
1874
- Modified by Evan You @yyx990803
1875
- */
1876
-
1877
-
1904
+ ;// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesShadow.js
1878
1905
 
1879
- var hasDocument = typeof document !== 'undefined'
1880
1906
 
1881
- if (typeof DEBUG !== 'undefined' && DEBUG) {
1882
- if (!hasDocument) {
1883
- throw new Error(
1884
- 'vue-style-loader cannot be used in a non-browser environment. ' +
1885
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
1886
- ) }
1907
+ function addStylesToShadowDOM (parentId, list, shadowRoot) {
1908
+ var styles = listToStyles(parentId, list)
1909
+ addStyles(styles, shadowRoot)
1887
1910
  }
1888
1911
 
1889
1912
  /*
@@ -1899,169 +1922,31 @@ type StyleObjectPart = {
1899
1922
  }
1900
1923
  */
1901
1924
 
1902
- var stylesInDom = {/*
1903
- [id: number]: {
1904
- id: number,
1905
- refs: number,
1906
- parts: Array<(obj?: StyleObjectPart) => void>
1907
- }
1908
- */}
1909
-
1910
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
1911
- var singletonElement = null
1912
- var singletonCounter = 0
1913
- var isProduction = false
1914
- var noop = function () {}
1915
- var options = null
1916
- var ssrIdKey = 'data-vue-ssr-id'
1917
-
1918
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
1919
- // tags it will allow on a page
1920
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
1921
-
1922
- function addStylesClient (parentId, list, _isProduction, _options) {
1923
- isProduction = _isProduction
1924
-
1925
- options = _options || {}
1926
-
1927
- var styles = listToStyles(parentId, list)
1928
- addStylesToDom(styles)
1929
-
1930
- return function update (newList) {
1931
- var mayRemove = []
1932
- for (var i = 0; i < styles.length; i++) {
1933
- var item = styles[i]
1934
- var domStyle = stylesInDom[item.id]
1935
- domStyle.refs--
1936
- mayRemove.push(domStyle)
1937
- }
1938
- if (newList) {
1939
- styles = listToStyles(parentId, newList)
1940
- addStylesToDom(styles)
1941
- } else {
1942
- styles = []
1943
- }
1944
- for (var i = 0; i < mayRemove.length; i++) {
1945
- var domStyle = mayRemove[i]
1946
- if (domStyle.refs === 0) {
1947
- for (var j = 0; j < domStyle.parts.length; j++) {
1948
- domStyle.parts[j]()
1949
- }
1950
- delete stylesInDom[domStyle.id]
1951
- }
1952
- }
1953
- }
1954
- }
1955
-
1956
- function addStylesToDom (styles /* Array<StyleObject> */) {
1925
+ function addStyles (styles /* Array<StyleObject> */, shadowRoot) {
1926
+ const injectedStyles =
1927
+ shadowRoot._injectedStyles ||
1928
+ (shadowRoot._injectedStyles = {})
1957
1929
  for (var i = 0; i < styles.length; i++) {
1958
1930
  var item = styles[i]
1959
- var domStyle = stylesInDom[item.id]
1960
- if (domStyle) {
1961
- domStyle.refs++
1962
- for (var j = 0; j < domStyle.parts.length; j++) {
1963
- domStyle.parts[j](item.parts[j])
1964
- }
1965
- for (; j < item.parts.length; j++) {
1966
- domStyle.parts.push(addStyle(item.parts[j]))
1967
- }
1968
- if (domStyle.parts.length > item.parts.length) {
1969
- domStyle.parts.length = item.parts.length
1970
- }
1971
- } else {
1972
- var parts = []
1931
+ var style = injectedStyles[item.id]
1932
+ if (!style) {
1973
1933
  for (var j = 0; j < item.parts.length; j++) {
1974
- parts.push(addStyle(item.parts[j]))
1934
+ addStyle(item.parts[j], shadowRoot)
1975
1935
  }
1976
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
1936
+ injectedStyles[item.id] = true
1977
1937
  }
1978
1938
  }
1979
1939
  }
1980
1940
 
1981
- function createStyleElement () {
1941
+ function createStyleElement (shadowRoot) {
1982
1942
  var styleElement = document.createElement('style')
1983
1943
  styleElement.type = 'text/css'
1984
- head.appendChild(styleElement)
1944
+ shadowRoot.appendChild(styleElement)
1985
1945
  return styleElement
1986
1946
  }
1987
1947
 
1988
- function addStyle (obj /* StyleObjectPart */) {
1989
- var update, remove
1990
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
1991
-
1992
- if (styleElement) {
1993
- if (isProduction) {
1994
- // has SSR styles and in production mode.
1995
- // simply do nothing.
1996
- return noop
1997
- } else {
1998
- // has SSR styles but in dev mode.
1999
- // for some reason Chrome can't handle source map in server-rendered
2000
- // style tags - source maps in <style> only works if the style tag is
2001
- // created and inserted dynamically. So we remove the server rendered
2002
- // styles and inject new ones.
2003
- styleElement.parentNode.removeChild(styleElement)
2004
- }
2005
- }
2006
-
2007
- if (isOldIE) {
2008
- // use singleton mode for IE9.
2009
- var styleIndex = singletonCounter++
2010
- styleElement = singletonElement || (singletonElement = createStyleElement())
2011
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
2012
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
2013
- } else {
2014
- // use multi-style-tag mode in all other cases
2015
- styleElement = createStyleElement()
2016
- update = applyToTag.bind(null, styleElement)
2017
- remove = function () {
2018
- styleElement.parentNode.removeChild(styleElement)
2019
- }
2020
- }
2021
-
2022
- update(obj)
2023
-
2024
- return function updateStyle (newObj /* StyleObjectPart */) {
2025
- if (newObj) {
2026
- if (newObj.css === obj.css &&
2027
- newObj.media === obj.media &&
2028
- newObj.sourceMap === obj.sourceMap) {
2029
- return
2030
- }
2031
- update(obj = newObj)
2032
- } else {
2033
- remove()
2034
- }
2035
- }
2036
- }
2037
-
2038
- var replaceText = (function () {
2039
- var textStore = []
2040
-
2041
- return function (index, replacement) {
2042
- textStore[index] = replacement
2043
- return textStore.filter(Boolean).join('\n')
2044
- }
2045
- })()
2046
-
2047
- function applyToSingletonTag (styleElement, index, remove, obj) {
2048
- var css = remove ? '' : obj.css
2049
-
2050
- if (styleElement.styleSheet) {
2051
- styleElement.styleSheet.cssText = replaceText(index, css)
2052
- } else {
2053
- var cssNode = document.createTextNode(css)
2054
- var childNodes = styleElement.childNodes
2055
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
2056
- if (childNodes.length) {
2057
- styleElement.insertBefore(cssNode, childNodes[index])
2058
- } else {
2059
- styleElement.appendChild(cssNode)
2060
- }
2061
- }
2062
- }
2063
-
2064
- function applyToTag (styleElement, obj) {
1948
+ function addStyle (obj /* StyleObjectPart */, shadowRoot) {
1949
+ var styleElement = createStyleElement(shadowRoot)
2065
1950
  var css = obj.css
2066
1951
  var media = obj.media
2067
1952
  var sourceMap = obj.sourceMap
@@ -2069,9 +1954,6 @@ function applyToTag (styleElement, obj) {
2069
1954
  if (media) {
2070
1955
  styleElement.setAttribute('media', media)
2071
1956
  }
2072
- if (options.ssrId) {
2073
- styleElement.setAttribute(ssrIdKey, obj.id)
2074
- }
2075
1957
 
2076
1958
  if (sourceMap) {
2077
1959
  // https://developer.chrome.com/devtools/docs/javascript-debugging
@@ -20225,9 +20107,9 @@ const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */
20225
20107
  ;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
20226
20108
 
20227
20109
 
20228
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=e4ef387c
20110
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=8f55595a
20229
20111
 
20230
- function callbar_buttonvue_type_template_id_e4ef387c_render(_ctx, _cache, $props, $setup, $data, $options) {
20112
+ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props, $setup, $data, $options) {
20231
20113
  const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
20232
20114
 
20233
20115
  const _component_dt_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-tooltip");
@@ -20254,7 +20136,7 @@ function callbar_buttonvue_type_template_id_e4ef387c_render(_ctx, _cache, $props
20254
20136
  _: 3
20255
20137
  }, 8, ["id"]);
20256
20138
  }
20257
- ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=e4ef387c
20139
+ ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=8f55595a
20258
20140
 
20259
20141
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
20260
20142
 
@@ -20343,7 +20225,7 @@ function callbar_buttonvue_type_template_id_e4ef387c_render(_ctx, _cache, $props
20343
20225
  },
20344
20226
  computed: {
20345
20227
  callbarButtonClass() {
20346
- return [this.buttonClass, 'dt-recipe-callbar-button', 'd-stack4', 'd-px0', 'h:d-bgc-black-200', 'h:d-bgo50', {
20228
+ return [this.buttonClass, 'dt-recipe-callbar-button', 'd-px0', {
20347
20229
  'dt-recipe-callbar-button--circle': this.circle,
20348
20230
  'd-btn--icon-only': this.circle,
20349
20231
  'dt-recipe-callbar-button--active': this.active,
@@ -20355,9 +20237,9 @@ function callbar_buttonvue_type_template_id_e4ef387c_render(_ctx, _cache, $props
20355
20237
  });
20356
20238
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
20357
20239
 
20358
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=e4ef387c&lang=less
20359
- var callbar_buttonvue_type_style_index_0_id_e4ef387c_lang_less = __webpack_require__(980);
20360
- ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=e4ef387c&lang=less
20240
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=8f55595a&lang=less
20241
+ var callbar_buttonvue_type_style_index_0_id_8f55595a_lang_less = __webpack_require__(924);
20242
+ ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=8f55595a&lang=less
20361
20243
 
20362
20244
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue
20363
20245
 
@@ -20367,7 +20249,7 @@ var callbar_buttonvue_type_style_index_0_id_e4ef387c_lang_less = __webpack_requi
20367
20249
  ;
20368
20250
 
20369
20251
 
20370
- const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',callbar_buttonvue_type_template_id_e4ef387c_render]])
20252
+ const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',callbar_buttonvue_type_template_id_8f55595a_render]])
20371
20253
 
20372
20254
  /* harmony default export */ const callbar_button = (callbar_button_exports_);
20373
20255
  ;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js