@kommo-crm/crm-react-ui-kit 1.0.1 → 1.0.3

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.
@@ -1 +1 @@
1
- :root{--crm-ui-kit-icon-checked-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='_x2014__Item_1_' x='0px' y='0px' width='12px' height='11px' viewBox='0 0 12 11' enable-background='new 0 0 12 11' xml:space='preserve'%3E%3Cg id='check.svg'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23363b44' d='M11.476,0.151c-0.377-0.296-0.997-0.139-1.359,0.324L5.153,6.53 C5.077,6.624,4.884,6.657,4.785,6.595L1.723,4.688C1.24,4.342,0.624,4.366,0.349,4.753c-0.268,0.378-0.18,0.994,0.209,1.464 l3.509,4.234C4.361,10.805,4.742,11,5.14,11c0.465,0,0.895-0.266,1.177-0.728l5.264-8.615C11.916,1.109,11.871,0.462,11.476,0.151 z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-minus: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' baseProfile='full' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' width='10' height='4' viewBox='0 0 10 4'%3E%3Cg transform='scale(NaN)' %3E%3Cpath fill-rule='evenodd' fill='%23363b44' d='M-0.444,0.111 C-0.444,0.111 1.809,-0.139 4.046,-0.139 C6.253,-0.139 8.445,0.111 8.445,0.111 C8.445,0.111 8.445,1.583 8.445,1.583 C8.445,1.583 6.305,2.056 4.125,2.056 C1.862,2.056 -0.444,1.583 -0.444,1.583 C-0.444,1.583 -0.444,0.111 -0.444,0.111 Z'/%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='%23363b44'%3E%3Cpath id='feed-task' d='M249.01,1487.73l-5.878,6.28-0.1-.11-0.1.11-2.939-3.14,0.693-.74,2.348,2.51,5.286-5.65Z' transform='translate(-240 -1487)'/%3E%3C/svg%3E%0A")}:root[data-crm-ui-kit-theme=alternative]{--crm-ui-kit-icon-checked-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='_x2014__Item_1_' x='0px' y='0px' width='12px' height='11px' viewBox='0 0 12 11' enable-background='new 0 0 12 11' xml:space='preserve'%3E%3Cg id='check.svg'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23f2f2f2' d='M11.476,0.151c-0.377-0.296-0.997-0.139-1.359,0.324L5.153,6.53 C5.077,6.624,4.884,6.657,4.785,6.595L1.723,4.688C1.24,4.342,0.624,4.366,0.349,4.753c-0.268,0.378-0.18,0.994,0.209,1.464 l3.509,4.234C4.361,10.805,4.742,11,5.14,11c0.465,0,0.895-0.266,1.177-0.728l5.264-8.615C11.916,1.109,11.871,0.462,11.476,0.151 z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-minus: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' baseProfile='full' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' width='10' height='4' viewBox='0 0 10 4'%3E%3Cg transform='scale(NaN)' %3E%3Cpath fill-rule='evenodd' fill='%23f2f2f2' d='M-0.444,0.111 C-0.444,0.111 1.809,-0.139 4.046,-0.139 C6.253,-0.139 8.445,0.111 8.445,0.111 C8.445,0.111 8.445,1.583 8.445,1.583 C8.445,1.583 6.305,2.056 4.125,2.056 C1.862,2.056 -0.444,1.583 -0.444,1.583 C-0.444,1.583 -0.444,0.111 -0.444,0.111 Z'/%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='%23ffffff'%3E%3Cpath id='feed-task' d='M249.01,1487.73l-5.878,6.28-0.1-.11-0.1.11-2.939-3.14,0.693-.74,2.348,2.51,5.286-5.65Z' transform='translate(-240 -1487)'/%3E%3C/svg%3E%0A")}
1
+ :root{--crm-ui-kit-icon-checked-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='_x2014__Item_1_' x='0px' y='0px' width='12px' height='11px' viewBox='0 0 12 11' enable-background='new 0 0 12 11' xml:space='preserve'%3E%3Cg id='check.svg'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23363b44' d='M11.476,0.151c-0.377-0.296-0.997-0.139-1.359,0.324L5.153,6.53 C5.077,6.624,4.884,6.657,4.785,6.595L1.723,4.688C1.24,4.342,0.624,4.366,0.349,4.753c-0.268,0.378-0.18,0.994,0.209,1.464 l3.509,4.234C4.361,10.805,4.742,11,5.14,11c0.465,0,0.895-0.266,1.177-0.728l5.264-8.615C11.916,1.109,11.871,0.462,11.476,0.151 z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-minus: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 10 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.380402H12V2.87162C12 2.87162 10.3692 3.61961 5.86091 3.61961C1.35265 3.61961 0 2.87162 0 2.87162V0.380402Z' fill='%23363b44'/%3E%3C/svg%3E%0A");--crm-ui-kit-icon-check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='%23363b44'%3E%3Cpath id='feed-task' d='M249.01,1487.73l-5.878,6.28-0.1-.11-0.1.11-2.939-3.14,0.693-.74,2.348,2.51,5.286-5.65Z' transform='translate(-240 -1487)'/%3E%3C/svg%3E%0A")}:root[data-crm-ui-kit-theme=alternative]{--crm-ui-kit-icon-checked-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='_x2014__Item_1_' x='0px' y='0px' width='12px' height='11px' viewBox='0 0 12 11' enable-background='new 0 0 12 11' xml:space='preserve'%3E%3Cg id='check.svg'%3E%3Cg%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23f2f2f2' d='M11.476,0.151c-0.377-0.296-0.997-0.139-1.359,0.324L5.153,6.53 C5.077,6.624,4.884,6.657,4.785,6.595L1.723,4.688C1.24,4.342,0.624,4.366,0.349,4.753c-0.268,0.378-0.18,0.994,0.209,1.464 l3.509,4.234C4.361,10.805,4.742,11,5.14,11c0.465,0,0.895-0.266,1.177-0.728l5.264-8.615C11.916,1.109,11.871,0.462,11.476,0.151 z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");--crm-ui-kit-icon-minus: url("data:image/svg+xml,%3Csvg width='12' height='4' viewBox='0 0 12 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0.380402H12V2.87162C12 2.87162 10.3692 3.61961 5.86091 3.61961C1.35265 3.61961 0 2.87162 0 2.87162V0.380402Z' fill='%23F2F2F2'/%3E%3C/svg%3E%0A");--crm-ui-kit-icon-check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='%23ffffff'%3E%3Cpath id='feed-task' d='M249.01,1487.73l-5.878,6.28-0.1-.11-0.1.11-2.939-3.14,0.693-.74,2.348,2.51,5.286-5.65Z' transform='translate(-240 -1487)'/%3E%3C/svg%3E%0A")}
@@ -9,7 +9,7 @@ const c = {
9
9
  "--crm-ui-kit-checkbox-disabled-background-color": "var(--crm-ui-kit-palette-background-primary-disabled)",
10
10
  "--crm-ui-kit-checkbox-error-border-color": "var(--crm-ui-kit-color-error)",
11
11
  "--crm-ui-kit-checkbox-checked-background": "var(--crm-ui-kit-checkbox-background-color) var(--crm-ui-kit-icon-checked-mark) no-repeat center / 70%",
12
- "--crm-ui-kit-checkbox-indeterminate-background": "var(--crm-ui-kit-checkbox-background-color) var(--crm-ui-kit-icon-minus) no-repeat 75% 60% / 75%",
12
+ "--crm-ui-kit-checkbox-indeterminate-background": "var(--crm-ui-kit-checkbox-background-color) var(--crm-ui-kit-icon-minus) no-repeat center",
13
13
  "--crm-ui-kit-checkbox-focus-visible-outline-color": "var(--crm-ui-kit-palette-focus-visible-color)",
14
14
  "--crm-ui-kit-checkbox-focus-visible-outline-width": "var(--crm-ui-kit-palette-focus-visible-outline-width)",
15
15
  "--crm-ui-kit-checkbox-focus-visible-outline-style": "var(--crm-ui-kit-palette-focus-visible-outline-style)",
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@kommo-crm/crm-react-ui-kit",
3
3
  "description": "Ready-to-use React components which implements Kommo design",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "engines": {
8
- "node": "20"
8
+ "node": ">=20"
9
9
  },
10
10
  "exports": {
11
11
  ".": {