@itcase/ui 1.9.19 → 1.9.20
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/dist/cjs/components/Pagination.js +4 -4
- package/dist/cjs/components/Response.js +1 -1
- package/dist/components/Pagination.js +4 -4
- package/dist/components/Response.js +1 -1
- package/dist/snippets/Chips.snippets.json +14 -0
- package/dist/snippets/Divider.snippets.json +9 -0
- package/dist/snippets/Drawer.snippets.json +16 -0
- package/dist/snippets/Group.snippets.json +11 -0
- package/dist/snippets/Icon.snippets.json +13 -0
- package/dist/snippets/Modal.snippets.json +16 -0
- package/dist/snippets/Pagination.snippets.json +16 -0
- package/dist/snippets/Select.snippets.json +15 -0
- package/dist/snippets/Text.snippets.json +11 -0
- package/dist/snippets/Title.snippets.json +11 -0
- package/package.json +6 -6
|
@@ -85,25 +85,25 @@ const paginationAppearanceShape = {
|
|
|
85
85
|
fillInputShape: 'rounded',
|
|
86
86
|
fillInputShapeStrength: '2m',
|
|
87
87
|
pageCountDropdownShape: 'rounded',
|
|
88
|
-
pageCountDropdownShapeStrength: '2m'
|
|
88
|
+
pageCountDropdownShapeStrength: '2m',
|
|
89
89
|
},
|
|
90
90
|
roundedL: {
|
|
91
91
|
fillInputShape: 'rounded',
|
|
92
92
|
fillInputShapeStrength: '1_5m',
|
|
93
93
|
pageCountDropdownShape: 'rounded',
|
|
94
|
-
pageCountDropdownShapeStrength: '1_5m'
|
|
94
|
+
pageCountDropdownShapeStrength: '1_5m',
|
|
95
95
|
},
|
|
96
96
|
roundedM: {
|
|
97
97
|
fillInputShape: 'rounded',
|
|
98
98
|
fillInputShapeStrength: '1m',
|
|
99
99
|
pageCountDropdownShape: 'rounded',
|
|
100
|
-
pageCountDropdownShapeStrength: '1m'
|
|
100
|
+
pageCountDropdownShapeStrength: '1m',
|
|
101
101
|
},
|
|
102
102
|
roundedS: {
|
|
103
103
|
fillInputShape: 'rounded',
|
|
104
104
|
fillInputShapeStrength: '0_5m',
|
|
105
105
|
pageCountDropdownShape: 'rounded',
|
|
106
|
-
pageCountDropdownShapeStrength: '0_5m'
|
|
106
|
+
pageCountDropdownShapeStrength: '0_5m',
|
|
107
107
|
},
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -294,7 +294,7 @@ const RESPONSE_MESSAGES = {
|
|
|
294
294
|
primaryButtonLabel: 'ОК',
|
|
295
295
|
},
|
|
296
296
|
nothingFound: {
|
|
297
|
-
appearance: '
|
|
297
|
+
appearance: 'nothingFound ghost',
|
|
298
298
|
title: 'Ничего не найдено',
|
|
299
299
|
desc: 'Нет данных по заданным параметрам',
|
|
300
300
|
// code: '500',
|
|
@@ -83,25 +83,25 @@ const paginationAppearanceShape = {
|
|
|
83
83
|
fillInputShape: 'rounded',
|
|
84
84
|
fillInputShapeStrength: '2m',
|
|
85
85
|
pageCountDropdownShape: 'rounded',
|
|
86
|
-
pageCountDropdownShapeStrength: '2m'
|
|
86
|
+
pageCountDropdownShapeStrength: '2m',
|
|
87
87
|
},
|
|
88
88
|
roundedL: {
|
|
89
89
|
fillInputShape: 'rounded',
|
|
90
90
|
fillInputShapeStrength: '1_5m',
|
|
91
91
|
pageCountDropdownShape: 'rounded',
|
|
92
|
-
pageCountDropdownShapeStrength: '1_5m'
|
|
92
|
+
pageCountDropdownShapeStrength: '1_5m',
|
|
93
93
|
},
|
|
94
94
|
roundedM: {
|
|
95
95
|
fillInputShape: 'rounded',
|
|
96
96
|
fillInputShapeStrength: '1m',
|
|
97
97
|
pageCountDropdownShape: 'rounded',
|
|
98
|
-
pageCountDropdownShapeStrength: '1m'
|
|
98
|
+
pageCountDropdownShapeStrength: '1m',
|
|
99
99
|
},
|
|
100
100
|
roundedS: {
|
|
101
101
|
fillInputShape: 'rounded',
|
|
102
102
|
fillInputShapeStrength: '0_5m',
|
|
103
103
|
pageCountDropdownShape: 'rounded',
|
|
104
|
-
pageCountDropdownShapeStrength: '0_5m'
|
|
104
|
+
pageCountDropdownShapeStrength: '0_5m',
|
|
105
105
|
},
|
|
106
106
|
};
|
|
107
107
|
|
|
@@ -292,7 +292,7 @@ const RESPONSE_MESSAGES = {
|
|
|
292
292
|
primaryButtonLabel: 'ОК',
|
|
293
293
|
},
|
|
294
294
|
nothingFound: {
|
|
295
|
-
appearance: '
|
|
295
|
+
appearance: 'nothingFound ghost',
|
|
296
296
|
title: 'Ничего не найдено',
|
|
297
297
|
desc: 'Нет данных по заданным параметрам',
|
|
298
298
|
// code: '500',
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Chips": {
|
|
3
|
+
"prefix": "chips",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Chips",
|
|
6
|
+
" appearance=\"${1|accent,surface,accentMuted,danger,dangerMuted,disabled,error,errorMuted,info,infoMuted,primary,primaryMuted,secondary,secondaryMuted,success,successMuted,surfaceMuted,warning,warningMuted|}${2|Primary,Secondary,Tertiary|} ${3|sizeXXL,sizeXL,sizeL,sizeM,sizeS,sizeXS,sizeXXS|} ${4|solid,outlined,full,ghost|} ${5|rounded,circular,roundedS,roundedM,roundedL,roundedXL|}\"",
|
|
7
|
+
" label={}",
|
|
8
|
+
" isActive={}",
|
|
9
|
+
" onClick={}",
|
|
10
|
+
"/>"
|
|
11
|
+
],
|
|
12
|
+
"description": "ITCase-UI Chips Component"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Divider": {
|
|
3
|
+
"prefix": "divider",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Divider appearance=\"${1|surface,accent,error,success,warning|}${2|Primary,Secondary,Tertiary,Quaternary|} ${3|sizeL,sizeM,sizeS|}\" width=\"fill\" />"
|
|
6
|
+
],
|
|
7
|
+
"description": "ITCase-UI Divider Component"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Drawer": {
|
|
3
|
+
"prefix": "drawer",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Drawer",
|
|
6
|
+
" appearance=\"surface${1|Primary,Secondary,Tertiary,Quaternary|} sizeH3\"",
|
|
7
|
+
" title=\"Title\"",
|
|
8
|
+
" isOpen={}",
|
|
9
|
+
" onClickClose={}",
|
|
10
|
+
">",
|
|
11
|
+
" $2",
|
|
12
|
+
"</Drawer>"
|
|
13
|
+
],
|
|
14
|
+
"description": "ITCase-UI Drawer Component"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Icon": {
|
|
3
|
+
"prefix": "icon",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Icon",
|
|
6
|
+
" appearance=\"${1|accent,surface,danger,disabled,error,info,primary,secondary,success,warning|}${2|Primary,Secondary,Tertiary,Quaternary|} ${3|size12_12,size14_12,size14_14,size16_12,size16_14,size16_16,size20_12,size20_14,size20_16,size20_20,size24_12,size24_14,size24_16,size24_20,size24_24,size32_12,size32_14,size32_16,size32_20,size32_24,size32_32,size40_12,size40_14,size40_16,size40_20,size40_24,size40_32,size40_40|} ${4|solid,outlined,full,ghost|} ${5|rounded,circular,roundedXL,roundedL,roundedM,roundedS|}\"",
|
|
7
|
+
" SvgImage={$6}",
|
|
8
|
+
" onClick={}",
|
|
9
|
+
"/>"
|
|
10
|
+
],
|
|
11
|
+
"description": "ITCase-UI Icon Component"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Modal": {
|
|
3
|
+
"prefix": "modal",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Modal",
|
|
6
|
+
" appearance=\"surfacePrimary ${1|sizeXL,sizeL,sizeM,sizeS|} ${2|solid,outlined,full,ghost|} ${3|rounded,circular,roundedXL,roundedL,roundedM,roundedS|}\"",
|
|
7
|
+
" title=\"${4:Title}\"",
|
|
8
|
+
" isOpen={}",
|
|
9
|
+
" onCloseModal={}",
|
|
10
|
+
">",
|
|
11
|
+
" $5",
|
|
12
|
+
"</Modal>"
|
|
13
|
+
],
|
|
14
|
+
"description": "ITCase-UI Modal Component"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Pagination": {
|
|
3
|
+
"prefix": "pagination",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Pagination",
|
|
6
|
+
" appearance=\"${1|accent,surface|}${2|Primary,Secondary|} ${3|sizeXXL,sizeXL,sizeL,sizeM,sizeS,sizeXS|} ${4|solid,outlined,full,ghost|} ${5|rounded,circular,roundedXL,roundedL,roundedM,roundedS|}\"",
|
|
7
|
+
" allItemsCount={}",
|
|
8
|
+
" pageNumber={}",
|
|
9
|
+
" perPageCount={}",
|
|
10
|
+
" isPageCount={true}",
|
|
11
|
+
" onChangePage={}",
|
|
12
|
+
"/>"
|
|
13
|
+
],
|
|
14
|
+
"description": "ITCase-UI Pagination Component"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Select": {
|
|
3
|
+
"prefix": "select",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Select",
|
|
6
|
+
" appearance=\"${1|default,disabled,error,require,success|}Primary ${2|sizeXL,sizeL,sizeM,sizeS,sizeXS,sizeXXS|} ${3|solid,outlined,full,ghost|} ${4|rounded,roundedXL,roundedL,roundedM,roundedS|}\"",
|
|
7
|
+
" options={}",
|
|
8
|
+
" placeholder=\"${5:Placeholder}\"",
|
|
9
|
+
" value={}",
|
|
10
|
+
" onChange={}",
|
|
11
|
+
"/>"
|
|
12
|
+
],
|
|
13
|
+
"description": "ITCase-UI Select Component"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Text": {
|
|
3
|
+
"prefix": "text",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Text size=\"${1|xxs,xs,s,m,l,xl,xxl|}\" textColor=\"${2|surface,accent,special,extra,error,warning,success,info,danger,disabled|}${3|TextPrimary,TextSecondary,TextTertiary,TextQuaternary|}\">",
|
|
6
|
+
" $4",
|
|
7
|
+
"</Text>"
|
|
8
|
+
],
|
|
9
|
+
"description": "ITCase-UI Text Component"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Title": {
|
|
3
|
+
"prefix": "title",
|
|
4
|
+
"body": [
|
|
5
|
+
"<Title size=\"${1|h1,h2,h3,h4,h5,h6|}\" textColor=\"${2|surface,accent,special,extra,error,warning,success,info,danger,disabled|}${3|TextPrimary,TextSecondary,TextTertiary,TextQuaternary|}\">",
|
|
6
|
+
" $4",
|
|
7
|
+
"</Title>"
|
|
8
|
+
],
|
|
9
|
+
"description": "ITCase-UI Title Component"
|
|
10
|
+
}
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.20",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"@itcase/common": "^1.2.34",
|
|
105
105
|
"@itcase/icons": "^1.2.23",
|
|
106
106
|
"@itcase/storybook-config": "^1.2.28",
|
|
107
|
-
"@itcase/tokens-am": "^1.1.
|
|
108
|
-
"@itcase/tokens-baikal": "^1.1.
|
|
109
|
-
"@itcase/tokens-palette": "^1.1.
|
|
107
|
+
"@itcase/tokens-am": "^1.1.37",
|
|
108
|
+
"@itcase/tokens-baikal": "^1.1.37",
|
|
109
|
+
"@itcase/tokens-palette": "^1.1.37",
|
|
110
110
|
"clsx": "^2.1.1",
|
|
111
111
|
"date-fns": "^4.1.0",
|
|
112
112
|
"framer-motion": "^12.23.24",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"@semantic-release/release-notes-generator": "14.1.0",
|
|
155
155
|
"@semantic-release/git": "^10.0.1",
|
|
156
156
|
"@types/js-cookie": "^3.0.6",
|
|
157
|
-
"@types/lodash": "^4.17.
|
|
157
|
+
"@types/lodash": "^4.17.21",
|
|
158
158
|
"@types/luxon": "^3.7.1",
|
|
159
159
|
"@types/react": "^19",
|
|
160
160
|
"@types/react-datepicker": "^7.0.0",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"rollup-preserve-directives": "^1.1.3",
|
|
176
176
|
"semantic-release": "^24.2.9",
|
|
177
177
|
"storybook": "^10.0.8",
|
|
178
|
-
"stylelint": "^16.
|
|
178
|
+
"stylelint": "^16.26.0",
|
|
179
179
|
"typescript": "^5.9.3"
|
|
180
180
|
}
|
|
181
181
|
}
|