@salutejs/plasma-web 1.494.1-canary.1688.12694209114.0 → 1.494.1-canary.1688.12704841896.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/css/cjs/components/Accordion/Accordion.config.js +1 -1
  2. package/css/cjs/components/Attach/Attach.config.js +1 -1
  3. package/css/cjs/components/Autocomplete/Autocomplete.config.js +1 -1
  4. package/css/cjs/components/Avatar/Avatar.config.js +1 -1
  5. package/css/cjs/components/Badge/Badge.config.js +1 -1
  6. package/css/cjs/components/Breadcrumbs/Breadcrumbs.config.js +1 -1
  7. package/css/cjs/components/Button/Button.config.js +1 -1
  8. package/css/cjs/components/ButtonGroup/ButtonGroup.config.js +1 -1
  9. package/css/cjs/components/Calendar/CalendarBase.config.js +1 -1
  10. package/css/cjs/components/Calendar/CalendarDouble.config.js +1 -1
  11. package/css/cjs/components/Cell/Cell.config.js +1 -1
  12. package/css/cjs/components/Checkbox/Checkbox.config.js +1 -1
  13. package/css/cjs/components/Chip/Chip.config.js +1 -1
  14. package/css/cjs/components/ChipGroup/ChipGroup.config.js +1 -1
  15. package/css/cjs/components/Combobox/Combobox.config.js +1 -1
  16. package/css/cjs/components/Combobox/Legacy/Combobox.config.js +1 -1
  17. package/css/cjs/components/Counter/Counter.config.js +1 -1
  18. package/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
  19. package/css/cjs/components/Divider/Divider.config.js +1 -1
  20. package/css/cjs/components/Drawer/Drawer.config.js +1 -1
  21. package/css/cjs/components/Dropdown/Dropdown.config.js +1 -1
  22. package/css/cjs/components/Dropdown/components/DropdownOld.config.js +1 -1
  23. package/css/cjs/components/Dropzone/Dropzone.config.js +1 -1
  24. package/css/cjs/components/Editable/Editable.config.js +1 -1
  25. package/css/cjs/components/EmptyState/EmptyState.config.js +1 -1
  26. package/css/cjs/components/Grid/Grid.config.js +1 -1
  27. package/css/cjs/components/IconButton/IconButton.config.js +1 -1
  28. package/css/cjs/components/Indicator/Indicator.config.js +1 -1
  29. package/css/cjs/components/Link/Link.config.js +1 -1
  30. package/css/cjs/components/ModalBase/Modal.config.js +1 -1
  31. package/css/cjs/components/Note/Note.config.js +1 -1
  32. package/css/cjs/components/Notification/Notification.config.js +1 -1
  33. package/css/cjs/components/NumberInput/NumberInput.config.js +1 -1
  34. package/css/cjs/components/Pagination/Pagination.config.js +1 -1
  35. package/css/cjs/components/Popover/Popover.config.js +1 -1
  36. package/css/cjs/components/Progress/Progress.config.js +1 -1
  37. package/css/cjs/components/Radiobox/Radiobox.config.js +1 -1
  38. package/css/cjs/components/Range/Range.config.js +1 -1
  39. package/css/cjs/components/Rating/Rating.config.js +1 -1
  40. package/css/cjs/components/Segment/SegmentGroup.config.js +1 -1
  41. package/css/cjs/components/Segment/SegmentItem.config.js +1 -1
  42. package/css/cjs/components/Select/Select.config.js +1 -1
  43. package/css/cjs/components/Sheet/Sheet.config.js +1 -1
  44. package/css/cjs/components/Skeleton/LineSkeleton.config.js +1 -1
  45. package/css/cjs/components/Slider/Slider.config.js +1 -1
  46. package/css/cjs/components/Spinner/Spinner.config.js +1 -1
  47. package/css/cjs/components/Steps/Steps.config.js +1 -1
  48. package/css/cjs/components/Switch/Switch.config.js +1 -1
  49. package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +1 -1
  50. package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +1 -1
  51. package/css/cjs/components/Tabs/vertical/VerticalTabItem.config.js +1 -1
  52. package/css/cjs/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  53. package/css/cjs/components/TextArea/TextArea.config.js +1 -1
  54. package/css/cjs/components/TextField/TextField.config.js +1 -1
  55. package/css/cjs/components/TextFieldGroup/TextFieldGroup.config.js +1 -1
  56. package/css/cjs/components/Toast/Toast.config.js +1 -1
  57. package/css/cjs/components/Toolbar/Toolbar.config.js +1 -1
  58. package/css/cjs/components/Tooltip/Tooltip.config.js +1 -1
  59. package/css/cjs/components/Tree/Tree.config.js +1 -1
  60. package/css/cjs/components/Typography/Body.config.js +1 -1
  61. package/css/cjs/components/Typography/Dspl.config.js +1 -1
  62. package/css/cjs/components/Typography/Heading.config.js +1 -1
  63. package/css/cjs/components/Typography/Old/Body.config.js +1 -1
  64. package/css/cjs/components/Typography/Old/Button.config.js +1 -1
  65. package/css/cjs/components/Typography/Old/Caption.config.js +1 -1
  66. package/css/cjs/components/Typography/Old/Footnote.config.js +1 -1
  67. package/css/cjs/components/Typography/Old/Headline.config.js +1 -1
  68. package/css/cjs/components/Typography/Old/Paragraph.config.js +1 -1
  69. package/css/cjs/components/Typography/Old/ParagraphText.config.js +1 -1
  70. package/css/cjs/components/Typography/Old/Subtitle.config.js +1 -1
  71. package/css/cjs/components/Typography/Old/Underline.config.js +1 -1
  72. package/css/cjs/components/Typography/Text.config.js +1 -1
  73. package/package.json +3 -3
  74. package/rollup.config.mjs +67 -55
@@ -1,4 +1,4 @@
1
- import './Accordion.config_1vt8ywe.css';
1
+ require('./Accordion.config_1vt8ywe.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Attach.config_ld8c4j.css';
1
+ require('./Attach.config_ld8c4j.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Autocomplete.config_kzk332.css';
1
+ require('./Autocomplete.config_kzk332.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Avatar.config_weecw4.css';
1
+ require('./Avatar.config_weecw4.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Badge.config_lt6hb3.css';
1
+ require('./Badge.config_lt6hb3.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Breadcrumbs.config_b0qlrl.css';
1
+ require('./Breadcrumbs.config_b0qlrl.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Button.config_1p9wq2b.css';
1
+ require('./Button.config_1p9wq2b.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './ButtonGroup.config_nvojq8.css';
1
+ require('./ButtonGroup.config_nvojq8.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './CalendarBase.config_253ftk.css';
1
+ require('./CalendarBase.config_253ftk.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './CalendarDouble.config_td5byz.css';
1
+ require('./CalendarDouble.config_td5byz.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Cell.config_87koo7.css';
1
+ require('./Cell.config_87koo7.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Checkbox.config_qy77nu.css';
1
+ require('./Checkbox.config_qy77nu.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Chip.config_nv900q.css';
1
+ require('./Chip.config_nv900q.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './ChipGroup.config_c10q1g.css';
1
+ require('./ChipGroup.config_c10q1g.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Combobox.config_12tsur6.css';
1
+ require('./Combobox.config_12tsur6.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Combobox.config_g6rh1c.css';
1
+ require('./Combobox.config_g6rh1c.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Counter.config_3fg0sv.css';
1
+ require('./Counter.config_3fg0sv.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './DatePicker.config_p4vy0t.css';
1
+ require('./DatePicker.config_p4vy0t.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Divider.config_1i0hy8y.css';
1
+ require('./Divider.config_1i0hy8y.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Drawer.config_1kci8o2.css';
1
+ require('./Drawer.config_1kci8o2.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Dropdown.config_14bzlxh.css';
1
+ require('./Dropdown.config_14bzlxh.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './DropdownOld.config_1sm61um.css';
1
+ require('./DropdownOld.config_1sm61um.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Dropzone.config_v0t4xn.css';
1
+ require('./Dropzone.config_v0t4xn.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Editable.config_r8fa0f.css';
1
+ require('./Editable.config_r8fa0f.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './EmptyState.config_1lhq12u.css';
1
+ require('./EmptyState.config_1lhq12u.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Grid.config_1q59g76.css';
1
+ require('./Grid.config_1q59g76.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './IconButton.config_1o8fpqv.css';
1
+ require('./IconButton.config_1o8fpqv.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Indicator.config_ltng7c.css';
1
+ require('./Indicator.config_ltng7c.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Link.config_q8zx6f.css';
1
+ require('./Link.config_q8zx6f.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Modal.config_32nvcp.css';
1
+ require('./Modal.config_32nvcp.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Note.config_1psv03r.css';
1
+ require('./Note.config_1psv03r.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Notification.config_14vo9bu.css';
1
+ require('./Notification.config_14vo9bu.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './NumberInput.config_1j3do2r.css';
1
+ require('./NumberInput.config_1j3do2r.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Pagination.config_1fqgkuu.css';
1
+ require('./Pagination.config_1fqgkuu.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Popover.config_14o0rv7.css';
1
+ require('./Popover.config_14o0rv7.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Progress.config_1ksry05.css';
1
+ require('./Progress.config_1ksry05.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Radiobox.config_139reb8.css';
1
+ require('./Radiobox.config_139reb8.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Range.config_tettq8.css';
1
+ require('./Range.config_tettq8.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Rating.config_m8j095.css';
1
+ require('./Rating.config_m8j095.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './SegmentGroup.config_8spc9u.css';
1
+ require('./SegmentGroup.config_8spc9u.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './SegmentItem.config_11wl5q3.css';
1
+ require('./SegmentItem.config_11wl5q3.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Select.config_73tyzz.css';
1
+ require('./Select.config_73tyzz.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Sheet.config_1anu74e.css';
1
+ require('./Sheet.config_1anu74e.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './LineSkeleton.config_1fkfzjy.css';
1
+ require('./LineSkeleton.config_1fkfzjy.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Slider.config_1fdel2j.css';
1
+ require('./Slider.config_1fdel2j.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Spinner.config_kv9h01.css';
1
+ require('./Spinner.config_kv9h01.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Steps.config_4mdg8k.css';
1
+ require('./Steps.config_4mdg8k.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Switch.config_ce8y19.css';
1
+ require('./Switch.config_ce8y19.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './HorizontalTabItem.config_axznj3.css';
1
+ require('./HorizontalTabItem.config_axznj3.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './HorizontalTabs.config_udb25v.css';
1
+ require('./HorizontalTabs.config_udb25v.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './VerticalTabItem.config_1b9301p.css';
1
+ require('./VerticalTabItem.config_1b9301p.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './VerticalTabs.config_cqbb3f.css';
1
+ require('./VerticalTabs.config_cqbb3f.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './TextArea.config_1xy99im.css';
1
+ require('./TextArea.config_1xy99im.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './TextField.config_1y01acd.css';
1
+ require('./TextField.config_1y01acd.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './TextFieldGroup.config_154fdzu.css';
1
+ require('./TextFieldGroup.config_154fdzu.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Toast.config_1g4td0o.css';
1
+ require('./Toast.config_1g4td0o.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Toolbar.config_1yum23z.css';
1
+ require('./Toolbar.config_1yum23z.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Tooltip.config_19fazns.css';
1
+ require('./Tooltip.config_19fazns.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Tree.config_1adspmr.css';
1
+ require('./Tree.config_1adspmr.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Body.config_endr2e.css';
1
+ require('./Body.config_endr2e.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Dspl.config_owrt7v.css';
1
+ require('./Dspl.config_owrt7v.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Heading.config_1fd36gz.css';
1
+ require('./Heading.config_1fd36gz.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Body.config_mvxlwy.css';
1
+ require('./Body.config_mvxlwy.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Button.config_362uoc.css';
1
+ require('./Button.config_362uoc.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Caption.config_1ov5r6f.css';
1
+ require('./Caption.config_1ov5r6f.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Footnote.config_i1jfb5.css';
1
+ require('./Footnote.config_i1jfb5.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Headline.config_aske57.css';
1
+ require('./Headline.config_aske57.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Paragraph.config_50i2at.css';
1
+ require('./Paragraph.config_50i2at.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './ParagraphText.config_4temfp.css';
1
+ require('./ParagraphText.config_4temfp.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Subtitle.config_mpskj3.css';
1
+ require('./Subtitle.config_mpskj3.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Underline.config_yq6b5e.css';
1
+ require('./Underline.config_yq6b5e.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- import './Text.config_ta1h5z.css';
1
+ require('./Text.config_ta1h5z.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.494.1-canary.1688.12694209114.0",
3
+ "version": "1.494.1-canary.1688.12704841896.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@salutejs/plasma-core": "1.191.0-dev.0",
23
23
  "@salutejs/plasma-hope": "1.328.1-dev.0",
24
- "@salutejs/plasma-new-hope": "0.238.1-canary.1688.12694209114.0",
24
+ "@salutejs/plasma-new-hope": "0.238.1-canary.1688.12704841896.0",
25
25
  "@salutejs/plasma-themes": "0.28.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.45.0-dev.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.56.0-dev.0",
@@ -111,5 +111,5 @@
111
111
  "Fanil Zubairov"
112
112
  ],
113
113
  "sideEffects": false,
114
- "gitHead": "e011d0ad54080eac8664325aa4fc417d504237f8"
114
+ "gitHead": "714a64fae9f48583cee1ee88dfb5cfecacceae49"
115
115
  }
package/rollup.config.mjs CHANGED
@@ -80,66 +80,78 @@ function importCssPlugin() {
80
80
  const styles = {};
81
81
 
82
82
  return {
83
- name: 'importCssPlugin',
84
- transform(code, id) {
85
- if (!filter(id)) {
86
- return;
87
- }
88
-
89
- if (styles[id] !== code && (styles[id] || code)) {
90
- styles[path.relative(inputDir, id)] = code
91
- }
92
-
93
- return { code };
94
- },
95
- generateBundle(options, bundle) {
96
- const files = Object.keys(bundle);
97
- files.forEach((file) => {
98
- const root = bundle[file].facadeModuleId
99
- const modules = this.getModuleInfo(root);
100
-
101
- // ADD IMPORT FOR CSS MODULES
102
- if (file.endsWith('.css.js')) {
103
- const { code } = bundle[file];
104
- // TODO: #718 cjs modules => require('./file.css');
105
- const importString = `import './${file.replace('.css.js', '.css.css')}';\n`;
106
- this.emitFile({
107
- type: 'asset',
108
- fileName: file,
109
- source: importString + code,
110
- });
111
- } else if (file.endsWith('.js')) {
112
- // ADD IMPORT FOR LINARIA
113
- // linaria
114
- const cssFiles = modules.importedIds
115
- .filter(a => a.includes(inputDir))
116
- .filter(a => !a.endsWith('.module.css') && a.endsWith('.css'))
117
- .map(a => path.relative(inputDir, a))
118
-
119
- if (!cssFiles.length) {
120
- return;
121
- }
122
- const imports = [];
123
- cssFiles.forEach(cssFile => {
124
- imports.push(`import './${path.relative(path.dirname(file), cssFile)}';`);
125
- this.emitFile({
126
- type: 'asset',
127
- fileName: cssFile,
128
- source: styles[cssFile],
129
- });
130
- })
131
- if (imports.length) {
83
+ name: 'importCssPlugin',
84
+ transform(code, id) {
85
+ if (!filter(id)) {
86
+ return;
87
+ }
88
+
89
+ if (styles[id] !== code && (styles[id] || code)) {
90
+ styles[path.relative(inputDir, id)] = code;
91
+ }
92
+
93
+ return { code };
94
+ },
95
+ generateBundle(options, bundle) {
96
+ const files = Object.keys(bundle);
97
+
98
+ files.forEach((file) => {
99
+ const root = bundle[file].facadeModuleId;
100
+ const modules = this.getModuleInfo(root);
101
+
102
+ // ADD IMPORT FOR CSS MODULES
103
+ if (file.endsWith('.css.js')) {
132
104
  const { code } = bundle[file];
105
+ const data = file.replace('.css.js', '.css.css');
106
+
107
+ const requireString =
108
+ options.format === 'cjs' ? `require('./${data}');\n` : `import './${data}';\n`;
109
+
133
110
  this.emitFile({
134
111
  type: 'asset',
135
112
  fileName: file,
136
- source: imports.join('\n') + '\n' + code,
113
+ source: requireString + code,
114
+ });
115
+ } else if (file.endsWith('.js')) {
116
+ // ADD IMPORT FOR LINARIA
117
+ // linaria
118
+ const cssFiles = modules.importedIds
119
+ .filter((a) => a.includes(inputDir))
120
+ .filter((a) => !a.endsWith('.module.css') && a.endsWith('.css'))
121
+ .map((a) => path.relative(inputDir, a));
122
+
123
+ if (!cssFiles.length) {
124
+ return;
125
+ }
126
+
127
+ const imports = [];
128
+
129
+ cssFiles.forEach((cssFile) => {
130
+ const data = path.relative(path.dirname(file), cssFile);
131
+
132
+ const importStatement =
133
+ options.format === 'cjs' ? `require('./${data}');` : `import './${data}';`;
134
+
135
+ imports.push(importStatement);
136
+
137
+ this.emitFile({
138
+ type: 'asset',
139
+ fileName: cssFile,
140
+ source: styles[cssFile],
141
+ });
137
142
  });
138
143
 
139
- console.log(`Added css: ${cssFiles} for ${file}`);
144
+ if (imports.length) {
145
+ const { code } = bundle[file];
146
+
147
+ this.emitFile({
148
+ type: 'asset',
149
+ fileName: file,
150
+ source: `${imports.join('\n')}\n${code}`,
151
+ });
152
+ }
140
153
  }
141
- }
142
- });
143
- },
154
+ });
155
+ },
144
156
  };
145
- }
157
+ }